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.
259 lines
796 KiB
259 lines
796 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5908],{89489:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},59477:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},49198:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},52671:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},8657:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},56082:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},33853:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},15075:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},43531:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},38819:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return dt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(nt,_e){return he.createElement(Me.Z,(0,se.Z)({},nt,{ref:_e,icon:ot}))},ie=he.forwardRef(Ie),dt=ie},88010:function(mt,Lt){"use strict";Lt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},74413:function(){"use strict";function mt(re,y,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=re,this._defaultValue=y,this._minimum=a,this._maximum=x}Object.defineProperty(mt.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(mt.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(mt.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(mt.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,y){var a=go.Shape._FigureParameters[re];return a?a[y]:null},go.Shape.setFigureParameter=function(re,y,a){if(!(a instanceof mt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[re];x||(x=[],go.Shape._FigureParameters[re]=x),x[y]=a};var Lt=[];function ne(re,y){var a=Lt.pop();return a===void 0?new go.Point(re,y):(a.x=re,a.y=y,a)}function se(){var re=Lt.pop();return re===void 0?new go.Point:re}function he(re){Lt.push(re)}function Te(re,y,a,x,b,E,z,ee,ae){ae||(ae=new go.Point);var te=re-a,ue=b-z,fe=NaN,Be=NaN;if(te===0)if(ue===0)re===a&&(fe=re,Be=y);else{var Pe=(E-ee)/ue,Ae=E-Pe*b;fe=re,Be=Pe*fe+Ae}else if(ue===0){var be=(y-x)/te,St=y-be*re;fe=b,Be=be*fe+St}else{var be=(y-x)/te,Pe=(E-ee)/ue,St=y-be*re,Ae=E-Pe*b;fe=(Ae-St)/(be-Pe),Be=be*fe+St}return ae.x=fe,ae.y=Be,ae}function ot(re,y,a,x,b,E,z,ee,ae,te,ue,fe,Be,Pe){var Ae=1-ae,be=ae,St=re*Ae+a*be,at=y*Ae+x*be,Zt=a*Ae+b*be,et=x*Ae+E*be,ut=b*Ae+z*be,bt=E*Ae+ee*be,Kt=St*Ae+Zt*be,Dt=at*Ae+et*be,Tt=Zt*Ae+ut*be,We=et*Ae+bt*be,Bt=Kt*Ae+Tt*be,Gt=Dt*Ae+We*be;te.x=St,te.y=at,ue.x=Kt,ue.y=Dt,fe.x=Bt,fe.y=Gt,Be.x=Tt,Be.y=We,Pe.x=ut,Pe.y=bt}var Me=new go.Spot(.156,.156),Ie=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new mt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(re,y,a){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*ie,E=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-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,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(re,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(re,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(re,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=y,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(re,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y/2,x.startY=0,x.endX=y/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(re,y,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*y,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(re,y,a){var x=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Me,b.spot2=Ie,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(re,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(re,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,ie*y,0,y,(1-ie)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,ie*a,(1-ie)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(re,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,ie*a,ie*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(re,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-ie)*y,0,0,(1-ie)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(re,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new mt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new mt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y:x>y&&(x=y);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=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("Trapezoid1",0,new mt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new mt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)?x=20:x<-y?x=-y/2:x>y&&(x=y/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=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("ManualOperation",0,new mt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y/2:x>y&&(x=y/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=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}});var dt=[];function it(){var re=dt.pop();return re===void 0?[]:re}function nt(re){re.length=0,dt.push(re)}function _e(re){for(var y=it(),a=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<re;z++)E=2*Math.PI/re*z+b,y[z]=new go.Point(x+a*Math.cos(E),x+a*Math.sin(E));return y.push(y[0]),y}function st(re){var y=Ge(re),a=it();a[0]=y[0];for(var x=1,b=1;x<y.length;x+=2,b+=3)a[b]=y[x],a[b+1]=y[x],a[b+2]=y[x+1];return nt(y),a}function Ge(re){for(var y=_e(re),a=it(),x=Math.floor(y.length/2),b=y.length-1,E=re%2===0?2:1,z=0;z<b;z++){var ee=y[z],ae=y[z+1],te=y[(x+z-1)%b],ue=y[(x+z+E)%b];a[z*2]=ee,a[z*2+1]=Te(ee.x,ee.y,te.x,te.y,ae.x,ae.y,ue.x,ue.y,new go.Point)}return a[a.length]=a[0],nt(y),a}go.Shape.defineFigureGenerator("Pentagon",function(re,y,a){var x=_e(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<5;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(re,y,a){var x=_e(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<6;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(re,y,a){var x=_e(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<7;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(re,y,a){var x=_e(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<8;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(re,y,a){var x=_e(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<9;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(re,y,a){var x=_e(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(re,y,a){var x=_e(12),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(re,y,a){var x=Ge(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(re,y,a){var x=Ge(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(re,y,a){var x=Ge(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<14;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(re,y,a){var x=Ge(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<16;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(re,y,a){var x=Ge(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<18;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(re,y,a){var x=Ge(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<20;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),nt(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(re,y,a){var x=st(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!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*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),nt(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(re,y,a){var x=st(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!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*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),nt(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(re,y,a){var x=st(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!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*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),nt(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(re,y,a){var x=st(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!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*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),nt(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(re,y,a){var x=st(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!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*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),nt(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(re,y,a){var x=st(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!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*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),nt(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new mt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new mt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(re,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<y/2&&b<a/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,b).close())),E.setSpots(0,0,1,1,x,b,-x,-b),E}),go.Shape.setFigureParameter("Ring",0,new mt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(re,y,a){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=y/2,E=new go.Geometry,z=new go.PathFigure(y,y/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,y/2+ee,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),E.spot1=Me,E.spot2=Ie,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(re,y,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new mt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new mt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(re,y,a){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(y,a)/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,y,a){var x=ie/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,E*a,y,(1-x)*a,(b+x)*y,(E+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new mt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(re,y,a){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,y)/2,E=y/2,z=a/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,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).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 mt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(re,y,a){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,y)/2,E=y/2,z=a/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,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).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 mt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(re,y,a){var x=re?re.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var E=y/2,z=a/2,ee=Math.atan2(a,y),ae=x-Math.min(Math.cos(ee)*x/2,E),te=x-Math.min(Math.sin(ee)*x/2,z),b=new go.Geometry,ue=new go.PathFigure(ae,0,!0);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),ue.add(new go.PathSegment(go.PathSegment.Line,y-ae,0)),ue.add(new go.PathSegment(go.PathSegment.Line,y,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),ue.add(new go.PathSegment(go.PathSegment.Line,y,a-te)),ue.add(new go.PathSegment(go.PathSegment.Line,y-ae,a)),ue.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ue.add(new go.PathSegment(go.PathSegment.Line,ae,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,a-te)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),ue.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new mt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(re,y,a){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new mt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new mt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-x)*y,.25*a,Math.abs(1-x)*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,ie*y,0,y,(.5-ie/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+ie/2)*a,ie*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var E=.2,z=.3,ee=0,ae=E*ie;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+ae+ee)*a,(.5-ae+z)*y,(.5+E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ee)*a,(.5+ae+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z)*y,(.5-ae+ee)*a,(.5+ae+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ae+z)*y,(.5-E+ee)*a,(.5-E+z+.05)*y,(.5-ae+ee-.02)*a)),E=.2,z=0,ee=-.3,ae=E*ie,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ee)*a,(.5+ae+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z)*y,(.5-ae+ee)*a,(.5+ae+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ee)*a,(.5-ae+z)*y,(.5-E+ee)*a,(.5-E+z)*y,(.5-ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+ae+ee)*a,(.5-ae+z)*y,(.5+E+ee)*a)),E=.2,z=-.3,ee=0,ae=E*ie,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z-.05)*y,(.5-ae+ee-.02)*a,(.5+ae+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ee)*a,(.5-ae+z)*y,(.5-E+ee)*a,(.5-E+z)*y,(.5-ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+ae+ee)*a,(.5-ae+z)*y,(.5+E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ae+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+ae+ee)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var E=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*y,ee*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ee,E*y,E*y).close()),b=new go.PathFigure(y*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ee=.75,b=new go.PathFigure((z+E)*y,ee*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ee,E*y,E*y).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(re,y,a){var x=.8535533905932737,b=.5*y,E=.5*a;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,a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=.5,z=.5,ee=.5,ae=new go.PathFigure(z*y,(ee-E)*a);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),E=.4,b=ie*.4;var te=se(),ue=se(),fe=se(),Be=se();ot(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.42,te,ue,fe,Be,Be);var Pe=se(),Ae=se(),be=se();ot(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.58,Be,Be,be,Pe,Ae);var St=se(),at=se(),Zt=se();ot(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.42,St,at,Zt,Be,Be);var et=se(),ut=se(),bt=se();return ot(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.58,Be,Be,bt,et,ut),ae.add(new go.PathSegment(go.PathSegment.Move,bt.x*y,bt.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,et.x*y,et.y*a,ut.x*y,ut.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*y,fe.y*a,te.x*y,te.y*a,ue.x*y,ue.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,bt.x*y,bt.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Zt.x*y,Zt.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,be.x*y,be.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,Pe.x*y,Pe.y*a,Ae.x*y,Ae.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Zt.x*y,Zt.y*a,St.x*y,St.y*a,at.x*y,at.y*a).close()),he(te),he(ue),he(fe),he(Be),he(Pe),he(Ae),he(be),he(St),he(at),he(Zt),he(et),he(ut),he(bt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new mt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(re,y,a){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>y&&(x=y);var b=(y-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(re,y,a){var x=new go.Geometry,b=ie*.4,E=.4,z=.5,ee=.5,ae=se(),te=se(),ue=se(),fe=se(),Be=new go.PathFigure((z-E)*y,ee*a,!1);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),ot(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.44,ue,fe,te,ae,ae),Be.add(new go.PathSegment(go.PathSegment.Bezier,te.x*y,te.y*a,ue.x*y,ue.y*a,fe.x*y,fe.y*a));var Pe=ne(te.x,te.y);ot(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.56,ae,ae,te,ue,fe);var Ae=ne(te.x,te.y);Be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*y,Pe.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*y,Pe.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Be.add(new go.PathSegment(go.PathSegment.Line,y,0)),Be.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.9)*y,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.9)*y,(Ae.y*.1+.05*.9)*a)),Be.add(new go.PathSegment(go.PathSegment.Line,Ae.x*y,Ae.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,ue.x*y,ue.y*a,fe.x*y,fe.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),E=.35,b=ie*.35;var be=new go.PathFigure(z*y,(ee-E)*a,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a));var St=new go.PathFigure((z-E)*y,ee*a,!1);return x.add(St),he(ae),he(te),he(ue),he(fe),he(Pe),he(Ae),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,y,a){var x=new go.Geometry,b=.375,E=0,z=-.125,ee=b*ie,ae=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+ee+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-ee+z)*a,(.5+ee+E)*y,(.5-b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ee+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+ee+z)*a,(.5-ee+E)*y,(.5+b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,E=0,z=-.125,ee=b*ie;var ae=new go.PathFigure((1-.5+b+E)*y,(.5+z)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+ee+z)*a,(.5+ee+E)*y,(.5+b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ee+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ee+z)*a,(.5-ee+E)*y,(.5-b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+ee+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-ee+z)*a));var ae=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!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,y,a){var x=re?re.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(re,y,a){var x=re?re.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(re,y,a){var x=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(re,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(re,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new mt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new mt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);var b=re?re.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*y,z=(.5-b/2)*a,ee=(.5+b/2)*a,ae=new go.Geometry,te=new go.PathFigure(0,z,!0);ae.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,z)),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,z/a);var ue=Te(0,ee/a,1,ee/a,E/y,1,1,.5,se());return ae.spot2=new go.Spot(ue.x,ue.y),he(ue),ae}),go.Shape.setFigureParameter("Arrow2",0,new mt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new mt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=30),x>y&&(x=y);var b=re?re.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var E=y-x,z=(a-b)/2,ee=z+b,ae=new go.Geometry,te=new go.PathFigure(0,z,!0);ae.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,z)),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,z/a);var ue=Te(0,ee/a,1,ee/a,E/y,1,1,.5,se());return ae.spot2=new go.Spot(ue.x,ue.y),he(ue),ae}),go.Shape.defineFigureGenerator("Chevron",function(re,y,a){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*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(re,y,a){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*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new mt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ae=Te(0,.5,.3,0,0,b/a,.1,b/a,se());return z.spot1=new go.Spot(ae.x,ae.y),ae=Te(.7,1,1,.5,0,E/a,1,E/a,ae),z.spot2=new go.Spot(ae.x,ae.y),he(ae),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new mt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new mt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=40);var b=re?re.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,ee=(a-b)/2,ae=ee+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ee=0,ae=a):(E=0,z=a,ee=0,ae=a));var te=new go.Geometry,ue=new go.PathFigure(y,.5*a,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close());var fe=Te(0,.5,.3,ee/a,0,E/a,1,E/a,se());return te.spot1=new go.Spot(fe.x,fe.y),fe=Te(.7,ae/a,1,.5,0,z/a,1,z/a,fe),te.spot2=new go.Spot(fe.x,fe.y),he(fe),te}),go.Shape.setFigureParameter("IBeamArrow",0,new mt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var ae=Te(.7,1,1,.5,0,E/a,1,E/a,se());return z.spot2=new go.Spot(ae.x,ae.y),he(ae),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new mt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new mt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=40);var b=re?re.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,ee=(a-b)/2,ae=ee+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ee=0,ae=a):(E=0,z=a,ee=0,ae=a));var te=new go.Geometry,ue=new go.PathFigure(y,.5*a,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close()),te.spot1=new go.Spot(0,E/a);var fe=Te(.7,ae/a,1,.5,0,z/a,1,z/a,se());return te.spot2=new go.Spot(fe.x,fe.y),he(fe),te}),go.Shape.setFigureParameter("Pointer",0,new mt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Te(.2,.65,1,.65,0,1,1,.5,se());return b.spot2=new go.Spot(z.x,z.y),he(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new mt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b.spot1=new go.Spot(x,.35);var z=Te(0,.65,1,.65,0,1,1,.5,se());return b.spot2=new go.Spot(z.x,z.y),he(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new mt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var ae=Te(.7,1,1,.5,0,E/a,1,E/a,se());return z.spot2=new go.Spot(ae.x,ae.y),he(ae),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new mt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,E=b+x;x>a&&(b=0,E=a);var z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var ae=Te(.7,1,1,.5,0,E/a,1,E/a,se());return z.spot2=new go.Spot(ae.x,ae.y),he(ae),z}),go.Shape.setFigureParameter("SquareArrow",0,new mt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=ie*.1,z=new go.PathFigure(0,.9*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var E=new go.PathFigure(0,.9*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var E=new go.PathFigure(0,.3*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=ie*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ie*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,x,(.5+E)*y,0,1*y,ie*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-ie*x,(.5+E)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,1*a,0,a-ie*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ee=new go.PathFigure(y,x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*x,1*y,2*x-ie*x,(.5+E)*y,2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*y,2*x,0,2*x-ie*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,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=ie*.5,z=new go.PathFigure(0,a-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ie*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x,(.5+E)*y,0,y,ie*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-ie*x,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,a,0,a-ie*x));var ee=new go.PathFigure(0,a-x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*x,0,a-x-ie*x,(.5-E)*y,a-2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,a-x,(.5+E)*y,a-2*x,y,a-x-ie*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,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=ie*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-ie*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-ie*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ie*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,ie*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*a,x+ie*x,0,2*x,(.5-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+E)*a,x+ie*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=ie*.5,z=new go.PathFigure(y-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-ie*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-ie*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ie*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,ie*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0));var ee=new go.PathFigure(y-x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-2*x,.5*a,y-x-ie*x,0,y-2*x,(.5-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y-2*x,(.5+E)*a,y-x-ie*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.25*y,.25*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(re,y,a){var x=new go.Geometry,b=.2,E=.1,z=ie*b,ee=ie*E,ae=.5,te=.1,ue=new go.PathFigure(ae*y,(te+E)*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae-b)*y,te*a,(ae-z)*y,(te+E)*a,(ae-b)*y,(te+ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-E)*a,(ae-b)*y,(te-ee)*a,(ae-z)*y,(te-E)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+b)*y,te*a,(ae+z)*y,(te-E)*a,(ae+b)*y,(te-ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te+E)*a,(ae+b)*y,(te+ee)*a,(ae+z)*y,(te+E)*a));var fe=.05,Be=ie*fe;ae=.05,te=.25;var Pe=new go.PathFigure(.5*y,.2*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ae=.95,te=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+fe)*y,te*a,(ae+Be)*y,(te-fe)*a,(ae+fe)*y,(te-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),fe=.025,Be=ie*fe,ae=.825,te=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-fe)*a,(ae+fe)*y,(te-Be)*a,(ae+Be)*y,(te-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*y,te*a,(ae-Be)*y,(te-fe)*a,(ae-fe)*y,(te-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),fe=.05,Be=ie*fe,ae=.5,te=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-fe)*a,(ae+fe)*y,(te-Be)*a,(ae+Be)*y,(te-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*y,te*a,(ae-Be)*y,(te-fe)*a,(ae-fe)*y,(te-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),fe=.025,Be=ie*fe,ae=.175,te=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-fe)*a,(ae+fe)*y,(te-Be)*a,(ae+Be)*y,(te-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*y,te*a,(ae-Be)*y,(te-fe)*a,(ae-fe)*y,(te-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),fe=.05,Be=ie*fe,ae=.05,te=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-fe)*a,(ae-fe)*y,(te-Be)*a,(ae-Be)*y,(te-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new mt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(re,y,a){var x=re?re.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var E=new go.PathFigure(.5*y,.5*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=ie*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var ee=new go.PathFigure(y,.1*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+E)*a,(.5+b)*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+E)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(re,y,a){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*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=ie*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var ee=new go.PathFigure(y,.1*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(re,y,a){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=ie*.2,z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-E)*a,(.2-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+E)*y,0,y,(.2-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+E)*a,(.8+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-E)*y,a,0,(.8+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ee=new go.PathFigure(0,b*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(re,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(.1*y,.4*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.75*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var E=new go.PathFigure(y,.5*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(re,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(b*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x}),go.Shape.defineFigureGenerator("Junction",function(re,y,a){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=ie*.5,ee=.5,ae=new go.PathFigure(y,ee*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+z)*a,(ee+z)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-z)*y,a,0,(ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-z)*a,(ee-z)*y,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+z)*y,0,y,(ee-z)*a));var te=new go.PathFigure((E+b)*y,(E+b)*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)),te.add(new go.PathSegment(go.PathSegment.Move,E*y,(E+b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(E+b)*y,E*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(re,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var E=new go.PathFigure(.1*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=.5,z=new go.PathFigure(.5*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*y,.9*a,y,(E+b)*a,(E+b)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(re,y,a){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*y,b*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(re,y,a){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*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(re,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var E=new go.PathFigure(.1*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var E=new go.PathFigure(.2*y,.1*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(re,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ee=new go.PathFigure(.5*b*y,b*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(re,y,a){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*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var ee=new go.PathFigure(y,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(re,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(re,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(re,y,a){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)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-b)*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x}),go.Shape.defineFigureGenerator("Process",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(0,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(re,y,a){var x=new go.Geometry,b=re?re.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(re,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var ee=new go.PathFigure(y,E*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,E*a));var ae=new go.PathFigure(.8*y,.75*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(re,y,a){var x=new go.Geometry,b=ie*.1,E=.1,z=.9,ee=.5,ae=new go.PathFigure(.8*y,.5*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var te=new go.PathFigure((z+E)*y,ee*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee-E)*a,(z+E)*y,(ee-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=ie*.4,z=ie*.1,ee=.1,ae=.9,te=.5,ue=new go.PathFigure(.8*y,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+E)*a,(.4+b)*y,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-E)*a));var fe=new go.PathFigure((ae+ee)*y,te*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te+ee)*a,(ae+ee)*y,(te+z)*a,(ae+z)*y,(te+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y,te*a,(ae-z)*y,(te+ee)*a,(ae-ee)*y,(te+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-ee)*a,(ae-ee)*y,(te-z)*a,(ae-z)*y,(te-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y,te*a,(ae+z)*y,(te-ee)*a,(ae+ee)*y,(te-z)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(re,y,a){var x=new go.Geometry,b=.5,E=ie*b,z=0,ee=.5,ae=new go.PathFigure(.8*y,.5*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(ee-b)*a,.7*y,(ee-E)*a)),b=.1,E=ie*.1,z=.9,ee=.5;var te=new go.PathFigure((z-b)*y,ee*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(re,y,a){var x=new go.Geometry,b=.5,E=ie*b,z=0,ee=.5,ae=new go.PathFigure(0,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E+E)*y,(ee-b)*a,.8*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ee+E)*a,(z+E+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(re,y,a){var x=new go.Geometry,b=.5,E=ie*b,z=.2,ee=.5,ae=new go.PathFigure(.1*y,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var te=new go.PathFigure(.8*y,.5*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(ee-b)*a,.7*y,(ee-E)*a)),b=.1,E=ie*.1,z=.9,ee=.5;var ue=new go.PathFigure((z-b)*y,ee*a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(re,y,a){var x=new go.Geometry,b=.5,E=ie*b,z=.2,ee=.5,ae=new go.PathFigure(.1*y,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var te=new go.PathFigure(.2*y,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E)*y,(ee-b)*a,.9*y,(ee-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(re,y,a){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,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(re,y,a){var x=new go.Geometry,b=ie*.1,E=.1,z=.1,ee=.5,ae=new go.PathFigure((z-b*.5)*y,a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*y,a,(z+E)*y,0,(z+b)*y,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(re,y,a){var x=new go.Geometry,b=ie*.5,E=.5,z=.5,ee=.5,ae=new go.PathFigure((z-E)*y,ee*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee-E)*a,(z+E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*y,ee*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*y,ee*a,z*y,(ee-E)*a,z*y,(ee+E)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Diode",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(re,y,a){var x=new go.Geometry,b=y,E=a;y=y*.38,a=a*.6;var z=ie*.8,ee=.8,ae=0,te=.5,ue=(b-y)/2,fe=(E-a)/2,Be=new go.PathFigure(ae*y+ue,(te+ee)*a+fe,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y+ue,te*a+fe,(ae-z)*y+ue,(te+ee)*a+fe,(ae-ee)*y+ue,(te+z)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te-ee)*a+fe,(ae-ee)*y+ue,(te-z)*a+fe,(ae-z)*y+ue,(te-ee)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee+z*.5)*y+ue,te*a+fe,ae*y+ue,(te-ee)*a+fe,(ae-ee+z*.5)*y+ue,(te-z)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te+ee)*a+fe,(ae-ee+z*.5)*y+ue,(te+z)*a+fe,ae*y+ue,(te+ee)*a+fe).close()),z=ie*.4,ee=.4,ae=.2,te=.5;var Pe=new go.PathFigure(ae*y+ue,(te+ee)*a+fe,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y+ue,te*a+fe,(ae-z)*y+ue,(te+ee)*a+fe,(ae-ee)*y+ue,(te+z)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te-ee)*a+fe,(ae-ee)*y+ue,(te-z)*a+fe,(ae-z)*y+ue,(te-ee)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee+z*.5)*y+ue,te*a+fe,ae*y+ue,(te-ee)*a+fe,(ae-ee+z*.5)*y+ue,(te-z)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te+ee)*a+fe,(ae-ee+z*.5)*y+ue,(te+z)*a+fe,ae*y+ue,(te+ee)*a+fe).close()),z=ie*.2,ee=.2,ae=.5,te=.5;var Ae=new go.PathFigure((ae-ee)*y+ue,te*a+fe,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te-ee)*a+fe,(ae-ee)*y+ue,(te-z)*a+fe,(ae-z)*y+ue,(te-ee)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y+ue,te*a+fe,(ae+z)*y+ue,(te-ee)*a+fe,(ae+ee)*y+ue,(te-z)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te+ee)*a+fe,(ae+ee)*y+ue,(te+z)*a+fe,(ae+z)*y+ue,(te+ee)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y+ue,te*a+fe,(ae-z)*y+ue,(te+ee)*a+fe,(ae-ee)*y+ue,(te+z)*a+fe)),z=ie*.4,ee=.4,ae=.8,te=.5;var be=new go.PathFigure(ae*y+ue,(te-ee)*a+fe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y+ue,te*a+fe,(ae+z)*y+ue,(te-ee)*a+fe,(ae+ee)*y+ue,(te-z)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te+ee)*a+fe,(ae+ee)*y+ue,(te+z)*a+fe,(ae+z)*y+ue,(te+ee)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee-z*.5)*y+ue,te*a+fe,ae*y+ue,(te+ee)*a+fe,(ae+ee-z*.5)*y+ue,(te+z)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te-ee)*a+fe,(ae+ee-z*.5)*y+ue,(te-z)*a+fe,ae*y+ue,(te-ee)*a+fe).close()),z=ie*.8,ee=.8,ae=1,te=.5;var St=new go.PathFigure(ae*y+ue,(te-ee)*a+fe,!0);return x.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y+ue,te*a+fe,(ae+z)*y+ue,(te-ee)*a+fe,(ae+ee)*y+ue,(te-z)*a+fe)),St.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te+ee)*a+fe,(ae+ee)*y+ue,(te+z)*a+fe,(ae+z)*y+ue,(te+ee)*a+fe)),St.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee-z*.5)*y+ue,te*a+fe,ae*y+ue,(te+ee)*a+fe,(ae+ee-z*.5)*y+ue,(te+z)*a+fe)),St.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ue,(te-ee)*a+fe,(ae+ee-z*.5)*y+ue,(te-z)*a+fe,ae*y+ue,(te-ee)*a+fe).close()),x}),go.Shape.defineFigureGenerator("Email",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),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*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var E=new go.PathFigure(.1*y,a,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ee=new go.PathFigure(0,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(re,y,a){var x=new go.Geometry,b=ie*.4,E=.4,z=.5,ee=.5,ae=se(),te=se(),ue=se(),fe=se();ot(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,ae,ae,te,ue,fe);var Be=ne(te.x,te.y),Pe=new go.PathFigure(te.x*y,te.y*a,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,ue.x*y,ue.y*a,fe.x*y,fe.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),ot(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,ue,fe,te,ae,ae),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te.x*y,te.y*a,ue.x*y,ue.y*a,fe.x*y,fe.y*a)),b=ie*.3,E=.3,ot(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,ue,fe,te,ae,ae),Pe.add(new go.PathSegment(go.PathSegment.Line,te.x*y,te.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,fe.x*y,fe.y*a,ue.x*y,ue.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ot(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,ae,ae,te,ue,fe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te.x*y,te.y*a,fe.x*y,fe.y*a,ue.x*y,ue.y*a).close());var Pe=new go.PathFigure(.45*y,0,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),he(ae),he(te),he(ue),he(fe),he(Be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function E(z,ee,ae){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*y,(.8+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*y,(.8+ae)*a).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(re,y,a){var x=new go.Geometry,b=.5,E=0,z=0,ee=b*ie,ae=.4*Math.SQRT2/2+.5,te=.5-.5*Math.SQRT2/2,ue=1,fe=.5,Be=.5,Pe=0,Ae=new go.PathFigure(ae*y,(1-te)*a,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,fe*a,ue*y,.7*a,ue*y,fe*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+E)*y,(Pe+E)*a,(.5+b+E)*y,(.5-ee+E)*a,(.5+ee+E)*y,(.5-b+E)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ee+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ee+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*y,.9*a,(.5-b+E)*y,(.5+ee+z)*a,(.5-ee+E)*y,.9*a)),Ae.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*y,.8*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*y,.9*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*y,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(re,y,a){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,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var E=new go.PathFigure(.45*y,.73*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),E.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),E.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*y,(1-.555)*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),E.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ee=.5,ae=z,te=Math.PI/4,ue=4*(1-Math.cos(te))/(3*Math.sin(te)),fe=ue*.5,Be=z,Pe=z,Ae=ue*Be,be=ue*Pe;E.add(new go.PathSegment(go.PathSegment.Bezier,(ee-Be)*y,ae*a,(ee-(Ae+Be)/2)*y,(ae+(Pe+be)/2)*a,(ee-Be)*y,(ae+be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ae-Pe)*a,(ee-Be)*y,(ae-be)*a,(ee-Ae)*y,(ae-Pe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ee+Be)*y,ae*a,(ee+Ae)*y,(ae-Pe)*a,(ee+Be)*y,(ae-be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ee+Be)*y,(ae+be)*a,(ee+(Ae+Be)/2)*y,(ae+(Pe+be)/2)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var St=new go.PathFigure(.2*y,a,!1);x.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var at=new go.PathFigure(.8*y,a,!1);return x.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var E=new go.PathFigure(.2*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(.1*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,E*y,E*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var E=new go.PathFigure(.475*y,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(re,y,a){var x=new go.Geometry,b=.5,E=ie*.5,z=new go.PathFigure(y,b*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+E)*a,(b+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-E)*y,a,0,(b+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-E)*a,(b-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+E)*y,0,y,(b-E)*a));var ee=new go.PathFigure(b*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,.15*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var E=new go.PathFigure(0,.2*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var E=new go.PathFigure(.15*y,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(y,.8*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ee=ie*.1,ae=.2,te=.9,ue=new go.PathFigure((ae-z)*y,te*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-z)*a,(ae-z)*y,(te-ee)*a,(ae-ee)*y,(te-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,te*a,(ae+ee)*y,(te-z)*a,(ae+z)*y,(te-ee)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te+z)*a,(ae+z)*y,(te+ee)*a,(ae+ee)*y,(te+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,te*a,(ae-ee)*y,(te+z)*a,(ae-z)*y,(te+ee)*a).close()),z=.1,ee=ie*.1,ae=.8,te=.9;var fe=new go.PathFigure((ae-z)*y,te*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te-z)*a,(ae-z)*y,(te-ee)*a,(ae-ee)*y,(te-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,te*a,(ae+ee)*y,(te-z)*a,(ae+z)*y,(te-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(te+z)*a,(ae+z)*y,(te+ee)*a,(ae+ee)*y,(te+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,te*a,(ae-ee)*y,(te+z)*a,(ae-z)*y,(te+ee)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(re,y,a){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*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var E=new go.PathFigure(0,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ee=new go.PathFigure(.5*y,.7*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ae=.1,te=ie*.1,ue=.1,fe=.9,Be=new go.PathFigure((ue-ae)*y,fe*a,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(fe-ae)*a,(ue-ae)*y,(fe-te)*a,(ue-te)*y,(fe-ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ae)*y,fe*a,(ue+te)*y,(fe-ae)*a,(ue+ae)*y,(fe-te)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(fe+ae)*a,(ue+ae)*y,(fe+te)*a,(ue+te)*y,(fe+ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ae)*y,fe*a,(ue-te)*y,(fe+ae)*a,(ue-ae)*y,(fe+te)*a)),ae=.1,te=ie*.1,ue=.4,fe=.9;var Pe=new go.PathFigure((ue-ae)*y,fe*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(fe-ae)*a,(ue-ae)*y,(fe-te)*a,(ue-te)*y,(fe-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ae)*y,fe*a,(ue+te)*y,(fe-ae)*a,(ue+ae)*y,(fe-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(fe+ae)*a,(ue+ae)*y,(fe+te)*a,(ue+te)*y,(fe+ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ae)*y,fe*a,(ue-te)*y,(fe+ae)*a,(ue-ae)*y,(fe+te)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var E=new go.PathFigure(.45*y,.7*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var ue=.05,fe=ie*.05,Be=.175,Pe=.95,ee=new go.PathFigure((Be-ue)*y,Pe*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-ue)*a,(Be-ue)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-ue)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ue)*y,Pe*a,(Be+fe)*y,(Pe-ue)*a,(Be+ue)*y,(Pe-fe)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+ue)*a,(Be+ue)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+ue)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ue)*y,Pe*a,(Be-fe)*y,(Pe+ue)*a,(Be-ue)*y,(Pe+fe)*a));var ue=.05,fe=ie*.05,Be=.375,Pe=.95,ae=new go.PathFigure((Be-ue)*y,Pe*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-ue)*a,(Be-ue)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-ue)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ue)*y,Pe*a,(Be+fe)*y,(Pe-ue)*a,(Be+ue)*y,(Pe-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+ue)*a,(Be+ue)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+ue)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ue)*y,Pe*a,(Be-fe)*y,(Pe+ue)*a,(Be-ue)*y,(Pe+fe)*a));var ue=.05,fe=ie*.05,Be=.625,Pe=.95,te=new go.PathFigure((Be-ue)*y,Pe*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-ue)*a,(Be-ue)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-ue)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ue)*y,Pe*a,(Be+fe)*y,(Pe-ue)*a,(Be+ue)*y,(Pe-fe)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+ue)*a,(Be+ue)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+ue)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ue)*y,Pe*a,(Be-fe)*y,(Pe+ue)*a,(Be-ue)*y,(Pe+fe)*a));var ue=.05,fe=ie*.05,Be=.825,Pe=.95,Ae=new go.PathFigure((Be-ue)*y,Pe*a,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-ue)*a,(Be-ue)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ue)*y,Pe*a,(Be+fe)*y,(Pe-ue)*a,(Be+ue)*y,(Pe-fe)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+ue)*a,(Be+ue)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ue)*y,Pe*a,(Be-fe)*y,(Pe+ue)*a,(Be-ue)*y,(Pe+fe)*a).close());var be=new go.PathFigure(0,a,!1);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ee=.05,ae=ie*.05,te=.35,ue=.775,fe=new go.PathFigure((te-ee)*y,ue*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ue-ee)*a,(te-ee)*y,(ue-ae)*a,(te-ae)*y,(ue-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,ue*a,(te+ae)*y,(ue-ee)*a,(te+ee)*y,(ue-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ue+ee)*a,(te+ee)*y,(ue+ae)*a,(te+ae)*y,(ue+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,ue*a,(te-ae)*y,(ue+ee)*a,(te-ee)*y,(ue+ae)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(re,y,a){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,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(re,y,a){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,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(re,y,a){var x=new go.Geometry,b=.3,E=ie*.3,z=.5,ee=.7,ae=new go.PathFigure((z-b)*y,ee*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a));var te=new go.PathFigure(0,.7*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),x}),go.Shape.defineFigureGenerator("Battery",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var E=new go.PathFigure(0,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(re,y,a){var x=new go.Geometry,b=.5,E=ie*.5,z=.5,ee=.5,ae=new go.PathFigure((z-b)*y,ee*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a));var te=new go.PathFigure(.15*y,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(re,y,a){var x=new go.Geometry,b=.5,E=ie*.5,z=.5,ee=.5,ae=new go.PathFigure((z-b)*y,ee*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a).close()),b=.05,E=ie*.05,z=.5,ee=.8;var te=new go.PathFigure((z-b)*y,ee*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a).close()),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(re,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var E=new go.PathFigure(0,a*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var E=new go.PathFigure(.126*y,.85*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ee=new go.PathFigure(.678*y,.85*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ae=new go.PathFigure(.5*y,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var E=new go.PathFigure(y*.204,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ee=new go.PathFigure(y*.612,a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ae=new go.PathFigure(y*.816,a,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var E=new go.PathFigure(y*.055,.07*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ee=new go.PathFigure(y*.055,.18*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ae=new go.PathFigure(y*1,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(re,y,a){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,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ee=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(re,y,a){var x=new go.Geometry,b=8,E=b*ie,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-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(y*.83,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ae=new go.PathFigure(y*.83,a*1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var te=new go.PathFigure(y*.78,a*.05,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),te.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(re,y,a){var x=re?re.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*ie,E=a*.8,z=new go.Geometry,ee=new go.PathFigure(x,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,y,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-x,E,y,E-b,y-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.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,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var E=new go.PathFigure(y*1,a*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(re,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var E=new go.PathFigure(y*.1,a*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(re,y,a){var x=new go.Geometry,b=15,E=b*ie,z=new go.PathFigure(y*.62,a*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.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,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.4,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.5,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var E=new go.PathFigure(y*.235,a*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),E.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),E.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(re,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var mt={},Lt="5.0",ne={},se=null,he=!1,Te=!1,ot=null,Me=!1,Ie=null,ie=null,dt=0;dt<arguments.length;dt++){var it=arguments[dt];if(it!==null)switch(typeof it){case"number":Lt=it.toFixed(1);break;case"string":it.match(new RegExp("^[0-9]\\.[0-9]+$"))?Lt=it:ot=it;break;case"object":typeof it.is3D!="undefined"?se=it:ne=it;break;case"boolean":he=it,Te=!0;break}}se===null&&(se={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&&!Te&&(he=!0)),ot!==null&&ne.id===void 0&&(ne.id=ot);var nt="",_e="",st=!1,Ge=null,re=null,y=null,a=!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(De){return parseFloat(De)>4?parseFloat(De):5};mt.setHTML5Codebase=function(De,Ve){ie=De,We(De,Ve)},mt.setJavaCodebase=mt.setJavaCodebaseVersion=mt.isCompiledInstalled=mt.setPreCompiledScriptPath=mt.setPreCompiledResourcePath=function(){},mt.setHTML5CodebaseVersion=function(De,Ve){var pt=parseFloat(De);if(pt!==NaN&&pt<5){console.log("The GeoGebra HTML5 codebase version "+pt+" is deprecated. Using version latest instead.");return}Ie=De,Tt(De,Ve)},mt.getHTML5CodebaseVersion=function(){return re},mt.getParameters=function(){return ne},mt.setFontsCSSURL=function(De){z=De},mt.setGiacJSURL=function(De){},mt.setJNLPFile=function(De){nt=De},mt.setJNLPBaseDir=function(De){},mt.inject=function(){function De(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ve="auto",pt=ne.id,$t,qe=!1,Vt=0;Vt<arguments.length;Vt++){var xe=arguments[Vt];typeof xe=="string"?(xe=xe.toLowerCase(),xe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ve=xe:pt=arguments[Vt]):typeof xe=="boolean"?qe=xe:xe instanceof HTMLElement&&($t=xe)}At();function At(){if(!Me){setTimeout(At,200);return}Ve=Kt(Ve);var yt=$t||document.getElementById(pt);if(!yt){console.log("possibly bug on ajax loading? ");return}if(mt.removeExistingApplet(yt,!1),ne.width===void 0&&yt.clientWidth&&(ne.width=yt.clientWidth),ne.height===void 0&&yt.clientHeight&&(ne.height=yt.clientHeight),!(ne.width&&ne.height)&&Ve==="html5"&&(delete ne.width,delete ne.height),Ge=Ve,Ve==="screenshot")at(yt,ne);else{var pn=!1;ne.hasOwnProperty("playButton")&&ne.playButton||ne.hasOwnProperty("clickToLoad")&&ne.clickToLoad?pn=!0:ne.hasOwnProperty("playButtonAutoDecide")&&ne.playButtonAutoDecide&&(pn=(!te()||De())&&ue()),pn?(Ge="screenshot",et(yt,ne,qe,Ve)):St(yt,ne,qe)}}};function te(){try{return window.self!==window.top}catch(De){return!0}}function ue(){return ne.hasOwnProperty("screenshotGenerator")&&ne.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}mt.getViews=function(){return se},mt.isJavaInstalled=function(){return!1};var fe=function(De){var Ve=function(Vt){var xe=JSON.parse(Vt),At=function(Sn){return Sn.type=="G"||Sn.type=="E"},yt=xe.elements?xe.elements.filter(At)[0]:xe;if(!yt||!yt.url){pt();return}ne.fileName=yt.url,Be(yt.settings||{}),se.is3D=!0;var pn="https://www.geogebra.org/images/";mt.setPreviewImage(x||yt.previewUrl,pn+"GeoGebra_loading.png",pn+"applet_play.png"),De()},pt=function(){ne.onError&&ne.onError(),Bt("Error: Fetching material (id "+ne.material_id+") failed.",ne)},$t=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",qe="/materials/"+ne.material_id+"?scope=basic";Pe("https://"+$t+"/api/proxy.php?path="+encodeURIComponent(qe),Ve,pt)};function Be(De){var Ve=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(pt){De[pt]=!!De[pt]}),Ve.forEach(function(pt){ne[pt]===void 0&&De[pt]!==void 0&&(ne[pt]=De[pt])}),ne.showToolBarHelp===void 0&&(ne.showToolBarHelp=ne.showToolBar)}function Pe(De,Ve,pt){var $t=new XMLHttpRequest;$t.open("GET",De),$t.onload=function(){Ve($t.responseText)},$t.onerror=pt,$t.send()}mt.isHTML5Installed=function(){return!0},mt.getLoadedAppletType=function(){return Ge},mt.setPreviewImage=function(De,Ve,pt){x=De,b=Ve,E=pt},mt.removeExistingApplet=function(De,Ve){var pt;typeof De=="string"&&(De=document.getElementById(De)),Ge=null;var $t=null;for(pt=0;pt<De.childNodes.length;pt++){var qe=De.childNodes[pt],Vt=qe.className;Vt==="applet_screenshot"?Ve?(qe.style.display="block",Ge="screenshot"):qe.style.display="none":Vt!=="applet_scaler prerender"&&(De.removeChild(qe),$t=Vt&&Vt.indexOf("appletParameters")!=-1?qe.id:null,pt--)}var xe=ne.id!==void 0?ne.id:$t,At=window[xe];At&&typeof At.getBase64=="function"&&(At.remove(),window[xe]=null)},mt.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var De=mt.getAppletObject();return De&&typeof De.recalculateEnvironments=="function"?(De.recalculateEnvironments(),!0):!1},mt.startAnimation=function(){var De=mt.getAppletObject();return De&&typeof De.startAnimation=="function"?(De.startAnimation(),!0):!1},mt.stopAnimation=function(){var De=mt.getAppletObject();return De&&typeof De.stopAnimation=="function"?(De.stopAnimation(),!0):!1},mt.getAppletObject=function(){var De=ne.id!==void 0?ne.id:"ggbApplet";return window[De]},mt.resize=function(){};var Ae=function(De,Ve,pt){var $t=document.createElement("param");$t.setAttribute("name",Ve),$t.setAttribute("value",pt),De.appendChild($t)},be=function(De){return De&&De!=="false"},St=function(De,Ve,pt){ae(re)<=4.2&&(pt=!0);var $t=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&($t=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var Vt=Ve.width,xe=Ve.height;if(Ve.disableAutoScale=Ve.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ve.disableAutoScale,Ve.width!==void 0)if(ae(re)<=4.4)be(Ve.showToolBar)&&(Ve.height-=7),be(Ve.showAlgebraInput)&&(Ve.height-=37),Ve.width<605&&be(Ve.showToolBar)&&(Ve.width=605,Vt=605);else{var At=100;(be(Ve.showToolBar)||be(Ve.showMenuBar))&&(Ve.hasOwnProperty("customToolBar")&&(Ve.customToolbar=Ve.customToolBar),At=be(Ve.showMenuBar)?245:155),Vt<At&&(Ve.width=At,Vt=At)}qe.style.border="none",qe.style.display="inline-block";for(var yt in Ve)Ve.hasOwnProperty(yt)&&yt!=="appletOnLoad"&&qe.setAttribute("data-param-"+yt,Ve[yt]);z&&qe.setAttribute("data-param-fontscssurl",z),mt.resize=function(){GGBAppletUtils.responsiveResize(De,Ve)},window.addEventListener("resize",function(Ce){mt.resize()});var pn=typeof Ve.appletOnLoad=="function"?Ve.appletOnLoad:function(){};if(!pt&&Ve.width!==void 0){Ve.hasOwnProperty("showSplash")||qe.setAttribute("data-param-showSplash","false");var Sn=De.querySelector(".applet_scaler.prerender"),Oe=Sn!==null;if(Oe)var ke=Sn.querySelector(".ggb_preview");else{var ke=bt(Vt,xe,Ve.borderColor,!1);Sn=document.createElement("div"),Sn.className="applet_scaler",Sn.style.position="relative",Sn.style.display="block",Sn.style.width=Vt+"px",Sn.style.height=xe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Sn,"66%"),ae(re)>=5?(Ve.appletOnLoad=function(Ce){var je=De.querySelector(".ggb_preview");je&&je.parentNode.removeChild(je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Sn),window.GGBT_wsf_view&&$(window).trigger("resize"),pn(Ce)},Oe||Sn.appendChild(ke)):qe.appendChild(ke),Sn.appendChild(qe),Oe||De.appendChild(Sn),setTimeout(function(){mt.resize()},1)}else{var ye=document.createElement("div");ye.className="applet_scaler",ye.style.position="relative",ye.style.display="block",ye.appendChild(qe),De.appendChild(ye),Ve.appletOnLoad=function(Ce){mt.resize(),pn(Ce)}}function me(Ce,je){je&&typeof je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ce,je.appletOnLoad):renderGGBElement(Ce),Bt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",je)}function ze(Ce,je){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ce,params:je}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(zt){me(zt.article,zt.params)}),html5AppletsToProcess=null)},ae(re)<5&&(Ce.className+=" geogebraweb")):me(Ce,je)}if($t){scriptLoadStarted=!0;for(var gt=0;gt<qe.childNodes.length;gt++){var pe=qe.childNodes[gt].tagName;pe==="TABLE"&&(qe.removeChild(qe.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ve!=null&&ve.parentNode.removeChild(ve)}var Je=document.createElement("script"),Re=function(){ze(qe,Ve)};Je.src=_e+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=re,ggbHTML5LoadedScript=Je.src,Bt("GeoGebra HTML5 codebase loaded: '"+_e+"'.",Ve),!ie&&(!Ie||Ie=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Re()):_e.requirejs?__webpack_require__.e(4184).then(function(){var Ce=[__webpack_require__(74620)];Re.apply(null,Ce)}.bind(this)).catch(__webpack_require__.oe):(Je.onload=Re,De.appendChild(Je))}else ze(qe,Ve);Ve.height=xe,Ve.width=Vt},at=function(De,Ve,pt){var $t=bt(Ve.width,Ve.height,Ve.borderColor,pt),qe=document.createElement("div");qe.style.position="relative",qe.style.display="block",qe.style.width=Ve.width+"px",qe.style.height=Ve.height+"px",qe.className="applet_screenshot applet_scaler"+(pt?" applet_screenshot_play":""),qe.appendChild($t);var Vt=GGBAppletUtils.getScale(Ve,De,pt);pt?(De.appendChild(ut()),window.GGBT_wsf_view||(De.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(qe,"66%"),De.appendChild(qe),Vt!==1&&!isNaN(Vt)&&(GGBAppletUtils.scaleElement(qe,Vt),qe.style.width=Ve.width+"px",qe.style.height=Ve.height+"px",qe.parentNode.style.width=Ve.width*Vt+"px",qe.parentNode.style.height=Ve.height*Vt+"px"),mt.resize=function(){Zt(De,$t,qe,pt)},window.addEventListener("resize",function(xe){mt.resize()}),mt.resize()};function Zt(De,Ve,pt,$t){if(De.contains(Ve)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(De.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(De)}var qe=GGBAppletUtils.getScale(ne,De,$t);pt.parentNode!==null&&(!isNaN(qe)&&qe!==1?(GGBAppletUtils.scaleElement(pt,qe),pt.parentNode.style.width=ne.width*qe+"px",pt.parentNode.style.height=ne.height*qe+"px"):(GGBAppletUtils.scaleElement(pt,1),pt.parentNode.style.width=ne.width+"px",pt.parentNode.style.height=ne.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(De),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}mt.onExitFullscreen=function(De,Ve){Ve.appendChild(De)};var et=function(De,Ve,pt,$t){at(De,Ve,!0);for(var qe=function(){var At=[];for(xe=0;xe<De.childNodes.length;xe++)At.push(De.childNodes[xe]);if(window.GGBT_wsf_view){var yt=window.GGBT_wsf_view.renderFullScreen(De,Ve.id),pn=document.getElementById("fullscreencontainer"),Sn=jQuery(De).find(".fullscreencontent");Sn.length>0?(yt.remove(),Sn.attr("id","fullscreencontent").show(),jQuery(pn).append(Sn),window.dispatchEvent(new Event("resize"))):St(yt,Ve,!1),window.GGBT_wsf_view.launchFullScreen(pn)}else Ge=$t,St(De,Ve,!1);if(!window.GGBT_wsf_view)for(xe=0;xe<At.length;xe++)De.removeChild(At[xe])},Vt=De.getElementsByClassName("ggb_preview_play"),xe=0;xe<Vt.length;xe++)Vt[xe].addEventListener("click",qe,!1),Vt[xe].addEventListener("ontouchstart",qe,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(De),ue()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ut=function(){var De=document.createElement("div");if(De.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ve='.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");}',pt=document.createElement("style");pt.styleSheet?pt.styleSheet.cssText=Ve:pt.appendChild(document.createTextNode(Ve)),document.getElementsByTagName("head")[0].appendChild(pt)}return De},bt=function(De,Ve,pt,$t){var qe=document.createElement("div");qe.className="ggb_preview",qe.style.position="absolute",qe.style.zIndex="90",qe.style.width=De-2+"px",qe.style.height=Ve-2+"px",qe.style.top="0px",qe.style.left="0px",qe.style.overflow="hidden",qe.style.backgroundColor="white";var Vt="lightgrey";pt!==void 0&&(pt==="none"?Vt="transparent":Vt=pt),qe.style.border="1px solid "+Vt;var xe=document.createElement("img");if(xe.style.position="relative",xe.style.zIndex="1000",xe.style.top="-1px",xe.style.left="-1px",x!==null&&xe.setAttribute("src",x),xe.style.opacity=.7,b!==null){var At,yt,pn;if(!$t){At=document.createElement("img"),At.style.position="absolute",At.style.zIndex="1001",At.style.opacity=1,xe.style.opacity=.3,yt=360,yt>De/4*3&&(yt=De/4*3),pn=yt/5.8,At.setAttribute("src",b),At.setAttribute("width",yt),At.setAttribute("height",pn);var Sn=(De-yt)/2,Oe=(Ve-pn)/2;At.style.left=Sn+"px",At.style.top=Oe+"px",qe.appendChild(At)}}return qe.appendChild(xe),qe},Kt=function(De){return De=De.toLowerCase(),De==="html5"||De==="screenshot"?De:"html5"},Dt=["web","webSimple","web3d","tablet","tablet3d","phone"],Tt=function(De,Ve){if(re=De,Ve){We(re,!0);return}var pt=!he;if(pt){var $t=ae(re);!isNaN($t)&&$t<4.4&&(pt=!1)}var qe,Vt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var xe=re.indexOf("//");xe>0?Vt=re:xe===0?Vt=qe+re:Vt="https://www.geogebra.org/apps/5.2.814.0/";for(var At in Dt)if(re.slice(Dt[At].length*-1)===Dt[At]||re.slice((Dt[At].length+1)*-1)===Dt[At]+"/"){We(Vt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&pt&&!se.is3D&&!se.AV&&!se.SV&&!se.CV&&!se.EV2&&!se.CP&&!se.PC&&!se.DA&&!se.FI&&!se.PV&&!be(ne.showToolBar)&&!be(ne.showMenuBar)&&!be(ne.showAlgebraInput)&&!be(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?Vt+="webSimple/":Vt+="web3d/",We(Vt,!1)},We=function(De,Ve){if(De.requirejs){_e=De;return}De.slice(-1)!=="/"&&(De+="/"),_e=De,Ve===null&&(Ve=De.indexOf("http")===-1),st=Ve,y="web.nocache.js",a=!1;var pt=_e.split("/");pt.length>1&&(!Ve&&pt[pt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Dt.indexOf(pt[pt.length-2])>=0&&(y=pt[pt.length-2]+".nocache.js")),pt=De.split("/"),re=pt[pt.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 $t=parseFloat(re);$t!==NaN&&$t<5&&De.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+$t+" is deprecated. Using version latest instead."),Tt("5.0",Ve))},Bt=function(De,Ve){window.console&&window.console.log&&(!Ve||typeof Ve.showLogging=="undefined"||Ve.showLogging&&Ve.showLogging!=="false")&&console.log(De)};ne.material_id!==void 0?fe(Gt):Gt();function Gt(){var De=Lt;Ie!==null?De=Ie:parseFloat(De)<5&&(De="5.0"),Tt(De,!1),ie!==null&&We(ie,st),Me=!0}return mt},GGBAppletUtils=function(){"use strict";function mt(){return window.GGBT_wsf_edit!==void 0}function Lt(Me,Ie){Ie!=1?(Me.style.transformOrigin="0% 0% 0px",Me.style.webkitTransformOrigin="0% 0% 0px",Me.style.transform="scale("+Ie+","+Ie+")",Me.style.webkitTransform="scale("+Ie+","+Ie+")",Me.style.maxWidth="initial",Me.querySelector(".ggb_preview")!==null&&(Me.querySelector(".ggb_preview").style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Me.style.transform="none",Me.style.webkitTransform="none")}function ne(Me,Ie,ie,dt,it,nt){var _e=null;if(nt!=null&&nt!="")for(var st=Me.parentNode;st!=null;)if((" "+st.className+" ").indexOf(" "+nt+" ")>-1){_e=st;break}else st=st.parentNode;var Ge=0,re=0,y=0,a=0,x=0,b=0,E=0;if(_e)Ge=_e.offsetWidth,re=Math.max(dt?_e.offsetWidth:0,_e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ge=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ge):(Ge=window.innerWidth,re=window.innerHeight,y=window.innerWidth),Me){var z=Me.getBoundingClientRect();z.left>0&&z.left<=Ge&&(it===void 0||!it)&&(document.dir==="rtl"?(x=Ge-z.width-z.left,b=y<=480?10:30):(b=z.left,x=y<=480?10:30),a=b+x)}if(Me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=Me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,E=40)}}return Me&&((ie===void 0||!ie)&&Ie>0&&Ie+a<Ge?Ge=Ie:Ge-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(re-=E)),{width:Ge,height:re}}function se(Me,Ie,ie,dt,it){if(Me.isScreenshoGenerator)return 1;var nt=dt!==void 0&&dt,_e=Me.noScaleMargin!=null&&Me.noScaleMargin,st=function(ee){return ee&&ee!=="false"},Ge=st(Me.autoHeight),re=ne(Ie,Me.width,ie,Ge,nt&&window.GGBT_wsf_view||_e,it),y=parseInt(re.width),a=Me.width,x=Me.height;if(a===void 0){var b=Ie.querySelector(".appletParameters");b&&(a=b.offsetWidth,x=b.offsetHeight)}var E=y/a,z=nt?1:re.height/x;return ie!==void 0&&!ie&&(E=Math.min(1,E),z=Math.min(1,z)),Math.min(E,z)}function he(Me,Ie,ie){var dt=1,it,nt=!1;if(Me.hasOwnProperty("allowUpscale")&&(nt=Me.allowUpscale),Me.hasOwnProperty("scale")&&(dt=parseFloat(Me.scale),(isNaN(dt)||dt===null||dt===0)&&(dt=1),dt>1&&(nt=!0)),Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(nt=!0),!(Me.hasOwnProperty("disableAutoScale")&&Me.disableAutoScale))it=se(Me,Ie,nt,ie,Me.scaleContainerClass);else return dt;return nt&&(!Me.hasOwnProperty("scale")||dt===1)?it:Math.min(dt,it)}function Te(Me){var Ie=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),dt=Me.getBoundingClientRect(),it=(Ie-dt.width)/2,nt=(ie-dt.height)/2;nt<0&&(nt=0),Me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(it<40?Me.style.left="40px":Me.style.left=it+"px",Me.style.top=nt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(nt<40?Me.style.top="40px":Me.style.top=nt+"px",Me.style.left=it+"px")}function ot(Me,Ie){var ie=Me.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ie.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var dt=he(Ie,Me);mt()&&ie.setAttribute("data-param-scale",dt);for(var it=null,nt=0;nt<Me.childNodes.length;nt++)if(Me.childNodes[nt].className!==void 0&&Me.childNodes[nt].className.match(/^applet_scaler/)){it=Me.childNodes[nt];break}if(it!==null&&it.querySelector(".noscale")!==null)return;var _e=Ie.id!==void 0?Ie.id:"ggbApplet",st=window[_e];(st==null||!st.recalculateEnvironments)&&it!==null&&!it.className.match(/fullscreen/)&&(it.parentNode.style.transform="",!isNaN(dt)&&dt!==1?(it.parentNode.style.width=Ie.width*dt+"px",it.parentNode.style.height=Ie.height*dt+"px",Lt(it,dt)):(Lt(it,1),it.parentNode.style.width=Ie.width+"px",it.parentNode.style.height=Ie.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Te(Me),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:ot,isFlexibleWorksheetEditor:mt,positionCenter:Te,getScale:he,scaleElement:Lt}}();__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 mt=n.location.search;return mt.indexOf(J)!=-1||mt.indexOf(K)!=-1}function q(mt,Lt){}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(mt){var Lt=s[L].bindings;s[L].bindings=function(){for(var ne=Lt?Lt():{},se=mt[webModule.__softPermutationId],he=O;he<se.length;he++){var Te=se[he];ne[Te[O]]=Te[P]}return ne}};var t;function u(){return v(),t}function v(){if(!t){var mt=o.createElement(Q);if(mt.id=L,mt.style.cssText=R+S,mt.tabIndex=-1,o.body.appendChild(mt),t=mt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Lt=document.compatMode==U?V:W;t.write(Lt+X),t.close()}}}function w(mt){function Lt(se){function he(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Te=he();if(Te){se();return}function ot(){if(!Te){if(!he())return;Te=!0,se(),o.removeEventListener&&o.removeEventListener(Z,ot,!1),Me&&clearInterval(Me)}}o.addEventListener&&o.addEventListener(Z,ot,!1);var Me=setInterval(function(){ot()},$)}function ne(se){var he=u(),Te=he.body,ot=he.createElement(_);ot.language=ab,ot.crossOrigin=W,ot.src=se,webModule.__errFn&&(ot.onerror=function(){webModule.__errFn(L,new Error(bb+se))}),Te.appendChild(ot)}Lt(function(){ne(mt)})}webModule.__startLoadingFragment=function(mt){return C(mt)},webModule.__installRunAsyncCode=function(mt){var Lt=u(),ne=Lt.body,se=Lt.createElement(_);se.language=ab,se.text=mt,ne.appendChild(se),ne.removeChild(se)};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(mt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(mt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(mt){var Lt=c[mt];return Lt==null?null:Lt},r=d,webModule.__errFn=e}function B(){function mt(Me){var Ie=Me.lastIndexOf(rb);Ie==-1&&(Ie=Me.length);var ie=Me.indexOf(sb);ie==-1&&(ie=Me.length);var dt=Me.lastIndexOf(tb,Math.min(ie,Ie));return dt>=O?Me.substring(O,dt+P):W}function Lt(Me){if(!Me.match(/^\w+:\/\//)){var Ie=o.createElement(ub);Ie.src=Me+vb,Me=mt(Ie.src)}return Me}function ne(){var Me=__gwt_getMetaProperty(wb);return Me!=null?Me:W}function se(){for(var Me=o.getElementsByTagName(_),Ie=O;Ie<Me.length;++Ie)if(Me[Ie].src.indexOf(xb)!=-1)return mt(Me[Ie].src);return W}function he(){var Me=o.getElementsByTagName(yb);return Me.length>O?Me[Me.length-P].href:W}function Te(){var Me=o.location;return Me.href==Me.protocol+zb+Me.host+Me.pathname+Me.search+Me.hash}var ot=ne();return ot==W&&(ot=se()),ot==W&&(ot=he()),ot==W&&Te()&&(ot=mt(o.location.href)),ot=Lt(ot),ot}function C(mt){return mt.match(/^\//)||mt.match(/^[a-zA-Z]+:\/\//)?mt:webModule.__moduleBase+mt}function D(){var mt=[],Lt=O,ne=[],se=[];function he(Me){var Ie=se[Me](),ie=ne[Me];if(Ie in ie)return Ie;var dt=[];for(var it in ie)dt[ie[it]]=it;throw r&&r(Me,dt,Ie),null}if(__gwt_isKnownPropertyValue=function(Me,Ie){return Ie in ne[Me]},webModule.__getPropMap=function(){var Me={};for(var Ie in ne)ne.hasOwnProperty(Ie)&&(Me[Ie]=he(Ie));return Me},webModule.__computePropValue=he,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Te;try{Te=Cb;var ot=Te.indexOf(Db);ot!=-1&&(Lt=parseInt(Te.substring(ot+P),$),Te=Te.substring(O,ot))}catch(Me){}return webModule.__softPermutationId=Lt,C(Te+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})()},77903:function(mt,Lt,ne){"use strict";ne.d(Lt,{Ax:function(){return ot},Ds:function(){return Me},KI:function(){return ie},SI:function(){return Te},f1:function(){return he}});var se=ne(3294);function he(dt){let it=!0;if(dt.length>0){for(let nt=0;nt<dt.length;nt++)if(dt[nt].compile_success==0||!dt[nt].compile_success){it=!1;break}}else it=!1;return it}function Te(dt,it=""){let nt=[];for(let _e=0;_e<dt.length;_e++){let st=dt[_e],Ge=it?`${it}/${st.name}`:`${st.name}`;nt.push({title:st.name,type:st.type,isLeaf:st.type!=="tree",key:Ge})}return nt}function ot(dt,it,nt){for(let _e=0;_e<dt.length;_e++){let st=dt[_e];if(st.key===it){st.children=nt;break}st.children&&ot(st.children,it,nt)}return dt}function Me(dt,it,nt){let _e;return function(){let st=this,Ge=arguments,re=function(){_e=null,nt||dt.apply(st,Ge)},y=nt&&!_e;clearTimeout(_e),_e=setTimeout(re,it),y&&dt.apply(st,Ge)}}const Ie=!0,ie=se.Z.API_SERVER},73524:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return _e}});var se=ne(59301),he={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Te=ne(92310),ot=ne.n(Te),Me=ne(71418),Ie=ne(2859),ie=ne(99064),dt=ne(955),it=(st,Ge,re)=>new Promise((y,a)=>{var x=z=>{try{E(re.next(z))}catch(ee){a(ee)}},b=z=>{try{E(re.throw(z))}catch(ee){a(ee)}},E=z=>z.done?y(z.value):Promise.resolve(z.value).then(x,b);E((re=re.apply(st,Ge)).next())}),_e=({data:st,className:Ge,fullWidth:re,style:y={},onClose:a,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,se.useRef)(null),ee=(0,se.useRef)(null),ae=(0,se.useRef)(null),te=(0,se.useRef)(null),[ue,fe]=(0,se.useState)(!1),[Be,Pe]=(0,se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,se.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),st!=null&&st.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",st!=null&&st.src&&Ae()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[st==null?void 0:st.visible]);const Ae=()=>it(void 0,null,function*(){fe(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const et=yield(0,dt.ZJ)(st==null?void 0:st.src);z.current.src="",z.current.src=et,z.current.onload=function(){Zt()},fe(!1),Pe("")}),be=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},St=et=>it(void 0,null,function*(){fe(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ut=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:st.title,file:et.dataUrl}});ut!=null&&ut.id&&!E?(yield(0,ie.ZP)(`/api/attachments/${st.id}/add_subitem.json`,{method:"post",body:{subitem_id:ut==null?void 0:ut.id,settings:JSON.stringify(et.state)}})).status===0&&x():ut!=null&&ut.id&&x(ut),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",fe(!1),Pe("")}),at=()=>{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(bt=>{const Kt=document.querySelector(bt.name);Kt&&Kt.setAttribute("title",bt.title)})},Zt=()=>{ee.current=new Ie.hP(z.current),ee.current.targetRoot=te.current,ee.current.addEventListener("render",St),ee.current.addEventListener("beforeclose",be),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(),st!=null&&st.snapshotData&&ee.current.restoreState(st.snapshotData),setTimeout(()=>{window.scrollTo(0,0),at()},300)};return se.createElement(se.Fragment,null,(st==null?void 0:st.visible)&&se.createElement(Me.Z,{spinning:ue,tip:Be,style:{position:"absolute"}},se.createElement("div",{ref:te,className:ot()(he.imageDimensions,Ge,re?he.fullWidth:""),style:y},se.createElement("img",{className:he.img,ref:z}))))}},41588:function(mt,Lt,ne){"use strict";var se=ne(59301),he=ne(95237),Te=ne(43604),ot=ne(99313),Me=ne(3113),Ie=ne(85149),ie=ne(88010),dt=ne(48136),it=ne(59301);const nt=(0,se.forwardRef)(({callback:_e,showSaveButton:st,value:Ge=""},re)=>{const y=(0,se.useRef)(),a=[{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=>{y.current.setValue(y.current.getValue()+" "+ee.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:it.createElement(he.Z,{className:ie.Z.lists,gutter:[10,10]},a.map((ee,ae)=>it.createElement(Te.Z,{flex:"110px",className:ie.Z.item},it.createElement("div",null,it.createElement(Ie.Z,{value:`$$${ee.value}$$`}),ee.name),it.createElement("div",{className:ie.Z.children},ee.children.map((te,ue)=>it.createElement("div",{key:ue},it.createElement("h1",null,te.name),it.createElement(he.Z,{gutter:[10,10]},te.data.map((fe,Be)=>it.createElement(Te.Z,{key:Be,onClick:()=>b(fe),className:ie.Z.diamond},it.createElement(Ie.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:it.createElement(he.Z,{className:ie.Z.lists,gutter:[10,10]},x.map((ee,ae)=>it.createElement(Te.Z,{flex:"110px",className:ie.Z.item},it.createElement("div",null,it.createElement(Ie.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),it.createElement("div",{className:ie.Z.children},ee.children.map((te,ue)=>it.createElement("div",{key:ue},te.name&&it.createElement("h1",null,te.name),it.createElement(he.Z,{gutter:[10,10]},te.data.map((fe,Be)=>it.createElement(Te.Z,{key:Be,onClick:()=>b(fe),className:ie.Z.diamond},it.createElement(Ie.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=y.current.getValue();var ae=ee.innerText;return _e&&_e(ae),ae};return(0,se.useImperativeHandle)(re,()=>({getData:z})),it.createElement("div",{className:ie.Z.mathWrap},it.createElement(ot.default,{defaultActiveKey:"1",items:E}),it.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ge||""),st&&it.createElement("div",{className:ie.Z.button},it.createElement(Me.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Lt.Z=nt},97692:function(mt,Lt,ne){"use strict";ne.d(Lt,{h:function(){return ee}});var se=ne(59301),he=ne(57809),Te=ne(78241),ot=ne(3113),Me=ne(89780),Ie=ne.n(Me),ie=ne(37036),dt=ne(95625),it=Object.defineProperty,nt=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,y=(ae,te,ue)=>te in ae?it(ae,te,{enumerable:!0,configurable:!0,writable:!0,value:ue}):ae[te]=ue,a=(ae,te)=>{for(var ue in te||(te={}))Ge.call(te,ue)&&y(ae,ue,te[ue]);if(st)for(var ue of st(te))re.call(te,ue)&&y(ae,ue,te[ue]);return ae},x=(ae,te)=>nt(ae,_e(te));const b=he.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"]};Lt.Z=({callback:ae,onCancel:te})=>{const[ue,fe]=(0,se.useState)("python");function Be(Ae){fe(z[Ae][1])}function Pe(Ae){ae(Ae)}return se.createElement(Te.default,x(a({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),se.createElement(Te.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},se.createElement(he.default,{getPopupContainer:Ae=>Ae.parentNode,onChange:Be},Object.keys(z).map(Ae=>se.createElement(b,{key:Ae,value:Ae},z[Ae][0])))),se.createElement(Te.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},se.createElement(ee,{mode:ue})),se.createElement("div",{className:"flex-container flex-end"},se.createElement(ot.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(ot.ZP,{type:"ghost",onClick:te},"\u53D6\u6D88")))};function ee({value:ae,onChange:te,mode:ue,options:fe={}}){const Be=(0,se.useRef)(),[Pe,Ae]=(0,se.useState)();return(0,se.useEffect)(()=>{if(Pe){let be=function(St){const at=St.getValue();te&&te(at)};return Pe.on("change",be),()=>{Pe.off("change",be)}}},[Pe,te]),(0,se.useEffect)(()=>{Pe&&Pe.setOption("mode",ue)},[Pe,ue]),(0,se.useEffect)(()=>{Pe&&(ae!==Pe.getValue()||ae==="")&&setTimeout(()=>{Pe.setValue(ae||"")},300)},[Pe,ae]),(0,se.useEffect)(()=>{if(Be.current&&!Pe){const be=Ie().fromTextArea(Be.current,a({mode:ue,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));Ae(be)}},[Be.current,Pe]),se.createElement("div",{className:"my-codemirror-container"},se.createElement("textarea",{ref:Be}))}},12290:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return Xn}});var se=ne(59301),he=ne(89780),Te=ne.n(he),ot=ne(76374),Me=ne(37036),Ie=ne(6313),ie=ne(25717),dt=ne(99498),it=ne(25419),nt=ne(67549),_e=ne(85149),st=({value:Ue="",className:$e,showTextOnly:Xe,showLines:Mt,style:on={}})=>{const jt=(0,se.useMemo)(()=>"",[Ue]);return se.createElement(se.Fragment,null,se.createElement("div",{dangerouslySetInnerHTML:{__html:jt}}))},Ge=ne(59301),re=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(Ue,$e,Xe)=>$e in Ue?re(Ue,$e,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Ue[$e]=Xe,ee=(Ue,$e)=>{for(var Xe in $e||($e={}))b.call($e,Xe)&&z(Ue,Xe,$e[Xe]);if(x)for(var Xe of x($e))E.call($e,Xe)&&z(Ue,Xe,$e[Xe]);return Ue},ae=(Ue,$e)=>y(Ue,a($e));let te=[{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 ue({onActionCallback:Ue,title:$e,icon:Xe,actionName:Mt,className:on="",children:jt}){function oa(){Ue(Mt)}return Ge.createElement("a",{title:$e,className:on,onClick:oa},Ge.createElement("i",{className:`${Xe}`}),jt)}var fe=({watch:Ue,showNullButton:$e,showNullProgramButton:Xe,onActionCallback:Mt,fullScreen:on,insertTemp:jt,hidetoolBar:oa,extraUse:Mn})=>{const En=[...te,{title:`${Ue?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ue?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ge.createElement("ul",{className:"markdown-toolbar-container"},!oa&&En.map((da,ta)=>Ge.createElement("li",{key:ta},da.actionName?Ge.createElement(ue,ae(ee({},da),{onActionCallback:Mt})):Ge.createElement("span",{className:"v-line"}))),$e?Ge.createElement("li",null,Ge.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Mt},Ge.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Xe?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Ge.createElement(ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Mt},Ge.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ge.createElement("li",null,Ge.createElement(ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Mt},Ge.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,jt&&Ge.createElement("li",null,Ge.createElement(ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${jt}`,onActionCallback:Mt},Ge.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Mn&&Ge.createElement("li",null,Mn),Ge.createElement("li",{className:"btn-full-screen"},Ge.createElement(ue,{icon:`${on?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:on?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Mt})))},Be=ne(79346),Pe=ne(78241),Ae=ne(92832),be=ne(3113),St=Object.defineProperty,at=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Kt=(Ue,$e,Xe)=>$e in Ue?St(Ue,$e,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Ue[$e]=Xe,Dt=(Ue,$e)=>{for(var Xe in $e||($e={}))ut.call($e,Xe)&&Kt(Ue,Xe,$e[Xe]);if(et)for(var Xe of et($e))bt.call($e,Xe)&&Kt(Ue,Xe,$e[Xe]);return Ue},Tt=(Ue,$e)=>at(Ue,Zt($e));const We={labelCol:{span:4},wrapperCol:{span:20}};var Bt=({callback:Ue,onCancel:$e})=>{function Xe(Mt){Ue(Mt)}return se.createElement(Pe.default,Tt(Dt({},We),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Xe,style:{width:500}}),se.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},se.createElement(Ae.default,null)),se.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},se.createElement(Ae.default,null)),se.createElement("div",{className:"flex-container flex-end"},se.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(be.ZP,{type:"ghost",onClick:$e},"\u53D6\u6D88")))},Gt=ne(97692),De=ne(28451),Ve=ne(43418),pt=ne(95237),$t=ne(73524),qe=ne(59301),Vt=({callback:Ue,onCancel:$e})=>{const Xe=document.createElement("canvas"),Mt=Xe.getContext("2d");Xe.width=1e3,Xe.height=800,Mt.fillStyle="#ffffff",Mt.fillRect(0,0,Xe.width,Xe.height);const on=Xe.toDataURL("image/png");return qe.createElement(Ve.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(pt.Z,{style:{height:"100vh"}},qe.createElement($t.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:on,visible:!0,title:String(Date.now())},onOk:jt=>{Ue({src:jt.url})},onClose:$e})))},xe=ne(12378);function At(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(At,go.CommandHandler),At.prototype.canAlignSelection=function(){var Ue=this.diagram;return!(Ue===null||Ue.isReadOnly||Ue.isModelReadOnly||Ue.selection.count<2)},At.prototype.alignLeft=function(){var Ue=this.diagram;Ue.startTransaction("aligning left");var $e=1/0;Ue.selection.each(function(Xe){Xe instanceof go.Link||($e=Math.min(Xe.position.x,$e))}),Ue.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point($e,Xe.position.y))}),Ue.commitTransaction("aligning left")},At.prototype.alignRight=function(){var Ue=this.diagram;Ue.startTransaction("aligning right");var $e=-1/0;Ue.selection.each(function(Xe){if(!(Xe instanceof go.Link)){var Mt=Xe.actualBounds.x+Xe.actualBounds.width;$e=Math.max(Mt,$e)}}),Ue.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point($e-Xe.actualBounds.width,Xe.position.y))}),Ue.commitTransaction("aligning right")},At.prototype.alignTop=function(){var Ue=this.diagram;Ue.startTransaction("alignTop");var $e=1/0;Ue.selection.each(function(Xe){Xe instanceof go.Link||($e=Math.min(Xe.position.y,$e))}),Ue.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(Xe.position.x,$e))}),Ue.commitTransaction("alignTop")},At.prototype.alignBottom=function(){var Ue=this.diagram;Ue.startTransaction("aligning bottom");var $e=-1/0;Ue.selection.each(function(Xe){if(!(Xe instanceof go.Link)){var Mt=Xe.actualBounds.y+Xe.actualBounds.height;$e=Math.max(Mt,$e)}}),Ue.selection.each(function(Xe){Xe instanceof go.Link||Xe.move(new go.Point(Xe.actualBounds.x,$e-Xe.actualBounds.height))}),Ue.commitTransaction("aligning bottom")},At.prototype.alignCenterX=function(){var Ue=this.diagram,$e=Ue.selection.first();if($e){Ue.startTransaction("aligning Center X");var Xe=$e.actualBounds.x+$e.actualBounds.width/2;Ue.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point(Xe-Mt.actualBounds.width/2,Mt.actualBounds.y))}),Ue.commitTransaction("aligning Center X")}},At.prototype.alignCenterY=function(){var Ue=this.diagram,$e=Ue.selection.first();if($e){Ue.startTransaction("aligning Center Y");var Xe=$e.actualBounds.y+$e.actualBounds.height/2;Ue.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point(Mt.actualBounds.x,Xe-Mt.actualBounds.height/2))}),Ue.commitTransaction("aligning Center Y")}},At.prototype.alignColumn=function(Ue){var $e=this.diagram;$e.startTransaction("align Column"),Ue===void 0&&(Ue=0),Ue=parseFloat(Ue);var Xe=new Array;$e.selection.each(function(Mn){Mn instanceof go.Link||Xe.push(Mn)});for(var Mt=0;Mt<Xe.length-1;Mt++){var on=Xe[Mt],jt=on.actualBounds.y+on.actualBounds.height+Ue,oa=Xe[Mt+1];oa.move(new go.Point(on.actualBounds.x,jt))}$e.commitTransaction("align Column")},At.prototype.alignRow=function(Ue){Ue===void 0&&(Ue=0),Ue=parseFloat(Ue);var $e=this.diagram;$e.startTransaction("align Row");var Xe=new Array;$e.selection.each(function(Mn){Mn instanceof go.Link||Xe.push(Mn)});for(var Mt=0;Mt<Xe.length-1;Mt++){var on=Xe[Mt],jt=on.actualBounds.x+on.actualBounds.width+Ue,oa=Xe[Mt+1];oa.move(new go.Point(jt,on.actualBounds.y))}$e.commitTransaction("align Row")},At.prototype.canRotate=function(Ue){var $e=this.diagram;return!($e===null||$e.isReadOnly||$e.isModelReadOnly||$e.selection.count<1)},At.prototype.rotate=function(Ue){Ue===void 0&&(Ue=90);var $e=this.diagram;$e.startTransaction("rotate "+Ue.toString());var $e=this.diagram;$e.selection.each(function(Xe){Xe instanceof go.Link||Xe instanceof go.Group||(Xe.angle+=Ue)}),$e.commitTransaction("rotate "+Ue.toString())},At.prototype.pullToFront=function(){var Ue=this.diagram;Ue.startTransaction("pullToFront");var $e=new go.Map;Ue.selection.each(function(Xe){$e.set(Xe.layer,0)}),$e.iteratorKeys.each(function(Xe){var Mt=0;Xe.parts.each(function(on){if(!on.isSelected){var jt=on.zOrder;isNaN(jt)?on.zOrder=0:Mt=Math.max(Mt,jt)}}),$e.set(Xe,Mt)}),Ue.selection.each(function(Xe){At._assignZOrder(Xe,$e.get(Xe.layer)+1)}),Ue.commitTransaction("pullToFront")},At.prototype.pushToBack=function(){var Ue=this.diagram;Ue.startTransaction("pushToBack");var $e=new go.Map;Ue.selection.each(function(Xe){$e.set(Xe.layer,0)}),$e.iteratorKeys.each(function(Xe){var Mt=0;Xe.parts.each(function(on){if(!on.isSelected){var jt=on.zOrder;isNaN(jt)?on.zOrder=0:Mt=Math.min(Mt,jt)}}),$e.set(Xe,Mt)}),Ue.selection.each(function(Xe){At._assignZOrder(Xe,$e.get(Xe.layer)-1-At._findGroupDepth(Xe))}),Ue.commitTransaction("pushToBack")},At._assignZOrder=function(Ue,$e,Xe){Xe===void 0&&(Xe=Ue),Ue.layer===Xe.layer&&(Ue.zOrder=$e),Ue instanceof go.Group&&Ue.memberParts.each(function(Mt){At._assignZOrder(Mt,$e+1,Xe)})},At._findGroupDepth=function(Ue){if(Ue instanceof go.Group){var $e=0;return Ue.memberParts.each(function(Xe){$e=Math.max($e,At._findGroupDepth(Xe))}),$e+1}else return 0},At.prototype.doKeyDown=function(){var Ue=this.diagram;if(Ue!==null){var $e=Ue.lastInput;if($e.key==="Up"||$e.key==="Down"||$e.key==="Left"||$e.key==="Right"){var Xe=this.arrowKeyBehavior;if(Xe==="none")return;if(Xe==="select"){this._arrowKeySelect();return}else if(Xe==="move"){this._arrowKeyMove();return}else if(Xe==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},At.prototype._getAllParts=function(){var Ue=new Array;return this.diagram.nodes.each(function($e){Ue.push($e)}),this.diagram.parts.each(function($e){Ue.push($e)}),Ue},At.prototype._arrowKeyMove=function(){var Ue=this.diagram,$e=Ue.lastInput,Xe=0,Mt=0;if($e.control||$e.meta)Xe=1,Mt=1;else if(Ue.grid!==null){var on=Ue.grid.gridCellSize;Mt=on.width,Xe=on.height}Ue.startTransaction("arrowKeyMove"),Ue.selection.each(function(jt){$e.key==="Up"?jt.move(new go.Point(jt.actualBounds.x,jt.actualBounds.y-Xe)):$e.key==="Down"?jt.move(new go.Point(jt.actualBounds.x,jt.actualBounds.y+Xe)):$e.key==="Left"?jt.move(new go.Point(jt.actualBounds.x-Mt,jt.actualBounds.y)):$e.key==="Right"&&jt.move(new go.Point(jt.actualBounds.x+Mt,jt.actualBounds.y))}),Ue.commitTransaction("arrowKeyMove")},At.prototype._arrowKeySelect=function(){var Ue=this.diagram,$e=Ue.lastInput,Xe=null;$e.key==="Up"?Xe=this._findNearestPartTowards(270):$e.key==="Down"?Xe=this._findNearestPartTowards(90):$e.key==="Left"?Xe=this._findNearestPartTowards(180):$e.key==="Right"&&(Xe=this._findNearestPartTowards(0)),Xe!==null&&($e.shift?Xe.isSelected=!0:$e.control||$e.meta?Xe.isSelected=!Xe.isSelected:Ue.select(Xe))},At.prototype._findNearestPartTowards=function(Ue){var $e=this.diagram.selection.first();if($e===null)return null;for(var Xe=$e.actualBounds.center,Mt=this._getAllParts(),on=1/0,jt=$e,oa=0;oa<Mt.length;oa++){var Mn=Mt[oa];if(Mn!==$e&&Mn.canSelect()){var En=Mn.actualBounds.center,da=Xe.directionPoint(En),ta=this._angleCloseness(da,Ue);if(ta<=45){var Ut=Xe.distanceSquaredPoint(En);Ut*=1+Math.sin(ta*Math.PI/180),Ut<on&&(on=Ut,jt=Mn)}}}return jt},At.prototype._angleCloseness=function(Ue,$e){return Math.min(Math.abs($e-Ue),Math.min(Math.abs($e+360-Ue),Math.abs($e-360-Ue)))},At.prototype._arrowKeyTree=function(){var Ue=this.diagram,$e=Ue.selection.first();if($e instanceof go.Node){var Xe=Ue.lastInput;if(Xe.key==="Right"){if(!$e.isTreeLeaf)if(!$e.isTreeExpanded)Ue.commandHandler.canExpandTree($e)&&Ue.commandHandler.expandTree($e);else{var Mt=this._sortTreeChildrenByY($e).first();Mt!==null&&Ue.select(Mt)}}else if(Xe.key==="Left")if(!$e.isTreeLeaf&&$e.isTreeExpanded)Ue.commandHandler.canCollapseTree($e)&&Ue.commandHandler.collapseTree($e);else{var on=$e.findTreeParentNode();on!==null&&Ue.select(on)}else if(Xe.key==="Up"){var on=$e.findTreeParentNode();if(on!==null){var jt=this._sortTreeChildrenByY(on),oa=jt.indexOf($e);if(oa>0){for(var Mn=jt.elt(oa-1);Mn!==null&&Mn.isTreeExpanded&&!Mn.isTreeLeaf;){var En=this._sortTreeChildrenByY(Mn);Mn=En.last()}Mn!==null&&Ue.select(Mn)}else Ue.select(on)}}else if(Xe.key==="Down")if($e.isTreeExpanded&&!$e.isTreeLeaf){var Mt=this._sortTreeChildrenByY($e).first();Mt!==null&&Ue.select(Mt)}else for(;$e!==null;){var on=$e.findTreeParentNode();if(on===null)break;var jt=this._sortTreeChildrenByY(on),oa=jt.indexOf($e);if(oa<jt.length-1){Ue.select(jt.elt(oa+1));break}else $e=on}var da=Ue.selection.first();da!==null&&Ue.scrollToRect(da.actualBounds)}},At.prototype._sortTreeChildrenByY=function(Ue){var $e=new go.List().addAll(Ue.findTreeChildrenNodes());return $e.sort(function(Xe,Mt){var on=Xe.location,jt=Mt.location;return on.y<jt.y?-1:on.y>jt.y?1:on.x<jt.x?-1:on.x>jt.x?1:0}),$e},At.prototype.copyToClipboard=function(Ue){go.CommandHandler.prototype.copyToClipboard.call(this,Ue),this._lastPasteOffset.set(this.pasteOffset)},At.prototype.pasteFromClipboard=function(){var Ue=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ue,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ue},Object.defineProperty(At.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ue){if(Ue!=="move"&&Ue!=="select"&&Ue!=="scroll"&&Ue!=="tree"&&Ue!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ue);this._arrowKeyBehavior=Ue}}),Object.defineProperty(At.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ue){if(!(Ue instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ue);this._pasteOffset.set(Ue)}});var yt=At,pn=ne(74413),Sn=ne(43604),Oe=ne(99064),ke={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ye=ne(59301),me=(Ue,$e,Xe)=>new Promise((Mt,on)=>{var jt=En=>{try{Mn(Xe.next(En))}catch(da){on(da)}},oa=En=>{try{Mn(Xe.throw(En))}catch(da){on(da)}},Mn=En=>En.done?Mt(En.value):Promise.resolve(En.value).then(jt,oa);Mn((Xe=Xe.apply(Ue,$e)).next())});function ze({onCancel:Ue,callback:$e}){let Xe=(0,se.useRef)(),Mt=(0,se.useRef)(),on=(0,se.useRef)(),jt=(0,se.useRef)(!1);const oa=(0,se.useRef)(!1),[Mn,En]=(0,se.useState)(0);function da(){const Ut=xe.bx.make,ka={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"};Xe.current=new xe.S0(Mt.current,{padding:20,grid:Ut(xe.s_,"Grid",Ut(xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:vn=>{var na=vn.diagram.commandHandler.addTopLevelParts(vn.diagram.selection,!0);na||vn.diagram.currentTool.doCancel()},commandHandler:Ut(yt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:vn=>{var na=vn.subject;na.location=na.location.copy().snapToGridPoint(vn.diagram.grid.gridOrigin,vn.diagram.grid.gridCellSize),setTimeout(()=>{vn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:vn=>{var na=vn.subject;setTimeout(()=>{vn.diagram.commandHandler.editTextBlock()})},LinkRelinked:vn=>{var na=vn.parameter.part;na.invalidateConnectedLinks();var Ba=vn.subject;vn.diagram.toolManager.linkingTool.isForwards?Ba.toNode.invalidateConnectedLinks():Ba.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Xe.current.nodeTemplate=Ut(xe.NB,"Auto",{locationSpot:xe.z6.Center,locationObjectName:"SHAPE",desiredSize:new xe.$u(120,60),minSize:new xe.$u(40,40),resizable:!0,resizeCellSize:new xe.$u(10,10),rotatable:!0},new xe.KX("location","loc",xe.E9.parse).makeTwoWay(xe.E9.stringify),new xe.KX("desiredSize","size",xe.$u.parse).makeTwoWay(xe.$u.stringify),Ut(xe.bn,{name:"SHAPE",fill:ka.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xe.z6.AllSides,toSpot:xe.z6.AllSides},new xe.KX("figure"),new xe.KX("fill"),new xe.KX("stroke","borderColor"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),Ut(xe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ut(xe.al,{margin:1,textAlign:"center",overflow:xe.al.OverflowEllipsis,editable:!0},new xe.KX("text").makeTwoWay(),new xe.KX("stroke","color"))),Xe.current.nodeTemplate.toolTip=Ut("ToolTip",Ut(xe.s_,"Vertical",{maxSize:new xe.$u(200,NaN)},Ut(xe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new xe.KX("text")),Ut(xe.al,{font:"10pt sans-serif",textAlign:"center"},new xe.KX("text","details"))));function So(vn,na){var Ba=(aa,ro)=>{aa.handled=!0,aa.diagram.model.commit(uo=>{var Oo=ro.part.adornedPart,qo=new xe.E9().setRectSpot(Oo.actualBounds,vn);qo.subtract(Oo.location),qo.scale(2,2),qo.x+=Math.sign(qo.x)*130,qo.y+=Math.sign(qo.y)*130,qo.add(Oo.location),qo.snapToGridPoint(aa.diagram.grid.gridOrigin,aa.diagram.grid.gridCellSize);var ar=uo.copyNodeData(Oo.data);uo.setGroupKeyForNodeData(ar,uo.getGroupKeyForNodeData(Oo.data)),uo.addNodeData(ar);var Xr={from:Oo.key,to:uo.getKeyForNodeData(ar)};uo.addLinkData(Xr);var Br=aa.diagram.findNodeForData(ar);Br.location=qo,aa.diagram.select(Br),setTimeout(()=>{aa.diagram.commandHandler.editTextBlock()},20)})};return Ut(xe.bn,{figure:na,alignment:vn,alignmentFocus:vn.opposite(),width:vn.equals(xe.z6.Top)||vn.equals(xe.z6.Bottom)?25:18,height:vn.equals(xe.z6.Top)||vn.equals(xe.z6.Bottom)?18:25,fill:"orange",stroke:ka.white,strokeWidth:4,mouseEnter:(aa,ro)=>ro.fill="dodgerblue",mouseLeave:(aa,ro)=>ro.fill="orange",isActionable:!0,click:Ba,contextClick:Ba})}function Ya(vn){return Ut(xe.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:(na,Ba)=>Ba.fill="dodgerblue",mouseLeave:(na,Ba)=>Ba.fill="orange",click:(na,Ba)=>{na.diagram.commandHandler.showContextMenu(Ba.part.adornedPart)}},vn||{})}Xe.current.nodeTemplate.selectionAdornmentTemplate=Ut(xe.uz,"Spot",Ut(xe.Vm,{padding:10}),So(xe.z6.Top,"TriangleUp"),So(xe.z6.Left,"TriangleLeft"),So(xe.z6.Right,"TriangleRight"),So(xe.z6.Bottom,"TriangleDown"),Ya({alignment:new xe.z6(.75,0)}));function Ha(vn,na){return(Ba,aa)=>{Ba.handled=!0,Ba.diagram.model.commit(ro=>{ro.set(aa.part.adornedPart.data,vn,na)})}}function Wa(vn,na){return na||(na="color"),Ut(xe.bn,{width:16,height:16,stroke:"lightgray",fill:vn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.stroke="dodgerblue",mouseLeave:(Ba,aa)=>aa.stroke="lightgray",click:Ha(na,vn),contextClick:Ha(na,vn)})}function To(){return[Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Wa(ka.white,"fill"),Wa(ka.beige,"fill"),Wa(ka.extralightblue,"fill"),Wa(ka.extralightred,"fill"))),Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Wa(ka.lightgray,"fill"),Wa(ka.lightgreen,"fill"),Wa(ka.lightblue,"fill"),Wa(ka.lightred,"fill")))]}function zo(){return[Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Wa(ka.black),Wa(ka.green),Wa(ka.blue),Wa(ka.red))),Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Wa(ka.white),Wa(ka.magenta),Wa(ka.purple),Wa(ka.orange)))]}function Xo(vn,na){return na||(na="thickness"),Ut(xe.bn,"LineH",{width:16,height:16,strokeWidth:vn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.background="dodgerblue",mouseLeave:(Ba,aa)=>aa.background="transparent",click:Ha(na,vn),contextClick:Ha(na,vn)})}function $o(vn,na){return na||(na="dash"),Ut(xe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:vn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.background="dodgerblue",mouseLeave:(Ba,aa)=>aa.background="transparent",click:Ha(na,vn),contextClick:Ha(na,vn)})}function er(){return[Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Xo(1),Xo(2),Xo(3),Xo(4))),Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",$o(null),$o([2,4]),$o([4,4])))]}function Co(vn,na){return na||(na="figure"),Ut(xe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:vn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.fill="dodgerblue",mouseLeave:(Ba,aa)=>aa.fill="lightgray",click:Ha(na,vn),contextClick:Ha(na,vn)})}Xe.current.nodeTemplate.contextMenu=Ut("ContextMenu",Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Co("Rectangle"),Co("RoundedRectangle"),Co("Ellipse"),Co("Diamond"))),Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Co("Parallelogram2"),Co("ManualOperation"),Co("Procedure"),Co("Cylinder1"))),Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Co("Terminator"),Co("CreateRequest"),Co("Document"),Co("TriangleDown"))),To(),zo(),er()),Xe.current.groupTemplate=Ut(xe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:xe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(vn,na)=>{var Ba=na.addMembers(na.diagram.selection,!0);Ba||na.diagram.currentTool.doCancel()},avoidable:!1},new xe.KX("location","loc",xe.E9.parse).makeTwoWay(xe.E9.stringify),Ut(xe.s_,"Auto",{name:"BODY"},Ut(xe.bn,{parameter1:10,fill:ka.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xe.z6.AllSides,toSpot:xe.z6.AllSides},new xe.KX("fill"),new xe.KX("stroke","color"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),Ut(xe.Vm,{background:"transparent",margin:20})),Ut(xe.al,{alignment:xe.z6.Top,alignmentFocus:xe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new xe.KX("text"),new xe.KX("stroke","color"))),Xe.current.groupTemplate.selectionAdornmentTemplate=Ut(xe.uz,"Spot",Ut(xe.s_,"Auto",Ut(xe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ut(xe.Vm,{margin:1.5})),Ya({alignment:xe.z6.TopRight,alignmentFocus:xe.z6.BottomRight})),Xe.current.groupTemplate.contextMenu=Ut("ContextMenu",To(),zo(),er()),Xe.current.linkTemplate=Ut(xe.rU,{layerName:"Foreground",routing:xe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new xe.KX("fromSpot","fromSpot",xe.z6.parse),new xe.KX("toSpot","toSpot",xe.z6.parse),new xe.KX("fromShortLength","dir",vn=>vn>=1?10:0),new xe.KX("toShortLength","dir",vn=>vn>=1?10:0),new xe.KX("points").makeTwoWay(),Ut(xe.bn,{strokeWidth:2},new xe.KX("stroke","color"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),Ut(xe.bn,{segmentIndex:0,segmentOffset:new xe.E9(15,0),segmentOrientation:xe.rU.OrientAlong,alignmentFocus:xe.z6.Right,figure:"circle",width:10,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",vn=>vn===1)),Ut(xe.bn,{segmentIndex:-1,segmentOffset:new xe.E9(-10,6),segmentOrientation:xe.rU.OrientPlus90,alignmentFocus:xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",vn=>vn>=1),new xe.KX("width","thickness",vn=>7+3*vn),new xe.KX("height","thickness",vn=>7+3*vn),new xe.KX("segmentOffset","thickness",vn=>new xe.E9(-15,4+1.5*vn))),Ut(xe.bn,{segmentIndex:0,segmentOffset:new xe.E9(15,-6),segmentOrientation:xe.rU.OrientMinus90,alignmentFocus:xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",vn=>vn===2),new xe.KX("width","thickness",vn=>7+3*vn),new xe.KX("height","thickness",vn=>7+3*vn),new xe.KX("segmentOffset","thickness",vn=>new xe.E9(-15,4+1.5*vn))),Ut(xe.al,{alignmentFocus:new xe.z6(0,1,-4,0),editable:!0},new xe.KX("text").makeTwoWay(),new xe.KX("stroke","color"))),Xe.current.linkTemplate.selectionAdornmentTemplate=Ut(xe.uz,Ut(xe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:lr(2)},new xe.KX("pathPattern","thickness",lr)),Ya({alignmentFocus:new xe.z6(0,0,-6,-4)}));function lr(vn){return Ut(xe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(vn+4).toString()+" H3"})}function yr(vn){var na="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return vn===0?na="M0 0 M16 16 M0 8 L16 8":vn===2&&(na="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ut(xe.bn,{geometryString:na,margin:2,background:"transparent",mouseEnter:(Ba,aa)=>aa.background="dodgerblue",mouseLeave:(Ba,aa)=>aa.background="transparent",click:Ha("dir",vn),contextClick:Ha("dir",vn)})}function sr(vn){var na=(Ba,aa)=>{Ba.handled=!0,Ba.diagram.model.commit(ro=>{var uo=aa.part.adornedPart;ro.set(uo.data,vn?"toSpot":"fromSpot",xe.z6.stringify(xe.z6.AllSides)),(vn?uo.toNode:uo.fromNode).invalidateConnectedLinks()})};return Ut(xe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ba,aa)=>aa.background="dodgerblue",mouseLeave:(Ba,aa)=>aa.background="transparent",click:na,contextClick:na})}function en(vn,na){var Ba=0,aa=xe.z6.RightSide;vn.equals(xe.z6.Top)?(Ba=270,aa=xe.z6.TopSide):vn.equals(xe.z6.Left)?(Ba=180,aa=xe.z6.LeftSide):vn.equals(xe.z6.Bottom)&&(Ba=90,aa=xe.z6.BottomSide),na||(Ba-=180);var ro=(uo,Oo)=>{uo.handled=!0,uo.diagram.model.commit(qo=>{var ar=Oo.part.adornedPart;qo.set(ar.data,na?"toSpot":"fromSpot",xe.z6.stringify(aa)),(na?ar.toNode:ar.fromNode).invalidateConnectedLinks()})};return Ut(xe.bn,{alignment:vn,alignmentFocus:vn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ba,background:"transparent",mouseEnter:(uo,Oo)=>Oo.background="dodgerblue",mouseLeave:(uo,Oo)=>Oo.background="transparent",click:ro,contextClick:ro})}Xe.current.linkTemplate.contextMenu=Ut("ContextMenu",zo(),er(),Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",yr(0),yr(1),yr(2))),Ut("ContextMenuButton",Ut(xe.s_,"Horizontal",Ut(xe.s_,"Spot",sr(!1),en(xe.z6.Top,!1),en(xe.z6.Left,!1),en(xe.z6.Right,!1),en(xe.z6.Bottom,!1)),Ut(xe.s_,"Spot",{margin:new xe.Zt(0,0,0,2)},sr(!0),en(xe.z6.Top,!0),en(xe.z6.Left,!0),en(xe.z6.Right,!0),en(xe.z6.Bottom,!0)))));const di=`{ "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 Lr=["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 Nr(vn){return console.log("shapeName:",vn),Lr.indexOf(vn)>=0}var nr=new xe.YI(on.current,{maxSelectionCount:1,linkTemplate:Ut(xe.rU,{locationSpot:xe.z6.Center,selectionAdornmentTemplate:Ut(xe.uz,"Link",{locationSpot:xe.z6.Center},Ut(xe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ut(xe.bn,{toArrow:"Standard",stroke:null}))},{routing:xe.rU.AvoidsNodes,curve:xe.rU.JumpOver,corner:5,toShortLength:4},new xe.KX("points"),Ut(xe.bn,{isPanelMain:!0,strokeWidth:2}),Ut(xe.bn,{toArrow:"Standard",stroke:null})),model:new xe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...xe.bn.getFigureGenerators().toArray().map(vn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:vn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Xe.current.addDiagramListener("TextEdited",function(vn){var na;const Ba=vn.subject.part;var aa=(na=document.activeElement)==null?void 0:na.value;typeof aa=="string"&&aa.trim()===""&&Xe.current.model.commit(function(ro){ro.set(Ba.data,"text","\u672A\u547D\u540D"),Xe.current.commandHandler.stopCommand()},"increment")}),nr.nodeTemplate=Ut(xe.NB,"Auto",{locationSpot:xe.z6.Center},new xe.KX("location","location",xe.E9.parse).makeTwoWay(xe.E9.stringify),Ut(xe.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 xe.KX("stroke").makeTwoWay(),new xe.KX("fill").makeTwoWay(),new xe.KX("figure")),Ut(xe.al,{margin:new xe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new xe.$u(16,16),maxSize:new xe.$u(10,NaN),textAlign:"center",editable:!0},new xe.KX("key").makeTwoWay())),setTimeout(()=>{Xe.current.grid=Ut(xe.s_,"Grid",Ut(xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Xe.current.grid.visible=!0,Xe.current.grid.gridCellStroke="darkgray",Xe.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Xe.current,Xe.current}const ta=()=>me(this,null,function*(){var Ut=Xe.current.makeImage();const ka=yield(0,Oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Ut.src}});$e({src:ka.url})});return(0,se.useEffect)(()=>(setTimeout(()=>{da()},500),En(Mn+1),()=>{Xe.current=null}),[]),ye.createElement("div",{ref:oa,className:jt.current?`${ke.maxH60} body-overflow-initial`:"body-overflow-initial"},ye.createElement(Ve.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Mn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ye.createElement(pt.Z,null,ye.createElement(Sn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ye.createElement(Sn.Z,{onClick:()=>{var Ut,ka,So=Xe.current.selection.first();if(jt.current=!jt.current,document.activeElement&&So){let Ya=(ka=(Ut=document.activeElement)==null?void 0:Ut.value)==null?void 0:ka.trim();typeof Ya=="string"&&Xe.current.model.commit(function(Ha){Ha.set(So.data,"text",Ya||"\u672A\u547D\u540D"),Xe.current.commandHandler.stopCommand()},"increment")}En(Mn+1)}},ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ue},ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ke.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:ke.myPaletteDiv,ref:on})),ye.createElement("div",{style:{flex:1,position:"relative"}},ye.createElement("div",{ref:Mt,style:{height:"80vh"}}))),ye.createElement("div",{className:"tr"},ye.createElement(be.ZP,{size:"large",onClick:ta,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=ze,pe=ne(5112),ve=ne(5871);const Je=pe.ZP.Group,Re={margin:"0 8px"};var Ce=({callback:Ue,onCancel:$e})=>{function Xe(Mt){Ue(Mt)}return se.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Xe},se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},se.createElement("span",{style:Re},"\u5355\u5143\u683C\u6570\uFF1A"),se.createElement("span",{style:Re},"\u884C\u6570"),se.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},se.createElement(ve.Z,null)),se.createElement("span",{style:Re},"\u5217\u6570"),se.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},se.createElement(ve.Z,null))),se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},se.createElement("span",{style:Re},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),se.createElement(Pe.default.Item,{name:"align"},se.createElement(Je,null,se.createElement(pe.ZP,{value:"default"},se.createElement("i",{className:"fa fa-align-justify"})),se.createElement(pe.ZP,{value:"left"},se.createElement("i",{className:"fa fa-align-left"})),se.createElement(pe.ZP,{value:"center"},se.createElement("i",{className:"fa fa-align-center"})),se.createElement(pe.ZP,{value:"right"},se.createElement("i",{className:"fa fa-align-right"}))))),se.createElement("div",{className:"flex-container flex-end"},se.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(be.ZP,{type:"ghost",onClick:$e},"\u53D6\u6D88")))},je=ne(78673),zt=ne(80727),Pt=ne.n(zt),xt=(0,se.forwardRef)(({use3d:Ue,width:$e,height:Xe,callback:Mt,showSaveButton:on},jt)=>{const oa=(0,se.useRef)(),Mn=(0,se.useRef)(),[En,da]=(0,se.useState)(!1),ta=(0,se.useRef)({id:oa,appName:"graphing",width:$e||1e3,height:Xe||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,se.useEffect)(()=>{Mn.current=new(Pt())(ta.current,!0),window.onload=function(){Mn.current.inject("applet_container")}},[]);const Ut=()=>{var ka=window.ggbApplet.getPNGBase64(1,!0,72);return Mt&&Mt(ka),ka};return(0,se.useEffect)(()=>{ta.current.appName=En?"3D":"graphing",Mn.current.inject("applet_container")},[En]),(0,se.useEffect)(()=>{da(Ue)},[Ue]),(0,se.useImperativeHandle)(jt,()=>({getImgData:Ut})),se.createElement(se.Fragment,null,se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:oa}),se.createElement(pt.Z,{align:"middle"},se.createElement(Sn.Z,{flex:1},se.createElement(je.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:En,onChange:ka=>da(ka)})),se.createElement(Sn.Z,null,se.createElement(be.ZP,{size:"large",onClick:Ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ht=ne(41588),ct=ne(1012),tn=ne(8591);const sn="link",Xt="upload-image",bn="add-flowchart",Cn="draw-image",cn="add-flowchart",kn="code-block",ca="add-table",xa="------------",pa={default:xa,left:`:${xa}`,center:`:${xa}:`,right:`${xa}:`};var Ea=ne(58856),Fa=(Ue,$e,Xe)=>new Promise((Mt,on)=>{var jt=En=>{try{Mn(Xe.next(En))}catch(da){on(da)}},oa=En=>{try{Mn(Xe.throw(En))}catch(da){on(da)}},Mn=En=>En.done?Mt(En.value):Promise.resolve(En.value).then(jt,oa);Mn((Xe=Xe.apply(Ue,$e)).next())});function Na(){}let In=0;const qa=1e4,_a="\u2581",Pa="@\u2581\u2581@",eo="@\u2581@",Mo=`
|
|
**\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`,un=["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 gn(Ue){return/^\d+$/.test(Ue)?`${Ue}px`:Ue}const mn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ua={[mn+"-B"]:"bold",[mn+"-I"]:"italic"},va={[sn]:"\u6DFB\u52A0\u94FE\u63A5",[kn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Xt]:"\u6DFB\u52A0\u56FE\u7247",[Cn]:"\u6DFB\u52A0\u753B\u56FE",[bn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ca]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Xn=({defaultValue:Ue="",onChange:$e,width:Xe="100%",height:Mt=400,miniToolbar:on=!1,isFocus:jt=!1,watch:oa,insertTemp:Mn,mode:En="markdown",id:da="markdown-editor-id",showResizeBar:ta=!1,noStorage:Ut=!1,showNullButton:ka=!1,showNullProgramButton:So=!1,hidetoolBar:Ya=!1,fullScreen:Ha=!1,onBlur:Wa,onCMBeforeChange:To,onFullScreen:zo,className:Xo="",disablePaste:$o=!1,disabled:er=!1,disabledFill:Co=!1,placeholder:lr="",values:yr="",extraUse:sr})=>{const[en,di]=(0,se.useState)(null),[Lr,Nr]=(0,se.useState)(Ue),[nr,vn]=(0,se.useState)(oa),[na,Ba]=(0,se.useState)(Ha),[aa,ro]=(0,se.useState)(""),[uo,Oo]=(0,se.useState)(0),[qo,ar]=(0,se.useState)(Mt),[Xr,Br]=(0,se.useState)(!1),si=(0,se.useRef)((0,ct.Z)()),gi=(0,se.useRef)(!1),ci=(0,se.useRef)(),[ui,mi]=(0,se.useState)(0),[$r,Tr]=(0,se.useState)(0),mr=(0,se.useRef)(),zr=(0,se.useRef)(),Hr=(0,se.useRef)(),Gr=(0,se.useRef)(),Di=()=>Fa(void 0,null,function*(){var qn;const Bn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:si.current}});(qn=Bn==null?void 0:Bn.attachments)!=null&&qn.length&&(console.log("cm:",en,mr),Bn.attachments.map(Gn=>{Gn.content_type.indexOf("image")>-1?en.replaceSelection(``):Gn.content_type.indexOf("video")>-1?en.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Gn.content_type.indexOf("pdf")>-1?en.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Gn.id}?type=${Gn.content_type}&disposition=inline" target="_blank">${Gn.name}</a>`):en.replaceSelection(`[${Gn.name}](${ENV.API_SERVER}/api/attachments/${Gn.id}?type=${Gn.content_type})`)}))});(0,se.useEffect)(()=>{const qn=window.scrollY||window.pageYOffset;Nr(yr),en==null||en.setValue(yr),window.scrollTo(0,qn)},[yr]),(0,se.useEffect)(()=>{zo==null||zo(na)},[na]),(0,se.useEffect)(()=>{if(mr.current){let qn=function(Gn,Zn){var Ma;if($o){Zn.preventDefault();return}const mo=Zn.clipboardData;if(mo){const Lo=mo.types.toString(),Do=mo.items;if(Lo==="Files"||mo.types.indexOf("Files")>-1){if(Zn.preventDefault(),En=="stex")return;try{let Ho=Do[1];((Ma=Do[0])==null?void 0:Ma.kind)==="file"&&(Ho=Do[0]);const Go=Ho.getAsFile(),cr=Go.name.split(".").pop();(0,De.I)(Go,_o=>{var Dr,Fr,Zr;_o.id?((Dr=Go==null?void 0:Go.type)==null?void 0:Dr.indexOf("image"))>-1?Bn.replaceSelection(`<img width="100%" src="/api/attachments/${_o.id}?type=${_o.content_type})" alt="" />`):((Fr=Go==null?void 0:Go.type)==null?void 0:Fr.indexOf("video"))>-1?Bn.replaceSelection(`<video width="100%" controls src="/api/attachments/${_o.id}"></video>`):((Zr=Go==null?void 0:Go.type)==null?void 0:Zr.indexOf("pdf"))>-1?Bn.replaceSelection(`<a href="/api/attachments/${_o.id}?type=${Go.type}&disposition=inline" target="_blank">${Go.name}</a>`):un.includes(cr)?Bn.replaceSelection(`<a href="/api/attachments/${_o.id}?type=office&disposition=inline" target="_blank">${Go.name}</a>`):Bn.replaceSelection(`[${Go.name}](/api/attachments/${_o.id}?type=${_o.content_type})`):(_o==null?void 0:_o.status)===401&&(tn.ZP.warning((_o==null?void 0:_o.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ho){tn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Bn=Te().fromTextArea(mr.current,{mode:En,lineNumbers:!on,lineWrapping:!0,value:Ue,autoCloseTags:!So,autoCloseBrackets:!0});return Bn.on("keyup",function(Gn,Zn){Zn.keyCode===8&&(Gn.getValue()==""?Bn.setOption("placeholder",lr):Bn.setOption("placeholder",null))}),Bn.on("keydown",function(Gn,Zn){if(Zn.keyCode===8){var Ma=pl(Gn);Ma&&Zn.preventDefault()}}),jt&&Bn.focus(),Bn.on("paste",qn),Bn.on("dragleave",function(Gn,Zn){zr.current.classList.remove("mouse-hover-md")}),er&&Bn.on("beforeChange",function(Gn,Zn){(Zn.origin==="paste"||Zn.origin==="+input")&&Zn.cancel()}),di(Bn),()=>{Bn.off("paste",qn)}}},[]);const qr=(0,se.useCallback)(()=>{if(zr.current)try{}catch(qn){console.log(qn,"---- to set md editor body height")}},[qo,zr,na]);(0,se.useEffect)(()=>{function qn(){let Bn=new ot.Z(Gn=>{for(let Zn of Gn)(Zn.target.offsetHeight>0||Zn.target.offsetWidth>0)&&(qr(),en.setSize("100%","100%"),en.refresh())});return Bn.observe(mr.current.parentElement),Bn}if(en){const Bn=qn();return()=>{var Gn,Zn;(Gn=mr.current)!=null&&Gn.parentElement&&Bn.unobserve((Zn=mr.current)==null?void 0:Zn.parentElement)}}},[en,qr]),(0,se.useEffect)(()=>{if(en){let qn=[];for(const[Bn,Gn]of Object.entries(ua)){let Zn={[Bn]:()=>{_r(Gn)}};qn.push(Zn),en.addKeyMap(Zn)}return ci.current=setInterval(()=>{gi.current&&Di()},4e3),()=>{clearInterval(ci.current);for(let Bn of qn)en.removeKeyMap(Bn)}}},[en]),(0,se.useEffect)(()=>{Ha!==na&&Ba(Ha)},[Ha]),(0,Ea.Z)(()=>{if(!Ut&&uo>0){let qn=new Date().getTime(),Bn=window.sessionStorage.getItem(da);qn>=uo+qa&&(!Bn||Bn!==Lr)&&(window.sessionStorage.setItem(da,Lr),Br(!0))}},qa),(0,se.useEffect)(()=>{vn(oa)},[en,oa]),(0,se.useEffect)(()=>{en&&jt&&en.focus()},[en,jt]),(0,se.useEffect)(()=>{if(nr&&en){let qn=function(Gn){let Zn=Gn.target;if(Gr.current){let Ma=Zn.scrollTop/Zn.scrollHeight;Gr.current.scrollTop=Gr.current.scrollHeight*Ma}};const Bn=en.getScrollerElement();return Bn.addEventListener("scroll",qn),()=>{Bn.removeEventListener("scroll",qn)}}},[en,nr]),(0,se.useEffect)(()=>{if(en&&To){let qn=function(Bn,Gn){To(Bn,Gn)};return en.on("beforeChange",qn),()=>{en.off("beforeChange",qn)}}},[en,To]),(0,se.useEffect)(()=>{if(en&&Wa){let qn=function(){Wa(en.getValue())};return en.on("blur",qn),()=>{en.off("blur",qn)}}},[en,Wa]);function pl(qn,Bn){var Gn=qn.getDoc(),Zn=Gn.getCursor(),Ma=Gn.getLine(Zn.line),mo=Ma.charAt(Zn.ch-1),Lo=Ma.lastIndexOf("@\u2581@",Zn.ch),Do=Ma.lastIndexOf("@\u2581\u2581@",Zn.ch),Ho=Lo>Do?Lo:Do,Go=Lo>Do?3:4;if(Pa.indexOf(mo)===-1)return null;if(console.log("change1:",Bn,qn,Ma,Zn,Ho,Lo,Do,mo),Ho>=0&&Zn.ch-Ho<5){var cr=Ho+Go;return Gn.replaceRange("",{line:Zn.line,ch:Ho},{line:Zn.line,ch:cr}),{line:Zn.line,ch:cr}}return null}(0,se.useEffect)(()=>{if(en){let qn=function(Bn,Gn){const Zn=Bn.getValue();Nr(Zn),Oo(new Date().getTime()),Bn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),$e&&(So?$e(Zn,Mi(Zn)):$e(Zn))};return en.on("change",qn),()=>{en.off("change",qn)}}},[en,$e]),(0,se.useEffect)(()=>{if(en)if(Ue==null)en.setValue(""),Nr("");else{const qn=window.scrollY||window.pageYOffset;Ue!==en.getValue()&&(en.setValue(Ue),Nr(Ue),en.setCursor(er?1:en.lineCount(),0),window.scrollTo(0,qn))}},[en,Ue]);const _r=(0,se.useCallback)(qn=>{const Bn=en.getCursor(),Gn=en.getSelection();let Zn=Gn.split(`
|
|
`);switch(qn){case"bold":return en.replaceSelection("**"+Gn+"**"),Gn===""&&en.setCursor(Bn.line,Bn.ch+2),en.focus();case"italic":return en.replaceSelection("*"+Gn+"*"),Gn===""&&en.setCursor(Bn.line,Bn.ch+1),en.focus();case"code":return en.replaceSelection("`"+Gn+"`"),Gn===""&&en.setCursor(Bn.line,Bn.ch+1),en.focus();case"inline-latex":return ro("inline-latex"),en.focus();case"latex":return en.replaceSelection("```latex\n"+Gn+"\n```"),en.setCursor(Bn.line+1,Gn.length+1),en.focus();case"line-break":return en.replaceSelection(`<br/>
|
|
`),en.focus();case"list-ul":return Gn===""?en.replaceSelection("- "+Gn):en.replaceSelection(Zn.map(Ma=>Ma===""?"":`- ${Ma}`).join(`
|
|
`)),en.focus();case"list-ol":return Gn===""?en.replaceSelection("1. "+Gn):en.replaceSelection(Zn.map((Ma,mo)=>Ma===""?"":`${mo+1}. ${Ma}`).join(`
|
|
`)),en.focus();case"add-null-ch":return Gn===""&&en.setCursor(Bn.line,Bn.ch),en.replaceSelection(_a),en.focus();case"add-signal":return Gn===""&&en.setCursor(Bn.line,Bn.ch),en.replaceSelection(eo),en.focus();case"add-multiple":return Gn===""&&en.setCursor(Bn.line,Bn.ch),en.replaceSelection(Pa),en.focus();case"inster-template-1":return Gn===""&&en.setCursor(Bn.line,Bn.ch),en.replaceSelection(Mo),en.focus();case"eraser":return en.setValue(""),en.focus();case"trigger-watch":return vn(!nr),en.focus();case"trigger-full-screen":return Ba(!na),en.focus();case sn:ro(sn);return;case kn:ro(kn);return;case Xt:ro(Xt);return;case Cn:ro(Cn);return;case"maths-latex":ro("maths-latex");return;case bn:ro(bn);return;case ca:ro(ca);return;default:throw new Error}},[en,nr,na]),gr=(0,se.useCallback)((qn,Bn)=>{var Gn,Zn,Ma,mo,Lo,Do;switch(ro(""),aa){case sn:const{title:Dr,link:Fr}=qn;return en.replaceSelection(`[${Dr}](${Fr})`),en.focus();case kn:const{language:Zr,content:Hi}=qn;return en.replaceSelection(["```"+Zr,Hi,"```"].join(`
|
|
`)),en.focus();case"maths-latex":for(var Ho=atob(qn),Go=new Uint8Array(Ho.length),cr=0;cr<Ho.length;cr++)Go[cr]=Ho.charCodeAt(cr);var _o=new Blob([Go],{type:"image/png"});(0,De.I)(_o,dr=>{dr.id?en.replaceSelection(``):(dr==null?void 0:dr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":en.replaceSelection("`$$"+qn+"$$`");break;case Xt:case Cn:case cn:const{src:hr,alt:kr}=qn,Fo=Bn,fi=(Ma=(Zn=(Gn=Fo==null?void 0:Fo.name)==null?void 0:Gn.split("."))==null?void 0:Zn.pop)==null?void 0:Ma.call(Zn);return((mo=Fo==null?void 0:Fo.type)==null?void 0:mo.indexOf("image"))>-1||!(Fo!=null&&Fo.type)?Fo.align||Fo.width?en.replaceSelection(`<p style="text-align:${Fo.align||"initial"}"><img width="${Fo.width?Fo.width+"%":"initial"}" src="${hr}" alt="${kr||""}" /></p>`):en.replaceSelection(`<img width="100%" src="${hr}" alt="${kr||""}" />`):((Lo=Fo==null?void 0:Fo.type)==null?void 0:Lo.indexOf("video"))>-1?en.replaceSelection(`<video width="100%" controls src="${hr}"></video>`):((Do=Fo==null?void 0:Fo.type)==null?void 0:Do.indexOf("pdf"))>-1?en.replaceSelection(`<a href="${hr}?type=${Fo.type}&disposition=inline" target="_blank">${Fo.name}</a>`):un.includes(fi)?en.replaceSelection(`<a href="${hr}?type=office&disposition=inline" target="_blank">${Fo.name}</a>`):en.replaceSelection(`[${Fo.name}](${hr})`),en.focus();case ca:const{row:hi,col:ei,align:Gi}=qn;let Kr=`
|
|
`;for(let dr=0;dr<hi;dr++){let vi=[],Si=[];for(let ti=0;ti<ei;ti++)dr===1&&Si.push(pa[Gi]),vi.push(" ");dr===1&&(Kr+=`| ${Si.join(" | ")} |
|
|
`),Kr+=`| ${vi.join(ei===1?"":" | ")} |
|
|
`}return en.replaceSelection(Kr+`
|
|
`),en.focus();default:throw new Error}},[en,aa]),Fi=(0,se.useMemo)(()=>{switch(aa){case sn:return se.createElement(Bt,{callback:gr,onCancel:fr});case kn:return se.createElement(Gt.Z,{callback:gr,onCancel:fr});case Xt:return se.createElement(De.Z,{callback:gr,onCancel:fr});case bn:return se.createElement(gt,{callback:gr,onCancel:fr});case ca:return se.createElement(Ce,{callback:gr,onCancel:fr});case"maths-latex":return se.createElement(xt,{showSaveButton:!0,callback:gr});case"inline-latex":return se.createElement(Ht.Z,{showSaveButton:!0,callback:gr});default:return null}},[aa]);function fr(){ro("")}(0,se.useEffect)(()=>{if(Hr.current){let qn=function(Lo){Ma=!0,mo=Lo.pageY},Bn=function(){Ma=!1},Gn=function(Lo){if(Ma){let Do=Lo.pageY-mo;Do<0&&(Do=0),Do>300&&(Do=300);let Ho=Mt+Do+"px";ar(Ho)}},Zn=Hr.current,Ma=!1,mo=0;return Zn.addEventListener("mousedown",qn),document.addEventListener("mousemove",Gn),document.addEventListener("mouseup",Bn),()=>{Zn.removeEventListener("mousedown",qn),document.removeEventListener("mousemove",Gn),document.removeEventListener("mouseup",Bn)}}},[en,Hr]),(0,se.useEffect)(()=>{ar(Mt)},[Mt]);const ki=gn(Xe),Oi=gn(qo),Ri={width:ki,height:Oi},Ii=(0,se.useMemo)(()=>{if(uo){let qn=new Date(uo),Bn=qn.getHours(),Gn=qn.getMinutes(),Zn=qn.getSeconds();return Bn=Bn<10?"0"+Bn:Bn,Gn=Gn<10?"0"+Gn:Gn,Zn=Zn<10?"0"+Zn:Zn,`${Bn}:${Gn}:${Zn}`}return 0},[uo]),Mi=qn=>{const Bn=[];if(So){let Gn=-1;qn=qn.replace(/(@▁▁@|@▁@)/g,function(Zn,Ma,mo){Bn.push({multiLine:Zn!==eo})})}return Bn};function Pl(){window.sessionStorage.removeItem(da),Br(!1),Oo(0)}function yl(){Br(!1),Oo(0),en.setValue(window.sessionStorage.getItem(da))}(0,se.useEffect)(()=>{va[aa]&&aa!==Cn&&aa!==bn&&setTimeout(()=>{const qn=document.getElementsByClassName("markdown-popup-form")[0],Bn=window.innerWidth/2-qn.offsetWidth/2,Gn=window.innerHeight/2-qn.offsetHeight/2;mi(Bn),Tr(Gn)},0)},[aa]);const Ti=qn=>{qn.preventDefault();const Bn=qn.clientX-ui,Gn=qn.clientY-$r;document.body.onmousemove=Zn=>{let Ma=Zn.clientX-Bn,mo=Zn.clientY-Gn;const Lo=document.getElementsByClassName("markdown-popup-form")[0],Do=window.innerWidth-Lo.offsetWidth,Ho=window.innerHeight-Lo.offsetHeight;Ma=Math.max(0,Math.min(Ma,Do)),mo=Math.max(0,Math.min(mo,Ho)),zi(Zn.clientX,Zn.clientY,Bn,Gn)&&(mi(Ma),Tr(mo))},document.body.onmouseup=function(){document.body.onmousemove=null}},zi=(qn,Bn,Gn,Zn)=>{const Ma=document.body.clientHeight,mo=document.body.clientWidth;return qn<20&&Gn>qn||qn>mo-20&&Gn<qn||Bn<20&&Zn>Bn||Bn>Ma-20&&Zn<Bn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return se.createElement(se.Fragment,null,se.createElement("div",{className:"markdown-editor-wrapper",ref:zr},se.createElement("div",{className:`markdown-editor-container ${Xo} ${nr?"on-preview":""} ${on?"mini":""} ${na?"full-screen":""}`,style:Ri},se.createElement(fe,{insertTemp:Mn,watch:nr,fullScreen:na,showNullButton:ka,showNullProgramButton:So,onActionCallback:_r,hidetoolBar:Ya,extraUse:sr}),se.createElement("div",{className:"markdown-editor-body"},se.createElement("div",{className:"codemirror-container"},se.createElement("textarea",{ref:mr,placeholder:lr})),nr?se.createElement("div",{ref:Gr,className:"preview-container"},En==="stex"&&se.createElement(st,{value:Lr}),En!=="stex"&&se.createElement(_e.Z,{disabledFill:Co,showProgramFill:So,value:Lr})):null))),ta?se.createElement("a",{ref:Hr,className:"editor-resize"}):null,aa===Cn&&se.createElement(Vt,{callback:gr,onCancel:fr}),aa===bn&&se.createElement(gt,{callback:gr,onCancel:fr}),se.createElement(Be.Z,null,va[aa]&&aa!==Cn&&aa!==bn?se.createElement(Ve.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ui,top:$r},title:se.createElement("div",{style:{cursor:"move"},onMouseDown:Ti},va[aa]),open:!0,onCancel:fr,footer:null,destroyOnClose:!0,width:aa===bn?"1200px":null,height:aa===bn?"80vh":null,className:"markdown-popup-form"},Fi):null))}},28451:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return ue},I:function(){return Be}});var se=ne(78241),he=ne(8591),Te=ne(92832),ot=ne(81327),Me=ne(5871),Ie=ne(5112),ie=ne(3113),dt=ne(77903),it=ne(59301),nt=ne(24065),_e=ne(59301),st=Object.defineProperty,Ge=Object.defineProperties,re=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(Pe,Ae,be)=>Ae in Pe?st(Pe,Ae,{enumerable:!0,configurable:!0,writable:!0,value:be}):Pe[Ae]=be,E=(Pe,Ae)=>{for(var be in Ae||(Ae={}))a.call(Ae,be)&&b(Pe,be,Ae[be]);if(y)for(var be of y(Ae))x.call(Ae,be)&&b(Pe,be,Ae[be]);return Pe},z=(Pe,Ae)=>Ge(Pe,re(Ae));const{useForm:ee}=se.default,ae={width:280,marginRight:10},te={labelCol:{span:5},wrapperCol:{span:19}};var ue=({callback:Pe,onCancel:Ae})=>{const[be]=ee();let St=(0,it.useRef)();function at(ut){St.current.width=be.getFieldValue("width"),St.current.align=be.getFieldValue("align"),Pe(ut,St.current)}function Zt(ut,bt){if(ut.status===-1){he.ZP.error(ut.message);return}be.setFieldsValue({src:`/api/attachments/${ut.id}`,type:bt.type})}function et(ut){let bt=ut.target.files[0];St.current=bt,Be(bt,Zt)}return _e.createElement(se.default,z(E({form:be},te),{className:"upload-image-panel",onFinish:at,style:{width:470,overflow:"hidden"}}),_e.createElement(se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},_e.createElement("div",{className:"flex-container"},_e.createElement(se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},_e.createElement(Te.default,{style:ae})),_e.createElement(fe,{onFileChange:et}))),_e.createElement(se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(Te.default,{style:{width:264}})),_e.createElement(se.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(ot.Z,null,_e.createElement(se.default.Item,{name:"width",style:{margin:0}},_e.createElement(Me.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(se.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.createElement(Ie.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"}]})),_e.createElement("aside",null,_e.createElement(se.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},_e.createElement(ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),_e.createElement(ie.ZP,{type:"default",onClick:Ae},"\u53D6\u6D88"))))};function fe({onFileChange:Pe}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:Pe}))}function Be(Pe,Ae){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,nt.bg)())throw he.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let be=new FormData;be.append("editormd-image-file",Pe),be.append("file_param_name","editormd-image-file"),be.append("byxhr","true");var St=new window.XMLHttpRequest;St.withCredentials=!0,St.addEventListener("load",function(at){Ae(JSON.parse(at.target.responseText),Pe)},!1),St.addEventListener("error",function(at){console.error(at)},!1),St.open("POST",`${dt.KI}/api/attachments.json`),St.send(be)}},79346:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return Te}});var se=ne(59301),he=ne(4676);class Te extends se.Component{constructor(Me){super(Me);const Ie=window.document;this.node=Ie.createElement("div"),Ie.body.appendChild(this.node)}render(){const{children:Me}=this.props;return(0,he.createPortal)(Me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(mt,Lt,ne){"use strict";ne.d(Lt,{i:function(){return ae},Z:function(){return ue}});var se={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"},he=ne(71418),Te=ne(6848),ot=ne(92310),Me=ne.n(ot),Ie=ne(955),ie=ne(8797),dt=ne(24065),it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlh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Fs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ee=ne(59301);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:it,swimg:nt},{name:"101\u8BA1\u5212",ptimg:_e,swimg:st},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ge,swimg:re},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:E,swimg:z}];var ue=({className:fe,dataSource:Be=[],col:Pe=4,right:Ae,bottom:be=23,precision:St=0,wrapWidth:at=1200,trackEventItems:Zt,loading:et,onRemove:ut=()=>{},isCurrent:bt=!0,showAlias:Kt=!1})=>{const Dt=Math.floor((at-(Pe-1)*Ae)/Pe),Tt=[{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(We=>(window.ENV==="build"&&(We.ptimg=`/react/build${We.ptimg}`,We.swimg=`/react/build${We.swimg}`),We));return ee.createElement(he.Z,{spinning:et},ee.createElement("div",{className:Me()(se.list,fe)},!!(Be!=null&&Be.length)&&(Be==null?void 0:Be.map((We,Bt)=>{var Gt;const{name:De,id:Ve,identifier:pt,featured:$t,school_name:qe,image_url:Vt,excellent:xe,is_plan:At}=We;return ee.createElement("div",{key:Ve,className:se.wrap,style:{width:Dt,marginRight:(1+Bt)%Pe===0?0:Ae+St,marginBottom:be}},ee.createElement("a",{className:se.li,onClick:yt=>{yt.preventDefault(),yt.stopPropagation(),Zt&&(0,Ie.L9)([Zt]),(0,Ie.xg)(`/paths/${pt}`)}},ee.createElement("div",{className:se.img},ee.createElement("img",{className:se.cover,src:`${Vt}`}),bt&&(0,dt.bg)()&&(We==null?void 0:We.studying)&&ee.createElement("div",{className:`${se.movebq} user-path-items`,onClick:yt=>{yt.stopPropagation(),ut(We)}},ee.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ee.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Gt=We==null?void 0:We.subject_tags)==null?void 0:Gt.map((yt,pn)=>{var Sn,Oe;if(pn===0){const ye=(Sn=Tt.find(me=>me.name==yt))==null?void 0:Sn.swimg;return ee.createElement("img",{className:se.sign,src:ye,style:{left:"-4px"}})}const ke=(Oe=Tt.find(ye=>ye.name==yt))==null?void 0:Oe.ptimg;return ee.createElement("img",{className:se.sign,src:ke,style:{left:`${48+52*(pn-1)+2*pn}px`}})}),ee.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(We==null?void 0:We.excellent)&&ee.createElement("div",{className:se.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ee.createElement("div",{className:se.name},ee.createElement(Te.Z,{title:Kt&&(We!=null&&We.excellent_alias_name)?ee.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${De}`,ee.createElement("br",null),ee.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${We==null?void 0:We.excellent_alias_name}`)):De},ee.createElement("span",{className:se.e},Kt&&(We==null?void 0:We.excellent_alias_name)||De))),ee.createElement("div",{className:se.tags},ee.createElement("div",null,ee.createElement(Te.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ee.createElement("span",null,We.stages_count))),ee.createElement(Te.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,We.members_count)))))))})),!Be.length&&ee.createElement(ie.Z,null)))}},29458:function(mt,Lt,ne){"use strict";ne.d(Lt,{jL:function(){return Me},w9:function(){return We},QD:function(){return Ht},cQ:function(){return ut.Z},op:function(){return Ce},O5:function(){return Mo},_b:function(){return Cn},t7:function(){return b},Gi:function(){return $t},YG:function(){return Ve},qp:function(){return _e},vr:function(){return sn},qE:function(){return Pt},Je:function(){return ee},wb:function(){return et},cq:function(){return pn},tp:function(){return re}});var se=ne(59301),he={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"},Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6a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eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Me=({dataSource:un=[],img:gn,imgWidth:wn=346,title:mn,sunTitle:ua,bannerExtraContent:va})=>se.createElement("div",{className:he.banner},se.createElement("div",{className:he.content},se.createElement("aside",null,se.createElement("p",null,se.createElement("b",null,mn),se.createElement("span",null,ua)),un.length>0&&se.createElement("div",{className:he.btns},un.map((Xn,Ue)=>se.createElement("div",{key:Ue,onClick:Xn.click},Xn.name,Xn.sign?se.createElement("img",{src:Te,width:39}):null))),va),gn&&se.createElement("img",{style:{marginTop:33,marginRight:38},src:gn,width:wn}))),Ie={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"},ie=ne(92310),dt=ne.n(ie),it=ne(89392),_e=({dataSource:un=[],value:gn,onChange:wn,onTitleChange:mn,className:ua,title:va,titleWidth:Xn=41,style:Ue={},fontColor:$e="#6A7283",showCount:Xe})=>{const[Mt,on]=(0,se.useState)(0),[jt,oa]=(0,se.useState)(!1),Mn=(0,se.useRef)(null),En=(0,se.useRef)(null);return(0,se.useEffect)(()=>{var da;un.length!==0&&(((da=Mn==null?void 0:Mn.current)==null?void 0:da.clientHeight)>97?on(1):on(0)),un.length===0&&on(0),oa(!1)},[un]),se.createElement("div",{className:dt()(Ie.row,ua),style:Ue},se.createElement("div",{onClick:(0,it.throttle)(()=>mn==null?void 0:mn(),2e3),style:{width:Xn,marginTop:jt?12:4},className:`${Ie.title} ${mn?"current":""}`},va),se.createElement("div",{className:jt?`${Ie.tagsWrap} ${Ie.tagsBorderWrap}`:Ie.tagsWrap},se.createElement("div",{className:Ie.bar,ref:En,style:Mt>0?{height:Mt===1?97:"auto",overflow:Mt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},se.createElement("div",{className:Ie.tag,ref:Mn},un==null?void 0:un.map(da=>se.createElement("span",{onClick:()=>wn(da.id),key:da.id,style:{color:$e},className:gn===da.id?Ie.active:""},se.createElement("span",{title:da.name,className:Ie.name},da.name),!!Xe&&se.createElement("span",{className:Ie.num},da.count))))),!!Mt&&se.createElement(se.Fragment,null,Mt===1?se.createElement("div",{onClick:()=>{var da;on(2),((da=Mn==null?void 0:Mn.current)==null?void 0:da.clientHeight)>245?oa(!0):oa(!1)},className:Ie.action},"\u5C55\u5F00",se.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):se.createElement("div",{onClick:()=>{En.current.scrollTop=0,on(1),oa(!1)},className:Ie.action},"\u6536\u8D77",se.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},st={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"},re=({dataSource:un=[],value:gn,onChange:wn,className:mn,style:ua={}})=>se.createElement("div",{style:ua,className:dt()(st.tabs,mn)},un.map(va=>se.createElement("span",{onClick:()=>wn(va.id),className:gn===va.id?st.active:"",key:va.id},va.name))),y={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"},a=ne(92832),b=({dataSource:un=[],value:gn="",onChange:wn,onInputChange:mn=()=>{},className:ua,style:va={},placeholder:Xn,allowClear:Ue=!1})=>{var $e;const[Xe,Mt]=(0,se.useState)(""),[on,jt]=(0,se.useState)("");(0,se.useEffect)(()=>{var En;let da=gn;(En=JSON.stringify(gn))!=null&&En.includes("{")&&(Mt(gn.id),da=gn.value||"");try{jt(decodeURIComponent(da||""))}catch(ta){jt(decodeURIComponent(da||""))}},[gn]);const oa=()=>{wn(encodeURIComponent(on),Xe||null)},Mn=En=>{En!==Xe&&(Mt(En),wn(encodeURIComponent(on),En))};return se.createElement("div",{className:dt()(y.input,ua),style:va},!!un.length&&se.createElement("div",{className:y.dropdown},se.createElement("div",{className:y.text},($e=un.find(En=>En.id===Xe))==null?void 0:$e.name,se.createElement("i",{className:"iconfont icon-zhankai4"}),se.createElement("b",{className:y.b1}),se.createElement("b",{className:y.b2})),se.createElement("div",{className:y.menu},un.map((En,da)=>se.createElement("div",{key:da,onClick:()=>Mn(En.id)},En.name)))),se.createElement(a.default,{onPressEnter:oa,value:on,onChange:En=>{jt(En.target.value),mn(encodeURIComponent(En.target.value),Xe||null)},bordered:!1,placeholder:Xn}),se.createElement("i",{onClick:oa,className:"iconfont icon-sousuo9 font14 pl10 current"}))},E={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"},ee=({value:un,onChange:gn,className:wn,total:mn,pageSize:ua,style:va={}})=>{const Xn=un<2,Ue=un>=Math.ceil(mn/ua);return mn<=ua?se.createElement(se.Fragment,null):se.createElement("div",{className:dt()(E.quickPager,wn),style:va},se.createElement("div",{onClick:()=>{Xn||gn(un-1,"prev")},className:Xn?E.disabled:""},"\u4E0A\u4E00\u9875"),se.createElement("div",{onClick:()=>{Ue||gn(un+1,"next")},className:Ue?E.disabled:""},"\u4E0B\u4E00\u9875"))},ae={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},te=ne(71418),ue=ne(6848),fe=ne(13570),Be=ne(3294),Pe=ne(955),Ae=ne(96908),be=ne(57177),St=ne(81378),at=ne(8797),et=({className:un,dataSource:gn=[],col:wn=4,right:mn,bottom:ua=23,precision:va=0,wrapWidth:Xn=1200,trackEventItems:Ue,loading:$e})=>{const Xe=Math.floor((Xn-(wn-1)*mn)/wn);return se.createElement(te.Z,{spinning:$e},se.createElement("div",{className:dt()(ae.list,un)},!!gn.length&&gn.map((Mt,on)=>{const{name:jt,id:oa,identifier:Mn,power:En,cover_image_id:da,pic:ta}=Mt;return se.createElement("div",{className:ae.wrap,key:oa,style:{width:Xe,marginRight:(1+on)%wn===0?0:mn+va,marginBottom:ua}},se.createElement("a",{target:"_blank",href:`/shixuns/${Mn}/challenges`,className:ae.li,onClick:Ut=>{Ut.preventDefault(),Ue&&(0,Pe.L9)([Ue]),En&&(0,Pe.xg)(`/shixuns/${Mn}/challenges`)}},se.createElement("div",{className:ae.img},se.createElement("img",{className:ae.cover,src:`${ta}`}),Mt.is_jupyter&&se.createElement("img",{className:ae.sign,src:Ae}),Mt.is_jupyter_lab&&se.createElement("img",{className:ae.sign,src:be}),Mt.is_unity_3d&&se.createElement("img",{className:ae.sign,src:St})),se.createElement("div",{className:ae.name},se.createElement(ue.Z,{title:jt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},se.createElement("span",{className:ae.e},jt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),se.createElement("div",{className:ae.tags},se.createElement(ue.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),se.createElement("span",null,Mt.challenges_count))),!!Mt.myshixuns_count&&se.createElement(ue.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),se.createElement("span",null,Mt.myshixuns_count))),se.createElement(ue.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},se.createElement("span",null,se.createElement("span",null,Mt.level))),se.createElement("div",{className:ae.rate},se.createElement(fe.Z,{allowHalf:!0,disabled:!0,defaultValue:Mt.score_info}),se.createElement("span",null,"\xA0",Mt.score_info?`${Mt.score_info}\u5206`:"5\u5206")))),!En&&se.createElement("div",{className:ae.lockWrap},se.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),se.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!gn.length&&se.createElement(at.Z,null)))},ut=ne(33847),bt={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"},Kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW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339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Dt=ne(59301),We=({className:un,dataSource:gn=[],col:wn=4,right:mn,bottom:ua=23,precision:va=0,wrapWidth:Xn=1200,trackEventItems:Ue,loading:$e})=>{const Xe=Math.floor((Xn-(wn-1)*mn)/wn);return Dt.createElement(te.Z,{spinning:$e},Dt.createElement("div",{className:dt()(bt.list,un)},!!gn.length&&gn.map((Mt,on)=>{const{subject_identifier:jt,id:oa,identifier:Mn,power:En}=Mt,da=Mt.is_public!=0&&Mt.is_public;return Dt.createElement("div",{className:bt.wrap,key:oa,style:{width:Xe,marginRight:(1+on)%wn===0?0:mn+va,marginBottom:ua}},Dt.createElement("a",{className:bt.li,onClick:ta=>{ta.preventDefault(),Ue&&(0,Pe.L9)([Ue]),(0,Pe.xg)(Mt.first_category_url)}},Dt.createElement("div",{className:bt.top},Dt.createElement(ue.Z,{title:Mt.name},Dt.createElement("div",{className:bt.name},Mt.name)),Dt.createElement("img",{className:bt.img,src:Be.Z.IMG_SERVER+"/images/"+Mt.avatar_url}),Dt.createElement("div",{className:bt.text,title:Mt.creator},Mt.creator),jt&&Dt.createElement("div",{className:bt.btns},Dt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Dt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),da&&Dt.createElement("div",{className:bt.sign},"\u516C\u5F00")),Dt.createElement("div",{className:bt.bottom},Mt.visits>0&&Dt.createElement(ue.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Dt.createElement("span",null,Dt.createElement("i",{className:"iconfont icon-liulanyan"}),Dt.createElement("span",null,Mt.visits))),Mt.course_members_count>0&&Dt.createElement(ue.Z,{title:"\u6210\u5458",placement:"bottom"},Dt.createElement("span",null,Dt.createElement("i",{className:"iconfont icon-chengyuan"}),Mt.course_members_count)),Mt.tasks_count>0&&Dt.createElement(ue.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Dt.createElement("span",null,Dt.createElement("i",{className:"iconfont icon-zuoye"}),Mt.tasks_count)),Mt.is_end?Dt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Dt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Mt.is_accessible&&Dt.createElement("div",{className:bt.lockWrap},Dt.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Dt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!gn.length&&Dt.createElement(at.Z,null)))},Bt={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"},Gt=ne(89070),Ve=({dataSource:un=[],value:gn,onChange:wn,className:mn,style:ua={},tabBarExtraContent:va})=>se.createElement("div",{className:dt()(Bt.tabs,mn),style:ua},se.createElement("div",{className:Bt.tabsWrap},un.map((Xn,Ue)=>se.createElement("aside",{className:Bt.tab,onClick:()=>{wn(Xn.id),Xn.link&&Gt.history.push(Xn.link)},key:Ue},se.createElement("div",{className:gn===Xn.id?Bt.active:""},Xn.name),(Xn==null?void 0:Xn.resetCount)==null&&(Xn==null?void 0:Xn.total)!==void 0&&se.createElement("span",null,"\uFF08",Xn==null?void 0:Xn.total,"\uFF09"),(Xn==null?void 0:Xn.resetCount)!==void 0&&(Xn==null?void 0:Xn.total)!==void 0&&se.createElement(ue.Z,{title:(Xn==null?void 0:Xn.tip)!=null?Xn==null?void 0:Xn.tip:""},se.createElement("span",{style:{color:"#9096A3"}},"\uFF08",se.createElement("span",{style:{color:"#000"}},Xn==null?void 0:Xn.resetCount),"/",se.createElement("span",null,Xn==null?void 0:Xn.total),"\uFF09"))))),se.createElement("div",{className:Bt.tabBar},va)),$t=({className:un,style:gn={},children:wn})=>se.createElement("div",{className:dt()(un),style:gn},wn),qe={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"},Vt=ne(38854),xe=ne(20834);const At=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var pn=({sortValue:un,dropValue:gn,className:wn,onSort:mn,onDrop:ua,dataSource:va=At})=>{var Xn;return se.createElement("div",{className:dt()(qe.orderWrap,wn)},se.createElement(Vt.Z,{dropdownRender:()=>se.createElement(xe.default,null,va.map((Ue,$e)=>se.createElement(xe.default.Item,{key:$e,onClick:()=>ua(Ue.id)},Ue.name)))},se.createElement("span",{className:qe.orderTextWrap},(Xn=va.find(Ue=>gn===Ue.id))==null?void 0:Xn.name)),se.createElement("span",{className:qe.orderIconWrap},se.createElement("span",{className:qe.orderAsc},se.createElement("i",{className:un==="asc"?`iconfont icon-sanjiaoxing-up font12 ${qe.cursorPointer} ${qe.active}`:`iconfont icon-sanjiaoxing-up font12 ${qe.cursorPointer}`,onClick:()=>mn(un==="asc"?"desc":"asc")})),se.createElement("span",{className:qe.orderDesc},se.createElement("i",{className:un==="desc"?`iconfont icon-sanjiaoxing-down font12 ${qe.cursorPointer} ${qe.active}`:`iconfont icon-sanjiaoxing-down font12 ${qe.cursorPointer}`,onClick:()=>mn(un==="asc"?"desc":"asc")}))))},Sn={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"},Oe=ne(3113),ke=Object.defineProperty,ye=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,gt=(un,gn,wn)=>gn in un?ke(un,gn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):un[gn]=wn,pe=(un,gn)=>{for(var wn in gn||(gn={}))me.call(gn,wn)&>(un,wn,gn[wn]);if(ye)for(var wn of ye(gn))ze.call(gn,wn)&>(un,wn,gn[wn]);return un},ve=(un,gn)=>{var wn={};for(var mn in un)me.call(un,mn)&&gn.indexOf(mn)<0&&(wn[mn]=un[mn]);if(un!=null&&ye)for(var mn of ye(un))gn.indexOf(mn)<0&&ze.call(un,mn)&&(wn[mn]=un[mn]);return wn},Je=(un,gn,wn)=>new Promise((mn,ua)=>{var va=$e=>{try{Ue(wn.next($e))}catch(Xe){ua(Xe)}},Xn=$e=>{try{Ue(wn.throw($e))}catch(Xe){ua(Xe)}},Ue=$e=>$e.done?mn($e.value):Promise.resolve($e.value).then(va,Xn);Ue((wn=wn.apply(un,gn)).next())}),Ce=un=>{var gn=un,{className:wn,style:mn,children:ua,loading:va=!1,openLoading:Xn,onClick:Ue=()=>{},size:$e="middle",shape:Xe="round"}=gn,Mt=ve(gn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[on,jt]=(0,se.useState)(!1);return se.createElement(Oe.ZP,pe({onClick:(0,it.throttle)(oa=>Je(void 0,null,function*(){Xn&&jt(!0);try{yield Ue(oa)}catch(Mn){console.log("error",Mn)}Xn&&jt(!1)}),2e3,{leading:!0,trailing:!1}),className:dt()(Sn.btn,Sn[`${$e}-${Xe}`],wn),style:mn,size:$e,shape:Xe,loading:on||va},Mt),ua)},je={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"},Pt=({className:un,style:gn,children:wn=null,onClick:mn,title:ua})=>se.createElement("div",{className:dt()(je.head,un),style:gn},se.createElement("span",{className:"primary-hover",onClick:mn},se.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),se.createElement("b",{title:ua},ua),se.createElement("div",{className:je.node},wn)),kt={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"},Ht=({confirmShow:un=!0,confirmTitle:gn,confirmClick:wn,cancelShow:mn=!0,cancelTitle:ua,cancelClick:va,className:Xn,style:Ue,confirmLoading:$e=!1})=>se.createElement("div",{className:dt()(kt.btns,Xn),style:Ue},un&&se.createElement(Oe.ZP,{loading:$e,onClick:wn,type:"primary",className:kt.confirm},gn),mn&&se.createElement(Oe.ZP,{onClick:va,className:kt.cancel},ua)),ct={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},sn=({className:un,style:gn={},LeftContent:wn,children:mn,RightContent:ua})=>se.createElement("div",{className:dt()(ct.fixedBottom,un),style:gn},se.createElement("div",{className:ct.wrap},se.createElement("div",{className:ct.left},wn),se.createElement("div",{className:ct.center},mn),se.createElement("div",{className:ct.right},ua))),Xt={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"},Cn=({className:un,style:gn={},dataSource:wn=[]})=>se.createElement("div",{className:dt()(Xt.crumbs,un),style:gn},wn.map((mn,ua)=>ua<wn.length-1?se.createElement(se.Fragment,{key:ua},mn.path||mn.onClick?se.createElement("span",{className:Xt.hover,onClick:mn!=null&&mn.onClick?mn.onClick:()=>Gt.history.push(mn.path)},mn.name):se.createElement("span",null,mn.name),se.createElement("span",null,"\xA0",">","\xA0")):se.createElement("span",{key:ua,style:{color:"#5F6368"}},mn.name))),cn=ne(31797),kn=Object.defineProperty,ca=Object.defineProperties,xa=Object.getOwnPropertyDescriptors,pa=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable,Na=(un,gn,wn)=>gn in un?kn(un,gn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):un[gn]=wn,In=(un,gn)=>{for(var wn in gn||(gn={}))Ea.call(gn,wn)&&Na(un,wn,gn[wn]);if(pa)for(var wn of pa(gn))Fa.call(gn,wn)&&Na(un,wn,gn[wn]);return un},qa=(un,gn)=>ca(un,xa(gn)),_a=(un,gn)=>{var wn={};for(var mn in un)Ea.call(un,mn)&&gn.indexOf(mn)<0&&(wn[mn]=un[mn]);if(un!=null&&pa)for(var mn of pa(un))gn.indexOf(mn)<0&&Fa.call(un,mn)&&(wn[mn]=un[mn]);return wn};const{Countdown:Pa}=cn.default;var Mo=un=>{var gn=un,{onChange:wn}=gn,mn=_a(gn,["onChange"]);const[ua,va]=(0,se.useState)(null);(0,se.useEffect)(()=>{typeof ua=="number"&&ua>=0&&wn(ua)},[ua]);const Xn=Ue=>{const $e=Math.floor(Ue/1e3);va($e)};return se.createElement(Pa,qa(In({},mn),{onChange:Xn}))}},58856:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return he}});var se=ne(59301);function he(Te,ot){const Me=(0,se.useRef)();(0,se.useEffect)(()=>{Me.current=Te}),(0,se.useEffect)(()=>{function Ie(){Me.current()}if(ot!==null){let ie=setInterval(Ie,ot);return()=>clearInterval(ie)}},[ot])}},1756:function(mt,Lt,ne){"use strict";ne.r(Lt),ne.d(Lt,{default:function(){return be}});var se=ne(59301),he={contWrap:"contWrap___NObSU",header:"header___McEy0",headTitle:"headTitle___ytUGn",searchWrap:"searchWrap___Gg9ZK",wrap1:"wrap1___s1_Dx",editBtn:"editBtn___aXsPS"},Te=ne(89070),ot=ne(78241),Me=ne(43418),Ie=ne(8591),ie=ne(92832),dt=ne(71418),it=ne(28103),nt=ne(57809),_e=ne(5083),st=ne(1710),Ge=ne(3113),re=ne(29458),y=ne(12290),a=ne(85149),x=ne(8797),b=ne(70849),E=ne(24065),z=ne(59301),ee=Object.defineProperty,ae=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,fe=(St,at,Zt)=>at in St?ee(St,at,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):St[at]=Zt,Be=(St,at)=>{for(var Zt in at||(at={}))te.call(at,Zt)&&fe(St,Zt,at[Zt]);if(ae)for(var Zt of ae(at))ue.call(at,Zt)&&fe(St,Zt,at[Zt]);return St},Pe=(St,at,Zt)=>new Promise((et,ut)=>{var bt=Tt=>{try{Dt(Zt.next(Tt))}catch(We){ut(We)}},Kt=Tt=>{try{Dt(Zt.throw(Tt))}catch(We){ut(We)}},Dt=Tt=>Tt.done?et(Tt.value):Promise.resolve(Tt.value).then(bt,Kt);Dt((Zt=Zt.apply(St,at)).next())});const Ae=({declaration:St,user:at,dispatch:Zt,loading:et})=>{const[ut,bt]=(0,se.useState)([]),[Kt,Dt]=(0,se.useState)(0),[Tt,We]=(0,se.useState)(!1),[Bt,Gt]=(0,se.useState)(!1),[De,Ve]=(0,se.useState)(""),[pt,$t]=(0,se.useState)(""),[qe,Vt]=(0,se.useState)({page:1,limit:10,status:"",keyword:"",start_time:"",end_time:""}),[xe]=ot.default.useForm(),At=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u5DE5\u53F7",align:"left",ellipsis:!0,dataIndex:"staff_id",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:Oe=>z.createElement("span",null,Oe===-1&&z.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),Oe===0&&z.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),Oe===1&&z.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),Oe===2&&z.createElement("span",{style:{color:"#E30000"}},"\u9000\u56DE\u4FEE\u6539"))},{title:"\u53D7\u8BA9\u65B9",align:"left",ellipsis:!0,dataIndex:"transferee",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u8F6C\u8BA9\u9879\u76EE\u540D\u79F0",align:"left",ellipsis:!0,dataIndex:"title",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u8F6C\u8BA9\u9879\u76EE\u6388\u6743\u53F7",align:"left",ellipsis:!0,dataIndex:"check_in_number",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u8F6C\u8BA9\u91D1\u989D",align:"left",ellipsis:!0,dataIndex:"transfer_fees",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u8F6C\u8BA9\u4E13\u5229\u7C7B\u578B",align:"left",ellipsis:!0,dataIndex:"property_type_name",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u53D1\u660E\uFF08\u7533\u8BF7\uFF09\u4EBA",align:"left",ellipsis:!0,dataIndex:"participant",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u8F6C\u8BA9\u65E5\u671F",align:"left",ellipsis:!0,dataIndex:"transfer_date",render:Oe=>z.createElement("span",null,Oe||"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:200,ellipsis:!0,dataIndex:"school_name",render:(Oe,ke)=>{var ye,me,ze;return z.createElement(z.Fragment,null,((0,E.j5)()||[0,1].includes(ke==null?void 0:ke.status)&&!(0,E.j5)())&&z.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{Zt({type:"declaration/changeMode",payload:{mode:"view"}}),Te.history.push(`/declaration/research/technologyTransfer/edit?id=${ke==null?void 0:ke.id}`)}},"\u67E5\u770B"),((ye=at==null?void 0:at.userInfo)==null?void 0:ye.real_name)===(ke==null?void 0:ke.user_name)&&[-1,2].includes(ke==null?void 0:ke.status)&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Zt({type:"declaration/changeMode",payload:{mode:"edit"}}),Te.history.push(`/declaration/research/technologyTransfer/edit?id=${ke==null?void 0:ke.id}`)}},"\u7F16\u8F91"),(0,E.j5)()&&(ke==null?void 0:ke.status)===0&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u901A\u8FC7\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u901A\u8FC7\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Pe(void 0,null,function*(){(yield(0,b.Uk)({declaration_id:ke==null?void 0:ke.id,verify_status:"agree",reason:""})).status===0&&(Ie.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),yt())})})}},"\u901A\u8FC7"),(0,E.j5)()&&(ke==null?void 0:ke.status)===0&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{xe.setFieldValue("reason",ke==null?void 0:ke.reason),Me.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:z.createElement("div",null,z.createElement(ot.default,{form:xe,layout:"vertical",onFinish:gt=>Pe(void 0,null,function*(){(yield(0,b.Uk)({declaration_id:ke==null?void 0:ke.id,verify_status:"reject",reason:Be({},gt)})).status===0&&(Ie.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),yt())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:he.formWrap},z.createElement(ot.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},z.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"})))),width:500,okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Pe(void 0,null,function*(){yield xe.submit()})})}},"\u9A73\u56DE"),((me=at==null?void 0:at.userInfo)==null?void 0:me.real_name)===(ke==null?void 0:ke.user_name)&&[-1,2].includes(ke==null?void 0:ke.status)&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u63D0\u4EA4\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u63D0\u4EA4\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Pe(void 0,null,function*(){(yield(0,b.xx)({declaration_id:ke==null?void 0:ke.id})).status===0&&(Ie.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),yt())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((ze=at==null?void 0:at.userInfo)==null?void 0:ze.real_name)===(ke==null?void 0:ke.user_name)&&[-1,2].includes(ke==null?void 0:ke.status)&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Pe(void 0,null,function*(){(yield(0,b.UX)({id:ke==null?void 0:ke.id})).status===0&&(Ie.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),yt())})})}},"\u5220\u9664"))}}];(0,se.useEffect)(()=>{yt(),pn()},[]);const yt=()=>Pe(void 0,null,function*(){var Oe,ke;We(!0);const ye=yield(0,b.Dn)(Be({declare_type:6},qe));(ye==null?void 0:ye.status)===0&&(bt(((Oe=ye==null?void 0:ye.data)==null?void 0:Oe.list)||[]),Dt(((ke=ye==null?void 0:ye.data)==null?void 0:ke.count)||0)),We(!1)}),pn=()=>Pe(void 0,null,function*(){var Oe,ke;const ye=yield(0,b.Xi)({declare_type:6});(ye==null?void 0:ye.status)===0&&(Ve(((Oe=ye==null?void 0:ye.data)==null?void 0:Oe.content)||"\u6682\u65E0\u6570\u636E"),$t(((ke=ye==null?void 0:ye.data)==null?void 0:ke.content)||"\u6682\u65E0\u6570\u636E"))}),Sn=()=>Pe(void 0,null,function*(){const Oe=yield(0,b.kF)({declare_type:6,content:De});(Oe==null?void 0:Oe.status)===0&&Ie.ZP.success("\u7F16\u8F91\u6210\u529F!")});return z.createElement(dt.Z,{spinning:Tt},z.createElement("div",{className:he.contWrap},z.createElement("div",{className:he.header},z.createElement("div",{className:he.headTitle},"\u6210\u679C\u8F6C\u5316\u7533\u62A5"),z.createElement("div",null,z.createElement(re.op,{shape:"default",onClick:()=>{Zt({type:"declaration/changeMode",payload:{mode:"edit"}}),Te.history.push("/declaration/research/technologyTransfer/edit")}},z.createElement("span",null,"\u6DFB\u52A0\u79D1\u6280\u6210\u679C\u8F6C\u5316")))),z.createElement(it.Z,{style:{margin:"12px 0px 20px 0px"}}),z.createElement("div",{className:he.searchWrap},z.createElement(nt.default,{size:"large",defaultValue:qe.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:Oe=>{qe.status=Oe,Vt(Be({},qe)),qe.page=1,yt()},options:[{value:"",label:"\u5168\u90E8"},{value:-1,label:"\u672A\u63D0\u4EA4"},{value:0,label:"\u5F85\u5BA1\u6838"},{value:1,label:"\u5DF2\u901A\u8FC7"},{value:2,label:"\u9000\u56DE\u4FEE\u6539"}]}),z.createElement(_e.default.RangePicker,{size:"large",style:{width:260,borderRadius:2},onChange:Oe=>{qe.start_time=Oe!=null&&Oe[0]?Oe[0].format("YYYY-MM-DD"):"",qe.end_time=Oe!=null&&Oe[1]?Oe[1].format("YYYY-MM-DD"):"",Vt(Be({},qe)),qe.page=1,console.log(qe),yt()},format:"YYYY-MM-DD"}),z.createElement(re.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:qe.keyword,onChange:Oe=>{qe.page=1,qe.keywords=Oe,Vt(Be({},qe)),yt()}})),z.createElement("div",null,z.createElement(st.default,{dataSource:ut,scroll:{x:1400},pagination:{total:Kt||0,size:"default",onChange:(Oe,ke)=>{qe.page=Oe,qe.limit=ke,Vt(Be({},qe)),yt()},current:qe==null?void 0:qe.page,pageSize:qe==null?void 0:qe.limit,showTotal:Oe=>z.createElement(z.Fragment,null,"\u5171",z.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Oe),"\u6761\u6570\u636E")},columns:At,locale:{emptyText:z.createElement(x.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),z.createElement(it.Z,{style:{margin:"30px 0px"}}),Bt?z.createElement("div",null,z.createElement(y.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:De,id:"editContent",onChange:Oe=>{Ve(Oe)}}),z.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},z.createElement(re.op,{shape:"default",onClick:()=>{Gt(!1),Ve(pt)}},"\u53D6\u6D88"),z.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>Pe(void 0,null,function*(){Gt(!1),yield Sn()})},"\u63D0\u4EA4"))):z.createElement("div",{className:he.wrap1},(0,E.j5)()&&z.createElement("div",{className:he.editBtn,onClick:()=>{Gt(!0)}},z.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),z.createElement(a.Z,{className:"discuss-content",value:De,style:{fontSize:"12px",color:"#232B40"}}))))};var be=(0,Te.connect)(({declaration:St,loading:at,user:Zt})=>({declaration:St,loading:at,user:Zt}))(Ae)},50371:function(mt,Lt){"use strict";function ne(){const se=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let he=1;he<arguments.length;he++){const Te=he<0||arguments.length<=he?void 0:arguments[he];Te&&Object.keys(Te).forEach(ot=>{const Me=Te[ot];Me!==void 0&&(se[ot]=Me)})}return se}Lt.Z=ne},13845:function(mt,Lt,ne){"use strict";ne.d(Lt,{F:function(){return se},Z:function(){return he}});function se(Te){return Te!=null&&Te===Te.window}function he(Te,ot){var Me,Ie;if(typeof window=="undefined")return 0;const ie=ot?"scrollTop":"scrollLeft";let dt=0;return se(Te)?dt=Te[ot?"pageYOffset":"pageXOffset"]:Te instanceof Document?dt=Te.documentElement[ie]:(Te instanceof HTMLElement||Te)&&(dt=Te[ie]),Te&&!se(Te)&&typeof dt!="number"&&(dt=(Ie=((Me=Te.ownerDocument)!==null&&Me!==void 0?Me:Te).documentElement)===null||Ie===void 0?void 0:Ie[ie]),dt}},56762:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return he}});var se=ne(59301);function he(){const[,Te]=se.useReducer(ot=>ot+1,0);return Te}},68031:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return ot}});var se=ne(16089);function he(Me,Ie,ie,dt){const it=ie-Ie;return Me/=dt/2,Me<1?it/2*Me*Me*Me+Ie:it/2*((Me-=2)*Me*Me+2)+Ie}var Te=ne(13845);function ot(Me){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:dt,duration:it=450}=Ie,nt=ie(),_e=(0,Te.Z)(nt,!0),st=Date.now(),Ge=()=>{const y=Date.now()-st,a=he(y>it?it:y,_e,Me,it);(0,Te.F)(nt)?nt.scrollTo(window.pageXOffset,a):nt instanceof Document||nt.constructor.name==="HTMLDocument"?nt.documentElement.scrollTop=a:nt.scrollTop=a,y<it?(0,se.Z)(Ge):typeof dt=="function"&&dt()};(0,se.Z)(Ge)}},24905:function(mt,Lt,ne){"use strict";ne.d(Lt,{default:function(){return ue}});var se=ne(92310),he=ne.n(se),Te=ne(5630),ot=ne(59301),Me=ne(36355),Ie=ne(1684),ie=ne(32441),it=ot.createContext(null),nt=ne(98447),_e=ne(14088),st=ne(4572),Ge=function(fe,Be){var Pe={};for(var Ae in fe)Object.prototype.hasOwnProperty.call(fe,Ae)&&Be.indexOf(Ae)<0&&(Pe[Ae]=fe[Ae]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ae=Object.getOwnPropertySymbols(fe);be<Ae.length;be++)Be.indexOf(Ae[be])<0&&Object.prototype.propertyIsEnumerable.call(fe,Ae[be])&&(Pe[Ae[be]]=fe[Ae[be]]);return Pe};const re=(fe,Be)=>{var Pe;const{prefixCls:Ae,className:be,rootClassName:St,children:at,indeterminate:Zt=!1,style:et,onMouseEnter:ut,onMouseLeave:bt,skipGroup:Kt=!1,disabled:Dt}=fe,Tt=Ge(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:We,direction:Bt,checkbox:Gt}=ot.useContext(Me.E_),De=ot.useContext(it),{isFormItemInput:Ve}=ot.useContext(ie.aM),pt=ot.useContext(Ie.Z),$t=(Pe=(De==null?void 0:De.disabled)||Dt)!==null&&Pe!==void 0?Pe:pt,qe=ot.useRef(Tt.value);ot.useEffect(()=>{De==null||De.registerValue(Tt.value)},[]),ot.useEffect(()=>{if(!Kt)return Tt.value!==qe.current&&(De==null||De.cancelValue(qe.current),De==null||De.registerValue(Tt.value),qe.current=Tt.value),()=>De==null?void 0:De.cancelValue(Tt.value)},[Tt.value]);const Vt=We("checkbox",Ae),[xe,At]=(0,nt.ZP)(Vt),yt=Object.assign({},Tt);De&&!Kt&&(yt.onChange=function(){Tt.onChange&&Tt.onChange.apply(Tt,arguments),De.toggleOption&&De.toggleOption({label:at,value:Tt.value})},yt.name=De.name,yt.checked=De.value.includes(Tt.value));const pn=he()(`${Vt}-wrapper`,{[`${Vt}-rtl`]:Bt==="rtl",[`${Vt}-wrapper-checked`]:yt.checked,[`${Vt}-wrapper-disabled`]:$t,[`${Vt}-wrapper-in-form-item`]:Ve},Gt==null?void 0:Gt.className,be,St,At),Sn=he()({[`${Vt}-indeterminate`]:Zt},st.A,At),Oe=Zt?"mixed":void 0;return xe(ot.createElement(_e.Z,{component:"Checkbox",disabled:$t},ot.createElement("label",{className:pn,style:Object.assign(Object.assign({},Gt==null?void 0:Gt.style),et),onMouseEnter:ut,onMouseLeave:bt},ot.createElement(Te.Z,Object.assign({"aria-checked":Oe},yt,{prefixCls:Vt,className:Sn,disabled:$t,ref:Be})),at!==void 0&&ot.createElement("span",null,at))))};var a=ot.forwardRef(re),x=ne(26407),b=ne(2738),E=function(fe,Be){var Pe={};for(var Ae in fe)Object.prototype.hasOwnProperty.call(fe,Ae)&&Be.indexOf(Ae)<0&&(Pe[Ae]=fe[Ae]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ae=Object.getOwnPropertySymbols(fe);be<Ae.length;be++)Be.indexOf(Ae[be])<0&&Object.prototype.propertyIsEnumerable.call(fe,Ae[be])&&(Pe[Ae[be]]=fe[Ae[be]]);return Pe};const z=(fe,Be)=>{const{defaultValue:Pe,children:Ae,options:be=[],prefixCls:St,className:at,rootClassName:Zt,style:et,onChange:ut}=fe,bt=E(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Kt,direction:Dt}=ot.useContext(Me.E_),[Tt,We]=ot.useState(bt.value||Pe||[]),[Bt,Gt]=ot.useState([]);ot.useEffect(()=>{"value"in bt&&We(bt.value||[])},[bt.value]);const De=ot.useMemo(()=>be.map(ke=>typeof ke=="string"||typeof ke=="number"?{label:ke,value:ke}:ke),[be]),Ve=ke=>{Gt(ye=>ye.filter(me=>me!==ke))},pt=ke=>{Gt(ye=>[].concat((0,x.Z)(ye),[ke]))},$t=ke=>{const ye=Tt.indexOf(ke.value),me=(0,x.Z)(Tt);ye===-1?me.push(ke.value):me.splice(ye,1),"value"in bt||We(me),ut==null||ut(me.filter(ze=>Bt.includes(ze)).sort((ze,gt)=>{const pe=De.findIndex(Je=>Je.value===ze),ve=De.findIndex(Je=>Je.value===gt);return pe-ve}))},qe=Kt("checkbox",St),Vt=`${qe}-group`,[xe,At]=(0,nt.ZP)(qe),yt=(0,b.Z)(bt,["value","disabled"]),pn=be.length?De.map(ke=>ot.createElement(a,{prefixCls:qe,key:ke.value.toString(),disabled:"disabled"in ke?ke.disabled:bt.disabled,value:ke.value,checked:Tt.includes(ke.value),onChange:ke.onChange,className:`${Vt}-item`,style:ke.style,title:ke.title},ke.label)):Ae,Sn={toggleOption:$t,value:Tt,disabled:bt.disabled,name:bt.name,registerValue:pt,cancelValue:Ve},Oe=he()(Vt,{[`${Vt}-rtl`]:Dt==="rtl"},at,Zt,At);return xe(ot.createElement("div",Object.assign({className:Oe,style:et},yt,{ref:Be}),ot.createElement(it.Provider,{value:Sn},pn)))},ee=ot.forwardRef(z);var ae=ot.memo(ee);const te=a;te.Group=ae,te.__ANT_CHECKBOX=!0;var ue=te},98447:function(mt,Lt,ne){"use strict";ne.d(Lt,{C2:function(){return Me}});var se=ne(17313),he=ne(37613),Te=ne(83116);const ot=Ie=>{const{checkboxCls:ie}=Ie,dt=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,se.Wf)(Ie)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ie.marginXS,[`> ${Ie.antCls}-row`]:{flex:1}}),[dt]:Object.assign(Object.assign({},(0,se.Wf)(Ie)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${dt}`]:{marginInlineStart:0},[`&${dt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,se.Wf)(Ie)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ie.borderRadiusSM,alignSelf:"center",[`${ie}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ie}-inner`]:Object.assign({},(0,se.oN)(Ie))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ie.checkboxSize,height:Ie.checkboxSize,direction:"ltr",backgroundColor:Ie.colorBgContainer,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,borderRadius:Ie.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ie.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ie.checkboxSize/14*5,height:Ie.checkboxSize/14*8,border:`${Ie.lineWidthBold}px solid ${Ie.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ie.motionDurationFast} ${Ie.motionEaseInBack}, opacity ${Ie.motionDurationFast}`}},"& + span":{paddingInlineStart:Ie.paddingXS,paddingInlineEnd:Ie.paddingXS}})},{[`
|
|
${dt}:not(${dt}-disabled),
|
|
${ie}:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{borderColor:Ie.colorPrimary}},[`${dt}:not(${dt}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:Ie.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:Ie.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:Ie.colorPrimary,borderColor:Ie.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ie.motionDurationMid} ${Ie.motionEaseOutBack} ${Ie.motionDurationFast}`}}},[`
|
|
${dt}-checked:not(${dt}-disabled),
|
|
${ie}-checked:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:Ie.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:Ie.colorBgContainer,borderColor:Ie.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ie.fontSizeLG/2,height:Ie.fontSizeLG/2,backgroundColor:Ie.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${dt}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,"&:after":{borderColor:Ie.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ie.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:Ie.colorTextDisabled}}}]};function Me(Ie,ie){const dt=(0,he.TS)(ie,{checkboxCls:`.${Ie}`,checkboxSize:ie.controlInteractiveSize});return[ot(dt)]}Lt.ZP=(0,Te.Z)("Checkbox",(Ie,ie)=>{let{prefixCls:dt}=ie;return[Me(dt,Ie)]})},5083:function(mt,Lt,ne){"use strict";ne.d(Lt,{default:function(){return ad}});var se=ne(61186),he=ne.n(se),Te=ne(48736),ot=ne(90111),Me=ne.n(ot),Ie=ne(58319),ie=ne.n(Ie),dt=ne(23250),it=ne.n(dt),nt=ne(74959),_e=ne.n(nt),st=ne(10238),Ge=ne.n(st),re=ne(33656),y=ne.n(re);he().extend(y()),he().extend(Ge()),he().extend(Me()),he().extend(ie()),he().extend(it()),he().extend(_e()),he().extend(function(oe,le){var ge=le.prototype,Ee=ge.format;ge.format=function(Qe){var He=(Qe||"").replace("Wo","wo");return Ee.bind(this)(He)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(le){var ge=a[le];return ge||le.split("_")[0]},b=function(){(0,Te.ET)(!1,"Not match any format. Please help to fire a issue about this.")},E={getNow:function(){return he()()},getFixedDate:function(le){return he()(le,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(le){return le.endOf("month")},getWeekDay:function(le){var ge=le.locale("en");return ge.weekday()+ge.localeData().firstDayOfWeek()},getYear:function(le){return le.year()},getMonth:function(le){return le.month()},getDate:function(le){return le.date()},getHour:function(le){return le.hour()},getMinute:function(le){return le.minute()},getSecond:function(le){return le.second()},addYear:function(le,ge){return le.add(ge,"year")},addMonth:function(le,ge){return le.add(ge,"month")},addDate:function(le,ge){return le.add(ge,"day")},setYear:function(le,ge){return le.year(ge)},setMonth:function(le,ge){return le.month(ge)},setDate:function(le,ge){return le.date(ge)},setHour:function(le,ge){return le.hour(ge)},setMinute:function(le,ge){return le.minute(ge)},setSecond:function(le,ge){return le.second(ge)},isAfter:function(le,ge){return le.isAfter(ge)},isValidate:function(le){return le.isValid()},locale:{getWeekFirstDay:function(le){return he()().locale(x(le)).localeData().firstDayOfWeek()},getWeekFirstDate:function(le,ge){return ge.locale(x(le)).weekday(0)},getWeek:function(le,ge){return ge.locale(x(le)).week()},getShortWeekDays:function(le){return he()().locale(x(le)).localeData().weekdaysMin()},getShortMonths:function(le){return he()().locale(x(le)).localeData().monthsShort()},format:function(le,ge,Ee){return ge.locale(x(le)).format(Ee)},parse:function(le,ge,Ee){for(var Le=x(le),Qe=0;Qe<Ee.length;Qe+=1){var He=Ee[Qe],vt=ge;if(He.includes("wo")||He.includes("Wo")){for(var ft=vt.split("-")[0],Ct=vt.split("-")[1],nn=he()(ft,"YYYY").startOf("year").locale(Le),Ot=0;Ot<=52;Ot+=1){var It=nn.add(Ot,"week");if(It.format("Wo")===Ct)return It}return b(),null}var Yt=he()(vt,He,!0).locale(Le);if(Yt.isValid())return Yt}return ge&&b(),null}}},z=E,ee=ne(53487),ae=ne(92413),te=ne(59301),ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},fe=ue,Be=ne(7657),Pe=function(le,ge){return te.createElement(Be.Z,(0,ae.Z)({},le,{ref:ge,icon:fe}))},Ae=te.forwardRef(Pe),be=Ae,St={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},at=St,Zt=function(le,ge){return te.createElement(Be.Z,(0,ae.Z)({},le,{ref:ge,icon:at}))},et=te.forwardRef(Zt),ut=et,bt=ne(19248),Kt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Dt=Kt,Tt=function(le,ge){return te.createElement(Be.Z,(0,ae.Z)({},le,{ref:ge,icon:Dt}))},We=te.forwardRef(Tt),Bt=We,Gt=ne(92310),De=ne.n(Gt),Ve=ne(6909),pt=ne(4771),$t=ne(25314),qe=ne(9427),Vt=ne(25440),xe=ne(400),At=ne(33708),yt=ne(33606),pn=ne(18929),Sn=ne(26112),Oe=ne(80547),ke=ne(13697),ye=10,me=ye*10,ze=7;function gt(oe,le){if(!oe&&!le)return!0;if(!oe||!le)return!1}function pe(oe,le,ge){var Ee=gt(le,ge);if(typeof Ee=="boolean")return Ee;var Le=Math.floor(oe.getYear(le)/10),Qe=Math.floor(oe.getYear(ge)/10);return Le===Qe}function ve(oe,le,ge){var Ee=gt(le,ge);return typeof Ee=="boolean"?Ee:oe.getYear(le)===oe.getYear(ge)}function Je(oe,le){var ge=Math.floor(oe.getMonth(le)/3);return ge+1}function Re(oe,le,ge){var Ee=gt(le,ge);return typeof Ee=="boolean"?Ee:ve(oe,le,ge)&&Je(oe,le)===Je(oe,ge)}function Ce(oe,le,ge){var Ee=gt(le,ge);return typeof Ee=="boolean"?Ee:ve(oe,le,ge)&&oe.getMonth(le)===oe.getMonth(ge)}function je(oe,le,ge){var Ee=gt(le,ge);return typeof Ee=="boolean"?Ee:oe.getYear(le)===oe.getYear(ge)&&oe.getMonth(le)===oe.getMonth(ge)&&oe.getDate(le)===oe.getDate(ge)}function zt(oe,le,ge){var Ee=gt(le,ge);return typeof Ee=="boolean"?Ee:oe.getHour(le)===oe.getHour(ge)&&oe.getMinute(le)===oe.getMinute(ge)&&oe.getSecond(le)===oe.getSecond(ge)}function Pt(oe,le,ge,Ee){var Le=gt(ge,Ee);return typeof Le=="boolean"?Le:ve(oe,ge,Ee)&&oe.locale.getWeek(le,ge)===oe.locale.getWeek(le,Ee)}function kt(oe,le,ge){return je(oe,le,ge)&&zt(oe,le,ge)}function xt(oe,le,ge,Ee){return!le||!ge||!Ee?!1:!je(oe,le,Ee)&&!je(oe,ge,Ee)&&oe.isAfter(Ee,le)&&oe.isAfter(ge,Ee)}function Ht(oe,le,ge){var Ee=le.locale.getWeekFirstDay(oe),Le=le.setDate(ge,1),Qe=le.getWeekDay(Le),He=le.addDate(Le,Ee-Qe);return le.getMonth(He)===le.getMonth(ge)&&le.getDate(He)>1&&(He=le.addDate(He,-7)),He}function ct(oe,le,ge){var Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(le){case"year":return ge.addYear(oe,Ee*10);case"quarter":case"month":return ge.addYear(oe,Ee);default:return ge.addMonth(oe,Ee)}}function tn(oe,le){var ge=le.generateConfig,Ee=le.locale,Le=le.format;return typeof Le=="function"?Le(oe):ge.locale.format(Ee.locale,oe,Le)}function sn(oe,le){var ge=le.generateConfig,Ee=le.locale,Le=le.formatList;return!oe||typeof Le[0]=="function"?null:ge.locale.parse(Ee.locale,oe,Le)}function Xt(oe){var le=oe.cellDate,ge=oe.mode,Ee=oe.disabledDate,Le=oe.generateConfig;if(!Ee)return!1;var Qe=function(Jt,ht,Nt){for(var qt=ht;qt<=Nt;){var An=void 0;switch(Jt){case"date":{if(An=Le.setDate(le,qt),!Ee(An))return!1;break}case"month":{if(An=Le.setMonth(le,qt),!Xt({cellDate:An,mode:"month",generateConfig:Le,disabledDate:Ee}))return!1;break}case"year":{if(An=Le.setYear(le,qt),!Xt({cellDate:An,mode:"year",generateConfig:Le,disabledDate:Ee}))return!1;break}}qt+=1}return!0};switch(ge){case"date":case"week":return Ee(le);case"month":{var He=1,vt=Le.getDate(Le.getEndDate(le));return Qe("date",He,vt)}case"quarter":{var ft=Math.floor(Le.getMonth(le)/3)*3,Ct=ft+2;return Qe("month",ft,Ct)}case"year":return Qe("month",0,11);case"decade":{var nn=Le.getYear(le),Ot=Math.floor(nn/ye)*ye,It=Ot+ye-1;return Qe("year",Ot,It)}}}function bn(oe,le){var ge=le.formatList,Ee=le.generateConfig,Le=le.locale;return(0,Oe.Z)(function(){if(!oe)return[[""],""];for(var Qe="",He=[],vt=0;vt<ge.length;vt+=1){var ft=ge[vt],Ct=tn(oe,{generateConfig:Ee,locale:Le,format:ft});He.push(Ct),vt===0&&(Qe=Ct)}return[He,Qe]},[oe,ge,Le],function(Qe,He){return!kt(Ee,Qe[0],He[0])||!(0,ke.Z)(Qe[1],He[1],!0)||!(0,ke.Z)(Qe[2],He[2],!0)})}function Cn(oe,le){var ge=le.formatList,Ee=le.generateConfig,Le=le.locale,Qe=(0,te.useState)(null),He=(0,yt.Z)(Qe,2),vt=He[0],ft=He[1],Ct=(0,te.useRef)(null);function nn(Nt){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Ct.current),qt){ft(Nt);return}Ct.current=requestAnimationFrame(function(){ft(Nt)})}var Ot=bn(vt,{formatList:ge,generateConfig:Ee,locale:Le}),It=(0,yt.Z)(Ot,2),Yt=It[1];function Jt(Nt){nn(Nt)}function ht(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;nn(null,Nt)}return(0,te.useEffect)(function(){ht(!0)},[oe]),(0,te.useEffect)(function(){return function(){return cancelAnimationFrame(Ct.current)}},[]),[Yt,Jt,ht]}var cn=ne(10228),kn=ne(16089),ca=ne(26407),xa=ne(29194),pa=new Map;function Ea(oe,le){var ge;function Ee(){(0,xa.Z)(oe)?le():ge=(0,kn.Z)(function(){Ee()})}return Ee(),function(){kn.Z.cancel(ge)}}function Fa(oe,le,ge){if(pa.get(oe)&&cancelAnimationFrame(pa.get(oe)),ge<=0){pa.set(oe,requestAnimationFrame(function(){oe.scrollTop=le}));return}var Ee=le-oe.scrollTop,Le=Ee/ge*10;pa.set(oe,requestAnimationFrame(function(){oe.scrollTop+=Le,oe.scrollTop!==le&&Fa(oe,le,ge-10)}))}function Na(oe,le){var ge=le.onLeftRight,Ee=le.onCtrlLeftRight,Le=le.onUpDown,Qe=le.onPageUpDown,He=le.onEnter,vt=oe.which,ft=oe.ctrlKey,Ct=oe.metaKey;switch(vt){case cn.Z.LEFT:if(ft||Ct){if(Ee)return Ee(-1),!0}else if(ge)return ge(-1),!0;break;case cn.Z.RIGHT:if(ft||Ct){if(Ee)return Ee(1),!0}else if(ge)return ge(1),!0;break;case cn.Z.UP:if(Le)return Le(-1),!0;break;case cn.Z.DOWN:if(Le)return Le(1),!0;break;case cn.Z.PAGE_UP:if(Qe)return Qe(-1),!0;break;case cn.Z.PAGE_DOWN:if(Qe)return Qe(1),!0;break;case cn.Z.ENTER:if(He)return He(),!0;break}return!1}function In(oe,le,ge,Ee){var Le=oe;if(!Le)switch(le){case"time":Le=Ee?"hh:mm:ss a":"HH:mm:ss";break;case"week":Le="gggg-wo";break;case"month":Le="YYYY-MM";break;case"quarter":Le="YYYY-[Q]Q";break;case"year":Le="YYYY";break;default:Le=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Le}function qa(oe,le,ge){var Ee=oe==="time"?8:10,Le=typeof le=="function"?le(ge.getNow()).length:le.length;return Math.max(Ee,Le)+2}var _a=null,Pa=new Set;function eo(oe){return!_a&&typeof window!="undefined"&&window.addEventListener&&(_a=function(ge){(0,ca.Z)(Pa).forEach(function(Ee){Ee(ge)})},window.addEventListener("mousedown",_a)),Pa.add(oe),function(){Pa.delete(oe),Pa.size===0&&(window.removeEventListener("mousedown",_a),_a=null)}}function Mo(oe){var le=oe.target;if(oe.composed&&le.shadowRoot){var ge;return((ge=oe.composedPath)===null||ge===void 0?void 0:ge.call(oe)[0])||le}return le}var un=function(le){return le==="month"||le==="date"?"year":le},gn=function(le){return le==="date"?"month":le},wn=function(le){return le==="month"||le==="date"?"quarter":le},mn=function(le){return le==="date"?"week":le},ua={year:un,month:gn,quarter:wn,week:mn,time:null,date:null};function va(oe,le){return oe.some(function(ge){return ge&&ge.contains(le)})}function Xn(oe){var le=oe.open,ge=oe.value,Ee=oe.isClickOutside,Le=oe.triggerOpen,Qe=oe.forwardKeyDown,He=oe.onKeyDown,vt=oe.blurToCancel,ft=oe.onSubmit,Ct=oe.onCancel,nn=oe.onFocus,Ot=oe.onBlur,It=oe.changeOnBlur,Yt=(0,te.useState)(!1),Jt=(0,yt.Z)(Yt,2),ht=Jt[0],Nt=Jt[1],qt=(0,te.useState)(!1),An=(0,yt.Z)(qt,2),xn=An[0],Dn=An[1],zn=(0,te.useRef)(!1),On=(0,te.useRef)(!1),Pn=(0,te.useRef)(!1),La={onMouseDown:function(){Nt(!0),Le(!0)},onKeyDown:function(Aa){var Ta=function(){Pn.current=!0};if(He(Aa,Ta),!Pn.current){switch(Aa.which){case cn.Z.ENTER:{le?ft()!==!1&&Nt(!0):Le(!0),Aa.preventDefault();return}case cn.Z.TAB:{ht&&le&&!Aa.shiftKey?(Nt(!1),Aa.preventDefault()):!ht&&le&&!Qe(Aa)&&Aa.shiftKey&&(Nt(!0),Aa.preventDefault());return}case cn.Z.ESC:{Nt(!0),Ct();return}}!le&&![cn.Z.SHIFT].includes(Aa.which)?Le(!0):ht||Qe(Aa)}},onFocus:function(Aa){Nt(!0),Dn(!0),nn&&nn(Aa)},onBlur:function(Aa){if(zn.current||!Ee(document.activeElement)){zn.current=!1;return}vt?setTimeout(function(){for(var Ta=document,Qa=Ta.activeElement;Qa&&Qa.shadowRoot;)Qa=Qa.shadowRoot.activeElement;Ee(Qa)&&Ct()},0):le&&(Le(!1),On.current&&ft()),Dn(!1),Ot==null||Ot(Aa)}};return(0,te.useEffect)(function(){On.current=!1},[le]),(0,te.useEffect)(function(){On.current=!0},[ge]),(0,te.useEffect)(function(){return eo(function(ga){var Aa=Mo(ga),Ta=Ee(Aa);le&&(Ta?!It&&(!xn||Ta)&&Le(!1):(zn.current=!0,(0,kn.Z)(function(){zn.current=!1})))})}),[La,{focused:xn,typing:ht}]}function Ue(oe,le){return te.useMemo(function(){return oe||(le?((0,Te.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(le).map(function(ge){var Ee=(0,yt.Z)(ge,2),Le=Ee[0],Qe=Ee[1];return{label:Le,value:Qe}})):[])},[oe,le])}var $e=ne(34280);function Xe(oe){var le=oe.valueTexts,ge=oe.onTextChange,Ee=te.useState(""),Le=(0,yt.Z)(Ee,2),Qe=Le[0],He=Le[1],vt=te.useRef([]);vt.current=le;function ft(nn){He(nn),ge(nn)}function Ct(){He(vt.current[0])}return(0,$e.Z)(function(){le.every(function(nn){return nn!==Qe})&&Ct()},[le.join("||")]),[Qe,ft,Ct]}var Mt=te.createContext({}),on=Mt,jt=ne(39559);function oa(oe){var le=oe.cellRender,ge=oe.monthCellRender,Ee=oe.dateRender,Le=te.useMemo(function(){if(le)return le;if(!(!ge&&!Ee))return function(Qe,He){var vt=Qe;return Ee&&He.type==="date"?Ee(vt,He.today):ge&&He.type==="month"?ge(vt,He.locale):He.originNode}},[le,ge,Ee]);return Le}function Mn(oe,le){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ee=String(oe);Ee.length<le;)Ee="".concat(ge).concat(oe);return Ee}var En=function(){for(var le=arguments.length,ge=new Array(le),Ee=0;Ee<le;Ee++)ge[Ee]=arguments[Ee];return ge};function da(oe){return oe==null?[]:Array.isArray(oe)?oe:[oe]}function ta(oe,le){return oe?oe[le]:null}function Ut(oe,le,ge){var Ee=[ta(oe,0),ta(oe,1)];return Ee[ge]=typeof le=="function"?le(Ee[ge]):le,!Ee[0]&&!Ee[1]?null:Ee}function ka(oe){return typeof oe=="function"?oe():oe}function So(oe){var le=oe.cellPrefixCls,ge=oe.generateConfig,Ee=oe.rangedValue,Le=oe.hoverRangedValue,Qe=oe.isInView,He=oe.isSameCell,vt=oe.offsetCell,ft=oe.today,Ct=oe.value;function nn(Ot){var It,Yt=vt(Ot,-1),Jt=vt(Ot,1),ht=ta(Ee,0),Nt=ta(Ee,1),qt=ta(Le,0),An=ta(Le,1),xn=xt(ge,qt,An,Ot);function Dn(Aa){return He(ht,Aa)}function zn(Aa){return He(Nt,Aa)}var On=He(qt,Ot),Pn=He(An,Ot),La=(xn||Pn)&&(!Qe(Yt)||zn(Yt)),ga=(xn||On)&&(!Qe(Jt)||Dn(Jt));return It={},(0,xe.Z)(It,"".concat(le,"-in-view"),Qe(Ot)),(0,xe.Z)(It,"".concat(le,"-in-range"),xt(ge,ht,Nt,Ot)),(0,xe.Z)(It,"".concat(le,"-range-start"),Dn(Ot)),(0,xe.Z)(It,"".concat(le,"-range-end"),zn(Ot)),(0,xe.Z)(It,"".concat(le,"-range-start-single"),Dn(Ot)&&!Nt),(0,xe.Z)(It,"".concat(le,"-range-end-single"),zn(Ot)&&!ht),(0,xe.Z)(It,"".concat(le,"-range-start-near-hover"),Dn(Ot)&&(He(Yt,qt)||xt(ge,qt,An,Yt))),(0,xe.Z)(It,"".concat(le,"-range-end-near-hover"),zn(Ot)&&(He(Jt,An)||xt(ge,qt,An,Jt))),(0,xe.Z)(It,"".concat(le,"-range-hover"),xn),(0,xe.Z)(It,"".concat(le,"-range-hover-start"),On),(0,xe.Z)(It,"".concat(le,"-range-hover-end"),Pn),(0,xe.Z)(It,"".concat(le,"-range-hover-edge-start"),La),(0,xe.Z)(It,"".concat(le,"-range-hover-edge-end"),ga),(0,xe.Z)(It,"".concat(le,"-range-hover-edge-start-near-range"),La&&He(Yt,Nt)),(0,xe.Z)(It,"".concat(le,"-range-hover-edge-end-near-range"),ga&&He(Jt,ht)),(0,xe.Z)(It,"".concat(le,"-today"),He(ft,Ot)),(0,xe.Z)(It,"".concat(le,"-selected"),He(Ct,Ot)),It}return nn}var Ya=te.createContext({}),Ha=Ya;function Wa(oe,le,ge,Ee,Le){var Qe=oe.setHour(le,ge);return Qe=oe.setMinute(Qe,Ee),Qe=oe.setSecond(Qe,Le),Qe}function To(oe,le,ge){if(!ge)return le;var Ee=le;return Ee=oe.setHour(Ee,oe.getHour(ge)),Ee=oe.setMinute(Ee,oe.getMinute(ge)),Ee=oe.setSecond(Ee,oe.getSecond(ge)),Ee}function zo(oe,le,ge,Ee,Le,Qe){var He=Math.floor(oe/Ee)*Ee;if(He<oe)return[He,60-Le,60-Qe];var vt=Math.floor(le/Le)*Le;if(vt<le)return[He,vt,60-Qe];var ft=Math.floor(ge/Qe)*Qe;return[He,vt,ft]}function Xo(oe,le){var ge=oe.getYear(le),Ee=oe.getMonth(le)+1,Le=oe.getEndDate(oe.getFixedDate("".concat(ge,"-").concat(Ee,"-01"))),Qe=oe.getDate(Le),He=Ee<10?"0".concat(Ee):"".concat(Ee);return"".concat(ge,"-").concat(He,"-").concat(Qe)}function $o(oe){for(var le=oe.prefixCls,ge=oe.disabledDate,Ee=oe.onSelect,Le=oe.picker,Qe=oe.rowNum,He=oe.colNum,vt=oe.prefixColumn,ft=oe.rowClassName,Ct=oe.baseDate,nn=oe.getCellClassName,Ot=oe.getCellText,It=oe.getCellNode,Yt=oe.getCellDate,Jt=oe.generateConfig,ht=oe.titleCell,Nt=oe.headerCells,qt=te.useContext(on),An=qt.onDateMouseEnter,xn=qt.onDateMouseLeave,Dn=qt.mode,zn="".concat(le,"-cell"),On=[],Pn=0;Pn<Qe;Pn+=1){for(var La=[],ga=void 0,Aa=function(){var io,Po=Pn*He+Ta,Ja=Yt(Ct,Po),Oa=Xt({cellDate:Ja,mode:Dn,disabledDate:ge,generateConfig:Jt});Ta===0&&(ga=Ja,vt&&La.push(vt(ga)));var Ra=ht&&ht(Ja),to=te.createElement("div",{className:"".concat(zn,"-inner")},Ot(Ja));La.push(te.createElement("td",{key:Ta,title:Ra,className:De()(zn,(0,At.Z)((io={},(0,xe.Z)(io,"".concat(zn,"-disabled"),Oa),(0,xe.Z)(io,"".concat(zn,"-start"),Ot(Ja)===1||Le==="year"&&Number(Ra)%10===0),(0,xe.Z)(io,"".concat(zn,"-end"),Ra===Xo(Jt,Ja)||Le==="year"&&Number(Ra)%10===9),io),nn(Ja))),onClick:function(){Oa||Ee(Ja)},onMouseEnter:function(){!Oa&&An&&An(Ja)},onMouseLeave:function(){!Oa&&xn&&xn(Ja)}},It?It(Ja,to):to))},Ta=0;Ta<He;Ta+=1)Aa();On.push(te.createElement("tr",{key:Pn,className:ft&&ft(ga)},La))}return te.createElement("div",{className:"".concat(le,"-body")},te.createElement("table",{className:"".concat(le,"-content")},Nt&&te.createElement("thead",null,te.createElement("tr",null,Nt)),te.createElement("tbody",null,On)))}function er(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.prefixColumn,Le=oe.locale,Qe=oe.rowCount,He=oe.viewDate,vt=oe.value,ft=oe.cellRender,Ct=oe.isSameCell,nn=te.useContext(Ha),Ot=nn.rangedValue,It=nn.hoverRangedValue,Yt=Ht(Le.locale,ge,He),Jt="".concat(le,"-cell"),ht=ge.locale.getWeekFirstDay(Le.locale),Nt=ge.getNow(),qt=[],An=Le.shortWeekDays||(ge.locale.getShortWeekDays?ge.locale.getShortWeekDays(Le.locale):[]);Ee&&qt.push(te.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var xn=0;xn<ze;xn+=1)qt.push(te.createElement("th",{key:xn},An[(xn+ht)%ze]));var Dn=So({cellPrefixCls:Jt,today:Nt,value:vt,generateConfig:ge,rangedValue:Ee?null:Ot,hoverRangedValue:Ee?null:It,isSameCell:Ct||function(On,Pn){return je(ge,On,Pn)},isInView:function(Pn){return Ce(ge,Pn,He)},offsetCell:function(Pn,La){return ge.addDate(Pn,La)}}),zn=ft?function(On,Pn){return ft(On,{originNode:Pn,today:Nt,type:"date",locale:Le})}:void 0;return te.createElement($o,(0,ae.Z)({},oe,{rowNum:Qe,colNum:ze,baseDate:Yt,getCellNode:zn,getCellText:ge.getDate,getCellClassName:Dn,getCellDate:ge.addDate,titleCell:function(Pn){return tn(Pn,{locale:Le,format:"YYYY-MM-DD",generateConfig:ge})},headerCells:qt}))}var Co=er,lr={visibility:"hidden"};function yr(oe){var le=oe.prefixCls,ge=oe.prevIcon,Ee=ge===void 0?"\u2039":ge,Le=oe.nextIcon,Qe=Le===void 0?"\u203A":Le,He=oe.superPrevIcon,vt=He===void 0?"\xAB":He,ft=oe.superNextIcon,Ct=ft===void 0?"\xBB":ft,nn=oe.onSuperPrev,Ot=oe.onSuperNext,It=oe.onPrev,Yt=oe.onNext,Jt=oe.children,ht=te.useContext(on),Nt=ht.hideNextBtn,qt=ht.hidePrevBtn;return te.createElement("div",{className:le},nn&&te.createElement("button",{type:"button",onClick:nn,tabIndex:-1,className:"".concat(le,"-super-prev-btn"),style:qt?lr:{}},vt),It&&te.createElement("button",{type:"button",onClick:It,tabIndex:-1,className:"".concat(le,"-prev-btn"),style:qt?lr:{}},Ee),te.createElement("div",{className:"".concat(le,"-view")},Jt),Yt&&te.createElement("button",{type:"button",onClick:Yt,tabIndex:-1,className:"".concat(le,"-next-btn"),style:Nt?lr:{}},Qe),Ot&&te.createElement("button",{type:"button",onClick:Ot,tabIndex:-1,className:"".concat(le,"-super-next-btn"),style:Nt?lr:{}},Ct))}var sr=yr;function en(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.locale,Le=oe.viewDate,Qe=oe.onNextMonth,He=oe.onPrevMonth,vt=oe.onNextYear,ft=oe.onPrevYear,Ct=oe.onYearClick,nn=oe.onMonthClick,Ot=te.useContext(on),It=Ot.hideHeader;if(It)return null;var Yt="".concat(le,"-header"),Jt=Ee.shortMonths||(ge.locale.getShortMonths?ge.locale.getShortMonths(Ee.locale):[]),ht=ge.getMonth(Le),Nt=te.createElement("button",{type:"button",key:"year",onClick:Ct,tabIndex:-1,className:"".concat(le,"-year-btn")},tn(Le,{locale:Ee,format:Ee.yearFormat,generateConfig:ge})),qt=te.createElement("button",{type:"button",key:"month",onClick:nn,tabIndex:-1,className:"".concat(le,"-month-btn")},Ee.monthFormat?tn(Le,{locale:Ee,format:Ee.monthFormat,generateConfig:ge}):Jt[ht]),An=Ee.monthBeforeYear?[qt,Nt]:[Nt,qt];return te.createElement(sr,(0,ae.Z)({},oe,{prefixCls:Yt,onSuperPrev:ft,onPrev:He,onNext:Qe,onSuperNext:vt}),An)}var di=en,Lr=6;function Nr(oe){var le=oe.prefixCls,ge=oe.panelName,Ee=ge===void 0?"date":ge,Le=oe.keyboardConfig,Qe=oe.active,He=oe.operationRef,vt=oe.generateConfig,ft=oe.value,Ct=oe.viewDate,nn=oe.onViewDateChange,Ot=oe.onPanelChange,It=oe.onSelect,Yt="".concat(le,"-").concat(Ee,"-panel");He.current={onKeyDown:function(qt){return Na(qt,(0,At.Z)({onLeftRight:function(xn){It(vt.addDate(ft||Ct,xn),"key")},onCtrlLeftRight:function(xn){It(vt.addYear(ft||Ct,xn),"key")},onUpDown:function(xn){It(vt.addDate(ft||Ct,xn*ze),"key")},onPageUpDown:function(xn){It(vt.addMonth(ft||Ct,xn),"key")}},Le))}};var Jt=function(qt){var An=vt.addYear(Ct,qt);nn(An),Ot(null,An)},ht=function(qt){var An=vt.addMonth(Ct,qt);nn(An),Ot(null,An)};return te.createElement("div",{className:De()(Yt,(0,xe.Z)({},"".concat(Yt,"-active"),Qe))},te.createElement(di,(0,ae.Z)({},oe,{prefixCls:le,value:ft,viewDate:Ct,onPrevYear:function(){Jt(-1)},onNextYear:function(){Jt(1)},onPrevMonth:function(){ht(-1)},onNextMonth:function(){ht(1)},onMonthClick:function(){Ot("month",Ct)},onYearClick:function(){Ot("year",Ct)}})),te.createElement(Co,(0,ae.Z)({},oe,{onSelect:function(qt){return It(qt,"mouse")},prefixCls:le,value:ft,viewDate:Ct,rowCount:Lr})))}var nr=Nr;function vn(oe){var le=te.useContext(on),ge=le.hideHeader;if(ge)return null;var Ee=oe.prefixCls,Le=oe.generateConfig,Qe=oe.locale,He=oe.value,vt=oe.format,ft="".concat(Ee,"-header");return te.createElement(sr,{prefixCls:ft},He?tn(He,{locale:Qe,format:vt,generateConfig:Le}):"\xA0")}var na=vn;function Ba(oe){var le=oe.value,ge=oe.generateConfig,Ee=oe.disabledMinutes,Le=oe.disabledSeconds,Qe=oe.minutes,He=oe.seconds,vt=oe.use12Hours,ft=function(nn,Ot,It,Yt){var Jt=ge.getNow(),ht=le||Jt,Nt=Ot<0?ge.getHour(Jt):Ot,qt=It<0?ge.getMinute(Jt):It,An=Yt<0?ge.getSecond(Jt):Yt,xn=Ee&&Ee(Nt);if(xn!=null&&xn.includes(qt)){var Dn=Qe.find(function(Pn){return!xn.includes(Pn.value)});if(Dn)qt=Dn.value;else return null}var zn=Le&&Le(Nt,qt);if(zn!=null&&zn.includes(An)){var On=He.find(function(Pn){return!zn.includes(Pn.value)});if(On)An=On.value;else return null}return ht=Wa(ge,ht,!vt||!nn?Nt:Nt+12,qt,An),ht};return ft}function aa(oe){var le=oe.prefixCls,ge=oe.units,Ee=oe.onSelect,Le=oe.value,Qe=oe.active,He=oe.hideDisabledOptions,vt=oe.info,ft=oe.type,Ct="".concat(le,"-cell"),nn=te.useContext(on),Ot=nn.open,It=(0,te.useRef)(null),Yt=(0,te.useRef)(new Map),Jt=(0,te.useRef)();return(0,te.useLayoutEffect)(function(){var ht=Yt.current.get(Le);ht&&Ot!==!1&&Fa(It.current,ht.offsetTop,120)},[Le]),(0,te.useLayoutEffect)(function(){if(Ot){var ht=Yt.current.get(Le);ht&&(Jt.current=Ea(ht,function(){Fa(It.current,ht.offsetTop,0)}))}return function(){var Nt;(Nt=Jt.current)===null||Nt===void 0||Nt.call(Jt)}},[Ot]),te.createElement("ul",{className:De()("".concat(le,"-column"),(0,xe.Z)({},"".concat(le,"-column-active"),Qe)),ref:It,style:{position:"relative"}},ge.map(function(ht){var Nt;return He&&ht.disabled?null:te.createElement("li",{key:ht.value,ref:function(An){Yt.current.set(ht.value,An)},className:De()(Ct,(Nt={},(0,xe.Z)(Nt,"".concat(Ct,"-disabled"),ht.disabled),(0,xe.Z)(Nt,"".concat(Ct,"-selected"),Le===ht.value),Nt)),onClick:function(){ht.disabled||Ee(ht.value)}},vt.cellRender?vt.cellRender(ht.value,{today:vt.today,locale:vt.locale,originNode:te.createElement("div",{className:"".concat(Ct,"-inner")},ht.label),type:"time",subType:ft}):te.createElement("div",{className:"".concat(Ct,"-inner")},ht.label))}))}var ro=aa;function uo(oe,le){if(oe.length!==le.length)return!0;for(var ge=0;ge<oe.length;ge+=1)if(oe[ge].disabled!==le[ge].disabled)return!0;return!1}function Oo(oe,le,ge,Ee){for(var Le=[],Qe=ge>=1?ge|0:1,He=oe;He<=le;He+=Qe)Le.push({label:Mn(He,2),value:He,disabled:(Ee||[]).includes(He)});return Le}function qo(oe){var le=oe.generateConfig,ge=oe.prefixCls,Ee=oe.operationRef,Le=oe.activeColumnIndex,Qe=oe.value,He=oe.showHour,vt=oe.showMinute,ft=oe.showSecond,Ct=oe.use12Hours,nn=oe.hourStep,Ot=nn===void 0?1:nn,It=oe.minuteStep,Yt=It===void 0?1:It,Jt=oe.secondStep,ht=Jt===void 0?1:Jt,Nt=oe.disabledHours,qt=oe.disabledMinutes,An=oe.disabledSeconds,xn=oe.disabledTime,Dn=oe.hideDisabledOptions,zn=oe.onSelect,On=oe.cellRender,Pn=oe.locale,La=[],ga="".concat(ge,"-content"),Aa="".concat(ge,"-time-panel"),Ta,Qa=Qe?le.getHour(Qe):-1,io=Qa,Po=Qe?le.getMinute(Qe):-1,Ja=Qe?le.getSecond(Qe):-1,Oa=le.getNow(),Ra=te.useMemo(function(){if(xn){var tt=xn(Oa);return[tt.disabledHours,tt.disabledMinutes,tt.disabledSeconds]}return[Nt,qt,An]},[Nt,qt,An,xn,Oa]),to=(0,yt.Z)(Ra,3),lo=to[0],Ga=to[1],Va=to[2],ko=Oo(0,23,Ot,lo&&lo()),Bo=(0,Oe.Z)(function(){return ko},ko,uo);Ct&&(Ta=io>=12,io%=12);var de=te.useMemo(function(){if(!Ct)return[!1,!1];var tt=[!0,!0];return Bo.forEach(function(rt){var Et=rt.disabled,wt=rt.value;Et||(wt>=12?tt[1]=!1:tt[0]=!1)}),tt},[Ct,Bo]),ce=(0,yt.Z)(de,2),Se=ce[0],we=ce[1],Ne=te.useMemo(function(){return Ct?Bo.filter(Ta?function(tt){return tt.value>=12}:function(tt){return tt.value<12}).map(function(tt){var rt=tt.value%12,Et=rt===0?"12":Mn(rt,2);return(0,At.Z)((0,At.Z)({},tt),{},{label:Et,value:rt})}):Bo},[Ct,Ta,Bo]),Fe=Oo(0,59,Yt,Ga&&Ga(Qa)),Ye=Oo(0,59,ht,Va&&Va(Qa,Po)),Ke=Ba({value:Qe,generateConfig:le,disabledMinutes:Ga,disabledSeconds:Va,minutes:Fe,seconds:Ye,use12Hours:Ct});Ee.current={onUpDown:function(rt){var Et=La[Le];if(Et)for(var wt=Et.units.findIndex(function(an){return an.value===Et.value}),Ft=Et.units.length,Qt=1;Qt<Ft;Qt+=1){var Wt=Et.units[(wt+rt*Qt+Ft)%Ft];if(Wt.disabled!==!0){Et.onSelect(Wt.value);break}}}};function Ze(tt,rt,Et,wt,Ft){tt!==!1&&La.push({node:te.cloneElement(rt,{prefixCls:Aa,value:Et,active:Le===La.length,onSelect:Ft,units:wt,hideDisabledOptions:Dn}),onSelect:Ft,value:Et,units:wt})}Ze(He,te.createElement(ro,{key:"hour",type:"hour",info:{today:Oa,locale:Pn,cellRender:On}}),io,Ne,function(tt){zn(Ke(Ta,tt,Po,Ja),"mouse")}),Ze(vt,te.createElement(ro,{key:"minute",type:"minute",info:{today:Oa,locale:Pn,cellRender:On}}),Po,Fe,function(tt){zn(Ke(Ta,io,tt,Ja),"mouse")}),Ze(ft,te.createElement(ro,{key:"second",type:"second",info:{today:Oa,locale:Pn,cellRender:On}}),Ja,Ye,function(tt){zn(Ke(Ta,io,Po,tt),"mouse")});var lt=-1;return typeof Ta=="boolean"&&(lt=Ta?1:0),Ze(Ct===!0,te.createElement(ro,{key:"meridiem",type:"meridiem",info:{today:Oa,locale:Pn,cellRender:On}}),lt,[{label:"AM",value:0,disabled:Se},{label:"PM",value:1,disabled:we}],function(tt){zn(Ke(!!tt,io,Po,Ja),"mouse")}),te.createElement("div",{className:ga},La.map(function(tt){var rt=tt.node;return rt}))}var ar=qo,Xr=function(le){return le.filter(function(ge){return ge!==!1}).length};function Br(oe){var le=oe.generateConfig,ge=oe.format,Ee=ge===void 0?"HH:mm:ss":ge,Le=oe.prefixCls,Qe=oe.active,He=oe.operationRef,vt=oe.showHour,ft=oe.showMinute,Ct=oe.showSecond,nn=oe.use12Hours,Ot=nn===void 0?!1:nn,It=oe.onSelect,Yt=oe.value,Jt="".concat(Le,"-time-panel"),ht=te.useRef(),Nt=te.useState(-1),qt=(0,yt.Z)(Nt,2),An=qt[0],xn=qt[1],Dn=Xr([vt,ft,Ct,Ot]);return He.current={onKeyDown:function(On){return Na(On,{onLeftRight:function(La){xn((An+La+Dn)%Dn)},onUpDown:function(La){An===-1?xn(0):ht.current&&ht.current.onUpDown(La)},onEnter:function(){It(Yt||le.getNow(),"key"),xn(-1)}})},onBlur:function(){xn(-1)}},te.createElement("div",{className:De()(Jt,(0,xe.Z)({},"".concat(Jt,"-active"),Qe))},te.createElement(na,(0,ae.Z)({},oe,{format:Ee,prefixCls:Le})),te.createElement(ar,(0,ae.Z)({},oe,{prefixCls:Le,activeColumnIndex:An,operationRef:ht})))}var si=Br,gi=En("date","time");function ci(oe){var le=oe.prefixCls,ge=oe.operationRef,Ee=oe.generateConfig,Le=oe.value,Qe=oe.defaultValue,He=oe.disabledTime,vt=oe.showTime,ft=oe.onSelect,Ct=oe.cellRender,nn="".concat(le,"-datetime-panel"),Ot=te.useState(null),It=(0,yt.Z)(Ot,2),Yt=It[0],Jt=It[1],ht=te.useRef({}),Nt=te.useRef({}),qt=(0,jt.Z)(vt)==="object"?(0,At.Z)({},vt):{};function An(On){var Pn=gi.indexOf(Yt)+On,La=gi[Pn]||null;return La}var xn=function(Pn){Nt.current.onBlur&&Nt.current.onBlur(Pn),Jt(null)};ge.current={onKeyDown:function(Pn){if(Pn.which===cn.Z.TAB){var La=An(Pn.shiftKey?-1:1);return Jt(La),La&&Pn.preventDefault(),!0}if(Yt){var ga=Yt==="date"?ht:Nt;return ga.current&&ga.current.onKeyDown&&ga.current.onKeyDown(Pn),!0}return[cn.Z.LEFT,cn.Z.RIGHT,cn.Z.UP,cn.Z.DOWN].includes(Pn.which)?(Jt("date"),!0):!1},onBlur:xn,onClose:xn};var Dn=function(Pn,La){var ga=Pn;La==="date"&&!Le&&qt.defaultValue?(ga=Ee.setHour(ga,Ee.getHour(qt.defaultValue)),ga=Ee.setMinute(ga,Ee.getMinute(qt.defaultValue)),ga=Ee.setSecond(ga,Ee.getSecond(qt.defaultValue))):La==="time"&&!Le&&Qe&&(ga=Ee.setYear(ga,Ee.getYear(Qe)),ga=Ee.setMonth(ga,Ee.getMonth(Qe)),ga=Ee.setDate(ga,Ee.getDate(Qe))),ft&&ft(ga,"mouse")},zn=He?He(Le||null):{};return te.createElement("div",{className:De()(nn,(0,xe.Z)({},"".concat(nn,"-active"),Yt))},te.createElement(nr,(0,ae.Z)({},oe,{cellRender:Ct,operationRef:ht,active:Yt==="date",onSelect:function(Pn){Dn(To(Ee,Pn,!Le&&(0,jt.Z)(vt)==="object"?vt.defaultValue:null),"date")}})),te.createElement(si,(0,ae.Z)({},oe,{cellRender:Ct?function(On,Pn){return Ct(On,(0,At.Z)((0,At.Z)({},Pn),{},{type:"time"}))}:void 0,format:void 0},qt,zn,{disabledTime:null,defaultValue:void 0,operationRef:Nt,active:Yt==="time",onSelect:function(Pn){Dn(Pn,"time")}})))}var ui=ci;function mi(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.viewDate,Le=oe.onPrevDecades,Qe=oe.onNextDecades,He=te.useContext(on),vt=He.hideHeader;if(vt)return null;var ft="".concat(le,"-header"),Ct=ge.getYear(Ee),nn=Math.floor(Ct/me)*me,Ot=nn+me-1;return te.createElement(sr,(0,ae.Z)({},oe,{prefixCls:ft,onSuperPrev:Le,onSuperNext:Qe}),nn,"-",Ot)}var $r=mi,Tr=3,mr=4;function zr(oe){var le=ye-1,ge=oe.prefixCls,Ee=oe.viewDate,Le=oe.generateConfig,Qe=oe.cellRender,He=oe.locale,vt="".concat(ge,"-cell"),ft=Le.getYear(Ee),Ct=Math.floor(ft/ye)*ye,nn=Math.floor(ft/me)*me,Ot=nn+me-1,It=Le.setYear(Ee,nn-Math.ceil((Tr*mr*ye-me)/2)),Yt=function(Nt){var qt,An=Le.getYear(Nt),xn=An+le;return qt={},(0,xe.Z)(qt,"".concat(vt,"-in-view"),nn<=An&&xn<=Ot),(0,xe.Z)(qt,"".concat(vt,"-selected"),An===Ct),qt},Jt=Qe?function(ht,Nt){return Qe(ht,{originNode:Nt,today:Le.getNow(),type:"decade",locale:He})}:void 0;return te.createElement($o,(0,ae.Z)({},oe,{rowNum:mr,colNum:Tr,baseDate:It,getCellNode:Jt,getCellText:function(Nt){var qt=Le.getYear(Nt);return"".concat(qt,"-").concat(qt+le)},getCellClassName:Yt,getCellDate:function(Nt,qt){return Le.addYear(Nt,qt*ye)}}))}var Hr=zr;function Gr(oe){var le=oe.prefixCls,ge=oe.onViewDateChange,Ee=oe.generateConfig,Le=oe.viewDate,Qe=oe.operationRef,He=oe.onSelect,vt=oe.onPanelChange,ft="".concat(le,"-decade-panel");Qe.current={onKeyDown:function(It){return Na(It,{onLeftRight:function(Jt){He(Ee.addYear(Le,Jt*ye),"key")},onCtrlLeftRight:function(Jt){He(Ee.addYear(Le,Jt*me),"key")},onUpDown:function(Jt){He(Ee.addYear(Le,Jt*ye*Tr),"key")},onEnter:function(){vt("year",Le)}})}};var Ct=function(It){var Yt=Ee.addYear(Le,It*me);ge(Yt),vt(null,Yt)},nn=function(It){He(It,"mouse"),vt("year",It)};return te.createElement("div",{className:ft},te.createElement($r,(0,ae.Z)({},oe,{prefixCls:le,onPrevDecades:function(){Ct(-1)},onNextDecades:function(){Ct(1)}})),te.createElement(Hr,(0,ae.Z)({},oe,{prefixCls:le,onSelect:nn})))}var Di=Gr;function qr(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.locale,Le=oe.viewDate,Qe=oe.onNextYear,He=oe.onPrevYear,vt=oe.onYearClick,ft=te.useContext(on),Ct=ft.hideHeader;if(Ct)return null;var nn="".concat(le,"-header");return te.createElement(sr,(0,ae.Z)({},oe,{prefixCls:nn,onSuperPrev:He,onSuperNext:Qe}),te.createElement("button",{type:"button",onClick:vt,className:"".concat(le,"-year-btn")},tn(Le,{locale:Ee,format:Ee.yearFormat,generateConfig:ge})))}var pl=qr,_r=3,gr=4;function Fi(oe){var le=oe.prefixCls,ge=oe.locale,Ee=oe.value,Le=oe.viewDate,Qe=oe.generateConfig,He=oe.cellRender,vt=te.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn="".concat(le,"-cell"),Ot=So({cellPrefixCls:nn,value:Ee,generateConfig:Qe,rangedValue:ft,hoverRangedValue:Ct,isSameCell:function(Nt,qt){return Ce(Qe,Nt,qt)},isInView:function(){return!0},offsetCell:function(Nt,qt){return Qe.addMonth(Nt,qt)}}),It=ge.shortMonths||(Qe.locale.getShortMonths?Qe.locale.getShortMonths(ge.locale):[]),Yt=Qe.setMonth(Le,0),Jt=He?function(ht,Nt){return He(ht,{originNode:Nt,locale:ge,today:Qe.getNow(),type:"month"})}:void 0;return te.createElement($o,(0,ae.Z)({},oe,{rowNum:gr,colNum:_r,baseDate:Yt,getCellNode:Jt,getCellText:function(Nt){return ge.monthFormat?tn(Nt,{locale:ge,format:ge.monthFormat,generateConfig:Qe}):It[Qe.getMonth(Nt)]},getCellClassName:Ot,getCellDate:Qe.addMonth,titleCell:function(Nt){return tn(Nt,{locale:ge,format:"YYYY-MM",generateConfig:Qe})}}))}var fr=Fi;function ki(oe){var le=oe.prefixCls,ge=oe.operationRef,Ee=oe.onViewDateChange,Le=oe.generateConfig,Qe=oe.value,He=oe.viewDate,vt=oe.onPanelChange,ft=oe.onSelect,Ct="".concat(le,"-month-panel");ge.current={onKeyDown:function(It){return Na(It,{onLeftRight:function(Jt){ft(Le.addMonth(Qe||He,Jt),"key")},onCtrlLeftRight:function(Jt){ft(Le.addYear(Qe||He,Jt),"key")},onUpDown:function(Jt){ft(Le.addMonth(Qe||He,Jt*_r),"key")},onEnter:function(){vt("date",Qe||He)}})}};var nn=function(It){var Yt=Le.addYear(He,It);Ee(Yt),vt(null,Yt)};return te.createElement("div",{className:Ct},te.createElement(pl,(0,ae.Z)({},oe,{prefixCls:le,onPrevYear:function(){nn(-1)},onNextYear:function(){nn(1)},onYearClick:function(){vt("year",He)}})),te.createElement(fr,(0,ae.Z)({},oe,{prefixCls:le,onSelect:function(It){ft(It,"mouse"),vt("date",It)}})))}var Oi=ki;function Ri(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.locale,Le=oe.viewDate,Qe=oe.onNextYear,He=oe.onPrevYear,vt=oe.onYearClick,ft=te.useContext(on),Ct=ft.hideHeader;if(Ct)return null;var nn="".concat(le,"-header");return te.createElement(sr,(0,ae.Z)({},oe,{prefixCls:nn,onSuperPrev:He,onSuperNext:Qe}),te.createElement("button",{type:"button",onClick:vt,className:"".concat(le,"-year-btn")},tn(Le,{locale:Ee,format:Ee.yearFormat,generateConfig:ge})))}var Ii=Ri,Mi=4,Pl=1;function yl(oe){var le=oe.prefixCls,ge=oe.locale,Ee=oe.value,Le=oe.viewDate,Qe=oe.generateConfig,He=oe.cellRender,vt=te.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn="".concat(le,"-cell"),Ot=So({cellPrefixCls:nn,value:Ee,generateConfig:Qe,rangedValue:ft,hoverRangedValue:Ct,isSameCell:function(ht,Nt){return Re(Qe,ht,Nt)},isInView:function(){return!0},offsetCell:function(ht,Nt){return Qe.addMonth(ht,Nt*3)}}),It=Qe.setDate(Qe.setMonth(Le,0),1),Yt=He?function(Jt,ht){return He(Jt,{originNode:ht,locale:ge,today:Qe.getNow(),type:"quarter"})}:void 0;return te.createElement($o,(0,ae.Z)({},oe,{rowNum:Pl,colNum:Mi,baseDate:It,getCellNode:Yt,getCellText:function(ht){return tn(ht,{locale:ge,format:ge.quarterFormat||"[Q]Q",generateConfig:Qe})},getCellClassName:Ot,getCellDate:function(ht,Nt){return Qe.addMonth(ht,Nt*3)},titleCell:function(ht){return tn(ht,{locale:ge,format:"YYYY-[Q]Q",generateConfig:Qe})}}))}var Ti=yl;function zi(oe){var le=oe.prefixCls,ge=oe.operationRef,Ee=oe.onViewDateChange,Le=oe.generateConfig,Qe=oe.value,He=oe.viewDate,vt=oe.onPanelChange,ft=oe.onSelect,Ct="".concat(le,"-quarter-panel");ge.current={onKeyDown:function(It){return Na(It,{onLeftRight:function(Jt){ft(Le.addMonth(Qe||He,Jt*3),"key")},onCtrlLeftRight:function(Jt){ft(Le.addYear(Qe||He,Jt),"key")},onUpDown:function(Jt){ft(Le.addYear(Qe||He,Jt),"key")}})}};var nn=function(It){var Yt=Le.addYear(He,It);Ee(Yt),vt(null,Yt)};return te.createElement("div",{className:Ct},te.createElement(Ii,(0,ae.Z)({},oe,{prefixCls:le,onPrevYear:function(){nn(-1)},onNextYear:function(){nn(1)},onYearClick:function(){vt("year",He)}})),te.createElement(Ti,(0,ae.Z)({},oe,{prefixCls:le,onSelect:function(It){ft(It,"mouse")}})))}var qn=zi;function Bn(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.locale,Le=oe.value,Qe=oe.disabledDate,He=oe.onSelect,vt=te.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn=te.useContext(on),Ot=nn.onDateMouseEnter,It=nn.onDateMouseLeave,Yt=(Ct==null?void 0:Ct[0])||(ft==null?void 0:ft[0]),Jt=(Ct==null?void 0:Ct[1])||(ft==null?void 0:ft[1]),ht="".concat(le,"-cell"),Nt=function(Dn){var zn=Xt({cellDate:Dn,mode:"week",disabledDate:Qe,generateConfig:ge});return te.createElement("td",{key:"week",className:De()(ht,"".concat(ht,"-week")),onClick:function(){zn||He(Dn,"mouse")},onMouseEnter:function(){!zn&&Ot&&Ot(Dn)},onMouseLeave:function(){!zn&&It&&It(Dn)}},te.createElement("div",{className:"".concat(ht,"-inner")},ge.locale.getWeek(Ee.locale,Dn)))},qt="".concat(le,"-week-panel-row"),An=function(Dn){var zn,On=Pt(ge,Ee.locale,Yt,Dn),Pn=Pt(ge,Ee.locale,Jt,Dn);return De()(qt,(zn={},(0,xe.Z)(zn,"".concat(qt,"-selected"),!ft&&Pt(ge,Ee.locale,Le,Dn)),(0,xe.Z)(zn,"".concat(qt,"-range-start"),On),(0,xe.Z)(zn,"".concat(qt,"-range-end"),Pn),(0,xe.Z)(zn,"".concat(qt,"-range-hover"),!On&&!Pn&&xt(ge,Yt,Jt,Dn)),zn))};return te.createElement(nr,(0,ae.Z)({},oe,{panelName:"week",prefixColumn:Nt,rowClassName:An,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Gn=Bn,Zn=10;function Ma(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.viewDate,Le=oe.onPrevDecade,Qe=oe.onNextDecade,He=oe.onDecadeClick,vt=te.useContext(on),ft=vt.hideHeader;if(ft)return null;var Ct="".concat(le,"-header"),nn=ge.getYear(Ee),Ot=Math.floor(nn/Zn)*Zn,It=Ot+Zn-1;return te.createElement(sr,(0,ae.Z)({},oe,{prefixCls:Ct,onSuperPrev:Le,onSuperNext:Qe}),te.createElement("button",{type:"button",onClick:He,className:"".concat(le,"-decade-btn")},Ot,"-",It))}var mo=Ma,Lo=3,Do=4;function Ho(oe){var le=oe.prefixCls,ge=oe.value,Ee=oe.viewDate,Le=oe.locale,Qe=oe.generateConfig,He=oe.cellRender,vt=te.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn="".concat(le,"-cell"),Ot=Qe.getYear(Ee),It=Math.floor(Ot/Zn)*Zn,Yt=It+Zn-1,Jt=Qe.setYear(Ee,It-Math.ceil((Lo*Do-Zn)/2)),ht=Qe.getNow(),Nt=function(Dn){var zn=Qe.getYear(Dn);return It<=zn&&zn<=Yt},qt=So({cellPrefixCls:nn,value:ge,generateConfig:Qe,rangedValue:ft,hoverRangedValue:Ct,isSameCell:function(Dn,zn){return ve(Qe,Dn,zn)},isInView:Nt,offsetCell:function(Dn,zn){return Qe.addYear(Dn,zn)}}),An=He?function(xn,Dn){return He(xn,{originNode:Dn,today:ht,type:"year",locale:Le})}:void 0;return te.createElement($o,(0,ae.Z)({},oe,{rowNum:Do,colNum:Lo,baseDate:Jt,getCellNode:An,getCellText:Qe.getYear,getCellClassName:qt,getCellDate:Qe.addYear,titleCell:function(Dn){return tn(Dn,{locale:Le,format:"YYYY",generateConfig:Qe})}}))}var Go=Ho;function cr(oe){var le=oe.prefixCls,ge=oe.operationRef,Ee=oe.onViewDateChange,Le=oe.generateConfig,Qe=oe.value,He=oe.viewDate,vt=oe.sourceMode,ft=oe.onSelect,Ct=oe.onPanelChange,nn="".concat(le,"-year-panel");ge.current={onKeyDown:function(Yt){return Na(Yt,{onLeftRight:function(ht){ft(Le.addYear(Qe||He,ht),"key")},onCtrlLeftRight:function(ht){ft(Le.addYear(Qe||He,ht*Zn),"key")},onUpDown:function(ht){ft(Le.addYear(Qe||He,ht*Lo),"key")},onEnter:function(){Ct(vt==="date"?"date":"month",Qe||He)}})}};var Ot=function(Yt){var Jt=Le.addYear(He,Yt*10);Ee(Jt),Ct(null,Jt)};return te.createElement("div",{className:nn},te.createElement(mo,(0,ae.Z)({},oe,{prefixCls:le,onPrevDecade:function(){Ot(-1)},onNextDecade:function(){Ot(1)},onDecadeClick:function(){Ct("decade",He)}})),te.createElement(Go,(0,ae.Z)({},oe,{prefixCls:le,onSelect:function(Yt){Ct(vt==="date"?"date":"month",Yt),ft(Yt,"mouse")}})))}var _o=cr;function Dr(oe,le,ge){return ge?te.createElement("div",{className:"".concat(oe,"-footer-extra")},ge(le)):null}function Fr(oe){var le=oe.prefixCls,ge=oe.components,Ee=ge===void 0?{}:ge,Le=oe.needConfirmButton,Qe=oe.onNow,He=oe.onOk,vt=oe.okDisabled,ft=oe.showNow,Ct=oe.locale,nn,Ot;if(Le){var It=Ee.button||"button";Qe&&ft!==!1&&(nn=te.createElement("li",{className:"".concat(le,"-now")},te.createElement("a",{className:"".concat(le,"-now-btn"),onClick:Qe},Ct.now))),Ot=Le&&te.createElement("li",{className:"".concat(le,"-ok")},te.createElement(It,{disabled:vt,onClick:He},Ct.ok))}return!nn&&!Ot?null:te.createElement("ul",{className:"".concat(le,"-ranges")},nn,Ot)}var Zr=["date","month"];function Hi(oe){var le,ge=oe,Ee=ge.prefixCls,Le=Ee===void 0?"rc-picker":Ee,Qe=ge.className,He=ge.style,vt=ge.locale,ft=ge.generateConfig,Ct=ge.value,nn=ge.defaultValue,Ot=ge.pickerValue,It=ge.defaultPickerValue,Yt=ge.disabledDate,Jt=ge.mode,ht=ge.picker,Nt=ht===void 0?"date":ht,qt=ge.tabIndex,An=qt===void 0?0:qt,xn=ge.showNow,Dn=ge.showTime,zn=ge.showToday,On=ge.renderExtraFooter,Pn=ge.hideHeader,La=ge.onSelect,ga=ge.onChange,Aa=ge.onPanelChange,Ta=ge.onMouseDown,Qa=ge.onPickerValueChange,io=ge.onOk,Po=ge.components,Ja=ge.direction,Oa=ge.hourStep,Ra=Oa===void 0?1:Oa,to=ge.minuteStep,lo=to===void 0?1:to,Ga=ge.secondStep,Va=Ga===void 0?1:Ga,ko=ge.dateRender,Bo=ge.monthCellRender,de=ge.cellRender,ce=Nt==="date"&&!!Dn||Nt==="time",Se=24%Ra===0,we=60%lo===0,Ne=60%Va===0,Fe=te.useContext(on),Ye=Fe.operationRef,Ke=Fe.onSelect,Ze=Fe.hideRanges,lt=Fe.defaultOpenValue,tt=te.useContext(Ha),rt=tt.inRange,Et=tt.panelPosition,wt=tt.rangedValue,Ft=tt.hoverRangedValue,Qt=te.useRef({}),Wt=te.useRef(!0),an=(0,pn.Z)(null,{value:Ct,defaultValue:nn,postState:function(Rt){return!Rt&<&&Nt==="time"?lt:Rt}}),_t=(0,yt.Z)(an,2),ln=_t[0],Hn=_t[1],Wn=(0,pn.Z)(null,{value:Ot,defaultValue:It||ln,postState:function(Rt){var fn=ft.getNow();if(!Rt)return fn;if(!ln&&Dn){var ia=(0,jt.Z)(Dn)==="object"?Dn.defaultValue:nn;return To(ft,Array.isArray(Rt)?Rt[0]:Rt,ia||fn)}return Array.isArray(Rt)?Rt[0]:Rt}}),Nn=(0,yt.Z)(Wn,2),Kn=Nn[0],ra=Nn[1],hn=function(Rt){ra(Rt),Qa&&Qa(Rt)},Fn=function(Rt){var fn=ua[Nt];return fn?fn(Rt):Rt},yn=(0,pn.Z)(function(){return Nt==="time"?"time":Fn("date")},{value:Jt}),rn=(0,yt.Z)(yn,2),dn=rn[0],jn=rn[1];te.useEffect(function(){jn(Nt)},[Nt]);var ma=te.useState(function(){return dn}),la=(0,yt.Z)(ma,2),Rn=la[0],sa=la[1],fa=function(Rt,fn){var ia=Fn(Rt||dn);sa(dn),jn(ia),Aa&&(dn!==ia||kt(ft,Kn,Kn))&&Aa(fn,ia)},ya=function(Rt,fn){var ia=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(dn===Nt||ia)&&(Hn(Rt),La&&La(Rt),Ke&&Ke(Rt,fn),ga&&!kt(ft,Rt,ln)&&!(Yt!=null&&Yt(Rt))&&ga(Rt))},ha=function(Rt){if(Zr.includes(dn)){var fn,ia,Sa=dn==="date";switch(Rt===cn.Z.PAGE_UP||Rt===cn.Z.PAGE_DOWN?ia=Sa?ft.addMonth:ft.addYear:ia=Sa?ft.addDate:ft.addMonth,Rt){case cn.Z.LEFT:case cn.Z.PAGE_UP:fn=ia(Kn,-1);break;case cn.Z.RIGHT:case cn.Z.PAGE_DOWN:fn=ia(Kn,1);break;case cn.Z.UP:case cn.Z.DOWN:fn=ia(Kn,Number("".concat(Rt===cn.Z.UP?"-":"").concat(Sa?ze:_r)));break}if(fn)return!(Yt!=null&&Yt(fn))}return!0},Xa=function(Rt){if(Qt.current&&Qt.current.onKeyDown){var fn=!0,ia=Rt.which;if([cn.Z.LEFT,cn.Z.RIGHT,cn.Z.UP,cn.Z.DOWN,cn.Z.PAGE_UP,cn.Z.PAGE_DOWN,cn.Z.ENTER].includes(ia)&&(Rt.preventDefault(),ia!==cn.Z.ENTER&&An===0&&(fn=ha(ia))),fn)return Qt.current.onKeyDown(Rt)}return(0,Te.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Ca=function(Rt){Qt.current&&Qt.current.onBlur&&Qt.current.onBlur(Rt)};Ye&&Et!=="right"&&(Ye.current={onKeyDown:Xa,onClose:function(){Qt.current&&Qt.current.onClose&&Qt.current.onClose()}}),te.useEffect(function(){Ct&&!Wt.current&&ra(Ct)},[Ct]),te.useEffect(function(){Wt.current=!1},[]);var _n,oo=oa({cellRender:de,monthCellRender:Bo,dateRender:ko}),Jn=(0,At.Z)((0,At.Z)({},oe),{},{cellRender:oo,operationRef:Qt,prefixCls:Le,viewDate:Kn,value:ln,onViewDateChange:hn,sourceMode:Rn,onPanelChange:fa,disabledDate:Yt});switch(delete Jn.onChange,delete Jn.onSelect,dn){case"decade":_n=te.createElement(Di,(0,ae.Z)({},Jn,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}}));break;case"year":_n=te.createElement(_o,(0,ae.Z)({},Jn,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}}));break;case"month":_n=te.createElement(Oi,(0,ae.Z)({},Jn,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}}));break;case"quarter":_n=te.createElement(qn,(0,ae.Z)({},Jn,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}}));break;case"week":_n=te.createElement(Gn,(0,ae.Z)({},Jn,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}}));break;case"time":delete Jn.showTime,_n=te.createElement(si,(0,ae.Z)({},Jn,(0,jt.Z)(Dn)==="object"?Dn:null,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}}));break;default:Dn?_n=te.createElement(ui,(0,ae.Z)({},Jn,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}})):_n=te.createElement(nr,(0,ae.Z)({},Jn,{onSelect:function(Rt,fn){hn(Rt),ya(Rt,fn)}}))}var Za,Ia,yo=function(){var Rt=ft.getNow(),fn=zo(ft.getHour(Rt),ft.getMinute(Rt),ft.getSecond(Rt),Se?Ra:1,we?lo:1,Ne?Va:1),ia=Wa(ft,Rt,fn[0],fn[1],fn[2]);ya(ia,"submit")};Ze||(Za=Dr(Le,dn,On),Dn&&dn!=="date"?Ia=null:Ia=Fr({prefixCls:Le,components:Po,needConfirmButton:ce,okDisabled:!ln||Yt&&Yt(ln),locale:vt,showNow:xn,onNow:ce&&yo,onOk:function(){ln&&(ya(ln,"submit",!0),io&&io(ln))}}));var Qn;if(zn&&dn==="date"&&Nt==="date"&&!Dn){var Vn=ft.getNow(),Un="".concat(Le,"-today-btn"),Tn=Yt&&Yt(Vn);Qn=te.createElement("a",{className:De()(Un,Tn&&"".concat(Un,"-disabled")),"aria-disabled":Tn,onClick:function(){Tn||ya(Vn,"mouse",!0)}},vt.today)}return te.createElement(on.Provider,{value:(0,At.Z)((0,At.Z)({},Fe),{},{mode:dn,hideHeader:"hideHeader"in oe?Pn:Fe.hideHeader,hidePrevBtn:rt&&Et==="right",hideNextBtn:rt&&Et==="left"})},te.createElement("div",{tabIndex:An,className:De()("".concat(Le,"-panel"),Qe,(le={},(0,xe.Z)(le,"".concat(Le,"-panel-has-range"),wt&&wt[0]&&wt[1]),(0,xe.Z)(le,"".concat(Le,"-panel-has-range-hover"),Ft&&Ft[0]&&Ft[1]),(0,xe.Z)(le,"".concat(Le,"-panel-rtl"),Ja==="rtl"),le)),style:He,onKeyDown:Xa,onBlur:Ca,onMouseDown:Ta},_n,Za||Ia||Qn?te.createElement("div",{className:"".concat(Le,"-footer")},Za,Ia,Qn):null))}var hr=Hi,kr=ne(35593),Fo={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function fi(oe){var le,ge=oe.prefixCls,Ee=oe.popupElement,Le=oe.popupStyle,Qe=oe.visible,He=oe.dropdownClassName,vt=oe.dropdownAlign,ft=oe.transitionName,Ct=oe.getPopupContainer,nn=oe.children,Ot=oe.range,It=oe.popupPlacement,Yt=oe.direction,Jt="".concat(ge,"-dropdown"),ht=function(){return It!==void 0?It:Yt==="rtl"?"bottomRight":"bottomLeft"};return te.createElement(kr.Z,{showAction:[],hideAction:[],popupPlacement:ht(),builtinPlacements:Fo,prefixCls:Jt,popupTransitionName:ft,popup:Ee,popupAlign:vt,popupVisible:Qe,popupClassName:De()(He,(le={},(0,xe.Z)(le,"".concat(Jt,"-range"),Ot),(0,xe.Z)(le,"".concat(Jt,"-rtl"),Yt==="rtl"),le)),popupStyle:Le,getPopupContainer:Ct},nn)}var hi=fi;function ei(oe){var le=oe.prefixCls,ge=oe.presets,Ee=oe.onClick,Le=oe.onHover;return ge.length?te.createElement("div",{className:"".concat(le,"-presets")},te.createElement("ul",null,ge.map(function(Qe,He){var vt=Qe.label,ft=Qe.value;return te.createElement("li",{key:He,onClick:function(){return Ee==null?void 0:Ee(ka(ft))},onMouseEnter:function(){return Le==null?void 0:Le(ka(ft))},onMouseLeave:function(){return Le==null?void 0:Le(null)}},vt)}))):null}function Gi(oe){var le=oe.picker,ge=oe.disabledHours,Ee=oe.disabledMinutes,Le=oe.disabledSeconds;le==="time"&&(ge||Ee||Le)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Kr(oe,le,ge){var Ee=(0,jt.Z)(le)==="object"?le.clearIcon:ge;return Ee||te.createElement("span",{className:"".concat(oe,"-clear-btn")})}function dr(oe){var le,ge=oe,Ee=ge.prefixCls,Le=Ee===void 0?"rc-picker":Ee,Qe=ge.id,He=ge.name,vt=ge.tabIndex,ft=ge.style,Ct=ge.className,nn=ge.dropdownClassName,Ot=ge.dropdownAlign,It=ge.popupStyle,Yt=ge.transitionName,Jt=ge.generateConfig,ht=ge.locale,Nt=ge.inputReadOnly,qt=ge.allowClear,An=ge.autoFocus,xn=ge.showTime,Dn=ge.picker,zn=Dn===void 0?"date":Dn,On=ge.format,Pn=ge.use12Hours,La=ge.value,ga=ge.defaultValue,Aa=ge.presets,Ta=ge.open,Qa=ge.defaultOpen,io=ge.defaultOpenValue,Po=ge.suffixIcon,Ja=ge.clearIcon,Oa=ge.disabled,Ra=ge.disabledDate,to=ge.placeholder,lo=ge.getPopupContainer,Ga=ge.pickerRef,Va=ge.panelRender,ko=ge.onChange,Bo=ge.onOpenChange,de=ge.onFocus,ce=ge.onBlur,Se=ge.onMouseDown,we=ge.onMouseUp,Ne=ge.onMouseEnter,Fe=ge.onMouseLeave,Ye=ge.onContextMenu,Ke=ge.onClick,Ze=ge.onKeyDown,lt=ge.onSelect,tt=ge.direction,rt=ge.autoComplete,Et=rt===void 0?"off":rt,wt=ge.inputRender,Ft=ge.changeOnBlur,Qt=te.useRef(null),Wt=zn==="date"&&!!xn||zn==="time",an=Ue(Aa),_t=da(In(On,zn,xn,Pn)),ln=te.useRef(null),Hn=te.useRef(null),Wn=te.useRef(null),Nn=(0,pn.Z)(null,{value:La,defaultValue:ga}),Kn=(0,yt.Z)(Nn,2),ra=Kn[0],hn=Kn[1],Fn=te.useState(ra),yn=(0,yt.Z)(Fn,2),rn=yn[0],dn=yn[1],jn=te.useRef(null),ma=(0,pn.Z)(!1,{value:Ta,defaultValue:Qa,postState:function($n){return Oa?!1:$n},onChange:function($n){Bo&&Bo($n),!$n&&jn.current&&jn.current.onClose&&jn.current.onClose()}}),la=(0,yt.Z)(ma,2),Rn=la[0],sa=la[1],fa=bn(rn,{formatList:_t,generateConfig:Jt,locale:ht}),ya=(0,yt.Z)(fa,2),ha=ya[0],Xa=ya[1],Ca=Xe({valueTexts:ha,onTextChange:function($n){var xo=sn($n,{locale:ht,formatList:_t,generateConfig:Jt});xo&&(!Ra||!Ra(xo))&&dn(xo)}}),_n=(0,yt.Z)(Ca,3),oo=_n[0],Jn=_n[1],Za=_n[2],Ia=function($n){dn($n),hn($n),ko&&!kt(Jt,ra,$n)&&ko($n,$n?tn($n,{generateConfig:Jt,locale:ht,format:_t[0]}):"")},yo=function($n){Oa&&$n||sa($n)},Qn=function($n){return Rn&&jn.current&&jn.current.onKeyDown?jn.current.onKeyDown($n):((0,Te.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Vn=function(){for(var $n=arguments.length,xo=new Array($n),Ko=0;Ko<$n;Ko++)xo[Ko]=arguments[Ko];Ke==null||Ke.apply(void 0,xo),Qt.current&&(Qt.current.focus(),yo(!0))},Un=function($n){Ft&&Ia(rn),ce==null||ce($n)},Tn=Xn({blurToCancel:Wt,open:Rn,value:oo,triggerOpen:yo,forwardKeyDown:Qn,isClickOutside:function($n){return!va([ln.current,Hn.current,Wn.current],$n)},onSubmit:function(){return!rn||Ra&&Ra(rn)?!1:(Ia(rn),yo(!1),Za(),!0)},onCancel:function(){yo(!1),dn(ra),Za()},onKeyDown:function($n,xo){Ze==null||Ze($n,xo)},onFocus:de,onBlur:Un,changeOnBlur:Ft}),Ln=(0,yt.Z)(Tn,2),Rt=Ln[0],fn=Ln[1],ia=fn.focused,Sa=fn.typing;te.useEffect(function(){Rn||(dn(ra),!ha.length||ha[0]===""?Jn(""):Xa!==oo&&Za())},[Rn,ha]),te.useEffect(function(){Rn||Za()},[zn]),te.useEffect(function(){dn(ra)},[ra]),Ga&&(Ga.current={focus:function(){var $n;($n=Qt.current)===null||$n===void 0||$n.focus()},blur:function(){var $n;($n=Qt.current)===null||$n===void 0||$n.blur()}});var Ro=Cn(oo,{formatList:_t,generateConfig:Jt,locale:ht}),Ao=(0,yt.Z)(Ro,3),or=Ao[0],fo=Ao[1],so=Ao[2],Yn=(0,At.Z)((0,At.Z)({},oe),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Zo=te.createElement("div",{className:"".concat(Le,"-panel-layout")},te.createElement(ei,{prefixCls:Le,presets:an,onClick:function($n){Ia($n),yo(!1)}}),te.createElement(hr,(0,ae.Z)({},Yn,{generateConfig:Jt,className:De()((0,xe.Z)({},"".concat(Le,"-panel-focused"),!Sa)),value:rn,locale:ht,tabIndex:-1,onSelect:function($n){lt==null||lt($n),dn($n)},direction:tt,onPanelChange:function($n,xo){var Ko=oe.onPanelChange;so(!0),Ko==null||Ko($n,xo)}})));Va&&(Zo=Va(Zo));var Wo=te.createElement("div",{className:"".concat(Le,"-panel-container"),ref:ln,onMouseDown:function($n){$n.preventDefault()}},Zo),za;Po&&(za=te.createElement("span",{className:"".concat(Le,"-suffix"),onMouseDown:function($n){$n.preventDefault()}},Po));var Ka=Kr(Le,qt,Ja),co=te.createElement("span",{onMouseDown:function($n){$n.preventDefault(),$n.stopPropagation()},onMouseUp:function($n){$n.preventDefault(),$n.stopPropagation(),Ia(null),yo(!1)},className:"".concat(Le,"-clear"),role:"button"},Ka),wo=!!qt&&ra&&!Oa,bo=(0,At.Z)((0,At.Z)((0,At.Z)({id:Qe,tabIndex:vt,disabled:Oa,readOnly:Nt||typeof _t[0]=="function"||!Sa,value:or||oo,onChange:function($n){Jn($n.target.value)},autoFocus:An,placeholder:to,ref:Qt,title:oo},Rt),{},{size:qa(zn,_t[0],Jt),name:He},(0,Sn.Z)(oe,{aria:!0,data:!0})),{},{autoComplete:Et}),wa=wt?wt(bo):te.createElement("input",bo),Vo=function($n,xo){(xo==="submit"||xo!=="key"&&!Wt)&&(Ia($n),yo(!1))},Io=tt==="rtl"?"bottomRight":"bottomLeft";return te.createElement(on.Provider,{value:{operationRef:jn,hideHeader:zn==="time",onSelect:Vo,open:Rn,defaultOpenValue:io,onDateMouseEnter:fo,onDateMouseLeave:so}},te.createElement(hi,{visible:Rn,popupElement:Wo,popupStyle:It,prefixCls:Le,dropdownClassName:nn,dropdownAlign:Ot,getPopupContainer:lo,transitionName:Yt,popupPlacement:Io,direction:tt},te.createElement("div",{ref:Wn,className:De()(Le,Ct,(le={},(0,xe.Z)(le,"".concat(Le,"-disabled"),Oa),(0,xe.Z)(le,"".concat(Le,"-focused"),ia),(0,xe.Z)(le,"".concat(Le,"-rtl"),tt==="rtl"),le)),style:ft,onMouseDown:Se,onMouseUp:we,onMouseEnter:Ne,onMouseLeave:Fe,onContextMenu:Ye,onClick:Vn},te.createElement("div",{className:De()("".concat(Le,"-input"),(0,xe.Z)({},"".concat(Le,"-input-placeholder"),!!or)),ref:Hn},wa,za,wo&&co))))}var vi=function(oe){(0,qe.Z)(ge,oe);var le=(0,Vt.Z)(ge);function ge(){var Ee;(0,Ve.Z)(this,ge);for(var Le=arguments.length,Qe=new Array(Le),He=0;He<Le;He++)Qe[He]=arguments[He];return Ee=le.call.apply(le,[this].concat(Qe)),(0,xe.Z)((0,$t.Z)(Ee),"pickerRef",te.createRef()),(0,xe.Z)((0,$t.Z)(Ee),"focus",function(){Ee.pickerRef.current&&Ee.pickerRef.current.focus()}),(0,xe.Z)((0,$t.Z)(Ee),"blur",function(){Ee.pickerRef.current&&Ee.pickerRef.current.blur()}),Ee}return(0,pt.Z)(ge,[{key:"render",value:function(){return te.createElement(dr,(0,ae.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(te.Component),Si=vi;function ti(oe,le){var ge=oe.picker,Ee=oe.locale,Le=oe.selectedValue,Qe=oe.disabledDate,He=oe.disabled,vt=oe.generateConfig,ft=ta(Le,0),Ct=ta(Le,1);function nn(ht){return vt.locale.getWeekFirstDate(Ee.locale,ht)}function Ot(ht){var Nt=vt.getYear(ht),qt=vt.getMonth(ht);return Nt*100+qt}function It(ht){var Nt=vt.getYear(ht),qt=Je(vt,ht);return Nt*10+qt}var Yt=te.useCallback(function(ht){if(He[0]||Qe&&Qe(ht))return!0;if(He[1]&&Ct)return!je(vt,ht,Ct)&&vt.isAfter(ht,Ct);if(!le&&Ct)switch(ge){case"quarter":return It(ht)>It(Ct);case"month":return Ot(ht)>Ot(Ct);case"week":return nn(ht)>nn(Ct);default:return!je(vt,ht,Ct)&&vt.isAfter(ht,Ct)}return!1},[Qe,He[1],Ct,le]),Jt=te.useCallback(function(ht){if(He[1]||Qe&&Qe(ht))return!0;if(He[0]&&ft)return!je(vt,ht,Ct)&&vt.isAfter(ft,ht);if(!le&&ft)switch(ge){case"quarter":return It(ht)<It(ft);case"month":return Ot(ht)<Ot(ft);case"week":return nn(ht)<nn(ft);default:return!je(vt,ht,ft)&&vt.isAfter(ft,ht)}return!1},[Qe,He[0],ft,le]);return[Yt,Jt]}var pi=ne(70425),Kl=ne(6089);function fd(oe,le,ge,Ee,Le,Qe,He,vt,ft,Ct){var nn=te.useState(!1),Ot=(0,yt.Z)(nn,2),It=Ot[0],Yt=Ot[1],Jt=(0,pi.useMergedState)(oe||!1,{value:le}),ht=(0,yt.Z)(Jt,2),Nt=ht[0],qt=ht[1],An=(0,pi.useMergedState)(oe||!1,{value:le,onChange:function(Ra){Ct==null||Ct(Ra)}}),xn=(0,yt.Z)(An,2),Dn=xn[0],zn=xn[1],On=(0,pi.useMergedState)(0,{value:ge}),Pn=(0,yt.Z)(On,2),La=Pn[0],ga=Pn[1],Aa=te.useState(null),Ta=(0,yt.Z)(Aa,2),Qa=Ta[0],io=Ta[1];te.useEffect(function(){Dn&&Yt(!0)},[Dn]);var Po=function(Ra){return Ra===0?1:0},Ja=(0,Kl.Z)(function(Oa,Ra,to){if(Ra===!1)zn(Oa);else if(Oa){ga(Ra),zn(Oa);var lo=Po(Ra);!Dn||![He,vt][lo]?io(lo):(Yt(!1),Qa!==null&&io(null))}else if(to==="confirm"||to==="blur"&&Ee){var Ga=Nt?Po(Ra):Qa;Ga!==null&&(Yt(!1),ga(Ga)),io(null),Ga!==null&&!ft[Ga]?(0,kn.Z)(function(){var Va,ko=[Le,Qe][Ga];(Va=ko.current)===null||Va===void 0||Va.focus()}):zn(!1)}else zn(!1),qt(!1)});return[Dn,La,It,Ja]}function jl(oe,le,ge,Ee){var Le=ct(oe,ge,Ee,1);function Qe(He){return He(oe,le)?"same":He(Le,le)?"closing":"far"}switch(ge){case"year":return Qe(function(He,vt){return pe(Ee,He,vt)});case"quarter":case"month":return Qe(function(He,vt){return ve(Ee,He,vt)});default:return Qe(function(He,vt){return Ce(Ee,He,vt)})}}function jr(oe,le,ge,Ee){var Le=ta(oe,0),Qe=ta(oe,1);if(le===0)return Le;if(Le&&Qe){var He=jl(Le,Qe,ge,Ee);switch(He){case"same":return Le;case"closing":return Le;default:return ct(Qe,ge,Ee,-1)}}return Le}function Wl(oe){var le=oe.values,ge=oe.picker,Ee=oe.defaultDates,Le=oe.generateConfig,Qe=te.useState(function(){return[ta(Ee,0),ta(Ee,1)]}),He=(0,yt.Z)(Qe,2),vt=He[0],ft=He[1],Ct=te.useState(null),nn=(0,yt.Z)(Ct,2),Ot=nn[0],It=nn[1],Yt=ta(le,0),Jt=ta(le,1);function ht(qt){return vt[qt]?vt[qt]:ta(Ot,qt)||jr(le,qt,ge,Le)||Yt||Jt||Le.getNow()}function Nt(qt,An){if(qt){var xn=Ut(Ot,qt,An);ft(Ut(vt,null,An)||[null,null]);var Dn=(An+1)%2;ta(le,Dn)||(xn=Ut(xn,qt,Dn)),It(xn)}else(Yt||Jt)&&It(null)}return[ht,Nt]}function Zi(oe,le){return oe&&oe[0]&&oe[1]&&le.isAfter(oe[0],oe[1])?[oe[1],oe[0]]:oe}function Ki(oe,le,ge,Ee){return!!(oe||Ee&&Ee[le]||ge[(le+1)%2])}function Vl(oe){var le,ge,Ee,Le=oe,Qe=Le.prefixCls,He=Qe===void 0?"rc-picker":Qe,vt=Le.id,ft=Le.style,Ct=Le.className,nn=Le.popupStyle,Ot=Le.dropdownClassName,It=Le.transitionName,Yt=Le.dropdownAlign,Jt=Le.getPopupContainer,ht=Le.generateConfig,Nt=Le.locale,qt=Le.placeholder,An=Le.autoFocus,xn=Le.disabled,Dn=Le.format,zn=Le.picker,On=zn===void 0?"date":zn,Pn=Le.showTime,La=Le.use12Hours,ga=Le.separator,Aa=ga===void 0?"~":ga,Ta=Le.value,Qa=Le.defaultValue,io=Le.defaultPickerValue,Po=Le.open,Ja=Le.defaultOpen,Oa=Le.disabledDate,Ra=Le.disabledTime,to=Le.dateRender,lo=Le.monthCellRender,Ga=Le.cellRender,Va=Le.panelRender,ko=Le.presets,Bo=Le.ranges,de=Le.allowEmpty,ce=Le.allowClear,Se=Le.suffixIcon,we=Le.clearIcon,Ne=Le.pickerRef,Fe=Le.inputReadOnly,Ye=Le.mode,Ke=Le.renderExtraFooter,Ze=Le.onChange,lt=Le.onOpenChange,tt=Le.onPanelChange,rt=Le.onCalendarChange,Et=Le.onFocus,wt=Le.onBlur,Ft=Le.onMouseDown,Qt=Le.onMouseUp,Wt=Le.onMouseEnter,an=Le.onMouseLeave,_t=Le.onClick,ln=Le.onOk,Hn=Le.onKeyDown,Wn=Le.components,Nn=Le.order,Kn=Le.direction,ra=Le.activePickerIndex,hn=Le.autoComplete,Fn=hn===void 0?"off":hn,yn=Le.changeOnBlur,rn=On==="date"&&!!Pn||On==="time",dn=(0,te.useRef)(null),jn=(0,te.useRef)(null),ma=(0,te.useRef)(null),la=(0,te.useRef)(null),Rn=(0,te.useRef)(null),sa=(0,te.useRef)(null),fa=(0,te.useRef)(null),ya=(0,te.useRef)(null),ha=da(In(Dn,On,Pn,La)),Xa=(0,te.useRef)(null),Ca=te.useMemo(function(){return Array.isArray(xn)?xn:[xn||!1,xn||!1]},[xn]),_n=(0,pn.Z)(null,{value:Ta,defaultValue:Qa,postState:function(ea){return On==="time"&&!Nn?ea:Zi(ea,ht)}}),oo=(0,yt.Z)(_n,2),Jn=oo[0],Za=oo[1],Ia=Wl({values:Jn,picker:On,defaultDates:io,generateConfig:ht}),yo=(0,yt.Z)(Ia,2),Qn=yo[0],Vn=yo[1],Un=(0,pn.Z)(Jn,{postState:function(ea){var ba=ea;if(Ca[0]&&Ca[1])return ba;for(var ao=0;ao<2;ao+=1)Ca[ao]&&!ba&&!ta(ba,ao)&&!ta(de,ao)&&(ba=Ut(ba,ht.getNow(),ao));return ba}}),Tn=(0,yt.Z)(Un,2),Ln=Tn[0],Rt=Tn[1],fn=(0,pn.Z)([On,On],{value:Ye}),ia=(0,yt.Z)(fn,2),Sa=ia[0],Ro=ia[1];(0,te.useEffect)(function(){Ro([On,On])},[On]);var Ao=function(ea,ba){Ro(ea),tt&&tt(ba,ea)},or=fd(Ja,Po,ra,yn,sa,fa,ta(Ln,0),ta(Ln,1),Ca,lt),fo=(0,yt.Z)(or,4),so=fo[0],Yn=fo[1],Zo=fo[2],Wo=fo[3],za=so&&Yn===0,Ka=so&&Yn===1,co=ti({picker:On,selectedValue:Ln,locale:Nt,disabled:Ca,disabledDate:Oa,generateConfig:ht},!so||Zo),wo=(0,yt.Z)(co,2),bo=wo[0],wa=wo[1],Vo=(0,te.useState)(0),Io=(0,yt.Z)(Vo,2),ja=Io[0],$n=Io[1];(0,te.useEffect)(function(){!so&&dn.current&&$n(dn.current.offsetWidth)},[so]);function xo($a){Wo(!0,$a,"open"),(0,kn.Z)(function(){var ea,ba=[sa,fa][$a];(ea=ba.current)===null||ea===void 0||ea.focus()},0)}function Ko($a,ea){var ba=$a,ao=ta(ba,0),No=ta(ba,1);ao&&No&&ht.isAfter(ao,No)&&(On==="week"&&!Pt(ht,Nt.locale,ao,No)||On==="quarter"&&!Re(ht,ao,No)||On!=="week"&&On!=="quarter"&&On!=="time"&&!je(ht,ao,No)?ea===0?(ba=[ao,null],No=null):(ao=null,ba=[null,No]):(On!=="time"||Nn!==!1)&&(ba=Zi(ba,ht))),Rt(ba);var Ni=ba&&ba[0]?tn(ba[0],{generateConfig:ht,locale:Nt,format:ha[0]}):"",wr=ba&&ba[1]?tn(ba[1],{generateConfig:ht,locale:Nt,format:ha[0]}):"";if(rt){var Jr={range:ea===0?"start":"end"};rt(ba,[Ni,wr],Jr)}var Qr=Ki(ao,0,Ca,de),Sl=Ki(No,1,Ca,de),li=ba===null||Qr&&Sl;li&&(Za(ba),Ze&&(!kt(ht,ta(Jn,0),ao)||!kt(ht,ta(Jn,1),No))&&Ze(ba,[Ni,wr]))}var br=function(ea){return so&&Xa.current&&Xa.current.onKeyDown?Xa.current.onKeyDown(ea):((0,Te.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},rr={formatList:ha,generateConfig:ht,locale:Nt},tr=bn(ta(Ln,0),rr),Yo=(0,yt.Z)(tr,2),Eo=Yo[0],po=Yo[1],Sr=bn(ta(Ln,1),rr),Ar=(0,yt.Z)(Sr,2),ur=Ar[0],pr=Ar[1],ri=function(ea,ba){var ao=sn(ea,{locale:Nt,formatList:ha,generateConfig:ht}),No=ba===0?bo:wa;ao&&!No(ao)&&(Rt(Ut(Ln,ao,ba)),Vn(ao,ba))},el=Xe({valueTexts:Eo,onTextChange:function(ea){return ri(ea,0)}}),Da=(0,yt.Z)(el,3),no=Da[0],jo=Da[1],ho=Da[2],Jo=Xe({valueTexts:ur,onTextChange:function(ea){return ri(ea,1)}}),Qo=(0,yt.Z)(Jo,3),Uo=Qo[0],Pr=Qo[1],tl=Qo[2],od=(0,te.useState)(null),nl=(0,yt.Z)(od,2),rd=nl[0],Il=nl[1],xi=(0,te.useState)(null),Ir=(0,yt.Z)(xi,2),Mr=Ir[0],Ml=Ir[1],Tl=Cn(no,{formatList:ha,generateConfig:ht,locale:Nt}),al=(0,yt.Z)(Tl,3),ol=al[0],Ci=al[1],wi=al[2],id=Cn(Uo,{formatList:ha,generateConfig:ht,locale:Nt}),Ei=(0,yt.Z)(id,3),rl=Ei[0],ld=Ei[1],il=Ei[2],dd=function(ea){Ml(Ut(Ln,ea,Yn)),Yn===0?Ci(ea):ld(ea)},zl=function(){Ml(Ut(Ln,null,Yn)),Yn===0?wi():il()},Li=te.useState(so),Bi=(0,yt.Z)(Li,2),ll=Bi[0],Hl=Bi[1];te.useEffect(function(){Hl(so)},[so]);var Gl=function(ea){if(yn&&ll){var ba=ta(Ln,Yn);ba&&Ko(Ln,Yn)}return wt==null?void 0:wt(ea)},dl=function(ea,ba){return{blurToCancel:!yn&&rn,forwardKeyDown:br,onBlur:Gl,isClickOutside:function(No){return!va([jn.current,ma.current,la.current,dn.current],No)},onFocus:function(No){Et&&Et(No)},triggerOpen:function(No){No?Wo(No,ea,"open"):Wo(No,ta(Ln,ea)?ea:!1,"blur")},onSubmit:function(){if(!Ln||Oa&&Oa(Ln[ea]))return!1;Ko(Ln,ea),ba(),Wo(!1,Yn,"confirm")},onCancel:function(){Wo(!1,ea,"cancel"),Rt(Jn),ba()}}},sl={onKeyDown:function(ea,ba){Hn==null||Hn(ea,ba)},changeOnBlur:yn},sd=Xn((0,At.Z)((0,At.Z)({},dl(0,ho)),{},{open:za,value:no},sl)),gl=(0,yt.Z)(sd,2),cl=gl[0],ul=gl[1],Ai=ul.focused,ml=ul.typing,gd=Xn((0,At.Z)((0,At.Z)({},dl(1,tl)),{},{open:Ka,value:Uo},sl)),Ua=(0,yt.Z)(gd,2),vo=Ua[0],ir=Ua[1],xr=ir.focused,Cr=ir.typing,Zl=function(ea){_t&&_t(ea),!so&&!sa.current.contains(ea.target)&&!fa.current.contains(ea.target)&&(Ca[0]?Ca[1]||xo(1):xo(0))},fl=function(ea){Ft&&Ft(ea),so&&(Ai||xr)&&!sa.current.contains(ea.target)&&!fa.current.contains(ea.target)&&ea.preventDefault()},hl=Jn&&Jn[0]?tn(Jn[0],{locale:Nt,format:"YYYYMMDDHHmmss",generateConfig:ht}):"",vl=Jn&&Jn[1]?tn(Jn[1],{locale:Nt,format:"YYYYMMDDHHmmss",generateConfig:ht}):"";(0,te.useEffect)(function(){so||(Rt(Jn),!Eo.length||Eo[0]===""?jo(""):po!==no&&ho(),!ur.length||ur[0]===""?Pr(""):pr!==Uo&&tl())},[so,Eo,ur]),(0,te.useEffect)(function(){Rt(Jn)},[hl,vl]);var ii=oa({cellRender:Ga,monthCellRender:lo,dateRender:to}),bd=te.useMemo(function(){if(ii)return function($a,ea){return ii($a,(0,At.Z)((0,At.Z)({},ea),{},{range:Yn?"end":"start"}))}},[Yn,ii]);Ne&&(Ne.current={focus:function(){sa.current&&sa.current.focus()},blur:function(){sa.current&&sa.current.blur(),fa.current&&fa.current.blur()}});var xd=Ue(ko,Bo);function cd(){var $a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ea=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ba=null;so&&Mr&&Mr[0]&&Mr[1]&&ht.isAfter(Mr[1],Mr[0])&&(ba=Mr);var ao=Pn;if(Pn&&(0,jt.Z)(Pn)==="object"&&Pn.defaultValue){var No=Pn.defaultValue;ao=(0,At.Z)((0,At.Z)({},Pn),{},{defaultValue:ta(No,Yn)||void 0})}return te.createElement(Ha.Provider,{value:{inRange:!0,panelPosition:$a,rangedValue:rd||Ln,hoverRangedValue:ba}},te.createElement(hr,(0,ae.Z)({},oe,ea,{cellRender:bd,showTime:ao,mode:Sa[Yn],generateConfig:ht,style:void 0,direction:Kn,disabledDate:Yn===0?bo:wa,disabledTime:function(wr){return Ra?Ra(wr,Yn===0?"start":"end"):!1},className:De()((0,xe.Z)({},"".concat(He,"-panel-focused"),Yn===0?!ml:!Cr)),value:ta(Ln,Yn),locale:Nt,tabIndex:-1,onPanelChange:function(wr,Jr){Yn===0&&wi(!0),Yn===1&&il(!0),Ao(Ut(Sa,Jr,Yn),Ut(Ln,wr,Yn));var Qr=wr;$a==="right"&&Sa[Yn]===Jr&&(Qr=ct(Qr,Jr,ht,-1)),Vn(Qr,Yn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Yn===0?ta(Ln,1):ta(Ln,0)})))}var Yr=0,vd=0;if(Yn&&ma.current&&Rn.current&&jn.current&&ya.current){Yr=ma.current.offsetWidth+Rn.current.offsetWidth;var Cd=ya.current.offsetLeft>Yr?ya.current.offsetLeft-Yr:ya.current.offsetLeft,Sd=jn.current.offsetWidth,pd=ya.current.offsetWidth;Sd&&pd&&Yr>Sd-pd-(Kn==="rtl"?0:Cd)&&(vd=Yr)}var wd=Kn==="rtl"?{right:Yr}:{left:Yr};function Ed(){var $a,ea=Dr(He,Sa[Yn],Ke),ba=Fr({prefixCls:He,components:Wn,needConfirmButton:rn,okDisabled:!ta(Ln,Yn)||Oa&&Oa(Ln[Yn]),locale:Nt,onOk:function(){var Er=ta(Ln,Yn);Er&&(Ko(Ln,Yn),ln==null||ln(Ln),Wo(!1,Yn,"confirm"))}});if(On!=="time"&&!Pn){var ao=Qn(Yn),No=ct(ao,On,ht),Ni=Sa[Yn],wr=Ni===On,Jr=cd(wr?"left":!1,{pickerValue:ao,onPickerValueChange:function(Er){Vn(Er,Yn)}}),Qr=cd("right",{pickerValue:No,onPickerValueChange:function(Er){Vn(ct(Er,On,ht,-1),Yn)}});Kn==="rtl"?$a=te.createElement(te.Fragment,null,Qr,wr&&Jr):$a=te.createElement(te.Fragment,null,Jr,wr&&Qr)}else $a=cd();var Sl=te.createElement("div",{className:"".concat(He,"-panel-layout")},te.createElement(ei,{prefixCls:He,presets:xd,onClick:function(Er){Ko(Er,null),Wo(!1,Yn,"preset")},onHover:function(Er){Il(Er)}}),te.createElement("div",null,te.createElement("div",{className:"".concat(He,"-panels")},$a),(ea||ba)&&te.createElement("div",{className:"".concat(He,"-footer")},ea,ba)));return Va&&(Sl=Va(Sl)),te.createElement("div",{className:"".concat(He,"-panel-container"),style:{marginLeft:vd},ref:jn,onMouseDown:function(Er){Er.preventDefault()}},Sl)}var Ld=te.createElement("div",{className:De()("".concat(He,"-range-wrapper"),"".concat(He,"-").concat(On,"-range-wrapper")),style:{minWidth:ja}},te.createElement("div",{ref:ya,className:"".concat(He,"-range-arrow"),style:wd}),Ed()),Pd;Se&&(Pd=te.createElement("span",{className:"".concat(He,"-suffix"),onMouseDown:function(ea){ea.preventDefault()}},Se));var Bd=Kr(He,ce,we),Ad=te.createElement("span",{onMouseDown:function(ea){ea.preventDefault(),ea.stopPropagation()},onMouseUp:function(ea){ea.preventDefault(),ea.stopPropagation();var ba=Jn;Ca[0]||(ba=Ut(ba,null,0)),Ca[1]||(ba=Ut(ba,null,1)),Ko(ba,null),Wo(!1,Yn,"clear")},className:"".concat(He,"-clear"),role:"button"},Bd),Nd=ce&&(ta(Jn,0)&&!Ca[0]||ta(Jn,1)&&!Ca[1]),yd={size:qa(On,ha[0],ht)},ud=0,md=0;ma.current&&la.current&&Rn.current&&(Yn===0?md=ma.current.offsetWidth:(ud=Yr,md=la.current.offsetWidth));var Dd=Kn==="rtl"?{right:ud}:{left:ud},Fd=function(ea,ba){var ao=Ut(Ln,ea,Yn);if(ba==="submit"||ba!=="key"&&!rn){Ko(ao,Yn),Yn===0?wi():il();var No=Yn===0?1:0;Ca[No]?Wo(!1,!1,"confirm"):Wo(!1,Yn,"confirm")}else Rt(ao)};return te.createElement(on.Provider,{value:{operationRef:Xa,hideHeader:On==="time",onDateMouseEnter:dd,onDateMouseLeave:zl,hideRanges:!0,onSelect:Fd,open:so}},te.createElement(hi,{visible:so,popupElement:Ld,popupStyle:nn,prefixCls:He,dropdownClassName:Ot,dropdownAlign:Yt,getPopupContainer:Jt,transitionName:It,range:!0,direction:Kn},te.createElement("div",(0,ae.Z)({ref:dn,className:De()(He,"".concat(He,"-range"),Ct,(le={},(0,xe.Z)(le,"".concat(He,"-disabled"),Ca[0]&&Ca[1]),(0,xe.Z)(le,"".concat(He,"-focused"),Yn===0?Ai:xr),(0,xe.Z)(le,"".concat(He,"-rtl"),Kn==="rtl"),le)),style:ft,onClick:Zl,onMouseEnter:Wt,onMouseLeave:an,onMouseDown:fl,onMouseUp:Qt},(0,Sn.Z)(oe,{aria:!0,data:!0})),te.createElement("div",{className:De()("".concat(He,"-input"),(ge={},(0,xe.Z)(ge,"".concat(He,"-input-active"),Yn===0),(0,xe.Z)(ge,"".concat(He,"-input-placeholder"),!!ol),ge)),ref:ma},te.createElement("input",(0,ae.Z)({id:vt,disabled:Ca[0],readOnly:Fe||typeof ha[0]=="function"||!ml,value:ol||no,onChange:function(ea){jo(ea.target.value)},autoFocus:An,placeholder:ta(qt,0)||"",ref:sa},cl,yd,{autoComplete:Fn}))),te.createElement("div",{className:"".concat(He,"-range-separator"),ref:Rn},Aa),te.createElement("div",{className:De()("".concat(He,"-input"),(Ee={},(0,xe.Z)(Ee,"".concat(He,"-input-active"),Yn===1),(0,xe.Z)(Ee,"".concat(He,"-input-placeholder"),!!rl),Ee)),ref:la},te.createElement("input",(0,ae.Z)({disabled:Ca[1],readOnly:Fe||typeof ha[0]=="function"||!Cr,value:rl||Uo,onChange:function(ea){Pr(ea.target.value)},placeholder:ta(qt,1)||"",ref:fa},vo,yd,{autoComplete:Fn}))),te.createElement("div",{className:"".concat(He,"-active-bar"),style:(0,At.Z)((0,At.Z)({},Dd),{},{width:md,position:"absolute"})}),Pd,Nd&&Ad)))}var Ul=function(oe){(0,qe.Z)(ge,oe);var le=(0,Vt.Z)(ge);function ge(){var Ee;(0,Ve.Z)(this,ge);for(var Le=arguments.length,Qe=new Array(Le),He=0;He<Le;He++)Qe[He]=arguments[He];return Ee=le.call.apply(le,[this].concat(Qe)),(0,xe.Z)((0,$t.Z)(Ee),"pickerRef",te.createRef()),(0,xe.Z)((0,$t.Z)(Ee),"focus",function(){Ee.pickerRef.current&&Ee.pickerRef.current.focus()}),(0,xe.Z)((0,$t.Z)(Ee),"blur",function(){Ee.pickerRef.current&&Ee.pickerRef.current.blur()}),Ee}return(0,pt.Z)(ge,[{key:"render",value:function(){return te.createElement(Vl,(0,ae.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(te.Component),ji=Ul,bl=Si,ni=ne(19080),Wi=ne(36355),Vi=ne(1684),xl=ne(19716),Cl=ne(32441),wl=ne(9763),El=ne(33234),Ll=ne(48183),ai=ne(64993),Or=ne(9937),Ui=ne(17313),Yl=ne(47585),Jl=ne(74207),Rr=ne(13826),Pi=ne(92899),Yi=ne(37613),Ql=ne(83116);const vr=(oe,le,ge,Ee)=>{const{lineHeight:Le}=oe,Qe=Math.floor(ge*Le)+2,He=Math.max((le-Qe)/2,0),vt=Math.max(le-Qe-He,0);return{padding:`${He}px ${Ee}px ${vt}px`}},Ji=oe=>{const{componentCls:le,pickerCellCls:ge,pickerCellInnerCls:Ee,cellHeight:Le,motionDurationSlow:Qe,borderRadiusSM:He,motionDurationMid:vt,cellHoverBg:ft,lineWidth:Ct,lineType:nn,colorPrimary:Ot,cellActiveWithRangeBg:It,colorTextLightSolid:Yt,controlHeightSM:Jt,cellRangeBorderColor:ht,pickerCellBorderGap:Nt,cellHoverWithRangeBg:qt,cellWidth:An,colorTextDisabled:xn,cellBgDisabled:Dn}=oe;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Le,transform:"translateY(-50%)",transition:`all ${Qe}`,content:'""'},[Ee]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Le,height:Le,lineHeight:`${Le}px`,borderRadius:He,transition:`background ${vt}, border ${vt}`},"&-range-hover-start, &-range-hover-end":{[Ee]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ge}-in-view),
|
|
&:hover:not(${ge}-selected):not(${ge}-range-start):not(${ge}-range-end):not(${ge}-range-hover-start):not(${ge}-range-hover-end)`]:{[Ee]:{background:ft}},[`&-in-view${ge}-today ${Ee}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Ct}px ${nn} ${Ot}`,borderRadius:He,content:'""'}},[`&-in-view${ge}-in-range`]:{position:"relative","&::before":{background:It}},[`&-in-view${ge}-selected ${Ee},
|
|
&-in-view${ge}-range-start ${Ee},
|
|
&-in-view${ge}-range-end ${Ee}`]:{color:Yt,background:Ot},[`&-in-view${ge}-range-start:not(${ge}-range-start-single),
|
|
&-in-view${ge}-range-end:not(${ge}-range-end-single)`]:{"&::before":{background:It}},[`&-in-view${ge}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ge}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ge}-range-hover-start:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
|
|
&-in-view${ge}-range-hover-end:not(${ge}-in-range):not(${ge}-range-start):not(${ge}-range-end),
|
|
&-in-view${ge}-range-hover-start${ge}-range-start-single,
|
|
&-in-view${ge}-range-hover-start${ge}-range-start${ge}-range-end${ge}-range-end-near-hover,
|
|
&-in-view${ge}-range-hover-end${ge}-range-start${ge}-range-end${ge}-range-start-near-hover,
|
|
&-in-view${ge}-range-hover-end${ge}-range-end-single,
|
|
&-in-view${ge}-range-hover:not(${ge}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Jt,borderTop:`${Ct}px dashed ${ht}`,borderBottom:`${Ct}px dashed ${ht}`,transform:"translateY(-50%)",transition:`all ${Qe}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Nt},[`&-in-view${ge}-in-range${ge}-range-hover::before,
|
|
&-in-view${ge}-in-range${ge}-range-hover-start::before,
|
|
&-in-view${ge}-in-range${ge}-range-hover-end::before,
|
|
&-in-view${ge}-range-start${ge}-range-hover::before,
|
|
&-in-view${ge}-range-end${ge}-range-hover::before,
|
|
&-in-view${ge}-range-start:not(${ge}-range-start-single)${ge}-range-hover-start::before,
|
|
&-in-view${ge}-range-end:not(${ge}-range-end-single)${ge}-range-hover-end::before,
|
|
${le}-panel
|
|
> :not(${le}-date-panel)
|
|
&-in-view${ge}-in-range${ge}-range-hover-start::before,
|
|
${le}-panel
|
|
> :not(${le}-date-panel)
|
|
&-in-view${ge}-in-range${ge}-range-hover-end::before`]:{background:qt},[`&-in-view${ge}-range-start:not(${ge}-range-start-single):not(${ge}-range-end) ${Ee}`]:{borderStartStartRadius:He,borderEndStartRadius:He,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ge}-range-end:not(${ge}-range-end-single):not(${ge}-range-start) ${Ee}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:He,borderEndEndRadius:He},[`&-range-hover${ge}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ge}-range-hover:first-child::after,
|
|
tr > &-in-view${ge}-range-hover-end:first-child::after,
|
|
&-in-view${ge}-start${ge}-range-hover-edge-start${ge}-range-hover-edge-start-near-range::after,
|
|
&-in-view${ge}-range-hover-edge-start:not(${ge}-range-hover-edge-start-near-range)::after,
|
|
&-in-view${ge}-range-hover-start::after`]:{insetInlineStart:(An-Le)/2,borderInlineStart:`${Ct}px dashed ${ht}`,borderStartStartRadius:He,borderEndStartRadius:He},[`tr > &-in-view${ge}-range-hover:last-child::after,
|
|
tr > &-in-view${ge}-range-hover-start:last-child::after,
|
|
&-in-view${ge}-end${ge}-range-hover-edge-end${ge}-range-hover-edge-end-near-range::after,
|
|
&-in-view${ge}-range-hover-edge-end:not(${ge}-range-hover-edge-end-near-range)::after,
|
|
&-in-view${ge}-range-hover-end::after`]:{insetInlineEnd:(An-Le)/2,borderInlineEnd:`${Ct}px dashed ${ht}`,borderStartEndRadius:He,borderEndEndRadius:He},"&-disabled":{color:xn,pointerEvents:"none",[Ee]:{background:"transparent"},"&::before":{background:Dn}},[`&-disabled${ge}-today ${Ee}::before`]:{borderColor:xn}}},Qi=oe=>{const{componentCls:le,pickerCellCls:ge,pickerCellInnerCls:Ee,pickerYearMonthCellWidth:Le,pickerControlIconSize:Qe,cellWidth:He,paddingSM:vt,paddingXS:ft,paddingXXS:Ct,colorBgContainer:nn,lineWidth:Ot,lineType:It,borderRadiusLG:Yt,colorPrimary:Jt,colorTextHeading:ht,colorSplit:Nt,pickerControlIconBorderWidth:qt,colorIcon:An,textHeight:xn,motionDurationMid:Dn,colorIconHover:zn,fontWeightStrong:On,cellHeight:Pn,pickerCellPaddingVertical:La,colorTextDisabled:ga,colorText:Aa,fontSize:Ta,cellHoverWithRangeBg:Qa,motionDurationSlow:io,withoutTimeCellHeight:Po,pickerQuarterPanelContentHeight:Ja,colorLink:Oa,colorLinkActive:Ra,colorLinkHover:to,cellRangeBorderColor:lo,borderRadiusSM:Ga,colorTextLightSolid:Va,cellHoverBg:ko,timeColumnHeight:Bo,timeColumnWidth:de,timeCellHeight:ce,controlItemBgActive:Se,marginXXS:we,pickerDatePanelPaddingHorizontal:Ne}=oe,Fe=He*7+Ne*2,Ye=(Fe-ft*2)/3-Le-vt,Ke=(Fe-ft*2)/4-Le;return{[le]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:nn,border:`${Ot}px ${It} ${Nt}`,borderRadius:Yt,outline:"none","&-focused":{borderColor:Jt},"&-rtl":{direction:"rtl",[`${le}-prev-icon,
|
|
${le}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${le}-next-icon,
|
|
${le}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Fe},"&-header":{display:"flex",padding:`0 ${ft}px`,color:ht,borderBottom:`${Ot}px ${It} ${Nt}`,"> *":{flex:"none"},button:{padding:0,color:An,lineHeight:`${xn}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Dn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Ta,"&:hover":{color:zn}},"&-view":{flex:"auto",fontWeight:On,lineHeight:`${xn}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:ft},"&:hover":{color:Jt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Qe,height:Qe,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Qe,height:Qe,border:"0 solid currentcolor",borderBlockStartWidth:qt,borderBlockEndWidth:0,borderInlineStartWidth:qt,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Qe/2),insetInlineStart:Math.ceil(Qe/2),display:"inline-block",width:Qe,height:Qe,border:"0 solid currentcolor",borderBlockStartWidth:qt,borderBlockEndWidth:0,borderInlineStartWidth:qt,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Pn,fontWeight:"normal"},th:{height:Pn+La*2,color:Aa,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${La}px 0`,color:ga,cursor:"pointer","&-in-view":{color:Aa}},Ji(oe)),[`&-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-start ${Ee},
|
|
&-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-end ${Ee}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Qa,transition:`all ${io}`,content:'""'}},[`&-date-panel
|
|
${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-start
|
|
${Ee}::after`]:{insetInlineEnd:-(He-Pn)/2,insetInlineStart:0},[`&-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-end ${Ee}::after`]:{insetInlineEnd:0,insetInlineStart:-(He-Pn)/2},[`&-range-hover${le}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${le}-content`]:{height:Po*4},[Ee]:{padding:`0 ${ft}px`}},"&-quarter-panel":{[`${le}-content`]:{height:Ja},[`${le}-cell-range-hover-start::after`]:{insetInlineStart:Ke,borderInlineStart:`${Ot}px dashed ${lo}`,[`${le}-panel-rtl &`]:{insetInlineEnd:Ke,borderInlineEnd:`${Ot}px dashed ${lo}`}},[`${le}-cell-range-hover-end::after`]:{insetInlineEnd:Ke,borderInlineEnd:`${Ot}px dashed ${lo}`,[`${le}-panel-rtl &`]:{insetInlineStart:Ke,borderInlineStart:`${Ot}px dashed ${lo}`}}},[`&-panel ${le}-footer`]:{borderTop:`${Ot}px ${It} ${Nt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${xn-2*Ot}px`,textAlign:"center","&-extra":{padding:`0 ${vt}px`,lineHeight:`${xn-2*Ot}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Ot}px ${It} ${Nt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Oa,"&:hover":{color:to},"&:active":{color:Ra},[`&${le}-today-btn-disabled`]:{color:ga,cursor:"not-allowed"}},"&-decade-panel":{[Ee]:{padding:`0 ${ft/2}px`},[`${le}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${le}-body`]:{padding:`0 ${ft}px`},[Ee]:{width:Le},[`${le}-cell-range-hover-start::after`]:{borderStartStartRadius:Ga,borderEndStartRadius:Ga,borderStartEndRadius:0,borderEndEndRadius:0,[`${le}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ga,borderEndEndRadius:Ga}},[`${le}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ga,borderEndEndRadius:Ga,[`${le}-panel-rtl &`]:{borderStartStartRadius:Ga,borderEndStartRadius:Ga,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${le}-cell-range-hover-start::after`]:{insetInlineStart:Ye,borderInlineStart:`${Ot}px dashed ${lo}`,[`${le}-panel-rtl &`]:{insetInlineEnd:Ye,borderInlineEnd:`${Ot}px dashed ${lo}`}},[`${le}-cell-range-hover-end::after`]:{insetInlineEnd:Ye,borderInlineEnd:`${Ot}px dashed ${lo}`,[`${le}-panel-rtl &`]:{insetInlineStart:Ye,borderInlineStart:`${Ot}px dashed ${lo}`}}},"&-week-panel":{[`${le}-body`]:{padding:`${ft}px ${vt}px`},[`${le}-cell`]:{[`&:hover ${Ee},
|
|
&-selected ${Ee},
|
|
${Ee}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Dn}`},"&:first-child:before":{borderStartStartRadius:Ga,borderEndStartRadius:Ga},"&:last-child:before":{borderStartEndRadius:Ga,borderEndEndRadius:Ga}},"&:hover td":{"&:before":{background:ko}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ge}`]:{"&:before":{background:Jt},[`&${le}-cell-week`]:{color:new ai.C(Va).setAlpha(.5).toHexString()},[Ee]:{color:Va}}},"&-range-hover td:before":{background:Se}}},"&-date-panel":{[`${le}-body`]:{padding:`${ft}px ${Ne}px`},[`${le}-content`]:{width:He*7,th:{width:He,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${le}-time-panel`]:{borderInlineStart:`${Ot}px ${It} ${Nt}`},[`${le}-date-panel,
|
|
${le}-time-panel`]:{transition:`opacity ${io}`},"&-active":{[`${le}-date-panel,
|
|
${le}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${le}-content`]:{display:"flex",flex:"auto",height:Bo},"&-column":{flex:"1 0 auto",width:de,margin:`${Ct}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Dn}`,overflowX:"hidden","&::after":{display:"block",height:Bo-ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Ot}px ${It} ${Nt}`},"&-active":{background:new ai.C(Se).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${le}-time-panel-cell`]:{marginInline:we,[`${le}-time-panel-cell-inner`]:{display:"block",width:de-2*we,height:ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(de-ce)/2,color:Aa,lineHeight:`${ce}px`,borderRadius:Ga,cursor:"pointer",transition:`background ${Dn}`,"&:hover":{background:ko}},"&-selected":{[`${le}-time-panel-cell-inner`]:{background:Se}},"&-disabled":{[`${le}-time-panel-cell-inner`]:{color:ga,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${le}-time-panel-column:after`]:{height:Bo-ce+Ct*2}}}},Xi=oe=>{const{componentCls:le,colorBgContainer:ge,colorError:Ee,errorActiveShadow:Le,colorWarning:Qe,warningActiveShadow:He}=oe;return{[`${le}:not(${le}-disabled)`]:{[`&${le}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:Ee},[`&${le}-focused, &:focus`]:Object.assign({},(0,Or.M1)((0,Yi.TS)(oe,{activeBorderColor:Ee,activeShadow:Le}))),[`${le}-active-bar`]:{background:Ee}},[`&${le}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ge,borderColor:Qe},[`&${le}-focused, &:focus`]:Object.assign({},(0,Or.M1)((0,Yi.TS)(oe,{activeBorderColor:Qe,activeShadow:He}))),[`${le}-active-bar`]:{background:Qe}}}}},Bl=oe=>{const{componentCls:le,antCls:ge,controlHeight:Ee,fontSize:Le,paddingInline:Qe,colorBgContainer:He,lineWidth:vt,lineType:ft,colorBorder:Ct,borderRadius:nn,motionDurationMid:Ot,colorBgContainerDisabled:It,colorTextDisabled:Yt,colorTextPlaceholder:Jt,controlHeightLG:ht,fontSizeLG:Nt,controlHeightSM:qt,paddingInlineSM:An,paddingXS:xn,marginXS:Dn,colorTextDescription:zn,lineWidthBold:On,lineHeight:Pn,colorPrimary:La,motionDurationSlow:ga,zIndexPopup:Aa,paddingXXS:Ta,paddingSM:Qa,textHeight:io,cellActiveWithRangeBg:Po,colorPrimaryBorder:Ja,sizePopupArrow:Oa,borderRadiusXS:Ra,borderRadiusOuter:to,colorBgElevated:lo,borderRadiusLG:Ga,boxShadowSecondary:Va,borderRadiusSM:ko,colorSplit:Bo,cellHoverBg:de,presetsWidth:ce,presetsMaxWidth:Se,boxShadowPopoverArrow:we,colorTextQuaternary:Ne}=oe;return[{[le]:Object.assign(Object.assign(Object.assign({},(0,Ui.Wf)(oe)),vr(oe,Ee,Le,Qe)),{position:"relative",display:"inline-flex",alignItems:"center",background:He,lineHeight:1,border:`${vt}px ${ft} ${Ct}`,borderRadius:nn,transition:`border ${Ot}, box-shadow ${Ot}`,"&:hover, &-focused":Object.assign({},(0,Or.pU)(oe)),"&-focused":Object.assign({},(0,Or.M1)(oe)),[`&${le}-disabled`]:{background:It,borderColor:Ct,cursor:"not-allowed",[`${le}-suffix`]:{color:Ne}},[`&${le}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${le}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Or.ik)(oe)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${le}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Jt}}},"&-large":Object.assign(Object.assign({},vr(oe,ht,Nt,Qe)),{[`${le}-input > input`]:{fontSize:Nt}}),"&-small":Object.assign({},vr(oe,qt,Le,An)),[`${le}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:xn/2,color:Yt,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Dn}}},[`${le}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Yt,lineHeight:1,background:He,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Ot}, color ${Ot}`,"> *":{verticalAlign:"top"},"&:hover":{color:zn}},[`${le}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Nt,color:Yt,fontSize:Nt,verticalAlign:"top",cursor:"default",[`${le}-focused &`]:{color:zn},[`${le}-range-separator &`]:{[`${le}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${le}-clear`]:{insetInlineEnd:Qe},"&:hover":{[`${le}-clear`]:{opacity:1}},[`${le}-active-bar`]:{bottom:-vt,height:On,marginInlineStart:Qe,background:La,opacity:0,transition:`all ${ga} ease-out`,pointerEvents:"none"},[`&${le}-focused`]:{[`${le}-active-bar`]:{opacity:1}},[`${le}-range-separator`]:{alignItems:"center",padding:`0 ${xn}px`,lineHeight:1},[`&${le}-small`]:{[`${le}-clear`]:{insetInlineEnd:An},[`${le}-active-bar`]:{marginInlineStart:An}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Ui.Wf)(oe)),Qi(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Aa,[`&${le}-dropdown-hidden`]:{display:"none"},[`&${le}-dropdown-placement-bottomLeft`]:{[`${le}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${le}-dropdown-placement-topLeft`]:{[`${le}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${le}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-enter${ge}-slide-up-enter-active${le}-dropdown-placement-topRight,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${le}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${le}-dropdown-placement-topRight`]:{animationName:Rr.Qt},[`&${ge}-slide-up-enter${ge}-slide-up-enter-active${le}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-enter${ge}-slide-up-enter-active${le}-dropdown-placement-bottomRight,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${le}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-appear${ge}-slide-up-appear-active${le}-dropdown-placement-bottomRight`]:{animationName:Rr.fJ},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${le}-dropdown-placement-topLeft,
|
|
&${ge}-slide-up-leave${ge}-slide-up-leave-active${le}-dropdown-placement-topRight`]:{animationName:Rr.ly},[`&${ge}-slide-up-leave${ge}-slide-up-leave-active${le}-dropdown-placement-bottomLeft,
|
|
&${ge}-slide-up-leave${ge}-slide-up-leave-active${le}-dropdown-placement-bottomRight`]:{animationName:Rr.Uw},[`${le}-panel > ${le}-time-panel`]:{paddingTop:Ta},[`${le}-ranges`]:{marginBottom:0,padding:`${Ta}px ${Qa}px`,overflow:"hidden",lineHeight:`${io-2*vt-xn/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${le}-preset > ${ge}-tag-blue`]:{color:La,background:Po,borderColor:Ja,cursor:"pointer"},[`${le}-ok`]:{marginInlineStart:"auto"}},[`${le}-range-wrapper`]:{display:"flex",position:"relative"},[`${le}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Qe*1.5,transition:`left ${ga} ease-out`},(0,Yl.r)(Oa,Ra,to,lo,we)),[`${le}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:lo,borderRadius:Ga,boxShadow:Va,transition:`margin ${ga}`,[`${le}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${le}-presets`]:{display:"flex",flexDirection:"column",minWidth:ce,maxWidth:Se,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:xn,borderInlineEnd:`${vt}px ${ft} ${Bo}`,li:Object.assign(Object.assign({},Ui.vS),{borderRadius:ko,paddingInline:xn,paddingBlock:(qt-Math.round(Le*Pn))/2,cursor:"pointer",transition:`all ${ga}`,"+ li":{marginTop:Dn},"&:hover":{background:de}})}},[`${le}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${le}-panel`]:{borderWidth:`0 0 ${vt}px`},"&:last-child":{[`${le}-panel`]:{borderWidth:0}}},[`${le}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${le}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:Ct}}}}),"&-dropdown-range":{padding:`${Oa*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${le}-separator`]:{transform:"rotate(180deg)"},[`${le}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Rr.oN)(oe,"slide-up"),(0,Rr.oN)(oe,"slide-down"),(0,Pi.Fm)(oe,"move-up"),(0,Pi.Fm)(oe,"move-down")]},Al=oe=>{const{componentCls:le,controlHeightLG:ge,paddingXXS:Ee,padding:Le}=oe;return{pickerCellCls:`${le}-cell`,pickerCellInnerCls:`${le}-cell-inner`,pickerYearMonthCellWidth:ge*1.5,pickerQuarterPanelContentHeight:ge*1.4,pickerCellPaddingVertical:Ee+Ee/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Le+Ee/2}},hd=oe=>({cellHoverBg:oe.controlItemBgHover,cellActiveWithRangeBg:oe.controlItemBgActive,cellHoverWithRangeBg:new ai.C(oe.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ai.C(oe.colorPrimary).lighten(20).toHexString(),cellBgDisabled:oe.colorBgContainerDisabled,timeColumnWidth:oe.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:oe.controlHeightSM*1.5,cellHeight:oe.controlHeightSM,textHeight:oe.controlHeightLG,withoutTimeCellHeight:oe.controlHeightLG*1.65});var Nl=(0,Ql.Z)("DatePicker",oe=>{const le=(0,Yi.TS)((0,Or.e5)(oe),Al(oe));return[Bl(le),Xi(le),(0,Jl.c)(oe,{focusElCls:`${oe.componentCls}-focused`})]},oe=>Object.assign(Object.assign(Object.assign({},(0,Or.TM)(oe)),hd(oe)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:oe.zIndexPopupBase+50}));function Xl(oe,le,ge){return ge!==void 0?ge:le==="year"&&oe.lang.yearPlaceholder?oe.lang.yearPlaceholder:le==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.quarterPlaceholder:le==="month"&&oe.lang.monthPlaceholder?oe.lang.monthPlaceholder:le==="week"&&oe.lang.weekPlaceholder?oe.lang.weekPlaceholder:le==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.placeholder:oe.lang.placeholder}function $l(oe,le,ge){return ge!==void 0?ge:le==="year"&&oe.lang.yearPlaceholder?oe.lang.rangeYearPlaceholder:le==="quarter"&&oe.lang.quarterPlaceholder?oe.lang.rangeQuarterPlaceholder:le==="month"&&oe.lang.monthPlaceholder?oe.lang.rangeMonthPlaceholder:le==="week"&&oe.lang.weekPlaceholder?oe.lang.rangeWeekPlaceholder:le==="time"&&oe.timePickerLocale.placeholder?oe.timePickerLocale.rangePlaceholder:oe.lang.rangePlaceholder}function $i(oe,le){const ge={adjustX:1,adjustY:1};switch(le){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ge};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ge};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ge};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ge};default:return{points:oe==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ge}}}function yi(oe){return oe?Array.isArray(oe)?oe:[oe]:[]}function Wr(oe){const{format:le,picker:ge,showHour:Ee,showMinute:Le,showSecond:Qe,use12Hours:He}=oe,vt=yi(le)[0],ft=Object.assign({},oe);return le&&Array.isArray(le)&&(ft.format=vt),vt&&typeof vt=="string"&&(!vt.includes("s")&&Qe===void 0&&(ft.showSecond=!1),!vt.includes("m")&&Le===void 0&&(ft.showMinute=!1),!vt.includes("H")&&!vt.includes("h")&&!vt.includes("K")&&!vt.includes("k")&&Ee===void 0&&(ft.showHour=!1),(vt.includes("a")||vt.includes("A"))&&He===void 0&&(ft.use12Hours=!0)),ge==="time"?ft:(typeof vt=="function"&&delete ft.format,{showTime:ft})}function oi(oe,le,ge){if(oe===!1)return!1;const Ee={clearIcon:le!=null?le:ge};return typeof oe=="object"?Object.assign(Object.assign({},Ee),oe):Ee}var Dl=ne(3113);function ql(oe){return te.createElement(Dl.ZP,Object.assign({size:"small",type:"primary"},oe))}var qi={button:ql},kl=function(oe,le){var ge={};for(var Ee in oe)Object.prototype.hasOwnProperty.call(oe,Ee)&&le.indexOf(Ee)<0&&(ge[Ee]=oe[Ee]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ee=Object.getOwnPropertySymbols(oe);Le<Ee.length;Le++)le.indexOf(Ee[Le])<0&&Object.prototype.propertyIsEnumerable.call(oe,Ee[Le])&&(ge[Ee[Le]]=oe[Ee[Le]]);return ge};function Ol(oe){return(0,te.forwardRef)((ge,Ee)=>{const{prefixCls:Le,getPopupContainer:Qe,className:He,placement:vt,size:ft,disabled:Ct,bordered:nn=!0,placeholder:Ot,popupClassName:It,dropdownClassName:Yt,status:Jt,clearIcon:ht,allowClear:Nt,rootClassName:qt}=ge,An=kl(ge,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),xn=te.useRef(null),{getPrefixCls:Dn,direction:zn,getPopupContainer:On}=(0,te.useContext)(Wi.E_),Pn=Dn("picker",Le),{compactSize:La,compactItemClassnames:ga}=(0,El.ri)(Pn,zn),{format:Aa,showTime:Ta,picker:Qa}=ge,io=Dn(),[Po,Ja]=Nl(Pn),Oa=Object.assign(Object.assign({},Ta?Wr(Object.assign({format:Aa,picker:Qa},Ta)):{}),Qa==="time"?Wr(Object.assign(Object.assign({format:Aa},ge),{picker:Qa})):{}),Ra=(0,xl.Z)(we=>{var Ne;return(Ne=ft!=null?ft:La)!==null&&Ne!==void 0?Ne:we}),to=te.useContext(Vi.Z),lo=Ct!=null?Ct:to,Ga=(0,te.useContext)(Cl.aM),{hasFeedback:Va,status:ko,feedbackIcon:Bo}=Ga,de=te.createElement(te.Fragment,null,Qa==="time"?te.createElement(ut,null):te.createElement(be,null),Va&&Bo);(0,te.useImperativeHandle)(Ee,()=>({focus:()=>{var we;return(we=xn.current)===null||we===void 0?void 0:we.focus()},blur:()=>{var we;return(we=xn.current)===null||we===void 0?void 0:we.blur()}}));const[ce]=(0,wl.Z)("Calendar",Ll.Z),Se=Object.assign(Object.assign({},ce),ge.locale);return Po(te.createElement(ji,Object.assign({separator:te.createElement("span",{"aria-label":"to",className:`${Pn}-separator`},te.createElement(Bt,null)),disabled:lo,ref:xn,dropdownAlign:$i(zn,vt),placeholder:$l(Se,Qa,Ot),suffixIcon:de,prevIcon:te.createElement("span",{className:`${Pn}-prev-icon`}),nextIcon:te.createElement("span",{className:`${Pn}-next-icon`}),superPrevIcon:te.createElement("span",{className:`${Pn}-super-prev-icon`}),superNextIcon:te.createElement("span",{className:`${Pn}-super-next-icon`}),transitionName:`${io}-slide-up`},An,Oa,{className:De()({[`${Pn}-${Ra}`]:Ra,[`${Pn}-borderless`]:!nn},(0,ni.Z)(Pn,(0,ni.F)(ko,Jt),Va),Ja,ga,He,qt),locale:Se.lang,prefixCls:Pn,getPopupContainer:Qe||On,generateConfig:oe,components:qi,direction:zn,dropdownClassName:De()(Ja,It||Yt,qt),allowClear:oi(Nt,ht,te.createElement(bt.Z,null))})))})}var _i=function(oe,le){var ge={};for(var Ee in oe)Object.prototype.hasOwnProperty.call(oe,Ee)&&le.indexOf(Ee)<0&&(ge[Ee]=oe[Ee]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ee=Object.getOwnPropertySymbols(oe);Le<Ee.length;Le++)le.indexOf(Ee[Le])<0&&Object.prototype.propertyIsEnumerable.call(oe,Ee[Le])&&(ge[Ee[Le]]=oe[Ee[Le]]);return ge};function _l(oe){function le(ft,Ct){const nn=Ct==="TimePicker"?"timePicker":"datePicker",Ot=(0,te.forwardRef)((It,Yt)=>{const{prefixCls:Jt,getPopupContainer:ht,style:Nt,className:qt,rootClassName:An,size:xn,bordered:Dn=!0,placement:zn,placeholder:On,popupClassName:Pn,dropdownClassName:La,disabled:ga,status:Aa,clearIcon:Ta,allowClear:Qa}=It,io=_i(It,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Po,direction:Ja,getPopupContainer:Oa,[nn]:Ra}=(0,te.useContext)(Wi.E_),to=Po("picker",Jt),{compactSize:lo,compactItemClassnames:Ga}=(0,El.ri)(to,Ja),Va=te.useRef(null),{format:ko,showTime:Bo}=It,[de,ce]=Nl(to);(0,te.useImperativeHandle)(Yt,()=>({focus:()=>{var Wt;return(Wt=Va.current)===null||Wt===void 0?void 0:Wt.focus()},blur:()=>{var Wt;return(Wt=Va.current)===null||Wt===void 0?void 0:Wt.blur()}}));const Se={showToday:!0};let we={};ft&&(we.picker=ft);const Ne=ft||It.picker;we=Object.assign(Object.assign(Object.assign({},we),Bo?Wr(Object.assign({format:ko,picker:Ne},Bo)):{}),Ne==="time"?Wr(Object.assign(Object.assign({format:ko},It),{picker:Ne})):{});const Fe=Po(),Ye=(0,xl.Z)(Wt=>{var an;return(an=xn!=null?xn:lo)!==null&&an!==void 0?an:Wt}),Ke=te.useContext(Vi.Z),Ze=ga!=null?ga:Ke,lt=(0,te.useContext)(Cl.aM),{hasFeedback:tt,status:rt,feedbackIcon:Et}=lt,wt=te.createElement(te.Fragment,null,Ne==="time"?te.createElement(ut,null):te.createElement(be,null),tt&&Et),[Ft]=(0,wl.Z)("DatePicker",Ll.Z),Qt=Object.assign(Object.assign({},Ft),It.locale);return de(te.createElement(bl,Object.assign({ref:Va,placeholder:Xl(Qt,Ne,On),suffixIcon:wt,dropdownAlign:$i(Ja,zn),prevIcon:te.createElement("span",{className:`${to}-prev-icon`}),nextIcon:te.createElement("span",{className:`${to}-next-icon`}),superPrevIcon:te.createElement("span",{className:`${to}-super-prev-icon`}),superNextIcon:te.createElement("span",{className:`${to}-super-next-icon`}),transitionName:`${Fe}-slide-up`},Se,io,we,{locale:Qt.lang,className:De()({[`${to}-${Ye}`]:Ye,[`${to}-borderless`]:!Dn},(0,ni.Z)(to,(0,ni.F)(rt,Aa),tt),ce,Ga,Ra==null?void 0:Ra.className,qt,An),style:Object.assign(Object.assign({},Ra==null?void 0:Ra.style),Nt),prefixCls:to,getPopupContainer:ht||Oa,generateConfig:oe,components:qi,direction:Ja,disabled:Ze,dropdownClassName:De()(ce,An,Pn||La),allowClear:oi(Qa,Ta,te.createElement(bt.Z,null))})))});return Ct&&(Ot.displayName=Ct),Ot}const ge=le(),Ee=le("week","WeekPicker"),Le=le("month","MonthPicker"),Qe=le("year","YearPicker"),He=le("time","TimePicker"),vt=le("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:Ee,MonthPicker:Le,YearPicker:Qe,TimePicker:He,QuarterPicker:vt}}const ed=null;function td(oe){const{DatePicker:le,WeekPicker:ge,MonthPicker:Ee,YearPicker:Le,TimePicker:Qe,QuarterPicker:He}=_l(oe),vt=Ol(oe),ft=le;return ft.WeekPicker=ge,ft.MonthPicker=Ee,ft.YearPicker=Le,ft.RangePicker=vt,ft.TimePicker=Qe,ft.QuarterPicker=He,ft}var Rl=td;const Vr=Rl(z);function Ur(oe){const le=$i(oe.direction,oe.placement);return le.overflow.adjustY=!1,le.overflow.adjustX=!1,Object.assign(Object.assign({},oe),{dropdownAlign:le})}const bi=(0,ee.Z)(Vr,"picker",null,Ur);Vr._InternalPanelDoNotUseOrYouWillBeFired=bi;const nd=(0,ee.Z)(Vr.RangePicker,"picker",null,Ur);Vr._InternalRangePanelDoNotUseOrYouWillBeFired=nd,Vr.generatePicker=Rl;var ad=Vr},28103:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return st}});var se=ne(92310),he=ne.n(se),Te=ne(59301),ot=ne(36355),Me=ne(17313),Ie=ne(83116),ie=ne(37613);const dt=Ge=>{const{componentCls:re,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=Ge;return{[re]:Object.assign(Object.assign({},(0,Me.Wf)(Ge)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ge.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${re}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ge.dividerHorizontalWithTextGutterMargin}px 0`,color:Ge.colorTextHeading,fontWeight:500,fontSize:Ge.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${re}-with-text-left`]:{"&::before":{width:`${E*100}%`},"&::after":{width:`${100-E*100}%`}},[`&-horizontal${re}-with-text-right`]:{"&::before":{width:`${100-E*100}%`},"&::after":{width:`${E*100}%`}},[`${re}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${re}-with-text${re}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${re}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${re}-with-text`]:{color:Ge.colorText,fontWeight:"normal",fontSize:Ge.fontSize},[`&-horizontal${re}-with-text-left${re}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${re}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${re}-with-text-right${re}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${re}-inner-text`]:{paddingInlineEnd:y}}})}};var it=(0,Ie.Z)("Divider",Ge=>{const re=(0,ie.TS)(Ge,{dividerHorizontalWithTextGutterMargin:Ge.margin,dividerHorizontalGutterMargin:Ge.marginLG,sizePaddingEdgeHorizontal:0});return[dt(re)]},Ge=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ge.marginXS})),nt=function(Ge,re){var y={};for(var a in Ge)Object.prototype.hasOwnProperty.call(Ge,a)&&re.indexOf(a)<0&&(y[a]=Ge[a]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ge);x<a.length;x++)re.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Ge,a[x])&&(y[a[x]]=Ge[a[x]]);return y},st=Ge=>{const{getPrefixCls:re,direction:y,divider:a}=Te.useContext(ot.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:ee,rootClassName:ae,children:te,dashed:ue,plain:fe,style:Be}=Ge,Pe=nt(Ge,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ae=re("divider",x),[be,St]=it(Ae),at=E.length>0?`-${E}`:E,Zt=!!te,et=E==="left"&&z!=null,ut=E==="right"&&z!=null,bt=he()(Ae,a==null?void 0:a.className,St,`${Ae}-${b}`,{[`${Ae}-with-text`]:Zt,[`${Ae}-with-text${at}`]:Zt,[`${Ae}-dashed`]:!!ue,[`${Ae}-plain`]:!!fe,[`${Ae}-rtl`]:y==="rtl",[`${Ae}-no-default-orientation-margin-left`]:et,[`${Ae}-no-default-orientation-margin-right`]:ut},ee,ae),Kt=Te.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Dt=Object.assign(Object.assign({},et&&{marginLeft:Kt}),ut&&{marginRight:Kt});return be(Te.createElement("div",Object.assign({className:bt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Be)},Pe,{role:"separator"}),te&&b!=="vertical"&&Te.createElement("span",{className:`${Ae}-inner-text`,style:Dt},te)))}},91857:function(mt,Lt,ne){"use strict";var se=ne(59301),he=ne(38819),Te=ne(92310),ot=ne.n(Te),Me=ne(31561),Ie=ne(70425),ie=ne(18929),dt=ne(2738),it=ne(79676),nt=ne(53487),_e=ne(92343),st=ne(36355),Ge=ne(20834),re=ne(40875),y=ne(88088),a=ne(47211);const x=null,b=ae=>{const{menu:te,arrow:ue,prefixCls:fe,children:Be,trigger:Pe,disabled:Ae,dropdownRender:be,getPopupContainer:St,overlayClassName:at,rootClassName:Zt,open:et,onOpenChange:ut,visible:bt,onVisibleChange:Kt,mouseEnterDelay:Dt=.15,mouseLeaveDelay:Tt=.1,autoAdjustOverflow:We=!0,placement:Bt="",overlay:Gt,transitionName:De}=ae,{getPopupContainer:Ve,getPrefixCls:pt,direction:$t}=se.useContext(st.E_),qe=se.useMemo(()=>{const Ce=pt();return De!==void 0?De:Bt.includes("top")?`${Ce}-slide-down`:`${Ce}-slide-up`},[pt,Bt,De]),Vt=se.useMemo(()=>Bt?Bt.includes("Center")?Bt.slice(0,Bt.indexOf("Center")):Bt:$t==="rtl"?"bottomRight":"bottomLeft",[Bt,$t]),xe=pt("dropdown",fe),[At,yt]=(0,a.Z)(xe),[,pn]=(0,y.Z)(),Sn=se.Children.only(Be),Oe=(0,_e.Tm)(Sn,{className:ot()(`${xe}-trigger`,{[`${xe}-rtl`]:$t==="rtl"},Sn.props.className),disabled:Ae}),ke=Ae?[]:Pe;let ye;ke&&ke.includes("contextMenu")&&(ye=!0);const[me,ze]=(0,ie.Z)(!1,{value:et!=null?et:bt}),gt=(0,Ie.useEvent)(Ce=>{ut==null||ut(Ce),Kt==null||Kt(Ce),ze(Ce)}),pe=ot()(at,Zt,yt,{[`${xe}-rtl`]:$t==="rtl"}),ve=(0,it.Z)({arrowPointAtCenter:typeof ue=="object"&&ue.pointAtCenter,autoAdjustOverflow:We,offset:pn.marginXXS,arrowWidth:ue?pn.sizePopupArrow:0,borderRadius:pn.borderRadius}),Je=se.useCallback(()=>{ze(!1)},[]),Re=()=>{let Ce;return te!=null&&te.items?Ce=se.createElement(Ge.default,Object.assign({},te)):typeof Gt=="function"?Ce=Gt():Ce=Gt,be&&(Ce=be(Ce)),Ce=se.Children.only(typeof Ce=="string"?se.createElement("span",null,Ce):Ce),se.createElement(re.J,{prefixCls:`${xe}-menu`,expandIcon:se.createElement("span",{className:`${xe}-menu-submenu-arrow`},se.createElement(he.Z,{className:`${xe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Je,validator:je=>{let{mode:zt}=je}},Ce)};return At(se.createElement(Me.Z,Object.assign({alignPoint:ye},(0,dt.Z)(ae,["rootClassName"]),{mouseEnterDelay:Dt,mouseLeaveDelay:Tt,visible:me,builtinPlacements:ve,arrow:!!ue,overlayClassName:pe,prefixCls:xe,getPopupContainer:St||Ve,transitionName:qe,trigger:ke,overlay:Re,placement:Vt,onVisibleChange:gt}),Oe))};function E(ae){return Object.assign(Object.assign({},ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,nt.Z)(b,"dropdown",ae=>ae,E),ee=ae=>se.createElement(z,Object.assign({},ae),se.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ee,Lt.Z=b},38854:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return y}});var se=ne(91857),he=ne(92310),Te=ne.n(he),ot=ne(59301),Me=ne(18785),Ie=ne(3113),ie=ne(36355),dt=ne(81327),it=ne(33234),nt=ne(47211),_e=function(a,x){var b={};for(var E in a)Object.prototype.hasOwnProperty.call(a,E)&&x.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,E=Object.getOwnPropertySymbols(a);z<E.length;z++)x.indexOf(E[z])<0&&Object.prototype.propertyIsEnumerable.call(a,E[z])&&(b[E[z]]=a[E[z]]);return b};const st=a=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=ot.useContext(ie.E_),{prefixCls:z,type:ee="default",danger:ae,disabled:te,loading:ue,onClick:fe,htmlType:Be,children:Pe,className:Ae,menu:be,arrow:St,autoFocus:at,overlay:Zt,trigger:et,align:ut,open:bt,onOpenChange:Kt,placement:Dt,getPopupContainer:Tt,href:We,icon:Bt=ot.createElement(Me.Z,null),title:Gt,buttonsRender:De=Re=>Re,mouseEnterDelay:Ve,mouseLeaveDelay:pt,overlayClassName:$t,overlayStyle:qe,destroyPopupOnHide:Vt,dropdownRender:xe}=a,At=_e(a,["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"]),yt=b("dropdown",z),pn=`${yt}-button`,[Sn,Oe]=(0,nt.Z)(yt),ke={menu:be,arrow:St,autoFocus:at,align:ut,disabled:te,trigger:te?[]:et,onOpenChange:Kt,getPopupContainer:Tt||x,mouseEnterDelay:Ve,mouseLeaveDelay:pt,overlayClassName:$t,overlayStyle:qe,destroyPopupOnHide:Vt,dropdownRender:xe},{compactSize:ye,compactItemClassnames:me}=(0,it.ri)(yt,E),ze=Te()(pn,me,Ae,Oe);"overlay"in a&&(ke.overlay=Zt),"open"in a&&(ke.open=bt),"placement"in a?ke.placement=Dt:ke.placement=E==="rtl"?"bottomLeft":"bottomRight";const gt=ot.createElement(Ie.ZP,{type:ee,danger:ae,disabled:te,loading:ue,onClick:fe,htmlType:Be,href:We,title:Gt},Pe),pe=ot.createElement(Ie.ZP,{type:ee,danger:ae,icon:Bt}),[ve,Je]=De([gt,pe]);return Sn(ot.createElement(dt.Z.Compact,Object.assign({className:ze,size:ye,block:!0},At),ve,ot.createElement(se.Z,Object.assign({},ke),Je)))};st.__ANT_BUTTON=!0;var Ge=st;const re=se.Z;re.Button=Ge;var y=re},47211:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return _e}});var se=ne(17313),he=ne(13826),Te=ne(92899),ot=ne(29878),Me=ne(19447),Ie=ne(83116),ie=ne(37613),it=st=>{const{componentCls:Ge,menuCls:re,colorError:y,colorTextLightSolid:a}=st,x=`${re}-item`;return{[`${Ge}, ${Ge}-menu-submenu`]:{[`${re} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const nt=st=>{const{componentCls:Ge,menuCls:re,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:ee,fontSize:ae,dropdownEdgeChildPadding:te,colorTextDisabled:ue,fontSizeIcon:fe,controlPaddingHorizontal:Be,colorBgElevated:Pe}=st;return[{[Ge]:Object.assign(Object.assign({},(0,se.Wf)(st)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:fe}},[`${Ge}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:fe},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${Ge}-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${Ge}-placement-bottomLeft,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${Ge}-placement-bottomLeft,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${Ge}-placement-bottom,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${Ge}-placement-bottom,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${Ge}-placement-bottomRight,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${Ge}-placement-bottomRight`]:{animationName:he.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Ge}-placement-topLeft,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${Ge}-placement-topLeft,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${Ge}-placement-top,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${Ge}-placement-top,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${Ge}-placement-topRight,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${Ge}-placement-topRight`]:{animationName:he.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Ge}-placement-bottomLeft,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${Ge}-placement-bottom,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${Ge}-placement-bottomRight`]:{animationName:he.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Ge}-placement-topLeft,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${Ge}-placement-top,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${Ge}-placement-topRight`]:{animationName:he.ly}})},(0,Me.ZP)(st,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ge} ${re}`]:{position:"relative",margin:0},[`${re}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ge}, ${Ge}-menu-submenu`]:{[re]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:st.borderRadiusLG,outline:"none",boxShadow:st.boxShadowSecondary},(0,se.Qy)(st)),{[`${re}-item-group-title`]:{padding:`${ee}px ${Be}px`,color:st.colorTextDescription,transition:`all ${z}`},[`${re}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${re}-item-icon`]:{minWidth:ae,marginInlineEnd:st.marginXS,fontSize:st.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:st.colorText,fontWeight:"normal",fontSize:ae,lineHeight:st.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:st.borderRadiusSM,"&:hover, &-active":{backgroundColor:st.controlItemBgHover}},(0,se.Qy)(st)),{"&-selected":{color:st.colorPrimary,backgroundColor:st.controlItemBgActive,"&:hover, &-active":{backgroundColor:st.controlItemBgActiveHover}},"&-disabled":{color:ue,cursor:"not-allowed","&:hover":{color:ue,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${st.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:st.colorSplit},[`${Ge}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:st.paddingXS,[`${Ge}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:st.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${st.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:Be+st.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${Ge}-menu-submenu-title`]:{[`&, ${Ge}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:Pe,cursor:"not-allowed"}},[`${re}-submenu-selected ${Ge}-menu-submenu-title`]:{color:st.colorPrimary}})}},[(0,he.oN)(st,"slide-up"),(0,he.oN)(st,"slide-down"),(0,Te.Fm)(st,"move-up"),(0,Te.Fm)(st,"move-down"),(0,ot._y)(st,"zoom-big")]]};var _e=(0,Ie.Z)("Dropdown",(st,Ge)=>{let{rootPrefixCls:re}=Ge;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:ee,borderRadiusLG:ae}=st,te=(x-b*E)/2,{dropdownArrowOffset:ue}=(0,Me.fS)({contentRadius:ae}),fe=(0,ie.TS)(st,{menuCls:`${ee}-menu`,rootPrefixCls:re,dropdownArrowDistance:a/2+y,dropdownArrowOffset:ue,dropdownPaddingVertical:te,dropdownEdgeChildPadding:z});return[nt(fe),it(fe)]},st=>({zIndexPopup:st.zIndexPopupBase+50}))},8628:function(mt,Lt,ne){"use strict";var se=ne(59301),he=ne(34280),Te=ne(56762),ot=ne(69507);function Me(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,se.useRef)({}),dt=(0,Te.Z)(),it=(0,ot.ZP)();return(0,he.Z)(()=>{const nt=it.subscribe(_e=>{ie.current=_e,Ie&&dt()});return()=>it.unsubscribe(nt)},[]),ie.current}Lt.Z=Me},45818:function(mt,Lt,ne){"use strict";ne.d(Lt,{D:function(){return z},Z:function(){return te}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(fe,Be){return he.createElement(Me.Z,(0,se.Z)({},fe,{ref:Be,icon:ot}))},ie=he.forwardRef(Ie),dt=ie,it=ne(33853),nt=ne(38819),_e=ne(92310),st=ne.n(_e),Ge=ne(2738),y=ue=>!isNaN(parseFloat(ue))&&isFinite(ue),a=ne(36355),x=ne(84966),b=function(ue,fe){var Be={};for(var Pe in ue)Object.prototype.hasOwnProperty.call(ue,Pe)&&fe.indexOf(Pe)<0&&(Be[Pe]=ue[Pe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Pe=Object.getOwnPropertySymbols(ue);Ae<Pe.length;Ae++)fe.indexOf(Pe[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ue,Pe[Ae])&&(Be[Pe[Ae]]=ue[Pe[Ae]]);return Be};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=he.createContext({}),ee=(()=>{let ue=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ue+=1,`${fe}${ue}`}})();var te=he.forwardRef((ue,fe)=>{const{prefixCls:Be,className:Pe,trigger:Ae,children:be,defaultCollapsed:St=!1,theme:at="dark",style:Zt={},collapsible:et=!1,reverseArrow:ut=!1,width:bt=200,collapsedWidth:Kt=80,zeroWidthTriggerStyle:Dt,breakpoint:Tt,onCollapse:We,onBreakpoint:Bt}=ue,Gt=b(ue,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:De}=(0,he.useContext)(x.Gs),[Ve,pt]=(0,he.useState)("collapsed"in ue?ue.collapsed:St),[$t,qe]=(0,he.useState)(!1);(0,he.useEffect)(()=>{"collapsed"in ue&&pt(ue.collapsed)},[ue.collapsed]);const Vt=(Oe,ke)=>{"collapsed"in ue||pt(Oe),We==null||We(Oe,ke)},xe=(0,he.useRef)();xe.current=Oe=>{qe(Oe.matches),Bt==null||Bt(Oe.matches),Ve!==Oe.matches&&Vt(Oe.matches,"responsive")},(0,he.useEffect)(()=>{function Oe(ye){return xe.current(ye)}let ke;if(typeof window!="undefined"){const{matchMedia:ye}=window;if(ye&&Tt&&Tt in E){ke=ye(`(max-width: ${E[Tt]})`);try{ke.addEventListener("change",Oe)}catch(me){ke.addListener(Oe)}Oe(ke)}}return()=>{try{ke==null||ke.removeEventListener("change",Oe)}catch(ye){ke==null||ke.removeListener(Oe)}}},[Tt]),(0,he.useEffect)(()=>{const Oe=ee("ant-sider-");return De.addSider(Oe),()=>De.removeSider(Oe)},[]);const At=()=>{Vt(!Ve,"clickTrigger")},{getPrefixCls:yt}=(0,he.useContext)(a.E_),pn=()=>{const Oe=yt("layout-sider",Be),ke=(0,Ge.Z)(Gt,["collapsed"]),ye=Ve?Kt:bt,me=y(ye)?`${ye}px`:String(ye),ze=parseFloat(String(Kt||0))===0?he.createElement("span",{onClick:At,className:st()(`${Oe}-zero-width-trigger`,`${Oe}-zero-width-trigger-${ut?"right":"left"}`),style:Dt},Ae||he.createElement(dt,null)):null,ve={expanded:ut?he.createElement(nt.Z,null):he.createElement(it.Z,null),collapsed:ut?he.createElement(it.Z,null):he.createElement(nt.Z,null)}[Ve?"collapsed":"expanded"],Je=Ae!==null?ze||he.createElement("div",{className:`${Oe}-trigger`,onClick:At,style:{width:me}},Ae||ve):null,Re=Object.assign(Object.assign({},Zt),{flex:`0 0 ${me}`,maxWidth:me,minWidth:me,width:me}),Ce=st()(Oe,`${Oe}-${at}`,{[`${Oe}-collapsed`]:!!Ve,[`${Oe}-has-trigger`]:et&&Ae!==null&&!ze,[`${Oe}-below`]:!!$t,[`${Oe}-zero-width`]:parseFloat(me)===0},Pe);return he.createElement("aside",Object.assign({className:Ce},ke,{style:Re,ref:fe}),he.createElement("div",{className:`${Oe}-children`},be),et||$t&&ze?Je:null)},Sn=he.useMemo(()=>({siderCollapsed:Ve}),[Ve]);return he.createElement(z.Provider,{value:Sn},pn())})},84966:function(mt,Lt,ne){"use strict";ne.d(Lt,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return Ge},ZP:function(){return ee}});var se=ne(26407),he=ne(92310),Te=ne.n(he),ot=ne(2738),Me=ne(59301),Ie=ne(36355),ie=ne(83116),it=ae=>{const{componentCls:te,bodyBg:ue,lightSiderBg:fe,lightTriggerBg:Be,lightTriggerColor:Pe}=ae;return{[`${te}-sider-light`]:{background:fe,[`${te}-sider-trigger`]:{color:Pe,background:Be},[`${te}-sider-zero-width-trigger`]:{color:Pe,background:Be,border:`1px solid ${ue}`,borderInlineStart:0}}}};const nt=ae=>{const{antCls:te,componentCls:ue,colorText:fe,triggerColor:Be,footerBg:Pe,triggerBg:Ae,headerHeight:be,headerPadding:St,headerColor:at,footerPadding:Zt,triggerHeight:et,zeroTriggerHeight:ut,zeroTriggerWidth:bt,motionDurationMid:Kt,motionDurationSlow:Dt,fontSize:Tt,borderRadius:We,bodyBg:Bt,headerBg:Gt,siderBg:De}=ae;return{[ue]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Bt,"&, *":{boxSizing:"border-box"},[`&${ue}-has-sider`]:{flexDirection:"row",[`> ${ue}, > ${ue}-content`]:{width:0}},[`${ue}-header, &${ue}-footer`]:{flex:"0 0 auto"},[`${ue}-sider`]:{position:"relative",minWidth:0,background:De,transition:`all ${Kt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${te}-menu${te}-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:Ae,cursor:"pointer",transition:`all ${Kt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:be,insetInlineEnd:-bt,zIndex:1,width:bt,height:ut,color:Be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:De,borderStartStartRadius:0,borderStartEndRadius:We,borderEndEndRadius:We,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Dt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Dt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-bt,borderStartStartRadius:We,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:We}}}}},it(ae)),{"&-rtl":{direction:"rtl"}}),[`${ue}-header`]:{height:be,padding:St,color:at,lineHeight:`${be}px`,background:Gt,[`${te}-menu`]:{lineHeight:"inherit"}},[`${ue}-footer`]:{padding:Zt,color:fe,fontSize:Tt,background:Pe},[`${ue}-content`]:{flex:"auto",minHeight:0}}};var _e=(0,ie.Z)("Layout",ae=>[nt(ae)],ae=>{const{colorBgLayout:te,controlHeight:ue,controlHeightLG:fe,colorText:Be,controlHeightSM:Pe,marginXXS:Ae,colorTextLightSolid:be,colorBgContainer:St}=ae,at=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:te,colorBgTrigger:"#002140",bodyBg:te,headerBg:"#001529",headerHeight:ue*2,headerPadding:`0 ${at}px`,headerColor:Be,footerPadding:`${Pe}px ${at}px`,footerBg:te,siderBg:"#001529",triggerHeight:fe+Ae*2,triggerBg:"#002140",triggerColor:be,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:St,lightTriggerBg:St,lightTriggerColor:Be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),st=function(ae,te){var ue={};for(var fe in ae)Object.prototype.hasOwnProperty.call(ae,fe)&&te.indexOf(fe)<0&&(ue[fe]=ae[fe]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,fe=Object.getOwnPropertySymbols(ae);Be<fe.length;Be++)te.indexOf(fe[Be])<0&&Object.prototype.propertyIsEnumerable.call(ae,fe[Be])&&(ue[fe[Be]]=ae[fe[Be]]);return ue};const Ge=Me.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function re(ae){let{suffixCls:te,tagName:ue,displayName:fe}=ae;return Be=>Me.forwardRef((Ae,be)=>Me.createElement(Be,Object.assign({ref:be,suffixCls:te,tagName:ue},Ae)))}const y=Me.forwardRef((ae,te)=>{const{prefixCls:ue,suffixCls:fe,className:Be,tagName:Pe}=ae,Ae=st(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:be}=Me.useContext(Ie.E_),St=be("layout",ue),[at,Zt]=_e(St),et=fe?`${St}-${fe}`:St;return at(Me.createElement(Pe,Object.assign({className:Te()(ue||et,Be,Zt),ref:te},Ae)))}),a=Me.forwardRef((ae,te)=>{const{direction:ue}=Me.useContext(Ie.E_),[fe,Be]=Me.useState([]),{prefixCls:Pe,className:Ae,rootClassName:be,children:St,hasSider:at,tagName:Zt,style:et}=ae,ut=st(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),bt=(0,ot.Z)(ut,["suffixCls"]),{getPrefixCls:Kt,layout:Dt}=Me.useContext(Ie.E_),Tt=Kt("layout",Pe),[We,Bt]=_e(Tt),Gt=Te()(Tt,{[`${Tt}-has-sider`]:typeof at=="boolean"?at:fe.length>0,[`${Tt}-rtl`]:ue==="rtl"},Dt==null?void 0:Dt.className,Ae,be,Bt),De=Me.useMemo(()=>({siderHook:{addSider:Ve=>{Be(pt=>[].concat((0,se.Z)(pt),[Ve]))},removeSider:Ve=>{Be(pt=>pt.filter($t=>$t!==Ve))}}}),[]);return We(Me.createElement(Ge.Provider,{value:De},Me.createElement(Zt,Object.assign({ref:te,className:Gt,style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),et)},bt),St)))}),x=re({tagName:"div",displayName:"Layout"})(a),b=re({suffixCls:"header",tagName:"header",displayName:"Header"})(y),E=re({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=re({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ee=x},40875:function(mt,Lt,ne){"use strict";ne.d(Lt,{J:function(){return Ie}});var se=ne(59301),he=ne(33234),Te=ne(70425),ot=function(ie,dt){var it={};for(var nt in ie)Object.prototype.hasOwnProperty.call(ie,nt)&&dt.indexOf(nt)<0&&(it[nt]=ie[nt]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,nt=Object.getOwnPropertySymbols(ie);_e<nt.length;_e++)dt.indexOf(nt[_e])<0&&Object.prototype.propertyIsEnumerable.call(ie,nt[_e])&&(it[nt[_e]]=ie[nt[_e]]);return it};const Me=se.createContext(null),Ie=se.forwardRef((ie,dt)=>{const{children:it}=ie,nt=ot(ie,["children"]),_e=se.useContext(Me),st=se.useMemo(()=>Object.assign(Object.assign({},_e),nt),[_e,nt.prefixCls,nt.mode,nt.selectable]);return se.createElement(Me.Provider,{value:st},se.createElement(he.BR,null,(0,Te.supportNodeRef)(it)?se.cloneElement(it,{ref:dt}):it))});Lt.Z=Me},20834:function(mt,Lt,ne){"use strict";ne.d(Lt,{default:function(){return Sn}});var se=ne(15285),he=ne(59301),Te=ne(45818),ot=ne(92310),Me=ne.n(ot),Ie=ne(36355),ie=function(Oe,ke){var ye={};for(var me in Oe)Object.prototype.hasOwnProperty.call(Oe,me)&&ke.indexOf(me)<0&&(ye[me]=Oe[me]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,me=Object.getOwnPropertySymbols(Oe);ze<me.length;ze++)ke.indexOf(me[ze])<0&&Object.prototype.propertyIsEnumerable.call(Oe,me[ze])&&(ye[me[ze]]=Oe[me[ze]]);return ye},it=Oe=>{const{prefixCls:ke,className:ye,dashed:me}=Oe,ze=ie(Oe,["prefixCls","className","dashed"]),{getPrefixCls:gt}=he.useContext(Ie.E_),pe=gt("menu",ke),ve=Me()({[`${pe}-item-divider-dashed`]:!!me},ye);return he.createElement(se.iz,Object.assign({className:ve},ze))},nt=ne(11592),_e=ne(2738),st=ne(6848),Ge=ne(92343),y=(0,he.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Oe=>{var ke;const{className:ye,children:me,icon:ze,title:gt,danger:pe}=Oe,{prefixCls:ve,firstLevel:Je,direction:Re,disableMenuItemTitleTooltip:Ce,inlineCollapsed:je}=he.useContext(y),zt=tn=>{const sn=he.createElement("span",{className:`${ve}-title-content`},me);return(!ze||(0,Ge.l$)(me)&&me.type==="span")&&me&&tn&&Je&&typeof me=="string"?he.createElement("div",{className:`${ve}-inline-collapsed-noicon`},me.charAt(0)):sn},{siderCollapsed:Pt}=he.useContext(Te.D);let kt=gt;typeof gt=="undefined"?kt=Je?me:"":gt===!1&&(kt="");const xt={title:kt};!Pt&&!je&&(xt.title=null,xt.open=!1);const Ht=(0,nt.Z)(me).length;let ct=he.createElement(se.ck,Object.assign({},(0,_e.Z)(Oe,["title","icon","danger"]),{className:Me()({[`${ve}-item-danger`]:pe,[`${ve}-item-only-child`]:(ze?Ht+1:Ht)===1},ye),title:typeof gt=="string"?gt:void 0}),(0,Ge.Tm)(ze,{className:Me()((0,Ge.l$)(ze)?(ke=ze.props)===null||ke===void 0?void 0:ke.className:"",`${ve}-item-icon`)}),zt(je));return Ce||(ct=he.createElement(st.Z,Object.assign({},xt,{placement:Re==="rtl"?"left":"right",overlayClassName:`${ve}-inline-collapsed-tooltip`}),ct)),ct},E=Oe=>{var ke;const{popupClassName:ye,icon:me,title:ze,theme:gt}=Oe,pe=he.useContext(y),{prefixCls:ve,inlineCollapsed:Je,theme:Re}=pe,Ce=(0,se.Xl)();let je;if(!me)je=Je&&!Ce.length&&ze&&typeof ze=="string"?he.createElement("div",{className:`${ve}-inline-collapsed-noicon`},ze.charAt(0)):he.createElement("span",{className:`${ve}-title-content`},ze);else{const Pt=(0,Ge.l$)(ze)&&ze.type==="span";je=he.createElement(he.Fragment,null,(0,Ge.Tm)(me,{className:Me()((0,Ge.l$)(me)?(ke=me.props)===null||ke===void 0?void 0:ke.className:"",`${ve}-item-icon`)}),Pt?ze:he.createElement("span",{className:`${ve}-title-content`},ze))}const zt=he.useMemo(()=>Object.assign(Object.assign({},pe),{firstLevel:!1}),[pe]);return he.createElement(y.Provider,{value:zt},he.createElement(se.Wd,Object.assign({},(0,_e.Z)(Oe,["icon"]),{title:je,popupClassName:Me()(ve,ye,`${ve}-${gt||Re}`)})))},z=ne(18785),ee=ne(70425),ae=ne(62892),te=ne(40875),ue=function(Oe,ke){var ye={};for(var me in Oe)Object.prototype.hasOwnProperty.call(Oe,me)&&ke.indexOf(me)<0&&(ye[me]=Oe[me]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,me=Object.getOwnPropertySymbols(Oe);ze<me.length;ze++)ke.indexOf(me[ze])<0&&Object.prototype.propertyIsEnumerable.call(Oe,me[ze])&&(ye[me[ze]]=Oe[me[ze]]);return ye};function fe(Oe){return(Oe||[]).map((ke,ye)=>{if(ke&&typeof ke=="object"){const me=ke,{label:ze,children:gt,key:pe,type:ve}=me,Je=ue(me,["label","children","key","type"]),Re=pe!=null?pe:`tmp-${ye}`;return gt||ve==="group"?ve==="group"?he.createElement(se.BW,Object.assign({key:Re},Je,{title:ze}),fe(gt)):he.createElement(E,Object.assign({key:Re},Je,{title:ze}),fe(gt)):ve==="divider"?he.createElement(it,Object.assign({key:Re},Je)):he.createElement(x,Object.assign({key:Re},Je),ze)}return null}).filter(ke=>ke)}function Be(Oe){return he.useMemo(()=>Oe&&fe(Oe),[Oe])}var Pe=ne(64993),Ae=ne(17313),be=ne(8378),St=ne(13826),at=ne(29878),Zt=ne(83116),et=ne(37613),bt=Oe=>{const{componentCls:ke,motionDurationSlow:ye,horizontalLineHeight:me,colorSplit:ze,lineWidth:gt,lineType:pe,itemPaddingInline:ve}=Oe;return{[`${ke}-horizontal`]:{lineHeight:me,border:0,borderBottom:`${gt}px ${pe} ${ze}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ke}-item, ${ke}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ve},[`> ${ke}-item:hover,
|
|
> ${ke}-item-active,
|
|
> ${ke}-submenu ${ke}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ke}-item, ${ke}-submenu-title`]:{transition:[`border-color ${ye}`,`background ${ye}`].join(",")},[`${ke}-submenu-arrow`]:{display:"none"}}}},Dt=Oe=>{let{componentCls:ke,menuArrowOffset:ye}=Oe;return{[`${ke}-rtl`]:{direction:"rtl"},[`${ke}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ke}-rtl${ke}-vertical,
|
|
${ke}-submenu-rtl ${ke}-vertical`]:{[`${ke}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ye})`},"&::after":{transform:`rotate(45deg) translateY(${ye})`}}}}};const Tt=Oe=>Object.assign({},(0,Ae.oN)(Oe));var Bt=(Oe,ke)=>{const{componentCls:ye,itemColor:me,itemSelectedColor:ze,groupTitleColor:gt,itemBg:pe,subMenuItemBg:ve,itemSelectedBg:Je,activeBarHeight:Re,activeBarWidth:Ce,activeBarBorderWidth:je,motionDurationSlow:zt,motionEaseInOut:Pt,motionEaseOut:kt,itemPaddingInline:xt,motionDurationMid:Ht,itemHoverColor:ct,lineType:tn,colorSplit:sn,itemDisabledColor:Xt,dangerItemColor:bn,dangerItemHoverColor:Cn,dangerItemSelectedColor:cn,dangerItemActiveBg:kn,dangerItemSelectedBg:ca,itemHoverBg:xa,itemActiveBg:pa,menuSubMenuBg:Ea,horizontalItemSelectedColor:Fa,horizontalItemSelectedBg:Na,horizontalItemBorderRadius:In,horizontalItemHoverBg:qa,popupBg:_a}=Oe;return{[`${ye}-${ke}, ${ye}-${ke} > ${ye}`]:{color:me,background:pe,[`&${ye}-root:focus-visible`]:Object.assign({},Tt(Oe)),[`${ye}-item-group-title`]:{color:gt},[`${ye}-submenu-selected`]:{[`> ${ye}-submenu-title`]:{color:ze}},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{color:`${Xt} !important`},[`${ye}-item:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{[`&:hover, > ${ye}-submenu-title:hover`]:{color:ct}},[`&:not(${ye}-horizontal)`]:{[`${ye}-item:not(${ye}-item-selected)`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:pa}},[`${ye}-submenu-title`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:pa}}},[`${ye}-item-danger`]:{color:bn,[`&${ye}-item:hover`]:{[`&:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{color:Cn}},[`&${ye}-item:active`]:{background:kn}},[`${ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ye}-item-selected`]:{color:ze,[`&${ye}-item-danger`]:{color:cn},"a, a:hover":{color:"inherit"}},[`& ${ye}-item-selected`]:{backgroundColor:Je,[`&${ye}-item-danger`]:{backgroundColor:ca}},[`${ye}-item, ${ye}-submenu-title`]:{[`&:not(${ye}-item-disabled):focus-visible`]:Object.assign({},Tt(Oe))},[`&${ye}-submenu > ${ye}`]:{backgroundColor:Ea},[`&${ye}-popup > ${ye}`]:{backgroundColor:_a},[`&${ye}-horizontal`]:Object.assign(Object.assign({},ke==="dark"?{borderBottom:0}:{}),{[`> ${ye}-item, > ${ye}-submenu`]:{top:je,marginTop:-je,marginBottom:0,borderRadius:In,"&::after":{position:"absolute",insetInline:xt,bottom:0,borderBottom:`${Re}px solid transparent`,transition:`border-color ${zt} ${Pt}`,content:'""'},"&:hover, &-active, &-open":{background:qa,"&::after":{borderBottomWidth:Re,borderBottomColor:Fa}},"&-selected":{color:Fa,backgroundColor:Na,"&:hover":{backgroundColor:Na},"&::after":{borderBottomWidth:Re,borderBottomColor:Fa}}}}),[`&${ye}-root`]:{[`&${ye}-inline, &${ye}-vertical`]:{borderInlineEnd:`${je}px ${tn} ${sn}`}},[`&${ye}-inline`]:{[`${ye}-sub${ye}-inline`]:{background:ve},[`${ye}-item, ${ye}-submenu-title`]:je&&Ce?{width:`calc(100% + ${je}px)`}:{},[`${ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ce}px solid ${ze}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ht} ${kt}`,`opacity ${Ht} ${kt}`].join(","),content:'""'},[`&${ye}-item-danger`]:{"&::after":{borderInlineEndColor:cn}}},[`${ye}-selected, ${ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ht} ${Pt}`,`opacity ${Ht} ${Pt}`].join(",")}}}}}};const Gt=Oe=>{const{componentCls:ke,itemHeight:ye,itemMarginInline:me,padding:ze,menuArrowSize:gt,marginXS:pe,itemMarginBlock:ve}=Oe,Je=ze+gt+pe;return{[`${ke}-item`]:{position:"relative",overflow:"hidden"},[`${ke}-item, ${ke}-submenu-title`]:{height:ye,lineHeight:`${ye}px`,paddingInline:ze,overflow:"hidden",textOverflow:"ellipsis",marginInline:me,marginBlock:ve,width:`calc(100% - ${me*2}px)`},[`> ${ke}-item,
|
|
> ${ke}-submenu > ${ke}-submenu-title`]:{height:ye,lineHeight:`${ye}px`},[`${ke}-item-group-list ${ke}-submenu-title,
|
|
${ke}-submenu-title`]:{paddingInlineEnd:Je}}};var Ve=Oe=>{const{componentCls:ke,iconCls:ye,itemHeight:me,colorTextLightSolid:ze,dropdownWidth:gt,controlHeightLG:pe,motionDurationMid:ve,motionEaseOut:Je,paddingXL:Re,itemMarginInline:Ce,fontSizeLG:je,motionDurationSlow:zt,paddingXS:Pt,boxShadowSecondary:kt,collapsedWidth:xt,collapsedIconSize:Ht}=Oe,ct={height:me,lineHeight:`${me}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ke]:{"&-inline, &-vertical":Object.assign({[`&${ke}-root`]:{boxShadow:"none"}},Gt(Oe))},[`${ke}-submenu-popup`]:{[`${ke}-vertical`]:Object.assign(Object.assign({},Gt(Oe)),{boxShadow:kt})}},{[`${ke}-submenu-popup ${ke}-vertical${ke}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${pe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ke}-inline`]:{width:"100%",[`&${ke}-root`]:{[`${ke}-item, ${ke}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${zt}`,`background ${zt}`,`padding ${ve} ${Je}`].join(","),[`> ${ke}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ke}-sub${ke}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ke}-submenu > ${ke}-submenu-title`]:ct,[`& ${ke}-item-group-title`]:{paddingInlineStart:Re}},[`${ke}-item`]:ct}},{[`${ke}-inline-collapsed`]:{width:xt,[`&${ke}-root`]:{[`${ke}-item, ${ke}-submenu ${ke}-submenu-title`]:{[`> ${ke}-inline-collapsed-noicon`]:{fontSize:je,textAlign:"center"}}},[`> ${ke}-item,
|
|
> ${ke}-item-group > ${ke}-item-group-list > ${ke}-item,
|
|
> ${ke}-item-group > ${ke}-item-group-list > ${ke}-submenu > ${ke}-submenu-title,
|
|
> ${ke}-submenu > ${ke}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${je/2}px - ${Ce}px)`,textOverflow:"clip",[`
|
|
${ke}-submenu-arrow,
|
|
${ke}-submenu-expand-icon
|
|
`]:{opacity:0},[`${ke}-item-icon, ${ye}`]:{margin:0,fontSize:Ht,lineHeight:`${me}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ke}-item-icon, ${ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ke}-item-icon, ${ye}`]:{display:"none"},"a, a:hover":{color:ze}},[`${ke}-item-group-title`]:Object.assign(Object.assign({},Ae.vS),{paddingInline:Pt})}}]};const pt=Oe=>{const{componentCls:ke,motionDurationSlow:ye,motionDurationMid:me,motionEaseInOut:ze,motionEaseOut:gt,iconCls:pe,iconSize:ve,iconMarginInlineEnd:Je}=Oe;return{[`${ke}-item, ${ke}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ye}`,`background ${ye}`,`padding ${ye} ${ze}`].join(","),[`${ke}-item-icon, ${pe}`]:{minWidth:ve,fontSize:ve,transition:[`font-size ${me} ${gt}`,`margin ${ye} ${ze}`,`color ${ye}`].join(","),"+ span":{marginInlineStart:Je,opacity:1,transition:[`opacity ${ye} ${ze}`,`margin ${ye}`,`color ${ye}`].join(",")}},[`${ke}-item-icon`]:Object.assign({},(0,Ae.Ro)()),[`&${ke}-item-only-child`]:{[`> ${pe}, > ${ke}-item-icon`]:{marginInlineEnd:0}}},[`${ke}-item-disabled, ${ke}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ke}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},$t=Oe=>{const{componentCls:ke,motionDurationSlow:ye,motionEaseInOut:me,borderRadius:ze,menuArrowSize:gt,menuArrowOffset:pe}=Oe;return{[`${ke}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Oe.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ye} ${me}, opacity ${ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:ze,transition:[`background ${ye} ${me}`,`transform ${ye} ${me}`,`top ${ye} ${me}`,`color ${ye} ${me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${pe})`},"&::after":{transform:`rotate(-45deg) translateY(${pe})`}}}}},qe=Oe=>{const{antCls:ke,componentCls:ye,fontSize:me,motionDurationSlow:ze,motionDurationMid:gt,motionEaseInOut:pe,paddingXS:ve,padding:Je,colorSplit:Re,lineWidth:Ce,zIndexPopup:je,borderRadiusLG:zt,subMenuItemBorderRadius:Pt,menuArrowSize:kt,menuArrowOffset:xt,lineType:Ht,menuPanelMaskInset:ct,groupTitleLineHeight:tn,groupTitleFontSize:sn}=Oe;return[{"":{[`${ye}`]:Object.assign(Object.assign({},(0,Ae.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,Ae.Wf)(Oe)),(0,Ae.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ze} 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:Oe.itemBorderRadius},[`${ye}-item-group-title`]:{padding:`${ve}px ${Je}px`,fontSize:sn,lineHeight:tn,transition:`all ${ze}`},[`&-horizontal ${ye}-submenu`]:{transition:[`border-color ${ze} ${pe}`,`background ${ze} ${pe}`].join(",")},[`${ye}-submenu, ${ye}-submenu-inline`]:{transition:[`border-color ${ze} ${pe}`,`background ${ze} ${pe}`,`padding ${gt} ${pe}`].join(",")},[`${ye}-submenu ${ye}-sub`]:{cursor:"initial",transition:[`background ${ze} ${pe}`,`padding ${ze} ${pe}`].join(",")},[`${ye}-title-content`]:{transition:`color ${ze}`},[`${ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Re,borderStyle:Ht,borderWidth:0,borderTopWidth:Ce,marginBlock:Ce,padding:0,"&-dashed":{borderStyle:"dashed"}}}),pt(Oe)),{[`${ye}-item-group`]:{[`${ye}-item-group-list`]:{margin:0,padding:0,[`${ye}-item, ${ye}-submenu-title`]:{paddingInline:`${me*2}px ${Je}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:je,borderRadius:zt,boxShadow:"none",transformOrigin:"0 0",[`&${ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ct}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ct},"\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:Oe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Oe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Oe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Oe.paddingXS},[`> ${ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:zt},pt(Oe)),$t(Oe)),{[`${ye}-item, ${ye}-submenu > ${ye}-submenu-title`]:{borderRadius:Pt},[`${ye}-submenu-title::after`]:{transition:`transform ${ze} ${pe}`}})}}),$t(Oe)),{[`&-inline-collapsed ${ye}-submenu-arrow,
|
|
&-inline ${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${xt})`},"&::after":{transform:`rotate(45deg) translateX(-${xt})`}},[`${ye}-submenu-open${ye}-submenu-inline > ${ye}-submenu-title > ${ye}-submenu-arrow`]:{transform:`translateY(-${kt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${xt})`},"&::before":{transform:`rotate(45deg) translateX(${xt})`}}})},{[`${ke}-layout-header`]:{[ye]:{lineHeight:"inherit"}}}]};var Vt=(Oe,ke)=>(0,Zt.Z)("Menu",me=>{if(ke===!1)return[];const{colorBgElevated:ze,colorPrimary:gt,colorTextLightSolid:pe,controlHeightLG:ve,fontSize:Je,darkItemColor:Re,darkDangerItemColor:Ce,darkItemBg:je,darkSubMenuItemBg:zt,darkItemSelectedColor:Pt,darkItemSelectedBg:kt,darkDangerItemSelectedBg:xt,darkItemHoverBg:Ht,darkGroupTitleColor:ct,darkItemHoverColor:tn,darkItemDisabledColor:sn,darkDangerItemHoverColor:Xt,darkDangerItemSelectedColor:bn,darkDangerItemActiveBg:Cn}=me,cn=Je/7*5,kn=(0,et.TS)(me,{menuArrowSize:cn,menuHorizontalHeight:ve*1.15,menuArrowOffset:`${cn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ze}),ca=(0,et.TS)(kn,{itemColor:Re,itemHoverColor:tn,groupTitleColor:ct,itemSelectedColor:Pt,itemBg:je,popupBg:je,subMenuItemBg:zt,itemActiveBg:"transparent",itemSelectedBg:kt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ht,itemDisabledColor:sn,dangerItemColor:Ce,dangerItemHoverColor:Xt,dangerItemSelectedColor:bn,dangerItemActiveBg:Cn,dangerItemSelectedBg:xt,menuSubMenuBg:zt,horizontalItemSelectedColor:pe,horizontalItemSelectedBg:gt});return[qe(kn),bt(kn),Ve(kn),Bt(kn,"light"),Bt(ca,"dark"),Dt(kn),(0,be.Z)(kn),(0,St.oN)(kn,"slide-up"),(0,St.oN)(kn,"slide-down"),(0,at._y)(kn,"zoom-big")]},me=>{const{colorPrimary:ze,colorError:gt,colorTextDisabled:pe,colorErrorBg:ve,colorText:Je,colorTextDescription:Re,colorBgContainer:Ce,colorFillAlter:je,colorFillContent:zt,lineWidth:Pt,lineWidthBold:kt,controlItemBgActive:xt,colorBgTextHover:Ht,controlHeightLG:ct,lineHeight:tn,colorBgElevated:sn,marginXXS:Xt,padding:bn,fontSize:Cn,controlHeightSM:cn,fontSizeLG:kn,colorTextLightSolid:ca,colorErrorHover:xa}=me,pa=new Pe.C(ca).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:Je,itemColor:Je,colorItemTextHover:Je,itemHoverColor:Je,colorItemTextHoverHorizontal:ze,horizontalItemHoverColor:ze,colorGroupTitle:Re,groupTitleColor:Re,colorItemTextSelected:ze,itemSelectedColor:ze,colorItemTextSelectedHorizontal:ze,horizontalItemSelectedColor:ze,colorItemBg:Ce,itemBg:Ce,colorItemBgHover:Ht,itemHoverBg:Ht,colorItemBgActive:zt,itemActiveBg:xt,colorSubItemBg:je,subMenuItemBg:je,colorItemBgSelected:xt,itemSelectedBg:xt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:kt,activeBarHeight:kt,colorActiveBarBorderSize:Pt,activeBarBorderWidth:Pt,colorItemTextDisabled:pe,itemDisabledColor:pe,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:ve,dangerItemActiveBg:ve,colorDangerItemBgSelected:ve,dangerItemSelectedBg:ve,itemMarginInline:me.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ct,groupTitleLineHeight:tn,collapsedWidth:ct*2,popupBg:sn,itemMarginBlock:Xt,itemPaddingInline:bn,horizontalLineHeight:`${ct*1.15}px`,iconSize:Cn,iconMarginInlineEnd:cn-Cn,collapsedIconSize:kn,groupTitleFontSize:Cn,darkItemDisabledColor:new Pe.C(ca).setAlpha(.25).toRgbString(),darkItemColor:pa,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ca,darkItemSelectedBg:ze,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:pa,darkItemHoverColor:ca,darkDangerItemHoverColor:xa,darkDangerItemSelectedColor:ca,darkDangerItemActiveBg:gt}},{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"]]})(Oe),xe=function(Oe,ke){var ye={};for(var me in Oe)Object.prototype.hasOwnProperty.call(Oe,me)&&ke.indexOf(me)<0&&(ye[me]=Oe[me]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,me=Object.getOwnPropertySymbols(Oe);ze<me.length;ze++)ke.indexOf(me[ze])<0&&Object.prototype.propertyIsEnumerable.call(Oe,me[ze])&&(ye[me[ze]]=Oe[me[ze]]);return ye},yt=(0,he.forwardRef)((Oe,ke)=>{var ye,me;const ze=he.useContext(te.Z),gt=ze||{},{getPrefixCls:pe,getPopupContainer:ve,direction:Je,menu:Re}=he.useContext(Ie.E_),Ce=pe(),{prefixCls:je,className:zt,style:Pt,theme:kt="light",expandIcon:xt,_internalDisableMenuItemTitleTooltip:Ht,inlineCollapsed:ct,siderCollapsed:tn,items:sn,children:Xt,rootClassName:bn,mode:Cn,selectable:cn,onClick:kn,overflowedIndicatorPopupClassName:ca}=Oe,xa=xe(Oe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),pa=(0,_e.Z)(xa,["collapsedWidth"]),Ea=Be(sn)||Xt;(ye=gt.validator)===null||ye===void 0||ye.call(gt,{mode:Cn});const Fa=(0,ee.useEvent)(function(){var mn;kn==null||kn.apply(void 0,arguments),(mn=gt.onClick)===null||mn===void 0||mn.call(gt)}),Na=gt.mode||Cn,In=cn!=null?cn:gt.selectable,qa=he.useMemo(()=>tn!==void 0?tn:ct,[ct,tn]),_a={horizontal:{motionName:`${Ce}-slide-up`},inline:(0,ae.Z)(Ce),other:{motionName:`${Ce}-zoom-big`}},Pa=pe("menu",je||gt.prefixCls),[eo,Mo]=Vt(Pa,!ze),un=Me()(`${Pa}-${kt}`,Re==null?void 0:Re.className,zt);let gn;if(typeof xt=="function")gn=xt;else if(xt===null||xt===!1)gn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)gn=null;else{const mn=xt!=null?xt:gt.expandIcon;gn=(0,Ge.Tm)(mn,{className:Me()(`${Pa}-submenu-expand-icon`,(0,Ge.l$)(mn)?(me=mn.props)===null||me===void 0?void 0:me.className:"")})}const wn=he.useMemo(()=>({prefixCls:Pa,inlineCollapsed:qa||!1,direction:Je,firstLevel:!0,theme:kt,mode:Na,disableMenuItemTitleTooltip:Ht}),[Pa,qa,Je,Ht,kt]);return eo(he.createElement(te.Z.Provider,{value:null},he.createElement(y.Provider,{value:wn},he.createElement(se.ZP,Object.assign({getPopupContainer:ve,overflowedIndicator:he.createElement(z.Z,null),overflowedIndicatorPopupClassName:Me()(Pa,`${Pa}-${kt}`,ca),mode:Na,selectable:In,onClick:Fa},pa,{inlineCollapsed:qa,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Pt),className:un,prefixCls:Pa,direction:Je,defaultMotions:_a,expandIcon:gn,ref:ke,rootClassName:Me()(bn,Mo)}),Ea))))});const pn=(0,he.forwardRef)((Oe,ke)=>{const ye=(0,he.useRef)(null),me=he.useContext(Te.D);return(0,he.useImperativeHandle)(ke,()=>({menu:ye.current,focus:ze=>{var gt;(gt=ye.current)===null||gt===void 0||gt.focus(ze)}})),he.createElement(yt,Object.assign({ref:ye},Oe,me))});pn.Item=x,pn.SubMenu=E,pn.Divider=it,pn.ItemGroup=se.BW;var Sn=pn},58421:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return gt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(ve,Je){return he.createElement(Me.Z,(0,se.Z)({},ve,{ref:Je,icon:ot}))},ie=he.forwardRef(Ie),dt=ie,it=ne(49198),nt=ne(33853),_e=ne(38819),st=ne(92310),Ge=ne.n(st),re=ne(400),y=ne(33708),a=ne(6909),x=ne(4771),b=ne(9427),E=ne(25440),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,te=ne(91735),ue=function(pe){(0,b.Z)(Je,pe);var ve=(0,E.Z)(Je);function Je(){var Re;(0,a.Z)(this,Je);for(var Ce=arguments.length,je=new Array(Ce),zt=0;zt<Ce;zt++)je[zt]=arguments[zt];return Re=ve.call.apply(ve,[this].concat(je)),Re.state={goInputText:""},Re.getValidValue=function(){var Pt=Re.state.goInputText;return!Pt||Number.isNaN(Pt)?void 0:Number(Pt)},Re.buildOptionText=function(Pt){return"".concat(Pt," ").concat(Re.props.locale.items_per_page)},Re.changeSize=function(Pt){Re.props.changeSize(Number(Pt))},Re.handleChange=function(Pt){Re.setState({goInputText:Pt.target.value})},Re.handleBlur=function(Pt){var kt=Re.props,xt=kt.goButton,Ht=kt.quickGo,ct=kt.rootPrefixCls,tn=Re.state.goInputText;xt||tn===""||(Re.setState({goInputText:""}),!(Pt.relatedTarget&&(Pt.relatedTarget.className.indexOf("".concat(ct,"-item-link"))>=0||Pt.relatedTarget.className.indexOf("".concat(ct,"-item"))>=0))&&Ht(Re.getValidValue()))},Re.go=function(Pt){var kt=Re.state.goInputText;kt!==""&&(Pt.keyCode===ae.ENTER||Pt.type==="click")&&(Re.setState({goInputText:""}),Re.props.quickGo(Re.getValidValue()))},Re}return(0,x.Z)(Je,[{key:"getPageSizeOptions",value:function(){var Ce=this.props,je=Ce.pageSize,zt=Ce.pageSizeOptions;return zt.some(function(Pt){return Pt.toString()===je.toString()})?zt:zt.concat([je.toString()]).sort(function(Pt,kt){var xt=Number.isNaN(Number(Pt))?0:Number(Pt),Ht=Number.isNaN(Number(kt))?0:Number(kt);return xt-Ht})}},{key:"render",value:function(){var Ce=this,je=this.props,zt=je.pageSize,Pt=je.locale,kt=je.rootPrefixCls,xt=je.changeSize,Ht=je.quickGo,ct=je.goButton,tn=je.selectComponentClass,sn=je.buildOptionText,Xt=je.selectPrefixCls,bn=je.disabled,Cn=this.state.goInputText,cn="".concat(kt,"-options"),kn=tn,ca=null,xa=null,pa=null;if(!xt&&!Ht)return null;var Ea=this.getPageSizeOptions();if(xt&&kn){var Fa=Ea.map(function(Na,In){return he.createElement(kn.Option,{key:In,value:Na.toString()},(sn||Ce.buildOptionText)(Na))});ca=he.createElement(kn,{disabled:bn,prefixCls:Xt,showSearch:!1,className:"".concat(cn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(zt||Ea[0]).toString(),onChange:this.changeSize,getPopupContainer:function(In){return In.parentNode},"aria-label":Pt.page_size,defaultOpen:!1},Fa)}return Ht&&(ct&&(pa=typeof ct=="boolean"?he.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:bn,className:"".concat(cn,"-quick-jumper-button")},Pt.jump_to_confirm):he.createElement("span",{onClick:this.go,onKeyUp:this.go},ct)),xa=he.createElement("div",{className:"".concat(cn,"-quick-jumper")},Pt.jump_to,he.createElement("input",{disabled:bn,type:"text",value:Cn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Pt.page}),Pt.page,pa)),he.createElement("li",{className:"".concat(cn)},ca,xa)}}]),Je}(he.Component);ue.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=ue,Be=function(ve){var Je,Re=ve.rootPrefixCls,Ce=ve.page,je=ve.active,zt=ve.className,Pt=ve.showTitle,kt=ve.onClick,xt=ve.onKeyPress,Ht=ve.itemRender,ct="".concat(Re,"-item"),tn=Ge()(ct,"".concat(ct,"-").concat(Ce),(Je={},(0,re.Z)(Je,"".concat(ct,"-active"),je),(0,re.Z)(Je,"".concat(ct,"-disabled"),!Ce),(0,re.Z)(Je,ve.className,zt),Je)),sn=function(){kt(Ce)},Xt=function(cn){xt(cn,kt,Ce)},bn=Ht(Ce,"page",he.createElement("a",{rel:"nofollow"},Ce));return bn?he.createElement("li",{title:Pt?Ce.toString():null,className:tn,onClick:sn,onKeyPress:Xt,tabIndex:0},bn):null},Pe=Be;function Ae(){}function be(pe){var ve=Number(pe);return typeof ve=="number"&&!Number.isNaN(ve)&&isFinite(ve)&&Math.floor(ve)===ve}var St=function(ve,Je,Re){return Re};function at(pe,ve,Je){var Re=typeof pe=="undefined"?ve.pageSize:pe;return Math.floor((Je.total-1)/Re)+1}var Zt=function(pe){(0,b.Z)(Je,pe);var ve=(0,E.Z)(Je);function Je(Re){var Ce;(0,a.Z)(this,Je),Ce=ve.call(this,Re),Ce.paginationNode=he.createRef(),Ce.getJumpPrevPage=function(){return Math.max(1,Ce.state.current-(Ce.props.showLessItems?3:5))},Ce.getJumpNextPage=function(){return Math.min(at(void 0,Ce.state,Ce.props),Ce.state.current+(Ce.props.showLessItems?3:5))},Ce.getItemIcon=function(xt,Ht){var ct=Ce.props.prefixCls,tn=xt||he.createElement("button",{type:"button","aria-label":Ht,className:"".concat(ct,"-item-link")});return typeof xt=="function"&&(tn=he.createElement(xt,(0,y.Z)({},Ce.props))),tn},Ce.isValid=function(xt){var Ht=Ce.props.total;return be(xt)&&xt!==Ce.state.current&&be(Ht)&&Ht>0},Ce.shouldDisplayQuickJumper=function(){var xt=Ce.props,Ht=xt.showQuickJumper,ct=xt.total,tn=Ce.state.pageSize;return ct<=tn?!1:Ht},Ce.handleKeyDown=function(xt){(xt.keyCode===ae.ARROW_UP||xt.keyCode===ae.ARROW_DOWN)&&xt.preventDefault()},Ce.handleKeyUp=function(xt){var Ht=Ce.getValidValue(xt),ct=Ce.state.currentInputValue;Ht!==ct&&Ce.setState({currentInputValue:Ht}),xt.keyCode===ae.ENTER?Ce.handleChange(Ht):xt.keyCode===ae.ARROW_UP?Ce.handleChange(Ht-1):xt.keyCode===ae.ARROW_DOWN&&Ce.handleChange(Ht+1)},Ce.handleBlur=function(xt){var Ht=Ce.getValidValue(xt);Ce.handleChange(Ht)},Ce.changePageSize=function(xt){var Ht=Ce.state.current,ct=at(xt,Ce.state,Ce.props);Ht=Ht>ct?ct:Ht,ct===0&&(Ht=Ce.state.current),typeof xt=="number"&&("pageSize"in Ce.props||Ce.setState({pageSize:xt}),"current"in Ce.props||Ce.setState({current:Ht,currentInputValue:Ht})),Ce.props.onShowSizeChange(Ht,xt),"onChange"in Ce.props&&Ce.props.onChange&&Ce.props.onChange(Ht,xt)},Ce.handleChange=function(xt){var Ht=Ce.props,ct=Ht.disabled,tn=Ht.onChange,sn=Ce.state,Xt=sn.pageSize,bn=sn.current,Cn=sn.currentInputValue;if(Ce.isValid(xt)&&!ct){var cn=at(void 0,Ce.state,Ce.props),kn=xt;return xt>cn?kn=cn:xt<1&&(kn=1),"current"in Ce.props||Ce.setState({current:kn}),kn!==Cn&&Ce.setState({currentInputValue:kn}),tn(kn,Xt),kn}return bn},Ce.prev=function(){Ce.hasPrev()&&Ce.handleChange(Ce.state.current-1)},Ce.next=function(){Ce.hasNext()&&Ce.handleChange(Ce.state.current+1)},Ce.jumpPrev=function(){Ce.handleChange(Ce.getJumpPrevPage())},Ce.jumpNext=function(){Ce.handleChange(Ce.getJumpNextPage())},Ce.hasPrev=function(){return Ce.state.current>1},Ce.hasNext=function(){return Ce.state.current<at(void 0,Ce.state,Ce.props)},Ce.runIfEnter=function(xt,Ht){if(xt.key==="Enter"||xt.charCode===13){for(var ct=arguments.length,tn=new Array(ct>2?ct-2:0),sn=2;sn<ct;sn++)tn[sn-2]=arguments[sn];Ht.apply(void 0,tn)}},Ce.runIfEnterPrev=function(xt){Ce.runIfEnter(xt,Ce.prev)},Ce.runIfEnterNext=function(xt){Ce.runIfEnter(xt,Ce.next)},Ce.runIfEnterJumpPrev=function(xt){Ce.runIfEnter(xt,Ce.jumpPrev)},Ce.runIfEnterJumpNext=function(xt){Ce.runIfEnter(xt,Ce.jumpNext)},Ce.handleGoTO=function(xt){(xt.keyCode===ae.ENTER||xt.type==="click")&&Ce.handleChange(Ce.state.currentInputValue)},Ce.renderPrev=function(xt){var Ht=Ce.props,ct=Ht.prevIcon,tn=Ht.itemRender,sn=tn(xt,"prev",Ce.getItemIcon(ct,"prev page")),Xt=!Ce.hasPrev();return(0,he.isValidElement)(sn)?(0,he.cloneElement)(sn,{disabled:Xt}):sn},Ce.renderNext=function(xt){var Ht=Ce.props,ct=Ht.nextIcon,tn=Ht.itemRender,sn=tn(xt,"next",Ce.getItemIcon(ct,"next page")),Xt=!Ce.hasNext();return(0,he.isValidElement)(sn)?(0,he.cloneElement)(sn,{disabled:Xt}):sn};var je=Re.onChange!==Ae,zt="current"in Re;zt&&!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 Pt=Re.defaultCurrent;"current"in Re&&(Pt=Re.current);var kt=Re.defaultPageSize;return"pageSize"in Re&&(kt=Re.pageSize),Pt=Math.min(Pt,at(kt,void 0,Re)),Ce.state={current:Pt,currentInputValue:Pt,pageSize:kt},Ce}return(0,x.Z)(Je,[{key:"componentDidUpdate",value:function(Ce,je){var zt=this.props.prefixCls;if(je.current!==this.state.current&&this.paginationNode.current){var Pt=this.paginationNode.current.querySelector(".".concat(zt,"-item-").concat(je.current));if(Pt&&document.activeElement===Pt){var kt;Pt==null||(kt=Pt.blur)===null||kt===void 0||kt.call(Pt)}}}},{key:"getValidValue",value:function(Ce){var je=Ce.target.value,zt=at(void 0,this.state,this.props),Pt=this.state.currentInputValue,kt;return je===""?kt=je:Number.isNaN(Number(je))?kt=Pt:je>=zt?kt=zt:kt=Number(je),kt}},{key:"getShowSizeChanger",value:function(){var Ce=this.props,je=Ce.showSizeChanger,zt=Ce.total,Pt=Ce.totalBoundaryShowSizeChanger;return typeof je!="undefined"?je:zt>Pt}},{key:"render",value:function(){var Ce=this.props,je=Ce.prefixCls,zt=Ce.className,Pt=Ce.style,kt=Ce.disabled,xt=Ce.hideOnSinglePage,Ht=Ce.total,ct=Ce.locale,tn=Ce.showQuickJumper,sn=Ce.showLessItems,Xt=Ce.showTitle,bn=Ce.showTotal,Cn=Ce.simple,cn=Ce.itemRender,kn=Ce.showPrevNextJumpers,ca=Ce.jumpPrevIcon,xa=Ce.jumpNextIcon,pa=Ce.selectComponentClass,Ea=Ce.selectPrefixCls,Fa=Ce.pageSizeOptions,Na=this.state,In=Na.current,qa=Na.pageSize,_a=Na.currentInputValue;if(xt===!0&&Ht<=qa)return null;var Pa=at(void 0,this.state,this.props),eo=[],Mo=null,un=null,gn=null,wn=null,mn=null,ua=tn&&tn.goButton,va=sn?1:2,Xn=In-1>0?In-1:0,Ue=In+1<Pa?In+1:Pa,$e=(0,z.Z)(this.props,{aria:!0,data:!0}),Xe=bn&&he.createElement("li",{className:"".concat(je,"-total-text")},bn(Ht,[Ht===0?0:(In-1)*qa+1,In*qa>Ht?Ht:In*qa]));if(Cn){ua&&(typeof ua=="boolean"?mn=he.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ct.jump_to_confirm):mn=he.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ua),mn=he.createElement("li",{title:Xt?"".concat(ct.jump_to).concat(In,"/").concat(Pa):null,className:"".concat(je,"-simple-pager")},mn));var Mt=this.renderPrev(Xn);return he.createElement("ul",(0,se.Z)({className:Ge()(je,"".concat(je,"-simple"),(0,re.Z)({},"".concat(je,"-disabled"),kt),zt),style:Pt,ref:this.paginationNode},$e),Xe,Mt?he.createElement("li",{title:Xt?ct.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ge()("".concat(je,"-prev"),(0,re.Z)({},"".concat(je,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Mt):null,he.createElement("li",{title:Xt?"".concat(In,"/").concat(Pa):null,className:"".concat(je,"-simple-pager")},he.createElement("input",{type:"text",value:_a,disabled:kt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),he.createElement("span",{className:"".concat(je,"-slash")},"/"),Pa),he.createElement("li",{title:Xt?ct.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ge()("".concat(je,"-next"),(0,re.Z)({},"".concat(je,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ue)),mn)}if(Pa<=3+va*2){var on={locale:ct,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Xt,itemRender:cn};Pa||eo.push(he.createElement(Pe,(0,se.Z)({},on,{key:"noPager",page:1,className:"".concat(je,"-item-disabled")})));for(var jt=1;jt<=Pa;jt+=1){var oa=In===jt;eo.push(he.createElement(Pe,(0,se.Z)({},on,{key:jt,page:jt,active:oa})))}}else{var Mn=sn?ct.prev_3:ct.prev_5,En=sn?ct.next_3:ct.next_5,da=cn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ca,"prev page")),ta=cn(this.getJumpNextPage(),"jump-next",this.getItemIcon(xa,"next page"));kn&&(Mo=da?he.createElement("li",{title:Xt?Mn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ge()("".concat(je,"-jump-prev"),(0,re.Z)({},"".concat(je,"-jump-prev-custom-icon"),!!ca))},da):null,un=ta?he.createElement("li",{title:Xt?En:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ge()("".concat(je,"-jump-next"),(0,re.Z)({},"".concat(je,"-jump-next-custom-icon"),!!xa))},ta):null),wn=he.createElement(Pe,{locale:ct,last:!0,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Pa,page:Pa,active:!1,showTitle:Xt,itemRender:cn}),gn=he.createElement(Pe,{locale:ct,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Xt,itemRender:cn});var Ut=Math.max(1,In-va),ka=Math.min(In+va,Pa);In-1<=va&&(ka=1+va*2),Pa-In<=va&&(Ut=Pa-va*2);for(var So=Ut;So<=ka;So+=1){var Ya=In===So;eo.push(he.createElement(Pe,{locale:ct,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:So,page:So,active:Ya,showTitle:Xt,itemRender:cn}))}In-1>=va*2&&In!==3&&(eo[0]=(0,he.cloneElement)(eo[0],{className:"".concat(je,"-item-after-jump-prev")}),eo.unshift(Mo)),Pa-In>=va*2&&In!==Pa-2&&(eo[eo.length-1]=(0,he.cloneElement)(eo[eo.length-1],{className:"".concat(je,"-item-before-jump-next")}),eo.push(un)),Ut!==1&&eo.unshift(gn),ka!==Pa&&eo.push(wn)}var Ha=!this.hasPrev()||!Pa,Wa=!this.hasNext()||!Pa,To=this.renderPrev(Xn),zo=this.renderNext(Ue);return he.createElement("ul",(0,se.Z)({className:Ge()(je,zt,(0,re.Z)({},"".concat(je,"-disabled"),kt)),style:Pt,ref:this.paginationNode},$e),Xe,To?he.createElement("li",{title:Xt?ct.prev_page:null,onClick:this.prev,tabIndex:Ha?null:0,onKeyPress:this.runIfEnterPrev,className:Ge()("".concat(je,"-prev"),(0,re.Z)({},"".concat(je,"-disabled"),Ha)),"aria-disabled":Ha},To):null,eo,zo?he.createElement("li",{title:Xt?ct.next_page:null,onClick:this.next,tabIndex:Wa?null:0,onKeyPress:this.runIfEnterNext,className:Ge()("".concat(je,"-next"),(0,re.Z)({},"".concat(je,"-disabled"),Wa)),"aria-disabled":Wa},zo):null,he.createElement(fe,{disabled:kt,locale:ct,rootPrefixCls:je,selectComponentClass:pa,selectPrefixCls:Ea,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:In,pageSize:qa,pageSizeOptions:Fa,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ua}))}}],[{key:"getDerivedStateFromProps",value:function(Ce,je){var zt={};if("current"in Ce&&(zt.current=Ce.current,Ce.current!==je.current&&(zt.currentInputValue=zt.current)),"pageSize"in Ce&&Ce.pageSize!==je.pageSize){var Pt=je.current,kt=at(Ce.pageSize,je,Ce);Pt=Pt>kt?kt:Pt,"current"in Ce||(zt.current=Pt,zt.currentInputValue=Pt),zt.pageSize=Ce.pageSize}return zt}}]),Je}(he.Component);Zt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ae,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ae,locale:te.Z,style:{},itemRender:St,totalBoundaryShowSizeChanger:50};var et=Zt,ut=ne(22075),bt=ne(36355),Kt=ne(19716),Dt=ne(8628),Tt=ne(9763),We=ne(57809);const Bt=pe=>he.createElement(We.default,Object.assign({},pe,{showSearch:!0,size:"small"})),Gt=pe=>he.createElement(We.default,Object.assign({},pe,{showSearch:!0,size:"middle"}));Bt.Option=We.default.Option,Gt.Option=We.default.Option;var De=ne(9937),Ve=ne(17313),pt=ne(83116),$t=ne(37613);const qe=pe=>{const{componentCls:ve}=pe;return{[`${ve}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ve}-item-link`]:{color:pe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ve}-item-link`]:{color:pe.colorTextDisabled,cursor:"not-allowed"}}},[`&${ve}-disabled`]:{cursor:"not-allowed",[`${ve}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:pe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:pe.colorBorder,backgroundColor:pe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:pe.itemActiveBgDisabled},a:{color:pe.itemActiveColorDisabled}}},[`${ve}-item-link`]:{color:pe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ve}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ve}-simple-pager`]:{color:pe.colorTextDisabled},[`${ve}-jump-prev, ${ve}-jump-next`]:{[`${ve}-item-link-icon`]:{opacity:0},[`${ve}-item-ellipsis`]:{opacity:1}}},[`&${ve}-simple`]:{[`${ve}-prev, ${ve}-next`]:{[`&${ve}-disabled ${ve}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Vt=pe=>{const{componentCls:ve}=pe;return{[`&${ve}-mini ${ve}-total-text, &${ve}-mini ${ve}-simple-pager`]:{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`},[`&${ve}-mini ${ve}-item`]:{minWidth:pe.itemSizeSM,height:pe.itemSizeSM,margin:0,lineHeight:`${pe.itemSizeSM-2}px`},[`&${ve}-mini:not(${ve}-disabled) ${ve}-item:not(${ve}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:pe.colorBgTextHover},"&:active":{backgroundColor:pe.colorBgTextActive}},[`&${ve}-mini ${ve}-prev, &${ve}-mini ${ve}-next`]:{minWidth:pe.itemSizeSM,height:pe.itemSizeSM,margin:0,lineHeight:`${pe.itemSizeSM}px`},[`&${ve}-mini:not(${ve}-disabled)`]:{[`${ve}-prev, ${ve}-next`]:{[`&:hover ${ve}-item-link`]:{backgroundColor:pe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:pe.colorBgTextActive},[`&${ve}-disabled:hover ${ve}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${ve}-mini ${ve}-prev ${ve}-item-link,
|
|
&${ve}-mini ${ve}-next ${ve}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`}},[`&${ve}-mini ${ve}-jump-prev, &${ve}-mini ${ve}-jump-next`]:{height:pe.itemSizeSM,marginInlineEnd:0,lineHeight:`${pe.itemSizeSM}px`},[`&${ve}-mini ${ve}-options`]:{marginInlineStart:pe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:pe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,De.x0)(pe)),{width:pe.paginationMiniQuickJumperInputWidth,height:pe.controlHeightSM})}}}},xe=pe=>{const{componentCls:ve}=pe;return{[`
|
|
&${ve}-simple ${ve}-prev,
|
|
&${ve}-simple ${ve}-next
|
|
`]:{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`,verticalAlign:"top",[`${ve}-item-link`]:{height:pe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:pe.colorBgTextHover},"&:active":{backgroundColor:pe.colorBgTextActive},"&::after":{height:pe.itemSizeSM,lineHeight:`${pe.itemSizeSM}px`}}},[`&${ve}-simple ${ve}-simple-pager`]:{display:"inline-block",height:pe.itemSizeSM,marginInlineEnd:pe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:pe.marginXS,padding:`0 ${pe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:pe.itemInputBg,border:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`,borderRadius:pe.borderRadius,outline:"none",transition:`border-color ${pe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:pe.colorPrimary},"&:focus":{borderColor:pe.colorPrimaryHover,boxShadow:`${pe.inputOutlineOffset}px 0 ${pe.controlOutlineWidth}px ${pe.controlOutline}`},"&[disabled]":{color:pe.colorTextDisabled,backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,cursor:"not-allowed"}}}}},At=pe=>{const{componentCls:ve}=pe;return{[`${ve}-jump-prev, ${ve}-jump-next`]:{outline:0,[`${ve}-item-container`]:{position:"relative",[`${ve}-item-link-icon`]:{color:pe.colorPrimary,fontSize:pe.fontSizeSM,opacity:0,transition:`all ${pe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ve}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:pe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:pe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:pe.paginationEllipsisTextIndent,opacity:1,transition:`all ${pe.motionDurationMid}`}},"&:hover":{[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}}},[`
|
|
${ve}-prev,
|
|
${ve}-jump-prev,
|
|
${ve}-jump-next
|
|
`]:{marginInlineEnd:pe.marginXS},[`
|
|
${ve}-prev,
|
|
${ve}-next,
|
|
${ve}-jump-prev,
|
|
${ve}-jump-next
|
|
`]:{display:"inline-block",minWidth:pe.itemSize,height:pe.itemSize,color:pe.colorText,fontFamily:pe.fontFamily,lineHeight:`${pe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:pe.borderRadius,cursor:"pointer",transition:`all ${pe.motionDurationMid}`},[`${ve}-prev, ${ve}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:pe.colorText,cursor:"pointer",userSelect:"none"},[`${ve}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:pe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${pe.lineWidth}px ${pe.lineType} transparent`,borderRadius:pe.borderRadius,outline:"none",transition:`all ${pe.motionDurationMid}`},[`&:hover ${ve}-item-link`]:{backgroundColor:pe.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:pe.colorBgTextActive},[`&${ve}-disabled:hover`]:{[`${ve}-item-link`]:{backgroundColor:"transparent"}}},[`${ve}-slash`]:{marginInlineEnd:pe.paginationSlashMarginInlineEnd,marginInlineStart:pe.paginationSlashMarginInlineStart},[`${ve}-options`]:{display:"inline-block",marginInlineStart:pe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:pe.controlHeight,marginInlineStart:pe.marginXS,lineHeight:`${pe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,De.ik)(pe)),{width:pe.controlHeightLG*1.25,height:pe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:pe.marginXS,marginInlineEnd:pe.marginXS})}}}},yt=pe=>{const{componentCls:ve}=pe;return{[`${ve}-item`]:{display:"inline-block",minWidth:pe.itemSize,height:pe.itemSize,marginInlineEnd:pe.marginXS,fontFamily:pe.fontFamily,lineHeight:`${pe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${pe.lineWidth}px ${pe.lineType} transparent`,borderRadius:pe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${pe.paginationItemPaddingInline}px`,color:pe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ve}-item-active)`]:{"&:hover":{transition:`all ${pe.motionDurationMid}`,backgroundColor:pe.colorBgTextHover},"&:active":{backgroundColor:pe.colorBgTextActive}},"&-active":{fontWeight:pe.fontWeightStrong,backgroundColor:pe.itemActiveBg,borderColor:pe.colorPrimary,a:{color:pe.colorPrimary},"&:hover":{borderColor:pe.colorPrimaryHover},"&:hover a":{color:pe.colorPrimaryHover}}}}},pn=pe=>{const{componentCls:ve}=pe;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ve.Wf)(pe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ve}-total-text`]:{display:"inline-block",height:pe.itemSize,marginInlineEnd:pe.marginXS,lineHeight:`${pe.itemSize-2}px`,verticalAlign:"middle"}}),yt(pe)),At(pe)),xe(pe)),Vt(pe)),qe(pe)),{[`@media only screen and (max-width: ${pe.screenLG}px)`]:{[`${ve}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${pe.screenSM}px)`]:{[`${ve}-options`]:{display:"none"}}}),[`&${pe.componentCls}-rtl`]:{direction:"rtl"}}},Sn=pe=>{const{componentCls:ve}=pe;return{[`${ve}${ve}-disabled:not(${ve}-mini)`]:{"&, &:hover":{[`${ve}-item-link`]:{borderColor:pe.colorBorder}},"&:focus-visible":{[`${ve}-item-link`]:{borderColor:pe.colorBorder}},[`${ve}-item, ${ve}-item-link`]:{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,[`&:hover:not(${ve}-item-active)`]:{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,a:{color:pe.colorTextDisabled}},[`&${ve}-item-active`]:{backgroundColor:pe.itemActiveBgDisabled}},[`${ve}-prev, ${ve}-next`]:{"&:hover button":{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder,color:pe.colorTextDisabled},[`${ve}-item-link`]:{backgroundColor:pe.colorBgContainerDisabled,borderColor:pe.colorBorder}}},[`${ve}:not(${ve}-mini)`]:{[`${ve}-prev, ${ve}-next`]:{"&:hover button":{borderColor:pe.colorPrimaryHover,backgroundColor:pe.itemBg},[`${ve}-item-link`]:{backgroundColor:pe.itemLinkBg,borderColor:pe.colorBorder},[`&:hover ${ve}-item-link`]:{borderColor:pe.colorPrimary,backgroundColor:pe.itemBg,color:pe.colorPrimary},[`&${ve}-disabled`]:{[`${ve}-item-link`]:{borderColor:pe.colorBorder,color:pe.colorTextDisabled}}},[`${ve}-item`]:{backgroundColor:pe.itemBg,border:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`,[`&:hover:not(${ve}-item-active)`]:{borderColor:pe.colorPrimary,backgroundColor:pe.itemBg,a:{color:pe.colorPrimary}},"&-active":{borderColor:pe.colorPrimary}}}}},Oe=pe=>{const{componentCls:ve}=pe;return{[`${ve}:not(${ve}-disabled)`]:{[`${ve}-item`]:Object.assign({},(0,Ve.Qy)(pe)),[`${ve}-jump-prev, ${ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}},(0,Ve.oN)(pe))},[`${ve}-prev, ${ve}-next`]:{[`&:focus-visible ${ve}-item-link`]:Object.assign({},(0,Ve.oN)(pe))}}}};var ke=(0,pt.Z)("Pagination",pe=>{const ve=(0,$t.TS)(pe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:pe.marginXXS/2,paginationMiniQuickJumperInputWidth:pe.controlHeightLG*1.1,paginationItemPaddingInline:pe.marginXXS*1.5,paginationEllipsisLetterSpacing:pe.marginXXS/2,paginationSlashMarginInlineStart:pe.marginXXS,paginationSlashMarginInlineEnd:pe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,De.e5)(pe),(0,De.TM)(pe));return[pn(ve),Oe(ve),pe.wireframe&&Sn(ve)]},pe=>({itemBg:pe.colorBgContainer,itemSize:pe.controlHeight,itemSizeSM:pe.controlHeightSM,itemActiveBg:pe.colorBgContainer,itemLinkBg:pe.colorBgContainer,itemActiveColorDisabled:pe.colorTextDisabled,itemActiveBgDisabled:pe.controlItemBgActiveDisabled,itemInputBg:pe.colorBgContainer,miniOptionsSizeChangerTop:0})),ye=function(pe,ve){var Je={};for(var Re in pe)Object.prototype.hasOwnProperty.call(pe,Re)&&ve.indexOf(Re)<0&&(Je[Re]=pe[Re]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Re=Object.getOwnPropertySymbols(pe);Ce<Re.length;Ce++)ve.indexOf(Re[Ce])<0&&Object.prototype.propertyIsEnumerable.call(pe,Re[Ce])&&(Je[Re[Ce]]=pe[Re[Ce]]);return Je},ze=pe=>{const{prefixCls:ve,selectPrefixCls:Je,className:Re,rootClassName:Ce,style:je,size:zt,locale:Pt,selectComponentClass:kt,responsive:xt,showSizeChanger:Ht}=pe,ct=ye(pe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:tn}=(0,Dt.Z)(xt),{getPrefixCls:sn,direction:Xt,pagination:bn={}}=he.useContext(bt.E_),Cn=sn("pagination",ve),[cn,kn]=ke(Cn),ca=Ht!=null?Ht:bn.showSizeChanger,xa=he.useMemo(()=>{const Pa=he.createElement("span",{className:`${Cn}-item-ellipsis`},"\u2022\u2022\u2022"),eo=he.createElement("button",{className:`${Cn}-item-link`,type:"button",tabIndex:-1},Xt==="rtl"?he.createElement(_e.Z,null):he.createElement(nt.Z,null)),Mo=he.createElement("button",{className:`${Cn}-item-link`,type:"button",tabIndex:-1},Xt==="rtl"?he.createElement(nt.Z,null):he.createElement(_e.Z,null)),un=he.createElement("a",{className:`${Cn}-item-link`},he.createElement("div",{className:`${Cn}-item-container`},Xt==="rtl"?he.createElement(it.Z,{className:`${Cn}-item-link-icon`}):he.createElement(dt,{className:`${Cn}-item-link-icon`}),Pa)),gn=he.createElement("a",{className:`${Cn}-item-link`},he.createElement("div",{className:`${Cn}-item-container`},Xt==="rtl"?he.createElement(dt,{className:`${Cn}-item-link-icon`}):he.createElement(it.Z,{className:`${Cn}-item-link-icon`}),Pa));return{prevIcon:eo,nextIcon:Mo,jumpPrevIcon:un,jumpNextIcon:gn}},[Xt,Cn]),[pa]=(0,Tt.Z)("Pagination",ut.Z),Ea=Object.assign(Object.assign({},pa),Pt),Fa=(0,Kt.Z)(zt),Na=Fa==="small"||!!(tn&&!Fa&&xt),In=sn("select",Je),qa=Ge()({[`${Cn}-mini`]:Na,[`${Cn}-rtl`]:Xt==="rtl"},bn==null?void 0:bn.className,Re,Ce,kn),_a=Object.assign(Object.assign({},bn==null?void 0:bn.style),je);return cn(he.createElement(et,Object.assign({},xa,ct,{style:_a,prefixCls:Cn,selectPrefixCls:In,className:qa,selectComponentClass:kt||(Na?Bt:Gt),locale:Ea,showSizeChanger:ca})))},gt=ze},13570:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return Tt}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(Bt,Gt){return he.createElement(Me.Z,(0,se.Z)({},Bt,{ref:Gt,icon:ot}))},ie=he.forwardRef(Ie),dt=ie,it=ne(92310),nt=ne.n(it),_e=ne(400),st=ne(33606),Ge=ne(37061),re=ne(18929),y=ne(10228),a=ne(26112);function x(We,Bt){var Gt=We.disabled,De=We.prefixCls,Ve=We.character,pt=We.characterRender,$t=We.index,qe=We.count,Vt=We.value,xe=We.allowHalf,At=We.focused,yt=We.onHover,pn=We.onClick,Sn=function(ve){yt(ve,$t)},Oe=function(ve){pn(ve,$t)},ke=function(ve){ve.keyCode===y.Z.ENTER&&pn(ve,$t)},ye=$t+1,me=new Set([De]);Vt===0&&$t===0&&At?me.add("".concat(De,"-focused")):xe&&Vt+.5>=ye&&Vt<ye?(me.add("".concat(De,"-half")),me.add("".concat(De,"-active")),At&&me.add("".concat(De,"-focused"))):(ye<=Vt?me.add("".concat(De,"-full")):me.add("".concat(De,"-zero")),ye===Vt&&At&&me.add("".concat(De,"-focused")));var ze=typeof Ve=="function"?Ve(We):Ve,gt=he.createElement("li",{className:nt()(Array.from(me)),ref:Bt},he.createElement("div",{onClick:Gt?null:Oe,onKeyDown:Gt?null:ke,onMouseMove:Gt?null:Sn,role:"radio","aria-checked":Vt>$t?"true":"false","aria-posinset":$t+1,"aria-setsize":qe,tabIndex:Gt?-1:0},he.createElement("div",{className:"".concat(De,"-first")},ze),he.createElement("div",{className:"".concat(De,"-second")},ze)));return pt&&(gt=pt(gt,We)),gt}var b=he.forwardRef(x);function E(){var We=he.useRef({});function Bt(De){return We.current[De]}function Gt(De){return function(Ve){We.current[De]=Ve}}return[Bt,Gt]}function z(We){var Bt=We.pageXOffset,Gt="scrollLeft";if(typeof Bt!="number"){var De=We.document;Bt=De.documentElement[Gt],typeof Bt!="number"&&(Bt=De.body[Gt])}return Bt}function ee(We){var Bt,Gt,De=We.ownerDocument,Ve=De.body,pt=De&&De.documentElement,$t=We.getBoundingClientRect();return Bt=$t.left,Gt=$t.top,Bt-=pt.clientLeft||Ve.clientLeft||0,Gt-=pt.clientTop||Ve.clientTop||0,{left:Bt,top:Gt}}function ae(We){var Bt=ee(We),Gt=We.ownerDocument,De=Gt.defaultView||Gt.parentWindow;return Bt.left+=z(De),Bt.left}var te=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ue(We,Bt){var Gt,De=We.prefixCls,Ve=De===void 0?"rc-rate":De,pt=We.className,$t=We.defaultValue,qe=We.value,Vt=We.count,xe=Vt===void 0?5:Vt,At=We.allowHalf,yt=At===void 0?!1:At,pn=We.allowClear,Sn=pn===void 0?!0:pn,Oe=We.character,ke=Oe===void 0?"\u2605":Oe,ye=We.characterRender,me=We.disabled,ze=We.direction,gt=ze===void 0?"ltr":ze,pe=We.tabIndex,ve=pe===void 0?0:pe,Je=We.autoFocus,Re=We.onHoverChange,Ce=We.onChange,je=We.onFocus,zt=We.onBlur,Pt=We.onKeyDown,kt=We.onMouseLeave,xt=(0,Ge.Z)(We,te),Ht=E(),ct=(0,st.Z)(Ht,2),tn=ct[0],sn=ct[1],Xt=he.useRef(null),bn=function(){if(!me){var jt;(jt=Xt.current)===null||jt===void 0||jt.focus()}};he.useImperativeHandle(Bt,function(){return{focus:bn,blur:function(){if(!me){var jt;(jt=Xt.current)===null||jt===void 0||jt.blur()}}}});var Cn=(0,re.Z)($t||0,{value:qe}),cn=(0,st.Z)(Cn,2),kn=cn[0],ca=cn[1],xa=(0,re.Z)(null),pa=(0,st.Z)(xa,2),Ea=pa[0],Fa=pa[1],Na=function(jt,oa){var Mn=gt==="rtl",En=jt+1;if(yt){var da=tn(jt),ta=ae(da),Ut=da.clientWidth;(Mn&&oa-ta>Ut/2||!Mn&&oa-ta<Ut/2)&&(En-=.5)}return En},In=function(jt){ca(jt),Ce==null||Ce(jt)},qa=he.useState(!1),_a=(0,st.Z)(qa,2),Pa=_a[0],eo=_a[1],Mo=function(){eo(!0),je==null||je()},un=function(){eo(!1),zt==null||zt()},gn=he.useState(null),wn=(0,st.Z)(gn,2),mn=wn[0],ua=wn[1],va=function(jt,oa){var Mn=Na(oa,jt.pageX);Mn!==Ea&&(ua(Mn),Fa(null)),Re==null||Re(Mn)},Xn=function(jt){me||(ua(null),Fa(null),Re==null||Re(void 0)),jt&&(kt==null||kt(jt))},Ue=function(jt,oa){var Mn=Na(oa,jt.pageX),En=!1;Sn&&(En=Mn===kn),Xn(),In(En?0:Mn),Fa(En?Mn:null)},$e=function(jt){var oa=jt.keyCode,Mn=gt==="rtl",En=kn;oa===y.Z.RIGHT&&En<xe&&!Mn?(yt?En+=.5:En+=1,In(En),jt.preventDefault()):oa===y.Z.LEFT&&En>0&&!Mn||oa===y.Z.RIGHT&&En>0&&Mn?(yt?En-=.5:En-=1,In(En),jt.preventDefault()):oa===y.Z.LEFT&&En<xe&&Mn&&(yt?En+=.5:En+=1,In(En),jt.preventDefault()),Pt==null||Pt(jt)};he.useEffect(function(){Je&&!me&&bn()},[]);var Xe=new Array(xe).fill(0).map(function(on,jt){return he.createElement(b,{ref:sn(jt),index:jt,count:xe,disabled:me,prefixCls:"".concat(Ve,"-star"),allowHalf:yt,value:mn===null?kn:mn,onClick:Ue,onHover:va,key:on||jt,character:ke,characterRender:ye,focused:Pa})}),Mt=nt()(Ve,pt,(Gt={},(0,_e.Z)(Gt,"".concat(Ve,"-disabled"),me),(0,_e.Z)(Gt,"".concat(Ve,"-rtl"),gt==="rtl"),Gt));return he.createElement("ul",(0,se.Z)({className:Mt,onMouseLeave:Xn,tabIndex:me?-1:ve,onFocus:me?null:Mo,onBlur:me?null:un,onKeyDown:me?null:$e,ref:Xt,role:"radiogroup"},(0,a.Z)(xt,{aria:!0,data:!0,attr:!0})),Xe)}var fe=he.forwardRef(ue),Be=fe,Pe=ne(36355),Ae=ne(6848),be=ne(17313),St=ne(83116),at=ne(37613);const Zt=We=>{const{componentCls:Bt}=We;return{[`${Bt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:We.marginXS},"> div":{transition:`all ${We.motionDurationMid}, outline 0s`,"&:hover":{transform:We.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${We.lineWidth}px dashed ${We.starColor}`,transform:We.starHoverScale}},"&-first, &-second":{color:We.starBg,transition:`all ${We.motionDurationMid}`,userSelect:"none",[We.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Bt}-star-first, &-half ${Bt}-star-second`]:{opacity:1},[`&-half ${Bt}-star-first, &-full ${Bt}-star-second`]:{color:"inherit"}}}},et=We=>({[`&-rtl${We.componentCls}`]:{direction:"rtl"}}),ut=We=>{const{componentCls:Bt}=We;return{[Bt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(We)),{display:"inline-block",margin:0,padding:0,color:We.starColor,fontSize:We.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Bt} ${Bt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Zt(We)),{[`+ ${Bt}-text`]:{display:"inline-block",marginInlineStart:We.marginXS,fontSize:We.fontSize}}),et(We))}};var bt=(0,St.Z)("Rate",We=>{const Bt=(0,at.TS)(We,{});return[ut(Bt)]},We=>({starColor:We.yellow6,starSize:We.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:We.colorFillContent})),Kt=function(We,Bt){var Gt={};for(var De in We)Object.prototype.hasOwnProperty.call(We,De)&&Bt.indexOf(De)<0&&(Gt[De]=We[De]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,De=Object.getOwnPropertySymbols(We);Ve<De.length;Ve++)Bt.indexOf(De[Ve])<0&&Object.prototype.propertyIsEnumerable.call(We,De[Ve])&&(Gt[De[Ve]]=We[De[Ve]]);return Gt},Tt=he.forwardRef((We,Bt)=>{const{prefixCls:Gt,className:De,rootClassName:Ve,style:pt,tooltips:$t,character:qe=he.createElement(dt,null)}=We,Vt=Kt(We,["prefixCls","className","rootClassName","style","tooltips","character"]),xe=(me,ze)=>{let{index:gt}=ze;return $t?he.createElement(Ae.Z,{title:$t[gt]},me):me},{getPrefixCls:At,direction:yt,rate:pn}=he.useContext(Pe.E_),Sn=At("rate",Gt),[Oe,ke]=bt(Sn),ye=Object.assign(Object.assign({},pn==null?void 0:pn.style),pt);return Oe(he.createElement(Be,Object.assign({ref:Bt,character:qe,characterRender:xe},Vt,{className:nt()(De,Ve,ke,pn==null?void 0:pn.className),style:ye,prefixCls:Sn,direction:yt})))})},61621:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return ke}});var se=ne(92310),he=ne.n(se),Te=ne(59301),ot=ne(36355),Me=ne(2738),ie=ye=>{const{prefixCls:me,className:ze,style:gt,size:pe,shape:ve}=ye,Je=he()({[`${me}-lg`]:pe==="large",[`${me}-sm`]:pe==="small"}),Re=he()({[`${me}-circle`]:ve==="circle",[`${me}-square`]:ve==="square",[`${me}-round`]:ve==="round"}),Ce=Te.useMemo(()=>typeof pe=="number"?{width:pe,height:pe,lineHeight:`${pe}px`}:{},[pe]);return Te.createElement("span",{className:he()(me,Je,Re,ze),style:Object.assign(Object.assign({},Ce),gt)})},dt=ne(93083),it=ne(83116),nt=ne(37613);const _e=new dt.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),st=ye=>({height:ye,lineHeight:`${ye}px`}),Ge=ye=>Object.assign({width:ye},st(ye)),re=ye=>({background:ye.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:_e,animationDuration:ye.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ye=>Object.assign({width:ye*5,minWidth:ye*5},st(ye)),a=ye=>{const{skeletonAvatarCls:me,gradientFromColor:ze,controlHeight:gt,controlHeightLG:pe,controlHeightSM:ve}=ye;return{[`${me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze},Ge(gt)),[`${me}${me}-circle`]:{borderRadius:"50%"},[`${me}${me}-lg`]:Object.assign({},Ge(pe)),[`${me}${me}-sm`]:Object.assign({},Ge(ve))}},x=ye=>{const{controlHeight:me,borderRadiusSM:ze,skeletonInputCls:gt,controlHeightLG:pe,controlHeightSM:ve,gradientFromColor:Je}=ye;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je,borderRadius:ze},y(me)),[`${gt}-lg`]:Object.assign({},y(pe)),[`${gt}-sm`]:Object.assign({},y(ve))}},b=ye=>Object.assign({width:ye},st(ye)),E=ye=>{const{skeletonImageCls:me,imageSizeBase:ze,gradientFromColor:gt,borderRadiusSM:pe}=ye;return{[`${me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:pe},b(ze*2)),{[`${me}-path`]:{fill:"#bfbfbf"},[`${me}-svg`]:Object.assign(Object.assign({},b(ze)),{maxWidth:ze*4,maxHeight:ze*4}),[`${me}-svg${me}-svg-circle`]:{borderRadius:"50%"}}),[`${me}${me}-circle`]:{borderRadius:"50%"}}},z=(ye,me,ze)=>{const{skeletonButtonCls:gt}=ye;return{[`${ze}${gt}-circle`]:{width:me,minWidth:me,borderRadius:"50%"},[`${ze}${gt}-round`]:{borderRadius:me}}},ee=ye=>Object.assign({width:ye*2,minWidth:ye*2},st(ye)),ae=ye=>{const{borderRadiusSM:me,skeletonButtonCls:ze,controlHeight:gt,controlHeightLG:pe,controlHeightSM:ve,gradientFromColor:Je}=ye;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je,borderRadius:me,width:gt*2,minWidth:gt*2},ee(gt))},z(ye,gt,ze)),{[`${ze}-lg`]:Object.assign({},ee(pe))}),z(ye,pe,`${ze}-lg`)),{[`${ze}-sm`]:Object.assign({},ee(ve))}),z(ye,ve,`${ze}-sm`))},te=ye=>{const{componentCls:me,skeletonAvatarCls:ze,skeletonTitleCls:gt,skeletonParagraphCls:pe,skeletonButtonCls:ve,skeletonInputCls:Je,skeletonImageCls:Re,controlHeight:Ce,controlHeightLG:je,controlHeightSM:zt,gradientFromColor:Pt,padding:kt,marginSM:xt,borderRadius:Ht,titleHeight:ct,blockRadius:tn,paragraphLiHeight:sn,controlHeightXS:Xt,paragraphMarginTop:bn}=ye;return{[`${me}`]:{display:"table",width:"100%",[`${me}-header`]:{display:"table-cell",paddingInlineEnd:kt,verticalAlign:"top",[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt},Ge(Ce)),[`${ze}-circle`]:{borderRadius:"50%"},[`${ze}-lg`]:Object.assign({},Ge(je)),[`${ze}-sm`]:Object.assign({},Ge(zt))},[`${me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:ct,background:Pt,borderRadius:tn,[`+ ${pe}`]:{marginBlockStart:zt}},[`${pe}`]:{padding:0,"> li":{width:"100%",height:sn,listStyle:"none",background:Pt,borderRadius:tn,"+ li":{marginBlockStart:Xt}}},[`${pe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${me}-content`]:{[`${gt}, ${pe} > li`]:{borderRadius:Ht}}},[`${me}-with-avatar ${me}-content`]:{[`${gt}`]:{marginBlockStart:xt,[`+ ${pe}`]:{marginBlockStart:bn}}},[`${me}${me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(ye)),a(ye)),x(ye)),E(ye)),[`${me}${me}-block`]:{width:"100%",[`${ve}`]:{width:"100%"},[`${Je}`]:{width:"100%"}},[`${me}${me}-active`]:{[`
|
|
${gt},
|
|
${pe} > li,
|
|
${ze},
|
|
${ve},
|
|
${Je},
|
|
${Re}
|
|
`]:Object.assign({},re(ye))}}};var ue=(0,it.Z)("Skeleton",ye=>{const{componentCls:me}=ye,ze=(0,nt.TS)(ye,{skeletonAvatarCls:`${me}-avatar`,skeletonTitleCls:`${me}-title`,skeletonParagraphCls:`${me}-paragraph`,skeletonButtonCls:`${me}-button`,skeletonInputCls:`${me}-input`,skeletonImageCls:`${me}-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[te(ze)]},ye=>{const{colorFillContent:me,colorFill:ze}=ye,gt=me,pe=ze;return{color:gt,colorGradientEnd:pe,gradientFromColor:gt,gradientToColor:pe,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:me,className:ze,rootClassName:gt,active:pe,shape:ve="circle",size:Je="default"}=ye,{getPrefixCls:Re}=Te.useContext(ot.E_),Ce=Re("skeleton",me),[je,zt]=ue(Ce),Pt=(0,Me.Z)(ye,["prefixCls","className"]),kt=he()(Ce,`${Ce}-element`,{[`${Ce}-active`]:pe},ze,gt,zt);return je(Te.createElement("div",{className:kt},Te.createElement(ie,Object.assign({prefixCls:`${Ce}-avatar`,shape:ve,size:Je},Pt))))},Ae=ye=>{const{prefixCls:me,className:ze,rootClassName:gt,active:pe,block:ve=!1,size:Je="default"}=ye,{getPrefixCls:Re}=Te.useContext(ot.E_),Ce=Re("skeleton",me),[je,zt]=ue(Ce),Pt=(0,Me.Z)(ye,["prefixCls"]),kt=he()(Ce,`${Ce}-element`,{[`${Ce}-active`]:pe,[`${Ce}-block`]:ve},ze,gt,zt);return je(Te.createElement("div",{className:kt},Te.createElement(ie,Object.assign({prefixCls:`${Ce}-button`,size:Je},Pt))))};const be="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 at=ye=>{const{prefixCls:me,className:ze,rootClassName:gt,style:pe,active:ve}=ye,{getPrefixCls:Je}=Te.useContext(ot.E_),Re=Je("skeleton",me),[Ce,je]=ue(Re),zt=he()(Re,`${Re}-element`,{[`${Re}-active`]:ve},ze,gt,je);return Ce(Te.createElement("div",{className:zt},Te.createElement("div",{className:he()(`${Re}-image`,ze),style:pe},Te.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Re}-image-svg`},Te.createElement("path",{d:be,className:`${Re}-image-path`})))))},et=ye=>{const{prefixCls:me,className:ze,rootClassName:gt,active:pe,block:ve,size:Je="default"}=ye,{getPrefixCls:Re}=Te.useContext(ot.E_),Ce=Re("skeleton",me),[je,zt]=ue(Ce),Pt=(0,Me.Z)(ye,["prefixCls"]),kt=he()(Ce,`${Ce}-element`,{[`${Ce}-active`]:pe,[`${Ce}-block`]:ve},ze,gt,zt);return je(Te.createElement("div",{className:kt},Te.createElement(ie,Object.assign({prefixCls:`${Ce}-input`,size:Je},Pt))))},ut=ne(92413),bt={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"},Kt=bt,Dt=ne(7657),Tt=function(me,ze){return Te.createElement(Dt.Z,(0,ut.Z)({},me,{ref:ze,icon:Kt}))},We=Te.forwardRef(Tt),Bt=We,De=ye=>{const{prefixCls:me,className:ze,rootClassName:gt,style:pe,active:ve,children:Je}=ye,{getPrefixCls:Re}=Te.useContext(ot.E_),Ce=Re("skeleton",me),[je,zt]=ue(Ce),Pt=he()(Ce,`${Ce}-element`,{[`${Ce}-active`]:ve},zt,ze,gt),kt=Je!=null?Je:Te.createElement(Bt,null);return je(Te.createElement("div",{className:Pt},Te.createElement("div",{className:he()(`${Ce}-image`,ze),style:pe},kt)))},Ve=ne(26407),$t=ye=>{const me=Re=>{const{width:Ce,rows:je=2}=ye;if(Array.isArray(Ce))return Ce[Re];if(je-1===Re)return Ce},{prefixCls:ze,className:gt,style:pe,rows:ve}=ye,Je=(0,Ve.Z)(Array(ve)).map((Re,Ce)=>Te.createElement("li",{key:Ce,style:{width:me(Ce)}}));return Te.createElement("ul",{className:he()(ze,gt),style:pe},Je)},Vt=ye=>{let{prefixCls:me,className:ze,width:gt,style:pe}=ye;return Te.createElement("h3",{className:he()(me,ze),style:Object.assign({width:gt},pe)})};function xe(ye){return ye&&typeof ye=="object"?ye:{}}function At(ye,me){return ye&&!me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function yt(ye,me){return!ye&&me?{width:"38%"}:ye&&me?{width:"50%"}:{}}function pn(ye,me){const ze={};return(!ye||!me)&&(ze.width="61%"),!ye&&me?ze.rows=3:ze.rows=2,ze}const Sn=ye=>{const{prefixCls:me,loading:ze,className:gt,rootClassName:pe,style:ve,children:Je,avatar:Re=!1,title:Ce=!0,paragraph:je=!0,active:zt,round:Pt}=ye,{getPrefixCls:kt,direction:xt,skeleton:Ht}=Te.useContext(ot.E_),ct=kt("skeleton",me),[tn,sn]=ue(ct);if(ze||!("loading"in ye)){const Xt=!!Re,bn=!!Ce,Cn=!!je;let cn;if(Xt){const xa=Object.assign(Object.assign({prefixCls:`${ct}-avatar`},At(bn,Cn)),xe(Re));cn=Te.createElement("div",{className:`${ct}-header`},Te.createElement(ie,Object.assign({},xa)))}let kn;if(bn||Cn){let xa;if(bn){const Ea=Object.assign(Object.assign({prefixCls:`${ct}-title`},yt(Xt,Cn)),xe(Ce));xa=Te.createElement(Vt,Object.assign({},Ea))}let pa;if(Cn){const Ea=Object.assign(Object.assign({prefixCls:`${ct}-paragraph`},pn(Xt,bn)),xe(je));pa=Te.createElement($t,Object.assign({},Ea))}kn=Te.createElement("div",{className:`${ct}-content`},xa,pa)}const ca=he()(ct,{[`${ct}-with-avatar`]:Xt,[`${ct}-active`]:zt,[`${ct}-rtl`]:xt==="rtl",[`${ct}-round`]:Pt},Ht==null?void 0:Ht.className,gt,pe,sn);return tn(Te.createElement("div",{className:ca,style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),ve)},cn,kn))}return typeof Je!="undefined"?Je:null};Sn.Button=Ae,Sn.Avatar=Be,Sn.Input=et,Sn.Image=at,Sn.Node=De;var Oe=Sn,ke=Oe},31797:function(mt,Lt,ne){"use strict";ne.d(Lt,{default:function(){return ue}});var se=ne(59301),he=ne(56762),Te=ne(92343),ot=ne(92310),Me=ne.n(ot),Ie=ne(36355),ie=ne(61621),it=fe=>{const{value:Be,formatter:Pe,precision:Ae,decimalSeparator:be,groupSeparator:St="",prefixCls:at}=fe;let Zt;if(typeof Pe=="function")Zt=Pe(Be);else{const et=String(Be),ut=et.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ut||et==="-")Zt=et;else{const bt=ut[1];let Kt=ut[2]||"0",Dt=ut[4]||"";Kt=Kt.replace(/\B(?=(\d{3})+(?!\d))/g,St),typeof Ae=="number"&&(Dt=Dt.padEnd(Ae,"0").slice(0,Ae>0?Ae:0)),Dt&&(Dt=`${be}${Dt}`),Zt=[se.createElement("span",{key:"int",className:`${at}-content-value-int`},bt,Kt),Dt&&se.createElement("span",{key:"decimal",className:`${at}-content-value-decimal`},Dt)]}}return se.createElement("span",{className:`${at}-content-value`},Zt)},nt=ne(17313),_e=ne(83116),st=ne(37613);const Ge=fe=>{const{componentCls:Be,marginXXS:Pe,padding:Ae,colorTextDescription:be,titleFontSize:St,colorTextHeading:at,contentFontSize:Zt,fontFamily:et}=fe;return{[`${Be}`]:Object.assign(Object.assign({},(0,nt.Wf)(fe)),{[`${Be}-title`]:{marginBottom:Pe,color:be,fontSize:St},[`${Be}-skeleton`]:{paddingTop:Ae},[`${Be}-content`]:{color:at,fontSize:Zt,fontFamily:et,[`${Be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Be}-content-prefix, ${Be}-content-suffix`]:{display:"inline-block"},[`${Be}-content-prefix`]:{marginInlineEnd:Pe},[`${Be}-content-suffix`]:{marginInlineStart:Pe}}})}};var re=(0,_e.Z)("Statistic",fe=>{const Be=(0,st.TS)(fe,{});return[Ge(Be)]},fe=>{const{fontSizeHeading3:Be,fontSize:Pe}=fe;return{titleFontSize:Pe,contentFontSize:Be}}),a=fe=>{const{prefixCls:Be,className:Pe,rootClassName:Ae,style:be,valueStyle:St,value:at=0,title:Zt,valueRender:et,prefix:ut,suffix:bt,loading:Kt=!1,onMouseEnter:Dt,onMouseLeave:Tt,decimalSeparator:We=".",groupSeparator:Bt=","}=fe,{getPrefixCls:Gt,direction:De,statistic:Ve}=se.useContext(Ie.E_),pt=Gt("statistic",Be),[$t,qe]=re(pt),Vt=se.createElement(it,Object.assign({decimalSeparator:We,groupSeparator:Bt,prefixCls:pt},fe,{value:at})),xe=Me()(pt,{[`${pt}-rtl`]:De==="rtl"},Ve==null?void 0:Ve.className,Pe,Ae,qe);return $t(se.createElement("div",{className:xe,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),be),onMouseEnter:Dt,onMouseLeave:Tt},Zt&&se.createElement("div",{className:`${pt}-title`},Zt),se.createElement(ie.Z,{paragraph:!1,loading:Kt,className:`${pt}-skeleton`},se.createElement("div",{style:St,className:`${pt}-content`},ut&&se.createElement("span",{className:`${pt}-content-prefix`},ut),et?et(Vt):Vt,bt&&se.createElement("span",{className:`${pt}-content-suffix`},bt)))))};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(fe,Be){let Pe=fe;const Ae=/\[[^\]]*]/g,be=(Be.match(Ae)||[]).map(et=>et.slice(1,-1)),St=Be.replace(Ae,"[]"),at=x.reduce((et,ut)=>{let[bt,Kt]=ut;if(et.includes(bt)){const Dt=Math.floor(Pe/Kt);return Pe-=Dt*Kt,et.replace(new RegExp(`${bt}+`,"g"),Tt=>{const We=Tt.length;return Dt.toString().padStart(We,"0")})}return et},St);let Zt=0;return at.replace(Ae,()=>{const et=be[Zt];return Zt+=1,et})}function E(fe,Be){const{format:Pe=""}=Be,Ae=new Date(fe).getTime(),be=Date.now(),St=Math.max(Ae-be,0);return b(St,Pe)}const z=1e3/30;function ee(fe){return new Date(fe).getTime()}const ae=fe=>{const{value:Be,format:Pe="HH:mm:ss",onChange:Ae,onFinish:be}=fe,St=(0,he.Z)(),at=se.useRef(null),Zt=()=>{be==null||be(),at.current&&(clearInterval(at.current),at.current=null)},et=()=>{const Kt=ee(Be);Kt>=Date.now()&&(at.current=setInterval(()=>{St(),Ae==null||Ae(Kt-Date.now()),Kt<Date.now()&&Zt()},z))};se.useEffect(()=>(et(),()=>{at.current&&(clearInterval(at.current),at.current=null)}),[Be]);const ut=(Kt,Dt)=>E(Kt,Object.assign(Object.assign({},Dt),{format:Pe})),bt=Kt=>(0,Te.Tm)(Kt,{title:void 0});return se.createElement(a,Object.assign({},fe,{valueRender:bt,formatter:ut}))};var te=se.memo(ae);a.Countdown=te;var ue=a},15969:function(mt,Lt,ne){"use strict";ne.d(Lt,{N:function(){return se}});const se=he=>({color:he.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${he.motionDurationSlow}`,"&:focus, &:hover":{color:he.colorLinkHover},"&:active":{color:he.colorLinkActive}})},1710:function(mt,Lt,ne){"use strict";ne.d(Lt,{default:function(){return Bo}});var se={},he="rc-table-internal-hook",Te=ne(33606),ot=ne(6089),Me=ne(34280),Ie=ne(13697),ie=ne(59301),dt=ne(4676);function it(de){var ce=ie.createContext(void 0),Se=function(Ne){var Fe=Ne.value,Ye=Ne.children,Ke=ie.useRef(Fe);Ke.current=Fe;var Ze=ie.useState(function(){return{getValue:function(){return Ke.current},listeners:new Set}}),lt=(0,Te.Z)(Ze,1),tt=lt[0];return(0,Me.Z)(function(){(0,dt.unstable_batchedUpdates)(function(){tt.listeners.forEach(function(rt){rt(Fe)})})},[Fe]),ie.createElement(ce.Provider,{value:tt},Ye)};return{Context:ce,Provider:Se,defaultValue:de}}function nt(de,ce){var Se=(0,ot.Z)(typeof ce=="function"?ce:function(rt){if(ce===void 0)return rt;if(!Array.isArray(ce))return rt[ce];var Et={};return ce.forEach(function(wt){Et[wt]=rt[wt]}),Et}),we=ie.useContext(de==null?void 0:de.Context),Ne=we||{},Fe=Ne.listeners,Ye=Ne.getValue,Ke=ie.useRef();Ke.current=Se(we?Ye():de==null?void 0:de.defaultValue);var Ze=ie.useState({}),lt=(0,Te.Z)(Ze,2),tt=lt[1];return(0,Me.Z)(function(){if(!we)return;function rt(Et){var wt=Se(Et);(0,Ie.Z)(Ke.current,wt,!0)||tt({})}return Fe.add(rt),function(){Fe.delete(rt)}},[we]),Ke.current}var _e=ne(92413),st=ne(8654);function Ge(){var de=ie.createContext(null);function ce(){return ie.useContext(de)}function Se(Ne,Fe){var Ye=(0,st.Yr)(Ne),Ke=function(lt,tt){var rt=Ye?{ref:tt}:{},Et=ie.useRef(0),wt=ie.useRef(lt),Ft=ce();return Ft!==null?ie.createElement(Ne,(0,_e.Z)({},lt,rt)):((!Fe||Fe(wt.current,lt))&&(Et.current+=1),wt.current=lt,ie.createElement(de.Provider,{value:Et.current},ie.createElement(Ne,(0,_e.Z)({},lt,rt))))};return Ye?ie.forwardRef(Ke):Ke}function we(Ne,Fe){var Ye=(0,st.Yr)(Ne),Ke=function(lt,tt){var rt=Ye?{ref:tt}:{};return ce(),ie.createElement(Ne,(0,_e.Z)({},lt,rt))};return Ye?ie.memo(ie.forwardRef(Ke),Fe):ie.memo(Ke,Fe)}return{makeImmutable:Se,responseImmutable:we,useImmutableMark:ce}}var re=Ge(),y=re.makeImmutable,a=re.responseImmutable,x=re.useImmutableMark,b=Ge(),E=b.makeImmutable,z=b.responseImmutable,ee=b.useImmutableMark,ae=it(),te=ae;function ue(de,ce){var Se=ie.useRef(0);Se.current+=1;var we=ie.useRef(de),Ne=[];Object.keys(de||{}).map(function(Ye){var Ke;(de==null?void 0:de[Ye])!==((Ke=we.current)===null||Ke===void 0?void 0:Ke[Ye])&&Ne.push(Ye)}),we.current=de;var Fe=ie.useRef([]);return Ne.length&&(Fe.current=Ne),ie.useDebugValue(Se.current),ie.useDebugValue(Fe.current.join(", ")),ce&&console.log("".concat(ce,":"),Se.current,Fe.current),Se.current}var fe=null,Be=ie.memo(function(){var de=ue();return ie.createElement("h1",null,"Render Times: ",de)});Be.displayName="RenderBlock";var Pe=ne(39559),Ae=ne(33708),be=ne(400),St=ne(92310),at=ne.n(St),Zt=ne(80547),et=ne(97938),ut=ne(48736),bt=ie.createContext({renderWithProps:!1}),Kt=bt,Dt="RC_TABLE_KEY";function Tt(de){return de==null?[]:Array.isArray(de)?de:[de]}function We(de){var ce=[],Se={};return de.forEach(function(we){for(var Ne=we||{},Fe=Ne.key,Ye=Ne.dataIndex,Ke=Fe||Tt(Ye).join("-")||Dt;Se[Ke];)Ke="".concat(Ke,"_next");Se[Ke]=!0,ce.push(Ke)}),ce}function Bt(de){return de!=null}function Gt(de){return de&&(0,Pe.Z)(de)==="object"&&!Array.isArray(de)&&!ie.isValidElement(de)}function De(de,ce,Se,we,Ne,Fe){var Ye=ie.useContext(Kt),Ke=ee(),Ze=(0,Zt.Z)(function(){if(Bt(we))return[we];var lt=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],tt=(0,et.Z)(de,lt),rt=tt,Et=void 0;if(Ne){var wt=Ne(tt,de,Se);Gt(wt)?(rt=wt.children,Et=wt.props,Ye.renderWithProps=!0):rt=wt}return[rt,Et]},[Ke,de,we,ce,Ne,Se],function(lt,tt){if(Fe){var rt=(0,Te.Z)(lt,2),Et=rt[1],wt=(0,Te.Z)(tt,2),Ft=wt[1];return Fe(Ft,Et)}return Ye.renderWithProps?!0:!(0,Ie.Z)(lt,tt,!0)});return Ze}function Ve(de,ce,Se,we){var Ne=de+ce-1;return de<=we&&Ne>=Se}function pt(de,ce){return nt(te,function(Se){var we=Ve(de,ce||1,Se.hoverStartRow,Se.hoverEndRow);return[we,Se.onHover]})}var $t=function(ce){var Se=ce.ellipsis,we=ce.rowType,Ne=ce.children,Fe,Ye=Se===!0?{showTitle:!0}:Se;return Ye&&(Ye.showTitle||we==="header")&&(typeof Ne=="string"||typeof Ne=="number"?Fe=Ne.toString():ie.isValidElement(Ne)&&typeof Ne.props.children=="string"&&(Fe=Ne.props.children)),Fe};function qe(de){var ce,Se,we,Ne,Fe,Ye,Ke,Ze,lt=de.component,tt=de.children,rt=de.ellipsis,Et=de.scope,wt=de.prefixCls,Ft=de.className,Qt=de.align,Wt=de.record,an=de.render,_t=de.dataIndex,ln=de.renderIndex,Hn=de.shouldCellUpdate,Wn=de.index,Nn=de.rowType,Kn=de.colSpan,ra=de.rowSpan,hn=de.fixLeft,Fn=de.fixRight,yn=de.firstFixLeft,rn=de.lastFixLeft,dn=de.firstFixRight,jn=de.lastFixRight,ma=de.appendNode,la=de.additionalProps,Rn=la===void 0?{}:la,sa=de.isSticky,fa="".concat(wt,"-cell"),ya=nt(te,["supportSticky","allColumnsFixedLeft"]),ha=ya.supportSticky,Xa=ya.allColumnsFixedLeft,Ca=De(Wt,_t,ln,tt,an,Hn),_n=(0,Te.Z)(Ca,2),oo=_n[0],Jn=_n[1],Za={},Ia=typeof hn=="number"&&ha,yo=typeof Fn=="number"&&ha;Ia&&(Za.position="sticky",Za.left=hn),yo&&(Za.position="sticky",Za.right=Fn);var Qn=(ce=(Se=(we=Jn==null?void 0:Jn.colSpan)!==null&&we!==void 0?we:Rn.colSpan)!==null&&Se!==void 0?Se:Kn)!==null&&ce!==void 0?ce:1,Vn=(Ne=(Fe=(Ye=Jn==null?void 0:Jn.rowSpan)!==null&&Ye!==void 0?Ye:Rn.rowSpan)!==null&&Fe!==void 0?Fe:ra)!==null&&Ne!==void 0?Ne:1,Un=pt(Wn,Vn),Tn=(0,Te.Z)(Un,2),Ln=Tn[0],Rt=Tn[1],fn=function(Yn){var Zo;Wt&&Rt(Wn,Wn+Vn-1),Rn==null||(Zo=Rn.onMouseEnter)===null||Zo===void 0||Zo.call(Rn,Yn)},ia=function(Yn){var Zo;Wt&&Rt(-1,-1),Rn==null||(Zo=Rn.onMouseLeave)===null||Zo===void 0||Zo.call(Rn,Yn)};if(Qn===0||Vn===0)return null;var Sa=(Ke=Rn.title)!==null&&Ke!==void 0?Ke:$t({rowType:Nn,ellipsis:rt,children:oo}),Ro=at()(fa,Ft,(Ze={},(0,be.Z)(Ze,"".concat(fa,"-fix-left"),Ia&&ha),(0,be.Z)(Ze,"".concat(fa,"-fix-left-first"),yn&&ha),(0,be.Z)(Ze,"".concat(fa,"-fix-left-last"),rn&&ha),(0,be.Z)(Ze,"".concat(fa,"-fix-left-all"),rn&&Xa&&ha),(0,be.Z)(Ze,"".concat(fa,"-fix-right"),yo&&ha),(0,be.Z)(Ze,"".concat(fa,"-fix-right-first"),dn&&ha),(0,be.Z)(Ze,"".concat(fa,"-fix-right-last"),jn&&ha),(0,be.Z)(Ze,"".concat(fa,"-ellipsis"),rt),(0,be.Z)(Ze,"".concat(fa,"-with-append"),ma),(0,be.Z)(Ze,"".concat(fa,"-fix-sticky"),(Ia||yo)&&sa&&ha),(0,be.Z)(Ze,"".concat(fa,"-row-hover"),!Jn&&Ln),Ze),Rn.className,Jn==null?void 0:Jn.className),Ao={};Qt&&(Ao.textAlign=Qt);var or=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},Za),Rn.style),Ao),Jn==null?void 0:Jn.style),fo=oo;return(0,Pe.Z)(fo)==="object"&&!Array.isArray(fo)&&!ie.isValidElement(fo)&&(fo=null),rt&&(rn||dn)&&(fo=ie.createElement("span",{className:"".concat(fa,"-content")},fo)),ie.createElement(lt,(0,_e.Z)({},Jn,Rn,{className:Ro,style:or,title:Sa,scope:Et,onMouseEnter:fn,onMouseLeave:ia,colSpan:Qn!==1?Qn:null,rowSpan:Vn!==1?Vn:null}),ma,fo)}var Vt=ie.memo(qe);function xe(de,ce,Se,we,Ne,Fe){var Ye=Se[de]||{},Ke=Se[ce]||{},Ze,lt;Ye.fixed==="left"?Ze=we.left[Ne==="rtl"?ce:de]:Ke.fixed==="right"&&(lt=we.right[Ne==="rtl"?de:ce]);var tt=!1,rt=!1,Et=!1,wt=!1,Ft=Se[ce+1],Qt=Se[de-1],Wt=!(Fe!=null&&Fe.children);if(Ne==="rtl"){if(Ze!==void 0){var an=Qt&&Qt.fixed==="left";wt=!an&&Wt}else if(lt!==void 0){var _t=Ft&&Ft.fixed==="right";Et=!_t&&Wt}}else if(Ze!==void 0){var ln=Ft&&Ft.fixed==="left";tt=!ln&&Wt}else if(lt!==void 0){var Hn=Qt&&Qt.fixed==="right";rt=!Hn&&Wt}return{fixLeft:Ze,fixRight:lt,lastFixLeft:tt,firstFixRight:rt,lastFixRight:Et,firstFixLeft:wt,isSticky:we.isSticky}}var At=ie.createContext({}),yt=At;function pn(de){var ce=de.className,Se=de.index,we=de.children,Ne=de.colSpan,Fe=Ne===void 0?1:Ne,Ye=de.rowSpan,Ke=de.align,Ze=nt(te,["prefixCls","direction"]),lt=Ze.prefixCls,tt=Ze.direction,rt=ie.useContext(yt),Et=rt.scrollColumnIndex,wt=rt.stickyOffsets,Ft=rt.flattenColumns,Qt=rt.columns,Wt=Se+Fe-1,an=Wt+1===Et?Fe+1:Fe,_t=xe(Se,Se+an-1,Ft,wt,tt,Qt==null?void 0:Qt[Se]);return ie.createElement(Vt,(0,_e.Z)({className:ce,index:Se,component:"td",prefixCls:lt,record:null,dataIndex:null,align:Ke,colSpan:an,rowSpan:Ye,render:function(){return we}},_t))}var Sn=ne(37061),Oe=["children"];function ke(de){var ce=de.children,Se=(0,Sn.Z)(de,Oe);return ie.createElement("tr",Se,ce)}function ye(de){var ce=de.children;return ce}ye.Row=ke,ye.Cell=pn;var me=ye;function ze(de){var ce=de.children,Se=de.stickyOffsets,we=de.flattenColumns,Ne=de.columns,Fe=nt(te,"prefixCls"),Ye=we.length-1,Ke=we[Ye],Ze=ie.useMemo(function(){return{stickyOffsets:Se,flattenColumns:we,scrollColumnIndex:Ke!=null&&Ke.scrollbar?Ye:null,columns:Ne}},[Ke,we,Ye,Se,Ne]);return ie.createElement(yt.Provider,{value:Ze},ie.createElement("tfoot",{className:"".concat(Fe,"-summary")},ce))}var gt=z(ze),pe=me,ve=ne(70425),Je=ne(29301),Re=ne(29194),Ce=ne(24514),je=ne(75152),zt=ne(26112);function Pt(de,ce,Se,we,Ne,Fe,Ye){de.push({record:ce,indent:Se,index:Ye});var Ke=Fe(ce),Ze=Ne==null?void 0:Ne.has(Ke);if(ce&&Array.isArray(ce[we])&&Ze)for(var lt=0;lt<ce[we].length;lt+=1)Pt(de,ce[we][lt],Se+1,we,Ne,Fe,lt)}function kt(de,ce,Se,we){var Ne=ie.useMemo(function(){if(Se!=null&&Se.size){for(var Fe=[],Ye=0;Ye<(de==null?void 0:de.length);Ye+=1){var Ke=de[Ye];Pt(Fe,Ke,0,ce,Se,we,Ye)}return Fe}return de==null?void 0:de.map(function(Ze,lt){return{record:Ze,indent:0,index:lt}})},[de,ce,Se,we]);return Ne}function xt(de){var ce=de.prefixCls,Se=de.children,we=de.component,Ne=de.cellComponent,Fe=de.className,Ye=de.expanded,Ke=de.colSpan,Ze=de.isEmpty,lt=nt(te,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),tt=lt.scrollbarSize,rt=lt.fixHeader,Et=lt.fixColumn,wt=lt.componentWidth,Ft=lt.horizonScroll,Qt=Se;return(Ze?Ft&&wt:Et)&&(Qt=ie.createElement("div",{style:{width:wt-(rt?tt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ce,"-expanded-row-fixed")},Qt)),ie.createElement(we,{className:Fe,style:{display:Ye?null:"none"}},ie.createElement(Vt,{component:Ne,prefixCls:ce,colSpan:Ke},Qt))}var Ht=xt;function ct(de,ce,Se,we){var Ne=nt(te,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Fe=Ne.flattenColumns,Ye=Ne.expandableType,Ke=Ne.expandedKeys,Ze=Ne.childrenColumnName,lt=Ne.onTriggerExpand,tt=Ne.rowExpandable,rt=Ne.onRow,Et=Ne.expandRowByClick,wt=Ne.rowClassName,Ft=Ye==="nest",Qt=Ye==="row"&&(!tt||tt(de)),Wt=Qt||Ft,an=Ke&&Ke.has(ce),_t=Ze&&de&&de[Ze],ln=(0,ve.useEvent)(lt),Hn=rt==null?void 0:rt(de,Se),Wn=Hn==null?void 0:Hn.onClick,Nn=function(Fn){Et&&Wt&<(de,Fn);for(var yn=arguments.length,rn=new Array(yn>1?yn-1:0),dn=1;dn<yn;dn++)rn[dn-1]=arguments[dn];Wn==null||Wn.apply(void 0,[Fn].concat(rn))},Kn;typeof wt=="string"?Kn=wt:typeof wt=="function"&&(Kn=wt(de,Se,we));var ra=We(Fe);return(0,Ae.Z)((0,Ae.Z)({},Ne),{},{columnsKey:ra,nestExpandable:Ft,expanded:an,hasNestChildren:_t,record:de,onTriggerExpand:ln,rowSupportExpand:Qt,expandable:Wt,rowProps:(0,Ae.Z)((0,Ae.Z)({},Hn),{},{className:at()(Kn,Hn==null?void 0:Hn.className),onClick:Nn})})}function tn(de,ce,Se,we,Ne){var Fe=de.record,Ye=de.prefixCls,Ke=de.columnsKey,Ze=de.fixedInfoList,lt=de.expandIconColumnIndex,tt=de.nestExpandable,rt=de.indentSize,Et=de.expandIcon,wt=de.expanded,Ft=de.hasNestChildren,Qt=de.onTriggerExpand,Wt=Ke[Se],an=Ze[Se],_t;Se===(lt||0)&&tt&&(_t=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(rt*we,"px")},className:"".concat(Ye,"-row-indent indent-level-").concat(we)}),Et({prefixCls:Ye,expanded:wt,expandable:Ft,record:Fe,onExpand:Qt})));var ln;return ce.onCell&&(ln=ce.onCell(Fe,Ne)),{key:Wt,fixedInfo:an,appendCellNode:_t,additionalCellProps:ln||{}}}function sn(de){var ce=de.className,Se=de.style,we=de.record,Ne=de.index,Fe=de.renderIndex,Ye=de.rowKey,Ke=de.indent,Ze=Ke===void 0?0:Ke,lt=de.rowComponent,tt=de.cellComponent,rt=de.scopeCellComponent,Et=ct(we,Ye,Ne,Ze),wt=Et.prefixCls,Ft=Et.flattenColumns,Qt=Et.expandedRowClassName,Wt=Et.expandedRowRender,an=Et.rowProps,_t=Et.expanded,ln=Et.rowSupportExpand,Hn=ie.useState(!1),Wn=(0,Te.Z)(Hn,2),Nn=Wn[0],Kn=Wn[1];ie.useEffect(function(){_t&&Kn(!0)},[_t]);var ra=ie.createElement(lt,(0,_e.Z)({},an,{"data-row-key":Ye,className:at()(ce,"".concat(wt,"-row"),"".concat(wt,"-row-level-").concat(Ze),an==null?void 0:an.className),style:(0,Ae.Z)((0,Ae.Z)({},Se),an==null?void 0:an.style)}),Ft.map(function(rn,dn){var jn=rn.render,ma=rn.dataIndex,la=rn.className,Rn=tn(Et,rn,dn,Ze,Ne),sa=Rn.key,fa=Rn.fixedInfo,ya=Rn.appendCellNode,ha=Rn.additionalCellProps;return ie.createElement(Vt,(0,_e.Z)({className:la,ellipsis:rn.ellipsis,align:rn.align,scope:rn.rowScope,component:rn.rowScope?rt:tt,prefixCls:wt,key:sa,record:we,index:Ne,renderIndex:Fe,dataIndex:ma,render:jn,shouldCellUpdate:rn.shouldCellUpdate},fa,{appendNode:ya,additionalProps:ha}))})),hn;if(ln&&(Nn||_t)){var Fn=Wt(we,Ne,Ze+1,_t),yn=Qt&&Qt(we,Ne,Ze);hn=ie.createElement(Ht,{expanded:_t,className:at()("".concat(wt,"-expanded-row"),"".concat(wt,"-expanded-row-level-").concat(Ze+1),yn),prefixCls:wt,component:lt,cellComponent:tt,colSpan:Ft.length,isEmpty:!1},Fn)}return ie.createElement(ie.Fragment,null,ra,hn)}sn.displayName="BodyRow";var Xt=z(sn);function bn(de){var ce=de.columnKey,Se=de.onColumnResize,we=ie.useRef();return ie.useEffect(function(){we.current&&Se(ce,we.current.offsetWidth)},[]),ie.createElement(Je.Z,{data:ce},ie.createElement("td",{ref:we,style:{padding:0,border:0,height:0}},ie.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Cn(de){var ce=de.prefixCls,Se=de.columnsKey,we=de.onColumnResize;return ie.createElement("tr",{"aria-hidden":"true",className:"".concat(ce,"-measure-row"),style:{height:0,fontSize:0}},ie.createElement(Je.Z.Collection,{onBatchResize:function(Fe){Fe.forEach(function(Ye){var Ke=Ye.data,Ze=Ye.size;we(Ke,Ze.offsetWidth)})}},Se.map(function(Ne){return ie.createElement(bn,{key:Ne,columnKey:Ne,onColumnResize:we})})))}function cn(de){var ce=de.data,Se=de.measureColumnWidth,we=nt(te,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ne=we.prefixCls,Fe=we.getComponent,Ye=we.onColumnResize,Ke=we.flattenColumns,Ze=we.getRowKey,lt=we.expandedKeys,tt=we.childrenColumnName,rt=we.emptyNode,Et=kt(ce,tt,lt,Ze),wt=ie.useRef({renderWithProps:!1}),Ft=Fe(["body","wrapper"],"tbody"),Qt=Fe(["body","row"],"tr"),Wt=Fe(["body","cell"],"td"),an=Fe(["body","cell"],"th"),_t;ce.length?_t=Et.map(function(Hn,Wn){var Nn=Hn.record,Kn=Hn.indent,ra=Hn.index,hn=Ze(Nn,Wn);return ie.createElement(Xt,{key:hn,rowKey:hn,record:Nn,index:Wn,renderIndex:ra,rowComponent:Qt,cellComponent:Wt,scopeCellComponent:an,getRowKey:Ze,indent:Kn})}):_t=ie.createElement(Ht,{expanded:!0,className:"".concat(Ne,"-placeholder"),prefixCls:Ne,component:Qt,cellComponent:Wt,colSpan:Ke.length,isEmpty:!0},rt);var ln=We(Ke);return ie.createElement(Kt.Provider,{value:wt.current},ie.createElement(Ft,{className:"".concat(Ne,"-tbody")},Se&&ie.createElement(Cn,{prefixCls:Ne,columnsKey:ln,onColumnResize:Ye}),_t))}cn.displayName="Body";var kn=z(cn),ca=["expandable"],xa="RC_TABLE_INTERNAL_COL_DEFINE";function pa(de){var ce=de.expandable,Se=(0,Sn.Z)(de,ca),we;return"expandable"in de?we=(0,Ae.Z)((0,Ae.Z)({},Se),ce):we=Se,we.showExpandColumn===!1&&(we.expandIconColumnIndex=-1),we}var Ea=["columnType"];function Fa(de){for(var ce=de.colWidths,Se=de.columns,we=de.columCount,Ne=[],Fe=we||Se.length,Ye=!1,Ke=Fe-1;Ke>=0;Ke-=1){var Ze=ce[Ke],lt=Se&&Se[Ke],tt=lt&<[xa];if(Ze||tt||Ye){var rt=tt||{},Et=rt.columnType,wt=(0,Sn.Z)(rt,Ea);Ne.unshift(ie.createElement("col",(0,_e.Z)({key:Ke,style:{width:Ze}},wt))),Ye=!0}}return ie.createElement("colgroup",null,Ne)}var Na=Fa,In=ne(26407),qa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _a(de,ce){return(0,ie.useMemo)(function(){for(var Se=[],we=0;we<ce;we+=1){var Ne=de[we];if(Ne!==void 0)Se[we]=Ne;else return null}return Se},[de.join("_"),ce])}var Pa=ie.forwardRef(function(de,ce){var Se=de.className,we=de.noData,Ne=de.columns,Fe=de.flattenColumns,Ye=de.colWidths,Ke=de.columCount,Ze=de.stickyOffsets,lt=de.direction,tt=de.fixHeader,rt=de.stickyTopOffset,Et=de.stickyBottomOffset,wt=de.stickyClassName,Ft=de.onScroll,Qt=de.maxContentScroll,Wt=de.children,an=(0,Sn.Z)(de,qa),_t=nt(te,["prefixCls","scrollbarSize","isSticky"]),ln=_t.prefixCls,Hn=_t.scrollbarSize,Wn=_t.isSticky,Nn=Wn&&!tt?0:Hn,Kn=ie.useRef(null),ra=ie.useCallback(function(la){(0,st.mH)(ce,la),(0,st.mH)(Kn,la)},[]);ie.useEffect(function(){var la;function Rn(sa){var fa=sa,ya=fa.currentTarget,ha=fa.deltaX;ha&&(Ft({currentTarget:ya,scrollLeft:ya.scrollLeft+ha}),sa.preventDefault())}return(la=Kn.current)===null||la===void 0||la.addEventListener("wheel",Rn),function(){var sa;(sa=Kn.current)===null||sa===void 0||sa.removeEventListener("wheel",Rn)}},[]);var hn=ie.useMemo(function(){return Fe.every(function(la){return la.width})},[Fe]),Fn=Fe[Fe.length-1],yn={fixed:Fn?Fn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ln,"-cell-scrollbar")}}},rn=(0,ie.useMemo)(function(){return Nn?[].concat((0,In.Z)(Ne),[yn]):Ne},[Nn,Ne]),dn=(0,ie.useMemo)(function(){return Nn?[].concat((0,In.Z)(Fe),[yn]):Fe},[Nn,Fe]),jn=(0,ie.useMemo)(function(){var la=Ze.right,Rn=Ze.left;return(0,Ae.Z)((0,Ae.Z)({},Ze),{},{left:lt==="rtl"?[].concat((0,In.Z)(Rn.map(function(sa){return sa+Nn})),[0]):Rn,right:lt==="rtl"?la:[].concat((0,In.Z)(la.map(function(sa){return sa+Nn})),[0]),isSticky:Wn})},[Nn,Ze,Wn]),ma=_a(Ye,Ke);return ie.createElement("div",{style:(0,Ae.Z)({overflow:"hidden"},Wn?{top:rt,bottom:Et}:{}),ref:ra,className:at()(Se,(0,be.Z)({},wt,!!wt))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:we||ma?null:"hidden"}},(!we||!Qt||hn)&&ie.createElement(Na,{colWidths:ma?[].concat((0,In.Z)(ma),[Nn]):[],columCount:Ke+1,columns:dn}),Wt((0,Ae.Z)((0,Ae.Z)({},an),{},{stickyOffsets:jn,columns:rn,flattenColumns:dn}))))});Pa.displayName="FixedHolder";var eo=ie.memo(Pa);function Mo(de){var ce=de.cells,Se=de.stickyOffsets,we=de.flattenColumns,Ne=de.rowComponent,Fe=de.cellComponent,Ye=de.tdCellComponent,Ke=de.onHeaderRow,Ze=de.index,lt=nt(te,["prefixCls","direction"]),tt=lt.prefixCls,rt=lt.direction,Et;Ke&&(Et=Ke(ce.map(function(Ft){return Ft.column}),Ze));var wt=We(ce.map(function(Ft){return Ft.column}));return ie.createElement(Ne,Et,ce.map(function(Ft,Qt){var Wt=Ft.column,an=xe(Ft.colStart,Ft.colEnd,we,Se,rt,Wt),_t;return Wt&&Wt.onHeaderCell&&(_t=Ft.column.onHeaderCell(Wt)),ie.createElement(Vt,(0,_e.Z)({},Ft,{scope:Wt.title?Ft.colSpan>1?"colgroup":"col":null,ellipsis:Wt.ellipsis,align:Wt.align,component:Wt.title?Fe:Ye,prefixCls:tt,key:wt[Qt]},an,{additionalProps:_t,rowType:"header"}))}))}Mo.displayName="HeaderRow";var un=Mo;function gn(de){var ce=[];function Se(Ye,Ke){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[Ze]=ce[Ze]||[];var lt=Ke,tt=Ye.filter(Boolean).map(function(rt){var Et={key:rt.key,className:rt.className||"",children:rt.title,column:rt,colStart:lt},wt=1,Ft=rt.children;return Ft&&Ft.length>0&&(wt=Se(Ft,lt,Ze+1).reduce(function(Qt,Wt){return Qt+Wt},0),Et.hasSubColumns=!0),"colSpan"in rt&&(wt=rt.colSpan),"rowSpan"in rt&&(Et.rowSpan=rt.rowSpan),Et.colSpan=wt,Et.colEnd=Et.colStart+wt-1,ce[Ze].push(Et),lt+=wt,wt});return tt}Se(de,0);for(var we=ce.length,Ne=function(Ke){ce[Ke].forEach(function(Ze){!("rowSpan"in Ze)&&!Ze.hasSubColumns&&(Ze.rowSpan=we-Ke)})},Fe=0;Fe<we;Fe+=1)Ne(Fe);return ce}function wn(de){var ce=de.stickyOffsets,Se=de.columns,we=de.flattenColumns,Ne=de.onHeaderRow,Fe=nt(te,["prefixCls","getComponent"]),Ye=Fe.prefixCls,Ke=Fe.getComponent,Ze=ie.useMemo(function(){return gn(Se)},[Se]),lt=Ke(["header","wrapper"],"thead"),tt=Ke(["header","row"],"tr"),rt=Ke(["header","cell"],"th"),Et=Ke(["header","cell"],"td");return ie.createElement(lt,{className:"".concat(Ye,"-thead")},Ze.map(function(wt,Ft){var Qt=ie.createElement(un,{key:Ft,flattenColumns:we,cells:wt,stickyOffsets:ce,rowComponent:tt,cellComponent:rt,tdCellComponent:Et,onHeaderRow:Ne,index:Ft});return Qt}))}var mn=z(wn),ua=ne(11592);function va(de){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ce=="number"?ce:ce.endsWith("%")?de*parseFloat(ce)/100:null}function Xn(de,ce){return ie.useMemo(function(){if(ce&&ce>0){var Se=0,we=0;de.forEach(function(lt){var tt=va(ce,lt.width);tt?Se+=tt:we+=1});var Ne=ce-Se,Fe=we,Ye=Ne/we,Ke=0,Ze=de.map(function(lt){var tt=(0,Ae.Z)({},lt),rt=va(ce,tt.width);if(rt)tt.width=rt;else{var Et=Math.floor(Ye);tt.width=Fe===1?Ne:Et,Ne-=Et,Fe-=1}return Ke+=tt.width,tt});return[Ze,Ke]}return[de,ce]},[de,ce])}var Ue=["children"],$e=["fixed"];function Xe(de){return(0,ua.Z)(de).filter(function(ce){return ie.isValidElement(ce)}).map(function(ce){var Se=ce.key,we=ce.props,Ne=we.children,Fe=(0,Sn.Z)(we,Ue),Ye=(0,Ae.Z)({key:Se},Fe);return Ne&&(Ye.children=Xe(Ne)),Ye})}function Mt(de){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return de.filter(function(Se){return Se&&(0,Pe.Z)(Se)==="object"}).reduce(function(Se,we,Ne){var Fe=we.fixed,Ye=Fe===!0?"left":Fe,Ke="".concat(ce,"-").concat(Ne),Ze=we.children;return Ze&&Ze.length>0?[].concat((0,In.Z)(Se),(0,In.Z)(Mt(Ze,Ke).map(function(lt){return(0,Ae.Z)({fixed:Ye},lt)}))):[].concat((0,In.Z)(Se),[(0,Ae.Z)((0,Ae.Z)({key:Ke},we),{},{fixed:Ye})])},[])}function on(de){for(var ce=!0,Se=0;Se<de.length;Se+=1){var we=de[Se];if(ce&&we.fixed!=="left")ce=!1;else if(!ce&&we.fixed==="left"){warning(!1,"Index ".concat(Se-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ne=!0,Fe=de.length-1;Fe>=0;Fe-=1){var Ye=de[Fe];if(Ne&&Ye.fixed!=="right")Ne=!1;else if(!Ne&&Ye.fixed==="right"){warning(!1,"Index ".concat(Fe+1," of `columns` missing `fixed='right'` prop."));break}}}function jt(de){return de.map(function(ce){var Se=ce.fixed,we=(0,Sn.Z)(ce,$e),Ne=Se;return Se==="left"?Ne="right":Se==="right"&&(Ne="left"),(0,Ae.Z)({fixed:Ne},we)})}function oa(de,ce){var Se=de.prefixCls,we=de.columns,Ne=de.children,Fe=de.expandable,Ye=de.expandedKeys,Ke=de.columnTitle,Ze=de.getRowKey,lt=de.onTriggerExpand,tt=de.expandIcon,rt=de.rowExpandable,Et=de.expandIconColumnIndex,wt=de.direction,Ft=de.expandRowByClick,Qt=de.columnWidth,Wt=de.fixed,an=de.scrollWidth,_t=ie.useMemo(function(){return we||Xe(Ne)},[we,Ne]),ln=ie.useMemo(function(){if(Fe){var Fn,yn=_t.slice();if(!yn.includes(se)){var rn=Et||0;rn>=0&&yn.splice(rn,0,se)}var dn=yn.indexOf(se);yn=yn.filter(function(Rn,sa){return Rn!==se||sa===dn});var jn=_t[dn],ma;(Wt==="left"||Wt)&&!Et?ma="left":(Wt==="right"||Wt)&&Et===_t.length?ma="right":ma=jn?jn.fixed:null;var la=(Fn={},(0,be.Z)(Fn,xa,{className:"".concat(Se,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,be.Z)(Fn,"title",Ke),(0,be.Z)(Fn,"fixed",ma),(0,be.Z)(Fn,"className","".concat(Se,"-row-expand-icon-cell")),(0,be.Z)(Fn,"width",Qt),(0,be.Z)(Fn,"render",function(sa,fa,ya){var ha=Ze(fa,ya),Xa=Ye.has(ha),Ca=rt?rt(fa):!0,_n=tt({prefixCls:Se,expanded:Xa,expandable:Ca,record:fa,onExpand:lt});return Ft?ie.createElement("span",{onClick:function(Jn){return Jn.stopPropagation()}},_n):_n}),Fn);return yn.map(function(Rn){return Rn===se?la:Rn})}return _t.filter(function(Rn){return Rn!==se})},[Fe,_t,Ze,Ye,tt,wt]),Hn=ie.useMemo(function(){var Fn=ln;return ce&&(Fn=ce(Fn)),Fn.length||(Fn=[{render:function(){return null}}]),Fn},[ce,ln,wt]),Wn=ie.useMemo(function(){return wt==="rtl"?jt(Mt(Hn)):Mt(Hn)},[Hn,wt,an]),Nn=Xn(Wn,an),Kn=(0,Te.Z)(Nn,2),ra=Kn[0],hn=Kn[1];return[Hn,ra,hn]}var Mn=oa;function En(de){var ce,Se=de.prefixCls,we=de.record,Ne=de.onExpand,Fe=de.expanded,Ye=de.expandable,Ke="".concat(Se,"-row-expand-icon");if(!Ye)return ie.createElement("span",{className:at()(Ke,"".concat(Se,"-row-spaced"))});var Ze=function(tt){Ne(we,tt),tt.stopPropagation()};return ie.createElement("span",{className:at()(Ke,(ce={},(0,be.Z)(ce,"".concat(Se,"-row-expanded"),Fe),(0,be.Z)(ce,"".concat(Se,"-row-collapsed"),!Fe),ce)),onClick:Ze})}function da(de,ce,Se){var we=[];function Ne(Fe){(Fe||[]).forEach(function(Ye,Ke){we.push(ce(Ye,Ke)),Ne(Ye[Se])})}return Ne(de),we}function ta(de,ce,Se){var we=pa(de),Ne=we.expandIcon,Fe=we.expandedRowKeys,Ye=we.defaultExpandedRowKeys,Ke=we.defaultExpandAllRows,Ze=we.expandedRowRender,lt=we.onExpand,tt=we.onExpandedRowsChange,rt=we.childrenColumnName,Et=Ne||En,wt=rt||"children",Ft=ie.useMemo(function(){return Ze?"row":de.expandable&&de.internalHooks===he&&de.expandable.__PARENT_RENDER_ICON__||ce.some(function(Wn){return Wn&&(0,Pe.Z)(Wn)==="object"&&Wn[wt]})?"nest":!1},[!!Ze,ce]),Qt=ie.useState(function(){return Ye||(Ke?da(ce,Se,wt):[])}),Wt=(0,Te.Z)(Qt,2),an=Wt[0],_t=Wt[1],ln=ie.useMemo(function(){return new Set(Fe||an||[])},[Fe,an]),Hn=ie.useCallback(function(Wn){var Nn=Se(Wn,ce.indexOf(Wn)),Kn,ra=ln.has(Nn);ra?(ln.delete(Nn),Kn=(0,In.Z)(ln)):Kn=[].concat((0,In.Z)(ln),[Nn]),_t(Kn),lt&<(!ra,Wn),tt&&tt(Kn)},[Se,ln,ce,lt,tt]);return[we,Ft,ln,Et,wt,Hn]}function Ut(de,ce,Se,we){var Ne=de.map(function(Fe,Ye){return xe(Ye,Ye,de,ce,Se,we==null?void 0:we[Ye])});return(0,Zt.Z)(function(){return Ne},[Ne],function(Fe,Ye){return!(0,Ie.Z)(Fe,Ye)})}function ka(de){var ce=(0,ie.useRef)(de),Se=(0,ie.useState)({}),we=(0,Te.Z)(Se,2),Ne=we[1],Fe=(0,ie.useRef)(null),Ye=(0,ie.useRef)([]);function Ke(Ze){Ye.current.push(Ze);var lt=Promise.resolve();Fe.current=lt,lt.then(function(){if(Fe.current===lt){var tt=Ye.current,rt=ce.current;Ye.current=[],tt.forEach(function(Et){ce.current=Et(ce.current)}),Fe.current=null,rt!==ce.current&&Ne({})}})}return(0,ie.useEffect)(function(){return function(){Fe.current=null}},[]),[ce.current,Ke]}function So(de){var ce=(0,ie.useRef)(de||null),Se=(0,ie.useRef)();function we(){window.clearTimeout(Se.current)}function Ne(Ye){ce.current=Ye,we(),Se.current=window.setTimeout(function(){ce.current=null,Se.current=void 0},100)}function Fe(){return ce.current}return(0,ie.useEffect)(function(){return we},[]),[Ne,Fe]}function Ya(){var de=ie.useState(-1),ce=(0,Te.Z)(de,2),Se=ce[0],we=ce[1],Ne=ie.useState(-1),Fe=(0,Te.Z)(Ne,2),Ye=Fe[0],Ke=Fe[1],Ze=ie.useCallback(function(lt,tt){we(lt),Ke(tt)},[]);return[Se,Ye,Ze]}var Ha=ne(47273),Wa=(0,Ha.Z)()?window:null;function To(de,ce){var Se=(0,Pe.Z)(de)==="object"?de:{},we=Se.offsetHeader,Ne=we===void 0?0:we,Fe=Se.offsetSummary,Ye=Fe===void 0?0:Fe,Ke=Se.offsetScroll,Ze=Ke===void 0?0:Ke,lt=Se.getContainer,tt=lt===void 0?function(){return Wa}:lt,rt=tt()||Wa;return ie.useMemo(function(){var Et=!!de;return{isSticky:Et,stickyClassName:Et?"".concat(ce,"-sticky-holder"):"",offsetHeader:Ne,offsetSummary:Ye,offsetScroll:Ze,container:rt}},[Ze,Ne,Ye,ce,rt])}function zo(de,ce,Se){var we=(0,ie.useMemo)(function(){for(var Ne=[],Fe=[],Ye=0,Ke=0,Ze=0;Ze<ce;Ze+=1)if(Se==="rtl"){Fe[Ze]=Ke,Ke+=de[Ze]||0;var lt=ce-Ze-1;Ne[lt]=Ye,Ye+=de[lt]||0}else{Ne[Ze]=Ye,Ye+=de[Ze]||0;var tt=ce-Ze-1;Fe[tt]=Ke,Ke+=de[tt]||0}return{left:Ne,right:Fe}},[de,ce,Se]);return we}var Xo=zo;function $o(de){var ce=de.className,Se=de.children;return ie.createElement("div",{className:ce},Se)}var er=$o,Co=ne(8224),lr=ne(55468),yr=function(ce,Se){var we,Ne,Fe=ce.scrollBodyRef,Ye=ce.onScroll,Ke=ce.offsetScroll,Ze=ce.container,lt=nt(te,"prefixCls"),tt=((we=Fe.current)===null||we===void 0?void 0:we.scrollWidth)||0,rt=((Ne=Fe.current)===null||Ne===void 0?void 0:Ne.clientWidth)||0,Et=tt&&rt*(rt/tt),wt=ie.useRef(),Ft=ka({scrollLeft:0,isHiddenScrollBar:!1}),Qt=(0,Te.Z)(Ft,2),Wt=Qt[0],an=Qt[1],_t=ie.useRef({delta:0,x:0}),ln=ie.useState(!1),Hn=(0,Te.Z)(ln,2),Wn=Hn[0],Nn=Hn[1],Kn=function(){Nn(!1)},ra=function(dn){dn.persist(),_t.current.delta=dn.pageX-Wt.scrollLeft,_t.current.x=0,Nn(!0),dn.preventDefault()},hn=function(dn){var jn,ma=dn||((jn=window)===null||jn===void 0?void 0:jn.event),la=ma.buttons;if(!Wn||la===0){Wn&&Nn(!1);return}var Rn=_t.current.x+dn.pageX-_t.current.x-_t.current.delta;Rn<=0&&(Rn=0),Rn+Et>=rt&&(Rn=rt-Et),Ye({scrollLeft:Rn/rt*(tt+2)}),_t.current.x=dn.pageX},Fn=function(){if(Fe.current){var dn=(0,lr.os)(Fe.current).top,jn=dn+Fe.current.offsetHeight,ma=Ze===window?document.documentElement.scrollTop+window.innerHeight:(0,lr.os)(Ze).top+Ze.clientHeight;jn-(0,je.Z)()<=ma||dn>=ma-Ke?an(function(la){return(0,Ae.Z)((0,Ae.Z)({},la),{},{isHiddenScrollBar:!0})}):an(function(la){return(0,Ae.Z)((0,Ae.Z)({},la),{},{isHiddenScrollBar:!1})})}},yn=function(dn){an(function(jn){return(0,Ae.Z)((0,Ae.Z)({},jn),{},{scrollLeft:dn/tt*rt||0})})};return ie.useImperativeHandle(Se,function(){return{setScrollLeft:yn}}),ie.useEffect(function(){var rn=(0,Co.Z)(document.body,"mouseup",Kn,!1),dn=(0,Co.Z)(document.body,"mousemove",hn,!1);return Fn(),function(){rn.remove(),dn.remove()}},[Et,Wn]),ie.useEffect(function(){var rn=(0,Co.Z)(Ze,"scroll",Fn,!1),dn=(0,Co.Z)(window,"resize",Fn,!1);return function(){rn.remove(),dn.remove()}},[Ze]),ie.useEffect(function(){Wt.isHiddenScrollBar||an(function(rn){var dn=Fe.current;return dn?(0,Ae.Z)((0,Ae.Z)({},rn),{},{scrollLeft:dn.scrollLeft/dn.scrollWidth*dn.clientWidth}):rn})},[Wt.isHiddenScrollBar]),tt<=rt||!Et||Wt.isHiddenScrollBar?null:ie.createElement("div",{style:{height:(0,je.Z)(),width:rt,bottom:Ke},className:"".concat(lt,"-sticky-scroll")},ie.createElement("div",{onMouseDown:ra,ref:wt,className:at()("".concat(lt,"-sticky-scroll-bar"),(0,be.Z)({},"".concat(lt,"-sticky-scroll-bar-active"),Wn)),style:{width:"".concat(Et,"px"),transform:"translate3d(".concat(Wt.scrollLeft,"px, 0, 0)")}}))},sr=ie.forwardRef(yr);function en(de){return null}var di=en;function Lr(de){return null}var Nr=Lr,nr="rc-table",vn=[],na={};function Ba(){return"No Data"}function aa(de){var ce,Se=(0,Ae.Z)({rowKey:"key",prefixCls:nr,emptyText:Ba},de),we=Se.prefixCls,Ne=Se.className,Fe=Se.rowClassName,Ye=Se.style,Ke=Se.data,Ze=Se.rowKey,lt=Se.scroll,tt=Se.tableLayout,rt=Se.direction,Et=Se.title,wt=Se.footer,Ft=Se.summary,Qt=Se.caption,Wt=Se.id,an=Se.showHeader,_t=Se.components,ln=Se.emptyText,Hn=Se.onRow,Wn=Se.onHeaderRow,Nn=Se.internalHooks,Kn=Se.transformColumns,ra=Se.internalRefs,hn=Se.tailor,Fn=Se.sticky,yn=Ke||vn,rn=!!yn.length,dn=Nn===he,jn=ie.useCallback(function(Ua,vo){return(0,et.Z)(_t,Ua)||vo},[_t]),ma=ie.useMemo(function(){return typeof Ze=="function"?Ze:function(Ua){var vo=Ua&&Ua[Ze];return vo}},[Ze]),la=jn(["body"]),Rn=Ya(),sa=(0,Te.Z)(Rn,3),fa=sa[0],ya=sa[1],ha=sa[2],Xa=ta(Se,yn,ma),Ca=(0,Te.Z)(Xa,6),_n=Ca[0],oo=Ca[1],Jn=Ca[2],Za=Ca[3],Ia=Ca[4],yo=Ca[5],Qn=lt==null?void 0:lt.x,Vn=ie.useState(0),Un=(0,Te.Z)(Vn,2),Tn=Un[0],Ln=Un[1],Rt=Mn((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},Se),_n),{},{expandable:!!_n.expandedRowRender,columnTitle:_n.columnTitle,expandedKeys:Jn,getRowKey:ma,onTriggerExpand:yo,expandIcon:Za,expandIconColumnIndex:_n.expandIconColumnIndex,direction:rt,scrollWidth:dn&&hn&&typeof Qn=="number"?Qn:null}),dn?Kn:null),fn=(0,Te.Z)(Rt,3),ia=fn[0],Sa=fn[1],Ro=fn[2],Ao=Ro!=null?Ro:Qn,or=ie.useMemo(function(){return{columns:ia,flattenColumns:Sa}},[ia,Sa]),fo=ie.useRef(),so=ie.useRef(),Yn=ie.useRef(),Zo=ie.useRef(),Wo=ie.useRef(),za=ie.useState(!1),Ka=(0,Te.Z)(za,2),co=Ka[0],wo=Ka[1],bo=ie.useState(!1),wa=(0,Te.Z)(bo,2),Vo=wa[0],Io=wa[1],ja=ka(new Map),$n=(0,Te.Z)(ja,2),xo=$n[0],Ko=$n[1],br=We(Sa),rr=br.map(function(Ua){return xo.get(Ua)}),tr=ie.useMemo(function(){return rr},[rr.join("_")]),Yo=Xo(tr,Sa.length,rt),Eo=lt&&Bt(lt.y),po=lt&&Bt(Ao)||!!_n.fixed,Sr=po&&Sa.some(function(Ua){var vo=Ua.fixed;return vo}),Ar=ie.useRef(),ur=To(Fn,we),pr=ur.isSticky,ri=ur.offsetHeader,el=ur.offsetSummary,Da=ur.offsetScroll,no=ur.stickyClassName,jo=ur.container,ho=ie.useMemo(function(){return Ft==null?void 0:Ft(yn)},[Ft,yn]),Jo=(Eo||pr)&&ie.isValidElement(ho)&&ho.type===me&&ho.props.fixed,Qo,Uo,Pr;Eo&&(Uo={overflowY:"scroll",maxHeight:lt.y}),po&&(Qo={overflowX:"auto"},Eo||(Uo={overflowY:"hidden"}),Pr={width:Ao===!0?"auto":Ao,minWidth:"100%"});var tl=ie.useCallback(function(Ua,vo){(0,Re.Z)(fo.current)&&Ko(function(ir){if(ir.get(Ua)!==vo){var xr=new Map(ir);return xr.set(Ua,vo),xr}return ir})},[]),od=So(null),nl=(0,Te.Z)(od,2),rd=nl[0],Il=nl[1];function xi(Ua,vo){vo&&(typeof vo=="function"?vo(Ua):vo.scrollLeft!==Ua&&(vo.scrollLeft=Ua,vo.scrollLeft!==Ua&&setTimeout(function(){vo.scrollLeft=Ua},0)))}var Ir=(0,ot.Z)(function(Ua){var vo=Ua.currentTarget,ir=Ua.scrollLeft,xr=rt==="rtl",Cr=typeof ir=="number"?ir:vo.scrollLeft,Zl=vo||na;if(!Il()||Il()===Zl){var fl;rd(Zl),xi(Cr,so.current),xi(Cr,Yn.current),xi(Cr,Wo.current),xi(Cr,(fl=Ar.current)===null||fl===void 0?void 0:fl.setScrollLeft)}var hl=vo||so.current;if(hl){var vl=hl.scrollWidth,ii=hl.clientWidth;if(vl===ii){wo(!1),Io(!1);return}xr?(wo(-Cr<vl-ii),Io(-Cr>0)):(wo(Cr>0),Io(Cr<vl-ii))}}),Mr=function(){po&&Yn.current?Ir({currentTarget:Yn.current}):(wo(!1),Io(!1))},Ml=function(vo){var ir=vo.width;ir!==Tn&&(Mr(),Ln(fo.current?fo.current.offsetWidth:ir))},Tl=ie.useRef(!1);ie.useEffect(function(){Tl.current&&Mr()},[po,Ke,ia.length]),ie.useEffect(function(){Tl.current=!0},[]);var al=ie.useState(0),ol=(0,Te.Z)(al,2),Ci=ol[0],wi=ol[1],id=ie.useState(!0),Ei=(0,Te.Z)(id,2),rl=Ei[0],ld=Ei[1];ie.useEffect(function(){(!hn||!dn)&&(Yn.current instanceof Element?wi((0,je.o)(Yn.current).width):wi((0,je.o)(Zo.current).width)),ld((0,Ce.G)("position","sticky"))},[]),ie.useEffect(function(){dn&&ra&&(ra.body.current=Yn.current)});var il=ie.useCallback(function(Ua){return ie.createElement(ie.Fragment,null,ie.createElement(mn,Ua),Jo==="top"&&ie.createElement(gt,Ua,ho))},[Jo,ho]),dd=ie.useCallback(function(Ua){return ie.createElement(gt,Ua,ho)},[ho]),zl=jn(["table"],"table"),Li=ie.useMemo(function(){return tt||(Sr?Ao==="max-content"?"auto":"fixed":Eo||pr||Sa.some(function(Ua){var vo=Ua.ellipsis;return vo})?"fixed":"auto")},[Eo,Sr,Sa,tt,pr]),Bi,ll={colWidths:tr,columCount:Sa.length,stickyOffsets:Yo,onHeaderRow:Wn,fixHeader:Eo,scroll:lt},Hl=ie.useMemo(function(){return rn?null:typeof ln=="function"?ln():ln},[rn,ln]),Gl=ie.createElement(kn,{data:yn,measureColumnWidth:Eo||po||pr}),dl=ie.createElement(Na,{colWidths:Sa.map(function(Ua){var vo=Ua.width;return vo}),columns:Sa}),sl=Qt!=null?ie.createElement("caption",{className:"".concat(we,"-caption")},Qt):void 0,sd=(0,zt.Z)(Se,{data:!0}),gl=(0,zt.Z)(Se,{aria:!0});if(Eo||pr){var cl;typeof la=="function"?(cl=la(yn,{scrollbarSize:Ci,ref:Yn,onScroll:Ir}),ll.colWidths=Sa.map(function(Ua,vo){var ir=Ua.width,xr=vo===Sa.length-1?ir-Ci:ir;return typeof xr=="number"&&!Number.isNaN(xr)?xr:0})):cl=ie.createElement("div",{style:(0,Ae.Z)((0,Ae.Z)({},Qo),Uo),onScroll:Ir,ref:Yn,className:at()("".concat(we,"-body"))},ie.createElement(zl,(0,_e.Z)({style:(0,Ae.Z)((0,Ae.Z)({},Pr),{},{tableLayout:Li})},gl),sl,dl,Gl,!Jo&&ho&&ie.createElement(gt,{stickyOffsets:Yo,flattenColumns:Sa,columns:ia},ho)));var ul=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({noData:!yn.length,maxContentScroll:po&&Ao==="max-content"},ll),or),{},{direction:rt,stickyClassName:no,onScroll:Ir});Bi=ie.createElement(ie.Fragment,null,an!==!1&&ie.createElement(eo,(0,_e.Z)({},ul,{stickyTopOffset:ri,className:"".concat(we,"-header"),ref:so}),il),cl,Jo&&Jo!=="top"&&ie.createElement(eo,(0,_e.Z)({},ul,{stickyBottomOffset:el,className:"".concat(we,"-summary"),ref:Wo}),dd),pr&&ie.createElement(sr,{ref:Ar,offsetScroll:Da,scrollBodyRef:Yn,onScroll:Ir,container:jo}))}else Bi=ie.createElement("div",{style:(0,Ae.Z)((0,Ae.Z)({},Qo),Uo),className:at()("".concat(we,"-content")),onScroll:Ir,ref:Yn},ie.createElement(zl,(0,_e.Z)({style:(0,Ae.Z)((0,Ae.Z)({},Pr),{},{tableLayout:Li})},gl),sl,dl,an!==!1&&ie.createElement(mn,(0,_e.Z)({},ll,or)),Gl,ho&&ie.createElement(gt,{stickyOffsets:Yo,flattenColumns:Sa,columns:ia},ho)));var Ai=ie.createElement("div",(0,_e.Z)({className:at()(we,Ne,(ce={},(0,be.Z)(ce,"".concat(we,"-rtl"),rt==="rtl"),(0,be.Z)(ce,"".concat(we,"-ping-left"),co),(0,be.Z)(ce,"".concat(we,"-ping-right"),Vo),(0,be.Z)(ce,"".concat(we,"-layout-fixed"),tt==="fixed"),(0,be.Z)(ce,"".concat(we,"-fixed-header"),Eo),(0,be.Z)(ce,"".concat(we,"-fixed-column"),Sr),(0,be.Z)(ce,"".concat(we,"-scroll-horizontal"),po),(0,be.Z)(ce,"".concat(we,"-has-fix-left"),Sa[0]&&Sa[0].fixed),(0,be.Z)(ce,"".concat(we,"-has-fix-right"),Sa[Sa.length-1]&&Sa[Sa.length-1].fixed==="right"),ce)),style:Ye,id:Wt,ref:fo},sd),Et&&ie.createElement(er,{className:"".concat(we,"-title")},Et(yn)),ie.createElement("div",{ref:Zo,className:"".concat(we,"-container")},Bi),wt&&ie.createElement(er,{className:"".concat(we,"-footer")},wt(yn)));po&&(Ai=ie.createElement(Je.Z,{onResize:Ml},Ai));var ml=Ut(Sa,Yo,rt,ia),gd=ie.useMemo(function(){return{scrollX:Ao,prefixCls:we,getComponent:jn,scrollbarSize:Ci,direction:rt,fixedInfoList:ml,isSticky:pr,supportSticky:rl,componentWidth:Tn,fixHeader:Eo,fixColumn:Sr,horizonScroll:po,tableLayout:Li,rowClassName:Fe,expandedRowClassName:_n.expandedRowClassName,expandIcon:Za,expandableType:oo,expandRowByClick:_n.expandRowByClick,expandedRowRender:_n.expandedRowRender,onTriggerExpand:yo,expandIconColumnIndex:_n.expandIconColumnIndex,indentSize:_n.indentSize,allColumnsFixedLeft:Sa.every(function(Ua){return Ua.fixed==="left"}),emptyNode:Hl,columns:ia,flattenColumns:Sa,onColumnResize:tl,hoverStartRow:fa,hoverEndRow:ya,onHover:ha,rowExpandable:_n.rowExpandable,onRow:Hn,getRowKey:ma,expandedKeys:Jn,childrenColumnName:Ia}},[Ao,we,jn,Ci,rt,ml,pr,rl,Tn,Eo,Sr,po,Li,Fe,_n.expandedRowClassName,Za,oo,_n.expandRowByClick,_n.expandedRowRender,yo,_n.expandIconColumnIndex,_n.indentSize,Hl,ia,Sa,tl,fa,ya,ha,_n.rowExpandable,Hn,ma,Jn,Ia]);return ie.createElement(te.Provider,{value:gd},Ai)}function ro(de){return E(aa,de)}var uo=ro();uo.EXPAND_COLUMN=se,uo.INTERNAL_HOOKS=he,uo.Column=di,uo.ColumnGroup=Nr,uo.Summary=pe;var Oo=uo,qo=ne(24916),ar=it(null),Xr=it(null);function Br(de,ce,Se){var we=ce||1;return Se[de+we]-(Se[de]||0)}function si(de){var ce=de.rowInfo,Se=de.column,we=de.colIndex,Ne=de.indent,Fe=de.index,Ye=de.renderIndex,Ke=de.record,Ze=de.style,lt=de.className,tt=de.inverse,rt=de.getHeight,Et=Se.render,wt=Se.dataIndex,Ft=Se.className,Qt=Se.width,Wt=nt(Xr,["columnsOffset"]),an=Wt.columnsOffset,_t=tn(ce,Se,we,Ne,Fe),ln=_t.key,Hn=_t.fixedInfo,Wn=_t.appendCellNode,Nn=_t.additionalCellProps,Kn=Nn.style,ra=Nn.colSpan,hn=ra===void 0?1:ra,Fn=Nn.rowSpan,yn=Fn===void 0?1:Fn,rn=we-1,dn=Br(rn,hn,an),jn=hn>1?Qt-dn:0,ma=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},Kn),Ze),{},{flex:"0 0 ".concat(dn,"px"),width:"".concat(dn,"px"),marginRight:jn,pointerEvents:"auto"}),la=ie.useMemo(function(){return tt?yn<=1:hn===0||yn===0||yn>1},[yn,hn,tt]);la?ma.visibility="hidden":tt&&(ma.height=rt==null?void 0:rt(yn));var Rn=la?function(){return null}:Et,sa={};return(yn===0||hn===0)&&(sa.rowSpan=1,sa.colSpan=1),ie.createElement(Vt,(0,_e.Z)({className:at()(Ft,lt),ellipsis:Se.ellipsis,align:Se.align,scope:Se.rowScope,component:"div",prefixCls:ce.prefixCls,key:ln,record:Ke,index:Fe,renderIndex:Ye,dataIndex:wt,render:Rn,shouldCellUpdate:Se.shouldCellUpdate},Hn,{appendNode:Wn,additionalProps:(0,Ae.Z)((0,Ae.Z)({},Nn),{},{style:ma},sa)}))}var gi=si,ci=["data","index","className","rowKey","style","extra","getHeight"],ui=ie.forwardRef(function(de,ce){var Se=de.data,we=de.index,Ne=de.className,Fe=de.rowKey,Ye=de.style,Ke=de.extra,Ze=de.getHeight,lt=(0,Sn.Z)(de,ci),tt=Se.record,rt=Se.indent,Et=Se.index,wt=nt(te,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ft=wt.scrollX,Qt=wt.flattenColumns,Wt=wt.prefixCls,an=wt.fixColumn,_t=wt.componentWidth,ln=ct(tt,Fe,we,rt),Hn=ln.rowSupportExpand,Wn=ln.expanded,Nn=ln.rowProps,Kn=ln.expandedRowRender,ra=ln.expandedRowClassName,hn;if(Hn&&Wn){var Fn=Kn(tt,we,rt+1,Wn),yn=ra==null?void 0:ra(tt,we,rt),rn={};an&&(rn={style:(0,be.Z)({},"--virtual-width","".concat(_t,"px"))});var dn="".concat(Wt,"-expanded-row-cell");hn=ie.createElement("div",{className:at()("".concat(Wt,"-expanded-row"),"".concat(Wt,"-expanded-row-level-").concat(rt+1),yn)},ie.createElement(Vt,{component:"div",prefixCls:Wt,className:at()(dn,(0,be.Z)({},"".concat(dn,"-fixed"),an)),additionalProps:rn},Fn))}var jn=(0,Ae.Z)((0,Ae.Z)({},Ye),{},{width:Ft});Ke&&(jn.position="absolute",jn.pointerEvents="none");var ma=ie.createElement("div",(0,_e.Z)({},Nn,lt,{ref:Hn?null:ce,className:at()(Ne,"".concat(Wt,"-row"),Nn==null?void 0:Nn.className,(0,be.Z)({},"".concat(Wt,"-row-extra"),Ke)),style:(0,Ae.Z)((0,Ae.Z)({},jn),Nn==null?void 0:Nn.style)}),Qt.map(function(la,Rn){return ie.createElement(gi,{key:Rn,rowInfo:ln,column:la,colIndex:Rn,indent:rt,index:we,renderIndex:Et,record:tt,inverse:Ke,getHeight:Ze})}));return Hn?ie.createElement("div",{ref:ce},ma,hn):ma}),mi=z(ui),$r=mi,Tr=ie.forwardRef(function(de,ce){var Se=de.data,we=de.onScroll,Ne=nt(te,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Fe=Ne.flattenColumns,Ye=Ne.onColumnResize,Ke=Ne.getRowKey,Ze=Ne.expandedKeys,lt=Ne.prefixCls,tt=Ne.childrenColumnName,rt=Ne.emptyNode,Et=Ne.scrollX,wt=nt(ar),Ft=wt.scrollY,Qt=wt.listItemHeight,Wt=ie.useRef(),an=kt(Se,tt,Ze,Ke),_t=ie.useMemo(function(){var hn=0;return Fe.map(function(Fn){var yn=Fn.width,rn=Fn.key;return hn+=yn,[rn,yn,hn]})},[Fe]),ln=ie.useMemo(function(){return _t.map(function(hn){return hn[2]})},[_t]);ie.useEffect(function(){_t.forEach(function(hn){var Fn=(0,Te.Z)(hn,2),yn=Fn[0],rn=Fn[1];Ye(yn,rn)})},[_t]),ie.useImperativeHandle(ce,function(){var hn={};return Object.defineProperty(hn,"scrollLeft",{get:function(){var yn;return((yn=Wt.current)===null||yn===void 0?void 0:yn.getScrollInfo().x)||0},set:function(yn){var rn;(rn=Wt.current)===null||rn===void 0||rn.scrollTo({left:yn})}}),hn});var Hn=function(Fn,yn){var rn,dn=(rn=an[yn])===null||rn===void 0?void 0:rn.record,jn=Fn.onCell;if(jn){var ma,la=jn(dn,yn);return(ma=la==null?void 0:la.rowSpan)!==null&&ma!==void 0?ma:1}return 1},Wn=function(Fn){var yn=Fn.start,rn=Fn.end,dn=Fn.getSize,jn=Fn.offsetY;if(rn<0)return null;for(var ma=Fe.filter(function(Qn){return Hn(Qn,yn)===0}),la=yn,Rn=function(Vn){if(ma=ma.filter(function(Un){return Hn(Un,Vn)===0}),!ma.length)return la=Vn,"break"},sa=yn;sa>=0;sa-=1){var fa=Rn(sa);if(fa==="break")break}for(var ya=Fe.filter(function(Qn){return Hn(Qn,rn)!==1}),ha=rn,Xa=function(Vn){if(ya=ya.filter(function(Un){return Hn(Un,Vn)!==1}),!ya.length)return ha=Math.max(Vn-1,rn),"break"},Ca=rn;Ca<an.length;Ca+=1){var _n=Xa(Ca);if(_n==="break")break}for(var oo=[],Jn=function(Vn){var Un=an[Vn];if(!Un)return"continue";Fe.some(function(Tn){return Hn(Tn,Vn)>1})&&oo.push(Vn)},Za=la;Za<=ha;Za+=1)var Ia=Jn(Za);var yo=oo.map(function(Qn){var Vn=an[Qn],Un=Ke(Vn.record,Qn),Tn=function(fn){var ia=Qn+fn-1,Sa=Ke(an[ia].record,ia),Ro=dn(Un,Sa);return Ro.bottom-Ro.top},Ln=dn(Un);return ie.createElement($r,{key:Qn,data:Vn,rowKey:Un,index:Qn,style:{top:-jn+Ln.top},extra:!0,getHeight:Tn})});return yo},Nn=ie.useMemo(function(){return{columnsOffset:ln}},[ln]),Kn="".concat(lt,"-tbody"),ra;return an.length?ra=ie.createElement(qo.Z,{fullHeight:!1,ref:Wt,className:at()(Kn,"".concat(Kn,"-virtual")),height:Ft,itemHeight:Qt||24,data:an,itemKey:function(Fn){return Ke(Fn.record)},scrollWidth:Et,onVirtualScroll:function(Fn){var yn=Fn.x;we({scrollLeft:yn})},extraRender:Wn},function(hn,Fn,yn){var rn=Ke(hn.record,Fn);return ie.createElement($r,(0,_e.Z)({data:hn,rowKey:rn,index:Fn},yn))}):ra=ie.createElement("div",{className:at()("".concat(lt,"-placeholder"))},ie.createElement(Vt,{component:"div",prefixCls:lt},rt)),ie.createElement(Xr.Provider,{value:Nn},ra)}),mr=z(Tr),zr=mr,Hr=function(ce,Se){var we=Se.ref,Ne=Se.onScroll;return ie.createElement(zr,{ref:we,data:ce,onScroll:Ne})},Gr=100;function Di(de){var ce=de.columns,Se=de.scroll,we=de.prefixCls,Ne=we===void 0?nr:we,Fe=de.className,Ye=de.listItemHeight,Ke=Se||{},Ze=Ke.x,lt=Ke.y;typeof Ze!="number"&&(Ze=((ce||[]).length+1)*Gr),typeof lt!="number"&&(lt=500);var tt=ie.useMemo(function(){return{scrollY:lt,listItemHeight:Ye}},[lt,Ye]);return ie.createElement(ar.Provider,{value:tt},ie.createElement(Oo,(0,_e.Z)({},de,{className:at()(Fe,"".concat(Ne,"-virtual")),scroll:(0,Ae.Z)((0,Ae.Z)({},Se),{},{x:Ze}),components:{body:Hr},columns:ce,internalHooks:he,tailor:!0})))}function qr(de){return E(Di,de)}var pl=qr(),_r=null;function gr(de){return null}var Fi=gr;function fr(de){return null}var ki=fr,Oi=ne(2738),Ri=ne(68031),Ii=ne(36355),Mi=ne(93891),Pl=ne(19716),yl=ne(8628),Ti=ne(31724),zi=ne(58421),qn=ne(71418),Bn=ne(88088);function Gn(de){return function(Se){let{prefixCls:we,onExpand:Ne,record:Fe,expanded:Ye,expandable:Ke}=Se;const Ze=`${we}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:lt=>{Ne(Fe,lt),lt.stopPropagation()},className:at()(Ze,{[`${Ze}-spaced`]:!Ke,[`${Ze}-expanded`]:Ke&&Ye,[`${Ze}-collapsed`]:Ke&&!Ye}),"aria-label":Ye?de.collapse:de.expand,"aria-expanded":Ye})}}var Zn=Gn;function Ma(de,ce){return"key"in de&&de.key!==void 0&&de.key!==null?de.key:de.dataIndex?Array.isArray(de.dataIndex)?de.dataIndex.join("."):de.dataIndex:ce}function mo(de,ce){return ce?`${ce}-${de}`:`${de}`}function Lo(de,ce){return typeof de=="function"?de(ce):de}function Do(de,ce){const Se=Lo(de,ce);return Object.prototype.toString.call(Se)==="[object Object]"?"":Se}var Ho={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"},Go=Ho,cr=ne(7657),_o=function(ce,Se){return ie.createElement(cr.Z,(0,_e.Z)({},ce,{ref:Se,icon:Go}))},Dr=ie.forwardRef(_o),Fr=Dr,Zr=ne(56762);function Hi(de){const ce=ie.useRef(de),Se=(0,Zr.Z)();return[()=>ce.current,we=>{ce.current=we,Se()}]}var hr=ne(3113),kr=ne(24905),Fo=ne(38854),fi=ne(64165),hi=ne(20834),ei=ne(40875),Gi=ne(5112),Kr=ne(17574),dr=ne(47472),vi=ne(92832);function Si(de){let{value:ce,onChange:Se,filterSearch:we,tablePrefixCls:Ne,locale:Fe}=de;return we?ie.createElement("div",{className:`${Ne}-filter-dropdown-search`},ie.createElement(vi.default,{prefix:ie.createElement(dr.Z,null),placeholder:Fe.filterSearchPlaceholder,onChange:Se,value:ce,htmlSize:1,className:`${Ne}-filter-dropdown-search-input`})):null}var ti=Si,pi=ne(10228);const Kl=de=>{const{keyCode:ce}=de;ce===pi.Z.ENTER&&de.stopPropagation()};var jl=ie.forwardRef((de,ce)=>ie.createElement("div",{className:de.className,onClick:Se=>Se.stopPropagation(),onKeyDown:Kl,ref:ce},de.children));function jr(de){let ce=[];return(de||[]).forEach(Se=>{let{value:we,children:Ne}=Se;ce.push(we),Ne&&(ce=[].concat((0,In.Z)(ce),(0,In.Z)(jr(Ne))))}),ce}function Wl(de){return de.some(ce=>{let{children:Se}=ce;return Se})}function Zi(de,ce){return typeof ce=="string"||typeof ce=="number"?ce==null?void 0:ce.toString().toLowerCase().includes(de.trim().toLowerCase()):!1}function Ki(de){let{filters:ce,prefixCls:Se,filteredKeys:we,filterMultiple:Ne,searchValue:Fe,filterSearch:Ye}=de;return ce.map((Ke,Ze)=>{const lt=String(Ke.value);if(Ke.children)return{key:lt||Ze,label:Ke.text,popupClassName:`${Se}-dropdown-submenu`,children:Ki({filters:Ke.children,prefixCls:Se,filteredKeys:we,filterMultiple:Ne,searchValue:Fe,filterSearch:Ye})};const tt=Ne?kr.default:Gi.ZP,rt={key:Ke.value!==void 0?lt:Ze,label:ie.createElement(ie.Fragment,null,ie.createElement(tt,{checked:we.includes(lt)}),ie.createElement("span",null,Ke.text))};return Fe.trim()?typeof Ye=="function"?Ye(Fe,Ke)?rt:null:Zi(Fe,Ke.text)?rt:null:rt})}function Vl(de){var ce,Se;const{tablePrefixCls:we,prefixCls:Ne,column:Fe,dropdownPrefixCls:Ye,columnKey:Ke,filterMultiple:Ze,filterMode:lt="menu",filterSearch:tt=!1,filterState:rt,triggerFilter:Et,locale:wt,children:Ft,getPopupContainer:Qt}=de,{filterDropdownOpen:Wt,onFilterDropdownOpenChange:an,filterResetToDefaultFilteredValue:_t,defaultFilteredValue:ln,filterDropdownVisible:Hn,onFilterDropdownVisibleChange:Wn}=Fe,[Nn,Kn]=ie.useState(!1),ra=!!(rt&&(!((ce=rt.filteredKeys)===null||ce===void 0)&&ce.length||rt.forceFiltered)),hn=Rt=>{Kn(Rt),an==null||an(Rt),Wn==null||Wn(Rt)},Fn=(Se=Wt!=null?Wt:Hn)!==null&&Se!==void 0?Se:Nn,yn=rt==null?void 0:rt.filteredKeys,[rn,dn]=Hi(yn||[]),jn=Rt=>{let{selectedKeys:fn}=Rt;dn(fn)},ma=(Rt,fn)=>{let{node:ia,checked:Sa}=fn;jn(Ze?{selectedKeys:Rt}:{selectedKeys:Sa&&ia.key?[ia.key]:[]})};ie.useEffect(()=>{Nn&&jn({selectedKeys:yn||[]})},[yn]);const[la,Rn]=ie.useState([]),sa=Rt=>{Rn(Rt)},[fa,ya]=ie.useState(""),ha=Rt=>{const{value:fn}=Rt.target;ya(fn)};ie.useEffect(()=>{Nn||ya("")},[Nn]);const Xa=Rt=>{const fn=Rt&&Rt.length?Rt:null;if(fn===null&&(!rt||!rt.filteredKeys)||(0,Ie.Z)(fn,rt==null?void 0:rt.filteredKeys,!0))return null;Et({column:Fe,key:Ke,filteredKeys:fn})},Ca=()=>{hn(!1),Xa(rn())},_n=function(){let{confirm:Rt,closeDropdown:fn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Rt&&Xa([]),fn&&hn(!1),ya(""),dn(_t?(ln||[]).map(ia=>String(ia)):[])},oo=function(){let{closeDropdown:Rt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Rt&&hn(!1),Xa(rn())},Jn=Rt=>{Rt&&yn!==void 0&&dn(yn||[]),hn(Rt),!Rt&&!Fe.filterDropdown&&Ca()},Za=at()({[`${Ye}-menu-without-submenu`]:!Wl(Fe.filters||[])}),Ia=Rt=>{if(Rt.target.checked){const fn=jr(Fe==null?void 0:Fe.filters).map(ia=>String(ia));dn(fn)}else dn([])},yo=Rt=>{let{filters:fn}=Rt;return(fn||[]).map((ia,Sa)=>{const Ro=String(ia.value),Ao={title:ia.text,key:ia.value!==void 0?Ro:Sa};return ia.children&&(Ao.children=yo({filters:ia.children})),Ao})},Qn=Rt=>{var fn;return Object.assign(Object.assign({},Rt),{text:Rt.title,value:Rt.key,children:((fn=Rt.children)===null||fn===void 0?void 0:fn.map(ia=>Qn(ia)))||[]})};let Vn;if(typeof Fe.filterDropdown=="function")Vn=Fe.filterDropdown({prefixCls:`${Ye}-custom`,setSelectedKeys:Rt=>jn({selectedKeys:Rt}),selectedKeys:rn(),confirm:oo,clearFilters:_n,filters:Fe.filters,visible:Fn,close:()=>{hn(!1)}});else if(Fe.filterDropdown)Vn=Fe.filterDropdown;else{const Rt=rn()||[],fn=()=>(Fe.filters||[]).length===0?ie.createElement(fi.Z,{image:fi.Z.PRESENTED_IMAGE_SIMPLE,description:wt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):lt==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(ti,{filterSearch:tt,value:fa,onChange:ha,tablePrefixCls:we,locale:wt}),ie.createElement("div",{className:`${we}-filter-dropdown-tree`},Ze?ie.createElement(kr.default,{checked:Rt.length===jr(Fe.filters).length,indeterminate:Rt.length>0&&Rt.length<jr(Fe.filters).length,className:`${we}-filter-dropdown-checkall`,onChange:Ia},wt.filterCheckall):null,ie.createElement(Kr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ze,checkStrictly:!Ze,className:`${Ye}-menu`,onCheck:ma,checkedKeys:Rt,selectedKeys:Rt,showIcon:!1,treeData:yo({filters:Fe.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:fa.trim()?Sa=>typeof tt=="function"?tt(fa,Qn(Sa)):Zi(fa,Sa.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(ti,{filterSearch:tt,value:fa,onChange:ha,tablePrefixCls:we,locale:wt}),ie.createElement(hi.default,{selectable:!0,multiple:Ze,prefixCls:`${Ye}-menu`,className:Za,onSelect:jn,onDeselect:jn,selectedKeys:Rt,getPopupContainer:Qt,openKeys:la,onOpenChange:sa,items:Ki({filters:Fe.filters||[],filterSearch:tt,prefixCls:Ne,filteredKeys:rn(),filterMultiple:Ze,searchValue:fa})})),ia=()=>_t?(0,Ie.Z)((ln||[]).map(Sa=>String(Sa)),Rt,!0):Rt.length===0;Vn=ie.createElement(ie.Fragment,null,fn(),ie.createElement("div",{className:`${Ne}-dropdown-btns`},ie.createElement(hr.ZP,{type:"link",size:"small",disabled:ia(),onClick:()=>_n()},wt.filterReset),ie.createElement(hr.ZP,{type:"primary",size:"small",onClick:Ca},wt.filterConfirm)))}Fe.filterDropdown&&(Vn=ie.createElement(ei.J,{selectable:void 0},Vn));const Un=()=>ie.createElement(jl,{className:`${Ne}-dropdown`},Vn);let Tn;typeof Fe.filterIcon=="function"?Tn=Fe.filterIcon(ra):Fe.filterIcon?Tn=Fe.filterIcon:Tn=ie.createElement(Fr,null);const{direction:Ln}=ie.useContext(Ii.E_);return ie.createElement("div",{className:`${Ne}-column`},ie.createElement("span",{className:`${we}-column-title`},Ft),ie.createElement(Fo.Z,{dropdownRender:Un,trigger:["click"],open:Fn,onOpenChange:Jn,getPopupContainer:Qt,placement:Ln==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:at()(`${Ne}-trigger`,{active:ra}),onClick:Rt=>{Rt.stopPropagation()}},Tn)))}var Ul=Vl;function ji(de,ce,Se){let we=[];return(de||[]).forEach((Ne,Fe)=>{var Ye;const Ke=mo(Fe,Se);if(Ne.filters||"filterDropdown"in Ne||"onFilter"in Ne)if("filteredValue"in Ne){let Ze=Ne.filteredValue;"filterDropdown"in Ne||(Ze=(Ye=Ze==null?void 0:Ze.map(String))!==null&&Ye!==void 0?Ye:Ze),we.push({column:Ne,key:Ma(Ne,Ke),filteredKeys:Ze,forceFiltered:Ne.filtered})}else we.push({column:Ne,key:Ma(Ne,Ke),filteredKeys:ce&&Ne.defaultFilteredValue?Ne.defaultFilteredValue:void 0,forceFiltered:Ne.filtered});"children"in Ne&&(we=[].concat((0,In.Z)(we),(0,In.Z)(ji(Ne.children,ce,Ke))))}),we}function bl(de,ce,Se,we,Ne,Fe,Ye,Ke){return Se.map((Ze,lt)=>{const tt=mo(lt,Ke),{filterMultiple:rt=!0,filterMode:Et,filterSearch:wt}=Ze;let Ft=Ze;if(Ft.filters||Ft.filterDropdown){const Qt=Ma(Ft,tt),Wt=we.find(an=>{let{key:_t}=an;return Qt===_t});Ft=Object.assign(Object.assign({},Ft),{title:an=>ie.createElement(Ul,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ce,column:Ft,columnKey:Qt,filterState:Wt,filterMultiple:rt,filterMode:Et,filterSearch:wt,triggerFilter:Fe,locale:Ne,getPopupContainer:Ye},Lo(Ze.title,an))})}return"children"in Ft&&(Ft=Object.assign(Object.assign({},Ft),{children:bl(de,ce,Ft.children,we,Ne,Fe,Ye,tt)})),Ft})}function ni(de){const ce={};return de.forEach(Se=>{let{key:we,filteredKeys:Ne,column:Fe}=Se;const{filters:Ye,filterDropdown:Ke}=Fe;if(Ke)ce[we]=Ne||null;else if(Array.isArray(Ne)){const Ze=jr(Ye);ce[we]=Ze.filter(lt=>Ne.includes(String(lt)))}else ce[we]=null}),ce}function Wi(de,ce){return ce.reduce((Se,we)=>{const{column:{onFilter:Ne,filters:Fe},filteredKeys:Ye}=we;return Ne&&Ye&&Ye.length?Se.filter(Ke=>Ye.some(Ze=>{const lt=jr(Fe),tt=lt.findIndex(Et=>String(Et)===String(Ze)),rt=tt!==-1?lt[tt]:Ze;return Ne(rt,Ke)})):Se},de)}const Vi=de=>de.flatMap(ce=>"children"in ce?[ce].concat((0,In.Z)(Vi(ce.children||[]))):[ce]);function xl(de){let{prefixCls:ce,dropdownPrefixCls:Se,mergedColumns:we,onFilterChange:Ne,getPopupContainer:Fe,locale:Ye}=de;const Ke=ie.useMemo(()=>Vi(we||[]),[we]),[Ze,lt]=ie.useState(()=>ji(Ke,!0)),tt=ie.useMemo(()=>{const Ft=ji(Ke,!1);if(Ft.length===0)return Ft;let Qt=!0,Wt=!0;if(Ft.forEach(an=>{let{filteredKeys:_t}=an;_t!==void 0?Qt=!1:Wt=!1}),Qt){const an=(Ke||[]).map((_t,ln)=>Ma(_t,mo(ln)));return Ze.filter(_t=>{let{key:ln}=_t;return an.includes(ln)}).map(_t=>{const ln=Ke[an.findIndex(Hn=>Hn===_t.key)];return Object.assign(Object.assign({},_t),{column:Object.assign(Object.assign({},_t.column),ln),forceFiltered:ln.filtered})})}return Ft},[Ke,Ze]),rt=ie.useMemo(()=>ni(tt),[tt]),Et=Ft=>{const Qt=tt.filter(Wt=>{let{key:an}=Wt;return an!==Ft.key});Qt.push(Ft),lt(Qt),Ne(ni(Qt),Qt)};return[Ft=>bl(ce,Se,Ft,tt,Ye,Et,Fe),tt,rt]}var Cl=xl;function wl(de,ce,Se){const we=ie.useRef({});function Ne(Fe){if(!we.current||we.current.data!==de||we.current.childrenColumnName!==ce||we.current.getRowKey!==Se){let Ke=function(Ze){Ze.forEach((lt,tt)=>{const rt=Se(lt,tt);Ye.set(rt,lt),lt&&typeof lt=="object"&&ce in lt&&Ke(lt[ce]||[])})};const Ye=new Map;Ke(de),we.current={data:de,childrenColumnName:ce,kvMap:Ye,getRowKey:Se}}return we.current.kvMap.get(Fe)}return[Ne]}var El=ne(50371),Ll=function(de,ce){var Se={};for(var we in de)Object.prototype.hasOwnProperty.call(de,we)&&ce.indexOf(we)<0&&(Se[we]=de[we]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,we=Object.getOwnPropertySymbols(de);Ne<we.length;Ne++)ce.indexOf(we[Ne])<0&&Object.prototype.propertyIsEnumerable.call(de,we[Ne])&&(Se[we[Ne]]=de[we[Ne]]);return Se};const ai=10;function Or(de,ce){const Se={current:de.current,pageSize:de.pageSize};return Object.keys(ce&&typeof ce=="object"?ce:{}).forEach(Ne=>{const Fe=de[Ne];typeof Fe!="function"&&(Se[Ne]=Fe)}),Se}function Ui(de,ce,Se){const we=Se&&typeof Se=="object"?Se:{},{total:Ne=0}=we,Fe=Ll(we,["total"]),[Ye,Ke]=(0,ie.useState)(()=>({current:"defaultCurrent"in Fe?Fe.defaultCurrent:1,pageSize:"defaultPageSize"in Fe?Fe.defaultPageSize:ai})),Ze=(0,El.Z)(Ye,Fe,{total:Ne>0?Ne:de}),lt=Math.ceil((Ne||de)/Ze.pageSize);Ze.current>lt&&(Ze.current=lt||1);const tt=(Et,wt)=>{Ke({current:Et!=null?Et:1,pageSize:wt||Ze.pageSize})},rt=(Et,wt)=>{var Ft;Se&&((Ft=Se.onChange)===null||Ft===void 0||Ft.call(Se,Et,wt)),tt(Et,wt),ce(Et,wt||(Ze==null?void 0:Ze.pageSize))};return Se===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ze),{onChange:rt}),tt]}var Yl=Ui,Jl=ne(84105),Rr=ne(35654),Pi=ne(90782),Yi=ne(71430),Ql=ne(18929);const vr={},Ji="SELECT_ALL",Qi="SELECT_INVERT",Xi="SELECT_NONE",Bl=[],Al=(de,ce)=>{let Se=[];return(ce||[]).forEach(we=>{Se.push(we),we&&typeof we=="object"&&de in we&&(Se=[].concat((0,In.Z)(Se),(0,In.Z)(Al(de,we[de]))))}),Se};var Nl=(de,ce)=>{const{preserveSelectedRowKeys:Se,selectedRowKeys:we,defaultSelectedRowKeys:Ne,getCheckboxProps:Fe,onChange:Ye,onSelect:Ke,onSelectAll:Ze,onSelectInvert:lt,onSelectNone:tt,onSelectMultiple:rt,columnWidth:Et,type:wt,selections:Ft,fixed:Qt,renderCell:Wt,hideSelectAll:an,checkStrictly:_t=!0}=ce||{},{prefixCls:ln,data:Hn,pageData:Wn,getRecordByKey:Nn,getRowKey:Kn,expandType:ra,childrenColumnName:hn,locale:Fn,getPopupContainer:yn}=de,[rn,dn]=(0,Ql.Z)(we||Ne||Bl,{value:we}),jn=ie.useRef(new Map),ma=(0,ie.useCallback)(Qn=>{if(Se){const Vn=new Map;Qn.forEach(Un=>{let Tn=Nn(Un);!Tn&&jn.current.has(Un)&&(Tn=jn.current.get(Un)),Vn.set(Un,Tn)}),jn.current=Vn}},[Nn,Se]);ie.useEffect(()=>{ma(rn)},[rn]);const{keyEntities:la}=(0,ie.useMemo)(()=>{if(_t)return{keyEntities:null};let Qn=Hn;if(Se){const Vn=new Set(Hn.map((Tn,Ln)=>Kn(Tn,Ln))),Un=Array.from(jn.current).reduce((Tn,Ln)=>{let[Rt,fn]=Ln;return Vn.has(Rt)?Tn:Tn.concat(fn)},[]);Qn=[].concat((0,In.Z)(Qn),(0,In.Z)(Un))}return(0,Yi.I8)(Qn,{externalGetKey:Kn,childrenPropName:hn})},[Hn,Kn,_t,hn,Se]),Rn=(0,ie.useMemo)(()=>Al(hn,Wn),[hn,Wn]),sa=(0,ie.useMemo)(()=>{const Qn=new Map;return Rn.forEach((Vn,Un)=>{const Tn=Kn(Vn,Un),Ln=(Fe?Fe(Vn):null)||{};Qn.set(Tn,Ln)}),Qn},[Rn,Kn,Fe]),fa=(0,ie.useCallback)(Qn=>{var Vn;return!!(!((Vn=sa.get(Kn(Qn)))===null||Vn===void 0)&&Vn.disabled)},[sa,Kn]),[ya,ha]=(0,ie.useMemo)(()=>{if(_t)return[rn||[],[]];const{checkedKeys:Qn,halfCheckedKeys:Vn}=(0,Pi.S)(rn,!0,la,fa);return[Qn||[],Vn]},[rn,_t,la,fa]),Xa=(0,ie.useMemo)(()=>{const Qn=wt==="radio"?ya.slice(0,1):ya;return new Set(Qn)},[ya,wt]),Ca=(0,ie.useMemo)(()=>wt==="radio"?new Set:new Set(ha),[ha,wt]),[_n,oo]=(0,ie.useState)(null);ie.useEffect(()=>{ce||dn(Bl)},[!!ce]);const Jn=(0,ie.useCallback)((Qn,Vn)=>{let Un,Tn;ma(Qn),Se?(Un=Qn,Tn=Qn.map(Ln=>jn.current.get(Ln))):(Un=[],Tn=[],Qn.forEach(Ln=>{const Rt=Nn(Ln);Rt!==void 0&&(Un.push(Ln),Tn.push(Rt))})),dn(Un),Ye==null||Ye(Un,Tn,{type:Vn})},[dn,Nn,Ye,Se]),Za=(0,ie.useCallback)((Qn,Vn,Un,Tn)=>{if(Ke){const Ln=Un.map(Rt=>Nn(Rt));Ke(Nn(Qn),Vn,Ln,Tn)}Jn(Un,"single")},[Ke,Nn,Jn]),Ia=(0,ie.useMemo)(()=>!Ft||an?null:(Ft===!0?[Ji,Qi,Xi]:Ft).map(Vn=>Vn===Ji?{key:"all",text:Fn.selectionAll,onSelect(){Jn(Hn.map((Un,Tn)=>Kn(Un,Tn)).filter(Un=>{const Tn=sa.get(Un);return!(Tn!=null&&Tn.disabled)||Xa.has(Un)}),"all")}}:Vn===Qi?{key:"invert",text:Fn.selectInvert,onSelect(){const Un=new Set(Xa);Wn.forEach((Ln,Rt)=>{const fn=Kn(Ln,Rt),ia=sa.get(fn);ia!=null&&ia.disabled||(Un.has(fn)?Un.delete(fn):Un.add(fn))});const Tn=Array.from(Un);lt&<(Tn),Jn(Tn,"invert")}}:Vn===Xi?{key:"none",text:Fn.selectNone,onSelect(){tt==null||tt(),Jn(Array.from(Xa).filter(Un=>{const Tn=sa.get(Un);return Tn==null?void 0:Tn.disabled}),"none")}}:Vn).map(Vn=>Object.assign(Object.assign({},Vn),{onSelect:function(){for(var Un,Tn,Ln=arguments.length,Rt=new Array(Ln),fn=0;fn<Ln;fn++)Rt[fn]=arguments[fn];(Tn=Vn.onSelect)===null||Tn===void 0||(Un=Tn).call.apply(Un,[Vn].concat(Rt)),oo(null)}})),[Ft,Xa,Wn,Kn,lt,Jn]);return[(0,ie.useCallback)(Qn=>{var Vn;if(!ce)return Qn.filter(za=>za!==vr);let Un=(0,In.Z)(Qn);const Tn=new Set(Xa),Ln=Rn.map(Kn).filter(za=>!sa.get(za).disabled),Rt=Ln.every(za=>Tn.has(za)),fn=Ln.some(za=>Tn.has(za)),ia=()=>{const za=[];Rt?Ln.forEach(co=>{Tn.delete(co),za.push(co)}):Ln.forEach(co=>{Tn.has(co)||(Tn.add(co),za.push(co))});const Ka=Array.from(Tn);Ze==null||Ze(!Rt,Ka.map(co=>Nn(co)),za.map(co=>Nn(co))),Jn(Ka,"all"),oo(null)};let Sa;if(wt!=="radio"){let za;if(Ia){const wa={getPopupContainer:yn,items:Ia.map((Vo,Io)=>{const{key:ja,text:$n,onSelect:xo}=Vo;return{key:ja!=null?ja:Io,onClick:()=>{xo==null||xo(Ln)},label:$n}})};za=ie.createElement("div",{className:`${ln}-selection-extra`},ie.createElement(Fo.Z,{menu:wa,getPopupContainer:yn},ie.createElement("span",null,ie.createElement(Jl.Z,null))))}const Ka=Rn.map((wa,Vo)=>{const Io=Kn(wa,Vo),ja=sa.get(Io)||{};return Object.assign({checked:Tn.has(Io)},ja)}).filter(wa=>{let{disabled:Vo}=wa;return Vo}),co=!!Ka.length&&Ka.length===Rn.length,wo=co&&Ka.every(wa=>{let{checked:Vo}=wa;return Vo}),bo=co&&Ka.some(wa=>{let{checked:Vo}=wa;return Vo});Sa=!an&&ie.createElement("div",{className:`${ln}-selection`},ie.createElement(kr.default,{checked:co?wo:!!Rn.length&&Rt,indeterminate:co?!wo&&bo:!Rt&&fn,onChange:ia,disabled:Rn.length===0||co,"aria-label":za?"Custom selection":"Select all",skipGroup:!0}),za)}let Ro;wt==="radio"?Ro=(za,Ka,co)=>{const wo=Kn(Ka,co),bo=Tn.has(wo);return{node:ie.createElement(Gi.ZP,Object.assign({},sa.get(wo),{checked:bo,onClick:wa=>wa.stopPropagation(),onChange:wa=>{Tn.has(wo)||Za(wo,!0,[wo],wa.nativeEvent)}})),checked:bo}}:Ro=(za,Ka,co)=>{var wo;const bo=Kn(Ka,co),wa=Tn.has(bo),Vo=Ca.has(bo),Io=sa.get(bo);let ja;return ra==="nest"?ja=Vo:ja=(wo=Io==null?void 0:Io.indeterminate)!==null&&wo!==void 0?wo:Vo,{node:ie.createElement(kr.default,Object.assign({},Io,{indeterminate:ja,checked:wa,skipGroup:!0,onClick:$n=>$n.stopPropagation(),onChange:$n=>{let{nativeEvent:xo}=$n;const{shiftKey:Ko}=xo;let br=-1,rr=-1;if(Ko&&_t){const tr=new Set([_n,bo]);Ln.some((Yo,Eo)=>{if(tr.has(Yo))if(br===-1)br=Eo;else return rr=Eo,!0;return!1})}if(rr!==-1&&br!==rr&&_t){const tr=Ln.slice(br,rr+1),Yo=[];wa?tr.forEach(po=>{Tn.has(po)&&(Yo.push(po),Tn.delete(po))}):tr.forEach(po=>{Tn.has(po)||(Yo.push(po),Tn.add(po))});const Eo=Array.from(Tn);rt==null||rt(!wa,Eo.map(po=>Nn(po)),Yo.map(po=>Nn(po))),Jn(Eo,"multiple")}else{const tr=ya;if(_t){const Yo=wa?(0,Rr._5)(tr,bo):(0,Rr.L0)(tr,bo);Za(bo,!wa,Yo,xo)}else{const Yo=(0,Pi.S)([].concat((0,In.Z)(tr),[bo]),!0,la,fa),{checkedKeys:Eo,halfCheckedKeys:po}=Yo;let Sr=Eo;if(wa){const Ar=new Set(Eo);Ar.delete(bo),Sr=(0,Pi.S)(Array.from(Ar),{checked:!1,halfCheckedKeys:po},la,fa).checkedKeys}Za(bo,!wa,Sr,xo)}}oo(wa?null:bo)}})),checked:wa}};const Ao=(za,Ka,co)=>{const{node:wo,checked:bo}=Ro(za,Ka,co);return Wt?Wt(bo,Ka,co,wo):wo};if(!Un.includes(vr))if(Un.findIndex(za=>{var Ka;return((Ka=za[xa])===null||Ka===void 0?void 0:Ka.columnType)==="EXPAND_COLUMN"})===0){const[za,...Ka]=Un;Un=[za,vr].concat((0,In.Z)(Ka))}else Un=[vr].concat((0,In.Z)(Un));const or=Un.indexOf(vr);Un=Un.filter((za,Ka)=>za!==vr||Ka===or);const fo=Un[or-1],so=Un[or+1];let Yn=Qt;Yn===void 0&&((so==null?void 0:so.fixed)!==void 0?Yn=so.fixed:(fo==null?void 0:fo.fixed)!==void 0&&(Yn=fo.fixed)),Yn&&fo&&((Vn=fo[xa])===null||Vn===void 0?void 0:Vn.columnType)==="EXPAND_COLUMN"&&fo.fixed===void 0&&(fo.fixed=Yn);const Zo=at()(`${ln}-selection-col`,{[`${ln}-selection-col-with-dropdown`]:Ft&&wt==="checkbox"}),Wo={fixed:Yn,width:Et,className:`${ln}-selection-column`,title:ce.columnTitle||Sa,render:Ao,onCell:ce.onCell,[xa]:{className:Zo}};return Un.map(za=>za===vr?Wo:za)},[Kn,Rn,ce,ya,Xa,Ca,Et,Ia,ra,_n,sa,rt,Za,fa]),Xa]},Xl=ne(89489),$l=ne(59477),$i=ne(6848);const yi="ascend",Wr="descend";function oi(de){return typeof de.sorter=="object"&&typeof de.sorter.multiple=="number"?de.sorter.multiple:!1}function Dl(de){return typeof de=="function"?de:de&&typeof de=="object"&&de.compare?de.compare:!1}function ql(de,ce){return ce?de[de.indexOf(ce)+1]:de[0]}function Fl(de,ce,Se){let we=[];function Ne(Fe,Ye){we.push({column:Fe,key:Ma(Fe,Ye),multiplePriority:oi(Fe),sortOrder:Fe.sortOrder})}return(de||[]).forEach((Fe,Ye)=>{const Ke=mo(Ye,Se);Fe.children?("sortOrder"in Fe&&Ne(Fe,Ke),we=[].concat((0,In.Z)(we),(0,In.Z)(Fl(Fe.children,ce,Ke)))):Fe.sorter&&("sortOrder"in Fe?Ne(Fe,Ke):ce&&Fe.defaultSortOrder&&we.push({column:Fe,key:Ma(Fe,Ke),multiplePriority:oi(Fe),sortOrder:Fe.defaultSortOrder}))}),we}function qi(de,ce,Se,we,Ne,Fe,Ye,Ke){return(ce||[]).map((Ze,lt)=>{const tt=mo(lt,Ke);let rt=Ze;if(rt.sorter){const Et=rt.sortDirections||Ne,wt=rt.showSorterTooltip===void 0?Ye:rt.showSorterTooltip,Ft=Ma(rt,tt),Qt=Se.find(ra=>{let{key:hn}=ra;return hn===Ft}),Wt=Qt?Qt.sortOrder:null,an=ql(Et,Wt);let _t;if(Ze.sortIcon)_t=Ze.sortIcon({sortOrder:Wt});else{const ra=Et.includes(yi)&&ie.createElement($l.Z,{className:at()(`${de}-column-sorter-up`,{active:Wt===yi})}),hn=Et.includes(Wr)&&ie.createElement(Xl.Z,{className:at()(`${de}-column-sorter-down`,{active:Wt===Wr})});_t=ie.createElement("span",{className:at()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(ra&&hn)})},ie.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},ra,hn))}const{cancelSort:ln,triggerAsc:Hn,triggerDesc:Wn}=Fe||{};let Nn=ln;an===Wr?Nn=Wn:an===yi&&(Nn=Hn);const Kn=typeof wt=="object"?wt:{title:Nn};rt=Object.assign(Object.assign({},rt),{className:at()(rt.className,{[`${de}-column-sort`]:Wt}),title:ra=>{const hn=ie.createElement("div",{className:`${de}-column-sorters`},ie.createElement("span",{className:`${de}-column-title`},Lo(Ze.title,ra)),_t);return wt?ie.createElement($i.Z,Object.assign({},Kn),hn):hn},onHeaderCell:ra=>{const hn=Ze.onHeaderCell&&Ze.onHeaderCell(ra)||{},Fn=hn.onClick,yn=hn.onKeyDown;hn.onClick=jn=>{we({column:Ze,key:Ft,sortOrder:an,multiplePriority:oi(Ze)}),Fn==null||Fn(jn)},hn.onKeyDown=jn=>{jn.keyCode===pi.Z.ENTER&&(we({column:Ze,key:Ft,sortOrder:an,multiplePriority:oi(Ze)}),yn==null||yn(jn))};const rn=Do(Ze.title,{}),dn=rn==null?void 0:rn.toString();return Wt?hn["aria-sort"]=Wt==="ascend"?"ascending":"descending":hn["aria-label"]=dn||"",hn.className=at()(hn.className,`${de}-column-has-sorters`),hn.tabIndex=0,Ze.ellipsis&&(hn.title=(rn!=null?rn:"").toString()),hn}})}return"children"in rt&&(rt=Object.assign(Object.assign({},rt),{children:qi(de,rt.children,Se,we,Ne,Fe,Ye,tt)})),rt})}function kl(de){const{column:ce,sortOrder:Se}=de;return{column:ce,order:Se,field:ce.dataIndex,columnKey:ce.key}}function Ol(de){const ce=de.filter(Se=>{let{sortOrder:we}=Se;return we}).map(kl);return ce.length===0&&de.length?Object.assign(Object.assign({},kl(de[de.length-1])),{column:void 0}):ce.length<=1?ce[0]||{}:ce}function _i(de,ce,Se){const we=ce.slice().sort((Ye,Ke)=>Ke.multiplePriority-Ye.multiplePriority),Ne=de.slice(),Fe=we.filter(Ye=>{let{column:{sorter:Ke},sortOrder:Ze}=Ye;return Dl(Ke)&&Ze});return Fe.length?Ne.sort((Ye,Ke)=>{for(let Ze=0;Ze<Fe.length;Ze+=1){const lt=Fe[Ze],{column:{sorter:tt},sortOrder:rt}=lt,Et=Dl(tt);if(Et&&rt){const wt=Et(Ye,Ke,rt);if(wt!==0)return rt===yi?wt:-wt}}return 0}).map(Ye=>{const Ke=Ye[Se];return Ke?Object.assign(Object.assign({},Ye),{[Se]:_i(Ke,ce,Se)}):Ye}):Ne}function _l(de){let{prefixCls:ce,mergedColumns:Se,onSorterChange:we,sortDirections:Ne,tableLocale:Fe,showSorterTooltip:Ye}=de;const[Ke,Ze]=ie.useState(Fl(Se,!0)),lt=ie.useMemo(()=>{let Ft=!0;const Qt=Fl(Se,!1);if(!Qt.length)return Ke;const Wt=[];function an(ln){Ft?Wt.push(ln):Wt.push(Object.assign(Object.assign({},ln),{sortOrder:null}))}let _t=null;return Qt.forEach(ln=>{_t===null?(an(ln),ln.sortOrder&&(ln.multiplePriority===!1?Ft=!1:_t=!0)):(_t&&ln.multiplePriority!==!1||(Ft=!1),an(ln))}),Wt},[Se,Ke]),tt=ie.useMemo(()=>{const Ft=lt.map(Qt=>{let{column:Wt,sortOrder:an}=Qt;return{column:Wt,order:an}});return{sortColumns:Ft,sortColumn:Ft[0]&&Ft[0].column,sortOrder:Ft[0]&&Ft[0].order}},[lt]);function rt(Ft){let Qt;Ft.multiplePriority===!1||!lt.length||lt[0].multiplePriority===!1?Qt=[Ft]:Qt=[].concat((0,In.Z)(lt.filter(Wt=>{let{key:an}=Wt;return an!==Ft.key})),[Ft]),Ze(Qt),we(Ol(Qt),Qt)}return[Ft=>qi(ce,Ft,lt,rt,Ne,Fe,Ye),lt,tt,()=>Ol(lt)]}function ed(de,ce){return de.map(Se=>{const we=Object.assign({},Se);return we.title=Lo(Se.title,ce),"children"in we&&(we.children=ed(we.children,ce)),we})}function td(de){return[ie.useCallback(Se=>ed(Se,de),[de])]}var Rl=ro((de,ce)=>{const{_renderTimes:Se}=de,{_renderTimes:we}=ce;return Se!==we}),Vr=qr((de,ce)=>{const{_renderTimes:Se}=de,{_renderTimes:we}=ce;return Se!==we}),Ur=ne(64993),bi=ne(17313),nd=ne(83116),ad=ne(37613),le=de=>{const{componentCls:ce}=de,Se=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,we=(Ne,Fe,Ye)=>({[`&${ce}-${Ne}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${Fe}px -${Ye+de.lineWidth}px`}}}}}});return{[`${ce}-wrapper`]:{[`${ce}${ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ce}-title`]:{border:Se,borderBottom:0},[`> ${ce}-container`]:{borderInlineStart:Se,borderTop:Se,[`
|
|
> ${ce}-content,
|
|
> ${ce}-header,
|
|
> ${ce}-body,
|
|
> ${ce}-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:Se},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Se},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ce}-cell-fix-right-first::after`]:{borderInlineEnd:Se}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${de.tablePaddingVertical}px -${de.tablePaddingHorizontal+de.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:de.lineWidth,bottom:0,borderInlineEnd:Se,content:'""'}}}}}},[`&${ce}-scroll-horizontal`]:{[`> ${ce}-container > ${ce}-body`]:{"> table > tbody":{[`
|
|
> tr${ce}-expanded-row,
|
|
> tr${ce}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},we("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle)),we("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall)),{[`> ${ce}-footer`]:{border:Se,borderTop:0}}),[`${ce}-cell`]:{[`${ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${de.lineWidth}px 0 ${de.lineWidth}px ${de.tableHeaderBg}`}},[`${ce}-bordered ${ce}-cell-scrollbar`]:{borderInlineEnd:Se}}}},Ee=de=>{const{componentCls:ce}=de;return{[`${ce}-wrapper`]:{[`${ce}-cell-ellipsis`]:Object.assign(Object.assign({},bi.vS),{wordBreak:"keep-all",[`
|
|
&${ce}-cell-fix-left-last,
|
|
&${ce}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Qe=de=>{const{componentCls:ce}=de;return{[`${ce}-wrapper`]:{[`${ce}-tbody > tr${ce}-placeholder`]:{textAlign:"center",color:de.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:de.colorBgContainer}}}}},He=ne(15969),ft=de=>{const{componentCls:ce,antCls:Se,controlInteractiveSize:we,motionDurationSlow:Ne,lineWidth:Fe,paddingXS:Ye,lineType:Ke,tableBorderColor:Ze,tableExpandIconBg:lt,tableExpandColumnWidth:tt,borderRadius:rt,fontSize:Et,fontSizeSM:wt,lineHeight:Ft,tablePaddingVertical:Qt,tablePaddingHorizontal:Wt,tableExpandedRowBg:an,paddingXXS:_t}=de,ln=we/2-Fe,Hn=ln*2+Fe*3,Wn=`${Fe}px ${Ke} ${Ze}`,Nn=_t-Fe;return{[`${ce}-wrapper`]:{[`${ce}-expand-icon-col`]:{width:tt},[`${ce}-row-expand-icon-cell`]:{textAlign:"center",[`${ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ce}-row-indent`]:{height:1,float:"left"},[`${ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,He.N)(de)),{position:"relative",float:"left",boxSizing:"border-box",width:Hn,height:Hn,padding:0,color:"inherit",lineHeight:`${Hn}px`,background:lt,border:Wn,borderRadius:rt,transform:`scale(${we/Hn})`,transition:`all ${Ne}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ne} ease-out`,content:'""'},"&::before":{top:ln,insetInlineEnd:Nn,insetInlineStart:Nn,height:Fe},"&::after":{top:Nn,bottom:Nn,insetInlineStart:ln,width:Fe,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"}}),[`${ce}-row-indent + ${ce}-row-expand-icon`]:{marginTop:(Et*Ft-Fe*3)/2-Math.ceil((wt*1.4-Fe*3)/2),marginInlineEnd:Ye},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:an}},[`${Se}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Qt}px -${Wt}px`,padding:`${Qt}px ${Wt}px`}}}},nn=de=>{const{componentCls:ce,antCls:Se,iconCls:we,tableFilterDropdownWidth:Ne,tableFilterDropdownSearchWidth:Fe,paddingXXS:Ye,paddingXS:Ke,colorText:Ze,lineWidth:lt,lineType:tt,tableBorderColor:rt,tableHeaderIconColor:Et,fontSizeSM:wt,tablePaddingHorizontal:Ft,borderRadius:Qt,motionDurationSlow:Wt,colorTextDescription:an,colorPrimary:_t,tableHeaderFilterActiveBg:ln,colorTextDisabled:Hn,tableFilterDropdownBg:Wn,tableFilterDropdownHeight:Nn,controlItemBgHover:Kn,controlItemBgActive:ra,boxShadowSecondary:hn,filterDropdownMenuBg:Fn}=de,yn=`${Se}-dropdown`,rn=`${ce}-filter-dropdown`,dn=`${Se}-tree`,jn=`${lt}px ${tt} ${rt}`;return[{[`${ce}-wrapper`]:{[`${ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Ye,marginInline:`${Ye}px ${-Ft/2}px`,padding:`0 ${Ye}px`,color:Et,fontSize:wt,borderRadius:Qt,cursor:"pointer",transition:`all ${Wt}`,"&:hover":{color:an,background:ln},"&.active":{color:_t}}}},{[`${Se}-dropdown`]:{[rn]:Object.assign(Object.assign({},(0,bi.Wf)(de)),{minWidth:Ne,backgroundColor:Wn,borderRadius:Qt,boxShadow:hn,overflow:"hidden",[`${yn}-menu`]:{maxHeight:Nn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Fn,"&:empty::after":{display:"block",padding:`${Ke}px 0`,color:Hn,fontSize:wt,textAlign:"center",content:'"Not Found"'}},[`${rn}-tree`]:{paddingBlock:`${Ke}px 0`,paddingInline:Ke,[dn]:{padding:0},[`${dn}-treenode ${dn}-node-content-wrapper:hover`]:{backgroundColor:Kn},[`${dn}-treenode-checkbox-checked ${dn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ra}}},[`${rn}-search`]:{padding:Ke,borderBottom:jn,"&-input":{input:{minWidth:Fe},[we]:{color:Hn}}},[`${rn}-checkall`]:{width:"100%",marginBottom:Ye,marginInlineStart:Ye},[`${rn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ke-lt}px ${Ke}px`,overflow:"hidden",borderTop:jn}})}},{[`${Se}-dropdown ${rn}, ${rn}-submenu`]:{[`${Se}-checkbox-wrapper + span`]:{paddingInlineStart:Ke,color:Ze},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},It=de=>{const{componentCls:ce,lineWidth:Se,colorSplit:we,motionDurationSlow:Ne,zIndexTableFixed:Fe,tableBg:Ye,zIndexTableSticky:Ke}=de,Ze=we;return{[`${ce}-wrapper`]:{[`
|
|
${ce}-cell-fix-left,
|
|
${ce}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:Fe,background:Ye},[`
|
|
${ce}-cell-fix-left-first::after,
|
|
${ce}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Se,width:30,transform:"translateX(100%)",transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},[`${ce}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${ce}-cell-fix-right-first::after,
|
|
${ce}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-Se,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},[`${ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ke+1,width:30,transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ce}-ping-left`]:{[`&:not(${ce}-has-fix-left) ${ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ze}`}},[`
|
|
${ce}-cell-fix-left-first::after,
|
|
${ce}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Ze}`},[`${ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ce}-ping-right`]:{[`&:not(${ce}-has-fix-right) ${ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ze}`}},[`
|
|
${ce}-cell-fix-right-first::after,
|
|
${ce}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Ze}`}}}}},Jt=de=>{const{componentCls:ce,antCls:Se}=de;return{[`${ce}-wrapper`]:{[`${ce}-pagination${Se}-pagination`]:{margin:`${de.margin}px 0`},[`${ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:de.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Nt=de=>{const{componentCls:ce,tableRadius:Se}=de;return{[`${ce}-wrapper`]:{[ce]:{[`${ce}-title, ${ce}-header`]:{borderRadius:`${Se}px ${Se}px 0 0`},[`${ce}-title + ${ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ce}-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:Se,borderStartEndRadius:Se,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Se},"> *:last-child":{borderStartEndRadius:Se}}},"&-footer":{borderRadius:`0 0 ${Se}px ${Se}px`}}}}},An=de=>{const{componentCls:ce}=de;return{[`${ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ce}-pagination-left`]:{justifyContent:"flex-end"},[`${ce}-pagination-right`]:{justifyContent:"flex-start"},[`${ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ce}-row-indent`]:{float:"right"}}}}},Dn=de=>{const{componentCls:ce,antCls:Se,iconCls:we,fontSizeIcon:Ne,padding:Fe,paddingXS:Ye,tableHeaderIconColor:Ke,tableHeaderIconColorHover:Ze,tableSelectionColumnWidth:lt}=de;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:lt,[`&${ce}-selection-col-with-dropdown`]:{width:lt+Ne+Fe/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:lt+Ye*2,[`&${ce}-selection-col-with-dropdown`]:{width:lt+Ne+Fe/4+Ye*2}},[`
|
|
table tr th${ce}-selection-column,
|
|
table tr td${ce}-selection-column
|
|
`]:{paddingInlineEnd:de.paddingXS,paddingInlineStart:de.paddingXS,textAlign:"center",[`${Se}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ce}-selection-column${ce}-cell-fix-left`]:{zIndex:de.zIndexTableFixed+1},[`table tr th${ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${de.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${de.tablePaddingHorizontal/4}px`,[we]:{color:Ke,fontSize:Ne,verticalAlign:"baseline","&:hover":{color:Ze}}}}}},On=de=>{const{componentCls:ce}=de,Se=(we,Ne,Fe,Ye)=>({[`${ce}${ce}-${we}`]:{fontSize:Ye,[`
|
|
${ce}-title,
|
|
${ce}-footer,
|
|
${ce}-cell,
|
|
${ce}-thead > tr > th,
|
|
${ce}-tbody > tr > th,
|
|
${ce}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${Ne}px ${Fe}px`},[`${ce}-filter-trigger`]:{marginInlineEnd:`-${Fe/2}px`},[`${ce}-expanded-row-fixed`]:{margin:`-${Ne}px -${Fe}px`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:`-${Ne}px`,marginInline:`${de.tableExpandColumnWidth-Fe}px -${Fe}px`}},[`${ce}-selection-column`]:{paddingInlineStart:`${Fe/4}px`}}});return{[`${ce}-wrapper`]:Object.assign(Object.assign({},Se("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle,de.tableFontSizeMiddle)),Se("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall,de.tableFontSizeSmall))}},La=de=>{const{componentCls:ce,marginXXS:Se,fontSizeIcon:we,tableHeaderIconColor:Ne,tableHeaderIconColorHover:Fe}=de;return{[`${ce}-wrapper`]:{[`${ce}-thead th${ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${de.motionDurationSlow}`,"&:hover":{background:de.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:de.colorPrimary},[`
|
|
&${ce}-cell-fix-left:hover,
|
|
&${ce}-cell-fix-right:hover
|
|
`]:{background:de.tableFixedHeaderSortActiveBg}},[`${ce}-thead th${ce}-column-sort`]:{background:de.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ce}-column-sort`]:{background:de.tableBodySortBg},[`${ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ce}-column-sorter`]:{marginInlineStart:Se,color:Ne,fontSize:0,transition:`color ${de.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:we,"&.active":{color:de.colorPrimary}},[`${ce}-column-sorter-up + ${ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ce}-column-sorters:hover ${ce}-column-sorter`]:{color:Fe}}}},Aa=de=>{const{componentCls:ce,opacityLoading:Se,tableScrollThumbBg:we,tableScrollThumbBgHover:Ne,tableScrollThumbSize:Fe,tableScrollBg:Ye,zIndexTableSticky:Ke,stickyScrollBarBorderRadius:Ze}=de,lt=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ke,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Fe}px !important`,zIndex:Ke,display:"flex",alignItems:"center",background:Ye,borderTop:lt,opacity:Se,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Fe,backgroundColor:we,borderRadius:Ze,transition:`all ${de.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ne}}}}}}},Qa=de=>{const{componentCls:ce,lineWidth:Se,tableBorderColor:we}=de,Ne=`${Se}px ${de.lineType} ${we}`;return{[`${ce}-wrapper`]:{[`${ce}-summary`]:{position:"relative",zIndex:de.zIndexTableFixed,background:de.tableBg,"> tr":{"> th, > td":{borderBottom:Ne}}},[`div${ce}-summary`]:{boxShadow:`0 -${Se}px 0 ${we}`}}}},Po=de=>{const{componentCls:ce}=de,Se=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,we=`${ce}-expanded-row-cell`;return{[`${ce}-wrapper`]:{[`${ce}-tbody-virtual`]:{[`${ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ce}-cell`]:{borderBottom:Se},[`${ce}-expanded-row`]:{[`${we}${we}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${de.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ce}-bordered`]:{[`${ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Se,position:"absolute"},[`${ce}-cell`]:{borderInlineEnd:Se,[`&${ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-de.lineWidth,borderInlineStart:Se}}}}}}};const Ja=de=>{const{componentCls:ce,fontWeightStrong:Se,tablePaddingVertical:we,tablePaddingHorizontal:Ne,lineWidth:Fe,lineType:Ye,tableBorderColor:Ke,tableFontSize:Ze,tableBg:lt,tableRadius:tt,tableHeaderTextColor:rt,motionDurationMid:Et,tableHeaderBg:wt,tableHeaderCellSplitColor:Ft,tableRowHoverBg:Qt,tableSelectedRowBg:Wt,tableSelectedRowHoverBg:an,tableFooterTextColor:_t,tableFooterBg:ln,paddingContentVerticalLG:Hn}=de,Wn=`${Fe}px ${Ye} ${Ke}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,bi.dF)()),{[ce]:Object.assign(Object.assign({},(0,bi.Wf)(de)),{fontSize:Ze,background:lt,borderRadius:`${tt}px ${tt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${tt}px ${tt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${ce}-cell,
|
|
${ce}-thead > tr > th,
|
|
${ce}-tbody > tr > th,
|
|
${ce}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Hn}px ${Ne}px`,overflowWrap:"break-word"},[`${ce}-title`]:{padding:`${we}px ${Ne}px`},[`${ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:rt,fontWeight:Se,textAlign:"start",background:wt,borderBottom:Wn,transition:`background ${Et} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ce}-selection-column):not(${ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ft,transform:"translateY(-50%)",transition:`background-color ${Et}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Et}, border-color ${Et}`,borderBottom:Wn,[`
|
|
> ${ce}-wrapper:only-child,
|
|
> ${ce}-expanded-row-fixed > ${ce}-wrapper:only-child
|
|
`]:{[ce]:{marginBlock:`-${we}px`,marginInline:`${de.tableExpandColumnWidth-Ne}px -${Ne}px`,[`${ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:rt,fontWeight:Se,textAlign:"start",background:wt,borderBottom:Wn,transition:`background ${Et} ease`},[`
|
|
&${ce}-row:hover > th,
|
|
&${ce}-row:hover > td,
|
|
> th${ce}-cell-row-hover,
|
|
> td${ce}-cell-row-hover
|
|
`]:{background:Qt},[`&${ce}-row-selected`]:{"> th, > td":{background:Wt},"&:hover > th, &:hover > td":{background:an}}}},[`${ce}-footer`]:{padding:`${we}px ${Ne}px`,color:_t,background:ln}})}};var Oa=(0,nd.Z)("Table",de=>{const{colorTextHeading:ce,colorSplit:Se,colorIcon:we,colorIconHover:Ne,opacityLoading:Fe,colorBgContainer:Ye,controlInteractiveSize:Ke,headerBg:Ze,headerColor:lt,headerSortActiveBg:tt,headerSortHoverBg:rt,bodySortBg:Et,rowHoverBg:wt,rowSelectedBg:Ft,rowSelectedHoverBg:Qt,rowExpandedBg:Wt,cellPaddingBlock:an,cellPaddingInline:_t,cellPaddingBlockMD:ln,cellPaddingInlineMD:Hn,cellPaddingBlockSM:Wn,cellPaddingInlineSM:Nn,borderColor:Kn,footerBg:ra,footerColor:hn,headerBorderRadius:Fn,cellFontSize:yn,cellFontSizeMD:rn,cellFontSizeSM:dn,headerSplitColor:jn,fixedHeaderSortActiveBg:ma,headerFilterHoverBg:la,filterDropdownBg:Rn,expandIconBg:sa,selectionColumnWidth:fa,stickyScrollBarBg:ya}=de,ha=new Ur.C(we),Xa=new Ur.C(Ne),Ca=2,_n=(0,ad.TS)(de,{tableFontSize:yn,tableBg:Ye,tableRadius:Fn,tablePaddingVertical:an,tablePaddingHorizontal:_t,tablePaddingVerticalMiddle:ln,tablePaddingHorizontalMiddle:Hn,tablePaddingVerticalSmall:Wn,tablePaddingHorizontalSmall:Nn,tableBorderColor:Kn,tableHeaderTextColor:lt,tableHeaderBg:Ze,tableFooterTextColor:hn,tableFooterBg:ra,tableHeaderCellSplitColor:jn,tableHeaderSortBg:tt,tableHeaderSortHoverBg:rt,tableHeaderIconColor:ha.clone().setAlpha(ha.getAlpha()*Fe).toRgbString(),tableHeaderIconColorHover:Xa.clone().setAlpha(Xa.getAlpha()*Fe).toRgbString(),tableBodySortBg:Et,tableFixedHeaderSortActiveBg:ma,tableHeaderFilterActiveBg:la,tableFilterDropdownBg:Rn,tableRowHoverBg:wt,tableSelectedRowBg:Ft,tableSelectedRowHoverBg:Qt,zIndexTableFixed:Ca,zIndexTableSticky:Ca+1,tableFontSizeMiddle:rn,tableFontSizeSmall:dn,tableSelectionColumnWidth:fa,tableExpandIconBg:sa,tableExpandColumnWidth:Ke+2*de.padding,tableExpandedRowBg:Wt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ya,tableScrollThumbBgHover:ce,tableScrollBg:Se});return[Ja(_n),Jt(_n),Qa(_n),La(_n),nn(_n),le(_n),Nt(_n),ft(_n),Qa(_n),Qe(_n),Dn(_n),It(_n),Aa(_n),Ee(_n),On(_n),An(_n),Po(_n)]},de=>{const{colorFillAlter:ce,colorBgContainer:Se,colorTextHeading:we,colorFillSecondary:Ne,colorFillContent:Fe,controlItemBgActive:Ye,controlItemBgActiveHover:Ke,padding:Ze,paddingSM:lt,paddingXS:tt,colorBorderSecondary:rt,borderRadiusLG:Et,fontSize:wt,controlHeight:Ft,colorTextPlaceholder:Qt}=de,Wt=new Ur.C(Ne).onBackground(Se).toHexShortString(),an=new Ur.C(Fe).onBackground(Se).toHexShortString(),_t=new Ur.C(ce).onBackground(Se).toHexShortString();return{headerBg:_t,headerColor:we,headerSortActiveBg:Wt,headerSortHoverBg:an,bodySortBg:_t,rowHoverBg:_t,rowSelectedBg:Ye,rowSelectedHoverBg:Ke,rowExpandedBg:ce,cellPaddingBlock:Ze,cellPaddingInline:Ze,cellPaddingBlockMD:lt,cellPaddingInlineMD:tt,cellPaddingBlockSM:tt,cellPaddingInlineSM:tt,borderColor:rt,headerBorderRadius:Et,footerBg:_t,footerColor:we,cellFontSize:wt,cellFontSizeMD:wt,cellFontSizeSM:wt,headerSplitColor:rt,fixedHeaderSortActiveBg:Wt,headerFilterHoverBg:Fe,filterDropdownMenuBg:Se,filterDropdownBg:Se,expandIconBg:Se,selectionColumnWidth:Ft,stickyScrollBarBg:Qt,stickyScrollBarBorderRadius:100}});const Ra=[],to=(de,ce)=>{const{prefixCls:Se,className:we,rootClassName:Ne,style:Fe,size:Ye,bordered:Ke,dropdownPrefixCls:Ze,dataSource:lt,pagination:tt,rowSelection:rt,rowKey:Et="key",rowClassName:wt,columns:Ft,children:Qt,childrenColumnName:Wt,onChange:an,getPopupContainer:_t,loading:ln,expandIcon:Hn,expandable:Wn,expandedRowRender:Nn,expandIconColumnIndex:Kn,indentSize:ra,scroll:hn,sortDirections:Fn,locale:yn,showSorterTooltip:rn=!0,virtual:dn}=de,jn=ie.useMemo(()=>Ft||Xe(Qt),[Ft,Qt]),ma=ie.useMemo(()=>jn.some(Da=>Da.responsive),[jn]),la=(0,yl.Z)(ma),Rn=ie.useMemo(()=>{const Da=new Set(Object.keys(la).filter(no=>la[no]));return jn.filter(no=>!no.responsive||no.responsive.some(jo=>Da.has(jo)))},[jn,la]),sa=(0,Oi.Z)(de,["className","style","columns"]),{locale:fa=Ti.Z,direction:ya,table:ha,renderEmpty:Xa,getPrefixCls:Ca,getPopupContainer:_n}=ie.useContext(Ii.E_),oo=(0,Pl.Z)(Ye),Jn=Object.assign(Object.assign({},fa.Table),yn),Za=lt||Ra,Ia=Ca("table",Se),yo=Ca("dropdown",Ze),Qn=Object.assign({childrenColumnName:Wt,expandIconColumnIndex:Kn},Wn),{childrenColumnName:Vn="children"}=Qn,Un=ie.useMemo(()=>Za.some(Da=>Da==null?void 0:Da[Vn])?"nest":Nn||Wn&&Wn.expandedRowRender?"row":null,[Za]),Tn={body:ie.useRef()},Ln=ie.useMemo(()=>typeof Et=="function"?Et:Da=>Da==null?void 0:Da[Et],[Et]),[Rt]=wl(Za,Vn,Ln),fn={},ia=function(Da,no){let jo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ho,Jo,Qo;const Uo=Object.assign(Object.assign({},fn),Da);jo&&((ho=fn.resetPagination)===null||ho===void 0||ho.call(fn),!((Jo=Uo.pagination)===null||Jo===void 0)&&Jo.current&&(Uo.pagination.current=1),tt&&tt.onChange&&tt.onChange(1,(Qo=Uo.pagination)===null||Qo===void 0?void 0:Qo.pageSize)),hn&&hn.scrollToFirstRowOnChange!==!1&&Tn.body.current&&(0,Ri.Z)(0,{getContainer:()=>Tn.body.current}),an==null||an(Uo.pagination,Uo.filters,Uo.sorter,{currentDataSource:Wi(_i(Za,Uo.sorterStates,Vn),Uo.filterStates),action:no})},Sa=(Da,no)=>{ia({sorter:Da,sorterStates:no},"sort",!1)},[Ro,Ao,or,fo]=_l({prefixCls:Ia,mergedColumns:Rn,onSorterChange:Sa,sortDirections:Fn||["ascend","descend"],tableLocale:Jn,showSorterTooltip:rn}),so=ie.useMemo(()=>_i(Za,Ao,Vn),[Za,Ao]);fn.sorter=fo(),fn.sorterStates=Ao;const Yn=(Da,no)=>{ia({filters:Da,filterStates:no},"filter",!0)},[Zo,Wo,za]=Cl({prefixCls:Ia,locale:Jn,dropdownPrefixCls:yo,mergedColumns:Rn,onFilterChange:Yn,getPopupContainer:_t||_n}),Ka=Wi(so,Wo);fn.filters=za,fn.filterStates=Wo;const co=ie.useMemo(()=>{const Da={};return Object.keys(za).forEach(no=>{za[no]!==null&&(Da[no]=za[no])}),Object.assign(Object.assign({},or),{filters:Da})},[or,za]),[wo]=td(co),bo=(Da,no)=>{ia({pagination:Object.assign(Object.assign({},fn.pagination),{current:Da,pageSize:no})},"paginate")},[wa,Vo]=Yl(Ka.length,bo,tt);fn.pagination=tt===!1?{}:Or(wa,tt),fn.resetPagination=Vo;const Io=ie.useMemo(()=>{if(tt===!1||!wa.pageSize)return Ka;const{current:Da=1,total:no,pageSize:jo=ai}=wa;return Ka.length<no?Ka.length>jo?Ka.slice((Da-1)*jo,Da*jo):Ka:Ka.slice((Da-1)*jo,Da*jo)},[!!tt,Ka,wa&&wa.current,wa&&wa.pageSize,wa&&wa.total]),[ja,$n]=Nl({prefixCls:Ia,data:Ka,pageData:Io,getRowKey:Ln,getRecordByKey:Rt,expandType:Un,childrenColumnName:Vn,locale:Jn,getPopupContainer:_t||_n},rt),xo=(Da,no,jo)=>{let ho;return typeof wt=="function"?ho=at()(wt(Da,no,jo)):ho=at()(wt),at()({[`${Ia}-row-selected`]:$n.has(Ln(Da,no))},ho)};Qn.__PARENT_RENDER_ICON__=Qn.expandIcon,Qn.expandIcon=Qn.expandIcon||Hn||Zn(Jn),Un==="nest"&&Qn.expandIconColumnIndex===void 0?Qn.expandIconColumnIndex=rt?1:0:Qn.expandIconColumnIndex>0&&rt&&(Qn.expandIconColumnIndex-=1),typeof Qn.indentSize!="number"&&(Qn.indentSize=typeof ra=="number"?ra:15);const Ko=ie.useCallback(Da=>wo(ja(Zo(Ro(Da)))),[Ro,Zo,ja]);let br,rr;if(tt!==!1&&(wa!=null&&wa.total)){let Da;wa.size?Da=wa.size:Da=oo==="small"||oo==="middle"?"small":void 0;const no=Jo=>ie.createElement(zi.Z,Object.assign({},wa,{className:at()(`${Ia}-pagination ${Ia}-pagination-${Jo}`,wa.className),size:Da})),jo=ya==="rtl"?"left":"right",{position:ho}=wa;if(ho!==null&&Array.isArray(ho)){const Jo=ho.find(Pr=>Pr.includes("top")),Qo=ho.find(Pr=>Pr.includes("bottom")),Uo=ho.every(Pr=>`${Pr}`=="none");!Jo&&!Qo&&!Uo&&(rr=no(jo)),Jo&&(br=no(Jo.toLowerCase().replace("top",""))),Qo&&(rr=no(Qo.toLowerCase().replace("bottom","")))}else rr=no(jo)}let tr;typeof ln=="boolean"?tr={spinning:ln}:typeof ln=="object"&&(tr=Object.assign({spinning:!0},ln));const[Yo,Eo]=Oa(Ia),[,po]=(0,Bn.Z)(),Sr=at()(`${Ia}-wrapper`,ha==null?void 0:ha.className,{[`${Ia}-wrapper-rtl`]:ya==="rtl"},we,Ne,Eo),Ar=Object.assign(Object.assign({},ha==null?void 0:ha.style),Fe),ur=yn&&yn.emptyText||(Xa==null?void 0:Xa("Table"))||ie.createElement(Mi.Z,{componentName:"Table"}),pr=dn?Vr:Rl,ri={},el=ie.useMemo(()=>{const{fontSize:Da,lineHeight:no,padding:jo,paddingXS:ho,paddingSM:Jo}=po,Qo=Math.floor(Da*no);switch(oo){case"large":return jo*2+Qo;case"small":return ho*2+Qo;default:return Jo*2+Qo}},[po,oo]);return dn&&(ri.listItemHeight=el),Yo(ie.createElement("div",{ref:ce,className:Sr,style:Ar},ie.createElement(qn.Z,Object.assign({spinning:!1},tr),br,ie.createElement(pr,Object.assign({},ri,sa,{columns:Rn,direction:ya,expandable:Qn,prefixCls:Ia,className:at()({[`${Ia}-middle`]:oo==="middle",[`${Ia}-small`]:oo==="small",[`${Ia}-bordered`]:Ke,[`${Ia}-empty`]:Za.length===0}),data:Io,rowKey:Ln,rowClassName:xo,emptyText:ur,internalHooks:he,internalRefs:Tn,transformColumns:Ko})),rr)))};var lo=ie.forwardRef(to);const Ga=(de,ce)=>{const Se=ie.useRef(0);return Se.current+=1,ie.createElement(lo,Object.assign({},de,{ref:ce,_renderTimes:Se.current}))},Va=ie.forwardRef(Ga);Va.SELECTION_COLUMN=vr,Va.EXPAND_COLUMN=se,Va.SELECTION_ALL=Ji,Va.SELECTION_INVERT=Qi,Va.SELECTION_NONE=Xi,Va.Column=Fi,Va.ColumnGroup=ki,Va.Summary=pe;var ko=Va,Bo=ko},17574:function(mt,Lt,ne){"use strict";ne.d(Lt,{default:function(){return Dt}});var se=ne(23130),he=ne(26407),Te=ne(52671),ot=ne(8657),Me=ne(92413),Ie=ne(59301),ie={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"},dt=ie,it=ne(7657),nt=function(We,Bt){return Ie.createElement(it.Z,(0,Me.Z)({},We,{ref:Bt,icon:dt}))},_e=Ie.forwardRef(nt),st=_e,Ge=ne(92310),re=ne.n(Ge),y=ne(35654),a=ne(71430),x=ne(36355),b=ne(56082),E=ne(62892),z=ne(20648);const ee=4;function ae(Tt){const{dropPosition:We,dropLevelOffset:Bt,prefixCls:Gt,indent:De,direction:Ve="ltr"}=Tt,pt=Ve==="ltr"?"left":"right",$t=Ve==="ltr"?"right":"left",qe={[pt]:-Bt*De+ee,[$t]:0};switch(We){case-1:qe.top=-3;break;case 1:qe.bottom=-3;break;default:qe.bottom=-3,qe[pt]=De+ee;break}return Ie.createElement("div",{style:qe,className:`${Gt}-drop-indicator`})}var te=ne(71997),fe=Ie.forwardRef((Tt,We)=>{const{getPrefixCls:Bt,direction:Gt,virtual:De,tree:Ve}=Ie.useContext(x.E_),{prefixCls:pt,className:$t,showIcon:qe=!1,showLine:Vt,switcherIcon:xe,blockNode:At=!1,children:yt,checkable:pn=!1,selectable:Sn=!0,draggable:Oe,motion:ke,style:ye}=Tt,me=Bt("tree",pt),ze=Bt(),gt=ke!=null?ke:Object.assign(Object.assign({},(0,E.Z)(ze)),{motionAppear:!1}),pe=Object.assign(Object.assign({},Tt),{checkable:pn,selectable:Sn,showIcon:qe,motion:gt,blockNode:At,showLine:!!Vt,dropIndicatorRender:ae}),[ve,Je]=(0,z.ZP)(me),Re=Ie.useMemo(()=>{if(!Oe)return!1;let je={};switch(typeof Oe){case"function":je.nodeDraggable=Oe;break;case"object":je=Object.assign({},Oe);break;default:break}return je.icon!==!1&&(je.icon=je.icon||Ie.createElement(b.Z,null)),je},[Oe]),Ce=je=>Ie.createElement(te.Z,{prefixCls:me,switcherIcon:xe,treeNodeProps:je,showLine:Vt});return ve(Ie.createElement(se.Z,Object.assign({itemHeight:20,ref:We,virtual:De},pe,{style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),ye),prefixCls:me,className:re()({[`${me}-icon-hide`]:!qe,[`${me}-block-node`]:At,[`${me}-unselectable`]:!Sn,[`${me}-rtl`]:Gt==="rtl"},Ve==null?void 0:Ve.className,$t,Je),direction:Gt,checkable:pn&&Ie.createElement("span",{className:`${me}-checkbox-inner`}),selectable:Sn,switcherIcon:Ce,draggable:Re}),yt))}),Be;(function(Tt){Tt[Tt.None=0]="None",Tt[Tt.Start=1]="Start",Tt[Tt.End=2]="End"})(Be||(Be={}));function Pe(Tt,We){function Bt(Gt){const{key:De,children:Ve}=Gt;We(De,Gt)!==!1&&Pe(Ve||[],We)}Tt.forEach(Bt)}function Ae(Tt){let{treeData:We,expandedKeys:Bt,startKey:Gt,endKey:De}=Tt;const Ve=[];let pt=Be.None;if(Gt&&Gt===De)return[Gt];if(!Gt||!De)return[];function $t(qe){return qe===Gt||qe===De}return Pe(We,qe=>{if(pt===Be.End)return!1;if($t(qe)){if(Ve.push(qe),pt===Be.None)pt=Be.Start;else if(pt===Be.Start)return pt=Be.End,!1}else pt===Be.Start&&Ve.push(qe);return Bt.includes(qe)}),Ve}function be(Tt,We){const Bt=(0,he.Z)(We),Gt=[];return Pe(Tt,(De,Ve)=>{const pt=Bt.indexOf(De);return pt!==-1&&(Gt.push(Ve),Bt.splice(pt,1)),!!Bt.length}),Gt}var St=function(Tt,We){var Bt={};for(var Gt in Tt)Object.prototype.hasOwnProperty.call(Tt,Gt)&&We.indexOf(Gt)<0&&(Bt[Gt]=Tt[Gt]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Gt=Object.getOwnPropertySymbols(Tt);De<Gt.length;De++)We.indexOf(Gt[De])<0&&Object.prototype.propertyIsEnumerable.call(Tt,Gt[De])&&(Bt[Gt[De]]=Tt[Gt[De]]);return Bt};function at(Tt){const{isLeaf:We,expanded:Bt}=Tt;return We?Ie.createElement(Te.Z,null):Bt?Ie.createElement(ot.Z,null):Ie.createElement(st,null)}function Zt(Tt){let{treeData:We,children:Bt}=Tt;return We||(0,a.zn)(Bt)}const et=(Tt,We)=>{var{defaultExpandAll:Bt,defaultExpandParent:Gt,defaultExpandedKeys:De}=Tt,Ve=St(Tt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const pt=Ie.useRef(),$t=Ie.useRef(),qe=()=>{const{keyEntities:Re}=(0,a.I8)(Zt(Ve));let Ce;return Bt?Ce=Object.keys(Re):Gt?Ce=(0,y.r7)(Ve.expandedKeys||De||[],Re):Ce=Ve.expandedKeys||De,Ce},[Vt,xe]=Ie.useState(Ve.selectedKeys||Ve.defaultSelectedKeys||[]),[At,yt]=Ie.useState(()=>qe());Ie.useEffect(()=>{"selectedKeys"in Ve&&xe(Ve.selectedKeys)},[Ve.selectedKeys]),Ie.useEffect(()=>{"expandedKeys"in Ve&&yt(Ve.expandedKeys)},[Ve.expandedKeys]);const pn=(Re,Ce)=>{var je;return"expandedKeys"in Ve||yt(Re),(je=Ve.onExpand)===null||je===void 0?void 0:je.call(Ve,Re,Ce)},Sn=(Re,Ce)=>{var je;const{multiple:zt}=Ve,{node:Pt,nativeEvent:kt}=Ce,{key:xt=""}=Pt,Ht=Zt(Ve),ct=Object.assign(Object.assign({},Ce),{selected:!0}),tn=(kt==null?void 0:kt.ctrlKey)||(kt==null?void 0:kt.metaKey),sn=kt==null?void 0:kt.shiftKey;let Xt;zt&&tn?(Xt=Re,pt.current=xt,$t.current=Xt,ct.selectedNodes=be(Ht,Xt)):zt&&sn?(Xt=Array.from(new Set([].concat((0,he.Z)($t.current||[]),(0,he.Z)(Ae({treeData:Ht,expandedKeys:At,startKey:xt,endKey:pt.current}))))),ct.selectedNodes=be(Ht,Xt)):(Xt=[xt],pt.current=xt,$t.current=Xt,ct.selectedNodes=be(Ht,Xt)),(je=Ve.onSelect)===null||je===void 0||je.call(Ve,Xt,ct),"selectedKeys"in Ve||xe(Xt)},{getPrefixCls:Oe,direction:ke}=Ie.useContext(x.E_),{prefixCls:ye,className:me,showIcon:ze=!0,expandAction:gt="click"}=Ve,pe=St(Ve,["prefixCls","className","showIcon","expandAction"]),ve=Oe("tree",ye),Je=re()(`${ve}-directory`,{[`${ve}-directory-rtl`]:ke==="rtl"},me);return Ie.createElement(fe,Object.assign({icon:at,ref:We,blockNode:!0},pe,{showIcon:ze,expandAction:gt,prefixCls:ve,className:Je,expandedKeys:At,selectedKeys:Vt,onSelect:Sn,onExpand:pn}))};var bt=Ie.forwardRef(et);const Kt=fe;Kt.DirectoryTree=bt,Kt.TreeNode=se.O;var Dt=Kt},20648:function(mt,Lt,ne){"use strict";ne.d(Lt,{TM:function(){return Ge},Yk:function(){return st}});var se=ne(93083),he=ne(98447),Te=ne(17313),ot=ne(8378),Me=ne(37613),Ie=ne(83116);const ie=new se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),dt=(re,y)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),it=(re,y)=>({[`.${re}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),nt=(re,y)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:ee}=y,ae=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Te.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Te.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:ie,animationDuration:y.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":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Te.oN)(y)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},dt(re,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:E,margin:0,lineHeight:`${E}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.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 ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:E/2*.8,height:E/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ae},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:E,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${E}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ee},[`&${a}-node-selected`]:{backgroundColor:z},[`${a}-iconEle`]:{display:"inline-block",width:E,height:E,lineHeight:`${E}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${E}px`,userSelect:"none"},it(re,y)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${E/2}px !important`}}}}})}},_e=re=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=re;return{[`${y}${y}-directory`]:{[a]:{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},[`${y}-switcher`]:{transition:`color ${re.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:E,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:E},[`${y}-node-content-wrapper`]:{color:E,background:"transparent"}}}}}},st=(re,y)=>{const a=`.${re}`,x=`${a}-treenode`,b=y.paddingXS/2,E=(0,Me.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[nt(re,E),_e(E)]},Ge=re=>{const{controlHeightSM:y}=re;return{titleHeight:y,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};Lt.ZP=(0,Ie.Z)("Tree",(re,y)=>{let{prefixCls:a}=y;return[{[re.componentCls]:(0,he.C2)(`${a}-checkbox`,re)},st(a,re),(0,ot.Z)(re)]},re=>{const{colorTextLightSolid:y,colorPrimary:a}=re;return Object.assign(Object.assign({},Ge(re)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return x}});var se=ne(92413),he=ne(59301),Te={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"},ot=Te,Me=ne(7657),Ie=function(E,z){return he.createElement(Me.Z,(0,se.Z)({},E,{ref:z,icon:ot}))},ie=he.forwardRef(Ie),dt=ie,it=ne(52671),nt=ne(58617),_e=ne(15075),st=ne(43531),Ge=ne(92310),re=ne.n(Ge),y=ne(92343),x=b=>{const{prefixCls:E,switcherIcon:z,treeNodeProps:ee,showLine:ae}=b,{isLeaf:te,expanded:ue,loading:fe}=ee;if(fe)return he.createElement(nt.Z,{className:`${E}-switcher-loading-icon`});let Be;if(ae&&typeof ae=="object"&&(Be=ae.showLeafIcon),te){if(!ae)return null;if(typeof Be!="boolean"&&Be){const be=typeof Be=="function"?Be(ee):Be,St=`${E}-switcher-line-custom-icon`;return(0,y.l$)(be)?(0,y.Tm)(be,{className:re()(be.props.className||"",St)}):be}return Be?he.createElement(it.Z,{className:`${E}-switcher-line-icon`}):he.createElement("span",{className:`${E}-switcher-leaf-line`})}const Pe=`${E}-switcher-icon`,Ae=typeof z=="function"?z(ee):z;return(0,y.l$)(Ae)?(0,y.Tm)(Ae,{className:re()(Ae.props.className||"",Pe)}):Ae!==void 0?Ae:ae?ue?he.createElement(_e.Z,{className:`${E}-switcher-line-icon`}):he.createElement(st.Z,{className:`${E}-switcher-line-icon`}):he.createElement(dt,{className:Pe})}},39417:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return fe}});var se=ne(92413),he=ne(400),Te=ne(37061),ot=ne(33708),Me=ne(6909),Ie=ne(4771),ie=ne(25314),dt=ne(9427),it=ne(25440),nt=ne(92310),_e=ne.n(nt),st=ne(26112),Ge=ne(59301),re=ne(39378),y=function(Pe){for(var Ae=Pe.prefixCls,be=Pe.level,St=Pe.isStart,at=Pe.isEnd,Zt="".concat(Ae,"-indent-unit"),et=[],ut=0;ut<be;ut+=1){var bt;et.push(Ge.createElement("span",{key:ut,className:_e()(Zt,(bt={},(0,he.Z)(bt,"".concat(Zt,"-start"),St[ut]),(0,he.Z)(bt,"".concat(Zt,"-end"),at[ut]),bt))}))}return Ge.createElement("span",{"aria-hidden":"true",className:"".concat(Ae,"-indent")},et)},a=Ge.memo(y),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="---",te=function(Be){(0,dt.Z)(Ae,Be);var Pe=(0,it.Z)(Ae);function Ae(){var be;(0,Me.Z)(this,Ae);for(var St=arguments.length,at=new Array(St),Zt=0;Zt<St;Zt++)at[Zt]=arguments[Zt];return be=Pe.call.apply(Pe,[this].concat(at)),be.state={dragNodeHighlight:!1},be.selectHandle=void 0,be.cacheIndent=void 0,be.onSelectorClick=function(et){var ut=be.props.context.onNodeClick;ut(et,(0,b.F)(be.props)),be.isSelectable()?be.onSelect(et):be.onCheck(et)},be.onSelectorDoubleClick=function(et){var ut=be.props.context.onNodeDoubleClick;ut(et,(0,b.F)(be.props))},be.onSelect=function(et){if(!be.isDisabled()){var ut=be.props.context.onNodeSelect;ut(et,(0,b.F)(be.props))}},be.onCheck=function(et){if(!be.isDisabled()){var ut=be.props,bt=ut.disableCheckbox,Kt=ut.checked,Dt=be.props.context.onNodeCheck;if(!(!be.isCheckable()||bt)){var Tt=!Kt;Dt(et,(0,b.F)(be.props),Tt)}}},be.onMouseEnter=function(et){var ut=be.props.context.onNodeMouseEnter;ut(et,(0,b.F)(be.props))},be.onMouseLeave=function(et){var ut=be.props.context.onNodeMouseLeave;ut(et,(0,b.F)(be.props))},be.onContextMenu=function(et){var ut=be.props.context.onNodeContextMenu;ut(et,(0,b.F)(be.props))},be.onDragStart=function(et){var ut=be.props.context.onNodeDragStart;et.stopPropagation(),be.setState({dragNodeHighlight:!0}),ut(et,(0,ie.Z)(be));try{et.dataTransfer.setData("text/plain","")}catch(bt){}},be.onDragEnter=function(et){var ut=be.props.context.onNodeDragEnter;et.preventDefault(),et.stopPropagation(),ut(et,(0,ie.Z)(be))},be.onDragOver=function(et){var ut=be.props.context.onNodeDragOver;et.preventDefault(),et.stopPropagation(),ut(et,(0,ie.Z)(be))},be.onDragLeave=function(et){var ut=be.props.context.onNodeDragLeave;et.stopPropagation(),ut(et,(0,ie.Z)(be))},be.onDragEnd=function(et){var ut=be.props.context.onNodeDragEnd;et.stopPropagation(),be.setState({dragNodeHighlight:!1}),ut(et,(0,ie.Z)(be))},be.onDrop=function(et){var ut=be.props.context.onNodeDrop;et.preventDefault(),et.stopPropagation(),be.setState({dragNodeHighlight:!1}),ut(et,(0,ie.Z)(be))},be.onExpand=function(et){var ut=be.props,bt=ut.loading,Kt=ut.context.onNodeExpand;bt||Kt(et,(0,b.F)(be.props))},be.setSelectHandle=function(et){be.selectHandle=et},be.getNodeState=function(){var et=be.props.expanded;return be.isLeaf()?null:et?z:ee},be.hasChildren=function(){var et=be.props.eventKey,ut=be.props.context.keyEntities,bt=(0,x.Z)(ut,et)||{},Kt=bt.children;return!!(Kt||[]).length},be.isLeaf=function(){var et=be.props,ut=et.isLeaf,bt=et.loaded,Kt=be.props.context.loadData,Dt=be.hasChildren();return ut===!1?!1:ut||!Kt&&!Dt||Kt&&bt&&!Dt},be.isDisabled=function(){var et=be.props.disabled,ut=be.props.context.disabled;return!!(ut||et)},be.isCheckable=function(){var et=be.props.checkable,ut=be.props.context.checkable;return!ut||et===!1?!1:ut},be.syncLoadData=function(et){var ut=et.expanded,bt=et.loading,Kt=et.loaded,Dt=be.props.context,Tt=Dt.loadData,We=Dt.onNodeLoad;bt||Tt&&ut&&!be.isLeaf()&&!be.hasChildren()&&!Kt&&We((0,b.F)(be.props))},be.isDraggable=function(){var et=be.props,ut=et.data,bt=et.context.draggable;return!!(bt&&(!bt.nodeDraggable||bt.nodeDraggable(ut)))},be.renderDragHandler=function(){var et=be.props.context,ut=et.draggable,bt=et.prefixCls;return ut!=null&&ut.icon?Ge.createElement("span",{className:"".concat(bt,"-draggable-icon")},ut.icon):null},be.renderSwitcherIconDom=function(et){var ut=be.props.switcherIcon,bt=be.props.context.switcherIcon,Kt=ut||bt;return typeof Kt=="function"?Kt((0,ot.Z)((0,ot.Z)({},be.props),{},{isLeaf:et})):Kt},be.renderSwitcher=function(){var et=be.props.expanded,ut=be.props.context.prefixCls;if(be.isLeaf()){var bt=be.renderSwitcherIconDom(!0);return bt!==!1?Ge.createElement("span",{className:_e()("".concat(ut,"-switcher"),"".concat(ut,"-switcher-noop"))},bt):null}var Kt=_e()("".concat(ut,"-switcher"),"".concat(ut,"-switcher_").concat(et?z:ee)),Dt=be.renderSwitcherIconDom(!1);return Dt!==!1?Ge.createElement("span",{onClick:be.onExpand,className:Kt},Dt):null},be.renderCheckbox=function(){var et=be.props,ut=et.checked,bt=et.halfChecked,Kt=et.disableCheckbox,Dt=be.props.context.prefixCls,Tt=be.isDisabled(),We=be.isCheckable();if(!We)return null;var Bt=typeof We!="boolean"?We:null;return Ge.createElement("span",{className:_e()("".concat(Dt,"-checkbox"),ut&&"".concat(Dt,"-checkbox-checked"),!ut&&bt&&"".concat(Dt,"-checkbox-indeterminate"),(Tt||Kt)&&"".concat(Dt,"-checkbox-disabled")),onClick:be.onCheck},Bt)},be.renderIcon=function(){var et=be.props.loading,ut=be.props.context.prefixCls;return Ge.createElement("span",{className:_e()("".concat(ut,"-iconEle"),"".concat(ut,"-icon__").concat(be.getNodeState()||"docu"),et&&"".concat(ut,"-icon_loading"))})},be.renderSelector=function(){var et=be.state.dragNodeHighlight,ut=be.props,bt=ut.title,Kt=bt===void 0?ae:bt,Dt=ut.selected,Tt=ut.icon,We=ut.loading,Bt=ut.data,Gt=be.props.context,De=Gt.prefixCls,Ve=Gt.showIcon,pt=Gt.icon,$t=Gt.loadData,qe=Gt.titleRender,Vt=be.isDisabled(),xe="".concat(De,"-node-content-wrapper"),At;if(Ve){var yt=Tt||pt;At=yt?Ge.createElement("span",{className:_e()("".concat(De,"-iconEle"),"".concat(De,"-icon__customize"))},typeof yt=="function"?yt(be.props):yt):be.renderIcon()}else $t&&We&&(At=be.renderIcon());var pn;typeof Kt=="function"?pn=Kt(Bt):qe?pn=qe(Bt):pn=Kt;var Sn=Ge.createElement("span",{className:"".concat(De,"-title")},pn);return Ge.createElement("span",{ref:be.setSelectHandle,title:typeof Kt=="string"?Kt:"",className:_e()("".concat(xe),"".concat(xe,"-").concat(be.getNodeState()||"normal"),!Vt&&(Dt||et)&&"".concat(De,"-node-selected")),onMouseEnter:be.onMouseEnter,onMouseLeave:be.onMouseLeave,onContextMenu:be.onContextMenu,onClick:be.onSelectorClick,onDoubleClick:be.onSelectorDoubleClick},At,Sn,be.renderDropIndicator())},be.renderDropIndicator=function(){var et=be.props,ut=et.disabled,bt=et.eventKey,Kt=be.props.context,Dt=Kt.draggable,Tt=Kt.dropLevelOffset,We=Kt.dropPosition,Bt=Kt.prefixCls,Gt=Kt.indent,De=Kt.dropIndicatorRender,Ve=Kt.dragOverNodeKey,pt=Kt.direction,$t=!!Dt,qe=!ut&&$t&&Ve===bt,Vt=Gt!=null?Gt:be.cacheIndent;return be.cacheIndent=Gt,qe?De({dropPosition:We,dropLevelOffset:Tt,indent:Vt,prefixCls:Bt,direction:pt}):null},be}return(0,Ie.Z)(Ae,[{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,at=this.props.context.selectable;return typeof St=="boolean"?St:at}},{key:"render",value:function(){var St,at=this.props,Zt=at.eventKey,et=at.className,ut=at.style,bt=at.dragOver,Kt=at.dragOverGapTop,Dt=at.dragOverGapBottom,Tt=at.isLeaf,We=at.isStart,Bt=at.isEnd,Gt=at.expanded,De=at.selected,Ve=at.checked,pt=at.halfChecked,$t=at.loading,qe=at.domRef,Vt=at.active,xe=at.data,At=at.onMouseMove,yt=at.selectable,pn=(0,Te.Z)(at,E),Sn=this.props.context,Oe=Sn.prefixCls,ke=Sn.filterTreeNode,ye=Sn.keyEntities,me=Sn.dropContainerKey,ze=Sn.dropTargetKey,gt=Sn.draggingNodeKey,pe=this.isDisabled(),ve=(0,st.Z)(pn,{aria:!0,data:!0}),Je=(0,x.Z)(ye,Zt)||{},Re=Je.level,Ce=Bt[Bt.length-1],je=this.isDraggable(),zt=!pe&&je,Pt=gt===Zt,kt=yt!==void 0?{"aria-selected":!!yt}:void 0;return Ge.createElement("div",(0,se.Z)({ref:qe,className:_e()(et,"".concat(Oe,"-treenode"),(St={},(0,he.Z)(St,"".concat(Oe,"-treenode-disabled"),pe),(0,he.Z)(St,"".concat(Oe,"-treenode-switcher-").concat(Gt?"open":"close"),!Tt),(0,he.Z)(St,"".concat(Oe,"-treenode-checkbox-checked"),Ve),(0,he.Z)(St,"".concat(Oe,"-treenode-checkbox-indeterminate"),pt),(0,he.Z)(St,"".concat(Oe,"-treenode-selected"),De),(0,he.Z)(St,"".concat(Oe,"-treenode-loading"),$t),(0,he.Z)(St,"".concat(Oe,"-treenode-active"),Vt),(0,he.Z)(St,"".concat(Oe,"-treenode-leaf-last"),Ce),(0,he.Z)(St,"".concat(Oe,"-treenode-draggable"),je),(0,he.Z)(St,"dragging",Pt),(0,he.Z)(St,"drop-target",ze===Zt),(0,he.Z)(St,"drop-container",me===Zt),(0,he.Z)(St,"drag-over",!pe&&bt),(0,he.Z)(St,"drag-over-gap-top",!pe&&Kt),(0,he.Z)(St,"drag-over-gap-bottom",!pe&&Dt),(0,he.Z)(St,"filter-node",ke&&ke((0,b.F)(this.props))),St)),style:ut,draggable:zt,"aria-grabbed":Pt,onDragStart:zt?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:At},kt,ve),Ge.createElement(a,{prefixCls:Oe,level:Re,isStart:We,isEnd:Bt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ae}(Ge.Component),ue=function(Pe){return Ge.createElement(re.k.Consumer,null,function(Ae){return Ge.createElement(te,(0,se.Z)({},Pe,{context:Ae}))})};ue.displayName="TreeNode",ue.isTreeNode=1;var fe=ue},39378:function(mt,Lt,ne){"use strict";ne.d(Lt,{k:function(){return he}});var se=ne(59301),he=se.createContext(null)},23130:function(mt,Lt,ne){"use strict";ne.d(Lt,{O:function(){return fe.Z},Z:function(){return Sn}});var se=ne(92413),he=ne(400),Te=ne(39559),ot=ne(33708),Me=ne(26407),Ie=ne(6909),ie=ne(4771),dt=ne(25314),it=ne(9427),nt=ne(25440),_e=ne(92310),st=ne.n(_e),Ge=ne(10228),re=ne(26112),y=ne(48736),a=ne(59301),x=ne(39378);function b(Oe){var ke=Oe.dropPosition,ye=Oe.dropLevelOffset,me=Oe.indent,ze={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ke){case-1:ze.top=0,ze.left=-ye*me;break;case 1:ze.bottom=0,ze.left=-ye*me;break;case 0:ze.bottom=0,ze.left=me;break}return a.createElement("div",{style:ze})}function E(Oe){if(Oe==null)throw new TypeError("Cannot destructure "+Oe)}var z=ne(33606),ee=ne(37061),ae=ne(34280),te=ne(24916),ue=ne(77900),fe=ne(39417);function Be(Oe,ke){var ye=a.useState(!1),me=(0,z.Z)(ye,2),ze=me[0],gt=me[1];a.useLayoutEffect(function(){if(ze)return Oe(),function(){ke()}},[ze]),a.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var Pe=ne(71430),Ae=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],be=function(ke,ye){var me=ke.className,ze=ke.style,gt=ke.motion,pe=ke.motionNodes,ve=ke.motionType,Je=ke.onMotionStart,Re=ke.onMotionEnd,Ce=ke.active,je=ke.treeNodeRequiredProps,zt=(0,ee.Z)(ke,Ae),Pt=a.useState(!0),kt=(0,z.Z)(Pt,2),xt=kt[0],Ht=kt[1],ct=a.useContext(x.k),tn=ct.prefixCls,sn=pe&&ve!=="hide";(0,ae.Z)(function(){pe&&sn!==xt&&Ht(sn)},[pe]);var Xt=function(){pe&&Je()},bn=a.useRef(!1),Cn=function(){pe&&!bn.current&&(bn.current=!0,Re())};Be(Xt,Cn);var cn=function(ca){sn===ca&&Cn()};return pe?a.createElement(ue.default,(0,se.Z)({ref:ye,visible:xt},gt,{motionAppear:ve==="show",onVisibleChanged:cn}),function(kn,ca){var xa=kn.className,pa=kn.style;return a.createElement("div",{ref:ca,className:st()("".concat(tn,"-treenode-motion"),xa),style:pa},pe.map(function(Ea){var Fa=(0,se.Z)({},(E(Ea.data),Ea.data)),Na=Ea.title,In=Ea.key,qa=Ea.isStart,_a=Ea.isEnd;delete Fa.children;var Pa=(0,Pe.H8)(In,je);return a.createElement(fe.Z,(0,se.Z)({},Fa,Pa,{title:Na,active:Ce,data:Ea.data,key:In,isStart:qa,isEnd:_a}))}))}):a.createElement(fe.Z,(0,se.Z)({domRef:ye,className:me,style:ze},zt,{active:Ce}))};be.displayName="MotionTreeNode";var St=a.forwardRef(be),at=St;function Zt(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ye=Oe.length,me=ke.length;if(Math.abs(ye-me)!==1)return{add:!1,key:null};function ze(gt,pe){var ve=new Map;gt.forEach(function(Re){ve.set(Re,!0)});var Je=pe.filter(function(Re){return!ve.has(Re)});return Je.length===1?Je[0]:null}return ye<me?{add:!0,key:ze(Oe,ke)}:{add:!1,key:ze(ke,Oe)}}function et(Oe,ke,ye){var me=Oe.findIndex(function(ve){return ve.key===ye}),ze=Oe[me+1],gt=ke.findIndex(function(ve){return ve.key===ye});if(ze){var pe=ke.findIndex(function(ve){return ve.key===ze.key});return ke.slice(gt+1,pe)}return ke.slice(gt+1)}var ut=["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"],bt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Kt=function(){},Dt="RC_TREE_MOTION_".concat(Math.random()),Tt={key:Dt},We={key:Dt,level:0,index:0,pos:"0",node:Tt,nodes:[Tt]},Bt={parent:null,children:[],pos:We.pos,data:Tt,title:null,key:Dt,isStart:[],isEnd:[]};function Gt(Oe,ke,ye,me){return ke===!1||!ye?Oe:Oe.slice(0,Math.ceil(ye/me)+1)}function De(Oe){var ke=Oe.key,ye=Oe.pos;return(0,Pe.km)(ke,ye)}function Ve(Oe){for(var ke=String(Oe.data.key),ye=Oe;ye.parent;)ye=ye.parent,ke="".concat(ye.data.key," > ").concat(ke);return ke}var pt=a.forwardRef(function(Oe,ke){var ye=Oe.prefixCls,me=Oe.data,ze=Oe.selectable,gt=Oe.checkable,pe=Oe.expandedKeys,ve=Oe.selectedKeys,Je=Oe.checkedKeys,Re=Oe.loadedKeys,Ce=Oe.loadingKeys,je=Oe.halfCheckedKeys,zt=Oe.keyEntities,Pt=Oe.disabled,kt=Oe.dragging,xt=Oe.dragOverNodeKey,Ht=Oe.dropPosition,ct=Oe.motion,tn=Oe.height,sn=Oe.itemHeight,Xt=Oe.virtual,bn=Oe.focusable,Cn=Oe.activeItem,cn=Oe.focused,kn=Oe.tabIndex,ca=Oe.onKeyDown,xa=Oe.onFocus,pa=Oe.onBlur,Ea=Oe.onActiveChange,Fa=Oe.onListChangeStart,Na=Oe.onListChangeEnd,In=(0,ee.Z)(Oe,ut),qa=a.useRef(null),_a=a.useRef(null);a.useImperativeHandle(ke,function(){return{scrollTo:function(Ha){qa.current.scrollTo(Ha)},getIndentWidth:function(){return _a.current.offsetWidth}}});var Pa=a.useState(pe),eo=(0,z.Z)(Pa,2),Mo=eo[0],un=eo[1],gn=a.useState(me),wn=(0,z.Z)(gn,2),mn=wn[0],ua=wn[1],va=a.useState(me),Xn=(0,z.Z)(va,2),Ue=Xn[0],$e=Xn[1],Xe=a.useState([]),Mt=(0,z.Z)(Xe,2),on=Mt[0],jt=Mt[1],oa=a.useState(null),Mn=(0,z.Z)(oa,2),En=Mn[0],da=Mn[1],ta=a.useRef(me);ta.current=me;function Ut(){var Ya=ta.current;ua(Ya),$e(Ya),jt([]),da(null),Na()}(0,ae.Z)(function(){un(pe);var Ya=Zt(Mo,pe);if(Ya.key!==null)if(Ya.add){var Ha=mn.findIndex(function(er){var Co=er.key;return Co===Ya.key}),Wa=Gt(et(mn,me,Ya.key),Xt,tn,sn),To=mn.slice();To.splice(Ha+1,0,Bt),$e(To),jt(Wa),da("show")}else{var zo=me.findIndex(function(er){var Co=er.key;return Co===Ya.key}),Xo=Gt(et(me,mn,Ya.key),Xt,tn,sn),$o=me.slice();$o.splice(zo+1,0,Bt),$e($o),jt(Xo),da("hide")}else mn!==me&&(ua(me),$e(me))},[pe,me]),a.useEffect(function(){kt||Ut()},[kt]);var ka=ct?Ue:me,So={expandedKeys:pe,selectedKeys:ve,loadedKeys:Re,loadingKeys:Ce,checkedKeys:Je,halfCheckedKeys:je,dragOverNodeKey:xt,dropPosition:Ht,keyEntities:zt};return a.createElement(a.Fragment,null,cn&&Cn&&a.createElement("span",{style:bt,"aria-live":"assertive"},Ve(Cn)),a.createElement("div",null,a.createElement("input",{style:bt,disabled:bn===!1||Pt,tabIndex:bn!==!1?kn:null,onKeyDown:ca,onFocus:xa,onBlur:pa,value:"",onChange:Kt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(ye,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(ye,"-indent")},a.createElement("div",{ref:_a,className:"".concat(ye,"-indent-unit")}))),a.createElement(te.Z,(0,se.Z)({},In,{data:ka,itemKey:De,height:tn,fullHeight:!1,virtual:Xt,itemHeight:sn,prefixCls:"".concat(ye,"-list"),ref:qa,onVisibleChange:function(Ha,Wa){var To=new Set(Ha),zo=Wa.filter(function(Xo){return!To.has(Xo)});zo.some(function(Xo){return De(Xo)===Dt})&&Ut()}}),function(Ya){var Ha=Ya.pos,Wa=(0,se.Z)({},(E(Ya.data),Ya.data)),To=Ya.title,zo=Ya.key,Xo=Ya.isStart,$o=Ya.isEnd,er=(0,Pe.km)(zo,Ha);delete Wa.key,delete Wa.children;var Co=(0,Pe.H8)(er,So);return a.createElement(at,(0,se.Z)({},Wa,Co,{title:To,active:!!Cn&&zo===Cn.key,pos:Ha,data:Ya.data,isStart:Xo,isEnd:$o,motion:ct,motionNodes:zo===Dt?on:null,motionType:En,onMotionStart:Fa,onMotionEnd:Ut,treeNodeRequiredProps:So,onMouseMove:function(){Ea(null)}}))}))});pt.displayName="NodeList";var $t=pt,qe=ne(35654),Vt=ne(90782),xe=ne(67841),At=10,yt=function(Oe){(0,it.Z)(ye,Oe);var ke=(0,nt.Z)(ye);function ye(){var me;(0,Ie.Z)(this,ye);for(var ze=arguments.length,gt=new Array(ze),pe=0;pe<ze;pe++)gt[pe]=arguments[pe];return me=ke.call.apply(ke,[this].concat(gt)),me.destroyed=!1,me.delayedDragEnterLogic=void 0,me.loadingRetryTimes={},me.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,Pe.w$)()},me.dragStartMousePosition=null,me.dragNode=void 0,me.currentMouseOverDroppableNodeKey=null,me.listRef=a.createRef(),me.onNodeDragStart=function(ve,Je){var Re=me.state,Ce=Re.expandedKeys,je=Re.keyEntities,zt=me.props.onDragStart,Pt=Je.props.eventKey;me.dragNode=Je,me.dragStartMousePosition={x:ve.clientX,y:ve.clientY};var kt=(0,qe._5)(Ce,Pt);me.setState({draggingNodeKey:Pt,dragChildrenKeys:(0,qe.wA)(Pt,je),indent:me.listRef.current.getIndentWidth()}),me.setExpandedKeys(kt),window.addEventListener("dragend",me.onWindowDragEnd),zt==null||zt({event:ve,node:(0,Pe.F)(Je.props)})},me.onNodeDragEnter=function(ve,Je){var Re=me.state,Ce=Re.expandedKeys,je=Re.keyEntities,zt=Re.dragChildrenKeys,Pt=Re.flattenNodes,kt=Re.indent,xt=me.props,Ht=xt.onDragEnter,ct=xt.onExpand,tn=xt.allowDrop,sn=xt.direction,Xt=Je.props,bn=Xt.pos,Cn=Xt.eventKey,cn=(0,dt.Z)(me),kn=cn.dragNode;if(me.currentMouseOverDroppableNodeKey!==Cn&&(me.currentMouseOverDroppableNodeKey=Cn),!kn){me.resetDragState();return}var ca=(0,qe.OM)(ve,kn,Je,kt,me.dragStartMousePosition,tn,Pt,je,Ce,sn),xa=ca.dropPosition,pa=ca.dropLevelOffset,Ea=ca.dropTargetKey,Fa=ca.dropContainerKey,Na=ca.dropTargetPos,In=ca.dropAllowed,qa=ca.dragOverNodeKey;if(zt.indexOf(Ea)!==-1||!In){me.resetDragState();return}if(me.delayedDragEnterLogic||(me.delayedDragEnterLogic={}),Object.keys(me.delayedDragEnterLogic).forEach(function(_a){clearTimeout(me.delayedDragEnterLogic[_a])}),kn.props.eventKey!==Je.props.eventKey&&(ve.persist(),me.delayedDragEnterLogic[bn]=window.setTimeout(function(){if(me.state.draggingNodeKey!==null){var _a=(0,Me.Z)(Ce),Pa=(0,xe.Z)(je,Je.props.eventKey);Pa&&(Pa.children||[]).length&&(_a=(0,qe.L0)(Ce,Je.props.eventKey)),"expandedKeys"in me.props||me.setExpandedKeys(_a),ct==null||ct(_a,{node:(0,Pe.F)(Je.props),expanded:!0,nativeEvent:ve.nativeEvent})}},800)),kn.props.eventKey===Ea&&pa===0){me.resetDragState();return}me.setState({dragOverNodeKey:qa,dropPosition:xa,dropLevelOffset:pa,dropTargetKey:Ea,dropContainerKey:Fa,dropTargetPos:Na,dropAllowed:In}),Ht==null||Ht({event:ve,node:(0,Pe.F)(Je.props),expandedKeys:Ce})},me.onNodeDragOver=function(ve,Je){var Re=me.state,Ce=Re.dragChildrenKeys,je=Re.flattenNodes,zt=Re.keyEntities,Pt=Re.expandedKeys,kt=Re.indent,xt=me.props,Ht=xt.onDragOver,ct=xt.allowDrop,tn=xt.direction,sn=(0,dt.Z)(me),Xt=sn.dragNode;if(Xt){var bn=(0,qe.OM)(ve,Xt,Je,kt,me.dragStartMousePosition,ct,je,zt,Pt,tn),Cn=bn.dropPosition,cn=bn.dropLevelOffset,kn=bn.dropTargetKey,ca=bn.dropContainerKey,xa=bn.dropAllowed,pa=bn.dropTargetPos,Ea=bn.dragOverNodeKey;Ce.indexOf(kn)!==-1||!xa||(Xt.props.eventKey===kn&&cn===0?me.state.dropPosition===null&&me.state.dropLevelOffset===null&&me.state.dropTargetKey===null&&me.state.dropContainerKey===null&&me.state.dropTargetPos===null&&me.state.dropAllowed===!1&&me.state.dragOverNodeKey===null||me.resetDragState():Cn===me.state.dropPosition&&cn===me.state.dropLevelOffset&&kn===me.state.dropTargetKey&&ca===me.state.dropContainerKey&&pa===me.state.dropTargetPos&&xa===me.state.dropAllowed&&Ea===me.state.dragOverNodeKey||me.setState({dropPosition:Cn,dropLevelOffset:cn,dropTargetKey:kn,dropContainerKey:ca,dropTargetPos:pa,dropAllowed:xa,dragOverNodeKey:Ea}),Ht==null||Ht({event:ve,node:(0,Pe.F)(Je.props)}))}},me.onNodeDragLeave=function(ve,Je){me.currentMouseOverDroppableNodeKey===Je.props.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(me.resetDragState(),me.currentMouseOverDroppableNodeKey=null);var Re=me.props.onDragLeave;Re==null||Re({event:ve,node:(0,Pe.F)(Je.props)})},me.onWindowDragEnd=function(ve){me.onNodeDragEnd(ve,null,!0),window.removeEventListener("dragend",me.onWindowDragEnd)},me.onNodeDragEnd=function(ve,Je){var Re=me.props.onDragEnd;me.setState({dragOverNodeKey:null}),me.cleanDragState(),Re==null||Re({event:ve,node:(0,Pe.F)(Je.props)}),me.dragNode=null,window.removeEventListener("dragend",me.onWindowDragEnd)},me.onNodeDrop=function(ve,Je){var Re,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,je=me.state,zt=je.dragChildrenKeys,Pt=je.dropPosition,kt=je.dropTargetKey,xt=je.dropTargetPos,Ht=je.dropAllowed;if(Ht){var ct=me.props.onDrop;if(me.setState({dragOverNodeKey:null}),me.cleanDragState(),kt!==null){var tn=(0,ot.Z)((0,ot.Z)({},(0,Pe.H8)(kt,me.getTreeNodeRequiredProps())),{},{active:((Re=me.getActiveItem())===null||Re===void 0?void 0:Re.key)===kt,data:(0,xe.Z)(me.state.keyEntities,kt).node}),sn=zt.indexOf(kt)!==-1;(0,y.ZP)(!sn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Xt=(0,qe.yx)(xt),bn={event:ve,node:(0,Pe.F)(tn),dragNode:me.dragNode?(0,Pe.F)(me.dragNode.props):null,dragNodesKeys:[me.dragNode.props.eventKey].concat(zt),dropToGap:Pt!==0,dropPosition:Pt+Number(Xt[Xt.length-1])};Ce||ct==null||ct(bn),me.dragNode=null}}},me.cleanDragState=function(){var ve=me.state.draggingNodeKey;ve!==null&&me.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),me.dragStartMousePosition=null,me.currentMouseOverDroppableNodeKey=null},me.triggerExpandActionExpand=function(ve,Je){var Re=me.state,Ce=Re.expandedKeys,je=Re.flattenNodes,zt=Je.expanded,Pt=Je.key,kt=Je.isLeaf;if(!(kt||ve.shiftKey||ve.metaKey||ve.ctrlKey)){var xt=je.filter(function(ct){return ct.key===Pt})[0],Ht=(0,Pe.F)((0,ot.Z)((0,ot.Z)({},(0,Pe.H8)(Pt,me.getTreeNodeRequiredProps())),{},{data:xt.data}));me.setExpandedKeys(zt?(0,qe._5)(Ce,Pt):(0,qe.L0)(Ce,Pt)),me.onNodeExpand(ve,Ht)}},me.onNodeClick=function(ve,Je){var Re=me.props,Ce=Re.onClick,je=Re.expandAction;je==="click"&&me.triggerExpandActionExpand(ve,Je),Ce==null||Ce(ve,Je)},me.onNodeDoubleClick=function(ve,Je){var Re=me.props,Ce=Re.onDoubleClick,je=Re.expandAction;je==="doubleClick"&&me.triggerExpandActionExpand(ve,Je),Ce==null||Ce(ve,Je)},me.onNodeSelect=function(ve,Je){var Re=me.state.selectedKeys,Ce=me.state,je=Ce.keyEntities,zt=Ce.fieldNames,Pt=me.props,kt=Pt.onSelect,xt=Pt.multiple,Ht=Je.selected,ct=Je[zt.key],tn=!Ht;tn?xt?Re=(0,qe.L0)(Re,ct):Re=[ct]:Re=(0,qe._5)(Re,ct);var sn=Re.map(function(Xt){var bn=(0,xe.Z)(je,Xt);return bn?bn.node:null}).filter(function(Xt){return Xt});me.setUncontrolledState({selectedKeys:Re}),kt==null||kt(Re,{event:"select",selected:tn,node:Je,selectedNodes:sn,nativeEvent:ve.nativeEvent})},me.onNodeCheck=function(ve,Je,Re){var Ce=me.state,je=Ce.keyEntities,zt=Ce.checkedKeys,Pt=Ce.halfCheckedKeys,kt=me.props,xt=kt.checkStrictly,Ht=kt.onCheck,ct=Je.key,tn,sn={event:"check",node:Je,checked:Re,nativeEvent:ve.nativeEvent};if(xt){var Xt=Re?(0,qe.L0)(zt,ct):(0,qe._5)(zt,ct),bn=(0,qe._5)(Pt,ct);tn={checked:Xt,halfChecked:bn},sn.checkedNodes=Xt.map(function(pa){return(0,xe.Z)(je,pa)}).filter(function(pa){return pa}).map(function(pa){return pa.node}),me.setUncontrolledState({checkedKeys:Xt})}else{var Cn=(0,Vt.S)([].concat((0,Me.Z)(zt),[ct]),!0,je),cn=Cn.checkedKeys,kn=Cn.halfCheckedKeys;if(!Re){var ca=new Set(cn);ca.delete(ct);var xa=(0,Vt.S)(Array.from(ca),{checked:!1,halfCheckedKeys:kn},je);cn=xa.checkedKeys,kn=xa.halfCheckedKeys}tn=cn,sn.checkedNodes=[],sn.checkedNodesPositions=[],sn.halfCheckedKeys=kn,cn.forEach(function(pa){var Ea=(0,xe.Z)(je,pa);if(Ea){var Fa=Ea.node,Na=Ea.pos;sn.checkedNodes.push(Fa),sn.checkedNodesPositions.push({node:Fa,pos:Na})}}),me.setUncontrolledState({checkedKeys:cn},!1,{halfCheckedKeys:kn})}Ht==null||Ht(tn,sn)},me.onNodeLoad=function(ve){var Je=ve.key,Re=new Promise(function(Ce,je){me.setState(function(zt){var Pt=zt.loadedKeys,kt=Pt===void 0?[]:Pt,xt=zt.loadingKeys,Ht=xt===void 0?[]:xt,ct=me.props,tn=ct.loadData,sn=ct.onLoad;if(!tn||kt.indexOf(Je)!==-1||Ht.indexOf(Je)!==-1)return null;var Xt=tn(ve);return Xt.then(function(){var bn=me.state.loadedKeys,Cn=(0,qe.L0)(bn,Je);sn==null||sn(Cn,{event:"load",node:ve}),me.setUncontrolledState({loadedKeys:Cn}),me.setState(function(cn){return{loadingKeys:(0,qe._5)(cn.loadingKeys,Je)}}),Ce()}).catch(function(bn){if(me.setState(function(cn){return{loadingKeys:(0,qe._5)(cn.loadingKeys,Je)}}),me.loadingRetryTimes[Je]=(me.loadingRetryTimes[Je]||0)+1,me.loadingRetryTimes[Je]>=At){var Cn=me.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),me.setUncontrolledState({loadedKeys:(0,qe.L0)(Cn,Je)}),Ce()}je(bn)}),{loadingKeys:(0,qe.L0)(Ht,Je)}})});return Re.catch(function(){}),Re},me.onNodeMouseEnter=function(ve,Je){var Re=me.props.onMouseEnter;Re==null||Re({event:ve,node:Je})},me.onNodeMouseLeave=function(ve,Je){var Re=me.props.onMouseLeave;Re==null||Re({event:ve,node:Je})},me.onNodeContextMenu=function(ve,Je){var Re=me.props.onRightClick;Re&&(ve.preventDefault(),Re({event:ve,node:Je}))},me.onFocus=function(){var ve=me.props.onFocus;me.setState({focused:!0});for(var Je=arguments.length,Re=new Array(Je),Ce=0;Ce<Je;Ce++)Re[Ce]=arguments[Ce];ve==null||ve.apply(void 0,Re)},me.onBlur=function(){var ve=me.props.onBlur;me.setState({focused:!1}),me.onActiveChange(null);for(var Je=arguments.length,Re=new Array(Je),Ce=0;Ce<Je;Ce++)Re[Ce]=arguments[Ce];ve==null||ve.apply(void 0,Re)},me.getTreeNodeRequiredProps=function(){var ve=me.state,Je=ve.expandedKeys,Re=ve.selectedKeys,Ce=ve.loadedKeys,je=ve.loadingKeys,zt=ve.checkedKeys,Pt=ve.halfCheckedKeys,kt=ve.dragOverNodeKey,xt=ve.dropPosition,Ht=ve.keyEntities;return{expandedKeys:Je||[],selectedKeys:Re||[],loadedKeys:Ce||[],loadingKeys:je||[],checkedKeys:zt||[],halfCheckedKeys:Pt||[],dragOverNodeKey:kt,dropPosition:xt,keyEntities:Ht}},me.setExpandedKeys=function(ve){var Je=me.state,Re=Je.treeData,Ce=Je.fieldNames,je=(0,Pe.oH)(Re,ve,Ce);me.setUncontrolledState({expandedKeys:ve,flattenNodes:je},!0)},me.onNodeExpand=function(ve,Je){var Re=me.state.expandedKeys,Ce=me.state,je=Ce.listChanging,zt=Ce.fieldNames,Pt=me.props,kt=Pt.onExpand,xt=Pt.loadData,Ht=Je.expanded,ct=Je[zt.key];if(!je){var tn=Re.indexOf(ct),sn=!Ht;if((0,y.ZP)(Ht&&tn!==-1||!Ht&&tn===-1,"Expand state not sync with index check"),sn?Re=(0,qe.L0)(Re,ct):Re=(0,qe._5)(Re,ct),me.setExpandedKeys(Re),kt==null||kt(Re,{node:Je,expanded:sn,nativeEvent:ve.nativeEvent}),sn&&xt){var Xt=me.onNodeLoad(Je);Xt&&Xt.then(function(){var bn=(0,Pe.oH)(me.state.treeData,Re,zt);me.setUncontrolledState({flattenNodes:bn})}).catch(function(){var bn=me.state.expandedKeys,Cn=(0,qe._5)(bn,ct);me.setExpandedKeys(Cn)})}}},me.onListChangeStart=function(){me.setUncontrolledState({listChanging:!0})},me.onListChangeEnd=function(){setTimeout(function(){me.setUncontrolledState({listChanging:!1})})},me.onActiveChange=function(ve){var Je=me.state.activeKey,Re=me.props.onActiveChange;Je!==ve&&(me.setState({activeKey:ve}),ve!==null&&me.scrollTo({key:ve}),Re==null||Re(ve))},me.getActiveItem=function(){var ve=me.state,Je=ve.activeKey,Re=ve.flattenNodes;return Je===null?null:Re.find(function(Ce){var je=Ce.key;return je===Je})||null},me.offsetActiveKey=function(ve){var Je=me.state,Re=Je.flattenNodes,Ce=Je.activeKey,je=Re.findIndex(function(kt){var xt=kt.key;return xt===Ce});je===-1&&ve<0&&(je=Re.length),je=(je+ve+Re.length)%Re.length;var zt=Re[je];if(zt){var Pt=zt.key;me.onActiveChange(Pt)}else me.onActiveChange(null)},me.onKeyDown=function(ve){var Je=me.state,Re=Je.activeKey,Ce=Je.expandedKeys,je=Je.checkedKeys,zt=Je.fieldNames,Pt=me.props,kt=Pt.onKeyDown,xt=Pt.checkable,Ht=Pt.selectable;switch(ve.which){case Ge.Z.UP:{me.offsetActiveKey(-1),ve.preventDefault();break}case Ge.Z.DOWN:{me.offsetActiveKey(1),ve.preventDefault();break}}var ct=me.getActiveItem();if(ct&&ct.data){var tn=me.getTreeNodeRequiredProps(),sn=ct.data.isLeaf===!1||!!(ct.data[zt.children]||[]).length,Xt=(0,Pe.F)((0,ot.Z)((0,ot.Z)({},(0,Pe.H8)(Re,tn)),{},{data:ct.data,active:!0}));switch(ve.which){case Ge.Z.LEFT:{sn&&Ce.includes(Re)?me.onNodeExpand({},Xt):ct.parent&&me.onActiveChange(ct.parent.key),ve.preventDefault();break}case Ge.Z.RIGHT:{sn&&!Ce.includes(Re)?me.onNodeExpand({},Xt):ct.children&&ct.children.length&&me.onActiveChange(ct.children[0].key),ve.preventDefault();break}case Ge.Z.ENTER:case Ge.Z.SPACE:{xt&&!Xt.disabled&&Xt.checkable!==!1&&!Xt.disableCheckbox?me.onNodeCheck({},Xt,!je.includes(Re)):!xt&&Ht&&!Xt.disabled&&Xt.selectable!==!1&&me.onNodeSelect({},Xt);break}}}kt==null||kt(ve)},me.setUncontrolledState=function(ve){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!me.destroyed){var Ce=!1,je=!0,zt={};Object.keys(ve).forEach(function(Pt){if(Pt in me.props){je=!1;return}Ce=!0,zt[Pt]=ve[Pt]}),Ce&&(!Je||je)&&me.setState((0,ot.Z)((0,ot.Z)({},zt),Re))}},me.scrollTo=function(ve){me.listRef.current.scrollTo(ve)},me}return(0,ie.Z)(ye,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ze=this.props.activeKey;ze!==void 0&&ze!==this.state.activeKey&&(this.setState({activeKey:ze}),ze!==null&&this.scrollTo({key:ze}))}},{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 ze,gt=this.state,pe=gt.focused,ve=gt.flattenNodes,Je=gt.keyEntities,Re=gt.draggingNodeKey,Ce=gt.activeKey,je=gt.dropLevelOffset,zt=gt.dropContainerKey,Pt=gt.dropTargetKey,kt=gt.dropPosition,xt=gt.dragOverNodeKey,Ht=gt.indent,ct=this.props,tn=ct.prefixCls,sn=ct.className,Xt=ct.style,bn=ct.showLine,Cn=ct.focusable,cn=ct.tabIndex,kn=cn===void 0?0:cn,ca=ct.selectable,xa=ct.showIcon,pa=ct.icon,Ea=ct.switcherIcon,Fa=ct.draggable,Na=ct.checkable,In=ct.checkStrictly,qa=ct.disabled,_a=ct.motion,Pa=ct.loadData,eo=ct.filterTreeNode,Mo=ct.height,un=ct.itemHeight,gn=ct.virtual,wn=ct.titleRender,mn=ct.dropIndicatorRender,ua=ct.onContextMenu,va=ct.onScroll,Xn=ct.direction,Ue=ct.rootClassName,$e=ct.rootStyle,Xe=(0,re.Z)(this.props,{aria:!0,data:!0}),Mt;return Fa&&((0,Te.Z)(Fa)==="object"?Mt=Fa:typeof Fa=="function"?Mt={nodeDraggable:Fa}:Mt={}),a.createElement(x.k.Provider,{value:{prefixCls:tn,selectable:ca,showIcon:xa,icon:pa,switcherIcon:Ea,draggable:Mt,draggingNodeKey:Re,checkable:Na,checkStrictly:In,disabled:qa,keyEntities:Je,dropLevelOffset:je,dropContainerKey:zt,dropTargetKey:Pt,dropPosition:kt,dragOverNodeKey:xt,indent:Ht,direction:Xn,dropIndicatorRender:mn,loadData:Pa,filterTreeNode:eo,titleRender:wn,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}},a.createElement("div",{role:"tree",className:st()(tn,sn,Ue,(ze={},(0,he.Z)(ze,"".concat(tn,"-show-line"),bn),(0,he.Z)(ze,"".concat(tn,"-focused"),pe),(0,he.Z)(ze,"".concat(tn,"-active-focused"),Ce!==null),ze)),style:$e},a.createElement($t,(0,se.Z)({ref:this.listRef,prefixCls:tn,style:Xt,data:ve,disabled:qa,selectable:ca,checkable:!!Na,motion:_a,dragging:Re!==null,height:Mo,itemHeight:un,virtual:gn,focusable:Cn,focused:pe,tabIndex:kn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ua,onScroll:va},this.getTreeNodeRequiredProps(),Xe))))}}],[{key:"getDerivedStateFromProps",value:function(ze,gt){var pe=gt.prevProps,ve={prevProps:ze};function Je(Cn){return!pe&&Cn in ze||pe&&pe[Cn]!==ze[Cn]}var Re,Ce=gt.fieldNames;if(Je("fieldNames")&&(Ce=(0,Pe.w$)(ze.fieldNames),ve.fieldNames=Ce),Je("treeData")?Re=ze.treeData:Je("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Re=(0,Pe.zn)(ze.children)),Re){ve.treeData=Re;var je=(0,Pe.I8)(Re,{fieldNames:Ce});ve.keyEntities=(0,ot.Z)((0,he.Z)({},Dt,We),je.keyEntities)}var zt=ve.keyEntities||gt.keyEntities;if(Je("expandedKeys")||pe&&Je("autoExpandParent"))ve.expandedKeys=ze.autoExpandParent||!pe&&ze.defaultExpandParent?(0,qe.r7)(ze.expandedKeys,zt):ze.expandedKeys;else if(!pe&&ze.defaultExpandAll){var Pt=(0,ot.Z)({},zt);delete Pt[Dt],ve.expandedKeys=Object.keys(Pt).map(function(Cn){return Pt[Cn].key})}else!pe&&ze.defaultExpandedKeys&&(ve.expandedKeys=ze.autoExpandParent||ze.defaultExpandParent?(0,qe.r7)(ze.defaultExpandedKeys,zt):ze.defaultExpandedKeys);if(ve.expandedKeys||delete ve.expandedKeys,Re||ve.expandedKeys){var kt=(0,Pe.oH)(Re||gt.treeData,ve.expandedKeys||gt.expandedKeys,Ce);ve.flattenNodes=kt}if(ze.selectable&&(Je("selectedKeys")?ve.selectedKeys=(0,qe.BT)(ze.selectedKeys,ze):!pe&&ze.defaultSelectedKeys&&(ve.selectedKeys=(0,qe.BT)(ze.defaultSelectedKeys,ze))),ze.checkable){var xt;if(Je("checkedKeys")?xt=(0,qe.E6)(ze.checkedKeys)||{}:!pe&&ze.defaultCheckedKeys?xt=(0,qe.E6)(ze.defaultCheckedKeys)||{}:Re&&(xt=(0,qe.E6)(ze.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),xt){var Ht=xt,ct=Ht.checkedKeys,tn=ct===void 0?[]:ct,sn=Ht.halfCheckedKeys,Xt=sn===void 0?[]:sn;if(!ze.checkStrictly){var bn=(0,Vt.S)(tn,!0,zt);tn=bn.checkedKeys,Xt=bn.halfCheckedKeys}ve.checkedKeys=tn,ve.halfCheckedKeys=Xt}}return Je("loadedKeys")&&(ve.loadedKeys=ze.loadedKeys),ve}}]),ye}(a.Component);yt.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},yt.TreeNode=fe.Z;var pn=yt,Sn=pn},35654:function(mt,Lt,ne){"use strict";ne.d(Lt,{BT:function(){return a},E6:function(){return E},L0:function(){return nt},OM:function(){return y},_5:function(){return it},r7:function(){return z},wA:function(){return st},yx:function(){return _e}});var se=ne(26407),he=ne(39559),Te=ne(48736),ot=ne(59301),Me=ne(39417),Ie=ne(67841),ie=ne(71430),dt=null;function it(ee,ae){if(!ee)return[];var te=ee.slice(),ue=te.indexOf(ae);return ue>=0&&te.splice(ue,1),te}function nt(ee,ae){var te=(ee||[]).slice();return te.indexOf(ae)===-1&&te.push(ae),te}function _e(ee){return ee.split("-")}function st(ee,ae){var te=[],ue=(0,Ie.Z)(ae,ee);function fe(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Be.forEach(function(Pe){var Ae=Pe.key,be=Pe.children;te.push(Ae),fe(be)})}return fe(ue.children),te}function Ge(ee){if(ee.parent){var ae=_e(ee.pos);return Number(ae[ae.length-1])===ee.parent.children.length-1}return!1}function re(ee){var ae=_e(ee.pos);return Number(ae[ae.length-1])===0}function y(ee,ae,te,ue,fe,Be,Pe,Ae,be,St){var at,Zt=ee.clientX,et=ee.clientY,ut=ee.target.getBoundingClientRect(),bt=ut.top,Kt=ut.height,Dt=(St==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Zt),Tt=(Dt-12)/ue,We=(0,Ie.Z)(Ae,te.props.eventKey);if(et<bt+Kt/2){var Bt=Pe.findIndex(function(Sn){return Sn.key===We.key}),Gt=Bt<=0?0:Bt-1,De=Pe[Gt].key;We=(0,Ie.Z)(Ae,De)}var Ve=We.key,pt=We,$t=We.key,qe=0,Vt=0;if(!be.includes(Ve))for(var xe=0;xe<Tt&&Ge(We);xe+=1)We=We.parent,Vt+=1;var At=ae.props.data,yt=We.node,pn=!0;return re(We)&&We.level===0&&et<bt+Kt/2&&Be({dragNode:At,dropNode:yt,dropPosition:-1})&&We.key===te.props.eventKey?qe=-1:(pt.children||[]).length&&be.includes($t)?Be({dragNode:At,dropNode:yt,dropPosition:0})?qe=0:pn=!1:Vt===0?Tt>-1.5?Be({dragNode:At,dropNode:yt,dropPosition:1})?qe=1:pn=!1:Be({dragNode:At,dropNode:yt,dropPosition:0})?qe=0:Be({dragNode:At,dropNode:yt,dropPosition:1})?qe=1:pn=!1:Be({dragNode:At,dropNode:yt,dropPosition:1})?qe=1:pn=!1,{dropPosition:qe,dropLevelOffset:Vt,dropTargetKey:We.key,dropTargetPos:We.pos,dragOverNodeKey:$t,dropContainerKey:qe===0?null:((at=We.parent)===null||at===void 0?void 0:at.key)||null,dropAllowed:pn}}function a(ee,ae){if(ee){var te=ae.multiple;return te?ee.slice():ee.length?[ee[0]]:ee}}var x=function(ae){return ae};function b(ee,ae){if(!ee)return[];var te=ae||{},ue=te.processProps,fe=ue===void 0?x:ue,Be=Array.isArray(ee)?ee:[ee];return Be.map(function(Pe){var Ae=Pe.children,be=_objectWithoutProperties(Pe,dt),St=b(Ae,ae);return React.createElement(TreeNode,_extends({key:be.key},fe(be)),St)})}function E(ee){if(!ee)return null;var ae;if(Array.isArray(ee))ae={checkedKeys:ee,halfCheckedKeys:void 0};else if((0,he.Z)(ee)==="object")ae={checkedKeys:ee.checked||void 0,halfCheckedKeys:ee.halfChecked||void 0};else return(0,Te.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function z(ee,ae){var te=new Set;function ue(fe){if(!te.has(fe)){var Be=(0,Ie.Z)(ae,fe);if(Be){te.add(fe);var Pe=Be.parent,Ae=Be.node;Ae.disabled||Pe&&ue(Pe.key)}}}return(ee||[]).forEach(function(fe){ue(fe)}),(0,se.Z)(te)}},90782:function(mt,Lt,ne){"use strict";ne.d(Lt,{S:function(){return ie}});var se=ne(48736),he=ne(67841);function Te(dt,it){var nt=new Set;return dt.forEach(function(_e){it.has(_e)||nt.add(_e)}),nt}function ot(dt){var it=dt||{},nt=it.disabled,_e=it.disableCheckbox,st=it.checkable;return!!(nt||_e)||st===!1}function Me(dt,it,nt,_e){for(var st=new Set(dt),Ge=new Set,re=0;re<=nt;re+=1){var y=it.get(re)||new Set;y.forEach(function(E){var z=E.key,ee=E.node,ae=E.children,te=ae===void 0?[]:ae;st.has(z)&&!_e(ee)&&te.filter(function(ue){return!_e(ue.node)}).forEach(function(ue){st.add(ue.key)})})}for(var a=new Set,x=nt;x>=0;x-=1){var b=it.get(x)||new Set;b.forEach(function(E){var z=E.parent,ee=E.node;if(!(_e(ee)||!E.parent||a.has(E.parent.key))){if(_e(E.parent.node)){a.add(z.key);return}var ae=!0,te=!1;(z.children||[]).filter(function(ue){return!_e(ue.node)}).forEach(function(ue){var fe=ue.key,Be=st.has(fe);ae&&!Be&&(ae=!1),!te&&(Be||Ge.has(fe))&&(te=!0)}),ae&&st.add(z.key),te&&Ge.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(st),halfCheckedKeys:Array.from(Te(Ge,st))}}function Ie(dt,it,nt,_e,st){for(var Ge=new Set(dt),re=new Set(it),y=0;y<=_e;y+=1){var a=nt.get(y)||new Set;a.forEach(function(z){var ee=z.key,ae=z.node,te=z.children,ue=te===void 0?[]:te;!Ge.has(ee)&&!re.has(ee)&&!st(ae)&&ue.filter(function(fe){return!st(fe.node)}).forEach(function(fe){Ge.delete(fe.key)})})}re=new Set;for(var x=new Set,b=_e;b>=0;b-=1){var E=nt.get(b)||new Set;E.forEach(function(z){var ee=z.parent,ae=z.node;if(!(st(ae)||!z.parent||x.has(z.parent.key))){if(st(z.parent.node)){x.add(ee.key);return}var te=!0,ue=!1;(ee.children||[]).filter(function(fe){return!st(fe.node)}).forEach(function(fe){var Be=fe.key,Pe=Ge.has(Be);te&&!Pe&&(te=!1),!ue&&(Pe||re.has(Be))&&(ue=!0)}),te||Ge.delete(ee.key),ue&&re.add(ee.key),x.add(ee.key)}})}return{checkedKeys:Array.from(Ge),halfCheckedKeys:Array.from(Te(re,Ge))}}function ie(dt,it,nt,_e){var st=[],Ge;_e?Ge=_e:Ge=ot;var re=new Set(dt.filter(function(b){var E=!!(0,he.Z)(nt,b);return E||st.push(b),E})),y=new Map,a=0;Object.keys(nt).forEach(function(b){var E=nt[b],z=E.level,ee=y.get(z);ee||(ee=new Set,y.set(z,ee)),ee.add(E),a=Math.max(a,z)}),(0,se.ZP)(!st.length,"Tree missing follow keys: ".concat(st.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return it===!0?x=Me(re,y,a,Ge):x=Ie(re,it.halfCheckedKeys,y,a,Ge),x}},67841:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return se}});function se(he,Te){return he[Te]}},71430:function(mt,Lt,ne){"use strict";ne.d(Lt,{F:function(){return z},H8:function(){return E},I8:function(){return b},km:function(){return st},oH:function(){return a},w$:function(){return Ge},zn:function(){return y}});var se=ne(39559),he=ne(26407),Te=ne(33708),ot=ne(37061),Me=ne(11592),Ie=ne(2738),ie=ne(48736),dt=ne(67841),it=["children"];function nt(ee,ae){return"".concat(ee,"-").concat(ae)}function _e(ee){return ee&&ee.type&&ee.type.isTreeNode}function st(ee,ae){return ee!=null?ee:ae}function Ge(ee){var ae=ee||{},te=ae.title,ue=ae._title,fe=ae.key,Be=ae.children,Pe=te||"title";return{title:Pe,_title:ue||[Pe],key:fe||"key",children:Be||"children"}}function re(ee,ae){var te=new Map;function ue(fe){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(Pe){var Ae=Pe[ae.key],be=Pe[ae.children];warning(Ae!=null,"Tree node must have a certain key: [".concat(Be).concat(Ae,"]"));var St=String(Ae);warning(!te.has(St)||Ae===null||Ae===void 0,"Same 'key' exist in the Tree: ".concat(St)),te.set(St,!0),ue(be,"".concat(Be).concat(St," > "))})}ue(ee)}function y(ee){function ae(te){var ue=(0,Me.Z)(te);return ue.map(function(fe){if(!_e(fe))return(0,ie.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var Be=fe.key,Pe=fe.props,Ae=Pe.children,be=(0,ot.Z)(Pe,it),St=(0,Te.Z)({key:Be},be),at=ae(Ae);return at.length&&(St.children=at),St}).filter(function(fe){return fe})}return ae(ee)}function a(ee,ae,te){var ue=Ge(te),fe=ue._title,Be=ue.key,Pe=ue.children,Ae=new Set(ae===!0?[]:ae),be=[];function St(at){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return at.map(function(et,ut){for(var bt=nt(Zt?Zt.pos:"0",ut),Kt=st(et[Be],bt),Dt,Tt=0;Tt<fe.length;Tt+=1){var We=fe[Tt];if(et[We]!==void 0){Dt=et[We];break}}var Bt=(0,Te.Z)((0,Te.Z)({},(0,Ie.Z)(et,[].concat((0,he.Z)(fe),[Be,Pe]))),{},{title:Dt,key:Kt,parent:Zt,pos:bt,children:null,data:et,isStart:[].concat((0,he.Z)(Zt?Zt.isStart:[]),[ut===0]),isEnd:[].concat((0,he.Z)(Zt?Zt.isEnd:[]),[ut===at.length-1])});return be.push(Bt),ae===!0||Ae.has(Kt)?Bt.children=St(et[Pe]||[],Bt):Bt.children=[],Bt})}return St(ee),be}function x(ee,ae,te){var ue={};(0,se.Z)(te)==="object"?ue=te:ue={externalGetKey:te},ue=ue||{};var fe=ue,Be=fe.childrenPropName,Pe=fe.externalGetKey,Ae=fe.fieldNames,be=Ge(Ae),St=be.key,at=be.children,Zt=Be||at,et;Pe?typeof Pe=="string"?et=function(Kt){return Kt[Pe]}:typeof Pe=="function"&&(et=function(Kt){return Pe(Kt)}):et=function(Kt,Dt){return st(Kt[St],Dt)};function ut(bt,Kt,Dt,Tt){var We=bt?bt[Zt]:ee,Bt=bt?nt(Dt.pos,Kt):"0",Gt=bt?[].concat((0,he.Z)(Tt),[bt]):[];if(bt){var De=et(bt,Bt),Ve={node:bt,index:Kt,pos:Bt,key:De,parentPos:Dt.node?Dt.pos:null,level:Dt.level+1,nodes:Gt};ae(Ve)}We&&We.forEach(function(pt,$t){ut(pt,$t,{node:bt,pos:Bt,level:Dt?Dt.level+1:-1},Gt)})}ut(null)}function b(ee){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=ae.initWrapper,ue=ae.processEntity,fe=ae.onProcessFinished,Be=ae.externalGetKey,Pe=ae.childrenPropName,Ae=ae.fieldNames,be=arguments.length>2?arguments[2]:void 0,St=Be||be,at={},Zt={},et={posEntities:at,keyEntities:Zt};return te&&(et=te(et)||et),x(ee,function(ut){var bt=ut.node,Kt=ut.index,Dt=ut.pos,Tt=ut.key,We=ut.parentPos,Bt=ut.level,Gt=ut.nodes,De={node:bt,nodes:Gt,index:Kt,key:Tt,pos:Dt,level:Bt},Ve=st(Tt,Dt);at[Dt]=De,Zt[Ve]=De,De.parent=at[We],De.parent&&(De.parent.children=De.parent.children||[],De.parent.children.push(De)),ue&&ue(De,et)},{externalGetKey:St,childrenPropName:Pe,fieldNames:Ae}),fe&&fe(et),et}function E(ee,ae){var te=ae.expandedKeys,ue=ae.selectedKeys,fe=ae.loadedKeys,Be=ae.loadingKeys,Pe=ae.checkedKeys,Ae=ae.halfCheckedKeys,be=ae.dragOverNodeKey,St=ae.dropPosition,at=ae.keyEntities,Zt=(0,dt.Z)(at,ee),et={eventKey:ee,expanded:te.indexOf(ee)!==-1,selected:ue.indexOf(ee)!==-1,loaded:fe.indexOf(ee)!==-1,loading:Be.indexOf(ee)!==-1,checked:Pe.indexOf(ee)!==-1,halfChecked:Ae.indexOf(ee)!==-1,pos:String(Zt?Zt.pos:""),dragOver:be===ee&&St===0,dragOverGapTop:be===ee&&St===-1,dragOverGapBottom:be===ee&&St===1};return et}function z(ee){var ae=ee.data,te=ee.expanded,ue=ee.selected,fe=ee.checked,Be=ee.loaded,Pe=ee.loading,Ae=ee.halfChecked,be=ee.dragOver,St=ee.dragOverGapTop,at=ee.dragOverGapBottom,Zt=ee.pos,et=ee.active,ut=ee.eventKey,bt=(0,Te.Z)((0,Te.Z)({},ae),{},{expanded:te,selected:ue,checked:fe,loaded:Be,loading:Pe,halfChecked:Ae,dragOver:be,dragOverGapTop:St,dragOverGapBottom:at,pos:Zt,active:et,key:ut});return"props"in bt||Object.defineProperty(bt,"props",{get:function(){return(0,ie.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ee}}),bt}},8224:function(mt,Lt,ne){"use strict";ne.d(Lt,{Z:function(){return he}});var se=ne(4676);function he(Te,ot,Me,Ie){var ie=se.unstable_batchedUpdates?function(it){se.unstable_batchedUpdates(Me,it)}:Me;return Te!=null&&Te.addEventListener&&Te.addEventListener(ot,ie,Ie),{remove:function(){Te!=null&&Te.removeEventListener&&Te.removeEventListener(ot,ie,Ie)}}}},55468:function(mt,Lt,ne){"use strict";ne.d(Lt,{g1:function(){return _e},os:function(){return Ge}});var se=/margin|padding|width|height|max|min|offset/,he={left:!0,top:!0},Te={cssFloat:1,styleFloat:1,float:1};function ot(re){return re.nodeType===1?re.ownerDocument.defaultView.getComputedStyle(re,null):{}}function Me(re,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return re.offsetHeight;if(y==="width")return re.offsetWidth}return y in he||(he[y]=se.test(y)),he[y]?parseFloat(a)||0:a}function Ie(re,y){var a=arguments.length,x=ot(re);return y=Te[y]?"cssFloat"in re.style?"cssFloat":"styleFloat":y,a===1?x:Me(re,y,x[y]||re.style[y])}function ie(re,y,a){var x=arguments.length;if(y=Te[y]?"cssFloat"in re.style?"cssFloat":"styleFloat":y,x===3)return typeof a=="number"&&se.test(y)&&(a="".concat(a,"px")),re.style[y]=a,a;for(var b in y)y.hasOwnProperty(b)&&ie(re,b,y[b]);return ot(re)}function dt(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function it(re){return re===document.body?window.innerHeight||document.documentElement.clientHeight:re.offsetHeight}function nt(){var re=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:re,height:y}}function _e(){var re=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:re,height:y}}function st(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ge(re){var y=re.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(mt,Lt,ne){"use strict";ne.d(Lt,{G:function(){return ot}});var se=ne(47273),he=function(Ie){if((0,se.Z)()&&window.document.documentElement){var ie=Array.isArray(Ie)?Ie:[Ie],dt=window.document.documentElement;return ie.some(function(it){return it in dt.style})}return!1},Te=function(Ie,ie){if(!he(Ie))return!1;var dt=document.createElement("div"),it=dt.style[Ie];return dt.style[Ie]=ie,dt.style[Ie]!==it};function ot(Me,Ie){return!Array.isArray(Me)&&Ie!==void 0?Te(Me,Ie):he(Me)}},96908:function(mt){"use strict";mt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZP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