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
797 KiB
259 lines
797 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5089],{89489:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},59477:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},49198:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},52671:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},8657:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},56082:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},33853:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},15075:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},43531:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},38819:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return lt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(nt,_e){return ve.createElement(Ie.Z,(0,se.Z)({},nt,{ref:_e,icon:at}))},ie=ve.forwardRef(Oe),lt=ie},88010:function(ut,At){"use strict";At.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 ut(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(ut.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(ut.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(ut.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(ut.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 ut))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 At=[];function ae(re,y){var a=At.pop();return a===void 0?new go.Point(re,y):(a.x=re,a.y=y,a)}function se(){var re=At.pop();return re===void 0?new go.Point:re}function ve(re){At.push(re)}function Me(re,y,a,x,b,E,z,ee,te){te||(te=new go.Point);var ne=re-a,me=b-z,fe=NaN,Be=NaN;if(ne===0)if(me===0)re===a&&(fe=re,Be=y);else{var xe=(E-ee)/me,Ae=E-xe*b;fe=re,Be=xe*fe+Ae}else if(me===0){var be=(y-x)/ne,yt=y-be*re;fe=b,Be=be*fe+yt}else{var be=(y-x)/ne,xe=(E-ee)/me,yt=y-be*re,Ae=E-xe*b;fe=(Ae-yt)/(be-xe),Be=be*fe+yt}return te.x=fe,te.y=Be,te}function at(re,y,a,x,b,E,z,ee,te,ne,me,fe,Be,xe){var Ae=1-te,be=te,yt=re*Ae+a*be,mt=y*Ae+x*be,Jt=a*Ae+b*be,Xe=x*Ae+E*be,et=b*Ae+z*be,bt=E*Ae+ee*be,Gt=yt*Ae+Jt*be,Ft=mt*Ae+Xe*be,Zt=Jt*Ae+et*be,Ue=Xe*Ae+bt*be,Pt=Gt*Ae+Zt*be,Tt=Ft*Ae+Ue*be;ne.x=yt,ne.y=mt,me.x=Gt,me.y=Ft,fe.x=Pt,fe.y=Tt,Be.x=Zt,Be.y=Ue,xe.x=et,xe.y=bt}var Ie=new go.Spot(.156,.156),Oe=new go.Spot(.844,.844),ie=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ut("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=Ie,b.spot2=Oe,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 ut("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 ut("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 ut("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 ut("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 ut("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 lt=[];function rt(){var re=lt.pop();return re===void 0?[]:re}function nt(re){re.length=0,lt.push(re)}function _e(re){for(var y=rt(),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 dt(re){var y=He(re),a=rt();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 He(re){for(var y=_e(re),a=rt(),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],te=y[z+1],ne=y[(x+z-1)%b],me=y[(x+z+E)%b];a[z*2]=ee,a[z*2+1]=Me(ee.x,ee.y,ne.x,ne.y,te.x,te.y,me.x,me.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=He(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=He(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=He(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=He(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=He(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=He(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=dt(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=dt(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=dt(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=dt(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=dt(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=dt(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 ut("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ut("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 ut("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=Ie,E.spot2=Oe,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 ut("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ut("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 ut("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 ut("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 ut("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),te=x-Math.min(Math.cos(ee)*x/2,E),ne=x-Math.min(Math.sin(ee)*x/2,z),b=new go.Geometry,me=new go.PathFigure(te,0,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),me.add(new go.PathSegment(go.PathSegment.Line,y-te,0)),me.add(new go.PathSegment(go.PathSegment.Line,y,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),me.add(new go.PathSegment(go.PathSegment.Line,y,a-ne)),me.add(new go.PathSegment(go.PathSegment.Line,y-te,a)),me.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),me.add(new go.PathSegment(go.PathSegment.Line,te,a)),me.add(new go.PathSegment(go.PathSegment.Line,0,a-ne)),me.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ut("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 ut("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 ut("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,te=E*ie;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+te+ee)*a,(.5-te+z)*y,(.5+E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ee)*a,(.5+te+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+te+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z)*y,(.5-te+ee)*a,(.5+te+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-te+z)*y,(.5-E+ee)*a,(.5-E+z+.05)*y,(.5-te+ee-.02)*a)),E=.2,z=0,ee=-.3,te=E*ie,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ee)*a,(.5+te+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+te+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z)*y,(.5-te+ee)*a,(.5+te+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ee)*a,(.5-te+z)*y,(.5-E+ee)*a,(.5-E+z)*y,(.5-te+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+te+ee)*a,(.5-te+z)*y,(.5+E+ee)*a)),E=.2,z=-.3,ee=0,te=E*ie,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z-.05)*y,(.5-te+ee-.02)*a,(.5+te+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ee)*a,(.5-te+z)*y,(.5-E+ee)*a,(.5-E+z)*y,(.5-te+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+te+ee)*a,(.5-te+z)*y,(.5+E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+te+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+te+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,te=new go.PathFigure(z*y,(ee-E)*a);x.add(te),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)),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)),E=.4,b=ie*.4;var ne=se(),me=se(),fe=se(),Be=se();at(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.42,ne,me,fe,Be,Be);var xe=se(),Ae=se(),be=se();at(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.58,Be,Be,be,xe,Ae);var yt=se(),mt=se(),Jt=se();at(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.42,yt,mt,Jt,Be,Be);var Xe=se(),et=se(),bt=se();return at(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.58,Be,Be,bt,Xe,et),te.add(new go.PathSegment(go.PathSegment.Move,bt.x*y,bt.y*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,Xe.x*y,Xe.y*a,et.x*y,et.y*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,fe.x*y,fe.y*a,ne.x*y,ne.y*a,me.x*y,me.y*a)),te.add(new go.PathSegment(go.PathSegment.Line,bt.x*y,bt.y*a).close()),te.add(new go.PathSegment(go.PathSegment.Move,Jt.x*y,Jt.y*a)),te.add(new go.PathSegment(go.PathSegment.Line,be.x*y,be.y*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,xe.x*y,xe.y*a,Ae.x*y,Ae.y*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,Jt.x*y,Jt.y*a,yt.x*y,yt.y*a,mt.x*y,mt.y*a).close()),ve(ne),ve(me),ve(fe),ve(Be),ve(xe),ve(Ae),ve(be),ve(yt),ve(mt),ve(Jt),ve(Xe),ve(et),ve(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 ut("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,te=se(),ne=se(),me=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)),at(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.44,me,fe,ne,te,te),Be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,me.x*y,me.y*a,fe.x*y,fe.y*a));var xe=ae(ne.x,ne.y);at(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.56,te,te,ne,me,fe);var Ae=ae(ne.x,ne.y);Be.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.95*.9)*y,xe.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*y,xe.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,me.x*y,me.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 yt=new go.PathFigure((z-E)*y,ee*a,!1);return x.add(yt),ve(te),ve(ne),ve(me),ve(fe),ve(xe),ve(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,te=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);x.add(te),te.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)),te.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)),te.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)),te.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)),te.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,E=0,z=-.125,ee=b*ie;var te=new go.PathFigure((1-.5+b+E)*y,(.5+z)*a,!1);x.add(te),te.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)),te.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)),te.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)),te.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 te=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);return x.add(te),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 ut("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ut("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,te=new go.Geometry,ne=new go.PathFigure(0,z,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/a);var me=Me(0,ee/a,1,ee/a,E/y,1,1,.5,se());return te.spot2=new go.Spot(me.x,me.y),ve(me),te}),go.Shape.setFigureParameter("Arrow2",0,new ut("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ut("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,te=new go.Geometry,ne=new go.PathFigure(0,z,!0);te.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/a);var me=Me(0,ee/a,1,ee/a,E/y,1,1,.5,se());return te.spot2=new go.Spot(me.x,me.y),ve(me),te}),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 ut("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 te=Me(0,.5,.3,0,0,b/a,.1,b/a,se());return z.spot1=new go.Spot(te.x,te.y),te=Me(.7,1,1,.5,0,E/a,1,E/a,te),z.spot2=new go.Spot(te.x,te.y),ve(te),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ut("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ut("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,te=ee+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ee=0,te=a):(E=0,z=a,ee=0,te=a));var ne=new go.Geometry,me=new go.PathFigure(y,.5*a,!0);ne.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),me.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),me.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),me.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),me.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),me.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close());var fe=Me(0,.5,.3,ee/a,0,E/a,1,E/a,se());return ne.spot1=new go.Spot(fe.x,fe.y),fe=Me(.7,te/a,1,.5,0,z/a,1,z/a,fe),ne.spot2=new go.Spot(fe.x,fe.y),ve(fe),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new ut("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 te=Me(.7,1,1,.5,0,E/a,1,E/a,se());return z.spot2=new go.Spot(te.x,te.y),ve(te),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ut("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ut("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,te=ee+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ee=0,te=a):(E=0,z=a,ee=0,te=a));var ne=new go.Geometry,me=new go.PathFigure(y,.5*a,!0);ne.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),me.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),me.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),me.add(new go.PathSegment(go.PathSegment.Line,0,te)),me.add(new go.PathSegment(go.PathSegment.Line,0,ee)),me.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),me.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),me.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close()),ne.spot1=new go.Spot(0,E/a);var fe=Me(.7,te/a,1,.5,0,z/a,1,z/a,se());return ne.spot2=new go.Spot(fe.x,fe.y),ve(fe),ne}),go.Shape.setFigureParameter("Pointer",0,new ut("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=Me(.2,.65,1,.65,0,1,1,.5,se());return b.spot2=new go.Spot(z.x,z.y),ve(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ut("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=Me(0,.65,1,.65,0,1,1,.5,se());return b.spot2=new go.Spot(z.x,z.y),ve(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ut("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 te=Me(.7,1,1,.5,0,E/a,1,E/a,se());return z.spot2=new go.Spot(te.x,te.y),ve(te),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ut("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 te=Me(.7,1,1,.5,0,E/a,1,E/a,se());return z.spot2=new go.Spot(te.x,te.y),ve(te),z}),go.Shape.setFigureParameter("SquareArrow",0,new ut("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,te=.5,ne=.1,me=new go.PathFigure(te*y,(ne+E)*a,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ne*a,(te-z)*y,(ne+E)*a,(te-b)*y,(ne+ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-E)*a,(te-b)*y,(ne-ee)*a,(te-z)*y,(ne-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ne*a,(te+z)*y,(ne-E)*a,(te+b)*y,(ne-ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne+E)*a,(te+b)*y,(ne+ee)*a,(te+z)*y,(ne+E)*a));var fe=.05,Be=ie*fe;te=.05,ne=.25;var xe=new go.PathFigure(.5*y,.2*a,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),te=.95,ne=.25,xe.add(new go.PathSegment(go.PathSegment.Bezier,(te+fe)*y,ne*a,(te+Be)*y,(ne-fe)*a,(te+fe)*y,(ne-Be)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),fe=.025,Be=ie*fe,te=.825,ne=.35,xe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-fe)*a,(te+fe)*y,(ne-Be)*a,(te+Be)*y,(ne-fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te-fe)*y,ne*a,(te-Be)*y,(ne-fe)*a,(te-fe)*y,(ne-Be)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),fe=.05,Be=ie*fe,te=.5,ne=.7,xe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-fe)*a,(te+fe)*y,(ne-Be)*a,(te+Be)*y,(ne-fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te-fe)*y,ne*a,(te-Be)*y,(ne-fe)*a,(te-fe)*y,(ne-Be)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),xe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),xe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),fe=.025,Be=ie*fe,te=.175,ne=.35,xe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-fe)*a,(te+fe)*y,(ne-Be)*a,(te+Be)*y,(ne-fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te-fe)*y,ne*a,(te-Be)*y,(ne-fe)*a,(te-fe)*y,(ne-Be)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),xe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),fe=.05,Be=ie*fe,te=.05,ne=.25,xe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-fe)*a,(te-fe)*y,(ne-Be)*a,(te-Be)*y,(ne-fe)*a)),xe.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 ut("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,te=new go.PathFigure(y,ee*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+z)*a,(ee+z)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-z)*y,a,0,(ee+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-z)*a,(ee-z)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+z)*y,0,y,(ee-z)*a));var ne=new go.PathFigure((E+b)*y,(E+b)*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,(E+b)*a)),ne.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 te=new go.PathFigure(.8*y,.75*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),te.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,te=new go.PathFigure(.8*y,.5*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ne=new go.PathFigure((z+E)*y,ee*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),ne.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,te=.9,ne=.5,me=new go.PathFigure(.8*y,.5*a,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+E)*a,(.4+b)*y,a)),me.add(new go.PathSegment(go.PathSegment.Line,0,a)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),me.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((te+ee)*y,ne*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne+ee)*a,(te+ee)*y,(ne+z)*a,(te+z)*y,(ne+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,ne*a,(te-z)*y,(ne+ee)*a,(te-ee)*y,(ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-ee)*a,(te-ee)*y,(ne-z)*a,(te-z)*y,(ne-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,ne*a,(te+z)*y,(ne-ee)*a,(te+ee)*y,(ne-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,te=new go.PathFigure(.8*y,.5*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*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 ne=new go.PathFigure((z-b)*y,ee*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.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,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E+E)*y,(ee-b)*a,.8*y,(ee-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ee+E)*a,(z+E+E)*y,(ee+b)*a)),te.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,te=new go.PathFigure(.1*y,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.8*y,.5*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ne.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 me=new go.PathFigure((z-b)*y,ee*a,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),me.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,te=new go.PathFigure(.1*y,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.2*y,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E)*y,(ee-b)*a,.9*y,(ee-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.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,te=new go.PathFigure((z-b*.5)*y,a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.3,te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.5,te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.7,te.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.9,te.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,te=new go.PathFigure((z-E)*y,ee*a,!1);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)),te.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*y,ee*a)),te.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,te=0,ne=.5,me=(b-y)/2,fe=(E-a)/2,Be=new go.PathFigure(te*y+me,(ne+ee)*a+fe,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y+me,ne*a+fe,(te-z)*y+me,(ne+ee)*a+fe,(te-ee)*y+me,(ne+z)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne-ee)*a+fe,(te-ee)*y+me,(ne-z)*a+fe,(te-z)*y+me,(ne-ee)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*y+me,ne*a+fe,te*y+me,(ne-ee)*a+fe,(te-ee+z*.5)*y+me,(ne-z)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne+ee)*a+fe,(te-ee+z*.5)*y+me,(ne+z)*a+fe,te*y+me,(ne+ee)*a+fe).close()),z=ie*.4,ee=.4,te=.2,ne=.5;var xe=new go.PathFigure(te*y+me,(ne+ee)*a+fe,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y+me,ne*a+fe,(te-z)*y+me,(ne+ee)*a+fe,(te-ee)*y+me,(ne+z)*a+fe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne-ee)*a+fe,(te-ee)*y+me,(ne-z)*a+fe,(te-z)*y+me,(ne-ee)*a+fe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*y+me,ne*a+fe,te*y+me,(ne-ee)*a+fe,(te-ee+z*.5)*y+me,(ne-z)*a+fe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne+ee)*a+fe,(te-ee+z*.5)*y+me,(ne+z)*a+fe,te*y+me,(ne+ee)*a+fe).close()),z=ie*.2,ee=.2,te=.5,ne=.5;var Ae=new go.PathFigure((te-ee)*y+me,ne*a+fe,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne-ee)*a+fe,(te-ee)*y+me,(ne-z)*a+fe,(te-z)*y+me,(ne-ee)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y+me,ne*a+fe,(te+z)*y+me,(ne-ee)*a+fe,(te+ee)*y+me,(ne-z)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne+ee)*a+fe,(te+ee)*y+me,(ne+z)*a+fe,(te+z)*y+me,(ne+ee)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y+me,ne*a+fe,(te-z)*y+me,(ne+ee)*a+fe,(te-ee)*y+me,(ne+z)*a+fe)),z=ie*.4,ee=.4,te=.8,ne=.5;var be=new go.PathFigure(te*y+me,(ne-ee)*a+fe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y+me,ne*a+fe,(te+z)*y+me,(ne-ee)*a+fe,(te+ee)*y+me,(ne-z)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne+ee)*a+fe,(te+ee)*y+me,(ne+z)*a+fe,(te+z)*y+me,(ne+ee)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*y+me,ne*a+fe,te*y+me,(ne+ee)*a+fe,(te+ee-z*.5)*y+me,(ne+z)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne-ee)*a+fe,(te+ee-z*.5)*y+me,(ne-z)*a+fe,te*y+me,(ne-ee)*a+fe).close()),z=ie*.8,ee=.8,te=1,ne=.5;var yt=new go.PathFigure(te*y+me,(ne-ee)*a+fe,!0);return x.add(yt),yt.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y+me,ne*a+fe,(te+z)*y+me,(ne-ee)*a+fe,(te+ee)*y+me,(ne-z)*a+fe)),yt.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne+ee)*a+fe,(te+ee)*y+me,(ne+z)*a+fe,(te+z)*y+me,(ne+ee)*a+fe)),yt.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*y+me,ne*a+fe,te*y+me,(ne+ee)*a+fe,(te+ee-z*.5)*y+me,(ne+z)*a+fe)),yt.add(new go.PathSegment(go.PathSegment.Bezier,te*y+me,(ne-ee)*a+fe,(te+ee-z*.5)*y+me,(ne-z)*a+fe,te*y+me,(ne-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,te=se(),ne=se(),me=se(),fe=se();at(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,ne,me,fe);var Be=ae(ne.x,ne.y),xe=new go.PathFigure(ne.x*y,ne.y*a,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,me.x*y,me.y*a,fe.x*y,fe.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),at(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,me,fe,ne,te,te),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,me.x*y,me.y*a,fe.x*y,fe.y*a)),b=ie*.3,E=.3,at(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,me,fe,ne,te,te),xe.add(new go.PathSegment(go.PathSegment.Line,ne.x*y,ne.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,fe.x*y,fe.y*a,me.x*y,me.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),at(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,ne,me,fe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,fe.x*y,fe.y*a,me.x*y,me.y*a).close());var xe=new go.PathFigure(.45*y,0,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ve(te),ve(ne),ve(me),ve(fe),ve(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,te){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*y,(.8+te)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*y,(.5+te)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*y,(.5+te)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*y,(.8+te)*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,te=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,me=1,fe=.5,Be=.5,xe=0,Ae=new go.PathFigure(te*y,(1-ne)*a,!1);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,me*y,fe*a,me*y,.7*a,me*y,fe*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+E)*y,(xe+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,te=z,ne=Math.PI/4,me=4*(1-Math.cos(ne))/(3*Math.sin(ne)),fe=me*.5,Be=z,xe=z,Ae=me*Be,be=me*xe;E.add(new go.PathSegment(go.PathSegment.Bezier,(ee-Be)*y,te*a,(ee-(Ae+Be)/2)*y,(te+(xe+be)/2)*a,(ee-Be)*y,(te+be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(te-xe)*a,(ee-Be)*y,(te-be)*a,(ee-Ae)*y,(te-xe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ee+Be)*y,te*a,(ee+Ae)*y,(te-xe)*a,(ee+Be)*y,(te-be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ee+Be)*y,(te+be)*a,(ee+(Ae+Be)/2)*y,(te+(xe+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 yt=new go.PathFigure(.2*y,a,!1);x.add(yt),yt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var mt=new go.PathFigure(.8*y,a,!1);return x.add(mt),mt.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,te=.2,ne=.9,me=new go.PathFigure((te-z)*y,ne*a,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-z)*a,(te-z)*y,(ne-ee)*a,(te-ee)*y,(ne-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*y,ne*a,(te+ee)*y,(ne-z)*a,(te+z)*y,(ne-ee)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne+z)*a,(te+z)*y,(ne+ee)*a,(te+ee)*y,(ne+z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*y,ne*a,(te-ee)*y,(ne+z)*a,(te-z)*y,(ne+ee)*a).close()),z=.1,ee=ie*.1,te=.8,ne=.9;var fe=new go.PathFigure((te-z)*y,ne*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne-z)*a,(te-z)*y,(ne-ee)*a,(te-ee)*y,(ne-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*y,ne*a,(te+ee)*y,(ne-z)*a,(te+z)*y,(ne-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ne+z)*a,(te+z)*y,(ne+ee)*a,(te+ee)*y,(ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*y,ne*a,(te-ee)*y,(ne+z)*a,(te-z)*y,(ne+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 te=.1,ne=ie*.1,me=.1,fe=.9,Be=new go.PathFigure((me-te)*y,fe*a,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(fe-te)*a,(me-te)*y,(fe-ne)*a,(me-ne)*y,(fe-te)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(me+te)*y,fe*a,(me+ne)*y,(fe-te)*a,(me+te)*y,(fe-ne)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(fe+te)*a,(me+te)*y,(fe+ne)*a,(me+ne)*y,(fe+te)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(me-te)*y,fe*a,(me-ne)*y,(fe+te)*a,(me-te)*y,(fe+ne)*a)),te=.1,ne=ie*.1,me=.4,fe=.9;var xe=new go.PathFigure((me-te)*y,fe*a,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(fe-te)*a,(me-te)*y,(fe-ne)*a,(me-ne)*y,(fe-te)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me+te)*y,fe*a,(me+ne)*y,(fe-te)*a,(me+te)*y,(fe-ne)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(fe+te)*a,(me+te)*y,(fe+ne)*a,(me+ne)*y,(fe+te)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(me-te)*y,fe*a,(me-ne)*y,(fe+te)*a,(me-te)*y,(fe+ne)*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 me=.05,fe=ie*.05,Be=.175,xe=.95,ee=new go.PathFigure((Be-me)*y,xe*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe-me)*a,(Be-me)*y,(xe-fe)*a,(Be-fe)*y,(xe-me)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*y,xe*a,(Be+fe)*y,(xe-me)*a,(Be+me)*y,(xe-fe)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe+me)*a,(Be+me)*y,(xe+fe)*a,(Be+fe)*y,(xe+me)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*y,xe*a,(Be-fe)*y,(xe+me)*a,(Be-me)*y,(xe+fe)*a));var me=.05,fe=ie*.05,Be=.375,xe=.95,te=new go.PathFigure((Be-me)*y,xe*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe-me)*a,(Be-me)*y,(xe-fe)*a,(Be-fe)*y,(xe-me)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*y,xe*a,(Be+fe)*y,(xe-me)*a,(Be+me)*y,(xe-fe)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe+me)*a,(Be+me)*y,(xe+fe)*a,(Be+fe)*y,(xe+me)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*y,xe*a,(Be-fe)*y,(xe+me)*a,(Be-me)*y,(xe+fe)*a));var me=.05,fe=ie*.05,Be=.625,xe=.95,ne=new go.PathFigure((Be-me)*y,xe*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe-me)*a,(Be-me)*y,(xe-fe)*a,(Be-fe)*y,(xe-me)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*y,xe*a,(Be+fe)*y,(xe-me)*a,(Be+me)*y,(xe-fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe+me)*a,(Be+me)*y,(xe+fe)*a,(Be+fe)*y,(xe+me)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*y,xe*a,(Be-fe)*y,(xe+me)*a,(Be-me)*y,(xe+fe)*a));var me=.05,fe=ie*.05,Be=.825,xe=.95,Ae=new go.PathFigure((Be-me)*y,xe*a,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe-me)*a,(Be-me)*y,(xe-fe)*a,(Be-fe)*y,(xe-me)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+me)*y,xe*a,(Be+fe)*y,(xe-me)*a,(Be+me)*y,(xe-fe)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(xe+me)*a,(Be+me)*y,(xe+fe)*a,(Be+fe)*y,(xe+me)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be-me)*y,xe*a,(Be-fe)*y,(xe+me)*a,(Be-me)*y,(xe+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,te=ie*.05,ne=.35,me=.775,fe=new go.PathFigure((ne-ee)*y,me*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(me-ee)*a,(ne-ee)*y,(me-te)*a,(ne-te)*y,(me-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*y,me*a,(ne+te)*y,(me-ee)*a,(ne+ee)*y,(me-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(me+ee)*a,(ne+ee)*y,(me+te)*a,(ne+te)*y,(me+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*y,me*a,(ne-te)*y,(me+ee)*a,(ne-ee)*y,(me+te)*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,te=new go.PathFigure((z-b)*y,ee*a,!0);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));var ne=new go.PathFigure(0,.7*a,!1);return x.add(ne),ne.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,te=new go.PathFigure((z-b)*y,ee*a,!0);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));var ne=new go.PathFigure(.15*y,.5*a,!1);return x.add(ne),ne.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,te=new go.PathFigure((z-b)*y,ee*a,!1);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()),b=.05,E=ie*.05,z=.5,ee=.8;var ne=new go.PathFigure((z-b)*y,ee*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.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()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ne.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 te=new go.PathFigure(.5*y,.1*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),te.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 te=new go.PathFigure(y*.816,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),te.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 te=new go.PathFigure(y*1,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),te.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 te=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),te.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 te=new go.PathFigure(y*.83,a*1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),te.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),te.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ne=new go.PathFigure(y*.78,a*.05,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ne.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 ut={},At="5.0",ae={},se=null,ve=!1,Me=!1,at=null,Ie=!1,Oe=null,ie=null,lt=0;lt<arguments.length;lt++){var rt=arguments[lt];if(rt!==null)switch(typeof rt){case"number":At=rt.toFixed(1);break;case"string":rt.match(new RegExp("^[0-9]\\.[0-9]+$"))?At=rt:at=rt;break;case"object":typeof rt.is3D!="undefined"?se=rt:ae=rt;break;case"boolean":ve=rt,Me=!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},ae.material_id!==void 0&&!Me&&(ve=!0)),at!==null&&ae.id===void 0&&(ae.id=at);var nt="",_e="",dt=!1,He=null,re=null,y=null,a=!1,x=null,b=null,E=null,z=null,ee=null;ae.height!==void 0&&(ae.height=Math.round(ae.height)),ae.width!==void 0&&(ae.width=Math.round(ae.width));var te=function(De){return parseFloat(De)>4?parseFloat(De):5};ut.setHTML5Codebase=function(De,je){ie=De,Ue(De,je)},ut.setJavaCodebase=ut.setJavaCodebaseVersion=ut.isCompiledInstalled=ut.setPreCompiledScriptPath=ut.setPreCompiledResourcePath=function(){},ut.setHTML5CodebaseVersion=function(De,je){var pt=parseFloat(De);if(pt!==NaN&&pt<5){console.log("The GeoGebra HTML5 codebase version "+pt+" is deprecated. Using version latest instead.");return}Oe=De,Zt(De,je)},ut.getHTML5CodebaseVersion=function(){return re},ut.getParameters=function(){return ae},ut.setFontsCSSURL=function(De){z=De},ut.setGiacJSURL=function(De){},ut.setJNLPFile=function(De){nt=De},ut.setJNLPBaseDir=function(De){},ut.inject=function(){function De(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var je="auto",pt=ae.id,Qt,ct=!1,Xt=0;Xt<arguments.length;Xt++){var ye=arguments[Xt];typeof ye=="string"?(ye=ye.toLowerCase(),ye.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?je=ye:pt=arguments[Xt]):typeof ye=="boolean"?ct=ye:ye instanceof HTMLElement&&(Qt=ye)}wt();function wt(){if(!Ie){setTimeout(wt,200);return}je=Gt(je);var Et=Qt||document.getElementById(pt);if(!Et){console.log("possibly bug on ajax loading? ");return}if(ut.removeExistingApplet(Et,!1),ae.width===void 0&&Et.clientWidth&&(ae.width=Et.clientWidth),ae.height===void 0&&Et.clientHeight&&(ae.height=Et.clientHeight),!(ae.width&&ae.height)&&je==="html5"&&(delete ae.width,delete ae.height),He=je,je==="screenshot")mt(Et,ae);else{var Sn=!1;ae.hasOwnProperty("playButton")&&ae.playButton||ae.hasOwnProperty("clickToLoad")&&ae.clickToLoad?Sn=!0:ae.hasOwnProperty("playButtonAutoDecide")&&ae.playButtonAutoDecide&&(Sn=(!ne()||De())&&me()),Sn?(He="screenshot",Xe(Et,ae,ct,je)):yt(Et,ae,ct)}}};function ne(){try{return window.self!==window.top}catch(De){return!0}}function me(){return ae.hasOwnProperty("screenshotGenerator")&&ae.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ut.getViews=function(){return se},ut.isJavaInstalled=function(){return!1};var fe=function(De){var je=function(Xt){var ye=JSON.parse(Xt),wt=function(sn){return sn.type=="G"||sn.type=="E"},Et=ye.elements?ye.elements.filter(wt)[0]:ye;if(!Et||!Et.url){pt();return}ae.fileName=Et.url,Be(Et.settings||{}),se.is3D=!0;var Sn="https://www.geogebra.org/images/";ut.setPreviewImage(x||Et.previewUrl,Sn+"GeoGebra_loading.png",Sn+"applet_play.png"),De()},pt=function(){ae.onError&&ae.onError(),Pt("Error: Fetching material (id "+ae.material_id+") failed.",ae)},Qt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ct="/materials/"+ae.material_id+"?scope=basic";xe("https://"+Qt+"/api/proxy.php?path="+encodeURIComponent(ct),je,pt)};function Be(De){var je=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(pt){De[pt]=!!De[pt]}),je.forEach(function(pt){ae[pt]===void 0&&De[pt]!==void 0&&(ae[pt]=De[pt])}),ae.showToolBarHelp===void 0&&(ae.showToolBarHelp=ae.showToolBar)}function xe(De,je,pt){var Qt=new XMLHttpRequest;Qt.open("GET",De),Qt.onload=function(){je(Qt.responseText)},Qt.onerror=pt,Qt.send()}ut.isHTML5Installed=function(){return!0},ut.getLoadedAppletType=function(){return He},ut.setPreviewImage=function(De,je,pt){x=De,b=je,E=pt},ut.removeExistingApplet=function(De,je){var pt;typeof De=="string"&&(De=document.getElementById(De)),He=null;var Qt=null;for(pt=0;pt<De.childNodes.length;pt++){var ct=De.childNodes[pt],Xt=ct.className;Xt==="applet_screenshot"?je?(ct.style.display="block",He="screenshot"):ct.style.display="none":Xt!=="applet_scaler prerender"&&(De.removeChild(ct),Qt=Xt&&Xt.indexOf("appletParameters")!=-1?ct.id:null,pt--)}var ye=ae.id!==void 0?ae.id:Qt,wt=window[ye];wt&&typeof wt.getBase64=="function"&&(wt.remove(),window[ye]=null)},ut.refreshHitPoints=function(){if(te(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var De=ut.getAppletObject();return De&&typeof De.recalculateEnvironments=="function"?(De.recalculateEnvironments(),!0):!1},ut.startAnimation=function(){var De=ut.getAppletObject();return De&&typeof De.startAnimation=="function"?(De.startAnimation(),!0):!1},ut.stopAnimation=function(){var De=ut.getAppletObject();return De&&typeof De.stopAnimation=="function"?(De.stopAnimation(),!0):!1},ut.getAppletObject=function(){var De=ae.id!==void 0?ae.id:"ggbApplet";return window[De]},ut.resize=function(){};var Ae=function(De,je,pt){var Qt=document.createElement("param");Qt.setAttribute("name",je),Qt.setAttribute("value",pt),De.appendChild(Qt)},be=function(De){return De&&De!=="false"},yt=function(De,je,pt){te(re)<=4.2&&(pt=!0);var Qt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==re||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Qt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ct=document.createElement("div");ct.classList.add("appletParameters","notranslate");var Xt=je.width,ye=je.height;if(je.disableAutoScale=je.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():je.disableAutoScale,je.width!==void 0)if(te(re)<=4.4)be(je.showToolBar)&&(je.height-=7),be(je.showAlgebraInput)&&(je.height-=37),je.width<605&&be(je.showToolBar)&&(je.width=605,Xt=605);else{var wt=100;(be(je.showToolBar)||be(je.showMenuBar))&&(je.hasOwnProperty("customToolBar")&&(je.customToolbar=je.customToolBar),wt=be(je.showMenuBar)?245:155),Xt<wt&&(je.width=wt,Xt=wt)}ct.style.border="none",ct.style.display="inline-block";for(var Et in je)je.hasOwnProperty(Et)&&Et!=="appletOnLoad"&&ct.setAttribute("data-param-"+Et,je[Et]);z&&ct.setAttribute("data-param-fontscssurl",z),ut.resize=function(){GGBAppletUtils.responsiveResize(De,je)},window.addEventListener("resize",function(Ce){ut.resize()});var Sn=typeof je.appletOnLoad=="function"?je.appletOnLoad:function(){};if(!pt&&je.width!==void 0){je.hasOwnProperty("showSplash")||ct.setAttribute("data-param-showSplash","false");var sn=De.querySelector(".applet_scaler.prerender"),We=sn!==null;if(We)var Te=sn.querySelector(".ggb_preview");else{var Te=bt(Xt,ye,je.borderColor,!1);sn=document.createElement("div"),sn.className="applet_scaler",sn.style.position="relative",sn.style.display="block",sn.style.width=Xt+"px",sn.style.height=ye+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(sn,"66%"),te(re)>=5?(je.appletOnLoad=function(Ce){var Ke=De.querySelector(".ggb_preview");Ke&&Ke.parentNode.removeChild(Ke),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(sn),window.GGBT_wsf_view&&$(window).trigger("resize"),Sn(Ce)},We||sn.appendChild(Te)):ct.appendChild(Te),sn.appendChild(ct),We||De.appendChild(sn),setTimeout(function(){ut.resize()},1)}else{var pe=document.createElement("div");pe.className="applet_scaler",pe.style.position="relative",pe.style.display="block",pe.appendChild(ct),De.appendChild(pe),je.appletOnLoad=function(Ce){ut.resize(),Sn(Ce)}}function ue(Ce,Ke){Ke&&typeof Ke.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ce,Ke.appletOnLoad):renderGGBElement(Ce),Pt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ke)}function Re(Ce,Ke){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ce,params:Ke}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(zt){ue(zt.article,zt.params)}),html5AppletsToProcess=null)},te(re)<5&&(Ce.className+=" geogebraweb")):ue(Ce,Ke)}if(Qt){scriptLoadStarted=!0;for(var gt=0;gt<ct.childNodes.length;gt++){var Pe=ct.childNodes[gt].tagName;Pe==="TABLE"&&(ct.removeChild(ct.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var he=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');he!=null&&he.parentNode.removeChild(he)}var Je=document.createElement("script"),ke=function(){Re(ct,je)};Je.src=_e+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=re,ggbHTML5LoadedScript=Je.src,Pt("GeoGebra HTML5 codebase loaded: '"+_e+"'.",je),!ie&&(!Oe||Oe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ke()):_e.requirejs?__webpack_require__.e(4184).then(function(){var Ce=[__webpack_require__(74620)];ke.apply(null,Ce)}.bind(this)).catch(__webpack_require__.oe):(Je.onload=ke,De.appendChild(Je))}else Re(ct,je);je.height=ye,je.width=Xt},mt=function(De,je,pt){var Qt=bt(je.width,je.height,je.borderColor,pt),ct=document.createElement("div");ct.style.position="relative",ct.style.display="block",ct.style.width=je.width+"px",ct.style.height=je.height+"px",ct.className="applet_screenshot applet_scaler"+(pt?" applet_screenshot_play":""),ct.appendChild(Qt);var Xt=GGBAppletUtils.getScale(je,De,pt);pt?(De.appendChild(et()),window.GGBT_wsf_view||(De.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ct,"66%"),De.appendChild(ct),Xt!==1&&!isNaN(Xt)&&(GGBAppletUtils.scaleElement(ct,Xt),ct.style.width=je.width+"px",ct.style.height=je.height+"px",ct.parentNode.style.width=je.width*Xt+"px",ct.parentNode.style.height=je.height*Xt+"px"),ut.resize=function(){Jt(De,Qt,ct,pt)},window.addEventListener("resize",function(ye){ut.resize()}),ut.resize()};function Jt(De,je,pt,Qt){if(De.contains(je)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(De.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(De)}var ct=GGBAppletUtils.getScale(ae,De,Qt);pt.parentNode!==null&&(!isNaN(ct)&&ct!==1?(GGBAppletUtils.scaleElement(pt,ct),pt.parentNode.style.width=ae.width*ct+"px",pt.parentNode.style.height=ae.height*ct+"px"):(GGBAppletUtils.scaleElement(pt,1),pt.parentNode.style.width=ae.width+"px",pt.parentNode.style.height=ae.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()}}ut.onExitFullscreen=function(De,je){je.appendChild(De)};var Xe=function(De,je,pt,Qt){mt(De,je,!0);for(var ct=function(){var wt=[];for(ye=0;ye<De.childNodes.length;ye++)wt.push(De.childNodes[ye]);if(window.GGBT_wsf_view){var Et=window.GGBT_wsf_view.renderFullScreen(De,je.id),Sn=document.getElementById("fullscreencontainer"),sn=jQuery(De).find(".fullscreencontent");sn.length>0?(Et.remove(),sn.attr("id","fullscreencontent").show(),jQuery(Sn).append(sn),window.dispatchEvent(new Event("resize"))):yt(Et,je,!1),window.GGBT_wsf_view.launchFullScreen(Sn)}else He=Qt,yt(De,je,!1);if(!window.GGBT_wsf_view)for(ye=0;ye<wt.length;ye++)De.removeChild(wt[ye])},Xt=De.getElementsByClassName("ggb_preview_play"),ye=0;ye<Xt.length;ye++)Xt[ye].addEventListener("click",ct,!1),Xt[ye].addEventListener("ontouchstart",ct,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(De),me()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},et=function(){var De=document.createElement("div");if(De.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var je='.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=je:pt.appendChild(document.createTextNode(je)),document.getElementsByTagName("head")[0].appendChild(pt)}return De},bt=function(De,je,pt,Qt){var ct=document.createElement("div");ct.className="ggb_preview",ct.style.position="absolute",ct.style.zIndex="90",ct.style.width=De-2+"px",ct.style.height=je-2+"px",ct.style.top="0px",ct.style.left="0px",ct.style.overflow="hidden",ct.style.backgroundColor="white";var Xt="lightgrey";pt!==void 0&&(pt==="none"?Xt="transparent":Xt=pt),ct.style.border="1px solid "+Xt;var ye=document.createElement("img");if(ye.style.position="relative",ye.style.zIndex="1000",ye.style.top="-1px",ye.style.left="-1px",x!==null&&ye.setAttribute("src",x),ye.style.opacity=.7,b!==null){var wt,Et,Sn;if(!Qt){wt=document.createElement("img"),wt.style.position="absolute",wt.style.zIndex="1001",wt.style.opacity=1,ye.style.opacity=.3,Et=360,Et>De/4*3&&(Et=De/4*3),Sn=Et/5.8,wt.setAttribute("src",b),wt.setAttribute("width",Et),wt.setAttribute("height",Sn);var sn=(De-Et)/2,We=(je-Sn)/2;wt.style.left=sn+"px",wt.style.top=We+"px",ct.appendChild(wt)}}return ct.appendChild(ye),ct},Gt=function(De){return De=De.toLowerCase(),De==="html5"||De==="screenshot"?De:"html5"},Ft=["web","webSimple","web3d","tablet","tablet3d","phone"],Zt=function(De,je){if(re=De,je){Ue(re,!0);return}var pt=!ve;if(pt){var Qt=te(re);!isNaN(Qt)&&Qt<4.4&&(pt=!1)}var ct,Xt;window.location.protocol.substr(0,4)==="http"?ct=window.location.protocol:ct="http:";var ye=re.indexOf("//");ye>0?Xt=re:ye===0?Xt=ct+re:Xt="https://www.geogebra.org/apps/5.2.814.0/";for(var wt in Ft)if(re.slice(Ft[wt].length*-1)===Ft[wt]||re.slice((Ft[wt].length+1)*-1)===Ft[wt]+"/"){Ue(Xt,!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(ae.showToolBar)&&!be(ae.showMenuBar)&&!be(ae.showAlgebraInput)&&!be(ae.enableRightClick)&&(!ae.appName||ae.appName=="classic")?Xt+="webSimple/":Xt+="web3d/",Ue(Xt,!1)},Ue=function(De,je){if(De.requirejs){_e=De;return}De.slice(-1)!=="/"&&(De+="/"),_e=De,je===null&&(je=De.indexOf("http")===-1),dt=je,y="web.nocache.js",a=!1;var pt=_e.split("/");pt.length>1&&(!je&&pt[pt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Ft.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 Qt=parseFloat(re);Qt!==NaN&&Qt<5&&De.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qt+" is deprecated. Using version latest instead."),Zt("5.0",je))},Pt=function(De,je){window.console&&window.console.log&&(!je||typeof je.showLogging=="undefined"||je.showLogging&&je.showLogging!=="false")&&console.log(De)};ae.material_id!==void 0?fe(Tt):Tt();function Tt(){var De=At;Oe!==null?De=Oe:parseFloat(De)<5&&(De="5.0"),Zt(De,!1),ie!==null&&Ue(ie,dt),Ie=!0}return ut},GGBAppletUtils=function(){"use strict";function ut(){return window.GGBT_wsf_edit!==void 0}function At(Ie,Oe){Oe!=1?(Ie.style.transformOrigin="0% 0% 0px",Ie.style.webkitTransformOrigin="0% 0% 0px",Ie.style.transform="scale("+Oe+","+Oe+")",Ie.style.webkitTransform="scale("+Oe+","+Oe+")",Ie.style.maxWidth="initial",Ie.querySelector(".ggb_preview")!==null&&(Ie.querySelector(".ggb_preview").style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ie.style.transform="none",Ie.style.webkitTransform="none")}function ae(Ie,Oe,ie,lt,rt,nt){var _e=null;if(nt!=null&&nt!="")for(var dt=Ie.parentNode;dt!=null;)if((" "+dt.className+" ").indexOf(" "+nt+" ")>-1){_e=dt;break}else dt=dt.parentNode;var He=0,re=0,y=0,a=0,x=0,b=0,E=0;if(_e)He=_e.offsetWidth,re=Math.max(lt?_e.offsetWidth:0,_e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(He=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),y=He):(He=window.innerWidth,re=window.innerHeight,y=window.innerWidth),Ie){var z=Ie.getBoundingClientRect();z.left>0&&z.left<=He&&(rt===void 0||!rt)&&(document.dir==="rtl"?(x=He-z.width-z.left,b=y<=480?10:30):(b=z.left,x=y<=480?10:30),a=b+x)}if(Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=Ie.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,E=40)}}return Ie&&((ie===void 0||!ie)&&Oe>0&&Oe+a<He?He=Oe:He-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie===void 0||!ie)&&(re-=E)),{width:He,height:re}}function se(Ie,Oe,ie,lt,rt){if(Ie.isScreenshoGenerator)return 1;var nt=lt!==void 0&<,_e=Ie.noScaleMargin!=null&&Ie.noScaleMargin,dt=function(ee){return ee&&ee!=="false"},He=dt(Ie.autoHeight),re=ae(Oe,Ie.width,ie,He,nt&&window.GGBT_wsf_view||_e,rt),y=parseInt(re.width),a=Ie.width,x=Ie.height;if(a===void 0){var b=Oe.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 ve(Ie,Oe,ie){var lt=1,rt,nt=!1;if(Ie.hasOwnProperty("allowUpscale")&&(nt=Ie.allowUpscale),Ie.hasOwnProperty("scale")&&(lt=parseFloat(Ie.scale),(isNaN(lt)||lt===null||lt===0)&&(lt=1),lt>1&&(nt=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(nt=!0),!(Ie.hasOwnProperty("disableAutoScale")&&Ie.disableAutoScale))rt=se(Ie,Oe,nt,ie,Ie.scaleContainerClass);else return lt;return nt&&(!Ie.hasOwnProperty("scale")||lt===1)?rt:Math.min(lt,rt)}function Me(Ie){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),lt=Ie.getBoundingClientRect(),rt=(Oe-lt.width)/2,nt=(ie-lt.height)/2;nt<0&&(nt=0),Ie.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(rt<40?Ie.style.left="40px":Ie.style.left=rt+"px",Ie.style.top=nt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(nt<40?Ie.style.top="40px":Ie.style.top=nt+"px",Ie.style.left=rt+"px")}function at(Ie,Oe){var ie=Ie.querySelector(".appletParameters");if(ie){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==ie.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ie)}if(ie.parentElement&&/fullscreen/.test(ie.parentElement.className))return;var lt=ve(Oe,Ie);ut()&&ie.setAttribute("data-param-scale",lt);for(var rt=null,nt=0;nt<Ie.childNodes.length;nt++)if(Ie.childNodes[nt].className!==void 0&&Ie.childNodes[nt].className.match(/^applet_scaler/)){rt=Ie.childNodes[nt];break}if(rt!==null&&rt.querySelector(".noscale")!==null)return;var _e=Oe.id!==void 0?Oe.id:"ggbApplet",dt=window[_e];(dt==null||!dt.recalculateEnvironments)&&rt!==null&&!rt.className.match(/fullscreen/)&&(rt.parentNode.style.transform="",!isNaN(lt)&<!==1?(rt.parentNode.style.width=Oe.width*lt+"px",rt.parentNode.style.height=Oe.height*lt+"px",At(rt,lt)):(At(rt,1),rt.parentNode.style.width=Oe.width+"px",rt.parentNode.style.height=Oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Me(Ie),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ie).parents(".content-added-content"))}}return{responsiveResize:at,isFlexibleWorksheetEditor:ut,positionCenter:Me,getScale:ve,scaleElement:At}}();__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 ut=n.location.search;return ut.indexOf(J)!=-1||ut.indexOf(K)!=-1}function q(ut,At){}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(ut){var At=s[L].bindings;s[L].bindings=function(){for(var ae=At?At():{},se=ut[webModule.__softPermutationId],ve=O;ve<se.length;ve++){var Me=se[ve];ae[Me[O]]=Me[P]}return ae}};var t;function u(){return v(),t}function v(){if(!t){var ut=o.createElement(Q);if(ut.id=L,ut.style.cssText=R+S,ut.tabIndex=-1,o.body.appendChild(ut),t=ut.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var At=document.compatMode==U?V:W;t.write(At+X),t.close()}}}function w(ut){function At(se){function ve(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Me=ve();if(Me){se();return}function at(){if(!Me){if(!ve())return;Me=!0,se(),o.removeEventListener&&o.removeEventListener(Z,at,!1),Ie&&clearInterval(Ie)}}o.addEventListener&&o.addEventListener(Z,at,!1);var Ie=setInterval(function(){at()},$)}function ae(se){var ve=u(),Me=ve.body,at=ve.createElement(_);at.language=ab,at.crossOrigin=W,at.src=se,webModule.__errFn&&(at.onerror=function(){webModule.__errFn(L,new Error(bb+se))}),Me.appendChild(at)}At(function(){ae(ut)})}webModule.__startLoadingFragment=function(ut){return C(ut)},webModule.__installRunAsyncCode=function(ut){var At=u(),ae=At.body,se=At.createElement(_);se.language=ab,se.text=ut,ae.appendChild(se),ae.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(ut){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ut){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ut){var At=c[ut];return At==null?null:At},r=d,webModule.__errFn=e}function B(){function ut(Ie){var Oe=Ie.lastIndexOf(rb);Oe==-1&&(Oe=Ie.length);var ie=Ie.indexOf(sb);ie==-1&&(ie=Ie.length);var lt=Ie.lastIndexOf(tb,Math.min(ie,Oe));return lt>=O?Ie.substring(O,lt+P):W}function At(Ie){if(!Ie.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=Ie+vb,Ie=ut(Oe.src)}return Ie}function ae(){var Ie=__gwt_getMetaProperty(wb);return Ie!=null?Ie:W}function se(){for(var Ie=o.getElementsByTagName(_),Oe=O;Oe<Ie.length;++Oe)if(Ie[Oe].src.indexOf(xb)!=-1)return ut(Ie[Oe].src);return W}function ve(){var Ie=o.getElementsByTagName(yb);return Ie.length>O?Ie[Ie.length-P].href:W}function Me(){var Ie=o.location;return Ie.href==Ie.protocol+zb+Ie.host+Ie.pathname+Ie.search+Ie.hash}var at=ae();return at==W&&(at=se()),at==W&&(at=ve()),at==W&&Me()&&(at=ut(o.location.href)),at=At(at),at}function C(ut){return ut.match(/^\//)||ut.match(/^[a-zA-Z]+:\/\//)?ut:webModule.__moduleBase+ut}function D(){var ut=[],At=O,ae=[],se=[];function ve(Ie){var Oe=se[Ie](),ie=ae[Ie];if(Oe in ie)return Oe;var lt=[];for(var rt in ie)lt[ie[rt]]=rt;throw r&&r(Ie,lt,Oe),null}if(__gwt_isKnownPropertyValue=function(Ie,Oe){return Oe in ae[Ie]},webModule.__getPropMap=function(){var Ie={};for(var Oe in ae)ae.hasOwnProperty(Oe)&&(Ie[Oe]=ve(Oe));return Ie},webModule.__computePropValue=ve,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Me;try{Me=Cb;var at=Me.indexOf(Db);at!=-1&&(At=parseInt(Me.substring(at+P),$),Me=Me.substring(O,at))}catch(Ie){}return webModule.__softPermutationId=At,C(Me+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(ut,At,ae){"use strict";ae.d(At,{Ax:function(){return at},Ds:function(){return Ie},KI:function(){return ie},SI:function(){return Me},f1:function(){return ve}});var se=ae(3294);function ve(lt){let rt=!0;if(lt.length>0){for(let nt=0;nt<lt.length;nt++)if(lt[nt].compile_success==0||!lt[nt].compile_success){rt=!1;break}}else rt=!1;return rt}function Me(lt,rt=""){let nt=[];for(let _e=0;_e<lt.length;_e++){let dt=lt[_e],He=rt?`${rt}/${dt.name}`:`${dt.name}`;nt.push({title:dt.name,type:dt.type,isLeaf:dt.type!=="tree",key:He})}return nt}function at(lt,rt,nt){for(let _e=0;_e<lt.length;_e++){let dt=lt[_e];if(dt.key===rt){dt.children=nt;break}dt.children&&at(dt.children,rt,nt)}return lt}function Ie(lt,rt,nt){let _e;return function(){let dt=this,He=arguments,re=function(){_e=null,nt||lt.apply(dt,He)},y=nt&&!_e;clearTimeout(_e),_e=setTimeout(re,rt),y&<.apply(dt,He)}}const Oe=!0,ie=se.Z.API_SERVER},73524:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return _e}});var se=ae(59301),ve={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Me=ae(92310),at=ae.n(Me),Ie=ae(71418),Oe=ae(2859),ie=ae(99064),lt=ae(955),rt=(dt,He,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(dt,He)).next())}),_e=({data:dt,className:He,fullWidth:re,style:y={},onClose:a,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,se.useRef)(null),ee=(0,se.useRef)(null),te=(0,se.useRef)(null),ne=(0,se.useRef)(null),[me,fe]=(0,se.useState)(!1),[Be,xe]=(0,se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,se.useEffect)(()=>{te.current||(te.current=document.createElement("style"),document.head.appendChild(te.current)),dt!=null&&dt.visible?(document.body.setAttribute("data-custom","y-hidden"),te.current.innerHTML=" html { overflow-y: hidden; }",dt!=null&&dt.src&&Ae()):(document.body.removeAttribute("data-custom"),te.current&&(document.head.removeChild(te.current),te.current=null))},[dt==null?void 0:dt.visible]);const Ae=()=>rt(void 0,null,function*(){fe(!0),xe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Xe=yield(0,lt.ZJ)(dt==null?void 0:dt.src);z.current.src="",z.current.src=Xe,z.current.onload=function(){Jt()},fe(!1),xe("")}),be=()=>{document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",a()},yt=Xe=>rt(void 0,null,function*(){fe(!0),xe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const et=yield(0,ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:dt.title,file:Xe.dataUrl}});et!=null&&et.id&&!E?(yield(0,ie.ZP)(`/api/attachments/${dt.id}/add_subitem.json`,{method:"post",body:{subitem_id:et==null?void 0:et.id,settings:JSON.stringify(Xe.state)}})).status===0&&x():et!=null&&et.id&&x(et),document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",fe(!1),xe("")}),mt=()=>{const Xe=document.querySelector('a[href="https://markerjs.com/"]');Xe&&Xe.parentNode&&(Xe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(bt=>{const Gt=document.querySelector(bt.name);Gt&&Gt.setAttribute("title",bt.title)})},Jt=()=>{ee.current=new Oe.hP(z.current),ee.current.targetRoot=ne.current,ee.current.addEventListener("render",yt),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(),dt!=null&&dt.snapshotData&&ee.current.restoreState(dt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),mt()},300)};return se.createElement(se.Fragment,null,(dt==null?void 0:dt.visible)&&se.createElement(Ie.Z,{spinning:me,tip:Be,style:{position:"absolute"}},se.createElement("div",{ref:ne,className:at()(ve.imageDimensions,He,re?ve.fullWidth:""),style:y},se.createElement("img",{className:ve.img,ref:z}))))}},41588:function(ut,At,ae){"use strict";var se=ae(59301),ve=ae(95237),Me=ae(43604),at=ae(99313),Ie=ae(3113),Oe=ae(85149),ie=ae(88010),lt=ae(48136),rt=ae(59301);const nt=(0,se.forwardRef)(({callback:_e,showSaveButton:dt,value:He=""},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:rt.createElement(ve.Z,{className:ie.Z.lists,gutter:[10,10]},a.map((ee,te)=>rt.createElement(Me.Z,{flex:"110px",className:ie.Z.item},rt.createElement("div",null,rt.createElement(Oe.Z,{value:`$$${ee.value}$$`}),ee.name),rt.createElement("div",{className:ie.Z.children},ee.children.map((ne,me)=>rt.createElement("div",{key:me},rt.createElement("h1",null,ne.name),rt.createElement(ve.Z,{gutter:[10,10]},ne.data.map((fe,Be)=>rt.createElement(Me.Z,{key:Be,onClick:()=>b(fe),className:ie.Z.diamond},rt.createElement(Oe.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:rt.createElement(ve.Z,{className:ie.Z.lists,gutter:[10,10]},x.map((ee,te)=>rt.createElement(Me.Z,{flex:"110px",className:ie.Z.item},rt.createElement("div",null,rt.createElement(Oe.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),rt.createElement("div",{className:ie.Z.children},ee.children.map((ne,me)=>rt.createElement("div",{key:me},ne.name&&rt.createElement("h1",null,ne.name),rt.createElement(ve.Z,{gutter:[10,10]},ne.data.map((fe,Be)=>rt.createElement(Me.Z,{key:Be,onClick:()=>b(fe),className:ie.Z.diamond},rt.createElement(Oe.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=y.current.getValue();var te=ee.innerText;return _e&&_e(te),te};return(0,se.useImperativeHandle)(re,()=>({getData:z})),rt.createElement("div",{className:ie.Z.mathWrap},rt.createElement(at.default,{defaultActiveKey:"1",items:E}),rt.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}},He||""),dt&&rt.createElement("div",{className:ie.Z.button},rt.createElement(Ie.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});At.Z=nt},97692:function(ut,At,ae){"use strict";ae.d(At,{h:function(){return ee}});var se=ae(59301),ve=ae(57809),Me=ae(78241),at=ae(3113),Ie=ae(89780),Oe=ae.n(Ie),ie=ae(37036),lt=ae(95625),rt=Object.defineProperty,nt=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,y=(te,ne,me)=>ne in te?rt(te,ne,{enumerable:!0,configurable:!0,writable:!0,value:me}):te[ne]=me,a=(te,ne)=>{for(var me in ne||(ne={}))He.call(ne,me)&&y(te,me,ne[me]);if(dt)for(var me of dt(ne))re.call(ne,me)&&y(te,me,ne[me]);return te},x=(te,ne)=>nt(te,_e(ne));const b=ve.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"]};At.Z=({callback:te,onCancel:ne})=>{const[me,fe]=(0,se.useState)("python");function Be(Ae){fe(z[Ae][1])}function xe(Ae){te(Ae)}return se.createElement(Me.default,x(a({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:xe,style:{width:500}}),se.createElement(Me.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},se.createElement(ve.default,{getPopupContainer:Ae=>Ae.parentNode,onChange:Be},Object.keys(z).map(Ae=>se.createElement(b,{key:Ae,value:Ae},z[Ae][0])))),se.createElement(Me.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},se.createElement(ee,{mode:me})),se.createElement("div",{className:"flex-container flex-end"},se.createElement(at.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(at.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function ee({value:te,onChange:ne,mode:me,options:fe={}}){const Be=(0,se.useRef)(),[xe,Ae]=(0,se.useState)();return(0,se.useEffect)(()=>{if(xe){let be=function(yt){const mt=yt.getValue();ne&&ne(mt)};return xe.on("change",be),()=>{xe.off("change",be)}}},[xe,ne]),(0,se.useEffect)(()=>{xe&&xe.setOption("mode",me)},[xe,me]),(0,se.useEffect)(()=>{xe&&(te!==xe.getValue()||te==="")&&setTimeout(()=>{xe.setValue(te||"")},300)},[xe,te]),(0,se.useEffect)(()=>{if(Be.current&&!xe){const be=Oe().fromTextArea(Be.current,a({mode:me,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));Ae(be)}},[Be.current,xe]),se.createElement("div",{className:"my-codemirror-container"},se.createElement("textarea",{ref:Be}))}},12290:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return Xn}});var se=ae(59301),ve=ae(89780),Me=ae.n(ve),at=ae(76374),Ie=ae(37036),Oe=ae(6313),ie=ae(25717),lt=ae(99498),rt=ae(25419),nt=ae(67549),_e=ae(85149),dt=({value:Ve="",className:qe,showTextOnly:$e,showLines:Mt,style:on={}})=>{const Kt=(0,se.useMemo)(()=>"",[Ve]);return se.createElement(se.Fragment,null,se.createElement("div",{dangerouslySetInnerHTML:{__html:Kt}}))},He=ae(59301),re=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(Ve,qe,$e)=>qe in Ve?re(Ve,qe,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ve[qe]=$e,ee=(Ve,qe)=>{for(var $e in qe||(qe={}))b.call(qe,$e)&&z(Ve,$e,qe[$e]);if(x)for(var $e of x(qe))E.call(qe,$e)&&z(Ve,$e,qe[$e]);return Ve},te=(Ve,qe)=>y(Ve,a(qe));let ne=[{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 me({onActionCallback:Ve,title:qe,icon:$e,actionName:Mt,className:on="",children:Kt}){function oa(){Ve(Mt)}return He.createElement("a",{title:qe,className:on,onClick:oa},He.createElement("i",{className:`${$e}`}),Kt)}var fe=({watch:Ve,showNullButton:qe,showNullProgramButton:$e,onActionCallback:Mt,fullScreen:on,insertTemp:Kt,hidetoolBar:oa,extraUse:Mn})=>{const En=[...ne,{title:`${Ve?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ve?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return He.createElement("ul",{className:"markdown-toolbar-container"},!oa&&En.map((da,ta)=>He.createElement("li",{key:ta},da.actionName?He.createElement(me,te(ee({},da),{onActionCallback:Mt})):He.createElement("span",{className:"v-line"}))),qe?He.createElement("li",null,He.createElement(me,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Mt},He.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,$e?He.createElement(He.Fragment,null,He.createElement("li",null,He.createElement(me,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Mt},He.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),He.createElement("li",null,He.createElement(me,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Mt},He.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Kt&&He.createElement("li",null,He.createElement(me,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Kt}`,onActionCallback:Mt},He.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Mn&&He.createElement("li",null,Mn),He.createElement("li",{className:"btn-full-screen"},He.createElement(me,{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=ae(79346),xe=ae(78241),Ae=ae(92832),be=ae(3113),yt=Object.defineProperty,mt=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Gt=(Ve,qe,$e)=>qe in Ve?yt(Ve,qe,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ve[qe]=$e,Ft=(Ve,qe)=>{for(var $e in qe||(qe={}))et.call(qe,$e)&&Gt(Ve,$e,qe[$e]);if(Xe)for(var $e of Xe(qe))bt.call(qe,$e)&&Gt(Ve,$e,qe[$e]);return Ve},Zt=(Ve,qe)=>mt(Ve,Jt(qe));const Ue={labelCol:{span:4},wrapperCol:{span:20}};var Pt=({callback:Ve,onCancel:qe})=>{function $e(Mt){Ve(Mt)}return se.createElement(xe.default,Zt(Ft({},Ue),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:$e,style:{width:500}}),se.createElement(xe.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(xe.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:qe},"\u53D6\u6D88")))},Tt=ae(97692),De=ae(28451),je=ae(43418),pt=ae(95237),Qt=ae(73524),ct=ae(59301),Xt=({callback:Ve,onCancel:qe})=>{const $e=document.createElement("canvas"),Mt=$e.getContext("2d");$e.width=1e3,$e.height=800,Mt.fillStyle="#ffffff",Mt.fillRect(0,0,$e.width,$e.height);const on=$e.toDataURL("image/png");return ct.createElement(je.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ct.createElement(pt.Z,{style:{height:"100vh"}},ct.createElement(Qt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:on,visible:!0,title:String(Date.now())},onOk:Kt=>{Ve({src:Kt.url})},onClose:qe})))},ye=ae(12378);function wt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(wt,go.CommandHandler),wt.prototype.canAlignSelection=function(){var Ve=this.diagram;return!(Ve===null||Ve.isReadOnly||Ve.isModelReadOnly||Ve.selection.count<2)},wt.prototype.alignLeft=function(){var Ve=this.diagram;Ve.startTransaction("aligning left");var qe=1/0;Ve.selection.each(function($e){$e instanceof go.Link||(qe=Math.min($e.position.x,qe))}),Ve.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point(qe,$e.position.y))}),Ve.commitTransaction("aligning left")},wt.prototype.alignRight=function(){var Ve=this.diagram;Ve.startTransaction("aligning right");var qe=-1/0;Ve.selection.each(function($e){if(!($e instanceof go.Link)){var Mt=$e.actualBounds.x+$e.actualBounds.width;qe=Math.max(Mt,qe)}}),Ve.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point(qe-$e.actualBounds.width,$e.position.y))}),Ve.commitTransaction("aligning right")},wt.prototype.alignTop=function(){var Ve=this.diagram;Ve.startTransaction("alignTop");var qe=1/0;Ve.selection.each(function($e){$e instanceof go.Link||(qe=Math.min($e.position.y,qe))}),Ve.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point($e.position.x,qe))}),Ve.commitTransaction("alignTop")},wt.prototype.alignBottom=function(){var Ve=this.diagram;Ve.startTransaction("aligning bottom");var qe=-1/0;Ve.selection.each(function($e){if(!($e instanceof go.Link)){var Mt=$e.actualBounds.y+$e.actualBounds.height;qe=Math.max(Mt,qe)}}),Ve.selection.each(function($e){$e instanceof go.Link||$e.move(new go.Point($e.actualBounds.x,qe-$e.actualBounds.height))}),Ve.commitTransaction("aligning bottom")},wt.prototype.alignCenterX=function(){var Ve=this.diagram,qe=Ve.selection.first();if(qe){Ve.startTransaction("aligning Center X");var $e=qe.actualBounds.x+qe.actualBounds.width/2;Ve.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point($e-Mt.actualBounds.width/2,Mt.actualBounds.y))}),Ve.commitTransaction("aligning Center X")}},wt.prototype.alignCenterY=function(){var Ve=this.diagram,qe=Ve.selection.first();if(qe){Ve.startTransaction("aligning Center Y");var $e=qe.actualBounds.y+qe.actualBounds.height/2;Ve.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point(Mt.actualBounds.x,$e-Mt.actualBounds.height/2))}),Ve.commitTransaction("aligning Center Y")}},wt.prototype.alignColumn=function(Ve){var qe=this.diagram;qe.startTransaction("align Column"),Ve===void 0&&(Ve=0),Ve=parseFloat(Ve);var $e=new Array;qe.selection.each(function(Mn){Mn instanceof go.Link||$e.push(Mn)});for(var Mt=0;Mt<$e.length-1;Mt++){var on=$e[Mt],Kt=on.actualBounds.y+on.actualBounds.height+Ve,oa=$e[Mt+1];oa.move(new go.Point(on.actualBounds.x,Kt))}qe.commitTransaction("align Column")},wt.prototype.alignRow=function(Ve){Ve===void 0&&(Ve=0),Ve=parseFloat(Ve);var qe=this.diagram;qe.startTransaction("align Row");var $e=new Array;qe.selection.each(function(Mn){Mn instanceof go.Link||$e.push(Mn)});for(var Mt=0;Mt<$e.length-1;Mt++){var on=$e[Mt],Kt=on.actualBounds.x+on.actualBounds.width+Ve,oa=$e[Mt+1];oa.move(new go.Point(Kt,on.actualBounds.y))}qe.commitTransaction("align Row")},wt.prototype.canRotate=function(Ve){var qe=this.diagram;return!(qe===null||qe.isReadOnly||qe.isModelReadOnly||qe.selection.count<1)},wt.prototype.rotate=function(Ve){Ve===void 0&&(Ve=90);var qe=this.diagram;qe.startTransaction("rotate "+Ve.toString());var qe=this.diagram;qe.selection.each(function($e){$e instanceof go.Link||$e instanceof go.Group||($e.angle+=Ve)}),qe.commitTransaction("rotate "+Ve.toString())},wt.prototype.pullToFront=function(){var Ve=this.diagram;Ve.startTransaction("pullToFront");var qe=new go.Map;Ve.selection.each(function($e){qe.set($e.layer,0)}),qe.iteratorKeys.each(function($e){var Mt=0;$e.parts.each(function(on){if(!on.isSelected){var Kt=on.zOrder;isNaN(Kt)?on.zOrder=0:Mt=Math.max(Mt,Kt)}}),qe.set($e,Mt)}),Ve.selection.each(function($e){wt._assignZOrder($e,qe.get($e.layer)+1)}),Ve.commitTransaction("pullToFront")},wt.prototype.pushToBack=function(){var Ve=this.diagram;Ve.startTransaction("pushToBack");var qe=new go.Map;Ve.selection.each(function($e){qe.set($e.layer,0)}),qe.iteratorKeys.each(function($e){var Mt=0;$e.parts.each(function(on){if(!on.isSelected){var Kt=on.zOrder;isNaN(Kt)?on.zOrder=0:Mt=Math.min(Mt,Kt)}}),qe.set($e,Mt)}),Ve.selection.each(function($e){wt._assignZOrder($e,qe.get($e.layer)-1-wt._findGroupDepth($e))}),Ve.commitTransaction("pushToBack")},wt._assignZOrder=function(Ve,qe,$e){$e===void 0&&($e=Ve),Ve.layer===$e.layer&&(Ve.zOrder=qe),Ve instanceof go.Group&&Ve.memberParts.each(function(Mt){wt._assignZOrder(Mt,qe+1,$e)})},wt._findGroupDepth=function(Ve){if(Ve instanceof go.Group){var qe=0;return Ve.memberParts.each(function($e){qe=Math.max(qe,wt._findGroupDepth($e))}),qe+1}else return 0},wt.prototype.doKeyDown=function(){var Ve=this.diagram;if(Ve!==null){var qe=Ve.lastInput;if(qe.key==="Up"||qe.key==="Down"||qe.key==="Left"||qe.key==="Right"){var $e=this.arrowKeyBehavior;if($e==="none")return;if($e==="select"){this._arrowKeySelect();return}else if($e==="move"){this._arrowKeyMove();return}else if($e==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},wt.prototype._getAllParts=function(){var Ve=new Array;return this.diagram.nodes.each(function(qe){Ve.push(qe)}),this.diagram.parts.each(function(qe){Ve.push(qe)}),Ve},wt.prototype._arrowKeyMove=function(){var Ve=this.diagram,qe=Ve.lastInput,$e=0,Mt=0;if(qe.control||qe.meta)$e=1,Mt=1;else if(Ve.grid!==null){var on=Ve.grid.gridCellSize;Mt=on.width,$e=on.height}Ve.startTransaction("arrowKeyMove"),Ve.selection.each(function(Kt){qe.key==="Up"?Kt.move(new go.Point(Kt.actualBounds.x,Kt.actualBounds.y-$e)):qe.key==="Down"?Kt.move(new go.Point(Kt.actualBounds.x,Kt.actualBounds.y+$e)):qe.key==="Left"?Kt.move(new go.Point(Kt.actualBounds.x-Mt,Kt.actualBounds.y)):qe.key==="Right"&&Kt.move(new go.Point(Kt.actualBounds.x+Mt,Kt.actualBounds.y))}),Ve.commitTransaction("arrowKeyMove")},wt.prototype._arrowKeySelect=function(){var Ve=this.diagram,qe=Ve.lastInput,$e=null;qe.key==="Up"?$e=this._findNearestPartTowards(270):qe.key==="Down"?$e=this._findNearestPartTowards(90):qe.key==="Left"?$e=this._findNearestPartTowards(180):qe.key==="Right"&&($e=this._findNearestPartTowards(0)),$e!==null&&(qe.shift?$e.isSelected=!0:qe.control||qe.meta?$e.isSelected=!$e.isSelected:Ve.select($e))},wt.prototype._findNearestPartTowards=function(Ve){var qe=this.diagram.selection.first();if(qe===null)return null;for(var $e=qe.actualBounds.center,Mt=this._getAllParts(),on=1/0,Kt=qe,oa=0;oa<Mt.length;oa++){var Mn=Mt[oa];if(Mn!==qe&&Mn.canSelect()){var En=Mn.actualBounds.center,da=$e.directionPoint(En),ta=this._angleCloseness(da,Ve);if(ta<=45){var Wt=$e.distanceSquaredPoint(En);Wt*=1+Math.sin(ta*Math.PI/180),Wt<on&&(on=Wt,Kt=Mn)}}}return Kt},wt.prototype._angleCloseness=function(Ve,qe){return Math.min(Math.abs(qe-Ve),Math.min(Math.abs(qe+360-Ve),Math.abs(qe-360-Ve)))},wt.prototype._arrowKeyTree=function(){var Ve=this.diagram,qe=Ve.selection.first();if(qe instanceof go.Node){var $e=Ve.lastInput;if($e.key==="Right"){if(!qe.isTreeLeaf)if(!qe.isTreeExpanded)Ve.commandHandler.canExpandTree(qe)&&Ve.commandHandler.expandTree(qe);else{var Mt=this._sortTreeChildrenByY(qe).first();Mt!==null&&Ve.select(Mt)}}else if($e.key==="Left")if(!qe.isTreeLeaf&&qe.isTreeExpanded)Ve.commandHandler.canCollapseTree(qe)&&Ve.commandHandler.collapseTree(qe);else{var on=qe.findTreeParentNode();on!==null&&Ve.select(on)}else if($e.key==="Up"){var on=qe.findTreeParentNode();if(on!==null){var Kt=this._sortTreeChildrenByY(on),oa=Kt.indexOf(qe);if(oa>0){for(var Mn=Kt.elt(oa-1);Mn!==null&&Mn.isTreeExpanded&&!Mn.isTreeLeaf;){var En=this._sortTreeChildrenByY(Mn);Mn=En.last()}Mn!==null&&Ve.select(Mn)}else Ve.select(on)}}else if($e.key==="Down")if(qe.isTreeExpanded&&!qe.isTreeLeaf){var Mt=this._sortTreeChildrenByY(qe).first();Mt!==null&&Ve.select(Mt)}else for(;qe!==null;){var on=qe.findTreeParentNode();if(on===null)break;var Kt=this._sortTreeChildrenByY(on),oa=Kt.indexOf(qe);if(oa<Kt.length-1){Ve.select(Kt.elt(oa+1));break}else qe=on}var da=Ve.selection.first();da!==null&&Ve.scrollToRect(da.actualBounds)}},wt.prototype._sortTreeChildrenByY=function(Ve){var qe=new go.List().addAll(Ve.findTreeChildrenNodes());return qe.sort(function($e,Mt){var on=$e.location,Kt=Mt.location;return on.y<Kt.y?-1:on.y>Kt.y?1:on.x<Kt.x?-1:on.x>Kt.x?1:0}),qe},wt.prototype.copyToClipboard=function(Ve){go.CommandHandler.prototype.copyToClipboard.call(this,Ve),this._lastPasteOffset.set(this.pasteOffset)},wt.prototype.pasteFromClipboard=function(){var Ve=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ve,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ve},Object.defineProperty(wt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ve){if(Ve!=="move"&&Ve!=="select"&&Ve!=="scroll"&&Ve!=="tree"&&Ve!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ve);this._arrowKeyBehavior=Ve}}),Object.defineProperty(wt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ve){if(!(Ve instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ve);this._pasteOffset.set(Ve)}});var Et=wt,Sn=ae(74413),sn=ae(43604),We=ae(99064),Te={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},pe=ae(59301),ue=(Ve,qe,$e)=>new Promise((Mt,on)=>{var Kt=En=>{try{Mn($e.next(En))}catch(da){on(da)}},oa=En=>{try{Mn($e.throw(En))}catch(da){on(da)}},Mn=En=>En.done?Mt(En.value):Promise.resolve(En.value).then(Kt,oa);Mn(($e=$e.apply(Ve,qe)).next())});function Re({onCancel:Ve,callback:qe}){let $e=(0,se.useRef)(),Mt=(0,se.useRef)(),on=(0,se.useRef)(),Kt=(0,se.useRef)(!1);const oa=(0,se.useRef)(!1),[Mn,En]=(0,se.useState)(0);function da(){const Wt=ye.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"};$e.current=new ye.S0(Mt.current,{padding:20,grid:Wt(ye.s_,"Grid",Wt(ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Wt(ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:pn=>{var na=pn.diagram.commandHandler.addTopLevelParts(pn.diagram.selection,!0);na||pn.diagram.currentTool.doCancel()},commandHandler:Wt(Et),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:pn=>{var na=pn.subject;na.location=na.location.copy().snapToGridPoint(pn.diagram.grid.gridOrigin,pn.diagram.grid.gridCellSize),setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:pn=>{var na=pn.subject;setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()})},LinkRelinked:pn=>{var na=pn.parameter.part;na.invalidateConnectedLinks();var Ba=pn.subject;pn.diagram.toolManager.linkingTool.isForwards?Ba.toNode.invalidateConnectedLinks():Ba.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),$e.current.nodeTemplate=Wt(ye.NB,"Auto",{locationSpot:ye.z6.Center,locationObjectName:"SHAPE",desiredSize:new ye.$u(120,60),minSize:new ye.$u(40,40),resizable:!0,resizeCellSize:new ye.$u(10,10),rotatable:!0},new ye.KX("location","loc",ye.E9.parse).makeTwoWay(ye.E9.stringify),new ye.KX("desiredSize","size",ye.$u.parse).makeTwoWay(ye.$u.stringify),Wt(ye.bn,{name:"SHAPE",fill:ka.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ye.z6.AllSides,toSpot:ye.z6.AllSides},new ye.KX("figure"),new ye.KX("fill"),new ye.KX("stroke","borderColor"),new ye.KX("strokeWidth","thickness"),new ye.KX("strokeDashArray","dash")),Wt(ye.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Wt(ye.al,{margin:1,textAlign:"center",overflow:ye.al.OverflowEllipsis,editable:!0},new ye.KX("text").makeTwoWay(),new ye.KX("stroke","color"))),$e.current.nodeTemplate.toolTip=Wt("ToolTip",Wt(ye.s_,"Vertical",{maxSize:new ye.$u(200,NaN)},Wt(ye.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ye.KX("text")),Wt(ye.al,{font:"10pt sans-serif",textAlign:"center"},new ye.KX("text","details"))));function po(pn,na){var Ba=(aa,ro)=>{aa.handled=!0,aa.diagram.model.commit(uo=>{var Oo=ro.part.adornedPart,qo=new ye.E9().setRectSpot(Oo.actualBounds,pn);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 Wt(ye.bn,{figure:na,alignment:pn,alignmentFocus:pn.opposite(),width:pn.equals(ye.z6.Top)||pn.equals(ye.z6.Bottom)?25:18,height:pn.equals(ye.z6.Top)||pn.equals(ye.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(pn){return Wt(ye.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(na,Ba)=>Ba.fill="dodgerblue",mouseLeave:(na,Ba)=>Ba.fill="orange",click:(na,Ba)=>{na.diagram.commandHandler.showContextMenu(Ba.part.adornedPart)}},pn||{})}$e.current.nodeTemplate.selectionAdornmentTemplate=Wt(ye.uz,"Spot",Wt(ye.Vm,{padding:10}),po(ye.z6.Top,"TriangleUp"),po(ye.z6.Left,"TriangleLeft"),po(ye.z6.Right,"TriangleRight"),po(ye.z6.Bottom,"TriangleDown"),Ya({alignment:new ye.z6(.75,0)}));function Ha(pn,na){return(Ba,aa)=>{Ba.handled=!0,Ba.diagram.model.commit(ro=>{ro.set(aa.part.adornedPart.data,pn,na)})}}function Wa(pn,na){return na||(na="color"),Wt(ye.bn,{width:16,height:16,stroke:"lightgray",fill:pn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.stroke="dodgerblue",mouseLeave:(Ba,aa)=>aa.stroke="lightgray",click:Ha(na,pn),contextClick:Ha(na,pn)})}function To(){return[Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Wa(ka.white,"fill"),Wa(ka.beige,"fill"),Wa(ka.extralightblue,"fill"),Wa(ka.extralightred,"fill"))),Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Wa(ka.lightgray,"fill"),Wa(ka.lightgreen,"fill"),Wa(ka.lightblue,"fill"),Wa(ka.lightred,"fill")))]}function zo(){return[Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Wa(ka.black),Wa(ka.green),Wa(ka.blue),Wa(ka.red))),Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Wa(ka.white),Wa(ka.magenta),Wa(ka.purple),Wa(ka.orange)))]}function Xo(pn,na){return na||(na="thickness"),Wt(ye.bn,"LineH",{width:16,height:16,strokeWidth:pn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.background="dodgerblue",mouseLeave:(Ba,aa)=>aa.background="transparent",click:Ha(na,pn),contextClick:Ha(na,pn)})}function $o(pn,na){return na||(na="dash"),Wt(ye.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:pn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.background="dodgerblue",mouseLeave:(Ba,aa)=>aa.background="transparent",click:Ha(na,pn),contextClick:Ha(na,pn)})}function er(){return[Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Xo(1),Xo(2),Xo(3),Xo(4))),Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",$o(null),$o([2,4]),$o([4,4])))]}function Co(pn,na){return na||(na="figure"),Wt(ye.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:pn,margin:1,background:"transparent",mouseEnter:(Ba,aa)=>aa.fill="dodgerblue",mouseLeave:(Ba,aa)=>aa.fill="lightgray",click:Ha(na,pn),contextClick:Ha(na,pn)})}$e.current.nodeTemplate.contextMenu=Wt("ContextMenu",Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Co("Rectangle"),Co("RoundedRectangle"),Co("Ellipse"),Co("Diamond"))),Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Co("Parallelogram2"),Co("ManualOperation"),Co("Procedure"),Co("Cylinder1"))),Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Co("Terminator"),Co("CreateRequest"),Co("Document"),Co("TriangleDown"))),To(),zo(),er()),$e.current.groupTemplate=Wt(ye.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ye.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(pn,na)=>{var Ba=na.addMembers(na.diagram.selection,!0);Ba||na.diagram.currentTool.doCancel()},avoidable:!1},new ye.KX("location","loc",ye.E9.parse).makeTwoWay(ye.E9.stringify),Wt(ye.s_,"Auto",{name:"BODY"},Wt(ye.bn,{parameter1:10,fill:ka.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ye.z6.AllSides,toSpot:ye.z6.AllSides},new ye.KX("fill"),new ye.KX("stroke","color"),new ye.KX("strokeWidth","thickness"),new ye.KX("strokeDashArray","dash")),Wt(ye.Vm,{background:"transparent",margin:20})),Wt(ye.al,{alignment:ye.z6.Top,alignmentFocus:ye.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ye.KX("text"),new ye.KX("stroke","color"))),$e.current.groupTemplate.selectionAdornmentTemplate=Wt(ye.uz,"Spot",Wt(ye.s_,"Auto",Wt(ye.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Wt(ye.Vm,{margin:1.5})),Ya({alignment:ye.z6.TopRight,alignmentFocus:ye.z6.BottomRight})),$e.current.groupTemplate.contextMenu=Wt("ContextMenu",To(),zo(),er()),$e.current.linkTemplate=Wt(ye.rU,{layerName:"Foreground",routing:ye.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ye.KX("fromSpot","fromSpot",ye.z6.parse),new ye.KX("toSpot","toSpot",ye.z6.parse),new ye.KX("fromShortLength","dir",pn=>pn>=1?10:0),new ye.KX("toShortLength","dir",pn=>pn>=1?10:0),new ye.KX("points").makeTwoWay(),Wt(ye.bn,{strokeWidth:2},new ye.KX("stroke","color"),new ye.KX("strokeWidth","thickness"),new ye.KX("strokeDashArray","dash")),Wt(ye.bn,{segmentIndex:0,segmentOffset:new ye.E9(15,0),segmentOrientation:ye.rU.OrientAlong,alignmentFocus:ye.z6.Right,figure:"circle",width:10,strokeWidth:0},new ye.KX("fill","color"),new ye.KX("visible","dir",pn=>pn===1)),Wt(ye.bn,{segmentIndex:-1,segmentOffset:new ye.E9(-10,6),segmentOrientation:ye.rU.OrientPlus90,alignmentFocus:ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ye.KX("fill","color"),new ye.KX("visible","dir",pn=>pn>=1),new ye.KX("width","thickness",pn=>7+3*pn),new ye.KX("height","thickness",pn=>7+3*pn),new ye.KX("segmentOffset","thickness",pn=>new ye.E9(-15,4+1.5*pn))),Wt(ye.bn,{segmentIndex:0,segmentOffset:new ye.E9(15,-6),segmentOrientation:ye.rU.OrientMinus90,alignmentFocus:ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ye.KX("fill","color"),new ye.KX("visible","dir",pn=>pn===2),new ye.KX("width","thickness",pn=>7+3*pn),new ye.KX("height","thickness",pn=>7+3*pn),new ye.KX("segmentOffset","thickness",pn=>new ye.E9(-15,4+1.5*pn))),Wt(ye.al,{alignmentFocus:new ye.z6(0,1,-4,0),editable:!0},new ye.KX("text").makeTwoWay(),new ye.KX("stroke","color"))),$e.current.linkTemplate.selectionAdornmentTemplate=Wt(ye.uz,Wt(ye.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:lr(2)},new ye.KX("pathPattern","thickness",lr)),Ya({alignmentFocus:new ye.z6(0,0,-6,-4)}));function lr(pn){return Wt(ye.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(pn+4).toString()+" H3"})}function yr(pn){var na="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return pn===0?na="M0 0 M16 16 M0 8 L16 8":pn===2&&(na="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Wt(ye.bn,{geometryString:na,margin:2,background:"transparent",mouseEnter:(Ba,aa)=>aa.background="dodgerblue",mouseLeave:(Ba,aa)=>aa.background="transparent",click:Ha("dir",pn),contextClick:Ha("dir",pn)})}function sr(pn){var na=(Ba,aa)=>{Ba.handled=!0,Ba.diagram.model.commit(ro=>{var uo=aa.part.adornedPart;ro.set(uo.data,pn?"toSpot":"fromSpot",ye.z6.stringify(ye.z6.AllSides)),(pn?uo.toNode:uo.fromNode).invalidateConnectedLinks()})};return Wt(ye.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(pn,na){var Ba=0,aa=ye.z6.RightSide;pn.equals(ye.z6.Top)?(Ba=270,aa=ye.z6.TopSide):pn.equals(ye.z6.Left)?(Ba=180,aa=ye.z6.LeftSide):pn.equals(ye.z6.Bottom)&&(Ba=90,aa=ye.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",ye.z6.stringify(aa)),(na?ar.toNode:ar.fromNode).invalidateConnectedLinks()})};return Wt(ye.bn,{alignment:pn,alignmentFocus:pn.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})}$e.current.linkTemplate.contextMenu=Wt("ContextMenu",zo(),er(),Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",yr(0),yr(1),yr(2))),Wt("ContextMenuButton",Wt(ye.s_,"Horizontal",Wt(ye.s_,"Spot",sr(!1),en(ye.z6.Top,!1),en(ye.z6.Left,!1),en(ye.z6.Right,!1),en(ye.z6.Bottom,!1)),Wt(ye.s_,"Spot",{margin:new ye.Zt(0,0,0,2)},sr(!0),en(ye.z6.Top,!0),en(ye.z6.Left,!0),en(ye.z6.Right,!0),en(ye.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(pn){return console.log("shapeName:",pn),Lr.indexOf(pn)>=0}var nr=new ye.YI(on.current,{maxSelectionCount:1,linkTemplate:Wt(ye.rU,{locationSpot:ye.z6.Center,selectionAdornmentTemplate:Wt(ye.uz,"Link",{locationSpot:ye.z6.Center},Wt(ye.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Wt(ye.bn,{toArrow:"Standard",stroke:null}))},{routing:ye.rU.AvoidsNodes,curve:ye.rU.JumpOver,corner:5,toShortLength:4},new ye.KX("points"),Wt(ye.bn,{isPanelMain:!0,strokeWidth:2}),Wt(ye.bn,{toArrow:"Standard",stroke:null})),model:new ye.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ye.bn.getFigureGenerators().toArray().map(pn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:pn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return $e.current.addDiagramListener("TextEdited",function(pn){var na;const Ba=pn.subject.part;var aa=(na=document.activeElement)==null?void 0:na.value;typeof aa=="string"&&aa.trim()===""&&$e.current.model.commit(function(ro){ro.set(Ba.data,"text","\u672A\u547D\u540D"),$e.current.commandHandler.stopCommand()},"increment")}),nr.nodeTemplate=Wt(ye.NB,"Auto",{locationSpot:ye.z6.Center},new ye.KX("location","location",ye.E9.parse).makeTwoWay(ye.E9.stringify),Wt(ye.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new ye.KX("stroke").makeTwoWay(),new ye.KX("fill").makeTwoWay(),new ye.KX("figure")),Wt(ye.al,{margin:new ye.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ye.$u(16,16),maxSize:new ye.$u(10,NaN),textAlign:"center",editable:!0},new ye.KX("key").makeTwoWay())),setTimeout(()=>{$e.current.grid=Wt(ye.s_,"Grid",Wt(ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Wt(ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),$e.current.grid.visible=!0,$e.current.grid.gridCellStroke="darkgray",$e.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=$e.current,$e.current}const ta=()=>ue(this,null,function*(){var Wt=$e.current.makeImage();const ka=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Wt.src}});qe({src:ka.url})});return(0,se.useEffect)(()=>(setTimeout(()=>{da()},500),En(Mn+1),()=>{$e.current=null}),[]),pe.createElement("div",{ref:oa,className:Kt.current?`${Te.maxH60} body-overflow-initial`:"body-overflow-initial"},pe.createElement(je.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Mn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:pe.createElement(pt.Z,null,pe.createElement(sn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),pe.createElement(sn.Z,{onClick:()=>{var Wt,ka,po=$e.current.selection.first();if(Kt.current=!Kt.current,document.activeElement&&po){let Ya=(ka=(Wt=document.activeElement)==null?void 0:Wt.value)==null?void 0:ka.trim();typeof Ya=="string"&&$e.current.model.commit(function(Ha){Ha.set(po.data,"text",Ya||"\u672A\u547D\u540D"),$e.current.commandHandler.stopCommand()},"increment")}En(Mn+1)}},pe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ve},pe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Te.flowChartWrp},pe.createElement("div",{style:{display:"flex",height:"100%"}},pe.createElement("div",{style:{width:"300px",height:"100%"}},pe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),pe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Te.myPaletteDiv,ref:on})),pe.createElement("div",{style:{flex:1,position:"relative"}},pe.createElement("div",{ref:Mt,style:{height:"80vh"}}))),pe.createElement("div",{className:"tr"},pe.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=Re,Pe=ae(5112),he=ae(5871);const Je=Pe.ZP.Group,ke={margin:"0 8px"};var Ce=({callback:Ve,onCancel:qe})=>{function $e(Mt){Ve(Mt)}return se.createElement(xe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:$e},se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},se.createElement("span",{style:ke},"\u5355\u5143\u683C\u6570\uFF1A"),se.createElement("span",{style:ke},"\u884C\u6570"),se.createElement(xe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},se.createElement(he.Z,null)),se.createElement("span",{style:ke},"\u5217\u6570"),se.createElement(xe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},se.createElement(he.Z,null))),se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},se.createElement("span",{style:ke},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),se.createElement(xe.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:qe},"\u53D6\u6D88")))},Ke=ae(78673),zt=ae(80727),St=ae.n(zt),xt=(0,se.forwardRef)(({use3d:Ve,width:qe,height:$e,callback:Mt,showSaveButton:on},Kt)=>{const oa=(0,se.useRef)(),Mn=(0,se.useRef)(),[En,da]=(0,se.useState)(!1),ta=(0,se.useRef)({id:oa,appName:"graphing",width:qe||1e3,height:$e||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(St())(ta.current,!0),window.onload=function(){Mn.current.inject("applet_container")}},[]);const Wt=()=>{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(Ve)},[Ve]),(0,se.useImperativeHandle)(Kt,()=>({getImgData:Wt})),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(Ke.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:Wt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ht=ae(41588),st=ae(1012),tn=ae(8591);const gn="link",$t="upload-image",bn="add-flowchart",Cn="draw-image",un="add-flowchart",kn="code-block",ca="add-table",xa="------------",Sa={default:xa,left:`:${xa}`,center:`:${xa}:`,right:`${xa}:`};var Ea=ae(58856),Fa=(Ve,qe,$e)=>new Promise((Mt,on)=>{var Kt=En=>{try{Mn($e.next(En))}catch(da){on(da)}},oa=En=>{try{Mn($e.throw(En))}catch(da){on(da)}},Mn=En=>En.done?Mt(En.value):Promise.resolve(En.value).then(Kt,oa);Mn(($e=$e.apply(Ve,qe)).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`,mn=["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 cn(Ve){return/^\d+$/.test(Ve)?`${Ve}px`:Ve}const fn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ua={[fn+"-B"]:"bold",[fn+"-I"]:"italic"},va={[gn]:"\u6DFB\u52A0\u94FE\u63A5",[kn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[$t]:"\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:Ve="",onChange:qe,width:$e="100%",height:Mt=400,miniToolbar:on=!1,isFocus:Kt=!1,watch:oa,insertTemp:Mn,mode:En="markdown",id:da="markdown-editor-id",showResizeBar:ta=!1,noStorage:Wt=!1,showNullButton:ka=!1,showNullProgramButton:po=!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)(Ve),[nr,pn]=(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,st.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>`):mn.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=Me().fromTextArea(mr.current,{mode:En,lineNumbers:!on,lineWrapping:!0,value:Ve,autoCloseTags:!po,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=Sl(Gn);Ma&&Zn.preventDefault()}}),Kt&&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 at.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(!Wt&&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)(()=>{pn(oa)},[en,oa]),(0,se.useEffect)(()=>{en&&Kt&&en.focus()},[en,Kt]),(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 Sl(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")),qe&&(po?qe(Zn,Mi(Zn)):qe(Zn))};return en.on("change",qn),()=>{en.off("change",qn)}}},[en,qe]),(0,se.useEffect)(()=>{if(en)if(Ve==null)en.setValue(""),Nr("");else{const qn=window.scrollY||window.pageYOffset;Ve!==en.getValue()&&(en.setValue(Ve),Nr(Ve),en.setCursor(er?1:en.lineCount(),0),window.scrollTo(0,qn))}},[en,Ve]);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 pn(!nr),en.focus();case"trigger-full-screen":return Ba(!na),en.focus();case gn:ro(gn);return;case kn:ro(kn);return;case $t:ro($t);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 gn: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 $t:case Cn:case un: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>`):mn.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=[],pi=[];for(let ti=0;ti<ei;ti++)dr===1&&pi.push(Sa[Gi]),vi.push(" ");dr===1&&(Kr+=`| ${pi.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 gn:return se.createElement(Pt,{callback:gr,onCancel:fr});case kn:return se.createElement(Tt.Z,{callback:gr,onCancel:fr});case $t: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=cn($e),Oi=cn(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(po){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:po,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(dt,{value:Lr}),En!=="stex"&&se.createElement(_e.Z,{disabledFill:Co,showProgramFill:po,value:Lr})):null))),ta?se.createElement("a",{ref:Hr,className:"editor-resize"}):null,aa===Cn&&se.createElement(Xt,{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(je.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(ut,At,ae){"use strict";ae.d(At,{Z:function(){return me},I:function(){return Be}});var se=ae(78241),ve=ae(8591),Me=ae(92832),at=ae(81327),Ie=ae(5871),Oe=ae(5112),ie=ae(3113),lt=ae(77903),rt=ae(59301),nt=ae(24065),_e=ae(59301),dt=Object.defineProperty,He=Object.defineProperties,re=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(xe,Ae,be)=>Ae in xe?dt(xe,Ae,{enumerable:!0,configurable:!0,writable:!0,value:be}):xe[Ae]=be,E=(xe,Ae)=>{for(var be in Ae||(Ae={}))a.call(Ae,be)&&b(xe,be,Ae[be]);if(y)for(var be of y(Ae))x.call(Ae,be)&&b(xe,be,Ae[be]);return xe},z=(xe,Ae)=>He(xe,re(Ae));const{useForm:ee}=se.default,te={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var me=({callback:xe,onCancel:Ae})=>{const[be]=ee();let yt=(0,rt.useRef)();function mt(et){yt.current.width=be.getFieldValue("width"),yt.current.align=be.getFieldValue("align"),xe(et,yt.current)}function Jt(et,bt){if(et.status===-1){ve.ZP.error(et.message);return}be.setFieldsValue({src:`/api/attachments/${et.id}`,type:bt.type})}function Xe(et){let bt=et.target.files[0];yt.current=bt,Be(bt,Jt)}return _e.createElement(se.default,z(E({form:be},ne),{className:"upload-image-panel",onFinish:mt,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(Me.default,{style:te})),_e.createElement(fe,{onFileChange:Xe}))),_e.createElement(se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(Me.default,{style:{width:264}})),_e.createElement(se.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(at.Z,null,_e.createElement(se.default.Item,{name:"width",style:{margin:0}},_e.createElement(Ie.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(se.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.createElement(Oe.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:xe}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:xe}))}function Be(xe,Ae){if(!xe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,nt.bg)())throw ve.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",xe),be.append("file_param_name","editormd-image-file"),be.append("byxhr","true");var yt=new window.XMLHttpRequest;yt.withCredentials=!0,yt.addEventListener("load",function(mt){Ae(JSON.parse(mt.target.responseText),xe)},!1),yt.addEventListener("error",function(mt){console.error(mt)},!1),yt.open("POST",`${lt.KI}/api/attachments.json`),yt.send(be)}},79346:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return Me}});var se=ae(59301),ve=ae(4676);class Me extends se.Component{constructor(Ie){super(Ie);const Oe=window.document;this.node=Oe.createElement("div"),Oe.body.appendChild(this.node)}render(){const{children:Ie}=this.props;return(0,ve.createPortal)(Ie,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(ut,At,ae){"use strict";ae.d(At,{i:function(){return te},Z:function(){return me}});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"},ve=ae(71418),Me=ae(6848),at=ae(92310),Ie=ae.n(at),Oe=ae(955),ie=ae(8797),lt=ae(24065),rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFW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k8SwiavhxzHSG4J5+cQZuyvLyzwSSBt8BZJgESwsN65snmj3gzR3xh6YujGOSVMPo8sxK8dcHWudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ee=ae(59301);const te=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:rt,swimg:nt},{name:"101\u8BA1\u5212",ptimg:_e,swimg:dt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:He,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 me=({className:fe,dataSource:Be=[],col:xe=4,right:Ae,bottom:be=23,precision:yt=0,wrapWidth:mt=1200,trackEventItems:Jt,loading:Xe,onRemove:et=()=>{},isCurrent:bt=!0,showAlias:Gt=!1})=>{const Ft=Math.floor((mt-(xe-1)*Ae)/xe),Zt=[{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(Ue=>(window.ENV==="build"&&(Ue.ptimg=`/react/build${Ue.ptimg}`,Ue.swimg=`/react/build${Ue.swimg}`),Ue));return ee.createElement(ve.Z,{spinning:Xe},ee.createElement("div",{className:Ie()(se.list,fe)},!!(Be!=null&&Be.length)&&(Be==null?void 0:Be.map((Ue,Pt)=>{var Tt;const{name:De,id:je,identifier:pt,featured:Qt,school_name:ct,image_url:Xt,excellent:ye,is_plan:wt}=Ue;return ee.createElement("div",{key:je,className:se.wrap,style:{width:Ft,marginRight:(1+Pt)%xe===0?0:Ae+yt,marginBottom:be}},ee.createElement("a",{className:se.li,onClick:Et=>{Et.preventDefault(),Et.stopPropagation(),Jt&&(0,Oe.L9)([Jt]),(0,Oe.xg)(`/paths/${pt}`)}},ee.createElement("div",{className:se.img},ee.createElement("img",{className:se.cover,src:`${Xt}`}),bt&&(0,lt.bg)()&&(Ue==null?void 0:Ue.studying)&&ee.createElement("div",{className:`${se.movebq} user-path-items`,onClick:Et=>{Et.stopPropagation(),et(Ue)}},ee.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ee.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Tt=Ue==null?void 0:Ue.subject_tags)==null?void 0:Tt.map((Et,Sn)=>{var sn,We;if(Sn===0){const pe=(sn=Zt.find(ue=>ue.name==Et))==null?void 0:sn.swimg;return ee.createElement("img",{className:se.sign,src:pe,style:{left:"-4px"}})}const Te=(We=Zt.find(pe=>pe.name==Et))==null?void 0:We.ptimg;return ee.createElement("img",{className:se.sign,src:Te,style:{left:`${48+52*(Sn-1)+2*Sn}px`}})}),ee.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ue==null?void 0:Ue.excellent)&&ee.createElement("div",{className:se.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ee.createElement("div",{className:se.name},ee.createElement(Me.Z,{title:Gt&&(Ue!=null&&Ue.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${Ue==null?void 0:Ue.excellent_alias_name}`)):De},ee.createElement("span",{className:se.e},Gt&&(Ue==null?void 0:Ue.excellent_alias_name)||De))),ee.createElement("div",{className:se.tags},ee.createElement("div",null,ee.createElement(Me.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ee.createElement("span",null,Ue.stages_count))),ee.createElement(Me.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,Ue.members_count)))))))})),!Be.length&&ee.createElement(ie.Z,null)))}},29458:function(ut,At,ae){"use strict";ae.d(At,{jL:function(){return Ie},w9:function(){return Ue},QD:function(){return Ht},cQ:function(){return et.Z},op:function(){return Ce},O5:function(){return Mo},_b:function(){return Cn},t7:function(){return b},Gi:function(){return Qt},YG:function(){return je},qp:function(){return _e},vr:function(){return gn},qE:function(){return St},Je:function(){return ee},wb:function(){return Xe},cq:function(){return Sn},tp:function(){return re}});var se=ae(59301),ve={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"},Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qs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Width:wn=346,title:fn,sunTitle:ua,bannerExtraContent:va})=>se.createElement("div",{className:ve.banner},se.createElement("div",{className:ve.content},se.createElement("aside",null,se.createElement("p",null,se.createElement("b",null,fn),se.createElement("span",null,ua)),mn.length>0&&se.createElement("div",{className:ve.btns},mn.map((Xn,Ve)=>se.createElement("div",{key:Ve,onClick:Xn.click},Xn.name,Xn.sign?se.createElement("img",{src:Me,width:39}):null))),va),cn&&se.createElement("img",{style:{marginTop:33,marginRight:38},src:cn,width:wn}))),Oe={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=ae(92310),lt=ae.n(ie),rt=ae(89392),_e=({dataSource:mn=[],value:cn,onChange:wn,onTitleChange:fn,className:ua,title:va,titleWidth:Xn=41,style:Ve={},fontColor:qe="#6A7283",showCount:$e})=>{const[Mt,on]=(0,se.useState)(0),[Kt,oa]=(0,se.useState)(!1),Mn=(0,se.useRef)(null),En=(0,se.useRef)(null);return(0,se.useEffect)(()=>{var da;mn.length!==0&&(((da=Mn==null?void 0:Mn.current)==null?void 0:da.clientHeight)>97?on(1):on(0)),mn.length===0&&on(0),oa(!1)},[mn]),se.createElement("div",{className:lt()(Oe.row,ua),style:Ve},se.createElement("div",{onClick:(0,rt.throttle)(()=>fn==null?void 0:fn(),2e3),style:{width:Xn,marginTop:Kt?12:4},className:`${Oe.title} ${fn?"current":""}`},va),se.createElement("div",{className:Kt?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},se.createElement("div",{className:Oe.bar,ref:En,style:Mt>0?{height:Mt===1?97:"auto",overflow:Mt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},se.createElement("div",{className:Oe.tag,ref:Mn},mn==null?void 0:mn.map(da=>se.createElement("span",{onClick:()=>wn(da.id),key:da.id,style:{color:qe},className:cn===da.id?Oe.active:""},se.createElement("span",{title:da.name,className:Oe.name},da.name),!!$e&&se.createElement("span",{className:Oe.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:Oe.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:Oe.action},"\u6536\u8D77",se.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},dt={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:mn=[],value:cn,onChange:wn,className:fn,style:ua={}})=>se.createElement("div",{style:ua,className:lt()(dt.tabs,fn)},mn.map(va=>se.createElement("span",{onClick:()=>wn(va.id),className:cn===va.id?dt.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=ae(92832),b=({dataSource:mn=[],value:cn="",onChange:wn,onInputChange:fn=()=>{},className:ua,style:va={},placeholder:Xn,allowClear:Ve=!1})=>{var qe;const[$e,Mt]=(0,se.useState)(""),[on,Kt]=(0,se.useState)("");(0,se.useEffect)(()=>{var En;let da=cn;(En=JSON.stringify(cn))!=null&&En.includes("{")&&(Mt(cn.id),da=cn.value||"");try{Kt(decodeURIComponent(da||""))}catch(ta){Kt(decodeURIComponent(da||""))}},[cn]);const oa=()=>{wn(encodeURIComponent(on),$e||null)},Mn=En=>{En!==$e&&(Mt(En),wn(encodeURIComponent(on),En))};return se.createElement("div",{className:lt()(y.input,ua),style:va},!!mn.length&&se.createElement("div",{className:y.dropdown},se.createElement("div",{className:y.text},(qe=mn.find(En=>En.id===$e))==null?void 0:qe.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},mn.map((En,da)=>se.createElement("div",{key:da,onClick:()=>Mn(En.id)},En.name)))),se.createElement(a.default,{onPressEnter:oa,value:on,onChange:En=>{Kt(En.target.value),fn(encodeURIComponent(En.target.value),$e||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:mn,onChange:cn,className:wn,total:fn,pageSize:ua,style:va={}})=>{const Xn=mn<2,Ve=mn>=Math.ceil(fn/ua);return fn<=ua?se.createElement(se.Fragment,null):se.createElement("div",{className:lt()(E.quickPager,wn),style:va},se.createElement("div",{onClick:()=>{Xn||cn(mn-1,"prev")},className:Xn?E.disabled:""},"\u4E0A\u4E00\u9875"),se.createElement("div",{onClick:()=>{Ve||cn(mn+1,"next")},className:Ve?E.disabled:""},"\u4E0B\u4E00\u9875"))},te={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"},ne=ae(71418),me=ae(6848),fe=ae(13570),Be=ae(3294),xe=ae(955),Ae=ae(96908),be=ae(57177),yt=ae(81378),mt=ae(8797),Xe=({className:mn,dataSource:cn=[],col:wn=4,right:fn,bottom:ua=23,precision:va=0,wrapWidth:Xn=1200,trackEventItems:Ve,loading:qe})=>{const $e=Math.floor((Xn-(wn-1)*fn)/wn);return se.createElement(ne.Z,{spinning:qe},se.createElement("div",{className:lt()(te.list,mn)},!!cn.length&&cn.map((Mt,on)=>{const{name:Kt,id:oa,identifier:Mn,power:En,cover_image_id:da,pic:ta}=Mt;return se.createElement("div",{className:te.wrap,key:oa,style:{width:$e,marginRight:(1+on)%wn===0?0:fn+va,marginBottom:ua}},se.createElement("a",{target:"_blank",href:`/shixuns/${Mn}/challenges`,className:te.li,onClick:Wt=>{Wt.preventDefault(),Ve&&(0,xe.L9)([Ve]),En&&(0,xe.xg)(`/shixuns/${Mn}/challenges`)}},se.createElement("div",{className:te.img},se.createElement("img",{className:te.cover,src:`${ta}`}),Mt.is_jupyter&&se.createElement("img",{className:te.sign,src:Ae}),Mt.is_jupyter_lab&&se.createElement("img",{className:te.sign,src:be}),Mt.is_unity_3d&&se.createElement("img",{className:te.sign,src:yt})),se.createElement("div",{className:te.name},se.createElement(me.Z,{title:Kt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},se.createElement("span",{className:te.e},Kt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),se.createElement("div",{className:te.tags},se.createElement(me.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(me.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(me.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},se.createElement("span",null,se.createElement("span",null,Mt.level))),se.createElement("div",{className:te.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:te.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")))}),!cn.length&&se.createElement(mt.Z,null)))},et=ae(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"},Gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuW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R0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ft=ae(59301),Ue=({className:mn,dataSource:cn=[],col:wn=4,right:fn,bottom:ua=23,precision:va=0,wrapWidth:Xn=1200,trackEventItems:Ve,loading:qe})=>{const $e=Math.floor((Xn-(wn-1)*fn)/wn);return Ft.createElement(ne.Z,{spinning:qe},Ft.createElement("div",{className:lt()(bt.list,mn)},!!cn.length&&cn.map((Mt,on)=>{const{subject_identifier:Kt,id:oa,identifier:Mn,power:En}=Mt,da=Mt.is_public!=0&&Mt.is_public;return Ft.createElement("div",{className:bt.wrap,key:oa,style:{width:$e,marginRight:(1+on)%wn===0?0:fn+va,marginBottom:ua}},Ft.createElement("a",{className:bt.li,onClick:ta=>{ta.preventDefault(),Ve&&(0,xe.L9)([Ve]),(0,xe.xg)(Mt.first_category_url)}},Ft.createElement("div",{className:bt.top},Ft.createElement(me.Z,{title:Mt.name},Ft.createElement("div",{className:bt.name},Mt.name)),Ft.createElement("img",{className:bt.img,src:Be.Z.IMG_SERVER+"/images/"+Mt.avatar_url}),Ft.createElement("div",{className:bt.text,title:Mt.creator},Mt.creator),Kt&&Ft.createElement("div",{className:bt.btns},Ft.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ft.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),da&&Ft.createElement("div",{className:bt.sign},"\u516C\u5F00")),Ft.createElement("div",{className:bt.bottom},Mt.visits>0&&Ft.createElement(me.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-liulanyan"}),Ft.createElement("span",null,Mt.visits))),Mt.course_members_count>0&&Ft.createElement(me.Z,{title:"\u6210\u5458",placement:"bottom"},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-chengyuan"}),Mt.course_members_count)),Mt.tasks_count>0&&Ft.createElement(me.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-zuoye"}),Mt.tasks_count)),Mt.is_end?Ft.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ft.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Mt.is_accessible&&Ft.createElement("div",{className:bt.lockWrap},Ft.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ft.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!cn.length&&Ft.createElement(mt.Z,null)))},Pt={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"},Tt=ae(89070),je=({dataSource:mn=[],value:cn,onChange:wn,className:fn,style:ua={},tabBarExtraContent:va})=>se.createElement("div",{className:lt()(Pt.tabs,fn),style:ua},se.createElement("div",{className:Pt.tabsWrap},mn.map((Xn,Ve)=>se.createElement("aside",{className:Pt.tab,onClick:()=>{wn(Xn.id),Xn.link&&Tt.history.push(Xn.link)},key:Ve},se.createElement("div",{className:cn===Xn.id?Pt.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(me.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:Pt.tabBar},va)),Qt=({className:mn,style:cn={},children:wn})=>se.createElement("div",{className:lt()(mn),style:cn},wn),ct={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"},Xt=ae(38854),ye=ae(20834);const wt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Sn=({sortValue:mn,dropValue:cn,className:wn,onSort:fn,onDrop:ua,dataSource:va=wt})=>{var Xn;return se.createElement("div",{className:lt()(ct.orderWrap,wn)},se.createElement(Xt.Z,{dropdownRender:()=>se.createElement(ye.default,null,va.map((Ve,qe)=>se.createElement(ye.default.Item,{key:qe,onClick:()=>ua(Ve.id)},Ve.name)))},se.createElement("span",{className:ct.orderTextWrap},(Xn=va.find(Ve=>cn===Ve.id))==null?void 0:Xn.name)),se.createElement("span",{className:ct.orderIconWrap},se.createElement("span",{className:ct.orderAsc},se.createElement("i",{className:mn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ct.cursorPointer} ${ct.active}`:`iconfont icon-sanjiaoxing-up font12 ${ct.cursorPointer}`,onClick:()=>fn(mn==="asc"?"desc":"asc")})),se.createElement("span",{className:ct.orderDesc},se.createElement("i",{className:mn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ct.cursorPointer} ${ct.active}`:`iconfont icon-sanjiaoxing-down font12 ${ct.cursorPointer}`,onClick:()=>fn(mn==="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"},We=ae(3113),Te=Object.defineProperty,pe=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,gt=(mn,cn,wn)=>cn in mn?Te(mn,cn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):mn[cn]=wn,Pe=(mn,cn)=>{for(var wn in cn||(cn={}))ue.call(cn,wn)&>(mn,wn,cn[wn]);if(pe)for(var wn of pe(cn))Re.call(cn,wn)&>(mn,wn,cn[wn]);return mn},he=(mn,cn)=>{var wn={};for(var fn in mn)ue.call(mn,fn)&&cn.indexOf(fn)<0&&(wn[fn]=mn[fn]);if(mn!=null&&pe)for(var fn of pe(mn))cn.indexOf(fn)<0&&Re.call(mn,fn)&&(wn[fn]=mn[fn]);return wn},Je=(mn,cn,wn)=>new Promise((fn,ua)=>{var va=qe=>{try{Ve(wn.next(qe))}catch($e){ua($e)}},Xn=qe=>{try{Ve(wn.throw(qe))}catch($e){ua($e)}},Ve=qe=>qe.done?fn(qe.value):Promise.resolve(qe.value).then(va,Xn);Ve((wn=wn.apply(mn,cn)).next())}),Ce=mn=>{var cn=mn,{className:wn,style:fn,children:ua,loading:va=!1,openLoading:Xn,onClick:Ve=()=>{},size:qe="middle",shape:$e="round"}=cn,Mt=he(cn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[on,Kt]=(0,se.useState)(!1);return se.createElement(We.ZP,Pe({onClick:(0,rt.throttle)(oa=>Je(void 0,null,function*(){Xn&&Kt(!0);try{yield Ve(oa)}catch(Mn){console.log("error",Mn)}Xn&&Kt(!1)}),2e3,{leading:!0,trailing:!1}),className:lt()(sn.btn,sn[`${qe}-${$e}`],wn),style:fn,size:qe,shape:$e,loading:on||va},Mt),ua)},Ke={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},St=({className:mn,style:cn,children:wn=null,onClick:fn,title:ua})=>se.createElement("div",{className:lt()(Ke.head,mn),style:cn},se.createElement("span",{className:"primary-hover",onClick:fn},se.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),se.createElement("b",{title:ua},ua),se.createElement("div",{className:Ke.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:mn=!0,confirmTitle:cn,confirmClick:wn,cancelShow:fn=!0,cancelTitle:ua,cancelClick:va,className:Xn,style:Ve,confirmLoading:qe=!1})=>se.createElement("div",{className:lt()(kt.btns,Xn),style:Ve},mn&&se.createElement(We.ZP,{loading:qe,onClick:wn,type:"primary",className:kt.confirm},cn),fn&&se.createElement(We.ZP,{onClick:va,className:kt.cancel},ua)),st={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"},gn=({className:mn,style:cn={},LeftContent:wn,children:fn,RightContent:ua})=>se.createElement("div",{className:lt()(st.fixedBottom,mn),style:cn},se.createElement("div",{className:st.wrap},se.createElement("div",{className:st.left},wn),se.createElement("div",{className:st.center},fn),se.createElement("div",{className:st.right},ua))),$t={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Cn=({className:mn,style:cn={},dataSource:wn=[]})=>se.createElement("div",{className:lt()($t.crumbs,mn),style:cn},wn.map((fn,ua)=>ua<wn.length-1?se.createElement(se.Fragment,{key:ua},fn.path||fn.onClick?se.createElement("span",{className:$t.hover,onClick:fn!=null&&fn.onClick?fn.onClick:()=>Tt.history.push(fn.path)},fn.name):se.createElement("span",null,fn.name),se.createElement("span",null,"\xA0",">","\xA0")):se.createElement("span",{key:ua,style:{color:"#5F6368"}},fn.name))),un=ae(31797),kn=Object.defineProperty,ca=Object.defineProperties,xa=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,Ea=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable,Na=(mn,cn,wn)=>cn in mn?kn(mn,cn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):mn[cn]=wn,In=(mn,cn)=>{for(var wn in cn||(cn={}))Ea.call(cn,wn)&&Na(mn,wn,cn[wn]);if(Sa)for(var wn of Sa(cn))Fa.call(cn,wn)&&Na(mn,wn,cn[wn]);return mn},qa=(mn,cn)=>ca(mn,xa(cn)),_a=(mn,cn)=>{var wn={};for(var fn in mn)Ea.call(mn,fn)&&cn.indexOf(fn)<0&&(wn[fn]=mn[fn]);if(mn!=null&&Sa)for(var fn of Sa(mn))cn.indexOf(fn)<0&&Fa.call(mn,fn)&&(wn[fn]=mn[fn]);return wn};const{Countdown:Pa}=un.default;var Mo=mn=>{var cn=mn,{onChange:wn}=cn,fn=_a(cn,["onChange"]);const[ua,va]=(0,se.useState)(null);(0,se.useEffect)(()=>{typeof ua=="number"&&ua>=0&&wn(ua)},[ua]);const Xn=Ve=>{const qe=Math.floor(Ve/1e3);va(qe)};return se.createElement(Pa,qa(In({},fn),{onChange:Xn}))}},58856:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return ve}});var se=ae(59301);function ve(Me,at){const Ie=(0,se.useRef)();(0,se.useEffect)(()=>{Ie.current=Me}),(0,se.useEffect)(()=>{function Oe(){Ie.current()}if(at!==null){let ie=setInterval(Oe,at);return()=>clearInterval(ie)}},[at])}},41797:function(ut,At,ae){"use strict";ae.r(At),ae.d(At,{default:function(){return mt}});var se=ae(59301),ve={contWrap:"contWrap___Q_UkN",header:"header___cou3X",headTitle:"headTitle___x_b94",searchWrap:"searchWrap___a67PN",wrap1:"wrap1___eZ74d",editBtn:"editBtn___bDq0n"},Me=ae(89070),at=ae(78241),Ie=ae(43418),Oe=ae(8591),ie=ae(92832),lt=ae(71418),rt=ae(38854),nt=ae(28103),_e=ae(57809),dt=ae(5083),He=ae(1710),re=ae(3113),y=ae(29458),a=ae(12290),x=ae(85149),b=ae(84105),E=ae(8797),z=ae(70849),ee=ae(24065),te=ae(59301),ne=Object.defineProperty,me=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,xe=(Jt,Xe,et)=>Xe in Jt?ne(Jt,Xe,{enumerable:!0,configurable:!0,writable:!0,value:et}):Jt[Xe]=et,Ae=(Jt,Xe)=>{for(var et in Xe||(Xe={}))fe.call(Xe,et)&&xe(Jt,et,Xe[et]);if(me)for(var et of me(Xe))Be.call(Xe,et)&&xe(Jt,et,Xe[et]);return Jt},be=(Jt,Xe,et)=>new Promise((bt,Gt)=>{var Ft=Pt=>{try{Ue(et.next(Pt))}catch(Tt){Gt(Tt)}},Zt=Pt=>{try{Ue(et.throw(Pt))}catch(Tt){Gt(Tt)}},Ue=Pt=>Pt.done?bt(Pt.value):Promise.resolve(Pt.value).then(Ft,Zt);Ue((et=et.apply(Jt,Xe)).next())});const yt=({declaration:Jt,user:Xe,dispatch:et,loading:bt})=>{const[Gt,Ft]=(0,se.useState)([]),[Zt,Ue]=(0,se.useState)(0),[Pt,Tt]=(0,se.useState)(!1),[De,je]=(0,se.useState)(!1),[pt,Qt]=(0,se.useState)(""),[ct,Xt]=(0,se.useState)(""),[ye,wt]=(0,se.useState)({page:1,limit:10,status:"",keyword:"",year:""}),[Et]=at.default.useForm(),Sn=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:pe=>te.createElement("span",null,pe||"--")},{title:"\u5DE5\u53F7",align:"left",width:120,ellipsis:!0,dataIndex:"staff_id",render:pe=>te.createElement("span",null,pe||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:pe=>te.createElement("span",null,pe===-1&&te.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),pe===0&&te.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),pe===1&&te.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),pe===2&&te.createElement("span",{style:{color:"#E30000"}},"\u9000\u56DE\u4FEE\u6539"))},{title:"\u9879\u76EE\u7C7B\u578B",align:"left",width:120,ellipsis:!0,dataIndex:"project_type",render:pe=>te.createElement("span",null,pe==="0"&&"\u6C11\u53E3\u7EB5\u5411",pe==="1"&&"\u6C11\u53E3\u6A2A\u5411",pe==="2"&&"\u56FD\u9632\u7EB5\u5411",pe==="3"&&"\u56FD\u9632\u6A2A\u5411")},{title:"\u9879\u76EE\u540D\u79F0",align:"left",ellipsis:!0,width:120,dataIndex:"title",render:pe=>te.createElement("span",null,pe||"--")},{title:"\u6807\u51C6\u53F7",width:120,align:"left",ellipsis:!0,dataIndex:"number",render:pe=>te.createElement("span",null,pe||"--")},{title:"\u9879\u76EE\u7EA7\u522B",width:120,align:"left",ellipsis:!0,dataIndex:"project_level_name",render:pe=>te.createElement("span",null,pe||"--")},{title:"\u7ECF\u8D39\uFF08\u4E07\u5143\uFF09",align:"left",width:120,ellipsis:!0,dataIndex:"project_funds",render:pe=>te.createElement("span",null,pe||"--")},{title:"\u672C\u5E74\u5EA6\u5230\u8D26\uFF08\u4E07\u5143\uFF09",align:"left",width:140,ellipsis:!0,dataIndex:"current_year_account_funds",render:pe=>te.createElement("span",null,pe||"--")},{title:"\u7ACB\u9879\u5E74\u5EA6",width:120,align:"left",ellipsis:!0,dataIndex:"year",render:pe=>te.createElement("span",null,pe||"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:200,ellipsis:!0,dataIndex:"school_name",render:(pe,ue)=>{var Re,gt,Pe;return te.createElement(te.Fragment,null,((0,ee.Ny)()||[0,1].includes(ue==null?void 0:ue.status)&&!(0,ee.Ny)())&&te.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{et({type:"declaration/changeMode",payload:{mode:"view"}}),Me.history.push(`/declaration/research/project/edit?id=${ue==null?void 0:ue.id}&type=${ue==null?void 0:ue.project_type}`)}},"\u67E5\u770B"),((Re=Xe==null?void 0:Xe.userInfo)==null?void 0:Re.real_name)===(ue==null?void 0:ue.user_name)&&[-1,2].includes(ue==null?void 0:ue.status)&&te.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{et({type:"declaration/changeMode",payload:{mode:"edit"}}),Me.history.push(`/declaration/research/project/edit?id=${ue==null?void 0:ue.id}&type=${ue==null?void 0:ue.project_type}`)}},"\u7F16\u8F91"),(0,ee.Ny)()&&(ue==null?void 0:ue.status)===0&&te.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ie.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:()=>be(void 0,null,function*(){(yield(0,z.Uk)({declaration_id:ue==null?void 0:ue.id,verify_status:"agree",reason:""})).status===0&&(Oe.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),sn())})})}},"\u901A\u8FC7"),(0,ee.Ny)()&&(ue==null?void 0:ue.status)===0&&te.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Et.setFieldValue("reason",ue==null?void 0:ue.reason),Ie.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:te.createElement("div",null,te.createElement(at.default,{form:Et,layout:"vertical",onFinish:he=>be(void 0,null,function*(){(yield(0,z.Uk)({declaration_id:ue==null?void 0:ue.id,verify_status:"reject",reason:Ae({},he)})).status===0&&(Oe.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),sn())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:ve.formWrap},te.createElement(at.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},te.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:()=>be(void 0,null,function*(){yield Et.submit()})})}},"\u9A73\u56DE"),((gt=Xe==null?void 0:Xe.userInfo)==null?void 0:gt.real_name)===(ue==null?void 0:ue.user_name)&&[-1,2].includes(ue==null?void 0:ue.status)&&te.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ie.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:()=>be(void 0,null,function*(){(yield(0,z.xx)({declaration_id:ue==null?void 0:ue.id})).status===0&&(Oe.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),sn())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((Pe=Xe==null?void 0:Xe.userInfo)==null?void 0:Pe.real_name)===(ue==null?void 0:ue.user_name)&&[-1,2].includes(ue==null?void 0:ue.status)&&te.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ie.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>be(void 0,null,function*(){(yield(0,z.UX)({id:ue==null?void 0:ue.id})).status===0&&(Oe.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),sn())})})}},"\u5220\u9664"))}}];(0,se.useEffect)(()=>{sn(),We()},[]);const sn=()=>be(void 0,null,function*(){var pe,ue;Tt(!0);const Re=yield(0,z.Dn)(Ae({declare_type:2},ye));(Re==null?void 0:Re.status)===0&&(Ft(((pe=Re==null?void 0:Re.data)==null?void 0:pe.list)||[]),Ue(((ue=Re==null?void 0:Re.data)==null?void 0:ue.count)||0)),Tt(!1)}),We=()=>be(void 0,null,function*(){var pe,ue;const Re=yield(0,z.Xi)({declare_type:2});(Re==null?void 0:Re.status)===0&&(Qt(((pe=Re==null?void 0:Re.data)==null?void 0:pe.content)||"\u6682\u65E0\u6570\u636E"),Xt(((ue=Re==null?void 0:Re.data)==null?void 0:ue.content)||"\u6682\u65E0\u6570\u636E"))}),Te=()=>be(void 0,null,function*(){const pe=yield(0,z.kF)({declare_type:2,content:pt});(pe==null?void 0:pe.status)===0&&Oe.ZP.success("\u7F16\u8F91\u6210\u529F!")});return te.createElement(lt.Z,{spinning:Pt},te.createElement("div",{className:ve.contWrap},te.createElement("div",{className:ve.header},te.createElement("div",{className:ve.headTitle},"\u79D1\u7814\u9879\u76EE\u7533\u62A5"),te.createElement("div",null,te.createElement(rt.Z,{menu:{items:[{key:1,label:te.createElement("div",{onClick:()=>{Me.history.push("/declaration/research/project/edit?type=1")}},"\u6C11\u53E3\u7EB5\u5411")},{key:2,label:te.createElement("div",{onClick:()=>{Me.history.push("/declaration/research/project/edit?type=2")}},"\u6C11\u53E3\u6A2A\u5411")},{key:3,label:te.createElement("div",{onClick:()=>{Me.history.push("/declaration/research/project/edit?type=3")}},"\u56FD\u9632\u7EB5\u5411")},{key:4,label:te.createElement("div",{onClick:()=>{Me.history.push("/declaration/research/project/edit?type=4")}},"\u56FD\u9632\u6A2A\u5411")}]},trigger:["click"]},te.createElement(y.op,{shape:"default",onClick:()=>{et({type:"declaration/changeMode",payload:{mode:"edit"}})}},te.createElement("span",null,"\u6DFB\u52A0\u9879\u76EE ",te.createElement(b.Z,null)))))),te.createElement(nt.Z,{style:{margin:"12px 0px 20px 0px"}}),te.createElement("div",{className:ve.searchWrap},te.createElement(_e.default,{size:"large",defaultValue:ye.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:pe=>{ye.status=pe,wt(Ae({},ye)),ye.page=1,sn()},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"}]}),te.createElement(dt.default,{size:"large",picker:"year",placeholder:"\u8BF7\u9009\u62E9\u7ACB\u9879\u5E74\u5EA6",style:{width:200,borderRadius:2},onChange:pe=>{ye.year=(pe==null?void 0:pe.format("YYYY"))||"",ye.page=1,wt(Ae({},ye)),sn()},format:"YYYY"}),te.createElement(y.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:ye.keyword,onChange:pe=>{ye.page=1,ye.keywords=pe,wt(Ae({},ye)),sn()}})),te.createElement("div",null,te.createElement(He.default,{dataSource:Gt,scroll:{x:1300},pagination:{total:Zt||0,size:"default",onChange:(pe,ue)=>{ye.page=pe,ye.limit=ue,wt(Ae({},ye)),sn()},current:ye==null?void 0:ye.page,pageSize:ye==null?void 0:ye.limit,showTotal:pe=>te.createElement(te.Fragment,null,"\u5171",te.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},pe),"\u6761\u6570\u636E")},columns:Sn,locale:{emptyText:te.createElement(E.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),te.createElement(nt.Z,{style:{margin:"30px 0px"}}),De?te.createElement("div",null,te.createElement(a.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:pt,id:"editContent",onChange:pe=>{Qt(pe)}}),te.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},te.createElement(y.op,{shape:"default",onClick:()=>{je(!1),Qt(ct)}},"\u53D6\u6D88"),te.createElement(re.ZP,{className:"ml20",type:"primary",onClick:()=>be(void 0,null,function*(){je(!1),yield Te()})},"\u63D0\u4EA4"))):te.createElement("div",{className:ve.wrap1},ee.Ny&&te.createElement("div",{className:ve.editBtn,onClick:()=>{je(!0)}},te.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),te.createElement(x.Z,{className:"discuss-content",value:pt,style:{fontSize:"12px",color:"#232B40"}}))))};var mt=(0,Me.connect)(({declaration:Jt,user:Xe,loading:et})=>({declaration:Jt,loading:et,user:Xe}))(yt)},50371:function(ut,At){"use strict";function ae(){const se=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ve=1;ve<arguments.length;ve++){const Me=ve<0||arguments.length<=ve?void 0:arguments[ve];Me&&Object.keys(Me).forEach(at=>{const Ie=Me[at];Ie!==void 0&&(se[at]=Ie)})}return se}At.Z=ae},13845:function(ut,At,ae){"use strict";ae.d(At,{F:function(){return se},Z:function(){return ve}});function se(Me){return Me!=null&&Me===Me.window}function ve(Me,at){var Ie,Oe;if(typeof window=="undefined")return 0;const ie=at?"scrollTop":"scrollLeft";let lt=0;return se(Me)?lt=Me[at?"pageYOffset":"pageXOffset"]:Me instanceof Document?lt=Me.documentElement[ie]:(Me instanceof HTMLElement||Me)&&(lt=Me[ie]),Me&&!se(Me)&&typeof lt!="number"&&(lt=(Oe=((Ie=Me.ownerDocument)!==null&&Ie!==void 0?Ie:Me).documentElement)===null||Oe===void 0?void 0:Oe[ie]),lt}},56762:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return ve}});var se=ae(59301);function ve(){const[,Me]=se.useReducer(at=>at+1,0);return Me}},68031:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return at}});var se=ae(16089);function ve(Ie,Oe,ie,lt){const rt=ie-Oe;return Ie/=lt/2,Ie<1?rt/2*Ie*Ie*Ie+Oe:rt/2*((Ie-=2)*Ie*Ie+2)+Oe}var Me=ae(13845);function at(Ie){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ie=()=>window,callback:lt,duration:rt=450}=Oe,nt=ie(),_e=(0,Me.Z)(nt,!0),dt=Date.now(),He=()=>{const y=Date.now()-dt,a=ve(y>rt?rt:y,_e,Ie,rt);(0,Me.F)(nt)?nt.scrollTo(window.pageXOffset,a):nt instanceof Document||nt.constructor.name==="HTMLDocument"?nt.documentElement.scrollTop=a:nt.scrollTop=a,y<rt?(0,se.Z)(He):typeof lt=="function"&<()};(0,se.Z)(He)}},24905:function(ut,At,ae){"use strict";ae.d(At,{default:function(){return me}});var se=ae(92310),ve=ae.n(se),Me=ae(5630),at=ae(59301),Ie=ae(36355),Oe=ae(1684),ie=ae(32441),rt=at.createContext(null),nt=ae(98447),_e=ae(14088),dt=ae(4572),He=function(fe,Be){var xe={};for(var Ae in fe)Object.prototype.hasOwnProperty.call(fe,Ae)&&Be.indexOf(Ae)<0&&(xe[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])&&(xe[Ae[be]]=fe[Ae[be]]);return xe};const re=(fe,Be)=>{var xe;const{prefixCls:Ae,className:be,rootClassName:yt,children:mt,indeterminate:Jt=!1,style:Xe,onMouseEnter:et,onMouseLeave:bt,skipGroup:Gt=!1,disabled:Ft}=fe,Zt=He(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ue,direction:Pt,checkbox:Tt}=at.useContext(Ie.E_),De=at.useContext(rt),{isFormItemInput:je}=at.useContext(ie.aM),pt=at.useContext(Oe.Z),Qt=(xe=(De==null?void 0:De.disabled)||Ft)!==null&&xe!==void 0?xe:pt,ct=at.useRef(Zt.value);at.useEffect(()=>{De==null||De.registerValue(Zt.value)},[]),at.useEffect(()=>{if(!Gt)return Zt.value!==ct.current&&(De==null||De.cancelValue(ct.current),De==null||De.registerValue(Zt.value),ct.current=Zt.value),()=>De==null?void 0:De.cancelValue(Zt.value)},[Zt.value]);const Xt=Ue("checkbox",Ae),[ye,wt]=(0,nt.ZP)(Xt),Et=Object.assign({},Zt);De&&!Gt&&(Et.onChange=function(){Zt.onChange&&Zt.onChange.apply(Zt,arguments),De.toggleOption&&De.toggleOption({label:mt,value:Zt.value})},Et.name=De.name,Et.checked=De.value.includes(Zt.value));const Sn=ve()(`${Xt}-wrapper`,{[`${Xt}-rtl`]:Pt==="rtl",[`${Xt}-wrapper-checked`]:Et.checked,[`${Xt}-wrapper-disabled`]:Qt,[`${Xt}-wrapper-in-form-item`]:je},Tt==null?void 0:Tt.className,be,yt,wt),sn=ve()({[`${Xt}-indeterminate`]:Jt},dt.A,wt),We=Jt?"mixed":void 0;return ye(at.createElement(_e.Z,{component:"Checkbox",disabled:Qt},at.createElement("label",{className:Sn,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Xe),onMouseEnter:et,onMouseLeave:bt},at.createElement(Me.Z,Object.assign({"aria-checked":We},Et,{prefixCls:Xt,className:sn,disabled:Qt,ref:Be})),mt!==void 0&&at.createElement("span",null,mt))))};var a=at.forwardRef(re),x=ae(26407),b=ae(2738),E=function(fe,Be){var xe={};for(var Ae in fe)Object.prototype.hasOwnProperty.call(fe,Ae)&&Be.indexOf(Ae)<0&&(xe[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])&&(xe[Ae[be]]=fe[Ae[be]]);return xe};const z=(fe,Be)=>{const{defaultValue:xe,children:Ae,options:be=[],prefixCls:yt,className:mt,rootClassName:Jt,style:Xe,onChange:et}=fe,bt=E(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Gt,direction:Ft}=at.useContext(Ie.E_),[Zt,Ue]=at.useState(bt.value||xe||[]),[Pt,Tt]=at.useState([]);at.useEffect(()=>{"value"in bt&&Ue(bt.value||[])},[bt.value]);const De=at.useMemo(()=>be.map(Te=>typeof Te=="string"||typeof Te=="number"?{label:Te,value:Te}:Te),[be]),je=Te=>{Tt(pe=>pe.filter(ue=>ue!==Te))},pt=Te=>{Tt(pe=>[].concat((0,x.Z)(pe),[Te]))},Qt=Te=>{const pe=Zt.indexOf(Te.value),ue=(0,x.Z)(Zt);pe===-1?ue.push(Te.value):ue.splice(pe,1),"value"in bt||Ue(ue),et==null||et(ue.filter(Re=>Pt.includes(Re)).sort((Re,gt)=>{const Pe=De.findIndex(Je=>Je.value===Re),he=De.findIndex(Je=>Je.value===gt);return Pe-he}))},ct=Gt("checkbox",yt),Xt=`${ct}-group`,[ye,wt]=(0,nt.ZP)(ct),Et=(0,b.Z)(bt,["value","disabled"]),Sn=be.length?De.map(Te=>at.createElement(a,{prefixCls:ct,key:Te.value.toString(),disabled:"disabled"in Te?Te.disabled:bt.disabled,value:Te.value,checked:Zt.includes(Te.value),onChange:Te.onChange,className:`${Xt}-item`,style:Te.style,title:Te.title},Te.label)):Ae,sn={toggleOption:Qt,value:Zt,disabled:bt.disabled,name:bt.name,registerValue:pt,cancelValue:je},We=ve()(Xt,{[`${Xt}-rtl`]:Ft==="rtl"},mt,Jt,wt);return ye(at.createElement("div",Object.assign({className:We,style:Xe},Et,{ref:Be}),at.createElement(rt.Provider,{value:sn},Sn)))},ee=at.forwardRef(z);var te=at.memo(ee);const ne=a;ne.Group=te,ne.__ANT_CHECKBOX=!0;var me=ne},98447:function(ut,At,ae){"use strict";ae.d(At,{C2:function(){return Ie}});var se=ae(17313),ve=ae(37613),Me=ae(83116);const at=Oe=>{const{checkboxCls:ie}=Oe,lt=`${ie}-wrapper`;return[{[`${ie}-group`]:Object.assign(Object.assign({},(0,se.Wf)(Oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Oe.marginXS,[`> ${Oe.antCls}-row`]:{flex:1}}),[lt]:Object.assign(Object.assign({},(0,se.Wf)(Oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${lt}`]:{marginInlineStart:0},[`&${lt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ie]:Object.assign(Object.assign({},(0,se.Wf)(Oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Oe.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)(Oe))},[`${ie}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Oe.checkboxSize,height:Oe.checkboxSize,direction:"ltr",backgroundColor:Oe.colorBgContainer,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Oe.checkboxSize/14*5,height:Oe.checkboxSize/14*8,border:`${Oe.lineWidthBold}px solid ${Oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Oe.motionDurationFast} ${Oe.motionEaseInBack}, opacity ${Oe.motionDurationFast}`}},"& + span":{paddingInlineStart:Oe.paddingXS,paddingInlineEnd:Oe.paddingXS}})},{[`
|
|
${lt}:not(${lt}-disabled),
|
|
${ie}:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{borderColor:Oe.colorPrimary}},[`${lt}:not(${lt}-disabled)`]:{[`&:hover ${ie}-checked:not(${ie}-disabled) ${ie}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ie}-checked:not(${ie}-disabled):after`]:{borderColor:Oe.colorPrimaryHover}}},{[`${ie}-checked`]:{[`${ie}-inner`]:{backgroundColor:Oe.colorPrimary,borderColor:Oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Oe.motionDurationMid} ${Oe.motionEaseOutBack} ${Oe.motionDurationFast}`}}},[`
|
|
${lt}-checked:not(${lt}-disabled),
|
|
${ie}-checked:not(${ie}-disabled)
|
|
`]:{[`&:hover ${ie}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"}}},{[ie]:{"&-indeterminate":{[`${ie}-inner`]:{backgroundColor:Oe.colorBgContainer,borderColor:Oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Oe.fontSizeLG/2,height:Oe.fontSizeLG/2,backgroundColor:Oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${lt}-disabled`]:{cursor:"not-allowed"},[`${ie}-disabled`]:{[`&, ${ie}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ie}-inner`]:{background:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,"&:after":{borderColor:Oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Oe.colorTextDisabled},[`&${ie}-indeterminate ${ie}-inner::after`]:{background:Oe.colorTextDisabled}}}]};function Ie(Oe,ie){const lt=(0,ve.TS)(ie,{checkboxCls:`.${Oe}`,checkboxSize:ie.controlInteractiveSize});return[at(lt)]}At.ZP=(0,Me.Z)("Checkbox",(Oe,ie)=>{let{prefixCls:lt}=ie;return[Ie(lt,Oe)]})},5083:function(ut,At,ae){"use strict";ae.d(At,{default:function(){return ad}});var se=ae(61186),ve=ae.n(se),Me=ae(48736),at=ae(90111),Ie=ae.n(at),Oe=ae(58319),ie=ae.n(Oe),lt=ae(23250),rt=ae.n(lt),nt=ae(74959),_e=ae.n(nt),dt=ae(10238),He=ae.n(dt),re=ae(33656),y=ae.n(re);ve().extend(y()),ve().extend(He()),ve().extend(Ie()),ve().extend(ie()),ve().extend(rt()),ve().extend(_e()),ve().extend(function(oe,le){var ge=le.prototype,Ee=ge.format;ge.format=function(Qe){var ze=(Qe||"").replace("Wo","wo");return Ee.bind(this)(ze)}});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,Me.ET)(!1,"Not match any format. Please help to fire a issue about this.")},E={getNow:function(){return ve()()},getFixedDate:function(le){return ve()(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 ve()().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 ve()().locale(x(le)).localeData().weekdaysMin()},getShortMonths:function(le){return ve()().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 ze=Ee[Qe],vt=ge;if(ze.includes("wo")||ze.includes("Wo")){for(var ft=vt.split("-")[0],Ct=vt.split("-")[1],nn=ve()(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 Vt=ve()(vt,ze,!0).locale(Le);if(Vt.isValid())return Vt}return ge&&b(),null}}},z=E,ee=ae(53487),te=ae(92413),ne=ae(59301),me={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=me,Be=ae(7657),xe=function(le,ge){return ne.createElement(Be.Z,(0,te.Z)({},le,{ref:ge,icon:fe}))},Ae=ne.forwardRef(xe),be=Ae,yt={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"},mt=yt,Jt=function(le,ge){return ne.createElement(Be.Z,(0,te.Z)({},le,{ref:ge,icon:mt}))},Xe=ne.forwardRef(Jt),et=Xe,bt=ae(19248),Gt={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"},Ft=Gt,Zt=function(le,ge){return ne.createElement(Be.Z,(0,te.Z)({},le,{ref:ge,icon:Ft}))},Ue=ne.forwardRef(Zt),Pt=Ue,Tt=ae(92310),De=ae.n(Tt),je=ae(6909),pt=ae(4771),Qt=ae(25314),ct=ae(9427),Xt=ae(25440),ye=ae(400),wt=ae(33708),Et=ae(33606),Sn=ae(18929),sn=ae(26112),We=ae(80547),Te=ae(13697),pe=10,ue=pe*10,Re=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 he(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 ke(oe,le,ge){var Ee=gt(le,ge);return typeof Ee=="boolean"?Ee:he(oe,le,ge)&&Je(oe,le)===Je(oe,ge)}function Ce(oe,le,ge){var Ee=gt(le,ge);return typeof Ee=="boolean"?Ee:he(oe,le,ge)&&oe.getMonth(le)===oe.getMonth(ge)}function Ke(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 St(oe,le,ge,Ee){var Le=gt(ge,Ee);return typeof Le=="boolean"?Le:he(oe,ge,Ee)&&oe.locale.getWeek(le,ge)===oe.locale.getWeek(le,Ee)}function kt(oe,le,ge){return Ke(oe,le,ge)&&zt(oe,le,ge)}function xt(oe,le,ge,Ee){return!le||!ge||!Ee?!1:!Ke(oe,le,Ee)&&!Ke(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),ze=le.addDate(Le,Ee-Qe);return le.getMonth(ze)===le.getMonth(ge)&&le.getDate(ze)>1&&(ze=le.addDate(ze,-7)),ze}function st(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 gn(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 $t(oe){var le=oe.cellDate,ge=oe.mode,Ee=oe.disabledDate,Le=oe.generateConfig;if(!Ee)return!1;var Qe=function(Ut,ht,Nt){for(var qt=ht;qt<=Nt;){var An=void 0;switch(Ut){case"date":{if(An=Le.setDate(le,qt),!Ee(An))return!1;break}case"month":{if(An=Le.setMonth(le,qt),!$t({cellDate:An,mode:"month",generateConfig:Le,disabledDate:Ee}))return!1;break}case"year":{if(An=Le.setYear(le,qt),!$t({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 ze=1,vt=Le.getDate(Le.getEndDate(le));return Qe("date",ze,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/pe)*pe,It=Ot+pe-1;return Qe("year",Ot,It)}}}function bn(oe,le){var ge=le.formatList,Ee=le.generateConfig,Le=le.locale;return(0,We.Z)(function(){if(!oe)return[[""],""];for(var Qe="",ze=[],vt=0;vt<ge.length;vt+=1){var ft=ge[vt],Ct=tn(oe,{generateConfig:Ee,locale:Le,format:ft});ze.push(Ct),vt===0&&(Qe=Ct)}return[ze,Qe]},[oe,ge,Le],function(Qe,ze){return!kt(Ee,Qe[0],ze[0])||!(0,Te.Z)(Qe[1],ze[1],!0)||!(0,Te.Z)(Qe[2],ze[2],!0)})}function Cn(oe,le){var ge=le.formatList,Ee=le.generateConfig,Le=le.locale,Qe=(0,ne.useState)(null),ze=(0,Et.Z)(Qe,2),vt=ze[0],ft=ze[1],Ct=(0,ne.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,Et.Z)(Ot,2),Vt=It[1];function Ut(Nt){nn(Nt)}function ht(){var Nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;nn(null,Nt)}return(0,ne.useEffect)(function(){ht(!0)},[oe]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(Ct.current)}},[]),[Vt,Ut,ht]}var un=ae(10228),kn=ae(16089),ca=ae(26407),xa=ae(29194),Sa=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(Sa.get(oe)&&cancelAnimationFrame(Sa.get(oe)),ge<=0){Sa.set(oe,requestAnimationFrame(function(){oe.scrollTop=le}));return}var Ee=le-oe.scrollTop,Le=Ee/ge*10;Sa.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,ze=le.onEnter,vt=oe.which,ft=oe.ctrlKey,Ct=oe.metaKey;switch(vt){case un.Z.LEFT:if(ft||Ct){if(Ee)return Ee(-1),!0}else if(ge)return ge(-1),!0;break;case un.Z.RIGHT:if(ft||Ct){if(Ee)return Ee(1),!0}else if(ge)return ge(1),!0;break;case un.Z.UP:if(Le)return Le(-1),!0;break;case un.Z.DOWN:if(Le)return Le(1),!0;break;case un.Z.PAGE_UP:if(Qe)return Qe(-1),!0;break;case un.Z.PAGE_DOWN:if(Qe)return Qe(1),!0;break;case un.Z.ENTER:if(ze)return ze(),!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 mn=function(le){return le==="month"||le==="date"?"year":le},cn=function(le){return le==="date"?"month":le},wn=function(le){return le==="month"||le==="date"?"quarter":le},fn=function(le){return le==="date"?"week":le},ua={year:mn,month:cn,quarter:wn,week:fn,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,ze=oe.onKeyDown,vt=oe.blurToCancel,ft=oe.onSubmit,Ct=oe.onCancel,nn=oe.onFocus,Ot=oe.onBlur,It=oe.changeOnBlur,Vt=(0,ne.useState)(!1),Ut=(0,Et.Z)(Vt,2),ht=Ut[0],Nt=Ut[1],qt=(0,ne.useState)(!1),An=(0,Et.Z)(qt,2),xn=An[0],Dn=An[1],zn=(0,ne.useRef)(!1),On=(0,ne.useRef)(!1),Pn=(0,ne.useRef)(!1),La={onMouseDown:function(){Nt(!0),Le(!0)},onKeyDown:function(Aa){var Ta=function(){Pn.current=!0};if(ze(Aa,Ta),!Pn.current){switch(Aa.which){case un.Z.ENTER:{le?ft()!==!1&&Nt(!0):Le(!0),Aa.preventDefault();return}case un.Z.TAB:{ht&&le&&!Aa.shiftKey?(Nt(!1),Aa.preventDefault()):!ht&&le&&!Qe(Aa)&&Aa.shiftKey&&(Nt(!0),Aa.preventDefault());return}case un.Z.ESC:{Nt(!0),Ct();return}}!le&&![un.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,ne.useEffect)(function(){On.current=!1},[le]),(0,ne.useEffect)(function(){On.current=!0},[ge]),(0,ne.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 Ve(oe,le){return ne.useMemo(function(){return oe||(le?((0,Me.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(le).map(function(ge){var Ee=(0,Et.Z)(ge,2),Le=Ee[0],Qe=Ee[1];return{label:Le,value:Qe}})):[])},[oe,le])}var qe=ae(34280);function $e(oe){var le=oe.valueTexts,ge=oe.onTextChange,Ee=ne.useState(""),Le=(0,Et.Z)(Ee,2),Qe=Le[0],ze=Le[1],vt=ne.useRef([]);vt.current=le;function ft(nn){ze(nn),ge(nn)}function Ct(){ze(vt.current[0])}return(0,qe.Z)(function(){le.every(function(nn){return nn!==Qe})&&Ct()},[le.join("||")]),[Qe,ft,Ct]}var Mt=ne.createContext({}),on=Mt,Kt=ae(39559);function oa(oe){var le=oe.cellRender,ge=oe.monthCellRender,Ee=oe.dateRender,Le=ne.useMemo(function(){if(le)return le;if(!(!ge&&!Ee))return function(Qe,ze){var vt=Qe;return Ee&&ze.type==="date"?Ee(vt,ze.today):ge&&ze.type==="month"?ge(vt,ze.locale):ze.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 Wt(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 po(oe){var le=oe.cellPrefixCls,ge=oe.generateConfig,Ee=oe.rangedValue,Le=oe.hoverRangedValue,Qe=oe.isInView,ze=oe.isSameCell,vt=oe.offsetCell,ft=oe.today,Ct=oe.value;function nn(Ot){var It,Vt=vt(Ot,-1),Ut=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 ze(ht,Aa)}function zn(Aa){return ze(Nt,Aa)}var On=ze(qt,Ot),Pn=ze(An,Ot),La=(xn||Pn)&&(!Qe(Vt)||zn(Vt)),ga=(xn||On)&&(!Qe(Ut)||Dn(Ut));return It={},(0,ye.Z)(It,"".concat(le,"-in-view"),Qe(Ot)),(0,ye.Z)(It,"".concat(le,"-in-range"),xt(ge,ht,Nt,Ot)),(0,ye.Z)(It,"".concat(le,"-range-start"),Dn(Ot)),(0,ye.Z)(It,"".concat(le,"-range-end"),zn(Ot)),(0,ye.Z)(It,"".concat(le,"-range-start-single"),Dn(Ot)&&!Nt),(0,ye.Z)(It,"".concat(le,"-range-end-single"),zn(Ot)&&!ht),(0,ye.Z)(It,"".concat(le,"-range-start-near-hover"),Dn(Ot)&&(ze(Vt,qt)||xt(ge,qt,An,Vt))),(0,ye.Z)(It,"".concat(le,"-range-end-near-hover"),zn(Ot)&&(ze(Ut,An)||xt(ge,qt,An,Ut))),(0,ye.Z)(It,"".concat(le,"-range-hover"),xn),(0,ye.Z)(It,"".concat(le,"-range-hover-start"),On),(0,ye.Z)(It,"".concat(le,"-range-hover-end"),Pn),(0,ye.Z)(It,"".concat(le,"-range-hover-edge-start"),La),(0,ye.Z)(It,"".concat(le,"-range-hover-edge-end"),ga),(0,ye.Z)(It,"".concat(le,"-range-hover-edge-start-near-range"),La&&ze(Vt,Nt)),(0,ye.Z)(It,"".concat(le,"-range-hover-edge-end-near-range"),ga&&ze(Ut,ht)),(0,ye.Z)(It,"".concat(le,"-today"),ze(ft,Ot)),(0,ye.Z)(It,"".concat(le,"-selected"),ze(Ct,Ot)),It}return nn}var Ya=ne.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 ze=Math.floor(oe/Ee)*Ee;if(ze<oe)return[ze,60-Le,60-Qe];var vt=Math.floor(le/Le)*Le;if(vt<le)return[ze,vt,60-Qe];var ft=Math.floor(ge/Qe)*Qe;return[ze,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),ze=Ee<10?"0".concat(Ee):"".concat(Ee);return"".concat(ge,"-").concat(ze,"-").concat(Qe)}function $o(oe){for(var le=oe.prefixCls,ge=oe.disabledDate,Ee=oe.onSelect,Le=oe.picker,Qe=oe.rowNum,ze=oe.colNum,vt=oe.prefixColumn,ft=oe.rowClassName,Ct=oe.baseDate,nn=oe.getCellClassName,Ot=oe.getCellText,It=oe.getCellNode,Vt=oe.getCellDate,Ut=oe.generateConfig,ht=oe.titleCell,Nt=oe.headerCells,qt=ne.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*ze+Ta,Ja=Vt(Ct,Po),Oa=$t({cellDate:Ja,mode:Dn,disabledDate:ge,generateConfig:Ut});Ta===0&&(ga=Ja,vt&&La.push(vt(ga)));var Ra=ht&&ht(Ja),to=ne.createElement("div",{className:"".concat(zn,"-inner")},Ot(Ja));La.push(ne.createElement("td",{key:Ta,title:Ra,className:De()(zn,(0,wt.Z)((io={},(0,ye.Z)(io,"".concat(zn,"-disabled"),Oa),(0,ye.Z)(io,"".concat(zn,"-start"),Ot(Ja)===1||Le==="year"&&Number(Ra)%10===0),(0,ye.Z)(io,"".concat(zn,"-end"),Ra===Xo(Ut,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<ze;Ta+=1)Aa();On.push(ne.createElement("tr",{key:Pn,className:ft&&ft(ga)},La))}return ne.createElement("div",{className:"".concat(le,"-body")},ne.createElement("table",{className:"".concat(le,"-content")},Nt&&ne.createElement("thead",null,ne.createElement("tr",null,Nt)),ne.createElement("tbody",null,On)))}function er(oe){var le=oe.prefixCls,ge=oe.generateConfig,Ee=oe.prefixColumn,Le=oe.locale,Qe=oe.rowCount,ze=oe.viewDate,vt=oe.value,ft=oe.cellRender,Ct=oe.isSameCell,nn=ne.useContext(Ha),Ot=nn.rangedValue,It=nn.hoverRangedValue,Vt=Ht(Le.locale,ge,ze),Ut="".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(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var xn=0;xn<Re;xn+=1)qt.push(ne.createElement("th",{key:xn},An[(xn+ht)%Re]));var Dn=po({cellPrefixCls:Ut,today:Nt,value:vt,generateConfig:ge,rangedValue:Ee?null:Ot,hoverRangedValue:Ee?null:It,isSameCell:Ct||function(On,Pn){return Ke(ge,On,Pn)},isInView:function(Pn){return Ce(ge,Pn,ze)},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 ne.createElement($o,(0,te.Z)({},oe,{rowNum:Qe,colNum:Re,baseDate:Vt,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,ze=oe.superPrevIcon,vt=ze===void 0?"\xAB":ze,ft=oe.superNextIcon,Ct=ft===void 0?"\xBB":ft,nn=oe.onSuperPrev,Ot=oe.onSuperNext,It=oe.onPrev,Vt=oe.onNext,Ut=oe.children,ht=ne.useContext(on),Nt=ht.hideNextBtn,qt=ht.hidePrevBtn;return ne.createElement("div",{className:le},nn&&ne.createElement("button",{type:"button",onClick:nn,tabIndex:-1,className:"".concat(le,"-super-prev-btn"),style:qt?lr:{}},vt),It&&ne.createElement("button",{type:"button",onClick:It,tabIndex:-1,className:"".concat(le,"-prev-btn"),style:qt?lr:{}},Ee),ne.createElement("div",{className:"".concat(le,"-view")},Ut),Vt&&ne.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(le,"-next-btn"),style:Nt?lr:{}},Qe),Ot&&ne.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,ze=oe.onPrevMonth,vt=oe.onNextYear,ft=oe.onPrevYear,Ct=oe.onYearClick,nn=oe.onMonthClick,Ot=ne.useContext(on),It=Ot.hideHeader;if(It)return null;var Vt="".concat(le,"-header"),Ut=Ee.shortMonths||(ge.locale.getShortMonths?ge.locale.getShortMonths(Ee.locale):[]),ht=ge.getMonth(Le),Nt=ne.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=ne.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}):Ut[ht]),An=Ee.monthBeforeYear?[qt,Nt]:[Nt,qt];return ne.createElement(sr,(0,te.Z)({},oe,{prefixCls:Vt,onSuperPrev:ft,onPrev:ze,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,ze=oe.operationRef,vt=oe.generateConfig,ft=oe.value,Ct=oe.viewDate,nn=oe.onViewDateChange,Ot=oe.onPanelChange,It=oe.onSelect,Vt="".concat(le,"-").concat(Ee,"-panel");ze.current={onKeyDown:function(qt){return Na(qt,(0,wt.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*Re),"key")},onPageUpDown:function(xn){It(vt.addMonth(ft||Ct,xn),"key")}},Le))}};var Ut=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 ne.createElement("div",{className:De()(Vt,(0,ye.Z)({},"".concat(Vt,"-active"),Qe))},ne.createElement(di,(0,te.Z)({},oe,{prefixCls:le,value:ft,viewDate:Ct,onPrevYear:function(){Ut(-1)},onNextYear:function(){Ut(1)},onPrevMonth:function(){ht(-1)},onNextMonth:function(){ht(1)},onMonthClick:function(){Ot("month",Ct)},onYearClick:function(){Ot("year",Ct)}})),ne.createElement(Co,(0,te.Z)({},oe,{onSelect:function(qt){return It(qt,"mouse")},prefixCls:le,value:ft,viewDate:Ct,rowCount:Lr})))}var nr=Nr;function pn(oe){var le=ne.useContext(on),ge=le.hideHeader;if(ge)return null;var Ee=oe.prefixCls,Le=oe.generateConfig,Qe=oe.locale,ze=oe.value,vt=oe.format,ft="".concat(Ee,"-header");return ne.createElement(sr,{prefixCls:ft},ze?tn(ze,{locale:Qe,format:vt,generateConfig:Le}):"\xA0")}var na=pn;function Ba(oe){var le=oe.value,ge=oe.generateConfig,Ee=oe.disabledMinutes,Le=oe.disabledSeconds,Qe=oe.minutes,ze=oe.seconds,vt=oe.use12Hours,ft=function(nn,Ot,It,Vt){var Ut=ge.getNow(),ht=le||Ut,Nt=Ot<0?ge.getHour(Ut):Ot,qt=It<0?ge.getMinute(Ut):It,An=Vt<0?ge.getSecond(Ut):Vt,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=ze.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,ze=oe.hideDisabledOptions,vt=oe.info,ft=oe.type,Ct="".concat(le,"-cell"),nn=ne.useContext(on),Ot=nn.open,It=(0,ne.useRef)(null),Vt=(0,ne.useRef)(new Map),Ut=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var ht=Vt.current.get(Le);ht&&Ot!==!1&&Fa(It.current,ht.offsetTop,120)},[Le]),(0,ne.useLayoutEffect)(function(){if(Ot){var ht=Vt.current.get(Le);ht&&(Ut.current=Ea(ht,function(){Fa(It.current,ht.offsetTop,0)}))}return function(){var Nt;(Nt=Ut.current)===null||Nt===void 0||Nt.call(Ut)}},[Ot]),ne.createElement("ul",{className:De()("".concat(le,"-column"),(0,ye.Z)({},"".concat(le,"-column-active"),Qe)),ref:It,style:{position:"relative"}},ge.map(function(ht){var Nt;return ze&&ht.disabled?null:ne.createElement("li",{key:ht.value,ref:function(An){Vt.current.set(ht.value,An)},className:De()(Ct,(Nt={},(0,ye.Z)(Nt,"".concat(Ct,"-disabled"),ht.disabled),(0,ye.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:ne.createElement("div",{className:"".concat(Ct,"-inner")},ht.label),type:"time",subType:ft}):ne.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,ze=oe;ze<=le;ze+=Qe)Le.push({label:Mn(ze,2),value:ze,disabled:(Ee||[]).includes(ze)});return Le}function qo(oe){var le=oe.generateConfig,ge=oe.prefixCls,Ee=oe.operationRef,Le=oe.activeColumnIndex,Qe=oe.value,ze=oe.showHour,vt=oe.showMinute,ft=oe.showSecond,Ct=oe.use12Hours,nn=oe.hourStep,Ot=nn===void 0?1:nn,It=oe.minuteStep,Vt=It===void 0?1:It,Ut=oe.secondStep,ht=Ut===void 0?1:Ut,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=ne.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,Et.Z)(Ra,3),lo=to[0],Ga=to[1],Va=to[2],ko=Oo(0,23,Ot,lo&&lo()),Bo=(0,We.Z)(function(){return ko},ko,uo);Ct&&(Ta=io>=12,io%=12);var de=ne.useMemo(function(){if(!Ct)return[!1,!1];var tt=[!0,!0];return Bo.forEach(function(ot){var Bt=ot.disabled,Lt=ot.value;Bt||(Lt>=12?tt[1]=!1:tt[0]=!1)}),tt},[Ct,Bo]),ce=(0,Et.Z)(de,2),Se=ce[0],we=ce[1],Ne=ne.useMemo(function(){return Ct?Bo.filter(Ta?function(tt){return tt.value>=12}:function(tt){return tt.value<12}).map(function(tt){var ot=tt.value%12,Bt=ot===0?"12":Mn(ot,2);return(0,wt.Z)((0,wt.Z)({},tt),{},{label:Bt,value:ot})}):Bo},[Ct,Ta,Bo]),Fe=Oo(0,59,Vt,Ga&&Ga(Qa)),Ye=Oo(0,59,ht,Va&&Va(Qa,Po)),Ze=Ba({value:Qe,generateConfig:le,disabledMinutes:Ga,disabledSeconds:Va,minutes:Fe,seconds:Ye,use12Hours:Ct});Ee.current={onUpDown:function(ot){var Bt=La[Le];if(Bt)for(var Lt=Bt.units.findIndex(function(an){return an.value===Bt.value}),Dt=Bt.units.length,Yt=1;Yt<Dt;Yt+=1){var jt=Bt.units[(Lt+ot*Yt+Dt)%Dt];if(jt.disabled!==!0){Bt.onSelect(jt.value);break}}}};function Ge(tt,ot,Bt,Lt,Dt){tt!==!1&&La.push({node:ne.cloneElement(ot,{prefixCls:Aa,value:Bt,active:Le===La.length,onSelect:Dt,units:Lt,hideDisabledOptions:Dn}),onSelect:Dt,value:Bt,units:Lt})}Ge(ze,ne.createElement(ro,{key:"hour",type:"hour",info:{today:Oa,locale:Pn,cellRender:On}}),io,Ne,function(tt){zn(Ze(Ta,tt,Po,Ja),"mouse")}),Ge(vt,ne.createElement(ro,{key:"minute",type:"minute",info:{today:Oa,locale:Pn,cellRender:On}}),Po,Fe,function(tt){zn(Ze(Ta,io,tt,Ja),"mouse")}),Ge(ft,ne.createElement(ro,{key:"second",type:"second",info:{today:Oa,locale:Pn,cellRender:On}}),Ja,Ye,function(tt){zn(Ze(Ta,io,Po,tt),"mouse")});var it=-1;return typeof Ta=="boolean"&&(it=Ta?1:0),Ge(Ct===!0,ne.createElement(ro,{key:"meridiem",type:"meridiem",info:{today:Oa,locale:Pn,cellRender:On}}),it,[{label:"AM",value:0,disabled:Se},{label:"PM",value:1,disabled:we}],function(tt){zn(Ze(!!tt,io,Po,Ja),"mouse")}),ne.createElement("div",{className:ga},La.map(function(tt){var ot=tt.node;return ot}))}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,ze=oe.operationRef,vt=oe.showHour,ft=oe.showMinute,Ct=oe.showSecond,nn=oe.use12Hours,Ot=nn===void 0?!1:nn,It=oe.onSelect,Vt=oe.value,Ut="".concat(Le,"-time-panel"),ht=ne.useRef(),Nt=ne.useState(-1),qt=(0,Et.Z)(Nt,2),An=qt[0],xn=qt[1],Dn=Xr([vt,ft,Ct,Ot]);return ze.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(Vt||le.getNow(),"key"),xn(-1)}})},onBlur:function(){xn(-1)}},ne.createElement("div",{className:De()(Ut,(0,ye.Z)({},"".concat(Ut,"-active"),Qe))},ne.createElement(na,(0,te.Z)({},oe,{format:Ee,prefixCls:Le})),ne.createElement(ar,(0,te.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,ze=oe.disabledTime,vt=oe.showTime,ft=oe.onSelect,Ct=oe.cellRender,nn="".concat(le,"-datetime-panel"),Ot=ne.useState(null),It=(0,Et.Z)(Ot,2),Vt=It[0],Ut=It[1],ht=ne.useRef({}),Nt=ne.useRef({}),qt=(0,Kt.Z)(vt)==="object"?(0,wt.Z)({},vt):{};function An(On){var Pn=gi.indexOf(Vt)+On,La=gi[Pn]||null;return La}var xn=function(Pn){Nt.current.onBlur&&Nt.current.onBlur(Pn),Ut(null)};ge.current={onKeyDown:function(Pn){if(Pn.which===un.Z.TAB){var La=An(Pn.shiftKey?-1:1);return Ut(La),La&&Pn.preventDefault(),!0}if(Vt){var ga=Vt==="date"?ht:Nt;return ga.current&&ga.current.onKeyDown&&ga.current.onKeyDown(Pn),!0}return[un.Z.LEFT,un.Z.RIGHT,un.Z.UP,un.Z.DOWN].includes(Pn.which)?(Ut("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=ze?ze(Le||null):{};return ne.createElement("div",{className:De()(nn,(0,ye.Z)({},"".concat(nn,"-active"),Vt))},ne.createElement(nr,(0,te.Z)({},oe,{cellRender:Ct,operationRef:ht,active:Vt==="date",onSelect:function(Pn){Dn(To(Ee,Pn,!Le&&(0,Kt.Z)(vt)==="object"?vt.defaultValue:null),"date")}})),ne.createElement(si,(0,te.Z)({},oe,{cellRender:Ct?function(On,Pn){return Ct(On,(0,wt.Z)((0,wt.Z)({},Pn),{},{type:"time"}))}:void 0,format:void 0},qt,zn,{disabledTime:null,defaultValue:void 0,operationRef:Nt,active:Vt==="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,ze=ne.useContext(on),vt=ze.hideHeader;if(vt)return null;var ft="".concat(le,"-header"),Ct=ge.getYear(Ee),nn=Math.floor(Ct/ue)*ue,Ot=nn+ue-1;return ne.createElement(sr,(0,te.Z)({},oe,{prefixCls:ft,onSuperPrev:Le,onSuperNext:Qe}),nn,"-",Ot)}var $r=mi,Tr=3,mr=4;function zr(oe){var le=pe-1,ge=oe.prefixCls,Ee=oe.viewDate,Le=oe.generateConfig,Qe=oe.cellRender,ze=oe.locale,vt="".concat(ge,"-cell"),ft=Le.getYear(Ee),Ct=Math.floor(ft/pe)*pe,nn=Math.floor(ft/ue)*ue,Ot=nn+ue-1,It=Le.setYear(Ee,nn-Math.ceil((Tr*mr*pe-ue)/2)),Vt=function(Nt){var qt,An=Le.getYear(Nt),xn=An+le;return qt={},(0,ye.Z)(qt,"".concat(vt,"-in-view"),nn<=An&&xn<=Ot),(0,ye.Z)(qt,"".concat(vt,"-selected"),An===Ct),qt},Ut=Qe?function(ht,Nt){return Qe(ht,{originNode:Nt,today:Le.getNow(),type:"decade",locale:ze})}:void 0;return ne.createElement($o,(0,te.Z)({},oe,{rowNum:mr,colNum:Tr,baseDate:It,getCellNode:Ut,getCellText:function(Nt){var qt=Le.getYear(Nt);return"".concat(qt,"-").concat(qt+le)},getCellClassName:Vt,getCellDate:function(Nt,qt){return Le.addYear(Nt,qt*pe)}}))}var Hr=zr;function Gr(oe){var le=oe.prefixCls,ge=oe.onViewDateChange,Ee=oe.generateConfig,Le=oe.viewDate,Qe=oe.operationRef,ze=oe.onSelect,vt=oe.onPanelChange,ft="".concat(le,"-decade-panel");Qe.current={onKeyDown:function(It){return Na(It,{onLeftRight:function(Ut){ze(Ee.addYear(Le,Ut*pe),"key")},onCtrlLeftRight:function(Ut){ze(Ee.addYear(Le,Ut*ue),"key")},onUpDown:function(Ut){ze(Ee.addYear(Le,Ut*pe*Tr),"key")},onEnter:function(){vt("year",Le)}})}};var Ct=function(It){var Vt=Ee.addYear(Le,It*ue);ge(Vt),vt(null,Vt)},nn=function(It){ze(It,"mouse"),vt("year",It)};return ne.createElement("div",{className:ft},ne.createElement($r,(0,te.Z)({},oe,{prefixCls:le,onPrevDecades:function(){Ct(-1)},onNextDecades:function(){Ct(1)}})),ne.createElement(Hr,(0,te.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,ze=oe.onPrevYear,vt=oe.onYearClick,ft=ne.useContext(on),Ct=ft.hideHeader;if(Ct)return null;var nn="".concat(le,"-header");return ne.createElement(sr,(0,te.Z)({},oe,{prefixCls:nn,onSuperPrev:ze,onSuperNext:Qe}),ne.createElement("button",{type:"button",onClick:vt,className:"".concat(le,"-year-btn")},tn(Le,{locale:Ee,format:Ee.yearFormat,generateConfig:ge})))}var Sl=qr,_r=3,gr=4;function Fi(oe){var le=oe.prefixCls,ge=oe.locale,Ee=oe.value,Le=oe.viewDate,Qe=oe.generateConfig,ze=oe.cellRender,vt=ne.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn="".concat(le,"-cell"),Ot=po({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):[]),Vt=Qe.setMonth(Le,0),Ut=ze?function(ht,Nt){return ze(ht,{originNode:Nt,locale:ge,today:Qe.getNow(),type:"month"})}:void 0;return ne.createElement($o,(0,te.Z)({},oe,{rowNum:gr,colNum:_r,baseDate:Vt,getCellNode:Ut,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,ze=oe.viewDate,vt=oe.onPanelChange,ft=oe.onSelect,Ct="".concat(le,"-month-panel");ge.current={onKeyDown:function(It){return Na(It,{onLeftRight:function(Ut){ft(Le.addMonth(Qe||ze,Ut),"key")},onCtrlLeftRight:function(Ut){ft(Le.addYear(Qe||ze,Ut),"key")},onUpDown:function(Ut){ft(Le.addMonth(Qe||ze,Ut*_r),"key")},onEnter:function(){vt("date",Qe||ze)}})}};var nn=function(It){var Vt=Le.addYear(ze,It);Ee(Vt),vt(null,Vt)};return ne.createElement("div",{className:Ct},ne.createElement(Sl,(0,te.Z)({},oe,{prefixCls:le,onPrevYear:function(){nn(-1)},onNextYear:function(){nn(1)},onYearClick:function(){vt("year",ze)}})),ne.createElement(fr,(0,te.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,ze=oe.onPrevYear,vt=oe.onYearClick,ft=ne.useContext(on),Ct=ft.hideHeader;if(Ct)return null;var nn="".concat(le,"-header");return ne.createElement(sr,(0,te.Z)({},oe,{prefixCls:nn,onSuperPrev:ze,onSuperNext:Qe}),ne.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,ze=oe.cellRender,vt=ne.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn="".concat(le,"-cell"),Ot=po({cellPrefixCls:nn,value:Ee,generateConfig:Qe,rangedValue:ft,hoverRangedValue:Ct,isSameCell:function(ht,Nt){return ke(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),Vt=ze?function(Ut,ht){return ze(Ut,{originNode:ht,locale:ge,today:Qe.getNow(),type:"quarter"})}:void 0;return ne.createElement($o,(0,te.Z)({},oe,{rowNum:Pl,colNum:Mi,baseDate:It,getCellNode:Vt,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,ze=oe.viewDate,vt=oe.onPanelChange,ft=oe.onSelect,Ct="".concat(le,"-quarter-panel");ge.current={onKeyDown:function(It){return Na(It,{onLeftRight:function(Ut){ft(Le.addMonth(Qe||ze,Ut*3),"key")},onCtrlLeftRight:function(Ut){ft(Le.addYear(Qe||ze,Ut),"key")},onUpDown:function(Ut){ft(Le.addYear(Qe||ze,Ut),"key")}})}};var nn=function(It){var Vt=Le.addYear(ze,It);Ee(Vt),vt(null,Vt)};return ne.createElement("div",{className:Ct},ne.createElement(Ii,(0,te.Z)({},oe,{prefixCls:le,onPrevYear:function(){nn(-1)},onNextYear:function(){nn(1)},onYearClick:function(){vt("year",ze)}})),ne.createElement(Ti,(0,te.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,ze=oe.onSelect,vt=ne.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn=ne.useContext(on),Ot=nn.onDateMouseEnter,It=nn.onDateMouseLeave,Vt=(Ct==null?void 0:Ct[0])||(ft==null?void 0:ft[0]),Ut=(Ct==null?void 0:Ct[1])||(ft==null?void 0:ft[1]),ht="".concat(le,"-cell"),Nt=function(Dn){var zn=$t({cellDate:Dn,mode:"week",disabledDate:Qe,generateConfig:ge});return ne.createElement("td",{key:"week",className:De()(ht,"".concat(ht,"-week")),onClick:function(){zn||ze(Dn,"mouse")},onMouseEnter:function(){!zn&&Ot&&Ot(Dn)},onMouseLeave:function(){!zn&&It&&It(Dn)}},ne.createElement("div",{className:"".concat(ht,"-inner")},ge.locale.getWeek(Ee.locale,Dn)))},qt="".concat(le,"-week-panel-row"),An=function(Dn){var zn,On=St(ge,Ee.locale,Vt,Dn),Pn=St(ge,Ee.locale,Ut,Dn);return De()(qt,(zn={},(0,ye.Z)(zn,"".concat(qt,"-selected"),!ft&&St(ge,Ee.locale,Le,Dn)),(0,ye.Z)(zn,"".concat(qt,"-range-start"),On),(0,ye.Z)(zn,"".concat(qt,"-range-end"),Pn),(0,ye.Z)(zn,"".concat(qt,"-range-hover"),!On&&!Pn&&xt(ge,Vt,Ut,Dn)),zn))};return ne.createElement(nr,(0,te.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,ze=oe.onDecadeClick,vt=ne.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 ne.createElement(sr,(0,te.Z)({},oe,{prefixCls:Ct,onSuperPrev:Le,onSuperNext:Qe}),ne.createElement("button",{type:"button",onClick:ze,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,ze=oe.cellRender,vt=ne.useContext(Ha),ft=vt.rangedValue,Ct=vt.hoverRangedValue,nn="".concat(le,"-cell"),Ot=Qe.getYear(Ee),It=Math.floor(Ot/Zn)*Zn,Vt=It+Zn-1,Ut=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<=Vt},qt=po({cellPrefixCls:nn,value:ge,generateConfig:Qe,rangedValue:ft,hoverRangedValue:Ct,isSameCell:function(Dn,zn){return he(Qe,Dn,zn)},isInView:Nt,offsetCell:function(Dn,zn){return Qe.addYear(Dn,zn)}}),An=ze?function(xn,Dn){return ze(xn,{originNode:Dn,today:ht,type:"year",locale:Le})}:void 0;return ne.createElement($o,(0,te.Z)({},oe,{rowNum:Do,colNum:Lo,baseDate:Ut,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,ze=oe.viewDate,vt=oe.sourceMode,ft=oe.onSelect,Ct=oe.onPanelChange,nn="".concat(le,"-year-panel");ge.current={onKeyDown:function(Vt){return Na(Vt,{onLeftRight:function(ht){ft(Le.addYear(Qe||ze,ht),"key")},onCtrlLeftRight:function(ht){ft(Le.addYear(Qe||ze,ht*Zn),"key")},onUpDown:function(ht){ft(Le.addYear(Qe||ze,ht*Lo),"key")},onEnter:function(){Ct(vt==="date"?"date":"month",Qe||ze)}})}};var Ot=function(Vt){var Ut=Le.addYear(ze,Vt*10);Ee(Ut),Ct(null,Ut)};return ne.createElement("div",{className:nn},ne.createElement(mo,(0,te.Z)({},oe,{prefixCls:le,onPrevDecade:function(){Ot(-1)},onNextDecade:function(){Ot(1)},onDecadeClick:function(){Ct("decade",ze)}})),ne.createElement(Go,(0,te.Z)({},oe,{prefixCls:le,onSelect:function(Vt){Ct(vt==="date"?"date":"month",Vt),ft(Vt,"mouse")}})))}var _o=cr;function Dr(oe,le,ge){return ge?ne.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,ze=oe.onOk,vt=oe.okDisabled,ft=oe.showNow,Ct=oe.locale,nn,Ot;if(Le){var It=Ee.button||"button";Qe&&ft!==!1&&(nn=ne.createElement("li",{className:"".concat(le,"-now")},ne.createElement("a",{className:"".concat(le,"-now-btn"),onClick:Qe},Ct.now))),Ot=Le&&ne.createElement("li",{className:"".concat(le,"-ok")},ne.createElement(It,{disabled:vt,onClick:ze},Ct.ok))}return!nn&&!Ot?null:ne.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,ze=ge.style,vt=ge.locale,ft=ge.generateConfig,Ct=ge.value,nn=ge.defaultValue,Ot=ge.pickerValue,It=ge.defaultPickerValue,Vt=ge.disabledDate,Ut=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=ne.useContext(on),Ye=Fe.operationRef,Ze=Fe.onSelect,Ge=Fe.hideRanges,it=Fe.defaultOpenValue,tt=ne.useContext(Ha),ot=tt.inRange,Bt=tt.panelPosition,Lt=tt.rangedValue,Dt=tt.hoverRangedValue,Yt=ne.useRef({}),jt=ne.useRef(!0),an=(0,Sn.Z)(null,{value:Ct,defaultValue:nn,postState:function(Rt){return!Rt&&it&&Nt==="time"?it:Rt}}),_t=(0,Et.Z)(an,2),ln=_t[0],Hn=_t[1],Wn=(0,Sn.Z)(null,{value:Ot,defaultValue:It||ln,postState:function(Rt){var hn=ft.getNow();if(!Rt)return hn;if(!ln&&Dn){var ia=(0,Kt.Z)(Dn)==="object"?Dn.defaultValue:nn;return To(ft,Array.isArray(Rt)?Rt[0]:Rt,ia||hn)}return Array.isArray(Rt)?Rt[0]:Rt}}),Nn=(0,Et.Z)(Wn,2),Kn=Nn[0],ra=Nn[1],vn=function(Rt){ra(Rt),Qa&&Qa(Rt)},Fn=function(Rt){var hn=ua[Nt];return hn?hn(Rt):Rt},yn=(0,Sn.Z)(function(){return Nt==="time"?"time":Fn("date")},{value:Ut}),rn=(0,Et.Z)(yn,2),dn=rn[0],jn=rn[1];ne.useEffect(function(){jn(Nt)},[Nt]);var ma=ne.useState(function(){return dn}),la=(0,Et.Z)(ma,2),Rn=la[0],sa=la[1],fa=function(Rt,hn){var ia=Fn(Rt||dn);sa(dn),jn(ia),Aa&&(dn!==ia||kt(ft,Kn,Kn))&&Aa(hn,ia)},ya=function(Rt,hn){var ia=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(dn===Nt||ia)&&(Hn(Rt),La&&La(Rt),Ze&&Ze(Rt,hn),ga&&!kt(ft,Rt,ln)&&!(Vt!=null&&Vt(Rt))&&ga(Rt))},ha=function(Rt){if(Zr.includes(dn)){var hn,ia,pa=dn==="date";switch(Rt===un.Z.PAGE_UP||Rt===un.Z.PAGE_DOWN?ia=pa?ft.addMonth:ft.addYear:ia=pa?ft.addDate:ft.addMonth,Rt){case un.Z.LEFT:case un.Z.PAGE_UP:hn=ia(Kn,-1);break;case un.Z.RIGHT:case un.Z.PAGE_DOWN:hn=ia(Kn,1);break;case un.Z.UP:case un.Z.DOWN:hn=ia(Kn,Number("".concat(Rt===un.Z.UP?"-":"").concat(pa?Re:_r)));break}if(hn)return!(Vt!=null&&Vt(hn))}return!0},Xa=function(Rt){if(Yt.current&&Yt.current.onKeyDown){var hn=!0,ia=Rt.which;if([un.Z.LEFT,un.Z.RIGHT,un.Z.UP,un.Z.DOWN,un.Z.PAGE_UP,un.Z.PAGE_DOWN,un.Z.ENTER].includes(ia)&&(Rt.preventDefault(),ia!==un.Z.ENTER&&An===0&&(hn=ha(ia))),hn)return Yt.current.onKeyDown(Rt)}return(0,Me.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Ca=function(Rt){Yt.current&&Yt.current.onBlur&&Yt.current.onBlur(Rt)};Ye&&Bt!=="right"&&(Ye.current={onKeyDown:Xa,onClose:function(){Yt.current&&Yt.current.onClose&&Yt.current.onClose()}}),ne.useEffect(function(){Ct&&!jt.current&&ra(Ct)},[Ct]),ne.useEffect(function(){jt.current=!1},[]);var _n,oo=oa({cellRender:de,monthCellRender:Bo,dateRender:ko}),Jn=(0,wt.Z)((0,wt.Z)({},oe),{},{cellRender:oo,operationRef:Yt,prefixCls:Le,viewDate:Kn,value:ln,onViewDateChange:vn,sourceMode:Rn,onPanelChange:fa,disabledDate:Vt});switch(delete Jn.onChange,delete Jn.onSelect,dn){case"decade":_n=ne.createElement(Di,(0,te.Z)({},Jn,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}}));break;case"year":_n=ne.createElement(_o,(0,te.Z)({},Jn,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}}));break;case"month":_n=ne.createElement(Oi,(0,te.Z)({},Jn,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}}));break;case"quarter":_n=ne.createElement(qn,(0,te.Z)({},Jn,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}}));break;case"week":_n=ne.createElement(Gn,(0,te.Z)({},Jn,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}}));break;case"time":delete Jn.showTime,_n=ne.createElement(si,(0,te.Z)({},Jn,(0,Kt.Z)(Dn)==="object"?Dn:null,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}}));break;default:Dn?_n=ne.createElement(ui,(0,te.Z)({},Jn,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}})):_n=ne.createElement(nr,(0,te.Z)({},Jn,{onSelect:function(Rt,hn){vn(Rt),ya(Rt,hn)}}))}var Za,Ia,yo=function(){var Rt=ft.getNow(),hn=zo(ft.getHour(Rt),ft.getMinute(Rt),ft.getSecond(Rt),Se?Ra:1,we?lo:1,Ne?Va:1),ia=Wa(ft,Rt,hn[0],hn[1],hn[2]);ya(ia,"submit")};Ge||(Za=Dr(Le,dn,On),Dn&&dn!=="date"?Ia=null:Ia=Fr({prefixCls:Le,components:Po,needConfirmButton:ce,okDisabled:!ln||Vt&&Vt(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=Vt&&Vt(Vn);Qn=ne.createElement("a",{className:De()(Un,Tn&&"".concat(Un,"-disabled")),"aria-disabled":Tn,onClick:function(){Tn||ya(Vn,"mouse",!0)}},vt.today)}return ne.createElement(on.Provider,{value:(0,wt.Z)((0,wt.Z)({},Fe),{},{mode:dn,hideHeader:"hideHeader"in oe?Pn:Fe.hideHeader,hidePrevBtn:ot&&Bt==="right",hideNextBtn:ot&&Bt==="left"})},ne.createElement("div",{tabIndex:An,className:De()("".concat(Le,"-panel"),Qe,(le={},(0,ye.Z)(le,"".concat(Le,"-panel-has-range"),Lt&&Lt[0]&&Lt[1]),(0,ye.Z)(le,"".concat(Le,"-panel-has-range-hover"),Dt&&Dt[0]&&Dt[1]),(0,ye.Z)(le,"".concat(Le,"-panel-rtl"),Ja==="rtl"),le)),style:ze,onKeyDown:Xa,onBlur:Ca,onMouseDown:Ta},_n,Za||Ia||Qn?ne.createElement("div",{className:"".concat(Le,"-footer")},Za,Ia,Qn):null))}var hr=Hi,kr=ae(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,ze=oe.dropdownClassName,vt=oe.dropdownAlign,ft=oe.transitionName,Ct=oe.getPopupContainer,nn=oe.children,Ot=oe.range,It=oe.popupPlacement,Vt=oe.direction,Ut="".concat(ge,"-dropdown"),ht=function(){return It!==void 0?It:Vt==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(kr.Z,{showAction:[],hideAction:[],popupPlacement:ht(),builtinPlacements:Fo,prefixCls:Ut,popupTransitionName:ft,popup:Ee,popupAlign:vt,popupVisible:Qe,popupClassName:De()(ze,(le={},(0,ye.Z)(le,"".concat(Ut,"-range"),Ot),(0,ye.Z)(le,"".concat(Ut,"-rtl"),Vt==="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?ne.createElement("div",{className:"".concat(le,"-presets")},ne.createElement("ul",null,ge.map(function(Qe,ze){var vt=Qe.label,ft=Qe.value;return ne.createElement("li",{key:ze,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,Kt.Z)(le)==="object"?le.clearIcon:ge;return Ee||ne.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,ze=ge.name,vt=ge.tabIndex,ft=ge.style,Ct=ge.className,nn=ge.dropdownClassName,Ot=ge.dropdownAlign,It=ge.popupStyle,Vt=ge.transitionName,Ut=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,Ze=ge.onClick,Ge=ge.onKeyDown,it=ge.onSelect,tt=ge.direction,ot=ge.autoComplete,Bt=ot===void 0?"off":ot,Lt=ge.inputRender,Dt=ge.changeOnBlur,Yt=ne.useRef(null),jt=zn==="date"&&!!xn||zn==="time",an=Ve(Aa),_t=da(In(On,zn,xn,Pn)),ln=ne.useRef(null),Hn=ne.useRef(null),Wn=ne.useRef(null),Nn=(0,Sn.Z)(null,{value:La,defaultValue:ga}),Kn=(0,Et.Z)(Nn,2),ra=Kn[0],vn=Kn[1],Fn=ne.useState(ra),yn=(0,Et.Z)(Fn,2),rn=yn[0],dn=yn[1],jn=ne.useRef(null),ma=(0,Sn.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,Et.Z)(ma,2),Rn=la[0],sa=la[1],fa=bn(rn,{formatList:_t,generateConfig:Ut,locale:ht}),ya=(0,Et.Z)(fa,2),ha=ya[0],Xa=ya[1],Ca=$e({valueTexts:ha,onTextChange:function($n){var xo=gn($n,{locale:ht,formatList:_t,generateConfig:Ut});xo&&(!Ra||!Ra(xo))&&dn(xo)}}),_n=(0,Et.Z)(Ca,3),oo=_n[0],Jn=_n[1],Za=_n[2],Ia=function($n){dn($n),vn($n),ko&&!kt(Ut,ra,$n)&&ko($n,$n?tn($n,{generateConfig:Ut,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,Me.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];Ze==null||Ze.apply(void 0,xo),Yt.current&&(Yt.current.focus(),yo(!0))},Un=function($n){Dt&&Ia(rn),ce==null||ce($n)},Tn=Xn({blurToCancel:jt,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){Ge==null||Ge($n,xo)},onFocus:de,onBlur:Un,changeOnBlur:Dt}),Ln=(0,Et.Z)(Tn,2),Rt=Ln[0],hn=Ln[1],ia=hn.focused,pa=hn.typing;ne.useEffect(function(){Rn||(dn(ra),!ha.length||ha[0]===""?Jn(""):Xa!==oo&&Za())},[Rn,ha]),ne.useEffect(function(){Rn||Za()},[zn]),ne.useEffect(function(){dn(ra)},[ra]),Ga&&(Ga.current={focus:function(){var $n;($n=Yt.current)===null||$n===void 0||$n.focus()},blur:function(){var $n;($n=Yt.current)===null||$n===void 0||$n.blur()}});var Ro=Cn(oo,{formatList:_t,generateConfig:Ut,locale:ht}),Ao=(0,Et.Z)(Ro,3),or=Ao[0],fo=Ao[1],so=Ao[2],Yn=(0,wt.Z)((0,wt.Z)({},oe),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Zo=ne.createElement("div",{className:"".concat(Le,"-panel-layout")},ne.createElement(ei,{prefixCls:Le,presets:an,onClick:function($n){Ia($n),yo(!1)}}),ne.createElement(hr,(0,te.Z)({},Yn,{generateConfig:Ut,className:De()((0,ye.Z)({},"".concat(Le,"-panel-focused"),!pa)),value:rn,locale:ht,tabIndex:-1,onSelect:function($n){it==null||it($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=ne.createElement("div",{className:"".concat(Le,"-panel-container"),ref:ln,onMouseDown:function($n){$n.preventDefault()}},Zo),za;Po&&(za=ne.createElement("span",{className:"".concat(Le,"-suffix"),onMouseDown:function($n){$n.preventDefault()}},Po));var Ka=Kr(Le,qt,Ja),co=ne.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,wt.Z)((0,wt.Z)((0,wt.Z)({id:Qe,tabIndex:vt,disabled:Oa,readOnly:Nt||typeof _t[0]=="function"||!pa,value:or||oo,onChange:function($n){Jn($n.target.value)},autoFocus:An,placeholder:to,ref:Yt,title:oo},Rt),{},{size:qa(zn,_t[0],Ut),name:ze},(0,sn.Z)(oe,{aria:!0,data:!0})),{},{autoComplete:Bt}),wa=Lt?Lt(bo):ne.createElement("input",bo),Vo=function($n,xo){(xo==="submit"||xo!=="key"&&!jt)&&(Ia($n),yo(!1))},Io=tt==="rtl"?"bottomRight":"bottomLeft";return ne.createElement(on.Provider,{value:{operationRef:jn,hideHeader:zn==="time",onSelect:Vo,open:Rn,defaultOpenValue:io,onDateMouseEnter:fo,onDateMouseLeave:so}},ne.createElement(hi,{visible:Rn,popupElement:Wo,popupStyle:It,prefixCls:Le,dropdownClassName:nn,dropdownAlign:Ot,getPopupContainer:lo,transitionName:Vt,popupPlacement:Io,direction:tt},ne.createElement("div",{ref:Wn,className:De()(Le,Ct,(le={},(0,ye.Z)(le,"".concat(Le,"-disabled"),Oa),(0,ye.Z)(le,"".concat(Le,"-focused"),ia),(0,ye.Z)(le,"".concat(Le,"-rtl"),tt==="rtl"),le)),style:ft,onMouseDown:Se,onMouseUp:we,onMouseEnter:Ne,onMouseLeave:Fe,onContextMenu:Ye,onClick:Vn},ne.createElement("div",{className:De()("".concat(Le,"-input"),(0,ye.Z)({},"".concat(Le,"-input-placeholder"),!!or)),ref:Hn},wa,za,wo&&co))))}var vi=function(oe){(0,ct.Z)(ge,oe);var le=(0,Xt.Z)(ge);function ge(){var Ee;(0,je.Z)(this,ge);for(var Le=arguments.length,Qe=new Array(Le),ze=0;ze<Le;ze++)Qe[ze]=arguments[ze];return Ee=le.call.apply(le,[this].concat(Qe)),(0,ye.Z)((0,Qt.Z)(Ee),"pickerRef",ne.createRef()),(0,ye.Z)((0,Qt.Z)(Ee),"focus",function(){Ee.pickerRef.current&&Ee.pickerRef.current.focus()}),(0,ye.Z)((0,Qt.Z)(Ee),"blur",function(){Ee.pickerRef.current&&Ee.pickerRef.current.blur()}),Ee}return(0,pt.Z)(ge,[{key:"render",value:function(){return ne.createElement(dr,(0,te.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ne.Component),pi=vi;function ti(oe,le){var ge=oe.picker,Ee=oe.locale,Le=oe.selectedValue,Qe=oe.disabledDate,ze=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 Vt=ne.useCallback(function(ht){if(ze[0]||Qe&&Qe(ht))return!0;if(ze[1]&&Ct)return!Ke(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!Ke(vt,ht,Ct)&&vt.isAfter(ht,Ct)}return!1},[Qe,ze[1],Ct,le]),Ut=ne.useCallback(function(ht){if(ze[1]||Qe&&Qe(ht))return!0;if(ze[0]&&ft)return!Ke(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!Ke(vt,ht,ft)&&vt.isAfter(ft,ht)}return!1},[Qe,ze[0],ft,le]);return[Vt,Ut]}var Si=ae(70425),Kl=ae(6089);function fd(oe,le,ge,Ee,Le,Qe,ze,vt,ft,Ct){var nn=ne.useState(!1),Ot=(0,Et.Z)(nn,2),It=Ot[0],Vt=Ot[1],Ut=(0,Si.useMergedState)(oe||!1,{value:le}),ht=(0,Et.Z)(Ut,2),Nt=ht[0],qt=ht[1],An=(0,Si.useMergedState)(oe||!1,{value:le,onChange:function(Ra){Ct==null||Ct(Ra)}}),xn=(0,Et.Z)(An,2),Dn=xn[0],zn=xn[1],On=(0,Si.useMergedState)(0,{value:ge}),Pn=(0,Et.Z)(On,2),La=Pn[0],ga=Pn[1],Aa=ne.useState(null),Ta=(0,Et.Z)(Aa,2),Qa=Ta[0],io=Ta[1];ne.useEffect(function(){Dn&&Vt(!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||![ze,vt][lo]?io(lo):(Vt(!1),Qa!==null&&io(null))}else if(to==="confirm"||to==="blur"&&Ee){var Ga=Nt?Po(Ra):Qa;Ga!==null&&(Vt(!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=st(oe,ge,Ee,1);function Qe(ze){return ze(oe,le)?"same":ze(Le,le)?"closing":"far"}switch(ge){case"year":return Qe(function(ze,vt){return Pe(Ee,ze,vt)});case"quarter":case"month":return Qe(function(ze,vt){return he(Ee,ze,vt)});default:return Qe(function(ze,vt){return Ce(Ee,ze,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 ze=jl(Le,Qe,ge,Ee);switch(ze){case"same":return Le;case"closing":return Le;default:return st(Qe,ge,Ee,-1)}}return Le}function Wl(oe){var le=oe.values,ge=oe.picker,Ee=oe.defaultDates,Le=oe.generateConfig,Qe=ne.useState(function(){return[ta(Ee,0),ta(Ee,1)]}),ze=(0,Et.Z)(Qe,2),vt=ze[0],ft=ze[1],Ct=ne.useState(null),nn=(0,Et.Z)(Ct,2),Ot=nn[0],It=nn[1],Vt=ta(le,0),Ut=ta(le,1);function ht(qt){return vt[qt]?vt[qt]:ta(Ot,qt)||jr(le,qt,ge,Le)||Vt||Ut||Le.getNow()}function Nt(qt,An){if(qt){var xn=Wt(Ot,qt,An);ft(Wt(vt,null,An)||[null,null]);var Dn=(An+1)%2;ta(le,Dn)||(xn=Wt(xn,qt,Dn)),It(xn)}else(Vt||Ut)&&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,ze=Qe===void 0?"rc-picker":Qe,vt=Le.id,ft=Le.style,Ct=Le.className,nn=Le.popupStyle,Ot=Le.dropdownClassName,It=Le.transitionName,Vt=Le.dropdownAlign,Ut=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,Ze=Le.renderExtraFooter,Ge=Le.onChange,it=Le.onOpenChange,tt=Le.onPanelChange,ot=Le.onCalendarChange,Bt=Le.onFocus,Lt=Le.onBlur,Dt=Le.onMouseDown,Yt=Le.onMouseUp,jt=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,vn=Le.autoComplete,Fn=vn===void 0?"off":vn,yn=Le.changeOnBlur,rn=On==="date"&&!!Pn||On==="time",dn=(0,ne.useRef)(null),jn=(0,ne.useRef)(null),ma=(0,ne.useRef)(null),la=(0,ne.useRef)(null),Rn=(0,ne.useRef)(null),sa=(0,ne.useRef)(null),fa=(0,ne.useRef)(null),ya=(0,ne.useRef)(null),ha=da(In(Dn,On,Pn,La)),Xa=(0,ne.useRef)(null),Ca=ne.useMemo(function(){return Array.isArray(xn)?xn:[xn||!1,xn||!1]},[xn]),_n=(0,Sn.Z)(null,{value:Ta,defaultValue:Qa,postState:function(ea){return On==="time"&&!Nn?ea:Zi(ea,ht)}}),oo=(0,Et.Z)(_n,2),Jn=oo[0],Za=oo[1],Ia=Wl({values:Jn,picker:On,defaultDates:io,generateConfig:ht}),yo=(0,Et.Z)(Ia,2),Qn=yo[0],Vn=yo[1],Un=(0,Sn.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=Wt(ba,ht.getNow(),ao));return ba}}),Tn=(0,Et.Z)(Un,2),Ln=Tn[0],Rt=Tn[1],hn=(0,Sn.Z)([On,On],{value:Ye}),ia=(0,Et.Z)(hn,2),pa=ia[0],Ro=ia[1];(0,ne.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,it),fo=(0,Et.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,Et.Z)(co,2),bo=wo[0],wa=wo[1],Vo=(0,ne.useState)(0),Io=(0,Et.Z)(Vo,2),ja=Io[0],$n=Io[1];(0,ne.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"&&!St(ht,Nt.locale,ao,No)||On==="quarter"&&!ke(ht,ao,No)||On!=="week"&&On!=="quarter"&&On!=="time"&&!Ke(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(ot){var Jr={range:ea===0?"start":"end"};ot(ba,[Ni,wr],Jr)}var Qr=Ki(ao,0,Ca,de),pl=Ki(No,1,Ca,de),li=ba===null||Qr&&pl;li&&(Za(ba),Ge&&(!kt(ht,ta(Jn,0),ao)||!kt(ht,ta(Jn,1),No))&&Ge(ba,[Ni,wr]))}var br=function(ea){return so&&Xa.current&&Xa.current.onKeyDown?Xa.current.onKeyDown(ea):((0,Me.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,Et.Z)(tr,2),Eo=Yo[0],So=Yo[1],pr=bn(ta(Ln,1),rr),Ar=(0,Et.Z)(pr,2),ur=Ar[0],Sr=Ar[1],ri=function(ea,ba){var ao=gn(ea,{locale:Nt,formatList:ha,generateConfig:ht}),No=ba===0?bo:wa;ao&&!No(ao)&&(Rt(Wt(Ln,ao,ba)),Vn(ao,ba))},el=$e({valueTexts:Eo,onTextChange:function(ea){return ri(ea,0)}}),Da=(0,Et.Z)(el,3),no=Da[0],jo=Da[1],ho=Da[2],Jo=$e({valueTexts:ur,onTextChange:function(ea){return ri(ea,1)}}),Qo=(0,Et.Z)(Jo,3),Uo=Qo[0],Pr=Qo[1],tl=Qo[2],od=(0,ne.useState)(null),nl=(0,Et.Z)(od,2),rd=nl[0],Il=nl[1],xi=(0,ne.useState)(null),Ir=(0,Et.Z)(xi,2),Mr=Ir[0],Ml=Ir[1],Tl=Cn(no,{formatList:ha,generateConfig:ht,locale:Nt}),al=(0,Et.Z)(Tl,3),ol=al[0],Ci=al[1],wi=al[2],id=Cn(Uo,{formatList:ha,generateConfig:ht,locale:Nt}),Ei=(0,Et.Z)(id,3),rl=Ei[0],ld=Ei[1],il=Ei[2],dd=function(ea){Ml(Wt(Ln,ea,Yn)),Yn===0?Ci(ea):ld(ea)},zl=function(){Ml(Wt(Ln,null,Yn)),Yn===0?wi():il()},Li=ne.useState(so),Bi=(0,Et.Z)(Li,2),ll=Bi[0],Hl=Bi[1];ne.useEffect(function(){Hl(so)},[so]);var Gl=function(ea){if(yn&&ll){var ba=ta(Ln,Yn);ba&&Ko(Ln,Yn)}return Lt==null?void 0:Lt(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){Bt&&Bt(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,wt.Z)((0,wt.Z)({},dl(0,ho)),{},{open:za,value:no},sl)),gl=(0,Et.Z)(sd,2),cl=gl[0],ul=gl[1],Ai=ul.focused,ml=ul.typing,gd=Xn((0,wt.Z)((0,wt.Z)({},dl(1,tl)),{},{open:Ka,value:Uo},sl)),Ua=(0,Et.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){Dt&&Dt(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,ne.useEffect)(function(){so||(Rt(Jn),!Eo.length||Eo[0]===""?jo(""):So!==no&&ho(),!ur.length||ur[0]===""?Pr(""):Sr!==Uo&&tl())},[so,Eo,ur]),(0,ne.useEffect)(function(){Rt(Jn)},[hl,vl]);var ii=oa({cellRender:Ga,monthCellRender:lo,dateRender:to}),bd=ne.useMemo(function(){if(ii)return function($a,ea){return ii($a,(0,wt.Z)((0,wt.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=Ve(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,Kt.Z)(Pn)==="object"&&Pn.defaultValue){var No=Pn.defaultValue;ao=(0,wt.Z)((0,wt.Z)({},Pn),{},{defaultValue:ta(No,Yn)||void 0})}return ne.createElement(Ha.Provider,{value:{inRange:!0,panelPosition:$a,rangedValue:rd||Ln,hoverRangedValue:ba}},ne.createElement(hr,(0,te.Z)({},oe,ea,{cellRender:bd,showTime:ao,mode:pa[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,ye.Z)({},"".concat(ze,"-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(Wt(pa,Jr,Yn),Wt(Ln,wr,Yn));var Qr=wr;$a==="right"&&pa[Yn]===Jr&&(Qr=st(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,pd=jn.current.offsetWidth,Sd=ya.current.offsetWidth;pd&&Sd&&Yr>pd-Sd-(Kn==="rtl"?0:Cd)&&(vd=Yr)}var wd=Kn==="rtl"?{right:Yr}:{left:Yr};function Ed(){var $a,ea=Dr(ze,pa[Yn],Ze),ba=Fr({prefixCls:ze,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=st(ao,On,ht),Ni=pa[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(st(Er,On,ht,-1),Yn)}});Kn==="rtl"?$a=ne.createElement(ne.Fragment,null,Qr,wr&&Jr):$a=ne.createElement(ne.Fragment,null,Jr,wr&&Qr)}else $a=cd();var pl=ne.createElement("div",{className:"".concat(ze,"-panel-layout")},ne.createElement(ei,{prefixCls:ze,presets:xd,onClick:function(Er){Ko(Er,null),Wo(!1,Yn,"preset")},onHover:function(Er){Il(Er)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(ze,"-panels")},$a),(ea||ba)&&ne.createElement("div",{className:"".concat(ze,"-footer")},ea,ba)));return Va&&(pl=Va(pl)),ne.createElement("div",{className:"".concat(ze,"-panel-container"),style:{marginLeft:vd},ref:jn,onMouseDown:function(Er){Er.preventDefault()}},pl)}var Ld=ne.createElement("div",{className:De()("".concat(ze,"-range-wrapper"),"".concat(ze,"-").concat(On,"-range-wrapper")),style:{minWidth:ja}},ne.createElement("div",{ref:ya,className:"".concat(ze,"-range-arrow"),style:wd}),Ed()),Pd;Se&&(Pd=ne.createElement("span",{className:"".concat(ze,"-suffix"),onMouseDown:function(ea){ea.preventDefault()}},Se));var Bd=Kr(ze,ce,we),Ad=ne.createElement("span",{onMouseDown:function(ea){ea.preventDefault(),ea.stopPropagation()},onMouseUp:function(ea){ea.preventDefault(),ea.stopPropagation();var ba=Jn;Ca[0]||(ba=Wt(ba,null,0)),Ca[1]||(ba=Wt(ba,null,1)),Ko(ba,null),Wo(!1,Yn,"clear")},className:"".concat(ze,"-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=Wt(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 ne.createElement(on.Provider,{value:{operationRef:Xa,hideHeader:On==="time",onDateMouseEnter:dd,onDateMouseLeave:zl,hideRanges:!0,onSelect:Fd,open:so}},ne.createElement(hi,{visible:so,popupElement:Ld,popupStyle:nn,prefixCls:ze,dropdownClassName:Ot,dropdownAlign:Vt,getPopupContainer:Ut,transitionName:It,range:!0,direction:Kn},ne.createElement("div",(0,te.Z)({ref:dn,className:De()(ze,"".concat(ze,"-range"),Ct,(le={},(0,ye.Z)(le,"".concat(ze,"-disabled"),Ca[0]&&Ca[1]),(0,ye.Z)(le,"".concat(ze,"-focused"),Yn===0?Ai:xr),(0,ye.Z)(le,"".concat(ze,"-rtl"),Kn==="rtl"),le)),style:ft,onClick:Zl,onMouseEnter:jt,onMouseLeave:an,onMouseDown:fl,onMouseUp:Yt},(0,sn.Z)(oe,{aria:!0,data:!0})),ne.createElement("div",{className:De()("".concat(ze,"-input"),(ge={},(0,ye.Z)(ge,"".concat(ze,"-input-active"),Yn===0),(0,ye.Z)(ge,"".concat(ze,"-input-placeholder"),!!ol),ge)),ref:ma},ne.createElement("input",(0,te.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}))),ne.createElement("div",{className:"".concat(ze,"-range-separator"),ref:Rn},Aa),ne.createElement("div",{className:De()("".concat(ze,"-input"),(Ee={},(0,ye.Z)(Ee,"".concat(ze,"-input-active"),Yn===1),(0,ye.Z)(Ee,"".concat(ze,"-input-placeholder"),!!rl),Ee)),ref:la},ne.createElement("input",(0,te.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}))),ne.createElement("div",{className:"".concat(ze,"-active-bar"),style:(0,wt.Z)((0,wt.Z)({},Dd),{},{width:md,position:"absolute"})}),Pd,Nd&&Ad)))}var Ul=function(oe){(0,ct.Z)(ge,oe);var le=(0,Xt.Z)(ge);function ge(){var Ee;(0,je.Z)(this,ge);for(var Le=arguments.length,Qe=new Array(Le),ze=0;ze<Le;ze++)Qe[ze]=arguments[ze];return Ee=le.call.apply(le,[this].concat(Qe)),(0,ye.Z)((0,Qt.Z)(Ee),"pickerRef",ne.createRef()),(0,ye.Z)((0,Qt.Z)(Ee),"focus",function(){Ee.pickerRef.current&&Ee.pickerRef.current.focus()}),(0,ye.Z)((0,Qt.Z)(Ee),"blur",function(){Ee.pickerRef.current&&Ee.pickerRef.current.blur()}),Ee}return(0,pt.Z)(ge,[{key:"render",value:function(){return ne.createElement(Vl,(0,te.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(ne.Component),ji=Ul,bl=pi,ni=ae(19080),Wi=ae(36355),Vi=ae(1684),xl=ae(19716),Cl=ae(32441),wl=ae(9763),El=ae(33234),Ll=ae(48183),ai=ae(64993),Or=ae(9937),Ui=ae(17313),Yl=ae(47585),Jl=ae(74207),Rr=ae(13826),Pi=ae(92899),Yi=ae(37613),Ql=ae(83116);const vr=(oe,le,ge,Ee)=>{const{lineHeight:Le}=oe,Qe=Math.floor(ge*Le)+2,ze=Math.max((le-Qe)/2,0),vt=Math.max(le-Qe-ze,0);return{padding:`${ze}px ${Ee}px ${vt}px`}},Ji=oe=>{const{componentCls:le,pickerCellCls:ge,pickerCellInnerCls:Ee,cellHeight:Le,motionDurationSlow:Qe,borderRadiusSM:ze,motionDurationMid:vt,cellHoverBg:ft,lineWidth:Ct,lineType:nn,colorPrimary:Ot,cellActiveWithRangeBg:It,colorTextLightSolid:Vt,controlHeightSM:Ut,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:ze,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:ze,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:Vt,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:Ut,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:ze,borderEndStartRadius:ze,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ge}-range-end:not(${ge}-range-end-single):not(${ge}-range-start) ${Ee}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ze,borderEndEndRadius:ze},[`&-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:ze,borderEndStartRadius:ze},[`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:ze,borderEndEndRadius:ze},"&-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:ze,paddingSM:vt,paddingXS:ft,paddingXXS:Ct,colorBgContainer:nn,lineWidth:Ot,lineType:It,borderRadiusLG:Vt,colorPrimary:Ut,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=ze*7+Ne*2,Ye=(Fe-ft*2)/3-Le-vt,Ze=(Fe-ft*2)/4-Le;return{[le]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:nn,border:`${Ot}px ${It} ${Nt}`,borderRadius:Vt,outline:"none","&-focused":{borderColor:Ut},"&-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:Ut}}}},"&-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:-(ze-Pn)/2,insetInlineStart:0},[`&-date-panel ${le}-cell-in-view${le}-cell-in-range${le}-cell-range-hover-end ${Ee}::after`]:{insetInlineEnd:0,insetInlineStart:-(ze-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:Ze,borderInlineStart:`${Ot}px dashed ${lo}`,[`${le}-panel-rtl &`]:{insetInlineEnd:Ze,borderInlineEnd:`${Ot}px dashed ${lo}`}},[`${le}-cell-range-hover-end::after`]:{insetInlineEnd:Ze,borderInlineEnd:`${Ot}px dashed ${lo}`,[`${le}-panel-rtl &`]:{insetInlineStart:Ze,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:Ut},[`&${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:ze*7,th:{width:ze,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:ze}=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:ze}))),[`${le}-active-bar`]:{background:Qe}}}}},Bl=oe=>{const{componentCls:le,antCls:ge,controlHeight:Ee,fontSize:Le,paddingInline:Qe,colorBgContainer:ze,lineWidth:vt,lineType:ft,colorBorder:Ct,borderRadius:nn,motionDurationMid:Ot,colorBgContainerDisabled:It,colorTextDisabled:Vt,colorTextPlaceholder:Ut,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:ze,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:Ut}}},"&-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:Vt,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Dn}}},[`${le}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Vt,lineHeight:1,background:ze,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:Vt,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:ze}=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"))&&ze===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=ae(3113);function ql(oe){return ne.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,ne.forwardRef)((ge,Ee)=>{const{prefixCls:Le,getPopupContainer:Qe,className:ze,placement:vt,size:ft,disabled:Ct,bordered:nn=!0,placeholder:Ot,popupClassName:It,dropdownClassName:Vt,status:Ut,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=ne.useRef(null),{getPrefixCls:Dn,direction:zn,getPopupContainer:On}=(0,ne.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=ne.useContext(Vi.Z),lo=Ct!=null?Ct:to,Ga=(0,ne.useContext)(Cl.aM),{hasFeedback:Va,status:ko,feedbackIcon:Bo}=Ga,de=ne.createElement(ne.Fragment,null,Qa==="time"?ne.createElement(et,null):ne.createElement(be,null),Va&&Bo);(0,ne.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(ne.createElement(ji,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${Pn}-separator`},ne.createElement(Pt,null)),disabled:lo,ref:xn,dropdownAlign:$i(zn,vt),placeholder:$l(Se,Qa,Ot),suffixIcon:de,prevIcon:ne.createElement("span",{className:`${Pn}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Pn}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Pn}-super-prev-icon`}),superNextIcon:ne.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,Ut),Va),Ja,ga,ze,qt),locale:Se.lang,prefixCls:Pn,getPopupContainer:Qe||On,generateConfig:oe,components:qi,direction:zn,dropdownClassName:De()(Ja,It||Vt,qt),allowClear:oi(Nt,ht,ne.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,ne.forwardRef)((It,Vt)=>{const{prefixCls:Ut,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,ne.useContext)(Wi.E_),to=Po("picker",Ut),{compactSize:lo,compactItemClassnames:Ga}=(0,El.ri)(to,Ja),Va=ne.useRef(null),{format:ko,showTime:Bo}=It,[de,ce]=Nl(to);(0,ne.useImperativeHandle)(Vt,()=>({focus:()=>{var jt;return(jt=Va.current)===null||jt===void 0?void 0:jt.focus()},blur:()=>{var jt;return(jt=Va.current)===null||jt===void 0?void 0:jt.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)(jt=>{var an;return(an=xn!=null?xn:lo)!==null&&an!==void 0?an:jt}),Ze=ne.useContext(Vi.Z),Ge=ga!=null?ga:Ze,it=(0,ne.useContext)(Cl.aM),{hasFeedback:tt,status:ot,feedbackIcon:Bt}=it,Lt=ne.createElement(ne.Fragment,null,Ne==="time"?ne.createElement(et,null):ne.createElement(be,null),tt&&Bt),[Dt]=(0,wl.Z)("DatePicker",Ll.Z),Yt=Object.assign(Object.assign({},Dt),It.locale);return de(ne.createElement(bl,Object.assign({ref:Va,placeholder:Xl(Yt,Ne,On),suffixIcon:Lt,dropdownAlign:$i(Ja,zn),prevIcon:ne.createElement("span",{className:`${to}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${to}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${to}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${to}-super-next-icon`}),transitionName:`${Fe}-slide-up`},Se,io,we,{locale:Yt.lang,className:De()({[`${to}-${Ye}`]:Ye,[`${to}-borderless`]:!Dn},(0,ni.Z)(to,(0,ni.F)(ot,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:Ge,dropdownClassName:De()(ce,An,Pn||La),allowClear:oi(Qa,Ta,ne.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"),ze=le("time","TimePicker"),vt=le("quarter","QuarterPicker");return{DatePicker:ge,WeekPicker:Ee,MonthPicker:Le,YearPicker:Qe,TimePicker:ze,QuarterPicker:vt}}const ed=null;function td(oe){const{DatePicker:le,WeekPicker:ge,MonthPicker:Ee,YearPicker:Le,TimePicker:Qe,QuarterPicker:ze}=_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=ze,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(ut,At,ae){"use strict";ae.d(At,{Z:function(){return dt}});var se=ae(92310),ve=ae.n(se),Me=ae(59301),at=ae(36355),Ie=ae(17313),Oe=ae(83116),ie=ae(37613);const lt=He=>{const{componentCls:re,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=He;return{[re]:Object.assign(Object.assign({},(0,Ie.Wf)(He)),{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:`${He.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${re}-with-text`]:{display:"flex",alignItems:"center",margin:`${He.dividerHorizontalWithTextGutterMargin}px 0`,color:He.colorTextHeading,fontWeight:500,fontSize:He.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:He.colorText,fontWeight:"normal",fontSize:He.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 rt=(0,Oe.Z)("Divider",He=>{const re=(0,ie.TS)(He,{dividerHorizontalWithTextGutterMargin:He.margin,dividerHorizontalGutterMargin:He.marginLG,sizePaddingEdgeHorizontal:0});return[lt(re)]},He=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:He.marginXS})),nt=function(He,re){var y={};for(var a in He)Object.prototype.hasOwnProperty.call(He,a)&&re.indexOf(a)<0&&(y[a]=He[a]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(He);x<a.length;x++)re.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(He,a[x])&&(y[a[x]]=He[a[x]]);return y},dt=He=>{const{getPrefixCls:re,direction:y,divider:a}=Me.useContext(at.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:ee,rootClassName:te,children:ne,dashed:me,plain:fe,style:Be}=He,xe=nt(He,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ae=re("divider",x),[be,yt]=rt(Ae),mt=E.length>0?`-${E}`:E,Jt=!!ne,Xe=E==="left"&&z!=null,et=E==="right"&&z!=null,bt=ve()(Ae,a==null?void 0:a.className,yt,`${Ae}-${b}`,{[`${Ae}-with-text`]:Jt,[`${Ae}-with-text${mt}`]:Jt,[`${Ae}-dashed`]:!!me,[`${Ae}-plain`]:!!fe,[`${Ae}-rtl`]:y==="rtl",[`${Ae}-no-default-orientation-margin-left`]:Xe,[`${Ae}-no-default-orientation-margin-right`]:et},ee,te),Gt=Me.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Ft=Object.assign(Object.assign({},Xe&&{marginLeft:Gt}),et&&{marginRight:Gt});return be(Me.createElement("div",Object.assign({className:bt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Be)},xe,{role:"separator"}),ne&&b!=="vertical"&&Me.createElement("span",{className:`${Ae}-inner-text`,style:Ft},ne)))}},91857:function(ut,At,ae){"use strict";var se=ae(59301),ve=ae(38819),Me=ae(92310),at=ae.n(Me),Ie=ae(31561),Oe=ae(70425),ie=ae(18929),lt=ae(2738),rt=ae(79676),nt=ae(53487),_e=ae(92343),dt=ae(36355),He=ae(20834),re=ae(40875),y=ae(88088),a=ae(47211);const x=null,b=te=>{const{menu:ne,arrow:me,prefixCls:fe,children:Be,trigger:xe,disabled:Ae,dropdownRender:be,getPopupContainer:yt,overlayClassName:mt,rootClassName:Jt,open:Xe,onOpenChange:et,visible:bt,onVisibleChange:Gt,mouseEnterDelay:Ft=.15,mouseLeaveDelay:Zt=.1,autoAdjustOverflow:Ue=!0,placement:Pt="",overlay:Tt,transitionName:De}=te,{getPopupContainer:je,getPrefixCls:pt,direction:Qt}=se.useContext(dt.E_),ct=se.useMemo(()=>{const Ce=pt();return De!==void 0?De:Pt.includes("top")?`${Ce}-slide-down`:`${Ce}-slide-up`},[pt,Pt,De]),Xt=se.useMemo(()=>Pt?Pt.includes("Center")?Pt.slice(0,Pt.indexOf("Center")):Pt:Qt==="rtl"?"bottomRight":"bottomLeft",[Pt,Qt]),ye=pt("dropdown",fe),[wt,Et]=(0,a.Z)(ye),[,Sn]=(0,y.Z)(),sn=se.Children.only(Be),We=(0,_e.Tm)(sn,{className:at()(`${ye}-trigger`,{[`${ye}-rtl`]:Qt==="rtl"},sn.props.className),disabled:Ae}),Te=Ae?[]:xe;let pe;Te&&Te.includes("contextMenu")&&(pe=!0);const[ue,Re]=(0,ie.Z)(!1,{value:Xe!=null?Xe:bt}),gt=(0,Oe.useEvent)(Ce=>{et==null||et(Ce),Gt==null||Gt(Ce),Re(Ce)}),Pe=at()(mt,Jt,Et,{[`${ye}-rtl`]:Qt==="rtl"}),he=(0,rt.Z)({arrowPointAtCenter:typeof me=="object"&&me.pointAtCenter,autoAdjustOverflow:Ue,offset:Sn.marginXXS,arrowWidth:me?Sn.sizePopupArrow:0,borderRadius:Sn.borderRadius}),Je=se.useCallback(()=>{Re(!1)},[]),ke=()=>{let Ce;return ne!=null&&ne.items?Ce=se.createElement(He.default,Object.assign({},ne)):typeof Tt=="function"?Ce=Tt():Ce=Tt,be&&(Ce=be(Ce)),Ce=se.Children.only(typeof Ce=="string"?se.createElement("span",null,Ce):Ce),se.createElement(re.J,{prefixCls:`${ye}-menu`,expandIcon:se.createElement("span",{className:`${ye}-menu-submenu-arrow`},se.createElement(ve.Z,{className:`${ye}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Je,validator:Ke=>{let{mode:zt}=Ke}},Ce)};return wt(se.createElement(Ie.Z,Object.assign({alignPoint:pe},(0,lt.Z)(te,["rootClassName"]),{mouseEnterDelay:Ft,mouseLeaveDelay:Zt,visible:ue,builtinPlacements:he,arrow:!!me,overlayClassName:Pe,prefixCls:ye,getPopupContainer:yt||je,transitionName:ct,trigger:Te,overlay:ke,placement:Xt,onVisibleChange:gt}),We))};function E(te){return Object.assign(Object.assign({},te),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,nt.Z)(b,"dropdown",te=>te,E),ee=te=>se.createElement(z,Object.assign({},te),se.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ee,At.Z=b},38854:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return y}});var se=ae(91857),ve=ae(92310),Me=ae.n(ve),at=ae(59301),Ie=ae(18785),Oe=ae(3113),ie=ae(36355),lt=ae(81327),rt=ae(33234),nt=ae(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 dt=a=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=at.useContext(ie.E_),{prefixCls:z,type:ee="default",danger:te,disabled:ne,loading:me,onClick:fe,htmlType:Be,children:xe,className:Ae,menu:be,arrow:yt,autoFocus:mt,overlay:Jt,trigger:Xe,align:et,open:bt,onOpenChange:Gt,placement:Ft,getPopupContainer:Zt,href:Ue,icon:Pt=at.createElement(Ie.Z,null),title:Tt,buttonsRender:De=ke=>ke,mouseEnterDelay:je,mouseLeaveDelay:pt,overlayClassName:Qt,overlayStyle:ct,destroyPopupOnHide:Xt,dropdownRender:ye}=a,wt=_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"]),Et=b("dropdown",z),Sn=`${Et}-button`,[sn,We]=(0,nt.Z)(Et),Te={menu:be,arrow:yt,autoFocus:mt,align:et,disabled:ne,trigger:ne?[]:Xe,onOpenChange:Gt,getPopupContainer:Zt||x,mouseEnterDelay:je,mouseLeaveDelay:pt,overlayClassName:Qt,overlayStyle:ct,destroyPopupOnHide:Xt,dropdownRender:ye},{compactSize:pe,compactItemClassnames:ue}=(0,rt.ri)(Et,E),Re=Me()(Sn,ue,Ae,We);"overlay"in a&&(Te.overlay=Jt),"open"in a&&(Te.open=bt),"placement"in a?Te.placement=Ft:Te.placement=E==="rtl"?"bottomLeft":"bottomRight";const gt=at.createElement(Oe.ZP,{type:ee,danger:te,disabled:ne,loading:me,onClick:fe,htmlType:Be,href:Ue,title:Tt},xe),Pe=at.createElement(Oe.ZP,{type:ee,danger:te,icon:Pt}),[he,Je]=De([gt,Pe]);return sn(at.createElement(lt.Z.Compact,Object.assign({className:Re,size:pe,block:!0},wt),he,at.createElement(se.Z,Object.assign({},Te),Je)))};dt.__ANT_BUTTON=!0;var He=dt;const re=se.Z;re.Button=He;var y=re},47211:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return _e}});var se=ae(17313),ve=ae(13826),Me=ae(92899),at=ae(29878),Ie=ae(19447),Oe=ae(83116),ie=ae(37613),rt=dt=>{const{componentCls:He,menuCls:re,colorError:y,colorTextLightSolid:a}=dt,x=`${re}-item`;return{[`${He}, ${He}-menu-submenu`]:{[`${re} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const nt=dt=>{const{componentCls:He,menuCls:re,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:ee,fontSize:te,dropdownEdgeChildPadding:ne,colorTextDisabled:me,fontSizeIcon:fe,controlPaddingHorizontal:Be,colorBgElevated:xe}=dt;return[{[He]:Object.assign(Object.assign({},(0,se.Wf)(dt)),{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}},[`${He}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:fe},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${He}-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${He}-placement-bottomLeft,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${He}-placement-bottomLeft,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${He}-placement-bottom,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${He}-placement-bottom,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${He}-placement-bottomRight,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${He}-placement-bottomRight`]:{animationName:ve.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${He}-placement-topLeft,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${He}-placement-topLeft,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${He}-placement-top,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${He}-placement-top,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${He}-placement-topRight,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${He}-placement-topRight`]:{animationName:ve.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${He}-placement-bottomLeft,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${He}-placement-bottom,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${He}-placement-bottomRight`]:{animationName:ve.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${He}-placement-topLeft,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${He}-placement-top,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${He}-placement-topRight`]:{animationName:ve.ly}})},(0,Ie.ZP)(dt,{colorBg:xe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${He} ${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}},[`${He}, ${He}-menu-submenu`]:{[re]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:xe,backgroundClip:"padding-box",borderRadius:dt.borderRadiusLG,outline:"none",boxShadow:dt.boxShadowSecondary},(0,se.Qy)(dt)),{[`${re}-item-group-title`]:{padding:`${ee}px ${Be}px`,color:dt.colorTextDescription,transition:`all ${z}`},[`${re}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${re}-item-icon`]:{minWidth:te,marginInlineEnd:dt.marginXS,fontSize:dt.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:dt.colorText,fontWeight:"normal",fontSize:te,lineHeight:dt.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:dt.borderRadiusSM,"&:hover, &-active":{backgroundColor:dt.controlItemBgHover}},(0,se.Qy)(dt)),{"&-selected":{color:dt.colorPrimary,backgroundColor:dt.controlItemBgActive,"&:hover, &-active":{backgroundColor:dt.controlItemBgActiveHover}},"&-disabled":{color:me,cursor:"not-allowed","&:hover":{color:me,backgroundColor:xe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${dt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:dt.colorSplit},[`${He}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:dt.paddingXS,[`${He}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:dt.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${re}-item-group-list`]:{margin:`0 ${dt.marginXS}px`,padding:0,listStyle:"none"},[`${re}-submenu-title`]:{paddingInlineEnd:Be+dt.fontSizeSM},[`${re}-submenu-vertical`]:{position:"relative"},[`${re}-submenu${re}-submenu-disabled ${He}-menu-submenu-title`]:{[`&, ${He}-menu-submenu-arrow-icon`]:{color:me,backgroundColor:xe,cursor:"not-allowed"}},[`${re}-submenu-selected ${He}-menu-submenu-title`]:{color:dt.colorPrimary}})}},[(0,ve.oN)(dt,"slide-up"),(0,ve.oN)(dt,"slide-down"),(0,Me.Fm)(dt,"move-up"),(0,Me.Fm)(dt,"move-down"),(0,at._y)(dt,"zoom-big")]]};var _e=(0,Oe.Z)("Dropdown",(dt,He)=>{let{rootPrefixCls:re}=He;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:ee,borderRadiusLG:te}=dt,ne=(x-b*E)/2,{dropdownArrowOffset:me}=(0,Ie.fS)({contentRadius:te}),fe=(0,ie.TS)(dt,{menuCls:`${ee}-menu`,rootPrefixCls:re,dropdownArrowDistance:a/2+y,dropdownArrowOffset:me,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:z});return[nt(fe),rt(fe)]},dt=>({zIndexPopup:dt.zIndexPopupBase+50}))},8628:function(ut,At,ae){"use strict";var se=ae(59301),ve=ae(34280),Me=ae(56762),at=ae(69507);function Ie(){let Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ie=(0,se.useRef)({}),lt=(0,Me.Z)(),rt=(0,at.ZP)();return(0,ve.Z)(()=>{const nt=rt.subscribe(_e=>{ie.current=_e,Oe&<()});return()=>rt.unsubscribe(nt)},[]),ie.current}At.Z=Ie},45818:function(ut,At,ae){"use strict";ae.d(At,{D:function(){return z},Z:function(){return ne}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(fe,Be){return ve.createElement(Ie.Z,(0,se.Z)({},fe,{ref:Be,icon:at}))},ie=ve.forwardRef(Oe),lt=ie,rt=ae(33853),nt=ae(38819),_e=ae(92310),dt=ae.n(_e),He=ae(2738),y=me=>!isNaN(parseFloat(me))&&isFinite(me),a=ae(36355),x=ae(84966),b=function(me,fe){var Be={};for(var xe in me)Object.prototype.hasOwnProperty.call(me,xe)&&fe.indexOf(xe)<0&&(Be[xe]=me[xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,xe=Object.getOwnPropertySymbols(me);Ae<xe.length;Ae++)fe.indexOf(xe[Ae])<0&&Object.prototype.propertyIsEnumerable.call(me,xe[Ae])&&(Be[xe[Ae]]=me[xe[Ae]]);return Be};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=ve.createContext({}),ee=(()=>{let me=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return me+=1,`${fe}${me}`}})();var ne=ve.forwardRef((me,fe)=>{const{prefixCls:Be,className:xe,trigger:Ae,children:be,defaultCollapsed:yt=!1,theme:mt="dark",style:Jt={},collapsible:Xe=!1,reverseArrow:et=!1,width:bt=200,collapsedWidth:Gt=80,zeroWidthTriggerStyle:Ft,breakpoint:Zt,onCollapse:Ue,onBreakpoint:Pt}=me,Tt=b(me,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:De}=(0,ve.useContext)(x.Gs),[je,pt]=(0,ve.useState)("collapsed"in me?me.collapsed:yt),[Qt,ct]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{"collapsed"in me&&pt(me.collapsed)},[me.collapsed]);const Xt=(We,Te)=>{"collapsed"in me||pt(We),Ue==null||Ue(We,Te)},ye=(0,ve.useRef)();ye.current=We=>{ct(We.matches),Pt==null||Pt(We.matches),je!==We.matches&&Xt(We.matches,"responsive")},(0,ve.useEffect)(()=>{function We(pe){return ye.current(pe)}let Te;if(typeof window!="undefined"){const{matchMedia:pe}=window;if(pe&&Zt&&Zt in E){Te=pe(`(max-width: ${E[Zt]})`);try{Te.addEventListener("change",We)}catch(ue){Te.addListener(We)}We(Te)}}return()=>{try{Te==null||Te.removeEventListener("change",We)}catch(pe){Te==null||Te.removeListener(We)}}},[Zt]),(0,ve.useEffect)(()=>{const We=ee("ant-sider-");return De.addSider(We),()=>De.removeSider(We)},[]);const wt=()=>{Xt(!je,"clickTrigger")},{getPrefixCls:Et}=(0,ve.useContext)(a.E_),Sn=()=>{const We=Et("layout-sider",Be),Te=(0,He.Z)(Tt,["collapsed"]),pe=je?Gt:bt,ue=y(pe)?`${pe}px`:String(pe),Re=parseFloat(String(Gt||0))===0?ve.createElement("span",{onClick:wt,className:dt()(`${We}-zero-width-trigger`,`${We}-zero-width-trigger-${et?"right":"left"}`),style:Ft},Ae||ve.createElement(lt,null)):null,he={expanded:et?ve.createElement(nt.Z,null):ve.createElement(rt.Z,null),collapsed:et?ve.createElement(rt.Z,null):ve.createElement(nt.Z,null)}[je?"collapsed":"expanded"],Je=Ae!==null?Re||ve.createElement("div",{className:`${We}-trigger`,onClick:wt,style:{width:ue}},Ae||he):null,ke=Object.assign(Object.assign({},Jt),{flex:`0 0 ${ue}`,maxWidth:ue,minWidth:ue,width:ue}),Ce=dt()(We,`${We}-${mt}`,{[`${We}-collapsed`]:!!je,[`${We}-has-trigger`]:Xe&&Ae!==null&&!Re,[`${We}-below`]:!!Qt,[`${We}-zero-width`]:parseFloat(ue)===0},xe);return ve.createElement("aside",Object.assign({className:Ce},Te,{style:ke,ref:fe}),ve.createElement("div",{className:`${We}-children`},be),Xe||Qt&&Re?Je:null)},sn=ve.useMemo(()=>({siderCollapsed:je}),[je]);return ve.createElement(z.Provider,{value:sn},Sn())})},84966:function(ut,At,ae){"use strict";ae.d(At,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return He},ZP:function(){return ee}});var se=ae(26407),ve=ae(92310),Me=ae.n(ve),at=ae(2738),Ie=ae(59301),Oe=ae(36355),ie=ae(83116),rt=te=>{const{componentCls:ne,bodyBg:me,lightSiderBg:fe,lightTriggerBg:Be,lightTriggerColor:xe}=te;return{[`${ne}-sider-light`]:{background:fe,[`${ne}-sider-trigger`]:{color:xe,background:Be},[`${ne}-sider-zero-width-trigger`]:{color:xe,background:Be,border:`1px solid ${me}`,borderInlineStart:0}}}};const nt=te=>{const{antCls:ne,componentCls:me,colorText:fe,triggerColor:Be,footerBg:xe,triggerBg:Ae,headerHeight:be,headerPadding:yt,headerColor:mt,footerPadding:Jt,triggerHeight:Xe,zeroTriggerHeight:et,zeroTriggerWidth:bt,motionDurationMid:Gt,motionDurationSlow:Ft,fontSize:Zt,borderRadius:Ue,bodyBg:Pt,headerBg:Tt,siderBg:De}=te;return{[me]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Pt,"&, *":{boxSizing:"border-box"},[`&${me}-has-sider`]:{flexDirection:"row",[`> ${me}, > ${me}-content`]:{width:0}},[`${me}-header, &${me}-footer`]:{flex:"0 0 auto"},[`${me}-sider`]:{position:"relative",minWidth:0,background:De,transition:`all ${Gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Xe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Xe,color:Be,lineHeight:`${Xe}px`,textAlign:"center",background:Ae,cursor:"pointer",transition:`all ${Gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:be,insetInlineEnd:-bt,zIndex:1,width:bt,height:et,color:Be,fontSize:te.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:De,borderStartStartRadius:0,borderStartEndRadius:Ue,borderEndEndRadius:Ue,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ft} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ft}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-bt,borderStartStartRadius:Ue,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ue}}}}},rt(te)),{"&-rtl":{direction:"rtl"}}),[`${me}-header`]:{height:be,padding:yt,color:mt,lineHeight:`${be}px`,background:Tt,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${me}-footer`]:{padding:Jt,color:fe,fontSize:Zt,background:xe},[`${me}-content`]:{flex:"auto",minHeight:0}}};var _e=(0,ie.Z)("Layout",te=>[nt(te)],te=>{const{colorBgLayout:ne,controlHeight:me,controlHeightLG:fe,colorText:Be,controlHeightSM:xe,marginXXS:Ae,colorTextLightSolid:be,colorBgContainer:yt}=te,mt=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:me*2,headerPadding:`0 ${mt}px`,headerColor:Be,footerPadding:`${xe}px ${mt}px`,footerBg:ne,siderBg:"#001529",triggerHeight:fe+Ae*2,triggerBg:"#002140",triggerColor:be,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:yt,lightTriggerBg:yt,lightTriggerColor:Be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),dt=function(te,ne){var me={};for(var fe in te)Object.prototype.hasOwnProperty.call(te,fe)&&ne.indexOf(fe)<0&&(me[fe]=te[fe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,fe=Object.getOwnPropertySymbols(te);Be<fe.length;Be++)ne.indexOf(fe[Be])<0&&Object.prototype.propertyIsEnumerable.call(te,fe[Be])&&(me[fe[Be]]=te[fe[Be]]);return me};const He=Ie.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function re(te){let{suffixCls:ne,tagName:me,displayName:fe}=te;return Be=>Ie.forwardRef((Ae,be)=>Ie.createElement(Be,Object.assign({ref:be,suffixCls:ne,tagName:me},Ae)))}const y=Ie.forwardRef((te,ne)=>{const{prefixCls:me,suffixCls:fe,className:Be,tagName:xe}=te,Ae=dt(te,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:be}=Ie.useContext(Oe.E_),yt=be("layout",me),[mt,Jt]=_e(yt),Xe=fe?`${yt}-${fe}`:yt;return mt(Ie.createElement(xe,Object.assign({className:Me()(me||Xe,Be,Jt),ref:ne},Ae)))}),a=Ie.forwardRef((te,ne)=>{const{direction:me}=Ie.useContext(Oe.E_),[fe,Be]=Ie.useState([]),{prefixCls:xe,className:Ae,rootClassName:be,children:yt,hasSider:mt,tagName:Jt,style:Xe}=te,et=dt(te,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),bt=(0,at.Z)(et,["suffixCls"]),{getPrefixCls:Gt,layout:Ft}=Ie.useContext(Oe.E_),Zt=Gt("layout",xe),[Ue,Pt]=_e(Zt),Tt=Me()(Zt,{[`${Zt}-has-sider`]:typeof mt=="boolean"?mt:fe.length>0,[`${Zt}-rtl`]:me==="rtl"},Ft==null?void 0:Ft.className,Ae,be,Pt),De=Ie.useMemo(()=>({siderHook:{addSider:je=>{Be(pt=>[].concat((0,se.Z)(pt),[je]))},removeSider:je=>{Be(pt=>pt.filter(Qt=>Qt!==je))}}}),[]);return Ue(Ie.createElement(He.Provider,{value:De},Ie.createElement(Jt,Object.assign({ref:ne,className:Tt,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),Xe)},bt),yt)))}),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(ut,At,ae){"use strict";ae.d(At,{J:function(){return Oe}});var se=ae(59301),ve=ae(33234),Me=ae(70425),at=function(ie,lt){var rt={};for(var nt in ie)Object.prototype.hasOwnProperty.call(ie,nt)&<.indexOf(nt)<0&&(rt[nt]=ie[nt]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,nt=Object.getOwnPropertySymbols(ie);_e<nt.length;_e++)lt.indexOf(nt[_e])<0&&Object.prototype.propertyIsEnumerable.call(ie,nt[_e])&&(rt[nt[_e]]=ie[nt[_e]]);return rt};const Ie=se.createContext(null),Oe=se.forwardRef((ie,lt)=>{const{children:rt}=ie,nt=at(ie,["children"]),_e=se.useContext(Ie),dt=se.useMemo(()=>Object.assign(Object.assign({},_e),nt),[_e,nt.prefixCls,nt.mode,nt.selectable]);return se.createElement(Ie.Provider,{value:dt},se.createElement(ve.BR,null,(0,Me.supportNodeRef)(rt)?se.cloneElement(rt,{ref:lt}):rt))});At.Z=Ie},20834:function(ut,At,ae){"use strict";ae.d(At,{default:function(){return sn}});var se=ae(15285),ve=ae(59301),Me=ae(45818),at=ae(92310),Ie=ae.n(at),Oe=ae(36355),ie=function(We,Te){var pe={};for(var ue in We)Object.prototype.hasOwnProperty.call(We,ue)&&Te.indexOf(ue)<0&&(pe[ue]=We[ue]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ue=Object.getOwnPropertySymbols(We);Re<ue.length;Re++)Te.indexOf(ue[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,ue[Re])&&(pe[ue[Re]]=We[ue[Re]]);return pe},rt=We=>{const{prefixCls:Te,className:pe,dashed:ue}=We,Re=ie(We,["prefixCls","className","dashed"]),{getPrefixCls:gt}=ve.useContext(Oe.E_),Pe=gt("menu",Te),he=Ie()({[`${Pe}-item-divider-dashed`]:!!ue},pe);return ve.createElement(se.iz,Object.assign({className:he},Re))},nt=ae(11592),_e=ae(2738),dt=ae(6848),He=ae(92343),y=(0,ve.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=We=>{var Te;const{className:pe,children:ue,icon:Re,title:gt,danger:Pe}=We,{prefixCls:he,firstLevel:Je,direction:ke,disableMenuItemTitleTooltip:Ce,inlineCollapsed:Ke}=ve.useContext(y),zt=tn=>{const gn=ve.createElement("span",{className:`${he}-title-content`},ue);return(!Re||(0,He.l$)(ue)&&ue.type==="span")&&ue&&tn&&Je&&typeof ue=="string"?ve.createElement("div",{className:`${he}-inline-collapsed-noicon`},ue.charAt(0)):gn},{siderCollapsed:St}=ve.useContext(Me.D);let kt=gt;typeof gt=="undefined"?kt=Je?ue:"":gt===!1&&(kt="");const xt={title:kt};!St&&!Ke&&(xt.title=null,xt.open=!1);const Ht=(0,nt.Z)(ue).length;let st=ve.createElement(se.ck,Object.assign({},(0,_e.Z)(We,["title","icon","danger"]),{className:Ie()({[`${he}-item-danger`]:Pe,[`${he}-item-only-child`]:(Re?Ht+1:Ht)===1},pe),title:typeof gt=="string"?gt:void 0}),(0,He.Tm)(Re,{className:Ie()((0,He.l$)(Re)?(Te=Re.props)===null||Te===void 0?void 0:Te.className:"",`${he}-item-icon`)}),zt(Ke));return Ce||(st=ve.createElement(dt.Z,Object.assign({},xt,{placement:ke==="rtl"?"left":"right",overlayClassName:`${he}-inline-collapsed-tooltip`}),st)),st},E=We=>{var Te;const{popupClassName:pe,icon:ue,title:Re,theme:gt}=We,Pe=ve.useContext(y),{prefixCls:he,inlineCollapsed:Je,theme:ke}=Pe,Ce=(0,se.Xl)();let Ke;if(!ue)Ke=Je&&!Ce.length&&Re&&typeof Re=="string"?ve.createElement("div",{className:`${he}-inline-collapsed-noicon`},Re.charAt(0)):ve.createElement("span",{className:`${he}-title-content`},Re);else{const St=(0,He.l$)(Re)&&Re.type==="span";Ke=ve.createElement(ve.Fragment,null,(0,He.Tm)(ue,{className:Ie()((0,He.l$)(ue)?(Te=ue.props)===null||Te===void 0?void 0:Te.className:"",`${he}-item-icon`)}),St?Re:ve.createElement("span",{className:`${he}-title-content`},Re))}const zt=ve.useMemo(()=>Object.assign(Object.assign({},Pe),{firstLevel:!1}),[Pe]);return ve.createElement(y.Provider,{value:zt},ve.createElement(se.Wd,Object.assign({},(0,_e.Z)(We,["icon"]),{title:Ke,popupClassName:Ie()(he,pe,`${he}-${gt||ke}`)})))},z=ae(18785),ee=ae(70425),te=ae(62892),ne=ae(40875),me=function(We,Te){var pe={};for(var ue in We)Object.prototype.hasOwnProperty.call(We,ue)&&Te.indexOf(ue)<0&&(pe[ue]=We[ue]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ue=Object.getOwnPropertySymbols(We);Re<ue.length;Re++)Te.indexOf(ue[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,ue[Re])&&(pe[ue[Re]]=We[ue[Re]]);return pe};function fe(We){return(We||[]).map((Te,pe)=>{if(Te&&typeof Te=="object"){const ue=Te,{label:Re,children:gt,key:Pe,type:he}=ue,Je=me(ue,["label","children","key","type"]),ke=Pe!=null?Pe:`tmp-${pe}`;return gt||he==="group"?he==="group"?ve.createElement(se.BW,Object.assign({key:ke},Je,{title:Re}),fe(gt)):ve.createElement(E,Object.assign({key:ke},Je,{title:Re}),fe(gt)):he==="divider"?ve.createElement(rt,Object.assign({key:ke},Je)):ve.createElement(x,Object.assign({key:ke},Je),Re)}return null}).filter(Te=>Te)}function Be(We){return ve.useMemo(()=>We&&fe(We),[We])}var xe=ae(64993),Ae=ae(17313),be=ae(8378),yt=ae(13826),mt=ae(29878),Jt=ae(83116),Xe=ae(37613),bt=We=>{const{componentCls:Te,motionDurationSlow:pe,horizontalLineHeight:ue,colorSplit:Re,lineWidth:gt,lineType:Pe,itemPaddingInline:he}=We;return{[`${Te}-horizontal`]:{lineHeight:ue,border:0,borderBottom:`${gt}px ${Pe} ${Re}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Te}-item, ${Te}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:he},[`> ${Te}-item:hover,
|
|
> ${Te}-item-active,
|
|
> ${Te}-submenu ${Te}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Te}-item, ${Te}-submenu-title`]:{transition:[`border-color ${pe}`,`background ${pe}`].join(",")},[`${Te}-submenu-arrow`]:{display:"none"}}}},Ft=We=>{let{componentCls:Te,menuArrowOffset:pe}=We;return{[`${Te}-rtl`]:{direction:"rtl"},[`${Te}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Te}-rtl${Te}-vertical,
|
|
${Te}-submenu-rtl ${Te}-vertical`]:{[`${Te}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${pe})`},"&::after":{transform:`rotate(45deg) translateY(${pe})`}}}}};const Zt=We=>Object.assign({},(0,Ae.oN)(We));var Pt=(We,Te)=>{const{componentCls:pe,itemColor:ue,itemSelectedColor:Re,groupTitleColor:gt,itemBg:Pe,subMenuItemBg:he,itemSelectedBg:Je,activeBarHeight:ke,activeBarWidth:Ce,activeBarBorderWidth:Ke,motionDurationSlow:zt,motionEaseInOut:St,motionEaseOut:kt,itemPaddingInline:xt,motionDurationMid:Ht,itemHoverColor:st,lineType:tn,colorSplit:gn,itemDisabledColor:$t,dangerItemColor:bn,dangerItemHoverColor:Cn,dangerItemSelectedColor:un,dangerItemActiveBg:kn,dangerItemSelectedBg:ca,itemHoverBg:xa,itemActiveBg:Sa,menuSubMenuBg:Ea,horizontalItemSelectedColor:Fa,horizontalItemSelectedBg:Na,horizontalItemBorderRadius:In,horizontalItemHoverBg:qa,popupBg:_a}=We;return{[`${pe}-${Te}, ${pe}-${Te} > ${pe}`]:{color:ue,background:Pe,[`&${pe}-root:focus-visible`]:Object.assign({},Zt(We)),[`${pe}-item-group-title`]:{color:gt},[`${pe}-submenu-selected`]:{[`> ${pe}-submenu-title`]:{color:Re}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{color:`${$t} !important`},[`${pe}-item:not(${pe}-item-selected):not(${pe}-submenu-selected)`]:{[`&:hover, > ${pe}-submenu-title:hover`]:{color:st}},[`&:not(${pe}-horizontal)`]:{[`${pe}-item:not(${pe}-item-selected)`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:Sa}},[`${pe}-submenu-title`]:{"&:hover":{backgroundColor:xa},"&:active":{backgroundColor:Sa}}},[`${pe}-item-danger`]:{color:bn,[`&${pe}-item:hover`]:{[`&:not(${pe}-item-selected):not(${pe}-submenu-selected)`]:{color:Cn}},[`&${pe}-item:active`]:{background:kn}},[`${pe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${pe}-item-selected`]:{color:Re,[`&${pe}-item-danger`]:{color:un},"a, a:hover":{color:"inherit"}},[`& ${pe}-item-selected`]:{backgroundColor:Je,[`&${pe}-item-danger`]:{backgroundColor:ca}},[`${pe}-item, ${pe}-submenu-title`]:{[`&:not(${pe}-item-disabled):focus-visible`]:Object.assign({},Zt(We))},[`&${pe}-submenu > ${pe}`]:{backgroundColor:Ea},[`&${pe}-popup > ${pe}`]:{backgroundColor:_a},[`&${pe}-horizontal`]:Object.assign(Object.assign({},Te==="dark"?{borderBottom:0}:{}),{[`> ${pe}-item, > ${pe}-submenu`]:{top:Ke,marginTop:-Ke,marginBottom:0,borderRadius:In,"&::after":{position:"absolute",insetInline:xt,bottom:0,borderBottom:`${ke}px solid transparent`,transition:`border-color ${zt} ${St}`,content:'""'},"&:hover, &-active, &-open":{background:qa,"&::after":{borderBottomWidth:ke,borderBottomColor:Fa}},"&-selected":{color:Fa,backgroundColor:Na,"&:hover":{backgroundColor:Na},"&::after":{borderBottomWidth:ke,borderBottomColor:Fa}}}}),[`&${pe}-root`]:{[`&${pe}-inline, &${pe}-vertical`]:{borderInlineEnd:`${Ke}px ${tn} ${gn}`}},[`&${pe}-inline`]:{[`${pe}-sub${pe}-inline`]:{background:he},[`${pe}-item, ${pe}-submenu-title`]:Ke&&Ce?{width:`calc(100% + ${Ke}px)`}:{},[`${pe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ce}px solid ${Re}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ht} ${kt}`,`opacity ${Ht} ${kt}`].join(","),content:'""'},[`&${pe}-item-danger`]:{"&::after":{borderInlineEndColor:un}}},[`${pe}-selected, ${pe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ht} ${St}`,`opacity ${Ht} ${St}`].join(",")}}}}}};const Tt=We=>{const{componentCls:Te,itemHeight:pe,itemMarginInline:ue,padding:Re,menuArrowSize:gt,marginXS:Pe,itemMarginBlock:he}=We,Je=Re+gt+Pe;return{[`${Te}-item`]:{position:"relative",overflow:"hidden"},[`${Te}-item, ${Te}-submenu-title`]:{height:pe,lineHeight:`${pe}px`,paddingInline:Re,overflow:"hidden",textOverflow:"ellipsis",marginInline:ue,marginBlock:he,width:`calc(100% - ${ue*2}px)`},[`> ${Te}-item,
|
|
> ${Te}-submenu > ${Te}-submenu-title`]:{height:pe,lineHeight:`${pe}px`},[`${Te}-item-group-list ${Te}-submenu-title,
|
|
${Te}-submenu-title`]:{paddingInlineEnd:Je}}};var je=We=>{const{componentCls:Te,iconCls:pe,itemHeight:ue,colorTextLightSolid:Re,dropdownWidth:gt,controlHeightLG:Pe,motionDurationMid:he,motionEaseOut:Je,paddingXL:ke,itemMarginInline:Ce,fontSizeLG:Ke,motionDurationSlow:zt,paddingXS:St,boxShadowSecondary:kt,collapsedWidth:xt,collapsedIconSize:Ht}=We,st={height:ue,lineHeight:`${ue}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Te]:{"&-inline, &-vertical":Object.assign({[`&${Te}-root`]:{boxShadow:"none"}},Tt(We))},[`${Te}-submenu-popup`]:{[`${Te}-vertical`]:Object.assign(Object.assign({},Tt(We)),{boxShadow:kt})}},{[`${Te}-submenu-popup ${Te}-vertical${Te}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Pe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Te}-inline`]:{width:"100%",[`&${Te}-root`]:{[`${Te}-item, ${Te}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${zt}`,`background ${zt}`,`padding ${he} ${Je}`].join(","),[`> ${Te}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Te}-sub${Te}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Te}-submenu > ${Te}-submenu-title`]:st,[`& ${Te}-item-group-title`]:{paddingInlineStart:ke}},[`${Te}-item`]:st}},{[`${Te}-inline-collapsed`]:{width:xt,[`&${Te}-root`]:{[`${Te}-item, ${Te}-submenu ${Te}-submenu-title`]:{[`> ${Te}-inline-collapsed-noicon`]:{fontSize:Ke,textAlign:"center"}}},[`> ${Te}-item,
|
|
> ${Te}-item-group > ${Te}-item-group-list > ${Te}-item,
|
|
> ${Te}-item-group > ${Te}-item-group-list > ${Te}-submenu > ${Te}-submenu-title,
|
|
> ${Te}-submenu > ${Te}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ke/2}px - ${Ce}px)`,textOverflow:"clip",[`
|
|
${Te}-submenu-arrow,
|
|
${Te}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Te}-item-icon, ${pe}`]:{margin:0,fontSize:Ht,lineHeight:`${ue}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Te}-item-icon, ${pe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Te}-item-icon, ${pe}`]:{display:"none"},"a, a:hover":{color:Re}},[`${Te}-item-group-title`]:Object.assign(Object.assign({},Ae.vS),{paddingInline:St})}}]};const pt=We=>{const{componentCls:Te,motionDurationSlow:pe,motionDurationMid:ue,motionEaseInOut:Re,motionEaseOut:gt,iconCls:Pe,iconSize:he,iconMarginInlineEnd:Je}=We;return{[`${Te}-item, ${Te}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${pe}`,`background ${pe}`,`padding ${pe} ${Re}`].join(","),[`${Te}-item-icon, ${Pe}`]:{minWidth:he,fontSize:he,transition:[`font-size ${ue} ${gt}`,`margin ${pe} ${Re}`,`color ${pe}`].join(","),"+ span":{marginInlineStart:Je,opacity:1,transition:[`opacity ${pe} ${Re}`,`margin ${pe}`,`color ${pe}`].join(",")}},[`${Te}-item-icon`]:Object.assign({},(0,Ae.Ro)()),[`&${Te}-item-only-child`]:{[`> ${Pe}, > ${Te}-item-icon`]:{marginInlineEnd:0}}},[`${Te}-item-disabled, ${Te}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Te}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Qt=We=>{const{componentCls:Te,motionDurationSlow:pe,motionEaseInOut:ue,borderRadius:Re,menuArrowSize:gt,menuArrowOffset:Pe}=We;return{[`${Te}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:We.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${pe} ${ue}, opacity ${pe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:Re,transition:[`background ${pe} ${ue}`,`transform ${pe} ${ue}`,`top ${pe} ${ue}`,`color ${pe} ${ue}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Pe})`},"&::after":{transform:`rotate(-45deg) translateY(${Pe})`}}}}},ct=We=>{const{antCls:Te,componentCls:pe,fontSize:ue,motionDurationSlow:Re,motionDurationMid:gt,motionEaseInOut:Pe,paddingXS:he,padding:Je,colorSplit:ke,lineWidth:Ce,zIndexPopup:Ke,borderRadiusLG:zt,subMenuItemBorderRadius:St,menuArrowSize:kt,menuArrowOffset:xt,lineType:Ht,menuPanelMaskInset:st,groupTitleLineHeight:tn,groupTitleFontSize:gn}=We;return[{"":{[`${pe}`]:Object.assign(Object.assign({},(0,Ae.dF)()),{"&-hidden":{display:"none"}})},[`${pe}-submenu-hidden`]:{display:"none"}},{[pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ae.Wf)(We)),(0,Ae.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ue,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Re} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${pe}-item`]:{flex:"none"}},[`${pe}-item, ${pe}-submenu, ${pe}-submenu-title`]:{borderRadius:We.itemBorderRadius},[`${pe}-item-group-title`]:{padding:`${he}px ${Je}px`,fontSize:gn,lineHeight:tn,transition:`all ${Re}`},[`&-horizontal ${pe}-submenu`]:{transition:[`border-color ${Re} ${Pe}`,`background ${Re} ${Pe}`].join(",")},[`${pe}-submenu, ${pe}-submenu-inline`]:{transition:[`border-color ${Re} ${Pe}`,`background ${Re} ${Pe}`,`padding ${gt} ${Pe}`].join(",")},[`${pe}-submenu ${pe}-sub`]:{cursor:"initial",transition:[`background ${Re} ${Pe}`,`padding ${Re} ${Pe}`].join(",")},[`${pe}-title-content`]:{transition:`color ${Re}`},[`${pe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${pe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ke,borderStyle:Ht,borderWidth:0,borderTopWidth:Ce,marginBlock:Ce,padding:0,"&-dashed":{borderStyle:"dashed"}}}),pt(We)),{[`${pe}-item-group`]:{[`${pe}-item-group-list`]:{margin:0,padding:0,[`${pe}-item, ${pe}-submenu-title`]:{paddingInline:`${ue*2}px ${Je}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ke,borderRadius:zt,boxShadow:"none",transformOrigin:"0 0",[`&${pe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${st}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:st},"\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:We.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:We.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:We.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:We.paddingXS},[`> ${pe}`]:Object.assign(Object.assign(Object.assign({borderRadius:zt},pt(We)),Qt(We)),{[`${pe}-item, ${pe}-submenu > ${pe}-submenu-title`]:{borderRadius:St},[`${pe}-submenu-title::after`]:{transition:`transform ${Re} ${Pe}`}})}}),Qt(We)),{[`&-inline-collapsed ${pe}-submenu-arrow,
|
|
&-inline ${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${xt})`},"&::after":{transform:`rotate(45deg) translateX(-${xt})`}},[`${pe}-submenu-open${pe}-submenu-inline > ${pe}-submenu-title > ${pe}-submenu-arrow`]:{transform:`translateY(-${kt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${xt})`},"&::before":{transform:`rotate(45deg) translateX(${xt})`}}})},{[`${Te}-layout-header`]:{[pe]:{lineHeight:"inherit"}}}]};var Xt=(We,Te)=>(0,Jt.Z)("Menu",ue=>{if(Te===!1)return[];const{colorBgElevated:Re,colorPrimary:gt,colorTextLightSolid:Pe,controlHeightLG:he,fontSize:Je,darkItemColor:ke,darkDangerItemColor:Ce,darkItemBg:Ke,darkSubMenuItemBg:zt,darkItemSelectedColor:St,darkItemSelectedBg:kt,darkDangerItemSelectedBg:xt,darkItemHoverBg:Ht,darkGroupTitleColor:st,darkItemHoverColor:tn,darkItemDisabledColor:gn,darkDangerItemHoverColor:$t,darkDangerItemSelectedColor:bn,darkDangerItemActiveBg:Cn}=ue,un=Je/7*5,kn=(0,Xe.TS)(ue,{menuArrowSize:un,menuHorizontalHeight:he*1.15,menuArrowOffset:`${un*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Re}),ca=(0,Xe.TS)(kn,{itemColor:ke,itemHoverColor:tn,groupTitleColor:st,itemSelectedColor:St,itemBg:Ke,popupBg:Ke,subMenuItemBg:zt,itemActiveBg:"transparent",itemSelectedBg:kt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ht,itemDisabledColor:gn,dangerItemColor:Ce,dangerItemHoverColor:$t,dangerItemSelectedColor:bn,dangerItemActiveBg:Cn,dangerItemSelectedBg:xt,menuSubMenuBg:zt,horizontalItemSelectedColor:Pe,horizontalItemSelectedBg:gt});return[ct(kn),bt(kn),je(kn),Pt(kn,"light"),Pt(ca,"dark"),Ft(kn),(0,be.Z)(kn),(0,yt.oN)(kn,"slide-up"),(0,yt.oN)(kn,"slide-down"),(0,mt._y)(kn,"zoom-big")]},ue=>{const{colorPrimary:Re,colorError:gt,colorTextDisabled:Pe,colorErrorBg:he,colorText:Je,colorTextDescription:ke,colorBgContainer:Ce,colorFillAlter:Ke,colorFillContent:zt,lineWidth:St,lineWidthBold:kt,controlItemBgActive:xt,colorBgTextHover:Ht,controlHeightLG:st,lineHeight:tn,colorBgElevated:gn,marginXXS:$t,padding:bn,fontSize:Cn,controlHeightSM:un,fontSizeLG:kn,colorTextLightSolid:ca,colorErrorHover:xa}=ue,Sa=new xe.C(ca).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ue.zIndexPopupBase+50,radiusItem:ue.borderRadiusLG,itemBorderRadius:ue.borderRadiusLG,radiusSubMenuItem:ue.borderRadiusSM,subMenuItemBorderRadius:ue.borderRadiusSM,colorItemText:Je,itemColor:Je,colorItemTextHover:Je,itemHoverColor:Je,colorItemTextHoverHorizontal:Re,horizontalItemHoverColor:Re,colorGroupTitle:ke,groupTitleColor:ke,colorItemTextSelected:Re,itemSelectedColor:Re,colorItemTextSelectedHorizontal:Re,horizontalItemSelectedColor:Re,colorItemBg:Ce,itemBg:Ce,colorItemBgHover:Ht,itemHoverBg:Ht,colorItemBgActive:zt,itemActiveBg:xt,colorSubItemBg:Ke,subMenuItemBg:Ke,colorItemBgSelected:xt,itemSelectedBg:xt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:kt,activeBarHeight:kt,colorActiveBarBorderSize:St,activeBarBorderWidth:St,colorItemTextDisabled:Pe,itemDisabledColor:Pe,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:he,dangerItemActiveBg:he,colorDangerItemBgSelected:he,dangerItemSelectedBg:he,itemMarginInline:ue.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:st,groupTitleLineHeight:tn,collapsedWidth:st*2,popupBg:gn,itemMarginBlock:$t,itemPaddingInline:bn,horizontalLineHeight:`${st*1.15}px`,iconSize:Cn,iconMarginInlineEnd:un-Cn,collapsedIconSize:kn,groupTitleFontSize:Cn,darkItemDisabledColor:new xe.C(ca).setAlpha(.25).toRgbString(),darkItemColor:Sa,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ca,darkItemSelectedBg:Re,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Sa,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"]]})(We),ye=function(We,Te){var pe={};for(var ue in We)Object.prototype.hasOwnProperty.call(We,ue)&&Te.indexOf(ue)<0&&(pe[ue]=We[ue]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ue=Object.getOwnPropertySymbols(We);Re<ue.length;Re++)Te.indexOf(ue[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,ue[Re])&&(pe[ue[Re]]=We[ue[Re]]);return pe},Et=(0,ve.forwardRef)((We,Te)=>{var pe,ue;const Re=ve.useContext(ne.Z),gt=Re||{},{getPrefixCls:Pe,getPopupContainer:he,direction:Je,menu:ke}=ve.useContext(Oe.E_),Ce=Pe(),{prefixCls:Ke,className:zt,style:St,theme:kt="light",expandIcon:xt,_internalDisableMenuItemTitleTooltip:Ht,inlineCollapsed:st,siderCollapsed:tn,items:gn,children:$t,rootClassName:bn,mode:Cn,selectable:un,onClick:kn,overflowedIndicatorPopupClassName:ca}=We,xa=ye(We,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Sa=(0,_e.Z)(xa,["collapsedWidth"]),Ea=Be(gn)||$t;(pe=gt.validator)===null||pe===void 0||pe.call(gt,{mode:Cn});const Fa=(0,ee.useEvent)(function(){var fn;kn==null||kn.apply(void 0,arguments),(fn=gt.onClick)===null||fn===void 0||fn.call(gt)}),Na=gt.mode||Cn,In=un!=null?un:gt.selectable,qa=ve.useMemo(()=>tn!==void 0?tn:st,[st,tn]),_a={horizontal:{motionName:`${Ce}-slide-up`},inline:(0,te.Z)(Ce),other:{motionName:`${Ce}-zoom-big`}},Pa=Pe("menu",Ke||gt.prefixCls),[eo,Mo]=Xt(Pa,!Re),mn=Ie()(`${Pa}-${kt}`,ke==null?void 0:ke.className,zt);let cn;if(typeof xt=="function")cn=xt;else if(xt===null||xt===!1)cn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)cn=null;else{const fn=xt!=null?xt:gt.expandIcon;cn=(0,He.Tm)(fn,{className:Ie()(`${Pa}-submenu-expand-icon`,(0,He.l$)(fn)?(ue=fn.props)===null||ue===void 0?void 0:ue.className:"")})}const wn=ve.useMemo(()=>({prefixCls:Pa,inlineCollapsed:qa||!1,direction:Je,firstLevel:!0,theme:kt,mode:Na,disableMenuItemTitleTooltip:Ht}),[Pa,qa,Je,Ht,kt]);return eo(ve.createElement(ne.Z.Provider,{value:null},ve.createElement(y.Provider,{value:wn},ve.createElement(se.ZP,Object.assign({getPopupContainer:he,overflowedIndicator:ve.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ie()(Pa,`${Pa}-${kt}`,ca),mode:Na,selectable:In,onClick:Fa},Sa,{inlineCollapsed:qa,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),St),className:mn,prefixCls:Pa,direction:Je,defaultMotions:_a,expandIcon:cn,ref:Te,rootClassName:Ie()(bn,Mo)}),Ea))))});const Sn=(0,ve.forwardRef)((We,Te)=>{const pe=(0,ve.useRef)(null),ue=ve.useContext(Me.D);return(0,ve.useImperativeHandle)(Te,()=>({menu:pe.current,focus:Re=>{var gt;(gt=pe.current)===null||gt===void 0||gt.focus(Re)}})),ve.createElement(Et,Object.assign({ref:pe},We,ue))});Sn.Item=x,Sn.SubMenu=E,Sn.Divider=rt,Sn.ItemGroup=se.BW;var sn=Sn},58421:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return gt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(he,Je){return ve.createElement(Ie.Z,(0,se.Z)({},he,{ref:Je,icon:at}))},ie=ve.forwardRef(Oe),lt=ie,rt=ae(49198),nt=ae(33853),_e=ae(38819),dt=ae(92310),He=ae.n(dt),re=ae(400),y=ae(33708),a=ae(6909),x=ae(4771),b=ae(9427),E=ae(25440),z=ae(26112),ee={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},te=ee,ne=ae(91735),me=function(Pe){(0,b.Z)(Je,Pe);var he=(0,E.Z)(Je);function Je(){var ke;(0,a.Z)(this,Je);for(var Ce=arguments.length,Ke=new Array(Ce),zt=0;zt<Ce;zt++)Ke[zt]=arguments[zt];return ke=he.call.apply(he,[this].concat(Ke)),ke.state={goInputText:""},ke.getValidValue=function(){var St=ke.state.goInputText;return!St||Number.isNaN(St)?void 0:Number(St)},ke.buildOptionText=function(St){return"".concat(St," ").concat(ke.props.locale.items_per_page)},ke.changeSize=function(St){ke.props.changeSize(Number(St))},ke.handleChange=function(St){ke.setState({goInputText:St.target.value})},ke.handleBlur=function(St){var kt=ke.props,xt=kt.goButton,Ht=kt.quickGo,st=kt.rootPrefixCls,tn=ke.state.goInputText;xt||tn===""||(ke.setState({goInputText:""}),!(St.relatedTarget&&(St.relatedTarget.className.indexOf("".concat(st,"-item-link"))>=0||St.relatedTarget.className.indexOf("".concat(st,"-item"))>=0))&&Ht(ke.getValidValue()))},ke.go=function(St){var kt=ke.state.goInputText;kt!==""&&(St.keyCode===te.ENTER||St.type==="click")&&(ke.setState({goInputText:""}),ke.props.quickGo(ke.getValidValue()))},ke}return(0,x.Z)(Je,[{key:"getPageSizeOptions",value:function(){var Ce=this.props,Ke=Ce.pageSize,zt=Ce.pageSizeOptions;return zt.some(function(St){return St.toString()===Ke.toString()})?zt:zt.concat([Ke.toString()]).sort(function(St,kt){var xt=Number.isNaN(Number(St))?0:Number(St),Ht=Number.isNaN(Number(kt))?0:Number(kt);return xt-Ht})}},{key:"render",value:function(){var Ce=this,Ke=this.props,zt=Ke.pageSize,St=Ke.locale,kt=Ke.rootPrefixCls,xt=Ke.changeSize,Ht=Ke.quickGo,st=Ke.goButton,tn=Ke.selectComponentClass,gn=Ke.buildOptionText,$t=Ke.selectPrefixCls,bn=Ke.disabled,Cn=this.state.goInputText,un="".concat(kt,"-options"),kn=tn,ca=null,xa=null,Sa=null;if(!xt&&!Ht)return null;var Ea=this.getPageSizeOptions();if(xt&&kn){var Fa=Ea.map(function(Na,In){return ve.createElement(kn.Option,{key:In,value:Na.toString()},(gn||Ce.buildOptionText)(Na))});ca=ve.createElement(kn,{disabled:bn,prefixCls:$t,showSearch:!1,className:"".concat(un,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(zt||Ea[0]).toString(),onChange:this.changeSize,getPopupContainer:function(In){return In.parentNode},"aria-label":St.page_size,defaultOpen:!1},Fa)}return Ht&&(st&&(Sa=typeof st=="boolean"?ve.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:bn,className:"".concat(un,"-quick-jumper-button")},St.jump_to_confirm):ve.createElement("span",{onClick:this.go,onKeyUp:this.go},st)),xa=ve.createElement("div",{className:"".concat(un,"-quick-jumper")},St.jump_to,ve.createElement("input",{disabled:bn,type:"text",value:Cn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":St.page}),St.page,Sa)),ve.createElement("li",{className:"".concat(un)},ca,xa)}}]),Je}(ve.Component);me.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=me,Be=function(he){var Je,ke=he.rootPrefixCls,Ce=he.page,Ke=he.active,zt=he.className,St=he.showTitle,kt=he.onClick,xt=he.onKeyPress,Ht=he.itemRender,st="".concat(ke,"-item"),tn=He()(st,"".concat(st,"-").concat(Ce),(Je={},(0,re.Z)(Je,"".concat(st,"-active"),Ke),(0,re.Z)(Je,"".concat(st,"-disabled"),!Ce),(0,re.Z)(Je,he.className,zt),Je)),gn=function(){kt(Ce)},$t=function(un){xt(un,kt,Ce)},bn=Ht(Ce,"page",ve.createElement("a",{rel:"nofollow"},Ce));return bn?ve.createElement("li",{title:St?Ce.toString():null,className:tn,onClick:gn,onKeyPress:$t,tabIndex:0},bn):null},xe=Be;function Ae(){}function be(Pe){var he=Number(Pe);return typeof he=="number"&&!Number.isNaN(he)&&isFinite(he)&&Math.floor(he)===he}var yt=function(he,Je,ke){return ke};function mt(Pe,he,Je){var ke=typeof Pe=="undefined"?he.pageSize:Pe;return Math.floor((Je.total-1)/ke)+1}var Jt=function(Pe){(0,b.Z)(Je,Pe);var he=(0,E.Z)(Je);function Je(ke){var Ce;(0,a.Z)(this,Je),Ce=he.call(this,ke),Ce.paginationNode=ve.createRef(),Ce.getJumpPrevPage=function(){return Math.max(1,Ce.state.current-(Ce.props.showLessItems?3:5))},Ce.getJumpNextPage=function(){return Math.min(mt(void 0,Ce.state,Ce.props),Ce.state.current+(Ce.props.showLessItems?3:5))},Ce.getItemIcon=function(xt,Ht){var st=Ce.props.prefixCls,tn=xt||ve.createElement("button",{type:"button","aria-label":Ht,className:"".concat(st,"-item-link")});return typeof xt=="function"&&(tn=ve.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,st=xt.total,tn=Ce.state.pageSize;return st<=tn?!1:Ht},Ce.handleKeyDown=function(xt){(xt.keyCode===te.ARROW_UP||xt.keyCode===te.ARROW_DOWN)&&xt.preventDefault()},Ce.handleKeyUp=function(xt){var Ht=Ce.getValidValue(xt),st=Ce.state.currentInputValue;Ht!==st&&Ce.setState({currentInputValue:Ht}),xt.keyCode===te.ENTER?Ce.handleChange(Ht):xt.keyCode===te.ARROW_UP?Ce.handleChange(Ht-1):xt.keyCode===te.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,st=mt(xt,Ce.state,Ce.props);Ht=Ht>st?st:Ht,st===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,st=Ht.disabled,tn=Ht.onChange,gn=Ce.state,$t=gn.pageSize,bn=gn.current,Cn=gn.currentInputValue;if(Ce.isValid(xt)&&!st){var un=mt(void 0,Ce.state,Ce.props),kn=xt;return xt>un?kn=un:xt<1&&(kn=1),"current"in Ce.props||Ce.setState({current:kn}),kn!==Cn&&Ce.setState({currentInputValue:kn}),tn(kn,$t),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<mt(void 0,Ce.state,Ce.props)},Ce.runIfEnter=function(xt,Ht){if(xt.key==="Enter"||xt.charCode===13){for(var st=arguments.length,tn=new Array(st>2?st-2:0),gn=2;gn<st;gn++)tn[gn-2]=arguments[gn];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===te.ENTER||xt.type==="click")&&Ce.handleChange(Ce.state.currentInputValue)},Ce.renderPrev=function(xt){var Ht=Ce.props,st=Ht.prevIcon,tn=Ht.itemRender,gn=tn(xt,"prev",Ce.getItemIcon(st,"prev page")),$t=!Ce.hasPrev();return(0,ve.isValidElement)(gn)?(0,ve.cloneElement)(gn,{disabled:$t}):gn},Ce.renderNext=function(xt){var Ht=Ce.props,st=Ht.nextIcon,tn=Ht.itemRender,gn=tn(xt,"next",Ce.getItemIcon(st,"next page")),$t=!Ce.hasNext();return(0,ve.isValidElement)(gn)?(0,ve.cloneElement)(gn,{disabled:$t}):gn};var Ke=ke.onChange!==Ae,zt="current"in ke;zt&&!Ke&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var St=ke.defaultCurrent;"current"in ke&&(St=ke.current);var kt=ke.defaultPageSize;return"pageSize"in ke&&(kt=ke.pageSize),St=Math.min(St,mt(kt,void 0,ke)),Ce.state={current:St,currentInputValue:St,pageSize:kt},Ce}return(0,x.Z)(Je,[{key:"componentDidUpdate",value:function(Ce,Ke){var zt=this.props.prefixCls;if(Ke.current!==this.state.current&&this.paginationNode.current){var St=this.paginationNode.current.querySelector(".".concat(zt,"-item-").concat(Ke.current));if(St&&document.activeElement===St){var kt;St==null||(kt=St.blur)===null||kt===void 0||kt.call(St)}}}},{key:"getValidValue",value:function(Ce){var Ke=Ce.target.value,zt=mt(void 0,this.state,this.props),St=this.state.currentInputValue,kt;return Ke===""?kt=Ke:Number.isNaN(Number(Ke))?kt=St:Ke>=zt?kt=zt:kt=Number(Ke),kt}},{key:"getShowSizeChanger",value:function(){var Ce=this.props,Ke=Ce.showSizeChanger,zt=Ce.total,St=Ce.totalBoundaryShowSizeChanger;return typeof Ke!="undefined"?Ke:zt>St}},{key:"render",value:function(){var Ce=this.props,Ke=Ce.prefixCls,zt=Ce.className,St=Ce.style,kt=Ce.disabled,xt=Ce.hideOnSinglePage,Ht=Ce.total,st=Ce.locale,tn=Ce.showQuickJumper,gn=Ce.showLessItems,$t=Ce.showTitle,bn=Ce.showTotal,Cn=Ce.simple,un=Ce.itemRender,kn=Ce.showPrevNextJumpers,ca=Ce.jumpPrevIcon,xa=Ce.jumpNextIcon,Sa=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=mt(void 0,this.state,this.props),eo=[],Mo=null,mn=null,cn=null,wn=null,fn=null,ua=tn&&tn.goButton,va=gn?1:2,Xn=In-1>0?In-1:0,Ve=In+1<Pa?In+1:Pa,qe=(0,z.Z)(this.props,{aria:!0,data:!0}),$e=bn&&ve.createElement("li",{className:"".concat(Ke,"-total-text")},bn(Ht,[Ht===0?0:(In-1)*qa+1,In*qa>Ht?Ht:In*qa]));if(Cn){ua&&(typeof ua=="boolean"?fn=ve.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},st.jump_to_confirm):fn=ve.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ua),fn=ve.createElement("li",{title:$t?"".concat(st.jump_to).concat(In,"/").concat(Pa):null,className:"".concat(Ke,"-simple-pager")},fn));var Mt=this.renderPrev(Xn);return ve.createElement("ul",(0,se.Z)({className:He()(Ke,"".concat(Ke,"-simple"),(0,re.Z)({},"".concat(Ke,"-disabled"),kt),zt),style:St,ref:this.paginationNode},qe),$e,Mt?ve.createElement("li",{title:$t?st.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:He()("".concat(Ke,"-prev"),(0,re.Z)({},"".concat(Ke,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Mt):null,ve.createElement("li",{title:$t?"".concat(In,"/").concat(Pa):null,className:"".concat(Ke,"-simple-pager")},ve.createElement("input",{type:"text",value:_a,disabled:kt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ve.createElement("span",{className:"".concat(Ke,"-slash")},"/"),Pa),ve.createElement("li",{title:$t?st.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:He()("".concat(Ke,"-next"),(0,re.Z)({},"".concat(Ke,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ve)),fn)}if(Pa<=3+va*2){var on={locale:st,rootPrefixCls:Ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:$t,itemRender:un};Pa||eo.push(ve.createElement(xe,(0,se.Z)({},on,{key:"noPager",page:1,className:"".concat(Ke,"-item-disabled")})));for(var Kt=1;Kt<=Pa;Kt+=1){var oa=In===Kt;eo.push(ve.createElement(xe,(0,se.Z)({},on,{key:Kt,page:Kt,active:oa})))}}else{var Mn=gn?st.prev_3:st.prev_5,En=gn?st.next_3:st.next_5,da=un(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ca,"prev page")),ta=un(this.getJumpNextPage(),"jump-next",this.getItemIcon(xa,"next page"));kn&&(Mo=da?ve.createElement("li",{title:$t?Mn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:He()("".concat(Ke,"-jump-prev"),(0,re.Z)({},"".concat(Ke,"-jump-prev-custom-icon"),!!ca))},da):null,mn=ta?ve.createElement("li",{title:$t?En:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:He()("".concat(Ke,"-jump-next"),(0,re.Z)({},"".concat(Ke,"-jump-next-custom-icon"),!!xa))},ta):null),wn=ve.createElement(xe,{locale:st,last:!0,rootPrefixCls:Ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Pa,page:Pa,active:!1,showTitle:$t,itemRender:un}),cn=ve.createElement(xe,{locale:st,rootPrefixCls:Ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:$t,itemRender:un});var Wt=Math.max(1,In-va),ka=Math.min(In+va,Pa);In-1<=va&&(ka=1+va*2),Pa-In<=va&&(Wt=Pa-va*2);for(var po=Wt;po<=ka;po+=1){var Ya=In===po;eo.push(ve.createElement(xe,{locale:st,rootPrefixCls:Ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:po,page:po,active:Ya,showTitle:$t,itemRender:un}))}In-1>=va*2&&In!==3&&(eo[0]=(0,ve.cloneElement)(eo[0],{className:"".concat(Ke,"-item-after-jump-prev")}),eo.unshift(Mo)),Pa-In>=va*2&&In!==Pa-2&&(eo[eo.length-1]=(0,ve.cloneElement)(eo[eo.length-1],{className:"".concat(Ke,"-item-before-jump-next")}),eo.push(mn)),Wt!==1&&eo.unshift(cn),ka!==Pa&&eo.push(wn)}var Ha=!this.hasPrev()||!Pa,Wa=!this.hasNext()||!Pa,To=this.renderPrev(Xn),zo=this.renderNext(Ve);return ve.createElement("ul",(0,se.Z)({className:He()(Ke,zt,(0,re.Z)({},"".concat(Ke,"-disabled"),kt)),style:St,ref:this.paginationNode},qe),$e,To?ve.createElement("li",{title:$t?st.prev_page:null,onClick:this.prev,tabIndex:Ha?null:0,onKeyPress:this.runIfEnterPrev,className:He()("".concat(Ke,"-prev"),(0,re.Z)({},"".concat(Ke,"-disabled"),Ha)),"aria-disabled":Ha},To):null,eo,zo?ve.createElement("li",{title:$t?st.next_page:null,onClick:this.next,tabIndex:Wa?null:0,onKeyPress:this.runIfEnterNext,className:He()("".concat(Ke,"-next"),(0,re.Z)({},"".concat(Ke,"-disabled"),Wa)),"aria-disabled":Wa},zo):null,ve.createElement(fe,{disabled:kt,locale:st,rootPrefixCls:Ke,selectComponentClass:Sa,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,Ke){var zt={};if("current"in Ce&&(zt.current=Ce.current,Ce.current!==Ke.current&&(zt.currentInputValue=zt.current)),"pageSize"in Ce&&Ce.pageSize!==Ke.pageSize){var St=Ke.current,kt=mt(Ce.pageSize,Ke,Ce);St=St>kt?kt:St,"current"in Ce||(zt.current=St,zt.currentInputValue=St),zt.pageSize=Ce.pageSize}return zt}}]),Je}(ve.Component);Jt.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:ne.Z,style:{},itemRender:yt,totalBoundaryShowSizeChanger:50};var Xe=Jt,et=ae(22075),bt=ae(36355),Gt=ae(19716),Ft=ae(8628),Zt=ae(9763),Ue=ae(57809);const Pt=Pe=>ve.createElement(Ue.default,Object.assign({},Pe,{showSearch:!0,size:"small"})),Tt=Pe=>ve.createElement(Ue.default,Object.assign({},Pe,{showSearch:!0,size:"middle"}));Pt.Option=Ue.default.Option,Tt.Option=Ue.default.Option;var De=ae(9937),je=ae(17313),pt=ae(83116),Qt=ae(37613);const ct=Pe=>{const{componentCls:he}=Pe;return{[`${he}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${he}-item-link`]:{color:Pe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${he}-item-link`]:{color:Pe.colorTextDisabled,cursor:"not-allowed"}}},[`&${he}-disabled`]:{cursor:"not-allowed",[`${he}-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}}},[`${he}-item-link`]:{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${he}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${he}-simple-pager`]:{color:Pe.colorTextDisabled},[`${he}-jump-prev, ${he}-jump-next`]:{[`${he}-item-link-icon`]:{opacity:0},[`${he}-item-ellipsis`]:{opacity:1}}},[`&${he}-simple`]:{[`${he}-prev, ${he}-next`]:{[`&${he}-disabled ${he}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Xt=Pe=>{const{componentCls:he}=Pe;return{[`&${he}-mini ${he}-total-text, &${he}-mini ${he}-simple-pager`]:{height:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`},[`&${he}-mini ${he}-item`]:{minWidth:Pe.itemSizeSM,height:Pe.itemSizeSM,margin:0,lineHeight:`${Pe.itemSizeSM-2}px`},[`&${he}-mini:not(${he}-disabled) ${he}-item:not(${he}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Pe.colorBgTextHover},"&:active":{backgroundColor:Pe.colorBgTextActive}},[`&${he}-mini ${he}-prev, &${he}-mini ${he}-next`]:{minWidth:Pe.itemSizeSM,height:Pe.itemSizeSM,margin:0,lineHeight:`${Pe.itemSizeSM}px`},[`&${he}-mini:not(${he}-disabled)`]:{[`${he}-prev, ${he}-next`]:{[`&:hover ${he}-item-link`]:{backgroundColor:Pe.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Pe.colorBgTextActive},[`&${he}-disabled:hover ${he}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${he}-mini ${he}-prev ${he}-item-link,
|
|
&${he}-mini ${he}-next ${he}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`}},[`&${he}-mini ${he}-jump-prev, &${he}-mini ${he}-jump-next`]:{height:Pe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Pe.itemSizeSM}px`},[`&${he}-mini ${he}-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})}}}},ye=Pe=>{const{componentCls:he}=Pe;return{[`
|
|
&${he}-simple ${he}-prev,
|
|
&${he}-simple ${he}-next
|
|
`]:{height:Pe.itemSizeSM,lineHeight:`${Pe.itemSizeSM}px`,verticalAlign:"top",[`${he}-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`}}},[`&${he}-simple ${he}-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"}}}}},wt=Pe=>{const{componentCls:he}=Pe;return{[`${he}-jump-prev, ${he}-jump-next`]:{outline:0,[`${he}-item-container`]:{position:"relative",[`${he}-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"}},[`${he}-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":{[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}}},[`
|
|
${he}-prev,
|
|
${he}-jump-prev,
|
|
${he}-jump-next
|
|
`]:{marginInlineEnd:Pe.marginXS},[`
|
|
${he}-prev,
|
|
${he}-next,
|
|
${he}-jump-prev,
|
|
${he}-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}`},[`${he}-prev, ${he}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Pe.colorText,cursor:"pointer",userSelect:"none"},[`${he}-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 ${he}-item-link`]:{backgroundColor:Pe.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Pe.colorBgTextActive},[`&${he}-disabled:hover`]:{[`${he}-item-link`]:{backgroundColor:"transparent"}}},[`${he}-slash`]:{marginInlineEnd:Pe.paginationSlashMarginInlineEnd,marginInlineStart:Pe.paginationSlashMarginInlineStart},[`${he}-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})}}}},Et=Pe=>{const{componentCls:he}=Pe;return{[`${he}-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(${he}-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}}}}},Sn=Pe=>{const{componentCls:he}=Pe;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,je.Wf)(Pe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${he}-total-text`]:{display:"inline-block",height:Pe.itemSize,marginInlineEnd:Pe.marginXS,lineHeight:`${Pe.itemSize-2}px`,verticalAlign:"middle"}}),Et(Pe)),wt(Pe)),ye(Pe)),Xt(Pe)),ct(Pe)),{[`@media only screen and (max-width: ${Pe.screenLG}px)`]:{[`${he}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Pe.screenSM}px)`]:{[`${he}-options`]:{display:"none"}}}),[`&${Pe.componentCls}-rtl`]:{direction:"rtl"}}},sn=Pe=>{const{componentCls:he}=Pe;return{[`${he}${he}-disabled:not(${he}-mini)`]:{"&, &:hover":{[`${he}-item-link`]:{borderColor:Pe.colorBorder}},"&:focus-visible":{[`${he}-item-link`]:{borderColor:Pe.colorBorder}},[`${he}-item, ${he}-item-link`]:{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,[`&:hover:not(${he}-item-active)`]:{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,a:{color:Pe.colorTextDisabled}},[`&${he}-item-active`]:{backgroundColor:Pe.itemActiveBgDisabled}},[`${he}-prev, ${he}-next`]:{"&:hover button":{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder,color:Pe.colorTextDisabled},[`${he}-item-link`]:{backgroundColor:Pe.colorBgContainerDisabled,borderColor:Pe.colorBorder}}},[`${he}:not(${he}-mini)`]:{[`${he}-prev, ${he}-next`]:{"&:hover button":{borderColor:Pe.colorPrimaryHover,backgroundColor:Pe.itemBg},[`${he}-item-link`]:{backgroundColor:Pe.itemLinkBg,borderColor:Pe.colorBorder},[`&:hover ${he}-item-link`]:{borderColor:Pe.colorPrimary,backgroundColor:Pe.itemBg,color:Pe.colorPrimary},[`&${he}-disabled`]:{[`${he}-item-link`]:{borderColor:Pe.colorBorder,color:Pe.colorTextDisabled}}},[`${he}-item`]:{backgroundColor:Pe.itemBg,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorBorder}`,[`&:hover:not(${he}-item-active)`]:{borderColor:Pe.colorPrimary,backgroundColor:Pe.itemBg,a:{color:Pe.colorPrimary}},"&-active":{borderColor:Pe.colorPrimary}}}}},We=Pe=>{const{componentCls:he}=Pe;return{[`${he}:not(${he}-disabled)`]:{[`${he}-item`]:Object.assign({},(0,je.Qy)(Pe)),[`${he}-jump-prev, ${he}-jump-next`]:{"&:focus-visible":Object.assign({[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}},(0,je.oN)(Pe))},[`${he}-prev, ${he}-next`]:{[`&:focus-visible ${he}-item-link`]:Object.assign({},(0,je.oN)(Pe))}}}};var Te=(0,pt.Z)("Pagination",Pe=>{const he=(0,Qt.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[Sn(he),We(he),Pe.wireframe&&sn(he)]},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})),pe=function(Pe,he){var Je={};for(var ke in Pe)Object.prototype.hasOwnProperty.call(Pe,ke)&&he.indexOf(ke)<0&&(Je[ke]=Pe[ke]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ke=Object.getOwnPropertySymbols(Pe);Ce<ke.length;Ce++)he.indexOf(ke[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Pe,ke[Ce])&&(Je[ke[Ce]]=Pe[ke[Ce]]);return Je},Re=Pe=>{const{prefixCls:he,selectPrefixCls:Je,className:ke,rootClassName:Ce,style:Ke,size:zt,locale:St,selectComponentClass:kt,responsive:xt,showSizeChanger:Ht}=Pe,st=pe(Pe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:tn}=(0,Ft.Z)(xt),{getPrefixCls:gn,direction:$t,pagination:bn={}}=ve.useContext(bt.E_),Cn=gn("pagination",he),[un,kn]=Te(Cn),ca=Ht!=null?Ht:bn.showSizeChanger,xa=ve.useMemo(()=>{const Pa=ve.createElement("span",{className:`${Cn}-item-ellipsis`},"\u2022\u2022\u2022"),eo=ve.createElement("button",{className:`${Cn}-item-link`,type:"button",tabIndex:-1},$t==="rtl"?ve.createElement(_e.Z,null):ve.createElement(nt.Z,null)),Mo=ve.createElement("button",{className:`${Cn}-item-link`,type:"button",tabIndex:-1},$t==="rtl"?ve.createElement(nt.Z,null):ve.createElement(_e.Z,null)),mn=ve.createElement("a",{className:`${Cn}-item-link`},ve.createElement("div",{className:`${Cn}-item-container`},$t==="rtl"?ve.createElement(rt.Z,{className:`${Cn}-item-link-icon`}):ve.createElement(lt,{className:`${Cn}-item-link-icon`}),Pa)),cn=ve.createElement("a",{className:`${Cn}-item-link`},ve.createElement("div",{className:`${Cn}-item-container`},$t==="rtl"?ve.createElement(lt,{className:`${Cn}-item-link-icon`}):ve.createElement(rt.Z,{className:`${Cn}-item-link-icon`}),Pa));return{prevIcon:eo,nextIcon:Mo,jumpPrevIcon:mn,jumpNextIcon:cn}},[$t,Cn]),[Sa]=(0,Zt.Z)("Pagination",et.Z),Ea=Object.assign(Object.assign({},Sa),St),Fa=(0,Gt.Z)(zt),Na=Fa==="small"||!!(tn&&!Fa&&xt),In=gn("select",Je),qa=He()({[`${Cn}-mini`]:Na,[`${Cn}-rtl`]:$t==="rtl"},bn==null?void 0:bn.className,ke,Ce,kn),_a=Object.assign(Object.assign({},bn==null?void 0:bn.style),Ke);return un(ve.createElement(Xe,Object.assign({},xa,st,{style:_a,prefixCls:Cn,selectPrefixCls:In,className:qa,selectComponentClass:kt||(Na?Pt:Tt),locale:Ea,showSizeChanger:ca})))},gt=Re},13570:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return Zt}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(Pt,Tt){return ve.createElement(Ie.Z,(0,se.Z)({},Pt,{ref:Tt,icon:at}))},ie=ve.forwardRef(Oe),lt=ie,rt=ae(92310),nt=ae.n(rt),_e=ae(400),dt=ae(33606),He=ae(37061),re=ae(18929),y=ae(10228),a=ae(26112);function x(Ue,Pt){var Tt=Ue.disabled,De=Ue.prefixCls,je=Ue.character,pt=Ue.characterRender,Qt=Ue.index,ct=Ue.count,Xt=Ue.value,ye=Ue.allowHalf,wt=Ue.focused,Et=Ue.onHover,Sn=Ue.onClick,sn=function(he){Et(he,Qt)},We=function(he){Sn(he,Qt)},Te=function(he){he.keyCode===y.Z.ENTER&&Sn(he,Qt)},pe=Qt+1,ue=new Set([De]);Xt===0&&Qt===0&&wt?ue.add("".concat(De,"-focused")):ye&&Xt+.5>=pe&&Xt<pe?(ue.add("".concat(De,"-half")),ue.add("".concat(De,"-active")),wt&&ue.add("".concat(De,"-focused"))):(pe<=Xt?ue.add("".concat(De,"-full")):ue.add("".concat(De,"-zero")),pe===Xt&&wt&&ue.add("".concat(De,"-focused")));var Re=typeof je=="function"?je(Ue):je,gt=ve.createElement("li",{className:nt()(Array.from(ue)),ref:Pt},ve.createElement("div",{onClick:Tt?null:We,onKeyDown:Tt?null:Te,onMouseMove:Tt?null:sn,role:"radio","aria-checked":Xt>Qt?"true":"false","aria-posinset":Qt+1,"aria-setsize":ct,tabIndex:Tt?-1:0},ve.createElement("div",{className:"".concat(De,"-first")},Re),ve.createElement("div",{className:"".concat(De,"-second")},Re)));return pt&&(gt=pt(gt,Ue)),gt}var b=ve.forwardRef(x);function E(){var Ue=ve.useRef({});function Pt(De){return Ue.current[De]}function Tt(De){return function(je){Ue.current[De]=je}}return[Pt,Tt]}function z(Ue){var Pt=Ue.pageXOffset,Tt="scrollLeft";if(typeof Pt!="number"){var De=Ue.document;Pt=De.documentElement[Tt],typeof Pt!="number"&&(Pt=De.body[Tt])}return Pt}function ee(Ue){var Pt,Tt,De=Ue.ownerDocument,je=De.body,pt=De&&De.documentElement,Qt=Ue.getBoundingClientRect();return Pt=Qt.left,Tt=Qt.top,Pt-=pt.clientLeft||je.clientLeft||0,Tt-=pt.clientTop||je.clientTop||0,{left:Pt,top:Tt}}function te(Ue){var Pt=ee(Ue),Tt=Ue.ownerDocument,De=Tt.defaultView||Tt.parentWindow;return Pt.left+=z(De),Pt.left}var ne=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function me(Ue,Pt){var Tt,De=Ue.prefixCls,je=De===void 0?"rc-rate":De,pt=Ue.className,Qt=Ue.defaultValue,ct=Ue.value,Xt=Ue.count,ye=Xt===void 0?5:Xt,wt=Ue.allowHalf,Et=wt===void 0?!1:wt,Sn=Ue.allowClear,sn=Sn===void 0?!0:Sn,We=Ue.character,Te=We===void 0?"\u2605":We,pe=Ue.characterRender,ue=Ue.disabled,Re=Ue.direction,gt=Re===void 0?"ltr":Re,Pe=Ue.tabIndex,he=Pe===void 0?0:Pe,Je=Ue.autoFocus,ke=Ue.onHoverChange,Ce=Ue.onChange,Ke=Ue.onFocus,zt=Ue.onBlur,St=Ue.onKeyDown,kt=Ue.onMouseLeave,xt=(0,He.Z)(Ue,ne),Ht=E(),st=(0,dt.Z)(Ht,2),tn=st[0],gn=st[1],$t=ve.useRef(null),bn=function(){if(!ue){var Kt;(Kt=$t.current)===null||Kt===void 0||Kt.focus()}};ve.useImperativeHandle(Pt,function(){return{focus:bn,blur:function(){if(!ue){var Kt;(Kt=$t.current)===null||Kt===void 0||Kt.blur()}}}});var Cn=(0,re.Z)(Qt||0,{value:ct}),un=(0,dt.Z)(Cn,2),kn=un[0],ca=un[1],xa=(0,re.Z)(null),Sa=(0,dt.Z)(xa,2),Ea=Sa[0],Fa=Sa[1],Na=function(Kt,oa){var Mn=gt==="rtl",En=Kt+1;if(Et){var da=tn(Kt),ta=te(da),Wt=da.clientWidth;(Mn&&oa-ta>Wt/2||!Mn&&oa-ta<Wt/2)&&(En-=.5)}return En},In=function(Kt){ca(Kt),Ce==null||Ce(Kt)},qa=ve.useState(!1),_a=(0,dt.Z)(qa,2),Pa=_a[0],eo=_a[1],Mo=function(){eo(!0),Ke==null||Ke()},mn=function(){eo(!1),zt==null||zt()},cn=ve.useState(null),wn=(0,dt.Z)(cn,2),fn=wn[0],ua=wn[1],va=function(Kt,oa){var Mn=Na(oa,Kt.pageX);Mn!==Ea&&(ua(Mn),Fa(null)),ke==null||ke(Mn)},Xn=function(Kt){ue||(ua(null),Fa(null),ke==null||ke(void 0)),Kt&&(kt==null||kt(Kt))},Ve=function(Kt,oa){var Mn=Na(oa,Kt.pageX),En=!1;sn&&(En=Mn===kn),Xn(),In(En?0:Mn),Fa(En?Mn:null)},qe=function(Kt){var oa=Kt.keyCode,Mn=gt==="rtl",En=kn;oa===y.Z.RIGHT&&En<ye&&!Mn?(Et?En+=.5:En+=1,In(En),Kt.preventDefault()):oa===y.Z.LEFT&&En>0&&!Mn||oa===y.Z.RIGHT&&En>0&&Mn?(Et?En-=.5:En-=1,In(En),Kt.preventDefault()):oa===y.Z.LEFT&&En<ye&&Mn&&(Et?En+=.5:En+=1,In(En),Kt.preventDefault()),St==null||St(Kt)};ve.useEffect(function(){Je&&!ue&&bn()},[]);var $e=new Array(ye).fill(0).map(function(on,Kt){return ve.createElement(b,{ref:gn(Kt),index:Kt,count:ye,disabled:ue,prefixCls:"".concat(je,"-star"),allowHalf:Et,value:fn===null?kn:fn,onClick:Ve,onHover:va,key:on||Kt,character:Te,characterRender:pe,focused:Pa})}),Mt=nt()(je,pt,(Tt={},(0,_e.Z)(Tt,"".concat(je,"-disabled"),ue),(0,_e.Z)(Tt,"".concat(je,"-rtl"),gt==="rtl"),Tt));return ve.createElement("ul",(0,se.Z)({className:Mt,onMouseLeave:Xn,tabIndex:ue?-1:he,onFocus:ue?null:Mo,onBlur:ue?null:mn,onKeyDown:ue?null:qe,ref:$t,role:"radiogroup"},(0,a.Z)(xt,{aria:!0,data:!0,attr:!0})),$e)}var fe=ve.forwardRef(me),Be=fe,xe=ae(36355),Ae=ae(6848),be=ae(17313),yt=ae(83116),mt=ae(37613);const Jt=Ue=>{const{componentCls:Pt}=Ue;return{[`${Pt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ue.marginXS},"> div":{transition:`all ${Ue.motionDurationMid}, outline 0s`,"&:hover":{transform:Ue.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ue.lineWidth}px dashed ${Ue.starColor}`,transform:Ue.starHoverScale}},"&-first, &-second":{color:Ue.starBg,transition:`all ${Ue.motionDurationMid}`,userSelect:"none",[Ue.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pt}-star-first, &-half ${Pt}-star-second`]:{opacity:1},[`&-half ${Pt}-star-first, &-full ${Pt}-star-second`]:{color:"inherit"}}}},Xe=Ue=>({[`&-rtl${Ue.componentCls}`]:{direction:"rtl"}}),et=Ue=>{const{componentCls:Pt}=Ue;return{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(Ue)),{display:"inline-block",margin:0,padding:0,color:Ue.starColor,fontSize:Ue.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Pt} ${Pt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Jt(Ue)),{[`+ ${Pt}-text`]:{display:"inline-block",marginInlineStart:Ue.marginXS,fontSize:Ue.fontSize}}),Xe(Ue))}};var bt=(0,yt.Z)("Rate",Ue=>{const Pt=(0,mt.TS)(Ue,{});return[et(Pt)]},Ue=>({starColor:Ue.yellow6,starSize:Ue.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ue.colorFillContent})),Gt=function(Ue,Pt){var Tt={};for(var De in Ue)Object.prototype.hasOwnProperty.call(Ue,De)&&Pt.indexOf(De)<0&&(Tt[De]=Ue[De]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,De=Object.getOwnPropertySymbols(Ue);je<De.length;je++)Pt.indexOf(De[je])<0&&Object.prototype.propertyIsEnumerable.call(Ue,De[je])&&(Tt[De[je]]=Ue[De[je]]);return Tt},Zt=ve.forwardRef((Ue,Pt)=>{const{prefixCls:Tt,className:De,rootClassName:je,style:pt,tooltips:Qt,character:ct=ve.createElement(lt,null)}=Ue,Xt=Gt(Ue,["prefixCls","className","rootClassName","style","tooltips","character"]),ye=(ue,Re)=>{let{index:gt}=Re;return Qt?ve.createElement(Ae.Z,{title:Qt[gt]},ue):ue},{getPrefixCls:wt,direction:Et,rate:Sn}=ve.useContext(xe.E_),sn=wt("rate",Tt),[We,Te]=bt(sn),pe=Object.assign(Object.assign({},Sn==null?void 0:Sn.style),pt);return We(ve.createElement(Be,Object.assign({ref:Pt,character:ct,characterRender:ye},Xt,{className:nt()(De,je,Te,Sn==null?void 0:Sn.className),style:pe,prefixCls:sn,direction:Et})))})},61621:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return Te}});var se=ae(92310),ve=ae.n(se),Me=ae(59301),at=ae(36355),Ie=ae(2738),ie=pe=>{const{prefixCls:ue,className:Re,style:gt,size:Pe,shape:he}=pe,Je=ve()({[`${ue}-lg`]:Pe==="large",[`${ue}-sm`]:Pe==="small"}),ke=ve()({[`${ue}-circle`]:he==="circle",[`${ue}-square`]:he==="square",[`${ue}-round`]:he==="round"}),Ce=Me.useMemo(()=>typeof Pe=="number"?{width:Pe,height:Pe,lineHeight:`${Pe}px`}:{},[Pe]);return Me.createElement("span",{className:ve()(ue,Je,ke,Re),style:Object.assign(Object.assign({},Ce),gt)})},lt=ae(93083),rt=ae(83116),nt=ae(37613);const _e=new lt.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),dt=pe=>({height:pe,lineHeight:`${pe}px`}),He=pe=>Object.assign({width:pe},dt(pe)),re=pe=>({background:pe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:_e,animationDuration:pe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=pe=>Object.assign({width:pe*5,minWidth:pe*5},dt(pe)),a=pe=>{const{skeletonAvatarCls:ue,gradientFromColor:Re,controlHeight:gt,controlHeightLG:Pe,controlHeightSM:he}=pe;return{[`${ue}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Re},He(gt)),[`${ue}${ue}-circle`]:{borderRadius:"50%"},[`${ue}${ue}-lg`]:Object.assign({},He(Pe)),[`${ue}${ue}-sm`]:Object.assign({},He(he))}},x=pe=>{const{controlHeight:ue,borderRadiusSM:Re,skeletonInputCls:gt,controlHeightLG:Pe,controlHeightSM:he,gradientFromColor:Je}=pe;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je,borderRadius:Re},y(ue)),[`${gt}-lg`]:Object.assign({},y(Pe)),[`${gt}-sm`]:Object.assign({},y(he))}},b=pe=>Object.assign({width:pe},dt(pe)),E=pe=>{const{skeletonImageCls:ue,imageSizeBase:Re,gradientFromColor:gt,borderRadiusSM:Pe}=pe;return{[`${ue}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:Pe},b(Re*2)),{[`${ue}-path`]:{fill:"#bfbfbf"},[`${ue}-svg`]:Object.assign(Object.assign({},b(Re)),{maxWidth:Re*4,maxHeight:Re*4}),[`${ue}-svg${ue}-svg-circle`]:{borderRadius:"50%"}}),[`${ue}${ue}-circle`]:{borderRadius:"50%"}}},z=(pe,ue,Re)=>{const{skeletonButtonCls:gt}=pe;return{[`${Re}${gt}-circle`]:{width:ue,minWidth:ue,borderRadius:"50%"},[`${Re}${gt}-round`]:{borderRadius:ue}}},ee=pe=>Object.assign({width:pe*2,minWidth:pe*2},dt(pe)),te=pe=>{const{borderRadiusSM:ue,skeletonButtonCls:Re,controlHeight:gt,controlHeightLG:Pe,controlHeightSM:he,gradientFromColor:Je}=pe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Re}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je,borderRadius:ue,width:gt*2,minWidth:gt*2},ee(gt))},z(pe,gt,Re)),{[`${Re}-lg`]:Object.assign({},ee(Pe))}),z(pe,Pe,`${Re}-lg`)),{[`${Re}-sm`]:Object.assign({},ee(he))}),z(pe,he,`${Re}-sm`))},ne=pe=>{const{componentCls:ue,skeletonAvatarCls:Re,skeletonTitleCls:gt,skeletonParagraphCls:Pe,skeletonButtonCls:he,skeletonInputCls:Je,skeletonImageCls:ke,controlHeight:Ce,controlHeightLG:Ke,controlHeightSM:zt,gradientFromColor:St,padding:kt,marginSM:xt,borderRadius:Ht,titleHeight:st,blockRadius:tn,paragraphLiHeight:gn,controlHeightXS:$t,paragraphMarginTop:bn}=pe;return{[`${ue}`]:{display:"table",width:"100%",[`${ue}-header`]:{display:"table-cell",paddingInlineEnd:kt,verticalAlign:"top",[`${Re}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St},He(Ce)),[`${Re}-circle`]:{borderRadius:"50%"},[`${Re}-lg`]:Object.assign({},He(Ke)),[`${Re}-sm`]:Object.assign({},He(zt))},[`${ue}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:st,background:St,borderRadius:tn,[`+ ${Pe}`]:{marginBlockStart:zt}},[`${Pe}`]:{padding:0,"> li":{width:"100%",height:gn,listStyle:"none",background:St,borderRadius:tn,"+ li":{marginBlockStart:$t}}},[`${Pe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ue}-content`]:{[`${gt}, ${Pe} > li`]:{borderRadius:Ht}}},[`${ue}-with-avatar ${ue}-content`]:{[`${gt}`]:{marginBlockStart:xt,[`+ ${Pe}`]:{marginBlockStart:bn}}},[`${ue}${ue}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},te(pe)),a(pe)),x(pe)),E(pe)),[`${ue}${ue}-block`]:{width:"100%",[`${he}`]:{width:"100%"},[`${Je}`]:{width:"100%"}},[`${ue}${ue}-active`]:{[`
|
|
${gt},
|
|
${Pe} > li,
|
|
${Re},
|
|
${he},
|
|
${Je},
|
|
${ke}
|
|
`]:Object.assign({},re(pe))}}};var me=(0,rt.Z)("Skeleton",pe=>{const{componentCls:ue}=pe,Re=(0,nt.TS)(pe,{skeletonAvatarCls:`${ue}-avatar`,skeletonTitleCls:`${ue}-title`,skeletonParagraphCls:`${ue}-paragraph`,skeletonButtonCls:`${ue}-button`,skeletonInputCls:`${ue}-input`,skeletonImageCls:`${ue}-image`,imageSizeBase:pe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${pe.gradientFromColor} 25%, ${pe.gradientToColor} 37%, ${pe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ne(Re)]},pe=>{const{colorFillContent:ue,colorFill:Re}=pe,gt=ue,Pe=Re;return{color:gt,colorGradientEnd:Pe,gradientFromColor:gt,gradientToColor:Pe,titleHeight:pe.controlHeight/2,blockRadius:pe.borderRadiusSM,paragraphMarginTop:pe.marginLG+pe.marginXXS,paragraphLiHeight:pe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Be=pe=>{const{prefixCls:ue,className:Re,rootClassName:gt,active:Pe,shape:he="circle",size:Je="default"}=pe,{getPrefixCls:ke}=Me.useContext(at.E_),Ce=ke("skeleton",ue),[Ke,zt]=me(Ce),St=(0,Ie.Z)(pe,["prefixCls","className"]),kt=ve()(Ce,`${Ce}-element`,{[`${Ce}-active`]:Pe},Re,gt,zt);return Ke(Me.createElement("div",{className:kt},Me.createElement(ie,Object.assign({prefixCls:`${Ce}-avatar`,shape:he,size:Je},St))))},Ae=pe=>{const{prefixCls:ue,className:Re,rootClassName:gt,active:Pe,block:he=!1,size:Je="default"}=pe,{getPrefixCls:ke}=Me.useContext(at.E_),Ce=ke("skeleton",ue),[Ke,zt]=me(Ce),St=(0,Ie.Z)(pe,["prefixCls"]),kt=ve()(Ce,`${Ce}-element`,{[`${Ce}-active`]:Pe,[`${Ce}-block`]:he},Re,gt,zt);return Ke(Me.createElement("div",{className:kt},Me.createElement(ie,Object.assign({prefixCls:`${Ce}-button`,size:Je},St))))};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 mt=pe=>{const{prefixCls:ue,className:Re,rootClassName:gt,style:Pe,active:he}=pe,{getPrefixCls:Je}=Me.useContext(at.E_),ke=Je("skeleton",ue),[Ce,Ke]=me(ke),zt=ve()(ke,`${ke}-element`,{[`${ke}-active`]:he},Re,gt,Ke);return Ce(Me.createElement("div",{className:zt},Me.createElement("div",{className:ve()(`${ke}-image`,Re),style:Pe},Me.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ke}-image-svg`},Me.createElement("path",{d:be,className:`${ke}-image-path`})))))},Xe=pe=>{const{prefixCls:ue,className:Re,rootClassName:gt,active:Pe,block:he,size:Je="default"}=pe,{getPrefixCls:ke}=Me.useContext(at.E_),Ce=ke("skeleton",ue),[Ke,zt]=me(Ce),St=(0,Ie.Z)(pe,["prefixCls"]),kt=ve()(Ce,`${Ce}-element`,{[`${Ce}-active`]:Pe,[`${Ce}-block`]:he},Re,gt,zt);return Ke(Me.createElement("div",{className:kt},Me.createElement(ie,Object.assign({prefixCls:`${Ce}-input`,size:Je},St))))},et=ae(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"},Gt=bt,Ft=ae(7657),Zt=function(ue,Re){return Me.createElement(Ft.Z,(0,et.Z)({},ue,{ref:Re,icon:Gt}))},Ue=Me.forwardRef(Zt),Pt=Ue,De=pe=>{const{prefixCls:ue,className:Re,rootClassName:gt,style:Pe,active:he,children:Je}=pe,{getPrefixCls:ke}=Me.useContext(at.E_),Ce=ke("skeleton",ue),[Ke,zt]=me(Ce),St=ve()(Ce,`${Ce}-element`,{[`${Ce}-active`]:he},zt,Re,gt),kt=Je!=null?Je:Me.createElement(Pt,null);return Ke(Me.createElement("div",{className:St},Me.createElement("div",{className:ve()(`${Ce}-image`,Re),style:Pe},kt)))},je=ae(26407),Qt=pe=>{const ue=ke=>{const{width:Ce,rows:Ke=2}=pe;if(Array.isArray(Ce))return Ce[ke];if(Ke-1===ke)return Ce},{prefixCls:Re,className:gt,style:Pe,rows:he}=pe,Je=(0,je.Z)(Array(he)).map((ke,Ce)=>Me.createElement("li",{key:Ce,style:{width:ue(Ce)}}));return Me.createElement("ul",{className:ve()(Re,gt),style:Pe},Je)},Xt=pe=>{let{prefixCls:ue,className:Re,width:gt,style:Pe}=pe;return Me.createElement("h3",{className:ve()(ue,Re),style:Object.assign({width:gt},Pe)})};function ye(pe){return pe&&typeof pe=="object"?pe:{}}function wt(pe,ue){return pe&&!ue?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Et(pe,ue){return!pe&&ue?{width:"38%"}:pe&&ue?{width:"50%"}:{}}function Sn(pe,ue){const Re={};return(!pe||!ue)&&(Re.width="61%"),!pe&&ue?Re.rows=3:Re.rows=2,Re}const sn=pe=>{const{prefixCls:ue,loading:Re,className:gt,rootClassName:Pe,style:he,children:Je,avatar:ke=!1,title:Ce=!0,paragraph:Ke=!0,active:zt,round:St}=pe,{getPrefixCls:kt,direction:xt,skeleton:Ht}=Me.useContext(at.E_),st=kt("skeleton",ue),[tn,gn]=me(st);if(Re||!("loading"in pe)){const $t=!!ke,bn=!!Ce,Cn=!!Ke;let un;if($t){const xa=Object.assign(Object.assign({prefixCls:`${st}-avatar`},wt(bn,Cn)),ye(ke));un=Me.createElement("div",{className:`${st}-header`},Me.createElement(ie,Object.assign({},xa)))}let kn;if(bn||Cn){let xa;if(bn){const Ea=Object.assign(Object.assign({prefixCls:`${st}-title`},Et($t,Cn)),ye(Ce));xa=Me.createElement(Xt,Object.assign({},Ea))}let Sa;if(Cn){const Ea=Object.assign(Object.assign({prefixCls:`${st}-paragraph`},Sn($t,bn)),ye(Ke));Sa=Me.createElement(Qt,Object.assign({},Ea))}kn=Me.createElement("div",{className:`${st}-content`},xa,Sa)}const ca=ve()(st,{[`${st}-with-avatar`]:$t,[`${st}-active`]:zt,[`${st}-rtl`]:xt==="rtl",[`${st}-round`]:St},Ht==null?void 0:Ht.className,gt,Pe,gn);return tn(Me.createElement("div",{className:ca,style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),he)},un,kn))}return typeof Je!="undefined"?Je:null};sn.Button=Ae,sn.Avatar=Be,sn.Input=Xe,sn.Image=mt,sn.Node=De;var We=sn,Te=We},31797:function(ut,At,ae){"use strict";ae.d(At,{default:function(){return me}});var se=ae(59301),ve=ae(56762),Me=ae(92343),at=ae(92310),Ie=ae.n(at),Oe=ae(36355),ie=ae(61621),rt=fe=>{const{value:Be,formatter:xe,precision:Ae,decimalSeparator:be,groupSeparator:yt="",prefixCls:mt}=fe;let Jt;if(typeof xe=="function")Jt=xe(Be);else{const Xe=String(Be),et=Xe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!et||Xe==="-")Jt=Xe;else{const bt=et[1];let Gt=et[2]||"0",Ft=et[4]||"";Gt=Gt.replace(/\B(?=(\d{3})+(?!\d))/g,yt),typeof Ae=="number"&&(Ft=Ft.padEnd(Ae,"0").slice(0,Ae>0?Ae:0)),Ft&&(Ft=`${be}${Ft}`),Jt=[se.createElement("span",{key:"int",className:`${mt}-content-value-int`},bt,Gt),Ft&&se.createElement("span",{key:"decimal",className:`${mt}-content-value-decimal`},Ft)]}}return se.createElement("span",{className:`${mt}-content-value`},Jt)},nt=ae(17313),_e=ae(83116),dt=ae(37613);const He=fe=>{const{componentCls:Be,marginXXS:xe,padding:Ae,colorTextDescription:be,titleFontSize:yt,colorTextHeading:mt,contentFontSize:Jt,fontFamily:Xe}=fe;return{[`${Be}`]:Object.assign(Object.assign({},(0,nt.Wf)(fe)),{[`${Be}-title`]:{marginBottom:xe,color:be,fontSize:yt},[`${Be}-skeleton`]:{paddingTop:Ae},[`${Be}-content`]:{color:mt,fontSize:Jt,fontFamily:Xe,[`${Be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Be}-content-prefix, ${Be}-content-suffix`]:{display:"inline-block"},[`${Be}-content-prefix`]:{marginInlineEnd:xe},[`${Be}-content-suffix`]:{marginInlineStart:xe}}})}};var re=(0,_e.Z)("Statistic",fe=>{const Be=(0,dt.TS)(fe,{});return[He(Be)]},fe=>{const{fontSizeHeading3:Be,fontSize:xe}=fe;return{titleFontSize:xe,contentFontSize:Be}}),a=fe=>{const{prefixCls:Be,className:xe,rootClassName:Ae,style:be,valueStyle:yt,value:mt=0,title:Jt,valueRender:Xe,prefix:et,suffix:bt,loading:Gt=!1,onMouseEnter:Ft,onMouseLeave:Zt,decimalSeparator:Ue=".",groupSeparator:Pt=","}=fe,{getPrefixCls:Tt,direction:De,statistic:je}=se.useContext(Oe.E_),pt=Tt("statistic",Be),[Qt,ct]=re(pt),Xt=se.createElement(rt,Object.assign({decimalSeparator:Ue,groupSeparator:Pt,prefixCls:pt},fe,{value:mt})),ye=Ie()(pt,{[`${pt}-rtl`]:De==="rtl"},je==null?void 0:je.className,xe,Ae,ct);return Qt(se.createElement("div",{className:ye,style:Object.assign(Object.assign({},je==null?void 0:je.style),be),onMouseEnter:Ft,onMouseLeave:Zt},Jt&&se.createElement("div",{className:`${pt}-title`},Jt),se.createElement(ie.Z,{paragraph:!1,loading:Gt,className:`${pt}-skeleton`},se.createElement("div",{style:yt,className:`${pt}-content`},et&&se.createElement("span",{className:`${pt}-content-prefix`},et),Xe?Xe(Xt):Xt,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 xe=fe;const Ae=/\[[^\]]*]/g,be=(Be.match(Ae)||[]).map(Xe=>Xe.slice(1,-1)),yt=Be.replace(Ae,"[]"),mt=x.reduce((Xe,et)=>{let[bt,Gt]=et;if(Xe.includes(bt)){const Ft=Math.floor(xe/Gt);return xe-=Ft*Gt,Xe.replace(new RegExp(`${bt}+`,"g"),Zt=>{const Ue=Zt.length;return Ft.toString().padStart(Ue,"0")})}return Xe},yt);let Jt=0;return mt.replace(Ae,()=>{const Xe=be[Jt];return Jt+=1,Xe})}function E(fe,Be){const{format:xe=""}=Be,Ae=new Date(fe).getTime(),be=Date.now(),yt=Math.max(Ae-be,0);return b(yt,xe)}const z=1e3/30;function ee(fe){return new Date(fe).getTime()}const te=fe=>{const{value:Be,format:xe="HH:mm:ss",onChange:Ae,onFinish:be}=fe,yt=(0,ve.Z)(),mt=se.useRef(null),Jt=()=>{be==null||be(),mt.current&&(clearInterval(mt.current),mt.current=null)},Xe=()=>{const Gt=ee(Be);Gt>=Date.now()&&(mt.current=setInterval(()=>{yt(),Ae==null||Ae(Gt-Date.now()),Gt<Date.now()&&Jt()},z))};se.useEffect(()=>(Xe(),()=>{mt.current&&(clearInterval(mt.current),mt.current=null)}),[Be]);const et=(Gt,Ft)=>E(Gt,Object.assign(Object.assign({},Ft),{format:xe})),bt=Gt=>(0,Me.Tm)(Gt,{title:void 0});return se.createElement(a,Object.assign({},fe,{valueRender:bt,formatter:et}))};var ne=se.memo(te);a.Countdown=ne;var me=a},15969:function(ut,At,ae){"use strict";ae.d(At,{N:function(){return se}});const se=ve=>({color:ve.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ve.motionDurationSlow}`,"&:focus, &:hover":{color:ve.colorLinkHover},"&:active":{color:ve.colorLinkActive}})},1710:function(ut,At,ae){"use strict";ae.d(At,{default:function(){return Bo}});var se={},ve="rc-table-internal-hook",Me=ae(33606),at=ae(6089),Ie=ae(34280),Oe=ae(13697),ie=ae(59301),lt=ae(4676);function rt(de){var ce=ie.createContext(void 0),Se=function(Ne){var Fe=Ne.value,Ye=Ne.children,Ze=ie.useRef(Fe);Ze.current=Fe;var Ge=ie.useState(function(){return{getValue:function(){return Ze.current},listeners:new Set}}),it=(0,Me.Z)(Ge,1),tt=it[0];return(0,Ie.Z)(function(){(0,lt.unstable_batchedUpdates)(function(){tt.listeners.forEach(function(ot){ot(Fe)})})},[Fe]),ie.createElement(ce.Provider,{value:tt},Ye)};return{Context:ce,Provider:Se,defaultValue:de}}function nt(de,ce){var Se=(0,at.Z)(typeof ce=="function"?ce:function(ot){if(ce===void 0)return ot;if(!Array.isArray(ce))return ot[ce];var Bt={};return ce.forEach(function(Lt){Bt[Lt]=ot[Lt]}),Bt}),we=ie.useContext(de==null?void 0:de.Context),Ne=we||{},Fe=Ne.listeners,Ye=Ne.getValue,Ze=ie.useRef();Ze.current=Se(we?Ye():de==null?void 0:de.defaultValue);var Ge=ie.useState({}),it=(0,Me.Z)(Ge,2),tt=it[1];return(0,Ie.Z)(function(){if(!we)return;function ot(Bt){var Lt=Se(Bt);(0,Oe.Z)(Ze.current,Lt,!0)||tt({})}return Fe.add(ot),function(){Fe.delete(ot)}},[we]),Ze.current}var _e=ae(92413),dt=ae(8654);function He(){var de=ie.createContext(null);function ce(){return ie.useContext(de)}function Se(Ne,Fe){var Ye=(0,dt.Yr)(Ne),Ze=function(it,tt){var ot=Ye?{ref:tt}:{},Bt=ie.useRef(0),Lt=ie.useRef(it),Dt=ce();return Dt!==null?ie.createElement(Ne,(0,_e.Z)({},it,ot)):((!Fe||Fe(Lt.current,it))&&(Bt.current+=1),Lt.current=it,ie.createElement(de.Provider,{value:Bt.current},ie.createElement(Ne,(0,_e.Z)({},it,ot))))};return Ye?ie.forwardRef(Ze):Ze}function we(Ne,Fe){var Ye=(0,dt.Yr)(Ne),Ze=function(it,tt){var ot=Ye?{ref:tt}:{};return ce(),ie.createElement(Ne,(0,_e.Z)({},it,ot))};return Ye?ie.memo(ie.forwardRef(Ze),Fe):ie.memo(Ze,Fe)}return{makeImmutable:Se,responseImmutable:we,useImmutableMark:ce}}var re=He(),y=re.makeImmutable,a=re.responseImmutable,x=re.useImmutableMark,b=He(),E=b.makeImmutable,z=b.responseImmutable,ee=b.useImmutableMark,te=rt(),ne=te;function me(de,ce){var Se=ie.useRef(0);Se.current+=1;var we=ie.useRef(de),Ne=[];Object.keys(de||{}).map(function(Ye){var Ze;(de==null?void 0:de[Ye])!==((Ze=we.current)===null||Ze===void 0?void 0:Ze[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=me();return ie.createElement("h1",null,"Render Times: ",de)});Be.displayName="RenderBlock";var xe=ae(39559),Ae=ae(33708),be=ae(400),yt=ae(92310),mt=ae.n(yt),Jt=ae(80547),Xe=ae(97938),et=ae(48736),bt=ie.createContext({renderWithProps:!1}),Gt=bt,Ft="RC_TABLE_KEY";function Zt(de){return de==null?[]:Array.isArray(de)?de:[de]}function Ue(de){var ce=[],Se={};return de.forEach(function(we){for(var Ne=we||{},Fe=Ne.key,Ye=Ne.dataIndex,Ze=Fe||Zt(Ye).join("-")||Ft;Se[Ze];)Ze="".concat(Ze,"_next");Se[Ze]=!0,ce.push(Ze)}),ce}function Pt(de){return de!=null}function Tt(de){return de&&(0,xe.Z)(de)==="object"&&!Array.isArray(de)&&!ie.isValidElement(de)}function De(de,ce,Se,we,Ne,Fe){var Ye=ie.useContext(Gt),Ze=ee(),Ge=(0,Jt.Z)(function(){if(Pt(we))return[we];var it=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],tt=(0,Xe.Z)(de,it),ot=tt,Bt=void 0;if(Ne){var Lt=Ne(tt,de,Se);Tt(Lt)?(ot=Lt.children,Bt=Lt.props,Ye.renderWithProps=!0):ot=Lt}return[ot,Bt]},[Ze,de,we,ce,Ne,Se],function(it,tt){if(Fe){var ot=(0,Me.Z)(it,2),Bt=ot[1],Lt=(0,Me.Z)(tt,2),Dt=Lt[1];return Fe(Dt,Bt)}return Ye.renderWithProps?!0:!(0,Oe.Z)(it,tt,!0)});return Ge}function je(de,ce,Se,we){var Ne=de+ce-1;return de<=we&&Ne>=Se}function pt(de,ce){return nt(ne,function(Se){var we=je(de,ce||1,Se.hoverStartRow,Se.hoverEndRow);return[we,Se.onHover]})}var Qt=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 ct(de){var ce,Se,we,Ne,Fe,Ye,Ze,Ge,it=de.component,tt=de.children,ot=de.ellipsis,Bt=de.scope,Lt=de.prefixCls,Dt=de.className,Yt=de.align,jt=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,vn=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(Lt,"-cell"),ya=nt(ne,["supportSticky","allColumnsFixedLeft"]),ha=ya.supportSticky,Xa=ya.allColumnsFixedLeft,Ca=De(jt,_t,ln,tt,an,Hn),_n=(0,Me.Z)(Ca,2),oo=_n[0],Jn=_n[1],Za={},Ia=typeof vn=="number"&&ha,yo=typeof Fn=="number"&&ha;Ia&&(Za.position="sticky",Za.left=vn),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,Me.Z)(Un,2),Ln=Tn[0],Rt=Tn[1],hn=function(Yn){var Zo;jt&&Rt(Wn,Wn+Vn-1),Rn==null||(Zo=Rn.onMouseEnter)===null||Zo===void 0||Zo.call(Rn,Yn)},ia=function(Yn){var Zo;jt&&Rt(-1,-1),Rn==null||(Zo=Rn.onMouseLeave)===null||Zo===void 0||Zo.call(Rn,Yn)};if(Qn===0||Vn===0)return null;var pa=(Ze=Rn.title)!==null&&Ze!==void 0?Ze:Qt({rowType:Nn,ellipsis:ot,children:oo}),Ro=mt()(fa,Dt,(Ge={},(0,be.Z)(Ge,"".concat(fa,"-fix-left"),Ia&&ha),(0,be.Z)(Ge,"".concat(fa,"-fix-left-first"),yn&&ha),(0,be.Z)(Ge,"".concat(fa,"-fix-left-last"),rn&&ha),(0,be.Z)(Ge,"".concat(fa,"-fix-left-all"),rn&&Xa&&ha),(0,be.Z)(Ge,"".concat(fa,"-fix-right"),yo&&ha),(0,be.Z)(Ge,"".concat(fa,"-fix-right-first"),dn&&ha),(0,be.Z)(Ge,"".concat(fa,"-fix-right-last"),jn&&ha),(0,be.Z)(Ge,"".concat(fa,"-ellipsis"),ot),(0,be.Z)(Ge,"".concat(fa,"-with-append"),ma),(0,be.Z)(Ge,"".concat(fa,"-fix-sticky"),(Ia||yo)&&sa&&ha),(0,be.Z)(Ge,"".concat(fa,"-row-hover"),!Jn&&Ln),Ge),Rn.className,Jn==null?void 0:Jn.className),Ao={};Yt&&(Ao.textAlign=Yt);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,xe.Z)(fo)==="object"&&!Array.isArray(fo)&&!ie.isValidElement(fo)&&(fo=null),ot&&(rn||dn)&&(fo=ie.createElement("span",{className:"".concat(fa,"-content")},fo)),ie.createElement(it,(0,_e.Z)({},Jn,Rn,{className:Ro,style:or,title:pa,scope:Bt,onMouseEnter:hn,onMouseLeave:ia,colSpan:Qn!==1?Qn:null,rowSpan:Vn!==1?Vn:null}),ma,fo)}var Xt=ie.memo(ct);function ye(de,ce,Se,we,Ne,Fe){var Ye=Se[de]||{},Ze=Se[ce]||{},Ge,it;Ye.fixed==="left"?Ge=we.left[Ne==="rtl"?ce:de]:Ze.fixed==="right"&&(it=we.right[Ne==="rtl"?de:ce]);var tt=!1,ot=!1,Bt=!1,Lt=!1,Dt=Se[ce+1],Yt=Se[de-1],jt=!(Fe!=null&&Fe.children);if(Ne==="rtl"){if(Ge!==void 0){var an=Yt&&Yt.fixed==="left";Lt=!an&&jt}else if(it!==void 0){var _t=Dt&&Dt.fixed==="right";Bt=!_t&&jt}}else if(Ge!==void 0){var ln=Dt&&Dt.fixed==="left";tt=!ln&&jt}else if(it!==void 0){var Hn=Yt&&Yt.fixed==="right";ot=!Hn&&jt}return{fixLeft:Ge,fixRight:it,lastFixLeft:tt,firstFixRight:ot,lastFixRight:Bt,firstFixLeft:Lt,isSticky:we.isSticky}}var wt=ie.createContext({}),Et=wt;function Sn(de){var ce=de.className,Se=de.index,we=de.children,Ne=de.colSpan,Fe=Ne===void 0?1:Ne,Ye=de.rowSpan,Ze=de.align,Ge=nt(ne,["prefixCls","direction"]),it=Ge.prefixCls,tt=Ge.direction,ot=ie.useContext(Et),Bt=ot.scrollColumnIndex,Lt=ot.stickyOffsets,Dt=ot.flattenColumns,Yt=ot.columns,jt=Se+Fe-1,an=jt+1===Bt?Fe+1:Fe,_t=ye(Se,Se+an-1,Dt,Lt,tt,Yt==null?void 0:Yt[Se]);return ie.createElement(Xt,(0,_e.Z)({className:ce,index:Se,component:"td",prefixCls:it,record:null,dataIndex:null,align:Ze,colSpan:an,rowSpan:Ye,render:function(){return we}},_t))}var sn=ae(37061),We=["children"];function Te(de){var ce=de.children,Se=(0,sn.Z)(de,We);return ie.createElement("tr",Se,ce)}function pe(de){var ce=de.children;return ce}pe.Row=Te,pe.Cell=Sn;var ue=pe;function Re(de){var ce=de.children,Se=de.stickyOffsets,we=de.flattenColumns,Ne=de.columns,Fe=nt(ne,"prefixCls"),Ye=we.length-1,Ze=we[Ye],Ge=ie.useMemo(function(){return{stickyOffsets:Se,flattenColumns:we,scrollColumnIndex:Ze!=null&&Ze.scrollbar?Ye:null,columns:Ne}},[Ze,we,Ye,Se,Ne]);return ie.createElement(Et.Provider,{value:Ge},ie.createElement("tfoot",{className:"".concat(Fe,"-summary")},ce))}var gt=z(Re),Pe=ue,he=ae(70425),Je=ae(29301),ke=ae(29194),Ce=ae(24514),Ke=ae(75152),zt=ae(26112);function St(de,ce,Se,we,Ne,Fe,Ye){de.push({record:ce,indent:Se,index:Ye});var Ze=Fe(ce),Ge=Ne==null?void 0:Ne.has(Ze);if(ce&&Array.isArray(ce[we])&&Ge)for(var it=0;it<ce[we].length;it+=1)St(de,ce[we][it],Se+1,we,Ne,Fe,it)}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 Ze=de[Ye];St(Fe,Ze,0,ce,Se,we,Ye)}return Fe}return de==null?void 0:de.map(function(Ge,it){return{record:Ge,indent:0,index:it}})},[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,Ze=de.colSpan,Ge=de.isEmpty,it=nt(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),tt=it.scrollbarSize,ot=it.fixHeader,Bt=it.fixColumn,Lt=it.componentWidth,Dt=it.horizonScroll,Yt=Se;return(Ge?Dt&&Lt:Bt)&&(Yt=ie.createElement("div",{style:{width:Lt-(ot?tt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ce,"-expanded-row-fixed")},Yt)),ie.createElement(we,{className:Fe,style:{display:Ye?null:"none"}},ie.createElement(Xt,{component:Ne,prefixCls:ce,colSpan:Ze},Yt))}var Ht=xt;function st(de,ce,Se,we){var Ne=nt(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Fe=Ne.flattenColumns,Ye=Ne.expandableType,Ze=Ne.expandedKeys,Ge=Ne.childrenColumnName,it=Ne.onTriggerExpand,tt=Ne.rowExpandable,ot=Ne.onRow,Bt=Ne.expandRowByClick,Lt=Ne.rowClassName,Dt=Ye==="nest",Yt=Ye==="row"&&(!tt||tt(de)),jt=Yt||Dt,an=Ze&&Ze.has(ce),_t=Ge&&de&&de[Ge],ln=(0,he.useEvent)(it),Hn=ot==null?void 0:ot(de,Se),Wn=Hn==null?void 0:Hn.onClick,Nn=function(Fn){Bt&&jt&&it(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 Lt=="string"?Kn=Lt:typeof Lt=="function"&&(Kn=Lt(de,Se,we));var ra=Ue(Fe);return(0,Ae.Z)((0,Ae.Z)({},Ne),{},{columnsKey:ra,nestExpandable:Dt,expanded:an,hasNestChildren:_t,record:de,onTriggerExpand:ln,rowSupportExpand:Yt,expandable:jt,rowProps:(0,Ae.Z)((0,Ae.Z)({},Hn),{},{className:mt()(Kn,Hn==null?void 0:Hn.className),onClick:Nn})})}function tn(de,ce,Se,we,Ne){var Fe=de.record,Ye=de.prefixCls,Ze=de.columnsKey,Ge=de.fixedInfoList,it=de.expandIconColumnIndex,tt=de.nestExpandable,ot=de.indentSize,Bt=de.expandIcon,Lt=de.expanded,Dt=de.hasNestChildren,Yt=de.onTriggerExpand,jt=Ze[Se],an=Ge[Se],_t;Se===(it||0)&&tt&&(_t=ie.createElement(ie.Fragment,null,ie.createElement("span",{style:{paddingLeft:"".concat(ot*we,"px")},className:"".concat(Ye,"-row-indent indent-level-").concat(we)}),Bt({prefixCls:Ye,expanded:Lt,expandable:Dt,record:Fe,onExpand:Yt})));var ln;return ce.onCell&&(ln=ce.onCell(Fe,Ne)),{key:jt,fixedInfo:an,appendCellNode:_t,additionalCellProps:ln||{}}}function gn(de){var ce=de.className,Se=de.style,we=de.record,Ne=de.index,Fe=de.renderIndex,Ye=de.rowKey,Ze=de.indent,Ge=Ze===void 0?0:Ze,it=de.rowComponent,tt=de.cellComponent,ot=de.scopeCellComponent,Bt=st(we,Ye,Ne,Ge),Lt=Bt.prefixCls,Dt=Bt.flattenColumns,Yt=Bt.expandedRowClassName,jt=Bt.expandedRowRender,an=Bt.rowProps,_t=Bt.expanded,ln=Bt.rowSupportExpand,Hn=ie.useState(!1),Wn=(0,Me.Z)(Hn,2),Nn=Wn[0],Kn=Wn[1];ie.useEffect(function(){_t&&Kn(!0)},[_t]);var ra=ie.createElement(it,(0,_e.Z)({},an,{"data-row-key":Ye,className:mt()(ce,"".concat(Lt,"-row"),"".concat(Lt,"-row-level-").concat(Ge),an==null?void 0:an.className),style:(0,Ae.Z)((0,Ae.Z)({},Se),an==null?void 0:an.style)}),Dt.map(function(rn,dn){var jn=rn.render,ma=rn.dataIndex,la=rn.className,Rn=tn(Bt,rn,dn,Ge,Ne),sa=Rn.key,fa=Rn.fixedInfo,ya=Rn.appendCellNode,ha=Rn.additionalCellProps;return ie.createElement(Xt,(0,_e.Z)({className:la,ellipsis:rn.ellipsis,align:rn.align,scope:rn.rowScope,component:rn.rowScope?ot:tt,prefixCls:Lt,key:sa,record:we,index:Ne,renderIndex:Fe,dataIndex:ma,render:jn,shouldCellUpdate:rn.shouldCellUpdate},fa,{appendNode:ya,additionalProps:ha}))})),vn;if(ln&&(Nn||_t)){var Fn=jt(we,Ne,Ge+1,_t),yn=Yt&&Yt(we,Ne,Ge);vn=ie.createElement(Ht,{expanded:_t,className:mt()("".concat(Lt,"-expanded-row"),"".concat(Lt,"-expanded-row-level-").concat(Ge+1),yn),prefixCls:Lt,component:it,cellComponent:tt,colSpan:Dt.length,isEmpty:!1},Fn)}return ie.createElement(ie.Fragment,null,ra,vn)}gn.displayName="BodyRow";var $t=z(gn);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 Ze=Ye.data,Ge=Ye.size;we(Ze,Ge.offsetWidth)})}},Se.map(function(Ne){return ie.createElement(bn,{key:Ne,columnKey:Ne,onColumnResize:we})})))}function un(de){var ce=de.data,Se=de.measureColumnWidth,we=nt(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ne=we.prefixCls,Fe=we.getComponent,Ye=we.onColumnResize,Ze=we.flattenColumns,Ge=we.getRowKey,it=we.expandedKeys,tt=we.childrenColumnName,ot=we.emptyNode,Bt=kt(ce,tt,it,Ge),Lt=ie.useRef({renderWithProps:!1}),Dt=Fe(["body","wrapper"],"tbody"),Yt=Fe(["body","row"],"tr"),jt=Fe(["body","cell"],"td"),an=Fe(["body","cell"],"th"),_t;ce.length?_t=Bt.map(function(Hn,Wn){var Nn=Hn.record,Kn=Hn.indent,ra=Hn.index,vn=Ge(Nn,Wn);return ie.createElement($t,{key:vn,rowKey:vn,record:Nn,index:Wn,renderIndex:ra,rowComponent:Yt,cellComponent:jt,scopeCellComponent:an,getRowKey:Ge,indent:Kn})}):_t=ie.createElement(Ht,{expanded:!0,className:"".concat(Ne,"-placeholder"),prefixCls:Ne,component:Yt,cellComponent:jt,colSpan:Ze.length,isEmpty:!0},ot);var ln=Ue(Ze);return ie.createElement(Gt.Provider,{value:Lt.current},ie.createElement(Dt,{className:"".concat(Ne,"-tbody")},Se&&ie.createElement(Cn,{prefixCls:Ne,columnsKey:ln,onColumnResize:Ye}),_t))}un.displayName="Body";var kn=z(un),ca=["expandable"],xa="RC_TABLE_INTERNAL_COL_DEFINE";function Sa(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,Ze=Fe-1;Ze>=0;Ze-=1){var Ge=ce[Ze],it=Se&&Se[Ze],tt=it&&it[xa];if(Ge||tt||Ye){var ot=tt||{},Bt=ot.columnType,Lt=(0,sn.Z)(ot,Ea);Ne.unshift(ie.createElement("col",(0,_e.Z)({key:Ze,style:{width:Ge}},Lt))),Ye=!0}}return ie.createElement("colgroup",null,Ne)}var Na=Fa,In=ae(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,Ze=de.columCount,Ge=de.stickyOffsets,it=de.direction,tt=de.fixHeader,ot=de.stickyTopOffset,Bt=de.stickyBottomOffset,Lt=de.stickyClassName,Dt=de.onScroll,Yt=de.maxContentScroll,jt=de.children,an=(0,sn.Z)(de,qa),_t=nt(ne,["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,dt.mH)(ce,la),(0,dt.mH)(Kn,la)},[]);ie.useEffect(function(){var la;function Rn(sa){var fa=sa,ya=fa.currentTarget,ha=fa.deltaX;ha&&(Dt({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 vn=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=Ge.right,Rn=Ge.left;return(0,Ae.Z)((0,Ae.Z)({},Ge),{},{left:it==="rtl"?[].concat((0,In.Z)(Rn.map(function(sa){return sa+Nn})),[0]):Rn,right:it==="rtl"?la:[].concat((0,In.Z)(la.map(function(sa){return sa+Nn})),[0]),isSticky:Wn})},[Nn,Ge,Wn]),ma=_a(Ye,Ze);return ie.createElement("div",{style:(0,Ae.Z)({overflow:"hidden"},Wn?{top:ot,bottom:Bt}:{}),ref:ra,className:mt()(Se,(0,be.Z)({},Lt,!!Lt))},ie.createElement("table",{style:{tableLayout:"fixed",visibility:we||ma?null:"hidden"}},(!we||!Yt||vn)&&ie.createElement(Na,{colWidths:ma?[].concat((0,In.Z)(ma),[Nn]):[],columCount:Ze+1,columns:dn}),jt((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,Ze=de.onHeaderRow,Ge=de.index,it=nt(ne,["prefixCls","direction"]),tt=it.prefixCls,ot=it.direction,Bt;Ze&&(Bt=Ze(ce.map(function(Dt){return Dt.column}),Ge));var Lt=Ue(ce.map(function(Dt){return Dt.column}));return ie.createElement(Ne,Bt,ce.map(function(Dt,Yt){var jt=Dt.column,an=ye(Dt.colStart,Dt.colEnd,we,Se,ot,jt),_t;return jt&&jt.onHeaderCell&&(_t=Dt.column.onHeaderCell(jt)),ie.createElement(Xt,(0,_e.Z)({},Dt,{scope:jt.title?Dt.colSpan>1?"colgroup":"col":null,ellipsis:jt.ellipsis,align:jt.align,component:jt.title?Fe:Ye,prefixCls:tt,key:Lt[Yt]},an,{additionalProps:_t,rowType:"header"}))}))}Mo.displayName="HeaderRow";var mn=Mo;function cn(de){var ce=[];function Se(Ye,Ze){var Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[Ge]=ce[Ge]||[];var it=Ze,tt=Ye.filter(Boolean).map(function(ot){var Bt={key:ot.key,className:ot.className||"",children:ot.title,column:ot,colStart:it},Lt=1,Dt=ot.children;return Dt&&Dt.length>0&&(Lt=Se(Dt,it,Ge+1).reduce(function(Yt,jt){return Yt+jt},0),Bt.hasSubColumns=!0),"colSpan"in ot&&(Lt=ot.colSpan),"rowSpan"in ot&&(Bt.rowSpan=ot.rowSpan),Bt.colSpan=Lt,Bt.colEnd=Bt.colStart+Lt-1,ce[Ge].push(Bt),it+=Lt,Lt});return tt}Se(de,0);for(var we=ce.length,Ne=function(Ze){ce[Ze].forEach(function(Ge){!("rowSpan"in Ge)&&!Ge.hasSubColumns&&(Ge.rowSpan=we-Ze)})},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(ne,["prefixCls","getComponent"]),Ye=Fe.prefixCls,Ze=Fe.getComponent,Ge=ie.useMemo(function(){return cn(Se)},[Se]),it=Ze(["header","wrapper"],"thead"),tt=Ze(["header","row"],"tr"),ot=Ze(["header","cell"],"th"),Bt=Ze(["header","cell"],"td");return ie.createElement(it,{className:"".concat(Ye,"-thead")},Ge.map(function(Lt,Dt){var Yt=ie.createElement(mn,{key:Dt,flattenColumns:we,cells:Lt,stickyOffsets:ce,rowComponent:tt,cellComponent:ot,tdCellComponent:Bt,onHeaderRow:Ne,index:Dt});return Yt}))}var fn=z(wn),ua=ae(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(it){var tt=va(ce,it.width);tt?Se+=tt:we+=1});var Ne=ce-Se,Fe=we,Ye=Ne/we,Ze=0,Ge=de.map(function(it){var tt=(0,Ae.Z)({},it),ot=va(ce,tt.width);if(ot)tt.width=ot;else{var Bt=Math.floor(Ye);tt.width=Fe===1?Ne:Bt,Ne-=Bt,Fe-=1}return Ze+=tt.width,tt});return[Ge,Ze]}return[de,ce]},[de,ce])}var Ve=["children"],qe=["fixed"];function $e(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,Ve),Ye=(0,Ae.Z)({key:Se},Fe);return Ne&&(Ye.children=$e(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,xe.Z)(Se)==="object"}).reduce(function(Se,we,Ne){var Fe=we.fixed,Ye=Fe===!0?"left":Fe,Ze="".concat(ce,"-").concat(Ne),Ge=we.children;return Ge&&Ge.length>0?[].concat((0,In.Z)(Se),(0,In.Z)(Mt(Ge,Ze).map(function(it){return(0,Ae.Z)({fixed:Ye},it)}))):[].concat((0,In.Z)(Se),[(0,Ae.Z)((0,Ae.Z)({key:Ze},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 Kt(de){return de.map(function(ce){var Se=ce.fixed,we=(0,sn.Z)(ce,qe),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,Ze=de.columnTitle,Ge=de.getRowKey,it=de.onTriggerExpand,tt=de.expandIcon,ot=de.rowExpandable,Bt=de.expandIconColumnIndex,Lt=de.direction,Dt=de.expandRowByClick,Yt=de.columnWidth,jt=de.fixed,an=de.scrollWidth,_t=ie.useMemo(function(){return we||$e(Ne)},[we,Ne]),ln=ie.useMemo(function(){if(Fe){var Fn,yn=_t.slice();if(!yn.includes(se)){var rn=Bt||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;(jt==="left"||jt)&&!Bt?ma="left":(jt==="right"||jt)&&Bt===_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",Ze),(0,be.Z)(Fn,"fixed",ma),(0,be.Z)(Fn,"className","".concat(Se,"-row-expand-icon-cell")),(0,be.Z)(Fn,"width",Yt),(0,be.Z)(Fn,"render",function(sa,fa,ya){var ha=Ge(fa,ya),Xa=Ye.has(ha),Ca=ot?ot(fa):!0,_n=tt({prefixCls:Se,expanded:Xa,expandable:Ca,record:fa,onExpand:it});return Dt?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,Ge,Ye,tt,Lt]),Hn=ie.useMemo(function(){var Fn=ln;return ce&&(Fn=ce(Fn)),Fn.length||(Fn=[{render:function(){return null}}]),Fn},[ce,ln,Lt]),Wn=ie.useMemo(function(){return Lt==="rtl"?Kt(Mt(Hn)):Mt(Hn)},[Hn,Lt,an]),Nn=Xn(Wn,an),Kn=(0,Me.Z)(Nn,2),ra=Kn[0],vn=Kn[1];return[Hn,ra,vn]}var Mn=oa;function En(de){var ce,Se=de.prefixCls,we=de.record,Ne=de.onExpand,Fe=de.expanded,Ye=de.expandable,Ze="".concat(Se,"-row-expand-icon");if(!Ye)return ie.createElement("span",{className:mt()(Ze,"".concat(Se,"-row-spaced"))});var Ge=function(tt){Ne(we,tt),tt.stopPropagation()};return ie.createElement("span",{className:mt()(Ze,(ce={},(0,be.Z)(ce,"".concat(Se,"-row-expanded"),Fe),(0,be.Z)(ce,"".concat(Se,"-row-collapsed"),!Fe),ce)),onClick:Ge})}function da(de,ce,Se){var we=[];function Ne(Fe){(Fe||[]).forEach(function(Ye,Ze){we.push(ce(Ye,Ze)),Ne(Ye[Se])})}return Ne(de),we}function ta(de,ce,Se){var we=Sa(de),Ne=we.expandIcon,Fe=we.expandedRowKeys,Ye=we.defaultExpandedRowKeys,Ze=we.defaultExpandAllRows,Ge=we.expandedRowRender,it=we.onExpand,tt=we.onExpandedRowsChange,ot=we.childrenColumnName,Bt=Ne||En,Lt=ot||"children",Dt=ie.useMemo(function(){return Ge?"row":de.expandable&&de.internalHooks===ve&&de.expandable.__PARENT_RENDER_ICON__||ce.some(function(Wn){return Wn&&(0,xe.Z)(Wn)==="object"&&Wn[Lt]})?"nest":!1},[!!Ge,ce]),Yt=ie.useState(function(){return Ye||(Ze?da(ce,Se,Lt):[])}),jt=(0,Me.Z)(Yt,2),an=jt[0],_t=jt[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),it&&it(!ra,Wn),tt&&tt(Kn)},[Se,ln,ce,it,tt]);return[we,Dt,ln,Bt,Lt,Hn]}function Wt(de,ce,Se,we){var Ne=de.map(function(Fe,Ye){return ye(Ye,Ye,de,ce,Se,we==null?void 0:we[Ye])});return(0,Jt.Z)(function(){return Ne},[Ne],function(Fe,Ye){return!(0,Oe.Z)(Fe,Ye)})}function ka(de){var ce=(0,ie.useRef)(de),Se=(0,ie.useState)({}),we=(0,Me.Z)(Se,2),Ne=we[1],Fe=(0,ie.useRef)(null),Ye=(0,ie.useRef)([]);function Ze(Ge){Ye.current.push(Ge);var it=Promise.resolve();Fe.current=it,it.then(function(){if(Fe.current===it){var tt=Ye.current,ot=ce.current;Ye.current=[],tt.forEach(function(Bt){ce.current=Bt(ce.current)}),Fe.current=null,ot!==ce.current&&Ne({})}})}return(0,ie.useEffect)(function(){return function(){Fe.current=null}},[]),[ce.current,Ze]}function po(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,Me.Z)(de,2),Se=ce[0],we=ce[1],Ne=ie.useState(-1),Fe=(0,Me.Z)(Ne,2),Ye=Fe[0],Ze=Fe[1],Ge=ie.useCallback(function(it,tt){we(it),Ze(tt)},[]);return[Se,Ye,Ge]}var Ha=ae(47273),Wa=(0,Ha.Z)()?window:null;function To(de,ce){var Se=(0,xe.Z)(de)==="object"?de:{},we=Se.offsetHeader,Ne=we===void 0?0:we,Fe=Se.offsetSummary,Ye=Fe===void 0?0:Fe,Ze=Se.offsetScroll,Ge=Ze===void 0?0:Ze,it=Se.getContainer,tt=it===void 0?function(){return Wa}:it,ot=tt()||Wa;return ie.useMemo(function(){var Bt=!!de;return{isSticky:Bt,stickyClassName:Bt?"".concat(ce,"-sticky-holder"):"",offsetHeader:Ne,offsetSummary:Ye,offsetScroll:Ge,container:ot}},[Ge,Ne,Ye,ce,ot])}function zo(de,ce,Se){var we=(0,ie.useMemo)(function(){for(var Ne=[],Fe=[],Ye=0,Ze=0,Ge=0;Ge<ce;Ge+=1)if(Se==="rtl"){Fe[Ge]=Ze,Ze+=de[Ge]||0;var it=ce-Ge-1;Ne[it]=Ye,Ye+=de[it]||0}else{Ne[Ge]=Ye,Ye+=de[Ge]||0;var tt=ce-Ge-1;Fe[tt]=Ze,Ze+=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=ae(8224),lr=ae(55468),yr=function(ce,Se){var we,Ne,Fe=ce.scrollBodyRef,Ye=ce.onScroll,Ze=ce.offsetScroll,Ge=ce.container,it=nt(ne,"prefixCls"),tt=((we=Fe.current)===null||we===void 0?void 0:we.scrollWidth)||0,ot=((Ne=Fe.current)===null||Ne===void 0?void 0:Ne.clientWidth)||0,Bt=tt&&ot*(ot/tt),Lt=ie.useRef(),Dt=ka({scrollLeft:0,isHiddenScrollBar:!1}),Yt=(0,Me.Z)(Dt,2),jt=Yt[0],an=Yt[1],_t=ie.useRef({delta:0,x:0}),ln=ie.useState(!1),Hn=(0,Me.Z)(ln,2),Wn=Hn[0],Nn=Hn[1],Kn=function(){Nn(!1)},ra=function(dn){dn.persist(),_t.current.delta=dn.pageX-jt.scrollLeft,_t.current.x=0,Nn(!0),dn.preventDefault()},vn=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+Bt>=ot&&(Rn=ot-Bt),Ye({scrollLeft:Rn/ot*(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=Ge===window?document.documentElement.scrollTop+window.innerHeight:(0,lr.os)(Ge).top+Ge.clientHeight;jn-(0,Ke.Z)()<=ma||dn>=ma-Ze?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*ot||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",vn,!1);return Fn(),function(){rn.remove(),dn.remove()}},[Bt,Wn]),ie.useEffect(function(){var rn=(0,Co.Z)(Ge,"scroll",Fn,!1),dn=(0,Co.Z)(window,"resize",Fn,!1);return function(){rn.remove(),dn.remove()}},[Ge]),ie.useEffect(function(){jt.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})},[jt.isHiddenScrollBar]),tt<=ot||!Bt||jt.isHiddenScrollBar?null:ie.createElement("div",{style:{height:(0,Ke.Z)(),width:ot,bottom:Ze},className:"".concat(it,"-sticky-scroll")},ie.createElement("div",{onMouseDown:ra,ref:Lt,className:mt()("".concat(it,"-sticky-scroll-bar"),(0,be.Z)({},"".concat(it,"-sticky-scroll-bar-active"),Wn)),style:{width:"".concat(Bt,"px"),transform:"translate3d(".concat(jt.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",pn=[],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,Ze=Se.data,Ge=Se.rowKey,it=Se.scroll,tt=Se.tableLayout,ot=Se.direction,Bt=Se.title,Lt=Se.footer,Dt=Se.summary,Yt=Se.caption,jt=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,vn=Se.tailor,Fn=Se.sticky,yn=Ze||pn,rn=!!yn.length,dn=Nn===ve,jn=ie.useCallback(function(Ua,vo){return(0,Xe.Z)(_t,Ua)||vo},[_t]),ma=ie.useMemo(function(){return typeof Ge=="function"?Ge:function(Ua){var vo=Ua&&Ua[Ge];return vo}},[Ge]),la=jn(["body"]),Rn=Ya(),sa=(0,Me.Z)(Rn,3),fa=sa[0],ya=sa[1],ha=sa[2],Xa=ta(Se,yn,ma),Ca=(0,Me.Z)(Xa,6),_n=Ca[0],oo=Ca[1],Jn=Ca[2],Za=Ca[3],Ia=Ca[4],yo=Ca[5],Qn=it==null?void 0:it.x,Vn=ie.useState(0),Un=(0,Me.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:ot,scrollWidth:dn&&vn&&typeof Qn=="number"?Qn:null}),dn?Kn:null),hn=(0,Me.Z)(Rt,3),ia=hn[0],pa=hn[1],Ro=hn[2],Ao=Ro!=null?Ro:Qn,or=ie.useMemo(function(){return{columns:ia,flattenColumns:pa}},[ia,pa]),fo=ie.useRef(),so=ie.useRef(),Yn=ie.useRef(),Zo=ie.useRef(),Wo=ie.useRef(),za=ie.useState(!1),Ka=(0,Me.Z)(za,2),co=Ka[0],wo=Ka[1],bo=ie.useState(!1),wa=(0,Me.Z)(bo,2),Vo=wa[0],Io=wa[1],ja=ka(new Map),$n=(0,Me.Z)(ja,2),xo=$n[0],Ko=$n[1],br=Ue(pa),rr=br.map(function(Ua){return xo.get(Ua)}),tr=ie.useMemo(function(){return rr},[rr.join("_")]),Yo=Xo(tr,pa.length,ot),Eo=it&&Pt(it.y),So=it&&Pt(Ao)||!!_n.fixed,pr=So&&pa.some(function(Ua){var vo=Ua.fixed;return vo}),Ar=ie.useRef(),ur=To(Fn,we),Sr=ur.isSticky,ri=ur.offsetHeader,el=ur.offsetSummary,Da=ur.offsetScroll,no=ur.stickyClassName,jo=ur.container,ho=ie.useMemo(function(){return Dt==null?void 0:Dt(yn)},[Dt,yn]),Jo=(Eo||Sr)&&ie.isValidElement(ho)&&ho.type===ue&&ho.props.fixed,Qo,Uo,Pr;Eo&&(Uo={overflowY:"scroll",maxHeight:it.y}),So&&(Qo={overflowX:"auto"},Eo||(Uo={overflowY:"hidden"}),Pr={width:Ao===!0?"auto":Ao,minWidth:"100%"});var tl=ie.useCallback(function(Ua,vo){(0,ke.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=po(null),nl=(0,Me.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,at.Z)(function(Ua){var vo=Ua.currentTarget,ir=Ua.scrollLeft,xr=ot==="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(){So&&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()},[So,Ze,ia.length]),ie.useEffect(function(){Tl.current=!0},[]);var al=ie.useState(0),ol=(0,Me.Z)(al,2),Ci=ol[0],wi=ol[1],id=ie.useState(!0),Ei=(0,Me.Z)(id,2),rl=Ei[0],ld=Ei[1];ie.useEffect(function(){(!vn||!dn)&&(Yn.current instanceof Element?wi((0,Ke.o)(Yn.current).width):wi((0,Ke.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(fn,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||(pr?Ao==="max-content"?"auto":"fixed":Eo||Sr||pa.some(function(Ua){var vo=Ua.ellipsis;return vo})?"fixed":"auto")},[Eo,pr,pa,tt,Sr]),Bi,ll={colWidths:tr,columCount:pa.length,stickyOffsets:Yo,onHeaderRow:Wn,fixHeader:Eo,scroll:it},Hl=ie.useMemo(function(){return rn?null:typeof ln=="function"?ln():ln},[rn,ln]),Gl=ie.createElement(kn,{data:yn,measureColumnWidth:Eo||So||Sr}),dl=ie.createElement(Na,{colWidths:pa.map(function(Ua){var vo=Ua.width;return vo}),columns:pa}),sl=Yt!=null?ie.createElement("caption",{className:"".concat(we,"-caption")},Yt):void 0,sd=(0,zt.Z)(Se,{data:!0}),gl=(0,zt.Z)(Se,{aria:!0});if(Eo||Sr){var cl;typeof la=="function"?(cl=la(yn,{scrollbarSize:Ci,ref:Yn,onScroll:Ir}),ll.colWidths=pa.map(function(Ua,vo){var ir=Ua.width,xr=vo===pa.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:mt()("".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:pa,columns:ia},ho)));var ul=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({noData:!yn.length,maxContentScroll:So&&Ao==="max-content"},ll),or),{},{direction:ot,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),Sr&&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:mt()("".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(fn,(0,_e.Z)({},ll,or)),Gl,ho&&ie.createElement(gt,{stickyOffsets:Yo,flattenColumns:pa,columns:ia},ho)));var Ai=ie.createElement("div",(0,_e.Z)({className:mt()(we,Ne,(ce={},(0,be.Z)(ce,"".concat(we,"-rtl"),ot==="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"),pr),(0,be.Z)(ce,"".concat(we,"-scroll-horizontal"),So),(0,be.Z)(ce,"".concat(we,"-has-fix-left"),pa[0]&&pa[0].fixed),(0,be.Z)(ce,"".concat(we,"-has-fix-right"),pa[pa.length-1]&&pa[pa.length-1].fixed==="right"),ce)),style:Ye,id:jt,ref:fo},sd),Bt&&ie.createElement(er,{className:"".concat(we,"-title")},Bt(yn)),ie.createElement("div",{ref:Zo,className:"".concat(we,"-container")},Bi),Lt&&ie.createElement(er,{className:"".concat(we,"-footer")},Lt(yn)));So&&(Ai=ie.createElement(Je.Z,{onResize:Ml},Ai));var ml=Wt(pa,Yo,ot,ia),gd=ie.useMemo(function(){return{scrollX:Ao,prefixCls:we,getComponent:jn,scrollbarSize:Ci,direction:ot,fixedInfoList:ml,isSticky:Sr,supportSticky:rl,componentWidth:Tn,fixHeader:Eo,fixColumn:pr,horizonScroll:So,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:pa.every(function(Ua){return Ua.fixed==="left"}),emptyNode:Hl,columns:ia,flattenColumns:pa,onColumnResize:tl,hoverStartRow:fa,hoverEndRow:ya,onHover:ha,rowExpandable:_n.rowExpandable,onRow:Hn,getRowKey:ma,expandedKeys:Jn,childrenColumnName:Ia}},[Ao,we,jn,Ci,ot,ml,Sr,rl,Tn,Eo,pr,So,Li,Fe,_n.expandedRowClassName,Za,oo,_n.expandRowByClick,_n.expandedRowRender,yo,_n.expandIconColumnIndex,_n.indentSize,Hl,ia,pa,tl,fa,ya,ha,_n.rowExpandable,Hn,ma,Jn,Ia]);return ie.createElement(ne.Provider,{value:gd},Ai)}function ro(de){return E(aa,de)}var uo=ro();uo.EXPAND_COLUMN=se,uo.INTERNAL_HOOKS=ve,uo.Column=di,uo.ColumnGroup=Nr,uo.Summary=Pe;var Oo=uo,qo=ae(24916),ar=rt(null),Xr=rt(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,Ze=de.record,Ge=de.style,it=de.className,tt=de.inverse,ot=de.getHeight,Bt=Se.render,Lt=Se.dataIndex,Dt=Se.className,Yt=Se.width,jt=nt(Xr,["columnsOffset"]),an=jt.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,vn=ra===void 0?1:ra,Fn=Nn.rowSpan,yn=Fn===void 0?1:Fn,rn=we-1,dn=Br(rn,vn,an),jn=vn>1?Yt-dn:0,ma=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},Kn),Ge),{},{flex:"0 0 ".concat(dn,"px"),width:"".concat(dn,"px"),marginRight:jn,pointerEvents:"auto"}),la=ie.useMemo(function(){return tt?yn<=1:vn===0||yn===0||yn>1},[yn,vn,tt]);la?ma.visibility="hidden":tt&&(ma.height=ot==null?void 0:ot(yn));var Rn=la?function(){return null}:Bt,sa={};return(yn===0||vn===0)&&(sa.rowSpan=1,sa.colSpan=1),ie.createElement(Xt,(0,_e.Z)({className:mt()(Dt,it),ellipsis:Se.ellipsis,align:Se.align,scope:Se.rowScope,component:"div",prefixCls:ce.prefixCls,key:ln,record:Ze,index:Fe,renderIndex:Ye,dataIndex:Lt,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,Ze=de.extra,Ge=de.getHeight,it=(0,sn.Z)(de,ci),tt=Se.record,ot=Se.indent,Bt=Se.index,Lt=nt(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Dt=Lt.scrollX,Yt=Lt.flattenColumns,jt=Lt.prefixCls,an=Lt.fixColumn,_t=Lt.componentWidth,ln=st(tt,Fe,we,ot),Hn=ln.rowSupportExpand,Wn=ln.expanded,Nn=ln.rowProps,Kn=ln.expandedRowRender,ra=ln.expandedRowClassName,vn;if(Hn&&Wn){var Fn=Kn(tt,we,ot+1,Wn),yn=ra==null?void 0:ra(tt,we,ot),rn={};an&&(rn={style:(0,be.Z)({},"--virtual-width","".concat(_t,"px"))});var dn="".concat(jt,"-expanded-row-cell");vn=ie.createElement("div",{className:mt()("".concat(jt,"-expanded-row"),"".concat(jt,"-expanded-row-level-").concat(ot+1),yn)},ie.createElement(Xt,{component:"div",prefixCls:jt,className:mt()(dn,(0,be.Z)({},"".concat(dn,"-fixed"),an)),additionalProps:rn},Fn))}var jn=(0,Ae.Z)((0,Ae.Z)({},Ye),{},{width:Dt});Ze&&(jn.position="absolute",jn.pointerEvents="none");var ma=ie.createElement("div",(0,_e.Z)({},Nn,it,{ref:Hn?null:ce,className:mt()(Ne,"".concat(jt,"-row"),Nn==null?void 0:Nn.className,(0,be.Z)({},"".concat(jt,"-row-extra"),Ze)),style:(0,Ae.Z)((0,Ae.Z)({},jn),Nn==null?void 0:Nn.style)}),Yt.map(function(la,Rn){return ie.createElement(gi,{key:Rn,rowInfo:ln,column:la,colIndex:Rn,indent:ot,index:we,renderIndex:Bt,record:tt,inverse:Ze,getHeight:Ge})}));return Hn?ie.createElement("div",{ref:ce},ma,vn):ma}),mi=z(ui),$r=mi,Tr=ie.forwardRef(function(de,ce){var Se=de.data,we=de.onScroll,Ne=nt(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Fe=Ne.flattenColumns,Ye=Ne.onColumnResize,Ze=Ne.getRowKey,Ge=Ne.expandedKeys,it=Ne.prefixCls,tt=Ne.childrenColumnName,ot=Ne.emptyNode,Bt=Ne.scrollX,Lt=nt(ar),Dt=Lt.scrollY,Yt=Lt.listItemHeight,jt=ie.useRef(),an=kt(Se,tt,Ge,Ze),_t=ie.useMemo(function(){var vn=0;return Fe.map(function(Fn){var yn=Fn.width,rn=Fn.key;return vn+=yn,[rn,yn,vn]})},[Fe]),ln=ie.useMemo(function(){return _t.map(function(vn){return vn[2]})},[_t]);ie.useEffect(function(){_t.forEach(function(vn){var Fn=(0,Me.Z)(vn,2),yn=Fn[0],rn=Fn[1];Ye(yn,rn)})},[_t]),ie.useImperativeHandle(ce,function(){var vn={};return Object.defineProperty(vn,"scrollLeft",{get:function(){var yn;return((yn=jt.current)===null||yn===void 0?void 0:yn.getScrollInfo().x)||0},set:function(yn){var rn;(rn=jt.current)===null||rn===void 0||rn.scrollTo({left:yn})}}),vn});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=Ze(Vn.record,Qn),Tn=function(hn){var ia=Qn+hn-1,pa=Ze(an[ia].record,ia),Ro=dn(Un,pa);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(it,"-tbody"),ra;return an.length?ra=ie.createElement(qo.Z,{fullHeight:!1,ref:jt,className:mt()(Kn,"".concat(Kn,"-virtual")),height:Dt,itemHeight:Yt||24,data:an,itemKey:function(Fn){return Ze(Fn.record)},scrollWidth:Bt,onVirtualScroll:function(Fn){var yn=Fn.x;we({scrollLeft:yn})},extraRender:Wn},function(vn,Fn,yn){var rn=Ze(vn.record,Fn);return ie.createElement($r,(0,_e.Z)({data:vn,rowKey:rn,index:Fn},yn))}):ra=ie.createElement("div",{className:mt()("".concat(it,"-placeholder"))},ie.createElement(Xt,{component:"div",prefixCls:it},ot)),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,Ze=Se||{},Ge=Ze.x,it=Ze.y;typeof Ge!="number"&&(Ge=((ce||[]).length+1)*Gr),typeof it!="number"&&(it=500);var tt=ie.useMemo(function(){return{scrollY:it,listItemHeight:Ye}},[it,Ye]);return ie.createElement(ar.Provider,{value:tt},ie.createElement(Oo,(0,_e.Z)({},de,{className:mt()(Fe,"".concat(Ne,"-virtual")),scroll:(0,Ae.Z)((0,Ae.Z)({},Se),{},{x:Ge}),components:{body:Hr},columns:ce,internalHooks:ve,tailor:!0})))}function qr(de){return E(Di,de)}var Sl=qr(),_r=null;function gr(de){return null}var Fi=gr;function fr(de){return null}var ki=fr,Oi=ae(2738),Ri=ae(68031),Ii=ae(36355),Mi=ae(93891),Pl=ae(19716),yl=ae(8628),Ti=ae(31724),zi=ae(58421),qn=ae(71418),Bn=ae(88088);function Gn(de){return function(Se){let{prefixCls:we,onExpand:Ne,record:Fe,expanded:Ye,expandable:Ze}=Se;const Ge=`${we}-row-expand-icon`;return ie.createElement("button",{type:"button",onClick:it=>{Ne(Fe,it),it.stopPropagation()},className:mt()(Ge,{[`${Ge}-spaced`]:!Ze,[`${Ge}-expanded`]:Ze&&Ye,[`${Ge}-collapsed`]:Ze&&!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=ae(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=ae(56762);function Hi(de){const ce=ie.useRef(de),Se=(0,Zr.Z)();return[()=>ce.current,we=>{ce.current=we,Se()}]}var hr=ae(3113),kr=ae(24905),Fo=ae(38854),fi=ae(64165),hi=ae(20834),ei=ae(40875),Gi=ae(5112),Kr=ae(17574),dr=ae(47472),vi=ae(92832);function pi(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=pi,Si=ae(10228);const Kl=de=>{const{keyCode:ce}=de;ce===Si.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((Ze,Ge)=>{const it=String(Ze.value);if(Ze.children)return{key:it||Ge,label:Ze.text,popupClassName:`${Se}-dropdown-submenu`,children:Ki({filters:Ze.children,prefixCls:Se,filteredKeys:we,filterMultiple:Ne,searchValue:Fe,filterSearch:Ye})};const tt=Ne?kr.default:Gi.ZP,ot={key:Ze.value!==void 0?it:Ge,label:ie.createElement(ie.Fragment,null,ie.createElement(tt,{checked:we.includes(it)}),ie.createElement("span",null,Ze.text))};return Fe.trim()?typeof Ye=="function"?Ye(Fe,Ze)?ot:null:Zi(Fe,Ze.text)?ot:null:ot})}function Vl(de){var ce,Se;const{tablePrefixCls:we,prefixCls:Ne,column:Fe,dropdownPrefixCls:Ye,columnKey:Ze,filterMultiple:Ge,filterMode:it="menu",filterSearch:tt=!1,filterState:ot,triggerFilter:Bt,locale:Lt,children:Dt,getPopupContainer:Yt}=de,{filterDropdownOpen:jt,onFilterDropdownOpenChange:an,filterResetToDefaultFilteredValue:_t,defaultFilteredValue:ln,filterDropdownVisible:Hn,onFilterDropdownVisibleChange:Wn}=Fe,[Nn,Kn]=ie.useState(!1),ra=!!(ot&&(!((ce=ot.filteredKeys)===null||ce===void 0)&&ce.length||ot.forceFiltered)),vn=Rt=>{Kn(Rt),an==null||an(Rt),Wn==null||Wn(Rt)},Fn=(Se=jt!=null?jt:Hn)!==null&&Se!==void 0?Se:Nn,yn=ot==null?void 0:ot.filteredKeys,[rn,dn]=Hi(yn||[]),jn=Rt=>{let{selectedKeys:hn}=Rt;dn(hn)},ma=(Rt,hn)=>{let{node:ia,checked:pa}=hn;jn(Ge?{selectedKeys:Rt}:{selectedKeys:pa&&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:hn}=Rt.target;ya(hn)};ie.useEffect(()=>{Nn||ya("")},[Nn]);const Xa=Rt=>{const hn=Rt&&Rt.length?Rt:null;if(hn===null&&(!ot||!ot.filteredKeys)||(0,Oe.Z)(hn,ot==null?void 0:ot.filteredKeys,!0))return null;Bt({column:Fe,key:Ze,filteredKeys:hn})},Ca=()=>{vn(!1),Xa(rn())},_n=function(){let{confirm:Rt,closeDropdown:hn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Rt&&Xa([]),hn&&vn(!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&&vn(!1),Xa(rn())},Jn=Rt=>{Rt&&yn!==void 0&&dn(yn||[]),vn(Rt),!Rt&&!Fe.filterDropdown&&Ca()},Za=mt()({[`${Ye}-menu-without-submenu`]:!Wl(Fe.filters||[])}),Ia=Rt=>{if(Rt.target.checked){const hn=jr(Fe==null?void 0:Fe.filters).map(ia=>String(ia));dn(hn)}else dn([])},yo=Rt=>{let{filters:hn}=Rt;return(hn||[]).map((ia,pa)=>{const Ro=String(ia.value),Ao={title:ia.text,key:ia.value!==void 0?Ro:pa};return ia.children&&(Ao.children=yo({filters:ia.children})),Ao})},Qn=Rt=>{var hn;return Object.assign(Object.assign({},Rt),{text:Rt.title,value:Rt.key,children:((hn=Rt.children)===null||hn===void 0?void 0:hn.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:()=>{vn(!1)}});else if(Fe.filterDropdown)Vn=Fe.filterDropdown;else{const Rt=rn()||[],hn=()=>(Fe.filters||[]).length===0?ie.createElement(fi.Z,{image:fi.Z.PRESENTED_IMAGE_SIMPLE,description:Lt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):it==="tree"?ie.createElement(ie.Fragment,null,ie.createElement(ti,{filterSearch:tt,value:fa,onChange:ha,tablePrefixCls:we,locale:Lt}),ie.createElement("div",{className:`${we}-filter-dropdown-tree`},Ge?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},Lt.filterCheckall):null,ie.createElement(Kr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ge,checkStrictly:!Ge,className:`${Ye}-menu`,onCheck:ma,checkedKeys:Rt,selectedKeys:Rt,showIcon:!1,treeData:yo({filters:Fe.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:fa.trim()?pa=>typeof tt=="function"?tt(fa,Qn(pa)):Zi(fa,pa.title):void 0}))):ie.createElement(ie.Fragment,null,ie.createElement(ti,{filterSearch:tt,value:fa,onChange:ha,tablePrefixCls:we,locale:Lt}),ie.createElement(hi.default,{selectable:!0,multiple:Ge,prefixCls:`${Ye}-menu`,className:Za,onSelect:jn,onDeselect:jn,selectedKeys:Rt,getPopupContainer:Yt,openKeys:la,onOpenChange:sa,items:Ki({filters:Fe.filters||[],filterSearch:tt,prefixCls:Ne,filteredKeys:rn(),filterMultiple:Ge,searchValue:fa})})),ia=()=>_t?(0,Oe.Z)((ln||[]).map(pa=>String(pa)),Rt,!0):Rt.length===0;Vn=ie.createElement(ie.Fragment,null,hn(),ie.createElement("div",{className:`${Ne}-dropdown-btns`},ie.createElement(hr.ZP,{type:"link",size:"small",disabled:ia(),onClick:()=>_n()},Lt.filterReset),ie.createElement(hr.ZP,{type:"primary",size:"small",onClick:Ca},Lt.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`},Dt),ie.createElement(Fo.Z,{dropdownRender:Un,trigger:["click"],open:Fn,onOpenChange:Jn,getPopupContainer:Yt,placement:Ln==="rtl"?"bottomLeft":"bottomRight"},ie.createElement("span",{role:"button",tabIndex:-1,className:mt()(`${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 Ze=mo(Fe,Se);if(Ne.filters||"filterDropdown"in Ne||"onFilter"in Ne)if("filteredValue"in Ne){let Ge=Ne.filteredValue;"filterDropdown"in Ne||(Ge=(Ye=Ge==null?void 0:Ge.map(String))!==null&&Ye!==void 0?Ye:Ge),we.push({column:Ne,key:Ma(Ne,Ze),filteredKeys:Ge,forceFiltered:Ne.filtered})}else we.push({column:Ne,key:Ma(Ne,Ze),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,Ze))))}),we}function bl(de,ce,Se,we,Ne,Fe,Ye,Ze){return Se.map((Ge,it)=>{const tt=mo(it,Ze),{filterMultiple:ot=!0,filterMode:Bt,filterSearch:Lt}=Ge;let Dt=Ge;if(Dt.filters||Dt.filterDropdown){const Yt=Ma(Dt,tt),jt=we.find(an=>{let{key:_t}=an;return Yt===_t});Dt=Object.assign(Object.assign({},Dt),{title:an=>ie.createElement(Ul,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ce,column:Dt,columnKey:Yt,filterState:jt,filterMultiple:ot,filterMode:Bt,filterSearch:Lt,triggerFilter:Fe,locale:Ne,getPopupContainer:Ye},Lo(Ge.title,an))})}return"children"in Dt&&(Dt=Object.assign(Object.assign({},Dt),{children:bl(de,ce,Dt.children,we,Ne,Fe,Ye,tt)})),Dt})}function ni(de){const ce={};return de.forEach(Se=>{let{key:we,filteredKeys:Ne,column:Fe}=Se;const{filters:Ye,filterDropdown:Ze}=Fe;if(Ze)ce[we]=Ne||null;else if(Array.isArray(Ne)){const Ge=jr(Ye);ce[we]=Ge.filter(it=>Ne.includes(String(it)))}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(Ze=>Ye.some(Ge=>{const it=jr(Fe),tt=it.findIndex(Bt=>String(Bt)===String(Ge)),ot=tt!==-1?it[tt]:Ge;return Ne(ot,Ze)})):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 Ze=ie.useMemo(()=>Vi(we||[]),[we]),[Ge,it]=ie.useState(()=>ji(Ze,!0)),tt=ie.useMemo(()=>{const Dt=ji(Ze,!1);if(Dt.length===0)return Dt;let Yt=!0,jt=!0;if(Dt.forEach(an=>{let{filteredKeys:_t}=an;_t!==void 0?Yt=!1:jt=!1}),Yt){const an=(Ze||[]).map((_t,ln)=>Ma(_t,mo(ln)));return Ge.filter(_t=>{let{key:ln}=_t;return an.includes(ln)}).map(_t=>{const ln=Ze[an.findIndex(Hn=>Hn===_t.key)];return Object.assign(Object.assign({},_t),{column:Object.assign(Object.assign({},_t.column),ln),forceFiltered:ln.filtered})})}return Dt},[Ze,Ge]),ot=ie.useMemo(()=>ni(tt),[tt]),Bt=Dt=>{const Yt=tt.filter(jt=>{let{key:an}=jt;return an!==Dt.key});Yt.push(Dt),it(Yt),Ne(ni(Yt),Yt)};return[Dt=>bl(ce,Se,Dt,tt,Ye,Bt,Fe),tt,ot]}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 Ze=function(Ge){Ge.forEach((it,tt)=>{const ot=Se(it,tt);Ye.set(ot,it),it&&typeof it=="object"&&ce in it&&Ze(it[ce]||[])})};const Ye=new Map;Ze(de),we.current={data:de,childrenColumnName:ce,kvMap:Ye,getRowKey:Se}}return we.current.kvMap.get(Fe)}return[Ne]}var El=ae(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,Ze]=(0,ie.useState)(()=>({current:"defaultCurrent"in Fe?Fe.defaultCurrent:1,pageSize:"defaultPageSize"in Fe?Fe.defaultPageSize:ai})),Ge=(0,El.Z)(Ye,Fe,{total:Ne>0?Ne:de}),it=Math.ceil((Ne||de)/Ge.pageSize);Ge.current>it&&(Ge.current=it||1);const tt=(Bt,Lt)=>{Ze({current:Bt!=null?Bt:1,pageSize:Lt||Ge.pageSize})},ot=(Bt,Lt)=>{var Dt;Se&&((Dt=Se.onChange)===null||Dt===void 0||Dt.call(Se,Bt,Lt)),tt(Bt,Lt),ce(Bt,Lt||(Ge==null?void 0:Ge.pageSize))};return Se===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ge),{onChange:ot}),tt]}var Yl=Ui,Jl=ae(84105),Rr=ae(35654),Pi=ae(90782),Yi=ae(71430),Ql=ae(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:Ze,onSelectAll:Ge,onSelectInvert:it,onSelectNone:tt,onSelectMultiple:ot,columnWidth:Bt,type:Lt,selections:Dt,fixed:Yt,renderCell:jt,hideSelectAll:an,checkStrictly:_t=!0}=ce||{},{prefixCls:ln,data:Hn,pageData:Wn,getRecordByKey:Nn,getRowKey:Kn,expandType:ra,childrenColumnName:vn,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,hn]=Ln;return Vn.has(Rt)?Tn:Tn.concat(hn)},[]);Qn=[].concat((0,In.Z)(Qn),(0,In.Z)(Un))}return(0,Yi.I8)(Qn,{externalGetKey:Kn,childrenPropName:vn})},[Hn,Kn,_t,vn,Se]),Rn=(0,ie.useMemo)(()=>Al(vn,Wn),[vn,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=Lt==="radio"?ya.slice(0,1):ya;return new Set(Qn)},[ya,Lt]),Ca=(0,ie.useMemo)(()=>Lt==="radio"?new Set:new Set(ha),[ha,Lt]),[_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(Ze){const Ln=Un.map(Rt=>Nn(Rt));Ze(Nn(Qn),Vn,Ln,Tn)}Jn(Un,"single")},[Ze,Nn,Jn]),Ia=(0,ie.useMemo)(()=>!Dt||an?null:(Dt===!0?[Ji,Qi,Xi]:Dt).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 hn=Kn(Ln,Rt),ia=sa.get(hn);ia!=null&&ia.disabled||(Un.has(hn)?Un.delete(hn):Un.add(hn))});const Tn=Array.from(Un);it&&it(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),hn=0;hn<Ln;hn++)Rt[hn]=arguments[hn];(Tn=Vn.onSelect)===null||Tn===void 0||(Un=Tn).call.apply(Un,[Vn].concat(Rt)),oo(null)}})),[Dt,Xa,Wn,Kn,it,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)),hn=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);Ge==null||Ge(!Rt,Ka.map(co=>Nn(co)),za.map(co=>Nn(co))),Jn(Ka,"all"),oo(null)};let pa;if(Lt!=="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});pa=!an&&ie.createElement("div",{className:`${ln}-selection`},ie.createElement(kr.default,{checked:co?wo:!!Rn.length&&Rt,indeterminate:co?!wo&&bo:!Rt&&hn,onChange:ia,disabled:Rn.length===0||co,"aria-label":za?"Custom selection":"Select all",skipGroup:!0}),za)}let Ro;Lt==="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(So=>{Tn.has(So)&&(Yo.push(So),Tn.delete(So))}):tr.forEach(So=>{Tn.has(So)||(Yo.push(So),Tn.add(So))});const Eo=Array.from(Tn);ot==null||ot(!wa,Eo.map(So=>Nn(So)),Yo.map(So=>Nn(So))),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:So}=Yo;let pr=Eo;if(wa){const Ar=new Set(Eo);Ar.delete(bo),pr=(0,Pi.S)(Array.from(Ar),{checked:!1,halfCheckedKeys:So},la,fa).checkedKeys}Za(bo,!wa,pr,xo)}}oo(wa?null:bo)}})),checked:wa}};const Ao=(za,Ka,co)=>{const{node:wo,checked:bo}=Ro(za,Ka,co);return jt?jt(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=Yt;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=mt()(`${ln}-selection-col`,{[`${ln}-selection-col-with-dropdown`]:Dt&&Lt==="checkbox"}),Wo={fixed:Yn,width:Bt,className:`${ln}-selection-column`,title:ce.columnTitle||pa,render:Ao,onCell:ce.onCell,[xa]:{className:Zo}};return Un.map(za=>za===vr?Wo:za)},[Kn,Rn,ce,ya,Xa,Ca,Bt,Ia,ra,_n,sa,ot,Za,fa]),Xa]},Xl=ae(89489),$l=ae(59477),$i=ae(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 Ze=mo(Ye,Se);Fe.children?("sortOrder"in Fe&&Ne(Fe,Ze),we=[].concat((0,In.Z)(we),(0,In.Z)(Fl(Fe.children,ce,Ze)))):Fe.sorter&&("sortOrder"in Fe?Ne(Fe,Ze):ce&&Fe.defaultSortOrder&&we.push({column:Fe,key:Ma(Fe,Ze),multiplePriority:oi(Fe),sortOrder:Fe.defaultSortOrder}))}),we}function qi(de,ce,Se,we,Ne,Fe,Ye,Ze){return(ce||[]).map((Ge,it)=>{const tt=mo(it,Ze);let ot=Ge;if(ot.sorter){const Bt=ot.sortDirections||Ne,Lt=ot.showSorterTooltip===void 0?Ye:ot.showSorterTooltip,Dt=Ma(ot,tt),Yt=Se.find(ra=>{let{key:vn}=ra;return vn===Dt}),jt=Yt?Yt.sortOrder:null,an=ql(Bt,jt);let _t;if(Ge.sortIcon)_t=Ge.sortIcon({sortOrder:jt});else{const ra=Bt.includes(yi)&&ie.createElement($l.Z,{className:mt()(`${de}-column-sorter-up`,{active:jt===yi})}),vn=Bt.includes(Wr)&&ie.createElement(Xl.Z,{className:mt()(`${de}-column-sorter-down`,{active:jt===Wr})});_t=ie.createElement("span",{className:mt()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(ra&&vn)})},ie.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},ra,vn))}const{cancelSort:ln,triggerAsc:Hn,triggerDesc:Wn}=Fe||{};let Nn=ln;an===Wr?Nn=Wn:an===yi&&(Nn=Hn);const Kn=typeof Lt=="object"?Lt:{title:Nn};ot=Object.assign(Object.assign({},ot),{className:mt()(ot.className,{[`${de}-column-sort`]:jt}),title:ra=>{const vn=ie.createElement("div",{className:`${de}-column-sorters`},ie.createElement("span",{className:`${de}-column-title`},Lo(Ge.title,ra)),_t);return Lt?ie.createElement($i.Z,Object.assign({},Kn),vn):vn},onHeaderCell:ra=>{const vn=Ge.onHeaderCell&&Ge.onHeaderCell(ra)||{},Fn=vn.onClick,yn=vn.onKeyDown;vn.onClick=jn=>{we({column:Ge,key:Dt,sortOrder:an,multiplePriority:oi(Ge)}),Fn==null||Fn(jn)},vn.onKeyDown=jn=>{jn.keyCode===Si.Z.ENTER&&(we({column:Ge,key:Dt,sortOrder:an,multiplePriority:oi(Ge)}),yn==null||yn(jn))};const rn=Do(Ge.title,{}),dn=rn==null?void 0:rn.toString();return jt?vn["aria-sort"]=jt==="ascend"?"ascending":"descending":vn["aria-label"]=dn||"",vn.className=mt()(vn.className,`${de}-column-has-sorters`),vn.tabIndex=0,Ge.ellipsis&&(vn.title=(rn!=null?rn:"").toString()),vn}})}return"children"in ot&&(ot=Object.assign(Object.assign({},ot),{children:qi(de,ot.children,Se,we,Ne,Fe,Ye,tt)})),ot})}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,Ze)=>Ze.multiplePriority-Ye.multiplePriority),Ne=de.slice(),Fe=we.filter(Ye=>{let{column:{sorter:Ze},sortOrder:Ge}=Ye;return Dl(Ze)&&Ge});return Fe.length?Ne.sort((Ye,Ze)=>{for(let Ge=0;Ge<Fe.length;Ge+=1){const it=Fe[Ge],{column:{sorter:tt},sortOrder:ot}=it,Bt=Dl(tt);if(Bt&&ot){const Lt=Bt(Ye,Ze,ot);if(Lt!==0)return ot===yi?Lt:-Lt}}return 0}).map(Ye=>{const Ze=Ye[Se];return Ze?Object.assign(Object.assign({},Ye),{[Se]:_i(Ze,ce,Se)}):Ye}):Ne}function _l(de){let{prefixCls:ce,mergedColumns:Se,onSorterChange:we,sortDirections:Ne,tableLocale:Fe,showSorterTooltip:Ye}=de;const[Ze,Ge]=ie.useState(Fl(Se,!0)),it=ie.useMemo(()=>{let Dt=!0;const Yt=Fl(Se,!1);if(!Yt.length)return Ze;const jt=[];function an(ln){Dt?jt.push(ln):jt.push(Object.assign(Object.assign({},ln),{sortOrder:null}))}let _t=null;return Yt.forEach(ln=>{_t===null?(an(ln),ln.sortOrder&&(ln.multiplePriority===!1?Dt=!1:_t=!0)):(_t&&ln.multiplePriority!==!1||(Dt=!1),an(ln))}),jt},[Se,Ze]),tt=ie.useMemo(()=>{const Dt=it.map(Yt=>{let{column:jt,sortOrder:an}=Yt;return{column:jt,order:an}});return{sortColumns:Dt,sortColumn:Dt[0]&&Dt[0].column,sortOrder:Dt[0]&&Dt[0].order}},[it]);function ot(Dt){let Yt;Dt.multiplePriority===!1||!it.length||it[0].multiplePriority===!1?Yt=[Dt]:Yt=[].concat((0,In.Z)(it.filter(jt=>{let{key:an}=jt;return an!==Dt.key})),[Dt]),Ge(Yt),we(Ol(Yt),Yt)}return[Dt=>qi(ce,Dt,it,ot,Ne,Fe,Ye),it,tt,()=>Ol(it)]}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=ae(64993),bi=ae(17313),nd=ae(83116),ad=ae(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}}}}},ze=ae(15969),ft=de=>{const{componentCls:ce,antCls:Se,controlInteractiveSize:we,motionDurationSlow:Ne,lineWidth:Fe,paddingXS:Ye,lineType:Ze,tableBorderColor:Ge,tableExpandIconBg:it,tableExpandColumnWidth:tt,borderRadius:ot,fontSize:Bt,fontSizeSM:Lt,lineHeight:Dt,tablePaddingVertical:Yt,tablePaddingHorizontal:jt,tableExpandedRowBg:an,paddingXXS:_t}=de,ln=we/2-Fe,Hn=ln*2+Fe*3,Wn=`${Fe}px ${Ze} ${Ge}`,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,ze.N)(de)),{position:"relative",float:"left",boxSizing:"border-box",width:Hn,height:Hn,padding:0,color:"inherit",lineHeight:`${Hn}px`,background:it,border:Wn,borderRadius:ot,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:(Bt*Dt-Fe*3)/2-Math.ceil((Lt*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:`-${Yt}px -${jt}px`,padding:`${Yt}px ${jt}px`}}}},nn=de=>{const{componentCls:ce,antCls:Se,iconCls:we,tableFilterDropdownWidth:Ne,tableFilterDropdownSearchWidth:Fe,paddingXXS:Ye,paddingXS:Ze,colorText:Ge,lineWidth:it,lineType:tt,tableBorderColor:ot,tableHeaderIconColor:Bt,fontSizeSM:Lt,tablePaddingHorizontal:Dt,borderRadius:Yt,motionDurationSlow:jt,colorTextDescription:an,colorPrimary:_t,tableHeaderFilterActiveBg:ln,colorTextDisabled:Hn,tableFilterDropdownBg:Wn,tableFilterDropdownHeight:Nn,controlItemBgHover:Kn,controlItemBgActive:ra,boxShadowSecondary:vn,filterDropdownMenuBg:Fn}=de,yn=`${Se}-dropdown`,rn=`${ce}-filter-dropdown`,dn=`${Se}-tree`,jn=`${it}px ${tt} ${ot}`;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 ${-Dt/2}px`,padding:`0 ${Ye}px`,color:Bt,fontSize:Lt,borderRadius:Yt,cursor:"pointer",transition:`all ${jt}`,"&:hover":{color:an,background:ln},"&.active":{color:_t}}}},{[`${Se}-dropdown`]:{[rn]:Object.assign(Object.assign({},(0,bi.Wf)(de)),{minWidth:Ne,backgroundColor:Wn,borderRadius:Yt,boxShadow:vn,overflow:"hidden",[`${yn}-menu`]:{maxHeight:Nn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Fn,"&:empty::after":{display:"block",padding:`${Ze}px 0`,color:Hn,fontSize:Lt,textAlign:"center",content:'"Not Found"'}},[`${rn}-tree`]:{paddingBlock:`${Ze}px 0`,paddingInline:Ze,[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:Ze,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:`${Ze-it}px ${Ze}px`,overflow:"hidden",borderTop:jn}})}},{[`${Se}-dropdown ${rn}, ${rn}-submenu`]:{[`${Se}-checkbox-wrapper + span`]:{paddingInlineStart:Ze,color:Ge},"> 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:Ze}=de,Ge=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:Ze+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 ${Ge}`}},[`
|
|
${ce}-cell-fix-left-first::after,
|
|
${ce}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Ge}`},[`${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 ${Ge}`}},[`
|
|
${ce}-cell-fix-right-first::after,
|
|
${ce}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Ge}`}}}}},Ut=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:Ze,tableHeaderIconColorHover:Ge,tableSelectionColumnWidth:it}=de;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:it,[`&${ce}-selection-col-with-dropdown`]:{width:it+Ne+Fe/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:it+Ye*2,[`&${ce}-selection-col-with-dropdown`]:{width:it+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:Ze,fontSize:Ne,verticalAlign:"baseline","&:hover":{color:Ge}}}}}},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:Ze,stickyScrollBarBorderRadius:Ge}=de,it=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ze,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Fe}px !important`,zIndex:Ze,display:"flex",alignItems:"center",background:Ye,borderTop:it,opacity:Se,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Fe,backgroundColor:we,borderRadius:Ge,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:Ze,tableFontSize:Ge,tableBg:it,tableRadius:tt,tableHeaderTextColor:ot,motionDurationMid:Bt,tableHeaderBg:Lt,tableHeaderCellSplitColor:Dt,tableRowHoverBg:Yt,tableSelectedRowBg:jt,tableSelectedRowHoverBg:an,tableFooterTextColor:_t,tableFooterBg:ln,paddingContentVerticalLG:Hn}=de,Wn=`${Fe}px ${Ye} ${Ze}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,bi.dF)()),{[ce]:Object.assign(Object.assign({},(0,bi.Wf)(de)),{fontSize:Ge,background:it,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:ot,fontWeight:Se,textAlign:"start",background:Lt,borderBottom:Wn,transition:`background ${Bt} 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:Dt,transform:"translateY(-50%)",transition:`background-color ${Bt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Bt}, border-color ${Bt}`,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:ot,fontWeight:Se,textAlign:"start",background:Lt,borderBottom:Wn,transition:`background ${Bt} ease`},[`
|
|
&${ce}-row:hover > th,
|
|
&${ce}-row:hover > td,
|
|
> th${ce}-cell-row-hover,
|
|
> td${ce}-cell-row-hover
|
|
`]:{background:Yt},[`&${ce}-row-selected`]:{"> th, > td":{background:jt},"&: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:Ze,headerBg:Ge,headerColor:it,headerSortActiveBg:tt,headerSortHoverBg:ot,bodySortBg:Bt,rowHoverBg:Lt,rowSelectedBg:Dt,rowSelectedHoverBg:Yt,rowExpandedBg:jt,cellPaddingBlock:an,cellPaddingInline:_t,cellPaddingBlockMD:ln,cellPaddingInlineMD:Hn,cellPaddingBlockSM:Wn,cellPaddingInlineSM:Nn,borderColor:Kn,footerBg:ra,footerColor:vn,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:it,tableHeaderBg:Ge,tableFooterTextColor:vn,tableFooterBg:ra,tableHeaderCellSplitColor:jn,tableHeaderSortBg:tt,tableHeaderSortHoverBg:ot,tableHeaderIconColor:ha.clone().setAlpha(ha.getAlpha()*Fe).toRgbString(),tableHeaderIconColorHover:Xa.clone().setAlpha(Xa.getAlpha()*Fe).toRgbString(),tableBodySortBg:Bt,tableFixedHeaderSortActiveBg:ma,tableHeaderFilterActiveBg:la,tableFilterDropdownBg:Rn,tableRowHoverBg:Lt,tableSelectedRowBg:Dt,tableSelectedRowHoverBg:Yt,zIndexTableFixed:Ca,zIndexTableSticky:Ca+1,tableFontSizeMiddle:rn,tableFontSizeSmall:dn,tableSelectionColumnWidth:fa,tableExpandIconBg:sa,tableExpandColumnWidth:Ze+2*de.padding,tableExpandedRowBg:jt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ya,tableScrollThumbBgHover:ce,tableScrollBg:Se});return[Ja(_n),Ut(_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:Ze,padding:Ge,paddingSM:it,paddingXS:tt,colorBorderSecondary:ot,borderRadiusLG:Bt,fontSize:Lt,controlHeight:Dt,colorTextPlaceholder:Yt}=de,jt=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:jt,headerSortHoverBg:an,bodySortBg:_t,rowHoverBg:_t,rowSelectedBg:Ye,rowSelectedHoverBg:Ze,rowExpandedBg:ce,cellPaddingBlock:Ge,cellPaddingInline:Ge,cellPaddingBlockMD:it,cellPaddingInlineMD:tt,cellPaddingBlockSM:tt,cellPaddingInlineSM:tt,borderColor:ot,headerBorderRadius:Bt,footerBg:_t,footerColor:we,cellFontSize:Lt,cellFontSizeMD:Lt,cellFontSizeSM:Lt,headerSplitColor:ot,fixedHeaderSortActiveBg:jt,headerFilterHoverBg:Fe,filterDropdownMenuBg:Se,filterDropdownBg:Se,expandIconBg:Se,selectionColumnWidth:Dt,stickyScrollBarBg:Yt,stickyScrollBarBorderRadius:100}});const Ra=[],to=(de,ce)=>{const{prefixCls:Se,className:we,rootClassName:Ne,style:Fe,size:Ye,bordered:Ze,dropdownPrefixCls:Ge,dataSource:it,pagination:tt,rowSelection:ot,rowKey:Bt="key",rowClassName:Lt,columns:Dt,children:Yt,childrenColumnName:jt,onChange:an,getPopupContainer:_t,loading:ln,expandIcon:Hn,expandable:Wn,expandedRowRender:Nn,expandIconColumnIndex:Kn,indentSize:ra,scroll:vn,sortDirections:Fn,locale:yn,showSorterTooltip:rn=!0,virtual:dn}=de,jn=ie.useMemo(()=>Dt||$e(Yt),[Dt,Yt]),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=it||Ra,Ia=Ca("table",Se),yo=Ca("dropdown",Ge),Qn=Object.assign({childrenColumnName:jt,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 Bt=="function"?Bt:Da=>Da==null?void 0:Da[Bt],[Bt]),[Rt]=wl(Za,Vn,Ln),hn={},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({},hn),Da);jo&&((ho=hn.resetPagination)===null||ho===void 0||ho.call(hn),!((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)),vn&&vn.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})},pa=(Da,no)=>{ia({sorter:Da,sorterStates:no},"sort",!1)},[Ro,Ao,or,fo]=_l({prefixCls:Ia,mergedColumns:Rn,onSorterChange:pa,sortDirections:Fn||["ascend","descend"],tableLocale:Jn,showSorterTooltip:rn}),so=ie.useMemo(()=>_i(Za,Ao,Vn),[Za,Ao]);hn.sorter=fo(),hn.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);hn.filters=za,hn.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({},hn.pagination),{current:Da,pageSize:no})},"paginate")},[wa,Vo]=Yl(Ka.length,bo,tt);hn.pagination=tt===!1?{}:Or(wa,tt),hn.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},ot),xo=(Da,no,jo)=>{let ho;return typeof Lt=="function"?ho=mt()(Lt(Da,no,jo)):ho=mt()(Lt),mt()({[`${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=ot?1:0:Qn.expandIconColumnIndex>0&&ot&&(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:mt()(`${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),[,So]=(0,Bn.Z)(),pr=mt()(`${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"}),Sr=dn?Vr:Rl,ri={},el=ie.useMemo(()=>{const{fontSize:Da,lineHeight:no,padding:jo,paddingXS:ho,paddingSM:Jo}=So,Qo=Math.floor(Da*no);switch(oo){case"large":return jo*2+Qo;case"small":return ho*2+Qo;default:return Jo*2+Qo}},[So,oo]);return dn&&(ri.listItemHeight=el),Yo(ie.createElement("div",{ref:ce,className:pr,style:Ar},ie.createElement(qn.Z,Object.assign({spinning:!1},tr),br,ie.createElement(Sr,Object.assign({},ri,sa,{columns:Rn,direction:ya,expandable:Qn,prefixCls:Ia,className:mt()({[`${Ia}-middle`]:oo==="middle",[`${Ia}-small`]:oo==="small",[`${Ia}-bordered`]:Ze,[`${Ia}-empty`]:Za.length===0}),data:Io,rowKey:Ln,rowClassName:xo,emptyText:ur,internalHooks:ve,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(ut,At,ae){"use strict";ae.d(At,{default:function(){return Ft}});var se=ae(23130),ve=ae(26407),Me=ae(52671),at=ae(8657),Ie=ae(92413),Oe=ae(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"},lt=ie,rt=ae(7657),nt=function(Ue,Pt){return Oe.createElement(rt.Z,(0,Ie.Z)({},Ue,{ref:Pt,icon:lt}))},_e=Oe.forwardRef(nt),dt=_e,He=ae(92310),re=ae.n(He),y=ae(35654),a=ae(71430),x=ae(36355),b=ae(56082),E=ae(62892),z=ae(20648);const ee=4;function te(Zt){const{dropPosition:Ue,dropLevelOffset:Pt,prefixCls:Tt,indent:De,direction:je="ltr"}=Zt,pt=je==="ltr"?"left":"right",Qt=je==="ltr"?"right":"left",ct={[pt]:-Pt*De+ee,[Qt]:0};switch(Ue){case-1:ct.top=-3;break;case 1:ct.bottom=-3;break;default:ct.bottom=-3,ct[pt]=De+ee;break}return Oe.createElement("div",{style:ct,className:`${Tt}-drop-indicator`})}var ne=ae(71997),fe=Oe.forwardRef((Zt,Ue)=>{const{getPrefixCls:Pt,direction:Tt,virtual:De,tree:je}=Oe.useContext(x.E_),{prefixCls:pt,className:Qt,showIcon:ct=!1,showLine:Xt,switcherIcon:ye,blockNode:wt=!1,children:Et,checkable:Sn=!1,selectable:sn=!0,draggable:We,motion:Te,style:pe}=Zt,ue=Pt("tree",pt),Re=Pt(),gt=Te!=null?Te:Object.assign(Object.assign({},(0,E.Z)(Re)),{motionAppear:!1}),Pe=Object.assign(Object.assign({},Zt),{checkable:Sn,selectable:sn,showIcon:ct,motion:gt,blockNode:wt,showLine:!!Xt,dropIndicatorRender:te}),[he,Je]=(0,z.ZP)(ue),ke=Oe.useMemo(()=>{if(!We)return!1;let Ke={};switch(typeof We){case"function":Ke.nodeDraggable=We;break;case"object":Ke=Object.assign({},We);break;default:break}return Ke.icon!==!1&&(Ke.icon=Ke.icon||Oe.createElement(b.Z,null)),Ke},[We]),Ce=Ke=>Oe.createElement(ne.Z,{prefixCls:ue,switcherIcon:ye,treeNodeProps:Ke,showLine:Xt});return he(Oe.createElement(se.Z,Object.assign({itemHeight:20,ref:Ue,virtual:De},Pe,{style:Object.assign(Object.assign({},je==null?void 0:je.style),pe),prefixCls:ue,className:re()({[`${ue}-icon-hide`]:!ct,[`${ue}-block-node`]:wt,[`${ue}-unselectable`]:!sn,[`${ue}-rtl`]:Tt==="rtl"},je==null?void 0:je.className,Qt,Je),direction:Tt,checkable:Sn&&Oe.createElement("span",{className:`${ue}-checkbox-inner`}),selectable:sn,switcherIcon:Ce,draggable:ke}),Et))}),Be;(function(Zt){Zt[Zt.None=0]="None",Zt[Zt.Start=1]="Start",Zt[Zt.End=2]="End"})(Be||(Be={}));function xe(Zt,Ue){function Pt(Tt){const{key:De,children:je}=Tt;Ue(De,Tt)!==!1&&xe(je||[],Ue)}Zt.forEach(Pt)}function Ae(Zt){let{treeData:Ue,expandedKeys:Pt,startKey:Tt,endKey:De}=Zt;const je=[];let pt=Be.None;if(Tt&&Tt===De)return[Tt];if(!Tt||!De)return[];function Qt(ct){return ct===Tt||ct===De}return xe(Ue,ct=>{if(pt===Be.End)return!1;if(Qt(ct)){if(je.push(ct),pt===Be.None)pt=Be.Start;else if(pt===Be.Start)return pt=Be.End,!1}else pt===Be.Start&&je.push(ct);return Pt.includes(ct)}),je}function be(Zt,Ue){const Pt=(0,ve.Z)(Ue),Tt=[];return xe(Zt,(De,je)=>{const pt=Pt.indexOf(De);return pt!==-1&&(Tt.push(je),Pt.splice(pt,1)),!!Pt.length}),Tt}var yt=function(Zt,Ue){var Pt={};for(var Tt in Zt)Object.prototype.hasOwnProperty.call(Zt,Tt)&&Ue.indexOf(Tt)<0&&(Pt[Tt]=Zt[Tt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Tt=Object.getOwnPropertySymbols(Zt);De<Tt.length;De++)Ue.indexOf(Tt[De])<0&&Object.prototype.propertyIsEnumerable.call(Zt,Tt[De])&&(Pt[Tt[De]]=Zt[Tt[De]]);return Pt};function mt(Zt){const{isLeaf:Ue,expanded:Pt}=Zt;return Ue?Oe.createElement(Me.Z,null):Pt?Oe.createElement(at.Z,null):Oe.createElement(dt,null)}function Jt(Zt){let{treeData:Ue,children:Pt}=Zt;return Ue||(0,a.zn)(Pt)}const Xe=(Zt,Ue)=>{var{defaultExpandAll:Pt,defaultExpandParent:Tt,defaultExpandedKeys:De}=Zt,je=yt(Zt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const pt=Oe.useRef(),Qt=Oe.useRef(),ct=()=>{const{keyEntities:ke}=(0,a.I8)(Jt(je));let Ce;return Pt?Ce=Object.keys(ke):Tt?Ce=(0,y.r7)(je.expandedKeys||De||[],ke):Ce=je.expandedKeys||De,Ce},[Xt,ye]=Oe.useState(je.selectedKeys||je.defaultSelectedKeys||[]),[wt,Et]=Oe.useState(()=>ct());Oe.useEffect(()=>{"selectedKeys"in je&&ye(je.selectedKeys)},[je.selectedKeys]),Oe.useEffect(()=>{"expandedKeys"in je&&Et(je.expandedKeys)},[je.expandedKeys]);const Sn=(ke,Ce)=>{var Ke;return"expandedKeys"in je||Et(ke),(Ke=je.onExpand)===null||Ke===void 0?void 0:Ke.call(je,ke,Ce)},sn=(ke,Ce)=>{var Ke;const{multiple:zt}=je,{node:St,nativeEvent:kt}=Ce,{key:xt=""}=St,Ht=Jt(je),st=Object.assign(Object.assign({},Ce),{selected:!0}),tn=(kt==null?void 0:kt.ctrlKey)||(kt==null?void 0:kt.metaKey),gn=kt==null?void 0:kt.shiftKey;let $t;zt&&tn?($t=ke,pt.current=xt,Qt.current=$t,st.selectedNodes=be(Ht,$t)):zt&&gn?($t=Array.from(new Set([].concat((0,ve.Z)(Qt.current||[]),(0,ve.Z)(Ae({treeData:Ht,expandedKeys:wt,startKey:xt,endKey:pt.current}))))),st.selectedNodes=be(Ht,$t)):($t=[xt],pt.current=xt,Qt.current=$t,st.selectedNodes=be(Ht,$t)),(Ke=je.onSelect)===null||Ke===void 0||Ke.call(je,$t,st),"selectedKeys"in je||ye($t)},{getPrefixCls:We,direction:Te}=Oe.useContext(x.E_),{prefixCls:pe,className:ue,showIcon:Re=!0,expandAction:gt="click"}=je,Pe=yt(je,["prefixCls","className","showIcon","expandAction"]),he=We("tree",pe),Je=re()(`${he}-directory`,{[`${he}-directory-rtl`]:Te==="rtl"},ue);return Oe.createElement(fe,Object.assign({icon:mt,ref:Ue,blockNode:!0},Pe,{showIcon:Re,expandAction:gt,prefixCls:he,className:Je,expandedKeys:wt,selectedKeys:Xt,onSelect:sn,onExpand:Sn}))};var bt=Oe.forwardRef(Xe);const Gt=fe;Gt.DirectoryTree=bt,Gt.TreeNode=se.O;var Ft=Gt},20648:function(ut,At,ae){"use strict";ae.d(At,{TM:function(){return He},Yk:function(){return dt}});var se=ae(93083),ve=ae(98447),Me=ae(17313),at=ae(8378),Ie=ae(37613),Oe=ae(83116);const ie=new se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),lt=(re,y)=>({[`.${re}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),rt=(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,te=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Me.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,Me.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,Me.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({},lt(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:te},[`${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"},rt(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"}}}}}},dt=(re,y)=>{const a=`.${re}`,x=`${a}-treenode`,b=y.paddingXS/2,E=(0,Ie.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[nt(re,E),_e(E)]},He=re=>{const{controlHeightSM:y}=re;return{titleHeight:y,nodeHoverBg:re.controlItemBgHover,nodeSelectedBg:re.controlItemBgActive}};At.ZP=(0,Oe.Z)("Tree",(re,y)=>{let{prefixCls:a}=y;return[{[re.componentCls]:(0,ve.C2)(`${a}-checkbox`,re)},dt(a,re),(0,at.Z)(re)]},re=>{const{colorTextLightSolid:y,colorPrimary:a}=re;return Object.assign(Object.assign({},He(re)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return x}});var se=ae(92413),ve=ae(59301),Me={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"},at=Me,Ie=ae(7657),Oe=function(E,z){return ve.createElement(Ie.Z,(0,se.Z)({},E,{ref:z,icon:at}))},ie=ve.forwardRef(Oe),lt=ie,rt=ae(52671),nt=ae(58617),_e=ae(15075),dt=ae(43531),He=ae(92310),re=ae.n(He),y=ae(92343),x=b=>{const{prefixCls:E,switcherIcon:z,treeNodeProps:ee,showLine:te}=b,{isLeaf:ne,expanded:me,loading:fe}=ee;if(fe)return ve.createElement(nt.Z,{className:`${E}-switcher-loading-icon`});let Be;if(te&&typeof te=="object"&&(Be=te.showLeafIcon),ne){if(!te)return null;if(typeof Be!="boolean"&&Be){const be=typeof Be=="function"?Be(ee):Be,yt=`${E}-switcher-line-custom-icon`;return(0,y.l$)(be)?(0,y.Tm)(be,{className:re()(be.props.className||"",yt)}):be}return Be?ve.createElement(rt.Z,{className:`${E}-switcher-line-icon`}):ve.createElement("span",{className:`${E}-switcher-leaf-line`})}const xe=`${E}-switcher-icon`,Ae=typeof z=="function"?z(ee):z;return(0,y.l$)(Ae)?(0,y.Tm)(Ae,{className:re()(Ae.props.className||"",xe)}):Ae!==void 0?Ae:te?me?ve.createElement(_e.Z,{className:`${E}-switcher-line-icon`}):ve.createElement(dt.Z,{className:`${E}-switcher-line-icon`}):ve.createElement(lt,{className:xe})}},39417:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return fe}});var se=ae(92413),ve=ae(400),Me=ae(37061),at=ae(33708),Ie=ae(6909),Oe=ae(4771),ie=ae(25314),lt=ae(9427),rt=ae(25440),nt=ae(92310),_e=ae.n(nt),dt=ae(26112),He=ae(59301),re=ae(39378),y=function(xe){for(var Ae=xe.prefixCls,be=xe.level,yt=xe.isStart,mt=xe.isEnd,Jt="".concat(Ae,"-indent-unit"),Xe=[],et=0;et<be;et+=1){var bt;Xe.push(He.createElement("span",{key:et,className:_e()(Jt,(bt={},(0,ve.Z)(bt,"".concat(Jt,"-start"),yt[et]),(0,ve.Z)(bt,"".concat(Jt,"-end"),mt[et]),bt))}))}return He.createElement("span",{"aria-hidden":"true",className:"".concat(Ae,"-indent")},Xe)},a=He.memo(y),x=ae(67841),b=ae(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",te="---",ne=function(Be){(0,lt.Z)(Ae,Be);var xe=(0,rt.Z)(Ae);function Ae(){var be;(0,Ie.Z)(this,Ae);for(var yt=arguments.length,mt=new Array(yt),Jt=0;Jt<yt;Jt++)mt[Jt]=arguments[Jt];return be=xe.call.apply(xe,[this].concat(mt)),be.state={dragNodeHighlight:!1},be.selectHandle=void 0,be.cacheIndent=void 0,be.onSelectorClick=function(Xe){var et=be.props.context.onNodeClick;et(Xe,(0,b.F)(be.props)),be.isSelectable()?be.onSelect(Xe):be.onCheck(Xe)},be.onSelectorDoubleClick=function(Xe){var et=be.props.context.onNodeDoubleClick;et(Xe,(0,b.F)(be.props))},be.onSelect=function(Xe){if(!be.isDisabled()){var et=be.props.context.onNodeSelect;et(Xe,(0,b.F)(be.props))}},be.onCheck=function(Xe){if(!be.isDisabled()){var et=be.props,bt=et.disableCheckbox,Gt=et.checked,Ft=be.props.context.onNodeCheck;if(!(!be.isCheckable()||bt)){var Zt=!Gt;Ft(Xe,(0,b.F)(be.props),Zt)}}},be.onMouseEnter=function(Xe){var et=be.props.context.onNodeMouseEnter;et(Xe,(0,b.F)(be.props))},be.onMouseLeave=function(Xe){var et=be.props.context.onNodeMouseLeave;et(Xe,(0,b.F)(be.props))},be.onContextMenu=function(Xe){var et=be.props.context.onNodeContextMenu;et(Xe,(0,b.F)(be.props))},be.onDragStart=function(Xe){var et=be.props.context.onNodeDragStart;Xe.stopPropagation(),be.setState({dragNodeHighlight:!0}),et(Xe,(0,ie.Z)(be));try{Xe.dataTransfer.setData("text/plain","")}catch(bt){}},be.onDragEnter=function(Xe){var et=be.props.context.onNodeDragEnter;Xe.preventDefault(),Xe.stopPropagation(),et(Xe,(0,ie.Z)(be))},be.onDragOver=function(Xe){var et=be.props.context.onNodeDragOver;Xe.preventDefault(),Xe.stopPropagation(),et(Xe,(0,ie.Z)(be))},be.onDragLeave=function(Xe){var et=be.props.context.onNodeDragLeave;Xe.stopPropagation(),et(Xe,(0,ie.Z)(be))},be.onDragEnd=function(Xe){var et=be.props.context.onNodeDragEnd;Xe.stopPropagation(),be.setState({dragNodeHighlight:!1}),et(Xe,(0,ie.Z)(be))},be.onDrop=function(Xe){var et=be.props.context.onNodeDrop;Xe.preventDefault(),Xe.stopPropagation(),be.setState({dragNodeHighlight:!1}),et(Xe,(0,ie.Z)(be))},be.onExpand=function(Xe){var et=be.props,bt=et.loading,Gt=et.context.onNodeExpand;bt||Gt(Xe,(0,b.F)(be.props))},be.setSelectHandle=function(Xe){be.selectHandle=Xe},be.getNodeState=function(){var Xe=be.props.expanded;return be.isLeaf()?null:Xe?z:ee},be.hasChildren=function(){var Xe=be.props.eventKey,et=be.props.context.keyEntities,bt=(0,x.Z)(et,Xe)||{},Gt=bt.children;return!!(Gt||[]).length},be.isLeaf=function(){var Xe=be.props,et=Xe.isLeaf,bt=Xe.loaded,Gt=be.props.context.loadData,Ft=be.hasChildren();return et===!1?!1:et||!Gt&&!Ft||Gt&&bt&&!Ft},be.isDisabled=function(){var Xe=be.props.disabled,et=be.props.context.disabled;return!!(et||Xe)},be.isCheckable=function(){var Xe=be.props.checkable,et=be.props.context.checkable;return!et||Xe===!1?!1:et},be.syncLoadData=function(Xe){var et=Xe.expanded,bt=Xe.loading,Gt=Xe.loaded,Ft=be.props.context,Zt=Ft.loadData,Ue=Ft.onNodeLoad;bt||Zt&&et&&!be.isLeaf()&&!be.hasChildren()&&!Gt&&Ue((0,b.F)(be.props))},be.isDraggable=function(){var Xe=be.props,et=Xe.data,bt=Xe.context.draggable;return!!(bt&&(!bt.nodeDraggable||bt.nodeDraggable(et)))},be.renderDragHandler=function(){var Xe=be.props.context,et=Xe.draggable,bt=Xe.prefixCls;return et!=null&&et.icon?He.createElement("span",{className:"".concat(bt,"-draggable-icon")},et.icon):null},be.renderSwitcherIconDom=function(Xe){var et=be.props.switcherIcon,bt=be.props.context.switcherIcon,Gt=et||bt;return typeof Gt=="function"?Gt((0,at.Z)((0,at.Z)({},be.props),{},{isLeaf:Xe})):Gt},be.renderSwitcher=function(){var Xe=be.props.expanded,et=be.props.context.prefixCls;if(be.isLeaf()){var bt=be.renderSwitcherIconDom(!0);return bt!==!1?He.createElement("span",{className:_e()("".concat(et,"-switcher"),"".concat(et,"-switcher-noop"))},bt):null}var Gt=_e()("".concat(et,"-switcher"),"".concat(et,"-switcher_").concat(Xe?z:ee)),Ft=be.renderSwitcherIconDom(!1);return Ft!==!1?He.createElement("span",{onClick:be.onExpand,className:Gt},Ft):null},be.renderCheckbox=function(){var Xe=be.props,et=Xe.checked,bt=Xe.halfChecked,Gt=Xe.disableCheckbox,Ft=be.props.context.prefixCls,Zt=be.isDisabled(),Ue=be.isCheckable();if(!Ue)return null;var Pt=typeof Ue!="boolean"?Ue:null;return He.createElement("span",{className:_e()("".concat(Ft,"-checkbox"),et&&"".concat(Ft,"-checkbox-checked"),!et&&bt&&"".concat(Ft,"-checkbox-indeterminate"),(Zt||Gt)&&"".concat(Ft,"-checkbox-disabled")),onClick:be.onCheck},Pt)},be.renderIcon=function(){var Xe=be.props.loading,et=be.props.context.prefixCls;return He.createElement("span",{className:_e()("".concat(et,"-iconEle"),"".concat(et,"-icon__").concat(be.getNodeState()||"docu"),Xe&&"".concat(et,"-icon_loading"))})},be.renderSelector=function(){var Xe=be.state.dragNodeHighlight,et=be.props,bt=et.title,Gt=bt===void 0?te:bt,Ft=et.selected,Zt=et.icon,Ue=et.loading,Pt=et.data,Tt=be.props.context,De=Tt.prefixCls,je=Tt.showIcon,pt=Tt.icon,Qt=Tt.loadData,ct=Tt.titleRender,Xt=be.isDisabled(),ye="".concat(De,"-node-content-wrapper"),wt;if(je){var Et=Zt||pt;wt=Et?He.createElement("span",{className:_e()("".concat(De,"-iconEle"),"".concat(De,"-icon__customize"))},typeof Et=="function"?Et(be.props):Et):be.renderIcon()}else Qt&&Ue&&(wt=be.renderIcon());var Sn;typeof Gt=="function"?Sn=Gt(Pt):ct?Sn=ct(Pt):Sn=Gt;var sn=He.createElement("span",{className:"".concat(De,"-title")},Sn);return He.createElement("span",{ref:be.setSelectHandle,title:typeof Gt=="string"?Gt:"",className:_e()("".concat(ye),"".concat(ye,"-").concat(be.getNodeState()||"normal"),!Xt&&(Ft||Xe)&&"".concat(De,"-node-selected")),onMouseEnter:be.onMouseEnter,onMouseLeave:be.onMouseLeave,onContextMenu:be.onContextMenu,onClick:be.onSelectorClick,onDoubleClick:be.onSelectorDoubleClick},wt,sn,be.renderDropIndicator())},be.renderDropIndicator=function(){var Xe=be.props,et=Xe.disabled,bt=Xe.eventKey,Gt=be.props.context,Ft=Gt.draggable,Zt=Gt.dropLevelOffset,Ue=Gt.dropPosition,Pt=Gt.prefixCls,Tt=Gt.indent,De=Gt.dropIndicatorRender,je=Gt.dragOverNodeKey,pt=Gt.direction,Qt=!!Ft,ct=!et&&Qt&&je===bt,Xt=Tt!=null?Tt:be.cacheIndent;return be.cacheIndent=Tt,ct?De({dropPosition:Ue,dropLevelOffset:Zt,indent:Xt,prefixCls:Pt,direction:pt}):null},be}return(0,Oe.Z)(Ae,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var yt=this.props.selectable,mt=this.props.context.selectable;return typeof yt=="boolean"?yt:mt}},{key:"render",value:function(){var yt,mt=this.props,Jt=mt.eventKey,Xe=mt.className,et=mt.style,bt=mt.dragOver,Gt=mt.dragOverGapTop,Ft=mt.dragOverGapBottom,Zt=mt.isLeaf,Ue=mt.isStart,Pt=mt.isEnd,Tt=mt.expanded,De=mt.selected,je=mt.checked,pt=mt.halfChecked,Qt=mt.loading,ct=mt.domRef,Xt=mt.active,ye=mt.data,wt=mt.onMouseMove,Et=mt.selectable,Sn=(0,Me.Z)(mt,E),sn=this.props.context,We=sn.prefixCls,Te=sn.filterTreeNode,pe=sn.keyEntities,ue=sn.dropContainerKey,Re=sn.dropTargetKey,gt=sn.draggingNodeKey,Pe=this.isDisabled(),he=(0,dt.Z)(Sn,{aria:!0,data:!0}),Je=(0,x.Z)(pe,Jt)||{},ke=Je.level,Ce=Pt[Pt.length-1],Ke=this.isDraggable(),zt=!Pe&&Ke,St=gt===Jt,kt=Et!==void 0?{"aria-selected":!!Et}:void 0;return He.createElement("div",(0,se.Z)({ref:ct,className:_e()(Xe,"".concat(We,"-treenode"),(yt={},(0,ve.Z)(yt,"".concat(We,"-treenode-disabled"),Pe),(0,ve.Z)(yt,"".concat(We,"-treenode-switcher-").concat(Tt?"open":"close"),!Zt),(0,ve.Z)(yt,"".concat(We,"-treenode-checkbox-checked"),je),(0,ve.Z)(yt,"".concat(We,"-treenode-checkbox-indeterminate"),pt),(0,ve.Z)(yt,"".concat(We,"-treenode-selected"),De),(0,ve.Z)(yt,"".concat(We,"-treenode-loading"),Qt),(0,ve.Z)(yt,"".concat(We,"-treenode-active"),Xt),(0,ve.Z)(yt,"".concat(We,"-treenode-leaf-last"),Ce),(0,ve.Z)(yt,"".concat(We,"-treenode-draggable"),Ke),(0,ve.Z)(yt,"dragging",St),(0,ve.Z)(yt,"drop-target",Re===Jt),(0,ve.Z)(yt,"drop-container",ue===Jt),(0,ve.Z)(yt,"drag-over",!Pe&&bt),(0,ve.Z)(yt,"drag-over-gap-top",!Pe&&Gt),(0,ve.Z)(yt,"drag-over-gap-bottom",!Pe&&Ft),(0,ve.Z)(yt,"filter-node",Te&&Te((0,b.F)(this.props))),yt)),style:et,draggable:zt,"aria-grabbed":St,onDragStart:zt?this.onDragStart:void 0,onDragEnter:Ke?this.onDragEnter:void 0,onDragOver:Ke?this.onDragOver:void 0,onDragLeave:Ke?this.onDragLeave:void 0,onDrop:Ke?this.onDrop:void 0,onDragEnd:Ke?this.onDragEnd:void 0,onMouseMove:wt},kt,he),He.createElement(a,{prefixCls:We,level:ke,isStart:Ue,isEnd:Pt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ae}(He.Component),me=function(xe){return He.createElement(re.k.Consumer,null,function(Ae){return He.createElement(ne,(0,se.Z)({},xe,{context:Ae}))})};me.displayName="TreeNode",me.isTreeNode=1;var fe=me},39378:function(ut,At,ae){"use strict";ae.d(At,{k:function(){return ve}});var se=ae(59301),ve=se.createContext(null)},23130:function(ut,At,ae){"use strict";ae.d(At,{O:function(){return fe.Z},Z:function(){return sn}});var se=ae(92413),ve=ae(400),Me=ae(39559),at=ae(33708),Ie=ae(26407),Oe=ae(6909),ie=ae(4771),lt=ae(25314),rt=ae(9427),nt=ae(25440),_e=ae(92310),dt=ae.n(_e),He=ae(10228),re=ae(26112),y=ae(48736),a=ae(59301),x=ae(39378);function b(We){var Te=We.dropPosition,pe=We.dropLevelOffset,ue=We.indent,Re={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Te){case-1:Re.top=0,Re.left=-pe*ue;break;case 1:Re.bottom=0,Re.left=-pe*ue;break;case 0:Re.bottom=0,Re.left=ue;break}return a.createElement("div",{style:Re})}function E(We){if(We==null)throw new TypeError("Cannot destructure "+We)}var z=ae(33606),ee=ae(37061),te=ae(34280),ne=ae(24916),me=ae(77900),fe=ae(39417);function Be(We,Te){var pe=a.useState(!1),ue=(0,z.Z)(pe,2),Re=ue[0],gt=ue[1];a.useLayoutEffect(function(){if(Re)return We(),function(){Te()}},[Re]),a.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var xe=ae(71430),Ae=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],be=function(Te,pe){var ue=Te.className,Re=Te.style,gt=Te.motion,Pe=Te.motionNodes,he=Te.motionType,Je=Te.onMotionStart,ke=Te.onMotionEnd,Ce=Te.active,Ke=Te.treeNodeRequiredProps,zt=(0,ee.Z)(Te,Ae),St=a.useState(!0),kt=(0,z.Z)(St,2),xt=kt[0],Ht=kt[1],st=a.useContext(x.k),tn=st.prefixCls,gn=Pe&&he!=="hide";(0,te.Z)(function(){Pe&&gn!==xt&&Ht(gn)},[Pe]);var $t=function(){Pe&&Je()},bn=a.useRef(!1),Cn=function(){Pe&&!bn.current&&(bn.current=!0,ke())};Be($t,Cn);var un=function(ca){gn===ca&&Cn()};return Pe?a.createElement(me.default,(0,se.Z)({ref:pe,visible:xt},gt,{motionAppear:he==="show",onVisibleChanged:un}),function(kn,ca){var xa=kn.className,Sa=kn.style;return a.createElement("div",{ref:ca,className:dt()("".concat(tn,"-treenode-motion"),xa),style:Sa},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,xe.H8)(In,Ke);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:pe,className:ue,style:Re},zt,{active:Ce}))};be.displayName="MotionTreeNode";var yt=a.forwardRef(be),mt=yt;function Jt(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pe=We.length,ue=Te.length;if(Math.abs(pe-ue)!==1)return{add:!1,key:null};function Re(gt,Pe){var he=new Map;gt.forEach(function(ke){he.set(ke,!0)});var Je=Pe.filter(function(ke){return!he.has(ke)});return Je.length===1?Je[0]:null}return pe<ue?{add:!0,key:Re(We,Te)}:{add:!1,key:Re(Te,We)}}function Xe(We,Te,pe){var ue=We.findIndex(function(he){return he.key===pe}),Re=We[ue+1],gt=Te.findIndex(function(he){return he.key===pe});if(Re){var Pe=Te.findIndex(function(he){return he.key===Re.key});return Te.slice(gt+1,Pe)}return Te.slice(gt+1)}var et=["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},Gt=function(){},Ft="RC_TREE_MOTION_".concat(Math.random()),Zt={key:Ft},Ue={key:Ft,level:0,index:0,pos:"0",node:Zt,nodes:[Zt]},Pt={parent:null,children:[],pos:Ue.pos,data:Zt,title:null,key:Ft,isStart:[],isEnd:[]};function Tt(We,Te,pe,ue){return Te===!1||!pe?We:We.slice(0,Math.ceil(pe/ue)+1)}function De(We){var Te=We.key,pe=We.pos;return(0,xe.km)(Te,pe)}function je(We){for(var Te=String(We.data.key),pe=We;pe.parent;)pe=pe.parent,Te="".concat(pe.data.key," > ").concat(Te);return Te}var pt=a.forwardRef(function(We,Te){var pe=We.prefixCls,ue=We.data,Re=We.selectable,gt=We.checkable,Pe=We.expandedKeys,he=We.selectedKeys,Je=We.checkedKeys,ke=We.loadedKeys,Ce=We.loadingKeys,Ke=We.halfCheckedKeys,zt=We.keyEntities,St=We.disabled,kt=We.dragging,xt=We.dragOverNodeKey,Ht=We.dropPosition,st=We.motion,tn=We.height,gn=We.itemHeight,$t=We.virtual,bn=We.focusable,Cn=We.activeItem,un=We.focused,kn=We.tabIndex,ca=We.onKeyDown,xa=We.onFocus,Sa=We.onBlur,Ea=We.onActiveChange,Fa=We.onListChangeStart,Na=We.onListChangeEnd,In=(0,ee.Z)(We,et),qa=a.useRef(null),_a=a.useRef(null);a.useImperativeHandle(Te,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],mn=eo[1],cn=a.useState(ue),wn=(0,z.Z)(cn,2),fn=wn[0],ua=wn[1],va=a.useState(ue),Xn=(0,z.Z)(va,2),Ve=Xn[0],qe=Xn[1],$e=a.useState([]),Mt=(0,z.Z)($e,2),on=Mt[0],Kt=Mt[1],oa=a.useState(null),Mn=(0,z.Z)(oa,2),En=Mn[0],da=Mn[1],ta=a.useRef(ue);ta.current=ue;function Wt(){var Ya=ta.current;ua(Ya),qe(Ya),Kt([]),da(null),Na()}(0,te.Z)(function(){mn(Pe);var Ya=Jt(Mo,Pe);if(Ya.key!==null)if(Ya.add){var Ha=fn.findIndex(function(er){var Co=er.key;return Co===Ya.key}),Wa=Tt(Xe(fn,ue,Ya.key),$t,tn,gn),To=fn.slice();To.splice(Ha+1,0,Pt),qe(To),Kt(Wa),da("show")}else{var zo=ue.findIndex(function(er){var Co=er.key;return Co===Ya.key}),Xo=Tt(Xe(ue,fn,Ya.key),$t,tn,gn),$o=ue.slice();$o.splice(zo+1,0,Pt),qe($o),Kt(Xo),da("hide")}else fn!==ue&&(ua(ue),qe(ue))},[Pe,ue]),a.useEffect(function(){kt||Wt()},[kt]);var ka=st?Ve:ue,po={expandedKeys:Pe,selectedKeys:he,loadedKeys:ke,loadingKeys:Ce,checkedKeys:Je,halfCheckedKeys:Ke,dragOverNodeKey:xt,dropPosition:Ht,keyEntities:zt};return a.createElement(a.Fragment,null,un&&Cn&&a.createElement("span",{style:bt,"aria-live":"assertive"},je(Cn)),a.createElement("div",null,a.createElement("input",{style:bt,disabled:bn===!1||St,tabIndex:bn!==!1?kn:null,onKeyDown:ca,onFocus:xa,onBlur:Sa,value:"",onChange:Gt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(pe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(pe,"-indent")},a.createElement("div",{ref:_a,className:"".concat(pe,"-indent-unit")}))),a.createElement(ne.Z,(0,se.Z)({},In,{data:ka,itemKey:De,height:tn,fullHeight:!1,virtual:$t,itemHeight:gn,prefixCls:"".concat(pe,"-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)===Ft})&&Wt()}}),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,xe.km)(zo,Ha);delete Wa.key,delete Wa.children;var Co=(0,xe.H8)(er,po);return a.createElement(mt,(0,se.Z)({},Wa,Co,{title:To,active:!!Cn&&zo===Cn.key,pos:Ha,data:Ya.data,isStart:Xo,isEnd:$o,motion:st,motionNodes:zo===Ft?on:null,motionType:En,onMotionStart:Fa,onMotionEnd:Wt,treeNodeRequiredProps:po,onMouseMove:function(){Ea(null)}}))}))});pt.displayName="NodeList";var Qt=pt,ct=ae(35654),Xt=ae(90782),ye=ae(67841),wt=10,Et=function(We){(0,rt.Z)(pe,We);var Te=(0,nt.Z)(pe);function pe(){var ue;(0,Oe.Z)(this,pe);for(var Re=arguments.length,gt=new Array(Re),Pe=0;Pe<Re;Pe++)gt[Pe]=arguments[Pe];return ue=Te.call.apply(Te,[this].concat(gt)),ue.destroyed=!1,ue.delayedDragEnterLogic=void 0,ue.loadingRetryTimes={},ue.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,xe.w$)()},ue.dragStartMousePosition=null,ue.dragNode=void 0,ue.currentMouseOverDroppableNodeKey=null,ue.listRef=a.createRef(),ue.onNodeDragStart=function(he,Je){var ke=ue.state,Ce=ke.expandedKeys,Ke=ke.keyEntities,zt=ue.props.onDragStart,St=Je.props.eventKey;ue.dragNode=Je,ue.dragStartMousePosition={x:he.clientX,y:he.clientY};var kt=(0,ct._5)(Ce,St);ue.setState({draggingNodeKey:St,dragChildrenKeys:(0,ct.wA)(St,Ke),indent:ue.listRef.current.getIndentWidth()}),ue.setExpandedKeys(kt),window.addEventListener("dragend",ue.onWindowDragEnd),zt==null||zt({event:he,node:(0,xe.F)(Je.props)})},ue.onNodeDragEnter=function(he,Je){var ke=ue.state,Ce=ke.expandedKeys,Ke=ke.keyEntities,zt=ke.dragChildrenKeys,St=ke.flattenNodes,kt=ke.indent,xt=ue.props,Ht=xt.onDragEnter,st=xt.onExpand,tn=xt.allowDrop,gn=xt.direction,$t=Je.props,bn=$t.pos,Cn=$t.eventKey,un=(0,lt.Z)(ue),kn=un.dragNode;if(ue.currentMouseOverDroppableNodeKey!==Cn&&(ue.currentMouseOverDroppableNodeKey=Cn),!kn){ue.resetDragState();return}var ca=(0,ct.OM)(he,kn,Je,kt,ue.dragStartMousePosition,tn,St,Ke,Ce,gn),xa=ca.dropPosition,Sa=ca.dropLevelOffset,Ea=ca.dropTargetKey,Fa=ca.dropContainerKey,Na=ca.dropTargetPos,In=ca.dropAllowed,qa=ca.dragOverNodeKey;if(zt.indexOf(Ea)!==-1||!In){ue.resetDragState();return}if(ue.delayedDragEnterLogic||(ue.delayedDragEnterLogic={}),Object.keys(ue.delayedDragEnterLogic).forEach(function(_a){clearTimeout(ue.delayedDragEnterLogic[_a])}),kn.props.eventKey!==Je.props.eventKey&&(he.persist(),ue.delayedDragEnterLogic[bn]=window.setTimeout(function(){if(ue.state.draggingNodeKey!==null){var _a=(0,Ie.Z)(Ce),Pa=(0,ye.Z)(Ke,Je.props.eventKey);Pa&&(Pa.children||[]).length&&(_a=(0,ct.L0)(Ce,Je.props.eventKey)),"expandedKeys"in ue.props||ue.setExpandedKeys(_a),st==null||st(_a,{node:(0,xe.F)(Je.props),expanded:!0,nativeEvent:he.nativeEvent})}},800)),kn.props.eventKey===Ea&&Sa===0){ue.resetDragState();return}ue.setState({dragOverNodeKey:qa,dropPosition:xa,dropLevelOffset:Sa,dropTargetKey:Ea,dropContainerKey:Fa,dropTargetPos:Na,dropAllowed:In}),Ht==null||Ht({event:he,node:(0,xe.F)(Je.props),expandedKeys:Ce})},ue.onNodeDragOver=function(he,Je){var ke=ue.state,Ce=ke.dragChildrenKeys,Ke=ke.flattenNodes,zt=ke.keyEntities,St=ke.expandedKeys,kt=ke.indent,xt=ue.props,Ht=xt.onDragOver,st=xt.allowDrop,tn=xt.direction,gn=(0,lt.Z)(ue),$t=gn.dragNode;if($t){var bn=(0,ct.OM)(he,$t,Je,kt,ue.dragStartMousePosition,st,Ke,zt,St,tn),Cn=bn.dropPosition,un=bn.dropLevelOffset,kn=bn.dropTargetKey,ca=bn.dropContainerKey,xa=bn.dropAllowed,Sa=bn.dropTargetPos,Ea=bn.dragOverNodeKey;Ce.indexOf(kn)!==-1||!xa||($t.props.eventKey===kn&&un===0?ue.state.dropPosition===null&&ue.state.dropLevelOffset===null&&ue.state.dropTargetKey===null&&ue.state.dropContainerKey===null&&ue.state.dropTargetPos===null&&ue.state.dropAllowed===!1&&ue.state.dragOverNodeKey===null||ue.resetDragState():Cn===ue.state.dropPosition&&un===ue.state.dropLevelOffset&&kn===ue.state.dropTargetKey&&ca===ue.state.dropContainerKey&&Sa===ue.state.dropTargetPos&&xa===ue.state.dropAllowed&&Ea===ue.state.dragOverNodeKey||ue.setState({dropPosition:Cn,dropLevelOffset:un,dropTargetKey:kn,dropContainerKey:ca,dropTargetPos:Sa,dropAllowed:xa,dragOverNodeKey:Ea}),Ht==null||Ht({event:he,node:(0,xe.F)(Je.props)}))}},ue.onNodeDragLeave=function(he,Je){ue.currentMouseOverDroppableNodeKey===Je.props.eventKey&&!he.currentTarget.contains(he.relatedTarget)&&(ue.resetDragState(),ue.currentMouseOverDroppableNodeKey=null);var ke=ue.props.onDragLeave;ke==null||ke({event:he,node:(0,xe.F)(Je.props)})},ue.onWindowDragEnd=function(he){ue.onNodeDragEnd(he,null,!0),window.removeEventListener("dragend",ue.onWindowDragEnd)},ue.onNodeDragEnd=function(he,Je){var ke=ue.props.onDragEnd;ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),ke==null||ke({event:he,node:(0,xe.F)(Je.props)}),ue.dragNode=null,window.removeEventListener("dragend",ue.onWindowDragEnd)},ue.onNodeDrop=function(he,Je){var ke,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ke=ue.state,zt=Ke.dragChildrenKeys,St=Ke.dropPosition,kt=Ke.dropTargetKey,xt=Ke.dropTargetPos,Ht=Ke.dropAllowed;if(Ht){var st=ue.props.onDrop;if(ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),kt!==null){var tn=(0,at.Z)((0,at.Z)({},(0,xe.H8)(kt,ue.getTreeNodeRequiredProps())),{},{active:((ke=ue.getActiveItem())===null||ke===void 0?void 0:ke.key)===kt,data:(0,ye.Z)(ue.state.keyEntities,kt).node}),gn=zt.indexOf(kt)!==-1;(0,y.ZP)(!gn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var $t=(0,ct.yx)(xt),bn={event:he,node:(0,xe.F)(tn),dragNode:ue.dragNode?(0,xe.F)(ue.dragNode.props):null,dragNodesKeys:[ue.dragNode.props.eventKey].concat(zt),dropToGap:St!==0,dropPosition:St+Number($t[$t.length-1])};Ce||st==null||st(bn),ue.dragNode=null}}},ue.cleanDragState=function(){var he=ue.state.draggingNodeKey;he!==null&&ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ue.dragStartMousePosition=null,ue.currentMouseOverDroppableNodeKey=null},ue.triggerExpandActionExpand=function(he,Je){var ke=ue.state,Ce=ke.expandedKeys,Ke=ke.flattenNodes,zt=Je.expanded,St=Je.key,kt=Je.isLeaf;if(!(kt||he.shiftKey||he.metaKey||he.ctrlKey)){var xt=Ke.filter(function(st){return st.key===St})[0],Ht=(0,xe.F)((0,at.Z)((0,at.Z)({},(0,xe.H8)(St,ue.getTreeNodeRequiredProps())),{},{data:xt.data}));ue.setExpandedKeys(zt?(0,ct._5)(Ce,St):(0,ct.L0)(Ce,St)),ue.onNodeExpand(he,Ht)}},ue.onNodeClick=function(he,Je){var ke=ue.props,Ce=ke.onClick,Ke=ke.expandAction;Ke==="click"&&ue.triggerExpandActionExpand(he,Je),Ce==null||Ce(he,Je)},ue.onNodeDoubleClick=function(he,Je){var ke=ue.props,Ce=ke.onDoubleClick,Ke=ke.expandAction;Ke==="doubleClick"&&ue.triggerExpandActionExpand(he,Je),Ce==null||Ce(he,Je)},ue.onNodeSelect=function(he,Je){var ke=ue.state.selectedKeys,Ce=ue.state,Ke=Ce.keyEntities,zt=Ce.fieldNames,St=ue.props,kt=St.onSelect,xt=St.multiple,Ht=Je.selected,st=Je[zt.key],tn=!Ht;tn?xt?ke=(0,ct.L0)(ke,st):ke=[st]:ke=(0,ct._5)(ke,st);var gn=ke.map(function($t){var bn=(0,ye.Z)(Ke,$t);return bn?bn.node:null}).filter(function($t){return $t});ue.setUncontrolledState({selectedKeys:ke}),kt==null||kt(ke,{event:"select",selected:tn,node:Je,selectedNodes:gn,nativeEvent:he.nativeEvent})},ue.onNodeCheck=function(he,Je,ke){var Ce=ue.state,Ke=Ce.keyEntities,zt=Ce.checkedKeys,St=Ce.halfCheckedKeys,kt=ue.props,xt=kt.checkStrictly,Ht=kt.onCheck,st=Je.key,tn,gn={event:"check",node:Je,checked:ke,nativeEvent:he.nativeEvent};if(xt){var $t=ke?(0,ct.L0)(zt,st):(0,ct._5)(zt,st),bn=(0,ct._5)(St,st);tn={checked:$t,halfChecked:bn},gn.checkedNodes=$t.map(function(Sa){return(0,ye.Z)(Ke,Sa)}).filter(function(Sa){return Sa}).map(function(Sa){return Sa.node}),ue.setUncontrolledState({checkedKeys:$t})}else{var Cn=(0,Xt.S)([].concat((0,Ie.Z)(zt),[st]),!0,Ke),un=Cn.checkedKeys,kn=Cn.halfCheckedKeys;if(!ke){var ca=new Set(un);ca.delete(st);var xa=(0,Xt.S)(Array.from(ca),{checked:!1,halfCheckedKeys:kn},Ke);un=xa.checkedKeys,kn=xa.halfCheckedKeys}tn=un,gn.checkedNodes=[],gn.checkedNodesPositions=[],gn.halfCheckedKeys=kn,un.forEach(function(Sa){var Ea=(0,ye.Z)(Ke,Sa);if(Ea){var Fa=Ea.node,Na=Ea.pos;gn.checkedNodes.push(Fa),gn.checkedNodesPositions.push({node:Fa,pos:Na})}}),ue.setUncontrolledState({checkedKeys:un},!1,{halfCheckedKeys:kn})}Ht==null||Ht(tn,gn)},ue.onNodeLoad=function(he){var Je=he.key,ke=new Promise(function(Ce,Ke){ue.setState(function(zt){var St=zt.loadedKeys,kt=St===void 0?[]:St,xt=zt.loadingKeys,Ht=xt===void 0?[]:xt,st=ue.props,tn=st.loadData,gn=st.onLoad;if(!tn||kt.indexOf(Je)!==-1||Ht.indexOf(Je)!==-1)return null;var $t=tn(he);return $t.then(function(){var bn=ue.state.loadedKeys,Cn=(0,ct.L0)(bn,Je);gn==null||gn(Cn,{event:"load",node:he}),ue.setUncontrolledState({loadedKeys:Cn}),ue.setState(function(un){return{loadingKeys:(0,ct._5)(un.loadingKeys,Je)}}),Ce()}).catch(function(bn){if(ue.setState(function(un){return{loadingKeys:(0,ct._5)(un.loadingKeys,Je)}}),ue.loadingRetryTimes[Je]=(ue.loadingRetryTimes[Je]||0)+1,ue.loadingRetryTimes[Je]>=wt){var Cn=ue.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ue.setUncontrolledState({loadedKeys:(0,ct.L0)(Cn,Je)}),Ce()}Ke(bn)}),{loadingKeys:(0,ct.L0)(Ht,Je)}})});return ke.catch(function(){}),ke},ue.onNodeMouseEnter=function(he,Je){var ke=ue.props.onMouseEnter;ke==null||ke({event:he,node:Je})},ue.onNodeMouseLeave=function(he,Je){var ke=ue.props.onMouseLeave;ke==null||ke({event:he,node:Je})},ue.onNodeContextMenu=function(he,Je){var ke=ue.props.onRightClick;ke&&(he.preventDefault(),ke({event:he,node:Je}))},ue.onFocus=function(){var he=ue.props.onFocus;ue.setState({focused:!0});for(var Je=arguments.length,ke=new Array(Je),Ce=0;Ce<Je;Ce++)ke[Ce]=arguments[Ce];he==null||he.apply(void 0,ke)},ue.onBlur=function(){var he=ue.props.onBlur;ue.setState({focused:!1}),ue.onActiveChange(null);for(var Je=arguments.length,ke=new Array(Je),Ce=0;Ce<Je;Ce++)ke[Ce]=arguments[Ce];he==null||he.apply(void 0,ke)},ue.getTreeNodeRequiredProps=function(){var he=ue.state,Je=he.expandedKeys,ke=he.selectedKeys,Ce=he.loadedKeys,Ke=he.loadingKeys,zt=he.checkedKeys,St=he.halfCheckedKeys,kt=he.dragOverNodeKey,xt=he.dropPosition,Ht=he.keyEntities;return{expandedKeys:Je||[],selectedKeys:ke||[],loadedKeys:Ce||[],loadingKeys:Ke||[],checkedKeys:zt||[],halfCheckedKeys:St||[],dragOverNodeKey:kt,dropPosition:xt,keyEntities:Ht}},ue.setExpandedKeys=function(he){var Je=ue.state,ke=Je.treeData,Ce=Je.fieldNames,Ke=(0,xe.oH)(ke,he,Ce);ue.setUncontrolledState({expandedKeys:he,flattenNodes:Ke},!0)},ue.onNodeExpand=function(he,Je){var ke=ue.state.expandedKeys,Ce=ue.state,Ke=Ce.listChanging,zt=Ce.fieldNames,St=ue.props,kt=St.onExpand,xt=St.loadData,Ht=Je.expanded,st=Je[zt.key];if(!Ke){var tn=ke.indexOf(st),gn=!Ht;if((0,y.ZP)(Ht&&tn!==-1||!Ht&&tn===-1,"Expand state not sync with index check"),gn?ke=(0,ct.L0)(ke,st):ke=(0,ct._5)(ke,st),ue.setExpandedKeys(ke),kt==null||kt(ke,{node:Je,expanded:gn,nativeEvent:he.nativeEvent}),gn&&xt){var $t=ue.onNodeLoad(Je);$t&&$t.then(function(){var bn=(0,xe.oH)(ue.state.treeData,ke,zt);ue.setUncontrolledState({flattenNodes:bn})}).catch(function(){var bn=ue.state.expandedKeys,Cn=(0,ct._5)(bn,st);ue.setExpandedKeys(Cn)})}}},ue.onListChangeStart=function(){ue.setUncontrolledState({listChanging:!0})},ue.onListChangeEnd=function(){setTimeout(function(){ue.setUncontrolledState({listChanging:!1})})},ue.onActiveChange=function(he){var Je=ue.state.activeKey,ke=ue.props.onActiveChange;Je!==he&&(ue.setState({activeKey:he}),he!==null&&ue.scrollTo({key:he}),ke==null||ke(he))},ue.getActiveItem=function(){var he=ue.state,Je=he.activeKey,ke=he.flattenNodes;return Je===null?null:ke.find(function(Ce){var Ke=Ce.key;return Ke===Je})||null},ue.offsetActiveKey=function(he){var Je=ue.state,ke=Je.flattenNodes,Ce=Je.activeKey,Ke=ke.findIndex(function(kt){var xt=kt.key;return xt===Ce});Ke===-1&&he<0&&(Ke=ke.length),Ke=(Ke+he+ke.length)%ke.length;var zt=ke[Ke];if(zt){var St=zt.key;ue.onActiveChange(St)}else ue.onActiveChange(null)},ue.onKeyDown=function(he){var Je=ue.state,ke=Je.activeKey,Ce=Je.expandedKeys,Ke=Je.checkedKeys,zt=Je.fieldNames,St=ue.props,kt=St.onKeyDown,xt=St.checkable,Ht=St.selectable;switch(he.which){case He.Z.UP:{ue.offsetActiveKey(-1),he.preventDefault();break}case He.Z.DOWN:{ue.offsetActiveKey(1),he.preventDefault();break}}var st=ue.getActiveItem();if(st&&st.data){var tn=ue.getTreeNodeRequiredProps(),gn=st.data.isLeaf===!1||!!(st.data[zt.children]||[]).length,$t=(0,xe.F)((0,at.Z)((0,at.Z)({},(0,xe.H8)(ke,tn)),{},{data:st.data,active:!0}));switch(he.which){case He.Z.LEFT:{gn&&Ce.includes(ke)?ue.onNodeExpand({},$t):st.parent&&ue.onActiveChange(st.parent.key),he.preventDefault();break}case He.Z.RIGHT:{gn&&!Ce.includes(ke)?ue.onNodeExpand({},$t):st.children&&st.children.length&&ue.onActiveChange(st.children[0].key),he.preventDefault();break}case He.Z.ENTER:case He.Z.SPACE:{xt&&!$t.disabled&&$t.checkable!==!1&&!$t.disableCheckbox?ue.onNodeCheck({},$t,!Ke.includes(ke)):!xt&&Ht&&!$t.disabled&&$t.selectable!==!1&&ue.onNodeSelect({},$t);break}}}kt==null||kt(he)},ue.setUncontrolledState=function(he){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ue.destroyed){var Ce=!1,Ke=!0,zt={};Object.keys(he).forEach(function(St){if(St in ue.props){Ke=!1;return}Ce=!0,zt[St]=he[St]}),Ce&&(!Je||Ke)&&ue.setState((0,at.Z)((0,at.Z)({},zt),ke))}},ue.scrollTo=function(he){ue.listRef.current.scrollTo(he)},ue}return(0,ie.Z)(pe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Re=this.props.activeKey;Re!==void 0&&Re!==this.state.activeKey&&(this.setState({activeKey:Re}),Re!==null&&this.scrollTo({key:Re}))}},{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 Re,gt=this.state,Pe=gt.focused,he=gt.flattenNodes,Je=gt.keyEntities,ke=gt.draggingNodeKey,Ce=gt.activeKey,Ke=gt.dropLevelOffset,zt=gt.dropContainerKey,St=gt.dropTargetKey,kt=gt.dropPosition,xt=gt.dragOverNodeKey,Ht=gt.indent,st=this.props,tn=st.prefixCls,gn=st.className,$t=st.style,bn=st.showLine,Cn=st.focusable,un=st.tabIndex,kn=un===void 0?0:un,ca=st.selectable,xa=st.showIcon,Sa=st.icon,Ea=st.switcherIcon,Fa=st.draggable,Na=st.checkable,In=st.checkStrictly,qa=st.disabled,_a=st.motion,Pa=st.loadData,eo=st.filterTreeNode,Mo=st.height,mn=st.itemHeight,cn=st.virtual,wn=st.titleRender,fn=st.dropIndicatorRender,ua=st.onContextMenu,va=st.onScroll,Xn=st.direction,Ve=st.rootClassName,qe=st.rootStyle,$e=(0,re.Z)(this.props,{aria:!0,data:!0}),Mt;return Fa&&((0,Me.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:Sa,switcherIcon:Ea,draggable:Mt,draggingNodeKey:ke,checkable:Na,checkStrictly:In,disabled:qa,keyEntities:Je,dropLevelOffset:Ke,dropContainerKey:zt,dropTargetKey:St,dropPosition:kt,dragOverNodeKey:xt,indent:Ht,direction:Xn,dropIndicatorRender:fn,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:dt()(tn,gn,Ve,(Re={},(0,ve.Z)(Re,"".concat(tn,"-show-line"),bn),(0,ve.Z)(Re,"".concat(tn,"-focused"),Pe),(0,ve.Z)(Re,"".concat(tn,"-active-focused"),Ce!==null),Re)),style:qe},a.createElement(Qt,(0,se.Z)({ref:this.listRef,prefixCls:tn,style:$t,data:he,disabled:qa,selectable:ca,checkable:!!Na,motion:_a,dragging:ke!==null,height:Mo,itemHeight:mn,virtual:cn,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(),$e))))}}],[{key:"getDerivedStateFromProps",value:function(Re,gt){var Pe=gt.prevProps,he={prevProps:Re};function Je(Cn){return!Pe&&Cn in Re||Pe&&Pe[Cn]!==Re[Cn]}var ke,Ce=gt.fieldNames;if(Je("fieldNames")&&(Ce=(0,xe.w$)(Re.fieldNames),he.fieldNames=Ce),Je("treeData")?ke=Re.treeData:Je("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ke=(0,xe.zn)(Re.children)),ke){he.treeData=ke;var Ke=(0,xe.I8)(ke,{fieldNames:Ce});he.keyEntities=(0,at.Z)((0,ve.Z)({},Ft,Ue),Ke.keyEntities)}var zt=he.keyEntities||gt.keyEntities;if(Je("expandedKeys")||Pe&&Je("autoExpandParent"))he.expandedKeys=Re.autoExpandParent||!Pe&&Re.defaultExpandParent?(0,ct.r7)(Re.expandedKeys,zt):Re.expandedKeys;else if(!Pe&&Re.defaultExpandAll){var St=(0,at.Z)({},zt);delete St[Ft],he.expandedKeys=Object.keys(St).map(function(Cn){return St[Cn].key})}else!Pe&&Re.defaultExpandedKeys&&(he.expandedKeys=Re.autoExpandParent||Re.defaultExpandParent?(0,ct.r7)(Re.defaultExpandedKeys,zt):Re.defaultExpandedKeys);if(he.expandedKeys||delete he.expandedKeys,ke||he.expandedKeys){var kt=(0,xe.oH)(ke||gt.treeData,he.expandedKeys||gt.expandedKeys,Ce);he.flattenNodes=kt}if(Re.selectable&&(Je("selectedKeys")?he.selectedKeys=(0,ct.BT)(Re.selectedKeys,Re):!Pe&&Re.defaultSelectedKeys&&(he.selectedKeys=(0,ct.BT)(Re.defaultSelectedKeys,Re))),Re.checkable){var xt;if(Je("checkedKeys")?xt=(0,ct.E6)(Re.checkedKeys)||{}:!Pe&&Re.defaultCheckedKeys?xt=(0,ct.E6)(Re.defaultCheckedKeys)||{}:ke&&(xt=(0,ct.E6)(Re.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),xt){var Ht=xt,st=Ht.checkedKeys,tn=st===void 0?[]:st,gn=Ht.halfCheckedKeys,$t=gn===void 0?[]:gn;if(!Re.checkStrictly){var bn=(0,Xt.S)(tn,!0,zt);tn=bn.checkedKeys,$t=bn.halfCheckedKeys}he.checkedKeys=tn,he.halfCheckedKeys=$t}}return Je("loadedKeys")&&(he.loadedKeys=Re.loadedKeys),he}}]),pe}(a.Component);Et.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},Et.TreeNode=fe.Z;var Sn=Et,sn=Sn},35654:function(ut,At,ae){"use strict";ae.d(At,{BT:function(){return a},E6:function(){return E},L0:function(){return nt},OM:function(){return y},_5:function(){return rt},r7:function(){return z},wA:function(){return dt},yx:function(){return _e}});var se=ae(26407),ve=ae(39559),Me=ae(48736),at=ae(59301),Ie=ae(39417),Oe=ae(67841),ie=ae(71430),lt=null;function rt(ee,te){if(!ee)return[];var ne=ee.slice(),me=ne.indexOf(te);return me>=0&&ne.splice(me,1),ne}function nt(ee,te){var ne=(ee||[]).slice();return ne.indexOf(te)===-1&&ne.push(te),ne}function _e(ee){return ee.split("-")}function dt(ee,te){var ne=[],me=(0,Oe.Z)(te,ee);function fe(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Be.forEach(function(xe){var Ae=xe.key,be=xe.children;ne.push(Ae),fe(be)})}return fe(me.children),ne}function He(ee){if(ee.parent){var te=_e(ee.pos);return Number(te[te.length-1])===ee.parent.children.length-1}return!1}function re(ee){var te=_e(ee.pos);return Number(te[te.length-1])===0}function y(ee,te,ne,me,fe,Be,xe,Ae,be,yt){var mt,Jt=ee.clientX,Xe=ee.clientY,et=ee.target.getBoundingClientRect(),bt=et.top,Gt=et.height,Ft=(yt==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Jt),Zt=(Ft-12)/me,Ue=(0,Oe.Z)(Ae,ne.props.eventKey);if(Xe<bt+Gt/2){var Pt=xe.findIndex(function(sn){return sn.key===Ue.key}),Tt=Pt<=0?0:Pt-1,De=xe[Tt].key;Ue=(0,Oe.Z)(Ae,De)}var je=Ue.key,pt=Ue,Qt=Ue.key,ct=0,Xt=0;if(!be.includes(je))for(var ye=0;ye<Zt&&He(Ue);ye+=1)Ue=Ue.parent,Xt+=1;var wt=te.props.data,Et=Ue.node,Sn=!0;return re(Ue)&&Ue.level===0&&Xe<bt+Gt/2&&Be({dragNode:wt,dropNode:Et,dropPosition:-1})&&Ue.key===ne.props.eventKey?ct=-1:(pt.children||[]).length&&be.includes(Qt)?Be({dragNode:wt,dropNode:Et,dropPosition:0})?ct=0:Sn=!1:Xt===0?Zt>-1.5?Be({dragNode:wt,dropNode:Et,dropPosition:1})?ct=1:Sn=!1:Be({dragNode:wt,dropNode:Et,dropPosition:0})?ct=0:Be({dragNode:wt,dropNode:Et,dropPosition:1})?ct=1:Sn=!1:Be({dragNode:wt,dropNode:Et,dropPosition:1})?ct=1:Sn=!1,{dropPosition:ct,dropLevelOffset:Xt,dropTargetKey:Ue.key,dropTargetPos:Ue.pos,dragOverNodeKey:Qt,dropContainerKey:ct===0?null:((mt=Ue.parent)===null||mt===void 0?void 0:mt.key)||null,dropAllowed:Sn}}function a(ee,te){if(ee){var ne=te.multiple;return ne?ee.slice():ee.length?[ee[0]]:ee}}var x=function(te){return te};function b(ee,te){if(!ee)return[];var ne=te||{},me=ne.processProps,fe=me===void 0?x:me,Be=Array.isArray(ee)?ee:[ee];return Be.map(function(xe){var Ae=xe.children,be=_objectWithoutProperties(xe,lt),yt=b(Ae,te);return React.createElement(TreeNode,_extends({key:be.key},fe(be)),yt)})}function E(ee){if(!ee)return null;var te;if(Array.isArray(ee))te={checkedKeys:ee,halfCheckedKeys:void 0};else if((0,ve.Z)(ee)==="object")te={checkedKeys:ee.checked||void 0,halfCheckedKeys:ee.halfChecked||void 0};else return(0,Me.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return te}function z(ee,te){var ne=new Set;function me(fe){if(!ne.has(fe)){var Be=(0,Oe.Z)(te,fe);if(Be){ne.add(fe);var xe=Be.parent,Ae=Be.node;Ae.disabled||xe&&me(xe.key)}}}return(ee||[]).forEach(function(fe){me(fe)}),(0,se.Z)(ne)}},90782:function(ut,At,ae){"use strict";ae.d(At,{S:function(){return ie}});var se=ae(48736),ve=ae(67841);function Me(lt,rt){var nt=new Set;return lt.forEach(function(_e){rt.has(_e)||nt.add(_e)}),nt}function at(lt){var rt=lt||{},nt=rt.disabled,_e=rt.disableCheckbox,dt=rt.checkable;return!!(nt||_e)||dt===!1}function Ie(lt,rt,nt,_e){for(var dt=new Set(lt),He=new Set,re=0;re<=nt;re+=1){var y=rt.get(re)||new Set;y.forEach(function(E){var z=E.key,ee=E.node,te=E.children,ne=te===void 0?[]:te;dt.has(z)&&!_e(ee)&&ne.filter(function(me){return!_e(me.node)}).forEach(function(me){dt.add(me.key)})})}for(var a=new Set,x=nt;x>=0;x-=1){var b=rt.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 te=!0,ne=!1;(z.children||[]).filter(function(me){return!_e(me.node)}).forEach(function(me){var fe=me.key,Be=dt.has(fe);te&&!Be&&(te=!1),!ne&&(Be||He.has(fe))&&(ne=!0)}),te&&dt.add(z.key),ne&&He.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(dt),halfCheckedKeys:Array.from(Me(He,dt))}}function Oe(lt,rt,nt,_e,dt){for(var He=new Set(lt),re=new Set(rt),y=0;y<=_e;y+=1){var a=nt.get(y)||new Set;a.forEach(function(z){var ee=z.key,te=z.node,ne=z.children,me=ne===void 0?[]:ne;!He.has(ee)&&!re.has(ee)&&!dt(te)&&me.filter(function(fe){return!dt(fe.node)}).forEach(function(fe){He.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,te=z.node;if(!(dt(te)||!z.parent||x.has(z.parent.key))){if(dt(z.parent.node)){x.add(ee.key);return}var ne=!0,me=!1;(ee.children||[]).filter(function(fe){return!dt(fe.node)}).forEach(function(fe){var Be=fe.key,xe=He.has(Be);ne&&!xe&&(ne=!1),!me&&(xe||re.has(Be))&&(me=!0)}),ne||He.delete(ee.key),me&&re.add(ee.key),x.add(ee.key)}})}return{checkedKeys:Array.from(He),halfCheckedKeys:Array.from(Me(re,He))}}function ie(lt,rt,nt,_e){var dt=[],He;_e?He=_e:He=at;var re=new Set(lt.filter(function(b){var E=!!(0,ve.Z)(nt,b);return E||dt.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)(!dt.length,"Tree missing follow keys: ".concat(dt.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return rt===!0?x=Ie(re,y,a,He):x=Oe(re,rt.halfCheckedKeys,y,a,He),x}},67841:function(ut,At,ae){"use strict";ae.d(At,{Z:function(){return se}});function se(ve,Me){return ve[Me]}},71430:function(ut,At,ae){"use strict";ae.d(At,{F:function(){return z},H8:function(){return E},I8:function(){return b},km:function(){return dt},oH:function(){return a},w$:function(){return He},zn:function(){return y}});var se=ae(39559),ve=ae(26407),Me=ae(33708),at=ae(37061),Ie=ae(11592),Oe=ae(2738),ie=ae(48736),lt=ae(67841),rt=["children"];function nt(ee,te){return"".concat(ee,"-").concat(te)}function _e(ee){return ee&&ee.type&&ee.type.isTreeNode}function dt(ee,te){return ee!=null?ee:te}function He(ee){var te=ee||{},ne=te.title,me=te._title,fe=te.key,Be=te.children,xe=ne||"title";return{title:xe,_title:me||[xe],key:fe||"key",children:Be||"children"}}function re(ee,te){var ne=new Map;function me(fe){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(xe){var Ae=xe[te.key],be=xe[te.children];warning(Ae!=null,"Tree node must have a certain key: [".concat(Be).concat(Ae,"]"));var yt=String(Ae);warning(!ne.has(yt)||Ae===null||Ae===void 0,"Same 'key' exist in the Tree: ".concat(yt)),ne.set(yt,!0),me(be,"".concat(Be).concat(yt," > "))})}me(ee)}function y(ee){function te(ne){var me=(0,Ie.Z)(ne);return me.map(function(fe){if(!_e(fe))return(0,ie.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var Be=fe.key,xe=fe.props,Ae=xe.children,be=(0,at.Z)(xe,rt),yt=(0,Me.Z)({key:Be},be),mt=te(Ae);return mt.length&&(yt.children=mt),yt}).filter(function(fe){return fe})}return te(ee)}function a(ee,te,ne){var me=He(ne),fe=me._title,Be=me.key,xe=me.children,Ae=new Set(te===!0?[]:te),be=[];function yt(mt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return mt.map(function(Xe,et){for(var bt=nt(Jt?Jt.pos:"0",et),Gt=dt(Xe[Be],bt),Ft,Zt=0;Zt<fe.length;Zt+=1){var Ue=fe[Zt];if(Xe[Ue]!==void 0){Ft=Xe[Ue];break}}var Pt=(0,Me.Z)((0,Me.Z)({},(0,Oe.Z)(Xe,[].concat((0,ve.Z)(fe),[Be,xe]))),{},{title:Ft,key:Gt,parent:Jt,pos:bt,children:null,data:Xe,isStart:[].concat((0,ve.Z)(Jt?Jt.isStart:[]),[et===0]),isEnd:[].concat((0,ve.Z)(Jt?Jt.isEnd:[]),[et===mt.length-1])});return be.push(Pt),te===!0||Ae.has(Gt)?Pt.children=yt(Xe[xe]||[],Pt):Pt.children=[],Pt})}return yt(ee),be}function x(ee,te,ne){var me={};(0,se.Z)(ne)==="object"?me=ne:me={externalGetKey:ne},me=me||{};var fe=me,Be=fe.childrenPropName,xe=fe.externalGetKey,Ae=fe.fieldNames,be=He(Ae),yt=be.key,mt=be.children,Jt=Be||mt,Xe;xe?typeof xe=="string"?Xe=function(Gt){return Gt[xe]}:typeof xe=="function"&&(Xe=function(Gt){return xe(Gt)}):Xe=function(Gt,Ft){return dt(Gt[yt],Ft)};function et(bt,Gt,Ft,Zt){var Ue=bt?bt[Jt]:ee,Pt=bt?nt(Ft.pos,Gt):"0",Tt=bt?[].concat((0,ve.Z)(Zt),[bt]):[];if(bt){var De=Xe(bt,Pt),je={node:bt,index:Gt,pos:Pt,key:De,parentPos:Ft.node?Ft.pos:null,level:Ft.level+1,nodes:Tt};te(je)}Ue&&Ue.forEach(function(pt,Qt){et(pt,Qt,{node:bt,pos:Pt,level:Ft?Ft.level+1:-1},Tt)})}et(null)}function b(ee){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=te.initWrapper,me=te.processEntity,fe=te.onProcessFinished,Be=te.externalGetKey,xe=te.childrenPropName,Ae=te.fieldNames,be=arguments.length>2?arguments[2]:void 0,yt=Be||be,mt={},Jt={},Xe={posEntities:mt,keyEntities:Jt};return ne&&(Xe=ne(Xe)||Xe),x(ee,function(et){var bt=et.node,Gt=et.index,Ft=et.pos,Zt=et.key,Ue=et.parentPos,Pt=et.level,Tt=et.nodes,De={node:bt,nodes:Tt,index:Gt,key:Zt,pos:Ft,level:Pt},je=dt(Zt,Ft);mt[Ft]=De,Jt[je]=De,De.parent=mt[Ue],De.parent&&(De.parent.children=De.parent.children||[],De.parent.children.push(De)),me&&me(De,Xe)},{externalGetKey:yt,childrenPropName:xe,fieldNames:Ae}),fe&&fe(Xe),Xe}function E(ee,te){var ne=te.expandedKeys,me=te.selectedKeys,fe=te.loadedKeys,Be=te.loadingKeys,xe=te.checkedKeys,Ae=te.halfCheckedKeys,be=te.dragOverNodeKey,yt=te.dropPosition,mt=te.keyEntities,Jt=(0,lt.Z)(mt,ee),Xe={eventKey:ee,expanded:ne.indexOf(ee)!==-1,selected:me.indexOf(ee)!==-1,loaded:fe.indexOf(ee)!==-1,loading:Be.indexOf(ee)!==-1,checked:xe.indexOf(ee)!==-1,halfChecked:Ae.indexOf(ee)!==-1,pos:String(Jt?Jt.pos:""),dragOver:be===ee&&yt===0,dragOverGapTop:be===ee&&yt===-1,dragOverGapBottom:be===ee&&yt===1};return Xe}function z(ee){var te=ee.data,ne=ee.expanded,me=ee.selected,fe=ee.checked,Be=ee.loaded,xe=ee.loading,Ae=ee.halfChecked,be=ee.dragOver,yt=ee.dragOverGapTop,mt=ee.dragOverGapBottom,Jt=ee.pos,Xe=ee.active,et=ee.eventKey,bt=(0,Me.Z)((0,Me.Z)({},te),{},{expanded:ne,selected:me,checked:fe,loaded:Be,loading:xe,halfChecked:Ae,dragOver:be,dragOverGapTop:yt,dragOverGapBottom:mt,pos:Jt,active:Xe,key:et});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(ut,At,ae){"use strict";ae.d(At,{Z:function(){return ve}});var se=ae(4676);function ve(Me,at,Ie,Oe){var ie=se.unstable_batchedUpdates?function(rt){se.unstable_batchedUpdates(Ie,rt)}:Ie;return Me!=null&&Me.addEventListener&&Me.addEventListener(at,ie,Oe),{remove:function(){Me!=null&&Me.removeEventListener&&Me.removeEventListener(at,ie,Oe)}}}},55468:function(ut,At,ae){"use strict";ae.d(At,{g1:function(){return _e},os:function(){return He}});var se=/margin|padding|width|height|max|min|offset/,ve={left:!0,top:!0},Me={cssFloat:1,styleFloat:1,float:1};function at(re){return re.nodeType===1?re.ownerDocument.defaultView.getComputedStyle(re,null):{}}function Ie(re,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return re.offsetHeight;if(y==="width")return re.offsetWidth}return y in ve||(ve[y]=se.test(y)),ve[y]?parseFloat(a)||0:a}function Oe(re,y){var a=arguments.length,x=at(re);return y=Me[y]?"cssFloat"in re.style?"cssFloat":"styleFloat":y,a===1?x:Ie(re,y,x[y]||re.style[y])}function ie(re,y,a){var x=arguments.length;if(y=Me[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 at(re)}function lt(re){return re===document.body?document.documentElement.clientWidth:re.offsetWidth}function rt(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 dt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function He(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(ut,At,ae){"use strict";ae.d(At,{G:function(){return at}});var se=ae(47273),ve=function(Oe){if((0,se.Z)()&&window.document.documentElement){var ie=Array.isArray(Oe)?Oe:[Oe],lt=window.document.documentElement;return ie.some(function(rt){return rt in lt.style})}return!1},Me=function(Oe,ie){if(!ve(Oe))return!1;var lt=document.createElement("div"),rt=lt.style[Oe];return lt.style[Oe]=ie,lt.style[Oe]!==rt};function at(Ie,Oe){return!Array.isArray(Ie)&&Oe!==void 0?Me(Ie,Oe):ve(Ie)}},96908:function(ut){"use strict";ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYD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