You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
225 lines
768 KiB
225 lines
768 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[1461],{89489:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},59477:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},26227:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},49198:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},41464:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},52671:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},8657:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},56082:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},33853:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},15075:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},43531:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},38819:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ve}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Qe,Je){return ue.createElement(Ae.Z,(0,te.Z)({},Qe,{ref:Je,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe},21697:function(st,bt){"use strict";bt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},69092:function(st,bt){"use strict";bt.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"}},20397:function(){"use strict";function st(re,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=re,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(st.prototype,"name",{get:function(){return this._name},set:function(re){if(typeof re!="string"||re==="")throw new Error("Shape name must be a valid string.");this._name=re}}),Object.defineProperty(st.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("The default value must be a real number, not: "+re);this._defaultValue=re}}),Object.defineProperty(st.prototype,"minimum",{get:function(){return this._minimum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Minimum must be a real number, not: "+re);this._minimum=re}}),Object.defineProperty(st.prototype,"maximum",{get:function(){return this._maximum},set:function(re){if(typeof re!="number"||isNaN(re))throw new Error("Maximum must be a real number, not: "+re);this._maximum=re}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(re,a){var y=go.Shape._FigureParameters[re];return y?y[a]:null},go.Shape.setFigureParameter=function(re,a,y){if(!(y instanceof st))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[re];x||(x=[],go.Shape._FigureParameters[re]=x),x[a]=y};var bt=[];function ne(re,a){var y=bt.pop();return y===void 0?new go.Point(re,a):(y.x=re,y.y=a,y)}function te(){var re=bt.pop();return re===void 0?new go.Point:re}function ue(re){bt.push(re)}function Re(re,a,y,x,b,E,z,ee,ae){ae||(ae=new go.Point);var le=re-y,de=b-z,ce=NaN,be=NaN;if(le===0)if(de===0)re===y&&(ce=re,be=a);else{var Se=(E-ee)/de,Ee=E-Se*b;ce=re,be=Se*ce+Ee}else if(de===0){var pe=(a-x)/le,St=a-pe*re;ce=b,be=pe*ce+St}else{var pe=(a-x)/le,Se=(E-ee)/de,St=a-pe*re,Ee=E-Se*b;ce=(Ee-St)/(pe-Se),be=pe*ce+St}return ae.x=ce,ae.y=be,ae}function Ge(re,a,y,x,b,E,z,ee,ae,le,de,ce,be,Se){var Ee=1-ae,pe=ae,St=re*Ee+y*pe,mt=a*Ee+x*pe,Yt=y*Ee+b*pe,et=x*Ee+E*pe,it=b*Ee+z*pe,At=E*Ee+ee*pe,Dt=St*Ee+Yt*pe,Kt=mt*Ee+et*pe,kt=Yt*Ee+it*pe,Te=et*Ee+At*pe,Pt=Dt*Ee+kt*pe,xt=Kt*Ee+Te*pe;le.x=St,le.y=mt,de.x=Dt,de.y=Kt,ce.x=Pt,ce.y=xt,be.x=kt,be.y=Te,Se.x=it,Se.y=At}var Ae=new go.Spot(.156,.156),Le=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new st("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(re,a,y){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,E=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&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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=Le,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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 st("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===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 E=new go.Geometry;return x>0?E.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())):E.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/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new st("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===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 E=new go.Geometry;return x>0?E.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())):E.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/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.setFigureParameter("Trapezoid1",0,new st("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===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 E=new go.Geometry;return x>0?E.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())):E.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())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new st("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===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 E=new go.Geometry;return x>0?E.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())):E.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())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.setFigureParameter("ManualOperation",0,new st("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===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 E=new go.Geometry;return x>0?E.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())):E.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())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}});var Ve=[];function We(){var re=Ve.pop();return re===void 0?[]:re}function Qe(re){re.length=0,Ve.push(re)}function Je(re){for(var a=We(),y=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<re;z++)E=2*Math.PI/re*z+b,a[z]=new go.Point(x+y*Math.cos(E),x+y*Math.sin(E));return a.push(a[0]),a}function rt(re){var a=Ue(re),y=We();y[0]=a[0];for(var x=1,b=1;x<a.length;x+=2,b+=3)y[b]=a[x],y[b+1]=a[x],y[b+2]=a[x+1];return Qe(a),y}function Ue(re){for(var a=Je(re),y=We(),x=Math.floor(a.length/2),b=a.length-1,E=re%2===0?2:1,z=0;z<b;z++){var ee=a[z],ae=a[z+1],le=a[(x+z-1)%b],de=a[(x+z+E)%b];y[z*2]=ee,y[z*2+1]=Re(ee.x,ee.y,le.x,le.y,ae.x,ae.y,de.x,de.y,new go.Point)}return y[y.length]=y[0],Qe(a),y}go.Shape.defineFigureGenerator("Pentagon",function(re,a,y){var x=Je(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<5;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(re,a,y){var x=Je(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<6;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(re,a,y){var x=Je(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<7;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(re,a,y){var x=Je(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<8;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(re,a,y){var x=Je(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<9;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(re,a,y){var x=Je(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(re,a,y){var x=Je(12),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(re,a,y){var x=Ue(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(re,a,y){var x=Ue(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(re,a,y){var x=Ue(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<14;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(re,a,y){var x=Ue(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<16;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(re,a,y){var x=Ue(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<18;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(re,a,y){var x=Ue(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<20;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),Qe(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(re,a,y){var x=rt(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),Qe(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(re,a,y){var x=rt(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),Qe(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(re,a,y){var x=rt(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),Qe(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(re,a,y){var x=rt(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),Qe(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(re,a,y){var x=rt(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),Qe(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(re,a,y){var x=rt(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),Qe(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new st("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new st("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(re,a,y){var x=re?re.parameter1:NaN,b=re?re.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.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()),x<a/2&&b<y/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),E.setSpots(0,0,1,1,x,b,-x,-b),E}),go.Shape.setFigureParameter("Ring",0,new st("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(re,a,y){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,E=new go.Geometry,z=new go.PathFigure(a,a/2,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var ee=Math.max(b-x,0);return ee>0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),E.spot1=Ae,E.spot2=Le,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(re,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(re,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 st("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new st("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(re,a,y){var x=re?re.parameter1:NaN,b=re?re.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var E=x%360;E<0&&(E+=360);var z=b%360,ee=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,E,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(re,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,E*y,a,(1-x)*y,(b+x)*a,(E+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new st("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(re,a,y){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+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,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new st("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(re,a,y){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+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,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new st("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(re,a,y){var x=re?re.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 E=a/2,z=y/2,ee=Math.atan2(y,a),ae=x-Math.min(Math.cos(ee)*x/2,E),le=x-Math.min(Math.sin(ee)*x/2,z),b=new go.Geometry,de=new go.PathFigure(ae,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,E,.2*y)),de.add(new go.PathSegment(go.PathSegment.Line,a-ae,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,le)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,a,y-le)),de.add(new go.PathSegment(go.PathSegment.Line,a-ae,y)),de.add(new go.PathSegment(go.PathSegment.Line,E,.8*y)),de.add(new go.PathSegment(go.PathSegment.Line,ae,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y-le)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new st("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(re,a,y){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new st("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.2);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,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*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.Line,0,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new st("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.5);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,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(re,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(re,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(re,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(re,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(re,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 E=.2,z=.3,ee=0,ae=E*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+ae+ee)*y,(.5-ae+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+ae+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+ae+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-ae+ee)*y,(.5+ae+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ae+z)*a,(.5-E+ee)*y,(.5-E+z+.05)*a,(.5-ae+ee-.02)*y)),E=.2,z=0,ee=-.3,ae=E*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+ae+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+ae+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-ae+ee)*y,(.5+ae+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-ae+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-ae+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+ae+ee)*y,(.5-ae+z)*a,(.5+E+ee)*y)),E=.2,z=-.3,ee=0,ae=E*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z-.05)*a,(.5-ae+ee-.02)*y,(.5+ae+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-ae+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-ae+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+ae+ee)*y,(.5-ae+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ae+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+ae+ee)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(re,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 E=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ee,E*a,E*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)),ee=.75,b=new go.PathFigure((z+E)*a,ee*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ee,E*a,E*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(re,a,y){var x=.8535533905932737,b=.5*a,E=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(re,a,y){var x=new go.Geometry,b=oe*.5,E=.5,z=.5,ee=.5,ae=new go.PathFigure(z*a,(ee-E)*y);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),E=.4,b=oe*.4;var le=te(),de=te(),ce=te(),be=te();Ge(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.42,le,de,ce,be,be);var Se=te(),Ee=te(),pe=te();Ge(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.58,be,be,pe,Se,Ee);var St=te(),mt=te(),Yt=te();Ge(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.42,St,mt,Yt,be,be);var et=te(),it=te(),At=te();return Ge(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.58,be,be,At,et,it),ae.add(new go.PathSegment(go.PathSegment.Move,At.x*a,At.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,et.x*a,et.y*y,it.x*a,it.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*a,ce.y*y,le.x*a,le.y*y,de.x*a,de.y*y)),ae.add(new go.PathSegment(go.PathSegment.Line,At.x*a,At.y*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Yt.x*a,Yt.y*y)),ae.add(new go.PathSegment(go.PathSegment.Line,pe.x*a,pe.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,Se.x*a,Se.y*y,Ee.x*a,Ee.y*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Yt.x*a,Yt.y*y,St.x*a,St.y*y,mt.x*a,mt.y*y).close()),ue(le),ue(de),ue(ce),ue(be),ue(Se),ue(Ee),ue(pe),ue(St),ue(mt),ue(Yt),ue(et),ue(it),ue(At),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(re,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 st("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(re,a,y){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.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(re,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(re,a,y){var x=new go.Geometry,b=oe*.4,E=.4,z=.5,ee=.5,ae=te(),le=te(),de=te(),ce=te(),be=new go.PathFigure((z-E)*a,ee*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),Ge(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.44,de,ce,le,ae,ae),be.add(new go.PathSegment(go.PathSegment.Bezier,le.x*a,le.y*y,de.x*a,de.y*y,ce.x*a,ce.y*y));var Se=ne(le.x,le.y);Ge(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.56,ae,ae,le,de,ce);var Ee=ne(le.x,le.y);be.add(new go.PathSegment(go.PathSegment.Line,(Se.x*.1+.95*.9)*a,Se.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,Se.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,(Ee.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,de.x*a,de.y*y,ce.x*a,ce.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),E=.35,b=oe*.35;var pe=new go.PathFigure(z*a,(ee-E)*y,!1);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y));var St=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(St),ue(ae),ue(le),ue(de),ue(ce),ue(Se),ue(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(re,a,y){var x=new go.Geometry,b=.375,E=0,z=-.125,ee=b*oe,ae=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y,(.5+ee+E)*a,(.5-b+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,(.5+b+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,E=0,z=-.125,ee=b*oe;var ae=new go.PathFigure((1-.5+b+E)*a,(.5+z)*y,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y,(.5+ee+E)*a,(.5+b+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y,(.5-ee+E)*a,(.5-b+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y));var ae=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);return x.add(ae),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(re,a,y){var x=re?re.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(re,a,y){var x=re?re.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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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(re,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 st("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new st("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);var b=re?re.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*a,z=(.5-b/2)*y,ee=(.5+b/2)*y,ae=new go.Geometry,le=new go.PathFigure(0,z,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E,z)),le.add(new go.PathSegment(go.PathSegment.Line,E,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,E,y)),le.add(new go.PathSegment(go.PathSegment.Line,E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,z/y);var de=Re(0,ee/y,1,ee/y,E/a,1,1,.5,te());return ae.spot2=new go.Spot(de.x,de.y),ue(de),ae}),go.Shape.setFigureParameter("Arrow2",0,new st("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new st("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=re?re.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var E=a-x,z=(y-b)/2,ee=z+b,ae=new go.Geometry,le=new go.PathFigure(0,z,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E,z)),le.add(new go.PathSegment(go.PathSegment.Line,E,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,E,y)),le.add(new go.PathSegment(go.PathSegment.Line,E,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,z/y);var de=Re(0,ee/y,1,ee/y,E/a,1,1,.5,te());return ae.spot2=new go.Spot(de.x,de.y),ue(de),ae}),go.Shape.defineFigureGenerator("Chevron",function(re,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(re,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 st("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/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,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),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,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ae=Re(0,.5,.3,0,0,b/y,.1,b/y,te());return z.spot1=new go.Spot(ae.x,ae.y),ae=Re(.7,1,1,.5,0,E/y,1,E/y,ae),z.spot2=new go.Spot(ae.x,ae.y),ue(ae),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new st("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new st("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=40);var b=re?re.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,ee=(y-b)/2,ae=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,ae=y):(E=0,z=y,ee=0,ae=y));var le=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var ce=Re(0,.5,.3,ee/y,0,E/y,1,E/y,te());return le.spot1=new go.Spot(ce.x,ce.y),ce=Re(.7,ae/y,1,.5,0,z/y,1,z/y,ce),le.spot2=new go.Spot(ce.x,ce.y),ue(ce),le}),go.Shape.setFigureParameter("IBeamArrow",0,new st("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/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,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),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,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var ae=Re(.7,1,1,.5,0,E/y,1,E/y,te());return z.spot2=new go.Spot(ae.x,ae.y),ue(ae),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new st("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new st("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=40);var b=re?re.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,ee=(y-b)/2,ae=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,ae=y):(E=0,z=y,ee=0,ae=y));var le=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),le.spot1=new go.Spot(0,E/y);var ce=Re(.7,ae/y,1,.5,0,z/y,1,z/y,te());return le.spot2=new go.Spot(ce.x,ce.y),ue(ce),le}),go.Shape.setFigureParameter("Pointer",0,new st("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.1);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,x*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Re(.2,.65,1,.65,0,1,1,.5,te());return b.spot2=new go.Spot(z.x,z.y),ue(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new st("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);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.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=Re(0,.65,1,.65,0,1,1,.5,te());return b.spot2=new go.Spot(z.x,z.y),ue(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new st("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,E=(.5+x/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,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ae=Re(.7,1,1,.5,0,E/y,1,E/y,te());return z.spot2=new go.Spot(ae.x,ae.y),ue(ae),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new st("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,E=b+x;x>y&&(b=0,E=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,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var ae=Re(.7,1,1,.5,0,E/y,1,E/y,te());return z.spot2=new go.Spot(ae.x,ae.y),ue(ae),z}),go.Shape.setFigureParameter("SquareArrow",0,new st("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*a,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,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(re,a,y){var x=new go.Geometry,b=oe*.5,E=oe*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(re,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 E=new go.PathFigure(0,.9*y,!1);return x.add(E),E.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(re,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 E=new go.PathFigure(.5*a,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),E.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(re,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 E=new go.PathFigure(0,.3*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),E.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(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=oe*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+E)*a,0,1*a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+E)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,1*y,0,y-oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ee=new go.PathFigure(a,x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+E)*a,2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*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(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=oe*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+E)*a,0,a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,y,0,y-oe*x));var ee=new go.PathFigure(0,y-x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-E)*a,y-2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+E)*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(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=oe*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,oe*x,0));var ee=new go.PathFigure(x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+E)*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(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=oe*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,oe*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ee=new go.PathFigure(a-x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+E)*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(re,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 E=new go.PathFigure(.25*a,.25*y,!1);return x.add(E),E.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(re,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 E=new go.PathFigure(0,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.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(re,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 E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.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(re,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 E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),E.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(re,a,y){var x=new go.Geometry,b=.2,E=.1,z=oe*b,ee=oe*E,ae=.5,le=.1,de=new go.PathFigure(ae*a,(le+E)*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-b)*a,le*y,(ae-z)*a,(le+E)*y,(ae-b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-E)*y,(ae-b)*a,(le-ee)*y,(ae-z)*a,(le-E)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+b)*a,le*y,(ae+z)*a,(le-E)*y,(ae+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le+E)*y,(ae+b)*a,(le+ee)*y,(ae+z)*a,(le+E)*y));var ce=.05,be=oe*ce;ae=.05,le=.25;var Se=new go.PathFigure(.5*a,.2*y,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ae=.95,le=.25,Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ce)*a,le*y,(ae+be)*a,(le-ce)*y,(ae+ce)*a,(le-be)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ce=.025,be=oe*ce,ae=.825,le=.35,Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ce)*y,(ae+ce)*a,(le-be)*y,(ae+be)*a,(le-ce)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*a,le*y,(ae-be)*a,(le-ce)*y,(ae-ce)*a,(le-be)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ce=.05,be=oe*ce,ae=.5,le=.7,Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ce)*y,(ae+ce)*a,(le-be)*y,(ae+be)*a,(le-ce)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*a,le*y,(ae-be)*a,(le-ce)*y,(ae-ce)*a,(le-be)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ce=.025,be=oe*ce,ae=.175,le=.35,Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ce)*y,(ae+ce)*a,(le-be)*y,(ae+be)*a,(le-ce)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ce)*a,le*y,(ae-be)*a,(le-ce)*y,(ae-ce)*a,(le-be)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ce=.05,be=oe*ce,ae=.05,le=.25,Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ce)*y,(ae-ce)*a,(le-be)*y,(ae-be)*a,(le-ce)*y)),Se.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 st("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(re,a,y){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.2);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,x*y)),E.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(re,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 E=new go.PathFigure(.5*a,.5*y,!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,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var 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).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(re,a,y){var x=new go.Geometry,b=oe*.5,E=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*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-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*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+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*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+E)*y,(.5+b)*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+E)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(re,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(re,a,y){var x=new go.Geometry,b=oe*.5,E=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*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-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*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+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(re,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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=oe*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-E)*y,(.2-E)*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+E)*a,0,a,(.2-E)*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+E)*y,(.8+E)*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-E)*a,y,0,(.8+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));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("DividedProcess",function(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var 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).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(re,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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var 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).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(re,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 E=new go.PathFigure(.1*a,.4*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),E.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(re,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 E=new go.PathFigure(.75*a,0,!1);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,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(re,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 E=new go.PathFigure(a,.5*y,!1);x.add(E),E.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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.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)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Junction",function(re,a,y){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=oe*.5,ee=.5,ae=new go.PathFigure(a,ee*y,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+z)*y,(ee+z)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-z)*a,y,0,(ee+z)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*y,(ee-z)*a,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+z)*a,0,a,(ee-z)*y));var le=new go.PathFigure((E+b)*a,(E+b)*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)),le.add(new go.PathSegment(go.PathSegment.Move,E*a,(E+b)*y)),le.add(new go.PathSegment(go.PathSegment.Line,(E+b)*a,E*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(re,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 E=new go.PathFigure(.1*a,0,!1);return x.add(E),E.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(re,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(re,a,y){var x=new go.Geometry,b=oe*.5,E=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*a,.9*y,a,(E+b)*y,(E+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(re,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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(re,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(re,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 E=new go.PathFigure(.1*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.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(re,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 E=new go.PathFigure(.2*a,.1*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var E=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 ee=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(re,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(re,a,y){var x=new go.Geometry,b=oe*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,.5*y,!1);return x.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)),x}),go.Shape.defineFigureGenerator("PaperTape",function(re,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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.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-E)*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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN,E=re?re.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var 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).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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var 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).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(re,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 E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*a,0,!0);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));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(re,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(re,a,y){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);return 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,.75*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(re,a,y){var x=new go.Geometry,b=oe*.5,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.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),E.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(re,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(re,a,y){var x=new go.Geometry,b=oe*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,E*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y));var ae=new go.PathFigure(.8*a,.75*y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(re,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(re,a,y){var x=new go.Geometry,b=oe*.1,E=.1,z=.9,ee=.5,ae=new go.PathFigure(.8*a,.5*y,!0);x.add(ae),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,.8*a,.5*y));var le=new go.PathFigure((z+E)*a,ee*y,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(re,a,y){var x=new go.Geometry,b=oe*.5,E=oe*.4,z=oe*.1,ee=.1,ae=.9,le=.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+E)*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-E)*y));var ce=new go.PathFigure((ae+ee)*a,le*y,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le+ee)*y,(ae+ee)*a,(le+z)*y,(ae+z)*a,(le+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a,le*y,(ae-z)*a,(le+ee)*y,(ae-ee)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-ee)*y,(ae-ee)*a,(le-z)*y,(ae-z)*a,(le-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a,le*y,(ae+z)*a,(le-ee)*y,(ae+ee)*a,(le-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(re,a,y){var x=new go.Geometry,b=.5,E=oe*b,z=0,ee=.5,ae=new go.PathFigure(.8*a,.5*y,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=oe*.1,z=.9,ee=.5;var le=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(re,a,y){var x=new go.Geometry,b=.5,E=oe*b,z=0,ee=.5,ae=new go.PathFigure(0,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E+E)*a,(ee-b)*y,.8*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ee+E)*y,(z+E+E)*a,(ee+b)*y)),ae.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(re,a,y){var x=new go.Geometry,b=.5,E=oe*b,z=.2,ee=.5,ae=new go.PathFigure(.1*a,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var le=new go.PathFigure(.8*a,.5*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=oe*.1,z=.9,ee=.5;var de=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(re,a,y){var x=new go.Geometry,b=.5,E=oe*b,z=.2,ee=.5,ae=new go.PathFigure(.1*a,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var le=new go.PathFigure(.2*a,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E)*a,(ee-b)*y,.9*a,(ee-E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),le.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(re,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(re,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(re,a,y){var x=new go.Geometry,b=oe*.1,E=.1,z=.1,ee=.5,ae=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+E)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(re,a,y){var x=new go.Geometry,b=oe*.5,E=.5,z=.5,ee=.5,ae=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*a,ee*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*a,ee*y,z*a,(ee-E)*y,z*a,(ee+E)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(re,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(re,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(re,a,y){var x=new go.Geometry,b=a,E=y;a=a*.38,y=y*.6;var z=oe*.8,ee=.8,ae=0,le=.5,de=(b-a)/2,ce=(E-y)/2,be=new go.PathFigure(ae*a+de,(le+ee)*y+ce,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a+de,le*y+ce,(ae-z)*a+de,(le+ee)*y+ce,(ae-ee)*a+de,(le+z)*y+ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le-ee)*y+ce,(ae-ee)*a+de,(le-z)*y+ce,(ae-z)*a+de,(le-ee)*y+ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee+z*.5)*a+de,le*y+ce,ae*a+de,(le-ee)*y+ce,(ae-ee+z*.5)*a+de,(le-z)*y+ce)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le+ee)*y+ce,(ae-ee+z*.5)*a+de,(le+z)*y+ce,ae*a+de,(le+ee)*y+ce).close()),z=oe*.4,ee=.4,ae=.2,le=.5;var Se=new go.PathFigure(ae*a+de,(le+ee)*y+ce,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a+de,le*y+ce,(ae-z)*a+de,(le+ee)*y+ce,(ae-ee)*a+de,(le+z)*y+ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le-ee)*y+ce,(ae-ee)*a+de,(le-z)*y+ce,(ae-z)*a+de,(le-ee)*y+ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee+z*.5)*a+de,le*y+ce,ae*a+de,(le-ee)*y+ce,(ae-ee+z*.5)*a+de,(le-z)*y+ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le+ee)*y+ce,(ae-ee+z*.5)*a+de,(le+z)*y+ce,ae*a+de,(le+ee)*y+ce).close()),z=oe*.2,ee=.2,ae=.5,le=.5;var Ee=new go.PathFigure((ae-ee)*a+de,le*y+ce,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le-ee)*y+ce,(ae-ee)*a+de,(le-z)*y+ce,(ae-z)*a+de,(le-ee)*y+ce)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a+de,le*y+ce,(ae+z)*a+de,(le-ee)*y+ce,(ae+ee)*a+de,(le-z)*y+ce)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le+ee)*y+ce,(ae+ee)*a+de,(le+z)*y+ce,(ae+z)*a+de,(le+ee)*y+ce)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a+de,le*y+ce,(ae-z)*a+de,(le+ee)*y+ce,(ae-ee)*a+de,(le+z)*y+ce)),z=oe*.4,ee=.4,ae=.8,le=.5;var pe=new go.PathFigure(ae*a+de,(le-ee)*y+ce,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a+de,le*y+ce,(ae+z)*a+de,(le-ee)*y+ce,(ae+ee)*a+de,(le-z)*y+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le+ee)*y+ce,(ae+ee)*a+de,(le+z)*y+ce,(ae+z)*a+de,(le+ee)*y+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee-z*.5)*a+de,le*y+ce,ae*a+de,(le+ee)*y+ce,(ae+ee-z*.5)*a+de,(le+z)*y+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le-ee)*y+ce,(ae+ee-z*.5)*a+de,(le-z)*y+ce,ae*a+de,(le-ee)*y+ce).close()),z=oe*.8,ee=.8,ae=1,le=.5;var St=new go.PathFigure(ae*a+de,(le-ee)*y+ce,!0);return x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a+de,le*y+ce,(ae+z)*a+de,(le-ee)*y+ce,(ae+ee)*a+de,(le-z)*y+ce)),St.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le+ee)*y+ce,(ae+ee)*a+de,(le+z)*y+ce,(ae+z)*a+de,(le+ee)*y+ce)),St.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee-z*.5)*a+de,le*y+ce,ae*a+de,(le+ee)*y+ce,(ae+ee-z*.5)*a+de,(le+z)*y+ce)),St.add(new go.PathSegment(go.PathSegment.Bezier,ae*a+de,(le-ee)*y+ce,(ae+ee-z*.5)*a+de,(le-z)*y+ce,ae*a+de,(le-ee)*y+ce).close()),x}),go.Shape.defineFigureGenerator("Email",function(re,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 E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(re,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 E=new go.PathFigure(.1*a,y,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.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 ee=new go.PathFigure(0,.5*y,!1);return x.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)),x}),go.Shape.defineFigureGenerator("Power",function(re,a,y){var x=new go.Geometry,b=oe*.4,E=.4,z=.5,ee=.5,ae=te(),le=te(),de=te(),ce=te();Ge(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,ae,ae,le,de,ce);var be=ne(le.x,le.y),Se=new go.PathFigure(le.x*a,le.y*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,de.x*a,de.y*y,ce.x*a,ce.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),Ge(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,de,ce,le,ae,ae),Se.add(new go.PathSegment(go.PathSegment.Bezier,le.x*a,le.y*y,de.x*a,de.y*y,ce.x*a,ce.y*y)),b=oe*.3,E=.3,Ge(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,de,ce,le,ae,ae),Se.add(new go.PathSegment(go.PathSegment.Line,le.x*a,le.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,ce.x*a,ce.y*y,de.x*a,de.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),Ge(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,ae,ae,le,de,ce),Se.add(new go.PathSegment(go.PathSegment.Bezier,le.x*a,le.y*y,ce.x*a,ce.y*y,de.x*a,de.y*y).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*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ue(ae),ue(le),ue(de),ue(ce),ue(be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(re,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 E(z,ee,ae){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+ae)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+ae)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+ae)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+ae)*y).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(re,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(re,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(re,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(re,a,y){var x=new go.Geometry,b=.5,E=0,z=0,ee=b*oe,ae=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,de=1,ce=.5,be=.5,Se=0,Ee=new go.PathFigure(ae*a,(1-le)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,ce*y,de*a,.7*y,de*a,ce*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(be+E)*a,(Se+E)*y,(.5+b+E)*a,(.5-ee+E)*y,(.5+ee+E)*a,(.5-b+E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*a,.9*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(re,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(re,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(re,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);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(re,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(re,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(re,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 E=new go.PathFigure(.45*a,.73*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),E.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),E.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(re,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*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.Line,0,.68*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),E.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ee=.5,ae=z,le=Math.PI/4,de=4*(1-Math.cos(le))/(3*Math.sin(le)),ce=de*.5,be=z,Se=z,Ee=de*be,pe=de*Se;E.add(new go.PathSegment(go.PathSegment.Bezier,(ee-be)*a,ae*y,(ee-(Ee+be)/2)*a,(ae+(Se+pe)/2)*y,(ee-be)*a,(ae+pe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ae-Se)*y,(ee-be)*a,(ae-pe)*y,(ee-Ee)*a,(ae-Se)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ee+be)*a,ae*y,(ee+Ee)*a,(ae-Se)*y,(ee+be)*a,(ae-pe)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ee+be)*a,(ae+pe)*y,(ee+(Ee+be)/2)*a,(ae+(Se+pe)/2)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var St=new go.PathFigure(.2*a,y,!1);x.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var mt=new go.PathFigure(.8*a,y,!1);return x.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(re,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 E=new go.PathFigure(.2*a,.2*y,!1);return x.add(E),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)),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,.2*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(re,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(re,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);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(re,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 E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,E*a,E*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(re,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 E=new go.PathFigure(.475*a,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),E.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(re,a,y){var x=new go.Geometry,b=.5,E=oe*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+E)*y,(b+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-E)*a,y,0,(b+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-E)*y,(b-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+E)*a,0,a,(b-E)*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(re,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 E=new go.PathFigure(0,.15*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.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(re,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 E=new go.PathFigure(0,.2*y,!1);x.add(E),E.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(re,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 E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),E.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(re,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 E=new go.PathFigure(.15*a,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(re,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(re,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(re,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(re,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 E=new go.PathFigure(a,.8*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ee=oe*.1,ae=.2,le=.9,de=new go.PathFigure((ae-z)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-z)*y,(ae-z)*a,(le-ee)*y,(ae-ee)*a,(le-z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*a,le*y,(ae+ee)*a,(le-z)*y,(ae+z)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le+z)*y,(ae+z)*a,(le+ee)*y,(ae+ee)*a,(le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*a,le*y,(ae-ee)*a,(le+z)*y,(ae-z)*a,(le+ee)*y).close()),z=.1,ee=oe*.1,ae=.8,le=.9;var ce=new go.PathFigure((ae-z)*a,le*y,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le-z)*y,(ae-z)*a,(le-ee)*y,(ae-ee)*a,(le-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*a,le*y,(ae+ee)*a,(le-z)*y,(ae+z)*a,(le-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(le+z)*y,(ae+z)*a,(le+ee)*y,(ae+ee)*a,(le+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*a,le*y,(ae-ee)*a,(le+z)*y,(ae-z)*a,(le+ee)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(re,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(re,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 E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.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 ee=new go.PathFigure(.5*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ae=.1,le=oe*.1,de=.1,ce=.9,be=new go.PathFigure((de-ae)*a,ce*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ce-ae)*y,(de-ae)*a,(ce-le)*y,(de-le)*a,(ce-ae)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*a,ce*y,(de+le)*a,(ce-ae)*y,(de+ae)*a,(ce-le)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ce+ae)*y,(de+ae)*a,(ce+le)*y,(de+le)*a,(ce+ae)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*a,ce*y,(de-le)*a,(ce+ae)*y,(de-ae)*a,(ce+le)*y)),ae=.1,le=oe*.1,de=.4,ce=.9;var Se=new go.PathFigure((de-ae)*a,ce*y,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ce-ae)*y,(de-ae)*a,(ce-le)*y,(de-le)*a,(ce-ae)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*a,ce*y,(de+le)*a,(ce-ae)*y,(de+ae)*a,(ce-le)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ce+ae)*y,(de+ae)*a,(ce+le)*y,(de+le)*a,(ce+ae)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*a,ce*y,(de-le)*a,(ce+ae)*y,(de-ae)*a,(ce+le)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(re,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 E=new go.PathFigure(.45*a,.7*y,!1);x.add(E),E.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 de=.05,ce=oe*.05,be=.175,Se=.95,ee=new go.PathFigure((be-de)*a,Se*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se-de)*y,(be-de)*a,(Se-ce)*y,(be-ce)*a,(Se-de)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*a,Se*y,(be+ce)*a,(Se-de)*y,(be+de)*a,(Se-ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se+de)*y,(be+de)*a,(Se+ce)*y,(be+ce)*a,(Se+de)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*a,Se*y,(be-ce)*a,(Se+de)*y,(be-de)*a,(Se+ce)*y));var de=.05,ce=oe*.05,be=.375,Se=.95,ae=new go.PathFigure((be-de)*a,Se*y,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se-de)*y,(be-de)*a,(Se-ce)*y,(be-ce)*a,(Se-de)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*a,Se*y,(be+ce)*a,(Se-de)*y,(be+de)*a,(Se-ce)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se+de)*y,(be+de)*a,(Se+ce)*y,(be+ce)*a,(Se+de)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*a,Se*y,(be-ce)*a,(Se+de)*y,(be-de)*a,(Se+ce)*y));var de=.05,ce=oe*.05,be=.625,Se=.95,le=new go.PathFigure((be-de)*a,Se*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se-de)*y,(be-de)*a,(Se-ce)*y,(be-ce)*a,(Se-de)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*a,Se*y,(be+ce)*a,(Se-de)*y,(be+de)*a,(Se-ce)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se+de)*y,(be+de)*a,(Se+ce)*y,(be+ce)*a,(Se+de)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*a,Se*y,(be-ce)*a,(Se+de)*y,(be-de)*a,(Se+ce)*y));var de=.05,ce=oe*.05,be=.825,Se=.95,Ee=new go.PathFigure((be-de)*a,Se*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se-de)*y,(be-de)*a,(Se-ce)*y,(be-ce)*a,(Se-de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*a,Se*y,(be+ce)*a,(Se-de)*y,(be+de)*a,(Se-ce)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(Se+de)*y,(be+de)*a,(Se+ce)*y,(be+ce)*a,(Se+de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*a,Se*y,(be-ce)*a,(Se+de)*y,(be-de)*a,(Se+ce)*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(re,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 E=new go.PathFigure(0,.2*y,!1);x.add(E),E.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 ee=.05,ae=oe*.05,le=.35,de=.775,ce=new go.PathFigure((le-ee)*a,de*y,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-ee)*y,(le-ee)*a,(de-ae)*y,(le-ae)*a,(de-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+ee)*a,de*y,(le+ae)*a,(de-ee)*y,(le+ee)*a,(de-ae)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de+ee)*y,(le+ee)*a,(de+ae)*y,(le+ae)*a,(de+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ee)*a,de*y,(le-ae)*a,(de+ee)*y,(le-ee)*a,(de+ae)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(re,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(re,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(re,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(re,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(re,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(re,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(re,a,y){var x=new go.Geometry,b=.3,E=oe*.3,z=.5,ee=.7,ae=new go.PathFigure((z-b)*a,ee*y,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var le=new go.PathFigure(0,.7*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(re,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(re,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(re,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 E=new go.PathFigure(0,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(re,a,y){var x=new go.Geometry,b=.5,E=oe*.5,z=.5,ee=.5,ae=new go.PathFigure((z-b)*a,ee*y,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var le=new go.PathFigure(.15*a,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(re,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(re,a,y){var x=new go.Geometry,b=.5,E=oe*.5,z=.5,ee=.5,ae=new go.PathFigure((z-b)*a,ee*y,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),b=.05,E=oe*.05,z=.5,ee=.8;var le=new go.PathFigure((z-b)*a,ee*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),le.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(re,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(re,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 E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(re,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 E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(re,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(re,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(re,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(re,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 E=new go.PathFigure(0,y*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(re,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(re,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 E=new go.PathFigure(.126*a,.85*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),E.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 ee=new go.PathFigure(.678*a,.85*y,!1);x.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 ae=new go.PathFigure(.5*a,.1*y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(re,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(re,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 E=new go.PathFigure(a*.204,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),E.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 ee=new go.PathFigure(a*.612,y,!0);x.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 ae=new go.PathFigure(a*.816,y,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(re,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 E=new go.PathFigure(a*.055,.07*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),E.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 ee=new go.PathFigure(a*.055,.18*y,!0);x.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 ae=new go.PathFigure(a*1,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(re,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(re,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(re,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 E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),E.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 ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.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 ae=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(re,a,y){var x=new go.Geometry,b=8,E=b*oe,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var ee=new go.PathFigure(a*.83,0,!1);x.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 ae=new go.PathFigure(a*.83,y*1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var le=new go.PathFigure(a*.78,y*.05,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),le.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),le.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(re,a,y){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,E=y*.8,z=new go.Geometry,ee=new go.PathFigure(x,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-b,a-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,E)),ee.add(new go.PathSegment(go.PathSegment.Line,x,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.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(re,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 E=new go.PathFigure(a*1,y*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(re,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(re,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 E=new go.PathFigure(a*.1,y*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),E.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(re,a,y){var x=new go.Geometry,b=15,E=b*oe,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),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()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(re,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).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(re,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(re,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.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-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),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-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),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-E)).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(re,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(re,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 E=new go.PathFigure(a*.235,y*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),E.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),E.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(re,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")},11081: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 st={},bt="5.0",ne={},te=null,ue=!1,Re=!1,Ge=null,Ae=!1,Le=null,oe=null,Ve=0;Ve<arguments.length;Ve++){var We=arguments[Ve];if(We!==null)switch(typeof We){case"number":bt=We.toFixed(1);break;case"string":We.match(new RegExp("^[0-9]\\.[0-9]+$"))?bt=We:Ge=We;break;case"object":typeof We.is3D!="undefined"?te=We:ne=We;break;case"boolean":ue=We,Re=!0;break}}te===null&&(te={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ne.material_id!==void 0&&!Re&&(ue=!0)),Ge!==null&&ne.id===void 0&&(ne.id=Ge);var Qe="",Je="",rt=!1,Ue=null,re=null,a=null,y=!1,x=null,b=null,E=null,z=null,ee=null;ne.height!==void 0&&(ne.height=Math.round(ne.height)),ne.width!==void 0&&(ne.width=Math.round(ne.width));var ae=function(Be){return parseFloat(Be)>4?parseFloat(Be):5};st.setHTML5Codebase=function(Be,De){oe=Be,Te(Be,De)},st.setJavaCodebase=st.setJavaCodebaseVersion=st.isCompiledInstalled=st.setPreCompiledScriptPath=st.setPreCompiledResourcePath=function(){},st.setHTML5CodebaseVersion=function(Be,De){var vt=parseFloat(Be);if(vt!==NaN&&vt<5){console.log("The GeoGebra HTML5 codebase version "+vt+" is deprecated. Using version latest instead.");return}Le=Be,kt(Be,De)},st.getHTML5CodebaseVersion=function(){return re},st.getParameters=function(){return ne},st.setFontsCSSURL=function(Be){z=Be},st.setGiacJSURL=function(Be){},st.setJNLPFile=function(Be){Qe=Be},st.setJNLPBaseDir=function(Be){},st.inject=function(){function Be(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var De="auto",vt=ne.id,Wt,gt=!1,It=0;It<arguments.length;It++){var Ce=arguments[It];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?De=Ce:vt=arguments[It]):typeof Ce=="boolean"?gt=Ce:Ce instanceof HTMLElement&&(Wt=Ce)}Ht();function Ht(){if(!Ae){setTimeout(Ht,200);return}De=Dt(De);var qt=Wt||document.getElementById(vt);if(!qt){console.log("possibly bug on ajax loading? ");return}if(st.removeExistingApplet(qt,!1),ne.width===void 0&&qt.clientWidth&&(ne.width=qt.clientWidth),ne.height===void 0&&qt.clientHeight&&(ne.height=qt.clientHeight),!(ne.width&&ne.height)&&De==="html5"&&(delete ne.width,delete ne.height),Ue=De,De==="screenshot")mt(qt,ne);else{var un=!1;ne.hasOwnProperty("playButton")&&ne.playButton||ne.hasOwnProperty("clickToLoad")&&ne.clickToLoad?un=!0:ne.hasOwnProperty("playButtonAutoDecide")&&ne.playButtonAutoDecide&&(un=(!le()||Be())&&de()),un?(Ue="screenshot",et(qt,ne,gt,De)):St(qt,ne,gt)}}};function le(){try{return window.self!==window.top}catch(Be){return!0}}function de(){return ne.hasOwnProperty("screenshotGenerator")&&ne.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}st.getViews=function(){return te},st.isJavaInstalled=function(){return!1};var ce=function(Be){var De=function(It){var Ce=JSON.parse(It),Ht=function(nn){return nn.type=="G"||nn.type=="E"},qt=Ce.elements?Ce.elements.filter(Ht)[0]:Ce;if(!qt||!qt.url){vt();return}ne.fileName=qt.url,be(qt.settings||{}),te.is3D=!0;var un="https://www.geogebra.org/images/";st.setPreviewImage(x||qt.previewUrl,un+"GeoGebra_loading.png",un+"applet_play.png"),Be()},vt=function(){ne.onError&&ne.onError(),Pt("Error: Fetching material (id "+ne.material_id+") failed.",ne)},Wt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",gt="/materials/"+ne.material_id+"?scope=basic";Se("https://"+Wt+"/api/proxy.php?path="+encodeURIComponent(gt),De,vt)};function be(Be){var De=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(vt){Be[vt]=!!Be[vt]}),De.forEach(function(vt){ne[vt]===void 0&&Be[vt]!==void 0&&(ne[vt]=Be[vt])}),ne.showToolBarHelp===void 0&&(ne.showToolBarHelp=ne.showToolBar)}function Se(Be,De,vt){var Wt=new XMLHttpRequest;Wt.open("GET",Be),Wt.onload=function(){De(Wt.responseText)},Wt.onerror=vt,Wt.send()}st.isHTML5Installed=function(){return!0},st.getLoadedAppletType=function(){return Ue},st.setPreviewImage=function(Be,De,vt){x=Be,b=De,E=vt},st.removeExistingApplet=function(Be,De){var vt;typeof Be=="string"&&(Be=document.getElementById(Be)),Ue=null;var Wt=null;for(vt=0;vt<Be.childNodes.length;vt++){var gt=Be.childNodes[vt],It=gt.className;It==="applet_screenshot"?De?(gt.style.display="block",Ue="screenshot"):gt.style.display="none":It!=="applet_scaler prerender"&&(Be.removeChild(gt),Wt=It&&It.indexOf("appletParameters")!=-1?gt.id:null,vt--)}var Ce=ne.id!==void 0?ne.id:Wt,Ht=window[Ce];Ht&&typeof Ht.getBase64=="function"&&(Ht.remove(),window[Ce]=null)},st.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Be=st.getAppletObject();return Be&&typeof Be.recalculateEnvironments=="function"?(Be.recalculateEnvironments(),!0):!1},st.startAnimation=function(){var Be=st.getAppletObject();return Be&&typeof Be.startAnimation=="function"?(Be.startAnimation(),!0):!1},st.stopAnimation=function(){var Be=st.getAppletObject();return Be&&typeof Be.stopAnimation=="function"?(Be.stopAnimation(),!0):!1},st.getAppletObject=function(){var Be=ne.id!==void 0?ne.id:"ggbApplet";return window[Be]},st.resize=function(){};var Ee=function(Be,De,vt){var Wt=document.createElement("param");Wt.setAttribute("name",De),Wt.setAttribute("value",vt),Be.appendChild(Wt)},pe=function(Be){return Be&&Be!=="false"},St=function(Be,De,vt){ae(re)<=4.2&&(vt=!0);var Wt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Wt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var gt=document.createElement("div");gt.classList.add("appletParameters","notranslate");var It=De.width,Ce=De.height;if(De.disableAutoScale=De.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():De.disableAutoScale,De.width!==void 0)if(ae(re)<=4.4)pe(De.showToolBar)&&(De.height-=7),pe(De.showAlgebraInput)&&(De.height-=37),De.width<605&&pe(De.showToolBar)&&(De.width=605,It=605);else{var Ht=100;(pe(De.showToolBar)||pe(De.showMenuBar))&&(De.hasOwnProperty("customToolBar")&&(De.customToolbar=De.customToolBar),Ht=pe(De.showMenuBar)?245:155),It<Ht&&(De.width=Ht,It=Ht)}gt.style.border="none",gt.style.display="inline-block";for(var qt in De)De.hasOwnProperty(qt)&&qt!=="appletOnLoad"&>.setAttribute("data-param-"+qt,De[qt]);z&>.setAttribute("data-param-fontscssurl",z),st.resize=function(){GGBAppletUtils.responsiveResize(Be,De)},window.addEventListener("resize",function(he){st.resize()});var un=typeof De.appletOnLoad=="function"?De.appletOnLoad:function(){};if(!vt&&De.width!==void 0){De.hasOwnProperty("showSplash")||gt.setAttribute("data-param-showSplash","false");var nn=Be.querySelector(".applet_scaler.prerender"),Ze=nn!==null;if(Ze)var Me=nn.querySelector(".ggb_preview");else{var Me=At(It,Ce,De.borderColor,!1);nn=document.createElement("div"),nn.className="applet_scaler",nn.style.position="relative",nn.style.display="block",nn.style.width=It+"px",nn.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(nn,"66%"),ae(re)>=5?(De.appletOnLoad=function(he){var je=Be.querySelector(".ggb_preview");je&&je.parentNode.removeChild(je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(nn),window.GGBT_wsf_view&&$(window).trigger("resize"),un(he)},Ze||nn.appendChild(Me)):gt.appendChild(Me),nn.appendChild(gt),Ze||Be.appendChild(nn),setTimeout(function(){st.resize()},1)}else{var ye=document.createElement("div");ye.className="applet_scaler",ye.style.position="relative",ye.style.display="block",ye.appendChild(gt),Be.appendChild(ye),De.appletOnLoad=function(he){st.resize(),un(he)}}function ge(he,je){je&&typeof je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(he,je.appletOnLoad):renderGGBElement(he),Pt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",je)}function Ne(he,je){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:he,params:je}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ot){ge(Ot.article,Ot.params)}),html5AppletsToProcess=null)},ae(re)<5&&(he.className+=" geogebraweb")):ge(he,je)}if(Wt){scriptLoadStarted=!0;for(var dt=0;dt<gt.childNodes.length;dt++){var fe=gt.childNodes[dt].tagName;fe==="TABLE"&&(gt.removeChild(gt.childNodes[dt]),dt--)}if(ggbHTML5LoadedScript!==null){var me=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');me!=null&&me.parentNode.removeChild(me)}var He=document.createElement("script"),we=function(){Ne(gt,De)};He.src=Je+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=re,ggbHTML5LoadedScript=He.src,Pt("GeoGebra HTML5 codebase loaded: '"+Je+"'.",De),!oe&&(!Le||Le=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),we()):Je.requirejs?__webpack_require__.e(981).then(function(){var he=[__webpack_require__(60981)];we.apply(null,he)}.bind(this)).catch(__webpack_require__.oe):(He.onload=we,Be.appendChild(He))}else Ne(gt,De);De.height=Ce,De.width=It},mt=function(Be,De,vt){var Wt=At(De.width,De.height,De.borderColor,vt),gt=document.createElement("div");gt.style.position="relative",gt.style.display="block",gt.style.width=De.width+"px",gt.style.height=De.height+"px",gt.className="applet_screenshot applet_scaler"+(vt?" applet_screenshot_play":""),gt.appendChild(Wt);var It=GGBAppletUtils.getScale(De,Be,vt);vt?(Be.appendChild(it()),window.GGBT_wsf_view||(Be.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(gt,"66%"),Be.appendChild(gt),It!==1&&!isNaN(It)&&(GGBAppletUtils.scaleElement(gt,It),gt.style.width=De.width+"px",gt.style.height=De.height+"px",gt.parentNode.style.width=De.width*It+"px",gt.parentNode.style.height=De.height*It+"px"),st.resize=function(){Yt(Be,Wt,gt,vt)},window.addEventListener("resize",function(Ce){st.resize()}),st.resize()};function Yt(Be,De,vt,Wt){if(Be.contains(De)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Be.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Be)}var gt=GGBAppletUtils.getScale(ne,Be,Wt);vt.parentNode!==null&&(!isNaN(gt)&>!==1?(GGBAppletUtils.scaleElement(vt,gt),vt.parentNode.style.width=ne.width*gt+"px",vt.parentNode.style.height=ne.height*gt+"px"):(GGBAppletUtils.scaleElement(vt,1),vt.parentNode.style.width=ne.width+"px",vt.parentNode.style.height=ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Be),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}st.onExitFullscreen=function(Be,De){De.appendChild(Be)};var et=function(Be,De,vt,Wt){mt(Be,De,!0);for(var gt=function(){var Ht=[];for(Ce=0;Ce<Be.childNodes.length;Ce++)Ht.push(Be.childNodes[Ce]);if(window.GGBT_wsf_view){var qt=window.GGBT_wsf_view.renderFullScreen(Be,De.id),un=document.getElementById("fullscreencontainer"),nn=jQuery(Be).find(".fullscreencontent");nn.length>0?(qt.remove(),nn.attr("id","fullscreencontent").show(),jQuery(un).append(nn),window.dispatchEvent(new Event("resize"))):St(qt,De,!1),window.GGBT_wsf_view.launchFullScreen(un)}else Ue=Wt,St(Be,De,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<Ht.length;Ce++)Be.removeChild(Ht[Ce])},It=Be.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<It.length;Ce++)It[Ce].addEventListener("click",gt,!1),It[Ce].addEventListener("ontouchstart",gt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Be),de()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},it=function(){var Be=document.createElement("div");if(Be.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var De='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',vt=document.createElement("style");vt.styleSheet?vt.styleSheet.cssText=De:vt.appendChild(document.createTextNode(De)),document.getElementsByTagName("head")[0].appendChild(vt)}return Be},At=function(Be,De,vt,Wt){var gt=document.createElement("div");gt.className="ggb_preview",gt.style.position="absolute",gt.style.zIndex="90",gt.style.width=Be-2+"px",gt.style.height=De-2+"px",gt.style.top="0px",gt.style.left="0px",gt.style.overflow="hidden",gt.style.backgroundColor="white";var It="lightgrey";vt!==void 0&&(vt==="none"?It="transparent":It=vt),gt.style.border="1px solid "+It;var Ce=document.createElement("img");if(Ce.style.position="relative",Ce.style.zIndex="1000",Ce.style.top="-1px",Ce.style.left="-1px",x!==null&&Ce.setAttribute("src",x),Ce.style.opacity=.7,b!==null){var Ht,qt,un;if(!Wt){Ht=document.createElement("img"),Ht.style.position="absolute",Ht.style.zIndex="1001",Ht.style.opacity=1,Ce.style.opacity=.3,qt=360,qt>Be/4*3&&(qt=Be/4*3),un=qt/5.8,Ht.setAttribute("src",b),Ht.setAttribute("width",qt),Ht.setAttribute("height",un);var nn=(Be-qt)/2,Ze=(De-un)/2;Ht.style.left=nn+"px",Ht.style.top=Ze+"px",gt.appendChild(Ht)}}return gt.appendChild(Ce),gt},Dt=function(Be){return Be=Be.toLowerCase(),Be==="html5"||Be==="screenshot"?Be:"html5"},Kt=["web","webSimple","web3d","tablet","tablet3d","phone"],kt=function(Be,De){if(re=Be,De){Te(re,!0);return}var vt=!ue;if(vt){var Wt=ae(re);!isNaN(Wt)&&Wt<4.4&&(vt=!1)}var gt,It;window.location.protocol.substr(0,4)==="http"?gt=window.location.protocol:gt="http:";var Ce=re.indexOf("//");Ce>0?It=re:Ce===0?It=gt+re:It="https://www.geogebra.org/apps/5.2.814.0/";for(var Ht in Kt)if(re.slice(Kt[Ht].length*-1)===Kt[Ht]||re.slice((Kt[Ht].length+1)*-1)===Kt[Ht]+"/"){Te(It,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&vt&&!te.is3D&&!te.AV&&!te.SV&&!te.CV&&!te.EV2&&!te.CP&&!te.PC&&!te.DA&&!te.FI&&!te.PV&&!pe(ne.showToolBar)&&!pe(ne.showMenuBar)&&!pe(ne.showAlgebraInput)&&!pe(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?It+="webSimple/":It+="web3d/",Te(It,!1)},Te=function(Be,De){if(Be.requirejs){Je=Be;return}Be.slice(-1)!=="/"&&(Be+="/"),Je=Be,De===null&&(De=Be.indexOf("http")===-1),rt=De,a="web.nocache.js",y=!1;var vt=Je.split("/");vt.length>1&&(!De&&vt[vt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Kt.indexOf(vt[vt.length-2])>=0&&(a=vt[vt.length-2]+".nocache.js")),vt=Be.split("/"),re=vt[vt.length-3],re.substr(0,4)==="test"?re=re.substr(4,1)+"."+re.substr(5,1):(re.substr(0,3)==="war"||re.substr(0,4)==="beta")&&(re="5.0");var Wt=parseFloat(re);Wt!==NaN&&Wt<5&&Be.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Wt+" is deprecated. Using version latest instead."),kt("5.0",De))},Pt=function(Be,De){window.console&&window.console.log&&(!De||typeof De.showLogging=="undefined"||De.showLogging&&De.showLogging!=="false")&&console.log(Be)};ne.material_id!==void 0?ce(xt):xt();function xt(){var Be=bt;Le!==null?Be=Le:parseFloat(Be)<5&&(Be="5.0"),kt(Be,!1),oe!==null&&Te(oe,rt),Ae=!0}return st},GGBAppletUtils=function(){"use strict";function st(){return window.GGBT_wsf_edit!==void 0}function bt(Ae,Le){Le!=1?(Ae.style.transformOrigin="0% 0% 0px",Ae.style.webkitTransformOrigin="0% 0% 0px",Ae.style.transform="scale("+Le+","+Le+")",Ae.style.webkitTransform="scale("+Le+","+Le+")",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 ne(Ae,Le,oe,Ve,We,Qe){var Je=null;if(Qe!=null&&Qe!="")for(var rt=Ae.parentNode;rt!=null;)if((" "+rt.className+" ").indexOf(" "+Qe+" ")>-1){Je=rt;break}else rt=rt.parentNode;var Ue=0,re=0,a=0,y=0,x=0,b=0,E=0;if(Je)Ue=Je.offsetWidth,re=Math.max(Ve?Je.offsetWidth:0,Je.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ue=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Ue):(Ue=window.innerWidth,re=window.innerHeight,a=window.innerWidth),Ae){var z=Ae.getBoundingClientRect();z.left>0&&z.left<=Ue&&(We===void 0||!We)&&(document.dir==="rtl"?(x=Ue-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=Ae.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,E=40)}}return Ae&&((oe===void 0||!oe)&&Le>0&&Le+y<Ue?Ue=Le:Ue-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe===void 0||!oe)&&(re-=E)),{width:Ue,height:re}}function te(Ae,Le,oe,Ve,We){if(Ae.isScreenshoGenerator)return 1;var Qe=Ve!==void 0&&Ve,Je=Ae.noScaleMargin!=null&&Ae.noScaleMargin,rt=function(ee){return ee&&ee!=="false"},Ue=rt(Ae.autoHeight),re=ne(Le,Ae.width,oe,Ue,Qe&&window.GGBT_wsf_view||Je,We),a=parseInt(re.width),y=Ae.width,x=Ae.height;if(y===void 0){var b=Le.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var E=a/y,z=Qe?1:re.height/x;return oe!==void 0&&!oe&&(E=Math.min(1,E),z=Math.min(1,z)),Math.min(E,z)}function ue(Ae,Le,oe){var Ve=1,We,Qe=!1;if(Ae.hasOwnProperty("allowUpscale")&&(Qe=Ae.allowUpscale),Ae.hasOwnProperty("scale")&&(Ve=parseFloat(Ae.scale),(isNaN(Ve)||Ve===null||Ve===0)&&(Ve=1),Ve>1&&(Qe=!0)),Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Qe=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))We=te(Ae,Le,Qe,oe,Ae.scaleContainerClass);else return Ve;return Qe&&(!Ae.hasOwnProperty("scale")||Ve===1)?We:Math.min(Ve,We)}function Re(Ae){var Le=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),Ve=Ae.getBoundingClientRect(),We=(Le-Ve.width)/2,Qe=(oe-Ve.height)/2;Qe<0&&(Qe=0),Ae.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(We<40?Ae.style.left="40px":Ae.style.left=We+"px",Ae.style.top=Qe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Qe<40?Ae.style.top="40px":Ae.style.top=Qe+"px",Ae.style.left=We+"px")}function Ge(Ae,Le){var oe=Ae.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(Ae)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var Ve=ue(Le,Ae);st()&&oe.setAttribute("data-param-scale",Ve);for(var We=null,Qe=0;Qe<Ae.childNodes.length;Qe++)if(Ae.childNodes[Qe].className!==void 0&&Ae.childNodes[Qe].className.match(/^applet_scaler/)){We=Ae.childNodes[Qe];break}if(We!==null&&We.querySelector(".noscale")!==null)return;var Je=Le.id!==void 0?Le.id:"ggbApplet",rt=window[Je];(rt==null||!rt.recalculateEnvironments)&&We!==null&&!We.className.match(/fullscreen/)&&(We.parentNode.style.transform="",!isNaN(Ve)&&Ve!==1?(We.parentNode.style.width=Le.width*Ve+"px",We.parentNode.style.height=Le.height*Ve+"px",bt(We,Ve)):(bt(We,1),We.parentNode.style.width=Le.width+"px",We.parentNode.style.height=Le.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Re(Ae),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(oe).parents(".content-added-content"))}}return{responsiveResize:Ge,isFlexibleWorksheetEditor:st,positionCenter:Re,getScale:ue,scaleElement:bt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var st=n.location.search;return st.indexOf(J)!=-1||st.indexOf(K)!=-1}function q(st,bt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(st){var bt=s[L].bindings;s[L].bindings=function(){for(var ne=bt?bt():{},te=st[webModule.__softPermutationId],ue=O;ue<te.length;ue++){var Re=te[ue];ne[Re[O]]=Re[P]}return ne}};var t;function u(){return v(),t}function v(){if(!t){var st=o.createElement(Q);if(st.id=L,st.style.cssText=R+S,st.tabIndex=-1,o.body.appendChild(st),t=st.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var bt=document.compatMode==U?V:W;t.write(bt+X),t.close()}}}function w(st){function bt(te){function ue(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Re=ue();if(Re){te();return}function Ge(){if(!Re){if(!ue())return;Re=!0,te(),o.removeEventListener&&o.removeEventListener(Z,Ge,!1),Ae&&clearInterval(Ae)}}o.addEventListener&&o.addEventListener(Z,Ge,!1);var Ae=setInterval(function(){Ge()},$)}function ne(te){var ue=u(),Re=ue.body,Ge=ue.createElement(_);Ge.language=ab,Ge.crossOrigin=W,Ge.src=te,webModule.__errFn&&(Ge.onerror=function(){webModule.__errFn(L,new Error(bb+te))}),Re.appendChild(Ge)}bt(function(){ne(st)})}webModule.__startLoadingFragment=function(st){return C(st)},webModule.__installRunAsyncCode=function(st){var bt=u(),ne=bt.body,te=bt.createElement(_);te.language=ab,te.text=st,ne.appendChild(te),ne.removeChild(te)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=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(st){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(st){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(st){var bt=c[st];return bt==null?null:bt},r=d,webModule.__errFn=e}function B(){function st(Ae){var Le=Ae.lastIndexOf(rb);Le==-1&&(Le=Ae.length);var oe=Ae.indexOf(sb);oe==-1&&(oe=Ae.length);var Ve=Ae.lastIndexOf(tb,Math.min(oe,Le));return Ve>=O?Ae.substring(O,Ve+P):W}function bt(Ae){if(!Ae.match(/^\w+:\/\//)){var Le=o.createElement(ub);Le.src=Ae+vb,Ae=st(Le.src)}return Ae}function ne(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function te(){for(var Ae=o.getElementsByTagName(_),Le=O;Le<Ae.length;++Le)if(Ae[Le].src.indexOf(xb)!=-1)return st(Ae[Le].src);return W}function ue(){var Ae=o.getElementsByTagName(yb);return Ae.length>O?Ae[Ae.length-P].href:W}function Re(){var Ae=o.location;return Ae.href==Ae.protocol+zb+Ae.host+Ae.pathname+Ae.search+Ae.hash}var Ge=ne();return Ge==W&&(Ge=te()),Ge==W&&(Ge=ue()),Ge==W&&Re()&&(Ge=st(o.location.href)),Ge=bt(Ge),Ge}function C(st){return st.match(/^\//)||st.match(/^[a-zA-Z]+:\/\//)?st:webModule.__moduleBase+st}function D(){var st=[],bt=O,ne=[],te=[];function ue(Ae){var Le=te[Ae](),oe=ne[Ae];if(Le in oe)return Le;var Ve=[];for(var We in oe)Ve[oe[We]]=We;throw r&&r(Ae,Ve,Le),null}if(__gwt_isKnownPropertyValue=function(Ae,Le){return Le in ne[Ae]},webModule.__getPropMap=function(){var Ae={};for(var Le in ne)ne.hasOwnProperty(Le)&&(Ae[Le]=ue(Le));return Ae},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Re;try{Re=Cb;var Ge=Re.indexOf(Db);Ge!=-1&&(bt=parseInt(Re.substring(Ge+P),$),Re=Re.substring(O,Ge))}catch(Ae){}return webModule.__softPermutationId=bt,C(Re+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},67303:function(st,bt,ne){"use strict";ne.d(bt,{Ax:function(){return Ge},Ds:function(){return Ae},KI:function(){return oe},SI:function(){return Re},f1:function(){return ue}});var te=ne(90524);function ue(Ve){let We=!0;if(Ve.length>0){for(let Qe=0;Qe<Ve.length;Qe++)if(Ve[Qe].compile_success==0||!Ve[Qe].compile_success){We=!1;break}}else We=!1;return We}function Re(Ve,We=""){let Qe=[];for(let Je=0;Je<Ve.length;Je++){let rt=Ve[Je],Ue=We?`${We}/${rt.name}`:`${rt.name}`;Qe.push({title:rt.name,type:rt.type,isLeaf:rt.type!=="tree",key:Ue})}return Qe}function Ge(Ve,We,Qe){for(let Je=0;Je<Ve.length;Je++){let rt=Ve[Je];if(rt.key===We){rt.children=Qe;break}rt.children&&Ge(rt.children,We,Qe)}return Ve}function Ae(Ve,We,Qe){let Je;return function(){let rt=this,Ue=arguments,re=function(){Je=null,Qe||Ve.apply(rt,Ue)},a=Qe&&!Je;clearTimeout(Je),Je=setTimeout(re,We),a&&Ve.apply(rt,Ue)}}const Le=!0,oe=te.Z.API_SERVER},64885:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return re}});var te=ne(3113),ue=ne(59301),Re=Object.defineProperty,Ge=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,We=(a,y,x)=>y in a?Re(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,Qe=(a,y)=>{for(var x in y||(y={}))oe.call(y,x)&&We(a,x,y[x]);if(Le)for(var x of Le(y))Ve.call(y,x)&&We(a,x,y[x]);return a},Je=(a,y)=>Ge(a,Ae(y)),rt=(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&&Ve.call(a,b)&&(x[b]=a[b]);return x},Ue=(a,y,x)=>new Promise((b,E)=>{var z=le=>{try{ae(x.next(le))}catch(de){E(de)}},ee=le=>{try{ae(x.throw(le))}catch(de){E(de)}},ae=le=>le.done?b(le.value):Promise.resolve(le.value).then(z,ee);ae((x=x.apply(a,y)).next())});const re=a=>{var y=a,{children:x}=y,b=rt(y,["children"]);const[E,z]=(0,ue.useState)(!1);return ue.createElement(te.ZP,Je(Qe({},b),{loading:E,onClick:ee=>Ue(void 0,null,function*(){try{z(!0),yield b.onClick(ee),z(!1)}catch(ae){console.error(ae),z(!1)}})}),x)}},77817:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ue}});var te=ne(59301),ue=ne(8591),Re=ne(92832),Ge={codeBox:"codeBox___WpkVl"},Ae=ne(92310),Le=ne.n(Ae),oe=Object.defineProperty,Ve=(re,a,y)=>a in re?oe(re,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):re[a]=y,We=(re,a,y)=>Ve(re,typeof a!="symbol"?a+"":a,y),Qe=(re,a,y)=>new Promise((x,b)=>{var E=ae=>{try{ee(y.next(ae))}catch(le){b(le)}},z=ae=>{try{ee(y.throw(ae))}catch(le){b(le)}},ee=ae=>ae.done?x(ae.value):Promise.resolve(ae.value).then(E,z);ee((y=y.apply(re,a)).next())});class Je extends te.Component{constructor(a){super(a),We(this,"canvas"),We(this,"randomNum",(y,x)=>Math.floor(Math.random()*(x-y)+y)),We(this,"drawPic",()=>{this.randomCode()}),We(this,"reloadPic",()=>{this.drawPic()}),We(this,"changeCode",y=>{console.log(y.target.value,222),this.setState({value:y.target.value,showError:!1})}),We(this,"onVerify",()=>{let y;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(y=!0,ue.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(y=!0,ue.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(y=!1),this.setState({showError:y}),y}),this.canvas=te.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(a,y){const x=this.randomNum(a,y),b=this.randomNum(a,y),E=this.randomNum(a,y);return`rgb(${x}, ${b}, ${E})`}drawText(a,y,x){a.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const b=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);a.font=b+"px SimHei";const E=10,z=(this.state.contentWidth-40)/(this.state.code.length-1);let ee=E;x>0&&(ee=E+x*z);let ae=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);b>40&&(ae=40);const le=this.randomNum(-10,10);a.translate(ee,ae),a.rotate(le*Math.PI/180),a.fillText(y,0,0),a.rotate(-le*Math.PI/180),a.translate(-ee,-ae)}drawLine(a){for(let y=0;y<1;y++)a.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),a.beginPath(),a.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),a.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),a.stroke()}drawDot(a){for(let y=0;y<100;y++)a.fillStyle=this.randomColor(0,255),a.beginPath(),a.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),a.fill()}randomCode(){let a="";const y="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let x=0;x<this.state.codeLength;x++){const b=Math.floor(Math.random()*57);a+=y[b]}this.setState({code:a},()=>{const b=this.canvas.current.getContext("2d");b.textBaseline="bottom",b.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),b.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let E=0;E<this.state.code.length;E++)this.drawText(b,this.state.code[E],E);this.drawLine(b),this.drawDot(b)})}render(){const{className:a,width:y=300}=this.props;return te.createElement("div",{className:Le()(Ge.codeBox,a),style:{width:y}},te.createElement("aside",null,te.createElement(Re.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),te.createElement("div",null,te.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),te.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const rt=(re,a)=>{let y;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,a),React.createElement(Je,{ref:x=>y=x})),onOk:()=>Qe(void 0,null,function*(){if(y.onVerify())return Promise.reject();re()})})};var Ue=Je},6077:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Je}});var te=ne(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Re=ne(92310),Ge=ne.n(Re),Ae=ne(71418),Le=ne(2859),oe=ne(82093),Ve=ne(49661),We=(rt,Ue,re)=>new Promise((a,y)=>{var x=z=>{try{E(re.next(z))}catch(ee){y(ee)}},b=z=>{try{E(re.throw(z))}catch(ee){y(ee)}},E=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);E((re=re.apply(rt,Ue)).next())}),Je=({data:rt,className:Ue,fullWidth:re,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,te.useRef)(null),ee=(0,te.useRef)(null),ae=(0,te.useRef)(null),le=(0,te.useRef)(null),[de,ce]=(0,te.useState)(!1),[be,Se]=(0,te.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,te.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),rt!=null&&rt.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",rt!=null&&rt.src&&Ee()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[rt==null?void 0:rt.visible]);const Ee=()=>We(void 0,null,function*(){ce(!0),Se("\u6B63\u5728\u52A0\u8F7D\u4E2D");const et=yield(0,Ve.ZJ)(rt==null?void 0:rt.src);z.current.src="",z.current.src=et,z.current.onload=function(){Yt()},ce(!1),Se("")}),pe=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",y()},St=et=>We(void 0,null,function*(){ce(!0),Se("\u6B63\u5728\u4FDD\u5B58\u4E2D");const it=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:rt.title,file:et.dataUrl}});it!=null&&it.id&&!E?(yield(0,oe.ZP)(`/api/attachments/${rt.id}/add_subitem.json`,{method:"post",body:{subitem_id:it==null?void 0:it.id,settings:JSON.stringify(et.state)}})).status===0&&x():it!=null&&it.id&&x(it),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",ce(!1),Se("")}),mt=()=>{const et=document.querySelector('a[href="https://markerjs.com/"]');et&&et.parentNode&&(et.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(At=>{const Dt=document.querySelector(At.name);Dt&&Dt.setAttribute("title",At.title)})},Yt=()=>{ee.current=new Le.hP(z.current),ee.current.targetRoot=le.current,ee.current.addEventListener("render",St),ee.current.addEventListener("beforeclose",pe),b&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),rt!=null&&rt.snapshotData&&ee.current.restoreState(rt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),mt()},300)};return te.createElement(te.Fragment,null,(rt==null?void 0:rt.visible)&&te.createElement(Ae.Z,{spinning:de,tip:be,style:{position:"absolute"}},te.createElement("div",{ref:le,className:Ge()(ue.imageDimensions,Ue,re?ue.fullWidth:""),style:a},te.createElement("img",{className:ue.img,ref:z}))))}},88615:function(st,bt,ne){"use strict";var te=ne(59301),ue=ne(95237),Re=ne(43604),Ge=ne(99313),Ae=ne(3113),Le=ne(7664),oe=ne(21697),Ve=ne(48136),We=ne(59301);const Qe=(0,te.forwardRef)(({callback:Je,showSaveButton:rt,value:Ue=""},re)=>{const a=(0,te.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
y=b + r\\text{sin}\\theta \r
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\left\\{\\begin{matrix} \r
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
\\end{matrix}\\right. \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
a \\perp \\alpha \\ \r
|
|
b \\perp \\alpha \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
a \\perp m,a \\perp n \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
a^{2}+b^{2}=c^{2} \r
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
a,b \\in R^{+} \\ \r
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
a,b \\in R \\ \r
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
P \\left( S \\right) =1 \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
\\forall A \\in S \\\\ \r
|
|
P \\left( A \\right) \\ge 0 \r
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
P_{n}=n! \\\\ \r
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
\\end{array}`}]}]}],b=ee=>{a.current.setValue(a.current.getValue()+" "+ee.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:We.createElement(ue.Z,{className:oe.Z.lists,gutter:[10,10]},y.map((ee,ae)=>We.createElement(Re.Z,{flex:"110px",className:oe.Z.item},We.createElement("div",null,We.createElement(Le.Z,{value:`$$${ee.value}$$`}),ee.name),We.createElement("div",{className:oe.Z.children},ee.children.map((le,de)=>We.createElement("div",{key:de},We.createElement("h1",null,le.name),We.createElement(ue.Z,{gutter:[10,10]},le.data.map((ce,be)=>We.createElement(Re.Z,{key:be,onClick:()=>b(ce),className:oe.Z.diamond},We.createElement(Le.Z,{value:"`$$"+ce.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:We.createElement(ue.Z,{className:oe.Z.lists,gutter:[10,10]},x.map((ee,ae)=>We.createElement(Re.Z,{flex:"110px",className:oe.Z.item},We.createElement("div",null,We.createElement(Le.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),We.createElement("div",{className:oe.Z.children},ee.children.map((le,de)=>We.createElement("div",{key:de},le.name&&We.createElement("h1",null,le.name),We.createElement(ue.Z,{gutter:[10,10]},le.data.map((ce,be)=>We.createElement(Re.Z,{key:be,onClick:()=>b(ce),className:oe.Z.diamond},We.createElement(Le.Z,{value:"`$$"+ce.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=a.current.getValue();var ae=ee.innerText;return Je&&Je(ae),ae};return(0,te.useImperativeHandle)(re,()=>({getData:z})),We.createElement("div",{className:oe.Z.mathWrap},We.createElement(Ge.default,{defaultActiveKey:"1",items:E}),We.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},Ue||""),rt&&We.createElement("div",{className:oe.Z.button},We.createElement(Ae.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});bt.Z=Qe},54657:function(st,bt,ne){"use strict";ne.d(bt,{h:function(){return a},x:function(){return y}});var te=ne(89389),ue=ne(69092),Re=ne(7664),Ge=ne(59301),Ae=Object.defineProperty,Le=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Je=(x,b,E)=>b in x?Ae(x,b,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[b]=E,rt=(x,b)=>{for(var E in b||(b={}))We.call(b,E)&&Je(x,E,b[E]);if(Ve)for(var E of Ve(b))Qe.call(b,E)&&Je(x,E,b[E]);return x},Ue=(x,b)=>Le(x,oe(b)),re=(x,b)=>{var E={};for(var z in x)We.call(x,z)&&b.indexOf(z)<0&&(E[z]=x[z]);if(x!=null&&Ve)for(var z of Ve(x))b.indexOf(z)<0&&Qe.call(x,z)&&(E[z]=x[z]);return E};const a=x=>{var b=x,{value:E,onChange:z,scrollId:ee}=b,ae=re(b,["value","onChange","scrollId"]);return Ge.createElement("div",{id:ee||""},Ge.createElement(te.Z,Ue(rt({},ae),{defaultValue:E,onChange:(le,de)=>{de!=null&&de.length?z(le,de):z(le)}})))},y=({value:x,onChange:b,placeholder:E,height:z=140,isEdit:ee,miniToolbar:ae,watch:le=!0})=>ee?Ge.createElement(te.Z,{watch:le,isFocus:!0,height:z||void 0,placeholder:E,defaultValue:x,onChange:b,miniToolbar:ae}):Ge.createElement("div",{style:{cursor:"pointer"}},x?Ge.createElement(Re.Z,{className:ue.Z.inputBorder,value:x}):Ge.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},E))},44905:function(st,bt,ne){"use strict";ne.d(bt,{h:function(){return ee}});var te=ne(59301),ue=ne(57809),Re=ne(78241),Ge=ne(3113),Ae=ne(89780),Le=ne.n(Ae),oe=ne(66543),Ve=ne(59598),We=Object.defineProperty,Qe=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,a=(ae,le,de)=>le in ae?We(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:de}):ae[le]=de,y=(ae,le)=>{for(var de in le||(le={}))Ue.call(le,de)&&a(ae,de,le[de]);if(rt)for(var de of rt(le))re.call(le,de)&&a(ae,de,le[de]);return ae},x=(ae,le)=>Qe(ae,Je(le));const b=ue.default.Option,E={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};bt.Z=({callback:ae,onCancel:le})=>{const[de,ce]=(0,te.useState)("python");function be(Ee){ce(z[Ee][1])}function Se(Ee){ae(Ee)}return te.createElement(Re.default,x(y({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Se,style:{width:500}}),te.createElement(Re.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},te.createElement(ue.default,{getPopupContainer:Ee=>Ee.parentNode,onChange:be},Object.keys(z).map(Ee=>te.createElement(b,{key:Ee,value:Ee},z[Ee][0])))),te.createElement(Re.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},te.createElement(ee,{mode:de})),te.createElement("div",{className:"flex-container flex-end"},te.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(Ge.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function ee({value:ae,onChange:le,mode:de,options:ce={}}){const be=(0,te.useRef)(),[Se,Ee]=(0,te.useState)();return(0,te.useEffect)(()=>{if(Se){let pe=function(St){const mt=St.getValue();le&&le(mt)};return Se.on("change",pe),()=>{Se.off("change",pe)}}},[Se,le]),(0,te.useEffect)(()=>{Se&&Se.setOption("mode",de)},[Se,de]),(0,te.useEffect)(()=>{Se&&(ae!==Se.getValue()||ae==="")&&setTimeout(()=>{Se.setValue(ae||"")},300)},[Se,ae]),(0,te.useEffect)(()=>{if(be.current&&!Se){const pe=Le().fromTextArea(be.current,y({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ce));Ee(pe)}},[be.current,Se]),te.createElement("div",{className:"my-codemirror-container"},te.createElement("textarea",{ref:be}))}},89389:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ta}});var te=ne(59301),ue=ne(89780),Re=ne.n(ue),Ge=ne(76374),Ae=ne(66543),Le=ne(6313),oe=ne(25717),Ve=ne(99498),We=ne(25419),Qe=ne(67549),Je=ne(7664),rt=({value:_e="",className:at,showTextOnly:Ye,showLines:$t,style:fn={}})=>{const Qt=(0,te.useMemo)(()=>"",[_e]);return te.createElement(te.Fragment,null,te.createElement("div",{dangerouslySetInnerHTML:{__html:Qt}}))},Ue=ne(59301),re=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(_e,at,Ye)=>at in _e?re(_e,at,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):_e[at]=Ye,ee=(_e,at)=>{for(var Ye in at||(at={}))b.call(at,Ye)&&z(_e,Ye,at[Ye]);if(x)for(var Ye of x(at))E.call(at,Ye)&&z(_e,Ye,at[Ye]);return _e},ae=(_e,at)=>a(_e,y(at));let le=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function de({onActionCallback:_e,title:at,icon:Ye,actionName:$t,className:fn="",children:Qt}){function Qn(){_e($t)}return Ue.createElement("a",{title:at,className:fn,onClick:Qn},Ue.createElement("i",{className:`${Ye}`}),Qt)}var ce=({watch:_e,showNullButton:at,showNullProgramButton:Ye,onActionCallback:$t,fullScreen:fn,insertTemp:Qt,hidetoolBar:Qn,extraUse:En})=>{const wn=[...le,{title:`${_e?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${_e?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ue.createElement("ul",{className:"markdown-toolbar-container"},!Qn&&wn.map((pa,Ia)=>Ue.createElement("li",{key:Ia},pa.actionName?Ue.createElement(de,ae(ee({},pa),{onActionCallback:$t})):Ue.createElement("span",{className:"v-line"}))),at?Ue.createElement("li",null,Ue.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:$t},Ue.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ye?Ue.createElement(Ue.Fragment,null,Ue.createElement("li",null,Ue.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:$t},Ue.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ue.createElement("li",null,Ue.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:$t},Ue.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Qt&&Ue.createElement("li",null,Ue.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qt}`,onActionCallback:$t},Ue.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),En&&Ue.createElement("li",null,En),Ue.createElement("li",{className:"btn-full-screen"},Ue.createElement(de,{icon:`${fn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:fn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:$t})))},be=ne(75790),Se=ne(78241),Ee=ne(92832),pe=ne(3113),St=Object.defineProperty,mt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Dt=(_e,at,Ye)=>at in _e?St(_e,at,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):_e[at]=Ye,Kt=(_e,at)=>{for(var Ye in at||(at={}))it.call(at,Ye)&&Dt(_e,Ye,at[Ye]);if(et)for(var Ye of et(at))At.call(at,Ye)&&Dt(_e,Ye,at[Ye]);return _e},kt=(_e,at)=>mt(_e,Yt(at));const Te={labelCol:{span:4},wrapperCol:{span:20}};var Pt=({callback:_e,onCancel:at})=>{function Ye($t){_e($t)}return te.createElement(Se.default,kt(Kt({},Te),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ye,style:{width:500}}),te.createElement(Se.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},te.createElement(Ee.default,null)),te.createElement(Se.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},te.createElement(Ee.default,null)),te.createElement("div",{className:"flex-container flex-end"},te.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(pe.ZP,{type:"ghost",onClick:at},"\u53D6\u6D88")))},xt=ne(44905),Be=ne(45596),De=ne(43418),vt=ne(95237),Wt=ne(6077),gt=ne(59301),It=({callback:_e,onCancel:at})=>{const Ye=document.createElement("canvas"),$t=Ye.getContext("2d");Ye.width=1e3,Ye.height=800,$t.fillStyle="#ffffff",$t.fillRect(0,0,Ye.width,Ye.height);const fn=Ye.toDataURL("image/png");return gt.createElement(De.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},gt.createElement(vt.Z,{style:{height:"100vh"}},gt.createElement(Wt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:fn,visible:!0,title:String(Date.now())},onOk:Qt=>{_e({src:Qt.url})},onClose:at})))},Ce=ne(12378);function Ht(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ht,go.CommandHandler),Ht.prototype.canAlignSelection=function(){var _e=this.diagram;return!(_e===null||_e.isReadOnly||_e.isModelReadOnly||_e.selection.count<2)},Ht.prototype.alignLeft=function(){var _e=this.diagram;_e.startTransaction("aligning left");var at=1/0;_e.selection.each(function(Ye){Ye instanceof go.Link||(at=Math.min(Ye.position.x,at))}),_e.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(at,Ye.position.y))}),_e.commitTransaction("aligning left")},Ht.prototype.alignRight=function(){var _e=this.diagram;_e.startTransaction("aligning right");var at=-1/0;_e.selection.each(function(Ye){if(!(Ye instanceof go.Link)){var $t=Ye.actualBounds.x+Ye.actualBounds.width;at=Math.max($t,at)}}),_e.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(at-Ye.actualBounds.width,Ye.position.y))}),_e.commitTransaction("aligning right")},Ht.prototype.alignTop=function(){var _e=this.diagram;_e.startTransaction("alignTop");var at=1/0;_e.selection.each(function(Ye){Ye instanceof go.Link||(at=Math.min(Ye.position.y,at))}),_e.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ye.position.x,at))}),_e.commitTransaction("alignTop")},Ht.prototype.alignBottom=function(){var _e=this.diagram;_e.startTransaction("aligning bottom");var at=-1/0;_e.selection.each(function(Ye){if(!(Ye instanceof go.Link)){var $t=Ye.actualBounds.y+Ye.actualBounds.height;at=Math.max($t,at)}}),_e.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ye.actualBounds.x,at-Ye.actualBounds.height))}),_e.commitTransaction("aligning bottom")},Ht.prototype.alignCenterX=function(){var _e=this.diagram,at=_e.selection.first();if(at){_e.startTransaction("aligning Center X");var Ye=at.actualBounds.x+at.actualBounds.width/2;_e.selection.each(function($t){$t instanceof go.Link||$t.move(new go.Point(Ye-$t.actualBounds.width/2,$t.actualBounds.y))}),_e.commitTransaction("aligning Center X")}},Ht.prototype.alignCenterY=function(){var _e=this.diagram,at=_e.selection.first();if(at){_e.startTransaction("aligning Center Y");var Ye=at.actualBounds.y+at.actualBounds.height/2;_e.selection.each(function($t){$t instanceof go.Link||$t.move(new go.Point($t.actualBounds.x,Ye-$t.actualBounds.height/2))}),_e.commitTransaction("aligning Center Y")}},Ht.prototype.alignColumn=function(_e){var at=this.diagram;at.startTransaction("align Column"),_e===void 0&&(_e=0),_e=parseFloat(_e);var Ye=new Array;at.selection.each(function(En){En instanceof go.Link||Ye.push(En)});for(var $t=0;$t<Ye.length-1;$t++){var fn=Ye[$t],Qt=fn.actualBounds.y+fn.actualBounds.height+_e,Qn=Ye[$t+1];Qn.move(new go.Point(fn.actualBounds.x,Qt))}at.commitTransaction("align Column")},Ht.prototype.alignRow=function(_e){_e===void 0&&(_e=0),_e=parseFloat(_e);var at=this.diagram;at.startTransaction("align Row");var Ye=new Array;at.selection.each(function(En){En instanceof go.Link||Ye.push(En)});for(var $t=0;$t<Ye.length-1;$t++){var fn=Ye[$t],Qt=fn.actualBounds.x+fn.actualBounds.width+_e,Qn=Ye[$t+1];Qn.move(new go.Point(Qt,fn.actualBounds.y))}at.commitTransaction("align Row")},Ht.prototype.canRotate=function(_e){var at=this.diagram;return!(at===null||at.isReadOnly||at.isModelReadOnly||at.selection.count<1)},Ht.prototype.rotate=function(_e){_e===void 0&&(_e=90);var at=this.diagram;at.startTransaction("rotate "+_e.toString());var at=this.diagram;at.selection.each(function(Ye){Ye instanceof go.Link||Ye instanceof go.Group||(Ye.angle+=_e)}),at.commitTransaction("rotate "+_e.toString())},Ht.prototype.pullToFront=function(){var _e=this.diagram;_e.startTransaction("pullToFront");var at=new go.Map;_e.selection.each(function(Ye){at.set(Ye.layer,0)}),at.iteratorKeys.each(function(Ye){var $t=0;Ye.parts.each(function(fn){if(!fn.isSelected){var Qt=fn.zOrder;isNaN(Qt)?fn.zOrder=0:$t=Math.max($t,Qt)}}),at.set(Ye,$t)}),_e.selection.each(function(Ye){Ht._assignZOrder(Ye,at.get(Ye.layer)+1)}),_e.commitTransaction("pullToFront")},Ht.prototype.pushToBack=function(){var _e=this.diagram;_e.startTransaction("pushToBack");var at=new go.Map;_e.selection.each(function(Ye){at.set(Ye.layer,0)}),at.iteratorKeys.each(function(Ye){var $t=0;Ye.parts.each(function(fn){if(!fn.isSelected){var Qt=fn.zOrder;isNaN(Qt)?fn.zOrder=0:$t=Math.min($t,Qt)}}),at.set(Ye,$t)}),_e.selection.each(function(Ye){Ht._assignZOrder(Ye,at.get(Ye.layer)-1-Ht._findGroupDepth(Ye))}),_e.commitTransaction("pushToBack")},Ht._assignZOrder=function(_e,at,Ye){Ye===void 0&&(Ye=_e),_e.layer===Ye.layer&&(_e.zOrder=at),_e instanceof go.Group&&_e.memberParts.each(function($t){Ht._assignZOrder($t,at+1,Ye)})},Ht._findGroupDepth=function(_e){if(_e instanceof go.Group){var at=0;return _e.memberParts.each(function(Ye){at=Math.max(at,Ht._findGroupDepth(Ye))}),at+1}else return 0},Ht.prototype.doKeyDown=function(){var _e=this.diagram;if(_e!==null){var at=_e.lastInput;if(at.key==="Up"||at.key==="Down"||at.key==="Left"||at.key==="Right"){var Ye=this.arrowKeyBehavior;if(Ye==="none")return;if(Ye==="select"){this._arrowKeySelect();return}else if(Ye==="move"){this._arrowKeyMove();return}else if(Ye==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ht.prototype._getAllParts=function(){var _e=new Array;return this.diagram.nodes.each(function(at){_e.push(at)}),this.diagram.parts.each(function(at){_e.push(at)}),_e},Ht.prototype._arrowKeyMove=function(){var _e=this.diagram,at=_e.lastInput,Ye=0,$t=0;if(at.control||at.meta)Ye=1,$t=1;else if(_e.grid!==null){var fn=_e.grid.gridCellSize;$t=fn.width,Ye=fn.height}_e.startTransaction("arrowKeyMove"),_e.selection.each(function(Qt){at.key==="Up"?Qt.move(new go.Point(Qt.actualBounds.x,Qt.actualBounds.y-Ye)):at.key==="Down"?Qt.move(new go.Point(Qt.actualBounds.x,Qt.actualBounds.y+Ye)):at.key==="Left"?Qt.move(new go.Point(Qt.actualBounds.x-$t,Qt.actualBounds.y)):at.key==="Right"&&Qt.move(new go.Point(Qt.actualBounds.x+$t,Qt.actualBounds.y))}),_e.commitTransaction("arrowKeyMove")},Ht.prototype._arrowKeySelect=function(){var _e=this.diagram,at=_e.lastInput,Ye=null;at.key==="Up"?Ye=this._findNearestPartTowards(270):at.key==="Down"?Ye=this._findNearestPartTowards(90):at.key==="Left"?Ye=this._findNearestPartTowards(180):at.key==="Right"&&(Ye=this._findNearestPartTowards(0)),Ye!==null&&(at.shift?Ye.isSelected=!0:at.control||at.meta?Ye.isSelected=!Ye.isSelected:_e.select(Ye))},Ht.prototype._findNearestPartTowards=function(_e){var at=this.diagram.selection.first();if(at===null)return null;for(var Ye=at.actualBounds.center,$t=this._getAllParts(),fn=1/0,Qt=at,Qn=0;Qn<$t.length;Qn++){var En=$t[Qn];if(En!==at&&En.canSelect()){var wn=En.actualBounds.center,pa=Ye.directionPoint(wn),Ia=this._angleCloseness(pa,_e);if(Ia<=45){var Vt=Ye.distanceSquaredPoint(wn);Vt*=1+Math.sin(Ia*Math.PI/180),Vt<fn&&(fn=Vt,Qt=En)}}}return Qt},Ht.prototype._angleCloseness=function(_e,at){return Math.min(Math.abs(at-_e),Math.min(Math.abs(at+360-_e),Math.abs(at-360-_e)))},Ht.prototype._arrowKeyTree=function(){var _e=this.diagram,at=_e.selection.first();if(at instanceof go.Node){var Ye=_e.lastInput;if(Ye.key==="Right"){if(!at.isTreeLeaf)if(!at.isTreeExpanded)_e.commandHandler.canExpandTree(at)&&_e.commandHandler.expandTree(at);else{var $t=this._sortTreeChildrenByY(at).first();$t!==null&&_e.select($t)}}else if(Ye.key==="Left")if(!at.isTreeLeaf&&at.isTreeExpanded)_e.commandHandler.canCollapseTree(at)&&_e.commandHandler.collapseTree(at);else{var fn=at.findTreeParentNode();fn!==null&&_e.select(fn)}else if(Ye.key==="Up"){var fn=at.findTreeParentNode();if(fn!==null){var Qt=this._sortTreeChildrenByY(fn),Qn=Qt.indexOf(at);if(Qn>0){for(var En=Qt.elt(Qn-1);En!==null&&En.isTreeExpanded&&!En.isTreeLeaf;){var wn=this._sortTreeChildrenByY(En);En=wn.last()}En!==null&&_e.select(En)}else _e.select(fn)}}else if(Ye.key==="Down")if(at.isTreeExpanded&&!at.isTreeLeaf){var $t=this._sortTreeChildrenByY(at).first();$t!==null&&_e.select($t)}else for(;at!==null;){var fn=at.findTreeParentNode();if(fn===null)break;var Qt=this._sortTreeChildrenByY(fn),Qn=Qt.indexOf(at);if(Qn<Qt.length-1){_e.select(Qt.elt(Qn+1));break}else at=fn}var pa=_e.selection.first();pa!==null&&_e.scrollToRect(pa.actualBounds)}},Ht.prototype._sortTreeChildrenByY=function(_e){var at=new go.List().addAll(_e.findTreeChildrenNodes());return at.sort(function(Ye,$t){var fn=Ye.location,Qt=$t.location;return fn.y<Qt.y?-1:fn.y>Qt.y?1:fn.x<Qt.x?-1:fn.x>Qt.x?1:0}),at},Ht.prototype.copyToClipboard=function(_e){go.CommandHandler.prototype.copyToClipboard.call(this,_e),this._lastPasteOffset.set(this.pasteOffset)},Ht.prototype.pasteFromClipboard=function(){var _e=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(_e,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),_e},Object.defineProperty(Ht.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(_e){if(_e!=="move"&&_e!=="select"&&_e!=="scroll"&&_e!=="tree"&&_e!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+_e);this._arrowKeyBehavior=_e}}),Object.defineProperty(Ht.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(_e){if(!(_e instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+_e);this._pasteOffset.set(_e)}});var qt=Ht,un=ne(20397),nn=ne(43604),Ze=ne(82093),Me={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ye=ne(59301),ge=(_e,at,Ye)=>new Promise(($t,fn)=>{var Qt=wn=>{try{En(Ye.next(wn))}catch(pa){fn(pa)}},Qn=wn=>{try{En(Ye.throw(wn))}catch(pa){fn(pa)}},En=wn=>wn.done?$t(wn.value):Promise.resolve(wn.value).then(Qt,Qn);En((Ye=Ye.apply(_e,at)).next())});function Ne({onCancel:_e,callback:at}){let Ye=(0,te.useRef)(),$t=(0,te.useRef)(),fn=(0,te.useRef)(),Qt=(0,te.useRef)(!1);const Qn=(0,te.useRef)(!1),[En,wn]=(0,te.useState)(0);function pa(){const Vt=Ce.bx.make,ta={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ye.current=new Ce.S0($t.current,{padding:20,grid:Vt(Ce.s_,"Grid",Vt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Vt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Tt=>{var jt=Tt.diagram.commandHandler.addTopLevelParts(Tt.diagram.selection,!0);jt||Tt.diagram.currentTool.doCancel()},commandHandler:Vt(qt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Tt=>{var jt=Tt.subject;jt.location=jt.location.copy().snapToGridPoint(Tt.diagram.grid.gridOrigin,Tt.diagram.grid.gridCellSize),setTimeout(()=>{Tt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Tt=>{var jt=Tt.subject;setTimeout(()=>{Tt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Tt=>{var jt=Tt.parameter.part;jt.invalidateConnectedLinks();var gn=Tt.subject;Tt.diagram.toolManager.linkingTool.isForwards?gn.toNode.invalidateConnectedLinks():gn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ye.current.nodeTemplate=Vt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),Vt(Ce.bn,{name:"SHAPE",fill:ta.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Vt(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Vt(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ye.current.nodeTemplate.toolTip=Vt("ToolTip",Vt(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},Vt(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),Vt(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function La(Tt,jt){var gn=(rn,jn)=>{rn.handled=!0,rn.diagram.model.commit(Vn=>{var Sn=jn.part.adornedPart,ea=new Ce.E9().setRectSpot(Sn.actualBounds,Tt);ea.subtract(Sn.location),ea.scale(2,2),ea.x+=Math.sign(ea.x)*130,ea.y+=Math.sign(ea.y)*130,ea.add(Sn.location),ea.snapToGridPoint(rn.diagram.grid.gridOrigin,rn.diagram.grid.gridCellSize);var ua=Vn.copyNodeData(Sn.data);Vn.setGroupKeyForNodeData(ua,Vn.getGroupKeyForNodeData(Sn.data)),Vn.addNodeData(ua);var Da={from:Sn.key,to:Vn.getKeyForNodeData(ua)};Vn.addLinkData(Da);var Po=rn.diagram.findNodeForData(ua);Po.location=ea,rn.diagram.select(Po),setTimeout(()=>{rn.diagram.commandHandler.editTextBlock()},20)})};return Vt(Ce.bn,{figure:jt,alignment:Tt,alignmentFocus:Tt.opposite(),width:Tt.equals(Ce.z6.Top)||Tt.equals(Ce.z6.Bottom)?25:18,height:Tt.equals(Ce.z6.Top)||Tt.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:ta.white,strokeWidth:4,mouseEnter:(rn,jn)=>jn.fill="dodgerblue",mouseLeave:(rn,jn)=>jn.fill="orange",isActionable:!0,click:gn,contextClick:gn})}function ra(Tt){return Vt(Ce.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(jt,gn)=>gn.fill="dodgerblue",mouseLeave:(jt,gn)=>gn.fill="orange",click:(jt,gn)=>{jt.diagram.commandHandler.showContextMenu(gn.part.adornedPart)}},Tt||{})}Ye.current.nodeTemplate.selectionAdornmentTemplate=Vt(Ce.uz,"Spot",Vt(Ce.Vm,{padding:10}),La(Ce.z6.Top,"TriangleUp"),La(Ce.z6.Left,"TriangleLeft"),La(Ce.z6.Right,"TriangleRight"),La(Ce.z6.Bottom,"TriangleDown"),ra({alignment:new Ce.z6(.75,0)}));function ca(Tt,jt){return(gn,rn)=>{gn.handled=!0,gn.diagram.model.commit(jn=>{jn.set(rn.part.adornedPart.data,Tt,jt)})}}function ze(Tt,jt){return jt||(jt="color"),Vt(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:Tt,margin:1,background:"transparent",mouseEnter:(gn,rn)=>rn.stroke="dodgerblue",mouseLeave:(gn,rn)=>rn.stroke="lightgray",click:ca(jt,Tt),contextClick:ca(jt,Tt)})}function Ct(){return[Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",ze(ta.white,"fill"),ze(ta.beige,"fill"),ze(ta.extralightblue,"fill"),ze(ta.extralightred,"fill"))),Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",ze(ta.lightgray,"fill"),ze(ta.lightgreen,"fill"),ze(ta.lightblue,"fill"),ze(ta.lightred,"fill")))]}function yt(){return[Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",ze(ta.black),ze(ta.green),ze(ta.blue),ze(ta.red))),Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",ze(ta.white),ze(ta.magenta),ze(ta.purple),ze(ta.orange)))]}function Nt(Tt,jt){return jt||(jt="thickness"),Vt(Ce.bn,"LineH",{width:16,height:16,strokeWidth:Tt,margin:1,background:"transparent",mouseEnter:(gn,rn)=>rn.background="dodgerblue",mouseLeave:(gn,rn)=>rn.background="transparent",click:ca(jt,Tt),contextClick:ca(jt,Tt)})}function Jt(Tt,jt){return jt||(jt="dash"),Vt(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Tt,margin:1,background:"transparent",mouseEnter:(gn,rn)=>rn.background="dodgerblue",mouseLeave:(gn,rn)=>rn.background="transparent",click:ca(jt,Tt),contextClick:ca(jt,Tt)})}function Ut(){return[Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",Nt(1),Nt(2),Nt(3),Nt(4))),Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",Jt(null),Jt([2,4]),Jt([4,4])))]}function ke(Tt,jt){return jt||(jt="figure"),Vt(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Tt,margin:1,background:"transparent",mouseEnter:(gn,rn)=>rn.fill="dodgerblue",mouseLeave:(gn,rn)=>rn.fill="lightgray",click:ca(jt,Tt),contextClick:ca(jt,Tt)})}Ye.current.nodeTemplate.contextMenu=Vt("ContextMenu",Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",ke("Rectangle"),ke("RoundedRectangle"),ke("Ellipse"),ke("Diamond"))),Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",ke("Parallelogram2"),ke("ManualOperation"),ke("Procedure"),ke("Cylinder1"))),Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",ke("Terminator"),ke("CreateRequest"),ke("Document"),ke("TriangleDown"))),Ct(),yt(),Ut()),Ye.current.groupTemplate=Vt(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Tt,jt)=>{var gn=jt.addMembers(jt.diagram.selection,!0);gn||jt.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Vt(Ce.s_,"Auto",{name:"BODY"},Vt(Ce.bn,{parameter1:10,fill:ta.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Vt(Ce.Vm,{background:"transparent",margin:20})),Vt(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),Ye.current.groupTemplate.selectionAdornmentTemplate=Vt(Ce.uz,"Spot",Vt(Ce.s_,"Auto",Vt(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Vt(Ce.Vm,{margin:1.5})),ra({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Ye.current.groupTemplate.contextMenu=Vt("ContextMenu",Ct(),yt(),Ut()),Ye.current.linkTemplate=Vt(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",Tt=>Tt>=1?10:0),new Ce.KX("toShortLength","dir",Tt=>Tt>=1?10:0),new Ce.KX("points").makeTwoWay(),Vt(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Vt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Tt=>Tt===1)),Vt(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Tt=>Tt>=1),new Ce.KX("width","thickness",Tt=>7+3*Tt),new Ce.KX("height","thickness",Tt=>7+3*Tt),new Ce.KX("segmentOffset","thickness",Tt=>new Ce.E9(-15,4+1.5*Tt))),Vt(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Tt=>Tt===2),new Ce.KX("width","thickness",Tt=>7+3*Tt),new Ce.KX("height","thickness",Tt=>7+3*Tt),new Ce.KX("segmentOffset","thickness",Tt=>new Ce.E9(-15,4+1.5*Tt))),Vt(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ye.current.linkTemplate.selectionAdornmentTemplate=Vt(Ce.uz,Vt(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Ie(2)},new Ce.KX("pathPattern","thickness",Ie)),ra({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function Ie(Tt){return Vt(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Tt+4).toString()+" H3"})}function pt(Tt){var jt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Tt===0?jt="M0 0 M16 16 M0 8 L16 8":Tt===2&&(jt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Vt(Ce.bn,{geometryString:jt,margin:2,background:"transparent",mouseEnter:(gn,rn)=>rn.background="dodgerblue",mouseLeave:(gn,rn)=>rn.background="transparent",click:ca("dir",Tt),contextClick:ca("dir",Tt)})}function Rt(Tt){var jt=(gn,rn)=>{gn.handled=!0,gn.diagram.model.commit(jn=>{var Vn=rn.part.adornedPart;jn.set(Vn.data,Tt?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(Tt?Vn.toNode:Vn.fromNode).invalidateConnectedLinks()})};return Vt(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(gn,rn)=>rn.background="dodgerblue",mouseLeave:(gn,rn)=>rn.background="transparent",click:jt,contextClick:jt})}function tt(Tt,jt){var gn=0,rn=Ce.z6.RightSide;Tt.equals(Ce.z6.Top)?(gn=270,rn=Ce.z6.TopSide):Tt.equals(Ce.z6.Left)?(gn=180,rn=Ce.z6.LeftSide):Tt.equals(Ce.z6.Bottom)&&(gn=90,rn=Ce.z6.BottomSide),jt||(gn-=180);var jn=(Vn,Sn)=>{Vn.handled=!0,Vn.diagram.model.commit(ea=>{var ua=Sn.part.adornedPart;ea.set(ua.data,jt?"toSpot":"fromSpot",Ce.z6.stringify(rn)),(jt?ua.toNode:ua.fromNode).invalidateConnectedLinks()})};return Vt(Ce.bn,{alignment:Tt,alignmentFocus:Tt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:gn,background:"transparent",mouseEnter:(Vn,Sn)=>Sn.background="dodgerblue",mouseLeave:(Vn,Sn)=>Sn.background="transparent",click:jn,contextClick:jn})}Ye.current.linkTemplate.contextMenu=Vt("ContextMenu",yt(),Ut(),Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",pt(0),pt(1),pt(2))),Vt("ContextMenuButton",Vt(Ce.s_,"Horizontal",Vt(Ce.s_,"Spot",Rt(!1),tt(Ce.z6.Top,!1),tt(Ce.z6.Left,!1),tt(Ce.z6.Right,!1),tt(Ce.z6.Bottom,!1)),Vt(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},Rt(!0),tt(Ce.z6.Top,!0),tt(Ce.z6.Left,!0),tt(Ce.z6.Right,!0),tt(Ce.z6.Bottom,!0)))));const Ln=`{ "class": "GraphLinksModel",
|
|
"nodeDataArray": [
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
],
|
|
"linkDataArray": [
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
]}`;var dn=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function kn(Tt){return console.log("shapeName:",Tt),dn.indexOf(Tt)>=0}var Gn=new Ce.YI(fn.current,{maxSelectionCount:1,linkTemplate:Vt(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:Vt(Ce.uz,"Link",{locationSpot:Ce.z6.Center},Vt(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Vt(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),Vt(Ce.bn,{isPanelMain:!0,strokeWidth:2}),Vt(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(Tt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Tt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ye.current.addDiagramListener("TextEdited",function(Tt){var jt;const gn=Tt.subject.part;var rn=(jt=document.activeElement)==null?void 0:jt.value;typeof rn=="string"&&rn.trim()===""&&Ye.current.model.commit(function(jn){jn.set(gn.data,"text","\u672A\u547D\u540D"),Ye.current.commandHandler.stopCommand()},"increment")}),Gn.nodeTemplate=Vt(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Vt(Ce.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),Vt(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{Ye.current.grid=Vt(Ce.s_,"Grid",Vt(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Vt(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ye.current.grid.visible=!0,Ye.current.grid.gridCellStroke="darkgray",Ye.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ye.current,Ye.current}const Ia=()=>ge(this,null,function*(){var Vt=Ye.current.makeImage();const ta=yield(0,Ze.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Vt.src}});at({src:ta.url})});return(0,te.useEffect)(()=>(setTimeout(()=>{pa()},500),wn(En+1),()=>{Ye.current=null}),[]),ye.createElement("div",{ref:Qn,className:Qt.current?`${Me.maxH60} body-overflow-initial`:"body-overflow-initial"},ye.createElement(De.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!En,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ye.createElement(vt.Z,null,ye.createElement(nn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ye.createElement(nn.Z,{onClick:()=>{var Vt,ta,La=Ye.current.selection.first();if(Qt.current=!Qt.current,document.activeElement&&La){let ra=(ta=(Vt=document.activeElement)==null?void 0:Vt.value)==null?void 0:ta.trim();typeof ra=="string"&&Ye.current.model.commit(function(ca){ca.set(La.data,"text",ra||"\u672A\u547D\u540D"),Ye.current.commandHandler.stopCommand()},"increment")}wn(En+1)}},ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:_e},ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Me.flowChartWrp},ye.createElement("div",{style:{display:"flex",height:"100%"}},ye.createElement("div",{style:{width:"300px",height:"100%"}},ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:Me.myPaletteDiv,ref:fn})),ye.createElement("div",{style:{flex:1,position:"relative"}},ye.createElement("div",{ref:$t,style:{height:"80vh"}}))),ye.createElement("div",{className:"tr"},ye.createElement(pe.ZP,{size:"large",onClick:Ia,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=Ne,fe=ne(5112),me=ne(5871);const He=fe.ZP.Group,we={margin:"0 8px"};var he=({callback:_e,onCancel:at})=>{function Ye($t){_e($t)}return te.createElement(Se.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ye},te.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},te.createElement("span",{style:we},"\u5355\u5143\u683C\u6570\uFF1A"),te.createElement("span",{style:we},"\u884C\u6570"),te.createElement(Se.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},te.createElement(me.Z,null)),te.createElement("span",{style:we},"\u5217\u6570"),te.createElement(Se.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},te.createElement(me.Z,null))),te.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},te.createElement("span",{style:we},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),te.createElement(Se.default.Item,{name:"align"},te.createElement(He,null,te.createElement(fe.ZP,{value:"default"},te.createElement("i",{className:"fa fa-align-justify"})),te.createElement(fe.ZP,{value:"left"},te.createElement("i",{className:"fa fa-align-left"})),te.createElement(fe.ZP,{value:"center"},te.createElement("i",{className:"fa fa-align-center"})),te.createElement(fe.ZP,{value:"right"},te.createElement("i",{className:"fa fa-align-right"}))))),te.createElement("div",{className:"flex-container flex-end"},te.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),te.createElement(pe.ZP,{type:"ghost",onClick:at},"\u53D6\u6D88")))},je=ne(49770),Ot=ne(11081),ct=ne.n(Ot),wt=(0,te.forwardRef)(({use3d:_e,width:at,height:Ye,callback:$t,showSaveButton:fn},Qt)=>{const Qn=(0,te.useRef)(),En=(0,te.useRef)(),[wn,pa]=(0,te.useState)(!1),Ia=(0,te.useRef)({id:Qn,appName:"graphing",width:at||1e3,height:Ye||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,te.useEffect)(()=>{En.current=new(ct())(Ia.current,!0),window.onload=function(){En.current.inject("applet_container")}},[]);const Vt=()=>{var ta=window.ggbApplet.getPNGBase64(1,!0,72);return $t&&$t(ta),ta};return(0,te.useEffect)(()=>{Ia.current.appName=wn?"3D":"graphing",En.current.inject("applet_container")},[wn]),(0,te.useEffect)(()=>{pa(_e)},[_e]),(0,te.useImperativeHandle)(Qt,()=>({getImgData:Vt})),te.createElement(te.Fragment,null,te.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Qn}),te.createElement(vt.Z,{align:"middle"},te.createElement(nn.Z,{flex:1},te.createElement(je.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:wn,onChange:ta=>pa(ta)})),te.createElement(nn.Z,null,te.createElement(pe.ZP,{size:"large",onClick:Vt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ft=ne(88615),Pe=ne(1012),Ke=ne(8591);const nt="link",lt="upload-image",Lt="add-flowchart",zt="draw-image",ot="add-flowchart",ft="code-block",Xt="add-table",on="------------",_t={default:on,left:`:${on}`,center:`:${on}:`,right:`${on}:`};var hn=ne(17904),Mn=(_e,at,Ye)=>new Promise(($t,fn)=>{var Qt=wn=>{try{En(Ye.next(wn))}catch(pa){fn(pa)}},Qn=wn=>{try{En(Ye.throw(wn))}catch(pa){fn(pa)}},En=wn=>wn.done?$t(wn.value):Promise.resolve(wn.value).then(Qt,Qn);En((Ye=Ye.apply(_e,at)).next())});function Zn(){}let an=0;const Un=1e4,Kn="\u2581",On="@\u2581\u2581@",Xn="@\u2581@",fa=`
|
|
**\u6A21\u677F\u6807\u9898**
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,na=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function ya(_e){return/^\d+$/.test(_e)?`${_e}px`:_e}const sa=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Oa={[sa+"-B"]:"bold",[sa+"-I"]:"italic"},Na={[nt]:"\u6DFB\u52A0\u94FE\u63A5",[ft]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[lt]:"\u6DFB\u52A0\u56FE\u7247",[zt]:"\u6DFB\u52A0\u753B\u56FE",[Lt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Xt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ta=({defaultValue:_e="",onChange:at,width:Ye="100%",height:$t=400,miniToolbar:fn=!1,isFocus:Qt=!1,watch:Qn,insertTemp:En,mode:wn="markdown",id:pa="markdown-editor-id",showResizeBar:Ia=!1,noStorage:Vt=!1,showNullButton:ta=!1,showNullProgramButton:La=!1,hidetoolBar:ra=!1,fullScreen:ca=!1,onBlur:ze,onCMBeforeChange:Ct,onFullScreen:yt,className:Nt="",disablePaste:Jt=!1,disabled:Ut=!1,disabledFill:ke=!1,placeholder:Ie="",values:pt="",extraUse:Rt})=>{const[tt,Ln]=(0,te.useState)(null),[dn,kn]=(0,te.useState)(_e),[Gn,Tt]=(0,te.useState)(Qn),[jt,gn]=(0,te.useState)(ca),[rn,jn]=(0,te.useState)(""),[Vn,Sn]=(0,te.useState)(0),[ea,ua]=(0,te.useState)($t),[Da,Po]=(0,te.useState)(!1),yo=(0,te.useRef)((0,Pe.Z)()),Yo=(0,te.useRef)(!1),$o=(0,te.useRef)(),[qo,zo]=(0,te.useState)(0),[mo,Ja]=(0,te.useState)(0),wo=(0,te.useRef)(),To=(0,te.useRef)(),Mo=(0,te.useRef)(),Fo=(0,te.useRef)(),bo=()=>Mn(void 0,null,function*(){var Dn;const pn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:yo.current}});(Dn=pn==null?void 0:pn.attachments)!=null&&Dn.length&&(console.log("cm:",tt,wo),pn.attachments.map(bn=>{bn.content_type.indexOf("image")>-1?tt.replaceSelection(``):bn.content_type.indexOf("video")>-1?tt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):bn.content_type.indexOf("pdf")>-1?tt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${bn.id}?type=${bn.content_type}&disposition=inline" target="_blank">${bn.name}</a>`):tt.replaceSelection(`[${bn.name}](${ENV.API_SERVER}/api/attachments/${bn.id}?type=${bn.content_type})`)}))});(0,te.useEffect)(()=>{const Dn=window.scrollY||window.pageYOffset;kn(pt),tt==null||tt.setValue(pt),window.scrollTo(0,Dn)},[pt]),(0,te.useEffect)(()=>{yt==null||yt(jt)},[jt]),(0,te.useEffect)(()=>{if(wo.current){let Dn=function(bn,Bn){var ha;if(Jt){Bn.preventDefault();return}const Ma=Bn.clipboardData;if(Ma){const eo=Ma.types.toString(),to=Ma.items;if(eo==="Files"||Ma.types.indexOf("Files")>-1){if(Bn.preventDefault(),wn=="stex")return;try{let co=to[1];((ha=to[0])==null?void 0:ha.kind)==="file"&&(co=to[0]);const uo=co.getAsFile(),Ho=uo.name.split(".").pop();(0,Be.I)(uo,ho=>{var aa,Ea,Ha;ho.id?((aa=uo==null?void 0:uo.type)==null?void 0:aa.indexOf("image"))>-1?pn.replaceSelection(`<img width="100%" src="/api/attachments/${ho.id}?type=${ho.content_type})" alt="" />`):((Ea=uo==null?void 0:uo.type)==null?void 0:Ea.indexOf("video"))>-1?pn.replaceSelection(`<video width="100%" controls src="/api/attachments/${ho.id}"></video>`):((Ha=uo==null?void 0:uo.type)==null?void 0:Ha.indexOf("pdf"))>-1?pn.replaceSelection(`<a href="/api/attachments/${ho.id}?type=${uo.type}&disposition=inline" target="_blank">${uo.name}</a>`):na.includes(Ho)?pn.replaceSelection(`<a href="/api/attachments/${ho.id}?type=office&disposition=inline" target="_blank">${uo.name}</a>`):pn.replaceSelection(`[${uo.name}](/api/attachments/${ho.id}?type=${ho.content_type})`):(ho==null?void 0:ho.status)===401&&(Ke.ZP.warning((ho==null?void 0:ho.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(co){Ke.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const pn=Re().fromTextArea(wo.current,{mode:wn,lineNumbers:!fn,lineWrapping:!0,value:_e,autoCloseTags:!La,autoCloseBrackets:!0});return pn.on("keyup",function(bn,Bn){Bn.keyCode===8&&(bn.getValue()==""?pn.setOption("placeholder",Ie):pn.setOption("placeholder",null))}),pn.on("keydown",function(bn,Bn){if(Bn.keyCode===8){var ha=ia(bn);ha&&Bn.preventDefault()}}),Qt&&pn.focus(),pn.on("paste",Dn),pn.on("dragleave",function(bn,Bn){To.current.classList.remove("mouse-hover-md")}),Ut&&pn.on("beforeChange",function(bn,Bn){(Bn.origin==="paste"||Bn.origin==="+input")&&Bn.cancel()}),Ln(pn),()=>{pn.off("paste",Dn)}}},[]);const Uo=(0,te.useCallback)(()=>{if(To.current)try{}catch(Dn){console.log(Dn,"---- to set md editor body height")}},[ea,To,jt]);(0,te.useEffect)(()=>{function Dn(){let pn=new Ge.Z(bn=>{for(let Bn of bn)(Bn.target.offsetHeight>0||Bn.target.offsetWidth>0)&&(Uo(),tt.setSize("100%","100%"),tt.refresh())});return pn.observe(wo.current.parentElement),pn}if(tt){const pn=Dn();return()=>{var bn,Bn;(bn=wo.current)!=null&&bn.parentElement&&pn.unobserve((Bn=wo.current)==null?void 0:Bn.parentElement)}}},[tt,Uo]),(0,te.useEffect)(()=>{if(tt){let Dn=[];for(const[pn,bn]of Object.entries(Oa)){let Bn={[pn]:()=>{qa(bn)}};Dn.push(Bn),tt.addKeyMap(Bn)}return $o.current=setInterval(()=>{Yo.current&&bo()},4e3),()=>{clearInterval($o.current);for(let pn of Dn)tt.removeKeyMap(pn)}}},[tt]),(0,te.useEffect)(()=>{ca!==jt&&gn(ca)},[ca]),(0,hn.Z)(()=>{if(!Vt&&Vn>0){let Dn=new Date().getTime(),pn=window.sessionStorage.getItem(pa);Dn>=Vn+Un&&(!pn||pn!==dn)&&(window.sessionStorage.setItem(pa,dn),Po(!0))}},Un),(0,te.useEffect)(()=>{Tt(Qn)},[tt,Qn]),(0,te.useEffect)(()=>{tt&&Qt&&tt.focus()},[tt,Qt]),(0,te.useEffect)(()=>{if(Gn&&tt){let Dn=function(bn){let Bn=bn.target;if(Fo.current){let ha=Bn.scrollTop/Bn.scrollHeight;Fo.current.scrollTop=Fo.current.scrollHeight*ha}};const pn=tt.getScrollerElement();return pn.addEventListener("scroll",Dn),()=>{pn.removeEventListener("scroll",Dn)}}},[tt,Gn]),(0,te.useEffect)(()=>{if(tt&&Ct){let Dn=function(pn,bn){Ct(pn,bn)};return tt.on("beforeChange",Dn),()=>{tt.off("beforeChange",Dn)}}},[tt,Ct]),(0,te.useEffect)(()=>{if(tt&&ze){let Dn=function(){ze(tt.getValue())};return tt.on("blur",Dn),()=>{tt.off("blur",Dn)}}},[tt,ze]);function ia(Dn,pn){var bn=Dn.getDoc(),Bn=bn.getCursor(),ha=bn.getLine(Bn.line),Ma=ha.charAt(Bn.ch-1),eo=ha.lastIndexOf("@\u2581@",Bn.ch),to=ha.lastIndexOf("@\u2581\u2581@",Bn.ch),co=eo>to?eo:to,uo=eo>to?3:4;if(On.indexOf(Ma)===-1)return null;if(console.log("change1:",pn,Dn,ha,Bn,co,eo,to,Ma),co>=0&&Bn.ch-co<5){var Ho=co+uo;return bn.replaceRange("",{line:Bn.line,ch:co},{line:Bn.line,ch:Ho}),{line:Bn.line,ch:Ho}}return null}(0,te.useEffect)(()=>{if(tt){let Dn=function(pn,bn){const Bn=pn.getValue();kn(Bn),Sn(new Date().getTime()),pn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),at&&(La?at(Bn,Qa(Bn)):at(Bn))};return tt.on("change",Dn),()=>{tt.off("change",Dn)}}},[tt,at]),(0,te.useEffect)(()=>{if(tt)if(_e==null)tt.setValue(""),kn("");else{const Dn=window.scrollY||window.pageYOffset;_e!==tt.getValue()&&(tt.setValue(_e),kn(_e),tt.setCursor(Ut?1:tt.lineCount(),0),window.scrollTo(0,Dn))}},[tt,_e]);const qa=(0,te.useCallback)(Dn=>{const pn=tt.getCursor(),bn=tt.getSelection();let Bn=bn.split(`
|
|
`);switch(Dn){case"bold":return tt.replaceSelection("**"+bn+"**"),bn===""&&tt.setCursor(pn.line,pn.ch+2),tt.focus();case"italic":return tt.replaceSelection("*"+bn+"*"),bn===""&&tt.setCursor(pn.line,pn.ch+1),tt.focus();case"code":return tt.replaceSelection("`"+bn+"`"),bn===""&&tt.setCursor(pn.line,pn.ch+1),tt.focus();case"inline-latex":return jn("inline-latex"),tt.focus();case"latex":return tt.replaceSelection("```latex\n"+bn+"\n```"),tt.setCursor(pn.line+1,bn.length+1),tt.focus();case"line-break":return tt.replaceSelection(`<br/>
|
|
`),tt.focus();case"list-ul":return bn===""?tt.replaceSelection("- "+bn):tt.replaceSelection(Bn.map(ha=>ha===""?"":`- ${ha}`).join(`
|
|
`)),tt.focus();case"list-ol":return bn===""?tt.replaceSelection("1. "+bn):tt.replaceSelection(Bn.map((ha,Ma)=>ha===""?"":`${Ma+1}. ${ha}`).join(`
|
|
`)),tt.focus();case"add-null-ch":return bn===""&&tt.setCursor(pn.line,pn.ch),tt.replaceSelection(Kn),tt.focus();case"add-signal":return bn===""&&tt.setCursor(pn.line,pn.ch),tt.replaceSelection(Xn),tt.focus();case"add-multiple":return bn===""&&tt.setCursor(pn.line,pn.ch),tt.replaceSelection(On),tt.focus();case"inster-template-1":return bn===""&&tt.setCursor(pn.line,pn.ch),tt.replaceSelection(fa),tt.focus();case"eraser":return tt.setValue(""),tt.focus();case"trigger-watch":return Tt(!Gn),tt.focus();case"trigger-full-screen":return gn(!jt),tt.focus();case nt:jn(nt);return;case ft:jn(ft);return;case lt:jn(lt);return;case zt:jn(zt);return;case"maths-latex":jn("maths-latex");return;case Lt:jn(Lt);return;case Xt:jn(Xt);return;default:throw new Error}},[tt,Gn,jt]),_a=(0,te.useCallback)((Dn,pn)=>{var bn,Bn,ha,Ma,eo,to;switch(jn(""),rn){case nt:const{title:aa,link:Ea}=Dn;return tt.replaceSelection(`[${aa}](${Ea})`),tt.focus();case ft:const{language:Ha,content:ba}=Dn;return tt.replaceSelection(["```"+Ha,ba,"```"].join(`
|
|
`)),tt.focus();case"maths-latex":for(var co=atob(Dn),uo=new Uint8Array(co.length),Ho=0;Ho<co.length;Ho++)uo[Ho]=co.charCodeAt(Ho);var ho=new Blob([uo],{type:"image/png"});(0,Be.I)(ho,Zo=>{Zo.id?tt.replaceSelection(``):(Zo==null?void 0:Zo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":tt.replaceSelection("`$$"+Dn+"$$`");break;case lt:case zt:case ot:const{src:Ba,alt:no}=Dn,za=pn,Vo=(ha=(Bn=(bn=za==null?void 0:za.name)==null?void 0:bn.split("."))==null?void 0:Bn.pop)==null?void 0:ha.call(Bn);return((Ma=za==null?void 0:za.type)==null?void 0:Ma.indexOf("image"))>-1||!(za!=null&&za.type)?za.align||za.width?tt.replaceSelection(`<p style="text-align:${za.align||"initial"}"><img width="${za.width?za.width+"%":"initial"}" src="${Ba}" alt="${no||""}" /></p>`):tt.replaceSelection(`<img width="100%" src="${Ba}" alt="${no||""}" />`):((eo=za==null?void 0:za.type)==null?void 0:eo.indexOf("video"))>-1?tt.replaceSelection(`<video width="100%" controls src="${Ba}"></video>`):((to=za==null?void 0:za.type)==null?void 0:to.indexOf("pdf"))>-1?tt.replaceSelection(`<a href="${Ba}?type=${za.type}&disposition=inline" target="_blank">${za.name}</a>`):na.includes(Vo)?tt.replaceSelection(`<a href="${Ba}?type=office&disposition=inline" target="_blank">${za.name}</a>`):tt.replaceSelection(`[${za.name}](${Ba})`),tt.focus();case Xt:const{row:Jo,col:vr,align:Cr}=Dn;let Pr=`
|
|
`;for(let Zo=0;Zo<Jo;Zo++){let Er=[],wr=[];for(let yr=0;yr<vr;yr++)Zo===1&&wr.push(_t[Cr]),Er.push(" ");Zo===1&&(Pr+=`| ${wr.join(" | ")} |
|
|
`),Pr+=`| ${Er.join(vr===1?"":" | ")} |
|
|
`}return tt.replaceSelection(Pr+`
|
|
`),tt.focus();default:throw new Error}},[tt,rn]),fo=(0,te.useMemo)(()=>{switch(rn){case nt:return te.createElement(Pt,{callback:_a,onCancel:po});case ft:return te.createElement(xt.Z,{callback:_a,onCancel:po});case lt:return te.createElement(Be.Z,{callback:_a,onCancel:po});case Lt:return te.createElement(dt,{callback:_a,onCancel:po});case Xt:return te.createElement(he,{callback:_a,onCancel:po});case"maths-latex":return te.createElement(wt,{showSaveButton:!0,callback:_a});case"inline-latex":return te.createElement(Ft.Z,{showSaveButton:!0,callback:_a});default:return null}},[rn]);function po(){jn("")}(0,te.useEffect)(()=>{if(Mo.current){let Dn=function(eo){ha=!0,Ma=eo.pageY},pn=function(){ha=!1},bn=function(eo){if(ha){let to=eo.pageY-Ma;to<0&&(to=0),to>300&&(to=300);let co=$t+to+"px";ua(co)}},Bn=Mo.current,ha=!1,Ma=0;return Bn.addEventListener("mousedown",Dn),document.addEventListener("mousemove",bn),document.addEventListener("mouseup",pn),()=>{Bn.removeEventListener("mousedown",Dn),document.removeEventListener("mousemove",bn),document.removeEventListener("mouseup",pn)}}},[tt,Mo]),(0,te.useEffect)(()=>{ua($t)},[$t]);const ko=ya(Ye),gr=ya(ea),nr={width:ko,height:gr},Xa=(0,te.useMemo)(()=>{if(Vn){let Dn=new Date(Vn),pn=Dn.getHours(),bn=Dn.getMinutes(),Bn=Dn.getSeconds();return pn=pn<10?"0"+pn:pn,bn=bn<10?"0"+bn:bn,Bn=Bn<10?"0"+Bn:Bn,`${pn}:${bn}:${Bn}`}return 0},[Vn]),Qa=Dn=>{const pn=[];if(La){let bn=-1;Dn=Dn.replace(/(@▁▁@|@▁@)/g,function(Bn,ha,Ma){pn.push({multiLine:Bn!==Xn})})}return pn};function Go(){window.sessionStorage.removeItem(pa),Po(!1),Sn(0)}function mr(){Po(!1),Sn(0),tt.setValue(window.sessionStorage.getItem(pa))}(0,te.useEffect)(()=>{Na[rn]&&rn!==zt&&rn!==Lt&&setTimeout(()=>{const Dn=document.getElementsByClassName("markdown-popup-form")[0],pn=window.innerWidth/2-Dn.offsetWidth/2,bn=window.innerHeight/2-Dn.offsetHeight/2;zo(pn),Ja(bn)},0)},[rn]);const fr=Dn=>{Dn.preventDefault();const pn=Dn.clientX-qo,bn=Dn.clientY-mo;document.body.onmousemove=Bn=>{let ha=Bn.clientX-pn,Ma=Bn.clientY-bn;const eo=document.getElementsByClassName("markdown-popup-form")[0],to=window.innerWidth-eo.offsetWidth,co=window.innerHeight-eo.offsetHeight;ha=Math.max(0,Math.min(ha,to)),Ma=Math.max(0,Math.min(Ma,co)),Sr(Bn.clientX,Bn.clientY,pn,bn)&&(zo(ha),Ja(Ma))},document.body.onmouseup=function(){document.body.onmousemove=null}},Sr=(Dn,pn,bn,Bn)=>{const ha=document.body.clientHeight,Ma=document.body.clientWidth;return Dn<20&&bn>Dn||Dn>Ma-20&&bn<Dn||pn<20&&Bn>pn||pn>ha-20&&Bn<pn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return te.createElement(te.Fragment,null,te.createElement("div",{className:"markdown-editor-wrapper",ref:To},te.createElement("div",{className:`markdown-editor-container ${Nt} ${Gn?"on-preview":""} ${fn?"mini":""} ${jt?"full-screen":""}`,style:nr},te.createElement(ce,{insertTemp:En,watch:Gn,fullScreen:jt,showNullButton:ta,showNullProgramButton:La,onActionCallback:qa,hidetoolBar:ra,extraUse:Rt}),te.createElement("div",{className:"markdown-editor-body"},te.createElement("div",{className:"codemirror-container"},te.createElement("textarea",{ref:wo,placeholder:Ie})),Gn?te.createElement("div",{ref:Fo,className:"preview-container"},wn==="stex"&&te.createElement(rt,{value:dn}),wn!=="stex"&&te.createElement(Je.Z,{disabledFill:ke,showProgramFill:La,value:dn})):null))),Ia?te.createElement("a",{ref:Mo,className:"editor-resize"}):null,rn===zt&&te.createElement(It,{callback:_a,onCancel:po}),rn===Lt&&te.createElement(dt,{callback:_a,onCancel:po}),te.createElement(be.Z,null,Na[rn]&&rn!==zt&&rn!==Lt?te.createElement(De.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:qo,top:mo},title:te.createElement("div",{style:{cursor:"move"},onMouseDown:fr},Na[rn]),open:!0,onCancel:po,footer:null,destroyOnClose:!0,width:rn===Lt?"1200px":null,height:rn===Lt?"80vh":null,className:"markdown-popup-form"},fo):null))}},45596:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return de},I:function(){return be}});var te=ne(78241),ue=ne(8591),Re=ne(92832),Ge=ne(81327),Ae=ne(5871),Le=ne(5112),oe=ne(3113),Ve=ne(67303),We=ne(59301),Qe=ne(34055),Je=ne(59301),rt=Object.defineProperty,Ue=Object.defineProperties,re=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(Se,Ee,pe)=>Ee in Se?rt(Se,Ee,{enumerable:!0,configurable:!0,writable:!0,value:pe}):Se[Ee]=pe,E=(Se,Ee)=>{for(var pe in Ee||(Ee={}))y.call(Ee,pe)&&b(Se,pe,Ee[pe]);if(a)for(var pe of a(Ee))x.call(Ee,pe)&&b(Se,pe,Ee[pe]);return Se},z=(Se,Ee)=>Ue(Se,re(Ee));const{useForm:ee}=te.default,ae={width:280,marginRight:10},le={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:Se,onCancel:Ee})=>{const[pe]=ee();let St=(0,We.useRef)();function mt(it){St.current.width=pe.getFieldValue("width"),St.current.align=pe.getFieldValue("align"),Se(it,St.current)}function Yt(it,At){if(it.status===-1){ue.ZP.error(it.message);return}pe.setFieldsValue({src:`/api/attachments/${it.id}`,type:At.type})}function et(it){let At=it.target.files[0];St.current=At,be(At,Yt)}return Je.createElement(te.default,z(E({form:pe},le),{className:"upload-image-panel",onFinish:mt,style:{width:470,overflow:"hidden"}}),Je.createElement(te.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Je.createElement("div",{className:"flex-container"},Je.createElement(te.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Je.createElement(Re.default,{style:ae})),Je.createElement(ce,{onFileChange:et}))),Je.createElement(te.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Je.createElement(Re.default,{style:{width:264}})),Je.createElement(te.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Je.createElement(Ge.Z,null,Je.createElement(te.default.Item,{name:"width",style:{margin:0}},Je.createElement(Ae.Z,{style:{width:264}})),Je.createElement("span",{className:"ml8"},"%"))),Je.createElement(te.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Je.createElement(Le.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Je.createElement("aside",null,Je.createElement(te.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Je.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Je.createElement(oe.ZP,{type:"default",onClick:Ee},"\u53D6\u6D88"))))};function ce({onFileChange:Se}){return Je.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Je.createElement("input",{type:"file",onChange:Se}))}function be(Se,Ee){if(!Se)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Qe.bg)())throw ue.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let pe=new FormData;pe.append("editormd-image-file",Se),pe.append("file_param_name","editormd-image-file"),pe.append("byxhr","true");var St=new window.XMLHttpRequest;St.withCredentials=!0,St.addEventListener("load",function(mt){Ee(JSON.parse(mt.target.responseText),Se)},!1),St.addEventListener("error",function(mt){console.error(mt)},!1),St.open("POST",`${Ve.KI}/api/attachments.json`),St.send(pe)}},75790:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Re}});var te=ne(59301),ue=ne(4676);class Re extends te.Component{constructor(Ae){super(Ae);const Le=window.document;this.node=Le.createElement("div"),Le.body.appendChild(this.node)}render(){const{children:Ae}=this.props;return(0,ue.createPortal)(Ae,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},4573:function(st,bt,ne){"use strict";ne.d(bt,{i:function(){return ae},Z:function(){return de}});var 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"},ue=ne(71418),Re=ne(6848),Ge=ne(92310),Ae=ne.n(Ge),Le=ne(49661),oe=ne(57884),Ve=ne(34055),We="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8J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qFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ee=ne(59301);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:We,swimg:Qe},{name:"101\u8BA1\u5212",ptimg:Je,swimg:rt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ue,swimg:re},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:y},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:E,swimg:z}];var de=({className:ce,dataSource:be=[],col:Se=4,right:Ee,bottom:pe=23,precision:St=0,wrapWidth:mt=1200,trackEventItems:Yt,loading:et,onRemove:it=()=>{},isCurrent:At=!0,showAlias:Dt=!1})=>{const Kt=Math.floor((mt-(Se-1)*Ee)/Se),kt=[{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"}].map(Te=>(window.ENV==="build"&&(Te.ptimg=`/react/build${Te.ptimg}`,Te.swimg=`/react/build${Te.swimg}`),Te));return ee.createElement(ue.Z,{spinning:et},ee.createElement("div",{className:Ae()(te.list,ce)},!!(be!=null&&be.length)&&(be==null?void 0:be.map((Te,Pt)=>{var xt;const{name:Be,id:De,identifier:vt,featured:Wt,school_name:gt,image_url:It,excellent:Ce,is_plan:Ht}=Te;return ee.createElement("div",{key:De,className:te.wrap,style:{width:Kt,marginRight:(1+Pt)%Se===0?0:Ee+St,marginBottom:pe}},ee.createElement("a",{className:te.li,onClick:qt=>{qt.preventDefault(),qt.stopPropagation(),Yt&&(0,Le.L9)([Yt]),(0,Le.xg)(`/paths/${vt}`)}},ee.createElement("div",{className:te.img},ee.createElement("img",{className:te.cover,src:`${It}`}),At&&(0,Ve.bg)()&&(Te==null?void 0:Te.studying)&&ee.createElement("div",{className:`${te.movebq} user-path-items`,onClick:qt=>{qt.stopPropagation(),it(Te)}},ee.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ee.createElement("span",{className:"c-red"},"\u79FB\u9664")),(xt=Te==null?void 0:Te.subject_tags)==null?void 0:xt.map((qt,un)=>{var nn,Ze;if(un===0){const ye=(nn=kt.find(ge=>ge.name==qt))==null?void 0:nn.swimg;return ee.createElement("img",{className:te.sign,src:ye,style:{left:"-4px"}})}const Me=(Ze=kt.find(ye=>ye.name==qt))==null?void 0:Ze.ptimg;return ee.createElement("img",{className:te.sign,src:Me,style:{left:`${48+52*(un-1)+2*un}px`}})}),ee.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Te==null?void 0:Te.excellent)&&ee.createElement("div",{className:te.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ee.createElement("div",{className:te.name},ee.createElement(Re.Z,{title:Dt&&(Te!=null&&Te.excellent_alias_name)?ee.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Be}`,ee.createElement("br",null),ee.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Te==null?void 0:Te.excellent_alias_name}`)):Be},ee.createElement("span",{className:te.e},Dt&&(Te==null?void 0:Te.excellent_alias_name)||Be))),ee.createElement("div",{className:te.tags},ee.createElement("div",null,ee.createElement(Re.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ee.createElement("span",null,Te.stages_count))),ee.createElement(Re.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ee.createElement("span",null,Te.members_count)))))))})),!be.length&&ee.createElement(oe.Z,null)))}},89831:function(st,bt,ne){"use strict";ne.d(bt,{jL:function(){return Ae},w9:function(){return Wt},QD:function(){return ot},cQ:function(){return Pt.Z},op:function(){return Pe},O5:function(){return Ta},_b:function(){return Mn},t7:function(){return de},Gi:function(){return un},YG:function(){return Ht},qp:function(){return x},vr:function(){return on},qE:function(){return lt},Je:function(){return Se},wb:function(){return Te},cq:function(){return Ne},tp:function(){return z},Si:function(){return Ye},k8:function(){return Ut},Du:function(){return Ia}});var te=ne(59301),ue={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"},Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVI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fjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ae=({dataSource:ke=[],img:Ie,imgWidth:pt=346,title:Rt,sunTitle:tt,bannerExtraContent:Ln})=>te.createElement("div",{className:ue.banner},te.createElement("div",{className:ue.content},te.createElement("aside",null,te.createElement("p",null,te.createElement("b",null,Rt),te.createElement("span",null,tt)),ke.length>0&&te.createElement("div",{className:ue.btns},ke.map((dn,kn)=>te.createElement("div",{key:kn,onClick:dn.click},dn.name,dn.sign?te.createElement("img",{src:Re,width:39}):null))),Ln),Ie&&te.createElement("img",{style:{marginTop:33,marginRight:38},src:Ie,width:pt}))),Le={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"},oe=ne(92310),Ve=ne.n(oe),We=ne(89392),Qe=Object.defineProperty,Je=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,re=(ke,Ie,pt)=>Ie in ke?Qe(ke,Ie,{enumerable:!0,configurable:!0,writable:!0,value:pt}):ke[Ie]=pt,a=(ke,Ie)=>{for(var pt in Ie||(Ie={}))rt.call(Ie,pt)&&re(ke,pt,Ie[pt]);if(Je)for(var pt of Je(Ie))Ue.call(Ie,pt)&&re(ke,pt,Ie[pt]);return ke},x=({dataSource:ke=[],value:Ie,onChange:pt,onTitleChange:Rt,className:tt,title:Ln,titleWidth:dn=41,style:kn={},fontColor:Gn="#6A7283",showCount:Tt,classNameActive:jt,styleItem:gn={}})=>{const[rn,jn]=(0,te.useState)(0),[Vn,Sn]=(0,te.useState)(!1),ea=(0,te.useRef)(null),ua=(0,te.useRef)(null);return(0,te.useEffect)(()=>{var Da;ke.length!==0&&(((Da=ea==null?void 0:ea.current)==null?void 0:Da.clientHeight)>97?jn(1):jn(0)),ke.length===0&&jn(0),Sn(!1)},[ke]),te.createElement("div",{className:Ve()(Le.row,tt),style:kn},te.createElement("div",{onClick:(0,We.throttle)(()=>Rt==null?void 0:Rt(),2e3),style:{width:dn,marginTop:Vn?12:4},className:`${Le.title} ${Rt?"current":""}`},Ln),te.createElement("div",{className:Vn?`${Le.tagsWrap} ${Le.tagsBorderWrap}`:Le.tagsWrap},te.createElement("div",{className:Le.bar,ref:ua,style:rn>0?{height:rn===1?97:"auto",overflow:rn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},te.createElement("div",{className:Le.tag,ref:ea},ke==null?void 0:ke.map(Da=>te.createElement("span",{onClick:()=>pt(Da.id),key:Da.id,style:a(a({color:Gn},gn),(Da==null?void 0:Da.style)||{}),className:Ie===Da.id?Ve()(jt||Le.active,Da.classNameActive):""},te.createElement("span",{title:Da.name,className:Le.name},Da.name),!!Tt&&te.createElement("span",{className:Le.num},Da.count))))),!!rn&&te.createElement(te.Fragment,null,rn===1?te.createElement("div",{onClick:()=>{var Da;jn(2),((Da=ea==null?void 0:ea.current)==null?void 0:Da.clientHeight)>245?Sn(!0):Sn(!1)},className:Le.action},"\u5C55\u5F00",te.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):te.createElement("div",{onClick:()=>{ua.current.scrollTop=0,jn(1),Sn(!1)},className:Le.action},"\u6536\u8D77",te.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},z=({dataSource:ke=[],value:Ie,onChange:pt,className:Rt,style:tt={}})=>te.createElement("div",{style:tt,className:Ve()(b.tabs,Rt)},ke.map(Ln=>te.createElement("span",{onClick:()=>pt(Ln.id),className:Ie===Ln.id?b.active:"",key:Ln.id},Ln.name))),ee={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"},ae=ne(92832),de=({dataSource:ke=[],value:Ie="",onChange:pt,onInputChange:Rt=()=>{},className:tt,style:Ln={},placeholder:dn,allowClear:kn=!1})=>{var Gn;const[Tt,jt]=(0,te.useState)(""),[gn,rn]=(0,te.useState)("");(0,te.useEffect)(()=>{var Sn;let ea=Ie;(Sn=JSON.stringify(Ie))!=null&&Sn.includes("{")&&(jt(Ie.id),ea=Ie.value||"");try{rn(decodeURIComponent(ea||""))}catch(ua){rn(decodeURIComponent(ea||""))}},[Ie]);const jn=()=>{pt(encodeURIComponent(gn),Tt||null)},Vn=Sn=>{Sn!==Tt&&(jt(Sn),pt(encodeURIComponent(gn),Sn))};return te.createElement("div",{className:Ve()(ee.input,tt),style:Ln},!!ke.length&&te.createElement("div",{className:ee.dropdown},te.createElement("div",{className:ee.text},(Gn=ke.find(Sn=>Sn.id===Tt))==null?void 0:Gn.name,te.createElement("i",{className:"iconfont icon-zhankai4"}),te.createElement("b",{className:ee.b1}),te.createElement("b",{className:ee.b2})),te.createElement("div",{className:ee.menu},ke.map((Sn,ea)=>te.createElement("div",{key:ea,onClick:()=>Vn(Sn.id)},Sn.name)))),te.createElement(ae.default,{onPressEnter:jn,value:gn,onChange:Sn=>{rn(Sn.target.value),Rt(encodeURIComponent(Sn.target.value),Tt||null)},bordered:!1,placeholder:dn}),te.createElement("i",{onClick:jn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ce={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"},Se=({value:ke,onChange:Ie,className:pt,total:Rt,pageSize:tt,style:Ln={}})=>{const dn=ke<2,kn=ke>=Math.ceil(Rt/tt);return Rt<=tt?te.createElement(te.Fragment,null):te.createElement("div",{className:Ve()(ce.quickPager,pt),style:Ln},te.createElement("div",{onClick:()=>{dn||Ie(ke-1,"prev")},className:dn?ce.disabled:""},"\u4E0A\u4E00\u9875"),te.createElement("div",{onClick:()=>{kn||Ie(ke+1,"next")},className:kn?ce.disabled:""},"\u4E0B\u4E00\u9875"))},Ee={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"},pe=ne(71418),St=ne(6848),mt=ne(13570),Yt=ne(90524),et=ne(49661),it=ne(96908),At=ne(57177),Dt=ne(81378),Kt=ne(57884),Te=({className:ke,dataSource:Ie=[],col:pt=4,right:Rt,bottom:tt=23,precision:Ln=0,wrapWidth:dn=1200,trackEventItems:kn,loading:Gn})=>{const Tt=Math.floor((dn-(pt-1)*Rt)/pt);return te.createElement(pe.Z,{spinning:Gn},te.createElement("div",{className:Ve()(Ee.list,ke)},!!Ie.length&&Ie.map((jt,gn)=>{const{name:rn,id:jn,identifier:Vn,power:Sn,cover_image_id:ea,pic:ua}=jt;return te.createElement("div",{className:Ee.wrap,key:jn,style:{width:Tt,marginRight:(1+gn)%pt===0?0:Rt+Ln,marginBottom:tt}},te.createElement("a",{target:"_blank",href:`/shixuns/${Vn}/challenges`,className:Ee.li,onClick:Da=>{Da.preventDefault(),kn&&(0,et.L9)([kn]),Sn&&(0,et.xg)(`/shixuns/${Vn}/challenges`)}},te.createElement("div",{className:Ee.img},te.createElement("img",{className:Ee.cover,src:`${ua}`}),jt.is_jupyter&&te.createElement("img",{className:Ee.sign,src:it}),jt.is_jupyter_lab&&te.createElement("img",{className:Ee.sign,src:At}),jt.is_unity_3d&&te.createElement("img",{className:Ee.sign,src:Dt})),te.createElement("div",{className:Ee.name},te.createElement(St.Z,{title:rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},te.createElement("span",{className:Ee.e},rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),te.createElement("div",{className:Ee.tags},te.createElement(St.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),te.createElement("span",null,jt.challenges_count))),!!jt.myshixuns_count&&te.createElement(St.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},te.createElement("span",null,te.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),te.createElement("span",null,jt.myshixuns_count))),te.createElement(St.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},te.createElement("span",null,te.createElement("span",null,jt.level))),te.createElement("div",{className:Ee.rate},te.createElement(mt.Z,{allowHalf:!0,disabled:!0,defaultValue:jt.score_info}),te.createElement("span",null,"\xA0",jt.score_info?`${jt.score_info}\u5206`:"5\u5206")))),!Sn&&te.createElement("div",{className:Ee.lockWrap},te.createElement("img",{src:`${Yt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),te.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ie.length&&te.createElement(Kt.Z,null)))},Pt=ne(4573),xt={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"},Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmW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uQmCC",De=ne(59301),Wt=({className:ke,dataSource:Ie=[],col:pt=4,right:Rt,bottom:tt=23,precision:Ln=0,wrapWidth:dn=1200,trackEventItems:kn,loading:Gn})=>{const Tt=Math.floor((dn-(pt-1)*Rt)/pt);return De.createElement(pe.Z,{spinning:Gn},De.createElement("div",{className:Ve()(xt.list,ke)},!!Ie.length&&Ie.map((jt,gn)=>{const{subject_identifier:rn,id:jn,identifier:Vn,power:Sn}=jt,ea=jt.is_public!=0&&jt.is_public;return De.createElement("div",{className:xt.wrap,key:jn,style:{width:Tt,marginRight:(1+gn)%pt===0?0:Rt+Ln,marginBottom:tt}},De.createElement("a",{className:xt.li,onClick:ua=>{ua.preventDefault(),kn&&(0,et.L9)([kn]),(0,et.xg)(jt.first_category_url)}},De.createElement("div",{className:xt.top},De.createElement(St.Z,{title:jt.name},De.createElement("div",{className:xt.name},jt.name)),De.createElement("img",{className:xt.img,src:Yt.Z.IMG_SERVER+"/images/"+jt.avatar_url}),De.createElement("div",{className:xt.text,title:jt.creator},jt.creator),rn&&De.createElement("div",{className:xt.btns},De.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),De.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ea&&De.createElement("div",{className:xt.sign},"\u516C\u5F00")),De.createElement("div",{className:xt.bottom},jt.visits>0&&De.createElement(St.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-liulanyan"}),De.createElement("span",null,jt.visits))),jt.course_members_count>0&&De.createElement(St.Z,{title:"\u6210\u5458",placement:"bottom"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-chengyuan"}),jt.course_members_count)),jt.tasks_count>0&&De.createElement(St.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},De.createElement("span",null,De.createElement("i",{className:"iconfont icon-zuoye"}),jt.tasks_count)),jt.is_end?De.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):De.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!jt.is_accessible&&De.createElement("div",{className:xt.lockWrap},De.createElement("img",{src:`${Yt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),De.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ie.length&&De.createElement(Kt.Z,null)))},gt={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"},It=ne(76560),Ht=({dataSource:ke=[],value:Ie,onChange:pt,className:Rt,style:tt={},tabBarExtraContent:Ln})=>te.createElement("div",{className:Ve()(gt.tabs,Rt),style:tt},te.createElement("div",{className:gt.tabsWrap},ke.map((dn,kn)=>te.createElement("aside",{className:gt.tab,onClick:()=>{pt(dn.id),dn.link&&It.history.push(dn.link)},key:kn},te.createElement("div",{className:Ie===dn.id?gt.active:""},dn.name),(dn==null?void 0:dn.resetCount)==null&&(dn==null?void 0:dn.total)!==void 0&&te.createElement("span",null,"\uFF08",dn==null?void 0:dn.total,"\uFF09"),(dn==null?void 0:dn.resetCount)!==void 0&&(dn==null?void 0:dn.total)!==void 0&&te.createElement(St.Z,{title:(dn==null?void 0:dn.tip)!=null?dn==null?void 0:dn.tip:""},te.createElement("span",{style:{color:"#9096A3"}},"\uFF08",te.createElement("span",{style:{color:"#000"}},dn==null?void 0:dn.resetCount),"/",te.createElement("span",null,dn==null?void 0:dn.total),"\uFF09"))))),te.createElement("div",{className:gt.tabBar},Ln)),un=({className:ke,style:Ie={},children:pt})=>te.createElement("div",{className:Ve()(ke),style:Ie},pt),nn={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"},Ze=ne(38854),Me=ne(20834);const ye=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ne=({sortValue:ke,dropValue:Ie,className:pt,onSort:Rt,onDrop:tt,dataSource:Ln=ye})=>{var dn;return te.createElement("div",{className:Ve()(nn.orderWrap,pt)},te.createElement(Ze.Z,{dropdownRender:()=>te.createElement(Me.default,null,Ln.map((kn,Gn)=>te.createElement(Me.default.Item,{key:Gn,onClick:()=>tt(kn.id)},kn.name)))},te.createElement("span",{className:nn.orderTextWrap},(dn=Ln.find(kn=>Ie===kn.id))==null?void 0:dn.name)),te.createElement("span",{className:nn.orderIconWrap},te.createElement("span",{className:nn.orderAsc},te.createElement("i",{className:ke==="asc"?`iconfont icon-sanjiaoxing-up font12 ${nn.cursorPointer} ${nn.active}`:`iconfont icon-sanjiaoxing-up font12 ${nn.cursorPointer}`,onClick:()=>Rt(ke==="asc"?"desc":"asc")})),te.createElement("span",{className:nn.orderDesc},te.createElement("i",{className:ke==="desc"?`iconfont icon-sanjiaoxing-down font12 ${nn.cursorPointer} ${nn.active}`:`iconfont icon-sanjiaoxing-down font12 ${nn.cursorPointer}`,onClick:()=>Rt(ke==="asc"?"desc":"asc")}))))},dt={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",ThemeOne:"ThemeOne___iCQio"},fe=ne(3113),me=ne(22688),He=Object.defineProperty,we=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ot=(ke,Ie,pt)=>Ie in ke?He(ke,Ie,{enumerable:!0,configurable:!0,writable:!0,value:pt}):ke[Ie]=pt,ct=(ke,Ie)=>{for(var pt in Ie||(Ie={}))he.call(Ie,pt)&&Ot(ke,pt,Ie[pt]);if(we)for(var pt of we(Ie))je.call(Ie,pt)&&Ot(ke,pt,Ie[pt]);return ke},Bt=(ke,Ie)=>{var pt={};for(var Rt in ke)he.call(ke,Rt)&&Ie.indexOf(Rt)<0&&(pt[Rt]=ke[Rt]);if(ke!=null&&we)for(var Rt of we(ke))Ie.indexOf(Rt)<0&&je.call(ke,Rt)&&(pt[Rt]=ke[Rt]);return pt},wt=(ke,Ie,pt)=>new Promise((Rt,tt)=>{var Ln=Gn=>{try{kn(pt.next(Gn))}catch(Tt){tt(Tt)}},dn=Gn=>{try{kn(pt.throw(Gn))}catch(Tt){tt(Tt)}},kn=Gn=>Gn.done?Rt(Gn.value):Promise.resolve(Gn.value).then(Ln,dn);kn((pt=pt.apply(ke,Ie)).next())}),Pe=ke=>{var Ie=ke,{className:pt,style:Rt,children:tt,loading:Ln=!1,openLoading:dn,onClick:kn=()=>{},size:Gn="middle",shape:Tt="round",theme:jt}=Ie,gn=Bt(Ie,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[rn,jn]=(0,te.useState)(!1),Vn=(0,te.useMemo)(()=>{switch(jt){case me.Fy.THEMEONE:return dt.ThemeOne;case me.Fy.DEFAULT:default:return dt.btn}},[jt]);return te.createElement(fe.ZP,ct({onClick:(0,We.throttle)(Sn=>wt(void 0,null,function*(){dn&&jn(!0);try{yield kn(Sn)}catch(ea){console.log("error",ea)}dn&&jn(!1)}),2e3,{leading:!0,trailing:!1}),className:Ve()(Vn,dt[`${Gn}-${Tt}`],pt),style:Rt,size:Gn,shape:Tt,loading:rn||Ln},gn),tt)},Ke={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"},lt=({className:ke,style:Ie,children:pt=null,onClick:Rt,title:tt})=>te.createElement("div",{className:Ve()(Ke.head,ke),style:Ie},te.createElement("span",{className:"primary-hover",onClick:Rt},te.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),te.createElement("b",{title:tt},tt),te.createElement("div",{className:Ke.node},pt)),Lt={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"},ot=({confirmShow:ke=!0,confirmTitle:Ie,confirmClick:pt,cancelShow:Rt=!0,cancelTitle:tt,cancelClick:Ln,className:dn,style:kn,confirmLoading:Gn=!1})=>te.createElement("div",{className:Ve()(Lt.btns,dn),style:kn},ke&&te.createElement(fe.ZP,{loading:Gn,onClick:pt,type:"primary",className:Lt.confirm},Ie),Rt&&te.createElement(fe.ZP,{onClick:Ln,className:Lt.cancel},tt)),ft={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"},on=({className:ke,style:Ie={},LeftContent:pt,children:Rt,RightContent:tt})=>te.createElement("div",{className:Ve()(ft.fixedBottom,ke),style:Ie},te.createElement("div",{className:ft.wrap},te.createElement("div",{className:ft.left},pt),te.createElement("div",{className:ft.center},Rt),te.createElement("div",{className:ft.right},tt))),_t={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"},Mn=({className:ke,style:Ie={},dataSource:pt=[]})=>te.createElement("div",{className:Ve()(_t.crumbs,ke),style:Ie},pt.map((Rt,tt)=>tt<pt.length-1?te.createElement(te.Fragment,{key:tt},Rt.path||Rt.onClick?te.createElement("span",{className:_t.hover,onClick:Rt!=null&&Rt.onClick?Rt.onClick:()=>It.history.push(Rt.path)},Rt.name):te.createElement("span",null,Rt.name),te.createElement("span",null,"\xA0",">","\xA0")):te.createElement("span",{key:tt,style:{color:"#5F6368"}},Rt.name))),Zn=ne(31797),an=Object.defineProperty,Un=Object.defineProperties,Kn=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable,na=(ke,Ie,pt)=>Ie in ke?an(ke,Ie,{enumerable:!0,configurable:!0,writable:!0,value:pt}):ke[Ie]=pt,ya=(ke,Ie)=>{for(var pt in Ie||(Ie={}))Xn.call(Ie,pt)&&na(ke,pt,Ie[pt]);if(On)for(var pt of On(Ie))fa.call(Ie,pt)&&na(ke,pt,Ie[pt]);return ke},Ra=(ke,Ie)=>Un(ke,Kn(Ie)),sa=(ke,Ie)=>{var pt={};for(var Rt in ke)Xn.call(ke,Rt)&&Ie.indexOf(Rt)<0&&(pt[Rt]=ke[Rt]);if(ke!=null&&On)for(var Rt of On(ke))Ie.indexOf(Rt)<0&&fa.call(ke,Rt)&&(pt[Rt]=ke[Rt]);return pt};const{Countdown:Oa}=Zn.default;var Ta=ke=>{var Ie=ke,{onChange:pt}=Ie,Rt=sa(Ie,["onChange"]);const[tt,Ln]=(0,te.useState)(null);(0,te.useEffect)(()=>{typeof tt=="number"&&tt>=0&&pt(tt)},[tt]);const dn=kn=>{const Gn=Math.floor(kn/1e3);Ln(Gn)};return te.createElement(Oa,Ra(ya({},Rt),{onChange:dn}))},_e={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Ye=({DataProps:ke,className:Ie,style:pt={}})=>{var Rt;return te.createElement("div",{className:Ve()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",_e.ClassRoomItem,Ie),style:pt,onClick:()=>{(0,et.xg)(ke==null?void 0:ke.first_category_url)}},te.createElement("div",{className:"flex flex-col item-center"},te.createElement("img",{src:`${(Rt=Yt.Z)==null?void 0:Rt.IMG_SERVER}/images/${ke==null?void 0:ke.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(ke==null?void 0:ke.subject_identifier)&&te.createElement("div",{className:"mt-40px"},te.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),te.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),te.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},te.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(ke!=null&&ke.is_public)&&te.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),te.createElement("span",{className:Ve()("text-16px font-medium",_e.TitleDom)},ke==null?void 0:ke.name)),te.createElement("div",{className:"c-grey-333 font-medium"},ke==null?void 0:ke.creator),te.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",ke==null?void 0:ke.course_members_count),te.createElement("div",{className:"c-grey-333 flex item-center justify-between"},te.createElement("div",null,"\u4F5C\u4E1A\uFF1A",ke==null?void 0:ke.tasks_count),ke!=null&&ke.is_end?te.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):te.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},$t=Object.defineProperty,fn=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,En=(ke,Ie,pt)=>Ie in ke?$t(ke,Ie,{enumerable:!0,configurable:!0,writable:!0,value:pt}):ke[Ie]=pt,wn=(ke,Ie)=>{for(var pt in Ie||(Ie={}))Qt.call(Ie,pt)&&En(ke,pt,Ie[pt]);if(fn)for(var pt of fn(Ie))Qn.call(Ie,pt)&&En(ke,pt,Ie[pt]);return ke},Ia=({DataProps:ke=[],selectValue:Ie,onChange:pt,className:Rt,style:tt={},extra:Ln,classNameItem:dn,styleItem:kn={},barHidden:Gn})=>{const[Tt,jt]=(0,te.useState)();return(0,te.useEffect)(()=>{jt(Array.isArray(Ie)?Ie:[Ie])},[Ie]),te.createElement("div",{className:Ve()("flex px-20px py-10px gap-40px",Rt),style:wn({borderBottom:"1px solid #D3F0FF"},tt)},ke==null?void 0:ke.map(gn=>te.createElement("div",{key:gn==null?void 0:gn.id,className:Ve()("flex item-center justify-center current c-grey-333 text-16 relative",dn,gn==null?void 0:gn.className),style:wn(wn({color:Tt!=null&&Tt.includes(gn==null?void 0:gn.id)?"#1890FF":"",minWidth:88},kn),(gn==null?void 0:gn.style)||{}),onClick:rn=>{pt==null||pt({domEvent:rn,item:gn}),gn!=null&&gn.link&&It.history.push(gn==null?void 0:gn.link)}},gn==null?void 0:gn.name,!Gn&&(Tt==null?void 0:Tt.includes(gn==null?void 0:gn.id))&&te.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),te.createElement("div",{className:"ml-auto"},Ln))},Vt=Object.defineProperty,ta=Object.defineProperties,La=Object.getOwnPropertyDescriptors,ra=Object.getOwnPropertySymbols,ca=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Ct=(ke,Ie,pt)=>Ie in ke?Vt(ke,Ie,{enumerable:!0,configurable:!0,writable:!0,value:pt}):ke[Ie]=pt,yt=(ke,Ie)=>{for(var pt in Ie||(Ie={}))ca.call(Ie,pt)&&Ct(ke,pt,Ie[pt]);if(ra)for(var pt of ra(Ie))ze.call(Ie,pt)&&Ct(ke,pt,Ie[pt]);return ke},Nt=(ke,Ie)=>ta(ke,La(Ie)),Ut=({value:ke,onChange:Ie,onInputChange:pt,className:Rt,style:tt={},InputProps:Ln})=>{const[dn,kn]=(0,te.useState)(ke);return te.createElement("div",{className:Ve()("flex item-center rounded-full px-10px py-2px",Rt),style:yt({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},tt)},te.createElement(ae.default,Nt(yt({bordered:!1},Ln),{onChange:Gn=>{kn(Gn.target.value),pt==null||pt(encodeURIComponent(Gn.target.value))},onPressEnter:Gn=>{Ie==null||Ie({domEvent:Gn,item:{value:dn}})}})),te.createElement("img",{className:"h-22px current",src:ne(25365),height:22,onClick:Gn=>{Ie==null||Ie({domEvent:Gn,item:{value:dn}})}}))}},17904:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return ue}});var te=ne(59301);function ue(Re,Ge){const Ae=(0,te.useRef)();(0,te.useEffect)(()=>{Ae.current=Re}),(0,te.useEffect)(()=>{function Le(){Ae.current()}if(Ge!==null){let oe=setInterval(Le,Ge);return()=>clearInterval(oe)}},[Ge])}},95200:function(st,bt,ne){"use strict";ne.r(bt),ne.d(bt,{default:function(){return kt}});var te=ne(59301),ue={flex_box_center:"flex_box_center___fl5m6",flex_space_between:"flex_space_between___bly3M",flex_box_vertical_center:"flex_box_vertical_center___xKfVY",flex_box_center_end:"flex_box_center_end___uQRsy",flex_box_column:"flex_box_column___V96Tv",ActvieE3:"ActvieE3___B5egy",Onerow:"Onerow___t6jyJ",body:"body___RTqwS",AddBut:"AddBut___iKjQP",FormDiv:"FormDiv___I9YYs"},Re=ne(76560),Ge=ne(78241),Ae=ne(6848),Le=ne(8591),oe=ne(43418),Ve=ne(95237),We=ne(43604),Qe=ne(1710),Je=ne(58421),rt=ne(3113),Ue=ne(24905),re=ne(92832),a=ne(57809),y=ne(54580),x=ne(49770),b=ne(89831),E=ne(56102),z=ne(57884),ee=ne(90524),ae=ne(49661),le=ne(77817),de=ne(54657),ce=ne(86645),be=ne(64885),Se=Object.defineProperty,Ee=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,et=(Te,Pt,xt)=>Pt in Te?Se(Te,Pt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Te[Pt]=xt,it=(Te,Pt)=>{for(var xt in Pt||(Pt={}))mt.call(Pt,xt)&&et(Te,xt,Pt[xt]);if(St)for(var xt of St(Pt))Yt.call(Pt,xt)&&et(Te,xt,Pt[xt]);return Te},At=(Te,Pt)=>Ee(Te,pe(Pt)),Dt=(Te,Pt,xt)=>new Promise((Be,De)=>{var vt=It=>{try{gt(xt.next(It))}catch(Ce){De(Ce)}},Wt=It=>{try{gt(xt.throw(It))}catch(Ce){De(Ce)}},gt=It=>It.done?Be(It.value):Promise.resolve(It.value).then(vt,Wt);gt((xt=xt.apply(Te,Pt)).next())});const Kt=({graduations:{Tasks:Te,teachers:Pt,students:xt,forTask:Be},loading:De,dispatch:vt})=>{var Wt,gt;const It=(0,Re.useParams)(),[Ce,Ht]=(0,te.useState)([]),[qt,un]=(0,te.useState)([]),[nn,Ze]=(0,te.useState)(!1),[Me,ye]=(0,te.useState)(!1),[ge]=Ge.default.useForm(),[Ne,dt]=(0,te.useState)({}),[fe,me]=(0,te.useState)({}),[He,we]=(0,te.useState)([]),[he,je]=(0,te.useState)(!1),Ot=(0,te.useRef)(null),[ct,Bt]=(0,te.useState)({keyword:"",page:1,per_page:20,status:null,is_teacher:!0}),wt=[{id:null,name:"\u5168\u90E8"},{id:1,name:"\u8FBE\u6210\u53CC\u9009"},{id:0,name:"\u672A\u8FBE\u6210\u53CC\u9009"}],Ft=[{title:"\u8BFE\u9898\u540D\u79F0",dataIndex:"name",ellipsis:!0,render:ot=>te.createElement(Ae.Z,{placement:"topLeft",title:ot},te.createElement("span",{className:"c-grey-333"},ot))},{title:"\u6307\u5BFC\u8001\u5E08",width:120,ellipsis:!0,dataIndex:"teacher_names",render:ot=>te.createElement(Ae.Z,{placement:"topLeft",title:ot},te.createElement("span",{className:"c-grey-333"},ot))},{title:"\u9009\u9898\u72B6\u6001",width:120,dataIndex:"status",render:ot=>te.createElement(te.Fragment,null,ot==0&&te.createElement("span",{style:{color:"#E30000"}},"\u672A\u8FBE\u6210\u53CC\u9009"),ot==1&&te.createElement("span",null,"\u8FBE\u6210\u53CC\u9009"))},{title:"\u9080\u8BF7\u7801",width:132,dataIndex:"invite_code",render:ot=>te.createElement("span",{className:"c-grey-333"},ot,te.createElement(E.CopyToClipboard,{text:ot,onCopy:()=>Le.ZP.success("\u590D\u5236\u6210\u529F")},te.createElement("i",{className:"iconfont icon-fuzhi8 font14",style:{color:"#165DFF",marginLeft:"8px",cursor:"pointer"}})))},{title:te.createElement("span",null,"\u64CD\u4F5C"),align:"right",width:120,render:(ot,ft)=>te.createElement(te.Fragment,null,te.createElement(be.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0},onClick:()=>Dt(void 0,null,function*(){var Xt,on;je(!1),yield nt(),ft.teacher_ids=(Xt=ft.teacher)==null?void 0:Xt.map(_t=>_t.id),ft.student_id=ft.student_id?Number(ft.student_id):"",we((on=ft==null?void 0:ft.attachments)==null?void 0:on.map(_t=>({uid:_t==null?void 0:_t.id,name:(_t==null?void 0:_t.title)+" "+(_t==null?void 0:_t.filesize),status:"done",url:(_t==null?void 0:_t.url)||""}))),dt(ft),me(ft),ge.setFieldsValue(ft)})},"\u7F16\u8F91"),te.createElement("a",{className:ue.ActvieE3,type:"link",style:{padding:"0 0 0 10px",whiteSpace:"nowrap"},onClick:()=>{if(ft.status==1)Le.ZP.warning("\u8BE5\u8BFE\u9898\u5DF2\u88AB\u5B66\u751F\u9009\u9898\u4E0D\u80FD\u5220\u9664");else{const Xt=oe.default.confirm({title:"\u5220\u9664\u63D0\u793A",icon:null,maskClosable:!0,content:te.createElement("span",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BFE\u9898\uFF1F\u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Dt(void 0,null,function*(){(yield vt({type:"graduations/getDelGraduationsTasks",payload:{id:It.id,ids:[ft.id]}})).status==0&&(Le.ZP.success("\u5220\u9664\u6210\u529F"),ct.page=1,Bt(it({},ct))),Xt.destroy()}),onCancel:()=>{Xt.destroy()}})}}},"\u5220\u9664"))}],Pe={multiple:!0,withCredentials:!0,defaultFileList:He,onRemove:ot=>{we(He.filter(ft=>(ot.uid||ot.response.id)!=ft.uid))},beforeUpload:ot=>{const ft=ot.size/1024/1024;return ft>150||ft==0?(Le.ZP.error(`${ot.name} \u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002${ft==0?"\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A":"\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150MB)"}`),Promise.reject()):!0},action:`${ee.Z.API_SERVER}/api/attachments.json`,onChange:ot=>{var ft,Xt,on,_t,hn,Mn,Zn,an;ot.file.status==="done"&&we([...He,{uid:(Xt=(ft=ot==null?void 0:ot.file)==null?void 0:ft.response)==null?void 0:Xt.id,name:((_t=(on=ot==null?void 0:ot.file)==null?void 0:on.response)==null?void 0:_t.filename)+" "+(0,ae.RD)((Mn=(hn=ot==null?void 0:ot.file)==null?void 0:hn.response)==null?void 0:Mn.filesize),status:"done",url:((an=(Zn=ot==null?void 0:ot.file)==null?void 0:Zn.response)==null?void 0:an.url)||""}])}},Ke={selectedRowKeys:[...Ce.map(ot=>ot.id),...qt.map(ot=>ot.id)],onChange:(ot,ft)=>{const Xt=[],on=[];ft.map(_t=>{_t.status==0?on.push(_t):Xt.push(_t)}),un(Xt),Ht(on)}},nt=(ot=!1)=>Dt(void 0,null,function*(){var ft,Xt;const on=yield vt({type:"graduations/getGraduationsTeachers",payload:{id:It.id,page:1,per_page:2e3}});if(vt({type:"graduations/getGraduationsStudents",payload:{id:It.id,page:1,per_page:2e3}}),vt({type:"graduations/getGraduationsDetails",payload:{id:It.id}}),ot){const _t=(Xt=(ft=on==null?void 0:on.data)==null?void 0:ft.filter(hn=>hn==null?void 0:hn.is_creator))==null?void 0:Xt.map(hn=>hn.id);ge.setFieldsValue({teacher_ids:_t}),dt(At(it({},Ne),{teacher_ids:_t}))}Ze(!0)}),lt=()=>Dt(void 0,null,function*(){yield vt({type:"graduations/getGraduationsTasks",payload:it({id:It.id},ct)})}),Lt=ot=>Dt(void 0,null,function*(){ot.attachment_ids=He.map(Xt=>Xt.uid);let ft;he?ft=yield(0,ce.jW)(it({graduation_id:It.id},ot)):ft=yield(0,ce.YS)(it({graduation_id:It.id,id:Ne.id},ot)),ft.status==0&&(Le.ZP.success(he?"\u521B\u5EFA\u6210\u529F":"\u66F4\u65B0\u6210\u529F"),dt({}),we([]),Ze(!1),ge.resetFields(),yield lt())});(0,te.useEffect)(()=>{Ht([]),un([]),lt()},[ct]),(0,te.useEffect)(()=>{Ne.base_project&&zt()},[Ne==null?void 0:Ne.base_project]);const zt=(ot=1e5)=>{const ft=document.querySelector(".ant-form-modal-body").querySelector(".ant-modal-body");ft.scrollTop=ot};return te.createElement("section",{className:ue.body},te.createElement(b.YG,{value:"manage",tabBarExtraContent:te.createElement(b.op,{openLoading:!0,onClick:()=>Dt(void 0,null,function*(){je(!0),yield nt(!0)})},"\u5F55\u5165\u8BFE\u9898"),dataSource:[{id:"manage",name:"\u8BFE\u9898\u7BA1\u7406"}],onChange:ot=>{console.log(ot)}}),te.createElement(Ve.Z,{wrap:!1,align:"middle",justify:"space-between"},te.createElement(We.Z,null,te.createElement(b.qp,{title:"\u72B6\u6001",className:"mt20",dataSource:wt,titleWidth:28,value:ct.status,onChange:ot=>{ct.status=ot,ct.page=1,Bt(it({},ct))}})),te.createElement(We.Z,null,te.createElement(b.t7,{style:{width:329,height:"38px"},placeholder:"\u8BF7\u8F93\u5165\u8BFE\u9898\u540D\u79F0/\u6307\u5BFC\u8001\u5E08\u8FDB\u884C\u641C\u7D22",value:ct.keyword,onChange:ot=>{ct.keyword=ot,ct.page=1,Bt(it({},ct))}}))),Ce.length+qt.length>0&&te.createElement(Ve.Z,{wrap:!1,align:"middle",justify:"space-between",style:{padding:"11px 12px",background:"#F4F7FC",marginBottom:"1px"}},te.createElement(We.Z,null,"\u5DF2\u9009\u62E9\xA0",te.createElement("span",{style:{color:"#165DFF"}},Ce.length+qt.length||0),"\xA0\u9879"),te.createElement(We.Z,{style:{color:"#E30000",cursor:"pointer"},onClick:()=>{const ot=oe.default.confirm({title:"\u5220\u9664\u63D0\u793A",icon:null,maskClosable:!0,content:te.createElement("span",null,"\u786E\u5B9A\u8981\u5220\u9664\u8BFE\u9898\uFF1F\u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Dt(void 0,null,function*(){Ce.length>0&&(yield vt({type:"graduations/getDelGraduationsTasks",payload:{id:It.id,ids:Ce.map(Xt=>Xt.id)}})).status==0&&Le.ZP.success("\u6279\u91CF\u5220\u9664\u6210\u529F"),qt.length>0&&(Ce.length==0&&Le.ZP.error("\u65E0\u6CD5\u5220\u9664"),ye(!0)),Ht([]),lt(),ot.destroy()}),onCancel:()=>{ot.destroy()}})}},te.createElement("i",{className:"iconfont icon-piliangshanchu3 mr5"}),"\u6279\u91CF\u5220\u9664")),te.createElement(Qe.default,{rowKey:"id",loading:De.effects["graduations/getGraduationsTasks"],style:{minHeight:500},locale:{emptyText:te.createElement(z.Z,{customText:ct.status==null&&ct.keyword==""&&ct.page==1?"\u60A8\u5F53\u524D\u8FD8\u6CA1\u6709\u5F55\u5165\u8BFE\u9898\uFF0C\u70B9\u51FB\u5B8C\u6210\u8BFE\u9898\u5F55\u5165":"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!",ButtonTwo:ct.status==null&&ct.keyword==""&&ct.page==1?te.createElement(b.op,{openLoading:!0,onClick:()=>Dt(void 0,null,function*(){je(!0),yield nt(!0)})},"\u5F55\u5165\u8BFE\u9898"):te.createElement(te.Fragment,null)})},rowSelection:Ke,columns:Ft,dataSource:Te.data,pagination:!1}),Te.count!=0&&te.createElement(Ve.Z,{className:"mt20 mb20",wrap:!1,align:"middle",justify:"space-between"},te.createElement(We.Z,null,"\u5171\xA0",te.createElement("span",{style:{color:"#165DFF"}},Te.count||0),"\xA0\u6761\u6570\u636E"),te.createElement(We.Z,null,te.createElement(Je.Z,{showSizeChanger:!0,showQuickJumper:!0,current:ct.page,pageSize:ct.per_page,onShowSizeChange:(ot,ft)=>{ct.per_page=ft,ct.page=1,Bt(it({},ct))},onChange:ot=>{ct.page=ot,Bt(it({},ct))},total:Te.count}))),te.createElement(oe.default,{open:Me,title:"\u63D0\u793A",destroyOnClose:!0,width:1200,footer:te.createElement(rt.ZP,{type:"primary",onClick:()=>{ye(!1),un([])}},"\u77E5\u9053\u4E86"),onCancel:()=>{ye(!1),un([])}},te.createElement("span",null,"\u4E0B\u9762",te.createElement("span",{style:{color:"#FA6400"}},qt.length),"\u4E2A\u8BFE\u9898\u5DF2\u88AB\u5B66\u751F\u9009\u9898\uFF0C\u4E0D\u80FD\u5220\u9664"),te.createElement("div",{className:"mt10",style:{background:"#F6F7F9",padding:"20px 12px"}},qt.map((ot,ft)=>te.createElement(Ve.Z,{wrap:!1,align:"middle",key:ft,style:{color:"#999"}},te.createElement("i",{className:"iconfont icon-guansuo font14"}),te.createElement("div",{className:ue.Onerow,style:{marginLeft:"8px"}},te.createElement(Ae.Z,{placement:"topLeft",title:ot.name},ot.name)))))),te.createElement(oe.default,{open:nn,title:`${he?"\u5F55\u5165\u8BFE\u9898":"\u7F16\u8F91\u8BFE\u9898"}`,width:1200,destroyOnClose:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,className:"ant-form-modal-body",afterOpenChange:ot=>{ot&&document.querySelector(".ant-form-modal-body").querySelector(".ant-modal-body").scrollTo(0,0)},onCancel:()=>{dt({}),we([]),ge.resetFields(),Ze(!1)},onOk:()=>{ge.submit()}},te.createElement(Ge.default,{onFinishFailed:ot=>{var ft;if(!(Ne!=null&&Ne.name)||!((ft=Ne==null?void 0:Ne.teacher_ids)!=null&&ft.length)){zt(0);return}(!(Ne!=null&&Ne.description)||Ne!=null&&Ne.base_project&&!(Ne!=null&&Ne.graduation_stage_id))&&zt()},form:ge,initialValues:{},layout:"vertical",className:`${ue.FormDiv}`,onValuesChange:(ot,ft)=>{dt(it(it({},Ne),ot))},onFinish:ot=>Dt(void 0,null,function*(){!he&&fe.status==1&&ot.student_id!=fe.student_id?oe.default.confirm({centered:!0,okText:"\u786E\u5B9A",icon:null,cancelText:"\u53D6\u6D88",title:"\u53D8\u66F4\u6307\u5B9A\u5B66\u751F",content:te.createElement("div",null,te.createElement("p",null,"\u8BE5\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002\u786E\u8BA4\u53D8\u66F4\u6307\u5B9A\u5B66\u751F\uFF1F\u53D8\u66F4\u540E\u539F\u5B66\u751F\u5728\u8BE5\u8BFE\u9898\u63D0\u4EA4\u7684\u6587\u6863\u5C06\u6E05\u7A7A\u4E14\u65E0\u6CD5\u6062\u590D"),te.createElement("div",null,"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\u540E\u786E\u8BA4\u5220\u9664"),te.createElement(le.Z,{ref:ft=>Ot.current=ft})),onOk:()=>Dt(void 0,null,function*(){if(Ot.current.onVerify())return Promise.reject();Lt(ot)})}):Lt(ot)})},te.createElement(Ge.default.Item,{htmlFor:null,name:"source_is_repeat",valuePropName:"checked"},te.createElement(Ue.default,null,te.createElement("span",{style:{color:"#000"}},"\u8FD1\u4E09\u5E74\u662F\u5426\u91CD\u590D"))),te.createElement(Ge.default.Item,{htmlFor:null,label:te.createElement("span",{style:{color:"#5F6368"}},"\u8BFE\u9898\u540D\u79F0"),name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BFE\u9898\u540D\u79F0"},{type:"string",max:100,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},te.createElement(re.default,{showCount:!0,maxLength:100,size:"large"})),te.createElement(Ge.default.Item,{htmlFor:null,label:te.createElement("span",{style:{color:"#5F6368"}},"\u6307\u5BFC\u8001\u5E08(\u53EF\u591A\u9009)"),name:"teacher_ids",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6307\u5BFC\u8001\u5E08"}]},te.createElement(a.default,{size:"large",mode:"multiple",optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u6307\u5BFC\u8001\u5E08"},(Wt=Pt==null?void 0:Pt.data)==null?void 0:Wt.map((ot,ft)=>te.createElement(a.default.Option,{key:ft,value:ot.id},ot.name)))),te.createElement(Ge.default.Item,{htmlFor:null,label:te.createElement("span",{style:{color:"#5F6368"}},"\u8BFE\u9898\u9002\u5408\u4E13\u4E1A"),name:"major",rules:[{type:"string",max:100,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"}]},te.createElement(re.default,{size:"large",showCount:!0,maxLength:100})),te.createElement(Ge.default.Item,{htmlFor:null,label:te.createElement("span",{style:{color:"#5F6368"}},"\u6307\u5B9A\u5B66\u751F"),name:"student_id"},te.createElement(a.default,{size:"large",showSearch:!0,allowClear:!0,optionFilterProp:"children",placeholder:"\u8BF7\u9009\u62E9\u6307\u5B9A\u5B66\u751F"},(gt=xt==null?void 0:xt.data)==null?void 0:gt.map((ot,ft)=>te.createElement(a.default.Option,{key:ft,value:ot.id},ot.name)))),te.createElement(Ge.default.Item,{htmlFor:null,label:te.createElement("span",{style:{color:"#5F6368"}},"\u8BFE\u9898\u6765\u6E90"),name:"source",rules:[{type:"string",max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"}]},te.createElement(re.default,{size:"large",showCount:!0,maxLength:60})),te.createElement(Ge.default.Item,{htmlFor:null,label:te.createElement("span",{style:{color:"#5F6368"}},"\u8BFE\u9898\u5B66\u79D1\u65B9\u5411"),name:"direction",rules:[{type:"string",max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"}]},te.createElement(re.default,{size:"large",showCount:!0,maxLength:60})),te.createElement(Ge.default.Item,{htmlFor:null,label:te.createElement("span",{style:{color:"#5F6368"}},"\u8BFE\u9898\u4ECB\u7ECD"),name:"description",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BFE\u9898\u4ECB\u7ECD"},{type:"string",max:5e3,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},te.createElement(de.h,{placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5185\u5BB9\uFF0C\u6700\u591A5000\u4E2A\u5B57\u7B26",scrollId:"",watch:!0,height:140})),te.createElement(Ge.default.Item,{htmlFor:null,name:"attachment_ids",style:{display:"flex",alignItems:"center"},valuePropName:"fileList",getValueFromEvent:ot=>Array.isArray(ot)?ot:ot==null?void 0:ot.fileList,normalize:ot=>{const ft="\u3000\u3000";return ot.filter(on=>{if(on.url)return!0;const _t=on.size/1024/1024;return on.name.indexOf(ft)===-1&&(on.name=`${on.name}${ft}${(0,ae.RD)(on.size)}`),!(_t>150||_t==0)})}},te.createElement(y.default,it({},Pe),te.createElement(Ve.Z,{style:{width:"100%"},wrap:!1,align:"middle"},te.createElement(We.Z,null,te.createElement(b.op,{style:{borderRadius:"2px"}},te.createElement("i",{className:"iconfont icon-shangchuan3 mr5"}),"\u6587\u4EF6\u4E0A\u4F20")),te.createElement(We.Z,{style:{marginLeft:"16px",color:"#5F6367"},onClick:ot=>{ot.preventDefault(),ot.stopPropagation()}},"\u4E0A\u4F20\u8BFE\u9898\u76F8\u5173\u6587\u6863\uFF0C\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u4E0D\u8D85\u8FC7150M")))),te.createElement(Ve.Z,{wrap:!1,align:"middle",className:"mb20"},te.createElement(We.Z,null,te.createElement(Ge.default.Item,{htmlFor:null,name:"base_project",valuePropName:"checked",style:{marginBottom:0}},te.createElement(x.Z,null))),te.createElement(Ve.Z,{align:"middle",className:"ml10",style:{color:"#000"}},te.createElement(We.Z,null,"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD"),te.createElement(Ae.Z,{placement:"right",style:{width:"500px"},overlayStyle:{maxWidth:600},title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u5173\u8054\u540E\u5C06\u5E94\u7528\u4E8E\u6BD5\u8BBE\u6240\u6709\u9636\u6BB5"},te.createElement("i",{className:"iconfont icon-tishixiaowenhao ml5",style:{cursor:"pointer",color:"#3061D0"}})))),te.createElement("div",{id:"graduationstageid"},Ne.base_project&&te.createElement("div",{style:{background:"#F6F7F9",padding:"12px 12px 4px 12px",width:"100%",height:104}},te.createElement("span",{style:{color:"#5F6367"}},"\u5B66\u751F\u9700\u8981\u5B8C\u6210\u5173\u8054\u9879\u76EE\u7684\u9636\u6BB5"),te.createElement(Ve.Z,{wrap:!1,align:"middle",className:"mt15"},te.createElement(We.Z,{style:{width:"632px"}},te.createElement(Ge.default.Item,{name:"graduation_stage_id",htmlFor:null,style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5173\u8054\u9879\u76EE\u7684\u9636\u6BB5"}]},te.createElement(a.default,null,Be==null?void 0:Be.map((ot,ft)=>te.createElement(a.default.Option,{key:ft,value:ot.id},ot.name))))),te.createElement(We.Z,{className:"ml20",style:{color:"#999",fontSize:"12px"}},"\u9009\u62E9\u9636\u6BB5\u540E\uFF0C\u5B66\u751F\u5FC5\u987B\u5728\u5BF9\u5E94\u9636\u6BB5\u5B8C\u6210\u9879\u76EE\u5173\u8054")))))))};var kt=(0,Re.connect)(({graduations:Te,loading:Pt})=>({graduations:Te,loading:Pt}))(Kt)},50371:function(st,bt){"use strict";function ne(){const te=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ue=1;ue<arguments.length;ue++){const Re=ue<0||arguments.length<=ue?void 0:arguments[ue];Re&&Object.keys(Re).forEach(Ge=>{const Ae=Re[Ge];Ae!==void 0&&(te[Ge]=Ae)})}return te}bt.Z=ne},13845:function(st,bt,ne){"use strict";ne.d(bt,{F:function(){return te},Z:function(){return ue}});function te(Re){return Re!=null&&Re===Re.window}function ue(Re,Ge){var Ae,Le;if(typeof window=="undefined")return 0;const oe=Ge?"scrollTop":"scrollLeft";let Ve=0;return te(Re)?Ve=Re[Ge?"pageYOffset":"pageXOffset"]:Re instanceof Document?Ve=Re.documentElement[oe]:(Re instanceof HTMLElement||Re)&&(Ve=Re[oe]),Re&&!te(Re)&&typeof Ve!="number"&&(Ve=(Le=((Ae=Re.ownerDocument)!==null&&Ae!==void 0?Ae:Re).documentElement)===null||Le===void 0?void 0:Le[oe]),Ve}},56762:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return ue}});var te=ne(59301);function ue(){const[,Re]=te.useReducer(Ge=>Ge+1,0);return Re}},68031:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ge}});var te=ne(16089);function ue(Ae,Le,oe,Ve){const We=oe-Le;return Ae/=Ve/2,Ae<1?We/2*Ae*Ae*Ae+Le:We/2*((Ae-=2)*Ae*Ae+2)+Le}var Re=ne(13845);function Ge(Ae){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:oe=()=>window,callback:Ve,duration:We=450}=Le,Qe=oe(),Je=(0,Re.Z)(Qe,!0),rt=Date.now(),Ue=()=>{const a=Date.now()-rt,y=ue(a>We?We:a,Je,Ae,We);(0,Re.F)(Qe)?Qe.scrollTo(window.pageXOffset,y):Qe instanceof Document||Qe.constructor.name==="HTMLDocument"?Qe.documentElement.scrollTop=y:Qe.scrollTop=y,a<We?(0,te.Z)(Ue):typeof Ve=="function"&&Ve()};(0,te.Z)(Ue)}},24905:function(st,bt,ne){"use strict";ne.d(bt,{default:function(){return de}});var te=ne(92310),ue=ne.n(te),Re=ne(5630),Ge=ne(59301),Ae=ne(36355),Le=ne(1684),oe=ne(32441),We=Ge.createContext(null),Qe=ne(98447),Je=ne(14088),rt=ne(4572),Ue=function(ce,be){var Se={};for(var Ee in ce)Object.prototype.hasOwnProperty.call(ce,Ee)&&be.indexOf(Ee)<0&&(Se[Ee]=ce[Ee]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ee=Object.getOwnPropertySymbols(ce);pe<Ee.length;pe++)be.indexOf(Ee[pe])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ee[pe])&&(Se[Ee[pe]]=ce[Ee[pe]]);return Se};const re=(ce,be)=>{var Se;const{prefixCls:Ee,className:pe,rootClassName:St,children:mt,indeterminate:Yt=!1,style:et,onMouseEnter:it,onMouseLeave:At,skipGroup:Dt=!1,disabled:Kt}=ce,kt=Ue(ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Te,direction:Pt,checkbox:xt}=Ge.useContext(Ae.E_),Be=Ge.useContext(We),{isFormItemInput:De}=Ge.useContext(oe.aM),vt=Ge.useContext(Le.Z),Wt=(Se=(Be==null?void 0:Be.disabled)||Kt)!==null&&Se!==void 0?Se:vt,gt=Ge.useRef(kt.value);Ge.useEffect(()=>{Be==null||Be.registerValue(kt.value)},[]),Ge.useEffect(()=>{if(!Dt)return kt.value!==gt.current&&(Be==null||Be.cancelValue(gt.current),Be==null||Be.registerValue(kt.value),gt.current=kt.value),()=>Be==null?void 0:Be.cancelValue(kt.value)},[kt.value]);const It=Te("checkbox",Ee),[Ce,Ht]=(0,Qe.ZP)(It),qt=Object.assign({},kt);Be&&!Dt&&(qt.onChange=function(){kt.onChange&&kt.onChange.apply(kt,arguments),Be.toggleOption&&Be.toggleOption({label:mt,value:kt.value})},qt.name=Be.name,qt.checked=Be.value.includes(kt.value));const un=ue()(`${It}-wrapper`,{[`${It}-rtl`]:Pt==="rtl",[`${It}-wrapper-checked`]:qt.checked,[`${It}-wrapper-disabled`]:Wt,[`${It}-wrapper-in-form-item`]:De},xt==null?void 0:xt.className,pe,St,Ht),nn=ue()({[`${It}-indeterminate`]:Yt},rt.A,Ht),Ze=Yt?"mixed":void 0;return Ce(Ge.createElement(Je.Z,{component:"Checkbox",disabled:Wt},Ge.createElement("label",{className:un,style:Object.assign(Object.assign({},xt==null?void 0:xt.style),et),onMouseEnter:it,onMouseLeave:At},Ge.createElement(Re.Z,Object.assign({"aria-checked":Ze},qt,{prefixCls:It,className:nn,disabled:Wt,ref:be})),mt!==void 0&&Ge.createElement("span",null,mt))))};var y=Ge.forwardRef(re),x=ne(3300),b=ne(2738),E=function(ce,be){var Se={};for(var Ee in ce)Object.prototype.hasOwnProperty.call(ce,Ee)&&be.indexOf(Ee)<0&&(Se[Ee]=ce[Ee]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ee=Object.getOwnPropertySymbols(ce);pe<Ee.length;pe++)be.indexOf(Ee[pe])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ee[pe])&&(Se[Ee[pe]]=ce[Ee[pe]]);return Se};const z=(ce,be)=>{const{defaultValue:Se,children:Ee,options:pe=[],prefixCls:St,className:mt,rootClassName:Yt,style:et,onChange:it}=ce,At=E(ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Dt,direction:Kt}=Ge.useContext(Ae.E_),[kt,Te]=Ge.useState(At.value||Se||[]),[Pt,xt]=Ge.useState([]);Ge.useEffect(()=>{"value"in At&&Te(At.value||[])},[At.value]);const Be=Ge.useMemo(()=>pe.map(Me=>typeof Me=="string"||typeof Me=="number"?{label:Me,value:Me}:Me),[pe]),De=Me=>{xt(ye=>ye.filter(ge=>ge!==Me))},vt=Me=>{xt(ye=>[].concat((0,x.Z)(ye),[Me]))},Wt=Me=>{const ye=kt.indexOf(Me.value),ge=(0,x.Z)(kt);ye===-1?ge.push(Me.value):ge.splice(ye,1),"value"in At||Te(ge),it==null||it(ge.filter(Ne=>Pt.includes(Ne)).sort((Ne,dt)=>{const fe=Be.findIndex(He=>He.value===Ne),me=Be.findIndex(He=>He.value===dt);return fe-me}))},gt=Dt("checkbox",St),It=`${gt}-group`,[Ce,Ht]=(0,Qe.ZP)(gt),qt=(0,b.Z)(At,["value","disabled"]),un=pe.length?Be.map(Me=>Ge.createElement(y,{prefixCls:gt,key:Me.value.toString(),disabled:"disabled"in Me?Me.disabled:At.disabled,value:Me.value,checked:kt.includes(Me.value),onChange:Me.onChange,className:`${It}-item`,style:Me.style,title:Me.title},Me.label)):Ee,nn={toggleOption:Wt,value:kt,disabled:At.disabled,name:At.name,registerValue:vt,cancelValue:De},Ze=ue()(It,{[`${It}-rtl`]:Kt==="rtl"},mt,Yt,Ht);return Ce(Ge.createElement("div",Object.assign({className:Ze,style:et},qt,{ref:be}),Ge.createElement(We.Provider,{value:nn},un)))},ee=Ge.forwardRef(z);var ae=Ge.memo(ee);const le=y;le.Group=ae,le.__ANT_CHECKBOX=!0;var de=le},98447:function(st,bt,ne){"use strict";ne.d(bt,{C2:function(){return Ae}});var te=ne(17313),ue=ne(37613),Re=ne(83116);const Ge=Le=>{const{checkboxCls:oe}=Le,Ve=`${oe}-wrapper`;return[{[`${oe}-group`]:Object.assign(Object.assign({},(0,te.Wf)(Le)),{display:"inline-flex",flexWrap:"wrap",columnGap:Le.marginXS,[`> ${Le.antCls}-row`]:{flex:1}}),[Ve]:Object.assign(Object.assign({},(0,te.Wf)(Le)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ve}`]:{marginInlineStart:0},[`&${Ve}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[oe]:Object.assign(Object.assign({},(0,te.Wf)(Le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Le.borderRadiusSM,alignSelf:"center",[`${oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${oe}-inner`]:Object.assign({},(0,te.oN)(Le))},[`${oe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Le.checkboxSize,height:Le.checkboxSize,direction:"ltr",backgroundColor:Le.colorBgContainer,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadiusSM,borderCollapse:"separate",transition:`all ${Le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Le.checkboxSize/14*5,height:Le.checkboxSize/14*8,border:`${Le.lineWidthBold}px solid ${Le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Le.motionDurationFast} ${Le.motionEaseInBack}, opacity ${Le.motionDurationFast}`}},"& + span":{paddingInlineStart:Le.paddingXS,paddingInlineEnd:Le.paddingXS}})},{[`
|
|
${Ve}:not(${Ve}-disabled),
|
|
${oe}:not(${oe}-disabled)
|
|
`]:{[`&:hover ${oe}-inner`]:{borderColor:Le.colorPrimary}},[`${Ve}:not(${Ve}-disabled)`]:{[`&:hover ${oe}-checked:not(${oe}-disabled) ${oe}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${oe}-checked:not(${oe}-disabled):after`]:{borderColor:Le.colorPrimaryHover}}},{[`${oe}-checked`]:{[`${oe}-inner`]:{backgroundColor:Le.colorPrimary,borderColor:Le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Le.motionDurationMid} ${Le.motionEaseOutBack} ${Le.motionDurationFast}`}}},[`
|
|
${Ve}-checked:not(${Ve}-disabled),
|
|
${oe}-checked:not(${oe}-disabled)
|
|
`]:{[`&:hover ${oe}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"}}},{[oe]:{"&-indeterminate":{[`${oe}-inner`]:{backgroundColor:Le.colorBgContainer,borderColor:Le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Le.fontSizeLG/2,height:Le.fontSizeLG/2,backgroundColor:Le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ve}-disabled`]:{cursor:"not-allowed"},[`${oe}-disabled`]:{[`&, ${oe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${oe}-inner`]:{background:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,"&:after":{borderColor:Le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Le.colorTextDisabled},[`&${oe}-indeterminate ${oe}-inner::after`]:{background:Le.colorTextDisabled}}}]};function Ae(Le,oe){const Ve=(0,ue.TS)(oe,{checkboxCls:`.${Le}`,checkboxSize:oe.controlInteractiveSize});return[Ge(Ve)]}bt.ZP=(0,Re.Z)("Checkbox",(Le,oe)=>{let{prefixCls:Ve}=oe;return[Ae(Ve,Le)]})},91857:function(st,bt,ne){"use strict";var te=ne(59301),ue=ne(38819),Re=ne(92310),Ge=ne.n(Re),Ae=ne(31561),Le=ne(70425),oe=ne(18929),Ve=ne(2738),We=ne(79676),Qe=ne(53487),Je=ne(92343),rt=ne(36355),Ue=ne(20834),re=ne(40875),a=ne(88088),y=ne(47211);const x=null,b=ae=>{const{menu:le,arrow:de,prefixCls:ce,children:be,trigger:Se,disabled:Ee,dropdownRender:pe,getPopupContainer:St,overlayClassName:mt,rootClassName:Yt,open:et,onOpenChange:it,visible:At,onVisibleChange:Dt,mouseEnterDelay:Kt=.15,mouseLeaveDelay:kt=.1,autoAdjustOverflow:Te=!0,placement:Pt="",overlay:xt,transitionName:Be}=ae,{getPopupContainer:De,getPrefixCls:vt,direction:Wt}=te.useContext(rt.E_),gt=te.useMemo(()=>{const he=vt();return Be!==void 0?Be:Pt.includes("top")?`${he}-slide-down`:`${he}-slide-up`},[vt,Pt,Be]),It=te.useMemo(()=>Pt?Pt.includes("Center")?Pt.slice(0,Pt.indexOf("Center")):Pt:Wt==="rtl"?"bottomRight":"bottomLeft",[Pt,Wt]),Ce=vt("dropdown",ce),[Ht,qt]=(0,y.Z)(Ce),[,un]=(0,a.Z)(),nn=te.Children.only(be),Ze=(0,Je.Tm)(nn,{className:Ge()(`${Ce}-trigger`,{[`${Ce}-rtl`]:Wt==="rtl"},nn.props.className),disabled:Ee}),Me=Ee?[]:Se;let ye;Me&&Me.includes("contextMenu")&&(ye=!0);const[ge,Ne]=(0,oe.Z)(!1,{value:et!=null?et:At}),dt=(0,Le.useEvent)(he=>{it==null||it(he),Dt==null||Dt(he),Ne(he)}),fe=Ge()(mt,Yt,qt,{[`${Ce}-rtl`]:Wt==="rtl"}),me=(0,We.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:Te,offset:un.marginXXS,arrowWidth:de?un.sizePopupArrow:0,borderRadius:un.borderRadius}),He=te.useCallback(()=>{Ne(!1)},[]),we=()=>{let he;return le!=null&&le.items?he=te.createElement(Ue.default,Object.assign({},le)):typeof xt=="function"?he=xt():he=xt,pe&&(he=pe(he)),he=te.Children.only(typeof he=="string"?te.createElement("span",null,he):he),te.createElement(re.J,{prefixCls:`${Ce}-menu`,expandIcon:te.createElement("span",{className:`${Ce}-menu-submenu-arrow`},te.createElement(ue.Z,{className:`${Ce}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:He,validator:je=>{let{mode:Ot}=je}},he)};return Ht(te.createElement(Ae.Z,Object.assign({alignPoint:ye},(0,Ve.Z)(ae,["rootClassName"]),{mouseEnterDelay:Kt,mouseLeaveDelay:kt,visible:ge,builtinPlacements:me,arrow:!!de,overlayClassName:fe,prefixCls:Ce,getPopupContainer:St||De,transitionName:gt,trigger:Me,overlay:we,placement:It,onVisibleChange:dt}),Ze))};function E(ae){return Object.assign(Object.assign({},ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,Qe.Z)(b,"dropdown",ae=>ae,E),ee=ae=>te.createElement(z,Object.assign({},ae),te.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ee,bt.Z=b},38854:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return a}});var te=ne(91857),ue=ne(92310),Re=ne.n(ue),Ge=ne(59301),Ae=ne(18785),Le=ne(3113),oe=ne(36355),Ve=ne(81327),We=ne(33234),Qe=ne(47211),Je=function(y,x){var b={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&x.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,E=Object.getOwnPropertySymbols(y);z<E.length;z++)x.indexOf(E[z])<0&&Object.prototype.propertyIsEnumerable.call(y,E[z])&&(b[E[z]]=y[E[z]]);return b};const rt=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=Ge.useContext(oe.E_),{prefixCls:z,type:ee="default",danger:ae,disabled:le,loading:de,onClick:ce,htmlType:be,children:Se,className:Ee,menu:pe,arrow:St,autoFocus:mt,overlay:Yt,trigger:et,align:it,open:At,onOpenChange:Dt,placement:Kt,getPopupContainer:kt,href:Te,icon:Pt=Ge.createElement(Ae.Z,null),title:xt,buttonsRender:Be=we=>we,mouseEnterDelay:De,mouseLeaveDelay:vt,overlayClassName:Wt,overlayStyle:gt,destroyPopupOnHide:It,dropdownRender:Ce}=y,Ht=Je(y,["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"]),qt=b("dropdown",z),un=`${qt}-button`,[nn,Ze]=(0,Qe.Z)(qt),Me={menu:pe,arrow:St,autoFocus:mt,align:it,disabled:le,trigger:le?[]:et,onOpenChange:Dt,getPopupContainer:kt||x,mouseEnterDelay:De,mouseLeaveDelay:vt,overlayClassName:Wt,overlayStyle:gt,destroyPopupOnHide:It,dropdownRender:Ce},{compactSize:ye,compactItemClassnames:ge}=(0,We.ri)(qt,E),Ne=Re()(un,ge,Ee,Ze);"overlay"in y&&(Me.overlay=Yt),"open"in y&&(Me.open=At),"placement"in y?Me.placement=Kt:Me.placement=E==="rtl"?"bottomLeft":"bottomRight";const dt=Ge.createElement(Le.ZP,{type:ee,danger:ae,disabled:le,loading:de,onClick:ce,htmlType:be,href:Te,title:xt},Se),fe=Ge.createElement(Le.ZP,{type:ee,danger:ae,icon:Pt}),[me,He]=Be([dt,fe]);return nn(Ge.createElement(Ve.Z.Compact,Object.assign({className:Ne,size:ye,block:!0},Ht),me,Ge.createElement(te.Z,Object.assign({},Me),He)))};rt.__ANT_BUTTON=!0;var Ue=rt;const re=te.Z;re.Button=Ue;var a=re},47211:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Je}});var te=ne(17313),ue=ne(13826),Re=ne(92899),Ge=ne(29878),Ae=ne(19447),Le=ne(83116),oe=ne(37613),We=rt=>{const{componentCls:Ue,menuCls:re,colorError:a,colorTextLightSolid:y}=rt,x=`${re}-item`;return{[`${Ue}, ${Ue}-menu-submenu`]:{[`${re} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const Qe=rt=>{const{componentCls:Ue,menuCls:re,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:ee,fontSize:ae,dropdownEdgeChildPadding:le,colorTextDisabled:de,fontSizeIcon:ce,controlPaddingHorizontal:be,colorBgElevated:Se}=rt;return[{[Ue]:Object.assign(Object.assign({},(0,te.Wf)(rt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:ce}},[`${Ue}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:ce},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${Ue}-wrap-open`]:{[`${E}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${Ue}-placement-bottomLeft,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${Ue}-placement-bottomLeft,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${Ue}-placement-bottom,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${Ue}-placement-bottom,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${Ue}-placement-bottomRight,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${Ue}-placement-bottomRight`]:{animationName:ue.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Ue}-placement-topLeft,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${Ue}-placement-topLeft,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${Ue}-placement-top,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${Ue}-placement-top,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${Ue}-placement-topRight,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${Ue}-placement-topRight`]:{animationName:ue.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Ue}-placement-bottomLeft,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${Ue}-placement-bottom,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${Ue}-placement-bottomRight`]:{animationName:ue.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Ue}-placement-topLeft,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${Ue}-placement-top,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${Ue}-placement-topRight`]:{animationName:ue.ly}})},(0,Ae.ZP)(rt,{colorBg:Se,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ue} ${re}`]:{position:"relative",margin:0},[`${re}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ue}, ${Ue}-menu-submenu`]:{[re]:Object.assign(Object.assign({padding:le,listStyleType:"none",backgroundColor:Se,backgroundClip:"padding-box",borderRadius:rt.borderRadiusLG,outline:"none",boxShadow:rt.boxShadowSecondary},(0,te.Qy)(rt)),{[`${re}-item-group-title`]:{padding:`${ee}px ${be}px`,color:rt.colorTextDescription,transition:`all ${z}`},[`${re}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${re}-item-icon`]:{minWidth:ae,marginInlineEnd:rt.marginXS,fontSize:rt.fontSizeSM},[`${re}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${re}-item, ${re}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ee}px ${be}px`,color:rt.colorText,fontWeight:"normal",fontSize:ae,lineHeight:rt.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:rt.borderRadiusSM,"&:hover, &-active":{backgroundColor:rt.controlItemBgHover}},(0,te.Qy)(rt)),{"&-selected":{color:rt.colorPrimary,backgroundColor:rt.controlItemBgActive,"&:hover, &-active":{backgroundColor:rt.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:Se,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${rt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:rt.colorSplit},[`${Ue}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:rt.paddingXS,[`${Ue}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:rt.colorTextDescription,fontSize:ce,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${rt.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:be+rt.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${Ue}-menu-submenu-title`]:{[`&, ${Ue}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:Se,cursor:"not-allowed"}},[`${re}-submenu-selected ${Ue}-menu-submenu-title`]:{color:rt.colorPrimary}})}},[(0,ue.oN)(rt,"slide-up"),(0,ue.oN)(rt,"slide-down"),(0,Re.Fm)(rt,"move-up"),(0,Re.Fm)(rt,"move-down"),(0,Ge._y)(rt,"zoom-big")]]};var Je=(0,Le.Z)("Dropdown",(rt,Ue)=>{let{rootPrefixCls:re}=Ue;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:ee,borderRadiusLG:ae}=rt,le=(x-b*E)/2,{dropdownArrowOffset:de}=(0,Ae.fS)({contentRadius:ae}),ce=(0,oe.TS)(rt,{menuCls:`${ee}-menu`,rootPrefixCls:re,dropdownArrowDistance:y/2+a,dropdownArrowOffset:de,dropdownPaddingVertical:le,dropdownEdgeChildPadding:z});return[Qe(ce),We(ce)]},rt=>({zIndexPopup:rt.zIndexPopupBase+50}))},8628:function(st,bt,ne){"use strict";var te=ne(59301),ue=ne(34280),Re=ne(56762),Ge=ne(69507);function Ae(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const oe=(0,te.useRef)({}),Ve=(0,Re.Z)(),We=(0,Ge.ZP)();return(0,ue.Z)(()=>{const Qe=We.subscribe(Je=>{oe.current=Je,Le&&Ve()});return()=>We.unsubscribe(Qe)},[]),oe.current}bt.Z=Ae},45818:function(st,bt,ne){"use strict";ne.d(bt,{D:function(){return z},Z:function(){return le}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(ce,be){return ue.createElement(Ae.Z,(0,te.Z)({},ce,{ref:be,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe,We=ne(33853),Qe=ne(38819),Je=ne(92310),rt=ne.n(Je),Ue=ne(2738),a=de=>!isNaN(parseFloat(de))&&isFinite(de),y=ne(36355),x=ne(84966),b=function(de,ce){var be={};for(var Se in de)Object.prototype.hasOwnProperty.call(de,Se)&&ce.indexOf(Se)<0&&(be[Se]=de[Se]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Se=Object.getOwnPropertySymbols(de);Ee<Se.length;Ee++)ce.indexOf(Se[Ee])<0&&Object.prototype.propertyIsEnumerable.call(de,Se[Ee])&&(be[Se[Ee]]=de[Se[Ee]]);return be};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=ue.createContext({}),ee=(()=>{let de=0;return function(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${ce}${de}`}})();var le=ue.forwardRef((de,ce)=>{const{prefixCls:be,className:Se,trigger:Ee,children:pe,defaultCollapsed:St=!1,theme:mt="dark",style:Yt={},collapsible:et=!1,reverseArrow:it=!1,width:At=200,collapsedWidth:Dt=80,zeroWidthTriggerStyle:Kt,breakpoint:kt,onCollapse:Te,onBreakpoint:Pt}=de,xt=b(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Be}=(0,ue.useContext)(x.Gs),[De,vt]=(0,ue.useState)("collapsed"in de?de.collapsed:St),[Wt,gt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{"collapsed"in de&&vt(de.collapsed)},[de.collapsed]);const It=(Ze,Me)=>{"collapsed"in de||vt(Ze),Te==null||Te(Ze,Me)},Ce=(0,ue.useRef)();Ce.current=Ze=>{gt(Ze.matches),Pt==null||Pt(Ze.matches),De!==Ze.matches&&It(Ze.matches,"responsive")},(0,ue.useEffect)(()=>{function Ze(ye){return Ce.current(ye)}let Me;if(typeof window!="undefined"){const{matchMedia:ye}=window;if(ye&&kt&&kt in E){Me=ye(`(max-width: ${E[kt]})`);try{Me.addEventListener("change",Ze)}catch(ge){Me.addListener(Ze)}Ze(Me)}}return()=>{try{Me==null||Me.removeEventListener("change",Ze)}catch(ye){Me==null||Me.removeListener(Ze)}}},[kt]),(0,ue.useEffect)(()=>{const Ze=ee("ant-sider-");return Be.addSider(Ze),()=>Be.removeSider(Ze)},[]);const Ht=()=>{It(!De,"clickTrigger")},{getPrefixCls:qt}=(0,ue.useContext)(y.E_),un=()=>{const Ze=qt("layout-sider",be),Me=(0,Ue.Z)(xt,["collapsed"]),ye=De?Dt:At,ge=a(ye)?`${ye}px`:String(ye),Ne=parseFloat(String(Dt||0))===0?ue.createElement("span",{onClick:Ht,className:rt()(`${Ze}-zero-width-trigger`,`${Ze}-zero-width-trigger-${it?"right":"left"}`),style:Kt},Ee||ue.createElement(Ve,null)):null,me={expanded:it?ue.createElement(Qe.Z,null):ue.createElement(We.Z,null),collapsed:it?ue.createElement(We.Z,null):ue.createElement(Qe.Z,null)}[De?"collapsed":"expanded"],He=Ee!==null?Ne||ue.createElement("div",{className:`${Ze}-trigger`,onClick:Ht,style:{width:ge}},Ee||me):null,we=Object.assign(Object.assign({},Yt),{flex:`0 0 ${ge}`,maxWidth:ge,minWidth:ge,width:ge}),he=rt()(Ze,`${Ze}-${mt}`,{[`${Ze}-collapsed`]:!!De,[`${Ze}-has-trigger`]:et&&Ee!==null&&!Ne,[`${Ze}-below`]:!!Wt,[`${Ze}-zero-width`]:parseFloat(ge)===0},Se);return ue.createElement("aside",Object.assign({className:he},Me,{style:we,ref:ce}),ue.createElement("div",{className:`${Ze}-children`},pe),et||Wt&&Ne?He:null)},nn=ue.useMemo(()=>({siderCollapsed:De}),[De]);return ue.createElement(z.Provider,{value:nn},un())})},84966:function(st,bt,ne){"use strict";ne.d(bt,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return Ue},ZP:function(){return ee}});var te=ne(3300),ue=ne(92310),Re=ne.n(ue),Ge=ne(2738),Ae=ne(59301),Le=ne(36355),oe=ne(83116),We=ae=>{const{componentCls:le,bodyBg:de,lightSiderBg:ce,lightTriggerBg:be,lightTriggerColor:Se}=ae;return{[`${le}-sider-light`]:{background:ce,[`${le}-sider-trigger`]:{color:Se,background:be},[`${le}-sider-zero-width-trigger`]:{color:Se,background:be,border:`1px solid ${de}`,borderInlineStart:0}}}};const Qe=ae=>{const{antCls:le,componentCls:de,colorText:ce,triggerColor:be,footerBg:Se,triggerBg:Ee,headerHeight:pe,headerPadding:St,headerColor:mt,footerPadding:Yt,triggerHeight:et,zeroTriggerHeight:it,zeroTriggerWidth:At,motionDurationMid:Dt,motionDurationSlow:Kt,fontSize:kt,borderRadius:Te,bodyBg:Pt,headerBg:xt,siderBg:Be}=ae;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Pt,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:Be,transition:`all ${Dt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${le}-menu${le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:et},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:et,color:be,lineHeight:`${et}px`,textAlign:"center",background:Ee,cursor:"pointer",transition:`all ${Dt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:pe,insetInlineEnd:-At,zIndex:1,width:At,height:it,color:be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Be,borderStartStartRadius:0,borderStartEndRadius:Te,borderEndEndRadius:Te,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Kt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Kt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-At,borderStartStartRadius:Te,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Te}}}}},We(ae)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:pe,padding:St,color:mt,lineHeight:`${pe}px`,background:xt,[`${le}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Yt,color:ce,fontSize:kt,background:Se},[`${de}-content`]:{flex:"auto",minHeight:0}}};var Je=(0,oe.Z)("Layout",ae=>[Qe(ae)],ae=>{const{colorBgLayout:le,controlHeight:de,controlHeightLG:ce,colorText:be,controlHeightSM:Se,marginXXS:Ee,colorTextLightSolid:pe,colorBgContainer:St}=ae,mt=ce*1.25;return{colorBgHeader:"#001529",colorBgBody:le,colorBgTrigger:"#002140",bodyBg:le,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${mt}px`,headerColor:be,footerPadding:`${Se}px ${mt}px`,footerBg:le,siderBg:"#001529",triggerHeight:ce+Ee*2,triggerBg:"#002140",triggerColor:pe,zeroTriggerWidth:ce,zeroTriggerHeight:ce,lightSiderBg:St,lightTriggerBg:St,lightTriggerColor:be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),rt=function(ae,le){var de={};for(var ce in ae)Object.prototype.hasOwnProperty.call(ae,ce)&&le.indexOf(ce)<0&&(de[ce]=ae[ce]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ce=Object.getOwnPropertySymbols(ae);be<ce.length;be++)le.indexOf(ce[be])<0&&Object.prototype.propertyIsEnumerable.call(ae,ce[be])&&(de[ce[be]]=ae[ce[be]]);return de};const Ue=Ae.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function re(ae){let{suffixCls:le,tagName:de,displayName:ce}=ae;return be=>Ae.forwardRef((Ee,pe)=>Ae.createElement(be,Object.assign({ref:pe,suffixCls:le,tagName:de},Ee)))}const a=Ae.forwardRef((ae,le)=>{const{prefixCls:de,suffixCls:ce,className:be,tagName:Se}=ae,Ee=rt(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:pe}=Ae.useContext(Le.E_),St=pe("layout",de),[mt,Yt]=Je(St),et=ce?`${St}-${ce}`:St;return mt(Ae.createElement(Se,Object.assign({className:Re()(de||et,be,Yt),ref:le},Ee)))}),y=Ae.forwardRef((ae,le)=>{const{direction:de}=Ae.useContext(Le.E_),[ce,be]=Ae.useState([]),{prefixCls:Se,className:Ee,rootClassName:pe,children:St,hasSider:mt,tagName:Yt,style:et}=ae,it=rt(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),At=(0,Ge.Z)(it,["suffixCls"]),{getPrefixCls:Dt,layout:Kt}=Ae.useContext(Le.E_),kt=Dt("layout",Se),[Te,Pt]=Je(kt),xt=Re()(kt,{[`${kt}-has-sider`]:typeof mt=="boolean"?mt:ce.length>0,[`${kt}-rtl`]:de==="rtl"},Kt==null?void 0:Kt.className,Ee,pe,Pt),Be=Ae.useMemo(()=>({siderHook:{addSider:De=>{be(vt=>[].concat((0,te.Z)(vt),[De]))},removeSider:De=>{be(vt=>vt.filter(Wt=>Wt!==De))}}}),[]);return Te(Ae.createElement(Ue.Provider,{value:Be},Ae.createElement(Yt,Object.assign({ref:le,className:xt,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),et)},At),St)))}),x=re({tagName:"div",displayName:"Layout"})(y),b=re({suffixCls:"header",tagName:"header",displayName:"Header"})(a),E=re({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),z=re({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ee=x},40875:function(st,bt,ne){"use strict";ne.d(bt,{J:function(){return Le}});var te=ne(59301),ue=ne(33234),Re=ne(70425),Ge=function(oe,Ve){var We={};for(var Qe in oe)Object.prototype.hasOwnProperty.call(oe,Qe)&&Ve.indexOf(Qe)<0&&(We[Qe]=oe[Qe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Qe=Object.getOwnPropertySymbols(oe);Je<Qe.length;Je++)Ve.indexOf(Qe[Je])<0&&Object.prototype.propertyIsEnumerable.call(oe,Qe[Je])&&(We[Qe[Je]]=oe[Qe[Je]]);return We};const Ae=te.createContext(null),Le=te.forwardRef((oe,Ve)=>{const{children:We}=oe,Qe=Ge(oe,["children"]),Je=te.useContext(Ae),rt=te.useMemo(()=>Object.assign(Object.assign({},Je),Qe),[Je,Qe.prefixCls,Qe.mode,Qe.selectable]);return te.createElement(Ae.Provider,{value:rt},te.createElement(ue.BR,null,(0,Re.supportNodeRef)(We)?te.cloneElement(We,{ref:Ve}):We))});bt.Z=Ae},20834:function(st,bt,ne){"use strict";ne.d(bt,{default:function(){return nn}});var te=ne(15285),ue=ne(59301),Re=ne(45818),Ge=ne(92310),Ae=ne.n(Ge),Le=ne(36355),oe=function(Ze,Me){var ye={};for(var ge in Ze)Object.prototype.hasOwnProperty.call(Ze,ge)&&Me.indexOf(ge)<0&&(ye[ge]=Ze[ge]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ge=Object.getOwnPropertySymbols(Ze);Ne<ge.length;Ne++)Me.indexOf(ge[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Ze,ge[Ne])&&(ye[ge[Ne]]=Ze[ge[Ne]]);return ye},We=Ze=>{const{prefixCls:Me,className:ye,dashed:ge}=Ze,Ne=oe(Ze,["prefixCls","className","dashed"]),{getPrefixCls:dt}=ue.useContext(Le.E_),fe=dt("menu",Me),me=Ae()({[`${fe}-item-divider-dashed`]:!!ge},ye);return ue.createElement(te.iz,Object.assign({className:me},Ne))},Qe=ne(11592),Je=ne(2738),rt=ne(6848),Ue=ne(92343),a=(0,ue.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ze=>{var Me;const{className:ye,children:ge,icon:Ne,title:dt,danger:fe}=Ze,{prefixCls:me,firstLevel:He,direction:we,disableMenuItemTitleTooltip:he,inlineCollapsed:je}=ue.useContext(a),Ot=Ke=>{const nt=ue.createElement("span",{className:`${me}-title-content`},ge);return(!Ne||(0,Ue.l$)(ge)&&ge.type==="span")&&ge&&Ke&&He&&typeof ge=="string"?ue.createElement("div",{className:`${me}-inline-collapsed-noicon`},ge.charAt(0)):nt},{siderCollapsed:ct}=ue.useContext(Re.D);let Bt=dt;typeof dt=="undefined"?Bt=He?ge:"":dt===!1&&(Bt="");const wt={title:Bt};!ct&&!je&&(wt.title=null,wt.open=!1);const Ft=(0,Qe.Z)(ge).length;let Pe=ue.createElement(te.ck,Object.assign({},(0,Je.Z)(Ze,["title","icon","danger"]),{className:Ae()({[`${me}-item-danger`]:fe,[`${me}-item-only-child`]:(Ne?Ft+1:Ft)===1},ye),title:typeof dt=="string"?dt:void 0}),(0,Ue.Tm)(Ne,{className:Ae()((0,Ue.l$)(Ne)?(Me=Ne.props)===null||Me===void 0?void 0:Me.className:"",`${me}-item-icon`)}),Ot(je));return he||(Pe=ue.createElement(rt.Z,Object.assign({},wt,{placement:we==="rtl"?"left":"right",overlayClassName:`${me}-inline-collapsed-tooltip`}),Pe)),Pe},E=Ze=>{var Me;const{popupClassName:ye,icon:ge,title:Ne,theme:dt}=Ze,fe=ue.useContext(a),{prefixCls:me,inlineCollapsed:He,theme:we}=fe,he=(0,te.Xl)();let je;if(!ge)je=He&&!he.length&&Ne&&typeof Ne=="string"?ue.createElement("div",{className:`${me}-inline-collapsed-noicon`},Ne.charAt(0)):ue.createElement("span",{className:`${me}-title-content`},Ne);else{const ct=(0,Ue.l$)(Ne)&&Ne.type==="span";je=ue.createElement(ue.Fragment,null,(0,Ue.Tm)(ge,{className:Ae()((0,Ue.l$)(ge)?(Me=ge.props)===null||Me===void 0?void 0:Me.className:"",`${me}-item-icon`)}),ct?Ne:ue.createElement("span",{className:`${me}-title-content`},Ne))}const Ot=ue.useMemo(()=>Object.assign(Object.assign({},fe),{firstLevel:!1}),[fe]);return ue.createElement(a.Provider,{value:Ot},ue.createElement(te.Wd,Object.assign({},(0,Je.Z)(Ze,["icon"]),{title:je,popupClassName:Ae()(me,ye,`${me}-${dt||we}`)})))},z=ne(18785),ee=ne(70425),ae=ne(62892),le=ne(40875),de=function(Ze,Me){var ye={};for(var ge in Ze)Object.prototype.hasOwnProperty.call(Ze,ge)&&Me.indexOf(ge)<0&&(ye[ge]=Ze[ge]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ge=Object.getOwnPropertySymbols(Ze);Ne<ge.length;Ne++)Me.indexOf(ge[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Ze,ge[Ne])&&(ye[ge[Ne]]=Ze[ge[Ne]]);return ye};function ce(Ze){return(Ze||[]).map((Me,ye)=>{if(Me&&typeof Me=="object"){const ge=Me,{label:Ne,children:dt,key:fe,type:me}=ge,He=de(ge,["label","children","key","type"]),we=fe!=null?fe:`tmp-${ye}`;return dt||me==="group"?me==="group"?ue.createElement(te.BW,Object.assign({key:we},He,{title:Ne}),ce(dt)):ue.createElement(E,Object.assign({key:we},He,{title:Ne}),ce(dt)):me==="divider"?ue.createElement(We,Object.assign({key:we},He)):ue.createElement(x,Object.assign({key:we},He),Ne)}return null}).filter(Me=>Me)}function be(Ze){return ue.useMemo(()=>Ze&&ce(Ze),[Ze])}var Se=ne(64993),Ee=ne(17313),pe=ne(8378),St=ne(13826),mt=ne(29878),Yt=ne(83116),et=ne(37613),At=Ze=>{const{componentCls:Me,motionDurationSlow:ye,horizontalLineHeight:ge,colorSplit:Ne,lineWidth:dt,lineType:fe,itemPaddingInline:me}=Ze;return{[`${Me}-horizontal`]:{lineHeight:ge,border:0,borderBottom:`${dt}px ${fe} ${Ne}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Me}-item, ${Me}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:me},[`> ${Me}-item:hover,
|
|
> ${Me}-item-active,
|
|
> ${Me}-submenu ${Me}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Me}-item, ${Me}-submenu-title`]:{transition:[`border-color ${ye}`,`background ${ye}`].join(",")},[`${Me}-submenu-arrow`]:{display:"none"}}}},Kt=Ze=>{let{componentCls:Me,menuArrowOffset:ye}=Ze;return{[`${Me}-rtl`]:{direction:"rtl"},[`${Me}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Me}-rtl${Me}-vertical,
|
|
${Me}-submenu-rtl ${Me}-vertical`]:{[`${Me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ye})`},"&::after":{transform:`rotate(45deg) translateY(${ye})`}}}}};const kt=Ze=>Object.assign({},(0,Ee.oN)(Ze));var Pt=(Ze,Me)=>{const{componentCls:ye,itemColor:ge,itemSelectedColor:Ne,groupTitleColor:dt,itemBg:fe,subMenuItemBg:me,itemSelectedBg:He,activeBarHeight:we,activeBarWidth:he,activeBarBorderWidth:je,motionDurationSlow:Ot,motionEaseInOut:ct,motionEaseOut:Bt,itemPaddingInline:wt,motionDurationMid:Ft,itemHoverColor:Pe,lineType:Ke,colorSplit:nt,itemDisabledColor:lt,dangerItemColor:Lt,dangerItemHoverColor:zt,dangerItemSelectedColor:ot,dangerItemActiveBg:ft,dangerItemSelectedBg:Xt,itemHoverBg:on,itemActiveBg:_t,menuSubMenuBg:hn,horizontalItemSelectedColor:Mn,horizontalItemSelectedBg:Zn,horizontalItemBorderRadius:an,horizontalItemHoverBg:Un,popupBg:Kn}=Ze;return{[`${ye}-${Me}, ${ye}-${Me} > ${ye}`]:{color:ge,background:fe,[`&${ye}-root:focus-visible`]:Object.assign({},kt(Ze)),[`${ye}-item-group-title`]:{color:dt},[`${ye}-submenu-selected`]:{[`> ${ye}-submenu-title`]:{color:Ne}},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{color:`${lt} !important`},[`${ye}-item:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{[`&:hover, > ${ye}-submenu-title:hover`]:{color:Pe}},[`&:not(${ye}-horizontal)`]:{[`${ye}-item:not(${ye}-item-selected)`]:{"&:hover":{backgroundColor:on},"&:active":{backgroundColor:_t}},[`${ye}-submenu-title`]:{"&:hover":{backgroundColor:on},"&:active":{backgroundColor:_t}}},[`${ye}-item-danger`]:{color:Lt,[`&${ye}-item:hover`]:{[`&:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{color:zt}},[`&${ye}-item:active`]:{background:ft}},[`${ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ye}-item-selected`]:{color:Ne,[`&${ye}-item-danger`]:{color:ot},"a, a:hover":{color:"inherit"}},[`& ${ye}-item-selected`]:{backgroundColor:He,[`&${ye}-item-danger`]:{backgroundColor:Xt}},[`${ye}-item, ${ye}-submenu-title`]:{[`&:not(${ye}-item-disabled):focus-visible`]:Object.assign({},kt(Ze))},[`&${ye}-submenu > ${ye}`]:{backgroundColor:hn},[`&${ye}-popup > ${ye}`]:{backgroundColor:Kn},[`&${ye}-horizontal`]:Object.assign(Object.assign({},Me==="dark"?{borderBottom:0}:{}),{[`> ${ye}-item, > ${ye}-submenu`]:{top:je,marginTop:-je,marginBottom:0,borderRadius:an,"&::after":{position:"absolute",insetInline:wt,bottom:0,borderBottom:`${we}px solid transparent`,transition:`border-color ${Ot} ${ct}`,content:'""'},"&:hover, &-active, &-open":{background:Un,"&::after":{borderBottomWidth:we,borderBottomColor:Mn}},"&-selected":{color:Mn,backgroundColor:Zn,"&:hover":{backgroundColor:Zn},"&::after":{borderBottomWidth:we,borderBottomColor:Mn}}}}),[`&${ye}-root`]:{[`&${ye}-inline, &${ye}-vertical`]:{borderInlineEnd:`${je}px ${Ke} ${nt}`}},[`&${ye}-inline`]:{[`${ye}-sub${ye}-inline`]:{background:me},[`${ye}-item, ${ye}-submenu-title`]:je&&he?{width:`calc(100% + ${je}px)`}:{},[`${ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${he}px solid ${Ne}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ft} ${Bt}`,`opacity ${Ft} ${Bt}`].join(","),content:'""'},[`&${ye}-item-danger`]:{"&::after":{borderInlineEndColor:ot}}},[`${ye}-selected, ${ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ft} ${ct}`,`opacity ${Ft} ${ct}`].join(",")}}}}}};const xt=Ze=>{const{componentCls:Me,itemHeight:ye,itemMarginInline:ge,padding:Ne,menuArrowSize:dt,marginXS:fe,itemMarginBlock:me}=Ze,He=Ne+dt+fe;return{[`${Me}-item`]:{position:"relative",overflow:"hidden"},[`${Me}-item, ${Me}-submenu-title`]:{height:ye,lineHeight:`${ye}px`,paddingInline:Ne,overflow:"hidden",textOverflow:"ellipsis",marginInline:ge,marginBlock:me,width:`calc(100% - ${ge*2}px)`},[`> ${Me}-item,
|
|
> ${Me}-submenu > ${Me}-submenu-title`]:{height:ye,lineHeight:`${ye}px`},[`${Me}-item-group-list ${Me}-submenu-title,
|
|
${Me}-submenu-title`]:{paddingInlineEnd:He}}};var De=Ze=>{const{componentCls:Me,iconCls:ye,itemHeight:ge,colorTextLightSolid:Ne,dropdownWidth:dt,controlHeightLG:fe,motionDurationMid:me,motionEaseOut:He,paddingXL:we,itemMarginInline:he,fontSizeLG:je,motionDurationSlow:Ot,paddingXS:ct,boxShadowSecondary:Bt,collapsedWidth:wt,collapsedIconSize:Ft}=Ze,Pe={height:ge,lineHeight:`${ge}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Me]:{"&-inline, &-vertical":Object.assign({[`&${Me}-root`]:{boxShadow:"none"}},xt(Ze))},[`${Me}-submenu-popup`]:{[`${Me}-vertical`]:Object.assign(Object.assign({},xt(Ze)),{boxShadow:Bt})}},{[`${Me}-submenu-popup ${Me}-vertical${Me}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${fe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Me}-inline`]:{width:"100%",[`&${Me}-root`]:{[`${Me}-item, ${Me}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ot}`,`background ${Ot}`,`padding ${me} ${He}`].join(","),[`> ${Me}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Me}-sub${Me}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Me}-submenu > ${Me}-submenu-title`]:Pe,[`& ${Me}-item-group-title`]:{paddingInlineStart:we}},[`${Me}-item`]:Pe}},{[`${Me}-inline-collapsed`]:{width:wt,[`&${Me}-root`]:{[`${Me}-item, ${Me}-submenu ${Me}-submenu-title`]:{[`> ${Me}-inline-collapsed-noicon`]:{fontSize:je,textAlign:"center"}}},[`> ${Me}-item,
|
|
> ${Me}-item-group > ${Me}-item-group-list > ${Me}-item,
|
|
> ${Me}-item-group > ${Me}-item-group-list > ${Me}-submenu > ${Me}-submenu-title,
|
|
> ${Me}-submenu > ${Me}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${je/2}px - ${he}px)`,textOverflow:"clip",[`
|
|
${Me}-submenu-arrow,
|
|
${Me}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Me}-item-icon, ${ye}`]:{margin:0,fontSize:Ft,lineHeight:`${ge}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Me}-item-icon, ${ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Me}-item-icon, ${ye}`]:{display:"none"},"a, a:hover":{color:Ne}},[`${Me}-item-group-title`]:Object.assign(Object.assign({},Ee.vS),{paddingInline:ct})}}]};const vt=Ze=>{const{componentCls:Me,motionDurationSlow:ye,motionDurationMid:ge,motionEaseInOut:Ne,motionEaseOut:dt,iconCls:fe,iconSize:me,iconMarginInlineEnd:He}=Ze;return{[`${Me}-item, ${Me}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ye}`,`background ${ye}`,`padding ${ye} ${Ne}`].join(","),[`${Me}-item-icon, ${fe}`]:{minWidth:me,fontSize:me,transition:[`font-size ${ge} ${dt}`,`margin ${ye} ${Ne}`,`color ${ye}`].join(","),"+ span":{marginInlineStart:He,opacity:1,transition:[`opacity ${ye} ${Ne}`,`margin ${ye}`,`color ${ye}`].join(",")}},[`${Me}-item-icon`]:Object.assign({},(0,Ee.Ro)()),[`&${Me}-item-only-child`]:{[`> ${fe}, > ${Me}-item-icon`]:{marginInlineEnd:0}}},[`${Me}-item-disabled, ${Me}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Me}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Wt=Ze=>{const{componentCls:Me,motionDurationSlow:ye,motionEaseInOut:ge,borderRadius:Ne,menuArrowSize:dt,menuArrowOffset:fe}=Ze;return{[`${Me}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ze.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ye} ${ge}, opacity ${ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:Ne,transition:[`background ${ye} ${ge}`,`transform ${ye} ${ge}`,`top ${ye} ${ge}`,`color ${ye} ${ge}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${fe})`},"&::after":{transform:`rotate(-45deg) translateY(${fe})`}}}}},gt=Ze=>{const{antCls:Me,componentCls:ye,fontSize:ge,motionDurationSlow:Ne,motionDurationMid:dt,motionEaseInOut:fe,paddingXS:me,padding:He,colorSplit:we,lineWidth:he,zIndexPopup:je,borderRadiusLG:Ot,subMenuItemBorderRadius:ct,menuArrowSize:Bt,menuArrowOffset:wt,lineType:Ft,menuPanelMaskInset:Pe,groupTitleLineHeight:Ke,groupTitleFontSize:nt}=Ze;return[{"":{[`${ye}`]:Object.assign(Object.assign({},(0,Ee.dF)()),{"&-hidden":{display:"none"}})},[`${ye}-submenu-hidden`]:{display:"none"}},{[ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(Ze)),(0,Ee.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ge,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ne} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ye}-item`]:{flex:"none"}},[`${ye}-item, ${ye}-submenu, ${ye}-submenu-title`]:{borderRadius:Ze.itemBorderRadius},[`${ye}-item-group-title`]:{padding:`${me}px ${He}px`,fontSize:nt,lineHeight:Ke,transition:`all ${Ne}`},[`&-horizontal ${ye}-submenu`]:{transition:[`border-color ${Ne} ${fe}`,`background ${Ne} ${fe}`].join(",")},[`${ye}-submenu, ${ye}-submenu-inline`]:{transition:[`border-color ${Ne} ${fe}`,`background ${Ne} ${fe}`,`padding ${dt} ${fe}`].join(",")},[`${ye}-submenu ${ye}-sub`]:{cursor:"initial",transition:[`background ${Ne} ${fe}`,`padding ${Ne} ${fe}`].join(",")},[`${ye}-title-content`]:{transition:`color ${Ne}`},[`${ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:we,borderStyle:Ft,borderWidth:0,borderTopWidth:he,marginBlock:he,padding:0,"&-dashed":{borderStyle:"dashed"}}}),vt(Ze)),{[`${ye}-item-group`]:{[`${ye}-item-group-list`]:{margin:0,padding:0,[`${ye}-item, ${ye}-submenu-title`]:{paddingInline:`${ge*2}px ${He}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:je,borderRadius:Ot,boxShadow:"none",transformOrigin:"0 0",[`&${ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Pe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Pe},"\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:Ze.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ze.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ze.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ze.paddingXS},[`> ${ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ot},vt(Ze)),Wt(Ze)),{[`${ye}-item, ${ye}-submenu > ${ye}-submenu-title`]:{borderRadius:ct},[`${ye}-submenu-title::after`]:{transition:`transform ${Ne} ${fe}`}})}}),Wt(Ze)),{[`&-inline-collapsed ${ye}-submenu-arrow,
|
|
&-inline ${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${wt})`},"&::after":{transform:`rotate(45deg) translateX(-${wt})`}},[`${ye}-submenu-open${ye}-submenu-inline > ${ye}-submenu-title > ${ye}-submenu-arrow`]:{transform:`translateY(-${Bt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${wt})`},"&::before":{transform:`rotate(45deg) translateX(${wt})`}}})},{[`${Me}-layout-header`]:{[ye]:{lineHeight:"inherit"}}}]};var It=(Ze,Me)=>(0,Yt.Z)("Menu",ge=>{if(Me===!1)return[];const{colorBgElevated:Ne,colorPrimary:dt,colorTextLightSolid:fe,controlHeightLG:me,fontSize:He,darkItemColor:we,darkDangerItemColor:he,darkItemBg:je,darkSubMenuItemBg:Ot,darkItemSelectedColor:ct,darkItemSelectedBg:Bt,darkDangerItemSelectedBg:wt,darkItemHoverBg:Ft,darkGroupTitleColor:Pe,darkItemHoverColor:Ke,darkItemDisabledColor:nt,darkDangerItemHoverColor:lt,darkDangerItemSelectedColor:Lt,darkDangerItemActiveBg:zt}=ge,ot=He/7*5,ft=(0,et.TS)(ge,{menuArrowSize:ot,menuHorizontalHeight:me*1.15,menuArrowOffset:`${ot*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ne}),Xt=(0,et.TS)(ft,{itemColor:we,itemHoverColor:Ke,groupTitleColor:Pe,itemSelectedColor:ct,itemBg:je,popupBg:je,subMenuItemBg:Ot,itemActiveBg:"transparent",itemSelectedBg:Bt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ft,itemDisabledColor:nt,dangerItemColor:he,dangerItemHoverColor:lt,dangerItemSelectedColor:Lt,dangerItemActiveBg:zt,dangerItemSelectedBg:wt,menuSubMenuBg:Ot,horizontalItemSelectedColor:fe,horizontalItemSelectedBg:dt});return[gt(ft),At(ft),De(ft),Pt(ft,"light"),Pt(Xt,"dark"),Kt(ft),(0,pe.Z)(ft),(0,St.oN)(ft,"slide-up"),(0,St.oN)(ft,"slide-down"),(0,mt._y)(ft,"zoom-big")]},ge=>{const{colorPrimary:Ne,colorError:dt,colorTextDisabled:fe,colorErrorBg:me,colorText:He,colorTextDescription:we,colorBgContainer:he,colorFillAlter:je,colorFillContent:Ot,lineWidth:ct,lineWidthBold:Bt,controlItemBgActive:wt,colorBgTextHover:Ft,controlHeightLG:Pe,lineHeight:Ke,colorBgElevated:nt,marginXXS:lt,padding:Lt,fontSize:zt,controlHeightSM:ot,fontSizeLG:ft,colorTextLightSolid:Xt,colorErrorHover:on}=ge,_t=new Se.C(Xt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ge.zIndexPopupBase+50,radiusItem:ge.borderRadiusLG,itemBorderRadius:ge.borderRadiusLG,radiusSubMenuItem:ge.borderRadiusSM,subMenuItemBorderRadius:ge.borderRadiusSM,colorItemText:He,itemColor:He,colorItemTextHover:He,itemHoverColor:He,colorItemTextHoverHorizontal:Ne,horizontalItemHoverColor:Ne,colorGroupTitle:we,groupTitleColor:we,colorItemTextSelected:Ne,itemSelectedColor:Ne,colorItemTextSelectedHorizontal:Ne,horizontalItemSelectedColor:Ne,colorItemBg:he,itemBg:he,colorItemBgHover:Ft,itemHoverBg:Ft,colorItemBgActive:Ot,itemActiveBg:wt,colorSubItemBg:je,subMenuItemBg:je,colorItemBgSelected:wt,itemSelectedBg:wt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Bt,activeBarHeight:Bt,colorActiveBarBorderSize:ct,activeBarBorderWidth:ct,colorItemTextDisabled:fe,itemDisabledColor:fe,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:me,dangerItemActiveBg:me,colorDangerItemBgSelected:me,dangerItemSelectedBg:me,itemMarginInline:ge.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Pe,groupTitleLineHeight:Ke,collapsedWidth:Pe*2,popupBg:nt,itemMarginBlock:lt,itemPaddingInline:Lt,horizontalLineHeight:`${Pe*1.15}px`,iconSize:zt,iconMarginInlineEnd:ot-zt,collapsedIconSize:ft,groupTitleFontSize:zt,darkItemDisabledColor:new Se.C(Xt).setAlpha(.25).toRgbString(),darkItemColor:_t,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Xt,darkItemSelectedBg:Ne,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:_t,darkItemHoverColor:Xt,darkDangerItemHoverColor:on,darkDangerItemSelectedColor:Xt,darkDangerItemActiveBg:dt}},{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"]]})(Ze),Ce=function(Ze,Me){var ye={};for(var ge in Ze)Object.prototype.hasOwnProperty.call(Ze,ge)&&Me.indexOf(ge)<0&&(ye[ge]=Ze[ge]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ge=Object.getOwnPropertySymbols(Ze);Ne<ge.length;Ne++)Me.indexOf(ge[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Ze,ge[Ne])&&(ye[ge[Ne]]=Ze[ge[Ne]]);return ye},qt=(0,ue.forwardRef)((Ze,Me)=>{var ye,ge;const Ne=ue.useContext(le.Z),dt=Ne||{},{getPrefixCls:fe,getPopupContainer:me,direction:He,menu:we}=ue.useContext(Le.E_),he=fe(),{prefixCls:je,className:Ot,style:ct,theme:Bt="light",expandIcon:wt,_internalDisableMenuItemTitleTooltip:Ft,inlineCollapsed:Pe,siderCollapsed:Ke,items:nt,children:lt,rootClassName:Lt,mode:zt,selectable:ot,onClick:ft,overflowedIndicatorPopupClassName:Xt}=Ze,on=Ce(Ze,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),_t=(0,Je.Z)(on,["collapsedWidth"]),hn=be(nt)||lt;(ye=dt.validator)===null||ye===void 0||ye.call(dt,{mode:zt});const Mn=(0,ee.useEvent)(function(){var sa;ft==null||ft.apply(void 0,arguments),(sa=dt.onClick)===null||sa===void 0||sa.call(dt)}),Zn=dt.mode||zt,an=ot!=null?ot:dt.selectable,Un=ue.useMemo(()=>Ke!==void 0?Ke:Pe,[Pe,Ke]),Kn={horizontal:{motionName:`${he}-slide-up`},inline:(0,ae.Z)(he),other:{motionName:`${he}-zoom-big`}},On=fe("menu",je||dt.prefixCls),[Xn,fa]=It(On,!Ne),na=Ae()(`${On}-${Bt}`,we==null?void 0:we.className,Ot);let ya;if(typeof wt=="function")ya=wt;else if(wt===null||wt===!1)ya=null;else if(dt.expandIcon===null||dt.expandIcon===!1)ya=null;else{const sa=wt!=null?wt:dt.expandIcon;ya=(0,Ue.Tm)(sa,{className:Ae()(`${On}-submenu-expand-icon`,(0,Ue.l$)(sa)?(ge=sa.props)===null||ge===void 0?void 0:ge.className:"")})}const Ra=ue.useMemo(()=>({prefixCls:On,inlineCollapsed:Un||!1,direction:He,firstLevel:!0,theme:Bt,mode:Zn,disableMenuItemTitleTooltip:Ft}),[On,Un,He,Ft,Bt]);return Xn(ue.createElement(le.Z.Provider,{value:null},ue.createElement(a.Provider,{value:Ra},ue.createElement(te.ZP,Object.assign({getPopupContainer:me,overflowedIndicator:ue.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ae()(On,`${On}-${Bt}`,Xt),mode:Zn,selectable:an,onClick:Mn},_t,{inlineCollapsed:Un,style:Object.assign(Object.assign({},we==null?void 0:we.style),ct),className:na,prefixCls:On,direction:He,defaultMotions:Kn,expandIcon:ya,ref:Me,rootClassName:Ae()(Lt,fa)}),hn))))});const un=(0,ue.forwardRef)((Ze,Me)=>{const ye=(0,ue.useRef)(null),ge=ue.useContext(Re.D);return(0,ue.useImperativeHandle)(Me,()=>({menu:ye.current,focus:Ne=>{var dt;(dt=ye.current)===null||dt===void 0||dt.focus(Ne)}})),ue.createElement(qt,Object.assign({ref:ye},Ze,ge))});un.Item=x,un.SubMenu=E,un.Divider=We,un.ItemGroup=te.BW;var nn=un},58421:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return dt}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(me,He){return ue.createElement(Ae.Z,(0,te.Z)({},me,{ref:He,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe,We=ne(49198),Qe=ne(33853),Je=ne(38819),rt=ne(92310),Ue=ne.n(rt),re=ne(74430),a=ne(27247),y=ne(33377),x=ne(93912),b=ne(18881),E=ne(85461),z=ne(26112),ee={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ae=ee,le=ne(91735),de=function(fe){(0,b.Z)(He,fe);var me=(0,E.Z)(He);function He(){var we;(0,y.Z)(this,He);for(var he=arguments.length,je=new Array(he),Ot=0;Ot<he;Ot++)je[Ot]=arguments[Ot];return we=me.call.apply(me,[this].concat(je)),we.state={goInputText:""},we.getValidValue=function(){var ct=we.state.goInputText;return!ct||Number.isNaN(ct)?void 0:Number(ct)},we.buildOptionText=function(ct){return"".concat(ct," ").concat(we.props.locale.items_per_page)},we.changeSize=function(ct){we.props.changeSize(Number(ct))},we.handleChange=function(ct){we.setState({goInputText:ct.target.value})},we.handleBlur=function(ct){var Bt=we.props,wt=Bt.goButton,Ft=Bt.quickGo,Pe=Bt.rootPrefixCls,Ke=we.state.goInputText;wt||Ke===""||(we.setState({goInputText:""}),!(ct.relatedTarget&&(ct.relatedTarget.className.indexOf("".concat(Pe,"-item-link"))>=0||ct.relatedTarget.className.indexOf("".concat(Pe,"-item"))>=0))&&Ft(we.getValidValue()))},we.go=function(ct){var Bt=we.state.goInputText;Bt!==""&&(ct.keyCode===ae.ENTER||ct.type==="click")&&(we.setState({goInputText:""}),we.props.quickGo(we.getValidValue()))},we}return(0,x.Z)(He,[{key:"getPageSizeOptions",value:function(){var he=this.props,je=he.pageSize,Ot=he.pageSizeOptions;return Ot.some(function(ct){return ct.toString()===je.toString()})?Ot:Ot.concat([je.toString()]).sort(function(ct,Bt){var wt=Number.isNaN(Number(ct))?0:Number(ct),Ft=Number.isNaN(Number(Bt))?0:Number(Bt);return wt-Ft})}},{key:"render",value:function(){var he=this,je=this.props,Ot=je.pageSize,ct=je.locale,Bt=je.rootPrefixCls,wt=je.changeSize,Ft=je.quickGo,Pe=je.goButton,Ke=je.selectComponentClass,nt=je.buildOptionText,lt=je.selectPrefixCls,Lt=je.disabled,zt=this.state.goInputText,ot="".concat(Bt,"-options"),ft=Ke,Xt=null,on=null,_t=null;if(!wt&&!Ft)return null;var hn=this.getPageSizeOptions();if(wt&&ft){var Mn=hn.map(function(Zn,an){return ue.createElement(ft.Option,{key:an,value:Zn.toString()},(nt||he.buildOptionText)(Zn))});Xt=ue.createElement(ft,{disabled:Lt,prefixCls:lt,showSearch:!1,className:"".concat(ot,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ot||hn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(an){return an.parentNode},"aria-label":ct.page_size,defaultOpen:!1},Mn)}return Ft&&(Pe&&(_t=typeof Pe=="boolean"?ue.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Lt,className:"".concat(ot,"-quick-jumper-button")},ct.jump_to_confirm):ue.createElement("span",{onClick:this.go,onKeyUp:this.go},Pe)),on=ue.createElement("div",{className:"".concat(ot,"-quick-jumper")},ct.jump_to,ue.createElement("input",{disabled:Lt,type:"text",value:zt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ct.page}),ct.page,_t)),ue.createElement("li",{className:"".concat(ot)},Xt,on)}}]),He}(ue.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var ce=de,be=function(me){var He,we=me.rootPrefixCls,he=me.page,je=me.active,Ot=me.className,ct=me.showTitle,Bt=me.onClick,wt=me.onKeyPress,Ft=me.itemRender,Pe="".concat(we,"-item"),Ke=Ue()(Pe,"".concat(Pe,"-").concat(he),(He={},(0,re.Z)(He,"".concat(Pe,"-active"),je),(0,re.Z)(He,"".concat(Pe,"-disabled"),!he),(0,re.Z)(He,me.className,Ot),He)),nt=function(){Bt(he)},lt=function(ot){wt(ot,Bt,he)},Lt=Ft(he,"page",ue.createElement("a",{rel:"nofollow"},he));return Lt?ue.createElement("li",{title:ct?he.toString():null,className:Ke,onClick:nt,onKeyPress:lt,tabIndex:0},Lt):null},Se=be;function Ee(){}function pe(fe){var me=Number(fe);return typeof me=="number"&&!Number.isNaN(me)&&isFinite(me)&&Math.floor(me)===me}var St=function(me,He,we){return we};function mt(fe,me,He){var we=typeof fe=="undefined"?me.pageSize:fe;return Math.floor((He.total-1)/we)+1}var Yt=function(fe){(0,b.Z)(He,fe);var me=(0,E.Z)(He);function He(we){var he;(0,y.Z)(this,He),he=me.call(this,we),he.paginationNode=ue.createRef(),he.getJumpPrevPage=function(){return Math.max(1,he.state.current-(he.props.showLessItems?3:5))},he.getJumpNextPage=function(){return Math.min(mt(void 0,he.state,he.props),he.state.current+(he.props.showLessItems?3:5))},he.getItemIcon=function(wt,Ft){var Pe=he.props.prefixCls,Ke=wt||ue.createElement("button",{type:"button","aria-label":Ft,className:"".concat(Pe,"-item-link")});return typeof wt=="function"&&(Ke=ue.createElement(wt,(0,a.Z)({},he.props))),Ke},he.isValid=function(wt){var Ft=he.props.total;return pe(wt)&&wt!==he.state.current&&pe(Ft)&&Ft>0},he.shouldDisplayQuickJumper=function(){var wt=he.props,Ft=wt.showQuickJumper,Pe=wt.total,Ke=he.state.pageSize;return Pe<=Ke?!1:Ft},he.handleKeyDown=function(wt){(wt.keyCode===ae.ARROW_UP||wt.keyCode===ae.ARROW_DOWN)&&wt.preventDefault()},he.handleKeyUp=function(wt){var Ft=he.getValidValue(wt),Pe=he.state.currentInputValue;Ft!==Pe&&he.setState({currentInputValue:Ft}),wt.keyCode===ae.ENTER?he.handleChange(Ft):wt.keyCode===ae.ARROW_UP?he.handleChange(Ft-1):wt.keyCode===ae.ARROW_DOWN&&he.handleChange(Ft+1)},he.handleBlur=function(wt){var Ft=he.getValidValue(wt);he.handleChange(Ft)},he.changePageSize=function(wt){var Ft=he.state.current,Pe=mt(wt,he.state,he.props);Ft=Ft>Pe?Pe:Ft,Pe===0&&(Ft=he.state.current),typeof wt=="number"&&("pageSize"in he.props||he.setState({pageSize:wt}),"current"in he.props||he.setState({current:Ft,currentInputValue:Ft})),he.props.onShowSizeChange(Ft,wt),"onChange"in he.props&&he.props.onChange&&he.props.onChange(Ft,wt)},he.handleChange=function(wt){var Ft=he.props,Pe=Ft.disabled,Ke=Ft.onChange,nt=he.state,lt=nt.pageSize,Lt=nt.current,zt=nt.currentInputValue;if(he.isValid(wt)&&!Pe){var ot=mt(void 0,he.state,he.props),ft=wt;return wt>ot?ft=ot:wt<1&&(ft=1),"current"in he.props||he.setState({current:ft}),ft!==zt&&he.setState({currentInputValue:ft}),Ke(ft,lt),ft}return Lt},he.prev=function(){he.hasPrev()&&he.handleChange(he.state.current-1)},he.next=function(){he.hasNext()&&he.handleChange(he.state.current+1)},he.jumpPrev=function(){he.handleChange(he.getJumpPrevPage())},he.jumpNext=function(){he.handleChange(he.getJumpNextPage())},he.hasPrev=function(){return he.state.current>1},he.hasNext=function(){return he.state.current<mt(void 0,he.state,he.props)},he.runIfEnter=function(wt,Ft){if(wt.key==="Enter"||wt.charCode===13){for(var Pe=arguments.length,Ke=new Array(Pe>2?Pe-2:0),nt=2;nt<Pe;nt++)Ke[nt-2]=arguments[nt];Ft.apply(void 0,Ke)}},he.runIfEnterPrev=function(wt){he.runIfEnter(wt,he.prev)},he.runIfEnterNext=function(wt){he.runIfEnter(wt,he.next)},he.runIfEnterJumpPrev=function(wt){he.runIfEnter(wt,he.jumpPrev)},he.runIfEnterJumpNext=function(wt){he.runIfEnter(wt,he.jumpNext)},he.handleGoTO=function(wt){(wt.keyCode===ae.ENTER||wt.type==="click")&&he.handleChange(he.state.currentInputValue)},he.renderPrev=function(wt){var Ft=he.props,Pe=Ft.prevIcon,Ke=Ft.itemRender,nt=Ke(wt,"prev",he.getItemIcon(Pe,"prev page")),lt=!he.hasPrev();return(0,ue.isValidElement)(nt)?(0,ue.cloneElement)(nt,{disabled:lt}):nt},he.renderNext=function(wt){var Ft=he.props,Pe=Ft.nextIcon,Ke=Ft.itemRender,nt=Ke(wt,"next",he.getItemIcon(Pe,"next page")),lt=!he.hasNext();return(0,ue.isValidElement)(nt)?(0,ue.cloneElement)(nt,{disabled:lt}):nt};var je=we.onChange!==Ee,Ot="current"in we;Ot&&!je&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ct=we.defaultCurrent;"current"in we&&(ct=we.current);var Bt=we.defaultPageSize;return"pageSize"in we&&(Bt=we.pageSize),ct=Math.min(ct,mt(Bt,void 0,we)),he.state={current:ct,currentInputValue:ct,pageSize:Bt},he}return(0,x.Z)(He,[{key:"componentDidUpdate",value:function(he,je){var Ot=this.props.prefixCls;if(je.current!==this.state.current&&this.paginationNode.current){var ct=this.paginationNode.current.querySelector(".".concat(Ot,"-item-").concat(je.current));if(ct&&document.activeElement===ct){var Bt;ct==null||(Bt=ct.blur)===null||Bt===void 0||Bt.call(ct)}}}},{key:"getValidValue",value:function(he){var je=he.target.value,Ot=mt(void 0,this.state,this.props),ct=this.state.currentInputValue,Bt;return je===""?Bt=je:Number.isNaN(Number(je))?Bt=ct:je>=Ot?Bt=Ot:Bt=Number(je),Bt}},{key:"getShowSizeChanger",value:function(){var he=this.props,je=he.showSizeChanger,Ot=he.total,ct=he.totalBoundaryShowSizeChanger;return typeof je!="undefined"?je:Ot>ct}},{key:"render",value:function(){var he=this.props,je=he.prefixCls,Ot=he.className,ct=he.style,Bt=he.disabled,wt=he.hideOnSinglePage,Ft=he.total,Pe=he.locale,Ke=he.showQuickJumper,nt=he.showLessItems,lt=he.showTitle,Lt=he.showTotal,zt=he.simple,ot=he.itemRender,ft=he.showPrevNextJumpers,Xt=he.jumpPrevIcon,on=he.jumpNextIcon,_t=he.selectComponentClass,hn=he.selectPrefixCls,Mn=he.pageSizeOptions,Zn=this.state,an=Zn.current,Un=Zn.pageSize,Kn=Zn.currentInputValue;if(wt===!0&&Ft<=Un)return null;var On=mt(void 0,this.state,this.props),Xn=[],fa=null,na=null,ya=null,Ra=null,sa=null,Oa=Ke&&Ke.goButton,Na=nt?1:2,Ta=an-1>0?an-1:0,_e=an+1<On?an+1:On,at=(0,z.Z)(this.props,{aria:!0,data:!0}),Ye=Lt&&ue.createElement("li",{className:"".concat(je,"-total-text")},Lt(Ft,[Ft===0?0:(an-1)*Un+1,an*Un>Ft?Ft:an*Un]));if(zt){Oa&&(typeof Oa=="boolean"?sa=ue.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Pe.jump_to_confirm):sa=ue.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Oa),sa=ue.createElement("li",{title:lt?"".concat(Pe.jump_to).concat(an,"/").concat(On):null,className:"".concat(je,"-simple-pager")},sa));var $t=this.renderPrev(Ta);return ue.createElement("ul",(0,te.Z)({className:Ue()(je,"".concat(je,"-simple"),(0,re.Z)({},"".concat(je,"-disabled"),Bt),Ot),style:ct,ref:this.paginationNode},at),Ye,$t?ue.createElement("li",{title:lt?Pe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ue()("".concat(je,"-prev"),(0,re.Z)({},"".concat(je,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},$t):null,ue.createElement("li",{title:lt?"".concat(an,"/").concat(On):null,className:"".concat(je,"-simple-pager")},ue.createElement("input",{type:"text",value:Kn,disabled:Bt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ue.createElement("span",{className:"".concat(je,"-slash")},"/"),On),ue.createElement("li",{title:lt?Pe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ue()("".concat(je,"-next"),(0,re.Z)({},"".concat(je,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(_e)),sa)}if(On<=3+Na*2){var fn={locale:Pe,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:lt,itemRender:ot};On||Xn.push(ue.createElement(Se,(0,te.Z)({},fn,{key:"noPager",page:1,className:"".concat(je,"-item-disabled")})));for(var Qt=1;Qt<=On;Qt+=1){var Qn=an===Qt;Xn.push(ue.createElement(Se,(0,te.Z)({},fn,{key:Qt,page:Qt,active:Qn})))}}else{var En=nt?Pe.prev_3:Pe.prev_5,wn=nt?Pe.next_3:Pe.next_5,pa=ot(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Xt,"prev page")),Ia=ot(this.getJumpNextPage(),"jump-next",this.getItemIcon(on,"next page"));ft&&(fa=pa?ue.createElement("li",{title:lt?En:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ue()("".concat(je,"-jump-prev"),(0,re.Z)({},"".concat(je,"-jump-prev-custom-icon"),!!Xt))},pa):null,na=Ia?ue.createElement("li",{title:lt?wn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ue()("".concat(je,"-jump-next"),(0,re.Z)({},"".concat(je,"-jump-next-custom-icon"),!!on))},Ia):null),Ra=ue.createElement(Se,{locale:Pe,last:!0,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:On,page:On,active:!1,showTitle:lt,itemRender:ot}),ya=ue.createElement(Se,{locale:Pe,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:lt,itemRender:ot});var Vt=Math.max(1,an-Na),ta=Math.min(an+Na,On);an-1<=Na&&(ta=1+Na*2),On-an<=Na&&(Vt=On-Na*2);for(var La=Vt;La<=ta;La+=1){var ra=an===La;Xn.push(ue.createElement(Se,{locale:Pe,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:La,page:La,active:ra,showTitle:lt,itemRender:ot}))}an-1>=Na*2&&an!==3&&(Xn[0]=(0,ue.cloneElement)(Xn[0],{className:"".concat(je,"-item-after-jump-prev")}),Xn.unshift(fa)),On-an>=Na*2&&an!==On-2&&(Xn[Xn.length-1]=(0,ue.cloneElement)(Xn[Xn.length-1],{className:"".concat(je,"-item-before-jump-next")}),Xn.push(na)),Vt!==1&&Xn.unshift(ya),ta!==On&&Xn.push(Ra)}var ca=!this.hasPrev()||!On,ze=!this.hasNext()||!On,Ct=this.renderPrev(Ta),yt=this.renderNext(_e);return ue.createElement("ul",(0,te.Z)({className:Ue()(je,Ot,(0,re.Z)({},"".concat(je,"-disabled"),Bt)),style:ct,ref:this.paginationNode},at),Ye,Ct?ue.createElement("li",{title:lt?Pe.prev_page:null,onClick:this.prev,tabIndex:ca?null:0,onKeyPress:this.runIfEnterPrev,className:Ue()("".concat(je,"-prev"),(0,re.Z)({},"".concat(je,"-disabled"),ca)),"aria-disabled":ca},Ct):null,Xn,yt?ue.createElement("li",{title:lt?Pe.next_page:null,onClick:this.next,tabIndex:ze?null:0,onKeyPress:this.runIfEnterNext,className:Ue()("".concat(je,"-next"),(0,re.Z)({},"".concat(je,"-disabled"),ze)),"aria-disabled":ze},yt):null,ue.createElement(ce,{disabled:Bt,locale:Pe,rootPrefixCls:je,selectComponentClass:_t,selectPrefixCls:hn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:an,pageSize:Un,pageSizeOptions:Mn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Oa}))}}],[{key:"getDerivedStateFromProps",value:function(he,je){var Ot={};if("current"in he&&(Ot.current=he.current,he.current!==je.current&&(Ot.currentInputValue=Ot.current)),"pageSize"in he&&he.pageSize!==je.pageSize){var ct=je.current,Bt=mt(he.pageSize,je,he);ct=ct>Bt?Bt:ct,"current"in he||(Ot.current=ct,Ot.currentInputValue=ct),Ot.pageSize=he.pageSize}return Ot}}]),He}(ue.Component);Yt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ee,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ee,locale:le.Z,style:{},itemRender:St,totalBoundaryShowSizeChanger:50};var et=Yt,it=ne(22075),At=ne(36355),Dt=ne(19716),Kt=ne(8628),kt=ne(9763),Te=ne(57809);const Pt=fe=>ue.createElement(Te.default,Object.assign({},fe,{showSearch:!0,size:"small"})),xt=fe=>ue.createElement(Te.default,Object.assign({},fe,{showSearch:!0,size:"middle"}));Pt.Option=Te.default.Option,xt.Option=Te.default.Option;var Be=ne(9937),De=ne(17313),vt=ne(83116),Wt=ne(37613);const gt=fe=>{const{componentCls:me}=fe;return{[`${me}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${me}-item-link`]:{color:fe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${me}-item-link`]:{color:fe.colorTextDisabled,cursor:"not-allowed"}}},[`&${me}-disabled`]:{cursor:"not-allowed",[`${me}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:fe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:fe.colorBorder,backgroundColor:fe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:fe.itemActiveBgDisabled},a:{color:fe.itemActiveColorDisabled}}},[`${me}-item-link`]:{color:fe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${me}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${me}-simple-pager`]:{color:fe.colorTextDisabled},[`${me}-jump-prev, ${me}-jump-next`]:{[`${me}-item-link-icon`]:{opacity:0},[`${me}-item-ellipsis`]:{opacity:1}}},[`&${me}-simple`]:{[`${me}-prev, ${me}-next`]:{[`&${me}-disabled ${me}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},It=fe=>{const{componentCls:me}=fe;return{[`&${me}-mini ${me}-total-text, &${me}-mini ${me}-simple-pager`]:{height:fe.itemSizeSM,lineHeight:`${fe.itemSizeSM}px`},[`&${me}-mini ${me}-item`]:{minWidth:fe.itemSizeSM,height:fe.itemSizeSM,margin:0,lineHeight:`${fe.itemSizeSM-2}px`},[`&${me}-mini:not(${me}-disabled) ${me}-item:not(${me}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:fe.colorBgTextHover},"&:active":{backgroundColor:fe.colorBgTextActive}},[`&${me}-mini ${me}-prev, &${me}-mini ${me}-next`]:{minWidth:fe.itemSizeSM,height:fe.itemSizeSM,margin:0,lineHeight:`${fe.itemSizeSM}px`},[`&${me}-mini:not(${me}-disabled)`]:{[`${me}-prev, ${me}-next`]:{[`&:hover ${me}-item-link`]:{backgroundColor:fe.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:fe.colorBgTextActive},[`&${me}-disabled:hover ${me}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${me}-mini ${me}-prev ${me}-item-link,
|
|
&${me}-mini ${me}-next ${me}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:fe.itemSizeSM,lineHeight:`${fe.itemSizeSM}px`}},[`&${me}-mini ${me}-jump-prev, &${me}-mini ${me}-jump-next`]:{height:fe.itemSizeSM,marginInlineEnd:0,lineHeight:`${fe.itemSizeSM}px`},[`&${me}-mini ${me}-options`]:{marginInlineStart:fe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:fe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:fe.itemSizeSM,lineHeight:`${fe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Be.x0)(fe)),{width:fe.paginationMiniQuickJumperInputWidth,height:fe.controlHeightSM})}}}},Ce=fe=>{const{componentCls:me}=fe;return{[`
|
|
&${me}-simple ${me}-prev,
|
|
&${me}-simple ${me}-next
|
|
`]:{height:fe.itemSizeSM,lineHeight:`${fe.itemSizeSM}px`,verticalAlign:"top",[`${me}-item-link`]:{height:fe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:fe.colorBgTextHover},"&:active":{backgroundColor:fe.colorBgTextActive},"&::after":{height:fe.itemSizeSM,lineHeight:`${fe.itemSizeSM}px`}}},[`&${me}-simple ${me}-simple-pager`]:{display:"inline-block",height:fe.itemSizeSM,marginInlineEnd:fe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:fe.marginXS,padding:`0 ${fe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:fe.itemInputBg,border:`${fe.lineWidth}px ${fe.lineType} ${fe.colorBorder}`,borderRadius:fe.borderRadius,outline:"none",transition:`border-color ${fe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:fe.colorPrimary},"&:focus":{borderColor:fe.colorPrimaryHover,boxShadow:`${fe.inputOutlineOffset}px 0 ${fe.controlOutlineWidth}px ${fe.controlOutline}`},"&[disabled]":{color:fe.colorTextDisabled,backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,cursor:"not-allowed"}}}}},Ht=fe=>{const{componentCls:me}=fe;return{[`${me}-jump-prev, ${me}-jump-next`]:{outline:0,[`${me}-item-container`]:{position:"relative",[`${me}-item-link-icon`]:{color:fe.colorPrimary,fontSize:fe.fontSizeSM,opacity:0,transition:`all ${fe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${me}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:fe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:fe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:fe.paginationEllipsisTextIndent,opacity:1,transition:`all ${fe.motionDurationMid}`}},"&:hover":{[`${me}-item-link-icon`]:{opacity:1},[`${me}-item-ellipsis`]:{opacity:0}}},[`
|
|
${me}-prev,
|
|
${me}-jump-prev,
|
|
${me}-jump-next
|
|
`]:{marginInlineEnd:fe.marginXS},[`
|
|
${me}-prev,
|
|
${me}-next,
|
|
${me}-jump-prev,
|
|
${me}-jump-next
|
|
`]:{display:"inline-block",minWidth:fe.itemSize,height:fe.itemSize,color:fe.colorText,fontFamily:fe.fontFamily,lineHeight:`${fe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:fe.borderRadius,cursor:"pointer",transition:`all ${fe.motionDurationMid}`},[`${me}-prev, ${me}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:fe.colorText,cursor:"pointer",userSelect:"none"},[`${me}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:fe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${fe.lineWidth}px ${fe.lineType} transparent`,borderRadius:fe.borderRadius,outline:"none",transition:`all ${fe.motionDurationMid}`},[`&:hover ${me}-item-link`]:{backgroundColor:fe.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:fe.colorBgTextActive},[`&${me}-disabled:hover`]:{[`${me}-item-link`]:{backgroundColor:"transparent"}}},[`${me}-slash`]:{marginInlineEnd:fe.paginationSlashMarginInlineEnd,marginInlineStart:fe.paginationSlashMarginInlineStart},[`${me}-options`]:{display:"inline-block",marginInlineStart:fe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:fe.controlHeight,marginInlineStart:fe.marginXS,lineHeight:`${fe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Be.ik)(fe)),{width:fe.controlHeightLG*1.25,height:fe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:fe.marginXS,marginInlineEnd:fe.marginXS})}}}},qt=fe=>{const{componentCls:me}=fe;return{[`${me}-item`]:{display:"inline-block",minWidth:fe.itemSize,height:fe.itemSize,marginInlineEnd:fe.marginXS,fontFamily:fe.fontFamily,lineHeight:`${fe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${fe.lineWidth}px ${fe.lineType} transparent`,borderRadius:fe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${fe.paginationItemPaddingInline}px`,color:fe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${me}-item-active)`]:{"&:hover":{transition:`all ${fe.motionDurationMid}`,backgroundColor:fe.colorBgTextHover},"&:active":{backgroundColor:fe.colorBgTextActive}},"&-active":{fontWeight:fe.fontWeightStrong,backgroundColor:fe.itemActiveBg,borderColor:fe.colorPrimary,a:{color:fe.colorPrimary},"&:hover":{borderColor:fe.colorPrimaryHover},"&:hover a":{color:fe.colorPrimaryHover}}}}},un=fe=>{const{componentCls:me}=fe;return{[me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,De.Wf)(fe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${me}-total-text`]:{display:"inline-block",height:fe.itemSize,marginInlineEnd:fe.marginXS,lineHeight:`${fe.itemSize-2}px`,verticalAlign:"middle"}}),qt(fe)),Ht(fe)),Ce(fe)),It(fe)),gt(fe)),{[`@media only screen and (max-width: ${fe.screenLG}px)`]:{[`${me}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${fe.screenSM}px)`]:{[`${me}-options`]:{display:"none"}}}),[`&${fe.componentCls}-rtl`]:{direction:"rtl"}}},nn=fe=>{const{componentCls:me}=fe;return{[`${me}${me}-disabled:not(${me}-mini)`]:{"&, &:hover":{[`${me}-item-link`]:{borderColor:fe.colorBorder}},"&:focus-visible":{[`${me}-item-link`]:{borderColor:fe.colorBorder}},[`${me}-item, ${me}-item-link`]:{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,[`&:hover:not(${me}-item-active)`]:{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,a:{color:fe.colorTextDisabled}},[`&${me}-item-active`]:{backgroundColor:fe.itemActiveBgDisabled}},[`${me}-prev, ${me}-next`]:{"&:hover button":{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,color:fe.colorTextDisabled},[`${me}-item-link`]:{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder}}},[`${me}:not(${me}-mini)`]:{[`${me}-prev, ${me}-next`]:{"&:hover button":{borderColor:fe.colorPrimaryHover,backgroundColor:fe.itemBg},[`${me}-item-link`]:{backgroundColor:fe.itemLinkBg,borderColor:fe.colorBorder},[`&:hover ${me}-item-link`]:{borderColor:fe.colorPrimary,backgroundColor:fe.itemBg,color:fe.colorPrimary},[`&${me}-disabled`]:{[`${me}-item-link`]:{borderColor:fe.colorBorder,color:fe.colorTextDisabled}}},[`${me}-item`]:{backgroundColor:fe.itemBg,border:`${fe.lineWidth}px ${fe.lineType} ${fe.colorBorder}`,[`&:hover:not(${me}-item-active)`]:{borderColor:fe.colorPrimary,backgroundColor:fe.itemBg,a:{color:fe.colorPrimary}},"&-active":{borderColor:fe.colorPrimary}}}}},Ze=fe=>{const{componentCls:me}=fe;return{[`${me}:not(${me}-disabled)`]:{[`${me}-item`]:Object.assign({},(0,De.Qy)(fe)),[`${me}-jump-prev, ${me}-jump-next`]:{"&:focus-visible":Object.assign({[`${me}-item-link-icon`]:{opacity:1},[`${me}-item-ellipsis`]:{opacity:0}},(0,De.oN)(fe))},[`${me}-prev, ${me}-next`]:{[`&:focus-visible ${me}-item-link`]:Object.assign({},(0,De.oN)(fe))}}}};var Me=(0,vt.Z)("Pagination",fe=>{const me=(0,Wt.TS)(fe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:fe.marginXXS/2,paginationMiniQuickJumperInputWidth:fe.controlHeightLG*1.1,paginationItemPaddingInline:fe.marginXXS*1.5,paginationEllipsisLetterSpacing:fe.marginXXS/2,paginationSlashMarginInlineStart:fe.marginXXS,paginationSlashMarginInlineEnd:fe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Be.e5)(fe),(0,Be.TM)(fe));return[un(me),Ze(me),fe.wireframe&&nn(me)]},fe=>({itemBg:fe.colorBgContainer,itemSize:fe.controlHeight,itemSizeSM:fe.controlHeightSM,itemActiveBg:fe.colorBgContainer,itemLinkBg:fe.colorBgContainer,itemActiveColorDisabled:fe.colorTextDisabled,itemActiveBgDisabled:fe.controlItemBgActiveDisabled,itemInputBg:fe.colorBgContainer,miniOptionsSizeChangerTop:0})),ye=function(fe,me){var He={};for(var we in fe)Object.prototype.hasOwnProperty.call(fe,we)&&me.indexOf(we)<0&&(He[we]=fe[we]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,we=Object.getOwnPropertySymbols(fe);he<we.length;he++)me.indexOf(we[he])<0&&Object.prototype.propertyIsEnumerable.call(fe,we[he])&&(He[we[he]]=fe[we[he]]);return He},Ne=fe=>{const{prefixCls:me,selectPrefixCls:He,className:we,rootClassName:he,style:je,size:Ot,locale:ct,selectComponentClass:Bt,responsive:wt,showSizeChanger:Ft}=fe,Pe=ye(fe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ke}=(0,Kt.Z)(wt),{getPrefixCls:nt,direction:lt,pagination:Lt={}}=ue.useContext(At.E_),zt=nt("pagination",me),[ot,ft]=Me(zt),Xt=Ft!=null?Ft:Lt.showSizeChanger,on=ue.useMemo(()=>{const On=ue.createElement("span",{className:`${zt}-item-ellipsis`},"\u2022\u2022\u2022"),Xn=ue.createElement("button",{className:`${zt}-item-link`,type:"button",tabIndex:-1},lt==="rtl"?ue.createElement(Je.Z,null):ue.createElement(Qe.Z,null)),fa=ue.createElement("button",{className:`${zt}-item-link`,type:"button",tabIndex:-1},lt==="rtl"?ue.createElement(Qe.Z,null):ue.createElement(Je.Z,null)),na=ue.createElement("a",{className:`${zt}-item-link`},ue.createElement("div",{className:`${zt}-item-container`},lt==="rtl"?ue.createElement(We.Z,{className:`${zt}-item-link-icon`}):ue.createElement(Ve,{className:`${zt}-item-link-icon`}),On)),ya=ue.createElement("a",{className:`${zt}-item-link`},ue.createElement("div",{className:`${zt}-item-container`},lt==="rtl"?ue.createElement(Ve,{className:`${zt}-item-link-icon`}):ue.createElement(We.Z,{className:`${zt}-item-link-icon`}),On));return{prevIcon:Xn,nextIcon:fa,jumpPrevIcon:na,jumpNextIcon:ya}},[lt,zt]),[_t]=(0,kt.Z)("Pagination",it.Z),hn=Object.assign(Object.assign({},_t),ct),Mn=(0,Dt.Z)(Ot),Zn=Mn==="small"||!!(Ke&&!Mn&&wt),an=nt("select",He),Un=Ue()({[`${zt}-mini`]:Zn,[`${zt}-rtl`]:lt==="rtl"},Lt==null?void 0:Lt.className,we,he,ft),Kn=Object.assign(Object.assign({},Lt==null?void 0:Lt.style),je);return ot(ue.createElement(et,Object.assign({},on,Pe,{style:Kn,prefixCls:zt,selectPrefixCls:an,className:Un,selectComponentClass:Bt||(Zn?Pt:xt),locale:hn,showSizeChanger:Xt})))},dt=Ne},93948:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Ft}});var te=ne(59301),ue=ne(29679),Re=ne(40001),Ge=ne(19248),Ae=ne(99267),Le=ne(92310),oe=ne.n(Le),Ve=ne(2738),We=ne(36355),Qe=ne(32855),Je=ne(27247),rt=ne(43079),Ue={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},re=function(){var Ke=(0,te.useRef)([]),nt=(0,te.useRef)(null);return(0,te.useEffect)(function(){var lt=Date.now(),Lt=!1;Ke.current.forEach(function(zt){if(zt){Lt=!0;var ot=zt.style;ot.transitionDuration=".3s, .3s, .3s, .06s",nt.current&<-nt.current<100&&(ot.transitionDuration="0s, 0s")}}),Lt&&(nt.current=Date.now())}),Ke.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(Ke){var nt=(0,Je.Z)((0,Je.Z)({},Ue),Ke),lt=nt.className,Lt=nt.percent,zt=nt.prefixCls,ot=nt.strokeColor,ft=nt.strokeLinecap,Xt=nt.strokeWidth,on=nt.style,_t=nt.trailColor,hn=nt.trailWidth,Mn=nt.transition,Zn=(0,rt.Z)(nt,a);delete Zn.gapPosition;var an=Array.isArray(Lt)?Lt:[Lt],Un=Array.isArray(ot)?ot:[ot],Kn=re(),On=Xt/2,Xn=100-Xt/2,fa="M ".concat(ft==="round"?On:0,",").concat(On,`
|
|
L `).concat(ft==="round"?Xn:100,",").concat(On),na="0 0 100 ".concat(Xt),ya=0;return te.createElement("svg",(0,Qe.Z)({className:oe()("".concat(zt,"-line"),lt),viewBox:na,preserveAspectRatio:"none",style:on},Zn),te.createElement("path",{className:"".concat(zt,"-line-trail"),d:fa,strokeLinecap:ft,stroke:_t,strokeWidth:hn||Xt,fillOpacity:"0"}),an.map(function(Ra,sa){var Oa=1;switch(ft){case"round":Oa=1-Xt/100;break;case"square":Oa=1-Xt/2/100;break;default:Oa=1;break}var Na={strokeDasharray:"".concat(Ra*Oa,"px, 100px"),strokeDashoffset:"-".concat(ya,"px"),transition:Mn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ta=Un[sa]||Un[Un.length-1];return ya+=Ra,te.createElement("path",{key:sa,className:"".concat(zt,"-line-path"),d:fa,strokeLinecap:ft,stroke:Ta,strokeWidth:Xt,fillOpacity:"0",ref:function(at){Kn[sa]=at},style:Na})}))},x=y,b=ne(34666),E=ne(11913),z=ne(47273),ee=0,ae=(0,z.Z)();function le(){var Pe;return ae?(Pe=ee,ee+=1):Pe="TEST_OR_SSR",Pe}var de=function(Pe){var Ke=te.useState(),nt=(0,E.Z)(Ke,2),lt=nt[0],Lt=nt[1];return te.useEffect(function(){Lt("rc_progress_".concat(le()))},[]),Pe||lt},ce=function(Ke){var nt=Ke.bg,lt=Ke.children;return te.createElement("div",{style:{width:"100%",height:"100%",background:nt}},lt)};function be(Pe,Ke){return Object.keys(Pe).map(function(nt){var lt=parseFloat(nt),Lt="".concat(Math.floor(lt*Ke),"%");return"".concat(Pe[nt]," ").concat(Lt)})}var Se=te.forwardRef(function(Pe,Ke){var nt=Pe.prefixCls,lt=Pe.color,Lt=Pe.gradientId,zt=Pe.radius,ot=Pe.style,ft=Pe.ptg,Xt=Pe.strokeLinecap,on=Pe.strokeWidth,_t=Pe.size,hn=Pe.gapDegree,Mn=lt&&(0,b.Z)(lt)==="object",Zn=Mn?"#FFF":void 0,an=_t/2,Un=te.createElement("circle",{className:"".concat(nt,"-circle-path"),r:zt,cx:an,cy:an,stroke:Zn,strokeLinecap:Xt,strokeWidth:on,opacity:ft===0?0:1,style:ot,ref:Ke});if(!Mn)return Un;var Kn="".concat(Lt,"-conic"),On=hn?"".concat(180+hn/2,"deg"):"0deg",Xn=be(lt,(360-hn)/360),fa=be(lt,1),na="conic-gradient(from ".concat(On,", ").concat(Xn.join(", "),")"),ya="linear-gradient(to ".concat(hn?"bottom":"top",", ").concat(fa.join(", "),")");return te.createElement(te.Fragment,null,te.createElement("mask",{id:Kn},Un),te.createElement("foreignObject",{x:0,y:0,width:_t,height:_t,mask:"url(#".concat(Kn,")")},te.createElement(ce,{bg:ya},te.createElement(ce,{bg:na}))))}),Ee=Se,pe=100,St=function(Ke,nt,lt,Lt,zt,ot,ft,Xt,on,_t){var hn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Mn=lt/100*360*((360-ot)/360),Zn=ot===0?0:{bottom:0,top:180,left:90,right:-90}[ft],an=(100-Lt)/100*nt;on==="round"&&Lt!==100&&(an+=_t/2,an>=nt&&(an=nt-.01));var Un=pe/2;return{stroke:typeof Xt=="string"?Xt:void 0,strokeDasharray:"".concat(nt,"px ").concat(Ke),strokeDashoffset:an+hn,transform:"rotate(".concat(zt+Mn+Zn,"deg)"),transformOrigin:"".concat(Un,"px ").concat(Un,"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}},mt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Yt(Pe){var Ke=Pe!=null?Pe:[];return Array.isArray(Ke)?Ke:[Ke]}var et=function(Ke){var nt=(0,Je.Z)((0,Je.Z)({},Ue),Ke),lt=nt.id,Lt=nt.prefixCls,zt=nt.steps,ot=nt.strokeWidth,ft=nt.trailWidth,Xt=nt.gapDegree,on=Xt===void 0?0:Xt,_t=nt.gapPosition,hn=nt.trailColor,Mn=nt.strokeLinecap,Zn=nt.style,an=nt.className,Un=nt.strokeColor,Kn=nt.percent,On=(0,rt.Z)(nt,mt),Xn=pe/2,fa=de(lt),na="".concat(fa,"-gradient"),ya=Xn-ot/2,Ra=Math.PI*2*ya,sa=on>0?90+on/2:-90,Oa=Ra*((360-on)/360),Na=(0,b.Z)(zt)==="object"?zt:{count:zt,space:2},Ta=Na.count,_e=Na.space,at=Yt(Kn),Ye=Yt(Un),$t=Ye.find(function(Ia){return Ia&&(0,b.Z)(Ia)==="object"}),fn=$t&&(0,b.Z)($t)==="object",Qt=fn?"butt":Mn,Qn=St(Ra,Oa,0,100,sa,on,_t,hn,Qt,ot),En=re(),wn=function(){var Vt=0;return at.map(function(ta,La){var ra=Ye[La]||Ye[Ye.length-1],ca=St(Ra,Oa,Vt,ta,sa,on,_t,ra,Qt,ot);return Vt+=ta,te.createElement(Ee,{key:La,color:ra,ptg:ta,radius:ya,prefixCls:Lt,gradientId:na,style:ca,strokeLinecap:Qt,strokeWidth:ot,gapDegree:on,ref:function(Ct){En[La]=Ct},size:pe})}).reverse()},pa=function(){var Vt=Math.round(Ta*(at[0]/100)),ta=100/Ta,La=0;return new Array(Ta).fill(null).map(function(ra,ca){var ze=ca<=Vt-1?Ye[0]:hn,Ct=ze&&(0,b.Z)(ze)==="object"?"url(#".concat(na,")"):void 0,yt=St(Ra,Oa,La,ta,sa,on,_t,ze,"butt",ot,_e);return La+=(Oa-yt.strokeDashoffset+_e)*100/Oa,te.createElement("circle",{key:ca,className:"".concat(Lt,"-circle-path"),r:ya,cx:Xn,cy:Xn,stroke:Ct,strokeWidth:ot,opacity:1,style:yt,ref:function(Jt){En[ca]=Jt}})})};return te.createElement("svg",(0,Qe.Z)({className:oe()("".concat(Lt,"-circle"),an),viewBox:"0 0 ".concat(pe," ").concat(pe),style:Zn,id:lt,role:"presentation"},On),!Ta&&te.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:ya,cx:Xn,cy:Xn,stroke:hn,strokeLinecap:Qt,strokeWidth:ft||ot,style:Qn}),Ta?pa():wn())},it=et,At={Line:x,Circle:it},Dt=ne(6848),Kt=ne(30071);function kt(Pe){return!Pe||Pe<0?0:Pe>100?100:Pe}function Te(Pe){let{success:Ke,successPercent:nt}=Pe,lt=nt;return Ke&&"progress"in Ke&&(lt=Ke.progress),Ke&&"percent"in Ke&&(lt=Ke.percent),lt}const Pt=Pe=>{let{percent:Ke,success:nt,successPercent:lt}=Pe;const Lt=kt(Te({success:nt,successPercent:lt}));return[Lt,kt(kt(Ke)-Lt)]},xt=Pe=>{let{success:Ke={},strokeColor:nt}=Pe;const{strokeColor:lt}=Ke;return[lt||Kt.presetPrimaryColors.green,nt||null]},Be=(Pe,Ke,nt)=>{var lt,Lt,zt,ot;let ft=-1,Xt=-1;if(Ke==="step"){const on=nt.steps,_t=nt.strokeWidth;typeof Pe=="string"||typeof Pe=="undefined"?(ft=Pe==="small"?2:14,Xt=_t!=null?_t:8):typeof Pe=="number"?[ft,Xt]=[Pe,Pe]:[ft=14,Xt=8]=Pe,ft*=on}else if(Ke==="line"){const on=nt==null?void 0:nt.strokeWidth;typeof Pe=="string"||typeof Pe=="undefined"?Xt=on||(Pe==="small"?6:8):typeof Pe=="number"?[ft,Xt]=[Pe,Pe]:[ft=-1,Xt=8]=Pe}else(Ke==="circle"||Ke==="dashboard")&&(typeof Pe=="string"||typeof Pe=="undefined"?[ft,Xt]=Pe==="small"?[60,60]:[120,120]:typeof Pe=="number"?[ft,Xt]=[Pe,Pe]:(ft=(Lt=(lt=Pe[0])!==null&<!==void 0?lt:Pe[1])!==null&&Lt!==void 0?Lt:120,Xt=(ot=(zt=Pe[0])!==null&&zt!==void 0?zt:Pe[1])!==null&&ot!==void 0?ot:120));return[ft,Xt]},De=3,vt=Pe=>De/Pe*100;var gt=Pe=>{const{prefixCls:Ke,trailColor:nt=null,strokeLinecap:lt="round",gapPosition:Lt,gapDegree:zt,width:ot=120,type:ft,children:Xt,success:on,size:_t=ot}=Pe,[hn,Mn]=Be(_t,"circle");let{strokeWidth:Zn}=Pe;Zn===void 0&&(Zn=Math.max(vt(hn),6));const an={width:hn,height:Mn,fontSize:hn*.15+6},Un=te.useMemo(()=>{if(zt||zt===0)return zt;if(ft==="dashboard")return 75},[zt,ft]),Kn=Lt||ft==="dashboard"&&"bottom"||void 0,On=Object.prototype.toString.call(Pe.strokeColor)==="[object Object]",Xn=xt({success:on,strokeColor:Pe.strokeColor}),fa=oe()(`${Ke}-inner`,{[`${Ke}-circle-gradient`]:On}),na=te.createElement(it,{percent:Pt(Pe),strokeWidth:Zn,trailWidth:Zn,strokeColor:Xn,strokeLinecap:lt,trailColor:nt,prefixCls:Ke,gapDegree:Un,gapPosition:Kn});return te.createElement("div",{className:fa,style:an},hn<=20?te.createElement(Dt.Z,{title:Xt},te.createElement("span",null,na)):te.createElement(te.Fragment,null,na,Xt))},It=function(Pe,Ke){var nt={};for(var lt in Pe)Object.prototype.hasOwnProperty.call(Pe,lt)&&Ke.indexOf(lt)<0&&(nt[lt]=Pe[lt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,lt=Object.getOwnPropertySymbols(Pe);Lt<lt.length;Lt++)Ke.indexOf(lt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(Pe,lt[Lt])&&(nt[lt[Lt]]=Pe[lt[Lt]]);return nt};const Ce=Pe=>{let Ke=[];return Object.keys(Pe).forEach(nt=>{const lt=parseFloat(nt.replace(/%/g,""));isNaN(lt)||Ke.push({key:lt,value:Pe[nt]})}),Ke=Ke.sort((nt,lt)=>nt.key-lt.key),Ke.map(nt=>{let{key:lt,value:Lt}=nt;return`${Lt} ${lt}%`}).join(", ")},Ht=(Pe,Ke)=>{const{from:nt=Kt.presetPrimaryColors.blue,to:lt=Kt.presetPrimaryColors.blue,direction:Lt=Ke==="rtl"?"to left":"to right"}=Pe,zt=It(Pe,["from","to","direction"]);if(Object.keys(zt).length!==0){const ot=Ce(zt);return{backgroundImage:`linear-gradient(${Lt}, ${ot})`}}return{backgroundImage:`linear-gradient(${Lt}, ${nt}, ${lt})`}};var un=Pe=>{const{prefixCls:Ke,direction:nt,percent:lt,size:Lt,strokeWidth:zt,strokeColor:ot,strokeLinecap:ft="round",children:Xt,trailColor:on=null,success:_t}=Pe,hn=ot&&typeof ot!="string"?Ht(ot,nt):{backgroundColor:ot},Mn=ft==="square"||ft==="butt"?0:void 0,Zn={backgroundColor:on||void 0,borderRadius:Mn},an=Lt!=null?Lt:[-1,zt||(Lt==="small"?6:8)],[Un,Kn]=Be(an,"line",{strokeWidth:zt}),On=Object.assign({width:`${kt(lt)}%`,height:Kn,borderRadius:Mn},hn),Xn=Te(Pe),fa={width:`${kt(Xn)}%`,height:Kn,borderRadius:Mn,backgroundColor:_t==null?void 0:_t.strokeColor},na={width:Un<0?"100%":Un,height:Kn};return te.createElement(te.Fragment,null,te.createElement("div",{className:`${Ke}-outer`,style:na},te.createElement("div",{className:`${Ke}-inner`,style:Zn},te.createElement("div",{className:`${Ke}-bg`,style:On}),Xn!==void 0?te.createElement("div",{className:`${Ke}-success-bg`,style:fa}):null)),Xt)},Ze=Pe=>{const{size:Ke,steps:nt,percent:lt=0,strokeWidth:Lt=8,strokeColor:zt,trailColor:ot=null,prefixCls:ft,children:Xt}=Pe,on=Math.round(nt*(lt/100)),_t=Ke==="small"?2:14,hn=Ke!=null?Ke:[_t,Lt],[Mn,Zn]=Be(hn,"step",{steps:nt,strokeWidth:Lt}),an=Mn/nt,Un=new Array(nt);for(let Kn=0;Kn<nt;Kn++){const On=Array.isArray(zt)?zt[Kn]:zt;Un[Kn]=te.createElement("div",{key:Kn,className:oe()(`${ft}-steps-item`,{[`${ft}-steps-item-active`]:Kn<=on-1}),style:{backgroundColor:Kn<=on-1?On:ot,width:an,height:Zn}})}return te.createElement("div",{className:`${ft}-steps-outer`},Un,Xt)},Me=ne(36237),ye=ne(17313),ge=ne(83116),Ne=ne(37613);const dt=Pe=>{const Ke=Pe?"100%":"-100%";return new Me.Keyframes(`antProgress${Pe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ke}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ke}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},fe=Pe=>{const{componentCls:Ke,iconCls:nt}=Pe;return{[Ke]:Object.assign(Object.assign({},(0,ye.Wf)(Pe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Pe.fontSize,marginInlineEnd:Pe.marginXS,marginBottom:Pe.marginXS},[`${Ke}-outer`]:{display:"inline-block",width:"100%"},[`&${Ke}-show-info`]:{[`${Ke}-outer`]:{marginInlineEnd:`calc(-2em - ${Pe.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Pe.paddingXS}px)`}},[`${Ke}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Pe.remainingColor,borderRadius:Pe.lineBorderRadius},[`${Ke}-inner:not(${Ke}-circle-gradient)`]:{[`${Ke}-circle-path`]:{stroke:Pe.defaultColor}},[`${Ke}-success-bg, ${Ke}-bg`]:{position:"relative",backgroundColor:Pe.defaultColor,borderRadius:Pe.lineBorderRadius,transition:`all ${Pe.motionDurationSlow} ${Pe.motionEaseInOutCirc}`},[`${Ke}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Pe.colorSuccess},[`${Ke}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Pe.marginXS,color:Pe.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[nt]:{fontSize:Pe.fontSize}},[`&${Ke}-status-active`]:{[`${Ke}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Pe.colorBgContainer,borderRadius:Pe.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:Pe.progressActiveMotionDuration,animationTimingFunction:Pe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ke}-rtl${Ke}-status-active`]:{[`${Ke}-bg::before`]:{animationName:dt(!0)}},[`&${Ke}-status-exception`]:{[`${Ke}-bg`]:{backgroundColor:Pe.colorError},[`${Ke}-text`]:{color:Pe.colorError}},[`&${Ke}-status-exception ${Ke}-inner:not(${Ke}-circle-gradient)`]:{[`${Ke}-circle-path`]:{stroke:Pe.colorError}},[`&${Ke}-status-success`]:{[`${Ke}-bg`]:{backgroundColor:Pe.colorSuccess},[`${Ke}-text`]:{color:Pe.colorSuccess}},[`&${Ke}-status-success ${Ke}-inner:not(${Ke}-circle-gradient)`]:{[`${Ke}-circle-path`]:{stroke:Pe.colorSuccess}}})}},me=Pe=>{const{componentCls:Ke,iconCls:nt}=Pe;return{[Ke]:{[`${Ke}-circle-trail`]:{stroke:Pe.remainingColor},[`&${Ke}-circle ${Ke}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ke}-circle ${Ke}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Pe.circleTextColor,fontSize:Pe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[nt]:{fontSize:`${Pe.fontSize/Pe.fontSizeSM}em`}},[`${Ke}-circle&-status-exception`]:{[`${Ke}-text`]:{color:Pe.colorError}},[`${Ke}-circle&-status-success`]:{[`${Ke}-text`]:{color:Pe.colorSuccess}}},[`${Ke}-inline-circle`]:{lineHeight:1,[`${Ke}-inner`]:{verticalAlign:"bottom"}}}},He=Pe=>{const{componentCls:Ke}=Pe;return{[Ke]:{[`${Ke}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Pe.progressStepMinWidth,marginInlineEnd:Pe.progressStepMarginInlineEnd,backgroundColor:Pe.remainingColor,transition:`all ${Pe.motionDurationSlow}`,"&-active":{backgroundColor:Pe.defaultColor}}}}}},we=Pe=>{const{componentCls:Ke,iconCls:nt}=Pe;return{[Ke]:{[`${Ke}-small&-line, ${Ke}-small&-line ${Ke}-text ${nt}`]:{fontSize:Pe.fontSizeSM}}}};var he=(0,ge.Z)("Progress",Pe=>{const Ke=Pe.marginXXS/2,nt=(0,Ne.TS)(Pe,{progressStepMarginInlineEnd:Ke,progressStepMinWidth:Ke,progressActiveMotionDuration:"2.4s"});return[fe(nt),me(nt),He(nt),we(nt)]},Pe=>({circleTextColor:Pe.colorText,defaultColor:Pe.colorInfo,remainingColor:Pe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),je=function(Pe,Ke){var nt={};for(var lt in Pe)Object.prototype.hasOwnProperty.call(Pe,lt)&&Ke.indexOf(lt)<0&&(nt[lt]=Pe[lt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,lt=Object.getOwnPropertySymbols(Pe);Lt<lt.length;Lt++)Ke.indexOf(lt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(Pe,lt[Lt])&&(nt[lt[Lt]]=Pe[lt[Lt]]);return nt};const Ot=null,ct=["normal","exception","active","success"];var wt=te.forwardRef((Pe,Ke)=>{const{prefixCls:nt,className:lt,rootClassName:Lt,steps:zt,strokeColor:ot,percent:ft=0,size:Xt="default",showInfo:on=!0,type:_t="line",status:hn,format:Mn,style:Zn}=Pe,an=je(Pe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Un=te.useMemo(()=>{var at,Ye;const $t=Te(Pe);return parseInt($t!==void 0?(at=$t!=null?$t:0)===null||at===void 0?void 0:at.toString():(Ye=ft!=null?ft:0)===null||Ye===void 0?void 0:Ye.toString(),10)},[ft,Pe.success,Pe.successPercent]),Kn=te.useMemo(()=>!ct.includes(hn)&&Un>=100?"success":hn||"normal",[hn,Un]),{getPrefixCls:On,direction:Xn,progress:fa}=te.useContext(We.E_),na=On("progress",nt),[ya,Ra]=he(na),sa=te.useMemo(()=>{if(!on)return null;const at=Te(Pe);let Ye;const $t=Mn||(Qt=>`${Qt}%`),fn=_t==="line";return Mn||Kn!=="exception"&&Kn!=="success"?Ye=$t(kt(ft),kt(at)):Kn==="exception"?Ye=fn?te.createElement(Ge.Z,null):te.createElement(Ae.Z,null):Kn==="success"&&(Ye=fn?te.createElement(ue.Z,null):te.createElement(Re.Z,null)),te.createElement("span",{className:`${na}-text`,title:typeof Ye=="string"?Ye:void 0},Ye)},[on,ft,Un,Kn,_t,na,Mn]),Oa=Array.isArray(ot)?ot[0]:ot,Na=typeof ot=="string"||Array.isArray(ot)?ot:void 0;let Ta;_t==="line"?Ta=zt?te.createElement(Ze,Object.assign({},Pe,{strokeColor:Na,prefixCls:na,steps:zt}),sa):te.createElement(un,Object.assign({},Pe,{strokeColor:Oa,prefixCls:na,direction:Xn}),sa):(_t==="circle"||_t==="dashboard")&&(Ta=te.createElement(gt,Object.assign({},Pe,{strokeColor:Oa,prefixCls:na,progressStatus:Kn}),sa));const _e=oe()(na,`${na}-status-${Kn}`,`${na}-${_t==="dashboard"&&"circle"||zt&&"steps"||_t}`,{[`${na}-inline-circle`]:_t==="circle"&&Be(Xt,"circle")[0]<=20,[`${na}-show-info`]:on,[`${na}-${Xt}`]:typeof Xt=="string",[`${na}-rtl`]:Xn==="rtl"},fa==null?void 0:fa.className,lt,Lt,Ra);return ya(te.createElement("div",Object.assign({ref:Ke,style:Object.assign(Object.assign({},fa==null?void 0:fa.style),Zn),className:_e,role:"progressbar","aria-valuenow":Un},(0,Ve.Z)(an,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ta))}),Ft=wt},13570:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return kt}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(Pt,xt){return ue.createElement(Ae.Z,(0,te.Z)({},Pt,{ref:xt,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe,We=ne(92310),Qe=ne.n(We),Je=ne(74430),rt=ne(11913),Ue=ne(43079),re=ne(18929),a=ne(10228),y=ne(26112);function x(Te,Pt){var xt=Te.disabled,Be=Te.prefixCls,De=Te.character,vt=Te.characterRender,Wt=Te.index,gt=Te.count,It=Te.value,Ce=Te.allowHalf,Ht=Te.focused,qt=Te.onHover,un=Te.onClick,nn=function(me){qt(me,Wt)},Ze=function(me){un(me,Wt)},Me=function(me){me.keyCode===a.Z.ENTER&&un(me,Wt)},ye=Wt+1,ge=new Set([Be]);It===0&&Wt===0&&Ht?ge.add("".concat(Be,"-focused")):Ce&&It+.5>=ye&&It<ye?(ge.add("".concat(Be,"-half")),ge.add("".concat(Be,"-active")),Ht&&ge.add("".concat(Be,"-focused"))):(ye<=It?ge.add("".concat(Be,"-full")):ge.add("".concat(Be,"-zero")),ye===It&&Ht&&ge.add("".concat(Be,"-focused")));var Ne=typeof De=="function"?De(Te):De,dt=ue.createElement("li",{className:Qe()(Array.from(ge)),ref:Pt},ue.createElement("div",{onClick:xt?null:Ze,onKeyDown:xt?null:Me,onMouseMove:xt?null:nn,role:"radio","aria-checked":It>Wt?"true":"false","aria-posinset":Wt+1,"aria-setsize":gt,tabIndex:xt?-1:0},ue.createElement("div",{className:"".concat(Be,"-first")},Ne),ue.createElement("div",{className:"".concat(Be,"-second")},Ne)));return vt&&(dt=vt(dt,Te)),dt}var b=ue.forwardRef(x);function E(){var Te=ue.useRef({});function Pt(Be){return Te.current[Be]}function xt(Be){return function(De){Te.current[Be]=De}}return[Pt,xt]}function z(Te){var Pt=Te.pageXOffset,xt="scrollLeft";if(typeof Pt!="number"){var Be=Te.document;Pt=Be.documentElement[xt],typeof Pt!="number"&&(Pt=Be.body[xt])}return Pt}function ee(Te){var Pt,xt,Be=Te.ownerDocument,De=Be.body,vt=Be&&Be.documentElement,Wt=Te.getBoundingClientRect();return Pt=Wt.left,xt=Wt.top,Pt-=vt.clientLeft||De.clientLeft||0,xt-=vt.clientTop||De.clientTop||0,{left:Pt,top:xt}}function ae(Te){var Pt=ee(Te),xt=Te.ownerDocument,Be=xt.defaultView||xt.parentWindow;return Pt.left+=z(Be),Pt.left}var le=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(Te,Pt){var xt,Be=Te.prefixCls,De=Be===void 0?"rc-rate":Be,vt=Te.className,Wt=Te.defaultValue,gt=Te.value,It=Te.count,Ce=It===void 0?5:It,Ht=Te.allowHalf,qt=Ht===void 0?!1:Ht,un=Te.allowClear,nn=un===void 0?!0:un,Ze=Te.character,Me=Ze===void 0?"\u2605":Ze,ye=Te.characterRender,ge=Te.disabled,Ne=Te.direction,dt=Ne===void 0?"ltr":Ne,fe=Te.tabIndex,me=fe===void 0?0:fe,He=Te.autoFocus,we=Te.onHoverChange,he=Te.onChange,je=Te.onFocus,Ot=Te.onBlur,ct=Te.onKeyDown,Bt=Te.onMouseLeave,wt=(0,Ue.Z)(Te,le),Ft=E(),Pe=(0,rt.Z)(Ft,2),Ke=Pe[0],nt=Pe[1],lt=ue.useRef(null),Lt=function(){if(!ge){var Qt;(Qt=lt.current)===null||Qt===void 0||Qt.focus()}};ue.useImperativeHandle(Pt,function(){return{focus:Lt,blur:function(){if(!ge){var Qt;(Qt=lt.current)===null||Qt===void 0||Qt.blur()}}}});var zt=(0,re.Z)(Wt||0,{value:gt}),ot=(0,rt.Z)(zt,2),ft=ot[0],Xt=ot[1],on=(0,re.Z)(null),_t=(0,rt.Z)(on,2),hn=_t[0],Mn=_t[1],Zn=function(Qt,Qn){var En=dt==="rtl",wn=Qt+1;if(qt){var pa=Ke(Qt),Ia=ae(pa),Vt=pa.clientWidth;(En&&Qn-Ia>Vt/2||!En&&Qn-Ia<Vt/2)&&(wn-=.5)}return wn},an=function(Qt){Xt(Qt),he==null||he(Qt)},Un=ue.useState(!1),Kn=(0,rt.Z)(Un,2),On=Kn[0],Xn=Kn[1],fa=function(){Xn(!0),je==null||je()},na=function(){Xn(!1),Ot==null||Ot()},ya=ue.useState(null),Ra=(0,rt.Z)(ya,2),sa=Ra[0],Oa=Ra[1],Na=function(Qt,Qn){var En=Zn(Qn,Qt.pageX);En!==hn&&(Oa(En),Mn(null)),we==null||we(En)},Ta=function(Qt){ge||(Oa(null),Mn(null),we==null||we(void 0)),Qt&&(Bt==null||Bt(Qt))},_e=function(Qt,Qn){var En=Zn(Qn,Qt.pageX),wn=!1;nn&&(wn=En===ft),Ta(),an(wn?0:En),Mn(wn?En:null)},at=function(Qt){var Qn=Qt.keyCode,En=dt==="rtl",wn=ft;Qn===a.Z.RIGHT&&wn<Ce&&!En?(qt?wn+=.5:wn+=1,an(wn),Qt.preventDefault()):Qn===a.Z.LEFT&&wn>0&&!En||Qn===a.Z.RIGHT&&wn>0&&En?(qt?wn-=.5:wn-=1,an(wn),Qt.preventDefault()):Qn===a.Z.LEFT&&wn<Ce&&En&&(qt?wn+=.5:wn+=1,an(wn),Qt.preventDefault()),ct==null||ct(Qt)};ue.useEffect(function(){He&&!ge&&Lt()},[]);var Ye=new Array(Ce).fill(0).map(function(fn,Qt){return ue.createElement(b,{ref:nt(Qt),index:Qt,count:Ce,disabled:ge,prefixCls:"".concat(De,"-star"),allowHalf:qt,value:sa===null?ft:sa,onClick:_e,onHover:Na,key:fn||Qt,character:Me,characterRender:ye,focused:On})}),$t=Qe()(De,vt,(xt={},(0,Je.Z)(xt,"".concat(De,"-disabled"),ge),(0,Je.Z)(xt,"".concat(De,"-rtl"),dt==="rtl"),xt));return ue.createElement("ul",(0,te.Z)({className:$t,onMouseLeave:Ta,tabIndex:ge?-1:me,onFocus:ge?null:fa,onBlur:ge?null:na,onKeyDown:ge?null:at,ref:lt,role:"radiogroup"},(0,y.Z)(wt,{aria:!0,data:!0,attr:!0})),Ye)}var ce=ue.forwardRef(de),be=ce,Se=ne(36355),Ee=ne(6848),pe=ne(17313),St=ne(83116),mt=ne(37613);const Yt=Te=>{const{componentCls:Pt}=Te;return{[`${Pt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Te.marginXS},"> div":{transition:`all ${Te.motionDurationMid}, outline 0s`,"&:hover":{transform:Te.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Te.lineWidth}px dashed ${Te.starColor}`,transform:Te.starHoverScale}},"&-first, &-second":{color:Te.starBg,transition:`all ${Te.motionDurationMid}`,userSelect:"none",[Te.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pt}-star-first, &-half ${Pt}-star-second`]:{opacity:1},[`&-half ${Pt}-star-first, &-full ${Pt}-star-second`]:{color:"inherit"}}}},et=Te=>({[`&-rtl${Te.componentCls}`]:{direction:"rtl"}}),it=Te=>{const{componentCls:Pt}=Te;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Te)),{display:"inline-block",margin:0,padding:0,color:Te.starColor,fontSize:Te.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Pt} ${Pt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Yt(Te)),{[`+ ${Pt}-text`]:{display:"inline-block",marginInlineStart:Te.marginXS,fontSize:Te.fontSize}}),et(Te))}};var At=(0,St.Z)("Rate",Te=>{const Pt=(0,mt.TS)(Te,{});return[it(Pt)]},Te=>({starColor:Te.yellow6,starSize:Te.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Te.colorFillContent})),Dt=function(Te,Pt){var xt={};for(var Be in Te)Object.prototype.hasOwnProperty.call(Te,Be)&&Pt.indexOf(Be)<0&&(xt[Be]=Te[Be]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Be=Object.getOwnPropertySymbols(Te);De<Be.length;De++)Pt.indexOf(Be[De])<0&&Object.prototype.propertyIsEnumerable.call(Te,Be[De])&&(xt[Be[De]]=Te[Be[De]]);return xt},kt=ue.forwardRef((Te,Pt)=>{const{prefixCls:xt,className:Be,rootClassName:De,style:vt,tooltips:Wt,character:gt=ue.createElement(Ve,null)}=Te,It=Dt(Te,["prefixCls","className","rootClassName","style","tooltips","character"]),Ce=(ge,Ne)=>{let{index:dt}=Ne;return Wt?ue.createElement(Ee.Z,{title:Wt[dt]},ge):ge},{getPrefixCls:Ht,direction:qt,rate:un}=ue.useContext(Se.E_),nn=Ht("rate",xt),[Ze,Me]=At(nn),ye=Object.assign(Object.assign({},un==null?void 0:un.style),vt);return Ze(ue.createElement(be,Object.assign({ref:Pt,character:gt,characterRender:Ce},It,{className:Qe()(Be,De,Me,un==null?void 0:un.className),style:ye,prefixCls:nn,direction:qt})))})},61621:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return Me}});var te=ne(92310),ue=ne.n(te),Re=ne(59301),Ge=ne(36355),Ae=ne(2738),oe=ye=>{const{prefixCls:ge,className:Ne,style:dt,size:fe,shape:me}=ye,He=ue()({[`${ge}-lg`]:fe==="large",[`${ge}-sm`]:fe==="small"}),we=ue()({[`${ge}-circle`]:me==="circle",[`${ge}-square`]:me==="square",[`${ge}-round`]:me==="round"}),he=Re.useMemo(()=>typeof fe=="number"?{width:fe,height:fe,lineHeight:`${fe}px`}:{},[fe]);return Re.createElement("span",{className:ue()(ge,He,we,Ne),style:Object.assign(Object.assign({},he),dt)})},Ve=ne(36237),We=ne(83116),Qe=ne(37613);const Je=new Ve.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),rt=ye=>({height:ye,lineHeight:`${ye}px`}),Ue=ye=>Object.assign({width:ye},rt(ye)),re=ye=>({background:ye.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Je,animationDuration:ye.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=ye=>Object.assign({width:ye*5,minWidth:ye*5},rt(ye)),y=ye=>{const{skeletonAvatarCls:ge,gradientFromColor:Ne,controlHeight:dt,controlHeightLG:fe,controlHeightSM:me}=ye;return{[`${ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ne},Ue(dt)),[`${ge}${ge}-circle`]:{borderRadius:"50%"},[`${ge}${ge}-lg`]:Object.assign({},Ue(fe)),[`${ge}${ge}-sm`]:Object.assign({},Ue(me))}},x=ye=>{const{controlHeight:ge,borderRadiusSM:Ne,skeletonInputCls:dt,controlHeightLG:fe,controlHeightSM:me,gradientFromColor:He}=ye;return{[`${dt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:He,borderRadius:Ne},a(ge)),[`${dt}-lg`]:Object.assign({},a(fe)),[`${dt}-sm`]:Object.assign({},a(me))}},b=ye=>Object.assign({width:ye},rt(ye)),E=ye=>{const{skeletonImageCls:ge,imageSizeBase:Ne,gradientFromColor:dt,borderRadiusSM:fe}=ye;return{[`${ge}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:dt,borderRadius:fe},b(Ne*2)),{[`${ge}-path`]:{fill:"#bfbfbf"},[`${ge}-svg`]:Object.assign(Object.assign({},b(Ne)),{maxWidth:Ne*4,maxHeight:Ne*4}),[`${ge}-svg${ge}-svg-circle`]:{borderRadius:"50%"}}),[`${ge}${ge}-circle`]:{borderRadius:"50%"}}},z=(ye,ge,Ne)=>{const{skeletonButtonCls:dt}=ye;return{[`${Ne}${dt}-circle`]:{width:ge,minWidth:ge,borderRadius:"50%"},[`${Ne}${dt}-round`]:{borderRadius:ge}}},ee=ye=>Object.assign({width:ye*2,minWidth:ye*2},rt(ye)),ae=ye=>{const{borderRadiusSM:ge,skeletonButtonCls:Ne,controlHeight:dt,controlHeightLG:fe,controlHeightSM:me,gradientFromColor:He}=ye;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:He,borderRadius:ge,width:dt*2,minWidth:dt*2},ee(dt))},z(ye,dt,Ne)),{[`${Ne}-lg`]:Object.assign({},ee(fe))}),z(ye,fe,`${Ne}-lg`)),{[`${Ne}-sm`]:Object.assign({},ee(me))}),z(ye,me,`${Ne}-sm`))},le=ye=>{const{componentCls:ge,skeletonAvatarCls:Ne,skeletonTitleCls:dt,skeletonParagraphCls:fe,skeletonButtonCls:me,skeletonInputCls:He,skeletonImageCls:we,controlHeight:he,controlHeightLG:je,controlHeightSM:Ot,gradientFromColor:ct,padding:Bt,marginSM:wt,borderRadius:Ft,titleHeight:Pe,blockRadius:Ke,paragraphLiHeight:nt,controlHeightXS:lt,paragraphMarginTop:Lt}=ye;return{[`${ge}`]:{display:"table",width:"100%",[`${ge}-header`]:{display:"table-cell",paddingInlineEnd:Bt,verticalAlign:"top",[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ct},Ue(he)),[`${Ne}-circle`]:{borderRadius:"50%"},[`${Ne}-lg`]:Object.assign({},Ue(je)),[`${Ne}-sm`]:Object.assign({},Ue(Ot))},[`${ge}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${dt}`]:{width:"100%",height:Pe,background:ct,borderRadius:Ke,[`+ ${fe}`]:{marginBlockStart:Ot}},[`${fe}`]:{padding:0,"> li":{width:"100%",height:nt,listStyle:"none",background:ct,borderRadius:Ke,"+ li":{marginBlockStart:lt}}},[`${fe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ge}-content`]:{[`${dt}, ${fe} > li`]:{borderRadius:Ft}}},[`${ge}-with-avatar ${ge}-content`]:{[`${dt}`]:{marginBlockStart:wt,[`+ ${fe}`]:{marginBlockStart:Lt}}},[`${ge}${ge}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(ye)),y(ye)),x(ye)),E(ye)),[`${ge}${ge}-block`]:{width:"100%",[`${me}`]:{width:"100%"},[`${He}`]:{width:"100%"}},[`${ge}${ge}-active`]:{[`
|
|
${dt},
|
|
${fe} > li,
|
|
${Ne},
|
|
${me},
|
|
${He},
|
|
${we}
|
|
`]:Object.assign({},re(ye))}}};var de=(0,We.Z)("Skeleton",ye=>{const{componentCls:ge}=ye,Ne=(0,Qe.TS)(ye,{skeletonAvatarCls:`${ge}-avatar`,skeletonTitleCls:`${ge}-title`,skeletonParagraphCls:`${ge}-paragraph`,skeletonButtonCls:`${ge}-button`,skeletonInputCls:`${ge}-input`,skeletonImageCls:`${ge}-image`,imageSizeBase:ye.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ye.gradientFromColor} 25%, ${ye.gradientToColor} 37%, ${ye.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[le(Ne)]},ye=>{const{colorFillContent:ge,colorFill:Ne}=ye,dt=ge,fe=Ne;return{color:dt,colorGradientEnd:fe,gradientFromColor:dt,gradientToColor:fe,titleHeight:ye.controlHeight/2,blockRadius:ye.borderRadiusSM,paragraphMarginTop:ye.marginLG+ye.marginXXS,paragraphLiHeight:ye.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=ye=>{const{prefixCls:ge,className:Ne,rootClassName:dt,active:fe,shape:me="circle",size:He="default"}=ye,{getPrefixCls:we}=Re.useContext(Ge.E_),he=we("skeleton",ge),[je,Ot]=de(he),ct=(0,Ae.Z)(ye,["prefixCls","className"]),Bt=ue()(he,`${he}-element`,{[`${he}-active`]:fe},Ne,dt,Ot);return je(Re.createElement("div",{className:Bt},Re.createElement(oe,Object.assign({prefixCls:`${he}-avatar`,shape:me,size:He},ct))))},Ee=ye=>{const{prefixCls:ge,className:Ne,rootClassName:dt,active:fe,block:me=!1,size:He="default"}=ye,{getPrefixCls:we}=Re.useContext(Ge.E_),he=we("skeleton",ge),[je,Ot]=de(he),ct=(0,Ae.Z)(ye,["prefixCls"]),Bt=ue()(he,`${he}-element`,{[`${he}-active`]:fe,[`${he}-block`]:me},Ne,dt,Ot);return je(Re.createElement("div",{className:Bt},Re.createElement(oe,Object.assign({prefixCls:`${he}-button`,size:He},ct))))};const pe="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 mt=ye=>{const{prefixCls:ge,className:Ne,rootClassName:dt,style:fe,active:me}=ye,{getPrefixCls:He}=Re.useContext(Ge.E_),we=He("skeleton",ge),[he,je]=de(we),Ot=ue()(we,`${we}-element`,{[`${we}-active`]:me},Ne,dt,je);return he(Re.createElement("div",{className:Ot},Re.createElement("div",{className:ue()(`${we}-image`,Ne),style:fe},Re.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${we}-image-svg`},Re.createElement("path",{d:pe,className:`${we}-image-path`})))))},et=ye=>{const{prefixCls:ge,className:Ne,rootClassName:dt,active:fe,block:me,size:He="default"}=ye,{getPrefixCls:we}=Re.useContext(Ge.E_),he=we("skeleton",ge),[je,Ot]=de(he),ct=(0,Ae.Z)(ye,["prefixCls"]),Bt=ue()(he,`${he}-element`,{[`${he}-active`]:fe,[`${he}-block`]:me},Ne,dt,Ot);return je(Re.createElement("div",{className:Bt},Re.createElement(oe,Object.assign({prefixCls:`${he}-input`,size:He},ct))))},it=ne(32855),At={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"},Dt=At,Kt=ne(7657),kt=function(ge,Ne){return Re.createElement(Kt.Z,(0,it.Z)({},ge,{ref:Ne,icon:Dt}))},Te=Re.forwardRef(kt),Pt=Te,Be=ye=>{const{prefixCls:ge,className:Ne,rootClassName:dt,style:fe,active:me,children:He}=ye,{getPrefixCls:we}=Re.useContext(Ge.E_),he=we("skeleton",ge),[je,Ot]=de(he),ct=ue()(he,`${he}-element`,{[`${he}-active`]:me},Ot,Ne,dt),Bt=He!=null?He:Re.createElement(Pt,null);return je(Re.createElement("div",{className:ct},Re.createElement("div",{className:ue()(`${he}-image`,Ne),style:fe},Bt)))},De=ne(3300),Wt=ye=>{const ge=we=>{const{width:he,rows:je=2}=ye;if(Array.isArray(he))return he[we];if(je-1===we)return he},{prefixCls:Ne,className:dt,style:fe,rows:me}=ye,He=(0,De.Z)(Array(me)).map((we,he)=>Re.createElement("li",{key:he,style:{width:ge(he)}}));return Re.createElement("ul",{className:ue()(Ne,dt),style:fe},He)},It=ye=>{let{prefixCls:ge,className:Ne,width:dt,style:fe}=ye;return Re.createElement("h3",{className:ue()(ge,Ne),style:Object.assign({width:dt},fe)})};function Ce(ye){return ye&&typeof ye=="object"?ye:{}}function Ht(ye,ge){return ye&&!ge?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function qt(ye,ge){return!ye&&ge?{width:"38%"}:ye&&ge?{width:"50%"}:{}}function un(ye,ge){const Ne={};return(!ye||!ge)&&(Ne.width="61%"),!ye&&ge?Ne.rows=3:Ne.rows=2,Ne}const nn=ye=>{const{prefixCls:ge,loading:Ne,className:dt,rootClassName:fe,style:me,children:He,avatar:we=!1,title:he=!0,paragraph:je=!0,active:Ot,round:ct}=ye,{getPrefixCls:Bt,direction:wt,skeleton:Ft}=Re.useContext(Ge.E_),Pe=Bt("skeleton",ge),[Ke,nt]=de(Pe);if(Ne||!("loading"in ye)){const lt=!!we,Lt=!!he,zt=!!je;let ot;if(lt){const on=Object.assign(Object.assign({prefixCls:`${Pe}-avatar`},Ht(Lt,zt)),Ce(we));ot=Re.createElement("div",{className:`${Pe}-header`},Re.createElement(oe,Object.assign({},on)))}let ft;if(Lt||zt){let on;if(Lt){const hn=Object.assign(Object.assign({prefixCls:`${Pe}-title`},qt(lt,zt)),Ce(he));on=Re.createElement(It,Object.assign({},hn))}let _t;if(zt){const hn=Object.assign(Object.assign({prefixCls:`${Pe}-paragraph`},un(lt,Lt)),Ce(je));_t=Re.createElement(Wt,Object.assign({},hn))}ft=Re.createElement("div",{className:`${Pe}-content`},on,_t)}const Xt=ue()(Pe,{[`${Pe}-with-avatar`]:lt,[`${Pe}-active`]:Ot,[`${Pe}-rtl`]:wt==="rtl",[`${Pe}-round`]:ct},Ft==null?void 0:Ft.className,dt,fe,nt);return Ke(Re.createElement("div",{className:Xt,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),me)},ot,ft))}return typeof He!="undefined"?He:null};nn.Button=Ee,nn.Avatar=be,nn.Input=et,nn.Image=mt,nn.Node=Be;var Ze=nn,Me=Ze},31797:function(st,bt,ne){"use strict";ne.d(bt,{default:function(){return de}});var te=ne(59301),ue=ne(56762),Re=ne(92343),Ge=ne(92310),Ae=ne.n(Ge),Le=ne(36355),oe=ne(61621),We=ce=>{const{value:be,formatter:Se,precision:Ee,decimalSeparator:pe,groupSeparator:St="",prefixCls:mt}=ce;let Yt;if(typeof Se=="function")Yt=Se(be);else{const et=String(be),it=et.match(/^(-?)(\d*)(\.(\d+))?$/);if(!it||et==="-")Yt=et;else{const At=it[1];let Dt=it[2]||"0",Kt=it[4]||"";Dt=Dt.replace(/\B(?=(\d{3})+(?!\d))/g,St),typeof Ee=="number"&&(Kt=Kt.padEnd(Ee,"0").slice(0,Ee>0?Ee:0)),Kt&&(Kt=`${pe}${Kt}`),Yt=[te.createElement("span",{key:"int",className:`${mt}-content-value-int`},At,Dt),Kt&&te.createElement("span",{key:"decimal",className:`${mt}-content-value-decimal`},Kt)]}}return te.createElement("span",{className:`${mt}-content-value`},Yt)},Qe=ne(17313),Je=ne(83116),rt=ne(37613);const Ue=ce=>{const{componentCls:be,marginXXS:Se,padding:Ee,colorTextDescription:pe,titleFontSize:St,colorTextHeading:mt,contentFontSize:Yt,fontFamily:et}=ce;return{[`${be}`]:Object.assign(Object.assign({},(0,Qe.Wf)(ce)),{[`${be}-title`]:{marginBottom:Se,color:pe,fontSize:St},[`${be}-skeleton`]:{paddingTop:Ee},[`${be}-content`]:{color:mt,fontSize:Yt,fontFamily:et,[`${be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${be}-content-prefix, ${be}-content-suffix`]:{display:"inline-block"},[`${be}-content-prefix`]:{marginInlineEnd:Se},[`${be}-content-suffix`]:{marginInlineStart:Se}}})}};var re=(0,Je.Z)("Statistic",ce=>{const be=(0,rt.TS)(ce,{});return[Ue(be)]},ce=>{const{fontSizeHeading3:be,fontSize:Se}=ce;return{titleFontSize:Se,contentFontSize:be}}),y=ce=>{const{prefixCls:be,className:Se,rootClassName:Ee,style:pe,valueStyle:St,value:mt=0,title:Yt,valueRender:et,prefix:it,suffix:At,loading:Dt=!1,onMouseEnter:Kt,onMouseLeave:kt,decimalSeparator:Te=".",groupSeparator:Pt=","}=ce,{getPrefixCls:xt,direction:Be,statistic:De}=te.useContext(Le.E_),vt=xt("statistic",be),[Wt,gt]=re(vt),It=te.createElement(We,Object.assign({decimalSeparator:Te,groupSeparator:Pt,prefixCls:vt},ce,{value:mt})),Ce=Ae()(vt,{[`${vt}-rtl`]:Be==="rtl"},De==null?void 0:De.className,Se,Ee,gt);return Wt(te.createElement("div",{className:Ce,style:Object.assign(Object.assign({},De==null?void 0:De.style),pe),onMouseEnter:Kt,onMouseLeave:kt},Yt&&te.createElement("div",{className:`${vt}-title`},Yt),te.createElement(oe.Z,{paragraph:!1,loading:Dt,className:`${vt}-skeleton`},te.createElement("div",{style:St,className:`${vt}-content`},it&&te.createElement("span",{className:`${vt}-content-prefix`},it),et?et(It):It,At&&te.createElement("span",{className:`${vt}-content-suffix`},At)))))};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 b(ce,be){let Se=ce;const Ee=/\[[^\]]*]/g,pe=(be.match(Ee)||[]).map(et=>et.slice(1,-1)),St=be.replace(Ee,"[]"),mt=x.reduce((et,it)=>{let[At,Dt]=it;if(et.includes(At)){const Kt=Math.floor(Se/Dt);return Se-=Kt*Dt,et.replace(new RegExp(`${At}+`,"g"),kt=>{const Te=kt.length;return Kt.toString().padStart(Te,"0")})}return et},St);let Yt=0;return mt.replace(Ee,()=>{const et=pe[Yt];return Yt+=1,et})}function E(ce,be){const{format:Se=""}=be,Ee=new Date(ce).getTime(),pe=Date.now(),St=Math.max(Ee-pe,0);return b(St,Se)}const z=1e3/30;function ee(ce){return new Date(ce).getTime()}const ae=ce=>{const{value:be,format:Se="HH:mm:ss",onChange:Ee,onFinish:pe}=ce,St=(0,ue.Z)(),mt=te.useRef(null),Yt=()=>{pe==null||pe(),mt.current&&(clearInterval(mt.current),mt.current=null)},et=()=>{const Dt=ee(be);Dt>=Date.now()&&(mt.current=setInterval(()=>{St(),Ee==null||Ee(Dt-Date.now()),Dt<Date.now()&&Yt()},z))};te.useEffect(()=>(et(),()=>{mt.current&&(clearInterval(mt.current),mt.current=null)}),[be]);const it=(Dt,Kt)=>E(Dt,Object.assign(Object.assign({},Kt),{format:Se})),At=Dt=>(0,Re.Tm)(Dt,{title:void 0});return te.createElement(y,Object.assign({},ce,{valueRender:At,formatter:it}))};var le=te.memo(ae);y.Countdown=le;var de=y},15969:function(st,bt,ne){"use strict";ne.d(bt,{N:function(){return te}});const te=ue=>({color:ue.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ue.motionDurationSlow}`,"&:focus, &:hover":{color:ue.colorLinkHover},"&:active":{color:ue.colorLinkActive}})},1710:function(st,bt,ne){"use strict";ne.d(bt,{default:function(){return Ll}});var te={},ue="rc-table-internal-hook",Re=ne(11913),Ge=ne(6089),Ae=ne(34280),Le=ne(13697),oe=ne(59301),Ve=ne(4676);function We(ie){var se=oe.createContext(void 0),ve=function(Fe){var Oe=Fe.value,$e=Fe.children,qe=oe.useRef(Oe);qe.current=Oe;var Xe=oe.useState(function(){return{getValue:function(){return qe.current},listeners:new Set}}),ut=(0,Re.Z)(Xe,1),Et=ut[0];return(0,Ae.Z)(function(){(0,Ve.unstable_batchedUpdates)(function(){Et.listeners.forEach(function(ht){ht(Oe)})})},[Oe]),oe.createElement(se.Provider,{value:Et},$e)};return{Context:se,Provider:ve,defaultValue:ie}}function Qe(ie,se){var ve=(0,Ge.Z)(typeof se=="function"?se:function(ht){if(se===void 0)return ht;if(!Array.isArray(se))return ht[se];var Zt={};return se.forEach(function(Mt){Zt[Mt]=ht[Mt]}),Zt}),xe=oe.useContext(ie==null?void 0:ie.Context),Fe=xe||{},Oe=Fe.listeners,$e=Fe.getValue,qe=oe.useRef();qe.current=ve(xe?$e():ie==null?void 0:ie.defaultValue);var Xe=oe.useState({}),ut=(0,Re.Z)(Xe,2),Et=ut[1];return(0,Ae.Z)(function(){if(!xe)return;function ht(Zt){var Mt=ve(Zt);(0,Le.Z)(qe.current,Mt,!0)||Et({})}return Oe.add(ht),function(){Oe.delete(ht)}},[xe]),qe.current}var Je=ne(32855),rt=ne(8654);function Ue(){var ie=oe.createContext(null);function se(){return oe.useContext(ie)}function ve(Fe,Oe){var $e=(0,rt.Yr)(Fe),qe=function(ut,Et){var ht=$e?{ref:Et}:{},Zt=oe.useRef(0),Mt=oe.useRef(ut),Gt=se();return Gt!==null?oe.createElement(Fe,(0,Je.Z)({},ut,ht)):((!Oe||Oe(Mt.current,ut))&&(Zt.current+=1),Mt.current=ut,oe.createElement(ie.Provider,{value:Zt.current},oe.createElement(Fe,(0,Je.Z)({},ut,ht))))};return $e?oe.forwardRef(qe):qe}function xe(Fe,Oe){var $e=(0,rt.Yr)(Fe),qe=function(ut,Et){var ht=$e?{ref:Et}:{};return se(),oe.createElement(Fe,(0,Je.Z)({},ut,ht))};return $e?oe.memo(oe.forwardRef(qe),Oe):oe.memo(qe,Oe)}return{makeImmutable:ve,responseImmutable:xe,useImmutableMark:se}}var re=Ue(),a=re.makeImmutable,y=re.responseImmutable,x=re.useImmutableMark,b=Ue(),E=b.makeImmutable,z=b.responseImmutable,ee=b.useImmutableMark,ae=We(),le=ae;function de(ie,se){var ve=oe.useRef(0);ve.current+=1;var xe=oe.useRef(ie),Fe=[];Object.keys(ie||{}).map(function($e){var qe;(ie==null?void 0:ie[$e])!==((qe=xe.current)===null||qe===void 0?void 0:qe[$e])&&Fe.push($e)}),xe.current=ie;var Oe=oe.useRef([]);return Fe.length&&(Oe.current=Fe),oe.useDebugValue(ve.current),oe.useDebugValue(Oe.current.join(", ")),se&&console.log("".concat(se,":"),ve.current,Oe.current),ve.current}var ce=null,be=oe.memo(function(){var ie=de();return oe.createElement("h1",null,"Render Times: ",ie)});be.displayName="RenderBlock";var Se=ne(34666),Ee=ne(27247),pe=ne(74430),St=ne(92310),mt=ne.n(St),Yt=ne(80547),et=ne(97938),it=ne(48736),At=oe.createContext({renderWithProps:!1}),Dt=At,Kt="RC_TABLE_KEY";function kt(ie){return ie==null?[]:Array.isArray(ie)?ie:[ie]}function Te(ie){var se=[],ve={};return ie.forEach(function(xe){for(var Fe=xe||{},Oe=Fe.key,$e=Fe.dataIndex,qe=Oe||kt($e).join("-")||Kt;ve[qe];)qe="".concat(qe,"_next");ve[qe]=!0,se.push(qe)}),se}function Pt(ie){return ie!=null}function xt(ie){return ie&&(0,Se.Z)(ie)==="object"&&!Array.isArray(ie)&&!oe.isValidElement(ie)}function Be(ie,se,ve,xe,Fe,Oe){var $e=oe.useContext(Dt),qe=ee(),Xe=(0,Yt.Z)(function(){if(Pt(xe))return[xe];var ut=se==null||se===""?[]:Array.isArray(se)?se:[se],Et=(0,et.Z)(ie,ut),ht=Et,Zt=void 0;if(Fe){var Mt=Fe(Et,ie,ve);xt(Mt)?(ht=Mt.children,Zt=Mt.props,$e.renderWithProps=!0):ht=Mt}return[ht,Zt]},[qe,ie,xe,se,Fe,ve],function(ut,Et){if(Oe){var ht=(0,Re.Z)(ut,2),Zt=ht[1],Mt=(0,Re.Z)(Et,2),Gt=Mt[1];return Oe(Gt,Zt)}return $e.renderWithProps?!0:!(0,Le.Z)(ut,Et,!0)});return Xe}function De(ie,se,ve,xe){var Fe=ie+se-1;return ie<=xe&&Fe>=ve}function vt(ie,se){return Qe(le,function(ve){var xe=De(ie,se||1,ve.hoverStartRow,ve.hoverEndRow);return[xe,ve.onHover]})}var Wt=function(se){var ve=se.ellipsis,xe=se.rowType,Fe=se.children,Oe,$e=ve===!0?{showTitle:!0}:ve;return $e&&($e.showTitle||xe==="header")&&(typeof Fe=="string"||typeof Fe=="number"?Oe=Fe.toString():oe.isValidElement(Fe)&&typeof Fe.props.children=="string"&&(Oe=Fe.props.children)),Oe};function gt(ie){var se,ve,xe,Fe,Oe,$e,qe,Xe,ut=ie.component,Et=ie.children,ht=ie.ellipsis,Zt=ie.scope,Mt=ie.prefixCls,Gt=ie.className,ln=ie.align,en=ie.record,sn=ie.render,tn=ie.dataIndex,mn=ie.renderIndex,Nn=ie.shouldCellUpdate,In=ie.index,xn=ie.rowType,Jn=ie.colSpan,qn=ie.rowSpan,vn=ie.fixLeft,Cn=ie.fixRight,Pn=ie.firstFixLeft,cn=ie.lastFixLeft,yn=ie.firstFixRight,Wn=ie.lastFixRight,oa=ie.appendNode,$n=ie.additionalProps,Rn=$n===void 0?{}:$n,la=ie.isSticky,da="".concat(Mt,"-cell"),ka=Qe(le,["supportSticky","allColumnsFixedLeft"]),Pa=ka.supportSticky,Ya=ka.allColumnsFixedLeft,$a=Be(en,tn,mn,Et,sn,Nn),_n=(0,Re.Z)($a,2),ao=_n[0],xa=_n[1],ja={},Za=typeof vn=="number"&&Pa,Ao=typeof Cn=="number"&&Pa;Za&&(ja.position="sticky",ja.left=vn),Ao&&(ja.position="sticky",ja.right=Cn);var Hn=(se=(ve=(xe=xa==null?void 0:xa.colSpan)!==null&&xe!==void 0?xe:Rn.colSpan)!==null&&ve!==void 0?ve:Jn)!==null&&se!==void 0?se:1,zn=(Fe=(Oe=($e=xa==null?void 0:xa.rowSpan)!==null&&$e!==void 0?$e:Rn.rowSpan)!==null&&Oe!==void 0?Oe:qn)!==null&&Fe!==void 0?Fe:1,Tn=vt(In,zn),Fn=(0,Re.Z)(Tn,2),Ca=Fn[0],An=Fn[1],Yn=function(ro){var Oo;en&&An(In,In+zn-1),Rn==null||(Oo=Rn.onMouseEnter)===null||Oo===void 0||Oo.call(Rn,ro)},Sa=function(ro){var Oo;en&&An(-1,-1),Rn==null||(Oo=Rn.onMouseLeave)===null||Oo===void 0||Oo.call(Rn,ro)};if(Hn===0||zn===0)return null;var ma=(qe=Rn.title)!==null&&qe!==void 0?qe:Wt({rowType:xn,ellipsis:ht,children:ao}),xo=mt()(da,Gt,(Xe={},(0,pe.Z)(Xe,"".concat(da,"-fix-left"),Za&&Pa),(0,pe.Z)(Xe,"".concat(da,"-fix-left-first"),Pn&&Pa),(0,pe.Z)(Xe,"".concat(da,"-fix-left-last"),cn&&Pa),(0,pe.Z)(Xe,"".concat(da,"-fix-left-all"),cn&&Ya&&Pa),(0,pe.Z)(Xe,"".concat(da,"-fix-right"),Ao&&Pa),(0,pe.Z)(Xe,"".concat(da,"-fix-right-first"),yn&&Pa),(0,pe.Z)(Xe,"".concat(da,"-fix-right-last"),Wn&&Pa),(0,pe.Z)(Xe,"".concat(da,"-ellipsis"),ht),(0,pe.Z)(Xe,"".concat(da,"-with-append"),oa),(0,pe.Z)(Xe,"".concat(da,"-fix-sticky"),(Za||Ao)&&la&&Pa),(0,pe.Z)(Xe,"".concat(da,"-row-hover"),!xa&&Ca),Xe),Rn.className,xa==null?void 0:xa.className),So={};ln&&(So.textAlign=ln);var Xo=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},ja),Rn.style),So),xa==null?void 0:xa.style),oo=ao;return(0,Se.Z)(oo)==="object"&&!Array.isArray(oo)&&!oe.isValidElement(oo)&&(oo=null),ht&&(cn||yn)&&(oo=oe.createElement("span",{className:"".concat(da,"-content")},oo)),oe.createElement(ut,(0,Je.Z)({},xa,Rn,{className:xo,style:Xo,title:ma,scope:Zt,onMouseEnter:Yn,onMouseLeave:Sa,colSpan:Hn!==1?Hn:null,rowSpan:zn!==1?zn:null}),oa,oo)}var It=oe.memo(gt);function Ce(ie,se,ve,xe,Fe,Oe){var $e=ve[ie]||{},qe=ve[se]||{},Xe,ut;$e.fixed==="left"?Xe=xe.left[Fe==="rtl"?se:ie]:qe.fixed==="right"&&(ut=xe.right[Fe==="rtl"?ie:se]);var Et=!1,ht=!1,Zt=!1,Mt=!1,Gt=ve[se+1],ln=ve[ie-1],en=!(Oe!=null&&Oe.children);if(Fe==="rtl"){if(Xe!==void 0){var sn=ln&&ln.fixed==="left";Mt=!sn&&en}else if(ut!==void 0){var tn=Gt&&Gt.fixed==="right";Zt=!tn&&en}}else if(Xe!==void 0){var mn=Gt&&Gt.fixed==="left";Et=!mn&&en}else if(ut!==void 0){var Nn=ln&&ln.fixed==="right";ht=!Nn&&en}return{fixLeft:Xe,fixRight:ut,lastFixLeft:Et,firstFixRight:ht,lastFixRight:Zt,firstFixLeft:Mt,isSticky:xe.isSticky}}var Ht=oe.createContext({}),qt=Ht;function un(ie){var se=ie.className,ve=ie.index,xe=ie.children,Fe=ie.colSpan,Oe=Fe===void 0?1:Fe,$e=ie.rowSpan,qe=ie.align,Xe=Qe(le,["prefixCls","direction"]),ut=Xe.prefixCls,Et=Xe.direction,ht=oe.useContext(qt),Zt=ht.scrollColumnIndex,Mt=ht.stickyOffsets,Gt=ht.flattenColumns,ln=ht.columns,en=ve+Oe-1,sn=en+1===Zt?Oe+1:Oe,tn=Ce(ve,ve+sn-1,Gt,Mt,Et,ln==null?void 0:ln[ve]);return oe.createElement(It,(0,Je.Z)({className:se,index:ve,component:"td",prefixCls:ut,record:null,dataIndex:null,align:qe,colSpan:sn,rowSpan:$e,render:function(){return xe}},tn))}var nn=ne(43079),Ze=["children"];function Me(ie){var se=ie.children,ve=(0,nn.Z)(ie,Ze);return oe.createElement("tr",ve,se)}function ye(ie){var se=ie.children;return se}ye.Row=Me,ye.Cell=un;var ge=ye;function Ne(ie){var se=ie.children,ve=ie.stickyOffsets,xe=ie.flattenColumns,Fe=ie.columns,Oe=Qe(le,"prefixCls"),$e=xe.length-1,qe=xe[$e],Xe=oe.useMemo(function(){return{stickyOffsets:ve,flattenColumns:xe,scrollColumnIndex:qe!=null&&qe.scrollbar?$e:null,columns:Fe}},[qe,xe,$e,ve,Fe]);return oe.createElement(qt.Provider,{value:Xe},oe.createElement("tfoot",{className:"".concat(Oe,"-summary")},se))}var dt=z(Ne),fe=ge,me=ne(70425),He=ne(29301),we=ne(29194),he=ne(24514),je=ne(75152),Ot=ne(26112);function ct(ie,se,ve,xe,Fe,Oe,$e){ie.push({record:se,indent:ve,index:$e});var qe=Oe(se),Xe=Fe==null?void 0:Fe.has(qe);if(se&&Array.isArray(se[xe])&&Xe)for(var ut=0;ut<se[xe].length;ut+=1)ct(ie,se[xe][ut],ve+1,xe,Fe,Oe,ut)}function Bt(ie,se,ve,xe){var Fe=oe.useMemo(function(){if(ve!=null&&ve.size){for(var Oe=[],$e=0;$e<(ie==null?void 0:ie.length);$e+=1){var qe=ie[$e];ct(Oe,qe,0,se,ve,xe,$e)}return Oe}return ie==null?void 0:ie.map(function(Xe,ut){return{record:Xe,indent:0,index:ut}})},[ie,se,ve,xe]);return Fe}function wt(ie){var se=ie.prefixCls,ve=ie.children,xe=ie.component,Fe=ie.cellComponent,Oe=ie.className,$e=ie.expanded,qe=ie.colSpan,Xe=ie.isEmpty,ut=Qe(le,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Et=ut.scrollbarSize,ht=ut.fixHeader,Zt=ut.fixColumn,Mt=ut.componentWidth,Gt=ut.horizonScroll,ln=ve;return(Xe?Gt&&Mt:Zt)&&(ln=oe.createElement("div",{style:{width:Mt-(ht?Et:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(se,"-expanded-row-fixed")},ln)),oe.createElement(xe,{className:Oe,style:{display:$e?null:"none"}},oe.createElement(It,{component:Fe,prefixCls:se,colSpan:qe},ln))}var Ft=wt;function Pe(ie,se,ve,xe){var Fe=Qe(le,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Oe=Fe.flattenColumns,$e=Fe.expandableType,qe=Fe.expandedKeys,Xe=Fe.childrenColumnName,ut=Fe.onTriggerExpand,Et=Fe.rowExpandable,ht=Fe.onRow,Zt=Fe.expandRowByClick,Mt=Fe.rowClassName,Gt=$e==="nest",ln=$e==="row"&&(!Et||Et(ie)),en=ln||Gt,sn=qe&&qe.has(se),tn=Xe&&ie&&ie[Xe],mn=(0,me.useEvent)(ut),Nn=ht==null?void 0:ht(ie,ve),In=Nn==null?void 0:Nn.onClick,xn=function(Cn){Zt&&en&&ut(ie,Cn);for(var Pn=arguments.length,cn=new Array(Pn>1?Pn-1:0),yn=1;yn<Pn;yn++)cn[yn-1]=arguments[yn];In==null||In.apply(void 0,[Cn].concat(cn))},Jn;typeof Mt=="string"?Jn=Mt:typeof Mt=="function"&&(Jn=Mt(ie,ve,xe));var qn=Te(Oe);return(0,Ee.Z)((0,Ee.Z)({},Fe),{},{columnsKey:qn,nestExpandable:Gt,expanded:sn,hasNestChildren:tn,record:ie,onTriggerExpand:mn,rowSupportExpand:ln,expandable:en,rowProps:(0,Ee.Z)((0,Ee.Z)({},Nn),{},{className:mt()(Jn,Nn==null?void 0:Nn.className),onClick:xn})})}function Ke(ie,se,ve,xe,Fe){var Oe=ie.record,$e=ie.prefixCls,qe=ie.columnsKey,Xe=ie.fixedInfoList,ut=ie.expandIconColumnIndex,Et=ie.nestExpandable,ht=ie.indentSize,Zt=ie.expandIcon,Mt=ie.expanded,Gt=ie.hasNestChildren,ln=ie.onTriggerExpand,en=qe[ve],sn=Xe[ve],tn;ve===(ut||0)&&Et&&(tn=oe.createElement(oe.Fragment,null,oe.createElement("span",{style:{paddingLeft:"".concat(ht*xe,"px")},className:"".concat($e,"-row-indent indent-level-").concat(xe)}),Zt({prefixCls:$e,expanded:Mt,expandable:Gt,record:Oe,onExpand:ln})));var mn;return se.onCell&&(mn=se.onCell(Oe,Fe)),{key:en,fixedInfo:sn,appendCellNode:tn,additionalCellProps:mn||{}}}function nt(ie){var se=ie.className,ve=ie.style,xe=ie.record,Fe=ie.index,Oe=ie.renderIndex,$e=ie.rowKey,qe=ie.indent,Xe=qe===void 0?0:qe,ut=ie.rowComponent,Et=ie.cellComponent,ht=ie.scopeCellComponent,Zt=Pe(xe,$e,Fe,Xe),Mt=Zt.prefixCls,Gt=Zt.flattenColumns,ln=Zt.expandedRowClassName,en=Zt.expandedRowRender,sn=Zt.rowProps,tn=Zt.expanded,mn=Zt.rowSupportExpand,Nn=oe.useState(!1),In=(0,Re.Z)(Nn,2),xn=In[0],Jn=In[1];oe.useEffect(function(){tn&&Jn(!0)},[tn]);var qn=oe.createElement(ut,(0,Je.Z)({},sn,{"data-row-key":$e,className:mt()(se,"".concat(Mt,"-row"),"".concat(Mt,"-row-level-").concat(Xe),sn==null?void 0:sn.className),style:(0,Ee.Z)((0,Ee.Z)({},ve),sn==null?void 0:sn.style)}),Gt.map(function(cn,yn){var Wn=cn.render,oa=cn.dataIndex,$n=cn.className,Rn=Ke(Zt,cn,yn,Xe,Fe),la=Rn.key,da=Rn.fixedInfo,ka=Rn.appendCellNode,Pa=Rn.additionalCellProps;return oe.createElement(It,(0,Je.Z)({className:$n,ellipsis:cn.ellipsis,align:cn.align,scope:cn.rowScope,component:cn.rowScope?ht:Et,prefixCls:Mt,key:la,record:xe,index:Fe,renderIndex:Oe,dataIndex:oa,render:Wn,shouldCellUpdate:cn.shouldCellUpdate},da,{appendNode:ka,additionalProps:Pa}))})),vn;if(mn&&(xn||tn)){var Cn=en(xe,Fe,Xe+1,tn),Pn=ln&&ln(xe,Fe,Xe);vn=oe.createElement(Ft,{expanded:tn,className:mt()("".concat(Mt,"-expanded-row"),"".concat(Mt,"-expanded-row-level-").concat(Xe+1),Pn),prefixCls:Mt,component:ut,cellComponent:Et,colSpan:Gt.length,isEmpty:!1},Cn)}return oe.createElement(oe.Fragment,null,qn,vn)}nt.displayName="BodyRow";var lt=z(nt);function Lt(ie){var se=ie.columnKey,ve=ie.onColumnResize,xe=oe.useRef();return oe.useEffect(function(){xe.current&&ve(se,xe.current.offsetWidth)},[]),oe.createElement(He.Z,{data:se},oe.createElement("td",{ref:xe,style:{padding:0,border:0,height:0}},oe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function zt(ie){var se=ie.prefixCls,ve=ie.columnsKey,xe=ie.onColumnResize;return oe.createElement("tr",{"aria-hidden":"true",className:"".concat(se,"-measure-row"),style:{height:0,fontSize:0}},oe.createElement(He.Z.Collection,{onBatchResize:function(Oe){Oe.forEach(function($e){var qe=$e.data,Xe=$e.size;xe(qe,Xe.offsetWidth)})}},ve.map(function(Fe){return oe.createElement(Lt,{key:Fe,columnKey:Fe,onColumnResize:xe})})))}function ot(ie){var se=ie.data,ve=ie.measureColumnWidth,xe=Qe(le,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Fe=xe.prefixCls,Oe=xe.getComponent,$e=xe.onColumnResize,qe=xe.flattenColumns,Xe=xe.getRowKey,ut=xe.expandedKeys,Et=xe.childrenColumnName,ht=xe.emptyNode,Zt=Bt(se,Et,ut,Xe),Mt=oe.useRef({renderWithProps:!1}),Gt=Oe(["body","wrapper"],"tbody"),ln=Oe(["body","row"],"tr"),en=Oe(["body","cell"],"td"),sn=Oe(["body","cell"],"th"),tn;se.length?tn=Zt.map(function(Nn,In){var xn=Nn.record,Jn=Nn.indent,qn=Nn.index,vn=Xe(xn,In);return oe.createElement(lt,{key:vn,rowKey:vn,record:xn,index:In,renderIndex:qn,rowComponent:ln,cellComponent:en,scopeCellComponent:sn,getRowKey:Xe,indent:Jn})}):tn=oe.createElement(Ft,{expanded:!0,className:"".concat(Fe,"-placeholder"),prefixCls:Fe,component:ln,cellComponent:en,colSpan:qe.length,isEmpty:!0},ht);var mn=Te(qe);return oe.createElement(Dt.Provider,{value:Mt.current},oe.createElement(Gt,{className:"".concat(Fe,"-tbody")},ve&&oe.createElement(zt,{prefixCls:Fe,columnsKey:mn,onColumnResize:$e}),tn))}ot.displayName="Body";var ft=z(ot),Xt=["expandable"],on="RC_TABLE_INTERNAL_COL_DEFINE";function _t(ie){var se=ie.expandable,ve=(0,nn.Z)(ie,Xt),xe;return"expandable"in ie?xe=(0,Ee.Z)((0,Ee.Z)({},ve),se):xe=ve,xe.showExpandColumn===!1&&(xe.expandIconColumnIndex=-1),xe}var hn=["columnType"];function Mn(ie){for(var se=ie.colWidths,ve=ie.columns,xe=ie.columCount,Fe=[],Oe=xe||ve.length,$e=!1,qe=Oe-1;qe>=0;qe-=1){var Xe=se[qe],ut=ve&&ve[qe],Et=ut&&ut[on];if(Xe||Et||$e){var ht=Et||{},Zt=ht.columnType,Mt=(0,nn.Z)(ht,hn);Fe.unshift(oe.createElement("col",(0,Je.Z)({key:qe,style:{width:Xe}},Mt))),$e=!0}}return oe.createElement("colgroup",null,Fe)}var Zn=Mn,an=ne(3300),Un=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Kn(ie,se){return(0,oe.useMemo)(function(){for(var ve=[],xe=0;xe<se;xe+=1){var Fe=ie[xe];if(Fe!==void 0)ve[xe]=Fe;else return null}return ve},[ie.join("_"),se])}var On=oe.forwardRef(function(ie,se){var ve=ie.className,xe=ie.noData,Fe=ie.columns,Oe=ie.flattenColumns,$e=ie.colWidths,qe=ie.columCount,Xe=ie.stickyOffsets,ut=ie.direction,Et=ie.fixHeader,ht=ie.stickyTopOffset,Zt=ie.stickyBottomOffset,Mt=ie.stickyClassName,Gt=ie.onScroll,ln=ie.maxContentScroll,en=ie.children,sn=(0,nn.Z)(ie,Un),tn=Qe(le,["prefixCls","scrollbarSize","isSticky"]),mn=tn.prefixCls,Nn=tn.scrollbarSize,In=tn.isSticky,xn=In&&!Et?0:Nn,Jn=oe.useRef(null),qn=oe.useCallback(function($n){(0,rt.mH)(se,$n),(0,rt.mH)(Jn,$n)},[]);oe.useEffect(function(){var $n;function Rn(la){var da=la,ka=da.currentTarget,Pa=da.deltaX;Pa&&(Gt({currentTarget:ka,scrollLeft:ka.scrollLeft+Pa}),la.preventDefault())}return($n=Jn.current)===null||$n===void 0||$n.addEventListener("wheel",Rn),function(){var la;(la=Jn.current)===null||la===void 0||la.removeEventListener("wheel",Rn)}},[]);var vn=oe.useMemo(function(){return Oe.every(function($n){return $n.width})},[Oe]),Cn=Oe[Oe.length-1],Pn={fixed:Cn?Cn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(mn,"-cell-scrollbar")}}},cn=(0,oe.useMemo)(function(){return xn?[].concat((0,an.Z)(Fe),[Pn]):Fe},[xn,Fe]),yn=(0,oe.useMemo)(function(){return xn?[].concat((0,an.Z)(Oe),[Pn]):Oe},[xn,Oe]),Wn=(0,oe.useMemo)(function(){var $n=Xe.right,Rn=Xe.left;return(0,Ee.Z)((0,Ee.Z)({},Xe),{},{left:ut==="rtl"?[].concat((0,an.Z)(Rn.map(function(la){return la+xn})),[0]):Rn,right:ut==="rtl"?$n:[].concat((0,an.Z)($n.map(function(la){return la+xn})),[0]),isSticky:In})},[xn,Xe,In]),oa=Kn($e,qe);return oe.createElement("div",{style:(0,Ee.Z)({overflow:"hidden"},In?{top:ht,bottom:Zt}:{}),ref:qn,className:mt()(ve,(0,pe.Z)({},Mt,!!Mt))},oe.createElement("table",{style:{tableLayout:"fixed",visibility:xe||oa?null:"hidden"}},(!xe||!ln||vn)&&oe.createElement(Zn,{colWidths:oa?[].concat((0,an.Z)(oa),[xn]):[],columCount:qe+1,columns:yn}),en((0,Ee.Z)((0,Ee.Z)({},sn),{},{stickyOffsets:Wn,columns:cn,flattenColumns:yn}))))});On.displayName="FixedHolder";var Xn=oe.memo(On);function fa(ie){var se=ie.cells,ve=ie.stickyOffsets,xe=ie.flattenColumns,Fe=ie.rowComponent,Oe=ie.cellComponent,$e=ie.tdCellComponent,qe=ie.onHeaderRow,Xe=ie.index,ut=Qe(le,["prefixCls","direction"]),Et=ut.prefixCls,ht=ut.direction,Zt;qe&&(Zt=qe(se.map(function(Gt){return Gt.column}),Xe));var Mt=Te(se.map(function(Gt){return Gt.column}));return oe.createElement(Fe,Zt,se.map(function(Gt,ln){var en=Gt.column,sn=Ce(Gt.colStart,Gt.colEnd,xe,ve,ht,en),tn;return en&&en.onHeaderCell&&(tn=Gt.column.onHeaderCell(en)),oe.createElement(It,(0,Je.Z)({},Gt,{scope:en.title?Gt.colSpan>1?"colgroup":"col":null,ellipsis:en.ellipsis,align:en.align,component:en.title?Oe:$e,prefixCls:Et,key:Mt[ln]},sn,{additionalProps:tn,rowType:"header"}))}))}fa.displayName="HeaderRow";var na=fa;function ya(ie){var se=[];function ve($e,qe){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;se[Xe]=se[Xe]||[];var ut=qe,Et=$e.filter(Boolean).map(function(ht){var Zt={key:ht.key,className:ht.className||"",children:ht.title,column:ht,colStart:ut},Mt=1,Gt=ht.children;return Gt&&Gt.length>0&&(Mt=ve(Gt,ut,Xe+1).reduce(function(ln,en){return ln+en},0),Zt.hasSubColumns=!0),"colSpan"in ht&&(Mt=ht.colSpan),"rowSpan"in ht&&(Zt.rowSpan=ht.rowSpan),Zt.colSpan=Mt,Zt.colEnd=Zt.colStart+Mt-1,se[Xe].push(Zt),ut+=Mt,Mt});return Et}ve(ie,0);for(var xe=se.length,Fe=function(qe){se[qe].forEach(function(Xe){!("rowSpan"in Xe)&&!Xe.hasSubColumns&&(Xe.rowSpan=xe-qe)})},Oe=0;Oe<xe;Oe+=1)Fe(Oe);return se}function Ra(ie){var se=ie.stickyOffsets,ve=ie.columns,xe=ie.flattenColumns,Fe=ie.onHeaderRow,Oe=Qe(le,["prefixCls","getComponent"]),$e=Oe.prefixCls,qe=Oe.getComponent,Xe=oe.useMemo(function(){return ya(ve)},[ve]),ut=qe(["header","wrapper"],"thead"),Et=qe(["header","row"],"tr"),ht=qe(["header","cell"],"th"),Zt=qe(["header","cell"],"td");return oe.createElement(ut,{className:"".concat($e,"-thead")},Xe.map(function(Mt,Gt){var ln=oe.createElement(na,{key:Gt,flattenColumns:xe,cells:Mt,stickyOffsets:se,rowComponent:Et,cellComponent:ht,tdCellComponent:Zt,onHeaderRow:Fe,index:Gt});return ln}))}var sa=z(Ra),Oa=ne(11592);function Na(ie){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof se=="number"?se:se.endsWith("%")?ie*parseFloat(se)/100:null}function Ta(ie,se){return oe.useMemo(function(){if(se&&se>0){var ve=0,xe=0;ie.forEach(function(ut){var Et=Na(se,ut.width);Et?ve+=Et:xe+=1});var Fe=se-ve,Oe=xe,$e=Fe/xe,qe=0,Xe=ie.map(function(ut){var Et=(0,Ee.Z)({},ut),ht=Na(se,Et.width);if(ht)Et.width=ht;else{var Zt=Math.floor($e);Et.width=Oe===1?Fe:Zt,Fe-=Zt,Oe-=1}return qe+=Et.width,Et});return[Xe,qe]}return[ie,se]},[ie,se])}var _e=["children"],at=["fixed"];function Ye(ie){return(0,Oa.Z)(ie).filter(function(se){return oe.isValidElement(se)}).map(function(se){var ve=se.key,xe=se.props,Fe=xe.children,Oe=(0,nn.Z)(xe,_e),$e=(0,Ee.Z)({key:ve},Oe);return Fe&&($e.children=Ye(Fe)),$e})}function $t(ie){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ie.filter(function(ve){return ve&&(0,Se.Z)(ve)==="object"}).reduce(function(ve,xe,Fe){var Oe=xe.fixed,$e=Oe===!0?"left":Oe,qe="".concat(se,"-").concat(Fe),Xe=xe.children;return Xe&&Xe.length>0?[].concat((0,an.Z)(ve),(0,an.Z)($t(Xe,qe).map(function(ut){return(0,Ee.Z)({fixed:$e},ut)}))):[].concat((0,an.Z)(ve),[(0,Ee.Z)((0,Ee.Z)({key:qe},xe),{},{fixed:$e})])},[])}function fn(ie){for(var se=!0,ve=0;ve<ie.length;ve+=1){var xe=ie[ve];if(se&&xe.fixed!=="left")se=!1;else if(!se&&xe.fixed==="left"){warning(!1,"Index ".concat(ve-1," of `columns` missing `fixed='left'` prop."));break}}for(var Fe=!0,Oe=ie.length-1;Oe>=0;Oe-=1){var $e=ie[Oe];if(Fe&&$e.fixed!=="right")Fe=!1;else if(!Fe&&$e.fixed==="right"){warning(!1,"Index ".concat(Oe+1," of `columns` missing `fixed='right'` prop."));break}}}function Qt(ie){return ie.map(function(se){var ve=se.fixed,xe=(0,nn.Z)(se,at),Fe=ve;return ve==="left"?Fe="right":ve==="right"&&(Fe="left"),(0,Ee.Z)({fixed:Fe},xe)})}function Qn(ie,se){var ve=ie.prefixCls,xe=ie.columns,Fe=ie.children,Oe=ie.expandable,$e=ie.expandedKeys,qe=ie.columnTitle,Xe=ie.getRowKey,ut=ie.onTriggerExpand,Et=ie.expandIcon,ht=ie.rowExpandable,Zt=ie.expandIconColumnIndex,Mt=ie.direction,Gt=ie.expandRowByClick,ln=ie.columnWidth,en=ie.fixed,sn=ie.scrollWidth,tn=oe.useMemo(function(){return xe||Ye(Fe)},[xe,Fe]),mn=oe.useMemo(function(){if(Oe){var Cn,Pn=tn.slice();if(!Pn.includes(te)){var cn=Zt||0;cn>=0&&Pn.splice(cn,0,te)}var yn=Pn.indexOf(te);Pn=Pn.filter(function(Rn,la){return Rn!==te||la===yn});var Wn=tn[yn],oa;(en==="left"||en)&&!Zt?oa="left":(en==="right"||en)&&Zt===tn.length?oa="right":oa=Wn?Wn.fixed:null;var $n=(Cn={},(0,pe.Z)(Cn,on,{className:"".concat(ve,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,pe.Z)(Cn,"title",qe),(0,pe.Z)(Cn,"fixed",oa),(0,pe.Z)(Cn,"className","".concat(ve,"-row-expand-icon-cell")),(0,pe.Z)(Cn,"width",ln),(0,pe.Z)(Cn,"render",function(la,da,ka){var Pa=Xe(da,ka),Ya=$e.has(Pa),$a=ht?ht(da):!0,_n=Et({prefixCls:ve,expanded:Ya,expandable:$a,record:da,onExpand:ut});return Gt?oe.createElement("span",{onClick:function(xa){return xa.stopPropagation()}},_n):_n}),Cn);return Pn.map(function(Rn){return Rn===te?$n:Rn})}return tn.filter(function(Rn){return Rn!==te})},[Oe,tn,Xe,$e,Et,Mt]),Nn=oe.useMemo(function(){var Cn=mn;return se&&(Cn=se(Cn)),Cn.length||(Cn=[{render:function(){return null}}]),Cn},[se,mn,Mt]),In=oe.useMemo(function(){return Mt==="rtl"?Qt($t(Nn)):$t(Nn)},[Nn,Mt,sn]),xn=Ta(In,sn),Jn=(0,Re.Z)(xn,2),qn=Jn[0],vn=Jn[1];return[Nn,qn,vn]}var En=Qn;function wn(ie){var se,ve=ie.prefixCls,xe=ie.record,Fe=ie.onExpand,Oe=ie.expanded,$e=ie.expandable,qe="".concat(ve,"-row-expand-icon");if(!$e)return oe.createElement("span",{className:mt()(qe,"".concat(ve,"-row-spaced"))});var Xe=function(Et){Fe(xe,Et),Et.stopPropagation()};return oe.createElement("span",{className:mt()(qe,(se={},(0,pe.Z)(se,"".concat(ve,"-row-expanded"),Oe),(0,pe.Z)(se,"".concat(ve,"-row-collapsed"),!Oe),se)),onClick:Xe})}function pa(ie,se,ve){var xe=[];function Fe(Oe){(Oe||[]).forEach(function($e,qe){xe.push(se($e,qe)),Fe($e[ve])})}return Fe(ie),xe}function Ia(ie,se,ve){var xe=_t(ie),Fe=xe.expandIcon,Oe=xe.expandedRowKeys,$e=xe.defaultExpandedRowKeys,qe=xe.defaultExpandAllRows,Xe=xe.expandedRowRender,ut=xe.onExpand,Et=xe.onExpandedRowsChange,ht=xe.childrenColumnName,Zt=Fe||wn,Mt=ht||"children",Gt=oe.useMemo(function(){return Xe?"row":ie.expandable&&ie.internalHooks===ue&&ie.expandable.__PARENT_RENDER_ICON__||se.some(function(In){return In&&(0,Se.Z)(In)==="object"&&In[Mt]})?"nest":!1},[!!Xe,se]),ln=oe.useState(function(){return $e||(qe?pa(se,ve,Mt):[])}),en=(0,Re.Z)(ln,2),sn=en[0],tn=en[1],mn=oe.useMemo(function(){return new Set(Oe||sn||[])},[Oe,sn]),Nn=oe.useCallback(function(In){var xn=ve(In,se.indexOf(In)),Jn,qn=mn.has(xn);qn?(mn.delete(xn),Jn=(0,an.Z)(mn)):Jn=[].concat((0,an.Z)(mn),[xn]),tn(Jn),ut&&ut(!qn,In),Et&&Et(Jn)},[ve,mn,se,ut,Et]);return[xe,Gt,mn,Zt,Mt,Nn]}function Vt(ie,se,ve,xe){var Fe=ie.map(function(Oe,$e){return Ce($e,$e,ie,se,ve,xe==null?void 0:xe[$e])});return(0,Yt.Z)(function(){return Fe},[Fe],function(Oe,$e){return!(0,Le.Z)(Oe,$e)})}function ta(ie){var se=(0,oe.useRef)(ie),ve=(0,oe.useState)({}),xe=(0,Re.Z)(ve,2),Fe=xe[1],Oe=(0,oe.useRef)(null),$e=(0,oe.useRef)([]);function qe(Xe){$e.current.push(Xe);var ut=Promise.resolve();Oe.current=ut,ut.then(function(){if(Oe.current===ut){var Et=$e.current,ht=se.current;$e.current=[],Et.forEach(function(Zt){se.current=Zt(se.current)}),Oe.current=null,ht!==se.current&&Fe({})}})}return(0,oe.useEffect)(function(){return function(){Oe.current=null}},[]),[se.current,qe]}function La(ie){var se=(0,oe.useRef)(ie||null),ve=(0,oe.useRef)();function xe(){window.clearTimeout(ve.current)}function Fe($e){se.current=$e,xe(),ve.current=window.setTimeout(function(){se.current=null,ve.current=void 0},100)}function Oe(){return se.current}return(0,oe.useEffect)(function(){return xe},[]),[Fe,Oe]}function ra(){var ie=oe.useState(-1),se=(0,Re.Z)(ie,2),ve=se[0],xe=se[1],Fe=oe.useState(-1),Oe=(0,Re.Z)(Fe,2),$e=Oe[0],qe=Oe[1],Xe=oe.useCallback(function(ut,Et){xe(ut),qe(Et)},[]);return[ve,$e,Xe]}var ca=ne(47273),ze=(0,ca.Z)()?window:null;function Ct(ie,se){var ve=(0,Se.Z)(ie)==="object"?ie:{},xe=ve.offsetHeader,Fe=xe===void 0?0:xe,Oe=ve.offsetSummary,$e=Oe===void 0?0:Oe,qe=ve.offsetScroll,Xe=qe===void 0?0:qe,ut=ve.getContainer,Et=ut===void 0?function(){return ze}:ut,ht=Et()||ze;return oe.useMemo(function(){var Zt=!!ie;return{isSticky:Zt,stickyClassName:Zt?"".concat(se,"-sticky-holder"):"",offsetHeader:Fe,offsetSummary:$e,offsetScroll:Xe,container:ht}},[Xe,Fe,$e,se,ht])}function yt(ie,se,ve){var xe=(0,oe.useMemo)(function(){for(var Fe=[],Oe=[],$e=0,qe=0,Xe=0;Xe<se;Xe+=1)if(ve==="rtl"){Oe[Xe]=qe,qe+=ie[Xe]||0;var ut=se-Xe-1;Fe[ut]=$e,$e+=ie[ut]||0}else{Fe[Xe]=$e,$e+=ie[Xe]||0;var Et=se-Xe-1;Oe[Et]=qe,qe+=ie[Et]||0}return{left:Fe,right:Oe}},[ie,se,ve]);return xe}var Nt=yt;function Jt(ie){var se=ie.className,ve=ie.children;return oe.createElement("div",{className:se},ve)}var Ut=Jt,ke=ne(8224),Ie=ne(55468),pt=function(se,ve){var xe,Fe,Oe=se.scrollBodyRef,$e=se.onScroll,qe=se.offsetScroll,Xe=se.container,ut=Qe(le,"prefixCls"),Et=((xe=Oe.current)===null||xe===void 0?void 0:xe.scrollWidth)||0,ht=((Fe=Oe.current)===null||Fe===void 0?void 0:Fe.clientWidth)||0,Zt=Et&&ht*(ht/Et),Mt=oe.useRef(),Gt=ta({scrollLeft:0,isHiddenScrollBar:!1}),ln=(0,Re.Z)(Gt,2),en=ln[0],sn=ln[1],tn=oe.useRef({delta:0,x:0}),mn=oe.useState(!1),Nn=(0,Re.Z)(mn,2),In=Nn[0],xn=Nn[1],Jn=function(){xn(!1)},qn=function(yn){yn.persist(),tn.current.delta=yn.pageX-en.scrollLeft,tn.current.x=0,xn(!0),yn.preventDefault()},vn=function(yn){var Wn,oa=yn||((Wn=window)===null||Wn===void 0?void 0:Wn.event),$n=oa.buttons;if(!In||$n===0){In&&xn(!1);return}var Rn=tn.current.x+yn.pageX-tn.current.x-tn.current.delta;Rn<=0&&(Rn=0),Rn+Zt>=ht&&(Rn=ht-Zt),$e({scrollLeft:Rn/ht*(Et+2)}),tn.current.x=yn.pageX},Cn=function(){if(Oe.current){var yn=(0,Ie.os)(Oe.current).top,Wn=yn+Oe.current.offsetHeight,oa=Xe===window?document.documentElement.scrollTop+window.innerHeight:(0,Ie.os)(Xe).top+Xe.clientHeight;Wn-(0,je.Z)()<=oa||yn>=oa-qe?sn(function($n){return(0,Ee.Z)((0,Ee.Z)({},$n),{},{isHiddenScrollBar:!0})}):sn(function($n){return(0,Ee.Z)((0,Ee.Z)({},$n),{},{isHiddenScrollBar:!1})})}},Pn=function(yn){sn(function(Wn){return(0,Ee.Z)((0,Ee.Z)({},Wn),{},{scrollLeft:yn/Et*ht||0})})};return oe.useImperativeHandle(ve,function(){return{setScrollLeft:Pn}}),oe.useEffect(function(){var cn=(0,ke.Z)(document.body,"mouseup",Jn,!1),yn=(0,ke.Z)(document.body,"mousemove",vn,!1);return Cn(),function(){cn.remove(),yn.remove()}},[Zt,In]),oe.useEffect(function(){var cn=(0,ke.Z)(Xe,"scroll",Cn,!1),yn=(0,ke.Z)(window,"resize",Cn,!1);return function(){cn.remove(),yn.remove()}},[Xe]),oe.useEffect(function(){en.isHiddenScrollBar||sn(function(cn){var yn=Oe.current;return yn?(0,Ee.Z)((0,Ee.Z)({},cn),{},{scrollLeft:yn.scrollLeft/yn.scrollWidth*yn.clientWidth}):cn})},[en.isHiddenScrollBar]),Et<=ht||!Zt||en.isHiddenScrollBar?null:oe.createElement("div",{style:{height:(0,je.Z)(),width:ht,bottom:qe},className:"".concat(ut,"-sticky-scroll")},oe.createElement("div",{onMouseDown:qn,ref:Mt,className:mt()("".concat(ut,"-sticky-scroll-bar"),(0,pe.Z)({},"".concat(ut,"-sticky-scroll-bar-active"),In)),style:{width:"".concat(Zt,"px"),transform:"translate3d(".concat(en.scrollLeft,"px, 0, 0)")}}))},Rt=oe.forwardRef(pt);function tt(ie){return null}var Ln=tt;function dn(ie){return null}var kn=dn,Gn="rc-table",Tt=[],jt={};function gn(){return"No Data"}function rn(ie){var se,ve=(0,Ee.Z)({rowKey:"key",prefixCls:Gn,emptyText:gn},ie),xe=ve.prefixCls,Fe=ve.className,Oe=ve.rowClassName,$e=ve.style,qe=ve.data,Xe=ve.rowKey,ut=ve.scroll,Et=ve.tableLayout,ht=ve.direction,Zt=ve.title,Mt=ve.footer,Gt=ve.summary,ln=ve.caption,en=ve.id,sn=ve.showHeader,tn=ve.components,mn=ve.emptyText,Nn=ve.onRow,In=ve.onHeaderRow,xn=ve.internalHooks,Jn=ve.transformColumns,qn=ve.internalRefs,vn=ve.tailor,Cn=ve.sticky,Pn=qe||Tt,cn=!!Pn.length,yn=xn===ue,Wn=oe.useCallback(function(Aa,Ka){return(0,et.Z)(tn,Aa)||Ka},[tn]),oa=oe.useMemo(function(){return typeof Xe=="function"?Xe:function(Aa){var Ka=Aa&&Aa[Xe];return Ka}},[Xe]),$n=Wn(["body"]),Rn=ra(),la=(0,Re.Z)(Rn,3),da=la[0],ka=la[1],Pa=la[2],Ya=Ia(ve,Pn,oa),$a=(0,Re.Z)(Ya,6),_n=$a[0],ao=$a[1],xa=$a[2],ja=$a[3],Za=$a[4],Ao=$a[5],Hn=ut==null?void 0:ut.x,zn=oe.useState(0),Tn=(0,Re.Z)(zn,2),Fn=Tn[0],Ca=Tn[1],An=En((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},ve),_n),{},{expandable:!!_n.expandedRowRender,columnTitle:_n.columnTitle,expandedKeys:xa,getRowKey:oa,onTriggerExpand:Ao,expandIcon:ja,expandIconColumnIndex:_n.expandIconColumnIndex,direction:ht,scrollWidth:yn&&vn&&typeof Hn=="number"?Hn:null}),yn?Jn:null),Yn=(0,Re.Z)(An,3),Sa=Yn[0],ma=Yn[1],xo=Yn[2],So=xo!=null?xo:Hn,Xo=oe.useMemo(function(){return{columns:Sa,flattenColumns:ma}},[Sa,ma]),oo=oe.useRef(),jo=oe.useRef(),ro=oe.useRef(),Oo=oe.useRef(),cr=oe.useRef(),wa=oe.useState(!1),Fa=(0,Re.Z)(wa,2),Wa=Fa[0],io=Fa[1],lo=oe.useState(!1),ga=(0,Re.Z)(lo,2),Lo=ga[0],Co=ga[1],Ro=ta(new Map),_o=(0,Re.Z)(Ro,2),Qo=_o[0],xr=_o[1],or=Te(ma),Ko=or.map(function(Aa){return Qo.get(Aa)}),No=oe.useMemo(function(){return Ko},[Ko.join("_")]),Bo=Nt(No,ma.length,ht),so=ut&&Pt(ut.y),Ua=ut&&Pt(So)||!!_n.fixed,er=Ua&&ma.some(function(Aa){var Ka=Aa.fixed;return Ka}),ur=oe.useRef(),lr=Ct(Cn,xe),tr=lr.isSticky,Ar=lr.offsetHeader,Zr=lr.offsetSummary,va=lr.offsetScroll,Ga=lr.stickyClassName,vo=lr.container,Va=oe.useMemo(function(){return Gt==null?void 0:Gt(Pn)},[Gt,Pn]),Eo=(so||tr)&&oe.isValidElement(Va)&&Va.type===ge&&Va.props.fixed,Do,Io,rr;so&&(Io={overflowY:"scroll",maxHeight:ut.y}),Ua&&(Do={overflowX:"auto"},so||(Io={overflowY:"hidden"}),rr={width:So===!0?"auto":So,minWidth:"100%"});var mi=oe.useCallback(function(Aa,Ka){(0,we.Z)(oo.current)&&xr(function(Wo){if(Wo.get(Aa)!==Ka){var sr=new Map(Wo);return sr.set(Aa,Ka),sr}return Wo})},[]),Bl=La(null),fi=(0,Re.Z)(Bl,2),Fl=fi[0],pi=fi[1];function Or(Aa,Ka){Ka&&(typeof Ka=="function"?Ka(Aa):Ka.scrollLeft!==Aa&&(Ka.scrollLeft=Aa,Ka.scrollLeft!==Aa&&setTimeout(function(){Ka.scrollLeft=Aa},0)))}var hr=(0,Ge.Z)(function(Aa){var Ka=Aa.currentTarget,Wo=Aa.scrollLeft,sr=ht==="rtl",dr=typeof Wo=="number"?Wo:Ka.scrollLeft,Oi=Ka||jt;if(!pi()||pi()===Oi){var Vr;Fl(Oi),Or(dr,jo.current),Or(dr,ro.current),Or(dr,cr.current),Or(dr,(Vr=ur.current)===null||Vr===void 0?void 0:Vr.setScrollLeft)}var Jr=Ka||jo.current;if(Jr){var Xr=Jr.scrollWidth,Qr=Jr.clientWidth;if(Xr===Qr){io(!1),Co(!1);return}sr?(io(-dr<Xr-Qr),Co(-dr>0)):(io(dr>0),Co(dr<Xr-Qr))}}),hi=function(){Ua&&ro.current?hr({currentTarget:ro.current}):(io(!1),Co(!1))},Al=function(Ka){var Wo=Ka.width;Wo!==Fn&&(hi(),Ca(oo.current?oo.current.offsetWidth:Wo))},Si=oe.useRef(!1);oe.useEffect(function(){Si.current&&hi()},[Ua,qe,Sa.length]),oe.useEffect(function(){Si.current=!0},[]);var Ol=oe.useState(0),vi=(0,Re.Z)(Ol,2),Nr=vi[0],Pi=vi[1],Nl=oe.useState(!0),yi=(0,Re.Z)(Nl,2),bi=yi[0],Dl=yi[1];oe.useEffect(function(){(!vn||!yn)&&(ro.current instanceof Element?Pi((0,je.o)(ro.current).width):Pi((0,je.o)(Oo.current).width)),Dl((0,he.G)("position","sticky"))},[]),oe.useEffect(function(){yn&&qn&&(qn.body.current=ro.current)});var Il=oe.useCallback(function(Aa){return oe.createElement(oe.Fragment,null,oe.createElement(sa,Aa),Eo==="top"&&oe.createElement(dt,Aa,Va))},[Eo,Va]),kl=oe.useCallback(function(Aa){return oe.createElement(dt,Aa,Va)},[Va]),xi=Wn(["table"],"table"),Dr=oe.useMemo(function(){return Et||(er?So==="max-content"?"auto":"fixed":so||tr||ma.some(function(Aa){var Ka=Aa.ellipsis;return Ka})?"fixed":"auto")},[so,er,ma,Et,tr]),jr,Kr={colWidths:No,columCount:ma.length,stickyOffsets:Bo,onHeaderRow:In,fixHeader:so,scroll:ut},Ci=oe.useMemo(function(){return cn?null:typeof mn=="function"?mn():mn},[cn,mn]),Ei=oe.createElement(ft,{data:Pn,measureColumnWidth:so||Ua||tr}),wi=oe.createElement(Zn,{colWidths:ma.map(function(Aa){var Ka=Aa.width;return Ka}),columns:ma}),Li=ln!=null?oe.createElement("caption",{className:"".concat(xe,"-caption")},ln):void 0,Rl=(0,Ot.Z)(ve,{data:!0}),Bi=(0,Ot.Z)(ve,{aria:!0});if(so||tr){var Wr;typeof $n=="function"?(Wr=$n(Pn,{scrollbarSize:Nr,ref:ro,onScroll:hr}),Kr.colWidths=ma.map(function(Aa,Ka){var Wo=Aa.width,sr=Ka===ma.length-1?Wo-Nr:Wo;return typeof sr=="number"&&!Number.isNaN(sr)?sr:0})):Wr=oe.createElement("div",{style:(0,Ee.Z)((0,Ee.Z)({},Do),Io),onScroll:hr,ref:ro,className:mt()("".concat(xe,"-body"))},oe.createElement(xi,(0,Je.Z)({style:(0,Ee.Z)((0,Ee.Z)({},rr),{},{tableLayout:Dr})},Bi),Li,wi,Ei,!Eo&&Va&&oe.createElement(dt,{stickyOffsets:Bo,flattenColumns:ma,columns:Sa},Va)));var Fi=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({noData:!Pn.length,maxContentScroll:Ua&&So==="max-content"},Kr),Xo),{},{direction:ht,stickyClassName:Ga,onScroll:hr});jr=oe.createElement(oe.Fragment,null,sn!==!1&&oe.createElement(Xn,(0,Je.Z)({},Fi,{stickyTopOffset:Ar,className:"".concat(xe,"-header"),ref:jo}),Il),Wr,Eo&&Eo!=="top"&&oe.createElement(Xn,(0,Je.Z)({},Fi,{stickyBottomOffset:Zr,className:"".concat(xe,"-summary"),ref:cr}),kl),tr&&oe.createElement(Rt,{ref:ur,offsetScroll:va,scrollBodyRef:ro,onScroll:hr,container:vo}))}else jr=oe.createElement("div",{style:(0,Ee.Z)((0,Ee.Z)({},Do),Io),className:mt()("".concat(xe,"-content")),onScroll:hr,ref:ro},oe.createElement(xi,(0,Je.Z)({style:(0,Ee.Z)((0,Ee.Z)({},rr),{},{tableLayout:Dr})},Bi),Li,wi,sn!==!1&&oe.createElement(sa,(0,Je.Z)({},Kr,Xo)),Ei,Va&&oe.createElement(dt,{stickyOffsets:Bo,flattenColumns:ma,columns:Sa},Va)));var Ur=oe.createElement("div",(0,Je.Z)({className:mt()(xe,Fe,(se={},(0,pe.Z)(se,"".concat(xe,"-rtl"),ht==="rtl"),(0,pe.Z)(se,"".concat(xe,"-ping-left"),Wa),(0,pe.Z)(se,"".concat(xe,"-ping-right"),Lo),(0,pe.Z)(se,"".concat(xe,"-layout-fixed"),Et==="fixed"),(0,pe.Z)(se,"".concat(xe,"-fixed-header"),so),(0,pe.Z)(se,"".concat(xe,"-fixed-column"),er),(0,pe.Z)(se,"".concat(xe,"-scroll-horizontal"),Ua),(0,pe.Z)(se,"".concat(xe,"-has-fix-left"),ma[0]&&ma[0].fixed),(0,pe.Z)(se,"".concat(xe,"-has-fix-right"),ma[ma.length-1]&&ma[ma.length-1].fixed==="right"),se)),style:$e,id:en,ref:oo},Rl),Zt&&oe.createElement(Ut,{className:"".concat(xe,"-title")},Zt(Pn)),oe.createElement("div",{ref:Oo,className:"".concat(xe,"-container")},jr),Mt&&oe.createElement(Ut,{className:"".concat(xe,"-footer")},Mt(Pn)));Ua&&(Ur=oe.createElement(He.Z,{onResize:Al},Ur));var Ai=Vt(ma,Bo,ht,Sa),Tl=oe.useMemo(function(){return{scrollX:So,prefixCls:xe,getComponent:Wn,scrollbarSize:Nr,direction:ht,fixedInfoList:Ai,isSticky:tr,supportSticky:bi,componentWidth:Fn,fixHeader:so,fixColumn:er,horizonScroll:Ua,tableLayout:Dr,rowClassName:Oe,expandedRowClassName:_n.expandedRowClassName,expandIcon:ja,expandableType:ao,expandRowByClick:_n.expandRowByClick,expandedRowRender:_n.expandedRowRender,onTriggerExpand:Ao,expandIconColumnIndex:_n.expandIconColumnIndex,indentSize:_n.indentSize,allColumnsFixedLeft:ma.every(function(Aa){return Aa.fixed==="left"}),emptyNode:Ci,columns:Sa,flattenColumns:ma,onColumnResize:mi,hoverStartRow:da,hoverEndRow:ka,onHover:Pa,rowExpandable:_n.rowExpandable,onRow:Nn,getRowKey:oa,expandedKeys:xa,childrenColumnName:Za}},[So,xe,Wn,Nr,ht,Ai,tr,bi,Fn,so,er,Ua,Dr,Oe,_n.expandedRowClassName,ja,ao,_n.expandRowByClick,_n.expandedRowRender,Ao,_n.expandIconColumnIndex,_n.indentSize,Ci,Sa,ma,mi,da,ka,Pa,_n.rowExpandable,Nn,oa,xa,Za]);return oe.createElement(le.Provider,{value:Tl},Ur)}function jn(ie){return E(rn,ie)}var Vn=jn();Vn.EXPAND_COLUMN=te,Vn.INTERNAL_HOOKS=ue,Vn.Column=Ln,Vn.ColumnGroup=kn,Vn.Summary=fe;var Sn=Vn,ea=ne(6790),ua=We(null),Da=We(null);function Po(ie,se,ve){var xe=se||1;return ve[ie+xe]-(ve[ie]||0)}function yo(ie){var se=ie.rowInfo,ve=ie.column,xe=ie.colIndex,Fe=ie.indent,Oe=ie.index,$e=ie.renderIndex,qe=ie.record,Xe=ie.style,ut=ie.className,Et=ie.inverse,ht=ie.getHeight,Zt=ve.render,Mt=ve.dataIndex,Gt=ve.className,ln=ve.width,en=Qe(Da,["columnsOffset"]),sn=en.columnsOffset,tn=Ke(se,ve,xe,Fe,Oe),mn=tn.key,Nn=tn.fixedInfo,In=tn.appendCellNode,xn=tn.additionalCellProps,Jn=xn.style,qn=xn.colSpan,vn=qn===void 0?1:qn,Cn=xn.rowSpan,Pn=Cn===void 0?1:Cn,cn=xe-1,yn=Po(cn,vn,sn),Wn=vn>1?ln-yn:0,oa=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},Jn),Xe),{},{flex:"0 0 ".concat(yn,"px"),width:"".concat(yn,"px"),marginRight:Wn,pointerEvents:"auto"}),$n=oe.useMemo(function(){return Et?Pn<=1:vn===0||Pn===0||Pn>1},[Pn,vn,Et]);$n?oa.visibility="hidden":Et&&(oa.height=ht==null?void 0:ht(Pn));var Rn=$n?function(){return null}:Zt,la={};return(Pn===0||vn===0)&&(la.rowSpan=1,la.colSpan=1),oe.createElement(It,(0,Je.Z)({className:mt()(Gt,ut),ellipsis:ve.ellipsis,align:ve.align,scope:ve.rowScope,component:"div",prefixCls:se.prefixCls,key:mn,record:qe,index:Oe,renderIndex:$e,dataIndex:Mt,render:Rn,shouldCellUpdate:ve.shouldCellUpdate},Nn,{appendNode:In,additionalProps:(0,Ee.Z)((0,Ee.Z)({},xn),{},{style:oa},la)}))}var Yo=yo,$o=["data","index","className","rowKey","style","extra","getHeight"],qo=oe.forwardRef(function(ie,se){var ve=ie.data,xe=ie.index,Fe=ie.className,Oe=ie.rowKey,$e=ie.style,qe=ie.extra,Xe=ie.getHeight,ut=(0,nn.Z)(ie,$o),Et=ve.record,ht=ve.indent,Zt=ve.index,Mt=Qe(le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Gt=Mt.scrollX,ln=Mt.flattenColumns,en=Mt.prefixCls,sn=Mt.fixColumn,tn=Mt.componentWidth,mn=Pe(Et,Oe,xe,ht),Nn=mn.rowSupportExpand,In=mn.expanded,xn=mn.rowProps,Jn=mn.expandedRowRender,qn=mn.expandedRowClassName,vn;if(Nn&&In){var Cn=Jn(Et,xe,ht+1,In),Pn=qn==null?void 0:qn(Et,xe,ht),cn={};sn&&(cn={style:(0,pe.Z)({},"--virtual-width","".concat(tn,"px"))});var yn="".concat(en,"-expanded-row-cell");vn=oe.createElement("div",{className:mt()("".concat(en,"-expanded-row"),"".concat(en,"-expanded-row-level-").concat(ht+1),Pn)},oe.createElement(It,{component:"div",prefixCls:en,className:mt()(yn,(0,pe.Z)({},"".concat(yn,"-fixed"),sn)),additionalProps:cn},Cn))}var Wn=(0,Ee.Z)((0,Ee.Z)({},$e),{},{width:Gt});qe&&(Wn.position="absolute",Wn.pointerEvents="none");var oa=oe.createElement("div",(0,Je.Z)({},xn,ut,{ref:Nn?null:se,className:mt()(Fe,"".concat(en,"-row"),xn==null?void 0:xn.className,(0,pe.Z)({},"".concat(en,"-row-extra"),qe)),style:(0,Ee.Z)((0,Ee.Z)({},Wn),xn==null?void 0:xn.style)}),ln.map(function($n,Rn){return oe.createElement(Yo,{key:Rn,rowInfo:mn,column:$n,colIndex:Rn,indent:ht,index:xe,renderIndex:Zt,record:Et,inverse:qe,getHeight:Xe})}));return Nn?oe.createElement("div",{ref:se},oa,vn):oa}),zo=z(qo),mo=zo,Ja=oe.forwardRef(function(ie,se){var ve=ie.data,xe=ie.onScroll,Fe=Qe(le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Oe=Fe.flattenColumns,$e=Fe.onColumnResize,qe=Fe.getRowKey,Xe=Fe.expandedKeys,ut=Fe.prefixCls,Et=Fe.childrenColumnName,ht=Fe.emptyNode,Zt=Fe.scrollX,Mt=Qe(ua),Gt=Mt.scrollY,ln=Mt.listItemHeight,en=oe.useRef(),sn=Bt(ve,Et,Xe,qe),tn=oe.useMemo(function(){var vn=0;return Oe.map(function(Cn){var Pn=Cn.width,cn=Cn.key;return vn+=Pn,[cn,Pn,vn]})},[Oe]),mn=oe.useMemo(function(){return tn.map(function(vn){return vn[2]})},[tn]);oe.useEffect(function(){tn.forEach(function(vn){var Cn=(0,Re.Z)(vn,2),Pn=Cn[0],cn=Cn[1];$e(Pn,cn)})},[tn]),oe.useImperativeHandle(se,function(){var vn={};return Object.defineProperty(vn,"scrollLeft",{get:function(){var Pn;return((Pn=en.current)===null||Pn===void 0?void 0:Pn.getScrollInfo().x)||0},set:function(Pn){var cn;(cn=en.current)===null||cn===void 0||cn.scrollTo({left:Pn})}}),vn});var Nn=function(Cn,Pn){var cn,yn=(cn=sn[Pn])===null||cn===void 0?void 0:cn.record,Wn=Cn.onCell;if(Wn){var oa,$n=Wn(yn,Pn);return(oa=$n==null?void 0:$n.rowSpan)!==null&&oa!==void 0?oa:1}return 1},In=function(Cn){var Pn=Cn.start,cn=Cn.end,yn=Cn.getSize,Wn=Cn.offsetY;if(cn<0)return null;for(var oa=Oe.filter(function(Hn){return Nn(Hn,Pn)===0}),$n=Pn,Rn=function(zn){if(oa=oa.filter(function(Tn){return Nn(Tn,zn)===0}),!oa.length)return $n=zn,"break"},la=Pn;la>=0;la-=1){var da=Rn(la);if(da==="break")break}for(var ka=Oe.filter(function(Hn){return Nn(Hn,cn)!==1}),Pa=cn,Ya=function(zn){if(ka=ka.filter(function(Tn){return Nn(Tn,zn)!==1}),!ka.length)return Pa=Math.max(zn-1,cn),"break"},$a=cn;$a<sn.length;$a+=1){var _n=Ya($a);if(_n==="break")break}for(var ao=[],xa=function(zn){var Tn=sn[zn];if(!Tn)return"continue";Oe.some(function(Fn){return Nn(Fn,zn)>1})&&ao.push(zn)},ja=$n;ja<=Pa;ja+=1)var Za=xa(ja);var Ao=ao.map(function(Hn){var zn=sn[Hn],Tn=qe(zn.record,Hn),Fn=function(Yn){var Sa=Hn+Yn-1,ma=qe(sn[Sa].record,Sa),xo=yn(Tn,ma);return xo.bottom-xo.top},Ca=yn(Tn);return oe.createElement(mo,{key:Hn,data:zn,rowKey:Tn,index:Hn,style:{top:-Wn+Ca.top},extra:!0,getHeight:Fn})});return Ao},xn=oe.useMemo(function(){return{columnsOffset:mn}},[mn]),Jn="".concat(ut,"-tbody"),qn;return sn.length?qn=oe.createElement(ea.Z,{fullHeight:!1,ref:en,className:mt()(Jn,"".concat(Jn,"-virtual")),height:Gt,itemHeight:ln||24,data:sn,itemKey:function(Cn){return qe(Cn.record)},scrollWidth:Zt,onVirtualScroll:function(Cn){var Pn=Cn.x;xe({scrollLeft:Pn})},extraRender:In},function(vn,Cn,Pn){var cn=qe(vn.record,Cn);return oe.createElement(mo,(0,Je.Z)({data:vn,rowKey:cn,index:Cn},Pn))}):qn=oe.createElement("div",{className:mt()("".concat(ut,"-placeholder"))},oe.createElement(It,{component:"div",prefixCls:ut},ht)),oe.createElement(Da.Provider,{value:xn},qn)}),wo=z(Ja),To=wo,Mo=function(se,ve){var xe=ve.ref,Fe=ve.onScroll;return oe.createElement(To,{ref:xe,data:se,onScroll:Fe})},Fo=100;function bo(ie){var se=ie.columns,ve=ie.scroll,xe=ie.prefixCls,Fe=xe===void 0?Gn:xe,Oe=ie.className,$e=ie.listItemHeight,qe=ve||{},Xe=qe.x,ut=qe.y;typeof Xe!="number"&&(Xe=((se||[]).length+1)*Fo),typeof ut!="number"&&(ut=500);var Et=oe.useMemo(function(){return{scrollY:ut,listItemHeight:$e}},[ut,$e]);return oe.createElement(ua.Provider,{value:Et},oe.createElement(Sn,(0,Je.Z)({},ie,{className:mt()(Oe,"".concat(Fe,"-virtual")),scroll:(0,Ee.Z)((0,Ee.Z)({},ve),{},{x:Xe}),components:{body:Mo},columns:se,internalHooks:ue,tailor:!0})))}function Uo(ie){return E(bo,ie)}var ia=Uo(),qa=null;function _a(ie){return null}var fo=_a;function po(ie){return null}var ko=po,gr=ne(2738),nr=ne(68031),Xa=ne(36355),Qa=ne(93891),Go=ne(19716),mr=ne(8628),fr=ne(31724),Sr=ne(58421),Dn=ne(71418),pn=ne(88088);function bn(ie){return function(ve){let{prefixCls:xe,onExpand:Fe,record:Oe,expanded:$e,expandable:qe}=ve;const Xe=`${xe}-row-expand-icon`;return oe.createElement("button",{type:"button",onClick:ut=>{Fe(Oe,ut),ut.stopPropagation()},className:mt()(Xe,{[`${Xe}-spaced`]:!qe,[`${Xe}-expanded`]:qe&&$e,[`${Xe}-collapsed`]:qe&&!$e}),"aria-label":$e?ie.collapse:ie.expand,"aria-expanded":$e})}}var Bn=bn;function ha(ie,se){return"key"in ie&&ie.key!==void 0&&ie.key!==null?ie.key:ie.dataIndex?Array.isArray(ie.dataIndex)?ie.dataIndex.join("."):ie.dataIndex:se}function Ma(ie,se){return se?`${se}-${ie}`:`${ie}`}function eo(ie,se){return typeof ie=="function"?ie(se):ie}function to(ie,se){const ve=eo(ie,se);return Object.prototype.toString.call(ve)==="[object Object]"?"":ve}var co={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"},uo=co,Ho=ne(7657),ho=function(se,ve){return oe.createElement(Ho.Z,(0,Je.Z)({},se,{ref:ve,icon:uo}))},aa=oe.forwardRef(ho),Ea=aa,Ha=ne(56762);function ba(ie){const se=oe.useRef(ie),ve=(0,Ha.Z)();return[()=>se.current,xe=>{se.current=xe,ve()}]}var Ba=ne(3113),no=ne(24905),za=ne(38854),Vo=ne(64165),Jo=ne(20834),vr=ne(40875),Cr=ne(5112),Pr=ne(17574),Zo=ne(47472),Er=ne(92832);function wr(ie){let{value:se,onChange:ve,filterSearch:xe,tablePrefixCls:Fe,locale:Oe}=ie;return xe?oe.createElement("div",{className:`${Fe}-filter-dropdown-search`},oe.createElement(Er.default,{prefix:oe.createElement(Zo.Z,null),placeholder:Oe.filterSearchPlaceholder,onChange:ve,value:se,htmlSize:1,className:`${Fe}-filter-dropdown-search-input`})):null}var yr=wr,Yr=ne(10228);const Ni=ie=>{const{keyCode:se}=ie;se===Yr.Z.ENTER&&ie.stopPropagation()};var Di=oe.forwardRef((ie,se)=>oe.createElement("div",{className:ie.className,onClick:ve=>ve.stopPropagation(),onKeyDown:Ni,ref:se},ie.children));function pr(ie){let se=[];return(ie||[]).forEach(ve=>{let{value:xe,children:Fe}=ve;se.push(xe),Fe&&(se=[].concat((0,an.Z)(se),(0,an.Z)(pr(Fe))))}),se}function Ii(ie){return ie.some(se=>{let{children:ve}=se;return ve})}function $r(ie,se){return typeof se=="string"||typeof se=="number"?se==null?void 0:se.toString().toLowerCase().includes(ie.trim().toLowerCase()):!1}function qr(ie){let{filters:se,prefixCls:ve,filteredKeys:xe,filterMultiple:Fe,searchValue:Oe,filterSearch:$e}=ie;return se.map((qe,Xe)=>{const ut=String(qe.value);if(qe.children)return{key:ut||Xe,label:qe.text,popupClassName:`${ve}-dropdown-submenu`,children:qr({filters:qe.children,prefixCls:ve,filteredKeys:xe,filterMultiple:Fe,searchValue:Oe,filterSearch:$e})};const Et=Fe?no.default:Cr.ZP,ht={key:qe.value!==void 0?ut:Xe,label:oe.createElement(oe.Fragment,null,oe.createElement(Et,{checked:xe.includes(ut)}),oe.createElement("span",null,qe.text))};return Oe.trim()?typeof $e=="function"?$e(Oe,qe)?ht:null:$r(Oe,qe.text)?ht:null:ht})}function ki(ie){var se,ve;const{tablePrefixCls:xe,prefixCls:Fe,column:Oe,dropdownPrefixCls:$e,columnKey:qe,filterMultiple:Xe,filterMode:ut="menu",filterSearch:Et=!1,filterState:ht,triggerFilter:Zt,locale:Mt,children:Gt,getPopupContainer:ln}=ie,{filterDropdownOpen:en,onFilterDropdownOpenChange:sn,filterResetToDefaultFilteredValue:tn,defaultFilteredValue:mn,filterDropdownVisible:Nn,onFilterDropdownVisibleChange:In}=Oe,[xn,Jn]=oe.useState(!1),qn=!!(ht&&(!((se=ht.filteredKeys)===null||se===void 0)&&se.length||ht.forceFiltered)),vn=An=>{Jn(An),sn==null||sn(An),In==null||In(An)},Cn=(ve=en!=null?en:Nn)!==null&&ve!==void 0?ve:xn,Pn=ht==null?void 0:ht.filteredKeys,[cn,yn]=ba(Pn||[]),Wn=An=>{let{selectedKeys:Yn}=An;yn(Yn)},oa=(An,Yn)=>{let{node:Sa,checked:ma}=Yn;Wn(Xe?{selectedKeys:An}:{selectedKeys:ma&&Sa.key?[Sa.key]:[]})};oe.useEffect(()=>{xn&&Wn({selectedKeys:Pn||[]})},[Pn]);const[$n,Rn]=oe.useState([]),la=An=>{Rn(An)},[da,ka]=oe.useState(""),Pa=An=>{const{value:Yn}=An.target;ka(Yn)};oe.useEffect(()=>{xn||ka("")},[xn]);const Ya=An=>{const Yn=An&&An.length?An:null;if(Yn===null&&(!ht||!ht.filteredKeys)||(0,Le.Z)(Yn,ht==null?void 0:ht.filteredKeys,!0))return null;Zt({column:Oe,key:qe,filteredKeys:Yn})},$a=()=>{vn(!1),Ya(cn())},_n=function(){let{confirm:An,closeDropdown:Yn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};An&&Ya([]),Yn&&vn(!1),ka(""),yn(tn?(mn||[]).map(Sa=>String(Sa)):[])},ao=function(){let{closeDropdown:An}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};An&&vn(!1),Ya(cn())},xa=An=>{An&&Pn!==void 0&&yn(Pn||[]),vn(An),!An&&!Oe.filterDropdown&&$a()},ja=mt()({[`${$e}-menu-without-submenu`]:!Ii(Oe.filters||[])}),Za=An=>{if(An.target.checked){const Yn=pr(Oe==null?void 0:Oe.filters).map(Sa=>String(Sa));yn(Yn)}else yn([])},Ao=An=>{let{filters:Yn}=An;return(Yn||[]).map((Sa,ma)=>{const xo=String(Sa.value),So={title:Sa.text,key:Sa.value!==void 0?xo:ma};return Sa.children&&(So.children=Ao({filters:Sa.children})),So})},Hn=An=>{var Yn;return Object.assign(Object.assign({},An),{text:An.title,value:An.key,children:((Yn=An.children)===null||Yn===void 0?void 0:Yn.map(Sa=>Hn(Sa)))||[]})};let zn;if(typeof Oe.filterDropdown=="function")zn=Oe.filterDropdown({prefixCls:`${$e}-custom`,setSelectedKeys:An=>Wn({selectedKeys:An}),selectedKeys:cn(),confirm:ao,clearFilters:_n,filters:Oe.filters,visible:Cn,close:()=>{vn(!1)}});else if(Oe.filterDropdown)zn=Oe.filterDropdown;else{const An=cn()||[],Yn=()=>(Oe.filters||[]).length===0?oe.createElement(Vo.Z,{image:Vo.Z.PRESENTED_IMAGE_SIMPLE,description:Mt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ut==="tree"?oe.createElement(oe.Fragment,null,oe.createElement(yr,{filterSearch:Et,value:da,onChange:Pa,tablePrefixCls:xe,locale:Mt}),oe.createElement("div",{className:`${xe}-filter-dropdown-tree`},Xe?oe.createElement(no.default,{checked:An.length===pr(Oe.filters).length,indeterminate:An.length>0&&An.length<pr(Oe.filters).length,className:`${xe}-filter-dropdown-checkall`,onChange:Za},Mt.filterCheckall):null,oe.createElement(Pr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Xe,checkStrictly:!Xe,className:`${$e}-menu`,onCheck:oa,checkedKeys:An,selectedKeys:An,showIcon:!1,treeData:Ao({filters:Oe.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:da.trim()?ma=>typeof Et=="function"?Et(da,Hn(ma)):$r(da,ma.title):void 0}))):oe.createElement(oe.Fragment,null,oe.createElement(yr,{filterSearch:Et,value:da,onChange:Pa,tablePrefixCls:xe,locale:Mt}),oe.createElement(Jo.default,{selectable:!0,multiple:Xe,prefixCls:`${$e}-menu`,className:ja,onSelect:Wn,onDeselect:Wn,selectedKeys:An,getPopupContainer:ln,openKeys:$n,onOpenChange:la,items:qr({filters:Oe.filters||[],filterSearch:Et,prefixCls:Fe,filteredKeys:cn(),filterMultiple:Xe,searchValue:da})})),Sa=()=>tn?(0,Le.Z)((mn||[]).map(ma=>String(ma)),An,!0):An.length===0;zn=oe.createElement(oe.Fragment,null,Yn(),oe.createElement("div",{className:`${Fe}-dropdown-btns`},oe.createElement(Ba.ZP,{type:"link",size:"small",disabled:Sa(),onClick:()=>_n()},Mt.filterReset),oe.createElement(Ba.ZP,{type:"primary",size:"small",onClick:$a},Mt.filterConfirm)))}Oe.filterDropdown&&(zn=oe.createElement(vr.J,{selectable:void 0},zn));const Tn=()=>oe.createElement(Di,{className:`${Fe}-dropdown`},zn);let Fn;typeof Oe.filterIcon=="function"?Fn=Oe.filterIcon(qn):Oe.filterIcon?Fn=Oe.filterIcon:Fn=oe.createElement(Ea,null);const{direction:Ca}=oe.useContext(Xa.E_);return oe.createElement("div",{className:`${Fe}-column`},oe.createElement("span",{className:`${xe}-column-title`},Gt),oe.createElement(za.Z,{dropdownRender:Tn,trigger:["click"],open:Cn,onOpenChange:xa,getPopupContainer:ln,placement:Ca==="rtl"?"bottomLeft":"bottomRight"},oe.createElement("span",{role:"button",tabIndex:-1,className:mt()(`${Fe}-trigger`,{active:qn}),onClick:An=>{An.stopPropagation()}},Fn)))}var Ri=ki;function Ir(ie,se,ve){let xe=[];return(ie||[]).forEach((Fe,Oe)=>{var $e;const qe=Ma(Oe,ve);if(Fe.filters||"filterDropdown"in Fe||"onFilter"in Fe)if("filteredValue"in Fe){let Xe=Fe.filteredValue;"filterDropdown"in Fe||(Xe=($e=Xe==null?void 0:Xe.map(String))!==null&&$e!==void 0?$e:Xe),xe.push({column:Fe,key:ha(Fe,qe),filteredKeys:Xe,forceFiltered:Fe.filtered})}else xe.push({column:Fe,key:ha(Fe,qe),filteredKeys:se&&Fe.defaultFilteredValue?Fe.defaultFilteredValue:void 0,forceFiltered:Fe.filtered});"children"in Fe&&(xe=[].concat((0,an.Z)(xe),(0,an.Z)(Ir(Fe.children,se,qe))))}),xe}function _r(ie,se,ve,xe,Fe,Oe,$e,qe){return ve.map((Xe,ut)=>{const Et=Ma(ut,qe),{filterMultiple:ht=!0,filterMode:Zt,filterSearch:Mt}=Xe;let Gt=Xe;if(Gt.filters||Gt.filterDropdown){const ln=ha(Gt,Et),en=xe.find(sn=>{let{key:tn}=sn;return ln===tn});Gt=Object.assign(Object.assign({},Gt),{title:sn=>oe.createElement(Ri,{tablePrefixCls:ie,prefixCls:`${ie}-filter`,dropdownPrefixCls:se,column:Gt,columnKey:ln,filterState:en,filterMultiple:ht,filterMode:Zt,filterSearch:Mt,triggerFilter:Oe,locale:Fe,getPopupContainer:$e},eo(Xe.title,sn))})}return"children"in Gt&&(Gt=Object.assign(Object.assign({},Gt),{children:_r(ie,se,Gt.children,xe,Fe,Oe,$e,Et)})),Gt})}function ei(ie){const se={};return ie.forEach(ve=>{let{key:xe,filteredKeys:Fe,column:Oe}=ve;const{filters:$e,filterDropdown:qe}=Oe;if(qe)se[xe]=Fe||null;else if(Array.isArray(Fe)){const Xe=pr($e);se[xe]=Xe.filter(ut=>Fe.includes(String(ut)))}else se[xe]=null}),se}function ti(ie,se){return se.reduce((ve,xe)=>{const{column:{onFilter:Fe,filters:Oe},filteredKeys:$e}=xe;return Fe&&$e&&$e.length?ve.filter(qe=>$e.some(Xe=>{const ut=pr(Oe),Et=ut.findIndex(Zt=>String(Zt)===String(Xe)),ht=Et!==-1?ut[Et]:Xe;return Fe(ht,qe)})):ve},ie)}const ni=ie=>ie.flatMap(se=>"children"in se?[se].concat((0,an.Z)(ni(se.children||[]))):[se]);function Ti(ie){let{prefixCls:se,dropdownPrefixCls:ve,mergedColumns:xe,onFilterChange:Fe,getPopupContainer:Oe,locale:$e}=ie;const qe=oe.useMemo(()=>ni(xe||[]),[xe]),[Xe,ut]=oe.useState(()=>Ir(qe,!0)),Et=oe.useMemo(()=>{const Gt=Ir(qe,!1);if(Gt.length===0)return Gt;let ln=!0,en=!0;if(Gt.forEach(sn=>{let{filteredKeys:tn}=sn;tn!==void 0?ln=!1:en=!1}),ln){const sn=(qe||[]).map((tn,mn)=>ha(tn,Ma(mn)));return Xe.filter(tn=>{let{key:mn}=tn;return sn.includes(mn)}).map(tn=>{const mn=qe[sn.findIndex(Nn=>Nn===tn.key)];return Object.assign(Object.assign({},tn),{column:Object.assign(Object.assign({},tn.column),mn),forceFiltered:mn.filtered})})}return Gt},[qe,Xe]),ht=oe.useMemo(()=>ei(Et),[Et]),Zt=Gt=>{const ln=Et.filter(en=>{let{key:sn}=en;return sn!==Gt.key});ln.push(Gt),ut(ln),Fe(ei(ln),ln)};return[Gt=>_r(se,ve,Gt,Et,$e,Zt,Oe),Et,ht]}var Mi=Ti;function zi(ie,se,ve){const xe=oe.useRef({});function Fe(Oe){if(!xe.current||xe.current.data!==ie||xe.current.childrenColumnName!==se||xe.current.getRowKey!==ve){let qe=function(Xe){Xe.forEach((ut,Et)=>{const ht=ve(ut,Et);$e.set(ht,ut),ut&&typeof ut=="object"&&se in ut&&qe(ut[se]||[])})};const $e=new Map;qe(ie),xe.current={data:ie,childrenColumnName:se,kvMap:$e,getRowKey:ve}}return xe.current.kvMap.get(Oe)}return[Fe]}var Gi=ne(50371),Hi=function(ie,se){var ve={};for(var xe in ie)Object.prototype.hasOwnProperty.call(ie,xe)&&se.indexOf(xe)<0&&(ve[xe]=ie[xe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,xe=Object.getOwnPropertySymbols(ie);Fe<xe.length;Fe++)se.indexOf(xe[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ie,xe[Fe])&&(ve[xe[Fe]]=ie[xe[Fe]]);return ve};const ai=10;function Zi(ie,se){const ve={current:ie.current,pageSize:ie.pageSize};return Object.keys(se&&typeof se=="object"?se:{}).forEach(Fe=>{const Oe=ie[Fe];typeof Oe!="function"&&(ve[Fe]=Oe)}),ve}function ji(ie,se,ve){const xe=ve&&typeof ve=="object"?ve:{},{total:Fe=0}=xe,Oe=Hi(xe,["total"]),[$e,qe]=(0,oe.useState)(()=>({current:"defaultCurrent"in Oe?Oe.defaultCurrent:1,pageSize:"defaultPageSize"in Oe?Oe.defaultPageSize:ai})),Xe=(0,Gi.Z)($e,Oe,{total:Fe>0?Fe:ie}),ut=Math.ceil((Fe||ie)/Xe.pageSize);Xe.current>ut&&(Xe.current=ut||1);const Et=(Zt,Mt)=>{qe({current:Zt!=null?Zt:1,pageSize:Mt||Xe.pageSize})},ht=(Zt,Mt)=>{var Gt;ve&&((Gt=ve.onChange)===null||Gt===void 0||Gt.call(ve,Zt,Mt)),Et(Zt,Mt),se(Zt,Mt||(Xe==null?void 0:Xe.pageSize))};return ve===!1?[{},()=>{}]:[Object.assign(Object.assign({},Xe),{onChange:ht}),Et]}var Ki=ji,Wi=ne(84105),oi=ne(35654),kr=ne(90782),Ui=ne(71430),Vi=ne(18929);const ir={},Rr="SELECT_ALL",Tr="SELECT_INVERT",Mr="SELECT_NONE",ri=[],ii=(ie,se)=>{let ve=[];return(se||[]).forEach(xe=>{ve.push(xe),xe&&typeof xe=="object"&&ie in xe&&(ve=[].concat((0,an.Z)(ve),(0,an.Z)(ii(ie,xe[ie]))))}),ve};var Ji=(ie,se)=>{const{preserveSelectedRowKeys:ve,selectedRowKeys:xe,defaultSelectedRowKeys:Fe,getCheckboxProps:Oe,onChange:$e,onSelect:qe,onSelectAll:Xe,onSelectInvert:ut,onSelectNone:Et,onSelectMultiple:ht,columnWidth:Zt,type:Mt,selections:Gt,fixed:ln,renderCell:en,hideSelectAll:sn,checkStrictly:tn=!0}=se||{},{prefixCls:mn,data:Nn,pageData:In,getRecordByKey:xn,getRowKey:Jn,expandType:qn,childrenColumnName:vn,locale:Cn,getPopupContainer:Pn}=ie,[cn,yn]=(0,Vi.Z)(xe||Fe||ri,{value:xe}),Wn=oe.useRef(new Map),oa=(0,oe.useCallback)(Hn=>{if(ve){const zn=new Map;Hn.forEach(Tn=>{let Fn=xn(Tn);!Fn&&Wn.current.has(Tn)&&(Fn=Wn.current.get(Tn)),zn.set(Tn,Fn)}),Wn.current=zn}},[xn,ve]);oe.useEffect(()=>{oa(cn)},[cn]);const{keyEntities:$n}=(0,oe.useMemo)(()=>{if(tn)return{keyEntities:null};let Hn=Nn;if(ve){const zn=new Set(Nn.map((Fn,Ca)=>Jn(Fn,Ca))),Tn=Array.from(Wn.current).reduce((Fn,Ca)=>{let[An,Yn]=Ca;return zn.has(An)?Fn:Fn.concat(Yn)},[]);Hn=[].concat((0,an.Z)(Hn),(0,an.Z)(Tn))}return(0,Ui.I8)(Hn,{externalGetKey:Jn,childrenPropName:vn})},[Nn,Jn,tn,vn,ve]),Rn=(0,oe.useMemo)(()=>ii(vn,In),[vn,In]),la=(0,oe.useMemo)(()=>{const Hn=new Map;return Rn.forEach((zn,Tn)=>{const Fn=Jn(zn,Tn),Ca=(Oe?Oe(zn):null)||{};Hn.set(Fn,Ca)}),Hn},[Rn,Jn,Oe]),da=(0,oe.useCallback)(Hn=>{var zn;return!!(!((zn=la.get(Jn(Hn)))===null||zn===void 0)&&zn.disabled)},[la,Jn]),[ka,Pa]=(0,oe.useMemo)(()=>{if(tn)return[cn||[],[]];const{checkedKeys:Hn,halfCheckedKeys:zn}=(0,kr.S)(cn,!0,$n,da);return[Hn||[],zn]},[cn,tn,$n,da]),Ya=(0,oe.useMemo)(()=>{const Hn=Mt==="radio"?ka.slice(0,1):ka;return new Set(Hn)},[ka,Mt]),$a=(0,oe.useMemo)(()=>Mt==="radio"?new Set:new Set(Pa),[Pa,Mt]),[_n,ao]=(0,oe.useState)(null);oe.useEffect(()=>{se||yn(ri)},[!!se]);const xa=(0,oe.useCallback)((Hn,zn)=>{let Tn,Fn;oa(Hn),ve?(Tn=Hn,Fn=Hn.map(Ca=>Wn.current.get(Ca))):(Tn=[],Fn=[],Hn.forEach(Ca=>{const An=xn(Ca);An!==void 0&&(Tn.push(Ca),Fn.push(An))})),yn(Tn),$e==null||$e(Tn,Fn,{type:zn})},[yn,xn,$e,ve]),ja=(0,oe.useCallback)((Hn,zn,Tn,Fn)=>{if(qe){const Ca=Tn.map(An=>xn(An));qe(xn(Hn),zn,Ca,Fn)}xa(Tn,"single")},[qe,xn,xa]),Za=(0,oe.useMemo)(()=>!Gt||sn?null:(Gt===!0?[Rr,Tr,Mr]:Gt).map(zn=>zn===Rr?{key:"all",text:Cn.selectionAll,onSelect(){xa(Nn.map((Tn,Fn)=>Jn(Tn,Fn)).filter(Tn=>{const Fn=la.get(Tn);return!(Fn!=null&&Fn.disabled)||Ya.has(Tn)}),"all")}}:zn===Tr?{key:"invert",text:Cn.selectInvert,onSelect(){const Tn=new Set(Ya);In.forEach((Ca,An)=>{const Yn=Jn(Ca,An),Sa=la.get(Yn);Sa!=null&&Sa.disabled||(Tn.has(Yn)?Tn.delete(Yn):Tn.add(Yn))});const Fn=Array.from(Tn);ut&&ut(Fn),xa(Fn,"invert")}}:zn===Mr?{key:"none",text:Cn.selectNone,onSelect(){Et==null||Et(),xa(Array.from(Ya).filter(Tn=>{const Fn=la.get(Tn);return Fn==null?void 0:Fn.disabled}),"none")}}:zn).map(zn=>Object.assign(Object.assign({},zn),{onSelect:function(){for(var Tn,Fn,Ca=arguments.length,An=new Array(Ca),Yn=0;Yn<Ca;Yn++)An[Yn]=arguments[Yn];(Fn=zn.onSelect)===null||Fn===void 0||(Tn=Fn).call.apply(Tn,[zn].concat(An)),ao(null)}})),[Gt,Ya,In,Jn,ut,xa]);return[(0,oe.useCallback)(Hn=>{var zn;if(!se)return Hn.filter(wa=>wa!==ir);let Tn=(0,an.Z)(Hn);const Fn=new Set(Ya),Ca=Rn.map(Jn).filter(wa=>!la.get(wa).disabled),An=Ca.every(wa=>Fn.has(wa)),Yn=Ca.some(wa=>Fn.has(wa)),Sa=()=>{const wa=[];An?Ca.forEach(Wa=>{Fn.delete(Wa),wa.push(Wa)}):Ca.forEach(Wa=>{Fn.has(Wa)||(Fn.add(Wa),wa.push(Wa))});const Fa=Array.from(Fn);Xe==null||Xe(!An,Fa.map(Wa=>xn(Wa)),wa.map(Wa=>xn(Wa))),xa(Fa,"all"),ao(null)};let ma;if(Mt!=="radio"){let wa;if(Za){const ga={getPopupContainer:Pn,items:Za.map((Lo,Co)=>{const{key:Ro,text:_o,onSelect:Qo}=Lo;return{key:Ro!=null?Ro:Co,onClick:()=>{Qo==null||Qo(Ca)},label:_o}})};wa=oe.createElement("div",{className:`${mn}-selection-extra`},oe.createElement(za.Z,{menu:ga,getPopupContainer:Pn},oe.createElement("span",null,oe.createElement(Wi.Z,null))))}const Fa=Rn.map((ga,Lo)=>{const Co=Jn(ga,Lo),Ro=la.get(Co)||{};return Object.assign({checked:Fn.has(Co)},Ro)}).filter(ga=>{let{disabled:Lo}=ga;return Lo}),Wa=!!Fa.length&&Fa.length===Rn.length,io=Wa&&Fa.every(ga=>{let{checked:Lo}=ga;return Lo}),lo=Wa&&Fa.some(ga=>{let{checked:Lo}=ga;return Lo});ma=!sn&&oe.createElement("div",{className:`${mn}-selection`},oe.createElement(no.default,{checked:Wa?io:!!Rn.length&&An,indeterminate:Wa?!io&&lo:!An&&Yn,onChange:Sa,disabled:Rn.length===0||Wa,"aria-label":wa?"Custom selection":"Select all",skipGroup:!0}),wa)}let xo;Mt==="radio"?xo=(wa,Fa,Wa)=>{const io=Jn(Fa,Wa),lo=Fn.has(io);return{node:oe.createElement(Cr.ZP,Object.assign({},la.get(io),{checked:lo,onClick:ga=>ga.stopPropagation(),onChange:ga=>{Fn.has(io)||ja(io,!0,[io],ga.nativeEvent)}})),checked:lo}}:xo=(wa,Fa,Wa)=>{var io;const lo=Jn(Fa,Wa),ga=Fn.has(lo),Lo=$a.has(lo),Co=la.get(lo);let Ro;return qn==="nest"?Ro=Lo:Ro=(io=Co==null?void 0:Co.indeterminate)!==null&&io!==void 0?io:Lo,{node:oe.createElement(no.default,Object.assign({},Co,{indeterminate:Ro,checked:ga,skipGroup:!0,onClick:_o=>_o.stopPropagation(),onChange:_o=>{let{nativeEvent:Qo}=_o;const{shiftKey:xr}=Qo;let or=-1,Ko=-1;if(xr&&tn){const No=new Set([_n,lo]);Ca.some((Bo,so)=>{if(No.has(Bo))if(or===-1)or=so;else return Ko=so,!0;return!1})}if(Ko!==-1&&or!==Ko&&tn){const No=Ca.slice(or,Ko+1),Bo=[];ga?No.forEach(Ua=>{Fn.has(Ua)&&(Bo.push(Ua),Fn.delete(Ua))}):No.forEach(Ua=>{Fn.has(Ua)||(Bo.push(Ua),Fn.add(Ua))});const so=Array.from(Fn);ht==null||ht(!ga,so.map(Ua=>xn(Ua)),Bo.map(Ua=>xn(Ua))),xa(so,"multiple")}else{const No=ka;if(tn){const Bo=ga?(0,oi._5)(No,lo):(0,oi.L0)(No,lo);ja(lo,!ga,Bo,Qo)}else{const Bo=(0,kr.S)([].concat((0,an.Z)(No),[lo]),!0,$n,da),{checkedKeys:so,halfCheckedKeys:Ua}=Bo;let er=so;if(ga){const ur=new Set(so);ur.delete(lo),er=(0,kr.S)(Array.from(ur),{checked:!1,halfCheckedKeys:Ua},$n,da).checkedKeys}ja(lo,!ga,er,Qo)}}ao(ga?null:lo)}})),checked:ga}};const So=(wa,Fa,Wa)=>{const{node:io,checked:lo}=xo(wa,Fa,Wa);return en?en(lo,Fa,Wa,io):io};if(!Tn.includes(ir))if(Tn.findIndex(wa=>{var Fa;return((Fa=wa[on])===null||Fa===void 0?void 0:Fa.columnType)==="EXPAND_COLUMN"})===0){const[wa,...Fa]=Tn;Tn=[wa,ir].concat((0,an.Z)(Fa))}else Tn=[ir].concat((0,an.Z)(Tn));const Xo=Tn.indexOf(ir);Tn=Tn.filter((wa,Fa)=>wa!==ir||Fa===Xo);const oo=Tn[Xo-1],jo=Tn[Xo+1];let ro=ln;ro===void 0&&((jo==null?void 0:jo.fixed)!==void 0?ro=jo.fixed:(oo==null?void 0:oo.fixed)!==void 0&&(ro=oo.fixed)),ro&&oo&&((zn=oo[on])===null||zn===void 0?void 0:zn.columnType)==="EXPAND_COLUMN"&&oo.fixed===void 0&&(oo.fixed=ro);const Oo=mt()(`${mn}-selection-col`,{[`${mn}-selection-col-with-dropdown`]:Gt&&Mt==="checkbox"}),cr={fixed:ro,width:Zt,className:`${mn}-selection-column`,title:se.columnTitle||ma,render:So,onCell:se.onCell,[on]:{className:Oo}};return Tn.map(wa=>wa===ir?cr:wa)},[Jn,Rn,se,ka,Ya,$a,Zt,Za,qn,_n,la,ht,ja,da]),Ya]},Xi=ne(89489),Qi=ne(59477),Yi=ne(6848);const Lr="ascend",zr="descend";function Br(ie){return typeof ie.sorter=="object"&&typeof ie.sorter.multiple=="number"?ie.sorter.multiple:!1}function li(ie){return typeof ie=="function"?ie:ie&&typeof ie=="object"&&ie.compare?ie.compare:!1}function $i(ie,se){return se?ie[ie.indexOf(se)+1]:ie[0]}function Gr(ie,se,ve){let xe=[];function Fe(Oe,$e){xe.push({column:Oe,key:ha(Oe,$e),multiplePriority:Br(Oe),sortOrder:Oe.sortOrder})}return(ie||[]).forEach((Oe,$e)=>{const qe=Ma($e,ve);Oe.children?("sortOrder"in Oe&&Fe(Oe,qe),xe=[].concat((0,an.Z)(xe),(0,an.Z)(Gr(Oe.children,se,qe)))):Oe.sorter&&("sortOrder"in Oe?Fe(Oe,qe):se&&Oe.defaultSortOrder&&xe.push({column:Oe,key:ha(Oe,qe),multiplePriority:Br(Oe),sortOrder:Oe.defaultSortOrder}))}),xe}function si(ie,se,ve,xe,Fe,Oe,$e,qe){return(se||[]).map((Xe,ut)=>{const Et=Ma(ut,qe);let ht=Xe;if(ht.sorter){const Zt=ht.sortDirections||Fe,Mt=ht.showSorterTooltip===void 0?$e:ht.showSorterTooltip,Gt=ha(ht,Et),ln=ve.find(qn=>{let{key:vn}=qn;return vn===Gt}),en=ln?ln.sortOrder:null,sn=$i(Zt,en);let tn;if(Xe.sortIcon)tn=Xe.sortIcon({sortOrder:en});else{const qn=Zt.includes(Lr)&&oe.createElement(Qi.Z,{className:mt()(`${ie}-column-sorter-up`,{active:en===Lr})}),vn=Zt.includes(zr)&&oe.createElement(Xi.Z,{className:mt()(`${ie}-column-sorter-down`,{active:en===zr})});tn=oe.createElement("span",{className:mt()(`${ie}-column-sorter`,{[`${ie}-column-sorter-full`]:!!(qn&&vn)})},oe.createElement("span",{className:`${ie}-column-sorter-inner`,"aria-hidden":"true"},qn,vn))}const{cancelSort:mn,triggerAsc:Nn,triggerDesc:In}=Oe||{};let xn=mn;sn===zr?xn=In:sn===Lr&&(xn=Nn);const Jn=typeof Mt=="object"?Mt:{title:xn};ht=Object.assign(Object.assign({},ht),{className:mt()(ht.className,{[`${ie}-column-sort`]:en}),title:qn=>{const vn=oe.createElement("div",{className:`${ie}-column-sorters`},oe.createElement("span",{className:`${ie}-column-title`},eo(Xe.title,qn)),tn);return Mt?oe.createElement(Yi.Z,Object.assign({},Jn),vn):vn},onHeaderCell:qn=>{const vn=Xe.onHeaderCell&&Xe.onHeaderCell(qn)||{},Cn=vn.onClick,Pn=vn.onKeyDown;vn.onClick=Wn=>{xe({column:Xe,key:Gt,sortOrder:sn,multiplePriority:Br(Xe)}),Cn==null||Cn(Wn)},vn.onKeyDown=Wn=>{Wn.keyCode===Yr.Z.ENTER&&(xe({column:Xe,key:Gt,sortOrder:sn,multiplePriority:Br(Xe)}),Pn==null||Pn(Wn))};const cn=to(Xe.title,{}),yn=cn==null?void 0:cn.toString();return en?vn["aria-sort"]=en==="ascend"?"ascending":"descending":vn["aria-label"]=yn||"",vn.className=mt()(vn.className,`${ie}-column-has-sorters`),vn.tabIndex=0,Xe.ellipsis&&(vn.title=(cn!=null?cn:"").toString()),vn}})}return"children"in ht&&(ht=Object.assign(Object.assign({},ht),{children:si(ie,ht.children,ve,xe,Fe,Oe,$e,Et)})),ht})}function di(ie){const{column:se,sortOrder:ve}=ie;return{column:se,order:ve,field:se.dataIndex,columnKey:se.key}}function gi(ie){const se=ie.filter(ve=>{let{sortOrder:xe}=ve;return xe}).map(di);return se.length===0&&ie.length?Object.assign(Object.assign({},di(ie[ie.length-1])),{column:void 0}):se.length<=1?se[0]||{}:se}function Hr(ie,se,ve){const xe=se.slice().sort(($e,qe)=>qe.multiplePriority-$e.multiplePriority),Fe=ie.slice(),Oe=xe.filter($e=>{let{column:{sorter:qe},sortOrder:Xe}=$e;return li(qe)&&Xe});return Oe.length?Fe.sort(($e,qe)=>{for(let Xe=0;Xe<Oe.length;Xe+=1){const ut=Oe[Xe],{column:{sorter:Et},sortOrder:ht}=ut,Zt=li(Et);if(Zt&&ht){const Mt=Zt($e,qe,ht);if(Mt!==0)return ht===Lr?Mt:-Mt}}return 0}).map($e=>{const qe=$e[ve];return qe?Object.assign(Object.assign({},$e),{[ve]:Hr(qe,se,ve)}):$e}):Fe}function qi(ie){let{prefixCls:se,mergedColumns:ve,onSorterChange:xe,sortDirections:Fe,tableLocale:Oe,showSorterTooltip:$e}=ie;const[qe,Xe]=oe.useState(Gr(ve,!0)),ut=oe.useMemo(()=>{let Gt=!0;const ln=Gr(ve,!1);if(!ln.length)return qe;const en=[];function sn(mn){Gt?en.push(mn):en.push(Object.assign(Object.assign({},mn),{sortOrder:null}))}let tn=null;return ln.forEach(mn=>{tn===null?(sn(mn),mn.sortOrder&&(mn.multiplePriority===!1?Gt=!1:tn=!0)):(tn&&mn.multiplePriority!==!1||(Gt=!1),sn(mn))}),en},[ve,qe]),Et=oe.useMemo(()=>{const Gt=ut.map(ln=>{let{column:en,sortOrder:sn}=ln;return{column:en,order:sn}});return{sortColumns:Gt,sortColumn:Gt[0]&&Gt[0].column,sortOrder:Gt[0]&&Gt[0].order}},[ut]);function ht(Gt){let ln;Gt.multiplePriority===!1||!ut.length||ut[0].multiplePriority===!1?ln=[Gt]:ln=[].concat((0,an.Z)(ut.filter(en=>{let{key:sn}=en;return sn!==Gt.key})),[Gt]),Xe(ln),xe(gi(ln),ln)}return[Gt=>si(se,Gt,ut,ht,Fe,Oe,$e),ut,Et,()=>gi(ut)]}function ci(ie,se){return ie.map(ve=>{const xe=Object.assign({},ve);return xe.title=eo(ve.title,se),"children"in xe&&(xe.children=ci(xe.children,se)),xe})}function _i(ie){return[oe.useCallback(ve=>ci(ve,ie),[ie])]}var el=jn((ie,se)=>{const{_renderTimes:ve}=ie,{_renderTimes:xe}=se;return ve!==xe}),tl=Uo((ie,se)=>{const{_renderTimes:ve}=ie,{_renderTimes:xe}=se;return ve!==xe}),br=ne(64993),Fr=ne(17313),nl=ne(83116),al=ne(37613),ol=ie=>{const{componentCls:se}=ie,ve=`${ie.lineWidth}px ${ie.lineType} ${ie.tableBorderColor}`,xe=(Fe,Oe,$e)=>({[`&${se}-${Fe}`]:{[`> ${se}-container`]:{[`> ${se}-content, > ${se}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${se}-expanded-row-fixed`]:{margin:`-${Oe}px -${$e+ie.lineWidth}px`}}}}}});return{[`${se}-wrapper`]:{[`${se}${se}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${se}-title`]:{border:ve,borderBottom:0},[`> ${se}-container`]:{borderInlineStart:ve,borderTop:ve,[`
|
|
> ${se}-content,
|
|
> ${se}-header,
|
|
> ${se}-body,
|
|
> ${se}-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:ve},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ve},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${se}-cell-fix-right-first::after`]:{borderInlineEnd:ve}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${se}-expanded-row-fixed`]:{margin:`-${ie.tablePaddingVertical}px -${ie.tablePaddingHorizontal+ie.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ie.lineWidth,bottom:0,borderInlineEnd:ve,content:'""'}}}}}},[`&${se}-scroll-horizontal`]:{[`> ${se}-container > ${se}-body`]:{"> table > tbody":{[`
|
|
> tr${se}-expanded-row,
|
|
> tr${se}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},xe("middle",ie.tablePaddingVerticalMiddle,ie.tablePaddingHorizontalMiddle)),xe("small",ie.tablePaddingVerticalSmall,ie.tablePaddingHorizontalSmall)),{[`> ${se}-footer`]:{border:ve,borderTop:0}}),[`${se}-cell`]:{[`${se}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ie.lineWidth}px 0 ${ie.lineWidth}px ${ie.tableHeaderBg}`}},[`${se}-bordered ${se}-cell-scrollbar`]:{borderInlineEnd:ve}}}},rl=ie=>{const{componentCls:se}=ie;return{[`${se}-wrapper`]:{[`${se}-cell-ellipsis`]:Object.assign(Object.assign({},Fr.vS),{wordBreak:"keep-all",[`
|
|
&${se}-cell-fix-left-last,
|
|
&${se}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${se}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${se}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},il=ie=>{const{componentCls:se}=ie;return{[`${se}-wrapper`]:{[`${se}-tbody > tr${se}-placeholder`]:{textAlign:"center",color:ie.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ie.colorBgContainer}}}}},ll=ne(15969),sl=ie=>{const{componentCls:se,antCls:ve,controlInteractiveSize:xe,motionDurationSlow:Fe,lineWidth:Oe,paddingXS:$e,lineType:qe,tableBorderColor:Xe,tableExpandIconBg:ut,tableExpandColumnWidth:Et,borderRadius:ht,fontSize:Zt,fontSizeSM:Mt,lineHeight:Gt,tablePaddingVertical:ln,tablePaddingHorizontal:en,tableExpandedRowBg:sn,paddingXXS:tn}=ie,mn=xe/2-Oe,Nn=mn*2+Oe*3,In=`${Oe}px ${qe} ${Xe}`,xn=tn-Oe;return{[`${se}-wrapper`]:{[`${se}-expand-icon-col`]:{width:Et},[`${se}-row-expand-icon-cell`]:{textAlign:"center",[`${se}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${se}-row-indent`]:{height:1,float:"left"},[`${se}-row-expand-icon`]:Object.assign(Object.assign({},(0,ll.N)(ie)),{position:"relative",float:"left",boxSizing:"border-box",width:Nn,height:Nn,padding:0,color:"inherit",lineHeight:`${Nn}px`,background:ut,border:In,borderRadius:ht,transform:`scale(${xe/Nn})`,transition:`all ${Fe}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Fe} ease-out`,content:'""'},"&::before":{top:mn,insetInlineEnd:xn,insetInlineStart:xn,height:Oe},"&::after":{top:xn,bottom:xn,insetInlineStart:mn,width:Oe,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"}}),[`${se}-row-indent + ${se}-row-expand-icon`]:{marginTop:(Zt*Gt-Oe*3)/2-Math.ceil((Mt*1.4-Oe*3)/2),marginInlineEnd:$e},[`tr${se}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:sn}},[`${ve}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${se}-expanded-row-fixed`]:{position:"relative",margin:`-${ln}px -${en}px`,padding:`${ln}px ${en}px`}}}},dl=ie=>{const{componentCls:se,antCls:ve,iconCls:xe,tableFilterDropdownWidth:Fe,tableFilterDropdownSearchWidth:Oe,paddingXXS:$e,paddingXS:qe,colorText:Xe,lineWidth:ut,lineType:Et,tableBorderColor:ht,tableHeaderIconColor:Zt,fontSizeSM:Mt,tablePaddingHorizontal:Gt,borderRadius:ln,motionDurationSlow:en,colorTextDescription:sn,colorPrimary:tn,tableHeaderFilterActiveBg:mn,colorTextDisabled:Nn,tableFilterDropdownBg:In,tableFilterDropdownHeight:xn,controlItemBgHover:Jn,controlItemBgActive:qn,boxShadowSecondary:vn,filterDropdownMenuBg:Cn}=ie,Pn=`${ve}-dropdown`,cn=`${se}-filter-dropdown`,yn=`${ve}-tree`,Wn=`${ut}px ${Et} ${ht}`;return[{[`${se}-wrapper`]:{[`${se}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${se}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-$e,marginInline:`${$e}px ${-Gt/2}px`,padding:`0 ${$e}px`,color:Zt,fontSize:Mt,borderRadius:ln,cursor:"pointer",transition:`all ${en}`,"&:hover":{color:sn,background:mn},"&.active":{color:tn}}}},{[`${ve}-dropdown`]:{[cn]:Object.assign(Object.assign({},(0,Fr.Wf)(ie)),{minWidth:Fe,backgroundColor:In,borderRadius:ln,boxShadow:vn,overflow:"hidden",[`${Pn}-menu`]:{maxHeight:xn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Cn,"&:empty::after":{display:"block",padding:`${qe}px 0`,color:Nn,fontSize:Mt,textAlign:"center",content:'"Not Found"'}},[`${cn}-tree`]:{paddingBlock:`${qe}px 0`,paddingInline:qe,[yn]:{padding:0},[`${yn}-treenode ${yn}-node-content-wrapper:hover`]:{backgroundColor:Jn},[`${yn}-treenode-checkbox-checked ${yn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:qn}}},[`${cn}-search`]:{padding:qe,borderBottom:Wn,"&-input":{input:{minWidth:Oe},[xe]:{color:Nn}}},[`${cn}-checkall`]:{width:"100%",marginBottom:$e,marginInlineStart:$e},[`${cn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${qe-ut}px ${qe}px`,overflow:"hidden",borderTop:Wn}})}},{[`${ve}-dropdown ${cn}, ${cn}-submenu`]:{[`${ve}-checkbox-wrapper + span`]:{paddingInlineStart:qe,color:Xe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},gl=ie=>{const{componentCls:se,lineWidth:ve,colorSplit:xe,motionDurationSlow:Fe,zIndexTableFixed:Oe,tableBg:$e,zIndexTableSticky:qe}=ie,Xe=xe;return{[`${se}-wrapper`]:{[`
|
|
${se}-cell-fix-left,
|
|
${se}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:Oe,background:$e},[`
|
|
${se}-cell-fix-left-first::after,
|
|
${se}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ve,width:30,transform:"translateX(100%)",transition:`box-shadow ${Fe}`,content:'""',pointerEvents:"none"},[`${se}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${se}-cell-fix-right-first::after,
|
|
${se}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-ve,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Fe}`,content:'""',pointerEvents:"none"},[`${se}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:qe+1,width:30,transition:`box-shadow ${Fe}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${se}-ping-left`]:{[`&:not(${se}-has-fix-left) ${se}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Xe}`}},[`
|
|
${se}-cell-fix-left-first::after,
|
|
${se}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Xe}`},[`${se}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${se}-ping-right`]:{[`&:not(${se}-has-fix-right) ${se}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Xe}`}},[`
|
|
${se}-cell-fix-right-first::after,
|
|
${se}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Xe}`}}}}},cl=ie=>{const{componentCls:se,antCls:ve}=ie;return{[`${se}-wrapper`]:{[`${se}-pagination${ve}-pagination`]:{margin:`${ie.margin}px 0`},[`${se}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ie.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ul=ie=>{const{componentCls:se,tableRadius:ve}=ie;return{[`${se}-wrapper`]:{[se]:{[`${se}-title, ${se}-header`]:{borderRadius:`${ve}px ${ve}px 0 0`},[`${se}-title + ${se}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${se}-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:ve,borderStartEndRadius:ve,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ve},"> *:last-child":{borderStartEndRadius:ve}}},"&-footer":{borderRadius:`0 0 ${ve}px ${ve}px`}}}}},ml=ie=>{const{componentCls:se}=ie;return{[`${se}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${se}-pagination-left`]:{justifyContent:"flex-end"},[`${se}-pagination-right`]:{justifyContent:"flex-start"},[`${se}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${se}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${se}-row-indent`]:{float:"right"}}}}},fl=ie=>{const{componentCls:se,antCls:ve,iconCls:xe,fontSizeIcon:Fe,padding:Oe,paddingXS:$e,tableHeaderIconColor:qe,tableHeaderIconColorHover:Xe,tableSelectionColumnWidth:ut}=ie;return{[`${se}-wrapper`]:{[`${se}-selection-col`]:{width:ut,[`&${se}-selection-col-with-dropdown`]:{width:ut+Fe+Oe/4}},[`${se}-bordered ${se}-selection-col`]:{width:ut+$e*2,[`&${se}-selection-col-with-dropdown`]:{width:ut+Fe+Oe/4+$e*2}},[`
|
|
table tr th${se}-selection-column,
|
|
table tr td${se}-selection-column
|
|
`]:{paddingInlineEnd:ie.paddingXS,paddingInlineStart:ie.paddingXS,textAlign:"center",[`${ve}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${se}-selection-column${se}-cell-fix-left`]:{zIndex:ie.zIndexTableFixed+1},[`table tr th${se}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${se}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${se}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ie.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ie.tablePaddingHorizontal/4}px`,[xe]:{color:qe,fontSize:Fe,verticalAlign:"baseline","&:hover":{color:Xe}}}}}},pl=ie=>{const{componentCls:se}=ie,ve=(xe,Fe,Oe,$e)=>({[`${se}${se}-${xe}`]:{fontSize:$e,[`
|
|
${se}-title,
|
|
${se}-footer,
|
|
${se}-cell,
|
|
${se}-thead > tr > th,
|
|
${se}-tbody > tr > th,
|
|
${se}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${Fe}px ${Oe}px`},[`${se}-filter-trigger`]:{marginInlineEnd:`-${Oe/2}px`},[`${se}-expanded-row-fixed`]:{margin:`-${Fe}px -${Oe}px`},[`${se}-tbody`]:{[`${se}-wrapper:only-child ${se}`]:{marginBlock:`-${Fe}px`,marginInline:`${ie.tableExpandColumnWidth-Oe}px -${Oe}px`}},[`${se}-selection-column`]:{paddingInlineStart:`${Oe/4}px`}}});return{[`${se}-wrapper`]:Object.assign(Object.assign({},ve("middle",ie.tablePaddingVerticalMiddle,ie.tablePaddingHorizontalMiddle,ie.tableFontSizeMiddle)),ve("small",ie.tablePaddingVerticalSmall,ie.tablePaddingHorizontalSmall,ie.tableFontSizeSmall))}},hl=ie=>{const{componentCls:se,marginXXS:ve,fontSizeIcon:xe,tableHeaderIconColor:Fe,tableHeaderIconColorHover:Oe}=ie;return{[`${se}-wrapper`]:{[`${se}-thead th${se}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ie.motionDurationSlow}`,"&:hover":{background:ie.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ie.colorPrimary},[`
|
|
&${se}-cell-fix-left:hover,
|
|
&${se}-cell-fix-right:hover
|
|
`]:{background:ie.tableFixedHeaderSortActiveBg}},[`${se}-thead th${se}-column-sort`]:{background:ie.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${se}-column-sort`]:{background:ie.tableBodySortBg},[`${se}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${se}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${se}-column-sorter`]:{marginInlineStart:ve,color:Fe,fontSize:0,transition:`color ${ie.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:xe,"&.active":{color:ie.colorPrimary}},[`${se}-column-sorter-up + ${se}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${se}-column-sorters:hover ${se}-column-sorter`]:{color:Oe}}}},Sl=ie=>{const{componentCls:se,opacityLoading:ve,tableScrollThumbBg:xe,tableScrollThumbBgHover:Fe,tableScrollThumbSize:Oe,tableScrollBg:$e,zIndexTableSticky:qe,stickyScrollBarBorderRadius:Xe}=ie,ut=`${ie.lineWidth}px ${ie.lineType} ${ie.tableBorderColor}`;return{[`${se}-wrapper`]:{[`${se}-sticky`]:{"&-holder":{position:"sticky",zIndex:qe,background:ie.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Oe}px !important`,zIndex:qe,display:"flex",alignItems:"center",background:$e,borderTop:ut,opacity:ve,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Oe,backgroundColor:xe,borderRadius:Xe,transition:`all ${ie.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Fe}}}}}}},ui=ie=>{const{componentCls:se,lineWidth:ve,tableBorderColor:xe}=ie,Fe=`${ve}px ${ie.lineType} ${xe}`;return{[`${se}-wrapper`]:{[`${se}-summary`]:{position:"relative",zIndex:ie.zIndexTableFixed,background:ie.tableBg,"> tr":{"> th, > td":{borderBottom:Fe}}},[`div${se}-summary`]:{boxShadow:`0 -${ve}px 0 ${xe}`}}}},vl=ie=>{const{componentCls:se}=ie,ve=`${ie.lineWidth}px ${ie.lineType} ${ie.tableBorderColor}`,xe=`${se}-expanded-row-cell`;return{[`${se}-wrapper`]:{[`${se}-tbody-virtual`]:{[`${se}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${se}-cell`]:{borderBottom:ve},[`${se}-expanded-row`]:{[`${xe}${xe}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ie.lineWidth}px)`,borderInlineEnd:"none"}}},[`${se}-bordered`]:{[`${se}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ve,position:"absolute"},[`${se}-cell`]:{borderInlineEnd:ve,[`&${se}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ie.lineWidth,borderInlineStart:ve}}}}}}};const Pl=ie=>{const{componentCls:se,fontWeightStrong:ve,tablePaddingVertical:xe,tablePaddingHorizontal:Fe,lineWidth:Oe,lineType:$e,tableBorderColor:qe,tableFontSize:Xe,tableBg:ut,tableRadius:Et,tableHeaderTextColor:ht,motionDurationMid:Zt,tableHeaderBg:Mt,tableHeaderCellSplitColor:Gt,tableRowHoverBg:ln,tableSelectedRowBg:en,tableSelectedRowHoverBg:sn,tableFooterTextColor:tn,tableFooterBg:mn,paddingContentVerticalLG:Nn}=ie,In=`${Oe}px ${$e} ${qe}`;return{[`${se}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fr.dF)()),{[se]:Object.assign(Object.assign({},(0,Fr.Wf)(ie)),{fontSize:Xe,background:ut,borderRadius:`${Et}px ${Et}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Et}px ${Et}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${se}-cell,
|
|
${se}-thead > tr > th,
|
|
${se}-tbody > tr > th,
|
|
${se}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Nn}px ${Fe}px`,overflowWrap:"break-word"},[`${se}-title`]:{padding:`${xe}px ${Fe}px`},[`${se}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ht,fontWeight:ve,textAlign:"start",background:Mt,borderBottom:In,transition:`background ${Zt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${se}-selection-column):not(${se}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Gt,transform:"translateY(-50%)",transition:`background-color ${Zt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${se}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Zt}, border-color ${Zt}`,borderBottom:In,[`
|
|
> ${se}-wrapper:only-child,
|
|
> ${se}-expanded-row-fixed > ${se}-wrapper:only-child
|
|
`]:{[se]:{marginBlock:`-${xe}px`,marginInline:`${ie.tableExpandColumnWidth-Fe}px -${Fe}px`,[`${se}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ht,fontWeight:ve,textAlign:"start",background:Mt,borderBottom:In,transition:`background ${Zt} ease`},[`
|
|
&${se}-row:hover > th,
|
|
&${se}-row:hover > td,
|
|
> th${se}-cell-row-hover,
|
|
> td${se}-cell-row-hover
|
|
`]:{background:ln},[`&${se}-row-selected`]:{"> th, > td":{background:en},"&:hover > th, &:hover > td":{background:sn}}}},[`${se}-footer`]:{padding:`${xe}px ${Fe}px`,color:tn,background:mn}})}};var yl=(0,nl.Z)("Table",ie=>{const{colorTextHeading:se,colorSplit:ve,colorIcon:xe,colorIconHover:Fe,opacityLoading:Oe,colorBgContainer:$e,controlInteractiveSize:qe,headerBg:Xe,headerColor:ut,headerSortActiveBg:Et,headerSortHoverBg:ht,bodySortBg:Zt,rowHoverBg:Mt,rowSelectedBg:Gt,rowSelectedHoverBg:ln,rowExpandedBg:en,cellPaddingBlock:sn,cellPaddingInline:tn,cellPaddingBlockMD:mn,cellPaddingInlineMD:Nn,cellPaddingBlockSM:In,cellPaddingInlineSM:xn,borderColor:Jn,footerBg:qn,footerColor:vn,headerBorderRadius:Cn,cellFontSize:Pn,cellFontSizeMD:cn,cellFontSizeSM:yn,headerSplitColor:Wn,fixedHeaderSortActiveBg:oa,headerFilterHoverBg:$n,filterDropdownBg:Rn,expandIconBg:la,selectionColumnWidth:da,stickyScrollBarBg:ka}=ie,Pa=new br.C(xe),Ya=new br.C(Fe),$a=2,_n=(0,al.TS)(ie,{tableFontSize:Pn,tableBg:$e,tableRadius:Cn,tablePaddingVertical:sn,tablePaddingHorizontal:tn,tablePaddingVerticalMiddle:mn,tablePaddingHorizontalMiddle:Nn,tablePaddingVerticalSmall:In,tablePaddingHorizontalSmall:xn,tableBorderColor:Jn,tableHeaderTextColor:ut,tableHeaderBg:Xe,tableFooterTextColor:vn,tableFooterBg:qn,tableHeaderCellSplitColor:Wn,tableHeaderSortBg:Et,tableHeaderSortHoverBg:ht,tableHeaderIconColor:Pa.clone().setAlpha(Pa.getAlpha()*Oe).toRgbString(),tableHeaderIconColorHover:Ya.clone().setAlpha(Ya.getAlpha()*Oe).toRgbString(),tableBodySortBg:Zt,tableFixedHeaderSortActiveBg:oa,tableHeaderFilterActiveBg:$n,tableFilterDropdownBg:Rn,tableRowHoverBg:Mt,tableSelectedRowBg:Gt,tableSelectedRowHoverBg:ln,zIndexTableFixed:$a,zIndexTableSticky:$a+1,tableFontSizeMiddle:cn,tableFontSizeSmall:yn,tableSelectionColumnWidth:da,tableExpandIconBg:la,tableExpandColumnWidth:qe+2*ie.padding,tableExpandedRowBg:en,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ka,tableScrollThumbBgHover:se,tableScrollBg:ve});return[Pl(_n),cl(_n),ui(_n),hl(_n),dl(_n),ol(_n),ul(_n),sl(_n),ui(_n),il(_n),fl(_n),gl(_n),Sl(_n),rl(_n),pl(_n),ml(_n),vl(_n)]},ie=>{const{colorFillAlter:se,colorBgContainer:ve,colorTextHeading:xe,colorFillSecondary:Fe,colorFillContent:Oe,controlItemBgActive:$e,controlItemBgActiveHover:qe,padding:Xe,paddingSM:ut,paddingXS:Et,colorBorderSecondary:ht,borderRadiusLG:Zt,fontSize:Mt,controlHeight:Gt,colorTextPlaceholder:ln}=ie,en=new br.C(Fe).onBackground(ve).toHexShortString(),sn=new br.C(Oe).onBackground(ve).toHexShortString(),tn=new br.C(se).onBackground(ve).toHexShortString();return{headerBg:tn,headerColor:xe,headerSortActiveBg:en,headerSortHoverBg:sn,bodySortBg:tn,rowHoverBg:tn,rowSelectedBg:$e,rowSelectedHoverBg:qe,rowExpandedBg:se,cellPaddingBlock:Xe,cellPaddingInline:Xe,cellPaddingBlockMD:ut,cellPaddingInlineMD:Et,cellPaddingBlockSM:Et,cellPaddingInlineSM:Et,borderColor:ht,headerBorderRadius:Zt,footerBg:tn,footerColor:xe,cellFontSize:Mt,cellFontSizeMD:Mt,cellFontSizeSM:Mt,headerSplitColor:ht,fixedHeaderSortActiveBg:en,headerFilterHoverBg:Oe,filterDropdownMenuBg:ve,filterDropdownBg:ve,expandIconBg:ve,selectionColumnWidth:Gt,stickyScrollBarBg:ln,stickyScrollBarBorderRadius:100}});const bl=[],xl=(ie,se)=>{const{prefixCls:ve,className:xe,rootClassName:Fe,style:Oe,size:$e,bordered:qe,dropdownPrefixCls:Xe,dataSource:ut,pagination:Et,rowSelection:ht,rowKey:Zt="key",rowClassName:Mt,columns:Gt,children:ln,childrenColumnName:en,onChange:sn,getPopupContainer:tn,loading:mn,expandIcon:Nn,expandable:In,expandedRowRender:xn,expandIconColumnIndex:Jn,indentSize:qn,scroll:vn,sortDirections:Cn,locale:Pn,showSorterTooltip:cn=!0,virtual:yn}=ie,Wn=oe.useMemo(()=>Gt||Ye(ln),[Gt,ln]),oa=oe.useMemo(()=>Wn.some(va=>va.responsive),[Wn]),$n=(0,mr.Z)(oa),Rn=oe.useMemo(()=>{const va=new Set(Object.keys($n).filter(Ga=>$n[Ga]));return Wn.filter(Ga=>!Ga.responsive||Ga.responsive.some(vo=>va.has(vo)))},[Wn,$n]),la=(0,gr.Z)(ie,["className","style","columns"]),{locale:da=fr.Z,direction:ka,table:Pa,renderEmpty:Ya,getPrefixCls:$a,getPopupContainer:_n}=oe.useContext(Xa.E_),ao=(0,Go.Z)($e),xa=Object.assign(Object.assign({},da.Table),Pn),ja=ut||bl,Za=$a("table",ve),Ao=$a("dropdown",Xe),Hn=Object.assign({childrenColumnName:en,expandIconColumnIndex:Jn},In),{childrenColumnName:zn="children"}=Hn,Tn=oe.useMemo(()=>ja.some(va=>va==null?void 0:va[zn])?"nest":xn||In&&In.expandedRowRender?"row":null,[ja]),Fn={body:oe.useRef()},Ca=oe.useMemo(()=>typeof Zt=="function"?Zt:va=>va==null?void 0:va[Zt],[Zt]),[An]=zi(ja,zn,Ca),Yn={},Sa=function(va,Ga){let vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Va,Eo,Do;const Io=Object.assign(Object.assign({},Yn),va);vo&&((Va=Yn.resetPagination)===null||Va===void 0||Va.call(Yn),!((Eo=Io.pagination)===null||Eo===void 0)&&Eo.current&&(Io.pagination.current=1),Et&&Et.onChange&&Et.onChange(1,(Do=Io.pagination)===null||Do===void 0?void 0:Do.pageSize)),vn&&vn.scrollToFirstRowOnChange!==!1&&Fn.body.current&&(0,nr.Z)(0,{getContainer:()=>Fn.body.current}),sn==null||sn(Io.pagination,Io.filters,Io.sorter,{currentDataSource:ti(Hr(ja,Io.sorterStates,zn),Io.filterStates),action:Ga})},ma=(va,Ga)=>{Sa({sorter:va,sorterStates:Ga},"sort",!1)},[xo,So,Xo,oo]=qi({prefixCls:Za,mergedColumns:Rn,onSorterChange:ma,sortDirections:Cn||["ascend","descend"],tableLocale:xa,showSorterTooltip:cn}),jo=oe.useMemo(()=>Hr(ja,So,zn),[ja,So]);Yn.sorter=oo(),Yn.sorterStates=So;const ro=(va,Ga)=>{Sa({filters:va,filterStates:Ga},"filter",!0)},[Oo,cr,wa]=Mi({prefixCls:Za,locale:xa,dropdownPrefixCls:Ao,mergedColumns:Rn,onFilterChange:ro,getPopupContainer:tn||_n}),Fa=ti(jo,cr);Yn.filters=wa,Yn.filterStates=cr;const Wa=oe.useMemo(()=>{const va={};return Object.keys(wa).forEach(Ga=>{wa[Ga]!==null&&(va[Ga]=wa[Ga])}),Object.assign(Object.assign({},Xo),{filters:va})},[Xo,wa]),[io]=_i(Wa),lo=(va,Ga)=>{Sa({pagination:Object.assign(Object.assign({},Yn.pagination),{current:va,pageSize:Ga})},"paginate")},[ga,Lo]=Ki(Fa.length,lo,Et);Yn.pagination=Et===!1?{}:Zi(ga,Et),Yn.resetPagination=Lo;const Co=oe.useMemo(()=>{if(Et===!1||!ga.pageSize)return Fa;const{current:va=1,total:Ga,pageSize:vo=ai}=ga;return Fa.length<Ga?Fa.length>vo?Fa.slice((va-1)*vo,va*vo):Fa:Fa.slice((va-1)*vo,va*vo)},[!!Et,Fa,ga&&ga.current,ga&&ga.pageSize,ga&&ga.total]),[Ro,_o]=Ji({prefixCls:Za,data:Fa,pageData:Co,getRowKey:Ca,getRecordByKey:An,expandType:Tn,childrenColumnName:zn,locale:xa,getPopupContainer:tn||_n},ht),Qo=(va,Ga,vo)=>{let Va;return typeof Mt=="function"?Va=mt()(Mt(va,Ga,vo)):Va=mt()(Mt),mt()({[`${Za}-row-selected`]:_o.has(Ca(va,Ga))},Va)};Hn.__PARENT_RENDER_ICON__=Hn.expandIcon,Hn.expandIcon=Hn.expandIcon||Nn||Bn(xa),Tn==="nest"&&Hn.expandIconColumnIndex===void 0?Hn.expandIconColumnIndex=ht?1:0:Hn.expandIconColumnIndex>0&&ht&&(Hn.expandIconColumnIndex-=1),typeof Hn.indentSize!="number"&&(Hn.indentSize=typeof qn=="number"?qn:15);const xr=oe.useCallback(va=>io(Ro(Oo(xo(va)))),[xo,Oo,Ro]);let or,Ko;if(Et!==!1&&(ga!=null&&ga.total)){let va;ga.size?va=ga.size:va=ao==="small"||ao==="middle"?"small":void 0;const Ga=Eo=>oe.createElement(Sr.Z,Object.assign({},ga,{className:mt()(`${Za}-pagination ${Za}-pagination-${Eo}`,ga.className),size:va})),vo=ka==="rtl"?"left":"right",{position:Va}=ga;if(Va!==null&&Array.isArray(Va)){const Eo=Va.find(rr=>rr.includes("top")),Do=Va.find(rr=>rr.includes("bottom")),Io=Va.every(rr=>`${rr}`=="none");!Eo&&!Do&&!Io&&(Ko=Ga(vo)),Eo&&(or=Ga(Eo.toLowerCase().replace("top",""))),Do&&(Ko=Ga(Do.toLowerCase().replace("bottom","")))}else Ko=Ga(vo)}let No;typeof mn=="boolean"?No={spinning:mn}:typeof mn=="object"&&(No=Object.assign({spinning:!0},mn));const[Bo,so]=yl(Za),[,Ua]=(0,pn.Z)(),er=mt()(`${Za}-wrapper`,Pa==null?void 0:Pa.className,{[`${Za}-wrapper-rtl`]:ka==="rtl"},xe,Fe,so),ur=Object.assign(Object.assign({},Pa==null?void 0:Pa.style),Oe),lr=Pn&&Pn.emptyText||(Ya==null?void 0:Ya("Table"))||oe.createElement(Qa.Z,{componentName:"Table"}),tr=yn?tl:el,Ar={},Zr=oe.useMemo(()=>{const{fontSize:va,lineHeight:Ga,padding:vo,paddingXS:Va,paddingSM:Eo}=Ua,Do=Math.floor(va*Ga);switch(ao){case"large":return vo*2+Do;case"small":return Va*2+Do;default:return Eo*2+Do}},[Ua,ao]);return yn&&(Ar.listItemHeight=Zr),Bo(oe.createElement("div",{ref:se,className:er,style:ur},oe.createElement(Dn.Z,Object.assign({spinning:!1},No),or,oe.createElement(tr,Object.assign({},Ar,la,{columns:Rn,direction:ka,expandable:Hn,prefixCls:Za,className:mt()({[`${Za}-middle`]:ao==="middle",[`${Za}-small`]:ao==="small",[`${Za}-bordered`]:qe,[`${Za}-empty`]:ja.length===0}),data:Co,rowKey:Ca,rowClassName:Qo,emptyText:lr,internalHooks:ue,internalRefs:Fn,transformColumns:xr})),Ko)))};var Cl=oe.forwardRef(xl);const El=(ie,se)=>{const ve=oe.useRef(0);return ve.current+=1,oe.createElement(Cl,Object.assign({},ie,{ref:se,_renderTimes:ve.current}))},ar=oe.forwardRef(El);ar.SELECTION_COLUMN=ir,ar.EXPAND_COLUMN=te,ar.SELECTION_ALL=Rr,ar.SELECTION_INVERT=Tr,ar.SELECTION_NONE=Mr,ar.Column=fo,ar.ColumnGroup=ko,ar.Summary=fe;var wl=ar,Ll=wl},17574:function(st,bt,ne){"use strict";ne.d(bt,{default:function(){return Kt}});var te=ne(54030),ue=ne(3300),Re=ne(52671),Ge=ne(8657),Ae=ne(32855),Le=ne(59301),oe={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"},Ve=oe,We=ne(7657),Qe=function(Te,Pt){return Le.createElement(We.Z,(0,Ae.Z)({},Te,{ref:Pt,icon:Ve}))},Je=Le.forwardRef(Qe),rt=Je,Ue=ne(92310),re=ne.n(Ue),a=ne(35654),y=ne(71430),x=ne(36355),b=ne(56082),E=ne(62892),z=ne(20648);const ee=4;function ae(kt){const{dropPosition:Te,dropLevelOffset:Pt,prefixCls:xt,indent:Be,direction:De="ltr"}=kt,vt=De==="ltr"?"left":"right",Wt=De==="ltr"?"right":"left",gt={[vt]:-Pt*Be+ee,[Wt]:0};switch(Te){case-1:gt.top=-3;break;case 1:gt.bottom=-3;break;default:gt.bottom=-3,gt[vt]=Be+ee;break}return Le.createElement("div",{style:gt,className:`${xt}-drop-indicator`})}var le=ne(71997),ce=Le.forwardRef((kt,Te)=>{const{getPrefixCls:Pt,direction:xt,virtual:Be,tree:De}=Le.useContext(x.E_),{prefixCls:vt,className:Wt,showIcon:gt=!1,showLine:It,switcherIcon:Ce,blockNode:Ht=!1,children:qt,checkable:un=!1,selectable:nn=!0,draggable:Ze,motion:Me,style:ye}=kt,ge=Pt("tree",vt),Ne=Pt(),dt=Me!=null?Me:Object.assign(Object.assign({},(0,E.Z)(Ne)),{motionAppear:!1}),fe=Object.assign(Object.assign({},kt),{checkable:un,selectable:nn,showIcon:gt,motion:dt,blockNode:Ht,showLine:!!It,dropIndicatorRender:ae}),[me,He]=(0,z.ZP)(ge),we=Le.useMemo(()=>{if(!Ze)return!1;let je={};switch(typeof Ze){case"function":je.nodeDraggable=Ze;break;case"object":je=Object.assign({},Ze);break;default:break}return je.icon!==!1&&(je.icon=je.icon||Le.createElement(b.Z,null)),je},[Ze]),he=je=>Le.createElement(le.Z,{prefixCls:ge,switcherIcon:Ce,treeNodeProps:je,showLine:It});return me(Le.createElement(te.Z,Object.assign({itemHeight:20,ref:Te,virtual:Be},fe,{style:Object.assign(Object.assign({},De==null?void 0:De.style),ye),prefixCls:ge,className:re()({[`${ge}-icon-hide`]:!gt,[`${ge}-block-node`]:Ht,[`${ge}-unselectable`]:!nn,[`${ge}-rtl`]:xt==="rtl"},De==null?void 0:De.className,Wt,He),direction:xt,checkable:un&&Le.createElement("span",{className:`${ge}-checkbox-inner`}),selectable:nn,switcherIcon:he,draggable:we}),qt))}),be;(function(kt){kt[kt.None=0]="None",kt[kt.Start=1]="Start",kt[kt.End=2]="End"})(be||(be={}));function Se(kt,Te){function Pt(xt){const{key:Be,children:De}=xt;Te(Be,xt)!==!1&&Se(De||[],Te)}kt.forEach(Pt)}function Ee(kt){let{treeData:Te,expandedKeys:Pt,startKey:xt,endKey:Be}=kt;const De=[];let vt=be.None;if(xt&&xt===Be)return[xt];if(!xt||!Be)return[];function Wt(gt){return gt===xt||gt===Be}return Se(Te,gt=>{if(vt===be.End)return!1;if(Wt(gt)){if(De.push(gt),vt===be.None)vt=be.Start;else if(vt===be.Start)return vt=be.End,!1}else vt===be.Start&&De.push(gt);return Pt.includes(gt)}),De}function pe(kt,Te){const Pt=(0,ue.Z)(Te),xt=[];return Se(kt,(Be,De)=>{const vt=Pt.indexOf(Be);return vt!==-1&&(xt.push(De),Pt.splice(vt,1)),!!Pt.length}),xt}var St=function(kt,Te){var Pt={};for(var xt in kt)Object.prototype.hasOwnProperty.call(kt,xt)&&Te.indexOf(xt)<0&&(Pt[xt]=kt[xt]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,xt=Object.getOwnPropertySymbols(kt);Be<xt.length;Be++)Te.indexOf(xt[Be])<0&&Object.prototype.propertyIsEnumerable.call(kt,xt[Be])&&(Pt[xt[Be]]=kt[xt[Be]]);return Pt};function mt(kt){const{isLeaf:Te,expanded:Pt}=kt;return Te?Le.createElement(Re.Z,null):Pt?Le.createElement(Ge.Z,null):Le.createElement(rt,null)}function Yt(kt){let{treeData:Te,children:Pt}=kt;return Te||(0,y.zn)(Pt)}const et=(kt,Te)=>{var{defaultExpandAll:Pt,defaultExpandParent:xt,defaultExpandedKeys:Be}=kt,De=St(kt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const vt=Le.useRef(),Wt=Le.useRef(),gt=()=>{const{keyEntities:we}=(0,y.I8)(Yt(De));let he;return Pt?he=Object.keys(we):xt?he=(0,a.r7)(De.expandedKeys||Be||[],we):he=De.expandedKeys||Be,he},[It,Ce]=Le.useState(De.selectedKeys||De.defaultSelectedKeys||[]),[Ht,qt]=Le.useState(()=>gt());Le.useEffect(()=>{"selectedKeys"in De&&Ce(De.selectedKeys)},[De.selectedKeys]),Le.useEffect(()=>{"expandedKeys"in De&&qt(De.expandedKeys)},[De.expandedKeys]);const un=(we,he)=>{var je;return"expandedKeys"in De||qt(we),(je=De.onExpand)===null||je===void 0?void 0:je.call(De,we,he)},nn=(we,he)=>{var je;const{multiple:Ot}=De,{node:ct,nativeEvent:Bt}=he,{key:wt=""}=ct,Ft=Yt(De),Pe=Object.assign(Object.assign({},he),{selected:!0}),Ke=(Bt==null?void 0:Bt.ctrlKey)||(Bt==null?void 0:Bt.metaKey),nt=Bt==null?void 0:Bt.shiftKey;let lt;Ot&&Ke?(lt=we,vt.current=wt,Wt.current=lt,Pe.selectedNodes=pe(Ft,lt)):Ot&&nt?(lt=Array.from(new Set([].concat((0,ue.Z)(Wt.current||[]),(0,ue.Z)(Ee({treeData:Ft,expandedKeys:Ht,startKey:wt,endKey:vt.current}))))),Pe.selectedNodes=pe(Ft,lt)):(lt=[wt],vt.current=wt,Wt.current=lt,Pe.selectedNodes=pe(Ft,lt)),(je=De.onSelect)===null||je===void 0||je.call(De,lt,Pe),"selectedKeys"in De||Ce(lt)},{getPrefixCls:Ze,direction:Me}=Le.useContext(x.E_),{prefixCls:ye,className:ge,showIcon:Ne=!0,expandAction:dt="click"}=De,fe=St(De,["prefixCls","className","showIcon","expandAction"]),me=Ze("tree",ye),He=re()(`${me}-directory`,{[`${me}-directory-rtl`]:Me==="rtl"},ge);return Le.createElement(ce,Object.assign({icon:mt,ref:Te,blockNode:!0},fe,{showIcon:Ne,expandAction:dt,prefixCls:me,className:He,expandedKeys:Ht,selectedKeys:It,onSelect:nn,onExpand:un}))};var At=Le.forwardRef(et);const Dt=ce;Dt.DirectoryTree=At,Dt.TreeNode=te.O;var Kt=Dt},20648:function(st,bt,ne){"use strict";ne.d(bt,{TM:function(){return Ue},Yk:function(){return rt}});var te=ne(36237),ue=ne(98447),Re=ne(17313),Ge=ne(8378),Ae=ne(37613),Le=ne(83116);const oe=new te.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ve=(re,a)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),We=(re,a)=>({[`.${re}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Qe=(re,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:ee}=a,ae=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,Re.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,Re.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:oe,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,Re.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},Ve(re,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:E,margin:0,lineHeight:`${E}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:E/2*.8,height:E/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:ae},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:E,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${E}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ee},[`&${y}-node-selected`]:{backgroundColor:z},[`${y}-iconEle`]:{display:"inline-block",width:E,height:E,lineHeight:`${E}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${E}px`,userSelect:"none"},We(re,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${E/2}px !important`}}}}})}},Je=re=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=re;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${re.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:re.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${re.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:E,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:E},[`${a}-node-content-wrapper`]:{color:E,background:"transparent"}}}}}},rt=(re,a)=>{const y=`.${re}`,x=`${y}-treenode`,b=a.paddingXS/2,E=(0,Ae.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[Qe(re,E),Je(E)]},Ue=re=>{const{controlHeightSM:a}=re;return{titleHeight:a,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};bt.ZP=(0,Le.Z)("Tree",(re,a)=>{let{prefixCls:y}=a;return[{[re.componentCls]:(0,ue.C2)(`${y}-checkbox`,re)},rt(y,re),(0,Ge.Z)(re)]},re=>{const{colorTextLightSolid:a,colorPrimary:y}=re;return Object.assign(Object.assign({},Ue(re)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return x}});var te=ne(32855),ue=ne(59301),Re={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"},Ge=Re,Ae=ne(7657),Le=function(E,z){return ue.createElement(Ae.Z,(0,te.Z)({},E,{ref:z,icon:Ge}))},oe=ue.forwardRef(Le),Ve=oe,We=ne(52671),Qe=ne(58617),Je=ne(15075),rt=ne(43531),Ue=ne(92310),re=ne.n(Ue),a=ne(92343),x=b=>{const{prefixCls:E,switcherIcon:z,treeNodeProps:ee,showLine:ae}=b,{isLeaf:le,expanded:de,loading:ce}=ee;if(ce)return ue.createElement(Qe.Z,{className:`${E}-switcher-loading-icon`});let be;if(ae&&typeof ae=="object"&&(be=ae.showLeafIcon),le){if(!ae)return null;if(typeof be!="boolean"&&be){const pe=typeof be=="function"?be(ee):be,St=`${E}-switcher-line-custom-icon`;return(0,a.l$)(pe)?(0,a.Tm)(pe,{className:re()(pe.props.className||"",St)}):pe}return be?ue.createElement(We.Z,{className:`${E}-switcher-line-icon`}):ue.createElement("span",{className:`${E}-switcher-leaf-line`})}const Se=`${E}-switcher-icon`,Ee=typeof z=="function"?z(ee):z;return(0,a.l$)(Ee)?(0,a.Tm)(Ee,{className:re()(Ee.props.className||"",Se)}):Ee!==void 0?Ee:ae?de?ue.createElement(Je.Z,{className:`${E}-switcher-line-icon`}):ue.createElement(rt.Z,{className:`${E}-switcher-line-icon`}):ue.createElement(Ve,{className:Se})}},54580:function(st,bt,ne){"use strict";ne.d(bt,{default:function(){return ca}});var te=ne(59301),ue=ne(3300),Re=ne(92310),Ge=ne.n(Re),Ae=ne(32855),Le=ne(33377),oe=ne(93912),Ve=ne(18881),We=ne(85461),Qe=ne(74430),Je=ne(43079),rt=ne(13932),Ue=ne(34666),re=ne(68702),a=ne(26112);function y(ze,Ct){var yt="cannot ".concat(ze.method," ").concat(ze.action," ").concat(Ct.status,"'"),Nt=new Error(yt);return Nt.status=Ct.status,Nt.method=ze.method,Nt.url=ze.action,Nt}function x(ze){var Ct=ze.responseText||ze.response;if(!Ct)return Ct;try{return JSON.parse(Ct)}catch(yt){return Ct}}function b(ze){var Ct=new XMLHttpRequest;ze.onProgress&&Ct.upload&&(Ct.upload.onprogress=function(Ut){Ut.total>0&&(Ut.percent=Ut.loaded/Ut.total*100),ze.onProgress(Ut)});var yt=new FormData;ze.data&&Object.keys(ze.data).forEach(function(Jt){var Ut=ze.data[Jt];if(Array.isArray(Ut)){Ut.forEach(function(ke){yt.append("".concat(Jt,"[]"),ke)});return}yt.append(Jt,Ut)}),ze.file instanceof Blob?yt.append(ze.filename,ze.file,ze.file.name):yt.append(ze.filename,ze.file),Ct.onerror=function(Ut){ze.onError(Ut)},Ct.onload=function(){return Ct.status<200||Ct.status>=300?ze.onError(y(ze,Ct),x(Ct)):ze.onSuccess(x(Ct),Ct)},Ct.open(ze.method,ze.action,!0),ze.withCredentials&&"withCredentials"in Ct&&(Ct.withCredentials=!0);var Nt=ze.headers||{};return Nt["X-Requested-With"]!==null&&Ct.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Nt).forEach(function(Jt){Nt[Jt]!==null&&Ct.setRequestHeader(Jt,Nt[Jt])}),Ct.send(yt),{abort:function(){Ct.abort()}}}var E=+new Date,z=0;function ee(){return"rc-upload-".concat(E,"-").concat(++z)}var ae=ne(48736),le=function(ze,Ct){if(ze&&Ct){var yt=Array.isArray(Ct)?Ct:Ct.split(","),Nt=ze.name||"",Jt=ze.type||"",Ut=Jt.replace(/\/.*$/,"");return yt.some(function(ke){var Ie=ke.trim();if(/^\*(\/\*)?$/.test(ke))return!0;if(Ie.charAt(0)==="."){var pt=Nt.toLowerCase(),Rt=Ie.toLowerCase(),tt=[Rt];return(Rt===".jpg"||Rt===".jpeg")&&(tt=[".jpg",".jpeg"]),tt.some(function(Ln){return pt.endsWith(Ln)})}return/\/\*$/.test(Ie)?Ut===Ie.replace(/\/.*$/,""):Jt===Ie?!0:/^\w+$/.test(Ie)?((0,ae.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Ie,"'.Skip for check.")),!0):!1})}return!0};function de(ze,Ct){var yt=ze.createReader(),Nt=[];function Jt(){yt.readEntries(function(Ut){var ke=Array.prototype.slice.apply(Ut);Nt=Nt.concat(ke);var Ie=!ke.length;Ie?Ct(Nt):Jt()})}Jt()}var ce=function(Ct,yt,Nt){var Jt=function Ut(ke,Ie){ke&&(ke.path=Ie||"",ke.isFile?ke.file(function(pt){Nt(pt)&&(ke.fullPath&&!pt.webkitRelativePath&&(Object.defineProperties(pt,{webkitRelativePath:{writable:!0}}),pt.webkitRelativePath=ke.fullPath.replace(/^\//,""),Object.defineProperties(pt,{webkitRelativePath:{writable:!1}})),yt([pt]))}):ke.isDirectory&&de(ke,function(pt){pt.forEach(function(Rt){Ut(Rt,"".concat(Ie).concat(ke.name,"/"))})}))};Ct.forEach(function(Ut){Jt(Ut.webkitGetAsEntry())})},be=ce,Se=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ee=function(ze){(0,Ve.Z)(yt,ze);var Ct=(0,We.Z)(yt);function yt(){var Nt;(0,Le.Z)(this,yt);for(var Jt=arguments.length,Ut=new Array(Jt),ke=0;ke<Jt;ke++)Ut[ke]=arguments[ke];return Nt=Ct.call.apply(Ct,[this].concat(Ut)),Nt.state={uid:ee()},Nt.reqs={},Nt.fileInput=void 0,Nt._isMounted=void 0,Nt.onChange=function(Ie){var pt=Nt.props,Rt=pt.accept,tt=pt.directory,Ln=Ie.target.files,dn=(0,ue.Z)(Ln).filter(function(kn){return!tt||le(kn,Rt)});Nt.uploadFiles(dn),Nt.reset()},Nt.onClick=function(Ie){var pt=Nt.fileInput;if(pt){var Rt=Ie.target,tt=Nt.props.onClick;if(Rt&&Rt.tagName==="BUTTON"){var Ln=pt.parentNode;Ln.focus(),Rt.blur()}pt.click(),tt&&tt(Ie)}},Nt.onKeyDown=function(Ie){Ie.key==="Enter"&&Nt.onClick(Ie)},Nt.onFileDrop=function(Ie){var pt=Nt.props.multiple;if(Ie.preventDefault(),Ie.type!=="dragover")if(Nt.props.directory)be(Array.prototype.slice.call(Ie.dataTransfer.items),Nt.uploadFiles,function(tt){return le(tt,Nt.props.accept)});else{var Rt=(0,ue.Z)(Ie.dataTransfer.files).filter(function(tt){return le(tt,Nt.props.accept)});pt===!1&&(Rt=Rt.slice(0,1)),Nt.uploadFiles(Rt)}},Nt.uploadFiles=function(Ie){var pt=(0,ue.Z)(Ie),Rt=pt.map(function(tt){return tt.uid=ee(),Nt.processFile(tt,pt)});Promise.all(Rt).then(function(tt){var Ln=Nt.props.onBatchStart;Ln==null||Ln(tt.map(function(dn){var kn=dn.origin,Gn=dn.parsedFile;return{file:kn,parsedFile:Gn}})),tt.filter(function(dn){return dn.parsedFile!==null}).forEach(function(dn){Nt.post(dn)})})},Nt.processFile=function(){var Ie=(0,re.Z)((0,rt.Z)().mark(function pt(Rt,tt){var Ln,dn,kn,Gn,Tt,jt,gn,rn,jn;return(0,rt.Z)().wrap(function(Sn){for(;;)switch(Sn.prev=Sn.next){case 0:if(Ln=Nt.props.beforeUpload,dn=Rt,!Ln){Sn.next=14;break}return Sn.prev=3,Sn.next=6,Ln(Rt,tt);case 6:dn=Sn.sent,Sn.next=12;break;case 9:Sn.prev=9,Sn.t0=Sn.catch(3),dn=!1;case 12:if(dn!==!1){Sn.next=14;break}return Sn.abrupt("return",{origin:Rt,parsedFile:null,action:null,data:null});case 14:if(kn=Nt.props.action,typeof kn!="function"){Sn.next=21;break}return Sn.next=18,kn(Rt);case 18:Gn=Sn.sent,Sn.next=22;break;case 21:Gn=kn;case 22:if(Tt=Nt.props.data,typeof Tt!="function"){Sn.next=29;break}return Sn.next=26,Tt(Rt);case 26:jt=Sn.sent,Sn.next=30;break;case 29:jt=Tt;case 30:return gn=((0,Ue.Z)(dn)==="object"||typeof dn=="string")&&dn?dn:Rt,gn instanceof File?rn=gn:rn=new File([gn],Rt.name,{type:Rt.type}),jn=rn,jn.uid=Rt.uid,Sn.abrupt("return",{origin:Rt,data:jt,parsedFile:jn,action:Gn});case 35:case"end":return Sn.stop()}},pt,null,[[3,9]])}));return function(pt,Rt){return Ie.apply(this,arguments)}}(),Nt.saveFileInput=function(Ie){Nt.fileInput=Ie},Nt}return(0,oe.Z)(yt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Jt){var Ut=this,ke=Jt.data,Ie=Jt.origin,pt=Jt.action,Rt=Jt.parsedFile;if(this._isMounted){var tt=this.props,Ln=tt.onStart,dn=tt.customRequest,kn=tt.name,Gn=tt.headers,Tt=tt.withCredentials,jt=tt.method,gn=Ie.uid,rn=dn||b,jn={action:pt,filename:kn,data:ke,file:Rt,headers:Gn,withCredentials:Tt,method:jt||"post",onProgress:function(Sn){var ea=Ut.props.onProgress;ea==null||ea(Sn,Rt)},onSuccess:function(Sn,ea){var ua=Ut.props.onSuccess;ua==null||ua(Sn,Rt,ea),delete Ut.reqs[gn]},onError:function(Sn,ea){var ua=Ut.props.onError;ua==null||ua(Sn,ea,Rt),delete Ut.reqs[gn]}};Ln(Ie),this.reqs[gn]=rn(jn)}}},{key:"reset",value:function(){this.setState({uid:ee()})}},{key:"abort",value:function(Jt){var Ut=this.reqs;if(Jt){var ke=Jt.uid?Jt.uid:Jt;Ut[ke]&&Ut[ke].abort&&Ut[ke].abort(),delete Ut[ke]}else Object.keys(Ut).forEach(function(Ie){Ut[Ie]&&Ut[Ie].abort&&Ut[Ie].abort(),delete Ut[Ie]})}},{key:"render",value:function(){var Jt=this.props,Ut=Jt.component,ke=Jt.prefixCls,Ie=Jt.className,pt=Jt.disabled,Rt=Jt.id,tt=Jt.style,Ln=Jt.multiple,dn=Jt.accept,kn=Jt.capture,Gn=Jt.children,Tt=Jt.directory,jt=Jt.openFileDialogOnClick,gn=Jt.onMouseEnter,rn=Jt.onMouseLeave,jn=(0,Je.Z)(Jt,Se),Vn=Ge()((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},ke,!0),"".concat(ke,"-disabled"),pt),Ie,Ie)),Sn=Tt?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ea=pt?{}:{onClick:jt?this.onClick:function(){},onKeyDown:jt?this.onKeyDown:function(){},onMouseEnter:gn,onMouseLeave:rn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return te.createElement(Ut,(0,Ae.Z)({},ea,{className:Vn,role:"button",style:tt}),te.createElement("input",(0,Ae.Z)({},(0,a.Z)(jn,{aria:!0,data:!0}),{id:Rt,disabled:pt,type:"file",ref:this.saveFileInput,onClick:function(Da){return Da.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:dn},Sn,{multiple:Ln,onChange:this.onChange},kn!=null?{capture:kn}:{})),Gn)}}]),yt}(te.Component),pe=Ee;function St(){}var mt=function(ze){(0,Ve.Z)(yt,ze);var Ct=(0,We.Z)(yt);function yt(){var Nt;(0,Le.Z)(this,yt);for(var Jt=arguments.length,Ut=new Array(Jt),ke=0;ke<Jt;ke++)Ut[ke]=arguments[ke];return Nt=Ct.call.apply(Ct,[this].concat(Ut)),Nt.uploader=void 0,Nt.saveUploader=function(Ie){Nt.uploader=Ie},Nt}return(0,oe.Z)(yt,[{key:"abort",value:function(Jt){this.uploader.abort(Jt)}},{key:"render",value:function(){return te.createElement(pe,(0,Ae.Z)({},this.props,{ref:this.saveUploader}))}}]),yt}(te.Component);mt.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:St,onError:St,onSuccess:St,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Yt=mt,et=Yt,it=ne(18929),At=ne(4676),Dt=ne(36355),Kt=ne(1684),kt=ne(9763),Te=ne(31724),Pt={icon:function(Ct,yt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:yt}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Ct}}]}},name:"file",theme:"twotone"},xt=Pt,Be=ne(7657),De=function(Ct,yt){return te.createElement(Be.Z,(0,Ae.Z)({},Ct,{ref:yt,icon:xt}))},vt=te.forwardRef(De),Wt=vt,gt=ne(58617),It={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Ce=It,Ht=function(Ct,yt){return te.createElement(Be.Z,(0,Ae.Z)({},Ct,{ref:yt,icon:Ce}))},qt=te.forwardRef(Ht),un=qt,nn={icon:function(Ct,yt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Ct}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:yt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:yt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:yt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Ct}}]}},name:"picture",theme:"twotone"},Ze=nn,Me=function(Ct,yt){return te.createElement(Be.Z,(0,Ae.Z)({},Ct,{ref:yt,icon:Ze}))},ye=te.forwardRef(Me),ge=ye,Ne=ne(77900),dt=ne(56762),fe=ne(62892),me=ne(92343),He=ne(3113);function we(ze){return Object.assign(Object.assign({},ze),{lastModified:ze.lastModified,lastModifiedDate:ze.lastModifiedDate,name:ze.name,size:ze.size,type:ze.type,uid:ze.uid,percent:0,originFileObj:ze})}function he(ze,Ct){const yt=(0,ue.Z)(Ct),Nt=yt.findIndex(Jt=>{let{uid:Ut}=Jt;return Ut===ze.uid});return Nt===-1?yt.push(ze):yt[Nt]=ze,yt}function je(ze,Ct){const yt=ze.uid!==void 0?"uid":"name";return Ct.filter(Nt=>Nt[yt]===ze[yt])[0]}function Ot(ze,Ct){const yt=ze.uid!==void 0?"uid":"name",Nt=Ct.filter(Jt=>Jt[yt]!==ze[yt]);return Nt.length===Ct.length?null:Nt}const ct=function(){const Ct=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Nt=Ct[Ct.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Nt)||[""])[0]},Bt=ze=>ze.indexOf("image/")===0,wt=ze=>{if(ze.type&&!ze.thumbUrl)return Bt(ze.type);const Ct=ze.thumbUrl||ze.url||"",yt=ct(Ct);return/^data:image\//.test(Ct)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(yt)?!0:!(/^data:/.test(Ct)||yt)},Ft=200;function Pe(ze){return new Promise(Ct=>{if(!ze.type||!Bt(ze.type)){Ct("");return}const yt=document.createElement("canvas");yt.width=Ft,yt.height=Ft,yt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ft}px; height: ${Ft}px; z-index: 9999; display: none;`,document.body.appendChild(yt);const Nt=yt.getContext("2d"),Jt=new Image;if(Jt.onload=()=>{const{width:Ut,height:ke}=Jt;let Ie=Ft,pt=Ft,Rt=0,tt=0;Ut>ke?(pt=ke*(Ft/Ut),tt=-(pt-Ie)/2):(Ie=Ut*(Ft/ke),Rt=-(Ie-pt)/2),Nt.drawImage(Jt,Rt,tt,Ie,pt);const Ln=yt.toDataURL();document.body.removeChild(yt),window.URL.revokeObjectURL(Jt.src),Ct(Ln)},Jt.crossOrigin="anonymous",ze.type.startsWith("image/svg+xml")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&(Jt.src=Ut.result)},Ut.readAsDataURL(ze)}else if(ze.type.startsWith("image/gif")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&Ct(Ut.result)},Ut.readAsDataURL(ze)}else Jt.src=window.URL.createObjectURL(ze)})}var Ke=ne(26227),nt=ne(41464),lt=ne(15277),Lt=ne(93948),zt=ne(6848),ft=te.forwardRef((ze,Ct)=>{let{prefixCls:yt,className:Nt,style:Jt,locale:Ut,listType:ke,file:Ie,items:pt,progress:Rt,iconRender:tt,actionIconRender:Ln,itemRender:dn,isImgUrl:kn,showPreviewIcon:Gn,showRemoveIcon:Tt,showDownloadIcon:jt,previewIcon:gn,removeIcon:rn,downloadIcon:jn,onPreview:Vn,onDownload:Sn,onClose:ea}=ze;var ua,Da;const{status:Po}=Ie,[yo,Yo]=te.useState(Po);te.useEffect(()=>{Po!=="removed"&&Yo(Po)},[Po]);const[$o,qo]=te.useState(!1);te.useEffect(()=>{const Xa=setTimeout(()=>{qo(!0)},300);return()=>{clearTimeout(Xa)}},[]);const zo=tt(Ie);let mo=te.createElement("div",{className:`${yt}-icon`},zo);if(ke==="picture"||ke==="picture-card"||ke==="picture-circle")if(yo==="uploading"||!Ie.thumbUrl&&!Ie.url){const Xa=Ge()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:yo!=="uploading"});mo=te.createElement("div",{className:Xa},zo)}else{const Xa=kn!=null&&kn(Ie)?te.createElement("img",{src:Ie.thumbUrl||Ie.url,alt:Ie.name,className:`${yt}-list-item-image`,crossOrigin:Ie.crossOrigin}):zo,Qa=Ge()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:kn&&!kn(Ie)});mo=te.createElement("a",{className:Qa,onClick:Go=>Vn(Ie,Go),href:Ie.url||Ie.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Xa)}const Ja=Ge()(`${yt}-list-item`,`${yt}-list-item-${yo}`),wo=typeof Ie.linkProps=="string"?JSON.parse(Ie.linkProps):Ie.linkProps,To=Tt?Ln((typeof rn=="function"?rn(Ie):rn)||te.createElement(Ke.Z,null),()=>ea(Ie),yt,Ut.removeFile):null,Mo=jt&&yo==="done"?Ln((typeof jn=="function"?jn(Ie):jn)||te.createElement(nt.Z,null),()=>Sn(Ie),yt,Ut.downloadFile):null,Fo=ke!=="picture-card"&&ke!=="picture-circle"&&te.createElement("span",{key:"download-delete",className:Ge()(`${yt}-list-item-actions`,{picture:ke==="picture"})},Mo,To),bo=Ge()(`${yt}-list-item-name`),Uo=Ie.url?[te.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:bo,title:Ie.name},wo,{href:Ie.url,onClick:Xa=>Vn(Ie,Xa)}),Ie.name),Fo]:[te.createElement("span",{key:"view",className:bo,onClick:Xa=>Vn(Ie,Xa),title:Ie.name},Ie.name),Fo],ia={pointerEvents:"none",opacity:.5},qa=Gn?te.createElement("a",{href:Ie.url||Ie.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Ie.url||Ie.thumbUrl?void 0:ia,onClick:Xa=>Vn(Ie,Xa),title:Ut.previewFile},typeof gn=="function"?gn(Ie):gn||te.createElement(lt.Z,null)):null,_a=(ke==="picture-card"||ke==="picture-circle")&&yo!=="uploading"&&te.createElement("span",{className:`${yt}-list-item-actions`},qa,yo==="done"&&Mo,To),{getPrefixCls:fo}=te.useContext(Dt.E_),po=fo(),ko=te.createElement("div",{className:Ja},mo,Uo,_a,$o&&te.createElement(Ne.default,{motionName:`${po}-fade`,visible:yo==="uploading",motionDeadline:2e3},Xa=>{let{className:Qa}=Xa;const Go="percent"in Ie?te.createElement(Lt.Z,Object.assign({},Rt,{type:"line",percent:Ie.percent,"aria-label":Ie["aria-label"],"aria-labelledby":Ie["aria-labelledby"]})):null;return te.createElement("div",{className:Ge()(`${yt}-list-item-progress`,Qa)},Go)})),gr=Ie.response&&typeof Ie.response=="string"?Ie.response:((ua=Ie.error)===null||ua===void 0?void 0:ua.statusText)||((Da=Ie.error)===null||Da===void 0?void 0:Da.message)||Ut.uploadError,nr=yo==="error"?te.createElement(zt.Z,{title:gr,getPopupContainer:Xa=>Xa.parentNode},ko):ko;return te.createElement("div",{className:Ge()(`${yt}-list-item-container`,Nt),style:Jt,ref:Ct},dn?dn(nr,Ie,pt,{download:Sn.bind(null,Ie),preview:Vn.bind(null,Ie),remove:ea.bind(null,Ie)}):nr)});const Xt=(ze,Ct)=>{const{listType:yt="text",previewFile:Nt=Pe,onPreview:Jt,onDownload:Ut,onRemove:ke,locale:Ie,iconRender:pt,isImageUrl:Rt=wt,prefixCls:tt,items:Ln=[],showPreviewIcon:dn=!0,showRemoveIcon:kn=!0,showDownloadIcon:Gn=!1,removeIcon:Tt,previewIcon:jt,downloadIcon:gn,progress:rn={size:[-1,2],showInfo:!1},appendAction:jn,appendActionVisible:Vn=!0,itemRender:Sn,disabled:ea}=ze,ua=(0,dt.Z)(),[Da,Po]=te.useState(!1);te.useEffect(()=>{yt!=="picture"&&yt!=="picture-card"&&yt!=="picture-circle"||(Ln||[]).forEach(ia=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ia.originFileObj instanceof File||ia.originFileObj instanceof Blob)||ia.thumbUrl!==void 0||(ia.thumbUrl="",Nt&&Nt(ia.originFileObj).then(qa=>{ia.thumbUrl=qa||"",ua()}))})},[yt,Ln,Nt]),te.useEffect(()=>{Po(!0)},[]);const yo=(ia,qa)=>{if(Jt)return qa==null||qa.preventDefault(),Jt(ia)},Yo=ia=>{typeof Ut=="function"?Ut(ia):ia.url&&window.open(ia.url)},$o=ia=>{ke==null||ke(ia)},qo=ia=>{if(pt)return pt(ia,yt);const qa=ia.status==="uploading",_a=Rt&&Rt(ia)?te.createElement(ge,null):te.createElement(Wt,null);let fo=qa?te.createElement(gt.Z,null):te.createElement(un,null);return yt==="picture"?fo=qa?te.createElement(gt.Z,null):_a:(yt==="picture-card"||yt==="picture-circle")&&(fo=qa?Ie.uploading:_a),fo},zo=(ia,qa,_a,fo)=>{const po={type:"text",size:"small",title:fo,onClick:ko=>{qa(),(0,me.l$)(ia)&&ia.props.onClick&&ia.props.onClick(ko)},className:`${_a}-list-item-action`,disabled:ea};if((0,me.l$)(ia)){const ko=(0,me.Tm)(ia,Object.assign(Object.assign({},ia.props),{onClick:()=>{}}));return te.createElement(He.ZP,Object.assign({},po,{icon:ko}))}return te.createElement(He.ZP,Object.assign({},po),te.createElement("span",null,ia))};te.useImperativeHandle(Ct,()=>({handlePreview:yo,handleDownload:Yo}));const{getPrefixCls:mo}=te.useContext(Dt.E_),Ja=mo("upload",tt),wo=mo(),To=Ge()(`${Ja}-list`,`${Ja}-list-${yt}`),Mo=(0,ue.Z)(Ln.map(ia=>({key:ia.uid,file:ia})));let bo={motionDeadline:2e3,motionName:`${Ja}-${yt==="picture-card"||yt==="picture-circle"?"animate-inline":"animate"}`,keys:Mo,motionAppear:Da};const Uo=te.useMemo(()=>{const ia=Object.assign({},(0,fe.Z)(wo));return delete ia.onAppearEnd,delete ia.onEnterEnd,delete ia.onLeaveEnd,ia},[wo]);return yt!=="picture-card"&&yt!=="picture-circle"&&(bo=Object.assign(Object.assign({},Uo),bo)),te.createElement("div",{className:To},te.createElement(Ne.CSSMotionList,Object.assign({},bo,{component:!1}),ia=>{let{key:qa,file:_a,className:fo,style:po}=ia;return te.createElement(ft,{key:qa,locale:Ie,prefixCls:Ja,className:fo,style:po,file:_a,items:Ln,progress:rn,listType:yt,isImgUrl:Rt,showPreviewIcon:dn,showRemoveIcon:kn,showDownloadIcon:Gn,removeIcon:Tt,previewIcon:jt,downloadIcon:gn,iconRender:qo,actionIconRender:zo,itemRender:Sn,onPreview:yo,onDownload:Yo,onClose:$o})}),jn&&te.createElement(Ne.default,Object.assign({},bo,{visible:Vn,forceRender:!0}),ia=>{let{className:qa,style:_a}=ia;return(0,me.Tm)(jn,fo=>({className:Ge()(fo.className,qa),style:Object.assign(Object.assign(Object.assign({},_a),{pointerEvents:qa?"none":void 0}),fo.style)}))}))};var _t=te.forwardRef(Xt),hn=ne(17313),Mn=ne(8378),Zn=ne(83116),an=ne(37613),Kn=ze=>{const{componentCls:Ct,iconCls:yt}=ze;return{[`${Ct}-wrapper`]:{[`${Ct}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ze.colorFillAlter,border:`${ze.lineWidth}px dashed ${ze.colorBorder}`,borderRadius:ze.borderRadiusLG,cursor:"pointer",transition:`border-color ${ze.motionDurationSlow}`,[Ct]:{padding:`${ze.padding}px 0`},[`${Ct}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Ct}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Ct}-disabled):hover`]:{borderColor:ze.colorPrimaryHover},[`p${Ct}-drag-icon`]:{marginBottom:ze.margin,[yt]:{color:ze.colorPrimary,fontSize:ze.uploadThumbnailSize}},[`p${Ct}-text`]:{margin:`0 0 ${ze.marginXXS}px`,color:ze.colorTextHeading,fontSize:ze.fontSizeLG},[`p${Ct}-hint`]:{color:ze.colorTextDescription,fontSize:ze.fontSize},[`&${Ct}-disabled`]:{cursor:"not-allowed",[`p${Ct}-drag-icon ${yt},
|
|
p${Ct}-text,
|
|
p${Ct}-hint
|
|
`]:{color:ze.colorTextDisabled}}}}}},Xn=ze=>{const{componentCls:Ct,antCls:yt,iconCls:Nt,fontSize:Jt,lineHeight:Ut}=ze,ke=`${Ct}-list-item`,Ie=`${ke}-actions`,pt=`${ke}-action`,Rt=Math.round(Jt*Ut);return{[`${Ct}-wrapper`]:{[`${Ct}-list`]:Object.assign(Object.assign({},(0,hn.dF)()),{lineHeight:ze.lineHeight,[ke]:{position:"relative",height:ze.lineHeight*Jt,marginTop:ze.marginXS,fontSize:Jt,display:"flex",alignItems:"center",transition:`background-color ${ze.motionDurationSlow}`,"&:hover":{backgroundColor:ze.controlItemBgHover},[`${ke}-name`]:Object.assign(Object.assign({},hn.vS),{padding:`0 ${ze.paddingXS}px`,lineHeight:Ut,flex:"auto",transition:`all ${ze.motionDurationSlow}`}),[Ie]:{[pt]:{opacity:0},[`${pt}${yt}-btn-sm`]:{height:Rt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${pt}:focus-visible,
|
|
&.picture ${pt}
|
|
`]:{opacity:1},[Nt]:{color:ze.actionsColor,transition:`all ${ze.motionDurationSlow}`},[`&:hover ${Nt}`]:{color:ze.colorText}},[`${Ct}-icon ${Nt}`]:{color:ze.colorTextDescription,fontSize:Jt},[`${ke}-progress`]:{position:"absolute",bottom:-ze.uploadProgressOffset,width:"100%",paddingInlineStart:Jt+ze.paddingXS,fontSize:Jt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${ke}:hover ${pt}`]:{opacity:1,color:ze.colorText},[`${ke}-error`]:{color:ze.colorError,[`${ke}-name, ${Ct}-icon ${Nt}`]:{color:ze.colorError},[Ie]:{[`${Nt}, ${Nt}:hover`]:{color:ze.colorError},[pt]:{opacity:1}}},[`${Ct}-list-item-container`]:{transition:`opacity ${ze.motionDurationSlow}, height ${ze.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},fa=ne(36237),na=ne(1950);const ya=new fa.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ra=new fa.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Oa=ze=>{const{componentCls:Ct}=ze,yt=`${Ct}-animate-inline`;return[{[`${Ct}-wrapper`]:{[`${yt}-appear, ${yt}-enter, ${yt}-leave`]:{animationDuration:ze.motionDurationSlow,animationTimingFunction:ze.motionEaseInOutCirc,animationFillMode:"forwards"},[`${yt}-appear, ${yt}-enter`]:{animationName:ya},[`${yt}-leave`]:{animationName:Ra}}},{[`${Ct}-wrapper`]:(0,na.J$)(ze)},ya,Ra]},Na=ne(30071),Ta=ne(64993);const _e=ze=>{const{componentCls:Ct,iconCls:yt,uploadThumbnailSize:Nt,uploadProgressOffset:Jt}=ze,Ut=`${Ct}-list`,ke=`${Ut}-item`;return{[`${Ct}-wrapper`]:{[`
|
|
${Ut}${Ut}-picture,
|
|
${Ut}${Ut}-picture-card,
|
|
${Ut}${Ut}-picture-circle
|
|
`]:{[ke]:{position:"relative",height:Nt+ze.lineWidth*2+ze.paddingXS*2,padding:ze.paddingXS,border:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`,borderRadius:ze.borderRadiusLG,"&:hover":{background:"transparent"},[`${ke}-thumbnail`]:Object.assign(Object.assign({},hn.vS),{width:Nt,height:Nt,lineHeight:`${Nt+ze.paddingSM}px`,textAlign:"center",flex:"none",[yt]:{fontSize:ze.fontSizeHeading2,color:ze.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${ke}-progress`]:{bottom:Jt,width:`calc(100% - ${ze.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Nt+ze.paddingXS}},[`${ke}-error`]:{borderColor:ze.colorError,[`${ke}-thumbnail ${yt}`]:{[`svg path[fill='${Na.blue[0]}']`]:{fill:ze.colorErrorBg},[`svg path[fill='${Na.blue.primary}']`]:{fill:ze.colorError}}},[`${ke}-uploading`]:{borderStyle:"dashed",[`${ke}-name`]:{marginBottom:Jt}}},[`${Ut}${Ut}-picture-circle ${ke}`]:{[`&, &::before, ${ke}-thumbnail`]:{borderRadius:"50%"}}}}},at=ze=>{const{componentCls:Ct,iconCls:yt,fontSizeLG:Nt,colorTextLightSolid:Jt}=ze,Ut=`${Ct}-list`,ke=`${Ut}-item`,Ie=ze.uploadPicCardSize;return{[`
|
|
${Ct}-wrapper${Ct}-picture-card-wrapper,
|
|
${Ct}-wrapper${Ct}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,hn.dF)()),{display:"inline-block",width:"100%",[`${Ct}${Ct}-select`]:{width:Ie,height:Ie,marginInlineEnd:ze.marginXS,marginBottom:ze.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ze.colorFillAlter,border:`${ze.lineWidth}px dashed ${ze.colorBorder}`,borderRadius:ze.borderRadiusLG,cursor:"pointer",transition:`border-color ${ze.motionDurationSlow}`,[`> ${Ct}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ct}-disabled):hover`]:{borderColor:ze.colorPrimary}},[`${Ut}${Ut}-picture-card, ${Ut}${Ut}-picture-circle`]:{[`${Ut}-item-container`]:{display:"inline-block",width:Ie,height:Ie,marginBlock:`0 ${ze.marginXS}px`,marginInline:`0 ${ze.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[ke]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ze.paddingXS*2}px)`,height:`calc(100% - ${ze.paddingXS*2}px)`,backgroundColor:ze.colorBgMask,opacity:0,transition:`all ${ze.motionDurationSlow}`,content:'" "'}},[`${ke}:hover`]:{[`&::before, ${ke}-actions`]:{opacity:1}},[`${ke}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ze.motionDurationSlow}`,[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{zIndex:10,width:Nt,margin:`0 ${ze.marginXXS}px`,fontSize:Nt,cursor:"pointer",transition:`all ${ze.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${ke}-actions, ${ke}-actions:hover`]:{[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{color:new Ta.C(Jt).setAlpha(.65).toRgbString(),"&:hover":{color:Jt}}},[`${ke}-thumbnail, ${ke}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${ke}-name`]:{display:"none",textAlign:"center"},[`${ke}-file + ${ke}-name`]:{position:"absolute",bottom:ze.margin,display:"block",width:`calc(100% - ${ze.paddingXS*2}px)`},[`${ke}-uploading`]:{[`&${ke}`]:{backgroundColor:ze.colorFillAlter},[`&::before, ${yt}-eye, ${yt}-download, ${yt}-delete`]:{display:"none"}},[`${ke}-progress`]:{bottom:ze.marginXL,width:`calc(100% - ${ze.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Ct}-wrapper${Ct}-picture-circle-wrapper`]:{[`${Ct}${Ct}-select`]:{borderRadius:"50%"}}}};var $t=ze=>{const{componentCls:Ct}=ze;return{[`${Ct}-rtl`]:{direction:"rtl"}}};const fn=ze=>{const{componentCls:Ct,colorTextDisabled:yt}=ze;return{[`${Ct}-wrapper`]:Object.assign(Object.assign({},(0,hn.Wf)(ze)),{[Ct]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ct}-select`]:{display:"inline-block"},[`${Ct}-disabled`]:{color:yt,cursor:"not-allowed"}})}};var Qt=(0,Zn.Z)("Upload",ze=>{const{fontSizeHeading3:Ct,fontSize:yt,lineHeight:Nt,lineWidth:Jt,controlHeightLG:Ut}=ze,ke=Math.round(yt*Nt),Ie=(0,an.TS)(ze,{uploadThumbnailSize:Ct*2,uploadProgressOffset:ke/2+Jt,uploadPicCardSize:Ut*2.55});return[fn(Ie),Kn(Ie),_e(Ie),at(Ie),Xn(Ie),Oa(Ie),$t(Ie),(0,Mn.Z)(Ie)]},ze=>({actionsColor:ze.colorTextDescription})),Qn=function(ze,Ct,yt,Nt){function Jt(Ut){return Ut instanceof yt?Ut:new yt(function(ke){ke(Ut)})}return new(yt||(yt=Promise))(function(Ut,ke){function Ie(tt){try{Rt(Nt.next(tt))}catch(Ln){ke(Ln)}}function pt(tt){try{Rt(Nt.throw(tt))}catch(Ln){ke(Ln)}}function Rt(tt){tt.done?Ut(tt.value):Jt(tt.value).then(Ie,pt)}Rt((Nt=Nt.apply(ze,Ct||[])).next())})};const En=`__LIST_IGNORE_${Date.now()}__`,wn=(ze,Ct)=>{const{fileList:yt,defaultFileList:Nt,onRemove:Jt,showUploadList:Ut=!0,listType:ke="text",onPreview:Ie,onDownload:pt,onChange:Rt,onDrop:tt,previewFile:Ln,disabled:dn,locale:kn,iconRender:Gn,isImageUrl:Tt,progress:jt,prefixCls:gn,className:rn,type:jn="select",children:Vn,style:Sn,itemRender:ea,maxCount:ua,data:Da={},multiple:Po=!1,action:yo="",accept:Yo="",supportServerRender:$o=!0,rootClassName:qo}=ze,zo=te.useContext(Kt.Z),mo=dn!=null?dn:zo,[Ja,wo]=(0,it.Z)(Nt||[],{value:yt,postState:aa=>aa!=null?aa:[]}),[To,Mo]=te.useState("drop"),Fo=te.useRef(null);te.useMemo(()=>{const aa=Date.now();(yt||[]).forEach((Ea,Ha)=>{!Ea.uid&&!Object.isFrozen(Ea)&&(Ea.uid=`__AUTO__${aa}_${Ha}__`)})},[yt]);const bo=(aa,Ea,Ha)=>{let ba=(0,ue.Z)(Ea),Ba=!1;ua===1?ba=ba.slice(-1):ua&&(Ba=ba.length>ua,ba=ba.slice(0,ua)),(0,At.flushSync)(()=>{wo(ba)});const no={file:aa,fileList:ba};Ha&&(no.event=Ha),(!Ba||ba.some(za=>za.uid===aa.uid))&&(0,At.flushSync)(()=>{Rt==null||Rt(no)})},Uo=(aa,Ea)=>Qn(void 0,void 0,void 0,function*(){const{beforeUpload:Ha,transformFile:ba}=ze;let Ba=aa;if(Ha){const no=yield Ha(aa,Ea);if(no===!1)return!1;if(delete aa[En],no===En)return Object.defineProperty(aa,En,{value:!0,configurable:!0}),!1;typeof no=="object"&&no&&(Ba=no)}return ba&&(Ba=yield ba(Ba)),Ba}),ia=aa=>{const Ea=aa.filter(Ba=>!Ba.file[En]);if(!Ea.length)return;const Ha=Ea.map(Ba=>we(Ba.file));let ba=(0,ue.Z)(Ja);Ha.forEach(Ba=>{ba=he(Ba,ba)}),Ha.forEach((Ba,no)=>{let za=Ba;if(Ea[no].parsedFile)Ba.status="uploading";else{const{originFileObj:Vo}=Ba;let Jo;try{Jo=new File([Vo],Vo.name,{type:Vo.type})}catch(vr){Jo=new Blob([Vo],{type:Vo.type}),Jo.name=Vo.name,Jo.lastModifiedDate=new Date,Jo.lastModified=new Date().getTime()}Jo.uid=Ba.uid,za=Jo}bo(za,ba)})},qa=(aa,Ea,Ha)=>{try{typeof aa=="string"&&(aa=JSON.parse(aa))}catch(no){}if(!je(Ea,Ja))return;const ba=we(Ea);ba.status="done",ba.percent=100,ba.response=aa,ba.xhr=Ha;const Ba=he(ba,Ja);bo(ba,Ba)},_a=(aa,Ea)=>{if(!je(Ea,Ja))return;const Ha=we(Ea);Ha.status="uploading",Ha.percent=aa.percent;const ba=he(Ha,Ja);bo(Ha,ba,aa)},fo=(aa,Ea,Ha)=>{if(!je(Ha,Ja))return;const ba=we(Ha);ba.error=aa,ba.response=Ea,ba.status="error";const Ba=he(ba,Ja);bo(ba,Ba)},po=aa=>{let Ea;Promise.resolve(typeof Jt=="function"?Jt(aa):Jt).then(Ha=>{var ba;if(Ha===!1)return;const Ba=Ot(aa,Ja);Ba&&(Ea=Object.assign(Object.assign({},aa),{status:"removed"}),Ja==null||Ja.forEach(no=>{const za=Ea.uid!==void 0?"uid":"name";no[za]===Ea[za]&&!Object.isFrozen(no)&&(no.status="removed")}),(ba=Fo.current)===null||ba===void 0||ba.abort(Ea),bo(Ea,Ba))})},ko=aa=>{Mo(aa.type),aa.type==="drop"&&(tt==null||tt(aa))};te.useImperativeHandle(Ct,()=>({onBatchStart:ia,onSuccess:qa,onProgress:_a,onError:fo,fileList:Ja,upload:Fo.current}));const{getPrefixCls:gr,direction:nr,upload:Xa}=te.useContext(Dt.E_),Qa=gr("upload",gn),Go=Object.assign(Object.assign({onBatchStart:ia,onError:fo,onProgress:_a,onSuccess:qa},ze),{data:Da,multiple:Po,action:yo,accept:Yo,supportServerRender:$o,prefixCls:Qa,disabled:mo,beforeUpload:Uo,onChange:void 0});delete Go.className,delete Go.style,(!Vn||mo)&&delete Go.id;const[mr,fr]=Qt(Qa),[Sr]=(0,kt.Z)("Upload",Te.Z.Upload),{showRemoveIcon:Dn,showPreviewIcon:pn,showDownloadIcon:bn,removeIcon:Bn,previewIcon:ha,downloadIcon:Ma}=typeof Ut=="boolean"?{}:Ut,eo=(aa,Ea)=>Ut?te.createElement(_t,{prefixCls:Qa,listType:ke,items:Ja,previewFile:Ln,onPreview:Ie,onDownload:pt,onRemove:po,showRemoveIcon:!mo&&Dn,showPreviewIcon:pn,showDownloadIcon:bn,removeIcon:Bn,previewIcon:ha,downloadIcon:Ma,iconRender:Gn,locale:Object.assign(Object.assign({},Sr),kn),isImageUrl:Tt,progress:jt,appendAction:aa,appendActionVisible:Ea,itemRender:ea,disabled:mo}):aa,to=Ge()(`${Qa}-wrapper`,rn,qo,fr,Xa==null?void 0:Xa.className,{[`${Qa}-rtl`]:nr==="rtl",[`${Qa}-picture-card-wrapper`]:ke==="picture-card",[`${Qa}-picture-circle-wrapper`]:ke==="picture-circle"}),co=Object.assign(Object.assign({},Xa==null?void 0:Xa.style),Sn);if(jn==="drag"){const aa=Ge()(fr,Qa,`${Qa}-drag`,{[`${Qa}-drag-uploading`]:Ja.some(Ea=>Ea.status==="uploading"),[`${Qa}-drag-hover`]:To==="dragover",[`${Qa}-disabled`]:mo,[`${Qa}-rtl`]:nr==="rtl"});return mr(te.createElement("span",{className:to},te.createElement("div",{className:aa,style:co,onDrop:ko,onDragOver:ko,onDragLeave:ko},te.createElement(et,Object.assign({},Go,{ref:Fo,className:`${Qa}-btn`}),te.createElement("div",{className:`${Qa}-drag-container`},Vn))),eo()))}const uo=Ge()(Qa,`${Qa}-select`,{[`${Qa}-disabled`]:mo}),ho=(aa=>te.createElement("div",{className:uo,style:aa},te.createElement(et,Object.assign({},Go,{ref:Fo}))))(Vn?void 0:{display:"none"});return mr(ke==="picture-card"||ke==="picture-circle"?te.createElement("span",{className:to},eo(ho,!!Vn)):te.createElement("span",{className:to},ho,eo()))};var Ia=te.forwardRef(wn),Vt=function(ze,Ct){var yt={};for(var Nt in ze)Object.prototype.hasOwnProperty.call(ze,Nt)&&Ct.indexOf(Nt)<0&&(yt[Nt]=ze[Nt]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,Nt=Object.getOwnPropertySymbols(ze);Jt<Nt.length;Jt++)Ct.indexOf(Nt[Jt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Nt[Jt])&&(yt[Nt[Jt]]=ze[Nt[Jt]]);return yt},La=te.forwardRef((ze,Ct)=>{var{style:yt,height:Nt}=ze,Jt=Vt(ze,["style","height"]);return te.createElement(Ia,Object.assign({ref:Ct},Jt,{type:"drag",style:Object.assign(Object.assign({},yt),{height:Nt})}))});const ra=Ia;ra.Dragger=La,ra.LIST_IGNORE=En;var ca=ra},39417:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return ce}});var te=ne(32855),ue=ne(74430),Re=ne(43079),Ge=ne(27247),Ae=ne(33377),Le=ne(93912),oe=ne(83383),Ve=ne(18881),We=ne(85461),Qe=ne(92310),Je=ne.n(Qe),rt=ne(26112),Ue=ne(59301),re=ne(39378),a=function(Se){for(var Ee=Se.prefixCls,pe=Se.level,St=Se.isStart,mt=Se.isEnd,Yt="".concat(Ee,"-indent-unit"),et=[],it=0;it<pe;it+=1){var At;et.push(Ue.createElement("span",{key:it,className:Je()(Yt,(At={},(0,ue.Z)(At,"".concat(Yt,"-start"),St[it]),(0,ue.Z)(At,"".concat(Yt,"-end"),mt[it]),At))}))}return Ue.createElement("span",{"aria-hidden":"true",className:"".concat(Ee,"-indent")},et)},y=Ue.memo(a),x=ne(67841),b=ne(71430),E=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",ee="close",ae="---",le=function(be){(0,Ve.Z)(Ee,be);var Se=(0,We.Z)(Ee);function Ee(){var pe;(0,Ae.Z)(this,Ee);for(var St=arguments.length,mt=new Array(St),Yt=0;Yt<St;Yt++)mt[Yt]=arguments[Yt];return pe=Se.call.apply(Se,[this].concat(mt)),pe.state={dragNodeHighlight:!1},pe.selectHandle=void 0,pe.cacheIndent=void 0,pe.onSelectorClick=function(et){var it=pe.props.context.onNodeClick;it(et,(0,b.F)(pe.props)),pe.isSelectable()?pe.onSelect(et):pe.onCheck(et)},pe.onSelectorDoubleClick=function(et){var it=pe.props.context.onNodeDoubleClick;it(et,(0,b.F)(pe.props))},pe.onSelect=function(et){if(!pe.isDisabled()){var it=pe.props.context.onNodeSelect;it(et,(0,b.F)(pe.props))}},pe.onCheck=function(et){if(!pe.isDisabled()){var it=pe.props,At=it.disableCheckbox,Dt=it.checked,Kt=pe.props.context.onNodeCheck;if(!(!pe.isCheckable()||At)){var kt=!Dt;Kt(et,(0,b.F)(pe.props),kt)}}},pe.onMouseEnter=function(et){var it=pe.props.context.onNodeMouseEnter;it(et,(0,b.F)(pe.props))},pe.onMouseLeave=function(et){var it=pe.props.context.onNodeMouseLeave;it(et,(0,b.F)(pe.props))},pe.onContextMenu=function(et){var it=pe.props.context.onNodeContextMenu;it(et,(0,b.F)(pe.props))},pe.onDragStart=function(et){var it=pe.props.context.onNodeDragStart;et.stopPropagation(),pe.setState({dragNodeHighlight:!0}),it(et,(0,oe.Z)(pe));try{et.dataTransfer.setData("text/plain","")}catch(At){}},pe.onDragEnter=function(et){var it=pe.props.context.onNodeDragEnter;et.preventDefault(),et.stopPropagation(),it(et,(0,oe.Z)(pe))},pe.onDragOver=function(et){var it=pe.props.context.onNodeDragOver;et.preventDefault(),et.stopPropagation(),it(et,(0,oe.Z)(pe))},pe.onDragLeave=function(et){var it=pe.props.context.onNodeDragLeave;et.stopPropagation(),it(et,(0,oe.Z)(pe))},pe.onDragEnd=function(et){var it=pe.props.context.onNodeDragEnd;et.stopPropagation(),pe.setState({dragNodeHighlight:!1}),it(et,(0,oe.Z)(pe))},pe.onDrop=function(et){var it=pe.props.context.onNodeDrop;et.preventDefault(),et.stopPropagation(),pe.setState({dragNodeHighlight:!1}),it(et,(0,oe.Z)(pe))},pe.onExpand=function(et){var it=pe.props,At=it.loading,Dt=it.context.onNodeExpand;At||Dt(et,(0,b.F)(pe.props))},pe.setSelectHandle=function(et){pe.selectHandle=et},pe.getNodeState=function(){var et=pe.props.expanded;return pe.isLeaf()?null:et?z:ee},pe.hasChildren=function(){var et=pe.props.eventKey,it=pe.props.context.keyEntities,At=(0,x.Z)(it,et)||{},Dt=At.children;return!!(Dt||[]).length},pe.isLeaf=function(){var et=pe.props,it=et.isLeaf,At=et.loaded,Dt=pe.props.context.loadData,Kt=pe.hasChildren();return it===!1?!1:it||!Dt&&!Kt||Dt&&At&&!Kt},pe.isDisabled=function(){var et=pe.props.disabled,it=pe.props.context.disabled;return!!(it||et)},pe.isCheckable=function(){var et=pe.props.checkable,it=pe.props.context.checkable;return!it||et===!1?!1:it},pe.syncLoadData=function(et){var it=et.expanded,At=et.loading,Dt=et.loaded,Kt=pe.props.context,kt=Kt.loadData,Te=Kt.onNodeLoad;At||kt&&it&&!pe.isLeaf()&&!pe.hasChildren()&&!Dt&&Te((0,b.F)(pe.props))},pe.isDraggable=function(){var et=pe.props,it=et.data,At=et.context.draggable;return!!(At&&(!At.nodeDraggable||At.nodeDraggable(it)))},pe.renderDragHandler=function(){var et=pe.props.context,it=et.draggable,At=et.prefixCls;return it!=null&&it.icon?Ue.createElement("span",{className:"".concat(At,"-draggable-icon")},it.icon):null},pe.renderSwitcherIconDom=function(et){var it=pe.props.switcherIcon,At=pe.props.context.switcherIcon,Dt=it||At;return typeof Dt=="function"?Dt((0,Ge.Z)((0,Ge.Z)({},pe.props),{},{isLeaf:et})):Dt},pe.renderSwitcher=function(){var et=pe.props.expanded,it=pe.props.context.prefixCls;if(pe.isLeaf()){var At=pe.renderSwitcherIconDom(!0);return At!==!1?Ue.createElement("span",{className:Je()("".concat(it,"-switcher"),"".concat(it,"-switcher-noop"))},At):null}var Dt=Je()("".concat(it,"-switcher"),"".concat(it,"-switcher_").concat(et?z:ee)),Kt=pe.renderSwitcherIconDom(!1);return Kt!==!1?Ue.createElement("span",{onClick:pe.onExpand,className:Dt},Kt):null},pe.renderCheckbox=function(){var et=pe.props,it=et.checked,At=et.halfChecked,Dt=et.disableCheckbox,Kt=pe.props.context.prefixCls,kt=pe.isDisabled(),Te=pe.isCheckable();if(!Te)return null;var Pt=typeof Te!="boolean"?Te:null;return Ue.createElement("span",{className:Je()("".concat(Kt,"-checkbox"),it&&"".concat(Kt,"-checkbox-checked"),!it&&At&&"".concat(Kt,"-checkbox-indeterminate"),(kt||Dt)&&"".concat(Kt,"-checkbox-disabled")),onClick:pe.onCheck},Pt)},pe.renderIcon=function(){var et=pe.props.loading,it=pe.props.context.prefixCls;return Ue.createElement("span",{className:Je()("".concat(it,"-iconEle"),"".concat(it,"-icon__").concat(pe.getNodeState()||"docu"),et&&"".concat(it,"-icon_loading"))})},pe.renderSelector=function(){var et=pe.state.dragNodeHighlight,it=pe.props,At=it.title,Dt=At===void 0?ae:At,Kt=it.selected,kt=it.icon,Te=it.loading,Pt=it.data,xt=pe.props.context,Be=xt.prefixCls,De=xt.showIcon,vt=xt.icon,Wt=xt.loadData,gt=xt.titleRender,It=pe.isDisabled(),Ce="".concat(Be,"-node-content-wrapper"),Ht;if(De){var qt=kt||vt;Ht=qt?Ue.createElement("span",{className:Je()("".concat(Be,"-iconEle"),"".concat(Be,"-icon__customize"))},typeof qt=="function"?qt(pe.props):qt):pe.renderIcon()}else Wt&&Te&&(Ht=pe.renderIcon());var un;typeof Dt=="function"?un=Dt(Pt):gt?un=gt(Pt):un=Dt;var nn=Ue.createElement("span",{className:"".concat(Be,"-title")},un);return Ue.createElement("span",{ref:pe.setSelectHandle,title:typeof Dt=="string"?Dt:"",className:Je()("".concat(Ce),"".concat(Ce,"-").concat(pe.getNodeState()||"normal"),!It&&(Kt||et)&&"".concat(Be,"-node-selected")),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,onContextMenu:pe.onContextMenu,onClick:pe.onSelectorClick,onDoubleClick:pe.onSelectorDoubleClick},Ht,nn,pe.renderDropIndicator())},pe.renderDropIndicator=function(){var et=pe.props,it=et.disabled,At=et.eventKey,Dt=pe.props.context,Kt=Dt.draggable,kt=Dt.dropLevelOffset,Te=Dt.dropPosition,Pt=Dt.prefixCls,xt=Dt.indent,Be=Dt.dropIndicatorRender,De=Dt.dragOverNodeKey,vt=Dt.direction,Wt=!!Kt,gt=!it&&Wt&&De===At,It=xt!=null?xt:pe.cacheIndent;return pe.cacheIndent=xt,gt?Be({dropPosition:Te,dropLevelOffset:kt,indent:It,prefixCls:Pt,direction:vt}):null},pe}return(0,Le.Z)(Ee,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var St=this.props.selectable,mt=this.props.context.selectable;return typeof St=="boolean"?St:mt}},{key:"render",value:function(){var St,mt=this.props,Yt=mt.eventKey,et=mt.className,it=mt.style,At=mt.dragOver,Dt=mt.dragOverGapTop,Kt=mt.dragOverGapBottom,kt=mt.isLeaf,Te=mt.isStart,Pt=mt.isEnd,xt=mt.expanded,Be=mt.selected,De=mt.checked,vt=mt.halfChecked,Wt=mt.loading,gt=mt.domRef,It=mt.active,Ce=mt.data,Ht=mt.onMouseMove,qt=mt.selectable,un=(0,Re.Z)(mt,E),nn=this.props.context,Ze=nn.prefixCls,Me=nn.filterTreeNode,ye=nn.keyEntities,ge=nn.dropContainerKey,Ne=nn.dropTargetKey,dt=nn.draggingNodeKey,fe=this.isDisabled(),me=(0,rt.Z)(un,{aria:!0,data:!0}),He=(0,x.Z)(ye,Yt)||{},we=He.level,he=Pt[Pt.length-1],je=this.isDraggable(),Ot=!fe&&je,ct=dt===Yt,Bt=qt!==void 0?{"aria-selected":!!qt}:void 0;return Ue.createElement("div",(0,te.Z)({ref:gt,className:Je()(et,"".concat(Ze,"-treenode"),(St={},(0,ue.Z)(St,"".concat(Ze,"-treenode-disabled"),fe),(0,ue.Z)(St,"".concat(Ze,"-treenode-switcher-").concat(xt?"open":"close"),!kt),(0,ue.Z)(St,"".concat(Ze,"-treenode-checkbox-checked"),De),(0,ue.Z)(St,"".concat(Ze,"-treenode-checkbox-indeterminate"),vt),(0,ue.Z)(St,"".concat(Ze,"-treenode-selected"),Be),(0,ue.Z)(St,"".concat(Ze,"-treenode-loading"),Wt),(0,ue.Z)(St,"".concat(Ze,"-treenode-active"),It),(0,ue.Z)(St,"".concat(Ze,"-treenode-leaf-last"),he),(0,ue.Z)(St,"".concat(Ze,"-treenode-draggable"),je),(0,ue.Z)(St,"dragging",ct),(0,ue.Z)(St,"drop-target",Ne===Yt),(0,ue.Z)(St,"drop-container",ge===Yt),(0,ue.Z)(St,"drag-over",!fe&&At),(0,ue.Z)(St,"drag-over-gap-top",!fe&&Dt),(0,ue.Z)(St,"drag-over-gap-bottom",!fe&&Kt),(0,ue.Z)(St,"filter-node",Me&&Me((0,b.F)(this.props))),St)),style:it,draggable:Ot,"aria-grabbed":ct,onDragStart:Ot?this.onDragStart:void 0,onDragEnter:je?this.onDragEnter:void 0,onDragOver:je?this.onDragOver:void 0,onDragLeave:je?this.onDragLeave:void 0,onDrop:je?this.onDrop:void 0,onDragEnd:je?this.onDragEnd:void 0,onMouseMove:Ht},Bt,me),Ue.createElement(y,{prefixCls:Ze,level:we,isStart:Te,isEnd:Pt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ee}(Ue.Component),de=function(Se){return Ue.createElement(re.k.Consumer,null,function(Ee){return Ue.createElement(le,(0,te.Z)({},Se,{context:Ee}))})};de.displayName="TreeNode",de.isTreeNode=1;var ce=de},39378:function(st,bt,ne){"use strict";ne.d(bt,{k:function(){return ue}});var te=ne(59301),ue=te.createContext(null)},54030:function(st,bt,ne){"use strict";ne.d(bt,{O:function(){return ce.Z},Z:function(){return nn}});var te=ne(32855),ue=ne(74430),Re=ne(34666),Ge=ne(27247),Ae=ne(3300),Le=ne(33377),oe=ne(93912),Ve=ne(83383),We=ne(18881),Qe=ne(85461),Je=ne(92310),rt=ne.n(Je),Ue=ne(10228),re=ne(26112),a=ne(48736),y=ne(59301),x=ne(39378);function b(Ze){var Me=Ze.dropPosition,ye=Ze.dropLevelOffset,ge=Ze.indent,Ne={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Me){case-1:Ne.top=0,Ne.left=-ye*ge;break;case 1:Ne.bottom=0,Ne.left=-ye*ge;break;case 0:Ne.bottom=0,Ne.left=ge;break}return y.createElement("div",{style:Ne})}function E(Ze){if(Ze==null)throw new TypeError("Cannot destructure "+Ze)}var z=ne(11913),ee=ne(43079),ae=ne(34280),le=ne(6790),de=ne(77900),ce=ne(39417);function be(Ze,Me){var ye=y.useState(!1),ge=(0,z.Z)(ye,2),Ne=ge[0],dt=ge[1];y.useLayoutEffect(function(){if(Ne)return Ze(),function(){Me()}},[Ne]),y.useLayoutEffect(function(){return dt(!0),function(){dt(!1)}},[])}var Se=ne(71430),Ee=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],pe=function(Me,ye){var ge=Me.className,Ne=Me.style,dt=Me.motion,fe=Me.motionNodes,me=Me.motionType,He=Me.onMotionStart,we=Me.onMotionEnd,he=Me.active,je=Me.treeNodeRequiredProps,Ot=(0,ee.Z)(Me,Ee),ct=y.useState(!0),Bt=(0,z.Z)(ct,2),wt=Bt[0],Ft=Bt[1],Pe=y.useContext(x.k),Ke=Pe.prefixCls,nt=fe&&me!=="hide";(0,ae.Z)(function(){fe&&nt!==wt&&Ft(nt)},[fe]);var lt=function(){fe&&He()},Lt=y.useRef(!1),zt=function(){fe&&!Lt.current&&(Lt.current=!0,we())};be(lt,zt);var ot=function(Xt){nt===Xt&&zt()};return fe?y.createElement(de.default,(0,te.Z)({ref:ye,visible:wt},dt,{motionAppear:me==="show",onVisibleChanged:ot}),function(ft,Xt){var on=ft.className,_t=ft.style;return y.createElement("div",{ref:Xt,className:rt()("".concat(Ke,"-treenode-motion"),on),style:_t},fe.map(function(hn){var Mn=(0,te.Z)({},(E(hn.data),hn.data)),Zn=hn.title,an=hn.key,Un=hn.isStart,Kn=hn.isEnd;delete Mn.children;var On=(0,Se.H8)(an,je);return y.createElement(ce.Z,(0,te.Z)({},Mn,On,{title:Zn,active:he,data:hn.data,key:an,isStart:Un,isEnd:Kn}))}))}):y.createElement(ce.Z,(0,te.Z)({domRef:ye,className:ge,style:Ne},Ot,{active:he}))};pe.displayName="MotionTreeNode";var St=y.forwardRef(pe),mt=St;function Yt(){var Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ye=Ze.length,ge=Me.length;if(Math.abs(ye-ge)!==1)return{add:!1,key:null};function Ne(dt,fe){var me=new Map;dt.forEach(function(we){me.set(we,!0)});var He=fe.filter(function(we){return!me.has(we)});return He.length===1?He[0]:null}return ye<ge?{add:!0,key:Ne(Ze,Me)}:{add:!1,key:Ne(Me,Ze)}}function et(Ze,Me,ye){var ge=Ze.findIndex(function(me){return me.key===ye}),Ne=Ze[ge+1],dt=Me.findIndex(function(me){return me.key===ye});if(Ne){var fe=Me.findIndex(function(me){return me.key===Ne.key});return Me.slice(dt+1,fe)}return Me.slice(dt+1)}var it=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],At={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Dt=function(){},Kt="RC_TREE_MOTION_".concat(Math.random()),kt={key:Kt},Te={key:Kt,level:0,index:0,pos:"0",node:kt,nodes:[kt]},Pt={parent:null,children:[],pos:Te.pos,data:kt,title:null,key:Kt,isStart:[],isEnd:[]};function xt(Ze,Me,ye,ge){return Me===!1||!ye?Ze:Ze.slice(0,Math.ceil(ye/ge)+1)}function Be(Ze){var Me=Ze.key,ye=Ze.pos;return(0,Se.km)(Me,ye)}function De(Ze){for(var Me=String(Ze.data.key),ye=Ze;ye.parent;)ye=ye.parent,Me="".concat(ye.data.key," > ").concat(Me);return Me}var vt=y.forwardRef(function(Ze,Me){var ye=Ze.prefixCls,ge=Ze.data,Ne=Ze.selectable,dt=Ze.checkable,fe=Ze.expandedKeys,me=Ze.selectedKeys,He=Ze.checkedKeys,we=Ze.loadedKeys,he=Ze.loadingKeys,je=Ze.halfCheckedKeys,Ot=Ze.keyEntities,ct=Ze.disabled,Bt=Ze.dragging,wt=Ze.dragOverNodeKey,Ft=Ze.dropPosition,Pe=Ze.motion,Ke=Ze.height,nt=Ze.itemHeight,lt=Ze.virtual,Lt=Ze.focusable,zt=Ze.activeItem,ot=Ze.focused,ft=Ze.tabIndex,Xt=Ze.onKeyDown,on=Ze.onFocus,_t=Ze.onBlur,hn=Ze.onActiveChange,Mn=Ze.onListChangeStart,Zn=Ze.onListChangeEnd,an=(0,ee.Z)(Ze,it),Un=y.useRef(null),Kn=y.useRef(null);y.useImperativeHandle(Me,function(){return{scrollTo:function(ca){Un.current.scrollTo(ca)},getIndentWidth:function(){return Kn.current.offsetWidth}}});var On=y.useState(fe),Xn=(0,z.Z)(On,2),fa=Xn[0],na=Xn[1],ya=y.useState(ge),Ra=(0,z.Z)(ya,2),sa=Ra[0],Oa=Ra[1],Na=y.useState(ge),Ta=(0,z.Z)(Na,2),_e=Ta[0],at=Ta[1],Ye=y.useState([]),$t=(0,z.Z)(Ye,2),fn=$t[0],Qt=$t[1],Qn=y.useState(null),En=(0,z.Z)(Qn,2),wn=En[0],pa=En[1],Ia=y.useRef(ge);Ia.current=ge;function Vt(){var ra=Ia.current;Oa(ra),at(ra),Qt([]),pa(null),Zn()}(0,ae.Z)(function(){na(fe);var ra=Yt(fa,fe);if(ra.key!==null)if(ra.add){var ca=sa.findIndex(function(Ut){var ke=Ut.key;return ke===ra.key}),ze=xt(et(sa,ge,ra.key),lt,Ke,nt),Ct=sa.slice();Ct.splice(ca+1,0,Pt),at(Ct),Qt(ze),pa("show")}else{var yt=ge.findIndex(function(Ut){var ke=Ut.key;return ke===ra.key}),Nt=xt(et(ge,sa,ra.key),lt,Ke,nt),Jt=ge.slice();Jt.splice(yt+1,0,Pt),at(Jt),Qt(Nt),pa("hide")}else sa!==ge&&(Oa(ge),at(ge))},[fe,ge]),y.useEffect(function(){Bt||Vt()},[Bt]);var ta=Pe?_e:ge,La={expandedKeys:fe,selectedKeys:me,loadedKeys:we,loadingKeys:he,checkedKeys:He,halfCheckedKeys:je,dragOverNodeKey:wt,dropPosition:Ft,keyEntities:Ot};return y.createElement(y.Fragment,null,ot&&zt&&y.createElement("span",{style:At,"aria-live":"assertive"},De(zt)),y.createElement("div",null,y.createElement("input",{style:At,disabled:Lt===!1||ct,tabIndex:Lt!==!1?ft:null,onKeyDown:Xt,onFocus:on,onBlur:_t,value:"",onChange:Dt,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(ye,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(ye,"-indent")},y.createElement("div",{ref:Kn,className:"".concat(ye,"-indent-unit")}))),y.createElement(le.Z,(0,te.Z)({},an,{data:ta,itemKey:Be,height:Ke,fullHeight:!1,virtual:lt,itemHeight:nt,prefixCls:"".concat(ye,"-list"),ref:Un,onVisibleChange:function(ca,ze){var Ct=new Set(ca),yt=ze.filter(function(Nt){return!Ct.has(Nt)});yt.some(function(Nt){return Be(Nt)===Kt})&&Vt()}}),function(ra){var ca=ra.pos,ze=(0,te.Z)({},(E(ra.data),ra.data)),Ct=ra.title,yt=ra.key,Nt=ra.isStart,Jt=ra.isEnd,Ut=(0,Se.km)(yt,ca);delete ze.key,delete ze.children;var ke=(0,Se.H8)(Ut,La);return y.createElement(mt,(0,te.Z)({},ze,ke,{title:Ct,active:!!zt&&yt===zt.key,pos:ca,data:ra.data,isStart:Nt,isEnd:Jt,motion:Pe,motionNodes:yt===Kt?fn:null,motionType:wn,onMotionStart:Mn,onMotionEnd:Vt,treeNodeRequiredProps:La,onMouseMove:function(){hn(null)}}))}))});vt.displayName="NodeList";var Wt=vt,gt=ne(35654),It=ne(90782),Ce=ne(67841),Ht=10,qt=function(Ze){(0,We.Z)(ye,Ze);var Me=(0,Qe.Z)(ye);function ye(){var ge;(0,Le.Z)(this,ye);for(var Ne=arguments.length,dt=new Array(Ne),fe=0;fe<Ne;fe++)dt[fe]=arguments[fe];return ge=Me.call.apply(Me,[this].concat(dt)),ge.destroyed=!1,ge.delayedDragEnterLogic=void 0,ge.loadingRetryTimes={},ge.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,Se.w$)()},ge.dragStartMousePosition=null,ge.dragNode=void 0,ge.currentMouseOverDroppableNodeKey=null,ge.listRef=y.createRef(),ge.onNodeDragStart=function(me,He){var we=ge.state,he=we.expandedKeys,je=we.keyEntities,Ot=ge.props.onDragStart,ct=He.props.eventKey;ge.dragNode=He,ge.dragStartMousePosition={x:me.clientX,y:me.clientY};var Bt=(0,gt._5)(he,ct);ge.setState({draggingNodeKey:ct,dragChildrenKeys:(0,gt.wA)(ct,je),indent:ge.listRef.current.getIndentWidth()}),ge.setExpandedKeys(Bt),window.addEventListener("dragend",ge.onWindowDragEnd),Ot==null||Ot({event:me,node:(0,Se.F)(He.props)})},ge.onNodeDragEnter=function(me,He){var we=ge.state,he=we.expandedKeys,je=we.keyEntities,Ot=we.dragChildrenKeys,ct=we.flattenNodes,Bt=we.indent,wt=ge.props,Ft=wt.onDragEnter,Pe=wt.onExpand,Ke=wt.allowDrop,nt=wt.direction,lt=He.props,Lt=lt.pos,zt=lt.eventKey,ot=(0,Ve.Z)(ge),ft=ot.dragNode;if(ge.currentMouseOverDroppableNodeKey!==zt&&(ge.currentMouseOverDroppableNodeKey=zt),!ft){ge.resetDragState();return}var Xt=(0,gt.OM)(me,ft,He,Bt,ge.dragStartMousePosition,Ke,ct,je,he,nt),on=Xt.dropPosition,_t=Xt.dropLevelOffset,hn=Xt.dropTargetKey,Mn=Xt.dropContainerKey,Zn=Xt.dropTargetPos,an=Xt.dropAllowed,Un=Xt.dragOverNodeKey;if(Ot.indexOf(hn)!==-1||!an){ge.resetDragState();return}if(ge.delayedDragEnterLogic||(ge.delayedDragEnterLogic={}),Object.keys(ge.delayedDragEnterLogic).forEach(function(Kn){clearTimeout(ge.delayedDragEnterLogic[Kn])}),ft.props.eventKey!==He.props.eventKey&&(me.persist(),ge.delayedDragEnterLogic[Lt]=window.setTimeout(function(){if(ge.state.draggingNodeKey!==null){var Kn=(0,Ae.Z)(he),On=(0,Ce.Z)(je,He.props.eventKey);On&&(On.children||[]).length&&(Kn=(0,gt.L0)(he,He.props.eventKey)),"expandedKeys"in ge.props||ge.setExpandedKeys(Kn),Pe==null||Pe(Kn,{node:(0,Se.F)(He.props),expanded:!0,nativeEvent:me.nativeEvent})}},800)),ft.props.eventKey===hn&&_t===0){ge.resetDragState();return}ge.setState({dragOverNodeKey:Un,dropPosition:on,dropLevelOffset:_t,dropTargetKey:hn,dropContainerKey:Mn,dropTargetPos:Zn,dropAllowed:an}),Ft==null||Ft({event:me,node:(0,Se.F)(He.props),expandedKeys:he})},ge.onNodeDragOver=function(me,He){var we=ge.state,he=we.dragChildrenKeys,je=we.flattenNodes,Ot=we.keyEntities,ct=we.expandedKeys,Bt=we.indent,wt=ge.props,Ft=wt.onDragOver,Pe=wt.allowDrop,Ke=wt.direction,nt=(0,Ve.Z)(ge),lt=nt.dragNode;if(lt){var Lt=(0,gt.OM)(me,lt,He,Bt,ge.dragStartMousePosition,Pe,je,Ot,ct,Ke),zt=Lt.dropPosition,ot=Lt.dropLevelOffset,ft=Lt.dropTargetKey,Xt=Lt.dropContainerKey,on=Lt.dropAllowed,_t=Lt.dropTargetPos,hn=Lt.dragOverNodeKey;he.indexOf(ft)!==-1||!on||(lt.props.eventKey===ft&&ot===0?ge.state.dropPosition===null&&ge.state.dropLevelOffset===null&&ge.state.dropTargetKey===null&&ge.state.dropContainerKey===null&&ge.state.dropTargetPos===null&&ge.state.dropAllowed===!1&&ge.state.dragOverNodeKey===null||ge.resetDragState():zt===ge.state.dropPosition&&ot===ge.state.dropLevelOffset&&ft===ge.state.dropTargetKey&&Xt===ge.state.dropContainerKey&&_t===ge.state.dropTargetPos&&on===ge.state.dropAllowed&&hn===ge.state.dragOverNodeKey||ge.setState({dropPosition:zt,dropLevelOffset:ot,dropTargetKey:ft,dropContainerKey:Xt,dropTargetPos:_t,dropAllowed:on,dragOverNodeKey:hn}),Ft==null||Ft({event:me,node:(0,Se.F)(He.props)}))}},ge.onNodeDragLeave=function(me,He){ge.currentMouseOverDroppableNodeKey===He.props.eventKey&&!me.currentTarget.contains(me.relatedTarget)&&(ge.resetDragState(),ge.currentMouseOverDroppableNodeKey=null);var we=ge.props.onDragLeave;we==null||we({event:me,node:(0,Se.F)(He.props)})},ge.onWindowDragEnd=function(me){ge.onNodeDragEnd(me,null,!0),window.removeEventListener("dragend",ge.onWindowDragEnd)},ge.onNodeDragEnd=function(me,He){var we=ge.props.onDragEnd;ge.setState({dragOverNodeKey:null}),ge.cleanDragState(),we==null||we({event:me,node:(0,Se.F)(He.props)}),ge.dragNode=null,window.removeEventListener("dragend",ge.onWindowDragEnd)},ge.onNodeDrop=function(me,He){var we,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,je=ge.state,Ot=je.dragChildrenKeys,ct=je.dropPosition,Bt=je.dropTargetKey,wt=je.dropTargetPos,Ft=je.dropAllowed;if(Ft){var Pe=ge.props.onDrop;if(ge.setState({dragOverNodeKey:null}),ge.cleanDragState(),Bt!==null){var Ke=(0,Ge.Z)((0,Ge.Z)({},(0,Se.H8)(Bt,ge.getTreeNodeRequiredProps())),{},{active:((we=ge.getActiveItem())===null||we===void 0?void 0:we.key)===Bt,data:(0,Ce.Z)(ge.state.keyEntities,Bt).node}),nt=Ot.indexOf(Bt)!==-1;(0,a.ZP)(!nt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var lt=(0,gt.yx)(wt),Lt={event:me,node:(0,Se.F)(Ke),dragNode:ge.dragNode?(0,Se.F)(ge.dragNode.props):null,dragNodesKeys:[ge.dragNode.props.eventKey].concat(Ot),dropToGap:ct!==0,dropPosition:ct+Number(lt[lt.length-1])};he||Pe==null||Pe(Lt),ge.dragNode=null}}},ge.cleanDragState=function(){var me=ge.state.draggingNodeKey;me!==null&&ge.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ge.dragStartMousePosition=null,ge.currentMouseOverDroppableNodeKey=null},ge.triggerExpandActionExpand=function(me,He){var we=ge.state,he=we.expandedKeys,je=we.flattenNodes,Ot=He.expanded,ct=He.key,Bt=He.isLeaf;if(!(Bt||me.shiftKey||me.metaKey||me.ctrlKey)){var wt=je.filter(function(Pe){return Pe.key===ct})[0],Ft=(0,Se.F)((0,Ge.Z)((0,Ge.Z)({},(0,Se.H8)(ct,ge.getTreeNodeRequiredProps())),{},{data:wt.data}));ge.setExpandedKeys(Ot?(0,gt._5)(he,ct):(0,gt.L0)(he,ct)),ge.onNodeExpand(me,Ft)}},ge.onNodeClick=function(me,He){var we=ge.props,he=we.onClick,je=we.expandAction;je==="click"&&ge.triggerExpandActionExpand(me,He),he==null||he(me,He)},ge.onNodeDoubleClick=function(me,He){var we=ge.props,he=we.onDoubleClick,je=we.expandAction;je==="doubleClick"&&ge.triggerExpandActionExpand(me,He),he==null||he(me,He)},ge.onNodeSelect=function(me,He){var we=ge.state.selectedKeys,he=ge.state,je=he.keyEntities,Ot=he.fieldNames,ct=ge.props,Bt=ct.onSelect,wt=ct.multiple,Ft=He.selected,Pe=He[Ot.key],Ke=!Ft;Ke?wt?we=(0,gt.L0)(we,Pe):we=[Pe]:we=(0,gt._5)(we,Pe);var nt=we.map(function(lt){var Lt=(0,Ce.Z)(je,lt);return Lt?Lt.node:null}).filter(function(lt){return lt});ge.setUncontrolledState({selectedKeys:we}),Bt==null||Bt(we,{event:"select",selected:Ke,node:He,selectedNodes:nt,nativeEvent:me.nativeEvent})},ge.onNodeCheck=function(me,He,we){var he=ge.state,je=he.keyEntities,Ot=he.checkedKeys,ct=he.halfCheckedKeys,Bt=ge.props,wt=Bt.checkStrictly,Ft=Bt.onCheck,Pe=He.key,Ke,nt={event:"check",node:He,checked:we,nativeEvent:me.nativeEvent};if(wt){var lt=we?(0,gt.L0)(Ot,Pe):(0,gt._5)(Ot,Pe),Lt=(0,gt._5)(ct,Pe);Ke={checked:lt,halfChecked:Lt},nt.checkedNodes=lt.map(function(_t){return(0,Ce.Z)(je,_t)}).filter(function(_t){return _t}).map(function(_t){return _t.node}),ge.setUncontrolledState({checkedKeys:lt})}else{var zt=(0,It.S)([].concat((0,Ae.Z)(Ot),[Pe]),!0,je),ot=zt.checkedKeys,ft=zt.halfCheckedKeys;if(!we){var Xt=new Set(ot);Xt.delete(Pe);var on=(0,It.S)(Array.from(Xt),{checked:!1,halfCheckedKeys:ft},je);ot=on.checkedKeys,ft=on.halfCheckedKeys}Ke=ot,nt.checkedNodes=[],nt.checkedNodesPositions=[],nt.halfCheckedKeys=ft,ot.forEach(function(_t){var hn=(0,Ce.Z)(je,_t);if(hn){var Mn=hn.node,Zn=hn.pos;nt.checkedNodes.push(Mn),nt.checkedNodesPositions.push({node:Mn,pos:Zn})}}),ge.setUncontrolledState({checkedKeys:ot},!1,{halfCheckedKeys:ft})}Ft==null||Ft(Ke,nt)},ge.onNodeLoad=function(me){var He=me.key,we=new Promise(function(he,je){ge.setState(function(Ot){var ct=Ot.loadedKeys,Bt=ct===void 0?[]:ct,wt=Ot.loadingKeys,Ft=wt===void 0?[]:wt,Pe=ge.props,Ke=Pe.loadData,nt=Pe.onLoad;if(!Ke||Bt.indexOf(He)!==-1||Ft.indexOf(He)!==-1)return null;var lt=Ke(me);return lt.then(function(){var Lt=ge.state.loadedKeys,zt=(0,gt.L0)(Lt,He);nt==null||nt(zt,{event:"load",node:me}),ge.setUncontrolledState({loadedKeys:zt}),ge.setState(function(ot){return{loadingKeys:(0,gt._5)(ot.loadingKeys,He)}}),he()}).catch(function(Lt){if(ge.setState(function(ot){return{loadingKeys:(0,gt._5)(ot.loadingKeys,He)}}),ge.loadingRetryTimes[He]=(ge.loadingRetryTimes[He]||0)+1,ge.loadingRetryTimes[He]>=Ht){var zt=ge.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ge.setUncontrolledState({loadedKeys:(0,gt.L0)(zt,He)}),he()}je(Lt)}),{loadingKeys:(0,gt.L0)(Ft,He)}})});return we.catch(function(){}),we},ge.onNodeMouseEnter=function(me,He){var we=ge.props.onMouseEnter;we==null||we({event:me,node:He})},ge.onNodeMouseLeave=function(me,He){var we=ge.props.onMouseLeave;we==null||we({event:me,node:He})},ge.onNodeContextMenu=function(me,He){var we=ge.props.onRightClick;we&&(me.preventDefault(),we({event:me,node:He}))},ge.onFocus=function(){var me=ge.props.onFocus;ge.setState({focused:!0});for(var He=arguments.length,we=new Array(He),he=0;he<He;he++)we[he]=arguments[he];me==null||me.apply(void 0,we)},ge.onBlur=function(){var me=ge.props.onBlur;ge.setState({focused:!1}),ge.onActiveChange(null);for(var He=arguments.length,we=new Array(He),he=0;he<He;he++)we[he]=arguments[he];me==null||me.apply(void 0,we)},ge.getTreeNodeRequiredProps=function(){var me=ge.state,He=me.expandedKeys,we=me.selectedKeys,he=me.loadedKeys,je=me.loadingKeys,Ot=me.checkedKeys,ct=me.halfCheckedKeys,Bt=me.dragOverNodeKey,wt=me.dropPosition,Ft=me.keyEntities;return{expandedKeys:He||[],selectedKeys:we||[],loadedKeys:he||[],loadingKeys:je||[],checkedKeys:Ot||[],halfCheckedKeys:ct||[],dragOverNodeKey:Bt,dropPosition:wt,keyEntities:Ft}},ge.setExpandedKeys=function(me){var He=ge.state,we=He.treeData,he=He.fieldNames,je=(0,Se.oH)(we,me,he);ge.setUncontrolledState({expandedKeys:me,flattenNodes:je},!0)},ge.onNodeExpand=function(me,He){var we=ge.state.expandedKeys,he=ge.state,je=he.listChanging,Ot=he.fieldNames,ct=ge.props,Bt=ct.onExpand,wt=ct.loadData,Ft=He.expanded,Pe=He[Ot.key];if(!je){var Ke=we.indexOf(Pe),nt=!Ft;if((0,a.ZP)(Ft&&Ke!==-1||!Ft&&Ke===-1,"Expand state not sync with index check"),nt?we=(0,gt.L0)(we,Pe):we=(0,gt._5)(we,Pe),ge.setExpandedKeys(we),Bt==null||Bt(we,{node:He,expanded:nt,nativeEvent:me.nativeEvent}),nt&&wt){var lt=ge.onNodeLoad(He);lt&<.then(function(){var Lt=(0,Se.oH)(ge.state.treeData,we,Ot);ge.setUncontrolledState({flattenNodes:Lt})}).catch(function(){var Lt=ge.state.expandedKeys,zt=(0,gt._5)(Lt,Pe);ge.setExpandedKeys(zt)})}}},ge.onListChangeStart=function(){ge.setUncontrolledState({listChanging:!0})},ge.onListChangeEnd=function(){setTimeout(function(){ge.setUncontrolledState({listChanging:!1})})},ge.onActiveChange=function(me){var He=ge.state.activeKey,we=ge.props.onActiveChange;He!==me&&(ge.setState({activeKey:me}),me!==null&&ge.scrollTo({key:me}),we==null||we(me))},ge.getActiveItem=function(){var me=ge.state,He=me.activeKey,we=me.flattenNodes;return He===null?null:we.find(function(he){var je=he.key;return je===He})||null},ge.offsetActiveKey=function(me){var He=ge.state,we=He.flattenNodes,he=He.activeKey,je=we.findIndex(function(Bt){var wt=Bt.key;return wt===he});je===-1&&me<0&&(je=we.length),je=(je+me+we.length)%we.length;var Ot=we[je];if(Ot){var ct=Ot.key;ge.onActiveChange(ct)}else ge.onActiveChange(null)},ge.onKeyDown=function(me){var He=ge.state,we=He.activeKey,he=He.expandedKeys,je=He.checkedKeys,Ot=He.fieldNames,ct=ge.props,Bt=ct.onKeyDown,wt=ct.checkable,Ft=ct.selectable;switch(me.which){case Ue.Z.UP:{ge.offsetActiveKey(-1),me.preventDefault();break}case Ue.Z.DOWN:{ge.offsetActiveKey(1),me.preventDefault();break}}var Pe=ge.getActiveItem();if(Pe&&Pe.data){var Ke=ge.getTreeNodeRequiredProps(),nt=Pe.data.isLeaf===!1||!!(Pe.data[Ot.children]||[]).length,lt=(0,Se.F)((0,Ge.Z)((0,Ge.Z)({},(0,Se.H8)(we,Ke)),{},{data:Pe.data,active:!0}));switch(me.which){case Ue.Z.LEFT:{nt&&he.includes(we)?ge.onNodeExpand({},lt):Pe.parent&&ge.onActiveChange(Pe.parent.key),me.preventDefault();break}case Ue.Z.RIGHT:{nt&&!he.includes(we)?ge.onNodeExpand({},lt):Pe.children&&Pe.children.length&&ge.onActiveChange(Pe.children[0].key),me.preventDefault();break}case Ue.Z.ENTER:case Ue.Z.SPACE:{wt&&!lt.disabled&<.checkable!==!1&&!lt.disableCheckbox?ge.onNodeCheck({},lt,!je.includes(we)):!wt&&Ft&&!lt.disabled&<.selectable!==!1&&ge.onNodeSelect({},lt);break}}}Bt==null||Bt(me)},ge.setUncontrolledState=function(me){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ge.destroyed){var he=!1,je=!0,Ot={};Object.keys(me).forEach(function(ct){if(ct in ge.props){je=!1;return}he=!0,Ot[ct]=me[ct]}),he&&(!He||je)&&ge.setState((0,Ge.Z)((0,Ge.Z)({},Ot),we))}},ge.scrollTo=function(me){ge.listRef.current.scrollTo(me)},ge}return(0,oe.Z)(ye,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ne=this.props.activeKey;Ne!==void 0&&Ne!==this.state.activeKey&&(this.setState({activeKey:Ne}),Ne!==null&&this.scrollTo({key:Ne}))}},{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 Ne,dt=this.state,fe=dt.focused,me=dt.flattenNodes,He=dt.keyEntities,we=dt.draggingNodeKey,he=dt.activeKey,je=dt.dropLevelOffset,Ot=dt.dropContainerKey,ct=dt.dropTargetKey,Bt=dt.dropPosition,wt=dt.dragOverNodeKey,Ft=dt.indent,Pe=this.props,Ke=Pe.prefixCls,nt=Pe.className,lt=Pe.style,Lt=Pe.showLine,zt=Pe.focusable,ot=Pe.tabIndex,ft=ot===void 0?0:ot,Xt=Pe.selectable,on=Pe.showIcon,_t=Pe.icon,hn=Pe.switcherIcon,Mn=Pe.draggable,Zn=Pe.checkable,an=Pe.checkStrictly,Un=Pe.disabled,Kn=Pe.motion,On=Pe.loadData,Xn=Pe.filterTreeNode,fa=Pe.height,na=Pe.itemHeight,ya=Pe.virtual,Ra=Pe.titleRender,sa=Pe.dropIndicatorRender,Oa=Pe.onContextMenu,Na=Pe.onScroll,Ta=Pe.direction,_e=Pe.rootClassName,at=Pe.rootStyle,Ye=(0,re.Z)(this.props,{aria:!0,data:!0}),$t;return Mn&&((0,Re.Z)(Mn)==="object"?$t=Mn:typeof Mn=="function"?$t={nodeDraggable:Mn}:$t={}),y.createElement(x.k.Provider,{value:{prefixCls:Ke,selectable:Xt,showIcon:on,icon:_t,switcherIcon:hn,draggable:$t,draggingNodeKey:we,checkable:Zn,checkStrictly:an,disabled:Un,keyEntities:He,dropLevelOffset:je,dropContainerKey:Ot,dropTargetKey:ct,dropPosition:Bt,dragOverNodeKey:wt,indent:Ft,direction:Ta,dropIndicatorRender:sa,loadData:On,filterTreeNode:Xn,titleRender:Ra,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}},y.createElement("div",{role:"tree",className:rt()(Ke,nt,_e,(Ne={},(0,ue.Z)(Ne,"".concat(Ke,"-show-line"),Lt),(0,ue.Z)(Ne,"".concat(Ke,"-focused"),fe),(0,ue.Z)(Ne,"".concat(Ke,"-active-focused"),he!==null),Ne)),style:at},y.createElement(Wt,(0,te.Z)({ref:this.listRef,prefixCls:Ke,style:lt,data:me,disabled:Un,selectable:Xt,checkable:!!Zn,motion:Kn,dragging:we!==null,height:fa,itemHeight:na,virtual:ya,focusable:zt,focused:fe,tabIndex:ft,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Oa,onScroll:Na},this.getTreeNodeRequiredProps(),Ye))))}}],[{key:"getDerivedStateFromProps",value:function(Ne,dt){var fe=dt.prevProps,me={prevProps:Ne};function He(zt){return!fe&&zt in Ne||fe&&fe[zt]!==Ne[zt]}var we,he=dt.fieldNames;if(He("fieldNames")&&(he=(0,Se.w$)(Ne.fieldNames),me.fieldNames=he),He("treeData")?we=Ne.treeData:He("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),we=(0,Se.zn)(Ne.children)),we){me.treeData=we;var je=(0,Se.I8)(we,{fieldNames:he});me.keyEntities=(0,Ge.Z)((0,ue.Z)({},Kt,Te),je.keyEntities)}var Ot=me.keyEntities||dt.keyEntities;if(He("expandedKeys")||fe&&He("autoExpandParent"))me.expandedKeys=Ne.autoExpandParent||!fe&&Ne.defaultExpandParent?(0,gt.r7)(Ne.expandedKeys,Ot):Ne.expandedKeys;else if(!fe&&Ne.defaultExpandAll){var ct=(0,Ge.Z)({},Ot);delete ct[Kt],me.expandedKeys=Object.keys(ct).map(function(zt){return ct[zt].key})}else!fe&&Ne.defaultExpandedKeys&&(me.expandedKeys=Ne.autoExpandParent||Ne.defaultExpandParent?(0,gt.r7)(Ne.defaultExpandedKeys,Ot):Ne.defaultExpandedKeys);if(me.expandedKeys||delete me.expandedKeys,we||me.expandedKeys){var Bt=(0,Se.oH)(we||dt.treeData,me.expandedKeys||dt.expandedKeys,he);me.flattenNodes=Bt}if(Ne.selectable&&(He("selectedKeys")?me.selectedKeys=(0,gt.BT)(Ne.selectedKeys,Ne):!fe&&Ne.defaultSelectedKeys&&(me.selectedKeys=(0,gt.BT)(Ne.defaultSelectedKeys,Ne))),Ne.checkable){var wt;if(He("checkedKeys")?wt=(0,gt.E6)(Ne.checkedKeys)||{}:!fe&&Ne.defaultCheckedKeys?wt=(0,gt.E6)(Ne.defaultCheckedKeys)||{}:we&&(wt=(0,gt.E6)(Ne.checkedKeys)||{checkedKeys:dt.checkedKeys,halfCheckedKeys:dt.halfCheckedKeys}),wt){var Ft=wt,Pe=Ft.checkedKeys,Ke=Pe===void 0?[]:Pe,nt=Ft.halfCheckedKeys,lt=nt===void 0?[]:nt;if(!Ne.checkStrictly){var Lt=(0,It.S)(Ke,!0,Ot);Ke=Lt.checkedKeys,lt=Lt.halfCheckedKeys}me.checkedKeys=Ke,me.halfCheckedKeys=lt}}return He("loadedKeys")&&(me.loadedKeys=Ne.loadedKeys),me}}]),ye}(y.Component);qt.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:b,allowDrop:function(){return!0},expandAction:!1},qt.TreeNode=ce.Z;var un=qt,nn=un},35654:function(st,bt,ne){"use strict";ne.d(bt,{BT:function(){return y},E6:function(){return E},L0:function(){return Qe},OM:function(){return a},_5:function(){return We},r7:function(){return z},wA:function(){return rt},yx:function(){return Je}});var te=ne(3300),ue=ne(34666),Re=ne(48736),Ge=ne(59301),Ae=ne(39417),Le=ne(67841),oe=ne(71430),Ve=null;function We(ee,ae){if(!ee)return[];var le=ee.slice(),de=le.indexOf(ae);return de>=0&&le.splice(de,1),le}function Qe(ee,ae){var le=(ee||[]).slice();return le.indexOf(ae)===-1&&le.push(ae),le}function Je(ee){return ee.split("-")}function rt(ee,ae){var le=[],de=(0,Le.Z)(ae,ee);function ce(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];be.forEach(function(Se){var Ee=Se.key,pe=Se.children;le.push(Ee),ce(pe)})}return ce(de.children),le}function Ue(ee){if(ee.parent){var ae=Je(ee.pos);return Number(ae[ae.length-1])===ee.parent.children.length-1}return!1}function re(ee){var ae=Je(ee.pos);return Number(ae[ae.length-1])===0}function a(ee,ae,le,de,ce,be,Se,Ee,pe,St){var mt,Yt=ee.clientX,et=ee.clientY,it=ee.target.getBoundingClientRect(),At=it.top,Dt=it.height,Kt=(St==="rtl"?-1:1)*(((ce==null?void 0:ce.x)||0)-Yt),kt=(Kt-12)/de,Te=(0,Le.Z)(Ee,le.props.eventKey);if(et<At+Dt/2){var Pt=Se.findIndex(function(nn){return nn.key===Te.key}),xt=Pt<=0?0:Pt-1,Be=Se[xt].key;Te=(0,Le.Z)(Ee,Be)}var De=Te.key,vt=Te,Wt=Te.key,gt=0,It=0;if(!pe.includes(De))for(var Ce=0;Ce<kt&&Ue(Te);Ce+=1)Te=Te.parent,It+=1;var Ht=ae.props.data,qt=Te.node,un=!0;return re(Te)&&Te.level===0&&et<At+Dt/2&&be({dragNode:Ht,dropNode:qt,dropPosition:-1})&&Te.key===le.props.eventKey?gt=-1:(vt.children||[]).length&&pe.includes(Wt)?be({dragNode:Ht,dropNode:qt,dropPosition:0})?gt=0:un=!1:It===0?kt>-1.5?be({dragNode:Ht,dropNode:qt,dropPosition:1})?gt=1:un=!1:be({dragNode:Ht,dropNode:qt,dropPosition:0})?gt=0:be({dragNode:Ht,dropNode:qt,dropPosition:1})?gt=1:un=!1:be({dragNode:Ht,dropNode:qt,dropPosition:1})?gt=1:un=!1,{dropPosition:gt,dropLevelOffset:It,dropTargetKey:Te.key,dropTargetPos:Te.pos,dragOverNodeKey:Wt,dropContainerKey:gt===0?null:((mt=Te.parent)===null||mt===void 0?void 0:mt.key)||null,dropAllowed:un}}function y(ee,ae){if(ee){var le=ae.multiple;return le?ee.slice():ee.length?[ee[0]]:ee}}var x=function(ae){return ae};function b(ee,ae){if(!ee)return[];var le=ae||{},de=le.processProps,ce=de===void 0?x:de,be=Array.isArray(ee)?ee:[ee];return be.map(function(Se){var Ee=Se.children,pe=_objectWithoutProperties(Se,Ve),St=b(Ee,ae);return React.createElement(TreeNode,_extends({key:pe.key},ce(pe)),St)})}function E(ee){if(!ee)return null;var ae;if(Array.isArray(ee))ae={checkedKeys:ee,halfCheckedKeys:void 0};else if((0,ue.Z)(ee)==="object")ae={checkedKeys:ee.checked||void 0,halfCheckedKeys:ee.halfChecked||void 0};else return(0,Re.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function z(ee,ae){var le=new Set;function de(ce){if(!le.has(ce)){var be=(0,Le.Z)(ae,ce);if(be){le.add(ce);var Se=be.parent,Ee=be.node;Ee.disabled||Se&&de(Se.key)}}}return(ee||[]).forEach(function(ce){de(ce)}),(0,te.Z)(le)}},90782:function(st,bt,ne){"use strict";ne.d(bt,{S:function(){return oe}});var te=ne(48736),ue=ne(67841);function Re(Ve,We){var Qe=new Set;return Ve.forEach(function(Je){We.has(Je)||Qe.add(Je)}),Qe}function Ge(Ve){var We=Ve||{},Qe=We.disabled,Je=We.disableCheckbox,rt=We.checkable;return!!(Qe||Je)||rt===!1}function Ae(Ve,We,Qe,Je){for(var rt=new Set(Ve),Ue=new Set,re=0;re<=Qe;re+=1){var a=We.get(re)||new Set;a.forEach(function(E){var z=E.key,ee=E.node,ae=E.children,le=ae===void 0?[]:ae;rt.has(z)&&!Je(ee)&&le.filter(function(de){return!Je(de.node)}).forEach(function(de){rt.add(de.key)})})}for(var y=new Set,x=Qe;x>=0;x-=1){var b=We.get(x)||new Set;b.forEach(function(E){var z=E.parent,ee=E.node;if(!(Je(ee)||!E.parent||y.has(E.parent.key))){if(Je(E.parent.node)){y.add(z.key);return}var ae=!0,le=!1;(z.children||[]).filter(function(de){return!Je(de.node)}).forEach(function(de){var ce=de.key,be=rt.has(ce);ae&&!be&&(ae=!1),!le&&(be||Ue.has(ce))&&(le=!0)}),ae&&rt.add(z.key),le&&Ue.add(z.key),y.add(z.key)}})}return{checkedKeys:Array.from(rt),halfCheckedKeys:Array.from(Re(Ue,rt))}}function Le(Ve,We,Qe,Je,rt){for(var Ue=new Set(Ve),re=new Set(We),a=0;a<=Je;a+=1){var y=Qe.get(a)||new Set;y.forEach(function(z){var ee=z.key,ae=z.node,le=z.children,de=le===void 0?[]:le;!Ue.has(ee)&&!re.has(ee)&&!rt(ae)&&de.filter(function(ce){return!rt(ce.node)}).forEach(function(ce){Ue.delete(ce.key)})})}re=new Set;for(var x=new Set,b=Je;b>=0;b-=1){var E=Qe.get(b)||new Set;E.forEach(function(z){var ee=z.parent,ae=z.node;if(!(rt(ae)||!z.parent||x.has(z.parent.key))){if(rt(z.parent.node)){x.add(ee.key);return}var le=!0,de=!1;(ee.children||[]).filter(function(ce){return!rt(ce.node)}).forEach(function(ce){var be=ce.key,Se=Ue.has(be);le&&!Se&&(le=!1),!de&&(Se||re.has(be))&&(de=!0)}),le||Ue.delete(ee.key),de&&re.add(ee.key),x.add(ee.key)}})}return{checkedKeys:Array.from(Ue),halfCheckedKeys:Array.from(Re(re,Ue))}}function oe(Ve,We,Qe,Je){var rt=[],Ue;Je?Ue=Je:Ue=Ge;var re=new Set(Ve.filter(function(b){var E=!!(0,ue.Z)(Qe,b);return E||rt.push(b),E})),a=new Map,y=0;Object.keys(Qe).forEach(function(b){var E=Qe[b],z=E.level,ee=a.get(z);ee||(ee=new Set,a.set(z,ee)),ee.add(E),y=Math.max(y,z)}),(0,te.ZP)(!rt.length,"Tree missing follow keys: ".concat(rt.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return We===!0?x=Ae(re,a,y,Ue):x=Le(re,We.halfCheckedKeys,a,y,Ue),x}},67841:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return te}});function te(ue,Re){return ue[Re]}},71430:function(st,bt,ne){"use strict";ne.d(bt,{F:function(){return z},H8:function(){return E},I8:function(){return b},km:function(){return rt},oH:function(){return y},w$:function(){return Ue},zn:function(){return a}});var te=ne(34666),ue=ne(3300),Re=ne(27247),Ge=ne(43079),Ae=ne(11592),Le=ne(2738),oe=ne(48736),Ve=ne(67841),We=["children"];function Qe(ee,ae){return"".concat(ee,"-").concat(ae)}function Je(ee){return ee&&ee.type&&ee.type.isTreeNode}function rt(ee,ae){return ee!=null?ee:ae}function Ue(ee){var ae=ee||{},le=ae.title,de=ae._title,ce=ae.key,be=ae.children,Se=le||"title";return{title:Se,_title:de||[Se],key:ce||"key",children:be||"children"}}function re(ee,ae){var le=new Map;function de(ce){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ce||[]).forEach(function(Se){var Ee=Se[ae.key],pe=Se[ae.children];warning(Ee!=null,"Tree node must have a certain key: [".concat(be).concat(Ee,"]"));var St=String(Ee);warning(!le.has(St)||Ee===null||Ee===void 0,"Same 'key' exist in the Tree: ".concat(St)),le.set(St,!0),de(pe,"".concat(be).concat(St," > "))})}de(ee)}function a(ee){function ae(le){var de=(0,Ae.Z)(le);return de.map(function(ce){if(!Je(ce))return(0,oe.ZP)(!ce,"Tree/TreeNode can only accept TreeNode as children."),null;var be=ce.key,Se=ce.props,Ee=Se.children,pe=(0,Ge.Z)(Se,We),St=(0,Re.Z)({key:be},pe),mt=ae(Ee);return mt.length&&(St.children=mt),St}).filter(function(ce){return ce})}return ae(ee)}function y(ee,ae,le){var de=Ue(le),ce=de._title,be=de.key,Se=de.children,Ee=new Set(ae===!0?[]:ae),pe=[];function St(mt){var Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return mt.map(function(et,it){for(var At=Qe(Yt?Yt.pos:"0",it),Dt=rt(et[be],At),Kt,kt=0;kt<ce.length;kt+=1){var Te=ce[kt];if(et[Te]!==void 0){Kt=et[Te];break}}var Pt=(0,Re.Z)((0,Re.Z)({},(0,Le.Z)(et,[].concat((0,ue.Z)(ce),[be,Se]))),{},{title:Kt,key:Dt,parent:Yt,pos:At,children:null,data:et,isStart:[].concat((0,ue.Z)(Yt?Yt.isStart:[]),[it===0]),isEnd:[].concat((0,ue.Z)(Yt?Yt.isEnd:[]),[it===mt.length-1])});return pe.push(Pt),ae===!0||Ee.has(Dt)?Pt.children=St(et[Se]||[],Pt):Pt.children=[],Pt})}return St(ee),pe}function x(ee,ae,le){var de={};(0,te.Z)(le)==="object"?de=le:de={externalGetKey:le},de=de||{};var ce=de,be=ce.childrenPropName,Se=ce.externalGetKey,Ee=ce.fieldNames,pe=Ue(Ee),St=pe.key,mt=pe.children,Yt=be||mt,et;Se?typeof Se=="string"?et=function(Dt){return Dt[Se]}:typeof Se=="function"&&(et=function(Dt){return Se(Dt)}):et=function(Dt,Kt){return rt(Dt[St],Kt)};function it(At,Dt,Kt,kt){var Te=At?At[Yt]:ee,Pt=At?Qe(Kt.pos,Dt):"0",xt=At?[].concat((0,ue.Z)(kt),[At]):[];if(At){var Be=et(At,Pt),De={node:At,index:Dt,pos:Pt,key:Be,parentPos:Kt.node?Kt.pos:null,level:Kt.level+1,nodes:xt};ae(De)}Te&&Te.forEach(function(vt,Wt){it(vt,Wt,{node:At,pos:Pt,level:Kt?Kt.level+1:-1},xt)})}it(null)}function b(ee){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=ae.initWrapper,de=ae.processEntity,ce=ae.onProcessFinished,be=ae.externalGetKey,Se=ae.childrenPropName,Ee=ae.fieldNames,pe=arguments.length>2?arguments[2]:void 0,St=be||pe,mt={},Yt={},et={posEntities:mt,keyEntities:Yt};return le&&(et=le(et)||et),x(ee,function(it){var At=it.node,Dt=it.index,Kt=it.pos,kt=it.key,Te=it.parentPos,Pt=it.level,xt=it.nodes,Be={node:At,nodes:xt,index:Dt,key:kt,pos:Kt,level:Pt},De=rt(kt,Kt);mt[Kt]=Be,Yt[De]=Be,Be.parent=mt[Te],Be.parent&&(Be.parent.children=Be.parent.children||[],Be.parent.children.push(Be)),de&&de(Be,et)},{externalGetKey:St,childrenPropName:Se,fieldNames:Ee}),ce&&ce(et),et}function E(ee,ae){var le=ae.expandedKeys,de=ae.selectedKeys,ce=ae.loadedKeys,be=ae.loadingKeys,Se=ae.checkedKeys,Ee=ae.halfCheckedKeys,pe=ae.dragOverNodeKey,St=ae.dropPosition,mt=ae.keyEntities,Yt=(0,Ve.Z)(mt,ee),et={eventKey:ee,expanded:le.indexOf(ee)!==-1,selected:de.indexOf(ee)!==-1,loaded:ce.indexOf(ee)!==-1,loading:be.indexOf(ee)!==-1,checked:Se.indexOf(ee)!==-1,halfChecked:Ee.indexOf(ee)!==-1,pos:String(Yt?Yt.pos:""),dragOver:pe===ee&&St===0,dragOverGapTop:pe===ee&&St===-1,dragOverGapBottom:pe===ee&&St===1};return et}function z(ee){var ae=ee.data,le=ee.expanded,de=ee.selected,ce=ee.checked,be=ee.loaded,Se=ee.loading,Ee=ee.halfChecked,pe=ee.dragOver,St=ee.dragOverGapTop,mt=ee.dragOverGapBottom,Yt=ee.pos,et=ee.active,it=ee.eventKey,At=(0,Re.Z)((0,Re.Z)({},ae),{},{expanded:le,selected:de,checked:ce,loaded:be,loading:Se,halfChecked:Ee,dragOver:pe,dragOverGapTop:St,dragOverGapBottom:mt,pos:Yt,active:et,key:it});return"props"in At||Object.defineProperty(At,"props",{get:function(){return(0,oe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ee}}),At}},8224:function(st,bt,ne){"use strict";ne.d(bt,{Z:function(){return ue}});var te=ne(4676);function ue(Re,Ge,Ae,Le){var oe=te.unstable_batchedUpdates?function(We){te.unstable_batchedUpdates(Ae,We)}:Ae;return Re!=null&&Re.addEventListener&&Re.addEventListener(Ge,oe,Le),{remove:function(){Re!=null&&Re.removeEventListener&&Re.removeEventListener(Ge,oe,Le)}}}},55468:function(st,bt,ne){"use strict";ne.d(bt,{g1:function(){return Je},os:function(){return Ue}});var te=/margin|padding|width|height|max|min|offset/,ue={left:!0,top:!0},Re={cssFloat:1,styleFloat:1,float:1};function Ge(re){return re.nodeType===1?re.ownerDocument.defaultView.getComputedStyle(re,null):{}}function Ae(re,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return re.offsetHeight;if(a==="width")return re.offsetWidth}return a in ue||(ue[a]=te.test(a)),ue[a]?parseFloat(y)||0:y}function Le(re,a){var y=arguments.length,x=Ge(re);return a=Re[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,y===1?x:Ae(re,a,x[a]||re.style[a])}function oe(re,a,y){var x=arguments.length;if(a=Re[a]?"cssFloat"in re.style?"cssFloat":"styleFloat":a,x===3)return typeof y=="number"&&te.test(a)&&(y="".concat(y,"px")),re.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&oe(re,b,a[b]);return Ge(re)}function Ve(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function We(re){return re===document.body?window.innerHeight||document.documentElement.clientHeight:re.offsetHeight}function Qe(){var re=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:re,height:a}}function Je(){var re=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:re,height:a}}function rt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ue(re){var a=re.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(st,bt,ne){"use strict";ne.d(bt,{G:function(){return Ge}});var te=ne(47273),ue=function(Le){if((0,te.Z)()&&window.document.documentElement){var oe=Array.isArray(Le)?Le:[Le],Ve=window.document.documentElement;return oe.some(function(We){return We in Ve.style})}return!1},Re=function(Le,oe){if(!ue(Le))return!1;var Ve=document.createElement("div"),We=Ve.style[Le];return Ve.style[Le]=oe,Ve.style[Le]!==We};function Ge(Ae,Le){return!Array.isArray(Ae)&&Le!==void 0?Re(Ae,Le):ue(Ae)}},25365:function(st){"use strict";st.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdBoe0Tqggi5NgsLaWriWZFQEEv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