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.
335 lines
938 KiB
335 lines
938 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[7577],{33463:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},28575:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},81893:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},73148:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},56747:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},50881:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},22751:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},34182:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},74664:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},91034:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return de}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(Ke,He){return ve.createElement(Fe.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},71736:function(ct,Et){"use strict";Et.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},18023:function(){"use strict";function ct(ue,y,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ue,this._defaultValue=y,this._minimum=a,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(ue){if(typeof ue!="string"||ue==="")throw new Error("Shape name must be a valid string.");this._name=ue}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("The default value must be a real number, not: "+ue);this._defaultValue=ue}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Minimum must be a real number, not: "+ue);this._minimum=ue}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Maximum must be a real number, not: "+ue);this._maximum=ue}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ue,y){var a=go.Shape._FigureParameters[ue];return a?a[y]:null},go.Shape.setFigureParameter=function(ue,y,a){if(!(a instanceof ct))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[ue];x||(x=[],go.Shape._FigureParameters[ue]=x),x[y]=a};var Et=[];function te(ue,y){var a=Et.pop();return a===void 0?new go.Point(ue,y):(a.x=ue,a.y=y,a)}function le(){var ue=Et.pop();return ue===void 0?new go.Point:ue}function ve(ue){Et.push(ue)}function Oe(ue,y,a,x,b,E,z,ae,re){re||(re=new go.Point);var ne=ue-a,fe=b-z,Se=NaN,Ne=NaN;if(ne===0)if(fe===0)ue===a&&(Se=ue,Ne=y);else{var be=(E-ae)/fe,xe=E-be*b;Se=ue,Ne=be*Se+xe}else if(fe===0){var pe=(y-x)/ne,st=y-pe*ue;Se=b,Ne=pe*Se+st}else{var pe=(y-x)/ne,be=(E-ae)/fe,st=y-pe*ue,xe=E-be*b;Se=(xe-st)/(pe-be),Ne=pe*Se+st}return re.x=Se,re.y=Ne,re}function Ge(ue,y,a,x,b,E,z,ae,re,ne,fe,Se,Ne,be){var xe=1-re,pe=re,st=ue*xe+a*pe,Qe=y*xe+x*pe,Ot=a*xe+b*pe,We=x*xe+E*pe,rt=b*xe+z*pe,bt=E*xe+ae*pe,Kt=st*xe+Ot*pe,Mt=Qe*xe+We*pe,ht=Ot*xe+rt*pe,Ft=We*xe+bt*pe,Wt=Kt*xe+ht*pe,nn=Mt*xe+Ft*pe;ne.x=st,ne.y=Qe,fe.x=Kt,fe.y=Mt,Se.x=Wt,Se.y=nn,Ne.x=ht,Ne.y=Ft,be.x=rt,be.y=bt}var Fe=new go.Spot(.156,.156),Ze=new go.Spot(.844,.844),de=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ue,y,a){var x=ue?ue.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*de,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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=Fe,b.spot2=Ze,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ue,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(ue,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(ue,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,de*y,0,y,(1-de)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ue,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,de*a,(1-de)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ue,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,de*a,de*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ue,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-de)*y,0,0,(1-de)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ue,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(ue,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(ue,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(ue,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 ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ue,y,a){var x=ue?ue.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 ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ue,y,a){var x=ue?ue.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 ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ue,y,a){var x=ue?ue.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 ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ue,y,a){var x=ue?ue.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 ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ue,y,a){var x=ue?ue.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 ze=[];function Ke(){var ue=ze.pop();return ue===void 0?[]:ue}function He(ue){ue.length=0,ze.push(ue)}function et(ue){for(var y=Ke(),a=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<ue;z++)E=2*Math.PI/ue*z+b,y[z]=new go.Point(x+a*Math.cos(E),x+a*Math.sin(E));return y.push(y[0]),y}function je(ue){var y=we(ue),a=Ke();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 He(y),a}function we(ue){for(var y=et(ue),a=Ke(),x=Math.floor(y.length/2),b=y.length-1,E=ue%2===0?2:1,z=0;z<b;z++){var ae=y[z],re=y[z+1],ne=y[(x+z-1)%b],fe=y[(x+z+E)%b];a[z*2]=ae,a[z*2+1]=Oe(ae.x,ae.y,ne.x,ne.y,re.x,re.y,fe.x,fe.y,new go.Point)}return a[a.length]=a[0],He(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ue,y,a){var x=et(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()),He(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ue,y,a){var x=et(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()),He(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ue,y,a){var x=et(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()),He(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ue,y,a){var x=et(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()),He(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ue,y,a){var x=et(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()),He(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ue,y,a){var x=et(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()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ue,y,a){var x=et(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()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ue,y,a){var x=we(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()),He(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ue,y,a){var x=we(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()),He(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ue,y,a){var x=we(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()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ue,y,a){var x=we(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()),He(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ue,y,a){var x=we(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()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ue,y,a){var x=we(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()),He(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ue,y,a){var x=je(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(),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ue,y,a){var x=je(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(),He(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ue,y,a){var x=je(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(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ue,y,a){var x=je(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(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ue,y,a){var x=je(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(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ue,y,a){var x=je(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(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ue,y,a){var x=ue?ue.parameter1:NaN,b=ue?ue.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 ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ue,y,a){var x=ue?ue.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 ae=Math.max(b-x,0);return ae>0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ae,ae).close())),E.spot1=Fe,E.spot2=Ze,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(ue,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(ue,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 ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ue,y,a){var x=ue?ue.parameter1:NaN,b=ue?ue.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var E=x%360;E<0&&(E+=360);var z=b%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,E,z,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ue,y,a){var x=de/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 ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ue,y,a){var x=ue?ue.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 ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ue,y,a){var x=ue?ue.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 ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ue,y,a){var x=ue?ue.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,ae=Math.atan2(a,y),re=x-Math.min(Math.cos(ae)*x/2,E),ne=x-Math.min(Math.sin(ae)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(re,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),fe.add(new go.PathSegment(go.PathSegment.Line,y-re,0)),fe.add(new go.PathSegment(go.PathSegment.Line,y,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,y,a-ne)),fe.add(new go.PathSegment(go.PathSegment.Line,y-re,a)),fe.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),fe.add(new go.PathSegment(go.PathSegment.Line,re,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a-ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ue,y,a){var x=ue?ue.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 ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ue,y,a){var x=ue?ue.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 ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ue,y,a){var x=ue?ue.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(ue,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,de*y,0,y,(.5-de/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+de/2)*a,de*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ue,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(ue,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(ue,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(ue,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,ae=0,re=E*de;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ae)*a,(.5-E+z)*y,(.5+re+ae)*a,(.5-re+z)*y,(.5+E+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ae)*a,(.5+re+z)*y,(.5+E+ae)*a,(.5+E+z)*y,(.5+re+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ae)*a,(1-.5+E+z)*y,(.5-re+ae)*a,(.5+re+z)*y,(.5-E+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-re+z)*y,(.5-E+ae)*a,(.5-E+z+.05)*y,(.5-re+ae-.02)*a)),E=.2,z=0,ae=-.3,re=E*de,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ae)*a,(.5+re+z)*y,(.5+E+ae)*a,(.5+E+z)*y,(.5+re+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ae)*a,(1-.5+E+z)*y,(.5-re+ae)*a,(.5+re+z)*y,(.5-E+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ae)*a,(.5-re+z)*y,(.5-E+ae)*a,(.5-E+z)*y,(.5-re+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-re+z)*y,(.5+E+ae)*a,(.5-E+z)*y,(.5+re+ae)*a,(.5-re+z)*y,(.5+E+ae)*a)),E=.2,z=-.3,ae=0,re=E*de,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ae)*a,(1-.5+E+z-.05)*y,(.5-re+ae-.02)*a,(.5+re+z)*y,(.5-E+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ae)*a,(.5-re+z)*y,(.5-E+ae)*a,(.5-E+z)*y,(.5-re+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ae)*a,(.5-E+z)*y,(.5+re+ae)*a,(.5-re+z)*y,(.5+E+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+re+z)*y,(.5+E+ae)*a,(.5+E+z)*y,(.5+re+ae)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ue,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,ae=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*y,ae*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ae,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)),ae=.75,b=new go.PathFigure((z+E)*y,ae*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ae,E*y,E*y).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ue,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(ue,y,a){var x=new go.Geometry,b=de*.5,E=.5,z=.5,ae=.5,re=new go.PathFigure(z*y,(ae-E)*a);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a)),E=.4,b=de*.4;var ne=le(),fe=le(),Se=le(),Ne=le();Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.42,ne,fe,Se,Ne,Ne);var be=le(),xe=le(),pe=le();Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.58,Ne,Ne,pe,be,xe);var st=le(),Qe=le(),Ot=le();Ge(z,ae+E,z-b,ae+E,z-E,ae+b,z-E,ae,.42,st,Qe,Ot,Ne,Ne);var We=le(),rt=le(),bt=le();return Ge(z,ae+E,z-b,ae+E,z-E,ae+b,z-E,ae,.58,Ne,Ne,bt,We,rt),re.add(new go.PathSegment(go.PathSegment.Move,bt.x*y,bt.y*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,We.x*y,We.y*a,rt.x*y,rt.y*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-b)*a,(z-b)*y,(ae-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Se.x*y,Se.y*a,ne.x*y,ne.y*a,fe.x*y,fe.y*a)),re.add(new go.PathSegment(go.PathSegment.Line,bt.x*y,bt.y*a).close()),re.add(new go.PathSegment(go.PathSegment.Move,Ot.x*y,Ot.y*a)),re.add(new go.PathSegment(go.PathSegment.Line,pe.x*y,pe.y*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,be.x*y,be.y*a,xe.x*y,xe.y*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+b)*a,(z+b)*y,(ae+E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ot.x*y,Ot.y*a,st.x*y,st.y*a,Qe.x*y,Qe.y*a).close()),ve(ne),ve(fe),ve(Se),ve(Ne),ve(be),ve(xe),ve(pe),ve(st),ve(Qe),ve(Ot),ve(We),ve(rt),ve(bt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ue,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 ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ue,y,a){var x=ue?ue.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(ue,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(ue,y,a){var x=new go.Geometry,b=de*.4,E=.4,z=.5,ae=.5,re=le(),ne=le(),fe=le(),Se=le(),Ne=new go.PathFigure((z-E)*y,ae*a,!1);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-b)*a,(z-b)*y,(ae-E)*a)),Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.44,fe,Se,ne,re,re),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,fe.x*y,fe.y*a,Se.x*y,Se.y*a));var be=te(ne.x,ne.y);Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.56,re,re,ne,fe,Se);var xe=te(ne.x,ne.y);Ne.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*y,be.y*.1*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,be.y*.1*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,.15*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,(xe.y*.1+.05*.9)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,xe.x*y,xe.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,fe.x*y,fe.y*a,Se.x*y,Se.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+b)*a,(z+b)*y,(ae+E)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-b)*y,(ae+E)*a,(z-E)*y,(ae+b)*a)),E=.35,b=de*.35;var pe=new go.PathFigure(z*y,(ae-E)*a,!1);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a));var st=new go.PathFigure((z-E)*y,ae*a,!1);return x.add(st),ve(re),ve(ne),ve(fe),ve(Se),ve(be),ve(xe),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(ue,y,a){var x=new go.Geometry,b=.375,E=0,z=-.125,ae=b*de,re=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+ae+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+ae+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-ae+z)*a,(.5+ae+E)*y,(.5-b+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ae+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ae+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+ae+z)*a,(.5-ae+E)*y,(.5+b+z)*a)),re.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),re.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),re.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),re.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),re.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),re.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),re.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),re.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,E=0,z=-.125,ae=b*de;var re=new go.PathFigure((1-.5+b+E)*y,(.5+z)*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+ae+z)*a,(.5+ae+E)*y,(.5+b+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ae+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+ae+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ae+z)*a,(.5-ae+E)*y,(.5-b+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+ae+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-ae+z)*a));var re=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);return x.add(re),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(ue,y,a){var x=ue?ue.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(ue,y,a){var x=ue?ue.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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.3);var b=ue?ue.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*y,z=(.5-b/2)*a,ae=(.5+b/2)*a,re=new go.Geometry,ne=new go.PathFigure(0,z,!0);re.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,ae)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),re.spot1=new go.Spot(0,z/a);var fe=Oe(0,ae/a,1,ae/a,E/y,1,1,.5,le());return re.spot2=new go.Spot(fe.x,fe.y),ve(fe),re}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=30),x>y&&(x=y);var b=ue?ue.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var E=y-x,z=(a-b)/2,ae=z+b,re=new go.Geometry,ne=new go.PathFigure(0,z,!0);re.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,ae)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),re.spot1=new go.Spot(0,z/a);var fe=Oe(0,ae/a,1,ae/a,E/y,1,1,.5,le());return re.spot2=new go.Spot(fe.x,fe.y),ve(fe),re}),go.Shape.defineFigureGenerator("Chevron",function(ue,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(ue,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 ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var re=Oe(0,.5,.3,0,0,b/a,.1,b/a,le());return z.spot1=new go.Spot(re.x,re.y),re=Oe(.7,1,1,.5,0,E/a,1,E/a,re),z.spot2=new go.Spot(re.x,re.y),ve(re),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=40);var b=ue?ue.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,ae=(a-b)/2,re=ae+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ae=0,re=a):(E=0,z=a,ae=0,re=a));var ne=new go.Geometry,fe=new go.PathFigure(y,.5*a,!0);ne.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var Se=Oe(0,.5,.3,ae/a,0,E/a,1,E/a,le());return ne.spot1=new go.Spot(Se.x,Se.y),Se=Oe(.7,re/a,1,.5,0,z/a,1,z/a,Se),ne.spot2=new go.Spot(Se.x,Se.y),ve(Se),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var re=Oe(.7,1,1,.5,0,E/a,1,E/a,le());return z.spot2=new go.Spot(re.x,re.y),ve(re),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=40);var b=ue?ue.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,ae=(a-b)/2,re=ae+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ae=0,re=a):(E=0,z=a,ae=0,re=a));var ne=new go.Geometry,fe=new go.PathFigure(y,.5*a,!0);ne.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),ne.spot1=new go.Spot(0,E/a);var Se=Oe(.7,re/a,1,.5,0,z/a,1,z/a,le());return ne.spot2=new go.Spot(Se.x,Se.y),ve(Se),ne}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ue,y,a){var x=ue?ue.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=Oe(.2,.65,1,.65,0,1,1,.5,le());return b.spot2=new go.Spot(z.x,z.y),ve(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ue,y,a){var x=ue?ue.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=Oe(0,.65,1,.65,0,1,1,.5,le());return b.spot2=new go.Spot(z.x,z.y),ve(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var re=Oe(.7,1,1,.5,0,E/a,1,E/a,le());return z.spot2=new go.Spot(re.x,re.y),ve(re),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ue,y,a){var x=ue?ue.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,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var re=Oe(.7,1,1,.5,0,E/a,1,E/a,le());return z.spot2=new go.Spot(re.x,re.y),ve(re),z}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ue,y,a){var x=ue?ue.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(ue,y,a){var x=new go.Geometry,b=de*.5,E=de*.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(ue,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(ue,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(ue,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(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=de*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,de*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,x,(.5+E)*y,0,1*y,de*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-de*x,(.5+E)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,1*a,0,a-de*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ae=new go.PathFigure(y,x,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*x,1*y,2*x-de*x,(.5+E)*y,2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*y,2*x,0,2*x-de*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=de*.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,de*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x,(.5+E)*y,0,y,de*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-de*x,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,a,0,a-de*x));var ae=new go.PathFigure(0,a-x,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*x,0,a-x-de*x,(.5-E)*y,a-2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-x,(.5+E)*y,a-2*x,y,a-x-de*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=de*.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-de*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-de*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,de*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,de*x,0));var ae=new go.PathFigure(x,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+de*x,0,2*x,(.5-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+E)*a,x+de*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(ue,y,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=de*.5,z=new go.PathFigure(y-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-de*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-de*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,de*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,de*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0));var ae=new go.PathFigure(y-x,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*x,.5*a,y-x-de*x,0,y-2*x,(.5-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y-2*x,(.5+E)*a,y-x-de*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(ue,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(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=.2,E=.1,z=de*b,ae=de*E,re=.5,ne=.1,fe=new go.PathFigure(re*y,(ne+E)*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(re-b)*y,ne*a,(re-z)*y,(ne+E)*a,(re-b)*y,(ne+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-E)*a,(re-b)*y,(ne-ae)*a,(re-z)*y,(ne-E)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(re+b)*y,ne*a,(re+z)*y,(ne-E)*a,(re+b)*y,(ne-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne+E)*a,(re+b)*y,(ne+ae)*a,(re+z)*y,(ne+E)*a));var Se=.05,Ne=de*Se;re=.05,ne=.25;var be=new go.PathFigure(.5*y,.2*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),re=.95,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(re+Se)*y,ne*a,(re+Ne)*y,(ne-Se)*a,(re+Se)*y,(ne-Ne)*a)),be.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Se=.025,Ne=de*Se,re=.825,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re+Se)*y,(ne-Ne)*a,(re+Ne)*y,(ne-Se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-Se)*y,ne*a,(re-Ne)*y,(ne-Se)*a,(re-Se)*y,(ne-Ne)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Se=.05,Ne=de*Se,re=.5,ne=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re+Se)*y,(ne-Ne)*a,(re+Ne)*y,(ne-Se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-Se)*y,ne*a,(re-Ne)*y,(ne-Se)*a,(re-Se)*y,(ne-Ne)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Se=.025,Ne=de*Se,re=.175,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re+Se)*y,(ne-Ne)*a,(re+Ne)*y,(ne-Se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-Se)*y,ne*a,(re-Ne)*y,(ne-Se)*a,(re-Se)*y,(ne-Ne)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Se=.05,Ne=de*Se,re=.05,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re-Se)*y,(ne-Ne)*a,(re-Ne)*y,(ne-Se)*a)),be.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 ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ue,y,a){var x=ue?ue.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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,y,a){var x=new go.Geometry,b=de*.5,E=de*.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 ae=new go.PathFigure(y,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+E)*a,(.5+b)*y,.4*a)),ae.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(ue,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(ue,y,a){var x=new go.Geometry,b=de*.5,E=de*.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 ae=new go.PathFigure(y,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),ae.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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=de*.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 ae=new go.PathFigure(0,b*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.parameter1:NaN,E=ue?ue.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 ae=new go.PathFigure(b*y,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ue,y,a){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=de*.5,ae=.5,re=new go.PathFigure(y,ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+z)*a,(ae+z)*y,a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-z)*y,a,0,(ae+z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-z)*a,(ae-z)*y,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+z)*y,0,y,(ae-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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=de*.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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.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 ae=new go.PathFigure(.5*b*y,b*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ue,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(ue,y,a){var x=new go.Geometry,b=de*.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 ae=new go.PathFigure(y,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.parameter1:NaN,E=ue?ue.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(ue,y,a){var x=new go.Geometry,b=ue?ue.parameter1:NaN,E=ue?ue.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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,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(ue,y,a){var x=new go.Geometry,b=ue?ue.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(ue,y,a){var x=new go.Geometry,b=de*.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(ue,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(ue,y,a){var x=new go.Geometry,b=de*.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 ae=new go.PathFigure(y,E*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,E*a));var re=new go.PathFigure(.8*y,.75*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),re.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),re.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),re.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),re.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ue,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(ue,y,a){var x=new go.Geometry,b=de*.1,E=.1,z=.9,ae=.5,re=new go.PathFigure(.8*y,.5*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ne=new go.PathFigure((z+E)*y,ae*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+b)*a,(z+b)*y,(ae+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-b)*y,(ae+E)*a,(z-E)*y,(ae+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-b)*a,(z-b)*y,(ae-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+b)*y,(ae-E)*a,(z+E)*y,(ae-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ue,y,a){var x=new go.Geometry,b=de*.5,E=de*.4,z=de*.1,ae=.1,re=.9,ne=.5,fe=new go.PathFigure(.8*y,.5*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+E)*a,(.4+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-E)*a));var Se=new go.PathFigure((re+ae)*y,ne*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne+ae)*a,(re+ae)*y,(ne+z)*a,(re+z)*y,(ne+ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(re-ae)*y,ne*a,(re-z)*y,(ne+ae)*a,(re-ae)*y,(ne+z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-ae)*a,(re-ae)*y,(ne-z)*a,(re-z)*y,(ne-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(re+ae)*y,ne*a,(re+z)*y,(ne-ae)*a,(re+ae)*y,(ne-z)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ue,y,a){var x=new go.Geometry,b=.5,E=de*b,z=0,ae=.5,re=new go.PathFigure(.8*y,.5*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(ae-b)*a,.7*y,(ae-E)*a)),b=.1,E=de*.1,z=.9,ae=.5;var ne=new go.PathFigure((z-b)*y,ae*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-b)*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ae*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+b)*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ae*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+E)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ue,y,a){var x=new go.Geometry,b=.5,E=de*b,z=0,ae=.5,re=new go.PathFigure(0,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E+E)*y,(ae-b)*a,.8*y,(ae-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+E)*a,(z+E+E)*y,(ae+b)*a)),re.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(ue,y,a){var x=new go.Geometry,b=.5,E=de*b,z=.2,ae=.5,re=new go.PathFigure(.1*y,0,!1);x.add(re),re.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,(ae+E)*a,(z+E)*y,(ae+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,(ae-b)*a,.7*y,(ae-E)*a)),b=.1,E=de*.1,z=.9,ae=.5;var fe=new go.PathFigure((z-b)*y,ae*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-b)*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ae*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+b)*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ae*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+E)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ue,y,a){var x=new go.Geometry,b=.5,E=de*b,z=.2,ae=.5,re=new go.PathFigure(.1*y,0,!1);x.add(re),re.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,(ae-b)*a,.9*y,(ae-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+E)*a,(z+E)*y,(ae+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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=de*.1,E=.1,z=.1,ae=.5,re=new go.PathFigure((z-b*.5)*y,a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.3,re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.5,re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.7,re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.9,re.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(ue,y,a){var x=new go.Geometry,b=de*.5,E=.5,z=.5,ae=.5,re=new go.PathFigure((z-E)*y,ae*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-b)*a,(z-b)*y,(ae-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+b)*y,(ae-E)*a,(z+E)*y,(ae-b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+b)*a,(z+b)*y,(ae+E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-b)*y,(ae+E)*a,(z-E)*y,(ae+b)*a)),re.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*y,ae*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*y,ae*a,z*y,(ae-E)*a,z*y,(ae+E)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=y,E=a;y=y*.38,a=a*.6;var z=de*.8,ae=.8,re=0,ne=.5,fe=(b-y)/2,Se=(E-a)/2,Ne=new go.PathFigure(re*y+fe,(ne+ae)*a+Se,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(re-ae)*y+fe,ne*a+Se,(re-z)*y+fe,(ne+ae)*a+Se,(re-ae)*y+fe,(ne+z)*a+Se)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne-ae)*a+Se,(re-ae)*y+fe,(ne-z)*a+Se,(re-z)*y+fe,(ne-ae)*a+Se)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(re-ae+z*.5)*y+fe,ne*a+Se,re*y+fe,(ne-ae)*a+Se,(re-ae+z*.5)*y+fe,(ne-z)*a+Se)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne+ae)*a+Se,(re-ae+z*.5)*y+fe,(ne+z)*a+Se,re*y+fe,(ne+ae)*a+Se).close()),z=de*.4,ae=.4,re=.2,ne=.5;var be=new go.PathFigure(re*y+fe,(ne+ae)*a+Se,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-ae)*y+fe,ne*a+Se,(re-z)*y+fe,(ne+ae)*a+Se,(re-ae)*y+fe,(ne+z)*a+Se)),be.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne-ae)*a+Se,(re-ae)*y+fe,(ne-z)*a+Se,(re-z)*y+fe,(ne-ae)*a+Se)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-ae+z*.5)*y+fe,ne*a+Se,re*y+fe,(ne-ae)*a+Se,(re-ae+z*.5)*y+fe,(ne-z)*a+Se)),be.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne+ae)*a+Se,(re-ae+z*.5)*y+fe,(ne+z)*a+Se,re*y+fe,(ne+ae)*a+Se).close()),z=de*.2,ae=.2,re=.5,ne=.5;var xe=new go.PathFigure((re-ae)*y+fe,ne*a+Se,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne-ae)*a+Se,(re-ae)*y+fe,(ne-z)*a+Se,(re-z)*y+fe,(ne-ae)*a+Se)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(re+ae)*y+fe,ne*a+Se,(re+z)*y+fe,(ne-ae)*a+Se,(re+ae)*y+fe,(ne-z)*a+Se)),xe.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne+ae)*a+Se,(re+ae)*y+fe,(ne+z)*a+Se,(re+z)*y+fe,(ne+ae)*a+Se)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(re-ae)*y+fe,ne*a+Se,(re-z)*y+fe,(ne+ae)*a+Se,(re-ae)*y+fe,(ne+z)*a+Se)),z=de*.4,ae=.4,re=.8,ne=.5;var pe=new go.PathFigure(re*y+fe,(ne-ae)*a+Se,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(re+ae)*y+fe,ne*a+Se,(re+z)*y+fe,(ne-ae)*a+Se,(re+ae)*y+fe,(ne-z)*a+Se)),pe.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne+ae)*a+Se,(re+ae)*y+fe,(ne+z)*a+Se,(re+z)*y+fe,(ne+ae)*a+Se)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(re+ae-z*.5)*y+fe,ne*a+Se,re*y+fe,(ne+ae)*a+Se,(re+ae-z*.5)*y+fe,(ne+z)*a+Se)),pe.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne-ae)*a+Se,(re+ae-z*.5)*y+fe,(ne-z)*a+Se,re*y+fe,(ne-ae)*a+Se).close()),z=de*.8,ae=.8,re=1,ne=.5;var st=new go.PathFigure(re*y+fe,(ne-ae)*a+Se,!0);return x.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,(re+ae)*y+fe,ne*a+Se,(re+z)*y+fe,(ne-ae)*a+Se,(re+ae)*y+fe,(ne-z)*a+Se)),st.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne+ae)*a+Se,(re+ae)*y+fe,(ne+z)*a+Se,(re+z)*y+fe,(ne+ae)*a+Se)),st.add(new go.PathSegment(go.PathSegment.Bezier,(re+ae-z*.5)*y+fe,ne*a+Se,re*y+fe,(ne+ae)*a+Se,(re+ae-z*.5)*y+fe,(ne+z)*a+Se)),st.add(new go.PathSegment(go.PathSegment.Bezier,re*y+fe,(ne-ae)*a+Se,(re+ae-z*.5)*y+fe,(ne-z)*a+Se,re*y+fe,(ne-ae)*a+Se).close()),x}),go.Shape.defineFigureGenerator("Email",function(ue,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(ue,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 ae=new go.PathFigure(0,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ue,y,a){var x=new go.Geometry,b=de*.4,E=.4,z=.5,ae=.5,re=le(),ne=le(),fe=le(),Se=le();Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.5,re,re,ne,fe,Se);var Ne=te(ne.x,ne.y),be=new go.PathFigure(ne.x*y,ne.y*a,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,fe.x*y,fe.y*a,Se.x*y,Se.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+b)*a,(z+b)*y,(ae+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-b)*y,(ae+E)*a,(z-E)*y,(ae+b)*a)),Ge(z-E,ae,z-E,ae-b,z-b,ae-E,z,ae-E,.5,fe,Se,ne,re,re),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,fe.x*y,fe.y*a,Se.x*y,Se.y*a)),b=de*.3,E=.3,Ge(z-E,ae,z-E,ae-b,z-b,ae-E,z,ae-E,.5,fe,Se,ne,re,re),be.add(new go.PathSegment(go.PathSegment.Line,ne.x*y,ne.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,Se.x*y,Se.y*a,fe.x*y,fe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.5,re,re,ne,fe,Se),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,Se.x*y,Se.y*a,fe.x*y,fe.y*a).close());var be=new go.PathFigure(.45*y,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ve(re),ve(ne),ve(fe),ve(Se),ve(Ne),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ue,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,ae,re){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+re)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+re)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+re)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+re)*a).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=.5,E=0,z=0,ae=b*de,re=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,fe=1,Se=.5,Ne=.5,be=0,xe=new go.PathFigure(re*y,(1-ne)*a,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,Se*a,fe*y,.7*a,fe*y,Se*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+E)*y,(be+E)*a,(.5+b+E)*y,(.5-ae+E)*a,(.5+ae+E)*y,(.5-b+E)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ae+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ae+z)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*y,.9*a,(.5-b+E)*y,(.5+ae+z)*a,(.5-ae+E)*y,.9*a)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*y,.8*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*y,.9*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*y,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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,ae=.5,re=z,ne=Math.PI/4,fe=4*(1-Math.cos(ne))/(3*Math.sin(ne)),Se=fe*.5,Ne=z,be=z,xe=fe*Ne,pe=fe*be;E.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ne)*y,re*a,(ae-(xe+Ne)/2)*y,(re+(be+pe)/2)*a,(ae-Ne)*y,(re+pe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(re-be)*a,(ae-Ne)*y,(re-pe)*a,(ae-xe)*y,(re-be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ne)*y,re*a,(ae+xe)*y,(re-be)*a,(ae+Ne)*y,(re-pe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ne)*y,(re+pe)*a,(ae+(xe+Ne)/2)*y,(re+(be+pe)/2)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var st=new go.PathFigure(.2*y,a,!1);x.add(st),st.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Qe=new go.PathFigure(.8*y,a,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=.5,E=de*.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 ae=new go.PathFigure(b*y,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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,ae=de*.1,re=.2,ne=.9,fe=new go.PathFigure((re-z)*y,ne*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-z)*a,(re-z)*y,(ne-ae)*a,(re-ae)*y,(ne-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(re+z)*y,ne*a,(re+ae)*y,(ne-z)*a,(re+z)*y,(ne-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne+z)*a,(re+z)*y,(ne+ae)*a,(re+ae)*y,(ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(re-z)*y,ne*a,(re-ae)*y,(ne+z)*a,(re-z)*y,(ne+ae)*a).close()),z=.1,ae=de*.1,re=.8,ne=.9;var Se=new go.PathFigure((re-z)*y,ne*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-z)*a,(re-z)*y,(ne-ae)*a,(re-ae)*y,(ne-z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(re+z)*y,ne*a,(re+ae)*y,(ne-z)*a,(re+z)*y,(ne-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne+z)*a,(re+z)*y,(ne+ae)*a,(re+ae)*y,(ne+z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(re-z)*y,ne*a,(re-ae)*y,(ne+z)*a,(re-z)*y,(ne+ae)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ue,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(ue,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 ae=new go.PathFigure(.5*y,.7*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var re=.1,ne=de*.1,fe=.1,Se=.9,Ne=new go.PathFigure((fe-re)*y,Se*a,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Se-re)*a,(fe-re)*y,(Se-ne)*a,(fe-ne)*y,(Se-re)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe+re)*y,Se*a,(fe+ne)*y,(Se-re)*a,(fe+re)*y,(Se-ne)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Se+re)*a,(fe+re)*y,(Se+ne)*a,(fe+ne)*y,(Se+re)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe-re)*y,Se*a,(fe-ne)*y,(Se+re)*a,(fe-re)*y,(Se+ne)*a)),re=.1,ne=de*.1,fe=.4,Se=.9;var be=new go.PathFigure((fe-re)*y,Se*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Se-re)*a,(fe-re)*y,(Se-ne)*a,(fe-ne)*y,(Se-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+re)*y,Se*a,(fe+ne)*y,(Se-re)*a,(fe+re)*y,(Se-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Se+re)*a,(fe+re)*y,(Se+ne)*a,(fe+ne)*y,(Se+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe-re)*y,Se*a,(fe-ne)*y,(Se+re)*a,(fe-re)*y,(Se+ne)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ue,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 fe=.05,Se=de*.05,Ne=.175,be=.95,ae=new go.PathFigure((Ne-fe)*y,be*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be-fe)*a,(Ne-fe)*y,(be-Se)*a,(Ne-Se)*y,(be-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+fe)*y,be*a,(Ne+Se)*y,(be-fe)*a,(Ne+fe)*y,(be-Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be+fe)*a,(Ne+fe)*y,(be+Se)*a,(Ne+Se)*y,(be+fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-fe)*y,be*a,(Ne-Se)*y,(be+fe)*a,(Ne-fe)*y,(be+Se)*a));var fe=.05,Se=de*.05,Ne=.375,be=.95,re=new go.PathFigure((Ne-fe)*y,be*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be-fe)*a,(Ne-fe)*y,(be-Se)*a,(Ne-Se)*y,(be-fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+fe)*y,be*a,(Ne+Se)*y,(be-fe)*a,(Ne+fe)*y,(be-Se)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be+fe)*a,(Ne+fe)*y,(be+Se)*a,(Ne+Se)*y,(be+fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-fe)*y,be*a,(Ne-Se)*y,(be+fe)*a,(Ne-fe)*y,(be+Se)*a));var fe=.05,Se=de*.05,Ne=.625,be=.95,ne=new go.PathFigure((Ne-fe)*y,be*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be-fe)*a,(Ne-fe)*y,(be-Se)*a,(Ne-Se)*y,(be-fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+fe)*y,be*a,(Ne+Se)*y,(be-fe)*a,(Ne+fe)*y,(be-Se)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be+fe)*a,(Ne+fe)*y,(be+Se)*a,(Ne+Se)*y,(be+fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-fe)*y,be*a,(Ne-Se)*y,(be+fe)*a,(Ne-fe)*y,(be+Se)*a));var fe=.05,Se=de*.05,Ne=.825,be=.95,xe=new go.PathFigure((Ne-fe)*y,be*a,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be-fe)*a,(Ne-fe)*y,(be-Se)*a,(Ne-Se)*y,(be-fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+fe)*y,be*a,(Ne+Se)*y,(be-fe)*a,(Ne+fe)*y,(be-Se)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,Ne*y,(be+fe)*a,(Ne+fe)*y,(be+Se)*a,(Ne+Se)*y,(be+fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-fe)*y,be*a,(Ne-Se)*y,(be+fe)*a,(Ne-fe)*y,(be+Se)*a).close());var pe=new go.PathFigure(0,a,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ue,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 ae=.05,re=de*.05,ne=.35,fe=.775,Se=new go.PathFigure((ne-ae)*y,fe*a,!0);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(fe-ae)*a,(ne-ae)*y,(fe-re)*a,(ne-re)*y,(fe-ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ae)*y,fe*a,(ne+re)*y,(fe-ae)*a,(ne+ae)*y,(fe-re)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(fe+ae)*a,(ne+ae)*y,(fe+re)*a,(ne+re)*y,(fe+ae)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ae)*y,fe*a,(ne-re)*y,(fe+ae)*a,(ne-ae)*y,(fe+re)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=.3,E=de*.3,z=.5,ae=.7,re=new go.PathFigure((z-b)*y,ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-b)*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ae*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+b)*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ae*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+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(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=.5,E=de*.5,z=.5,ae=.5,re=new go.PathFigure((z-b)*y,ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-b)*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ae*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+b)*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ae*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+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(ue,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(ue,y,a){var x=new go.Geometry,b=.5,E=de*.5,z=.5,ae=.5,re=new go.PathFigure((z-b)*y,ae*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-b)*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ae*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+b)*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ae*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+E)*a).close()),b=.05,E=de*.05,z=.5,ae=.8;var ne=new go.PathFigure((z-b)*y,ae*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-b)*a,(z-b)*y,(ae-E)*a,(z-E)*y,(ae-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ae*a,(z+E)*y,(ae-b)*a,(z+b)*y,(ae-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+b)*a,(z+b)*y,(ae+E)*a,(z+E)*y,(ae+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ae*a,(z-E)*y,(ae+b)*a,(z-b)*y,(ae+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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 ae=new go.PathFigure(.678*y,.85*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var re=new go.PathFigure(.5*y,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ue,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(ue,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 ae=new go.PathFigure(y*.612,a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var re=new go.PathFigure(y*.816,a,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),re.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ue,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 ae=new go.PathFigure(y*.055,.18*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var re=new go.PathFigure(y*1,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),re.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),re.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ue,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(ue,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(ue,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 ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var re=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ue,y,a){var x=new go.Geometry,b=8,E=b*de,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 ae=new go.PathFigure(y*.83,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var re=new go.PathFigure(y*.83,a*1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),re.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),re.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(ue,y,a){var x=ue?ue.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*de,E=a*.8,z=new go.Geometry,ae=new go.PathFigure(x,0,!0);return z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,y,E-x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-x,E,y,E-b,y-b,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,E)),ae.add(new go.PathSegment(go.PathSegment.Line,x,E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.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(ue,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(ue,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(ue,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(ue,y,a){var x=new go.Geometry,b=15,E=b*de,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},Et="5.0",te={},le=null,ve=!1,Oe=!1,Ge=null,Fe=!1,Ze=null,de=null,ze=0;ze<arguments.length;ze++){var Ke=arguments[ze];if(Ke!==null)switch(typeof Ke){case"number":Et=Ke.toFixed(1);break;case"string":Ke.match(new RegExp("^[0-9]\\.[0-9]+$"))?Et=Ke:Ge=Ke;break;case"object":typeof Ke.is3D!="undefined"?le=Ke:te=Ke;break;case"boolean":ve=Ke,Oe=!0;break}}le===null&&(le={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!Oe&&(ve=!0)),Ge!==null&&te.id===void 0&&(te.id=Ge);var He="",et="",je=!1,we=null,ue=null,y=null,a=!1,x=null,b=null,E=null,z=null,ae=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var re=function(Ve){return parseFloat(Ve)>4?parseFloat(Ve):5};ct.setHTML5Codebase=function(Ve,Pt){de=Ve,Ft(Ve,Pt)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ve,Pt){var Dt=parseFloat(Ve);if(Dt!==NaN&&Dt<5){console.log("The GeoGebra HTML5 codebase version "+Dt+" is deprecated. Using version latest instead.");return}Ze=Ve,ht(Ve,Pt)},ct.getHTML5CodebaseVersion=function(){return ue},ct.getParameters=function(){return te},ct.setFontsCSSURL=function(Ve){z=Ve},ct.setGiacJSURL=function(Ve){},ct.setJNLPFile=function(Ve){He=Ve},ct.setJNLPBaseDir=function(Ve){},ct.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Pt="auto",Dt=te.id,En,at=!1,Lt=0;Lt<arguments.length;Lt++){var Ce=arguments[Lt];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Pt=Ce:Dt=arguments[Lt]):typeof Ce=="boolean"?at=Ce:Ce instanceof HTMLElement&&(En=Ce)}on();function on(){if(!Fe){setTimeout(on,200);return}Pt=Kt(Pt);var ln=En||document.getElementById(Dt);if(!ln){console.log("possibly bug on ajax loading? ");return}if(ct.removeExistingApplet(ln,!1),te.width===void 0&&ln.clientWidth&&(te.width=ln.clientWidth),te.height===void 0&&ln.clientHeight&&(te.height=ln.clientHeight),!(te.width&&te.height)&&Pt==="html5"&&(delete te.width,delete te.height),we=Pt,Pt==="screenshot")Qe(ln,te);else{var ra=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?ra=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(ra=(!ne()||Ve())&&fe()),ra?(we="screenshot",We(ln,te,at,Pt)):st(ln,te,at)}}};function ne(){try{return window.self!==window.top}catch(Ve){return!0}}function fe(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ct.getViews=function(){return le},ct.isJavaInstalled=function(){return!1};var Se=function(Ve){var Pt=function(Lt){var Ce=JSON.parse(Lt),on=function(Bn){return Bn.type=="G"||Bn.type=="E"},ln=Ce.elements?Ce.elements.filter(on)[0]:Ce;if(!ln||!ln.url){Dt();return}te.fileName=ln.url,Ne(ln.settings||{}),le.is3D=!0;var ra="https://www.geogebra.org/images/";ct.setPreviewImage(x||ln.previewUrl,ra+"GeoGebra_loading.png",ra+"applet_play.png"),Ve()},Dt=function(){te.onError&&te.onError(),Wt("Error: Fetching material (id "+te.material_id+") failed.",te)},En=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",at="/materials/"+te.material_id+"?scope=basic";be("https://"+En+"/api/proxy.php?path="+encodeURIComponent(at),Pt,Dt)};function Ne(Ve){var Pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Dt){Ve[Dt]=!!Ve[Dt]}),Pt.forEach(function(Dt){te[Dt]===void 0&&Ve[Dt]!==void 0&&(te[Dt]=Ve[Dt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function be(Ve,Pt,Dt){var En=new XMLHttpRequest;En.open("GET",Ve),En.onload=function(){Pt(En.responseText)},En.onerror=Dt,En.send()}ct.isHTML5Installed=function(){return!0},ct.getLoadedAppletType=function(){return we},ct.setPreviewImage=function(Ve,Pt,Dt){x=Ve,b=Pt,E=Dt},ct.removeExistingApplet=function(Ve,Pt){var Dt;typeof Ve=="string"&&(Ve=document.getElementById(Ve)),we=null;var En=null;for(Dt=0;Dt<Ve.childNodes.length;Dt++){var at=Ve.childNodes[Dt],Lt=at.className;Lt==="applet_screenshot"?Pt?(at.style.display="block",we="screenshot"):at.style.display="none":Lt!=="applet_scaler prerender"&&(Ve.removeChild(at),En=Lt&&Lt.indexOf("appletParameters")!=-1?at.id:null,Dt--)}var Ce=te.id!==void 0?te.id:En,on=window[Ce];on&&typeof on.getBase64=="function"&&(on.remove(),window[Ce]=null)},ct.refreshHitPoints=function(){if(re(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ve=ct.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var Ve=ct.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},ct.stopAnimation=function(){var Ve=ct.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},ct.getAppletObject=function(){var Ve=te.id!==void 0?te.id:"ggbApplet";return window[Ve]},ct.resize=function(){};var xe=function(Ve,Pt,Dt){var En=document.createElement("param");En.setAttribute("name",Pt),En.setAttribute("value",Dt),Ve.appendChild(En)},pe=function(Ve){return Ve&&Ve!=="false"},st=function(Ve,Pt,Dt){re(ue)<=4.2&&(Dt=!0);var En=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ue||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(En=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var at=document.createElement("div");at.classList.add("appletParameters","notranslate");var Lt=Pt.width,Ce=Pt.height;if(Pt.disableAutoScale=Pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Pt.disableAutoScale,Pt.width!==void 0)if(re(ue)<=4.4)pe(Pt.showToolBar)&&(Pt.height-=7),pe(Pt.showAlgebraInput)&&(Pt.height-=37),Pt.width<605&&pe(Pt.showToolBar)&&(Pt.width=605,Lt=605);else{var on=100;(pe(Pt.showToolBar)||pe(Pt.showMenuBar))&&(Pt.hasOwnProperty("customToolBar")&&(Pt.customToolbar=Pt.customToolBar),on=pe(Pt.showMenuBar)?245:155),Lt<on&&(Pt.width=on,Lt=on)}at.style.border="none",at.style.display="inline-block";for(var ln in Pt)Pt.hasOwnProperty(ln)&&ln!=="appletOnLoad"&&at.setAttribute("data-param-"+ln,Pt[ln]);z&&at.setAttribute("data-param-fontscssurl",z),ct.resize=function(){GGBAppletUtils.responsiveResize(Ve,Pt)},window.addEventListener("resize",function(ga){ct.resize()});var ra=typeof Pt.appletOnLoad=="function"?Pt.appletOnLoad:function(){};if(!Dt&&Pt.width!==void 0){Pt.hasOwnProperty("showSplash")||at.setAttribute("data-param-showSplash","false");var Bn=Ve.querySelector(".applet_scaler.prerender"),It=Bn!==null;if(It)var Ie=Bn.querySelector(".ggb_preview");else{var Ie=bt(Lt,Ce,Pt.borderColor,!1);Bn=document.createElement("div"),Bn.className="applet_scaler",Bn.style.position="relative",Bn.style.display="block",Bn.style.width=Lt+"px",Bn.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Bn,"66%"),re(ue)>=5?(Pt.appletOnLoad=function(ga){var Te=Ve.querySelector(".ggb_preview");Te&&Te.parentNode.removeChild(Te),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Bn),window.GGBT_wsf_view&&$(window).trigger("resize"),ra(ga)},It||Bn.appendChild(Ie)):at.appendChild(Ie),Bn.appendChild(at),It||Ve.appendChild(Bn),setTimeout(function(){ct.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(at),Ve.appendChild(De),Pt.appletOnLoad=function(ga){ct.resize(),ra(ga)}}function ft(ga,Te){Te&&typeof Te.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ga,Te.appletOnLoad):renderGGBElement(ga),Wt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Te)}function kt(ga,Te){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ga,params:Te}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ot){ft(ot.article,ot.params)}),html5AppletsToProcess=null)},re(ue)<5&&(ga.className+=" geogebraweb")):ft(ga,Te)}if(En){scriptLoadStarted=!0;for(var jt=0;jt<at.childNodes.length;jt++){var gn=at.childNodes[jt].tagName;gn==="TABLE"&&(at.removeChild(at.childNodes[jt]),jt--)}if(ggbHTML5LoadedScript!==null){var tn=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');tn!=null&&tn.parentNode.removeChild(tn)}var xn=document.createElement("script"),dn=function(){kt(at,Pt)};xn.src=et+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ue,ggbHTML5LoadedScript=xn.src,Wt("GeoGebra HTML5 codebase loaded: '"+et+"'.",Pt),!de&&(!Ze||Ze=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),dn()):et.requirejs?__webpack_require__.e(12).then(function(){var ga=[__webpack_require__(12)];dn.apply(null,ga)}.bind(this)).catch(__webpack_require__.oe):(xn.onload=dn,Ve.appendChild(xn))}else kt(at,Pt);Pt.height=Ce,Pt.width=Lt},Qe=function(Ve,Pt,Dt){var En=bt(Pt.width,Pt.height,Pt.borderColor,Dt),at=document.createElement("div");at.style.position="relative",at.style.display="block",at.style.width=Pt.width+"px",at.style.height=Pt.height+"px",at.className="applet_screenshot applet_scaler"+(Dt?" applet_screenshot_play":""),at.appendChild(En);var Lt=GGBAppletUtils.getScale(Pt,Ve,Dt);Dt?(Ve.appendChild(rt()),window.GGBT_wsf_view||(Ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(at,"66%"),Ve.appendChild(at),Lt!==1&&!isNaN(Lt)&&(GGBAppletUtils.scaleElement(at,Lt),at.style.width=Pt.width+"px",at.style.height=Pt.height+"px",at.parentNode.style.width=Pt.width*Lt+"px",at.parentNode.style.height=Pt.height*Lt+"px"),ct.resize=function(){Ot(Ve,En,at,Dt)},window.addEventListener("resize",function(Ce){ct.resize()}),ct.resize()};function Ot(Ve,Pt,Dt,En){if(Ve.contains(Pt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ve.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ve)}var at=GGBAppletUtils.getScale(te,Ve,En);Dt.parentNode!==null&&(!isNaN(at)&&at!==1?(GGBAppletUtils.scaleElement(Dt,at),Dt.parentNode.style.width=te.width*at+"px",Dt.parentNode.style.height=te.height*at+"px"):(GGBAppletUtils.scaleElement(Dt,1),Dt.parentNode.style.width=te.width+"px",Dt.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ve),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ct.onExitFullscreen=function(Ve,Pt){Pt.appendChild(Ve)};var We=function(Ve,Pt,Dt,En){Qe(Ve,Pt,!0);for(var at=function(){var on=[];for(Ce=0;Ce<Ve.childNodes.length;Ce++)on.push(Ve.childNodes[Ce]);if(window.GGBT_wsf_view){var ln=window.GGBT_wsf_view.renderFullScreen(Ve,Pt.id),ra=document.getElementById("fullscreencontainer"),Bn=jQuery(Ve).find(".fullscreencontent");Bn.length>0?(ln.remove(),Bn.attr("id","fullscreencontent").show(),jQuery(ra).append(Bn),window.dispatchEvent(new Event("resize"))):st(ln,Pt,!1),window.GGBT_wsf_view.launchFullScreen(ra)}else we=En,st(Ve,Pt,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<on.length;Ce++)Ve.removeChild(on[Ce])},Lt=Ve.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<Lt.length;Ce++)Lt[Ce].addEventListener("click",at,!1),Lt[Ce].addEventListener("ontouchstart",at,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ve),fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},rt=function(){var Ve=document.createElement("div");if(Ve.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Pt='.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");}',Dt=document.createElement("style");Dt.styleSheet?Dt.styleSheet.cssText=Pt:Dt.appendChild(document.createTextNode(Pt)),document.getElementsByTagName("head")[0].appendChild(Dt)}return Ve},bt=function(Ve,Pt,Dt,En){var at=document.createElement("div");at.className="ggb_preview",at.style.position="absolute",at.style.zIndex="90",at.style.width=Ve-2+"px",at.style.height=Pt-2+"px",at.style.top="0px",at.style.left="0px",at.style.overflow="hidden",at.style.backgroundColor="white";var Lt="lightgrey";Dt!==void 0&&(Dt==="none"?Lt="transparent":Lt=Dt),at.style.border="1px solid "+Lt;var Ce=document.createElement("img");if(Ce.style.position="relative",Ce.style.zIndex="1000",Ce.style.top="-1px",Ce.style.left="-1px",x!==null&&Ce.setAttribute("src",x),Ce.style.opacity=.7,b!==null){var on,ln,ra;if(!En){on=document.createElement("img"),on.style.position="absolute",on.style.zIndex="1001",on.style.opacity=1,Ce.style.opacity=.3,ln=360,ln>Ve/4*3&&(ln=Ve/4*3),ra=ln/5.8,on.setAttribute("src",b),on.setAttribute("width",ln),on.setAttribute("height",ra);var Bn=(Ve-ln)/2,It=(Pt-ra)/2;on.style.left=Bn+"px",on.style.top=It+"px",at.appendChild(on)}}return at.appendChild(Ce),at},Kt=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},Mt=["web","webSimple","web3d","tablet","tablet3d","phone"],ht=function(Ve,Pt){if(ue=Ve,Pt){Ft(ue,!0);return}var Dt=!ve;if(Dt){var En=re(ue);!isNaN(En)&&En<4.4&&(Dt=!1)}var at,Lt;window.location.protocol.substr(0,4)==="http"?at=window.location.protocol:at="http:";var Ce=ue.indexOf("//");Ce>0?Lt=ue:Ce===0?Lt=at+ue:Lt="https://www.geogebra.org/apps/5.2.814.0/";for(var on in Mt)if(ue.slice(Mt[on].length*-1)===Mt[on]||ue.slice((Mt[on].length+1)*-1)===Mt[on]+"/"){Ft(Lt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Dt&&!le.is3D&&!le.AV&&!le.SV&&!le.CV&&!le.EV2&&!le.CP&&!le.PC&&!le.DA&&!le.FI&&!le.PV&&!pe(te.showToolBar)&&!pe(te.showMenuBar)&&!pe(te.showAlgebraInput)&&!pe(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Lt+="webSimple/":Lt+="web3d/",Ft(Lt,!1)},Ft=function(Ve,Pt){if(Ve.requirejs){et=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),et=Ve,Pt===null&&(Pt=Ve.indexOf("http")===-1),je=Pt,y="web.nocache.js",a=!1;var Dt=et.split("/");Dt.length>1&&(!Pt&&Dt[Dt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Mt.indexOf(Dt[Dt.length-2])>=0&&(y=Dt[Dt.length-2]+".nocache.js")),Dt=Ve.split("/"),ue=Dt[Dt.length-3],ue.substr(0,4)==="test"?ue=ue.substr(4,1)+"."+ue.substr(5,1):(ue.substr(0,3)==="war"||ue.substr(0,4)==="beta")&&(ue="5.0");var En=parseFloat(ue);En!==NaN&&En<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+En+" is deprecated. Using version latest instead."),ht("5.0",Pt))},Wt=function(Ve,Pt){window.console&&window.console.log&&(!Pt||typeof Pt.showLogging=="undefined"||Pt.showLogging&&Pt.showLogging!=="false")&&console.log(Ve)};te.material_id!==void 0?Se(nn):nn();function nn(){var Ve=Et;Ze!==null?Ve=Ze:parseFloat(Ve)<5&&(Ve="5.0"),ht(Ve,!1),de!==null&&Ft(de,je),Fe=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function Et(Fe,Ze){Ze!=1?(Fe.style.transformOrigin="0% 0% 0px",Fe.style.webkitTransformOrigin="0% 0% 0px",Fe.style.transform="scale("+Ze+","+Ze+")",Fe.style.webkitTransform="scale("+Ze+","+Ze+")",Fe.style.maxWidth="initial",Fe.querySelector(".ggb_preview")!==null&&(Fe.querySelector(".ggb_preview").style.maxWidth="initial"),Fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Fe.style.transform="none",Fe.style.webkitTransform="none")}function te(Fe,Ze,de,ze,Ke,He){var et=null;if(He!=null&&He!="")for(var je=Fe.parentNode;je!=null;)if((" "+je.className+" ").indexOf(" "+He+" ")>-1){et=je;break}else je=je.parentNode;var we=0,ue=0,y=0,a=0,x=0,b=0,E=0;if(et)we=et.offsetWidth,ue=Math.max(ze?et.offsetWidth:0,et.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(we=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),y=we):(we=window.innerWidth,ue=window.innerHeight,y=window.innerWidth),Fe){var z=Fe.getBoundingClientRect();z.left>0&&z.left<=we&&(Ke===void 0||!Ke)&&(document.dir==="rtl"?(x=we-z.width-z.left,b=y<=480?10:30):(b=z.left,x=y<=480?10:30),a=b+x)}if(Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=Fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,E=40)}}return Fe&&((de===void 0||!de)&&Ze>0&&Ze+a<we?we=Ze:we-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de===void 0||!de)&&(ue-=E)),{width:we,height:ue}}function le(Fe,Ze,de,ze,Ke){if(Fe.isScreenshoGenerator)return 1;var He=ze!==void 0&&ze,et=Fe.noScaleMargin!=null&&Fe.noScaleMargin,je=function(ae){return ae&&ae!=="false"},we=je(Fe.autoHeight),ue=te(Ze,Fe.width,de,we,He&&window.GGBT_wsf_view||et,Ke),y=parseInt(ue.width),a=Fe.width,x=Fe.height;if(a===void 0){var b=Ze.querySelector(".appletParameters");b&&(a=b.offsetWidth,x=b.offsetHeight)}var E=y/a,z=He?1:ue.height/x;return de!==void 0&&!de&&(E=Math.min(1,E),z=Math.min(1,z)),Math.min(E,z)}function ve(Fe,Ze,de){var ze=1,Ke,He=!1;if(Fe.hasOwnProperty("allowUpscale")&&(He=Fe.allowUpscale),Fe.hasOwnProperty("scale")&&(ze=parseFloat(Fe.scale),(isNaN(ze)||ze===null||ze===0)&&(ze=1),ze>1&&(He=!0)),Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(He=!0),!(Fe.hasOwnProperty("disableAutoScale")&&Fe.disableAutoScale))Ke=le(Fe,Ze,He,de,Fe.scaleContainerClass);else return ze;return He&&(!Fe.hasOwnProperty("scale")||ze===1)?Ke:Math.min(ze,Ke)}function Oe(Fe){var Ze=Math.min(window.innerWidth,document.documentElement.clientWidth),de=Math.min(window.innerHeight,document.documentElement.clientHeight),ze=Fe.getBoundingClientRect(),Ke=(Ze-ze.width)/2,He=(de-ze.height)/2;He<0&&(He=0),Fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?Fe.style.left="40px":Fe.style.left=Ke+"px",Fe.style.top=He+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He<40?Fe.style.top="40px":Fe.style.top=He+"px",Fe.style.left=Ke+"px")}function Ge(Fe,Ze){var de=Fe.querySelector(".appletParameters");if(de){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ze.id!==de.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Fe)}if(de.parentElement&&/fullscreen/.test(de.parentElement.className))return;var ze=ve(Ze,Fe);ct()&&de.setAttribute("data-param-scale",ze);for(var Ke=null,He=0;He<Fe.childNodes.length;He++)if(Fe.childNodes[He].className!==void 0&&Fe.childNodes[He].className.match(/^applet_scaler/)){Ke=Fe.childNodes[He];break}if(Ke!==null&&Ke.querySelector(".noscale")!==null)return;var et=Ze.id!==void 0?Ze.id:"ggbApplet",je=window[et];(je==null||!je.recalculateEnvironments)&&Ke!==null&&!Ke.className.match(/fullscreen/)&&(Ke.parentNode.style.transform="",!isNaN(ze)&&ze!==1?(Ke.parentNode.style.width=Ze.width*ze+"px",Ke.parentNode.style.height=Ze.height*ze+"px",Et(Ke,ze)):(Et(Ke,1),Ke.parentNode.style.width=Ze.width+"px",Ke.parentNode.style.height=Ze.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Oe(Fe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(de).parents(".content-added-content"))}}return{responsiveResize:Ge,isFlexibleWorksheetEditor:ct,positionCenter:Oe,getScale:ve,scaleElement:Et}}();__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 ct=n.location.search;return ct.indexOf(J)!=-1||ct.indexOf(K)!=-1}function q(ct,Et){}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(ct){var Et=s[L].bindings;s[L].bindings=function(){for(var te=Et?Et():{},le=ct[webModule.__softPermutationId],ve=O;ve<le.length;ve++){var Oe=le[ve];te[Oe[O]]=Oe[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var ct=o.createElement(Q);if(ct.id=L,ct.style.cssText=R+S,ct.tabIndex=-1,o.body.appendChild(ct),t=ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Et=document.compatMode==U?V:W;t.write(Et+X),t.close()}}}function w(ct){function Et(le){function ve(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Oe=ve();if(Oe){le();return}function Ge(){if(!Oe){if(!ve())return;Oe=!0,le(),o.removeEventListener&&o.removeEventListener(Z,Ge,!1),Fe&&clearInterval(Fe)}}o.addEventListener&&o.addEventListener(Z,Ge,!1);var Fe=setInterval(function(){Ge()},$)}function te(le){var ve=u(),Oe=ve.body,Ge=ve.createElement(_);Ge.language=ab,Ge.crossOrigin=W,Ge.src=le,webModule.__errFn&&(Ge.onerror=function(){webModule.__errFn(L,new Error(bb+le))}),Oe.appendChild(Ge)}Et(function(){te(ct)})}webModule.__startLoadingFragment=function(ct){return C(ct)},webModule.__installRunAsyncCode=function(ct){var Et=u(),te=Et.body,le=Et.createElement(_);le.language=ab,le.text=ct,te.appendChild(le),te.removeChild(le)};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(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var Et=c[ct];return Et==null?null:Et},r=d,webModule.__errFn=e}function B(){function ct(Fe){var Ze=Fe.lastIndexOf(rb);Ze==-1&&(Ze=Fe.length);var de=Fe.indexOf(sb);de==-1&&(de=Fe.length);var ze=Fe.lastIndexOf(tb,Math.min(de,Ze));return ze>=O?Fe.substring(O,ze+P):W}function Et(Fe){if(!Fe.match(/^\w+:\/\//)){var Ze=o.createElement(ub);Ze.src=Fe+vb,Fe=ct(Ze.src)}return Fe}function te(){var Fe=__gwt_getMetaProperty(wb);return Fe!=null?Fe:W}function le(){for(var Fe=o.getElementsByTagName(_),Ze=O;Ze<Fe.length;++Ze)if(Fe[Ze].src.indexOf(xb)!=-1)return ct(Fe[Ze].src);return W}function ve(){var Fe=o.getElementsByTagName(yb);return Fe.length>O?Fe[Fe.length-P].href:W}function Oe(){var Fe=o.location;return Fe.href==Fe.protocol+zb+Fe.host+Fe.pathname+Fe.search+Fe.hash}var Ge=te();return Ge==W&&(Ge=le()),Ge==W&&(Ge=ve()),Ge==W&&Oe()&&(Ge=ct(o.location.href)),Ge=Et(Ge),Ge}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],Et=O,te=[],le=[];function ve(Fe){var Ze=le[Fe](),de=te[Fe];if(Ze in de)return Ze;var ze=[];for(var Ke in de)ze[de[Ke]]=Ke;throw r&&r(Fe,ze,Ze),null}if(__gwt_isKnownPropertyValue=function(Fe,Ze){return Ze in te[Fe]},webModule.__getPropMap=function(){var Fe={};for(var Ze in te)te.hasOwnProperty(Ze)&&(Fe[Ze]=ve(Ze));return Fe},webModule.__computePropValue=ve,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var Ge=Oe.indexOf(Db);Ge!=-1&&(Et=parseInt(Oe.substring(Ge+P),$),Oe=Oe.substring(O,Ge))}catch(Fe){}return webModule.__softPermutationId=Et,C(Oe+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})()},15476:function(ct,Et,te){"use strict";te.d(Et,{Ax:function(){return Ge},Ds:function(){return Fe},KI:function(){return de},SI:function(){return Oe},f1:function(){return ve}});var le=te(11320);function ve(ze){let Ke=!0;if(ze.length>0){for(let He=0;He<ze.length;He++)if(ze[He].compile_success==0||!ze[He].compile_success){Ke=!1;break}}else Ke=!1;return Ke}function Oe(ze,Ke=""){let He=[];for(let et=0;et<ze.length;et++){let je=ze[et],we=Ke?`${Ke}/${je.name}`:`${je.name}`;He.push({title:je.name,type:je.type,isLeaf:je.type!=="tree",key:we})}return He}function Ge(ze,Ke,He){for(let et=0;et<ze.length;et++){let je=ze[et];if(je.key===Ke){je.children=He;break}je.children&&Ge(je.children,Ke,He)}return ze}function Fe(ze,Ke,He){let et;return function(){let je=this,we=arguments,ue=function(){et=null,He||ze.apply(je,we)},y=He&&!et;clearTimeout(et),et=setTimeout(ue,Ke),y&&ze.apply(je,we)}}const Ze=!0,de=le.Z.API_SERVER},63205:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return et}});var le=te(67294),ve={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Oe=te(94184),Ge=te.n(Oe),Fe=te(57953),Ze=te(15979),de=te(33170),ze=te(28706),Ke=(je,we,ue)=>new Promise((y,a)=>{var x=z=>{try{E(ue.next(z))}catch(ae){a(ae)}},b=z=>{try{E(ue.throw(z))}catch(ae){a(ae)}},E=z=>z.done?y(z.value):Promise.resolve(z.value).then(x,b);E((ue=ue.apply(je,we)).next())}),et=({data:je,className:we,fullWidth:ue,style:y={},onClose:a,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,le.useRef)(null),ae=(0,le.useRef)(null),re=(0,le.useRef)(null),ne=(0,le.useRef)(null),[fe,Se]=(0,le.useState)(!1),[Ne,be]=(0,le.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,le.useEffect)(()=>{re.current||(re.current=document.createElement("style"),document.head.appendChild(re.current)),je!=null&&je.visible?(document.body.setAttribute("data-custom","y-hidden"),re.current.innerHTML=" html { overflow-y: hidden; }",je!=null&&je.src&&xe()):(document.body.removeAttribute("data-custom"),re.current&&(document.head.removeChild(re.current),re.current=null))},[je==null?void 0:je.visible]);const xe=()=>Ke(void 0,null,function*(){Se(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const We=yield(0,ze.ZJ)(je==null?void 0:je.src);z.current.src="",z.current.src=We,z.current.onload=function(){Ot()},Se(!1),be("")}),pe=()=>{document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",a()},st=We=>Ke(void 0,null,function*(){Se(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const rt=yield(0,de.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:je.title,file:We.dataUrl}});rt!=null&&rt.id&&!E?(yield(0,de.ZP)(`/api/attachments/${je.id}/add_subitem.json`,{method:"post",body:{subitem_id:rt==null?void 0:rt.id,settings:JSON.stringify(We.state)}})).status===0&&x():rt!=null&&rt.id&&x(rt),document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",Se(!1),be("")}),Qe=()=>{const We=document.querySelector('a[href="https://markerjs.com/"]');We&&We.parentNode&&(We.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(bt=>{const Kt=document.querySelector(bt.name);Kt&&Kt.setAttribute("title",bt.title)})},Ot=()=>{ae.current=new Ze.hP(z.current),ae.current.targetRoot=ne.current,ae.current.addEventListener("render",st),ae.current.addEventListener("beforeclose",pe),b&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),je!=null&&je.snapshotData&&ae.current.restoreState(je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return le.createElement(le.Fragment,null,(je==null?void 0:je.visible)&&le.createElement(Fe.Z,{spinning:fe,tip:Ne,style:{position:"absolute"}},le.createElement("div",{ref:ne,className:Ge()(ve.imageDimensions,we,ue?ve.fullWidth:""),style:y},le.createElement("img",{className:ve.img,ref:z}))))}},36527:function(ct,Et,te){"use strict";var le=te(67294),ve=te(71230),Oe=te(15746),Ge=te(66368),Fe=te(71577),Ze=te(85725),de=te(71736),ze=te(84279),Ke=te(67294);const He=(0,le.forwardRef)(({callback:et,showSaveButton:je,value:we=""},ue)=>{const y=(0,le.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=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ke.createElement(ve.Z,{className:de.Z.lists,gutter:[10,10]},a.map((ae,re)=>Ke.createElement(Oe.Z,{flex:"110px",className:de.Z.item},Ke.createElement("div",null,Ke.createElement(Ze.Z,{value:`$$${ae.value}$$`}),ae.name),Ke.createElement("div",{className:de.Z.children},ae.children.map((ne,fe)=>Ke.createElement("div",{key:fe},Ke.createElement("h1",null,ne.name),Ke.createElement(ve.Z,{gutter:[10,10]},ne.data.map((Se,Ne)=>Ke.createElement(Oe.Z,{key:Ne,onClick:()=>b(Se),className:de.Z.diamond},Ke.createElement(Ze.Z,{value:"`$$"+Se.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ke.createElement(ve.Z,{className:de.Z.lists,gutter:[10,10]},x.map((ae,re)=>Ke.createElement(Oe.Z,{flex:"110px",className:de.Z.item},Ke.createElement("div",null,Ke.createElement(Ze.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Ke.createElement("div",{className:de.Z.children},ae.children.map((ne,fe)=>Ke.createElement("div",{key:fe},ne.name&&Ke.createElement("h1",null,ne.name),Ke.createElement(ve.Z,{gutter:[10,10]},ne.data.map((Se,Ne)=>Ke.createElement(Oe.Z,{key:Ne,onClick:()=>b(Se),className:de.Z.diamond},Ke.createElement(Ze.Z,{value:"`$$"+Se.value+"$$`"}))))))))))}],z=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var re=ae.innerText;return et&&et(re),re};return(0,le.useImperativeHandle)(ue,()=>({getData:z})),Ke.createElement("div",{className:de.Z.mathWrap},Ke.createElement(Ge.default,{defaultActiveKey:"1",items:E}),Ke.createElement("math-field",{locale:"zh_cn",className:de.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},we||""),je&&Ke.createElement("div",{className:de.Z.button},Ke.createElement(Fe.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Et.Z=He},57444:function(ct,Et,te){"use strict";te.d(Et,{h:function(){return ae}});var le=te(67294),ve=te(42563),Oe=te(22150),Ge=te(71577),Fe=te(4631),Ze=te.n(Fe),de=te(71749),ze=te(30483),Ke=Object.defineProperty,He=Object.defineProperties,et=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,y=(re,ne,fe)=>ne in re?Ke(re,ne,{enumerable:!0,configurable:!0,writable:!0,value:fe}):re[ne]=fe,a=(re,ne)=>{for(var fe in ne||(ne={}))we.call(ne,fe)&&y(re,fe,ne[fe]);if(je)for(var fe of je(ne))ue.call(ne,fe)&&y(re,fe,ne[fe]);return re},x=(re,ne)=>He(re,et(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"]};Et.Z=({callback:re,onCancel:ne})=>{const[fe,Se]=(0,le.useState)("python");function Ne(xe){Se(z[xe][1])}function be(xe){re(xe)}return le.createElement(Oe.default,x(a({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),le.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},le.createElement(ve.default,{getPopupContainer:xe=>xe.parentNode,onChange:Ne},Object.keys(z).map(xe=>le.createElement(b,{key:xe,value:xe},z[xe][0])))),le.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},le.createElement(ae,{mode:fe})),le.createElement("div",{className:"flex-container flex-end"},le.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Ge.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function ae({value:re,onChange:ne,mode:fe,options:Se={}}){const Ne=(0,le.useRef)(),[be,xe]=(0,le.useState)();return(0,le.useEffect)(()=>{if(be){let pe=function(st){const Qe=st.getValue();ne&&ne(Qe)};return be.on("change",pe),()=>{be.off("change",pe)}}},[be,ne]),(0,le.useEffect)(()=>{be&&be.setOption("mode",fe)},[be,fe]),(0,le.useEffect)(()=>{be&&(re!==be.getValue()||re==="")&&setTimeout(()=>{be.setValue(re||"")},300)},[be,re]),(0,le.useEffect)(()=>{if(Ne.current&&!be){const pe=Ze().fromTextArea(Ne.current,a({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Se));xe(pe)}},[Ne.current,be]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Ne}))}},35567:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return Rn}});var le=te(67294),ve=te(4631),Oe=te.n(ve),Ge=te(91033),Fe=te(71749),Ze=te(57341),de=te(82801),ze=te(88386),Ke=te(49047),He=te(80785),et=te(85725),je=({value:nt="",className:dt,showTextOnly:_e,showLines:Zt,style:hn={}})=>{const Hn=(0,le.useMemo)(()=>"",[nt]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:Hn}}))},we=te(67294),ue=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(nt,dt,_e)=>dt in nt?ue(nt,dt,{enumerable:!0,configurable:!0,writable:!0,value:_e}):nt[dt]=_e,ae=(nt,dt)=>{for(var _e in dt||(dt={}))b.call(dt,_e)&&z(nt,_e,dt[_e]);if(x)for(var _e of x(dt))E.call(dt,_e)&&z(nt,_e,dt[_e]);return nt},re=(nt,dt)=>y(nt,a(dt));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 fe({onActionCallback:nt,title:dt,icon:_e,actionName:Zt,className:hn="",children:Hn}){function La(){nt(Zt)}return we.createElement("a",{title:dt,className:hn,onClick:La},we.createElement("i",{className:`${_e}`}),Hn)}var Se=({watch:nt,showNullButton:dt,showNullProgramButton:_e,onActionCallback:Zt,fullScreen:hn,insertTemp:Hn,hidetoolBar:La,extraUse:Jn})=>{const Nn=[...ne,{title:`${nt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${nt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return we.createElement("ul",{className:"markdown-toolbar-container"},!La&&Nn.map((va,fo)=>we.createElement("li",{key:fo},va.actionName?we.createElement(fe,re(ae({},va),{onActionCallback:Zt})):we.createElement("span",{className:"v-line"}))),dt?we.createElement("li",null,we.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Zt},we.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,_e?we.createElement(we.Fragment,null,we.createElement("li",null,we.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Zt},we.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),we.createElement("li",null,we.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Zt},we.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Hn&&we.createElement("li",null,we.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Hn}`,onActionCallback:Zt},we.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Jn&&we.createElement("li",null,Jn),we.createElement("li",{className:"btn-full-screen"},we.createElement(fe,{icon:`${hn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:hn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Zt})))},Ne=te(76621),be=te(22150),xe=te(69677),pe=te(71577),st=Object.defineProperty,Qe=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Kt=(nt,dt,_e)=>dt in nt?st(nt,dt,{enumerable:!0,configurable:!0,writable:!0,value:_e}):nt[dt]=_e,Mt=(nt,dt)=>{for(var _e in dt||(dt={}))rt.call(dt,_e)&&Kt(nt,_e,dt[_e]);if(We)for(var _e of We(dt))bt.call(dt,_e)&&Kt(nt,_e,dt[_e]);return nt},ht=(nt,dt)=>Qe(nt,Ot(dt));const Ft={labelCol:{span:4},wrapperCol:{span:20}};var Wt=({callback:nt,onCancel:dt})=>{function _e(Zt){nt(Zt)}return le.createElement(be.default,ht(Mt({},Ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:_e,style:{width:500}}),le.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},le.createElement(xe.default,null)),le.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},le.createElement(xe.default,null)),le.createElement("div",{className:"flex-container flex-end"},le.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(pe.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))},nn=te(57444),Ve=te(70859),Pt=te(14446),Dt=te(71230),En=te(63205),at=te(67294),Lt=({callback:nt,onCancel:dt})=>{const _e=document.createElement("canvas"),Zt=_e.getContext("2d");_e.width=1e3,_e.height=800,Zt.fillStyle="#ffffff",Zt.fillRect(0,0,_e.width,_e.height);const hn=_e.toDataURL("image/png");return at.createElement(Pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},at.createElement(Dt.Z,{style:{height:"100vh"}},at.createElement(En.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:hn,visible:!0,title:String(Date.now())},onOk:Hn=>{nt({src:Hn.url})},onClose:dt})))},Ce=te(23495);function on(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(on,go.CommandHandler),on.prototype.canAlignSelection=function(){var nt=this.diagram;return!(nt===null||nt.isReadOnly||nt.isModelReadOnly||nt.selection.count<2)},on.prototype.alignLeft=function(){var nt=this.diagram;nt.startTransaction("aligning left");var dt=1/0;nt.selection.each(function(_e){_e instanceof go.Link||(dt=Math.min(_e.position.x,dt))}),nt.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(dt,_e.position.y))}),nt.commitTransaction("aligning left")},on.prototype.alignRight=function(){var nt=this.diagram;nt.startTransaction("aligning right");var dt=-1/0;nt.selection.each(function(_e){if(!(_e instanceof go.Link)){var Zt=_e.actualBounds.x+_e.actualBounds.width;dt=Math.max(Zt,dt)}}),nt.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(dt-_e.actualBounds.width,_e.position.y))}),nt.commitTransaction("aligning right")},on.prototype.alignTop=function(){var nt=this.diagram;nt.startTransaction("alignTop");var dt=1/0;nt.selection.each(function(_e){_e instanceof go.Link||(dt=Math.min(_e.position.y,dt))}),nt.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(_e.position.x,dt))}),nt.commitTransaction("alignTop")},on.prototype.alignBottom=function(){var nt=this.diagram;nt.startTransaction("aligning bottom");var dt=-1/0;nt.selection.each(function(_e){if(!(_e instanceof go.Link)){var Zt=_e.actualBounds.y+_e.actualBounds.height;dt=Math.max(Zt,dt)}}),nt.selection.each(function(_e){_e instanceof go.Link||_e.move(new go.Point(_e.actualBounds.x,dt-_e.actualBounds.height))}),nt.commitTransaction("aligning bottom")},on.prototype.alignCenterX=function(){var nt=this.diagram,dt=nt.selection.first();if(dt){nt.startTransaction("aligning Center X");var _e=dt.actualBounds.x+dt.actualBounds.width/2;nt.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(_e-Zt.actualBounds.width/2,Zt.actualBounds.y))}),nt.commitTransaction("aligning Center X")}},on.prototype.alignCenterY=function(){var nt=this.diagram,dt=nt.selection.first();if(dt){nt.startTransaction("aligning Center Y");var _e=dt.actualBounds.y+dt.actualBounds.height/2;nt.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(Zt.actualBounds.x,_e-Zt.actualBounds.height/2))}),nt.commitTransaction("aligning Center Y")}},on.prototype.alignColumn=function(nt){var dt=this.diagram;dt.startTransaction("align Column"),nt===void 0&&(nt=0),nt=parseFloat(nt);var _e=new Array;dt.selection.each(function(Jn){Jn instanceof go.Link||_e.push(Jn)});for(var Zt=0;Zt<_e.length-1;Zt++){var hn=_e[Zt],Hn=hn.actualBounds.y+hn.actualBounds.height+nt,La=_e[Zt+1];La.move(new go.Point(hn.actualBounds.x,Hn))}dt.commitTransaction("align Column")},on.prototype.alignRow=function(nt){nt===void 0&&(nt=0),nt=parseFloat(nt);var dt=this.diagram;dt.startTransaction("align Row");var _e=new Array;dt.selection.each(function(Jn){Jn instanceof go.Link||_e.push(Jn)});for(var Zt=0;Zt<_e.length-1;Zt++){var hn=_e[Zt],Hn=hn.actualBounds.x+hn.actualBounds.width+nt,La=_e[Zt+1];La.move(new go.Point(Hn,hn.actualBounds.y))}dt.commitTransaction("align Row")},on.prototype.canRotate=function(nt){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<1)},on.prototype.rotate=function(nt){nt===void 0&&(nt=90);var dt=this.diagram;dt.startTransaction("rotate "+nt.toString());var dt=this.diagram;dt.selection.each(function(_e){_e instanceof go.Link||_e instanceof go.Group||(_e.angle+=nt)}),dt.commitTransaction("rotate "+nt.toString())},on.prototype.pullToFront=function(){var nt=this.diagram;nt.startTransaction("pullToFront");var dt=new go.Map;nt.selection.each(function(_e){dt.set(_e.layer,0)}),dt.iteratorKeys.each(function(_e){var Zt=0;_e.parts.each(function(hn){if(!hn.isSelected){var Hn=hn.zOrder;isNaN(Hn)?hn.zOrder=0:Zt=Math.max(Zt,Hn)}}),dt.set(_e,Zt)}),nt.selection.each(function(_e){on._assignZOrder(_e,dt.get(_e.layer)+1)}),nt.commitTransaction("pullToFront")},on.prototype.pushToBack=function(){var nt=this.diagram;nt.startTransaction("pushToBack");var dt=new go.Map;nt.selection.each(function(_e){dt.set(_e.layer,0)}),dt.iteratorKeys.each(function(_e){var Zt=0;_e.parts.each(function(hn){if(!hn.isSelected){var Hn=hn.zOrder;isNaN(Hn)?hn.zOrder=0:Zt=Math.min(Zt,Hn)}}),dt.set(_e,Zt)}),nt.selection.each(function(_e){on._assignZOrder(_e,dt.get(_e.layer)-1-on._findGroupDepth(_e))}),nt.commitTransaction("pushToBack")},on._assignZOrder=function(nt,dt,_e){_e===void 0&&(_e=nt),nt.layer===_e.layer&&(nt.zOrder=dt),nt instanceof go.Group&&nt.memberParts.each(function(Zt){on._assignZOrder(Zt,dt+1,_e)})},on._findGroupDepth=function(nt){if(nt instanceof go.Group){var dt=0;return nt.memberParts.each(function(_e){dt=Math.max(dt,on._findGroupDepth(_e))}),dt+1}else return 0},on.prototype.doKeyDown=function(){var nt=this.diagram;if(nt!==null){var dt=nt.lastInput;if(dt.key==="Up"||dt.key==="Down"||dt.key==="Left"||dt.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)}},on.prototype._getAllParts=function(){var nt=new Array;return this.diagram.nodes.each(function(dt){nt.push(dt)}),this.diagram.parts.each(function(dt){nt.push(dt)}),nt},on.prototype._arrowKeyMove=function(){var nt=this.diagram,dt=nt.lastInput,_e=0,Zt=0;if(dt.control||dt.meta)_e=1,Zt=1;else if(nt.grid!==null){var hn=nt.grid.gridCellSize;Zt=hn.width,_e=hn.height}nt.startTransaction("arrowKeyMove"),nt.selection.each(function(Hn){dt.key==="Up"?Hn.move(new go.Point(Hn.actualBounds.x,Hn.actualBounds.y-_e)):dt.key==="Down"?Hn.move(new go.Point(Hn.actualBounds.x,Hn.actualBounds.y+_e)):dt.key==="Left"?Hn.move(new go.Point(Hn.actualBounds.x-Zt,Hn.actualBounds.y)):dt.key==="Right"&&Hn.move(new go.Point(Hn.actualBounds.x+Zt,Hn.actualBounds.y))}),nt.commitTransaction("arrowKeyMove")},on.prototype._arrowKeySelect=function(){var nt=this.diagram,dt=nt.lastInput,_e=null;dt.key==="Up"?_e=this._findNearestPartTowards(270):dt.key==="Down"?_e=this._findNearestPartTowards(90):dt.key==="Left"?_e=this._findNearestPartTowards(180):dt.key==="Right"&&(_e=this._findNearestPartTowards(0)),_e!==null&&(dt.shift?_e.isSelected=!0:dt.control||dt.meta?_e.isSelected=!_e.isSelected:nt.select(_e))},on.prototype._findNearestPartTowards=function(nt){var dt=this.diagram.selection.first();if(dt===null)return null;for(var _e=dt.actualBounds.center,Zt=this._getAllParts(),hn=1/0,Hn=dt,La=0;La<Zt.length;La++){var Jn=Zt[La];if(Jn!==dt&&Jn.canSelect()){var Nn=Jn.actualBounds.center,va=_e.directionPoint(Nn),fo=this._angleCloseness(va,nt);if(fo<=45){var Cn=_e.distanceSquaredPoint(Nn);Cn*=1+Math.sin(fo*Math.PI/180),Cn<hn&&(hn=Cn,Hn=Jn)}}}return Hn},on.prototype._angleCloseness=function(nt,dt){return Math.min(Math.abs(dt-nt),Math.min(Math.abs(dt+360-nt),Math.abs(dt-360-nt)))},on.prototype._arrowKeyTree=function(){var nt=this.diagram,dt=nt.selection.first();if(dt instanceof go.Node){var _e=nt.lastInput;if(_e.key==="Right"){if(!dt.isTreeLeaf)if(!dt.isTreeExpanded)nt.commandHandler.canExpandTree(dt)&&nt.commandHandler.expandTree(dt);else{var Zt=this._sortTreeChildrenByY(dt).first();Zt!==null&&nt.select(Zt)}}else if(_e.key==="Left")if(!dt.isTreeLeaf&&dt.isTreeExpanded)nt.commandHandler.canCollapseTree(dt)&&nt.commandHandler.collapseTree(dt);else{var hn=dt.findTreeParentNode();hn!==null&&nt.select(hn)}else if(_e.key==="Up"){var hn=dt.findTreeParentNode();if(hn!==null){var Hn=this._sortTreeChildrenByY(hn),La=Hn.indexOf(dt);if(La>0){for(var Jn=Hn.elt(La-1);Jn!==null&&Jn.isTreeExpanded&&!Jn.isTreeLeaf;){var Nn=this._sortTreeChildrenByY(Jn);Jn=Nn.last()}Jn!==null&&nt.select(Jn)}else nt.select(hn)}}else if(_e.key==="Down")if(dt.isTreeExpanded&&!dt.isTreeLeaf){var Zt=this._sortTreeChildrenByY(dt).first();Zt!==null&&nt.select(Zt)}else for(;dt!==null;){var hn=dt.findTreeParentNode();if(hn===null)break;var Hn=this._sortTreeChildrenByY(hn),La=Hn.indexOf(dt);if(La<Hn.length-1){nt.select(Hn.elt(La+1));break}else dt=hn}var va=nt.selection.first();va!==null&&nt.scrollToRect(va.actualBounds)}},on.prototype._sortTreeChildrenByY=function(nt){var dt=new go.List().addAll(nt.findTreeChildrenNodes());return dt.sort(function(_e,Zt){var hn=_e.location,Hn=Zt.location;return hn.y<Hn.y?-1:hn.y>Hn.y?1:hn.x<Hn.x?-1:hn.x>Hn.x?1:0}),dt},on.prototype.copyToClipboard=function(nt){go.CommandHandler.prototype.copyToClipboard.call(this,nt),this._lastPasteOffset.set(this.pasteOffset)},on.prototype.pasteFromClipboard=function(){var nt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(nt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),nt},Object.defineProperty(on.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(nt){if(nt!=="move"&&nt!=="select"&&nt!=="scroll"&&nt!=="tree"&&nt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+nt);this._arrowKeyBehavior=nt}}),Object.defineProperty(on.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(nt){if(!(nt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+nt);this._pasteOffset.set(nt)}});var ln=on,ra=te(18023),Bn=te(15746),It=te(33170),Ie={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=te(67294),ft=(nt,dt,_e)=>new Promise((Zt,hn)=>{var Hn=Nn=>{try{Jn(_e.next(Nn))}catch(va){hn(va)}},La=Nn=>{try{Jn(_e.throw(Nn))}catch(va){hn(va)}},Jn=Nn=>Nn.done?Zt(Nn.value):Promise.resolve(Nn.value).then(Hn,La);Jn((_e=_e.apply(nt,dt)).next())});function kt({onCancel:nt,callback:dt}){let _e=(0,le.useRef)(),Zt=(0,le.useRef)(),hn=(0,le.useRef)(),Hn=(0,le.useRef)(!1);const La=(0,le.useRef)(!1),[Jn,Nn]=(0,le.useState)(0);function va(){const Cn=Ce.bx.make,$r={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 Ce.S0(Zt.current,{padding:20,grid:Cn(Ce.s_,"Grid",Cn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Zn=>{var Aa=Zn.diagram.commandHandler.addTopLevelParts(Zn.diagram.selection,!0);Aa||Zn.diagram.currentTool.doCancel()},commandHandler:Cn(ln),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Zn=>{var Aa=Zn.subject;Aa.location=Aa.location.copy().snapToGridPoint(Zn.diagram.grid.gridOrigin,Zn.diagram.grid.gridCellSize),setTimeout(()=>{Zn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Zn=>{var Aa=Zn.subject;setTimeout(()=>{Zn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Zn=>{var Aa=Zn.parameter.part;Aa.invalidateConnectedLinks();var vr=Zn.subject;Zn.diagram.toolManager.linkingTool.isForwards?vr.toNode.invalidateConnectedLinks():vr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),_e.current.nodeTemplate=Cn(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),Cn(Ce.bn,{name:"SHAPE",fill:$r.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Cn(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Cn(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),_e.current.nodeTemplate.toolTip=Cn("ToolTip",Cn(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},Cn(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),Cn(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function Qo(Zn,Aa){var vr=(Na,Lo)=>{Na.handled=!0,Na.diagram.model.commit(Xo=>{var Ai=Lo.part.adornedPart,ji=new Ce.E9().setRectSpot(Ai.actualBounds,Zn);ji.subtract(Ai.location),ji.scale(2,2),ji.x+=Math.sign(ji.x)*130,ji.y+=Math.sign(ji.y)*130,ji.add(Ai.location),ji.snapToGridPoint(Na.diagram.grid.gridOrigin,Na.diagram.grid.gridCellSize);var il=Xo.copyNodeData(Ai.data);Xo.setGroupKeyForNodeData(il,Xo.getGroupKeyForNodeData(Ai.data)),Xo.addNodeData(il);var fs={from:Ai.key,to:Xo.getKeyForNodeData(il)};Xo.addLinkData(fs);var Zi=Na.diagram.findNodeForData(il);Zi.location=ji,Na.diagram.select(Zi),setTimeout(()=>{Na.diagram.commandHandler.editTextBlock()},20)})};return Cn(Ce.bn,{figure:Aa,alignment:Zn,alignmentFocus:Zn.opposite(),width:Zn.equals(Ce.z6.Top)||Zn.equals(Ce.z6.Bottom)?25:18,height:Zn.equals(Ce.z6.Top)||Zn.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:$r.white,strokeWidth:4,mouseEnter:(Na,Lo)=>Lo.fill="dodgerblue",mouseLeave:(Na,Lo)=>Lo.fill="orange",isActionable:!0,click:vr,contextClick:vr})}function Qi(Zn){return Cn(Ce.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Aa,vr)=>vr.fill="dodgerblue",mouseLeave:(Aa,vr)=>vr.fill="orange",click:(Aa,vr)=>{Aa.diagram.commandHandler.showContextMenu(vr.part.adornedPart)}},Zn||{})}_e.current.nodeTemplate.selectionAdornmentTemplate=Cn(Ce.uz,"Spot",Cn(Ce.Vm,{padding:10}),Qo(Ce.z6.Top,"TriangleUp"),Qo(Ce.z6.Left,"TriangleLeft"),Qo(Ce.z6.Right,"TriangleRight"),Qo(Ce.z6.Bottom,"TriangleDown"),Qi({alignment:new Ce.z6(.75,0)}));function Jo(Zn,Aa){return(vr,Na)=>{vr.handled=!0,vr.diagram.model.commit(Lo=>{Lo.set(Na.part.adornedPart.data,Zn,Aa)})}}function wo(Zn,Aa){return Aa||(Aa="color"),Cn(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:Zn,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.stroke="dodgerblue",mouseLeave:(vr,Na)=>Na.stroke="lightgray",click:Jo(Aa,Zn),contextClick:Jo(Aa,Zn)})}function gl(){return[Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",wo($r.white,"fill"),wo($r.beige,"fill"),wo($r.extralightblue,"fill"),wo($r.extralightred,"fill"))),Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",wo($r.lightgray,"fill"),wo($r.lightgreen,"fill"),wo($r.lightblue,"fill"),wo($r.lightred,"fill")))]}function br(){return[Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",wo($r.black),wo($r.green),wo($r.blue),wo($r.red))),Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",wo($r.white),wo($r.magenta),wo($r.purple),wo($r.orange)))]}function Pl(Zn,Aa){return Aa||(Aa="thickness"),Cn(Ce.bn,"LineH",{width:16,height:16,strokeWidth:Zn,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.background="dodgerblue",mouseLeave:(vr,Na)=>Na.background="transparent",click:Jo(Aa,Zn),contextClick:Jo(Aa,Zn)})}function ol(Zn,Aa){return Aa||(Aa="dash"),Cn(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Zn,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.background="dodgerblue",mouseLeave:(vr,Na)=>Na.background="transparent",click:Jo(Aa,Zn),contextClick:Jo(Aa,Zn)})}function Ii(){return[Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",Pl(1),Pl(2),Pl(3),Pl(4))),Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",ol(null),ol([2,4]),ol([4,4])))]}function mi(Zn,Aa){return Aa||(Aa="figure"),Cn(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Zn,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.fill="dodgerblue",mouseLeave:(vr,Na)=>Na.fill="lightgray",click:Jo(Aa,Zn),contextClick:Jo(Aa,Zn)})}_e.current.nodeTemplate.contextMenu=Cn("ContextMenu",Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",mi("Rectangle"),mi("RoundedRectangle"),mi("Ellipse"),mi("Diamond"))),Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",mi("Parallelogram2"),mi("ManualOperation"),mi("Procedure"),mi("Cylinder1"))),Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",mi("Terminator"),mi("CreateRequest"),mi("Document"),mi("TriangleDown"))),gl(),br(),Ii()),_e.current.groupTemplate=Cn(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Zn,Aa)=>{var vr=Aa.addMembers(Aa.diagram.selection,!0);vr||Aa.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Cn(Ce.s_,"Auto",{name:"BODY"},Cn(Ce.bn,{parameter1:10,fill:$r.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Cn(Ce.Vm,{background:"transparent",margin:20})),Cn(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),_e.current.groupTemplate.selectionAdornmentTemplate=Cn(Ce.uz,"Spot",Cn(Ce.s_,"Auto",Cn(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Cn(Ce.Vm,{margin:1.5})),Qi({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),_e.current.groupTemplate.contextMenu=Cn("ContextMenu",gl(),br(),Ii()),_e.current.linkTemplate=Cn(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",Zn=>Zn>=1?10:0),new Ce.KX("toShortLength","dir",Zn=>Zn>=1?10:0),new Ce.KX("points").makeTwoWay(),Cn(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Cn(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Zn=>Zn===1)),Cn(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Zn=>Zn>=1),new Ce.KX("width","thickness",Zn=>7+3*Zn),new Ce.KX("height","thickness",Zn=>7+3*Zn),new Ce.KX("segmentOffset","thickness",Zn=>new Ce.E9(-15,4+1.5*Zn))),Cn(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",Zn=>Zn===2),new Ce.KX("width","thickness",Zn=>7+3*Zn),new Ce.KX("height","thickness",Zn=>7+3*Zn),new Ce.KX("segmentOffset","thickness",Zn=>new Ce.E9(-15,4+1.5*Zn))),Cn(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),_e.current.linkTemplate.selectionAdornmentTemplate=Cn(Ce.uz,Cn(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:tl(2)},new Ce.KX("pathPattern","thickness",tl)),Qi({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function tl(Zn){return Cn(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Zn+4).toString()+" H3"})}function fl(Zn){var Aa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Zn===0?Aa="M0 0 M16 16 M0 8 L16 8":Zn===2&&(Aa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Cn(Ce.bn,{geometryString:Aa,margin:2,background:"transparent",mouseEnter:(vr,Na)=>Na.background="dodgerblue",mouseLeave:(vr,Na)=>Na.background="transparent",click:Jo("dir",Zn),contextClick:Jo("dir",Zn)})}function Es(Zn){var Aa=(vr,Na)=>{vr.handled=!0,vr.diagram.model.commit(Lo=>{var Xo=Na.part.adornedPart;Lo.set(Xo.data,Zn?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(Zn?Xo.toNode:Xo.fromNode).invalidateConnectedLinks()})};return Cn(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(vr,Na)=>Na.background="dodgerblue",mouseLeave:(vr,Na)=>Na.background="transparent",click:Aa,contextClick:Aa})}function pn(Zn,Aa){var vr=0,Na=Ce.z6.RightSide;Zn.equals(Ce.z6.Top)?(vr=270,Na=Ce.z6.TopSide):Zn.equals(Ce.z6.Left)?(vr=180,Na=Ce.z6.LeftSide):Zn.equals(Ce.z6.Bottom)&&(vr=90,Na=Ce.z6.BottomSide),Aa||(vr-=180);var Lo=(Xo,Ai)=>{Xo.handled=!0,Xo.diagram.model.commit(ji=>{var il=Ai.part.adornedPart;ji.set(il.data,Aa?"toSpot":"fromSpot",Ce.z6.stringify(Na)),(Aa?il.toNode:il.fromNode).invalidateConnectedLinks()})};return Cn(Ce.bn,{alignment:Zn,alignmentFocus:Zn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:vr,background:"transparent",mouseEnter:(Xo,Ai)=>Ai.background="dodgerblue",mouseLeave:(Xo,Ai)=>Ai.background="transparent",click:Lo,contextClick:Lo})}_e.current.linkTemplate.contextMenu=Cn("ContextMenu",br(),Ii(),Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",fl(0),fl(1),fl(2))),Cn("ContextMenuButton",Cn(Ce.s_,"Horizontal",Cn(Ce.s_,"Spot",Es(!1),pn(Ce.z6.Top,!1),pn(Ce.z6.Left,!1),pn(Ce.z6.Right,!1),pn(Ce.z6.Bottom,!1)),Cn(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},Es(!0),pn(Ce.z6.Top,!0),pn(Ce.z6.Left,!0),pn(Ce.z6.Right,!0),pn(Ce.z6.Bottom,!0)))));const Os=`{ "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 ml=["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 mo(Zn){return console.log("shapeName:",Zn),ml.indexOf(Zn)>=0}var Il=new Ce.YI(hn.current,{maxSelectionCount:1,linkTemplate:Cn(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:Cn(Ce.uz,"Link",{locationSpot:Ce.z6.Center},Cn(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Cn(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),Cn(Ce.bn,{isPanelMain:!0,strokeWidth:2}),Cn(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(Zn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Zn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return _e.current.addDiagramListener("TextEdited",function(Zn){var Aa;const vr=Zn.subject.part;var Na=(Aa=document.activeElement)==null?void 0:Aa.value;typeof Na=="string"&&Na.trim()===""&&_e.current.model.commit(function(Lo){Lo.set(vr.data,"text","\u672A\u547D\u540D"),_e.current.commandHandler.stopCommand()},"increment")}),Il.nodeTemplate=Cn(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Cn(Ce.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),Cn(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{_e.current.grid=Cn(Ce.s_,"Grid",Cn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn(Ce.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 fo=()=>ft(this,null,function*(){var Cn=_e.current.makeImage();const $r=yield(0,It.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Cn.src}});dt({src:$r.url})});return(0,le.useEffect)(()=>(setTimeout(()=>{va()},500),Nn(Jn+1),()=>{_e.current=null}),[]),De.createElement("div",{ref:La,className:Hn.current?`${Ie.maxH60} body-overflow-initial`:"body-overflow-initial"},De.createElement(Pt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Jn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:De.createElement(Dt.Z,null,De.createElement(Bn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),De.createElement(Bn.Z,{onClick:()=>{var Cn,$r,Qo=_e.current.selection.first();if(Hn.current=!Hn.current,document.activeElement&&Qo){let Qi=($r=(Cn=document.activeElement)==null?void 0:Cn.value)==null?void 0:$r.trim();typeof Qi=="string"&&_e.current.model.commit(function(Jo){Jo.set(Qo.data,"text",Qi||"\u672A\u547D\u540D"),_e.current.commandHandler.stopCommand()},"increment")}Nn(Jn+1)}},De.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:nt},De.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ie.flowChartWrp},De.createElement("div",{style:{display:"flex",height:"100%"}},De.createElement("div",{style:{width:"300px",height:"100%"}},De.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),De.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ie.myPaletteDiv,ref:hn})),De.createElement("div",{style:{flex:1,position:"relative"}},De.createElement("div",{ref:Zt,style:{height:"80vh"}}))),De.createElement("div",{className:"tr"},De.createElement(pe.ZP,{size:"large",onClick:fo,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var jt=kt,gn=te(78045),tn=te(31795);const xn=gn.ZP.Group,dn={margin:"0 8px"};var ga=({callback:nt,onCancel:dt})=>{function _e(Zt){nt(Zt)}return le.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:_e},le.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},le.createElement("span",{style:dn},"\u5355\u5143\u683C\u6570\uFF1A"),le.createElement("span",{style:dn},"\u884C\u6570"),le.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},le.createElement(tn.Z,null)),le.createElement("span",{style:dn},"\u5217\u6570"),le.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},le.createElement(tn.Z,null))),le.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},le.createElement("span",{style:dn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),le.createElement(be.default.Item,{name:"align"},le.createElement(xn,null,le.createElement(gn.ZP,{value:"default"},le.createElement("i",{className:"fa fa-align-justify"})),le.createElement(gn.ZP,{value:"left"},le.createElement("i",{className:"fa fa-align-left"})),le.createElement(gn.ZP,{value:"center"},le.createElement("i",{className:"fa fa-align-center"})),le.createElement(gn.ZP,{value:"right"},le.createElement("i",{className:"fa fa-align-right"}))))),le.createElement("div",{className:"flex-container flex-end"},le.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(pe.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))},Te=te(47897),ot=te(61016),Yn=te.n(ot),lt=(0,le.forwardRef)(({use3d:nt,width:dt,height:_e,callback:Zt,showSaveButton:hn},Hn)=>{const La=(0,le.useRef)(),Jn=(0,le.useRef)(),[Nn,va]=(0,le.useState)(!1),fo=(0,le.useRef)({id:La,appName:"graphing",width:dt||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,le.useEffect)(()=>{Jn.current=new(Yn())(fo.current,!0),window.onload=function(){Jn.current.inject("applet_container")}},[]);const Cn=()=>{var $r=window.ggbApplet.getPNGBase64(1,!0,72);return Zt&&Zt($r),$r};return(0,le.useEffect)(()=>{fo.current.appName=Nn?"3D":"graphing",Jn.current.inject("applet_container")},[Nn]),(0,le.useEffect)(()=>{va(nt)},[nt]),(0,le.useImperativeHandle)(Hn,()=>({getImgData:Cn})),le.createElement(le.Fragment,null,le.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:La}),le.createElement(Dt.Z,{align:"middle"},le.createElement(Bn.Z,{flex:1},le.createElement(Te.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Nn,onChange:$r=>va($r)})),le.createElement(Bn.Z,null,le.createElement(pe.ZP,{size:"large",onClick:Cn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),_t=te(36527),ea=te(25934),Un=te(2453);const ca="link",In="upload-image",fn="add-flowchart",qn="draw-image",cr="add-flowchart",Ga="code-block",za="add-table",Zr="------------",Va={default:Zr,left:`:${Zr}`,center:`:${Zr}:`,right:`${Zr}:`};var Mr=te(99914),oo=(nt,dt,_e)=>new Promise((Zt,hn)=>{var Hn=Nn=>{try{Jn(_e.next(Nn))}catch(va){hn(va)}},La=Nn=>{try{Jn(_e.throw(Nn))}catch(va){hn(va)}},Jn=Nn=>Nn.done?Zt(Nn.value):Promise.resolve(Nn.value).then(Hn,La);Jn((_e=_e.apply(nt,dt)).next())});function ko(){}let Yo=0;const ti=1e4,fi="\u2581",Io="@\u2581\u2581@",bi="@\u2581@",Hr=`
|
|
**\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`,An=["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 On(nt){return/^\d+$/.test(nt)?`${nt}px`:nt}const wn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ja={[wn+"-B"]:"bold",[wn+"-I"]:"italic"},Nr={[ca]:"\u6DFB\u52A0\u94FE\u63A5",[Ga]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[In]:"\u6DFB\u52A0\u56FE\u7247",[qn]:"\u6DFB\u52A0\u753B\u56FE",[fn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[za]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Rn=({defaultValue:nt="",onChange:dt,width:_e="100%",height:Zt=400,miniToolbar:hn=!1,isFocus:Hn=!1,watch:La,insertTemp:Jn,mode:Nn="markdown",id:va="markdown-editor-id",showResizeBar:fo=!1,noStorage:Cn=!1,showNullButton:$r=!1,showNullProgramButton:Qo=!1,hidetoolBar:Qi=!1,fullScreen:Jo=!1,onBlur:wo,onCMBeforeChange:gl,onFullScreen:br,className:Pl="",disablePaste:ol=!1,disabled:Ii=!1,disabledFill:mi=!1,placeholder:tl="",values:fl="",extraUse:Es})=>{const[pn,Os]=(0,le.useState)(null),[ml,mo]=(0,le.useState)(nt),[Il,Zn]=(0,le.useState)(La),[Aa,vr]=(0,le.useState)(Jo),[Na,Lo]=(0,le.useState)(""),[Xo,Ai]=(0,le.useState)(0),[ji,il]=(0,le.useState)(Zt),[fs,Zi]=(0,le.useState)(!1),Ts=(0,le.useRef)((0,ea.Z)()),dd=(0,le.useRef)(!1),Ul=(0,le.useRef)(),[ms,is]=(0,le.useState)(0),[vs,Is]=(0,le.useState)(0),$l=(0,le.useRef)(),hs=(0,le.useRef)(),Yl=(0,le.useRef)(),Ss=(0,le.useRef)(),yt=()=>oo(void 0,null,function*(){var sn;const xt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ts.current}});(sn=xt==null?void 0:xt.attachments)!=null&&sn.length&&(console.log("cm:",pn,$l),xt.attachments.map(rn=>{rn.content_type.indexOf("image")>-1?pn.replaceSelection(``):rn.content_type.indexOf("video")>-1?pn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):rn.content_type.indexOf("pdf")>-1?pn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${rn.id}?type=${rn.content_type}&disposition=inline" target="_blank">${rn.name}</a>`):pn.replaceSelection(`[${rn.name}](${ENV.API_SERVER}/api/attachments/${rn.id}?type=${rn.content_type})`)}))});(0,le.useEffect)(()=>{const sn=window.scrollY||window.pageYOffset;mo(fl),pn==null||pn.setValue(fl),window.scrollTo(0,sn)},[fl]),(0,le.useEffect)(()=>{br==null||br(Aa)},[Aa]),(0,le.useEffect)(()=>{if($l.current){let sn=function(rn,un){var jn;if(ol){un.preventDefault();return}const Sa=un.clipboardData;if(Sa){const Oa=Sa.types.toString(),ar=Sa.items;if(Oa==="Files"||Sa.types.indexOf("Files")>-1){if(un.preventDefault(),Nn=="stex")return;try{let Ka=ar[1];((jn=ar[0])==null?void 0:jn.kind)==="file"&&(Ka=ar[0]);const Xa=Ka.getAsFile(),gr=Xa.name.split(".").pop();(0,Ve.I)(Xa,Wa=>{var Yr,Gr,vo;Wa.id?((Yr=Xa==null?void 0:Xa.type)==null?void 0:Yr.indexOf("image"))>-1?xt.replaceSelection(`<img width="100%" src="/api/attachments/${Wa.id}?type=${Wa.content_type})" alt="" />`):((Gr=Xa==null?void 0:Xa.type)==null?void 0:Gr.indexOf("video"))>-1?xt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Wa.id}"></video>`):((vo=Xa==null?void 0:Xa.type)==null?void 0:vo.indexOf("pdf"))>-1?xt.replaceSelection(`<a href="/api/attachments/${Wa.id}?type=${Xa.type}&disposition=inline" target="_blank">${Xa.name}</a>`):An.includes(gr)?xt.replaceSelection(`<a href="/api/attachments/${Wa.id}?type=office&disposition=inline" target="_blank">${Xa.name}</a>`):xt.replaceSelection(`[${Xa.name}](/api/attachments/${Wa.id}?type=${Wa.content_type})`):(Wa==null?void 0:Wa.status)===401&&(Un.ZP.warning((Wa==null?void 0:Wa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ka){Un.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const xt=Oe().fromTextArea($l.current,{mode:Nn,lineNumbers:!hn,lineWrapping:!0,value:nt,autoCloseTags:!Qo,autoCloseBrackets:!0});return xt.on("keyup",function(rn,un){un.keyCode===8&&(rn.getValue()==""?xt.setOption("placeholder",tl):xt.setOption("placeholder",null))}),xt.on("keydown",function(rn,un){if(un.keyCode===8){var jn=Ut(rn);jn&&un.preventDefault()}}),Hn&&xt.focus(),xt.on("paste",sn),xt.on("dragleave",function(rn,un){hs.current.classList.remove("mouse-hover-md")}),Ii&&xt.on("beforeChange",function(rn,un){(un.origin==="paste"||un.origin==="+input")&&un.cancel()}),Os(xt),()=>{xt.off("paste",sn)}}},[]);const At=(0,le.useCallback)(()=>{if(hs.current)try{}catch(sn){console.log(sn,"---- to set md editor body height")}},[ji,hs,Aa]);(0,le.useEffect)(()=>{function sn(){let xt=new Ge.Z(rn=>{for(let un of rn)(un.target.offsetHeight>0||un.target.offsetWidth>0)&&(At(),pn.setSize("100%","100%"),pn.refresh())});return xt.observe($l.current.parentElement),xt}if(pn){const xt=sn();return()=>{var rn,un;(rn=$l.current)!=null&&rn.parentElement&&xt.unobserve((un=$l.current)==null?void 0:un.parentElement)}}},[pn,At]),(0,le.useEffect)(()=>{if(pn){let sn=[];for(const[xt,rn]of Object.entries(Ja)){let un={[xt]:()=>{Be(rn)}};sn.push(un),pn.addKeyMap(un)}return Ul.current=setInterval(()=>{dd.current&&yt()},4e3),()=>{clearInterval(Ul.current);for(let xt of sn)pn.removeKeyMap(xt)}}},[pn]),(0,le.useEffect)(()=>{Jo!==Aa&&vr(Jo)},[Jo]),(0,Mr.Z)(()=>{if(!Cn&&Xo>0){let sn=new Date().getTime(),xt=window.sessionStorage.getItem(va);sn>=Xo+ti&&(!xt||xt!==ml)&&(window.sessionStorage.setItem(va,ml),Zi(!0))}},ti),(0,le.useEffect)(()=>{Zn(La)},[pn,La]),(0,le.useEffect)(()=>{pn&&Hn&&pn.focus()},[pn,Hn]),(0,le.useEffect)(()=>{if(Il&&pn){let sn=function(rn){let un=rn.target;if(Ss.current){let jn=un.scrollTop/un.scrollHeight;Ss.current.scrollTop=Ss.current.scrollHeight*jn}};const xt=pn.getScrollerElement();return xt.addEventListener("scroll",sn),()=>{xt.removeEventListener("scroll",sn)}}},[pn,Il]),(0,le.useEffect)(()=>{if(pn&&gl){let sn=function(xt,rn){gl(xt,rn)};return pn.on("beforeChange",sn),()=>{pn.off("beforeChange",sn)}}},[pn,gl]),(0,le.useEffect)(()=>{if(pn&&wo){let sn=function(){wo(pn.getValue())};return pn.on("blur",sn),()=>{pn.off("blur",sn)}}},[pn,wo]);function Ut(sn,xt){var rn=sn.getDoc(),un=rn.getCursor(),jn=rn.getLine(un.line),Sa=jn.charAt(un.ch-1),Oa=jn.lastIndexOf("@\u2581@",un.ch),ar=jn.lastIndexOf("@\u2581\u2581@",un.ch),Ka=Oa>ar?Oa:ar,Xa=Oa>ar?3:4;if(Io.indexOf(Sa)===-1)return null;if(console.log("change1:",xt,sn,jn,un,Ka,Oa,ar,Sa),Ka>=0&&un.ch-Ka<5){var gr=Ka+Xa;return rn.replaceRange("",{line:un.line,ch:Ka},{line:un.line,ch:gr}),{line:un.line,ch:gr}}return null}(0,le.useEffect)(()=>{if(pn){let sn=function(xt,rn){const un=xt.getValue();mo(un),Ai(new Date().getTime()),xt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),dt&&(Qo?dt(un,Wn(un)):dt(un))};return pn.on("change",sn),()=>{pn.off("change",sn)}}},[pn,dt]),(0,le.useEffect)(()=>{if(pn)if(nt==null)pn.setValue(""),mo("");else{const sn=window.scrollY||window.pageYOffset;nt!==pn.getValue()&&(pn.setValue(nt),mo(nt),pn.setCursor(Ii?1:pn.lineCount(),0),window.scrollTo(0,sn))}},[pn,nt]);const Be=(0,le.useCallback)(sn=>{const xt=pn.getCursor(),rn=pn.getSelection();let un=rn.split(`
|
|
`);switch(sn){case"bold":return pn.replaceSelection("**"+rn+"**"),rn===""&&pn.setCursor(xt.line,xt.ch+2),pn.focus();case"italic":return pn.replaceSelection("*"+rn+"*"),rn===""&&pn.setCursor(xt.line,xt.ch+1),pn.focus();case"code":return pn.replaceSelection("`"+rn+"`"),rn===""&&pn.setCursor(xt.line,xt.ch+1),pn.focus();case"inline-latex":return Lo("inline-latex"),pn.focus();case"latex":return pn.replaceSelection("```latex\n"+rn+"\n```"),pn.setCursor(xt.line+1,rn.length+1),pn.focus();case"line-break":return pn.replaceSelection(`<br/>
|
|
`),pn.focus();case"list-ul":return rn===""?pn.replaceSelection("- "+rn):pn.replaceSelection(un.map(jn=>jn===""?"":`- ${jn}`).join(`
|
|
`)),pn.focus();case"list-ol":return rn===""?pn.replaceSelection("1. "+rn):pn.replaceSelection(un.map((jn,Sa)=>jn===""?"":`${Sa+1}. ${jn}`).join(`
|
|
`)),pn.focus();case"add-null-ch":return rn===""&&pn.setCursor(xt.line,xt.ch),pn.replaceSelection(fi),pn.focus();case"add-signal":return rn===""&&pn.setCursor(xt.line,xt.ch),pn.replaceSelection(bi),pn.focus();case"add-multiple":return rn===""&&pn.setCursor(xt.line,xt.ch),pn.replaceSelection(Io),pn.focus();case"inster-template-1":return rn===""&&pn.setCursor(xt.line,xt.ch),pn.replaceSelection(Hr),pn.focus();case"eraser":return pn.setValue(""),pn.focus();case"trigger-watch":return Zn(!Il),pn.focus();case"trigger-full-screen":return vr(!Aa),pn.focus();case ca:Lo(ca);return;case Ga:Lo(Ga);return;case In:Lo(In);return;case qn:Lo(qn);return;case"maths-latex":Lo("maths-latex");return;case fn:Lo(fn);return;case za:Lo(za);return;default:throw new Error}},[pn,Il,Aa]),zt=(0,le.useCallback)((sn,xt)=>{var rn,un,jn,Sa,Oa,ar;switch(Lo(""),Na){case ca:const{title:Yr,link:Gr}=sn;return pn.replaceSelection(`[${Yr}](${Gr})`),pn.focus();case Ga:const{language:vo,content:_r}=sn;return pn.replaceSelection(["```"+vo,_r,"```"].join(`
|
|
`)),pn.focus();case"maths-latex":for(var Ka=atob(sn),Xa=new Uint8Array(Ka.length),gr=0;gr<Ka.length;gr++)Xa[gr]=Ka.charCodeAt(gr);var Wa=new Blob([Xa],{type:"image/png"});(0,Ve.I)(Wa,ii=>{ii.id?pn.replaceSelection(``):(ii==null?void 0:ii.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":pn.replaceSelection("`$$"+sn+"$$`");break;case In:case qn:case cr:const{src:Bo,alt:Ro}=sn,eo=xt,vi=(jn=(un=(rn=eo==null?void 0:eo.name)==null?void 0:rn.split("."))==null?void 0:un.pop)==null?void 0:jn.call(un);return((Sa=eo==null?void 0:eo.type)==null?void 0:Sa.indexOf("image"))>-1||!(eo!=null&&eo.type)?eo.align||eo.width?pn.replaceSelection(`<p style="text-align:${eo.align||"initial"}"><img width="${eo.width?eo.width+"%":"initial"}" src="${Bo}" alt="${Ro||""}" /></p>`):pn.replaceSelection(`<img width="100%" src="${Bo}" alt="${Ro||""}" />`):((Oa=eo==null?void 0:eo.type)==null?void 0:Oa.indexOf("video"))>-1?pn.replaceSelection(`<video width="100%" controls src="${Bo}"></video>`):((ar=eo==null?void 0:eo.type)==null?void 0:ar.indexOf("pdf"))>-1?pn.replaceSelection(`<a href="${Bo}?type=${eo.type}&disposition=inline" target="_blank">${eo.name}</a>`):An.includes(vi)?pn.replaceSelection(`<a href="${Bo}?type=office&disposition=inline" target="_blank">${eo.name}</a>`):pn.replaceSelection(`[${eo.name}](${Bo})`),pn.focus();case za:const{row:ll,col:Dl,align:yl}=sn;let nl=`
|
|
`;for(let ii=0;ii<ll;ii++){let Ql=[],Ml=[];for(let Jl=0;Jl<Dl;Jl++)ii===1&&Ml.push(Va[yl]),Ql.push(" ");ii===1&&(nl+=`| ${Ml.join(" | ")} |
|
|
`),nl+=`| ${Ql.join(Dl===1?"":" | ")} |
|
|
`}return pn.replaceSelection(nl+`
|
|
`),pn.focus();default:throw new Error}},[pn,Na]),vn=(0,le.useMemo)(()=>{switch(Na){case ca:return le.createElement(Wt,{callback:zt,onCancel:Sn});case Ga:return le.createElement(nn.Z,{callback:zt,onCancel:Sn});case In:return le.createElement(Ve.Z,{callback:zt,onCancel:Sn});case fn:return le.createElement(jt,{callback:zt,onCancel:Sn});case za:return le.createElement(ga,{callback:zt,onCancel:Sn});case"maths-latex":return le.createElement(lt,{showSaveButton:!0,callback:zt});case"inline-latex":return le.createElement(_t.Z,{showSaveButton:!0,callback:zt});default:return null}},[Na]);function Sn(){Lo("")}(0,le.useEffect)(()=>{if(Yl.current){let sn=function(Oa){jn=!0,Sa=Oa.pageY},xt=function(){jn=!1},rn=function(Oa){if(jn){let ar=Oa.pageY-Sa;ar<0&&(ar=0),ar>300&&(ar=300);let Ka=Zt+ar+"px";il(Ka)}},un=Yl.current,jn=!1,Sa=0;return un.addEventListener("mousedown",sn),document.addEventListener("mousemove",rn),document.addEventListener("mouseup",xt),()=>{un.removeEventListener("mousedown",sn),document.removeEventListener("mousemove",rn),document.removeEventListener("mouseup",xt)}}},[pn,Yl]),(0,le.useEffect)(()=>{il(Zt)},[Zt]);const Nt=On(_e),Gt=On(ji),Rt={width:Nt,height:Gt},yn=(0,le.useMemo)(()=>{if(Xo){let sn=new Date(Xo),xt=sn.getHours(),rn=sn.getMinutes(),un=sn.getSeconds();return xt=xt<10?"0"+xt:xt,rn=rn<10?"0"+rn:rn,un=un<10?"0"+un:un,`${xt}:${rn}:${un}`}return 0},[Xo]),Wn=sn=>{const xt=[];if(Qo){let rn=-1;sn=sn.replace(/(@▁▁@|@▁@)/g,function(un,jn,Sa){xt.push({multiLine:un!==bi})})}return xt};function la(){window.sessionStorage.removeItem(va),Zi(!1),Ai(0)}function ta(){Zi(!1),Ai(0),pn.setValue(window.sessionStorage.getItem(va))}(0,le.useEffect)(()=>{Nr[Na]&&Na!==qn&&Na!==fn&&setTimeout(()=>{const sn=document.getElementsByClassName("markdown-popup-form")[0],xt=window.innerWidth/2-sn.offsetWidth/2,rn=window.innerHeight/2-sn.offsetHeight/2;is(xt),Is(rn)},0)},[Na]);const pa=sn=>{sn.preventDefault();const xt=sn.clientX-ms,rn=sn.clientY-vs;document.body.onmousemove=un=>{let jn=un.clientX-xt,Sa=un.clientY-rn;const Oa=document.getElementsByClassName("markdown-popup-form")[0],ar=window.innerWidth-Oa.offsetWidth,Ka=window.innerHeight-Oa.offsetHeight;jn=Math.max(0,Math.min(jn,ar)),Sa=Math.max(0,Math.min(Sa,Ka)),Ha(un.clientX,un.clientY,xt,rn)&&(is(jn),Is(Sa))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ha=(sn,xt,rn,un)=>{const jn=document.body.clientHeight,Sa=document.body.clientWidth;return sn<20&&rn>sn||sn>Sa-20&&rn<sn||xt<20&&un>xt||xt>jn-20&&un<xt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return le.createElement(le.Fragment,null,le.createElement("div",{className:"markdown-editor-wrapper",ref:hs},le.createElement("div",{className:`markdown-editor-container ${Pl} ${Il?"on-preview":""} ${hn?"mini":""} ${Aa?"full-screen":""}`,style:Rt},le.createElement(Se,{insertTemp:Jn,watch:Il,fullScreen:Aa,showNullButton:$r,showNullProgramButton:Qo,onActionCallback:Be,hidetoolBar:Qi,extraUse:Es}),le.createElement("div",{className:"markdown-editor-body"},le.createElement("div",{className:"codemirror-container"},le.createElement("textarea",{ref:$l,placeholder:tl})),Il?le.createElement("div",{ref:Ss,className:"preview-container"},Nn==="stex"&&le.createElement(je,{value:ml}),Nn!=="stex"&&le.createElement(et.Z,{disabledFill:mi,showProgramFill:Qo,value:ml})):null))),fo?le.createElement("a",{ref:Yl,className:"editor-resize"}):null,Na===qn&&le.createElement(Lt,{callback:zt,onCancel:Sn}),Na===fn&&le.createElement(jt,{callback:zt,onCancel:Sn}),le.createElement(Ne.Z,null,Nr[Na]&&Na!==qn&&Na!==fn?le.createElement(Pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:ms,top:vs},title:le.createElement("div",{style:{cursor:"move"},onMouseDown:pa},Nr[Na]),open:!0,onCancel:Sn,footer:null,destroyOnClose:!0,width:Na===fn?"1200px":null,height:Na===fn?"80vh":null,className:"markdown-popup-form"},vn):null))}},70859:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return fe},I:function(){return Ne}});var le=te(22150),ve=te(2453),Oe=te(69677),Ge=te(93421),Fe=te(31795),Ze=te(78045),de=te(71577),ze=te(15476),Ke=te(67294),He=te(52262),et=te(67294),je=Object.defineProperty,we=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(be,xe,pe)=>xe in be?je(be,xe,{enumerable:!0,configurable:!0,writable:!0,value:pe}):be[xe]=pe,E=(be,xe)=>{for(var pe in xe||(xe={}))a.call(xe,pe)&&b(be,pe,xe[pe]);if(y)for(var pe of y(xe))x.call(xe,pe)&&b(be,pe,xe[pe]);return be},z=(be,xe)=>we(be,ue(xe));const{useForm:ae}=le.default,re={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var fe=({callback:be,onCancel:xe})=>{const[pe]=ae();let st=(0,Ke.useRef)();function Qe(rt){st.current.width=pe.getFieldValue("width"),st.current.align=pe.getFieldValue("align"),be(rt,st.current)}function Ot(rt,bt){if(rt.status===-1){ve.ZP.error(rt.message);return}pe.setFieldsValue({src:`/api/attachments/${rt.id}`,type:bt.type})}function We(rt){let bt=rt.target.files[0];st.current=bt,Ne(bt,Ot)}return et.createElement(le.default,z(E({form:pe},ne),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),et.createElement(le.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},et.createElement("div",{className:"flex-container"},et.createElement(le.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},et.createElement(Oe.default,{style:re})),et.createElement(Se,{onFileChange:We}))),et.createElement(le.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},et.createElement(Oe.default,{style:{width:264}})),et.createElement(le.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},et.createElement(Ge.Z,null,et.createElement(le.default.Item,{name:"width",style:{margin:0}},et.createElement(Fe.Z,{style:{width:264}})),et.createElement("span",{className:"ml8"},"%"))),et.createElement(le.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},et.createElement(Ze.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"}]})),et.createElement("aside",null,et.createElement(le.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},et.createElement(de.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),et.createElement(de.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function Se({onFileChange:be}){return et.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",et.createElement("input",{type:"file",onChange:be}))}function Ne(be,xe){if(!be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,He.bg)())throw ve.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let pe=new FormData;pe.append("editormd-image-file",be),pe.append("file_param_name","editormd-image-file"),pe.append("byxhr","true");var st=new window.XMLHttpRequest;st.withCredentials=!0,st.addEventListener("load",function(Qe){xe(JSON.parse(Qe.target.responseText),be)},!1),st.addEventListener("error",function(Qe){console.error(Qe)},!1),st.open("POST",`${ze.KI}/api/attachments.json`),st.send(pe)}},76621:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return Oe}});var le=te(67294),ve=te(73935);class Oe extends le.Component{constructor(Fe){super(Fe);const Ze=window.document;this.node=Ze.createElement("div"),Ze.body.appendChild(this.node)}render(){const{children:Fe}=this.props;return(0,ve.createPortal)(Fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(ct,Et,te){"use strict";te.d(Et,{i:function(){return re},Z:function(){return fe}});var le={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=te(57953),Oe=te(83062),Ge=te(94184),Fe=te.n(Ge),Ze=te(28706),de=te(26194),ze=te(52262),Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK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Wudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ae=te(67294);const re=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ke,swimg:He},{name:"101\u8BA1\u5212",ptimg:et,swimg:je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:we,swimg:ue},{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 fe=({className:Se,dataSource:Ne=[],col:be=4,right:xe,bottom:pe=23,precision:st=0,wrapWidth:Qe=1200,trackEventItems:Ot,loading:We,onRemove:rt=()=>{},isCurrent:bt=!0,showAlias:Kt=!1})=>{const Mt=Math.floor((Qe-(be-1)*xe)/be),ht=[{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(Ft=>(window.ENV==="build"&&(Ft.ptimg=`/react/build${Ft.ptimg}`,Ft.swimg=`/react/build${Ft.swimg}`),Ft));return ae.createElement(ve.Z,{spinning:We},ae.createElement("div",{className:Fe()(le.list,Se)},!!(Ne!=null&&Ne.length)&&(Ne==null?void 0:Ne.map((Ft,Wt)=>{var nn;const{name:Ve,id:Pt,identifier:Dt,featured:En,school_name:at,image_url:Lt,excellent:Ce,is_plan:on}=Ft;return ae.createElement("div",{key:Pt,className:le.wrap,style:{width:Mt,marginRight:(1+Wt)%be===0?0:xe+st,marginBottom:pe}},ae.createElement("a",{className:le.li,onClick:ln=>{ln.preventDefault(),ln.stopPropagation(),Ot&&(0,Ze.L9)([Ot]),(0,Ze.xg)(`/paths/${Dt}`)}},ae.createElement("div",{className:le.img},ae.createElement("img",{className:le.cover,src:`${Lt}`}),bt&&(0,ze.bg)()&&(Ft==null?void 0:Ft.studying)&&ae.createElement("div",{className:`${le.movebq} user-path-items`,onClick:ln=>{ln.stopPropagation(),rt(Ft)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(nn=Ft==null?void 0:Ft.subject_tags)==null?void 0:nn.map((ln,ra)=>{var Bn,It;if(ra===0){const De=(Bn=ht.find(ft=>ft.name==ln))==null?void 0:Bn.swimg;return ae.createElement("img",{className:le.sign,src:De,style:{left:"-4px"}})}const Ie=(It=ht.find(De=>De.name==ln))==null?void 0:It.ptimg;return ae.createElement("img",{className:le.sign,src:Ie,style:{left:`${48+52*(ra-1)+2*ra}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ft==null?void 0:Ft.excellent)&&ae.createElement("div",{className:le.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:le.name},ae.createElement(Oe.Z,{title:Kt&&(Ft!=null&&Ft.excellent_alias_name)?ae.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ve}`,ae.createElement("br",null),ae.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ft==null?void 0:Ft.excellent_alias_name}`)):Ve},ae.createElement("span",{className:le.e},Kt&&(Ft==null?void 0:Ft.excellent_alias_name)||Ve))),ae.createElement("div",{className:le.tags},ae.createElement("div",null,ae.createElement(Oe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,Ft.stages_count))),ae.createElement(Oe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ae.createElement("span",null,Ft.members_count)))))))})),!Ne.length&&ae.createElement(de.Z,null)))}},30001:function(ct,Et,te){"use strict";te.d(Et,{jL:function(){return Fe},w9:function(){return Ft},QD:function(){return _t},cQ:function(){return rt.Z},op:function(){return ga},O5:function(){return Hr},_b:function(){return qn},t7:function(){return b},Gi:function(){return En},YG:function(){return Pt},qp:function(){return et},vr:function(){return ca},qE:function(){return Yn},Je:function(){return ae},wb:function(){return We},cq:function(){return ra},tp:function(){return ue}});var le=te(67294),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"},Oe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kTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Fe=({dataSource:An=[],img:On,imgWidth:bn=346,title:wn,sunTitle:Ja,bannerExtraContent:Nr})=>le.createElement("div",{className:ve.banner},le.createElement("div",{className:ve.content},le.createElement("aside",null,le.createElement("p",null,le.createElement("b",null,wn),le.createElement("span",null,Ja)),An.length>0&&le.createElement("div",{className:ve.btns},An.map((Rn,nt)=>le.createElement("div",{key:nt,onClick:Rn.click},Rn.name,Rn.sign?le.createElement("img",{src:Oe,width:39}):null))),Nr),On&&le.createElement("img",{style:{marginTop:33,marginRight:38},src:On,width:bn}))),Ze={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"},de=te(94184),ze=te.n(de),Ke=te(96486),et=({dataSource:An=[],value:On,onChange:bn,onTitleChange:wn,className:Ja,title:Nr,titleWidth:Rn=41,style:nt={},fontColor:dt="#6A7283",showCount:_e})=>{const[Zt,hn]=(0,le.useState)(0),[Hn,La]=(0,le.useState)(!1),Jn=(0,le.useRef)(null),Nn=(0,le.useRef)(null);return(0,le.useEffect)(()=>{var va;An.length!==0&&(((va=Jn==null?void 0:Jn.current)==null?void 0:va.clientHeight)>97?hn(1):hn(0)),An.length===0&&hn(0),La(!1)},[An]),le.createElement("div",{className:ze()(Ze.row,Ja),style:nt},le.createElement("div",{onClick:(0,Ke.throttle)(()=>wn==null?void 0:wn(),2e3),style:{width:Rn,marginTop:Hn?12:4},className:`${Ze.title} ${wn?"current":""}`},Nr),le.createElement("div",{className:Hn?`${Ze.tagsWrap} ${Ze.tagsBorderWrap}`:Ze.tagsWrap},le.createElement("div",{className:Ze.bar,ref:Nn,style:Zt>0?{height:Zt===1?97:"auto",overflow:Zt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},le.createElement("div",{className:Ze.tag,ref:Jn},An==null?void 0:An.map(va=>le.createElement("span",{onClick:()=>bn(va.id),key:va.id,style:{color:dt},className:On===va.id?Ze.active:""},le.createElement("span",{title:va.name,className:Ze.name},va.name),!!_e&&le.createElement("span",{className:Ze.num},va.count))))),!!Zt&&le.createElement(le.Fragment,null,Zt===1?le.createElement("div",{onClick:()=>{var va;hn(2),((va=Jn==null?void 0:Jn.current)==null?void 0:va.clientHeight)>245?La(!0):La(!1)},className:Ze.action},"\u5C55\u5F00",le.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):le.createElement("div",{onClick:()=>{Nn.current.scrollTop=0,hn(1),La(!1)},className:Ze.action},"\u6536\u8D77",le.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},je={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"},ue=({dataSource:An=[],value:On,onChange:bn,className:wn,style:Ja={}})=>le.createElement("div",{style:Ja,className:ze()(je.tabs,wn)},An.map(Nr=>le.createElement("span",{onClick:()=>bn(Nr.id),className:On===Nr.id?je.active:"",key:Nr.id},Nr.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=te(69677),b=({dataSource:An=[],value:On="",onChange:bn,onInputChange:wn=()=>{},className:Ja,style:Nr={},placeholder:Rn,allowClear:nt=!1})=>{var dt;const[_e,Zt]=(0,le.useState)(""),[hn,Hn]=(0,le.useState)("");(0,le.useEffect)(()=>{var Nn;let va=On;(Nn=JSON.stringify(On))!=null&&Nn.includes("{")&&(Zt(On.id),va=On.value||"");try{Hn(decodeURIComponent(va||""))}catch(fo){Hn(decodeURIComponent(va||""))}},[On]);const La=()=>{bn(encodeURIComponent(hn),_e||null)},Jn=Nn=>{Nn!==_e&&(Zt(Nn),bn(encodeURIComponent(hn),Nn))};return le.createElement("div",{className:ze()(y.input,Ja),style:Nr},!!An.length&&le.createElement("div",{className:y.dropdown},le.createElement("div",{className:y.text},(dt=An.find(Nn=>Nn.id===_e))==null?void 0:dt.name,le.createElement("i",{className:"iconfont icon-zhankai4"}),le.createElement("b",{className:y.b1}),le.createElement("b",{className:y.b2})),le.createElement("div",{className:y.menu},An.map((Nn,va)=>le.createElement("div",{key:va,onClick:()=>Jn(Nn.id)},Nn.name)))),le.createElement(a.default,{onPressEnter:La,value:hn,onChange:Nn=>{Hn(Nn.target.value),wn(encodeURIComponent(Nn.target.value),_e||null)},bordered:!1,placeholder:Rn}),le.createElement("i",{onClick:La,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"},ae=({value:An,onChange:On,className:bn,total:wn,pageSize:Ja,style:Nr={}})=>{const Rn=An<2,nt=An>=Math.ceil(wn/Ja);return wn<=Ja?le.createElement(le.Fragment,null):le.createElement("div",{className:ze()(E.quickPager,bn),style:Nr},le.createElement("div",{onClick:()=>{Rn||On(An-1,"prev")},className:Rn?E.disabled:""},"\u4E0A\u4E00\u9875"),le.createElement("div",{onClick:()=>{nt||On(An+1,"next")},className:nt?E.disabled:""},"\u4E0B\u4E00\u9875"))},re={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=te(57953),fe=te(83062),Se=te(12604),Ne=te(11320),be=te(28706),xe=te(96908),pe=te(57177),st=te(81378),Qe=te(26194),We=({className:An,dataSource:On=[],col:bn=4,right:wn,bottom:Ja=23,precision:Nr=0,wrapWidth:Rn=1200,trackEventItems:nt,loading:dt})=>{const _e=Math.floor((Rn-(bn-1)*wn)/bn);return le.createElement(ne.Z,{spinning:dt},le.createElement("div",{className:ze()(re.list,An)},!!On.length&&On.map((Zt,hn)=>{const{name:Hn,id:La,identifier:Jn,power:Nn,cover_image_id:va,pic:fo}=Zt;return le.createElement("div",{className:re.wrap,key:La,style:{width:_e,marginRight:(1+hn)%bn===0?0:wn+Nr,marginBottom:Ja}},le.createElement("a",{target:"_blank",href:`/shixuns/${Jn}/challenges`,className:re.li,onClick:Cn=>{Cn.preventDefault(),nt&&(0,be.L9)([nt]),Nn&&(0,be.xg)(`/shixuns/${Jn}/challenges`)}},le.createElement("div",{className:re.img},le.createElement("img",{className:re.cover,src:`${fo}`}),Zt.is_jupyter&&le.createElement("img",{className:re.sign,src:xe}),Zt.is_jupyter_lab&&le.createElement("img",{className:re.sign,src:pe}),Zt.is_unity_3d&&le.createElement("img",{className:re.sign,src:st})),le.createElement("div",{className:re.name},le.createElement(fe.Z,{title:Hn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:re.e},Hn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{className:re.tags},le.createElement(fe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,Zt.challenges_count))),!!Zt.myshixuns_count&&le.createElement(fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),le.createElement("span",null,Zt.myshixuns_count))),le.createElement(fe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},le.createElement("span",null,le.createElement("span",null,Zt.level))),le.createElement("div",{className:re.rate},le.createElement(Se.Z,{allowHalf:!0,disabled:!0,defaultValue:Zt.score_info}),le.createElement("span",null,"\xA0",Zt.score_info?`${Zt.score_info}\u5206`:"5\u5206")))),!Nn&&le.createElement("div",{className:re.lockWrap},le.createElement("img",{src:`${Ne.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!On.length&&le.createElement(Qe.Z,null)))},rt=te(9897),bt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+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seAAAAAElFTkSuQmCC",Mt=te(67294),Ft=({className:An,dataSource:On=[],col:bn=4,right:wn,bottom:Ja=23,precision:Nr=0,wrapWidth:Rn=1200,trackEventItems:nt,loading:dt})=>{const _e=Math.floor((Rn-(bn-1)*wn)/bn);return Mt.createElement(ne.Z,{spinning:dt},Mt.createElement("div",{className:ze()(bt.list,An)},!!On.length&&On.map((Zt,hn)=>{const{subject_identifier:Hn,id:La,identifier:Jn,power:Nn}=Zt,va=Zt.is_public!=0&&Zt.is_public;return Mt.createElement("div",{className:bt.wrap,key:La,style:{width:_e,marginRight:(1+hn)%bn===0?0:wn+Nr,marginBottom:Ja}},Mt.createElement("a",{className:bt.li,onClick:fo=>{fo.preventDefault(),nt&&(0,be.L9)([nt]),(0,be.xg)(Zt.first_category_url)}},Mt.createElement("div",{className:bt.top},Mt.createElement(fe.Z,{title:Zt.name},Mt.createElement("div",{className:bt.name},Zt.name)),Mt.createElement("img",{className:bt.img,src:Ne.Z.IMG_SERVER+"/images/"+Zt.avatar_url}),Mt.createElement("div",{className:bt.text,title:Zt.creator},Zt.creator),Hn&&Mt.createElement("div",{className:bt.btns},Mt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Mt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),va&&Mt.createElement("div",{className:bt.sign},"\u516C\u5F00")),Mt.createElement("div",{className:bt.bottom},Zt.visits>0&&Mt.createElement(fe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Mt.createElement("span",null,Mt.createElement("i",{className:"iconfont icon-liulanyan"}),Mt.createElement("span",null,Zt.visits))),Zt.course_members_count>0&&Mt.createElement(fe.Z,{title:"\u6210\u5458",placement:"bottom"},Mt.createElement("span",null,Mt.createElement("i",{className:"iconfont icon-chengyuan"}),Zt.course_members_count)),Zt.tasks_count>0&&Mt.createElement(fe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Mt.createElement("span",null,Mt.createElement("i",{className:"iconfont icon-zuoye"}),Zt.tasks_count)),Zt.is_end?Mt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Mt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Zt.is_accessible&&Mt.createElement("div",{className:bt.lockWrap},Mt.createElement("img",{src:`${Ne.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Mt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!On.length&&Mt.createElement(Qe.Z,null)))},Wt={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"},nn=te(35973),Pt=({dataSource:An=[],value:On,onChange:bn,className:wn,style:Ja={},tabBarExtraContent:Nr})=>le.createElement("div",{className:ze()(Wt.tabs,wn),style:Ja},le.createElement("div",{className:Wt.tabsWrap},An.map((Rn,nt)=>le.createElement("aside",{className:Wt.tab,onClick:()=>{bn(Rn.id),Rn.link&&nn.history.push(Rn.link)},key:nt},le.createElement("div",{className:On===Rn.id?Wt.active:""},Rn.name),(Rn==null?void 0:Rn.resetCount)==null&&(Rn==null?void 0:Rn.total)!==void 0&&le.createElement("span",null,"\uFF08",Rn==null?void 0:Rn.total,"\uFF09"),(Rn==null?void 0:Rn.resetCount)!==void 0&&(Rn==null?void 0:Rn.total)!==void 0&&le.createElement(fe.Z,{title:(Rn==null?void 0:Rn.tip)!=null?Rn==null?void 0:Rn.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},Rn==null?void 0:Rn.resetCount),"/",le.createElement("span",null,Rn==null?void 0:Rn.total),"\uFF09"))))),le.createElement("div",{className:Wt.tabBar},Nr)),En=({className:An,style:On={},children:bn})=>le.createElement("div",{className:ze()(An),style:On},bn),at={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"},Lt=te(85418),Ce=te(68508);const on=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ra=({sortValue:An,dropValue:On,className:bn,onSort:wn,onDrop:Ja,dataSource:Nr=on})=>{var Rn;return le.createElement("div",{className:ze()(at.orderWrap,bn)},le.createElement(Lt.Z,{dropdownRender:()=>le.createElement(Ce.default,null,Nr.map((nt,dt)=>le.createElement(Ce.default.Item,{key:dt,onClick:()=>Ja(nt.id)},nt.name)))},le.createElement("span",{className:at.orderTextWrap},(Rn=Nr.find(nt=>On===nt.id))==null?void 0:Rn.name)),le.createElement("span",{className:at.orderIconWrap},le.createElement("span",{className:at.orderAsc},le.createElement("i",{className:An==="asc"?`iconfont icon-sanjiaoxing-up font12 ${at.cursorPointer} ${at.active}`:`iconfont icon-sanjiaoxing-up font12 ${at.cursorPointer}`,onClick:()=>wn(An==="asc"?"desc":"asc")})),le.createElement("span",{className:at.orderDesc},le.createElement("i",{className:An==="desc"?`iconfont icon-sanjiaoxing-down font12 ${at.cursorPointer} ${at.active}`:`iconfont icon-sanjiaoxing-down font12 ${at.cursorPointer}`,onClick:()=>wn(An==="asc"?"desc":"asc")}))))},Bn={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"},It=te(71577),Ie=Object.defineProperty,De=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,jt=(An,On,bn)=>On in An?Ie(An,On,{enumerable:!0,configurable:!0,writable:!0,value:bn}):An[On]=bn,gn=(An,On)=>{for(var bn in On||(On={}))ft.call(On,bn)&&jt(An,bn,On[bn]);if(De)for(var bn of De(On))kt.call(On,bn)&&jt(An,bn,On[bn]);return An},tn=(An,On)=>{var bn={};for(var wn in An)ft.call(An,wn)&&On.indexOf(wn)<0&&(bn[wn]=An[wn]);if(An!=null&&De)for(var wn of De(An))On.indexOf(wn)<0&&kt.call(An,wn)&&(bn[wn]=An[wn]);return bn},xn=(An,On,bn)=>new Promise((wn,Ja)=>{var Nr=dt=>{try{nt(bn.next(dt))}catch(_e){Ja(_e)}},Rn=dt=>{try{nt(bn.throw(dt))}catch(_e){Ja(_e)}},nt=dt=>dt.done?wn(dt.value):Promise.resolve(dt.value).then(Nr,Rn);nt((bn=bn.apply(An,On)).next())}),ga=An=>{var On=An,{className:bn,style:wn,children:Ja,loading:Nr=!1,openLoading:Rn,onClick:nt=()=>{},size:dt="middle",shape:_e="round"}=On,Zt=tn(On,["className","style","children","loading","openLoading","onClick","size","shape"]);const[hn,Hn]=(0,le.useState)(!1);return le.createElement(It.ZP,gn({onClick:(0,Ke.throttle)(La=>xn(void 0,null,function*(){Rn&&Hn(!0);try{yield nt(La)}catch(Jn){console.log("error",Jn)}Rn&&Hn(!1)}),2e3,{leading:!0,trailing:!1}),className:ze()(Bn.btn,Bn[`${dt}-${_e}`],bn),style:wn,size:dt,shape:_e,loading:hn||Nr},Zt),Ja)},Te={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"},Yn=({className:An,style:On,children:bn=null,onClick:wn,title:Ja})=>le.createElement("div",{className:ze()(Te.head,An),style:On},le.createElement("span",{className:"primary-hover",onClick:wn},le.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),le.createElement("b",{title:Ja},Ja),le.createElement("div",{className:Te.node},bn)),Mn={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"},_t=({confirmShow:An=!0,confirmTitle:On,confirmClick:bn,cancelShow:wn=!0,cancelTitle:Ja,cancelClick:Nr,className:Rn,style:nt,confirmLoading:dt=!1})=>le.createElement("div",{className:ze()(Mn.btns,Rn),style:nt},An&&le.createElement(It.ZP,{loading:dt,onClick:bn,type:"primary",className:Mn.confirm},On),wn&&le.createElement(It.ZP,{onClick:Nr,className:Mn.cancel},Ja)),ea={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"},ca=({className:An,style:On={},LeftContent:bn,children:wn,RightContent:Ja})=>le.createElement("div",{className:ze()(ea.fixedBottom,An),style:On},le.createElement("div",{className:ea.wrap},le.createElement("div",{className:ea.left},bn),le.createElement("div",{className:ea.center},wn),le.createElement("div",{className:ea.right},Ja))),In={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"},qn=({className:An,style:On={},dataSource:bn=[]})=>le.createElement("div",{className:ze()(In.crumbs,An),style:On},bn.map((wn,Ja)=>Ja<bn.length-1?le.createElement(le.Fragment,{key:Ja},wn.path||wn.onClick?le.createElement("span",{className:In.hover,onClick:wn!=null&&wn.onClick?wn.onClick:()=>nn.history.push(wn.path)},wn.name):le.createElement("span",null,wn.name),le.createElement("span",null,"\xA0",">","\xA0")):le.createElement("span",{key:Ja,style:{color:"#5F6368"}},wn.name))),cr=te(55054),Ga=Object.defineProperty,za=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,Va=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,ko=(An,On,bn)=>On in An?Ga(An,On,{enumerable:!0,configurable:!0,writable:!0,value:bn}):An[On]=bn,Yo=(An,On)=>{for(var bn in On||(On={}))Mr.call(On,bn)&&ko(An,bn,On[bn]);if(Va)for(var bn of Va(On))oo.call(On,bn)&&ko(An,bn,On[bn]);return An},ti=(An,On)=>za(An,Zr(On)),fi=(An,On)=>{var bn={};for(var wn in An)Mr.call(An,wn)&&On.indexOf(wn)<0&&(bn[wn]=An[wn]);if(An!=null&&Va)for(var wn of Va(An))On.indexOf(wn)<0&&oo.call(An,wn)&&(bn[wn]=An[wn]);return bn};const{Countdown:Io}=cr.default;var Hr=An=>{var On=An,{onChange:bn}=On,wn=fi(On,["onChange"]);const[Ja,Nr]=(0,le.useState)(null);(0,le.useEffect)(()=>{typeof Ja=="number"&&Ja>=0&&bn(Ja)},[Ja]);const Rn=nt=>{const dt=Math.floor(nt/1e3);Nr(dt)};return le.createElement(Io,ti(Yo({},wn),{onChange:Rn}))}},99914:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return ve}});var le=te(67294);function ve(Oe,Ge){const Fe=(0,le.useRef)();(0,le.useEffect)(()=>{Fe.current=Oe}),(0,le.useEffect)(()=>{function Ze(){Fe.current()}if(Ge!==null){let de=setInterval(Ze,Ge);return()=>clearInterval(de)}},[Ge])}},66443:function(ct,Et,te){"use strict";te.r(Et),te.d(Et,{default:function(){return Ot}});var le=te(67294),ve={contWrap:"contWrap___hFDy4",header:"header___tgrER",headTitle:"headTitle___DXc3n",searchWrap:"searchWrap___ZdBIE",wrap1:"wrap1___AUzln",editBtn:"editBtn___Ppg_D"},Oe=te(35973),Ge=te(22150),Fe=te(14446),Ze=te(2453),de=te(57953),ze=te(96074),Ke=te(42563),He=te(20669),et=te(9430),je=te(71577),we=te(69677),ue=te(30001),y=te(35567),a=te(85725),x=te(26194),b=te(41805),E=te(52262),z=te(67294),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,be=(We,rt,bt)=>rt in We?ae(We,rt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):We[rt]=bt,xe=(We,rt)=>{for(var bt in rt||(rt={}))Se.call(rt,bt)&&be(We,bt,rt[bt]);if(fe)for(var bt of fe(rt))Ne.call(rt,bt)&&be(We,bt,rt[bt]);return We},pe=(We,rt)=>re(We,ne(rt)),st=(We,rt,bt)=>new Promise((Kt,Mt)=>{var ht=nn=>{try{Wt(bt.next(nn))}catch(Ve){Mt(Ve)}},Ft=nn=>{try{Wt(bt.throw(nn))}catch(Ve){Mt(Ve)}},Wt=nn=>nn.done?Kt(nn.value):Promise.resolve(nn.value).then(ht,Ft);Wt((bt=bt.apply(We,rt)).next())});const Qe=({declaration:We,user:rt,dispatch:bt,loading:Kt})=>{const[Mt]=Ge.default.useForm(),[ht,Ft]=(0,le.useState)([{}]),[Wt,nn]=(0,le.useState)(0),[Ve,Pt]=(0,le.useState)(!1),[Dt,En]=(0,le.useState)(!1),[at,Lt]=(0,le.useState)(""),[Ce,on]=(0,le.useState)(""),[ln,ra]=(0,le.useState)({page:1,limit:10,status:1,keyword:"",year:""}),[Bn,It]=(0,le.useState)(!1),[Ie,De]=(0,le.useState)({}),ft=[{title:"\u7C7B\u578B",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:tn=>z.createElement("span",null,tn==1&&z.createElement("span",null,"\u79D1\u7814\u7C7B"),tn==2&&z.createElement("span",null,"\u6559\u5B66\u7C7B"),tn==3&&z.createElement("span",null,"\u793E\u4F1A\u6D3B\u52A8\u7C7B"))},{title:"\u5E74\u5EA6\u57FA\u672C\u5DE5\u4F5C\u91CF",align:"left",ellipsis:!0,dataIndex:"title",render:tn=>z.createElement("span",null,tn||"--")},{title:"\u5E74\u5EA6",align:"left",ellipsis:!0,dataIndex:"topic",render:tn=>z.createElement("span",null,tn||"--")},{title:"\u521B\u5EFA\u4EBA",align:"left",ellipsis:!0,dataIndex:"director",render:tn=>z.createElement("span",null,tn||"--")},{title:"\u521B\u5EFA\u65F6\u95F4",align:"left",ellipsis:!0,dataIndex:"document_number",render:tn=>z.createElement("span",null,tn||"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:160,ellipsis:!0,dataIndex:"school_name",render:(tn,xn)=>z.createElement(z.Fragment,null,z.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{It(!0),De(xe({},xn))}},"\u7F16\u8F91"),z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Fe.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>st(void 0,null,function*(){(yield(0,b.UX)({id:xn==null?void 0:xn.id})).status===0&&(Ze.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),kt())})})}},"\u5220\u9664"))}];(0,le.useEffect)(()=>{kt(),jt()},[]);const kt=()=>st(void 0,null,function*(){var tn,xn;Pt(!0);const dn=yield(0,b.Dn)(xe({declare_type:15},ln));(dn==null?void 0:dn.status)===0&&(Ft(((tn=dn==null?void 0:dn.data)==null?void 0:tn.list)||[]),nn(((xn=dn==null?void 0:dn.data)==null?void 0:xn.count)||0)),Pt(!1)}),jt=()=>st(void 0,null,function*(){var tn,xn;const dn=yield(0,b.Xi)({declare_type:15});(dn==null?void 0:dn.status)===0&&(Lt(((tn=dn==null?void 0:dn.data)==null?void 0:tn.content)||"\u6682\u65E0\u6570\u636E"),on(((xn=dn==null?void 0:dn.data)==null?void 0:xn.content)||"\u6682\u65E0\u6570\u636E"))}),gn=()=>st(void 0,null,function*(){if((at==null?void 0:at.length)>1e3){Ze.ZP.info("\u5B57\u6570\u4E0D\u80FD\u8D85\u8FC71000\u5B57\uFF01");return}const tn=yield(0,b.kF)({declare_type:15,content:at});(tn==null?void 0:tn.status)===0&&(En(!1),Ze.ZP.success("\u7F16\u8F91\u6210\u529F!"))});return z.createElement(de.Z,{spinning:Ve},z.createElement("div",{className:ve.contWrap},z.createElement("div",{className:ve.header},z.createElement("div",{className:ve.headTitle},"\u5E74\u5EA6\u57FA\u672C\u5DE5\u4F5C\u91CF\u7BA1\u7406"),z.createElement("div",null,z.createElement(ue.op,{shape:"default",onClick:()=>{It(!0),De({})}},"\u6DFB\u52A0"))),z.createElement(ze.Z,{style:{margin:"12px 0px 20px 0px"}}),z.createElement("div",{className:ve.searchWrap},z.createElement(Ke.default,{size:"large",defaultValue:ln.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:tn=>{ln.status=tn,ra(xe({},ln)),ln.page=1,kt()},options:[{value:1,label:"\u79D1\u7814\u7C7B"},{value:2,label:"\u6559\u5B66\u7C7B"},{value:3,label:"\u793E\u4F1A\u6D3B\u52A8\u7C7B"}]}),z.createElement(He.default,{picker:"year",style:{width:260,borderRadius:2},size:"large",onChange:(tn,xn)=>{ln.year=xn,ra(xe({},ln)),ln.page=1,kt()},format:"YYYY"}),z.createElement(ue.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:ln.keyword,onChange:tn=>{ln.page=1,ln.keywords=tn,ra(xe({},ln)),kt()}})),z.createElement("div",null,z.createElement(et.default,{dataSource:ht,pagination:{total:Wt||0,size:"default",onChange:(tn,xn)=>{ln.page=tn,ln.limit=xn,ra(xe({},ln)),kt()},current:ln==null?void 0:ln.page,pageSize:ln==null?void 0:ln.limit,showTotal:tn=>z.createElement(z.Fragment,null,"\u5171",z.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},tn),"\u6761\u6570\u636E")},columns:ft,locale:{emptyText:z.createElement(x.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),z.createElement(ze.Z,{style:{margin:"30px 0px"}}),Dt?z.createElement("div",null,z.createElement(y.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:at,id:"editContent",onChange:tn=>{Lt(tn)}}),z.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},z.createElement(ue.op,{shape:"default",onClick:()=>{En(!1),Lt(Ce)}},"\u53D6\u6D88"),z.createElement(je.ZP,{className:"ml20",type:"primary",onClick:()=>st(void 0,null,function*(){yield gn()})},"\u63D0\u4EA4"))):z.createElement("div",{className:ve.wrap1},(0,E.Ny)()&&z.createElement("div",{className:ve.editBtn,onClick:()=>{En(!0)}},z.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),z.createElement(a.Z,{className:"discuss-content",value:at,style:{fontSize:"12px",color:"#232B40"}})),z.createElement(Fe.default,{centered:!0,open:Bn,title:`${Ie!=null&&Ie.id?"\u7F16\u8F91":"\u6DFB\u52A0"}\u5E74\u5EA6\u57FA\u672C\u5DE5\u4F5C\u91CF`,width:600,onCancel:()=>It(!1),onOk:()=>Mt.submit(),afterClose:()=>{Mt.resetFields()}},z.createElement(Ge.default,{form:Mt,colon:!1,labelCol:{span:5},onFinish:()=>st(void 0,null,function*(){yield Mt.validateFields();let tn={status:-1};Ie!=null&&Ie.id?tn=yield(0,b.Bb)(pe(xe({},Mt.getFieldsValue()),{id:Ie==null?void 0:Ie.id,declare_type:15})):tn=yield(0,b.eu)(pe(xe({},Mt.getFieldsValue()),{declare_type:15})),(tn==null?void 0:tn.status)===0&&(Ze.ZP.success(Ie!=null&&Ie.id?"\u64CD\u4F5C\u6210\u529F!":"\u4FDD\u5B58\u6210\u529F\uFF01"),It(!1),kt())})},z.createElement(Ge.default.Item,{label:"\u7C7B\u578B",name:"type_id",style:{marginTop:"10px"},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7C7B\u578B"}]},z.createElement(Ke.default,{placeholder:"\u8BF7\u9009\u62E9\u7C7B\u578B",size:"large",options:[{label:"\u79D1\u7814\u7C7B",value:1},{label:"\u6559\u5B66\u7C7B",value:2},{label:"\u793E\u4F1A\u6D3B\u52A8\u7C7B",value:3}]})),z.createElement(Ge.default.Item,{label:"\u5E74\u4EFD",name:"year",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E74\u4EFD"}]},z.createElement(He.default,{picker:"year",size:"large",style:{width:"100%"},format:"YYYY"})),z.createElement(Ge.default.Item,{label:"\u5E74\u5EA6\u57FA\u672C\u5DE5\u4F5C\u91CF",name:"workload",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u57FA\u672C\u5DE5\u4F5C\u91CF"}]},z.createElement(we.default,{placeholder:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u57FA\u672C\u5DE5\u4F5C\u91CF",size:"large",maxLength:200}))))))};var Ot=(0,Oe.connect)(({declaration:We,loading:rt,user:bt})=>({declaration:We,loading:rt,user:bt}))(Qe)},38780:function(ct,Et){"use strict";function te(){const le=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ve=1;ve<arguments.length;ve++){const Oe=ve<0||arguments.length<=ve?void 0:arguments[ve];Oe&&Object.keys(Oe).forEach(Ge=>{const Fe=Oe[Ge];Fe!==void 0&&(le[Ge]=Fe)})}return le}Et.Z=te},66367:function(ct,Et,te){"use strict";te.d(Et,{F:function(){return le},Z:function(){return ve}});function le(Oe){return Oe!=null&&Oe===Oe.window}function ve(Oe,Ge){var Fe,Ze;if(typeof window=="undefined")return 0;const de=Ge?"scrollTop":"scrollLeft";let ze=0;return le(Oe)?ze=Oe[Ge?"pageYOffset":"pageXOffset"]:Oe instanceof Document?ze=Oe.documentElement[de]:(Oe instanceof HTMLElement||Oe)&&(ze=Oe[de]),Oe&&!le(Oe)&&typeof ze!="number"&&(ze=(Ze=((Fe=Oe.ownerDocument)!==null&&Fe!==void 0?Fe:Oe).documentElement)===null||Ze===void 0?void 0:Ze[de]),ze}},57838:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return ve}});var le=te(67294);function ve(){const[,Oe]=le.useReducer(Ge=>Ge+1,0);return Oe}},58375:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return Ge}});var le=te(96523);function ve(Fe,Ze,de,ze){const Ke=de-Ze;return Fe/=ze/2,Fe<1?Ke/2*Fe*Fe*Fe+Ze:Ke/2*((Fe-=2)*Fe*Fe+2)+Ze}var Oe=te(66367);function Ge(Fe){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:de=()=>window,callback:ze,duration:Ke=450}=Ze,He=de(),et=(0,Oe.Z)(He,!0),je=Date.now(),we=()=>{const y=Date.now()-je,a=ve(y>Ke?Ke:y,et,Fe,Ke);(0,Oe.F)(He)?He.scrollTo(window.pageXOffset,a):He instanceof Document||He.constructor.name==="HTMLDocument"?He.documentElement.scrollTop=a:He.scrollTop=a,y<Ke?(0,le.Z)(we):typeof ze=="function"&&ze()};(0,le.Z)(we)}},84567:function(ct,Et,te){"use strict";te.d(Et,{default:function(){return fe}});var le=te(94184),ve=te.n(le),Oe=te(95860),Ge=te(67294),Fe=te(53124),Ze=te(98866),de=te(65223),Ke=Ge.createContext(null),He=te(63185),et=te(45353),je=te(92429),we=function(Se,Ne){var be={};for(var xe in Se)Object.prototype.hasOwnProperty.call(Se,xe)&&Ne.indexOf(xe)<0&&(be[xe]=Se[xe]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,xe=Object.getOwnPropertySymbols(Se);pe<xe.length;pe++)Ne.indexOf(xe[pe])<0&&Object.prototype.propertyIsEnumerable.call(Se,xe[pe])&&(be[xe[pe]]=Se[xe[pe]]);return be};const ue=(Se,Ne)=>{var be;const{prefixCls:xe,className:pe,rootClassName:st,children:Qe,indeterminate:Ot=!1,style:We,onMouseEnter:rt,onMouseLeave:bt,skipGroup:Kt=!1,disabled:Mt}=Se,ht=we(Se,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ft,direction:Wt,checkbox:nn}=Ge.useContext(Fe.E_),Ve=Ge.useContext(Ke),{isFormItemInput:Pt}=Ge.useContext(de.aM),Dt=Ge.useContext(Ze.Z),En=(be=(Ve==null?void 0:Ve.disabled)||Mt)!==null&&be!==void 0?be:Dt,at=Ge.useRef(ht.value);Ge.useEffect(()=>{Ve==null||Ve.registerValue(ht.value)},[]),Ge.useEffect(()=>{if(!Kt)return ht.value!==at.current&&(Ve==null||Ve.cancelValue(at.current),Ve==null||Ve.registerValue(ht.value),at.current=ht.value),()=>Ve==null?void 0:Ve.cancelValue(ht.value)},[ht.value]);const Lt=Ft("checkbox",xe),[Ce,on]=(0,He.ZP)(Lt),ln=Object.assign({},ht);Ve&&!Kt&&(ln.onChange=function(){ht.onChange&&ht.onChange.apply(ht,arguments),Ve.toggleOption&&Ve.toggleOption({label:Qe,value:ht.value})},ln.name=Ve.name,ln.checked=Ve.value.includes(ht.value));const ra=ve()(`${Lt}-wrapper`,{[`${Lt}-rtl`]:Wt==="rtl",[`${Lt}-wrapper-checked`]:ln.checked,[`${Lt}-wrapper-disabled`]:En,[`${Lt}-wrapper-in-form-item`]:Pt},nn==null?void 0:nn.className,pe,st,on),Bn=ve()({[`${Lt}-indeterminate`]:Ot},je.A,on),It=Ot?"mixed":void 0;return Ce(Ge.createElement(et.Z,{component:"Checkbox",disabled:En},Ge.createElement("label",{className:ra,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),We),onMouseEnter:rt,onMouseLeave:bt},Ge.createElement(Oe.Z,Object.assign({"aria-checked":It},ln,{prefixCls:Lt,className:Bn,disabled:En,ref:Ne})),Qe!==void 0&&Ge.createElement("span",null,Qe))))};var a=Ge.forwardRef(ue),x=te(74902),b=te(10366),E=function(Se,Ne){var be={};for(var xe in Se)Object.prototype.hasOwnProperty.call(Se,xe)&&Ne.indexOf(xe)<0&&(be[xe]=Se[xe]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,xe=Object.getOwnPropertySymbols(Se);pe<xe.length;pe++)Ne.indexOf(xe[pe])<0&&Object.prototype.propertyIsEnumerable.call(Se,xe[pe])&&(be[xe[pe]]=Se[xe[pe]]);return be};const z=(Se,Ne)=>{const{defaultValue:be,children:xe,options:pe=[],prefixCls:st,className:Qe,rootClassName:Ot,style:We,onChange:rt}=Se,bt=E(Se,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Kt,direction:Mt}=Ge.useContext(Fe.E_),[ht,Ft]=Ge.useState(bt.value||be||[]),[Wt,nn]=Ge.useState([]);Ge.useEffect(()=>{"value"in bt&&Ft(bt.value||[])},[bt.value]);const Ve=Ge.useMemo(()=>pe.map(Ie=>typeof Ie=="string"||typeof Ie=="number"?{label:Ie,value:Ie}:Ie),[pe]),Pt=Ie=>{nn(De=>De.filter(ft=>ft!==Ie))},Dt=Ie=>{nn(De=>[].concat((0,x.Z)(De),[Ie]))},En=Ie=>{const De=ht.indexOf(Ie.value),ft=(0,x.Z)(ht);De===-1?ft.push(Ie.value):ft.splice(De,1),"value"in bt||Ft(ft),rt==null||rt(ft.filter(kt=>Wt.includes(kt)).sort((kt,jt)=>{const gn=Ve.findIndex(xn=>xn.value===kt),tn=Ve.findIndex(xn=>xn.value===jt);return gn-tn}))},at=Kt("checkbox",st),Lt=`${at}-group`,[Ce,on]=(0,He.ZP)(at),ln=(0,b.Z)(bt,["value","disabled"]),ra=pe.length?Ve.map(Ie=>Ge.createElement(a,{prefixCls:at,key:Ie.value.toString(),disabled:"disabled"in Ie?Ie.disabled:bt.disabled,value:Ie.value,checked:ht.includes(Ie.value),onChange:Ie.onChange,className:`${Lt}-item`,style:Ie.style,title:Ie.title},Ie.label)):xe,Bn={toggleOption:En,value:ht,disabled:bt.disabled,name:bt.name,registerValue:Dt,cancelValue:Pt},It=ve()(Lt,{[`${Lt}-rtl`]:Mt==="rtl"},Qe,Ot,on);return Ce(Ge.createElement("div",Object.assign({className:It,style:We},ln,{ref:Ne}),Ge.createElement(Ke.Provider,{value:Bn},ra)))},ae=Ge.forwardRef(z);var re=Ge.memo(ae);const ne=a;ne.Group=re,ne.__ANT_CHECKBOX=!0;var fe=ne},63185:function(ct,Et,te){"use strict";te.d(Et,{C2:function(){return Fe}});var le=te(14747),ve=te(45503),Oe=te(67968);const Ge=Ze=>{const{checkboxCls:de}=Ze,ze=`${de}-wrapper`;return[{[`${de}-group`]:Object.assign(Object.assign({},(0,le.Wf)(Ze)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ze.marginXS,[`> ${Ze.antCls}-row`]:{flex:1}}),[ze]:Object.assign(Object.assign({},(0,le.Wf)(Ze)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ze}`]:{marginInlineStart:0},[`&${ze}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[de]:Object.assign(Object.assign({},(0,le.Wf)(Ze)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ze.borderRadiusSM,alignSelf:"center",[`${de}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${de}-inner`]:Object.assign({},(0,le.oN)(Ze))},[`${de}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ze.checkboxSize,height:Ze.checkboxSize,direction:"ltr",backgroundColor:Ze.colorBgContainer,border:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorBorder}`,borderRadius:Ze.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ze.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ze.checkboxSize/14*5,height:Ze.checkboxSize/14*8,border:`${Ze.lineWidthBold}px solid ${Ze.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ze.motionDurationFast} ${Ze.motionEaseInBack}, opacity ${Ze.motionDurationFast}`}},"& + span":{paddingInlineStart:Ze.paddingXS,paddingInlineEnd:Ze.paddingXS}})},{[`
|
|
${ze}:not(${ze}-disabled),
|
|
${de}:not(${de}-disabled)
|
|
`]:{[`&:hover ${de}-inner`]:{borderColor:Ze.colorPrimary}},[`${ze}:not(${ze}-disabled)`]:{[`&:hover ${de}-checked:not(${de}-disabled) ${de}-inner`]:{backgroundColor:Ze.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${de}-checked:not(${de}-disabled):after`]:{borderColor:Ze.colorPrimaryHover}}},{[`${de}-checked`]:{[`${de}-inner`]:{backgroundColor:Ze.colorPrimary,borderColor:Ze.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ze.motionDurationMid} ${Ze.motionEaseOutBack} ${Ze.motionDurationFast}`}}},[`
|
|
${ze}-checked:not(${ze}-disabled),
|
|
${de}-checked:not(${de}-disabled)
|
|
`]:{[`&:hover ${de}-inner`]:{backgroundColor:Ze.colorPrimaryHover,borderColor:"transparent"}}},{[de]:{"&-indeterminate":{[`${de}-inner`]:{backgroundColor:Ze.colorBgContainer,borderColor:Ze.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ze.fontSizeLG/2,height:Ze.fontSizeLG/2,backgroundColor:Ze.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ze}-disabled`]:{cursor:"not-allowed"},[`${de}-disabled`]:{[`&, ${de}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${de}-inner`]:{background:Ze.colorBgContainerDisabled,borderColor:Ze.colorBorder,"&:after":{borderColor:Ze.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ze.colorTextDisabled},[`&${de}-indeterminate ${de}-inner::after`]:{background:Ze.colorTextDisabled}}}]};function Fe(Ze,de){const ze=(0,ve.TS)(de,{checkboxCls:`.${Ze}`,checkboxSize:de.controlInteractiveSize});return[Ge(ze)]}Et.ZP=(0,Oe.Z)("Checkbox",(Ze,de)=>{let{prefixCls:ze}=de;return[Fe(ze,Ze)]})},20669:function(ct,Et,te){"use strict";te.d(Et,{default:function(){return Co}});var le=te(97909),ve=te.n(le),Oe=te(68291),Ge=te(33088),Fe=te.n(Ge),Ze=te(26850),de=te.n(Ze),ze=te(23082),Ke=te.n(ze),He=te(99873),et=te.n(He),je=te(86625),we=te.n(je),ue=te(40618),y=te.n(ue);ve().extend(y()),ve().extend(we()),ve().extend(Fe()),ve().extend(de()),ve().extend(Ke()),ve().extend(et()),ve().extend(function(ee,oe){var ie=oe.prototype,ge=ie.format;ie.format=function(Le){var Ee=(Le||"").replace("Wo","wo");return ge.bind(this)(Ee)}});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(oe){var ie=a[oe];return ie||oe.split("_")[0]},b=function(){(0,Oe.ET)(!1,"Not match any format. Please help to fire a issue about this.")},E={getNow:function(){return ve()()},getFixedDate:function(oe){return ve()(oe,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(oe){return oe.endOf("month")},getWeekDay:function(oe){var ie=oe.locale("en");return ie.weekday()+ie.localeData().firstDayOfWeek()},getYear:function(oe){return oe.year()},getMonth:function(oe){return oe.month()},getDate:function(oe){return oe.date()},getHour:function(oe){return oe.hour()},getMinute:function(oe){return oe.minute()},getSecond:function(oe){return oe.second()},addYear:function(oe,ie){return oe.add(ie,"year")},addMonth:function(oe,ie){return oe.add(ie,"month")},addDate:function(oe,ie){return oe.add(ie,"day")},setYear:function(oe,ie){return oe.year(ie)},setMonth:function(oe,ie){return oe.month(ie)},setDate:function(oe,ie){return oe.date(ie)},setHour:function(oe,ie){return oe.hour(ie)},setMinute:function(oe,ie){return oe.minute(ie)},setSecond:function(oe,ie){return oe.second(ie)},isAfter:function(oe,ie){return oe.isAfter(ie)},isValidate:function(oe){return oe.isValid()},locale:{getWeekFirstDay:function(oe){return ve()().locale(x(oe)).localeData().firstDayOfWeek()},getWeekFirstDate:function(oe,ie){return ie.locale(x(oe)).weekday(0)},getWeek:function(oe,ie){return ie.locale(x(oe)).week()},getShortWeekDays:function(oe){return ve()().locale(x(oe)).localeData().weekdaysMin()},getShortMonths:function(oe){return ve()().locale(x(oe)).localeData().monthsShort()},format:function(oe,ie,ge){return ie.locale(x(oe)).format(ge)},parse:function(oe,ie,ge){for(var me=x(oe),Le=0;Le<ge.length;Le+=1){var Ee=ge[Le],Ue=ie;if(Ee.includes("wo")||Ee.includes("Wo")){for(var Ye=Ue.split("-")[0],it=Ue.split("-")[1],Tt=ve()(Ye,"YYYY").startOf("year").locale(me),ut=0;ut<=52;ut+=1){var gt=Tt.add(ut,"week");if(gt.format("Wo")===it)return gt}return b(),null}var vt=ve()(Ue,Ee,!0).locale(me);if(vt.isValid())return vt}return ie&&b(),null}}},z=E,ae=te(8745),re=te(87462),ne=te(67294),fe=te.t(ne,2),Se={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"},Ne=Se,be=te(74643),xe=function(oe,ie){return ne.createElement(be.Z,(0,re.Z)({},oe,{ref:ie,icon:Ne}))},pe=ne.forwardRef(xe),st={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Qe=st,Ot=function(oe,ie){return ne.createElement(be.Z,(0,re.Z)({},oe,{ref:ie,icon:Qe}))},We=ne.forwardRef(Ot),rt=te(16646),bt={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"},Kt=bt,Mt=function(oe,ie){return ne.createElement(be.Z,(0,re.Z)({},oe,{ref:ie,icon:Kt}))},ht=ne.forwardRef(Mt),Ft=te(94184),Wt=te.n(Ft),nn=te(15671),Ve=te(43144),Pt=te(97326),Dt=te(60136),En=te(51630),at=te(4942),Lt=te(1413),Ce=te(97685),on=te(5663),ln=te(1337),ra=te(92739),Bn=te(7699),It=10,Ie=It*10,De=7;function ft(ee,oe){if(!ee&&!oe)return!0;if(!ee||!oe)return!1}function kt(ee,oe,ie){var ge=ft(oe,ie);if(typeof ge=="boolean")return ge;var me=Math.floor(ee.getYear(oe)/10),Le=Math.floor(ee.getYear(ie)/10);return me===Le}function jt(ee,oe,ie){var ge=ft(oe,ie);return typeof ge=="boolean"?ge:ee.getYear(oe)===ee.getYear(ie)}function gn(ee,oe){var ie=Math.floor(ee.getMonth(oe)/3);return ie+1}function tn(ee,oe,ie){var ge=ft(oe,ie);return typeof ge=="boolean"?ge:jt(ee,oe,ie)&&gn(ee,oe)===gn(ee,ie)}function xn(ee,oe,ie){var ge=ft(oe,ie);return typeof ge=="boolean"?ge:jt(ee,oe,ie)&&ee.getMonth(oe)===ee.getMonth(ie)}function dn(ee,oe,ie){var ge=ft(oe,ie);return typeof ge=="boolean"?ge:ee.getYear(oe)===ee.getYear(ie)&&ee.getMonth(oe)===ee.getMonth(ie)&&ee.getDate(oe)===ee.getDate(ie)}function ga(ee,oe,ie){var ge=ft(oe,ie);return typeof ge=="boolean"?ge:ee.getHour(oe)===ee.getHour(ie)&&ee.getMinute(oe)===ee.getMinute(ie)&&ee.getSecond(oe)===ee.getSecond(ie)}function Te(ee,oe,ie,ge){var me=ft(ie,ge);return typeof me=="boolean"?me:jt(ee,ie,ge)&&ee.locale.getWeek(oe,ie)===ee.locale.getWeek(oe,ge)}function ot(ee,oe,ie){return dn(ee,oe,ie)&&ga(ee,oe,ie)}function Yn(ee,oe,ie,ge){return!oe||!ie||!ge?!1:!dn(ee,oe,ge)&&!dn(ee,ie,ge)&&ee.isAfter(ge,oe)&&ee.isAfter(ie,ge)}function Mn(ee,oe,ie){var ge=oe.locale.getWeekFirstDay(ee),me=oe.setDate(ie,1),Le=oe.getWeekDay(me),Ee=oe.addDate(me,ge-Le);return oe.getMonth(Ee)===oe.getMonth(ie)&&oe.getDate(Ee)>1&&(Ee=oe.addDate(Ee,-7)),Ee}function lt(ee,oe,ie){var ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(oe){case"year":return ie.addYear(ee,ge*10);case"quarter":case"month":return ie.addYear(ee,ge);default:return ie.addMonth(ee,ge)}}function _t(ee,oe){var ie=oe.generateConfig,ge=oe.locale,me=oe.format;return typeof me=="function"?me(ee):ie.locale.format(ge.locale,ee,me)}function ea(ee,oe){var ie=oe.generateConfig,ge=oe.locale,me=oe.formatList;return!ee||typeof me[0]=="function"?null:ie.locale.parse(ge.locale,ee,me)}function Un(ee){var oe=ee.cellDate,ie=ee.mode,ge=ee.disabledDate,me=ee.generateConfig;if(!ge)return!1;var Le=function(Ct,qe,St){for(var Ht=qe;Ht<=St;){var cn=void 0;switch(Ct){case"date":{if(cn=me.setDate(oe,Ht),!ge(cn))return!1;break}case"month":{if(cn=me.setMonth(oe,Ht),!Un({cellDate:cn,mode:"month",generateConfig:me,disabledDate:ge}))return!1;break}case"year":{if(cn=me.setYear(oe,Ht),!Un({cellDate:cn,mode:"year",generateConfig:me,disabledDate:ge}))return!1;break}}Ht+=1}return!0};switch(ie){case"date":case"week":return ge(oe);case"month":{var Ee=1,Ue=me.getDate(me.getEndDate(oe));return Le("date",Ee,Ue)}case"quarter":{var Ye=Math.floor(me.getMonth(oe)/3)*3,it=Ye+2;return Le("month",Ye,it)}case"year":return Le("month",0,11);case"decade":{var Tt=me.getYear(oe),ut=Math.floor(Tt/It)*It,gt=ut+It-1;return Le("year",ut,gt)}}}function ca(ee,oe){var ie=oe.formatList,ge=oe.generateConfig,me=oe.locale;return(0,ra.Z)(function(){if(!ee)return[[""],""];for(var Le="",Ee=[],Ue=0;Ue<ie.length;Ue+=1){var Ye=ie[Ue],it=_t(ee,{generateConfig:ge,locale:me,format:Ye});Ee.push(it),Ue===0&&(Le=it)}return[Ee,Le]},[ee,ie,me],function(Le,Ee){return!ot(ge,Le[0],Ee[0])||!(0,Bn.Z)(Le[1],Ee[1],!0)||!(0,Bn.Z)(Le[2],Ee[2],!0)})}function In(ee,oe){var ie=oe.formatList,ge=oe.generateConfig,me=oe.locale,Le=(0,ne.useState)(null),Ee=(0,Ce.Z)(Le,2),Ue=Ee[0],Ye=Ee[1],it=(0,ne.useRef)(null);function Tt(St){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(it.current),Ht){Ye(St);return}it.current=requestAnimationFrame(function(){Ye(St)})}var ut=ca(Ue,{formatList:ie,generateConfig:ge,locale:me}),gt=(0,Ce.Z)(ut,2),vt=gt[1];function Ct(St){Tt(St)}function qe(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Tt(null,St)}return(0,ne.useEffect)(function(){qe(!0)},[ee]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(it.current)}},[]),[vt,Ct,qe]}var fn=te(92389),qn=te(96523),cr=te(74902),Ga=te(48130),za=new Map;function Zr(ee,oe){var ie;function ge(){(0,Ga.Z)(ee)?oe():ie=(0,qn.Z)(function(){ge()})}return ge(),function(){qn.Z.cancel(ie)}}function Va(ee,oe,ie){if(za.get(ee)&&cancelAnimationFrame(za.get(ee)),ie<=0){za.set(ee,requestAnimationFrame(function(){ee.scrollTop=oe}));return}var ge=oe-ee.scrollTop,me=ge/ie*10;za.set(ee,requestAnimationFrame(function(){ee.scrollTop+=me,ee.scrollTop!==oe&&Va(ee,oe,ie-10)}))}function Mr(ee,oe){var ie=oe.onLeftRight,ge=oe.onCtrlLeftRight,me=oe.onUpDown,Le=oe.onPageUpDown,Ee=oe.onEnter,Ue=ee.which,Ye=ee.ctrlKey,it=ee.metaKey;switch(Ue){case fn.Z.LEFT:if(Ye||it){if(ge)return ge(-1),!0}else if(ie)return ie(-1),!0;break;case fn.Z.RIGHT:if(Ye||it){if(ge)return ge(1),!0}else if(ie)return ie(1),!0;break;case fn.Z.UP:if(me)return me(-1),!0;break;case fn.Z.DOWN:if(me)return me(1),!0;break;case fn.Z.PAGE_UP:if(Le)return Le(-1),!0;break;case fn.Z.PAGE_DOWN:if(Le)return Le(1),!0;break;case fn.Z.ENTER:if(Ee)return Ee(),!0;break}return!1}function oo(ee,oe,ie,ge){var me=ee;if(!me)switch(oe){case"time":me=ge?"hh:mm:ss a":"HH:mm:ss";break;case"week":me="gggg-wo";break;case"month":me="YYYY-MM";break;case"quarter":me="YYYY-[Q]Q";break;case"year":me="YYYY";break;default:me=ie?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return me}function ko(ee,oe,ie){var ge=ee==="time"?8:10,me=typeof oe=="function"?oe(ie.getNow()).length:oe.length;return Math.max(ge,me)+2}var Yo=null,ti=new Set;function fi(ee){return!Yo&&typeof window!="undefined"&&window.addEventListener&&(Yo=function(ie){(0,cr.Z)(ti).forEach(function(ge){ge(ie)})},window.addEventListener("mousedown",Yo)),ti.add(ee),function(){ti.delete(ee),ti.size===0&&(window.removeEventListener("mousedown",Yo),Yo=null)}}function Io(ee){var oe=ee.target;if(ee.composed&&oe.shadowRoot){var ie;return((ie=ee.composedPath)===null||ie===void 0?void 0:ie.call(ee)[0])||oe}return oe}var bi=function(oe){return oe==="month"||oe==="date"?"year":oe},Hr=function(oe){return oe==="date"?"month":oe},An=function(oe){return oe==="month"||oe==="date"?"quarter":oe},On=function(oe){return oe==="date"?"week":oe},bn={year:bi,month:Hr,quarter:An,week:On,time:null,date:null};function wn(ee,oe){return ee.some(function(ie){return ie&&ie.contains(oe)})}function Ja(ee){var oe=ee.open,ie=ee.value,ge=ee.isClickOutside,me=ee.triggerOpen,Le=ee.forwardKeyDown,Ee=ee.onKeyDown,Ue=ee.blurToCancel,Ye=ee.onSubmit,it=ee.onCancel,Tt=ee.onFocus,ut=ee.onBlur,gt=ee.changeOnBlur,vt=(0,ne.useState)(!1),Ct=(0,Ce.Z)(vt,2),qe=Ct[0],St=Ct[1],Ht=(0,ne.useState)(!1),cn=(0,Ce.Z)(Ht,2),Xt=cn[0],Qt=cn[1],Dn=(0,ne.useRef)(!1),Vt=(0,ne.useRef)(!1),Jt=(0,ne.useRef)(!1),oa={onMouseDown:function(){St(!0),me(!0)},onKeyDown:function(ia){var $n=function(){Jt.current=!0};if(Ee(ia,$n),!Jt.current){switch(ia.which){case fn.Z.ENTER:{oe?Ye()!==!1&&St(!0):me(!0),ia.preventDefault();return}case fn.Z.TAB:{qe&&oe&&!ia.shiftKey?(St(!1),ia.preventDefault()):!qe&&oe&&!Le(ia)&&ia.shiftKey&&(St(!0),ia.preventDefault());return}case fn.Z.ESC:{St(!0),it();return}}!oe&&![fn.Z.SHIFT].includes(ia.which)?me(!0):qe||Le(ia)}},onFocus:function(ia){St(!0),Qt(!0),Tt&&Tt(ia)},onBlur:function(ia){if(Dn.current||!ge(document.activeElement)){Dn.current=!1;return}Ue?setTimeout(function(){for(var $n=document,Ra=$n.activeElement;Ra&&Ra.shadowRoot;)Ra=Ra.shadowRoot.activeElement;ge(Ra)&&it()},0):oe&&(me(!1),Vt.current&&Ye()),Qt(!1),ut==null||ut(ia)}};return(0,ne.useEffect)(function(){Vt.current=!1},[oe]),(0,ne.useEffect)(function(){Vt.current=!0},[ie]),(0,ne.useEffect)(function(){return fi(function(Tn){var ia=Io(Tn),$n=ge(ia);oe&&($n?!gt&&(!Xt||$n)&&me(!1):(Dn.current=!0,(0,qn.Z)(function(){Dn.current=!1})))})}),[oa,{focused:Xt,typing:qe}]}function Nr(ee,oe){return ne.useMemo(function(){return ee||(oe?((0,Oe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(oe).map(function(ie){var ge=(0,Ce.Z)(ie,2),me=ge[0],Le=ge[1];return{label:me,value:Le}})):[])},[ee,oe])}var Rn=te(14075);function nt(ee){var oe=ee.valueTexts,ie=ee.onTextChange,ge=ne.useState(""),me=(0,Ce.Z)(ge,2),Le=me[0],Ee=me[1],Ue=ne.useRef([]);Ue.current=oe;function Ye(Tt){Ee(Tt),ie(Tt)}function it(){Ee(Ue.current[0])}return(0,Rn.Z)(function(){oe.every(function(Tt){return Tt!==Le})&&it()},[oe.join("||")]),[Le,Ye,it]}var dt=ne.createContext({}),_e=dt,Zt=te(71002);function hn(ee){var oe=ee.cellRender,ie=ee.monthCellRender,ge=ee.dateRender,me=ne.useMemo(function(){if(oe)return oe;if(!(!ie&&!ge))return function(Le,Ee){var Ue=Le;return ge&&Ee.type==="date"?ge(Ue,Ee.today):ie&&Ee.type==="month"?ie(Ue,Ee.locale):Ee.originNode}},[oe,ie,ge]);return me}function Hn(ee,oe){for(var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",ge=String(ee);ge.length<oe;)ge="".concat(ie).concat(ee);return ge}var La=function(){for(var oe=arguments.length,ie=new Array(oe),ge=0;ge<oe;ge++)ie[ge]=arguments[ge];return ie};function Jn(ee){return ee==null?[]:Array.isArray(ee)?ee:[ee]}function Nn(ee,oe){return ee?ee[oe]:null}function va(ee,oe,ie){var ge=[Nn(ee,0),Nn(ee,1)];return ge[ie]=typeof oe=="function"?oe(ge[ie]):oe,!ge[0]&&!ge[1]?null:ge}function fo(ee){return typeof ee=="function"?ee():ee}function Cn(ee){var oe=ee.cellPrefixCls,ie=ee.generateConfig,ge=ee.rangedValue,me=ee.hoverRangedValue,Le=ee.isInView,Ee=ee.isSameCell,Ue=ee.offsetCell,Ye=ee.today,it=ee.value;function Tt(ut){var gt,vt=Ue(ut,-1),Ct=Ue(ut,1),qe=Nn(ge,0),St=Nn(ge,1),Ht=Nn(me,0),cn=Nn(me,1),Xt=Yn(ie,Ht,cn,ut);function Qt(ia){return Ee(qe,ia)}function Dn(ia){return Ee(St,ia)}var Vt=Ee(Ht,ut),Jt=Ee(cn,ut),oa=(Xt||Jt)&&(!Le(vt)||Dn(vt)),Tn=(Xt||Vt)&&(!Le(Ct)||Qt(Ct));return gt={},(0,at.Z)(gt,"".concat(oe,"-in-view"),Le(ut)),(0,at.Z)(gt,"".concat(oe,"-in-range"),Yn(ie,qe,St,ut)),(0,at.Z)(gt,"".concat(oe,"-range-start"),Qt(ut)),(0,at.Z)(gt,"".concat(oe,"-range-end"),Dn(ut)),(0,at.Z)(gt,"".concat(oe,"-range-start-single"),Qt(ut)&&!St),(0,at.Z)(gt,"".concat(oe,"-range-end-single"),Dn(ut)&&!qe),(0,at.Z)(gt,"".concat(oe,"-range-start-near-hover"),Qt(ut)&&(Ee(vt,Ht)||Yn(ie,Ht,cn,vt))),(0,at.Z)(gt,"".concat(oe,"-range-end-near-hover"),Dn(ut)&&(Ee(Ct,cn)||Yn(ie,Ht,cn,Ct))),(0,at.Z)(gt,"".concat(oe,"-range-hover"),Xt),(0,at.Z)(gt,"".concat(oe,"-range-hover-start"),Vt),(0,at.Z)(gt,"".concat(oe,"-range-hover-end"),Jt),(0,at.Z)(gt,"".concat(oe,"-range-hover-edge-start"),oa),(0,at.Z)(gt,"".concat(oe,"-range-hover-edge-end"),Tn),(0,at.Z)(gt,"".concat(oe,"-range-hover-edge-start-near-range"),oa&&Ee(vt,St)),(0,at.Z)(gt,"".concat(oe,"-range-hover-edge-end-near-range"),Tn&&Ee(Ct,qe)),(0,at.Z)(gt,"".concat(oe,"-today"),Ee(Ye,ut)),(0,at.Z)(gt,"".concat(oe,"-selected"),Ee(it,ut)),gt}return Tt}var $r=ne.createContext({}),Qo=$r;function Qi(ee,oe,ie,ge,me){var Le=ee.setHour(oe,ie);return Le=ee.setMinute(Le,ge),Le=ee.setSecond(Le,me),Le}function Jo(ee,oe,ie){if(!ie)return oe;var ge=oe;return ge=ee.setHour(ge,ee.getHour(ie)),ge=ee.setMinute(ge,ee.getMinute(ie)),ge=ee.setSecond(ge,ee.getSecond(ie)),ge}function wo(ee,oe,ie,ge,me,Le){var Ee=Math.floor(ee/ge)*ge;if(Ee<ee)return[Ee,60-me,60-Le];var Ue=Math.floor(oe/me)*me;if(Ue<oe)return[Ee,Ue,60-Le];var Ye=Math.floor(ie/Le)*Le;return[Ee,Ue,Ye]}function gl(ee,oe){var ie=ee.getYear(oe),ge=ee.getMonth(oe)+1,me=ee.getEndDate(ee.getFixedDate("".concat(ie,"-").concat(ge,"-01"))),Le=ee.getDate(me),Ee=ge<10?"0".concat(ge):"".concat(ge);return"".concat(ie,"-").concat(Ee,"-").concat(Le)}function br(ee){for(var oe=ee.prefixCls,ie=ee.disabledDate,ge=ee.onSelect,me=ee.picker,Le=ee.rowNum,Ee=ee.colNum,Ue=ee.prefixColumn,Ye=ee.rowClassName,it=ee.baseDate,Tt=ee.getCellClassName,ut=ee.getCellText,gt=ee.getCellNode,vt=ee.getCellDate,Ct=ee.generateConfig,qe=ee.titleCell,St=ee.headerCells,Ht=ne.useContext(_e),cn=Ht.onDateMouseEnter,Xt=Ht.onDateMouseLeave,Qt=Ht.mode,Dn="".concat(oe,"-cell"),Vt=[],Jt=0;Jt<Le;Jt+=1){for(var oa=[],Tn=void 0,ia=function(){var or,xr=Jt*Ee+$n,Fa=vt(it,xr),Za=Un({cellDate:Fa,mode:Qt,disabledDate:ie,generateConfig:Ct});$n===0&&(Tn=Fa,Ue&&oa.push(Ue(Tn)));var ma=qe&&qe(Fa),Er=ne.createElement("div",{className:"".concat(Dn,"-inner")},ut(Fa));oa.push(ne.createElement("td",{key:$n,title:ma,className:Wt()(Dn,(0,Lt.Z)((or={},(0,at.Z)(or,"".concat(Dn,"-disabled"),Za),(0,at.Z)(or,"".concat(Dn,"-start"),ut(Fa)===1||me==="year"&&Number(ma)%10===0),(0,at.Z)(or,"".concat(Dn,"-end"),ma===gl(Ct,Fa)||me==="year"&&Number(ma)%10===9),or),Tt(Fa))),onClick:function(){Za||ge(Fa)},onMouseEnter:function(){!Za&&cn&&cn(Fa)},onMouseLeave:function(){!Za&&Xt&&Xt(Fa)}},gt?gt(Fa,Er):Er))},$n=0;$n<Ee;$n+=1)ia();Vt.push(ne.createElement("tr",{key:Jt,className:Ye&&Ye(Tn)},oa))}return ne.createElement("div",{className:"".concat(oe,"-body")},ne.createElement("table",{className:"".concat(oe,"-content")},St&&ne.createElement("thead",null,ne.createElement("tr",null,St)),ne.createElement("tbody",null,Vt)))}function Pl(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.prefixColumn,me=ee.locale,Le=ee.rowCount,Ee=ee.viewDate,Ue=ee.value,Ye=ee.cellRender,it=ee.isSameCell,Tt=ne.useContext(Qo),ut=Tt.rangedValue,gt=Tt.hoverRangedValue,vt=Mn(me.locale,ie,Ee),Ct="".concat(oe,"-cell"),qe=ie.locale.getWeekFirstDay(me.locale),St=ie.getNow(),Ht=[],cn=me.shortWeekDays||(ie.locale.getShortWeekDays?ie.locale.getShortWeekDays(me.locale):[]);ge&&Ht.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Xt=0;Xt<De;Xt+=1)Ht.push(ne.createElement("th",{key:Xt},cn[(Xt+qe)%De]));var Qt=Cn({cellPrefixCls:Ct,today:St,value:Ue,generateConfig:ie,rangedValue:ge?null:ut,hoverRangedValue:ge?null:gt,isSameCell:it||function(Vt,Jt){return dn(ie,Vt,Jt)},isInView:function(Jt){return xn(ie,Jt,Ee)},offsetCell:function(Jt,oa){return ie.addDate(Jt,oa)}}),Dn=Ye?function(Vt,Jt){return Ye(Vt,{originNode:Jt,today:St,type:"date",locale:me})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:Le,colNum:De,baseDate:vt,getCellNode:Dn,getCellText:ie.getDate,getCellClassName:Qt,getCellDate:ie.addDate,titleCell:function(Jt){return _t(Jt,{locale:me,format:"YYYY-MM-DD",generateConfig:ie})},headerCells:Ht}))}var ol=Pl,Ii={visibility:"hidden"};function mi(ee){var oe=ee.prefixCls,ie=ee.prevIcon,ge=ie===void 0?"\u2039":ie,me=ee.nextIcon,Le=me===void 0?"\u203A":me,Ee=ee.superPrevIcon,Ue=Ee===void 0?"\xAB":Ee,Ye=ee.superNextIcon,it=Ye===void 0?"\xBB":Ye,Tt=ee.onSuperPrev,ut=ee.onSuperNext,gt=ee.onPrev,vt=ee.onNext,Ct=ee.children,qe=ne.useContext(_e),St=qe.hideNextBtn,Ht=qe.hidePrevBtn;return ne.createElement("div",{className:oe},Tt&&ne.createElement("button",{type:"button",onClick:Tt,tabIndex:-1,className:"".concat(oe,"-super-prev-btn"),style:Ht?Ii:{}},Ue),gt&&ne.createElement("button",{type:"button",onClick:gt,tabIndex:-1,className:"".concat(oe,"-prev-btn"),style:Ht?Ii:{}},ge),ne.createElement("div",{className:"".concat(oe,"-view")},Ct),vt&&ne.createElement("button",{type:"button",onClick:vt,tabIndex:-1,className:"".concat(oe,"-next-btn"),style:St?Ii:{}},Le),ut&&ne.createElement("button",{type:"button",onClick:ut,tabIndex:-1,className:"".concat(oe,"-super-next-btn"),style:St?Ii:{}},it))}var tl=mi;function fl(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.viewDate,Le=ee.onNextMonth,Ee=ee.onPrevMonth,Ue=ee.onNextYear,Ye=ee.onPrevYear,it=ee.onYearClick,Tt=ee.onMonthClick,ut=ne.useContext(_e),gt=ut.hideHeader;if(gt)return null;var vt="".concat(oe,"-header"),Ct=ge.shortMonths||(ie.locale.getShortMonths?ie.locale.getShortMonths(ge.locale):[]),qe=ie.getMonth(me),St=ne.createElement("button",{type:"button",key:"year",onClick:it,tabIndex:-1,className:"".concat(oe,"-year-btn")},_t(me,{locale:ge,format:ge.yearFormat,generateConfig:ie})),Ht=ne.createElement("button",{type:"button",key:"month",onClick:Tt,tabIndex:-1,className:"".concat(oe,"-month-btn")},ge.monthFormat?_t(me,{locale:ge,format:ge.monthFormat,generateConfig:ie}):Ct[qe]),cn=ge.monthBeforeYear?[Ht,St]:[St,Ht];return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:vt,onSuperPrev:Ye,onPrev:Ee,onNext:Le,onSuperNext:Ue}),cn)}var Es=fl,pn=6;function Os(ee){var oe=ee.prefixCls,ie=ee.panelName,ge=ie===void 0?"date":ie,me=ee.keyboardConfig,Le=ee.active,Ee=ee.operationRef,Ue=ee.generateConfig,Ye=ee.value,it=ee.viewDate,Tt=ee.onViewDateChange,ut=ee.onPanelChange,gt=ee.onSelect,vt="".concat(oe,"-").concat(ge,"-panel");Ee.current={onKeyDown:function(Ht){return Mr(Ht,(0,Lt.Z)({onLeftRight:function(Xt){gt(Ue.addDate(Ye||it,Xt),"key")},onCtrlLeftRight:function(Xt){gt(Ue.addYear(Ye||it,Xt),"key")},onUpDown:function(Xt){gt(Ue.addDate(Ye||it,Xt*De),"key")},onPageUpDown:function(Xt){gt(Ue.addMonth(Ye||it,Xt),"key")}},me))}};var Ct=function(Ht){var cn=Ue.addYear(it,Ht);Tt(cn),ut(null,cn)},qe=function(Ht){var cn=Ue.addMonth(it,Ht);Tt(cn),ut(null,cn)};return ne.createElement("div",{className:Wt()(vt,(0,at.Z)({},"".concat(vt,"-active"),Le))},ne.createElement(Es,(0,re.Z)({},ee,{prefixCls:oe,value:Ye,viewDate:it,onPrevYear:function(){Ct(-1)},onNextYear:function(){Ct(1)},onPrevMonth:function(){qe(-1)},onNextMonth:function(){qe(1)},onMonthClick:function(){ut("month",it)},onYearClick:function(){ut("year",it)}})),ne.createElement(ol,(0,re.Z)({},ee,{onSelect:function(Ht){return gt(Ht,"mouse")},prefixCls:oe,value:Ye,viewDate:it,rowCount:pn})))}var ml=Os;function mo(ee){var oe=ne.useContext(_e),ie=oe.hideHeader;if(ie)return null;var ge=ee.prefixCls,me=ee.generateConfig,Le=ee.locale,Ee=ee.value,Ue=ee.format,Ye="".concat(ge,"-header");return ne.createElement(tl,{prefixCls:Ye},Ee?_t(Ee,{locale:Le,format:Ue,generateConfig:me}):"\xA0")}var Il=mo;function Zn(ee){var oe=ee.value,ie=ee.generateConfig,ge=ee.disabledMinutes,me=ee.disabledSeconds,Le=ee.minutes,Ee=ee.seconds,Ue=ee.use12Hours,Ye=function(Tt,ut,gt,vt){var Ct=ie.getNow(),qe=oe||Ct,St=ut<0?ie.getHour(Ct):ut,Ht=gt<0?ie.getMinute(Ct):gt,cn=vt<0?ie.getSecond(Ct):vt,Xt=ge&&ge(St);if(Xt!=null&&Xt.includes(Ht)){var Qt=Le.find(function(Jt){return!Xt.includes(Jt.value)});if(Qt)Ht=Qt.value;else return null}var Dn=me&&me(St,Ht);if(Dn!=null&&Dn.includes(cn)){var Vt=Ee.find(function(Jt){return!Dn.includes(Jt.value)});if(Vt)cn=Vt.value;else return null}return qe=Qi(ie,qe,!Ue||!Tt?St:St+12,Ht,cn),qe};return Ye}function Aa(ee){var oe=ee.prefixCls,ie=ee.units,ge=ee.onSelect,me=ee.value,Le=ee.active,Ee=ee.hideDisabledOptions,Ue=ee.info,Ye=ee.type,it="".concat(oe,"-cell"),Tt=ne.useContext(_e),ut=Tt.open,gt=(0,ne.useRef)(null),vt=(0,ne.useRef)(new Map),Ct=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var qe=vt.current.get(me);qe&&ut!==!1&&Va(gt.current,qe.offsetTop,120)},[me]),(0,ne.useLayoutEffect)(function(){if(ut){var qe=vt.current.get(me);qe&&(Ct.current=Zr(qe,function(){Va(gt.current,qe.offsetTop,0)}))}return function(){var St;(St=Ct.current)===null||St===void 0||St.call(Ct)}},[ut]),ne.createElement("ul",{className:Wt()("".concat(oe,"-column"),(0,at.Z)({},"".concat(oe,"-column-active"),Le)),ref:gt,style:{position:"relative"}},ie.map(function(qe){var St;return Ee&&qe.disabled?null:ne.createElement("li",{key:qe.value,ref:function(cn){vt.current.set(qe.value,cn)},className:Wt()(it,(St={},(0,at.Z)(St,"".concat(it,"-disabled"),qe.disabled),(0,at.Z)(St,"".concat(it,"-selected"),me===qe.value),St)),onClick:function(){qe.disabled||ge(qe.value)}},Ue.cellRender?Ue.cellRender(qe.value,{today:Ue.today,locale:Ue.locale,originNode:ne.createElement("div",{className:"".concat(it,"-inner")},qe.label),type:"time",subType:Ye}):ne.createElement("div",{className:"".concat(it,"-inner")},qe.label))}))}var vr=Aa;function Na(ee,oe){if(ee.length!==oe.length)return!0;for(var ie=0;ie<ee.length;ie+=1)if(ee[ie].disabled!==oe[ie].disabled)return!0;return!1}function Lo(ee,oe,ie,ge){for(var me=[],Le=ie>=1?ie|0:1,Ee=ee;Ee<=oe;Ee+=Le)me.push({label:Hn(Ee,2),value:Ee,disabled:(ge||[]).includes(Ee)});return me}function Xo(ee){var oe=ee.generateConfig,ie=ee.prefixCls,ge=ee.operationRef,me=ee.activeColumnIndex,Le=ee.value,Ee=ee.showHour,Ue=ee.showMinute,Ye=ee.showSecond,it=ee.use12Hours,Tt=ee.hourStep,ut=Tt===void 0?1:Tt,gt=ee.minuteStep,vt=gt===void 0?1:gt,Ct=ee.secondStep,qe=Ct===void 0?1:Ct,St=ee.disabledHours,Ht=ee.disabledMinutes,cn=ee.disabledSeconds,Xt=ee.disabledTime,Qt=ee.hideDisabledOptions,Dn=ee.onSelect,Vt=ee.cellRender,Jt=ee.locale,oa=[],Tn="".concat(ie,"-content"),ia="".concat(ie,"-time-panel"),$n,Ra=Le?oe.getHour(Le):-1,or=Ra,xr=Le?oe.getMinute(Le):-1,Fa=Le?oe.getSecond(Le):-1,Za=oe.getNow(),ma=ne.useMemo(function(){if(Xt){var tr=Xt(Za);return[tr.disabledHours,tr.disabledMinutes,tr.disabledSeconds]}return[St,Ht,cn]},[St,Ht,cn,Xt,Za]),Er=(0,Ce.Z)(ma,3),_a=Er[0],ir=Er[1],no=Er[2],uo=Lo(0,23,ut,_a&&_a()),xo=(0,ra.Z)(function(){return uo},uo,Na);it&&($n=or>=12,or%=12);var ei=ne.useMemo(function(){if(!it)return[!1,!1];var tr=[!0,!0];return xo.forEach(function(co){var Vr=co.disabled,wr=co.value;Vr||(wr>=12?tr[1]=!1:tr[0]=!1)}),tr},[it,xo]),Xr=(0,Ce.Z)(ei,2),Go=Xr[0],kr=Xr[1],Ir=ne.useMemo(function(){return it?xo.filter($n?function(tr){return tr.value>=12}:function(tr){return tr.value<12}).map(function(tr){var co=tr.value%12,Vr=co===0?"12":Hn(co,2);return(0,Lt.Z)((0,Lt.Z)({},tr),{},{label:Vr,value:co})}):xo},[it,$n,xo]),ao=Lo(0,59,vt,ir&&ir(Ra)),Ko=Lo(0,59,qe,no&&no(Ra,xr)),Vo=Zn({value:Le,generateConfig:oe,disabledMinutes:ir,disabledSeconds:no,minutes:ao,seconds:Ko,use12Hours:it});ge.current={onUpDown:function(co){var Vr=oa[me];if(Vr)for(var wr=Vr.units.findIndex(function(ki){return ki.value===Vr.value}),Da=Vr.units.length,Br=1;Br<Da;Br+=1){var Po=Vr.units[(wr+co*Br+Da)%Da];if(Po.disabled!==!0){Vr.onSelect(Po.value);break}}}};function xi(tr,co,Vr,wr,Da){tr!==!1&&oa.push({node:ne.cloneElement(co,{prefixCls:ia,value:Vr,active:me===oa.length,onSelect:Da,units:wr,hideDisabledOptions:Qt}),onSelect:Da,value:Vr,units:wr})}xi(Ee,ne.createElement(vr,{key:"hour",type:"hour",info:{today:Za,locale:Jt,cellRender:Vt}}),or,Ir,function(tr){Dn(Vo($n,tr,xr,Fa),"mouse")}),xi(Ue,ne.createElement(vr,{key:"minute",type:"minute",info:{today:Za,locale:Jt,cellRender:Vt}}),xr,ao,function(tr){Dn(Vo($n,or,tr,Fa),"mouse")}),xi(Ye,ne.createElement(vr,{key:"second",type:"second",info:{today:Za,locale:Jt,cellRender:Vt}}),Fa,Ko,function(tr){Dn(Vo($n,or,xr,tr),"mouse")});var Uo=-1;return typeof $n=="boolean"&&(Uo=$n?1:0),xi(it===!0,ne.createElement(vr,{key:"meridiem",type:"meridiem",info:{today:Za,locale:Jt,cellRender:Vt}}),Uo,[{label:"AM",value:0,disabled:Go},{label:"PM",value:1,disabled:kr}],function(tr){Dn(Vo(!!tr,or,xr,Fa),"mouse")}),ne.createElement("div",{className:Tn},oa.map(function(tr){var co=tr.node;return co}))}var Ai=Xo,ji=function(oe){return oe.filter(function(ie){return ie!==!1}).length};function il(ee){var oe=ee.generateConfig,ie=ee.format,ge=ie===void 0?"HH:mm:ss":ie,me=ee.prefixCls,Le=ee.active,Ee=ee.operationRef,Ue=ee.showHour,Ye=ee.showMinute,it=ee.showSecond,Tt=ee.use12Hours,ut=Tt===void 0?!1:Tt,gt=ee.onSelect,vt=ee.value,Ct="".concat(me,"-time-panel"),qe=ne.useRef(),St=ne.useState(-1),Ht=(0,Ce.Z)(St,2),cn=Ht[0],Xt=Ht[1],Qt=ji([Ue,Ye,it,ut]);return Ee.current={onKeyDown:function(Vt){return Mr(Vt,{onLeftRight:function(oa){Xt((cn+oa+Qt)%Qt)},onUpDown:function(oa){cn===-1?Xt(0):qe.current&&qe.current.onUpDown(oa)},onEnter:function(){gt(vt||oe.getNow(),"key"),Xt(-1)}})},onBlur:function(){Xt(-1)}},ne.createElement("div",{className:Wt()(Ct,(0,at.Z)({},"".concat(Ct,"-active"),Le))},ne.createElement(Il,(0,re.Z)({},ee,{format:ge,prefixCls:me})),ne.createElement(Ai,(0,re.Z)({},ee,{prefixCls:me,activeColumnIndex:cn,operationRef:qe})))}var fs=il,Zi=La("date","time");function Ts(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.generateConfig,me=ee.value,Le=ee.defaultValue,Ee=ee.disabledTime,Ue=ee.showTime,Ye=ee.onSelect,it=ee.cellRender,Tt="".concat(oe,"-datetime-panel"),ut=ne.useState(null),gt=(0,Ce.Z)(ut,2),vt=gt[0],Ct=gt[1],qe=ne.useRef({}),St=ne.useRef({}),Ht=(0,Zt.Z)(Ue)==="object"?(0,Lt.Z)({},Ue):{};function cn(Vt){var Jt=Zi.indexOf(vt)+Vt,oa=Zi[Jt]||null;return oa}var Xt=function(Jt){St.current.onBlur&&St.current.onBlur(Jt),Ct(null)};ie.current={onKeyDown:function(Jt){if(Jt.which===fn.Z.TAB){var oa=cn(Jt.shiftKey?-1:1);return Ct(oa),oa&&Jt.preventDefault(),!0}if(vt){var Tn=vt==="date"?qe:St;return Tn.current&&Tn.current.onKeyDown&&Tn.current.onKeyDown(Jt),!0}return[fn.Z.LEFT,fn.Z.RIGHT,fn.Z.UP,fn.Z.DOWN].includes(Jt.which)?(Ct("date"),!0):!1},onBlur:Xt,onClose:Xt};var Qt=function(Jt,oa){var Tn=Jt;oa==="date"&&!me&&Ht.defaultValue?(Tn=ge.setHour(Tn,ge.getHour(Ht.defaultValue)),Tn=ge.setMinute(Tn,ge.getMinute(Ht.defaultValue)),Tn=ge.setSecond(Tn,ge.getSecond(Ht.defaultValue))):oa==="time"&&!me&&Le&&(Tn=ge.setYear(Tn,ge.getYear(Le)),Tn=ge.setMonth(Tn,ge.getMonth(Le)),Tn=ge.setDate(Tn,ge.getDate(Le))),Ye&&Ye(Tn,"mouse")},Dn=Ee?Ee(me||null):{};return ne.createElement("div",{className:Wt()(Tt,(0,at.Z)({},"".concat(Tt,"-active"),vt))},ne.createElement(ml,(0,re.Z)({},ee,{cellRender:it,operationRef:qe,active:vt==="date",onSelect:function(Jt){Qt(Jo(ge,Jt,!me&&(0,Zt.Z)(Ue)==="object"?Ue.defaultValue:null),"date")}})),ne.createElement(fs,(0,re.Z)({},ee,{cellRender:it?function(Vt,Jt){return it(Vt,(0,Lt.Z)((0,Lt.Z)({},Jt),{},{type:"time"}))}:void 0,format:void 0},Ht,Dn,{disabledTime:null,defaultValue:void 0,operationRef:St,active:vt==="time",onSelect:function(Jt){Qt(Jt,"time")}})))}var dd=Ts;function Ul(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.viewDate,me=ee.onPrevDecades,Le=ee.onNextDecades,Ee=ne.useContext(_e),Ue=Ee.hideHeader;if(Ue)return null;var Ye="".concat(oe,"-header"),it=ie.getYear(ge),Tt=Math.floor(it/Ie)*Ie,ut=Tt+Ie-1;return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:Ye,onSuperPrev:me,onSuperNext:Le}),Tt,"-",ut)}var ms=Ul,is=3,vs=4;function Is(ee){var oe=It-1,ie=ee.prefixCls,ge=ee.viewDate,me=ee.generateConfig,Le=ee.cellRender,Ee=ee.locale,Ue="".concat(ie,"-cell"),Ye=me.getYear(ge),it=Math.floor(Ye/It)*It,Tt=Math.floor(Ye/Ie)*Ie,ut=Tt+Ie-1,gt=me.setYear(ge,Tt-Math.ceil((is*vs*It-Ie)/2)),vt=function(St){var Ht,cn=me.getYear(St),Xt=cn+oe;return Ht={},(0,at.Z)(Ht,"".concat(Ue,"-in-view"),Tt<=cn&&Xt<=ut),(0,at.Z)(Ht,"".concat(Ue,"-selected"),cn===it),Ht},Ct=Le?function(qe,St){return Le(qe,{originNode:St,today:me.getNow(),type:"decade",locale:Ee})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:vs,colNum:is,baseDate:gt,getCellNode:Ct,getCellText:function(St){var Ht=me.getYear(St);return"".concat(Ht,"-").concat(Ht+oe)},getCellClassName:vt,getCellDate:function(St,Ht){return me.addYear(St,Ht*It)}}))}var $l=Is;function hs(ee){var oe=ee.prefixCls,ie=ee.onViewDateChange,ge=ee.generateConfig,me=ee.viewDate,Le=ee.operationRef,Ee=ee.onSelect,Ue=ee.onPanelChange,Ye="".concat(oe,"-decade-panel");Le.current={onKeyDown:function(gt){return Mr(gt,{onLeftRight:function(Ct){Ee(ge.addYear(me,Ct*It),"key")},onCtrlLeftRight:function(Ct){Ee(ge.addYear(me,Ct*Ie),"key")},onUpDown:function(Ct){Ee(ge.addYear(me,Ct*It*is),"key")},onEnter:function(){Ue("year",me)}})}};var it=function(gt){var vt=ge.addYear(me,gt*Ie);ie(vt),Ue(null,vt)},Tt=function(gt){Ee(gt,"mouse"),Ue("year",gt)};return ne.createElement("div",{className:Ye},ne.createElement(ms,(0,re.Z)({},ee,{prefixCls:oe,onPrevDecades:function(){it(-1)},onNextDecades:function(){it(1)}})),ne.createElement($l,(0,re.Z)({},ee,{prefixCls:oe,onSelect:Tt})))}var Yl=hs;function Ss(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.viewDate,Le=ee.onNextYear,Ee=ee.onPrevYear,Ue=ee.onYearClick,Ye=ne.useContext(_e),it=Ye.hideHeader;if(it)return null;var Tt="".concat(oe,"-header");return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:Tt,onSuperPrev:Ee,onSuperNext:Le}),ne.createElement("button",{type:"button",onClick:Ue,className:"".concat(oe,"-year-btn")},_t(me,{locale:ge,format:ge.yearFormat,generateConfig:ie})))}var yt=Ss,At=3,Ut=4;function Be(ee){var oe=ee.prefixCls,ie=ee.locale,ge=ee.value,me=ee.viewDate,Le=ee.generateConfig,Ee=ee.cellRender,Ue=ne.useContext(Qo),Ye=Ue.rangedValue,it=Ue.hoverRangedValue,Tt="".concat(oe,"-cell"),ut=Cn({cellPrefixCls:Tt,value:ge,generateConfig:Le,rangedValue:Ye,hoverRangedValue:it,isSameCell:function(St,Ht){return xn(Le,St,Ht)},isInView:function(){return!0},offsetCell:function(St,Ht){return Le.addMonth(St,Ht)}}),gt=ie.shortMonths||(Le.locale.getShortMonths?Le.locale.getShortMonths(ie.locale):[]),vt=Le.setMonth(me,0),Ct=Ee?function(qe,St){return Ee(qe,{originNode:St,locale:ie,today:Le.getNow(),type:"month"})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:Ut,colNum:At,baseDate:vt,getCellNode:Ct,getCellText:function(St){return ie.monthFormat?_t(St,{locale:ie,format:ie.monthFormat,generateConfig:Le}):gt[Le.getMonth(St)]},getCellClassName:ut,getCellDate:Le.addMonth,titleCell:function(St){return _t(St,{locale:ie,format:"YYYY-MM",generateConfig:Le})}}))}var zt=Be;function vn(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.onViewDateChange,me=ee.generateConfig,Le=ee.value,Ee=ee.viewDate,Ue=ee.onPanelChange,Ye=ee.onSelect,it="".concat(oe,"-month-panel");ie.current={onKeyDown:function(gt){return Mr(gt,{onLeftRight:function(Ct){Ye(me.addMonth(Le||Ee,Ct),"key")},onCtrlLeftRight:function(Ct){Ye(me.addYear(Le||Ee,Ct),"key")},onUpDown:function(Ct){Ye(me.addMonth(Le||Ee,Ct*At),"key")},onEnter:function(){Ue("date",Le||Ee)}})}};var Tt=function(gt){var vt=me.addYear(Ee,gt);ge(vt),Ue(null,vt)};return ne.createElement("div",{className:it},ne.createElement(yt,(0,re.Z)({},ee,{prefixCls:oe,onPrevYear:function(){Tt(-1)},onNextYear:function(){Tt(1)},onYearClick:function(){Ue("year",Ee)}})),ne.createElement(zt,(0,re.Z)({},ee,{prefixCls:oe,onSelect:function(gt){Ye(gt,"mouse"),Ue("date",gt)}})))}var Sn=vn;function Nt(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.viewDate,Le=ee.onNextYear,Ee=ee.onPrevYear,Ue=ee.onYearClick,Ye=ne.useContext(_e),it=Ye.hideHeader;if(it)return null;var Tt="".concat(oe,"-header");return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:Tt,onSuperPrev:Ee,onSuperNext:Le}),ne.createElement("button",{type:"button",onClick:Ue,className:"".concat(oe,"-year-btn")},_t(me,{locale:ge,format:ge.yearFormat,generateConfig:ie})))}var Gt=Nt,Rt=4,yn=1;function Wn(ee){var oe=ee.prefixCls,ie=ee.locale,ge=ee.value,me=ee.viewDate,Le=ee.generateConfig,Ee=ee.cellRender,Ue=ne.useContext(Qo),Ye=Ue.rangedValue,it=Ue.hoverRangedValue,Tt="".concat(oe,"-cell"),ut=Cn({cellPrefixCls:Tt,value:ge,generateConfig:Le,rangedValue:Ye,hoverRangedValue:it,isSameCell:function(qe,St){return tn(Le,qe,St)},isInView:function(){return!0},offsetCell:function(qe,St){return Le.addMonth(qe,St*3)}}),gt=Le.setDate(Le.setMonth(me,0),1),vt=Ee?function(Ct,qe){return Ee(Ct,{originNode:qe,locale:ie,today:Le.getNow(),type:"quarter"})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:yn,colNum:Rt,baseDate:gt,getCellNode:vt,getCellText:function(qe){return _t(qe,{locale:ie,format:ie.quarterFormat||"[Q]Q",generateConfig:Le})},getCellClassName:ut,getCellDate:function(qe,St){return Le.addMonth(qe,St*3)},titleCell:function(qe){return _t(qe,{locale:ie,format:"YYYY-[Q]Q",generateConfig:Le})}}))}var la=Wn;function ta(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.onViewDateChange,me=ee.generateConfig,Le=ee.value,Ee=ee.viewDate,Ue=ee.onPanelChange,Ye=ee.onSelect,it="".concat(oe,"-quarter-panel");ie.current={onKeyDown:function(gt){return Mr(gt,{onLeftRight:function(Ct){Ye(me.addMonth(Le||Ee,Ct*3),"key")},onCtrlLeftRight:function(Ct){Ye(me.addYear(Le||Ee,Ct),"key")},onUpDown:function(Ct){Ye(me.addYear(Le||Ee,Ct),"key")}})}};var Tt=function(gt){var vt=me.addYear(Ee,gt);ge(vt),Ue(null,vt)};return ne.createElement("div",{className:it},ne.createElement(Gt,(0,re.Z)({},ee,{prefixCls:oe,onPrevYear:function(){Tt(-1)},onNextYear:function(){Tt(1)},onYearClick:function(){Ue("year",Ee)}})),ne.createElement(la,(0,re.Z)({},ee,{prefixCls:oe,onSelect:function(gt){Ye(gt,"mouse")}})))}var pa=ta;function Ha(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.value,Le=ee.disabledDate,Ee=ee.onSelect,Ue=ne.useContext(Qo),Ye=Ue.rangedValue,it=Ue.hoverRangedValue,Tt=ne.useContext(_e),ut=Tt.onDateMouseEnter,gt=Tt.onDateMouseLeave,vt=(it==null?void 0:it[0])||(Ye==null?void 0:Ye[0]),Ct=(it==null?void 0:it[1])||(Ye==null?void 0:Ye[1]),qe="".concat(oe,"-cell"),St=function(Qt){var Dn=Un({cellDate:Qt,mode:"week",disabledDate:Le,generateConfig:ie});return ne.createElement("td",{key:"week",className:Wt()(qe,"".concat(qe,"-week")),onClick:function(){Dn||Ee(Qt,"mouse")},onMouseEnter:function(){!Dn&&ut&&ut(Qt)},onMouseLeave:function(){!Dn&>&>(Qt)}},ne.createElement("div",{className:"".concat(qe,"-inner")},ie.locale.getWeek(ge.locale,Qt)))},Ht="".concat(oe,"-week-panel-row"),cn=function(Qt){var Dn,Vt=Te(ie,ge.locale,vt,Qt),Jt=Te(ie,ge.locale,Ct,Qt);return Wt()(Ht,(Dn={},(0,at.Z)(Dn,"".concat(Ht,"-selected"),!Ye&&Te(ie,ge.locale,me,Qt)),(0,at.Z)(Dn,"".concat(Ht,"-range-start"),Vt),(0,at.Z)(Dn,"".concat(Ht,"-range-end"),Jt),(0,at.Z)(Dn,"".concat(Ht,"-range-hover"),!Vt&&!Jt&&Yn(ie,vt,Ct,Qt)),Dn))};return ne.createElement(ml,(0,re.Z)({},ee,{panelName:"week",prefixColumn:St,rowClassName:cn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var sn=Ha,xt=10;function rn(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.viewDate,me=ee.onPrevDecade,Le=ee.onNextDecade,Ee=ee.onDecadeClick,Ue=ne.useContext(_e),Ye=Ue.hideHeader;if(Ye)return null;var it="".concat(oe,"-header"),Tt=ie.getYear(ge),ut=Math.floor(Tt/xt)*xt,gt=ut+xt-1;return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:it,onSuperPrev:me,onSuperNext:Le}),ne.createElement("button",{type:"button",onClick:Ee,className:"".concat(oe,"-decade-btn")},ut,"-",gt))}var un=rn,jn=3,Sa=4;function Oa(ee){var oe=ee.prefixCls,ie=ee.value,ge=ee.viewDate,me=ee.locale,Le=ee.generateConfig,Ee=ee.cellRender,Ue=ne.useContext(Qo),Ye=Ue.rangedValue,it=Ue.hoverRangedValue,Tt="".concat(oe,"-cell"),ut=Le.getYear(ge),gt=Math.floor(ut/xt)*xt,vt=gt+xt-1,Ct=Le.setYear(ge,gt-Math.ceil((jn*Sa-xt)/2)),qe=Le.getNow(),St=function(Qt){var Dn=Le.getYear(Qt);return gt<=Dn&&Dn<=vt},Ht=Cn({cellPrefixCls:Tt,value:ie,generateConfig:Le,rangedValue:Ye,hoverRangedValue:it,isSameCell:function(Qt,Dn){return jt(Le,Qt,Dn)},isInView:St,offsetCell:function(Qt,Dn){return Le.addYear(Qt,Dn)}}),cn=Ee?function(Xt,Qt){return Ee(Xt,{originNode:Qt,today:qe,type:"year",locale:me})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:Sa,colNum:jn,baseDate:Ct,getCellNode:cn,getCellText:Le.getYear,getCellClassName:Ht,getCellDate:Le.addYear,titleCell:function(Qt){return _t(Qt,{locale:me,format:"YYYY",generateConfig:Le})}}))}var ar=Oa;function Ka(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.onViewDateChange,me=ee.generateConfig,Le=ee.value,Ee=ee.viewDate,Ue=ee.sourceMode,Ye=ee.onSelect,it=ee.onPanelChange,Tt="".concat(oe,"-year-panel");ie.current={onKeyDown:function(vt){return Mr(vt,{onLeftRight:function(qe){Ye(me.addYear(Le||Ee,qe),"key")},onCtrlLeftRight:function(qe){Ye(me.addYear(Le||Ee,qe*xt),"key")},onUpDown:function(qe){Ye(me.addYear(Le||Ee,qe*jn),"key")},onEnter:function(){it(Ue==="date"?"date":"month",Le||Ee)}})}};var ut=function(vt){var Ct=me.addYear(Ee,vt*10);ge(Ct),it(null,Ct)};return ne.createElement("div",{className:Tt},ne.createElement(un,(0,re.Z)({},ee,{prefixCls:oe,onPrevDecade:function(){ut(-1)},onNextDecade:function(){ut(1)},onDecadeClick:function(){it("decade",Ee)}})),ne.createElement(ar,(0,re.Z)({},ee,{prefixCls:oe,onSelect:function(vt){it(Ue==="date"?"date":"month",vt),Ye(vt,"mouse")}})))}var Xa=Ka;function gr(ee,oe,ie){return ie?ne.createElement("div",{className:"".concat(ee,"-footer-extra")},ie(oe)):null}function Wa(ee){var oe=ee.prefixCls,ie=ee.components,ge=ie===void 0?{}:ie,me=ee.needConfirmButton,Le=ee.onNow,Ee=ee.onOk,Ue=ee.okDisabled,Ye=ee.showNow,it=ee.locale,Tt,ut;if(me){var gt=ge.button||"button";Le&&Ye!==!1&&(Tt=ne.createElement("li",{className:"".concat(oe,"-now")},ne.createElement("a",{className:"".concat(oe,"-now-btn"),onClick:Le},it.now))),ut=me&&ne.createElement("li",{className:"".concat(oe,"-ok")},ne.createElement(gt,{disabled:Ue,onClick:Ee},it.ok))}return!Tt&&!ut?null:ne.createElement("ul",{className:"".concat(oe,"-ranges")},Tt,ut)}var Yr=["date","month"];function Gr(ee){var oe,ie=ee,ge=ie.prefixCls,me=ge===void 0?"rc-picker":ge,Le=ie.className,Ee=ie.style,Ue=ie.locale,Ye=ie.generateConfig,it=ie.value,Tt=ie.defaultValue,ut=ie.pickerValue,gt=ie.defaultPickerValue,vt=ie.disabledDate,Ct=ie.mode,qe=ie.picker,St=qe===void 0?"date":qe,Ht=ie.tabIndex,cn=Ht===void 0?0:Ht,Xt=ie.showNow,Qt=ie.showTime,Dn=ie.showToday,Vt=ie.renderExtraFooter,Jt=ie.hideHeader,oa=ie.onSelect,Tn=ie.onChange,ia=ie.onPanelChange,$n=ie.onMouseDown,Ra=ie.onPickerValueChange,or=ie.onOk,xr=ie.components,Fa=ie.direction,Za=ie.hourStep,ma=Za===void 0?1:Za,Er=ie.minuteStep,_a=Er===void 0?1:Er,ir=ie.secondStep,no=ir===void 0?1:ir,uo=ie.dateRender,xo=ie.monthCellRender,ei=ie.cellRender,Xr=St==="date"&&!!Qt||St==="time",Go=24%ma===0,kr=60%_a===0,Ir=60%no===0,ao=ne.useContext(_e),Ko=ao.operationRef,Vo=ao.onSelect,xi=ao.hideRanges,Uo=ao.defaultOpenValue,tr=ne.useContext(Qo),co=tr.inRange,Vr=tr.panelPosition,wr=tr.rangedValue,Da=tr.hoverRangedValue,Br=ne.useRef({}),Po=ne.useRef(!0),ki=(0,on.Z)(null,{value:it,defaultValue:Tt,postState:function(ha){return!ha&&Uo&&St==="time"?Uo:ha}}),qi=(0,Ce.Z)(ki,2),Pi=qi[0],jl=qi[1],us=(0,on.Z)(null,{value:ut,defaultValue:gt||Pi,postState:function(ha){var Dr=Ye.getNow();if(!ha)return Dr;if(!Pi&&Qt){var To=(0,Zt.Z)(Qt)==="object"?Qt.defaultValue:Tt;return Jo(Ye,Array.isArray(ha)?ha[0]:ha,To||Dr)}return Array.isArray(ha)?ha[0]:ha}}),Ui=(0,Ce.Z)(us,2),Ri=Ui[0],Ei=Ui[1],nr=function(ha){Ei(ha),Ra&&Ra(ha)},ro=function(ha){var Dr=bn[St];return Dr?Dr(ha):ha},Oo=(0,on.Z)(function(){return St==="time"?"time":ro("date")},{value:Ct}),wi=(0,Ce.Z)(Oo,2),Eo=wi[0],Fi=wi[1];ne.useEffect(function(){Fi(St)},[St]);var gi=ne.useState(function(){return Eo}),$i=(0,Ce.Z)(gi,2),_i=$i[0],yi=$i[1],Oi=function(ha,Dr){var To=ro(ha||Eo);yi(Eo),Fi(To),ia&&(Eo!==To||ot(Ye,Ri,Ri))&&ia(Dr,To)},Li=function(ha,Dr){var To=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Eo===St||To)&&(jl(ha),oa&&oa(ha),Vo&&Vo(ha,Dr),Tn&&!ot(Ye,ha,Pi)&&!(vt!=null&&vt(ha))&&Tn(ha))},el=function(ha){if(Yr.includes(Eo)){var Dr,To,ul=Eo==="date";switch(ha===fn.Z.PAGE_UP||ha===fn.Z.PAGE_DOWN?To=ul?Ye.addMonth:Ye.addYear:To=ul?Ye.addDate:Ye.addMonth,ha){case fn.Z.LEFT:case fn.Z.PAGE_UP:Dr=To(Ri,-1);break;case fn.Z.RIGHT:case fn.Z.PAGE_DOWN:Dr=To(Ri,1);break;case fn.Z.UP:case fn.Z.DOWN:Dr=To(Ri,Number("".concat(ha===fn.Z.UP?"-":"").concat(ul?De:At)));break}if(Dr)return!(vt!=null&&vt(Dr))}return!0},Al=function(ha){if(Br.current&&Br.current.onKeyDown){var Dr=!0,To=ha.which;if([fn.Z.LEFT,fn.Z.RIGHT,fn.Z.UP,fn.Z.DOWN,fn.Z.PAGE_UP,fn.Z.PAGE_DOWN,fn.Z.ENTER].includes(To)&&(ha.preventDefault(),To!==fn.Z.ENTER&&cn===0&&(Dr=el(To))),Dr)return Br.current.onKeyDown(ha)}return(0,Oe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Ur=function(ha){Br.current&&Br.current.onBlur&&Br.current.onBlur(ha)};Ko&&Vr!=="right"&&(Ko.current={onKeyDown:Al,onClose:function(){Br.current&&Br.current.onClose&&Br.current.onClose()}}),ne.useEffect(function(){it&&!Po.current&&Ei(it)},[it]),ne.useEffect(function(){Po.current=!1},[]);var Rr,rl=hn({cellRender:ei,monthCellRender:xo,dateRender:uo}),qr=(0,Lt.Z)((0,Lt.Z)({},ee),{},{cellRender:rl,operationRef:Br,prefixCls:me,viewDate:Ri,value:Pi,onViewDateChange:nr,sourceMode:_i,onPanelChange:Oi,disabledDate:vt});switch(delete qr.onChange,delete qr.onSelect,Eo){case"decade":Rr=ne.createElement(Yl,(0,re.Z)({},qr,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}}));break;case"year":Rr=ne.createElement(Xa,(0,re.Z)({},qr,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}}));break;case"month":Rr=ne.createElement(Sn,(0,re.Z)({},qr,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}}));break;case"quarter":Rr=ne.createElement(pa,(0,re.Z)({},qr,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}}));break;case"week":Rr=ne.createElement(sn,(0,re.Z)({},qr,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}}));break;case"time":delete qr.showTime,Rr=ne.createElement(fs,(0,re.Z)({},qr,(0,Zt.Z)(Qt)==="object"?Qt:null,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}}));break;default:Qt?Rr=ne.createElement(dd,(0,re.Z)({},qr,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}})):Rr=ne.createElement(ml,(0,re.Z)({},qr,{onSelect:function(ha,Dr){nr(ha),Li(ha,Dr)}}))}var Wl,Nl,Bl=function(){var ha=Ye.getNow(),Dr=wo(Ye.getHour(ha),Ye.getMinute(ha),Ye.getSecond(ha),Go?ma:1,kr?_a:1,Ir?no:1),To=Qi(Ye,ha,Dr[0],Dr[1],Dr[2]);Li(To,"submit")};xi||(Wl=gr(me,Eo,Vt),Qt&&Eo!=="date"?Nl=null:Nl=Wa({prefixCls:me,components:xr,needConfirmButton:Xr,okDisabled:!Pi||vt&&vt(Pi),locale:Ue,showNow:Xt,onNow:Xr&&Bl,onOk:function(){Pi&&(Li(Pi,"submit",!0),or&&or(Pi))}}));var dl;if(Dn&&Eo==="date"&&St==="date"&&!Qt){var Vl=Ye.getNow(),Xs="".concat(me,"-today-btn"),cs=vt&&vt(Vl);dl=ne.createElement("a",{className:Wt()(Xs,cs&&"".concat(Xs,"-disabled")),"aria-disabled":cs,onClick:function(){cs||Li(Vl,"mouse",!0)}},Ue.today)}return ne.createElement(_e.Provider,{value:(0,Lt.Z)((0,Lt.Z)({},ao),{},{mode:Eo,hideHeader:"hideHeader"in ee?Jt:ao.hideHeader,hidePrevBtn:co&&Vr==="right",hideNextBtn:co&&Vr==="left"})},ne.createElement("div",{tabIndex:cn,className:Wt()("".concat(me,"-panel"),Le,(oe={},(0,at.Z)(oe,"".concat(me,"-panel-has-range"),wr&&wr[0]&&wr[1]),(0,at.Z)(oe,"".concat(me,"-panel-has-range-hover"),Da&&Da[0]&&Da[1]),(0,at.Z)(oe,"".concat(me,"-panel-rtl"),Fa==="rtl"),oe)),style:Ee,onKeyDown:Al,onBlur:Ur,onMouseDown:$n},Rr,Wl||Nl||dl?ne.createElement("div",{className:"".concat(me,"-footer")},Wl,Nl,dl):null))}var vo=Gr,_r=te(45987),Bo=te(73935);function Ro(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var eo={};function vi(ee,oe){}function ll(ee,oe){}function Dl(){eo={}}function yl(ee,oe,ie){!oe&&!eo[ie]&&(ee(!1,ie),eo[ie]=!0)}function nl(ee,oe){yl(vi,ee,oe)}function ii(ee,oe){yl(ll,ee,oe)}var Ql=null,Ml=te(49286);function Jl(ee,oe,ie){var ge=ne.useRef({});return(!("value"in ge.current)||ie(ge.current.condition,oe))&&(ge.current.value=ee(),ge.current.condition=oe),ge.current.value}function Zs(ee,oe){typeof ee=="function"?ee(oe):(0,Zt.Z)(ee)==="object"&&ee&&"current"in ee&&(ee.current=oe)}function bl(){for(var ee=arguments.length,oe=new Array(ee),ie=0;ie<ee;ie++)oe[ie]=arguments[ie];var ge=oe.filter(function(me){return me});return ge.length<=1?ge[0]:function(me){oe.forEach(function(Le){Zs(Le,me)})}}function zs(){for(var ee=arguments.length,oe=new Array(ee),ie=0;ie<ee;ie++)oe[ie]=arguments[ie];return Jl(function(){return bl.apply(void 0,oe)},oe,function(ge,me){return ge.length===me.length&&ge.every(function(Le,Ee){return Le===me[Ee]})})}function kl(ee){var oe,ie,ge=(0,Ml.isMemo)(ee)?ee.type.type:ee.type;return!(typeof ge=="function"&&!((oe=ge.prototype)!==null&&oe!==void 0&&oe.render)||typeof ee=="function"&&!((ie=ee.prototype)!==null&&ie!==void 0&&ie.render))}var Bd=ne.createContext(null),Cl=Bd,Hs=Ro()?ne.useLayoutEffect:ne.useEffect,ls=Hs,nd=function(oe,ie){var ge=React.useRef(!0);Hs(function(){if(!ge.current)return oe()},ie),Hs(function(){return ge.current=!1,function(){ge.current=!0}},[])},ni=[];function li(ee,oe){var ie=ne.useState(function(){if(!Ro())return null;var Ct=document.createElement("div");return Ct}),ge=(0,Ce.Z)(ie,1),me=ge[0],Le=ne.useRef(!1),Ee=ne.useContext(Cl),Ue=ne.useState(ni),Ye=(0,Ce.Z)(Ue,2),it=Ye[0],Tt=Ye[1],ut=Ee||(Le.current?void 0:function(Ct){Tt(function(qe){var St=[Ct].concat((0,cr.Z)(qe));return St})});function gt(){me.parentElement||document.body.appendChild(me),Le.current=!0}function vt(){var Ct;(Ct=me.parentElement)===null||Ct===void 0||Ct.removeChild(me),Le.current=!1}return ls(function(){return ee?Ee?Ee(gt):gt():vt(),vt},[ee]),ls(function(){it.length&&(it.forEach(function(Ct){return Ct()}),Tt(ni))},[it]),[me,ut]}function Wi(ee,oe){if(!ee)return!1;if(ee.contains)return ee.contains(oe);for(var ie=oe;ie;){if(ie===ee)return!0;ie=ie.parentNode}return!1}var ws="data-rc-order",Dd="rc-util-key",ai=new Map;function Xl(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=ee.mark;return oe?oe.startsWith("data-")?oe:"data-".concat(oe):Dd}function Zl(ee){if(ee.attachTo)return ee.attachTo;var oe=document.querySelector("head");return oe||document.body}function lr(ee){return ee==="queue"?"prependQueue":ee?"prepend":"append"}function ql(ee){return Array.from((ai.get(ee)||ee).children).filter(function(oe){return oe.tagName==="STYLE"})}function _l(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ro())return null;var ie=oe.csp,ge=oe.prepend,me=document.createElement("style");me.setAttribute(ws,lr(ge)),ie!=null&&ie.nonce&&(me.nonce=ie==null?void 0:ie.nonce),me.innerHTML=ee;var Le=Zl(oe),Ee=Le.firstChild;if(ge){if(ge==="queue"){var Ue=ql(Le).filter(function(Ye){return["prepend","prependQueue"].includes(Ye.getAttribute(ws))});if(Ue.length)return Le.insertBefore(me,Ue[Ue.length-1].nextSibling),me}Le.insertBefore(me,Ee)}else Le.appendChild(me);return me}function Gs(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=Zl(oe);return ql(ie).find(function(ge){return ge.getAttribute(Xl(oe))===ee})}function Ls(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=Gs(ee,oe);if(ie){var ge=Zl(oe);ge.removeChild(ie)}}function Ks(ee,oe){var ie=ai.get(ee);if(!ie||!Wi(document,ie)){var ge=_l("",oe),me=ge.parentNode;ai.set(ee,me),ee.removeChild(ge)}}function Pu(){ai.clear()}function ad(ee,oe){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ge=Zl(ie);Ks(ge,ie);var me=Gs(oe,ie);if(me){var Le,Ee;if((Le=ie.csp)!==null&&Le!==void 0&&Le.nonce&&me.nonce!==((Ee=ie.csp)===null||Ee===void 0?void 0:Ee.nonce)){var Ue;me.nonce=(Ue=ie.csp)===null||Ue===void 0?void 0:Ue.nonce}return me.innerHTML!==ee&&(me.innerHTML=ee),me}var Ye=_l(ee,ie);return Ye.setAttribute(Xl(ie),oe),Ye}var As;function yu(ee){if(typeof document=="undefined")return 0;if(ee||As===void 0){var oe=document.createElement("div");oe.style.width="100%",oe.style.height="200px";var ie=document.createElement("div"),ge=ie.style;ge.position="absolute",ge.top="0",ge.left="0",ge.pointerEvents="none",ge.visibility="hidden",ge.width="200px",ge.height="150px",ge.overflow="hidden",ie.appendChild(oe),document.body.appendChild(ie);var me=oe.offsetWidth;ie.style.overflow="scroll";var Le=oe.offsetWidth;me===Le&&(Le=ie.clientWidth),document.body.removeChild(ie),As=me-Le}return As}function iu(ee){var oe=ee.match(/^(.*)px$/),ie=Number(oe==null?void 0:oe[1]);return Number.isNaN(ie)?yu():ie}function bu(ee){if(typeof document=="undefined"||!ee||!(ee instanceof Element))return{width:0,height:0};var oe=getComputedStyle(ee,"::-webkit-scrollbar"),ie=oe.width,ge=oe.height;return{width:iu(ie),height:iu(ge)}}function js(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ud="rc-util-locker-".concat(Date.now()),cd=0;function Cu(ee){var oe=!!ee,ie=ne.useState(function(){return cd+=1,"".concat(ud,"_").concat(cd)}),ge=(0,Ce.Z)(ie,1),me=ge[0];ls(function(){if(oe){var Le=bu(document.body).width,Ee=js();ad(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(Ee?"width: calc(100% - ".concat(Le,"px);"):"",`
|
|
}`),me)}else Ls(me);return function(){Ls(me)}},[oe,me])}var lu=!1;function xu(ee){return typeof ee=="boolean"&&(lu=ee),lu}var su=function(oe){return oe===!1?!1:!Ro()||!oe?null:typeof oe=="string"?document.querySelector(oe):typeof oe=="function"?oe():oe},Eu=ne.forwardRef(function(ee,oe){var ie=ee.open,ge=ee.autoLock,me=ee.getContainer,Le=ee.debug,Ee=ee.autoDestroy,Ue=Ee===void 0?!0:Ee,Ye=ee.children,it=ne.useState(ie),Tt=(0,Ce.Z)(it,2),ut=Tt[0],gt=Tt[1],vt=ut||ie;ne.useEffect(function(){(Ue||ie)&>(ie)},[ie,Ue]);var Ct=ne.useState(function(){return su(me)}),qe=(0,Ce.Z)(Ct,2),St=qe[0],Ht=qe[1];ne.useEffect(function(){var Ra=su(me);Ht(Ra!=null?Ra:null)});var cn=li(vt&&!St,Le),Xt=(0,Ce.Z)(cn,2),Qt=Xt[0],Dn=Xt[1],Vt=St!=null?St:Qt;Cu(ge&&ie&&Ro()&&(Vt===Qt||Vt===document.body));var Jt=null;if(Ye&&kl(Ye)&&oe){var oa=Ye;Jt=oa.ref}var Tn=zs(Jt,oe);if(!vt||!Ro()||St===void 0)return null;var ia=Vt===!1||xu(),$n=Ye;return oe&&($n=ne.cloneElement(Ye,{ref:Tn})),ne.createElement(Cl.Provider,{value:Dn},ia?$n:(0,Bo.createPortal)($n,Vt))}),wu=Eu,Yd=wu,du=te(48555);function Md(ee){return ee instanceof HTMLElement||ee instanceof SVGElement}function Lu(ee){return Md(ee)?ee:ee instanceof React.Component?ReactDOM.findDOMNode(ee):null}function gd(ee){var oe;return ee==null||(oe=ee.getRootNode)===null||oe===void 0?void 0:oe.call(ee)}function Au(ee){return gd(ee)instanceof ShadowRoot}function rd(ee){return Au(ee)?gd(ee):null}var Ns=te(77527);function Nu(){var ee=(0,Lt.Z)({},fe);return ee.useId}var Qd=0;function Ou(){}var Pe=Nu(),Me=Pe?function(oe){var ie=Pe();return oe||ie}:function(oe){var ie=ne.useState("ssr-id"),ge=(0,Ce.Z)(ie,2),me=ge[0],Le=ge[1];return ne.useEffect(function(){var Ee=Qd;Qd+=1,Le("rc_unique_".concat(Ee))},[]),oe||me},ke=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var ee=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(ee)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(ee==null?void 0:ee.substr(0,4))},tt=ne.createContext(null),wt=tt;function qt(ee){return ee?Array.isArray(ee)?ee:[ee]:[]}function an(ee,oe,ie,ge){return ne.useMemo(function(){var me=qt(ie!=null?ie:oe),Le=qt(ge!=null?ge:oe),Ee=new Set(me),Ue=new Set(Le);return ee&&(Ee.has("hover")&&(Ee.delete("hover"),Ee.add("click")),Ue.has("hover")&&(Ue.delete("hover"),Ue.add("click"))),[Ee,Ue]},[ee,oe,ie,ge])}function Kn(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ie=arguments.length>2?arguments[2]:void 0;return ie?ee[0]===oe[0]:ee[0]===oe[0]&&ee[1]===oe[1]}function aa(ee,oe,ie,ge){for(var me=ie.points,Le=Object.keys(ee),Ee=0;Ee<Le.length;Ee+=1){var Ue,Ye=Le[Ee];if(Kn((Ue=ee[Ye])===null||Ue===void 0?void 0:Ue.points,me,ge))return"".concat(oe,"-placement-").concat(Ye)}return""}function Qn(ee,oe,ie,ge){return oe||(ie?{motionName:"".concat(ee,"-").concat(ie)}:ge?{motionName:ge}:null)}function xa(ee){return ee.ownerDocument.defaultView}function Xn(ee){for(var oe=[],ie=ee==null?void 0:ee.parentElement,ge=["hidden","scroll","clip","auto"];ie;){var me=xa(ie).getComputedStyle(ie),Le=me.overflowX,Ee=me.overflowY,Ue=me.overflow;[Le,Ee,Ue].some(function(Ye){return ge.includes(Ye)})&&oe.push(ie),ie=ie.parentElement}return oe}function Ba(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ee)?oe:ee}function Pa(ee){return Ba(parseFloat(ee),0)}function qa(ee,oe){var ie=(0,Lt.Z)({},ee);return(oe||[]).forEach(function(ge){if(!(ge instanceof HTMLBodyElement||ge instanceof HTMLHtmlElement)){var me=xa(ge).getComputedStyle(ge),Le=me.overflow,Ee=me.overflowClipMargin,Ue=me.borderTopWidth,Ye=me.borderBottomWidth,it=me.borderLeftWidth,Tt=me.borderRightWidth,ut=ge.getBoundingClientRect(),gt=ge.offsetHeight,vt=ge.clientHeight,Ct=ge.offsetWidth,qe=ge.clientWidth,St=Pa(Ue),Ht=Pa(Ye),cn=Pa(it),Xt=Pa(Tt),Qt=Ba(Math.round(ut.width/Ct*1e3)/1e3),Dn=Ba(Math.round(ut.height/gt*1e3)/1e3),Vt=(Ct-qe-cn-Xt)*Qt,Jt=(gt-vt-St-Ht)*Dn,oa=St*Dn,Tn=Ht*Dn,ia=cn*Qt,$n=Xt*Qt,Ra=0,or=0;if(Le==="clip"){var xr=Pa(Ee);Ra=xr*Qt,or=xr*Dn}var Fa=ut.x+ia-Ra,Za=ut.y+oa-or,ma=Fa+ut.width+2*Ra-ia-$n-Vt,Er=Za+ut.height+2*or-oa-Tn-Jt;ie.left=Math.max(ie.left,Fa),ie.top=Math.max(ie.top,Za),ie.right=Math.min(ie.right,ma),ie.bottom=Math.min(ie.bottom,Er)}}),ie}function Fr(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ie="".concat(oe),ge=ie.match(/^(.*)\%$/);return ge?ee*(parseFloat(ge[1])/100):parseFloat(ie)}function Ar(ee,oe){var ie=oe||[],ge=(0,Ce.Z)(ie,2),me=ge[0],Le=ge[1];return[Fr(ee.width,me),Fr(ee.height,Le)]}function Kr(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ee[0],ee[1]]}function Cr(ee,oe){var ie=oe[0],ge=oe[1],me,Le;return ie==="t"?Le=ee.y:ie==="b"?Le=ee.y+ee.height:Le=ee.y+ee.height/2,ge==="l"?me=ee.x:ge==="r"?me=ee.x+ee.width:me=ee.x+ee.width/2,{x:me,y:Le}}function er(ee,oe){var ie={t:"b",b:"t",l:"r",r:"l"};return ee.map(function(ge,me){return me===oe?ie[ge]||"c":ge}).join("")}function Ma(ee,oe,ie,ge,me,Le,Ee){var Ue=ne.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:me[ge]||{}}),Ye=(0,Ce.Z)(Ue,2),it=Ye[0],Tt=Ye[1],ut=ne.useRef(0),gt=ne.useMemo(function(){return oe?Xn(oe):[]},[oe]),vt=ne.useRef({}),Ct=function(){vt.current={}};ee||Ct();var qe=(0,Ns.Z)(function(){if(oe&&ie&&ee){let Tl=function(au,Nd){var _s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Br,ru=_a.x+au,Kd=_a.y+Nd,mu=ru+Ir,vu=Kd+kr,sd=Math.max(ru,_s.left),hu=Math.max(Kd,_s.top),Ru=Math.min(mu,_s.right),$a=Math.min(vu,_s.bottom);return Math.max(0,(Ru-sd)*($a-hu))},Fs=function(){To=_a.y+Rr,ul=To+kr,ks=_a.x+Ur,Cs=ks+Ir};var cn,Xt,Qt=oe,Dn=Qt.ownerDocument,Vt=xa(Qt),Jt=Vt.getComputedStyle(Qt),oa=Jt.width,Tn=Jt.height,ia=Jt.position,$n=Qt.style.left,Ra=Qt.style.top,or=Qt.style.right,xr=Qt.style.bottom,Fa=(0,Lt.Z)((0,Lt.Z)({},me[ge]),Le),Za=Dn.createElement("div");(cn=Qt.parentElement)===null||cn===void 0||cn.appendChild(Za),Za.style.left="".concat(Qt.offsetLeft,"px"),Za.style.top="".concat(Qt.offsetTop,"px"),Za.style.position=ia,Za.style.height="".concat(Qt.offsetHeight,"px"),Za.style.width="".concat(Qt.offsetWidth,"px"),Qt.style.left="0",Qt.style.top="0",Qt.style.right="auto",Qt.style.bottom="auto";var ma;if(Array.isArray(ie))ma={x:ie[0],y:ie[1],width:0,height:0};else{var Er=ie.getBoundingClientRect();ma={x:Er.x,y:Er.y,width:Er.width,height:Er.height}}var _a=Qt.getBoundingClientRect(),ir=Dn.documentElement,no=ir.clientWidth,uo=ir.clientHeight,xo=ir.scrollWidth,ei=ir.scrollHeight,Xr=ir.scrollTop,Go=ir.scrollLeft,kr=_a.height,Ir=_a.width,ao=ma.height,Ko=ma.width,Vo={left:0,top:0,right:no,bottom:uo},xi={left:-Go,top:-Xr,right:xo-Go,bottom:ei-Xr},Uo=Fa.htmlRegion,tr="visible",co="visibleFirst";Uo!=="scroll"&&Uo!==co&&(Uo=tr);var Vr=Uo===co,wr=qa(xi,gt),Da=qa(Vo,gt),Br=Uo===tr?Da:wr,Po=Vr?Da:Br;Qt.style.left="auto",Qt.style.top="auto",Qt.style.right="0",Qt.style.bottom="0";var ki=Qt.getBoundingClientRect();Qt.style.left=$n,Qt.style.top=Ra,Qt.style.right=or,Qt.style.bottom=xr,(Xt=Qt.parentElement)===null||Xt===void 0||Xt.removeChild(Za);var qi=Ba(Math.round(Ir/parseFloat(oa)*1e3)/1e3),Pi=Ba(Math.round(kr/parseFloat(Tn)*1e3)/1e3);if(qi===0||Pi===0||Md(ie)&&!(0,Ga.Z)(ie))return;var jl=Fa.offset,us=Fa.targetOffset,Ui=Ar(_a,jl),Ri=(0,Ce.Z)(Ui,2),Ei=Ri[0],nr=Ri[1],ro=Ar(ma,us),Oo=(0,Ce.Z)(ro,2),wi=Oo[0],Eo=Oo[1];ma.x-=wi,ma.y-=Eo;var Fi=Fa.points||[],gi=(0,Ce.Z)(Fi,2),$i=gi[0],_i=gi[1],yi=Kr(_i),Oi=Kr($i),Li=Cr(ma,yi),el=Cr(_a,Oi),Al=(0,Lt.Z)({},Fa),Ur=Li.x-el.x+Ei,Rr=Li.y-el.y+nr,rl=Tl(Ur,Rr),qr=Tl(Ur,Rr,Da),Wl=Cr(ma,["t","l"]),Nl=Cr(_a,["t","l"]),Bl=Cr(ma,["b","r"]),dl=Cr(_a,["b","r"]),Vl=Fa.overflow||{},Xs=Vl.adjustX,cs=Vl.adjustY,hr=Vl.shiftX,ha=Vl.shiftY,Dr=function(Nd){return typeof Nd=="boolean"?Nd:Nd>=0},To,ul,ks,Cs;Fs();var od=Dr(cs),qs=Oi[0]===yi[0];if(od&&Oi[0]==="t"&&(ul>Po.bottom||vt.current.bt)){var oi=Rr;qs?oi-=kr-ao:oi=Wl.y-dl.y-nr;var Lr=Tl(Ur,oi),pl=Tl(Ur,oi,Da);Lr>rl||Lr===rl&&(!Vr||pl>=qr)?(vt.current.bt=!0,Rr=oi,nr=-nr,Al.points=[er(Oi,0),er(yi,0)]):vt.current.bt=!1}if(od&&Oi[0]==="b"&&(To<Po.top||vt.current.tb)){var cl=Rr;qs?cl+=kr-ao:cl=Bl.y-Nl.y-nr;var xd=Tl(Ur,cl),_d=Tl(Ur,cl,Da);xd>rl||xd===rl&&(!Vr||_d>=qr)?(vt.current.tb=!0,Rr=cl,nr=-nr,Al.points=[er(Oi,0),er(yi,0)]):vt.current.tb=!1}var Zd=Dr(Xs),Ed=Oi[1]===yi[1];if(Zd&&Oi[1]==="l"&&(Cs>Po.right||vt.current.rl)){var xs=Ur;Ed?xs-=Ir-Ko:xs=Wl.x-dl.x-Ei;var wd=Tl(xs,Rr),eu=Tl(xs,Rr,Da);wd>rl||wd===rl&&(!Vr||eu>=qr)?(vt.current.rl=!0,Ur=xs,Ei=-Ei,Al.points=[er(Oi,1),er(yi,1)]):vt.current.rl=!1}if(Zd&&Oi[1]==="r"&&(ks<Po.left||vt.current.lr)){var Rs=Ur;Ed?Rs+=Ir-Ko:Rs=Bl.x-Nl.x-Ei;var $o=Tl(Rs,Rr),Qa=Tl(Rs,Rr,Da);$o>rl||$o===rl&&(!Vr||Qa>=qr)?(vt.current.lr=!0,Ur=Rs,Ei=-Ei,Al.points=[er(Oi,1),er(yi,1)]):vt.current.lr=!1}Fs();var zi=hr===!0?0:hr;typeof zi=="number"&&(ks<Da.left&&(Ur-=ks-Da.left-Ei,ma.x+Ko<Da.left+zi&&(Ur+=ma.x-Da.left+Ko-zi)),Cs>Da.right&&(Ur-=Cs-Da.right-Ei,ma.x>Da.right-zi&&(Ur+=ma.x-Da.right+zi)));var Hi=ha===!0?0:ha;typeof Hi=="number"&&(To<Da.top&&(Rr-=To-Da.top-nr,ma.y+ao<Da.top+Hi&&(Rr+=ma.y-Da.top+ao-Hi)),ul>Da.bottom&&(Rr-=ul-Da.bottom-nr,ma.y>Da.bottom-Hi&&(Rr+=ma.y-Da.bottom+Hi)));var id=_a.x+Ur,ld=id+Ir,zd=_a.y+Rr,Ld=zd+kr,gs=ma.x,Bu=gs+Ko,uu=ma.y,cu=uu+ao,Ad=Math.max(id,gs),Du=Math.min(ld,Bu),gu=(Ad+Du)/2,Mu=gu-id,Hd=Math.max(zd,uu),Gd=Math.min(Ld,cu),fu=(Hd+Gd)/2,tu=fu-zd;Ee==null||Ee(oe,Al);var ku=ki.right-_a.x-(Ur+_a.width),nu=ki.bottom-_a.y-(Rr+_a.height);Tt({ready:!0,offsetX:Ur/qi,offsetY:Rr/Pi,offsetR:ku/qi,offsetB:nu/Pi,arrowX:Mu/qi,arrowY:tu/Pi,scaleX:qi,scaleY:Pi,align:Al})}}),St=function(){ut.current+=1;var Xt=ut.current;Promise.resolve().then(function(){ut.current===Xt&&qe()})},Ht=function(){Tt(function(Xt){return(0,Lt.Z)((0,Lt.Z)({},Xt),{},{ready:!1})})};return(0,Rn.Z)(Ht,[ge]),(0,Rn.Z)(function(){ee||Ht()},[ee]),[it.ready,it.offsetX,it.offsetY,it.offsetR,it.offsetB,it.arrowX,it.arrowY,it.scaleX,it.scaleY,it.align,St]}function Zo(ee,oe,ie,ge,me){(0,Rn.Z)(function(){if(ee&&oe&&ie){let ut=function(){ge(),me()};var Le=oe,Ee=ie,Ue=Xn(Le),Ye=Xn(Ee),it=xa(Ee),Tt=new Set([it].concat((0,cr.Z)(Ue),(0,cr.Z)(Ye)));return Tt.forEach(function(gt){gt.addEventListener("scroll",ut,{passive:!0})}),it.addEventListener("resize",ut,{passive:!0}),ge(),function(){Tt.forEach(function(gt){gt.removeEventListener("scroll",ut),it.removeEventListener("resize",ut)})}}},[ee,oe,ie])}var yo=te(60276);function zo(ee,oe,ie,ge,me,Le,Ee,Ue){var Ye=ne.useRef(ee),it=ne.useRef(!1);Ye.current!==ee&&(it.current=!0,Ye.current=ee),ne.useEffect(function(){var Tt=(0,qn.Z)(function(){it.current=!1});return function(){qn.Z.cancel(Tt)}},[ee]),ne.useEffect(function(){if(oe&&ge&&(!me||Le)){var Tt=function(){var ia=!1,$n=function(xr){var Fa=xr.target;ia=Ee(Fa)},Ra=function(xr){var Fa=xr.target;!it.current&&Ye.current&&!ia&&!Ee(Fa)&&Ue(!1)};return[$n,Ra]},ut=Tt(),gt=(0,Ce.Z)(ut,2),vt=gt[0],Ct=gt[1],qe=Tt(),St=(0,Ce.Z)(qe,2),Ht=St[0],cn=St[1],Xt=xa(ge);Xt.addEventListener("mousedown",vt,!0),Xt.addEventListener("click",Ct,!0),Xt.addEventListener("contextmenu",Ct,!0);var Qt=rd(ie);if(Qt&&(Qt.addEventListener("mousedown",Ht,!0),Qt.addEventListener("click",cn,!0),Qt.addEventListener("contextmenu",cn,!0)),0)var Dn,Vt,Jt,oa;return function(){Xt.removeEventListener("mousedown",vt,!0),Xt.removeEventListener("click",Ct,!0),Xt.removeEventListener("contextmenu",Ct,!0),Qt&&(Qt.removeEventListener("mousedown",Ht,!0),Qt.removeEventListener("click",cn,!0),Qt.removeEventListener("contextmenu",cn,!0))}}},[oe,ie,ge,me,Le])}function qo(ee){return ee instanceof HTMLElement||ee instanceof SVGElement}function Ni(ee){return qo(ee)?ee:ee instanceof ne.Component?Bo.findDOMNode(ee):null}function Ao(ee,oe,ie){var ge=React.useRef({});return(!("value"in ge.current)||ie(ge.current.condition,oe))&&(ge.current.value=ee(),ge.current.condition=oe),ge.current.value}function jr(ee,oe){typeof ee=="function"?ee(oe):(0,Zt.Z)(ee)==="object"&&ee&&"current"in ee&&(ee.current=oe)}function _o(){for(var ee=arguments.length,oe=new Array(ee),ie=0;ie<ee;ie++)oe[ie]=arguments[ie];var ge=oe.filter(function(me){return me});return ge.length<=1?ge[0]:function(me){oe.forEach(function(Le){jr(Le,me)})}}function ui(){for(var ee=arguments.length,oe=new Array(ee),ie=0;ie<ee;ie++)oe[ie]=arguments[ie];return useMemo(function(){return _o.apply(void 0,oe)},oe,function(ge,me){return ge.length===me.length&&ge.every(function(Le,Ee){return Le===me[Ee]})})}function Do(ee){var oe,ie,ge=(0,Ml.isMemo)(ee)?ee.type.type:ee.type;return!(typeof ge=="function"&&!((oe=ge.prototype)!==null&&oe!==void 0&&oe.render)||typeof ee=="function"&&!((ie=ee.prototype)!==null&&ie!==void 0&&ie.render))}function Or(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function ho(ee,oe){var ie={};return ie[ee.toLowerCase()]=oe.toLowerCase(),ie["Webkit".concat(ee)]="webkit".concat(oe),ie["Moz".concat(ee)]="moz".concat(oe),ie["ms".concat(ee)]="MS".concat(oe),ie["O".concat(ee)]="o".concat(oe.toLowerCase()),ie}function Sr(ee,oe){var ie={animationend:ho("Animation","AnimationEnd"),transitionend:ho("Transition","TransitionEnd")};return ee&&("AnimationEvent"in oe||delete ie.animationend.animation,"TransitionEvent"in oe||delete ie.transitionend.transition),ie}var hi=Sr(Or(),typeof window!="undefined"?window:{}),io={};if(Or()){var Ci=document.createElement("div");io=Ci.style}var Ji={};function Bi(ee){if(Ji[ee])return Ji[ee];var oe=hi[ee];if(oe)for(var ie=Object.keys(oe),ge=ie.length,me=0;me<ge;me+=1){var Le=ie[me];if(Object.prototype.hasOwnProperty.call(oe,Le)&&Le in io)return Ji[ee]=oe[Le],Ji[ee]}return""}var xl=Bi("animationend"),El=Bi("transitionend"),lo=!!(xl&&El),vl=xl||"animationend",si=El||"transitionend";function So(ee,oe){if(!ee)return null;if((0,Zt.Z)(ee)==="object"){var ie=oe.replace(/-\w/g,function(ge){return ge[1].toUpperCase()});return ee[ie]}return"".concat(ee,"-").concat(oe)}var Ho="none",Xi="appear",Rl="enter",es="leave",Vi="none",ci="prepare",sl="start",Di="active",bo="end";function dr(ee){var oe=ne.useRef(!1),ie=ne.useState(ee),ge=(0,Ce.Z)(ie,2),me=ge[0],Le=ge[1];ne.useEffect(function(){return oe.current=!1,function(){oe.current=!0}},[]);function Ee(Ue,Ye){Ye&&oe.current||Le(Ue)}return[me,Ee]}var Si=function(oe){return+setTimeout(oe,16)},hl=function(oe){return clearTimeout(oe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Si=function(oe){return window.requestAnimationFrame(oe)},hl=function(oe){return window.cancelAnimationFrame(oe)});var ts=0,ps=new Map;function zl(ee){ps.delete(ee)}var Ws=function(oe){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ts+=1;var ge=ts;function me(Le){if(Le===0)zl(ge),oe();else{var Ee=Si(function(){me(Le-1)});ps.set(ge,Ee)}}return me(ie),ge};Ws.cancel=function(ee){var oe=ps.get(ee);return zl(oe),hl(oe)};var fd=Ws,ns=function(){var ee=ne.useRef(null);function oe(){fd.cancel(ee.current)}function ie(ge){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;oe();var Le=fd(function(){me<=1?ge({isCanceled:function(){return Le!==ee.current}}):ie(ge,me-1)});ee.current=Le}return ne.useEffect(function(){return function(){oe()}},[]),[ie,oe]},Jd=Or()?ne.useLayoutEffect:ne.useEffect,Hl=Jd,as=[ci,sl,Di,bo],md=!1,ss=!0;function kd(ee){return ee===Di||ee===bo}var Xd=function(ee,oe){var ie=dr(Vi),ge=(0,Ce.Z)(ie,2),me=ge[0],Le=ge[1],Ee=ns(),Ue=(0,Ce.Z)(Ee,2),Ye=Ue[0],it=Ue[1];function Tt(){Le(ci,!0)}return Hl(function(){if(me!==Vi&&me!==bo){var ut=as.indexOf(me),gt=as[ut+1],vt=oe(me);vt===md?Le(gt,!0):Ye(function(Ct){function qe(){Ct.isCanceled()||Le(gt,!0)}vt===!0?qe():Promise.resolve(vt).then(qe)})}},[ee,me]),ne.useEffect(function(){return function(){it()}},[]),[Tt,me]},vd=function(ee){var oe=(0,ne.useRef)(),ie=(0,ne.useRef)(ee);ie.current=ee;var ge=ne.useCallback(function(Ee){ie.current(Ee)},[]);function me(Ee){Ee&&(Ee.removeEventListener(si,ge),Ee.removeEventListener(vl,ge))}function Le(Ee){oe.current&&oe.current!==Ee&&me(oe.current),Ee&&Ee!==oe.current&&(Ee.addEventListener(si,ge),Ee.addEventListener(vl,ge),oe.current=Ee)}return ne.useEffect(function(){return function(){me(oe.current)}},[]),[Le,me]};function Fl(ee,oe,ie,ge){var me=ge.motionEnter,Le=me===void 0?!0:me,Ee=ge.motionAppear,Ue=Ee===void 0?!0:Ee,Ye=ge.motionLeave,it=Ye===void 0?!0:Ye,Tt=ge.motionDeadline,ut=ge.motionLeaveImmediately,gt=ge.onAppearPrepare,vt=ge.onEnterPrepare,Ct=ge.onLeavePrepare,qe=ge.onAppearStart,St=ge.onEnterStart,Ht=ge.onLeaveStart,cn=ge.onAppearActive,Xt=ge.onEnterActive,Qt=ge.onLeaveActive,Dn=ge.onAppearEnd,Vt=ge.onEnterEnd,Jt=ge.onLeaveEnd,oa=ge.onVisibleChanged,Tn=dr(),ia=(0,Ce.Z)(Tn,2),$n=ia[0],Ra=ia[1],or=dr(Ho),xr=(0,Ce.Z)(or,2),Fa=xr[0],Za=xr[1],ma=dr(null),Er=(0,Ce.Z)(ma,2),_a=Er[0],ir=Er[1],no=(0,ne.useRef)(!1),uo=(0,ne.useRef)(null);function xo(){return ie()}var ei=(0,ne.useRef)(!1);function Xr(wr){var Da=xo();if(!(wr&&!wr.deadline&&wr.target!==Da)){var Br=ei.current,Po;Fa===Xi&&Br?Po=Dn==null?void 0:Dn(Da,wr):Fa===Rl&&Br?Po=Vt==null?void 0:Vt(Da,wr):Fa===es&&Br&&(Po=Jt==null?void 0:Jt(Da,wr)),Fa!==Ho&&Br&&Po!==!1&&(Za(Ho,!0),ir(null,!0))}}var Go=vd(Xr),kr=(0,Ce.Z)(Go,1),Ir=kr[0],ao=ne.useMemo(function(){var wr,Da,Br;switch(Fa){case Xi:return wr={},(0,at.Z)(wr,ci,gt),(0,at.Z)(wr,sl,qe),(0,at.Z)(wr,Di,cn),wr;case Rl:return Da={},(0,at.Z)(Da,ci,vt),(0,at.Z)(Da,sl,St),(0,at.Z)(Da,Di,Xt),Da;case es:return Br={},(0,at.Z)(Br,ci,Ct),(0,at.Z)(Br,sl,Ht),(0,at.Z)(Br,Di,Qt),Br;default:return{}}},[Fa]),Ko=Xd(Fa,function(wr){if(wr===ci){var Da=ao[ci];return Da?Da(xo()):md}if(Uo in ao){var Br;ir(((Br=ao[Uo])===null||Br===void 0?void 0:Br.call(ao,xo(),null))||null)}return Uo===Di&&(Ir(xo()),Tt>0&&(clearTimeout(uo.current),uo.current=setTimeout(function(){Xr({deadline:!0})},Tt))),ss}),Vo=(0,Ce.Z)(Ko,2),xi=Vo[0],Uo=Vo[1],tr=kd(Uo);ei.current=tr,Hl(function(){Ra(oe);var wr=no.current;if(no.current=!0,!!ee){var Da;!wr&&oe&&Ue&&(Da=Xi),wr&&oe&&Le&&(Da=Rl),(wr&&!oe&&it||!wr&&ut&&!oe&&it)&&(Da=es),Da&&(Za(Da),xi())}},[oe]),(0,ne.useEffect)(function(){(Fa===Xi&&!Ue||Fa===Rl&&!Le||Fa===es&&!it)&&Za(Ho)},[Ue,Le,it]),(0,ne.useEffect)(function(){return function(){no.current=!1,clearTimeout(uo.current)}},[]);var co=ne.useRef(!1);(0,ne.useEffect)(function(){$n&&(co.current=!0),$n!==void 0&&Fa===Ho&&((co.current||$n)&&(oa==null||oa($n)),co.current=!0)},[$n,Fa]);var Vr=_a;return ao[ci]&&Uo===sl&&(Vr=(0,Lt.Z)({transition:"none"},Vr)),[Fa,Uo,Vr,$n!=null?$n:oe]}var Vs=function(ee){(0,Dt.Z)(ie,ee);var oe=(0,En.Z)(ie);function ie(){return(0,nn.Z)(this,ie),oe.apply(this,arguments)}return(0,Ve.Z)(ie,[{key:"render",value:function(){return this.props.children}}]),ie}(ne.Component),qd=Vs;function Bs(ee){var oe=ee;(0,Zt.Z)(ee)==="object"&&(oe=ee.transitionSupport);function ie(me){return!!(me.motionName&&oe)}var ge=ne.forwardRef(function(me,Le){var Ee=me.visible,Ue=Ee===void 0?!0:Ee,Ye=me.removeOnLeave,it=Ye===void 0?!0:Ye,Tt=me.forceRender,ut=me.children,gt=me.motionName,vt=me.leavedClassName,Ct=me.eventProps,qe=ie(me),St=(0,ne.useRef)(),Ht=(0,ne.useRef)();function cn(){try{return St.current instanceof HTMLElement?St.current:Ni(Ht.current)}catch(ma){return null}}var Xt=Fl(qe,Ue,cn,me),Qt=(0,Ce.Z)(Xt,4),Dn=Qt[0],Vt=Qt[1],Jt=Qt[2],oa=Qt[3],Tn=ne.useRef(oa);oa&&(Tn.current=!0);var ia=ne.useCallback(function(ma){St.current=ma,jr(Le,ma)},[Le]),$n,Ra=(0,Lt.Z)((0,Lt.Z)({},Ct),{},{visible:Ue});if(!ut)$n=null;else if(Dn===Ho||!ie(me))oa?$n=ut((0,Lt.Z)({},Ra),ia):!it&&Tn.current&&vt?$n=ut((0,Lt.Z)((0,Lt.Z)({},Ra),{},{className:vt}),ia):Tt||!it&&!vt?$n=ut((0,Lt.Z)((0,Lt.Z)({},Ra),{},{style:{display:"none"}}),ia):$n=null;else{var or,xr;Vt===ci?xr="prepare":kd(Vt)?xr="active":Vt===sl&&(xr="start"),$n=ut((0,Lt.Z)((0,Lt.Z)({},Ra),{},{className:Wt()(So(gt,Dn),(or={},(0,at.Z)(or,So(gt,"".concat(Dn,"-").concat(xr)),xr),(0,at.Z)(or,gt,typeof gt=="string"),or)),style:Jt}),ia)}if(ne.isValidElement($n)&&Do($n)){var Fa=$n,Za=Fa.ref;Za||($n=ne.cloneElement($n,{ref:ia}))}return ne.createElement(qd,{ref:Ht},$n)});return ge.displayName="CSSMotion",ge}var wl=Bs(lo),hd="add",Us="keep",Ps="remove",pi="removed";function Fo(ee){var oe;return ee&&(0,Zt.Z)(ee)==="object"&&"key"in ee?oe=ee:oe={key:ee},(0,Lt.Z)((0,Lt.Z)({},oe),{},{key:String(oe.key)})}function Gl(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return ee.map(Fo)}function ys(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ie=[],ge=0,me=oe.length,Le=Gl(ee),Ee=Gl(oe);Le.forEach(function(it){for(var Tt=!1,ut=ge;ut<me;ut+=1){var gt=Ee[ut];if(gt.key===it.key){ge<ut&&(ie=ie.concat(Ee.slice(ge,ut).map(function(vt){return(0,Lt.Z)((0,Lt.Z)({},vt),{},{status:hd})})),ge=ut),ie.push((0,Lt.Z)((0,Lt.Z)({},gt),{},{status:Us})),ge+=1,Tt=!0;break}}Tt||ie.push((0,Lt.Z)((0,Lt.Z)({},it),{},{status:Ps}))}),ge<me&&(ie=ie.concat(Ee.slice(ge).map(function(it){return(0,Lt.Z)((0,Lt.Z)({},it),{},{status:hd})})));var Ue={};ie.forEach(function(it){var Tt=it.key;Ue[Tt]=(Ue[Tt]||0)+1});var Ye=Object.keys(Ue).filter(function(it){return Ue[it]>1});return Ye.forEach(function(it){ie=ie.filter(function(Tt){var ut=Tt.key,gt=Tt.status;return ut!==it||gt!==Ps}),ie.forEach(function(Tt){Tt.key===it&&(Tt.status=Us)})}),ie}var Sd=["component","children","onVisibleChanged","onAllRemoved"],Rd=["status"],pd=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function rs(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wl,ie=function(ge){(0,Dt.Z)(Le,ge);var me=(0,En.Z)(Le);function Le(){var Ee;(0,nn.Z)(this,Le);for(var Ue=arguments.length,Ye=new Array(Ue),it=0;it<Ue;it++)Ye[it]=arguments[it];return Ee=me.call.apply(me,[this].concat(Ye)),(0,at.Z)((0,Pt.Z)(Ee),"state",{keyEntities:[]}),(0,at.Z)((0,Pt.Z)(Ee),"removeKey",function(Tt){var ut=Ee.state.keyEntities,gt=ut.map(function(vt){return vt.key!==Tt?vt:(0,Lt.Z)((0,Lt.Z)({},vt),{},{status:pi})});return Ee.setState({keyEntities:gt}),gt.filter(function(vt){var Ct=vt.status;return Ct!==pi}).length}),Ee}return(0,Ve.Z)(Le,[{key:"render",value:function(){var Ue=this,Ye=this.state.keyEntities,it=this.props,Tt=it.component,ut=it.children,gt=it.onVisibleChanged,vt=it.onAllRemoved,Ct=(0,_r.Z)(it,Sd),qe=Tt||ne.Fragment,St={};return pd.forEach(function(Ht){St[Ht]=Ct[Ht],delete Ct[Ht]}),delete Ct.keys,ne.createElement(qe,Ct,Ye.map(function(Ht){var cn=Ht.status,Xt=(0,_r.Z)(Ht,Rd),Qt=cn===hd||cn===Us;return ne.createElement(oe,(0,re.Z)({},St,{key:Xt.key,visible:Qt,eventProps:Xt,onVisibleChanged:function(Vt){if(gt==null||gt(Vt,{key:Xt.key}),!Vt){var Jt=Ue.removeKey(Xt.key);Jt===0&&vt&&vt()}}}),ut)}))}}],[{key:"getDerivedStateFromProps",value:function(Ue,Ye){var it=Ue.keys,Tt=Ye.keyEntities,ut=Gl(it),gt=ys(Tt,ut);return{keyEntities:gt.filter(function(vt){var Ct=Tt.find(function(qe){var St=qe.key;return vt.key===St});return!(Ct&&Ct.status===pi&&vt.status===Ps)})}}}]),Le}(ne.Component);return(0,at.Z)(ie,"defaultProps",{component:"div"}),ie}var Pd=rs(lo),Fd=wl,Ds=te(17799);function Od(ee){var oe=ee.prefixCls,ie=ee.align,ge=ee.arrow,me=ee.arrowPos,Le=ge||{},Ee=Le.className,Ue=Le.content,Ye=me.x,it=Ye===void 0?0:Ye,Tt=me.y,ut=Tt===void 0?0:Tt,gt=ne.useRef();if(!ie||!ie.points)return null;var vt={position:"absolute"};if(ie.autoArrow!==!1){var Ct=ie.points[0],qe=ie.points[1],St=Ct[0],Ht=Ct[1],cn=qe[0],Xt=qe[1];St===cn||!["t","b"].includes(St)?vt.top=ut:St==="t"?vt.top=0:vt.bottom=0,Ht===Xt||!["l","r"].includes(Ht)?vt.left=it:Ht==="l"?vt.left=0:vt.right=0}return ne.createElement("div",{ref:gt,className:Wt()("".concat(oe,"-arrow"),Ee),style:vt},Ue)}function yd(ee){var oe=ee.prefixCls,ie=ee.open,ge=ee.zIndex,me=ee.mask,Le=ee.motion;return me?ne.createElement(Fd,(0,re.Z)({},Le,{motionAppear:!0,visible:ie,removeOnLeave:!0}),function(Ee){var Ue=Ee.className;return ne.createElement("div",{style:{zIndex:ge},className:Wt()("".concat(oe,"-mask"),Ue)})}):null}var Td=ne.memo(function(ee){var oe=ee.children;return oe},function(ee,oe){return oe.cache}),bs=Td,$s=ne.forwardRef(function(ee,oe){var ie=ee.popup,ge=ee.className,me=ee.prefixCls,Le=ee.style,Ee=ee.target,Ue=ee.onVisibleChanged,Ye=ee.open,it=ee.keepDom,Tt=ee.fresh,ut=ee.onClick,gt=ee.mask,vt=ee.arrow,Ct=ee.arrowPos,qe=ee.align,St=ee.motion,Ht=ee.maskMotion,cn=ee.forceRender,Xt=ee.getPopupContainer,Qt=ee.autoDestroy,Dn=ee.portal,Vt=ee.zIndex,Jt=ee.onMouseEnter,oa=ee.onMouseLeave,Tn=ee.onPointerEnter,ia=ee.ready,$n=ee.offsetX,Ra=ee.offsetY,or=ee.offsetR,xr=ee.offsetB,Fa=ee.onAlign,Za=ee.onPrepare,ma=ee.stretch,Er=ee.targetWidth,_a=ee.targetHeight,ir=typeof ie=="function"?ie():ie,no=Ye||it,uo=(Xt==null?void 0:Xt.length)>0,xo=ne.useState(!Xt||!uo),ei=(0,Ce.Z)(xo,2),Xr=ei[0],Go=ei[1];if((0,Rn.Z)(function(){!Xr&&uo&&Ee&&Go(!0)},[Xr,uo,Ee]),!Xr)return null;var kr="auto",Ir={left:"-1000vw",top:"-1000vh",right:kr,bottom:kr};if(ia||!Ye){var ao,Ko=qe.points,Vo=qe.dynamicInset||((ao=qe._experimental)===null||ao===void 0?void 0:ao.dynamicInset),xi=Vo&&Ko[0][1]==="r",Uo=Vo&&Ko[0][0]==="b";xi?(Ir.right=or,Ir.left=kr):(Ir.left=$n,Ir.right=kr),Uo?(Ir.bottom=xr,Ir.top=kr):(Ir.top=Ra,Ir.bottom=kr)}var tr={};return ma&&(ma.includes("height")&&_a?tr.height=_a:ma.includes("minHeight")&&_a&&(tr.minHeight=_a),ma.includes("width")&&Er?tr.width=Er:ma.includes("minWidth")&&Er&&(tr.minWidth=Er)),Ye||(tr.pointerEvents="none"),ne.createElement(Dn,{open:cn||no,getContainer:Xt&&function(){return Xt(Ee)},autoDestroy:Qt},ne.createElement(yd,{prefixCls:me,open:Ye,zIndex:Vt,mask:gt,motion:Ht}),ne.createElement(du.Z,{onResize:Fa,disabled:!Ye},function(co){return ne.createElement(Fd,(0,re.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:cn,leavedClassName:"".concat(me,"-hidden")},St,{onAppearPrepare:Za,onEnterPrepare:Za,visible:Ye,onVisibleChanged:function(wr){var Da;St==null||(Da=St.onVisibleChanged)===null||Da===void 0||Da.call(St,wr),Ue(wr)}}),function(Vr,wr){var Da=Vr.className,Br=Vr.style,Po=Wt()(me,Da,ge);return ne.createElement("div",{ref:(0,Ds.sQ)(co,oe,wr),className:Po,style:(0,Lt.Z)((0,Lt.Z)((0,Lt.Z)((0,Lt.Z)({"--arrow-x":"".concat(Ct.x||0,"px"),"--arrow-y":"".concat(Ct.y||0,"px")},Ir),tr),Br),{},{boxSizing:"border-box",zIndex:Vt},Le),onMouseEnter:Jt,onMouseLeave:oa,onPointerEnter:Tn,onClick:ut},vt&&ne.createElement(Od,{prefixCls:me,arrow:vt,arrowPos:Ct,align:qe}),ne.createElement(bs,{cache:!Ye&&!Tt},ir))})}))}),Ys=$s,Qs=ne.forwardRef(function(ee,oe){var ie=ee.children,ge=ee.getTriggerDOMNode,me=(0,Ds.Yr)(ie),Le=ne.useCallback(function(Ue){(0,Ds.mH)(oe,ge?ge(Ue):Ue)},[ge]),Ee=(0,Ds.x1)(Le,ie.ref);return me?ne.cloneElement(ie,{ref:Ee}):ie}),bd=Qs,Id=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ds(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Yd,oe=ne.forwardRef(function(ie,ge){var me=ie.prefixCls,Le=me===void 0?"rc-trigger-popup":me,Ee=ie.children,Ue=ie.action,Ye=Ue===void 0?"hover":Ue,it=ie.showAction,Tt=ie.hideAction,ut=ie.popupVisible,gt=ie.defaultPopupVisible,vt=ie.onPopupVisibleChange,Ct=ie.afterPopupVisibleChange,qe=ie.mouseEnterDelay,St=ie.mouseLeaveDelay,Ht=St===void 0?.1:St,cn=ie.focusDelay,Xt=ie.blurDelay,Qt=ie.mask,Dn=ie.maskClosable,Vt=Dn===void 0?!0:Dn,Jt=ie.getPopupContainer,oa=ie.forceRender,Tn=ie.autoDestroy,ia=ie.destroyPopupOnHide,$n=ie.popup,Ra=ie.popupClassName,or=ie.popupStyle,xr=ie.popupPlacement,Fa=ie.builtinPlacements,Za=Fa===void 0?{}:Fa,ma=ie.popupAlign,Er=ie.zIndex,_a=ie.stretch,ir=ie.getPopupClassNameFromAlign,no=ie.fresh,uo=ie.alignPoint,xo=ie.onPopupClick,ei=ie.onPopupAlign,Xr=ie.arrow,Go=ie.popupMotion,kr=ie.maskMotion,Ir=ie.popupTransitionName,ao=ie.popupAnimation,Ko=ie.maskTransitionName,Vo=ie.maskAnimation,xi=ie.className,Uo=ie.getTriggerDOMNode,tr=(0,_r.Z)(ie,Id),co=Tn||ia||!1,Vr=ne.useState(!1),wr=(0,Ce.Z)(Vr,2),Da=wr[0],Br=wr[1];(0,Rn.Z)(function(){Br(ke())},[]);var Po=ne.useRef({}),ki=ne.useContext(wt),qi=ne.useMemo(function(){return{registerSubPopup:function(Qr,Gi){Po.current[Qr]=Gi,ki==null||ki.registerSubPopup(Qr,Gi)}}},[ki]),Pi=Me(),jl=ne.useState(null),us=(0,Ce.Z)(jl,2),Ui=us[0],Ri=us[1],Ei=(0,Ns.Z)(function($a){Md($a)&&Ui!==$a&&Ri($a),ki==null||ki.registerSubPopup(Pi,$a)}),nr=ne.useState(null),ro=(0,Ce.Z)(nr,2),Oo=ro[0],wi=ro[1],Eo=(0,Ns.Z)(function($a){Md($a)&&Oo!==$a&&wi($a)}),Fi=ne.Children.only(Ee),gi=(Fi==null?void 0:Fi.props)||{},$i={},_i=(0,Ns.Z)(function($a){var Qr,Gi,Yi=Oo;return(Yi==null?void 0:Yi.contains($a))||((Qr=rd(Yi))===null||Qr===void 0?void 0:Qr.host)===$a||$a===Yi||(Ui==null?void 0:Ui.contains($a))||((Gi=rd(Ui))===null||Gi===void 0?void 0:Gi.host)===$a||$a===Ui||Object.values(Po.current).some(function(Ki){return(Ki==null?void 0:Ki.contains($a))||$a===Ki})}),yi=Qn(Le,Go,ao,Ir),Oi=Qn(Le,kr,Vo,Ko),Li=ne.useState(gt||!1),el=(0,Ce.Z)(Li,2),Al=el[0],Ur=el[1],Rr=ut!=null?ut:Al,rl=(0,Ns.Z)(function($a){ut===void 0&&Ur($a)});(0,Rn.Z)(function(){Ur(ut||!1)},[ut]);var qr=ne.useRef(Rr);qr.current=Rr;var Wl=(0,Ns.Z)(function($a){(0,Bo.flushSync)(function(){Rr!==$a&&(rl($a),vt==null||vt($a))})}),Nl=ne.useRef(),Bl=function(){clearTimeout(Nl.current)},dl=function(Qr){var Gi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Bl(),Gi===0?Wl(Qr):Nl.current=setTimeout(function(){Wl(Qr)},Gi*1e3)};ne.useEffect(function(){return Bl},[]);var Vl=ne.useState(!1),Xs=(0,Ce.Z)(Vl,2),cs=Xs[0],hr=Xs[1];(0,Rn.Z)(function($a){(!$a||Rr)&&hr(!0)},[Rr]);var ha=ne.useState(null),Dr=(0,Ce.Z)(ha,2),To=Dr[0],ul=Dr[1],ks=ne.useState([0,0]),Cs=(0,Ce.Z)(ks,2),od=Cs[0],qs=Cs[1],oi=function(Qr){qs([Qr.clientX,Qr.clientY])},Lr=Ma(Rr,Ui,uo?od:Oo,xr,Za,ma,ei),pl=(0,Ce.Z)(Lr,11),cl=pl[0],xd=pl[1],_d=pl[2],Zd=pl[3],Ed=pl[4],xs=pl[5],wd=pl[6],eu=pl[7],Rs=pl[8],$o=pl[9],Qa=pl[10],zi=an(Da,Ye,it,Tt),Hi=(0,Ce.Z)(zi,2),id=Hi[0],ld=Hi[1],zd=id.has("click"),Ld=ld.has("click")||ld.has("contextMenu"),gs=(0,Ns.Z)(function(){cs||Qa()}),Bu=function(){qr.current&&uo&&Ld&&dl(!1)};Zo(Rr,Oo,Ui,gs,Bu),(0,Rn.Z)(function(){gs()},[od,xr]),(0,Rn.Z)(function(){Rr&&!(Za!=null&&Za[xr])&&gs()},[JSON.stringify(ma)]);var uu=ne.useMemo(function(){var $a=aa(Za,Le,$o,uo);return Wt()($a,ir==null?void 0:ir($o))},[$o,ir,Za,Le,uo]);ne.useImperativeHandle(ge,function(){return{forceAlign:gs}});var cu=ne.useState(0),Ad=(0,Ce.Z)(cu,2),Du=Ad[0],gu=Ad[1],Mu=ne.useState(0),Hd=(0,Ce.Z)(Mu,2),Gd=Hd[0],fu=Hd[1],tu=function(){if(_a&&Oo){var Qr=Oo.getBoundingClientRect();gu(Qr.width),fu(Qr.height)}},ku=function(){tu(),gs()},nu=function(Qr){hr(!1),Qa(),Ct==null||Ct(Qr)},Tl=function(){return new Promise(function(Qr){tu(),ul(function(){return Qr})})};(0,Rn.Z)(function(){To&&(Qa(),To(),ul(null))},[To]);function Fs($a,Qr,Gi,Yi){$i[$a]=function(Ki){var jd;Yi==null||Yi(Ki),dl(Qr,Gi);for(var Su=arguments.length,Tu=new Array(Su>1?Su-1:0),Wd=1;Wd<Su;Wd++)Tu[Wd-1]=arguments[Wd];(jd=gi[$a])===null||jd===void 0||jd.call.apply(jd,[gi,Ki].concat(Tu))}}(zd||Ld)&&($i.onClick=function($a){var Qr;qr.current&&Ld?dl(!1):!qr.current&&zd&&(oi($a),dl(!0));for(var Gi=arguments.length,Yi=new Array(Gi>1?Gi-1:0),Ki=1;Ki<Gi;Ki++)Yi[Ki-1]=arguments[Ki];(Qr=gi.onClick)===null||Qr===void 0||Qr.call.apply(Qr,[gi,$a].concat(Yi))}),zo(Rr,Ld,Oo,Ui,Qt,Vt,_i,dl);var au=id.has("hover"),Nd=ld.has("hover"),_s,ru;au&&(Fs("onMouseEnter",!0,qe,function($a){oi($a)}),Fs("onPointerEnter",!0,qe,function($a){oi($a)}),_s=function(){(Rr||cs)&&dl(!0,qe)},uo&&($i.onMouseMove=function($a){var Qr;(Qr=gi.onMouseMove)===null||Qr===void 0||Qr.call(gi,$a)})),Nd&&(Fs("onMouseLeave",!1,Ht),Fs("onPointerLeave",!1,Ht),ru=function(){dl(!1,Ht)}),id.has("focus")&&Fs("onFocus",!0,cn),ld.has("focus")&&Fs("onBlur",!1,Xt),id.has("contextMenu")&&($i.onContextMenu=function($a){var Qr;qr.current&&ld.has("contextMenu")?dl(!1):(oi($a),dl(!0)),$a.preventDefault();for(var Gi=arguments.length,Yi=new Array(Gi>1?Gi-1:0),Ki=1;Ki<Gi;Ki++)Yi[Ki-1]=arguments[Ki];(Qr=gi.onContextMenu)===null||Qr===void 0||Qr.call.apply(Qr,[gi,$a].concat(Yi))}),xi&&($i.className=Wt()(gi.className,xi));var Kd=(0,Lt.Z)((0,Lt.Z)({},gi),$i),mu={},vu=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];vu.forEach(function($a){tr[$a]&&(mu[$a]=function(){for(var Qr,Gi=arguments.length,Yi=new Array(Gi),Ki=0;Ki<Gi;Ki++)Yi[Ki]=arguments[Ki];(Qr=Kd[$a])===null||Qr===void 0||Qr.call.apply(Qr,[Kd].concat(Yi)),tr[$a].apply(tr,Yi)})});var sd=ne.cloneElement(Fi,(0,Lt.Z)((0,Lt.Z)({},Kd),mu)),hu={x:xs,y:wd},Ru=Xr?(0,Lt.Z)({},Xr!==!0?Xr:{}):null;return ne.createElement(ne.Fragment,null,ne.createElement(du.Z,{disabled:!Rr,ref:Eo,onResize:ku},ne.createElement(bd,{getTriggerDOMNode:Uo},sd)),ne.createElement(wt.Provider,{value:qi},ne.createElement(Ys,{portal:ee,ref:Ei,prefixCls:Le,popup:$n,className:Wt()(Ra,uu),style:or,target:Oo,onMouseEnter:_s,onMouseLeave:ru,onPointerEnter:_s,zIndex:Er,open:Rr,keepDom:cs,fresh:no,onClick:xo,mask:Qt,motion:yi,maskMotion:Oi,onVisibleChanged:nu,onPrepare:Tl,forceRender:oa,autoDestroy:co,getPopupContainer:Jt,align:$o,arrow:Ru,arrowPos:hu,ready:cl,offsetX:xd,offsetY:_d,offsetR:Zd,offsetB:Ed,onAlign:gs,stretch:_a,targetWidth:Du/eu,targetHeight:Gd/Rs})))});return oe}var Kl=ds(Yd),Ol={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 Js(ee){var oe,ie=ee.prefixCls,ge=ee.popupElement,me=ee.popupStyle,Le=ee.visible,Ee=ee.dropdownClassName,Ue=ee.dropdownAlign,Ye=ee.transitionName,it=ee.getPopupContainer,Tt=ee.children,ut=ee.range,gt=ee.popupPlacement,vt=ee.direction,Ct="".concat(ie,"-dropdown"),qe=function(){return gt!==void 0?gt:vt==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(Kl,{showAction:[],hideAction:[],popupPlacement:qe(),builtinPlacements:Ol,prefixCls:Ct,popupTransitionName:Ye,popup:ge,popupAlign:Ue,popupVisible:Le,popupClassName:Wt()(Ee,(oe={},(0,at.Z)(oe,"".concat(Ct,"-range"),ut),(0,at.Z)(oe,"".concat(Ct,"-rtl"),vt==="rtl"),oe)),popupStyle:me,getPopupContainer:it},Tt)}var se=Js;function ce(ee){var oe=ee.prefixCls,ie=ee.presets,ge=ee.onClick,me=ee.onHover;return ie.length?ne.createElement("div",{className:"".concat(oe,"-presets")},ne.createElement("ul",null,ie.map(function(Le,Ee){var Ue=Le.label,Ye=Le.value;return ne.createElement("li",{key:Ee,onClick:function(){return ge==null?void 0:ge(fo(Ye))},onMouseEnter:function(){return me==null?void 0:me(fo(Ye))},onMouseLeave:function(){return me==null?void 0:me(null)}},Ue)}))):null}function he(ee){var oe=ee.picker,ie=ee.disabledHours,ge=ee.disabledMinutes,me=ee.disabledSeconds;oe==="time"&&(ie||ge||me)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ye(ee,oe,ie){var ge=(0,Zt.Z)(oe)==="object"?oe.clearIcon:ie;return ge||ne.createElement("span",{className:"".concat(ee,"-clear-btn")})}function Ae(ee){var oe,ie=ee,ge=ie.prefixCls,me=ge===void 0?"rc-picker":ge,Le=ie.id,Ee=ie.name,Ue=ie.tabIndex,Ye=ie.style,it=ie.className,Tt=ie.dropdownClassName,ut=ie.dropdownAlign,gt=ie.popupStyle,vt=ie.transitionName,Ct=ie.generateConfig,qe=ie.locale,St=ie.inputReadOnly,Ht=ie.allowClear,cn=ie.autoFocus,Xt=ie.showTime,Qt=ie.picker,Dn=Qt===void 0?"date":Qt,Vt=ie.format,Jt=ie.use12Hours,oa=ie.value,Tn=ie.defaultValue,ia=ie.presets,$n=ie.open,Ra=ie.defaultOpen,or=ie.defaultOpenValue,xr=ie.suffixIcon,Fa=ie.clearIcon,Za=ie.disabled,ma=ie.disabledDate,Er=ie.placeholder,_a=ie.getPopupContainer,ir=ie.pickerRef,no=ie.panelRender,uo=ie.onChange,xo=ie.onOpenChange,ei=ie.onFocus,Xr=ie.onBlur,Go=ie.onMouseDown,kr=ie.onMouseUp,Ir=ie.onMouseEnter,ao=ie.onMouseLeave,Ko=ie.onContextMenu,Vo=ie.onClick,xi=ie.onKeyDown,Uo=ie.onSelect,tr=ie.direction,co=ie.autoComplete,Vr=co===void 0?"off":co,wr=ie.inputRender,Da=ie.changeOnBlur,Br=ne.useRef(null),Po=Dn==="date"&&!!Xt||Dn==="time",ki=Nr(ia),qi=Jn(oo(Vt,Dn,Xt,Jt)),Pi=ne.useRef(null),jl=ne.useRef(null),us=ne.useRef(null),Ui=(0,on.Z)(null,{value:oa,defaultValue:Tn}),Ri=(0,Ce.Z)(Ui,2),Ei=Ri[0],nr=Ri[1],ro=ne.useState(Ei),Oo=(0,Ce.Z)(ro,2),wi=Oo[0],Eo=Oo[1],Fi=ne.useRef(null),gi=(0,on.Z)(!1,{value:$n,defaultValue:Ra,postState:function(Qa){return Za?!1:Qa},onChange:function(Qa){xo&&xo(Qa),!Qa&&Fi.current&&Fi.current.onClose&&Fi.current.onClose()}}),$i=(0,Ce.Z)(gi,2),_i=$i[0],yi=$i[1],Oi=ca(wi,{formatList:qi,generateConfig:Ct,locale:qe}),Li=(0,Ce.Z)(Oi,2),el=Li[0],Al=Li[1],Ur=nt({valueTexts:el,onTextChange:function(Qa){var zi=ea(Qa,{locale:qe,formatList:qi,generateConfig:Ct});zi&&(!ma||!ma(zi))&&Eo(zi)}}),Rr=(0,Ce.Z)(Ur,3),rl=Rr[0],qr=Rr[1],Wl=Rr[2],Nl=function(Qa){Eo(Qa),nr(Qa),uo&&!ot(Ct,Ei,Qa)&&uo(Qa,Qa?_t(Qa,{generateConfig:Ct,locale:qe,format:qi[0]}):"")},Bl=function(Qa){Za&&Qa||yi(Qa)},dl=function(Qa){return _i&&Fi.current&&Fi.current.onKeyDown?Fi.current.onKeyDown(Qa):((0,Oe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Vl=function(){for(var Qa=arguments.length,zi=new Array(Qa),Hi=0;Hi<Qa;Hi++)zi[Hi]=arguments[Hi];Vo==null||Vo.apply(void 0,zi),Br.current&&(Br.current.focus(),Bl(!0))},Xs=function(Qa){Da&&Nl(wi),Xr==null||Xr(Qa)},cs=Ja({blurToCancel:Po,open:_i,value:rl,triggerOpen:Bl,forwardKeyDown:dl,isClickOutside:function(Qa){return!wn([Pi.current,jl.current,us.current],Qa)},onSubmit:function(){return!wi||ma&&ma(wi)?!1:(Nl(wi),Bl(!1),Wl(),!0)},onCancel:function(){Bl(!1),Eo(Ei),Wl()},onKeyDown:function(Qa,zi){xi==null||xi(Qa,zi)},onFocus:ei,onBlur:Xs,changeOnBlur:Da}),hr=(0,Ce.Z)(cs,2),ha=hr[0],Dr=hr[1],To=Dr.focused,ul=Dr.typing;ne.useEffect(function(){_i||(Eo(Ei),!el.length||el[0]===""?qr(""):Al!==rl&&Wl())},[_i,el]),ne.useEffect(function(){_i||Wl()},[Dn]),ne.useEffect(function(){Eo(Ei)},[Ei]),ir&&(ir.current={focus:function(){var Qa;(Qa=Br.current)===null||Qa===void 0||Qa.focus()},blur:function(){var Qa;(Qa=Br.current)===null||Qa===void 0||Qa.blur()}});var ks=In(rl,{formatList:qi,generateConfig:Ct,locale:qe}),Cs=(0,Ce.Z)(ks,3),od=Cs[0],qs=Cs[1],oi=Cs[2],Lr=(0,Lt.Z)((0,Lt.Z)({},ee),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),pl=ne.createElement("div",{className:"".concat(me,"-panel-layout")},ne.createElement(ce,{prefixCls:me,presets:ki,onClick:function(Qa){Nl(Qa),Bl(!1)}}),ne.createElement(vo,(0,re.Z)({},Lr,{generateConfig:Ct,className:Wt()((0,at.Z)({},"".concat(me,"-panel-focused"),!ul)),value:wi,locale:qe,tabIndex:-1,onSelect:function(Qa){Uo==null||Uo(Qa),Eo(Qa)},direction:tr,onPanelChange:function(Qa,zi){var Hi=ee.onPanelChange;oi(!0),Hi==null||Hi(Qa,zi)}})));no&&(pl=no(pl));var cl=ne.createElement("div",{className:"".concat(me,"-panel-container"),ref:Pi,onMouseDown:function(Qa){Qa.preventDefault()}},pl),xd;xr&&(xd=ne.createElement("span",{className:"".concat(me,"-suffix"),onMouseDown:function(Qa){Qa.preventDefault()}},xr));var _d=ye(me,Ht,Fa),Zd=ne.createElement("span",{onMouseDown:function(Qa){Qa.preventDefault(),Qa.stopPropagation()},onMouseUp:function(Qa){Qa.preventDefault(),Qa.stopPropagation(),Nl(null),Bl(!1)},className:"".concat(me,"-clear"),role:"button"},_d),Ed=!!Ht&&Ei&&!Za,xs=(0,Lt.Z)((0,Lt.Z)((0,Lt.Z)({id:Le,tabIndex:Ue,disabled:Za,readOnly:St||typeof qi[0]=="function"||!ul,value:od||rl,onChange:function(Qa){qr(Qa.target.value)},autoFocus:cn,placeholder:Er,ref:Br,title:rl},ha),{},{size:ko(Dn,qi[0],Ct),name:Ee},(0,ln.Z)(ee,{aria:!0,data:!0})),{},{autoComplete:Vr}),wd=wr?wr(xs):ne.createElement("input",xs),eu=function(Qa,zi){(zi==="submit"||zi!=="key"&&!Po)&&(Nl(Qa),Bl(!1))},Rs=tr==="rtl"?"bottomRight":"bottomLeft";return ne.createElement(_e.Provider,{value:{operationRef:Fi,hideHeader:Dn==="time",onSelect:eu,open:_i,defaultOpenValue:or,onDateMouseEnter:qs,onDateMouseLeave:oi}},ne.createElement(se,{visible:_i,popupElement:cl,popupStyle:gt,prefixCls:me,dropdownClassName:Tt,dropdownAlign:ut,getPopupContainer:_a,transitionName:vt,popupPlacement:Rs,direction:tr},ne.createElement("div",{ref:us,className:Wt()(me,it,(oe={},(0,at.Z)(oe,"".concat(me,"-disabled"),Za),(0,at.Z)(oe,"".concat(me,"-focused"),To),(0,at.Z)(oe,"".concat(me,"-rtl"),tr==="rtl"),oe)),style:Ye,onMouseDown:Go,onMouseUp:kr,onMouseEnter:Ir,onMouseLeave:ao,onContextMenu:Ko,onClick:Vl},ne.createElement("div",{className:Wt()("".concat(me,"-input"),(0,at.Z)({},"".concat(me,"-input-placeholder"),!!od)),ref:jl},wd,xd,Ed&&Zd))))}var Re=function(ee){(0,Dt.Z)(ie,ee);var oe=(0,En.Z)(ie);function ie(){var ge;(0,nn.Z)(this,ie);for(var me=arguments.length,Le=new Array(me),Ee=0;Ee<me;Ee++)Le[Ee]=arguments[Ee];return ge=oe.call.apply(oe,[this].concat(Le)),(0,at.Z)((0,Pt.Z)(ge),"pickerRef",ne.createRef()),(0,at.Z)((0,Pt.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,at.Z)((0,Pt.Z)(ge),"blur",function(){ge.pickerRef.current&&ge.pickerRef.current.blur()}),ge}return(0,Ve.Z)(ie,[{key:"render",value:function(){return ne.createElement(Ae,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ie}(ne.Component),$e=Re;function Xe(ee,oe){var ie=ee.picker,ge=ee.locale,me=ee.selectedValue,Le=ee.disabledDate,Ee=ee.disabled,Ue=ee.generateConfig,Ye=Nn(me,0),it=Nn(me,1);function Tt(qe){return Ue.locale.getWeekFirstDate(ge.locale,qe)}function ut(qe){var St=Ue.getYear(qe),Ht=Ue.getMonth(qe);return St*100+Ht}function gt(qe){var St=Ue.getYear(qe),Ht=gn(Ue,qe);return St*10+Ht}var vt=ne.useCallback(function(qe){if(Ee[0]||Le&&Le(qe))return!0;if(Ee[1]&&it)return!dn(Ue,qe,it)&&Ue.isAfter(qe,it);if(!oe&&it)switch(ie){case"quarter":return gt(qe)>gt(it);case"month":return ut(qe)>ut(it);case"week":return Tt(qe)>Tt(it);default:return!dn(Ue,qe,it)&&Ue.isAfter(qe,it)}return!1},[Le,Ee[1],it,oe]),Ct=ne.useCallback(function(qe){if(Ee[1]||Le&&Le(qe))return!0;if(Ee[0]&&Ye)return!dn(Ue,qe,it)&&Ue.isAfter(Ye,qe);if(!oe&&Ye)switch(ie){case"quarter":return gt(qe)<gt(Ye);case"month":return ut(qe)<ut(Ye);case"week":return Tt(qe)<Tt(Ye);default:return!dn(Ue,qe,Ye)&&Ue.isAfter(Ye,qe)}return!1},[Le,Ee[0],Ye,oe]);return[vt,Ct]}function Je(ee,oe,ie,ge,me,Le,Ee,Ue,Ye,it){var Tt=ne.useState(!1),ut=(0,Ce.Z)(Tt,2),gt=ut[0],vt=ut[1],Ct=(0,yo.useMergedState)(ee||!1,{value:oe}),qe=(0,Ce.Z)(Ct,2),St=qe[0],Ht=qe[1],cn=(0,yo.useMergedState)(ee||!1,{value:oe,onChange:function(ma){it==null||it(ma)}}),Xt=(0,Ce.Z)(cn,2),Qt=Xt[0],Dn=Xt[1],Vt=(0,yo.useMergedState)(0,{value:ie}),Jt=(0,Ce.Z)(Vt,2),oa=Jt[0],Tn=Jt[1],ia=ne.useState(null),$n=(0,Ce.Z)(ia,2),Ra=$n[0],or=$n[1];ne.useEffect(function(){Qt&&vt(!0)},[Qt]);var xr=function(ma){return ma===0?1:0},Fa=(0,Ns.Z)(function(Za,ma,Er){if(ma===!1)Dn(Za);else if(Za){Tn(ma),Dn(Za);var _a=xr(ma);!Qt||![Ee,Ue][_a]?or(_a):(vt(!1),Ra!==null&&or(null))}else if(Er==="confirm"||Er==="blur"&&ge){var ir=St?xr(ma):Ra;ir!==null&&(vt(!1),Tn(ir)),or(null),ir!==null&&!Ye[ir]?(0,qn.Z)(function(){var no,uo=[me,Le][ir];(no=uo.current)===null||no===void 0||no.focus()}):Dn(!1)}else Dn(!1),Ht(!1)});return[Qt,oa,gt,Fa]}function mt(ee,oe,ie,ge){var me=lt(ee,ie,ge,1);function Le(Ee){return Ee(ee,oe)?"same":Ee(me,oe)?"closing":"far"}switch(ie){case"year":return Le(function(Ee,Ue){return kt(ge,Ee,Ue)});case"quarter":case"month":return Le(function(Ee,Ue){return jt(ge,Ee,Ue)});default:return Le(function(Ee,Ue){return xn(ge,Ee,Ue)})}}function Bt(ee,oe,ie,ge){var me=Nn(ee,0),Le=Nn(ee,1);if(oe===0)return me;if(me&&Le){var Ee=mt(me,Le,ie,ge);switch(Ee){case"same":return me;case"closing":return me;default:return lt(Le,ie,ge,-1)}}return me}function pt(ee){var oe=ee.values,ie=ee.picker,ge=ee.defaultDates,me=ee.generateConfig,Le=ne.useState(function(){return[Nn(ge,0),Nn(ge,1)]}),Ee=(0,Ce.Z)(Le,2),Ue=Ee[0],Ye=Ee[1],it=ne.useState(null),Tt=(0,Ce.Z)(it,2),ut=Tt[0],gt=Tt[1],vt=Nn(oe,0),Ct=Nn(oe,1);function qe(Ht){return Ue[Ht]?Ue[Ht]:Nn(ut,Ht)||Bt(oe,Ht,ie,me)||vt||Ct||me.getNow()}function St(Ht,cn){if(Ht){var Xt=va(ut,Ht,cn);Ye(va(Ue,null,cn)||[null,null]);var Qt=(cn+1)%2;Nn(oe,Qt)||(Xt=va(Xt,Ht,Qt)),gt(Xt)}else(vt||Ct)&>(null)}return[qe,St]}function $t(ee,oe){return ee&&ee[0]&&ee[1]&&oe.isAfter(ee[0],ee[1])?[ee[1],ee[0]]:ee}function Yt(ee,oe,ie,ge){return!!(ee||ge&&ge[oe]||ie[(oe+1)%2])}function en(ee){var oe,ie,ge,me=ee,Le=me.prefixCls,Ee=Le===void 0?"rc-picker":Le,Ue=me.id,Ye=me.style,it=me.className,Tt=me.popupStyle,ut=me.dropdownClassName,gt=me.transitionName,vt=me.dropdownAlign,Ct=me.getPopupContainer,qe=me.generateConfig,St=me.locale,Ht=me.placeholder,cn=me.autoFocus,Xt=me.disabled,Qt=me.format,Dn=me.picker,Vt=Dn===void 0?"date":Dn,Jt=me.showTime,oa=me.use12Hours,Tn=me.separator,ia=Tn===void 0?"~":Tn,$n=me.value,Ra=me.defaultValue,or=me.defaultPickerValue,xr=me.open,Fa=me.defaultOpen,Za=me.disabledDate,ma=me.disabledTime,Er=me.dateRender,_a=me.monthCellRender,ir=me.cellRender,no=me.panelRender,uo=me.presets,xo=me.ranges,ei=me.allowEmpty,Xr=me.allowClear,Go=me.suffixIcon,kr=me.clearIcon,Ir=me.pickerRef,ao=me.inputReadOnly,Ko=me.mode,Vo=me.renderExtraFooter,xi=me.onChange,Uo=me.onOpenChange,tr=me.onPanelChange,co=me.onCalendarChange,Vr=me.onFocus,wr=me.onBlur,Da=me.onMouseDown,Br=me.onMouseUp,Po=me.onMouseEnter,ki=me.onMouseLeave,qi=me.onClick,Pi=me.onOk,jl=me.onKeyDown,us=me.components,Ui=me.order,Ri=me.direction,Ei=me.activePickerIndex,nr=me.autoComplete,ro=nr===void 0?"off":nr,Oo=me.changeOnBlur,wi=Vt==="date"&&!!Jt||Vt==="time",Eo=(0,ne.useRef)(null),Fi=(0,ne.useRef)(null),gi=(0,ne.useRef)(null),$i=(0,ne.useRef)(null),_i=(0,ne.useRef)(null),yi=(0,ne.useRef)(null),Oi=(0,ne.useRef)(null),Li=(0,ne.useRef)(null),el=Jn(oo(Qt,Vt,Jt,oa)),Al=(0,ne.useRef)(null),Ur=ne.useMemo(function(){return Array.isArray(Xt)?Xt:[Xt||!1,Xt||!1]},[Xt]),Rr=(0,on.Z)(null,{value:$n,defaultValue:Ra,postState:function(ja){return Vt==="time"&&!Ui?ja:$t(ja,qe)}}),rl=(0,Ce.Z)(Rr,2),qr=rl[0],Wl=rl[1],Nl=pt({values:qr,picker:Vt,defaultDates:or,generateConfig:qe}),Bl=(0,Ce.Z)(Nl,2),dl=Bl[0],Vl=Bl[1],Xs=(0,on.Z)(qr,{postState:function(ja){var yr=ja;if(Ur[0]&&Ur[1])return yr;for(var Mo=0;Mo<2;Mo+=1)Ur[Mo]&&!yr&&!Nn(yr,Mo)&&!Nn(ei,Mo)&&(yr=va(yr,qe.getNow(),Mo));return yr}}),cs=(0,Ce.Z)(Xs,2),hr=cs[0],ha=cs[1],Dr=(0,on.Z)([Vt,Vt],{value:Ko}),To=(0,Ce.Z)(Dr,2),ul=To[0],ks=To[1];(0,ne.useEffect)(function(){ks([Vt,Vt])},[Vt]);var Cs=function(ja,yr){ks(ja),tr&&tr(yr,ja)},od=Je(Fa,xr,Ei,Oo,yi,Oi,Nn(hr,0),Nn(hr,1),Ur,Uo),qs=(0,Ce.Z)(od,4),oi=qs[0],Lr=qs[1],pl=qs[2],cl=qs[3],xd=oi&&Lr===0,_d=oi&&Lr===1,Zd=Xe({picker:Vt,selectedValue:hr,locale:St,disabled:Ur,disabledDate:Za,generateConfig:qe},!oi||pl),Ed=(0,Ce.Z)(Zd,2),xs=Ed[0],wd=Ed[1],eu=(0,ne.useState)(0),Rs=(0,Ce.Z)(eu,2),$o=Rs[0],Qa=Rs[1];(0,ne.useEffect)(function(){!oi&&Eo.current&&Qa(Eo.current.offsetWidth)},[oi]);function zi(No){cl(!0,No,"open"),(0,qn.Z)(function(){var ja,yr=[yi,Oi][No];(ja=yr.current)===null||ja===void 0||ja.focus()},0)}function Hi(No,ja){var yr=No,Mo=Nn(yr,0),Ti=Nn(yr,1);Mo&&Ti&&qe.isAfter(Mo,Ti)&&(Vt==="week"&&!Te(qe,St.locale,Mo,Ti)||Vt==="quarter"&&!tn(qe,Mo,Ti)||Vt!=="week"&&Vt!=="quarter"&&Vt!=="time"&&!dn(qe,Mo,Ti)?ja===0?(yr=[Mo,null],Ti=null):(Mo=null,yr=[null,Ti]):(Vt!=="time"||Ui!==!1)&&(yr=$t(yr,qe))),ha(yr);var pu=yr&&yr[0]?_t(yr[0],{generateConfig:qe,locale:St,format:el[0]}):"",ed=yr&&yr[1]?_t(yr[1],{generateConfig:qe,locale:St,format:el[0]}):"";if(co){var Ud={range:ja===0?"start":"end"};co(yr,[pu,ed],Ud)}var $d=Yt(Mo,0,Ur,ei),Fu=Yt(Ti,1,Ur,ei),ou=yr===null||$d&&Fu;ou&&(Wl(yr),xi&&(!ot(qe,Nn(qr,0),Mo)||!ot(qe,Nn(qr,1),Ti))&&xi(yr,[pu,ed]))}var id=function(ja){return oi&&Al.current&&Al.current.onKeyDown?Al.current.onKeyDown(ja):((0,Oe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ld={formatList:el,generateConfig:qe,locale:St},zd=ca(Nn(hr,0),ld),Ld=(0,Ce.Z)(zd,2),gs=Ld[0],Bu=Ld[1],uu=ca(Nn(hr,1),ld),cu=(0,Ce.Z)(uu,2),Ad=cu[0],Du=cu[1],gu=function(ja,yr){var Mo=ea(ja,{locale:St,formatList:el,generateConfig:qe}),Ti=yr===0?xs:wd;Mo&&!Ti(Mo)&&(ha(va(hr,Mo,yr)),Vl(Mo,yr))},Mu=nt({valueTexts:gs,onTextChange:function(ja){return gu(ja,0)}}),Hd=(0,Ce.Z)(Mu,3),Gd=Hd[0],fu=Hd[1],tu=Hd[2],ku=nt({valueTexts:Ad,onTextChange:function(ja){return gu(ja,1)}}),nu=(0,Ce.Z)(ku,3),Tl=nu[0],Fs=nu[1],au=nu[2],Nd=(0,ne.useState)(null),_s=(0,Ce.Z)(Nd,2),ru=_s[0],Kd=_s[1],mu=(0,ne.useState)(null),vu=(0,Ce.Z)(mu,2),sd=vu[0],hu=vu[1],Ru=In(Gd,{formatList:el,generateConfig:qe,locale:St}),$a=(0,Ce.Z)(Ru,3),Qr=$a[0],Gi=$a[1],Yi=$a[2],Ki=In(Tl,{formatList:el,generateConfig:qe,locale:St}),jd=(0,Ce.Z)(Ki,3),Su=jd[0],Tu=jd[1],Wd=jd[2],ac=function(ja){hu(va(hr,ja,Lr)),Lr===0?Gi(ja):Tu(ja)},rc=function(){hu(va(hr,null,Lr)),Lr===0?Yi():Wd()},oc=ne.useState(oi),Gu=(0,Ce.Z)(oc,2),ic=Gu[0],lc=Gu[1];ne.useEffect(function(){lc(oi)},[oi]);var sc=function(ja){if(Oo&&ic){var yr=Nn(hr,Lr);yr&&Hi(hr,Lr)}return wr==null?void 0:wr(ja)},Ku=function(ja,yr){return{blurToCancel:!Oo&&wi,forwardKeyDown:id,onBlur:sc,isClickOutside:function(Ti){return!wn([Fi.current,gi.current,$i.current,Eo.current],Ti)},onFocus:function(Ti){Vr&&Vr(Ti)},triggerOpen:function(Ti){Ti?cl(Ti,ja,"open"):cl(Ti,Nn(hr,ja)?ja:!1,"blur")},onSubmit:function(){if(!hr||Za&&Za(hr[ja]))return!1;Hi(hr,ja),yr(),cl(!1,Lr,"confirm")},onCancel:function(){cl(!1,ja,"cancel"),ha(qr),yr()}}},ju={onKeyDown:function(ja,yr){jl==null||jl(ja,yr)},changeOnBlur:Oo},dc=Ja((0,Lt.Z)((0,Lt.Z)({},Ku(0,tu)),{},{open:xd,value:Gd},ju)),Wu=(0,Ce.Z)(dc,2),uc=Wu[0],Vu=Wu[1],Uu=Vu.focused,$u=Vu.typing,cc=Ja((0,Lt.Z)((0,Lt.Z)({},Ku(1,au)),{},{open:_d,value:Tl},ju)),Yu=(0,Ce.Z)(cc,2),gc=Yu[0],Qu=Yu[1],Ju=Qu.focused,Xu=Qu.typing,fc=function(ja){qi&&qi(ja),!oi&&!yi.current.contains(ja.target)&&!Oi.current.contains(ja.target)&&(Ur[0]?Ur[1]||zi(1):zi(0))},mc=function(ja){Da&&Da(ja),oi&&(Uu||Ju)&&!yi.current.contains(ja.target)&&!Oi.current.contains(ja.target)&&ja.preventDefault()},vc=qr&&qr[0]?_t(qr[0],{locale:St,format:"YYYYMMDDHHmmss",generateConfig:qe}):"",hc=qr&&qr[1]?_t(qr[1],{locale:St,format:"YYYYMMDDHHmmss",generateConfig:qe}):"";(0,ne.useEffect)(function(){oi||(ha(qr),!gs.length||gs[0]===""?fu(""):Bu!==Gd&&tu(),!Ad.length||Ad[0]===""?Fs(""):Du!==Tl&&au())},[oi,gs,Ad]),(0,ne.useEffect)(function(){ha(qr)},[vc,hc]);var Iu=hn({cellRender:ir,monthCellRender:_a,dateRender:Er}),Sc=ne.useMemo(function(){if(Iu)return function(No,ja){return Iu(No,(0,Lt.Z)((0,Lt.Z)({},ja),{},{range:Lr?"end":"start"}))}},[Lr,Iu]);Ir&&(Ir.current={focus:function(){yi.current&&yi.current.focus()},blur:function(){yi.current&&yi.current.blur(),Oi.current&&Oi.current.blur()}});var pc=Nr(uo,xo);function Zu(){var No=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ja=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},yr=null;oi&&sd&&sd[0]&&sd[1]&&qe.isAfter(sd[1],sd[0])&&(yr=sd);var Mo=Jt;if(Jt&&(0,Zt.Z)(Jt)==="object"&&Jt.defaultValue){var Ti=Jt.defaultValue;Mo=(0,Lt.Z)((0,Lt.Z)({},Jt),{},{defaultValue:Nn(Ti,Lr)||void 0})}return ne.createElement(Qo.Provider,{value:{inRange:!0,panelPosition:No,rangedValue:ru||hr,hoverRangedValue:yr}},ne.createElement(vo,(0,re.Z)({},ee,ja,{cellRender:Sc,showTime:Mo,mode:ul[Lr],generateConfig:qe,style:void 0,direction:Ri,disabledDate:Lr===0?xs:wd,disabledTime:function(ed){return ma?ma(ed,Lr===0?"start":"end"):!1},className:Wt()((0,at.Z)({},"".concat(Ee,"-panel-focused"),Lr===0?!$u:!Xu)),value:Nn(hr,Lr),locale:St,tabIndex:-1,onPanelChange:function(ed,Ud){Lr===0&&Yi(!0),Lr===1&&Wd(!0),Cs(va(ul,Ud,Lr),va(hr,ed,Lr));var $d=ed;No==="right"&&ul[Lr]===Ud&&($d=lt($d,Ud,qe,-1)),Vl($d,Lr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Lr===0?Nn(hr,1):Nn(hr,0)})))}var Vd=0,qu=0;if(Lr&&gi.current&&_i.current&&Fi.current&&Li.current){Vd=gi.current.offsetWidth+_i.current.offsetWidth;var Pc=Li.current.offsetLeft>Vd?Li.current.offsetLeft-Vd:Li.current.offsetLeft,_u=Fi.current.offsetWidth,ec=Li.current.offsetWidth;_u&&ec&&Vd>_u-ec-(Ri==="rtl"?0:Pc)&&(qu=Vd)}var yc=Ri==="rtl"?{right:Vd}:{left:Vd};function bc(){var No,ja=gr(Ee,ul[Lr],Vo),yr=Wa({prefixCls:Ee,components:us,needConfirmButton:wi,okDisabled:!Nn(hr,Lr)||Za&&Za(hr[Lr]),locale:St,onOk:function(){var td=Nn(hr,Lr);td&&(Hi(hr,Lr),Pi==null||Pi(hr),cl(!1,Lr,"confirm"))}});if(Vt!=="time"&&!Jt){var Mo=dl(Lr),Ti=lt(Mo,Vt,qe),pu=ul[Lr],ed=pu===Vt,Ud=Zu(ed?"left":!1,{pickerValue:Mo,onPickerValueChange:function(td){Vl(td,Lr)}}),$d=Zu("right",{pickerValue:Ti,onPickerValueChange:function(td){Vl(lt(td,Vt,qe,-1),Lr)}});Ri==="rtl"?No=ne.createElement(ne.Fragment,null,$d,ed&&Ud):No=ne.createElement(ne.Fragment,null,Ud,ed&&$d)}else No=Zu();var Fu=ne.createElement("div",{className:"".concat(Ee,"-panel-layout")},ne.createElement(ce,{prefixCls:Ee,presets:pc,onClick:function(td){Hi(td,null),cl(!1,Lr,"preset")},onHover:function(td){Kd(td)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(Ee,"-panels")},No),(ja||yr)&&ne.createElement("div",{className:"".concat(Ee,"-footer")},ja,yr)));return no&&(Fu=no(Fu)),ne.createElement("div",{className:"".concat(Ee,"-panel-container"),style:{marginLeft:qu},ref:Fi,onMouseDown:function(td){td.preventDefault()}},Fu)}var Cc=ne.createElement("div",{className:Wt()("".concat(Ee,"-range-wrapper"),"".concat(Ee,"-").concat(Vt,"-range-wrapper")),style:{minWidth:$o}},ne.createElement("div",{ref:Li,className:"".concat(Ee,"-range-arrow"),style:yc}),bc()),tc;Go&&(tc=ne.createElement("span",{className:"".concat(Ee,"-suffix"),onMouseDown:function(ja){ja.preventDefault()}},Go));var xc=ye(Ee,Xr,kr),Ec=ne.createElement("span",{onMouseDown:function(ja){ja.preventDefault(),ja.stopPropagation()},onMouseUp:function(ja){ja.preventDefault(),ja.stopPropagation();var yr=qr;Ur[0]||(yr=va(yr,null,0)),Ur[1]||(yr=va(yr,null,1)),Hi(yr,null),cl(!1,Lr,"clear")},className:"".concat(Ee,"-clear"),role:"button"},xc),wc=Xr&&(Nn(qr,0)&&!Ur[0]||Nn(qr,1)&&!Ur[1]),nc={size:ko(Vt,el[0],qe)},zu=0,Hu=0;gi.current&&$i.current&&_i.current&&(Lr===0?Hu=gi.current.offsetWidth:(zu=Vd,Hu=$i.current.offsetWidth));var Lc=Ri==="rtl"?{right:zu}:{left:zu},Ac=function(ja,yr){var Mo=va(hr,ja,Lr);if(yr==="submit"||yr!=="key"&&!wi){Hi(Mo,Lr),Lr===0?Yi():Wd();var Ti=Lr===0?1:0;Ur[Ti]?cl(!1,!1,"confirm"):cl(!1,Lr,"confirm")}else ha(Mo)};return ne.createElement(_e.Provider,{value:{operationRef:Al,hideHeader:Vt==="time",onDateMouseEnter:ac,onDateMouseLeave:rc,hideRanges:!0,onSelect:Ac,open:oi}},ne.createElement(se,{visible:oi,popupElement:Cc,popupStyle:Tt,prefixCls:Ee,dropdownClassName:ut,dropdownAlign:vt,getPopupContainer:Ct,transitionName:gt,range:!0,direction:Ri},ne.createElement("div",(0,re.Z)({ref:Eo,className:Wt()(Ee,"".concat(Ee,"-range"),it,(oe={},(0,at.Z)(oe,"".concat(Ee,"-disabled"),Ur[0]&&Ur[1]),(0,at.Z)(oe,"".concat(Ee,"-focused"),Lr===0?Uu:Ju),(0,at.Z)(oe,"".concat(Ee,"-rtl"),Ri==="rtl"),oe)),style:Ye,onClick:fc,onMouseEnter:Po,onMouseLeave:ki,onMouseDown:mc,onMouseUp:Br},(0,ln.Z)(ee,{aria:!0,data:!0})),ne.createElement("div",{className:Wt()("".concat(Ee,"-input"),(ie={},(0,at.Z)(ie,"".concat(Ee,"-input-active"),Lr===0),(0,at.Z)(ie,"".concat(Ee,"-input-placeholder"),!!Qr),ie)),ref:gi},ne.createElement("input",(0,re.Z)({id:Ue,disabled:Ur[0],readOnly:ao||typeof el[0]=="function"||!$u,value:Qr||Gd,onChange:function(ja){fu(ja.target.value)},autoFocus:cn,placeholder:Nn(Ht,0)||"",ref:yi},uc,nc,{autoComplete:ro}))),ne.createElement("div",{className:"".concat(Ee,"-range-separator"),ref:_i},ia),ne.createElement("div",{className:Wt()("".concat(Ee,"-input"),(ge={},(0,at.Z)(ge,"".concat(Ee,"-input-active"),Lr===1),(0,at.Z)(ge,"".concat(Ee,"-input-placeholder"),!!Su),ge)),ref:$i},ne.createElement("input",(0,re.Z)({disabled:Ur[1],readOnly:ao||typeof el[0]=="function"||!Xu,value:Su||Tl,onChange:function(ja){Fs(ja.target.value)},placeholder:Nn(Ht,1)||"",ref:Oi},gc,nc,{autoComplete:ro}))),ne.createElement("div",{className:"".concat(Ee,"-active-bar"),style:(0,Lt.Z)((0,Lt.Z)({},Lc),{},{width:Hu,position:"absolute"})}),tc,wc&&Ec)))}var Ln=function(ee){(0,Dt.Z)(ie,ee);var oe=(0,En.Z)(ie);function ie(){var ge;(0,nn.Z)(this,ie);for(var me=arguments.length,Le=new Array(me),Ee=0;Ee<me;Ee++)Le[Ee]=arguments[Ee];return ge=oe.call.apply(oe,[this].concat(Le)),(0,at.Z)((0,Pt.Z)(ge),"pickerRef",ne.createRef()),(0,at.Z)((0,Pt.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,at.Z)((0,Pt.Z)(ge),"blur",function(){ge.pickerRef.current&&ge.pickerRef.current.blur()}),ge}return(0,Ve.Z)(ie,[{key:"render",value:function(){return ne.createElement(en,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ie}(ne.Component),mn=Ln,kn=$e,Pn=te(9708),Gn=te(53124),fa=te(98866),Ea=te(98675),ua=te(65223),Ua=te(10110),sr=te(4173),_n=te(16516),sa=te(84780),Vn=te(47673),zn=te(14747),da=te(79511),ba=te(80110),Ya=te(67771),rr=te(33297),ya=te(45503),fr=te(67968);const pr=(ee,oe,ie,ge)=>{const{lineHeight:me}=ee,Le=Math.floor(ie*me)+2,Ee=Math.max((oe-Le)/2,0),Ue=Math.max(oe-Le-Ee,0);return{padding:`${Ee}px ${ge}px ${Ue}px`}},to=ee=>{const{componentCls:oe,pickerCellCls:ie,pickerCellInnerCls:ge,cellHeight:me,motionDurationSlow:Le,borderRadiusSM:Ee,motionDurationMid:Ue,cellHoverBg:Ye,lineWidth:it,lineType:Tt,colorPrimary:ut,cellActiveWithRangeBg:gt,colorTextLightSolid:vt,controlHeightSM:Ct,cellRangeBorderColor:qe,pickerCellBorderGap:St,cellHoverWithRangeBg:Ht,cellWidth:cn,colorTextDisabled:Xt,cellBgDisabled:Qt}=ee;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:me,transform:"translateY(-50%)",transition:`all ${Le}`,content:'""'},[ge]:{position:"relative",zIndex:2,display:"inline-block",minWidth:me,height:me,lineHeight:`${me}px`,borderRadius:Ee,transition:`background ${Ue}, border ${Ue}`},"&-range-hover-start, &-range-hover-end":{[ge]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ie}-in-view),
|
|
&:hover:not(${ie}-selected):not(${ie}-range-start):not(${ie}-range-end):not(${ie}-range-hover-start):not(${ie}-range-hover-end)`]:{[ge]:{background:Ye}},[`&-in-view${ie}-today ${ge}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${it}px ${Tt} ${ut}`,borderRadius:Ee,content:'""'}},[`&-in-view${ie}-in-range`]:{position:"relative","&::before":{background:gt}},[`&-in-view${ie}-selected ${ge},
|
|
&-in-view${ie}-range-start ${ge},
|
|
&-in-view${ie}-range-end ${ge}`]:{color:vt,background:ut},[`&-in-view${ie}-range-start:not(${ie}-range-start-single),
|
|
&-in-view${ie}-range-end:not(${ie}-range-end-single)`]:{"&::before":{background:gt}},[`&-in-view${ie}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ie}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ie}-range-hover-start:not(${ie}-in-range):not(${ie}-range-start):not(${ie}-range-end),
|
|
&-in-view${ie}-range-hover-end:not(${ie}-in-range):not(${ie}-range-start):not(${ie}-range-end),
|
|
&-in-view${ie}-range-hover-start${ie}-range-start-single,
|
|
&-in-view${ie}-range-hover-start${ie}-range-start${ie}-range-end${ie}-range-end-near-hover,
|
|
&-in-view${ie}-range-hover-end${ie}-range-start${ie}-range-end${ie}-range-start-near-hover,
|
|
&-in-view${ie}-range-hover-end${ie}-range-end-single,
|
|
&-in-view${ie}-range-hover:not(${ie}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Ct,borderTop:`${it}px dashed ${qe}`,borderBottom:`${it}px dashed ${qe}`,transform:"translateY(-50%)",transition:`all ${Le}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:St},[`&-in-view${ie}-in-range${ie}-range-hover::before,
|
|
&-in-view${ie}-in-range${ie}-range-hover-start::before,
|
|
&-in-view${ie}-in-range${ie}-range-hover-end::before,
|
|
&-in-view${ie}-range-start${ie}-range-hover::before,
|
|
&-in-view${ie}-range-end${ie}-range-hover::before,
|
|
&-in-view${ie}-range-start:not(${ie}-range-start-single)${ie}-range-hover-start::before,
|
|
&-in-view${ie}-range-end:not(${ie}-range-end-single)${ie}-range-hover-end::before,
|
|
${oe}-panel
|
|
> :not(${oe}-date-panel)
|
|
&-in-view${ie}-in-range${ie}-range-hover-start::before,
|
|
${oe}-panel
|
|
> :not(${oe}-date-panel)
|
|
&-in-view${ie}-in-range${ie}-range-hover-end::before`]:{background:Ht},[`&-in-view${ie}-range-start:not(${ie}-range-start-single):not(${ie}-range-end) ${ge}`]:{borderStartStartRadius:Ee,borderEndStartRadius:Ee,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ie}-range-end:not(${ie}-range-end-single):not(${ie}-range-start) ${ge}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ee,borderEndEndRadius:Ee},[`&-range-hover${ie}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ie}-range-hover:first-child::after,
|
|
tr > &-in-view${ie}-range-hover-end:first-child::after,
|
|
&-in-view${ie}-start${ie}-range-hover-edge-start${ie}-range-hover-edge-start-near-range::after,
|
|
&-in-view${ie}-range-hover-edge-start:not(${ie}-range-hover-edge-start-near-range)::after,
|
|
&-in-view${ie}-range-hover-start::after`]:{insetInlineStart:(cn-me)/2,borderInlineStart:`${it}px dashed ${qe}`,borderStartStartRadius:Ee,borderEndStartRadius:Ee},[`tr > &-in-view${ie}-range-hover:last-child::after,
|
|
tr > &-in-view${ie}-range-hover-start:last-child::after,
|
|
&-in-view${ie}-end${ie}-range-hover-edge-end${ie}-range-hover-edge-end-near-range::after,
|
|
&-in-view${ie}-range-hover-edge-end:not(${ie}-range-hover-edge-end-near-range)::after,
|
|
&-in-view${ie}-range-hover-end::after`]:{insetInlineEnd:(cn-me)/2,borderInlineEnd:`${it}px dashed ${qe}`,borderStartEndRadius:Ee,borderEndEndRadius:Ee},"&-disabled":{color:Xt,pointerEvents:"none",[ge]:{background:"transparent"},"&::before":{background:Qt}},[`&-disabled${ie}-today ${ge}::before`]:{borderColor:Xt}}},Tr=ee=>{const{componentCls:oe,pickerCellCls:ie,pickerCellInnerCls:ge,pickerYearMonthCellWidth:me,pickerControlIconSize:Le,cellWidth:Ee,paddingSM:Ue,paddingXS:Ye,paddingXXS:it,colorBgContainer:Tt,lineWidth:ut,lineType:gt,borderRadiusLG:vt,colorPrimary:Ct,colorTextHeading:qe,colorSplit:St,pickerControlIconBorderWidth:Ht,colorIcon:cn,textHeight:Xt,motionDurationMid:Qt,colorIconHover:Dn,fontWeightStrong:Vt,cellHeight:Jt,pickerCellPaddingVertical:oa,colorTextDisabled:Tn,colorText:ia,fontSize:$n,cellHoverWithRangeBg:Ra,motionDurationSlow:or,withoutTimeCellHeight:xr,pickerQuarterPanelContentHeight:Fa,colorLink:Za,colorLinkActive:ma,colorLinkHover:Er,cellRangeBorderColor:_a,borderRadiusSM:ir,colorTextLightSolid:no,cellHoverBg:uo,timeColumnHeight:xo,timeColumnWidth:ei,timeCellHeight:Xr,controlItemBgActive:Go,marginXXS:kr,pickerDatePanelPaddingHorizontal:Ir}=ee,ao=Ee*7+Ir*2,Ko=(ao-Ye*2)/3-me-Ue,Vo=(ao-Ye*2)/4-me;return{[oe]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Tt,border:`${ut}px ${gt} ${St}`,borderRadius:vt,outline:"none","&-focused":{borderColor:Ct},"&-rtl":{direction:"rtl",[`${oe}-prev-icon,
|
|
${oe}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${oe}-next-icon,
|
|
${oe}-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:ao},"&-header":{display:"flex",padding:`0 ${Ye}px`,color:qe,borderBottom:`${ut}px ${gt} ${St}`,"> *":{flex:"none"},button:{padding:0,color:cn,lineHeight:`${Xt}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Qt}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:$n,"&:hover":{color:Dn}},"&-view":{flex:"auto",fontWeight:Vt,lineHeight:`${Xt}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Ye},"&:hover":{color:Ct}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Le,height:Le,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Le,height:Le,border:"0 solid currentcolor",borderBlockStartWidth:Ht,borderBlockEndWidth:0,borderInlineStartWidth:Ht,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Le/2),insetInlineStart:Math.ceil(Le/2),display:"inline-block",width:Le,height:Le,border:"0 solid currentcolor",borderBlockStartWidth:Ht,borderBlockEndWidth:0,borderInlineStartWidth:Ht,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:Jt,fontWeight:"normal"},th:{height:Jt+oa*2,color:ia,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${oa}px 0`,color:Tn,cursor:"pointer","&-in-view":{color:ia}},to(ee)),[`&-date-panel ${oe}-cell-in-view${oe}-cell-in-range${oe}-cell-range-hover-start ${ge},
|
|
&-date-panel ${oe}-cell-in-view${oe}-cell-in-range${oe}-cell-range-hover-end ${ge}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Ra,transition:`all ${or}`,content:'""'}},[`&-date-panel
|
|
${oe}-cell-in-view${oe}-cell-in-range${oe}-cell-range-hover-start
|
|
${ge}::after`]:{insetInlineEnd:-(Ee-Jt)/2,insetInlineStart:0},[`&-date-panel ${oe}-cell-in-view${oe}-cell-in-range${oe}-cell-range-hover-end ${ge}::after`]:{insetInlineEnd:0,insetInlineStart:-(Ee-Jt)/2},[`&-range-hover${oe}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${oe}-content`]:{height:xr*4},[ge]:{padding:`0 ${Ye}px`}},"&-quarter-panel":{[`${oe}-content`]:{height:Fa},[`${oe}-cell-range-hover-start::after`]:{insetInlineStart:Vo,borderInlineStart:`${ut}px dashed ${_a}`,[`${oe}-panel-rtl &`]:{insetInlineEnd:Vo,borderInlineEnd:`${ut}px dashed ${_a}`}},[`${oe}-cell-range-hover-end::after`]:{insetInlineEnd:Vo,borderInlineEnd:`${ut}px dashed ${_a}`,[`${oe}-panel-rtl &`]:{insetInlineStart:Vo,borderInlineStart:`${ut}px dashed ${_a}`}}},[`&-panel ${oe}-footer`]:{borderTop:`${ut}px ${gt} ${St}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Xt-2*ut}px`,textAlign:"center","&-extra":{padding:`0 ${Ue}px`,lineHeight:`${Xt-2*ut}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ut}px ${gt} ${St}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Za,"&:hover":{color:Er},"&:active":{color:ma},[`&${oe}-today-btn-disabled`]:{color:Tn,cursor:"not-allowed"}},"&-decade-panel":{[ge]:{padding:`0 ${Ye/2}px`},[`${oe}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${oe}-body`]:{padding:`0 ${Ye}px`},[ge]:{width:me},[`${oe}-cell-range-hover-start::after`]:{borderStartStartRadius:ir,borderEndStartRadius:ir,borderStartEndRadius:0,borderEndEndRadius:0,[`${oe}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ir,borderEndEndRadius:ir}},[`${oe}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:ir,borderEndEndRadius:ir,[`${oe}-panel-rtl &`]:{borderStartStartRadius:ir,borderEndStartRadius:ir,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${oe}-cell-range-hover-start::after`]:{insetInlineStart:Ko,borderInlineStart:`${ut}px dashed ${_a}`,[`${oe}-panel-rtl &`]:{insetInlineEnd:Ko,borderInlineEnd:`${ut}px dashed ${_a}`}},[`${oe}-cell-range-hover-end::after`]:{insetInlineEnd:Ko,borderInlineEnd:`${ut}px dashed ${_a}`,[`${oe}-panel-rtl &`]:{insetInlineStart:Ko,borderInlineStart:`${ut}px dashed ${_a}`}}},"&-week-panel":{[`${oe}-body`]:{padding:`${Ye}px ${Ue}px`},[`${oe}-cell`]:{[`&:hover ${ge},
|
|
&-selected ${ge},
|
|
${ge}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Qt}`},"&:first-child:before":{borderStartStartRadius:ir,borderEndStartRadius:ir},"&:last-child:before":{borderStartEndRadius:ir,borderEndEndRadius:ir}},"&:hover td":{"&:before":{background:uo}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ie}`]:{"&:before":{background:Ct},[`&${oe}-cell-week`]:{color:new sa.C(no).setAlpha(.5).toHexString()},[ge]:{color:no}}},"&-range-hover td:before":{background:Go}}},"&-date-panel":{[`${oe}-body`]:{padding:`${Ye}px ${Ir}px`},[`${oe}-content`]:{width:Ee*7,th:{width:Ee,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${oe}-time-panel`]:{borderInlineStart:`${ut}px ${gt} ${St}`},[`${oe}-date-panel,
|
|
${oe}-time-panel`]:{transition:`opacity ${or}`},"&-active":{[`${oe}-date-panel,
|
|
${oe}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${oe}-content`]:{display:"flex",flex:"auto",height:xo},"&-column":{flex:"1 0 auto",width:ei,margin:`${it}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Qt}`,overflowX:"hidden","&::after":{display:"block",height:xo-Xr,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ut}px ${gt} ${St}`},"&-active":{background:new sa.C(Go).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${oe}-time-panel-cell`]:{marginInline:kr,[`${oe}-time-panel-cell-inner`]:{display:"block",width:ei-2*kr,height:Xr,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(ei-Xr)/2,color:ia,lineHeight:`${Xr}px`,borderRadius:ir,cursor:"pointer",transition:`background ${Qt}`,"&:hover":{background:uo}},"&-selected":{[`${oe}-time-panel-cell-inner`]:{background:Go}},"&-disabled":{[`${oe}-time-panel-cell-inner`]:{color:Tn,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${oe}-time-panel-column:after`]:{height:xo-Xr+it*2}}}},jo=ee=>{const{componentCls:oe,colorBgContainer:ie,colorError:ge,errorActiveShadow:me,colorWarning:Le,warningActiveShadow:Ee}=ee;return{[`${oe}:not(${oe}-disabled)`]:{[`&${oe}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ie,borderColor:ge},[`&${oe}-focused, &:focus`]:Object.assign({},(0,Vn.M1)((0,ya.TS)(ee,{activeBorderColor:ge,activeShadow:me}))),[`${oe}-active-bar`]:{background:ge}},[`&${oe}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ie,borderColor:Le},[`&${oe}-focused, &:focus`]:Object.assign({},(0,Vn.M1)((0,ya.TS)(ee,{activeBorderColor:Le,activeShadow:Ee}))),[`${oe}-active-bar`]:{background:Le}}}}},Wo=ee=>{const{componentCls:oe,antCls:ie,controlHeight:ge,fontSize:me,paddingInline:Le,colorBgContainer:Ee,lineWidth:Ue,lineType:Ye,colorBorder:it,borderRadius:Tt,motionDurationMid:ut,colorBgContainerDisabled:gt,colorTextDisabled:vt,colorTextPlaceholder:Ct,controlHeightLG:qe,fontSizeLG:St,controlHeightSM:Ht,paddingInlineSM:cn,paddingXS:Xt,marginXS:Qt,colorTextDescription:Dn,lineWidthBold:Vt,lineHeight:Jt,colorPrimary:oa,motionDurationSlow:Tn,zIndexPopup:ia,paddingXXS:$n,paddingSM:Ra,textHeight:or,cellActiveWithRangeBg:xr,colorPrimaryBorder:Fa,sizePopupArrow:Za,borderRadiusXS:ma,borderRadiusOuter:Er,colorBgElevated:_a,borderRadiusLG:ir,boxShadowSecondary:no,borderRadiusSM:uo,colorSplit:xo,cellHoverBg:ei,presetsWidth:Xr,presetsMaxWidth:Go,boxShadowPopoverArrow:kr,colorTextQuaternary:Ir}=ee;return[{[oe]:Object.assign(Object.assign(Object.assign({},(0,zn.Wf)(ee)),pr(ee,ge,me,Le)),{position:"relative",display:"inline-flex",alignItems:"center",background:Ee,lineHeight:1,border:`${Ue}px ${Ye} ${it}`,borderRadius:Tt,transition:`border ${ut}, box-shadow ${ut}`,"&:hover, &-focused":Object.assign({},(0,Vn.pU)(ee)),"&-focused":Object.assign({},(0,Vn.M1)(ee)),[`&${oe}-disabled`]:{background:gt,borderColor:it,cursor:"not-allowed",[`${oe}-suffix`]:{color:Ir}},[`&${oe}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${oe}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Vn.ik)(ee)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${oe}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ct}}},"&-large":Object.assign(Object.assign({},pr(ee,qe,St,Le)),{[`${oe}-input > input`]:{fontSize:St}}),"&-small":Object.assign({},pr(ee,Ht,me,cn)),[`${oe}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Xt/2,color:vt,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Qt}}},[`${oe}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:vt,lineHeight:1,background:Ee,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ut}, color ${ut}`,"> *":{verticalAlign:"top"},"&:hover":{color:Dn}},[`${oe}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:St,color:vt,fontSize:St,verticalAlign:"top",cursor:"default",[`${oe}-focused &`]:{color:Dn},[`${oe}-range-separator &`]:{[`${oe}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${oe}-clear`]:{insetInlineEnd:Le},"&:hover":{[`${oe}-clear`]:{opacity:1}},[`${oe}-active-bar`]:{bottom:-Ue,height:Vt,marginInlineStart:Le,background:oa,opacity:0,transition:`all ${Tn} ease-out`,pointerEvents:"none"},[`&${oe}-focused`]:{[`${oe}-active-bar`]:{opacity:1}},[`${oe}-range-separator`]:{alignItems:"center",padding:`0 ${Xt}px`,lineHeight:1},[`&${oe}-small`]:{[`${oe}-clear`]:{insetInlineEnd:cn},[`${oe}-active-bar`]:{marginInlineStart:cn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,zn.Wf)(ee)),Tr(ee)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ia,[`&${oe}-dropdown-hidden`]:{display:"none"},[`&${oe}-dropdown-placement-bottomLeft`]:{[`${oe}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${oe}-dropdown-placement-topLeft`]:{[`${oe}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ie}-slide-up-enter${ie}-slide-up-enter-active${oe}-dropdown-placement-topLeft,
|
|
&${ie}-slide-up-enter${ie}-slide-up-enter-active${oe}-dropdown-placement-topRight,
|
|
&${ie}-slide-up-appear${ie}-slide-up-appear-active${oe}-dropdown-placement-topLeft,
|
|
&${ie}-slide-up-appear${ie}-slide-up-appear-active${oe}-dropdown-placement-topRight`]:{animationName:Ya.Qt},[`&${ie}-slide-up-enter${ie}-slide-up-enter-active${oe}-dropdown-placement-bottomLeft,
|
|
&${ie}-slide-up-enter${ie}-slide-up-enter-active${oe}-dropdown-placement-bottomRight,
|
|
&${ie}-slide-up-appear${ie}-slide-up-appear-active${oe}-dropdown-placement-bottomLeft,
|
|
&${ie}-slide-up-appear${ie}-slide-up-appear-active${oe}-dropdown-placement-bottomRight`]:{animationName:Ya.fJ},[`&${ie}-slide-up-leave${ie}-slide-up-leave-active${oe}-dropdown-placement-topLeft,
|
|
&${ie}-slide-up-leave${ie}-slide-up-leave-active${oe}-dropdown-placement-topRight`]:{animationName:Ya.ly},[`&${ie}-slide-up-leave${ie}-slide-up-leave-active${oe}-dropdown-placement-bottomLeft,
|
|
&${ie}-slide-up-leave${ie}-slide-up-leave-active${oe}-dropdown-placement-bottomRight`]:{animationName:Ya.Uw},[`${oe}-panel > ${oe}-time-panel`]:{paddingTop:$n},[`${oe}-ranges`]:{marginBottom:0,padding:`${$n}px ${Ra}px`,overflow:"hidden",lineHeight:`${or-2*Ue-Xt/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${oe}-preset > ${ie}-tag-blue`]:{color:oa,background:xr,borderColor:Fa,cursor:"pointer"},[`${oe}-ok`]:{marginInlineStart:"auto"}},[`${oe}-range-wrapper`]:{display:"flex",position:"relative"},[`${oe}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Le*1.5,transition:`left ${Tn} ease-out`},(0,da.r)(Za,ma,Er,_a,kr)),[`${oe}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:_a,borderRadius:ir,boxShadow:no,transition:`margin ${Tn}`,[`${oe}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${oe}-presets`]:{display:"flex",flexDirection:"column",minWidth:Xr,maxWidth:Go,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Xt,borderInlineEnd:`${Ue}px ${Ye} ${xo}`,li:Object.assign(Object.assign({},zn.vS),{borderRadius:uo,paddingInline:Xt,paddingBlock:(Ht-Math.round(me*Jt))/2,cursor:"pointer",transition:`all ${Tn}`,"+ li":{marginTop:Qt},"&:hover":{background:ei}})}},[`${oe}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${oe}-panel`]:{borderWidth:`0 0 ${Ue}px`},"&:last-child":{[`${oe}-panel`]:{borderWidth:0}}},[`${oe}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${oe}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:it}}}}),"&-dropdown-range":{padding:`${Za*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${oe}-separator`]:{transform:"rotate(180deg)"},[`${oe}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Ya.oN)(ee,"slide-up"),(0,Ya.oN)(ee,"slide-down"),(0,rr.Fm)(ee,"move-up"),(0,rr.Fm)(ee,"move-down")]},ur=ee=>{const{componentCls:oe,controlHeightLG:ie,paddingXXS:ge,padding:me}=ee;return{pickerCellCls:`${oe}-cell`,pickerCellInnerCls:`${oe}-cell-inner`,pickerYearMonthCellWidth:ie*1.5,pickerQuarterPanelContentHeight:ie*1.4,pickerCellPaddingVertical:ge+ge/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:me+ge/2}},di=ee=>({cellHoverBg:ee.controlItemBgHover,cellActiveWithRangeBg:ee.controlItemBgActive,cellHoverWithRangeBg:new sa.C(ee.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new sa.C(ee.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ee.colorBgContainerDisabled,timeColumnWidth:ee.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:ee.controlHeightSM*1.5,cellHeight:ee.controlHeightSM,textHeight:ee.controlHeightLG,withoutTimeCellHeight:ee.controlHeightLG*1.65});var Fn=(0,fr.Z)("DatePicker",ee=>{const oe=(0,ya.TS)((0,Vn.e5)(ee),ur(ee));return[Wo(oe),jo(oe),(0,ba.c)(ee,{focusElCls:`${ee.componentCls}-focused`})]},ee=>Object.assign(Object.assign(Object.assign({},(0,Vn.TM)(ee)),di(ee)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ee.zIndexPopupBase+50}));function Ta(ee,oe,ie){return ie!==void 0?ie:oe==="year"&&ee.lang.yearPlaceholder?ee.lang.yearPlaceholder:oe==="quarter"&&ee.lang.quarterPlaceholder?ee.lang.quarterPlaceholder:oe==="month"&&ee.lang.monthPlaceholder?ee.lang.monthPlaceholder:oe==="week"&&ee.lang.weekPlaceholder?ee.lang.weekPlaceholder:oe==="time"&&ee.timePickerLocale.placeholder?ee.timePickerLocale.placeholder:ee.lang.placeholder}function Pr(ee,oe,ie){return ie!==void 0?ie:oe==="year"&&ee.lang.yearPlaceholder?ee.lang.rangeYearPlaceholder:oe==="quarter"&&ee.lang.quarterPlaceholder?ee.lang.rangeQuarterPlaceholder:oe==="month"&&ee.lang.monthPlaceholder?ee.lang.rangeMonthPlaceholder:oe==="week"&&ee.lang.weekPlaceholder?ee.lang.rangeWeekPlaceholder:oe==="time"&&ee.timePickerLocale.placeholder?ee.timePickerLocale.rangePlaceholder:ee.lang.rangePlaceholder}function so(ee,oe){const ie={adjustX:1,adjustY:1};switch(oe){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ie};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ie};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ie};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ie};default:return{points:ee==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ie}}}function na(ee){return ee?Array.isArray(ee)?ee:[ee]:[]}function wa(ee){const{format:oe,picker:ie,showHour:ge,showMinute:me,showSecond:Le,use12Hours:Ee}=ee,Ue=na(oe)[0],Ye=Object.assign({},ee);return oe&&Array.isArray(oe)&&(Ye.format=Ue),Ue&&typeof Ue=="string"&&(!Ue.includes("s")&&Le===void 0&&(Ye.showSecond=!1),!Ue.includes("m")&&me===void 0&&(Ye.showMinute=!1),!Ue.includes("H")&&!Ue.includes("h")&&!Ue.includes("K")&&!Ue.includes("k")&&ge===void 0&&(Ye.showHour=!1),(Ue.includes("a")||Ue.includes("A"))&&Ee===void 0&&(Ye.use12Hours=!0)),ie==="time"?Ye:(typeof Ue=="function"&&delete Ye.format,{showTime:Ye})}function ka(ee,oe,ie){if(ee===!1)return!1;const ge={clearIcon:oe!=null?oe:ie};return typeof ee=="object"?Object.assign(Object.assign({},ge),ee):ge}var Ca=te(71577);function zr(ee){return ne.createElement(Ca.ZP,Object.assign({size:"small",type:"primary"},ee))}var mr={button:zr},Jr=function(ee,oe){var ie={};for(var ge in ee)Object.prototype.hasOwnProperty.call(ee,ge)&&oe.indexOf(ge)<0&&(ie[ge]=ee[ge]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ge=Object.getOwnPropertySymbols(ee);me<ge.length;me++)oe.indexOf(ge[me])<0&&Object.prototype.propertyIsEnumerable.call(ee,ge[me])&&(ie[ge[me]]=ee[ge[me]]);return ie};function Wr(ee){return(0,ne.forwardRef)((ie,ge)=>{const{prefixCls:me,getPopupContainer:Le,className:Ee,placement:Ue,size:Ye,disabled:it,bordered:Tt=!0,placeholder:ut,popupClassName:gt,dropdownClassName:vt,status:Ct,clearIcon:qe,allowClear:St,rootClassName:Ht}=ie,cn=Jr(ie,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Xt=ne.useRef(null),{getPrefixCls:Qt,direction:Dn,getPopupContainer:Vt}=(0,ne.useContext)(Gn.E_),Jt=Qt("picker",me),{compactSize:oa,compactItemClassnames:Tn}=(0,sr.ri)(Jt,Dn),{format:ia,showTime:$n,picker:Ra}=ie,or=Qt(),[xr,Fa]=Fn(Jt),Za=Object.assign(Object.assign({},$n?wa(Object.assign({format:ia,picker:Ra},$n)):{}),Ra==="time"?wa(Object.assign(Object.assign({format:ia},ie),{picker:Ra})):{}),ma=(0,Ea.Z)(kr=>{var Ir;return(Ir=Ye!=null?Ye:oa)!==null&&Ir!==void 0?Ir:kr}),Er=ne.useContext(fa.Z),_a=it!=null?it:Er,ir=(0,ne.useContext)(ua.aM),{hasFeedback:no,status:uo,feedbackIcon:xo}=ir,ei=ne.createElement(ne.Fragment,null,Ra==="time"?ne.createElement(We,null):ne.createElement(pe,null),no&&xo);(0,ne.useImperativeHandle)(ge,()=>({focus:()=>{var kr;return(kr=Xt.current)===null||kr===void 0?void 0:kr.focus()},blur:()=>{var kr;return(kr=Xt.current)===null||kr===void 0?void 0:kr.blur()}}));const[Xr]=(0,Ua.Z)("Calendar",_n.Z),Go=Object.assign(Object.assign({},Xr),ie.locale);return xr(ne.createElement(mn,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${Jt}-separator`},ne.createElement(ht,null)),disabled:_a,ref:Xt,dropdownAlign:so(Dn,Ue),placeholder:Pr(Go,Ra,ut),suffixIcon:ei,prevIcon:ne.createElement("span",{className:`${Jt}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Jt}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Jt}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Jt}-super-next-icon`}),transitionName:`${or}-slide-up`},cn,Za,{className:Wt()({[`${Jt}-${ma}`]:ma,[`${Jt}-borderless`]:!Tt},(0,Pn.Z)(Jt,(0,Pn.F)(uo,Ct),no),Fa,Tn,Ee,Ht),locale:Go.lang,prefixCls:Jt,getPopupContainer:Le||Vt,generateConfig:ee,components:mr,direction:Dn,dropdownClassName:Wt()(Fa,gt||vt,Ht),allowClear:ka(St,qe,ne.createElement(rt.Z,null))})))})}var Sl=function(ee,oe){var ie={};for(var ge in ee)Object.prototype.hasOwnProperty.call(ee,ge)&&oe.indexOf(ge)<0&&(ie[ge]=ee[ge]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ge=Object.getOwnPropertySymbols(ee);me<ge.length;me++)oe.indexOf(ge[me])<0&&Object.prototype.propertyIsEnumerable.call(ee,ge[me])&&(ie[ge[me]]=ee[ge[me]]);return ie};function al(ee){function oe(Ye,it){const Tt=it==="TimePicker"?"timePicker":"datePicker",ut=(0,ne.forwardRef)((gt,vt)=>{const{prefixCls:Ct,getPopupContainer:qe,style:St,className:Ht,rootClassName:cn,size:Xt,bordered:Qt=!0,placement:Dn,placeholder:Vt,popupClassName:Jt,dropdownClassName:oa,disabled:Tn,status:ia,clearIcon:$n,allowClear:Ra}=gt,or=Sl(gt,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:xr,direction:Fa,getPopupContainer:Za,[Tt]:ma}=(0,ne.useContext)(Gn.E_),Er=xr("picker",Ct),{compactSize:_a,compactItemClassnames:ir}=(0,sr.ri)(Er,Fa),no=ne.useRef(null),{format:uo,showTime:xo}=gt,[ei,Xr]=Fn(Er);(0,ne.useImperativeHandle)(vt,()=>({focus:()=>{var Po;return(Po=no.current)===null||Po===void 0?void 0:Po.focus()},blur:()=>{var Po;return(Po=no.current)===null||Po===void 0?void 0:Po.blur()}}));const Go={showToday:!0};let kr={};Ye&&(kr.picker=Ye);const Ir=Ye||gt.picker;kr=Object.assign(Object.assign(Object.assign({},kr),xo?wa(Object.assign({format:uo,picker:Ir},xo)):{}),Ir==="time"?wa(Object.assign(Object.assign({format:uo},gt),{picker:Ir})):{});const ao=xr(),Ko=(0,Ea.Z)(Po=>{var ki;return(ki=Xt!=null?Xt:_a)!==null&&ki!==void 0?ki:Po}),Vo=ne.useContext(fa.Z),xi=Tn!=null?Tn:Vo,Uo=(0,ne.useContext)(ua.aM),{hasFeedback:tr,status:co,feedbackIcon:Vr}=Uo,wr=ne.createElement(ne.Fragment,null,Ir==="time"?ne.createElement(We,null):ne.createElement(pe,null),tr&&Vr),[Da]=(0,Ua.Z)("DatePicker",_n.Z),Br=Object.assign(Object.assign({},Da),gt.locale);return ei(ne.createElement(kn,Object.assign({ref:no,placeholder:Ta(Br,Ir,Vt),suffixIcon:wr,dropdownAlign:so(Fa,Dn),prevIcon:ne.createElement("span",{className:`${Er}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Er}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Er}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Er}-super-next-icon`}),transitionName:`${ao}-slide-up`},Go,or,kr,{locale:Br.lang,className:Wt()({[`${Er}-${Ko}`]:Ko,[`${Er}-borderless`]:!Qt},(0,Pn.Z)(Er,(0,Pn.F)(co,ia),tr),Xr,ir,ma==null?void 0:ma.className,Ht,cn),style:Object.assign(Object.assign({},ma==null?void 0:ma.style),St),prefixCls:Er,getPopupContainer:qe||Za,generateConfig:ee,components:mr,direction:Fa,disabled:xi,dropdownClassName:Wt()(Xr,cn,Jt||oa),allowClear:ka(Ra,$n,ne.createElement(rt.Z,null))})))});return it&&(ut.displayName=it),ut}const ie=oe(),ge=oe("week","WeekPicker"),me=oe("month","MonthPicker"),Le=oe("year","YearPicker"),Ee=oe("time","TimePicker"),Ue=oe("quarter","QuarterPicker");return{DatePicker:ie,WeekPicker:ge,MonthPicker:me,YearPicker:Le,TimePicker:Ee,QuarterPicker:Ue}}const Ms=null;function Mi(ee){const{DatePicker:oe,WeekPicker:ie,MonthPicker:ge,YearPicker:me,TimePicker:Le,QuarterPicker:Ee}=al(ee),Ue=Wr(ee),Ye=oe;return Ye.WeekPicker=ie,Ye.MonthPicker=ge,Ye.YearPicker=me,Ye.RangePicker=Ue,Ye.TimePicker=Le,Ye.QuarterPicker=Ee,Ye}var os=Mi;const ri=os(z);function Ll(ee){const oe=so(ee.direction,ee.placement);return oe.overflow.adjustY=!1,oe.overflow.adjustX=!1,Object.assign(Object.assign({},ee),{dropdownAlign:oe})}const Cd=(0,ae.Z)(ri,"picker",null,Ll);ri._InternalPanelDoNotUseOrYouWillBeFired=Cd;const po=(0,ae.Z)(ri.RangePicker,"picker",null,Ll);ri._InternalRangePanelDoNotUseOrYouWillBeFired=po,ri.generatePicker=os;var Co=ri},96074:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return je}});var le=te(94184),ve=te.n(le),Oe=te(67294),Ge=te(53124),Fe=te(14747),Ze=te(67968),de=te(45503);const ze=we=>{const{componentCls:ue,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=we;return{[ue]:Object.assign(Object.assign({},(0,Fe.Wf)(we)),{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:`${we.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ue}-with-text`]:{display:"flex",alignItems:"center",margin:`${we.dividerHorizontalWithTextGutterMargin}px 0`,color:we.colorTextHeading,fontWeight:500,fontSize:we.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${ue}-with-text-left`]:{"&::before":{width:`${E*100}%`},"&::after":{width:`${100-E*100}%`}},[`&-horizontal${ue}-with-text-right`]:{"&::before":{width:`${100-E*100}%`},"&::after":{width:`${E*100}%`}},[`${ue}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${ue}-with-text${ue}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ue}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ue}-with-text`]:{color:we.colorText,fontWeight:"normal",fontSize:we.fontSize},[`&-horizontal${ue}-with-text-left${ue}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ue}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ue}-with-text-right${ue}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ue}-inner-text`]:{paddingInlineEnd:y}}})}};var Ke=(0,Ze.Z)("Divider",we=>{const ue=(0,de.TS)(we,{dividerHorizontalWithTextGutterMargin:we.margin,dividerHorizontalGutterMargin:we.marginLG,sizePaddingEdgeHorizontal:0});return[ze(ue)]},we=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:we.marginXS})),He=function(we,ue){var y={};for(var a in we)Object.prototype.hasOwnProperty.call(we,a)&&ue.indexOf(a)<0&&(y[a]=we[a]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(we);x<a.length;x++)ue.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(we,a[x])&&(y[a[x]]=we[a[x]]);return y},je=we=>{const{getPrefixCls:ue,direction:y,divider:a}=Oe.useContext(Ge.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:ae,rootClassName:re,children:ne,dashed:fe,plain:Se,style:Ne}=we,be=He(we,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=ue("divider",x),[pe,st]=Ke(xe),Qe=E.length>0?`-${E}`:E,Ot=!!ne,We=E==="left"&&z!=null,rt=E==="right"&&z!=null,bt=ve()(xe,a==null?void 0:a.className,st,`${xe}-${b}`,{[`${xe}-with-text`]:Ot,[`${xe}-with-text${Qe}`]:Ot,[`${xe}-dashed`]:!!fe,[`${xe}-plain`]:!!Se,[`${xe}-rtl`]:y==="rtl",[`${xe}-no-default-orientation-margin-left`]:We,[`${xe}-no-default-orientation-margin-right`]:rt},ae,re),Kt=Oe.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Mt=Object.assign(Object.assign({},We&&{marginLeft:Kt}),rt&&{marginRight:Kt});return pe(Oe.createElement("div",Object.assign({className:bt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ne)},be,{role:"separator"}),ne&&b!=="vertical"&&Oe.createElement("span",{className:`${xe}-inner-text`,style:Mt},ne)))}},56153:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return Ou}});var le=te(67294),ve=te.t(le,2),Oe=te(91034),Ge=te(94184),Fe=te.n(Ge),Ze=te(87462),de=te(4942),ze=te(97685),Ke=te(45987),He=te(1413),et=te(73935);function je(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var we={};function ue(Pe,Me){}function y(Pe,Me){}function a(){we={}}function x(Pe,Me,ke){!Me&&!we[ke]&&(Pe(!1,ke),we[ke]=!0)}function b(Pe,Me){x(ue,Pe,Me)}function E(Pe,Me){x(y,Pe,Me)}var z=null,ae=te(71002),re=te(12060);function ne(Pe,Me,ke){var tt=le.useRef({});return(!("value"in tt.current)||ke(tt.current.condition,Me))&&(tt.current.value=Pe(),tt.current.condition=Me),tt.current.value}function fe(Pe,Me){typeof Pe=="function"?Pe(Me):(0,ae.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Me)}function Se(){for(var Pe=arguments.length,Me=new Array(Pe),ke=0;ke<Pe;ke++)Me[ke]=arguments[ke];var tt=Me.filter(function(wt){return wt});return tt.length<=1?tt[0]:function(wt){Me.forEach(function(qt){fe(qt,wt)})}}function Ne(){for(var Pe=arguments.length,Me=new Array(Pe),ke=0;ke<Pe;ke++)Me[ke]=arguments[ke];return ne(function(){return Se.apply(void 0,Me)},Me,function(tt,wt){return tt.length===wt.length&&tt.every(function(qt,an){return qt===wt[an]})})}function be(Pe){var Me,ke,tt=(0,re.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof tt=="function"&&!((Me=tt.prototype)!==null&&Me!==void 0&&Me.render)||typeof Pe=="function"&&!((ke=Pe.prototype)!==null&&ke!==void 0&&ke.render))}var xe=le.createContext(null),pe=xe,st=te(74902),Qe=je()?le.useLayoutEffect:le.useEffect,Ot=Qe,We=function(Me,ke){var tt=React.useRef(!0);Qe(function(){if(!tt.current)return Me()},ke),Qe(function(){return tt.current=!1,function(){tt.current=!0}},[])},rt=[];function bt(Pe,Me){var ke=le.useState(function(){if(!je())return null;var qa=document.createElement("div");return qa}),tt=(0,ze.Z)(ke,1),wt=tt[0],qt=le.useRef(!1),an=le.useContext(pe),Kn=le.useState(rt),aa=(0,ze.Z)(Kn,2),Qn=aa[0],xa=aa[1],Xn=an||(qt.current?void 0:function(qa){xa(function(Fr){var Ar=[qa].concat((0,st.Z)(Fr));return Ar})});function Ba(){wt.parentElement||document.body.appendChild(wt),qt.current=!0}function Pa(){var qa;(qa=wt.parentElement)===null||qa===void 0||qa.removeChild(wt),qt.current=!1}return Ot(function(){return Pe?an?an(Ba):Ba():Pa(),Pa},[Pe]),Ot(function(){Qn.length&&(Qn.forEach(function(qa){return qa()}),xa(rt))},[Qn]),[wt,Xn]}function Kt(Pe,Me){if(!Pe)return!1;if(Pe.contains)return Pe.contains(Me);for(var ke=Me;ke;){if(ke===Pe)return!0;ke=ke.parentNode}return!1}var Mt="data-rc-order",ht="rc-util-key",Ft=new Map;function Wt(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Me=Pe.mark;return Me?Me.startsWith("data-")?Me:"data-".concat(Me):ht}function nn(Pe){if(Pe.attachTo)return Pe.attachTo;var Me=document.querySelector("head");return Me||document.body}function Ve(Pe){return Pe==="queue"?"prependQueue":Pe?"prepend":"append"}function Pt(Pe){return Array.from((Ft.get(Pe)||Pe).children).filter(function(Me){return Me.tagName==="STYLE"})}function Dt(Pe){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!je())return null;var ke=Me.csp,tt=Me.prepend,wt=document.createElement("style");wt.setAttribute(Mt,Ve(tt)),ke!=null&&ke.nonce&&(wt.nonce=ke==null?void 0:ke.nonce),wt.innerHTML=Pe;var qt=nn(Me),an=qt.firstChild;if(tt){if(tt==="queue"){var Kn=Pt(qt).filter(function(aa){return["prepend","prependQueue"].includes(aa.getAttribute(Mt))});if(Kn.length)return qt.insertBefore(wt,Kn[Kn.length-1].nextSibling),wt}qt.insertBefore(wt,an)}else qt.appendChild(wt);return wt}function En(Pe){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=nn(Me);return Pt(ke).find(function(tt){return tt.getAttribute(Wt(Me))===Pe})}function at(Pe){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=En(Pe,Me);if(ke){var tt=nn(Me);tt.removeChild(ke)}}function Lt(Pe,Me){var ke=Ft.get(Pe);if(!ke||!Kt(document,ke)){var tt=Dt("",Me),wt=tt.parentNode;Ft.set(Pe,wt),Pe.removeChild(tt)}}function Ce(){Ft.clear()}function on(Pe,Me){var ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},tt=nn(ke);Lt(tt,ke);var wt=En(Me,ke);if(wt){var qt,an;if((qt=ke.csp)!==null&&qt!==void 0&&qt.nonce&&wt.nonce!==((an=ke.csp)===null||an===void 0?void 0:an.nonce)){var Kn;wt.nonce=(Kn=ke.csp)===null||Kn===void 0?void 0:Kn.nonce}return wt.innerHTML!==Pe&&(wt.innerHTML=Pe),wt}var aa=Dt(Pe,ke);return aa.setAttribute(Wt(ke),Me),aa}var ln;function ra(Pe){if(typeof document=="undefined")return 0;if(Pe||ln===void 0){var Me=document.createElement("div");Me.style.width="100%",Me.style.height="200px";var ke=document.createElement("div"),tt=ke.style;tt.position="absolute",tt.top="0",tt.left="0",tt.pointerEvents="none",tt.visibility="hidden",tt.width="200px",tt.height="150px",tt.overflow="hidden",ke.appendChild(Me),document.body.appendChild(ke);var wt=Me.offsetWidth;ke.style.overflow="scroll";var qt=Me.offsetWidth;wt===qt&&(qt=ke.clientWidth),document.body.removeChild(ke),ln=wt-qt}return ln}function Bn(Pe){var Me=Pe.match(/^(.*)px$/),ke=Number(Me==null?void 0:Me[1]);return Number.isNaN(ke)?ra():ke}function It(Pe){if(typeof document=="undefined"||!Pe||!(Pe instanceof Element))return{width:0,height:0};var Me=getComputedStyle(Pe,"::-webkit-scrollbar"),ke=Me.width,tt=Me.height;return{width:Bn(ke),height:Bn(tt)}}function Ie(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var De="rc-util-locker-".concat(Date.now()),ft=0;function kt(Pe){var Me=!!Pe,ke=le.useState(function(){return ft+=1,"".concat(De,"_").concat(ft)}),tt=(0,ze.Z)(ke,1),wt=tt[0];Ot(function(){if(Me){var qt=It(document.body).width,an=Ie();on(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(an?"width: calc(100% - ".concat(qt,"px);"):"",`
|
|
}`),wt)}else at(wt);return function(){at(wt)}},[Me,wt])}var jt=!1;function gn(Pe){return typeof Pe=="boolean"&&(jt=Pe),jt}var tn=function(Me){return Me===!1?!1:!je()||!Me?null:typeof Me=="string"?document.querySelector(Me):typeof Me=="function"?Me():Me},xn=le.forwardRef(function(Pe,Me){var ke=Pe.open,tt=Pe.autoLock,wt=Pe.getContainer,qt=Pe.debug,an=Pe.autoDestroy,Kn=an===void 0?!0:an,aa=Pe.children,Qn=le.useState(ke),xa=(0,ze.Z)(Qn,2),Xn=xa[0],Ba=xa[1],Pa=Xn||ke;le.useEffect(function(){(Kn||ke)&&Ba(ke)},[ke,Kn]);var qa=le.useState(function(){return tn(wt)}),Fr=(0,ze.Z)(qa,2),Ar=Fr[0],Kr=Fr[1];le.useEffect(function(){var _o=tn(wt);Kr(_o!=null?_o:null)});var Cr=bt(Pa&&!Ar,qt),er=(0,ze.Z)(Cr,2),Ma=er[0],Zo=er[1],yo=Ar!=null?Ar:Ma;kt(tt&&ke&&je()&&(yo===Ma||yo===document.body));var zo=null;if(aa&&be(aa)&&Me){var qo=aa;zo=qo.ref}var Ni=Ne(zo,Me);if(!Pa||!je()||Ar===void 0)return null;var Ao=yo===!1||gn(),jr=aa;return Me&&(jr=le.cloneElement(aa,{ref:Ni})),le.createElement(pe.Provider,{value:Zo},Ao?jr:(0,et.createPortal)(jr,yo))}),dn=xn,ga=dn,Te=te(48555);function ot(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function Yn(Pe){return ot(Pe)?Pe:Pe instanceof React.Component?ReactDOM.findDOMNode(Pe):null}function Mn(Pe){var Me;return Pe==null||(Me=Pe.getRootNode)===null||Me===void 0?void 0:Me.call(Pe)}function lt(Pe){return Mn(Pe)instanceof ShadowRoot}function _t(Pe){return lt(Pe)?Mn(Pe):null}function ea(Pe){var Me=le.useRef();Me.current=Pe;var ke=le.useCallback(function(){for(var tt,wt=arguments.length,qt=new Array(wt),an=0;an<wt;an++)qt[an]=arguments[an];return(tt=Me.current)===null||tt===void 0?void 0:tt.call.apply(tt,[Me].concat(qt))},[]);return ke}function Un(){var Pe=(0,He.Z)({},ve);return Pe.useId}var ca=0;function In(){}var fn=Un(),qn=fn?function(Me){var ke=fn();return Me||ke}:function(Me){var ke=le.useState("ssr-id"),tt=(0,ze.Z)(ke,2),wt=tt[0],qt=tt[1];return le.useEffect(function(){var an=ca;ca+=1,qt("rc_unique_".concat(an))},[]),Me||wt};function cr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ga=cr()?le.useLayoutEffect:le.useEffect,za=function(Me,ke){var tt=le.useRef(!0);Ga(function(){return Me(tt.current)},ke),Ga(function(){return tt.current=!1,function(){tt.current=!0}},[])},Zr=function(Me,ke){za(function(tt){if(!tt)return Me()},ke)},Va=za,Mr=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Pe=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Pe)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Pe==null?void 0:Pe.substr(0,4))},oo=le.createContext(null),ko=oo;function Yo(Pe){return Pe?Array.isArray(Pe)?Pe:[Pe]:[]}function ti(Pe,Me,ke,tt){return le.useMemo(function(){var wt=Yo(ke!=null?ke:Me),qt=Yo(tt!=null?tt:Me),an=new Set(wt),Kn=new Set(qt);return Pe&&(an.has("hover")&&(an.delete("hover"),an.add("click")),Kn.has("hover")&&(Kn.delete("hover"),Kn.add("click"))),[an,Kn]},[Pe,Me,ke,tt])}var fi=function(Pe){if(!Pe)return!1;if(Pe instanceof Element){if(Pe.offsetParent)return!0;if(Pe.getBBox){var Me=Pe.getBBox(),ke=Me.width,tt=Me.height;if(ke||tt)return!0}if(Pe.getBoundingClientRect){var wt=Pe.getBoundingClientRect(),qt=wt.width,an=wt.height;if(qt||an)return!0}}return!1};function Io(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=arguments.length>2?arguments[2]:void 0;return ke?Pe[0]===Me[0]:Pe[0]===Me[0]&&Pe[1]===Me[1]}function bi(Pe,Me,ke,tt){for(var wt=ke.points,qt=Object.keys(Pe),an=0;an<qt.length;an+=1){var Kn,aa=qt[an];if(Io((Kn=Pe[aa])===null||Kn===void 0?void 0:Kn.points,wt,tt))return"".concat(Me,"-placement-").concat(aa)}return""}function Hr(Pe,Me,ke,tt){return Me||(ke?{motionName:"".concat(Pe,"-").concat(ke)}:tt?{motionName:tt}:null)}function An(Pe){return Pe.ownerDocument.defaultView}function On(Pe){for(var Me=[],ke=Pe==null?void 0:Pe.parentElement,tt=["hidden","scroll","clip","auto"];ke;){var wt=An(ke).getComputedStyle(ke),qt=wt.overflowX,an=wt.overflowY,Kn=wt.overflow;[qt,an,Kn].some(function(aa){return tt.includes(aa)})&&Me.push(ke),ke=ke.parentElement}return Me}function bn(Pe){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Pe)?Me:Pe}function wn(Pe){return bn(parseFloat(Pe),0)}function Ja(Pe,Me){var ke=(0,He.Z)({},Pe);return(Me||[]).forEach(function(tt){if(!(tt instanceof HTMLBodyElement||tt instanceof HTMLHtmlElement)){var wt=An(tt).getComputedStyle(tt),qt=wt.overflow,an=wt.overflowClipMargin,Kn=wt.borderTopWidth,aa=wt.borderBottomWidth,Qn=wt.borderLeftWidth,xa=wt.borderRightWidth,Xn=tt.getBoundingClientRect(),Ba=tt.offsetHeight,Pa=tt.clientHeight,qa=tt.offsetWidth,Fr=tt.clientWidth,Ar=wn(Kn),Kr=wn(aa),Cr=wn(Qn),er=wn(xa),Ma=bn(Math.round(Xn.width/qa*1e3)/1e3),Zo=bn(Math.round(Xn.height/Ba*1e3)/1e3),yo=(qa-Fr-Cr-er)*Ma,zo=(Ba-Pa-Ar-Kr)*Zo,qo=Ar*Zo,Ni=Kr*Zo,Ao=Cr*Ma,jr=er*Ma,_o=0,ui=0;if(qt==="clip"){var Do=wn(an);_o=Do*Ma,ui=Do*Zo}var Or=Xn.x+Ao-_o,ho=Xn.y+qo-ui,Sr=Or+Xn.width+2*_o-Ao-jr-yo,hi=ho+Xn.height+2*ui-qo-Ni-zo;ke.left=Math.max(ke.left,Or),ke.top=Math.max(ke.top,ho),ke.right=Math.min(ke.right,Sr),ke.bottom=Math.min(ke.bottom,hi)}}),ke}function Nr(Pe){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ke="".concat(Me),tt=ke.match(/^(.*)\%$/);return tt?Pe*(parseFloat(tt[1])/100):parseFloat(ke)}function Rn(Pe,Me){var ke=Me||[],tt=(0,ze.Z)(ke,2),wt=tt[0],qt=tt[1];return[Nr(Pe.width,wt),Nr(Pe.height,qt)]}function nt(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Pe[0],Pe[1]]}function dt(Pe,Me){var ke=Me[0],tt=Me[1],wt,qt;return ke==="t"?qt=Pe.y:ke==="b"?qt=Pe.y+Pe.height:qt=Pe.y+Pe.height/2,tt==="l"?wt=Pe.x:tt==="r"?wt=Pe.x+Pe.width:wt=Pe.x+Pe.width/2,{x:wt,y:qt}}function _e(Pe,Me){var ke={t:"b",b:"t",l:"r",r:"l"};return Pe.map(function(tt,wt){return wt===Me?ke[tt]||"c":tt}).join("")}function Zt(Pe,Me,ke,tt,wt,qt,an){var Kn=le.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:wt[tt]||{}}),aa=(0,ze.Z)(Kn,2),Qn=aa[0],xa=aa[1],Xn=le.useRef(0),Ba=le.useMemo(function(){return Me?On(Me):[]},[Me]),Pa=le.useRef({}),qa=function(){Pa.current={}};Pe||qa();var Fr=ea(function(){if(Me&&ke&&Pe){let ba=function(rr,ya){var fr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Si,pr=io.x+rr,to=io.y+ya,Tr=pr+So,jo=to+si,Wo=Math.max(pr,fr.left),ur=Math.max(to,fr.top),di=Math.min(Tr,fr.right),Fn=Math.min(jo,fr.bottom);return Math.max(0,(di-Wo)*(Fn-ur))},Ya=function(){bs=io.y+Fo,$s=bs+si,Ys=io.x+pi,Qs=Ys+So};var Cr,er,Ma=Me,Zo=Ma.ownerDocument,yo=An(Ma),zo=yo.getComputedStyle(Ma),qo=zo.width,Ni=zo.height,Ao=zo.position,jr=Ma.style.left,_o=Ma.style.top,ui=Ma.style.right,Do=Ma.style.bottom,Or=(0,He.Z)((0,He.Z)({},wt[tt]),qt),ho=Zo.createElement("div");(Cr=Ma.parentElement)===null||Cr===void 0||Cr.appendChild(ho),ho.style.left="".concat(Ma.offsetLeft,"px"),ho.style.top="".concat(Ma.offsetTop,"px"),ho.style.position=Ao,ho.style.height="".concat(Ma.offsetHeight,"px"),ho.style.width="".concat(Ma.offsetWidth,"px"),Ma.style.left="0",Ma.style.top="0",Ma.style.right="auto",Ma.style.bottom="auto";var Sr;if(Array.isArray(ke))Sr={x:ke[0],y:ke[1],width:0,height:0};else{var hi=ke.getBoundingClientRect();Sr={x:hi.x,y:hi.y,width:hi.width,height:hi.height}}var io=Ma.getBoundingClientRect(),Ci=Zo.documentElement,Ji=Ci.clientWidth,Bi=Ci.clientHeight,xl=Ci.scrollWidth,El=Ci.scrollHeight,lo=Ci.scrollTop,vl=Ci.scrollLeft,si=io.height,So=io.width,Ho=Sr.height,Xi=Sr.width,Rl={left:0,top:0,right:Ji,bottom:Bi},es={left:-vl,top:-lo,right:xl-vl,bottom:El-lo},Vi=Or.htmlRegion,ci="visible",sl="visibleFirst";Vi!=="scroll"&&Vi!==sl&&(Vi=ci);var Di=Vi===sl,bo=Ja(es,Ba),dr=Ja(Rl,Ba),Si=Vi===ci?dr:bo,hl=Di?dr:Si;Ma.style.left="auto",Ma.style.top="auto",Ma.style.right="0",Ma.style.bottom="0";var ts=Ma.getBoundingClientRect();Ma.style.left=jr,Ma.style.top=_o,Ma.style.right=ui,Ma.style.bottom=Do,(er=Ma.parentElement)===null||er===void 0||er.removeChild(ho);var ps=bn(Math.round(So/parseFloat(qo)*1e3)/1e3),zl=bn(Math.round(si/parseFloat(Ni)*1e3)/1e3);if(ps===0||zl===0||ot(ke)&&!fi(ke))return;var Ws=Or.offset,fd=Or.targetOffset,ns=Rn(io,Ws),Jd=(0,ze.Z)(ns,2),Hl=Jd[0],as=Jd[1],md=Rn(Sr,fd),ss=(0,ze.Z)(md,2),kd=ss[0],Xd=ss[1];Sr.x-=kd,Sr.y-=Xd;var vd=Or.points||[],Fl=(0,ze.Z)(vd,2),Vs=Fl[0],qd=Fl[1],Bs=nt(qd),wl=nt(Vs),hd=dt(Sr,Bs),Us=dt(io,wl),Ps=(0,He.Z)({},Or),pi=hd.x-Us.x+Hl,Fo=hd.y-Us.y+as,Gl=ba(pi,Fo),ys=ba(pi,Fo,dr),Sd=dt(Sr,["t","l"]),Rd=dt(io,["t","l"]),pd=dt(Sr,["b","r"]),rs=dt(io,["b","r"]),Pd=Or.overflow||{},Fd=Pd.adjustX,Ds=Pd.adjustY,Od=Pd.shiftX,yd=Pd.shiftY,Td=function(ya){return typeof ya=="boolean"?ya:ya>=0},bs,$s,Ys,Qs;Ya();var bd=Td(Ds),Id=wl[0]===Bs[0];if(bd&&wl[0]==="t"&&($s>hl.bottom||Pa.current.bt)){var ds=Fo;Id?ds-=si-Ho:ds=Sd.y-rs.y-as;var Kl=ba(pi,ds),Ol=ba(pi,ds,dr);Kl>Gl||Kl===Gl&&(!Di||Ol>=ys)?(Pa.current.bt=!0,Fo=ds,as=-as,Ps.points=[_e(wl,0),_e(Bs,0)]):Pa.current.bt=!1}if(bd&&wl[0]==="b"&&(bs<hl.top||Pa.current.tb)){var Js=Fo;Id?Js+=si-Ho:Js=pd.y-Rd.y-as;var se=ba(pi,Js),ce=ba(pi,Js,dr);se>Gl||se===Gl&&(!Di||ce>=ys)?(Pa.current.tb=!0,Fo=Js,as=-as,Ps.points=[_e(wl,0),_e(Bs,0)]):Pa.current.tb=!1}var he=Td(Fd),ye=wl[1]===Bs[1];if(he&&wl[1]==="l"&&(Qs>hl.right||Pa.current.rl)){var Ae=pi;ye?Ae-=So-Xi:Ae=Sd.x-rs.x-Hl;var Re=ba(Ae,Fo),$e=ba(Ae,Fo,dr);Re>Gl||Re===Gl&&(!Di||$e>=ys)?(Pa.current.rl=!0,pi=Ae,Hl=-Hl,Ps.points=[_e(wl,1),_e(Bs,1)]):Pa.current.rl=!1}if(he&&wl[1]==="r"&&(Ys<hl.left||Pa.current.lr)){var Xe=pi;ye?Xe+=So-Xi:Xe=pd.x-Rd.x-Hl;var Je=ba(Xe,Fo),mt=ba(Xe,Fo,dr);Je>Gl||Je===Gl&&(!Di||mt>=ys)?(Pa.current.lr=!0,pi=Xe,Hl=-Hl,Ps.points=[_e(wl,1),_e(Bs,1)]):Pa.current.lr=!1}Ya();var Bt=Od===!0?0:Od;typeof Bt=="number"&&(Ys<dr.left&&(pi-=Ys-dr.left-Hl,Sr.x+Xi<dr.left+Bt&&(pi+=Sr.x-dr.left+Xi-Bt)),Qs>dr.right&&(pi-=Qs-dr.right-Hl,Sr.x>dr.right-Bt&&(pi+=Sr.x-dr.right+Bt)));var pt=yd===!0?0:yd;typeof pt=="number"&&(bs<dr.top&&(Fo-=bs-dr.top-as,Sr.y+Ho<dr.top+pt&&(Fo+=Sr.y-dr.top+Ho-pt)),$s>dr.bottom&&(Fo-=$s-dr.bottom-as,Sr.y>dr.bottom-pt&&(Fo+=Sr.y-dr.bottom+pt)));var $t=io.x+pi,Yt=$t+So,en=io.y+Fo,Ln=en+si,mn=Sr.x,kn=mn+Xi,Pn=Sr.y,Gn=Pn+Ho,fa=Math.max($t,mn),Ea=Math.min(Yt,kn),ua=(fa+Ea)/2,Ua=ua-$t,sr=Math.max(en,Pn),_n=Math.min(Ln,Gn),sa=(sr+_n)/2,Vn=sa-en;an==null||an(Me,Ps);var zn=ts.right-io.x-(pi+io.width),da=ts.bottom-io.y-(Fo+io.height);xa({ready:!0,offsetX:pi/ps,offsetY:Fo/zl,offsetR:zn/ps,offsetB:da/zl,arrowX:Ua/ps,arrowY:Vn/zl,scaleX:ps,scaleY:zl,align:Ps})}}),Ar=function(){Xn.current+=1;var er=Xn.current;Promise.resolve().then(function(){Xn.current===er&&Fr()})},Kr=function(){xa(function(er){return(0,He.Z)((0,He.Z)({},er),{},{ready:!1})})};return Va(Kr,[tt]),Va(function(){Pe||Kr()},[Pe]),[Qn.ready,Qn.offsetX,Qn.offsetY,Qn.offsetR,Qn.offsetB,Qn.arrowX,Qn.arrowY,Qn.scaleX,Qn.scaleY,Qn.align,Ar]}function hn(Pe,Me,ke,tt,wt){Va(function(){if(Pe&&Me&&ke){let Xn=function(){tt(),wt()};var qt=Me,an=ke,Kn=On(qt),aa=On(an),Qn=An(an),xa=new Set([Qn].concat((0,st.Z)(Kn),(0,st.Z)(aa)));return xa.forEach(function(Ba){Ba.addEventListener("scroll",Xn,{passive:!0})}),Qn.addEventListener("resize",Xn,{passive:!0}),tt(),function(){xa.forEach(function(Ba){Ba.removeEventListener("scroll",Xn),Qn.removeEventListener("resize",Xn)})}}},[Pe,Me,ke])}function Hn(Pe){var Me=React.useRef(!1),ke=React.useState(Pe),tt=_slicedToArray(ke,2),wt=tt[0],qt=tt[1];React.useEffect(function(){return Me.current=!1,function(){Me.current=!0}},[]);function an(Kn,aa){aa&&Me.current||qt(Kn)}return[wt,an]}function La(Pe){return Pe!==void 0}function Jn(Pe,Me){var ke=Me||{},tt=ke.defaultValue,wt=ke.value,qt=ke.onChange,an=ke.postState,Kn=useState(function(){return La(wt)?wt:La(tt)?typeof tt=="function"?tt():tt:typeof Pe=="function"?Pe():Pe}),aa=_slicedToArray(Kn,2),Qn=aa[0],xa=aa[1],Xn=wt!==void 0?wt:Qn,Ba=an?an(Xn):Xn,Pa=useEvent(qt),qa=useState([Xn]),Fr=_slicedToArray(qa,2),Ar=Fr[0],Kr=Fr[1];useLayoutUpdateEffect(function(){var er=Ar[0];Qn!==er&&Pa(Qn,er)},[Ar]),useLayoutUpdateEffect(function(){La(wt)||xa(wt)},[wt]);var Cr=useEvent(function(er,Ma){xa(er,Ma),Kr([Xn],Ma)});return[Ba,Cr]}var Nn=te(95845);function va(Pe,Me,ke){var tt=le.useRef({});return(!("value"in tt.current)||ke(tt.current.condition,Me))&&(tt.current.value=Pe(),tt.current.condition=Me),tt.current.value}function fo(Pe,Me){typeof Pe=="function"?Pe(Me):(0,ae.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Me)}function Cn(){for(var Pe=arguments.length,Me=new Array(Pe),ke=0;ke<Pe;ke++)Me[ke]=arguments[ke];var tt=Me.filter(function(wt){return wt});return tt.length<=1?tt[0]:function(wt){Me.forEach(function(qt){fo(qt,wt)})}}function $r(){for(var Pe=arguments.length,Me=new Array(Pe),ke=0;ke<Pe;ke++)Me[ke]=arguments[ke];return va(function(){return Cn.apply(void 0,Me)},Me,function(tt,wt){return tt.length!==wt.length||tt.every(function(qt,an){return qt!==wt[an]})})}function Qo(Pe){var Me,ke,tt=(0,Nn.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof tt=="function"&&!((Me=tt.prototype)!==null&&Me!==void 0&&Me.render)||typeof Pe=="function"&&!((ke=Pe.prototype)!==null&&ke!==void 0&&ke.render))}function Qi(Pe){return!isValidElement(Pe)||isFragment(Pe)?!1:Qo(Pe)}function Jo(Pe,Me,ke,tt){if(!Me.length)return ke;var wt=_toArray(Me),qt=wt[0],an=wt.slice(1),Kn;return!Pe&&typeof qt=="number"?Kn=[]:Array.isArray(Pe)?Kn=_toConsumableArray(Pe):Kn=_objectSpread({},Pe),tt&&ke===void 0&&an.length===1?delete Kn[qt][an[0]]:Kn[qt]=Jo(Kn[qt],an,ke,tt),Kn}function wo(Pe,Me,ke){var tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Me.length&&tt&&ke===void 0&&!get(Pe,Me.slice(0,-1))?Pe:Jo(Pe,Me,ke,tt)}function gl(Pe){return _typeof(Pe)==="object"&&Pe!==null&&Object.getPrototypeOf(Pe)===Object.prototype}function br(Pe){return Array.isArray(Pe)?[]:{}}var Pl=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function ol(){for(var Pe=arguments.length,Me=new Array(Pe),ke=0;ke<Pe;ke++)Me[ke]=arguments[ke];var tt=br(Me[0]);return Me.forEach(function(wt){function qt(an,Kn){var aa=new Set(Kn),Qn=get(wt,an),xa=Array.isArray(Qn);if(xa||gl(Qn)){if(!aa.has(Qn)){aa.add(Qn);var Xn=get(tt,an);xa?tt=wo(tt,an,[]):(!Xn||_typeof(Xn)!=="object")&&(tt=wo(tt,an,br(Qn))),Pl(Qn).forEach(function(Ba){qt([].concat(_toConsumableArray(an),[Ba]),aa)})}}else tt=wo(tt,an,Qn)}qt([])}),tt}var Ii={},mi=[],tl=function(Me){mi.push(Me)};function fl(Pe,Me){if(0)var ke}function Es(Pe,Me){if(0)var ke}function pn(){Ii={}}function Os(Pe,Me,ke){!Me&&!Ii[ke]&&(Pe(!1,ke),Ii[ke]=!0)}function ml(Pe,Me){Os(fl,Pe,Me)}function mo(Pe,Me){Os(Es,Pe,Me)}ml.preMessage=tl,ml.resetWarned=pn,ml.noteOnce=mo;var Il=null,Zn=function(Me){return+setTimeout(Me,16)},Aa=function(Me){return clearTimeout(Me)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Zn=function(Me){return window.requestAnimationFrame(Me)},Aa=function(Me){return window.cancelAnimationFrame(Me)});var vr=0,Na=new Map;function Lo(Pe){Na.delete(Pe)}var Xo=function(Me){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;vr+=1;var tt=vr;function wt(qt){if(qt===0)Lo(tt),Me();else{var an=Zn(function(){wt(qt-1)});Na.set(tt,an)}}return wt(ke),tt};Xo.cancel=function(Pe){var Me=Na.get(Pe);return Lo(Me),Aa(Me)};var Ai=Xo;function ji(Pe,Me,ke,tt,wt,qt,an,Kn){var aa=le.useRef(Pe),Qn=le.useRef(!1);aa.current!==Pe&&(Qn.current=!0,aa.current=Pe),le.useEffect(function(){var xa=Ai(function(){Qn.current=!1});return function(){Ai.cancel(xa)}},[Pe]),le.useEffect(function(){if(Me&&tt&&(!wt||qt)){var xa=function(){var Ao=!1,jr=function(Do){var Or=Do.target;Ao=an(Or)},_o=function(Do){var Or=Do.target;!Qn.current&&aa.current&&!Ao&&!an(Or)&&Kn(!1)};return[jr,_o]},Xn=xa(),Ba=(0,ze.Z)(Xn,2),Pa=Ba[0],qa=Ba[1],Fr=xa(),Ar=(0,ze.Z)(Fr,2),Kr=Ar[0],Cr=Ar[1],er=An(tt);er.addEventListener("mousedown",Pa,!0),er.addEventListener("click",qa,!0),er.addEventListener("contextmenu",qa,!0);var Ma=_t(ke);if(Ma&&(Ma.addEventListener("mousedown",Kr,!0),Ma.addEventListener("click",Cr,!0),Ma.addEventListener("contextmenu",Cr,!0)),0)var Zo,yo,zo,qo;return function(){er.removeEventListener("mousedown",Pa,!0),er.removeEventListener("click",qa,!0),er.removeEventListener("contextmenu",qa,!0),Ma&&(Ma.removeEventListener("mousedown",Kr,!0),Ma.removeEventListener("click",Cr,!0),Ma.removeEventListener("contextmenu",Cr,!0))}}},[Me,ke,tt,wt,qt])}function il(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function fs(Pe){return il(Pe)?Pe:Pe instanceof le.Component?et.findDOMNode(Pe):null}function Zi(Pe,Me){var ke={};return ke[Pe.toLowerCase()]=Me.toLowerCase(),ke["Webkit".concat(Pe)]="webkit".concat(Me),ke["Moz".concat(Pe)]="moz".concat(Me),ke["ms".concat(Pe)]="MS".concat(Me),ke["O".concat(Pe)]="o".concat(Me.toLowerCase()),ke}function Ts(Pe,Me){var ke={animationend:Zi("Animation","AnimationEnd"),transitionend:Zi("Transition","TransitionEnd")};return Pe&&("AnimationEvent"in Me||delete ke.animationend.animation,"TransitionEvent"in Me||delete ke.transitionend.transition),ke}var dd=Ts(je(),typeof window!="undefined"?window:{}),Ul={};if(je()){var ms=document.createElement("div");Ul=ms.style}var is={};function vs(Pe){if(is[Pe])return is[Pe];var Me=dd[Pe];if(Me)for(var ke=Object.keys(Me),tt=ke.length,wt=0;wt<tt;wt+=1){var qt=ke[wt];if(Object.prototype.hasOwnProperty.call(Me,qt)&&qt in Ul)return is[Pe]=Me[qt],is[Pe]}return""}var Is=vs("animationend"),$l=vs("transitionend"),hs=!!(Is&&$l),Yl=Is||"animationend",Ss=$l||"transitionend";function yt(Pe,Me){if(!Pe)return null;if((0,ae.Z)(Pe)==="object"){var ke=Me.replace(/-\w/g,function(tt){return tt[1].toUpperCase()});return Pe[ke]}return"".concat(Pe,"-").concat(Me)}var At="none",Ut="appear",Be="enter",zt="leave",vn="none",Sn="prepare",Nt="start",Gt="active",Rt="end";function yn(Pe){var Me=le.useRef(!1),ke=le.useState(Pe),tt=(0,ze.Z)(ke,2),wt=tt[0],qt=tt[1];le.useEffect(function(){return Me.current=!1,function(){Me.current=!0}},[]);function an(Kn,aa){aa&&Me.current||qt(Kn)}return[wt,an]}var Wn=function(Me){return+setTimeout(Me,16)},la=function(Me){return clearTimeout(Me)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Wn=function(Me){return window.requestAnimationFrame(Me)},la=function(Me){return window.cancelAnimationFrame(Me)});var ta=0,pa=new Map;function Ha(Pe){pa.delete(Pe)}var sn=function(Me){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ta+=1;var tt=ta;function wt(qt){if(qt===0)Ha(tt),Me();else{var an=Wn(function(){wt(qt-1)});pa.set(tt,an)}}return wt(ke),tt};sn.cancel=function(Pe){var Me=pa.get(Pe);return Ha(Me),la(Me)};var xt=sn,rn=function(){var Pe=le.useRef(null);function Me(){xt.cancel(Pe.current)}function ke(tt){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Me();var qt=xt(function(){wt<=1?tt({isCanceled:function(){return qt!==Pe.current}}):ke(tt,wt-1)});Pe.current=qt}return le.useEffect(function(){return function(){Me()}},[]),[ke,Me]},un=je()?le.useLayoutEffect:le.useEffect,jn=un,Sa=[Sn,Nt,Gt,Rt],Oa=!1,ar=!0;function Ka(Pe){return Pe===Gt||Pe===Rt}var Xa=function(Pe,Me){var ke=yn(vn),tt=(0,ze.Z)(ke,2),wt=tt[0],qt=tt[1],an=rn(),Kn=(0,ze.Z)(an,2),aa=Kn[0],Qn=Kn[1];function xa(){qt(Sn,!0)}return jn(function(){if(wt!==vn&&wt!==Rt){var Xn=Sa.indexOf(wt),Ba=Sa[Xn+1],Pa=Me(wt);Pa===Oa?qt(Ba,!0):aa(function(qa){function Fr(){qa.isCanceled()||qt(Ba,!0)}Pa===!0?Fr():Promise.resolve(Pa).then(Fr)})}},[Pe,wt]),le.useEffect(function(){return function(){Qn()}},[]),[xa,wt]},gr=function(Pe){var Me=(0,le.useRef)(),ke=(0,le.useRef)(Pe);ke.current=Pe;var tt=le.useCallback(function(an){ke.current(an)},[]);function wt(an){an&&(an.removeEventListener(Ss,tt),an.removeEventListener(Yl,tt))}function qt(an){Me.current&&Me.current!==an&&wt(Me.current),an&&an!==Me.current&&(an.addEventListener(Ss,tt),an.addEventListener(Yl,tt),Me.current=an)}return le.useEffect(function(){return function(){wt(Me.current)}},[]),[qt,wt]};function Wa(Pe,Me,ke,tt){var wt=tt.motionEnter,qt=wt===void 0?!0:wt,an=tt.motionAppear,Kn=an===void 0?!0:an,aa=tt.motionLeave,Qn=aa===void 0?!0:aa,xa=tt.motionDeadline,Xn=tt.motionLeaveImmediately,Ba=tt.onAppearPrepare,Pa=tt.onEnterPrepare,qa=tt.onLeavePrepare,Fr=tt.onAppearStart,Ar=tt.onEnterStart,Kr=tt.onLeaveStart,Cr=tt.onAppearActive,er=tt.onEnterActive,Ma=tt.onLeaveActive,Zo=tt.onAppearEnd,yo=tt.onEnterEnd,zo=tt.onLeaveEnd,qo=tt.onVisibleChanged,Ni=yn(),Ao=(0,ze.Z)(Ni,2),jr=Ao[0],_o=Ao[1],ui=yn(At),Do=(0,ze.Z)(ui,2),Or=Do[0],ho=Do[1],Sr=yn(null),hi=(0,ze.Z)(Sr,2),io=hi[0],Ci=hi[1],Ji=(0,le.useRef)(!1),Bi=(0,le.useRef)(null);function xl(){return ke()}var El=(0,le.useRef)(!1);function lo(bo){var dr=xl();if(!(bo&&!bo.deadline&&bo.target!==dr)){var Si=El.current,hl;Or===Ut&&Si?hl=Zo==null?void 0:Zo(dr,bo):Or===Be&&Si?hl=yo==null?void 0:yo(dr,bo):Or===zt&&Si&&(hl=zo==null?void 0:zo(dr,bo)),Or!==At&&Si&&hl!==!1&&(ho(At,!0),Ci(null,!0))}}var vl=gr(lo),si=(0,ze.Z)(vl,1),So=si[0],Ho=le.useMemo(function(){var bo,dr,Si;switch(Or){case Ut:return bo={},(0,de.Z)(bo,Sn,Ba),(0,de.Z)(bo,Nt,Fr),(0,de.Z)(bo,Gt,Cr),bo;case Be:return dr={},(0,de.Z)(dr,Sn,Pa),(0,de.Z)(dr,Nt,Ar),(0,de.Z)(dr,Gt,er),dr;case zt:return Si={},(0,de.Z)(Si,Sn,qa),(0,de.Z)(Si,Nt,Kr),(0,de.Z)(Si,Gt,Ma),Si;default:return{}}},[Or]),Xi=Xa(Or,function(bo){if(bo===Sn){var dr=Ho[Sn];return dr?dr(xl()):Oa}if(Vi in Ho){var Si;Ci(((Si=Ho[Vi])===null||Si===void 0?void 0:Si.call(Ho,xl(),null))||null)}return Vi===Gt&&(So(xl()),xa>0&&(clearTimeout(Bi.current),Bi.current=setTimeout(function(){lo({deadline:!0})},xa))),ar}),Rl=(0,ze.Z)(Xi,2),es=Rl[0],Vi=Rl[1],ci=Ka(Vi);El.current=ci,jn(function(){_o(Me);var bo=Ji.current;if(Ji.current=!0,!!Pe){var dr;!bo&&Me&&Kn&&(dr=Ut),bo&&Me&&qt&&(dr=Be),(bo&&!Me&&Qn||!bo&&Xn&&!Me&&Qn)&&(dr=zt),dr&&(ho(dr),es())}},[Me]),(0,le.useEffect)(function(){(Or===Ut&&!Kn||Or===Be&&!qt||Or===zt&&!Qn)&&ho(At)},[Kn,qt,Qn]),(0,le.useEffect)(function(){return function(){Ji.current=!1,clearTimeout(Bi.current)}},[]);var sl=le.useRef(!1);(0,le.useEffect)(function(){jr&&(sl.current=!0),jr!==void 0&&Or===At&&((sl.current||jr)&&(qo==null||qo(jr)),sl.current=!0)},[jr,Or]);var Di=io;return Ho[Sn]&&Vi===Nt&&(Di=(0,He.Z)({transition:"none"},Di)),[Or,Vi,Di,jr!=null?jr:Me]}var Yr=te(15671),Gr=te(43144),vo=te(60136),_r=te(51630),Bo=function(Pe){(0,vo.Z)(ke,Pe);var Me=(0,_r.Z)(ke);function ke(){return(0,Yr.Z)(this,ke),Me.apply(this,arguments)}return(0,Gr.Z)(ke,[{key:"render",value:function(){return this.props.children}}]),ke}(le.Component),Ro=Bo;function eo(Pe){var Me=Pe;(0,ae.Z)(Pe)==="object"&&(Me=Pe.transitionSupport);function ke(wt){return!!(wt.motionName&&Me)}var tt=le.forwardRef(function(wt,qt){var an=wt.visible,Kn=an===void 0?!0:an,aa=wt.removeOnLeave,Qn=aa===void 0?!0:aa,xa=wt.forceRender,Xn=wt.children,Ba=wt.motionName,Pa=wt.leavedClassName,qa=wt.eventProps,Fr=ke(wt),Ar=(0,le.useRef)(),Kr=(0,le.useRef)();function Cr(){try{return Ar.current instanceof HTMLElement?Ar.current:fs(Kr.current)}catch(Sr){return null}}var er=Wa(Fr,Kn,Cr,wt),Ma=(0,ze.Z)(er,4),Zo=Ma[0],yo=Ma[1],zo=Ma[2],qo=Ma[3],Ni=le.useRef(qo);qo&&(Ni.current=!0);var Ao=le.useCallback(function(Sr){Ar.current=Sr,fe(qt,Sr)},[qt]),jr,_o=(0,He.Z)((0,He.Z)({},qa),{},{visible:Kn});if(!Xn)jr=null;else if(Zo===At||!ke(wt))qo?jr=Xn((0,He.Z)({},_o),Ao):!Qn&&Ni.current&&Pa?jr=Xn((0,He.Z)((0,He.Z)({},_o),{},{className:Pa}),Ao):xa||!Qn&&!Pa?jr=Xn((0,He.Z)((0,He.Z)({},_o),{},{style:{display:"none"}}),Ao):jr=null;else{var ui,Do;yo===Sn?Do="prepare":Ka(yo)?Do="active":yo===Nt&&(Do="start"),jr=Xn((0,He.Z)((0,He.Z)({},_o),{},{className:Fe()(yt(Ba,Zo),(ui={},(0,de.Z)(ui,yt(Ba,"".concat(Zo,"-").concat(Do)),Do),(0,de.Z)(ui,Ba,typeof Ba=="string"),ui)),style:zo}),Ao)}if(le.isValidElement(jr)&&be(jr)){var Or=jr,ho=Or.ref;ho||(jr=le.cloneElement(jr,{ref:Ao}))}return le.createElement(Ro,{ref:Kr},jr)});return tt.displayName="CSSMotion",tt}var vi=eo(hs),ll=te(97326),Dl="add",yl="keep",nl="remove",ii="removed";function Ql(Pe){var Me;return Pe&&(0,ae.Z)(Pe)==="object"&&"key"in Pe?Me=Pe:Me={key:Pe},(0,He.Z)((0,He.Z)({},Me),{},{key:String(Me.key)})}function Ml(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Pe.map(Ql)}function Jl(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=[],tt=0,wt=Me.length,qt=Ml(Pe),an=Ml(Me);qt.forEach(function(Qn){for(var xa=!1,Xn=tt;Xn<wt;Xn+=1){var Ba=an[Xn];if(Ba.key===Qn.key){tt<Xn&&(ke=ke.concat(an.slice(tt,Xn).map(function(Pa){return(0,He.Z)((0,He.Z)({},Pa),{},{status:Dl})})),tt=Xn),ke.push((0,He.Z)((0,He.Z)({},Ba),{},{status:yl})),tt+=1,xa=!0;break}}xa||ke.push((0,He.Z)((0,He.Z)({},Qn),{},{status:nl}))}),tt<wt&&(ke=ke.concat(an.slice(tt).map(function(Qn){return(0,He.Z)((0,He.Z)({},Qn),{},{status:Dl})})));var Kn={};ke.forEach(function(Qn){var xa=Qn.key;Kn[xa]=(Kn[xa]||0)+1});var aa=Object.keys(Kn).filter(function(Qn){return Kn[Qn]>1});return aa.forEach(function(Qn){ke=ke.filter(function(xa){var Xn=xa.key,Ba=xa.status;return Xn!==Qn||Ba!==nl}),ke.forEach(function(xa){xa.key===Qn&&(xa.status=yl)})}),ke}var Zs=["component","children","onVisibleChanged","onAllRemoved"],bl=["status"],zs=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function kl(Pe){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vi,ke=function(tt){(0,vo.Z)(qt,tt);var wt=(0,_r.Z)(qt);function qt(){var an;(0,Yr.Z)(this,qt);for(var Kn=arguments.length,aa=new Array(Kn),Qn=0;Qn<Kn;Qn++)aa[Qn]=arguments[Qn];return an=wt.call.apply(wt,[this].concat(aa)),(0,de.Z)((0,ll.Z)(an),"state",{keyEntities:[]}),(0,de.Z)((0,ll.Z)(an),"removeKey",function(xa){var Xn=an.state.keyEntities,Ba=Xn.map(function(Pa){return Pa.key!==xa?Pa:(0,He.Z)((0,He.Z)({},Pa),{},{status:ii})});return an.setState({keyEntities:Ba}),Ba.filter(function(Pa){var qa=Pa.status;return qa!==ii}).length}),an}return(0,Gr.Z)(qt,[{key:"render",value:function(){var Kn=this,aa=this.state.keyEntities,Qn=this.props,xa=Qn.component,Xn=Qn.children,Ba=Qn.onVisibleChanged,Pa=Qn.onAllRemoved,qa=(0,Ke.Z)(Qn,Zs),Fr=xa||le.Fragment,Ar={};return zs.forEach(function(Kr){Ar[Kr]=qa[Kr],delete qa[Kr]}),delete qa.keys,le.createElement(Fr,qa,aa.map(function(Kr){var Cr=Kr.status,er=(0,Ke.Z)(Kr,bl),Ma=Cr===Dl||Cr===yl;return le.createElement(Me,(0,Ze.Z)({},Ar,{key:er.key,visible:Ma,eventProps:er,onVisibleChanged:function(yo){if(Ba==null||Ba(yo,{key:er.key}),!yo){var zo=Kn.removeKey(er.key);zo===0&&Pa&&Pa()}}}),Xn)}))}}],[{key:"getDerivedStateFromProps",value:function(Kn,aa){var Qn=Kn.keys,xa=aa.keyEntities,Xn=Ml(Qn),Ba=Jl(xa,Xn);return{keyEntities:Ba.filter(function(Pa){var qa=xa.find(function(Fr){var Ar=Fr.key;return Pa.key===Ar});return!(qa&&qa.status===ii&&Pa.status===nl)})}}}]),qt}(le.Component);return(0,de.Z)(ke,"defaultProps",{component:"div"}),ke}var Bd=kl(hs),Cl=vi;function Hs(Pe){var Me=Pe.prefixCls,ke=Pe.align,tt=Pe.arrow,wt=Pe.arrowPos,qt=tt||{},an=qt.className,Kn=qt.content,aa=wt.x,Qn=aa===void 0?0:aa,xa=wt.y,Xn=xa===void 0?0:xa,Ba=le.useRef();if(!ke||!ke.points)return null;var Pa={position:"absolute"};if(ke.autoArrow!==!1){var qa=ke.points[0],Fr=ke.points[1],Ar=qa[0],Kr=qa[1],Cr=Fr[0],er=Fr[1];Ar===Cr||!["t","b"].includes(Ar)?Pa.top=Xn:Ar==="t"?Pa.top=0:Pa.bottom=0,Kr===er||!["l","r"].includes(Kr)?Pa.left=Qn:Kr==="l"?Pa.left=0:Pa.right=0}return le.createElement("div",{ref:Ba,className:Fe()("".concat(Me,"-arrow"),an),style:Pa},Kn)}function ls(Pe){var Me=Pe.prefixCls,ke=Pe.open,tt=Pe.zIndex,wt=Pe.mask,qt=Pe.motion;return wt?le.createElement(Cl,(0,Ze.Z)({},qt,{motionAppear:!0,visible:ke,removeOnLeave:!0}),function(an){var Kn=an.className;return le.createElement("div",{style:{zIndex:tt},className:Fe()("".concat(Me,"-mask"),Kn)})}):null}var nd=le.memo(function(Pe){var Me=Pe.children;return Me},function(Pe,Me){return Me.cache}),ni=nd,li=le.forwardRef(function(Pe,Me){var ke=Pe.popup,tt=Pe.className,wt=Pe.prefixCls,qt=Pe.style,an=Pe.target,Kn=Pe.onVisibleChanged,aa=Pe.open,Qn=Pe.keepDom,xa=Pe.fresh,Xn=Pe.onClick,Ba=Pe.mask,Pa=Pe.arrow,qa=Pe.arrowPos,Fr=Pe.align,Ar=Pe.motion,Kr=Pe.maskMotion,Cr=Pe.forceRender,er=Pe.getPopupContainer,Ma=Pe.autoDestroy,Zo=Pe.portal,yo=Pe.zIndex,zo=Pe.onMouseEnter,qo=Pe.onMouseLeave,Ni=Pe.onPointerEnter,Ao=Pe.ready,jr=Pe.offsetX,_o=Pe.offsetY,ui=Pe.offsetR,Do=Pe.offsetB,Or=Pe.onAlign,ho=Pe.onPrepare,Sr=Pe.stretch,hi=Pe.targetWidth,io=Pe.targetHeight,Ci=typeof ke=="function"?ke():ke,Ji=aa||Qn,Bi=(er==null?void 0:er.length)>0,xl=le.useState(!er||!Bi),El=(0,ze.Z)(xl,2),lo=El[0],vl=El[1];if(Va(function(){!lo&&Bi&&an&&vl(!0)},[lo,Bi,an]),!lo)return null;var si="auto",So={left:"-1000vw",top:"-1000vh",right:si,bottom:si};if(Ao||!aa){var Ho,Xi=Fr.points,Rl=Fr.dynamicInset||((Ho=Fr._experimental)===null||Ho===void 0?void 0:Ho.dynamicInset),es=Rl&&Xi[0][1]==="r",Vi=Rl&&Xi[0][0]==="b";es?(So.right=ui,So.left=si):(So.left=jr,So.right=si),Vi?(So.bottom=Do,So.top=si):(So.top=_o,So.bottom=si)}var ci={};return Sr&&(Sr.includes("height")&&io?ci.height=io:Sr.includes("minHeight")&&io&&(ci.minHeight=io),Sr.includes("width")&&hi?ci.width=hi:Sr.includes("minWidth")&&hi&&(ci.minWidth=hi)),aa||(ci.pointerEvents="none"),le.createElement(Zo,{open:Cr||Ji,getContainer:er&&function(){return er(an)},autoDestroy:Ma},le.createElement(ls,{prefixCls:wt,open:aa,zIndex:yo,mask:Ba,motion:Kr}),le.createElement(Te.Z,{onResize:Or,disabled:!aa},function(sl){return le.createElement(Cl,(0,Ze.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Cr,leavedClassName:"".concat(wt,"-hidden")},Ar,{onAppearPrepare:ho,onEnterPrepare:ho,visible:aa,onVisibleChanged:function(bo){var dr;Ar==null||(dr=Ar.onVisibleChanged)===null||dr===void 0||dr.call(Ar,bo),Kn(bo)}}),function(Di,bo){var dr=Di.className,Si=Di.style,hl=Fe()(wt,dr,tt);return le.createElement("div",{ref:Cn(sl,Me,bo),className:hl,style:(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({"--arrow-x":"".concat(qa.x||0,"px"),"--arrow-y":"".concat(qa.y||0,"px")},So),ci),Si),{},{boxSizing:"border-box",zIndex:yo},qt),onMouseEnter:zo,onMouseLeave:qo,onPointerEnter:Ni,onClick:Xn},Pa&&le.createElement(Hs,{prefixCls:wt,arrow:Pa,arrowPos:qa,align:Fr}),le.createElement(ni,{cache:!aa&&!xa},Ci))})}))}),Wi=li,ws=le.forwardRef(function(Pe,Me){var ke=Pe.children,tt=Pe.getTriggerDOMNode,wt=Qo(ke),qt=le.useCallback(function(Kn){fo(Me,tt?tt(Kn):Kn)},[tt]),an=$r(qt,ke.ref);return wt?le.cloneElement(ke,{ref:an}):ke}),Dd=ws,ai=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Xl(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ga,Me=le.forwardRef(function(ke,tt){var wt=ke.prefixCls,qt=wt===void 0?"rc-trigger-popup":wt,an=ke.children,Kn=ke.action,aa=Kn===void 0?"hover":Kn,Qn=ke.showAction,xa=ke.hideAction,Xn=ke.popupVisible,Ba=ke.defaultPopupVisible,Pa=ke.onPopupVisibleChange,qa=ke.afterPopupVisibleChange,Fr=ke.mouseEnterDelay,Ar=ke.mouseLeaveDelay,Kr=Ar===void 0?.1:Ar,Cr=ke.focusDelay,er=ke.blurDelay,Ma=ke.mask,Zo=ke.maskClosable,yo=Zo===void 0?!0:Zo,zo=ke.getPopupContainer,qo=ke.forceRender,Ni=ke.autoDestroy,Ao=ke.destroyPopupOnHide,jr=ke.popup,_o=ke.popupClassName,ui=ke.popupStyle,Do=ke.popupPlacement,Or=ke.builtinPlacements,ho=Or===void 0?{}:Or,Sr=ke.popupAlign,hi=ke.zIndex,io=ke.stretch,Ci=ke.getPopupClassNameFromAlign,Ji=ke.fresh,Bi=ke.alignPoint,xl=ke.onPopupClick,El=ke.onPopupAlign,lo=ke.arrow,vl=ke.popupMotion,si=ke.maskMotion,So=ke.popupTransitionName,Ho=ke.popupAnimation,Xi=ke.maskTransitionName,Rl=ke.maskAnimation,es=ke.className,Vi=ke.getTriggerDOMNode,ci=(0,Ke.Z)(ke,ai),sl=Ni||Ao||!1,Di=le.useState(!1),bo=(0,ze.Z)(Di,2),dr=bo[0],Si=bo[1];Va(function(){Si(Mr())},[]);var hl=le.useRef({}),ts=le.useContext(ko),ps=le.useMemo(function(){return{registerSubPopup:function(Ta,Pr){hl.current[Ta]=Pr,ts==null||ts.registerSubPopup(Ta,Pr)}}},[ts]),zl=qn(),Ws=le.useState(null),fd=(0,ze.Z)(Ws,2),ns=fd[0],Jd=fd[1],Hl=ea(function(Fn){ot(Fn)&&ns!==Fn&&Jd(Fn),ts==null||ts.registerSubPopup(zl,Fn)}),as=le.useState(null),md=(0,ze.Z)(as,2),ss=md[0],kd=md[1],Xd=ea(function(Fn){ot(Fn)&&ss!==Fn&&kd(Fn)}),vd=le.Children.only(an),Fl=(vd==null?void 0:vd.props)||{},Vs={},qd=ea(function(Fn){var Ta,Pr,so=ss;return(so==null?void 0:so.contains(Fn))||((Ta=_t(so))===null||Ta===void 0?void 0:Ta.host)===Fn||Fn===so||(ns==null?void 0:ns.contains(Fn))||((Pr=_t(ns))===null||Pr===void 0?void 0:Pr.host)===Fn||Fn===ns||Object.values(hl.current).some(function(na){return(na==null?void 0:na.contains(Fn))||Fn===na})}),Bs=Hr(qt,vl,Ho,So),wl=Hr(qt,si,Rl,Xi),hd=le.useState(Ba||!1),Us=(0,ze.Z)(hd,2),Ps=Us[0],pi=Us[1],Fo=Xn!=null?Xn:Ps,Gl=ea(function(Fn){Xn===void 0&&pi(Fn)});Va(function(){pi(Xn||!1)},[Xn]);var ys=le.useRef(Fo);ys.current=Fo;var Sd=ea(function(Fn){(0,et.flushSync)(function(){Fo!==Fn&&(Gl(Fn),Pa==null||Pa(Fn))})}),Rd=le.useRef(),pd=function(){clearTimeout(Rd.current)},rs=function(Ta){var Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;pd(),Pr===0?Sd(Ta):Rd.current=setTimeout(function(){Sd(Ta)},Pr*1e3)};le.useEffect(function(){return pd},[]);var Pd=le.useState(!1),Fd=(0,ze.Z)(Pd,2),Ds=Fd[0],Od=Fd[1];Va(function(Fn){(!Fn||Fo)&&Od(!0)},[Fo]);var yd=le.useState(null),Td=(0,ze.Z)(yd,2),bs=Td[0],$s=Td[1],Ys=le.useState([0,0]),Qs=(0,ze.Z)(Ys,2),bd=Qs[0],Id=Qs[1],ds=function(Ta){Id([Ta.clientX,Ta.clientY])},Kl=Zt(Fo,ns,Bi?bd:ss,Do,ho,Sr,El),Ol=(0,ze.Z)(Kl,11),Js=Ol[0],se=Ol[1],ce=Ol[2],he=Ol[3],ye=Ol[4],Ae=Ol[5],Re=Ol[6],$e=Ol[7],Xe=Ol[8],Je=Ol[9],mt=Ol[10],Bt=ti(dr,aa,Qn,xa),pt=(0,ze.Z)(Bt,2),$t=pt[0],Yt=pt[1],en=$t.has("click"),Ln=Yt.has("click")||Yt.has("contextMenu"),mn=ea(function(){Ds||mt()}),kn=function(){ys.current&&Bi&&Ln&&rs(!1)};hn(Fo,ss,ns,mn,kn),Va(function(){mn()},[bd,Do]),Va(function(){Fo&&!(ho!=null&&ho[Do])&&mn()},[JSON.stringify(Sr)]);var Pn=le.useMemo(function(){var Fn=bi(ho,qt,Je,Bi);return Fe()(Fn,Ci==null?void 0:Ci(Je))},[Je,Ci,ho,qt,Bi]);le.useImperativeHandle(tt,function(){return{forceAlign:mn}});var Gn=le.useState(0),fa=(0,ze.Z)(Gn,2),Ea=fa[0],ua=fa[1],Ua=le.useState(0),sr=(0,ze.Z)(Ua,2),_n=sr[0],sa=sr[1],Vn=function(){if(io&&ss){var Ta=ss.getBoundingClientRect();ua(Ta.width),sa(Ta.height)}},zn=function(){Vn(),mn()},da=function(Ta){Od(!1),mt(),qa==null||qa(Ta)},ba=function(){return new Promise(function(Ta){Vn(),$s(function(){return Ta})})};Va(function(){bs&&(mt(),bs(),$s(null))},[bs]);function Ya(Fn,Ta,Pr,so){Vs[Fn]=function(na){var wa;so==null||so(na),rs(Ta,Pr);for(var ka=arguments.length,Ca=new Array(ka>1?ka-1:0),zr=1;zr<ka;zr++)Ca[zr-1]=arguments[zr];(wa=Fl[Fn])===null||wa===void 0||wa.call.apply(wa,[Fl,na].concat(Ca))}}(en||Ln)&&(Vs.onClick=function(Fn){var Ta;ys.current&&Ln?rs(!1):!ys.current&&en&&(ds(Fn),rs(!0));for(var Pr=arguments.length,so=new Array(Pr>1?Pr-1:0),na=1;na<Pr;na++)so[na-1]=arguments[na];(Ta=Fl.onClick)===null||Ta===void 0||Ta.call.apply(Ta,[Fl,Fn].concat(so))}),ji(Fo,Ln,ss,ns,Ma,yo,qd,rs);var rr=$t.has("hover"),ya=Yt.has("hover"),fr,pr;rr&&(Ya("onMouseEnter",!0,Fr,function(Fn){ds(Fn)}),Ya("onPointerEnter",!0,Fr,function(Fn){ds(Fn)}),fr=function(){(Fo||Ds)&&rs(!0,Fr)},Bi&&(Vs.onMouseMove=function(Fn){var Ta;(Ta=Fl.onMouseMove)===null||Ta===void 0||Ta.call(Fl,Fn)})),ya&&(Ya("onMouseLeave",!1,Kr),Ya("onPointerLeave",!1,Kr),pr=function(){rs(!1,Kr)}),$t.has("focus")&&Ya("onFocus",!0,Cr),Yt.has("focus")&&Ya("onBlur",!1,er),$t.has("contextMenu")&&(Vs.onContextMenu=function(Fn){var Ta;ys.current&&Yt.has("contextMenu")?rs(!1):(ds(Fn),rs(!0)),Fn.preventDefault();for(var Pr=arguments.length,so=new Array(Pr>1?Pr-1:0),na=1;na<Pr;na++)so[na-1]=arguments[na];(Ta=Fl.onContextMenu)===null||Ta===void 0||Ta.call.apply(Ta,[Fl,Fn].concat(so))}),es&&(Vs.className=Fe()(Fl.className,es));var to=(0,He.Z)((0,He.Z)({},Fl),Vs),Tr={},jo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];jo.forEach(function(Fn){ci[Fn]&&(Tr[Fn]=function(){for(var Ta,Pr=arguments.length,so=new Array(Pr),na=0;na<Pr;na++)so[na]=arguments[na];(Ta=to[Fn])===null||Ta===void 0||Ta.call.apply(Ta,[to].concat(so)),ci[Fn].apply(ci,so)})});var Wo=le.cloneElement(vd,(0,He.Z)((0,He.Z)({},to),Tr)),ur={x:Ae,y:Re},di=lo?(0,He.Z)({},lo!==!0?lo:{}):null;return le.createElement(le.Fragment,null,le.createElement(Te.Z,{disabled:!Fo,ref:Xd,onResize:zn},le.createElement(Dd,{getTriggerDOMNode:Vi},Wo)),le.createElement(ko.Provider,{value:ps},le.createElement(Wi,{portal:Pe,ref:Hl,prefixCls:qt,popup:jr,className:Fe()(_o,Pn),style:ui,target:ss,onMouseEnter:fr,onMouseLeave:pr,onPointerEnter:fr,zIndex:hi,open:Fo,keepDom:Ds,fresh:Ji,onClick:xl,mask:Ma,motion:Bs,maskMotion:wl,onVisibleChanged:da,onPrepare:ba,forceRender:qo,autoDestroy:sl,getPopupContainer:zo,align:Je,arrow:di,arrowPos:ur,ready:Js,offsetX:se,offsetY:ce,offsetR:he,offsetB:ye,onAlign:mn,stretch:io,targetWidth:Ea/$e,targetHeight:_n/Xe})))});return Me}var Zl=Xl(ga),lr={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Me){var ke=Me.keyCode;if(Me.altKey&&!Me.ctrlKey||Me.metaKey||ke>=lr.F1&&ke<=lr.F12)return!1;switch(ke){case lr.ALT:case lr.CAPS_LOCK:case lr.CONTEXT_MENU:case lr.CTRL:case lr.DOWN:case lr.END:case lr.ESC:case lr.HOME:case lr.INSERT:case lr.LEFT:case lr.MAC_FF_META:case lr.META:case lr.NUMLOCK:case lr.NUM_CENTER:case lr.PAGE_DOWN:case lr.PAGE_UP:case lr.PAUSE:case lr.PRINT_SCREEN:case lr.RIGHT:case lr.SHIFT:case lr.UP:case lr.WIN_KEY:case lr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Me){if(Me>=lr.ZERO&&Me<=lr.NINE||Me>=lr.NUM_ZERO&&Me<=lr.NUM_MULTIPLY||Me>=lr.A&&Me<=lr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Me===0)return!0;switch(Me){case lr.SPACE:case lr.QUESTION_MARK:case lr.NUM_PLUS:case lr.NUM_MINUS:case lr.NUM_PERIOD:case lr.NUM_DIVISION:case lr.SEMICOLON:case lr.DASH:case lr.EQUALS:case lr.COMMA:case lr.PERIOD:case lr.SLASH:case lr.APOSTROPHE:case lr.SINGLE_QUOTE:case lr.OPEN_SQUARE_BRACKET:case lr.BACKSLASH:case lr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ql=lr,_l=ql.ESC,Gs=ql.TAB;function Ls(Pe){var Me=Pe.visible,ke=Pe.triggerRef,tt=Pe.onVisibleChange,wt=Pe.autoFocus,qt=Pe.overlayRef,an=le.useRef(!1),Kn=function(){if(Me){var Xn,Ba;(Xn=ke.current)===null||Xn===void 0||(Ba=Xn.focus)===null||Ba===void 0||Ba.call(Xn),tt==null||tt(!1)}},aa=function(){var Xn;return(Xn=qt.current)!==null&&Xn!==void 0&&Xn.focus?(qt.current.focus(),an.current=!0,!0):!1},Qn=function(Xn){switch(Xn.keyCode){case _l:Kn();break;case Gs:{var Ba=!1;an.current||(Ba=aa()),Ba?Xn.preventDefault():Kn();break}}};le.useEffect(function(){return Me?(window.addEventListener("keydown",Qn),wt&&xt(aa,3),function(){window.removeEventListener("keydown",Qn),an.current=!1}):function(){an.current=!1}},[Me])}var Ks=(0,le.forwardRef)(function(Pe,Me){var ke=Pe.overlay,tt=Pe.arrow,wt=Pe.prefixCls,qt=(0,le.useMemo)(function(){var Kn;return typeof ke=="function"?Kn=ke():Kn=ke,Kn},[ke]),an=Se(Me,qt==null?void 0:qt.ref);return le.createElement(le.Fragment,null,tt&&le.createElement("div",{className:"".concat(wt,"-arrow")}),le.cloneElement(qt,{ref:be(qt)?an:void 0}))}),Pu=Ks,ad={adjustX:1,adjustY:1},As=[0,0],yu={topLeft:{points:["bl","tl"],overflow:ad,offset:[0,-4],targetOffset:As},top:{points:["bc","tc"],overflow:ad,offset:[0,-4],targetOffset:As},topRight:{points:["br","tr"],overflow:ad,offset:[0,-4],targetOffset:As},bottomLeft:{points:["tl","bl"],overflow:ad,offset:[0,4],targetOffset:As},bottom:{points:["tc","bc"],overflow:ad,offset:[0,4],targetOffset:As},bottomRight:{points:["tr","br"],overflow:ad,offset:[0,4],targetOffset:As}},iu=yu,bu=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function js(Pe,Me){var ke,tt=Pe.arrow,wt=tt===void 0?!1:tt,qt=Pe.prefixCls,an=qt===void 0?"rc-dropdown":qt,Kn=Pe.transitionName,aa=Pe.animation,Qn=Pe.align,xa=Pe.placement,Xn=xa===void 0?"bottomLeft":xa,Ba=Pe.placements,Pa=Ba===void 0?iu:Ba,qa=Pe.getPopupContainer,Fr=Pe.showAction,Ar=Pe.hideAction,Kr=Pe.overlayClassName,Cr=Pe.overlayStyle,er=Pe.visible,Ma=Pe.trigger,Zo=Ma===void 0?["hover"]:Ma,yo=Pe.autoFocus,zo=Pe.overlay,qo=Pe.children,Ni=Pe.onVisibleChange,Ao=(0,Ke.Z)(Pe,bu),jr=le.useState(),_o=(0,ze.Z)(jr,2),ui=_o[0],Do=_o[1],Or="visible"in Pe?er:ui,ho=le.useRef(null),Sr=le.useRef(null),hi=le.useRef(null);le.useImperativeHandle(Me,function(){return ho.current});var io=function(So){Do(So),Ni==null||Ni(So)};Ls({visible:Or,triggerRef:hi,onVisibleChange:io,autoFocus:yo,overlayRef:Sr});var Ci=function(So){var Ho=Pe.onOverlayClick;Do(!1),Ho&&Ho(So)},Ji=function(){return le.createElement(Pu,{ref:Sr,overlay:zo,prefixCls:an,arrow:wt})},Bi=function(){return typeof zo=="function"?Ji:Ji()},xl=function(){var So=Pe.minOverlayWidthMatchTrigger,Ho=Pe.alignPoint;return"minOverlayWidthMatchTrigger"in Pe?So:!Ho},El=function(){var So=Pe.openClassName;return So!==void 0?So:"".concat(an,"-open")},lo=le.cloneElement(qo,{className:Fe()((ke=qo.props)===null||ke===void 0?void 0:ke.className,Or&&El()),ref:be(qo)?Se(hi,qo.ref):void 0}),vl=Ar;return!vl&&Zo.indexOf("contextMenu")!==-1&&(vl=["click"]),le.createElement(Zl,(0,Ze.Z)({builtinPlacements:Pa},Ao,{prefixCls:an,ref:ho,popupClassName:Fe()(Kr,(0,de.Z)({},"".concat(an,"-show-arrow"),wt)),popupStyle:Cr,action:Zo,showAction:Fr,hideAction:vl,popupPlacement:Xn,popupAlign:Qn,popupTransitionName:Kn,popupAnimation:aa,popupVisible:Or,stretch:xl()?"minWidth":"",popup:Bi(),onPopupVisibleChange:io,onPopupClick:Ci,getPopupContainer:qa}),lo)}var ud=le.forwardRef(js),cd=ud,Cu=te(60276),lu=te(5663),xu=te(10366),su=te(80636),Eu=te(8745),wu=te(96159),Yd=te(53124),du=te(68508),Md=te(76529),Lu=te(46605),gd=te(66748);const Au=null,rd=Pe=>{const{menu:Me,arrow:ke,prefixCls:tt,children:wt,trigger:qt,disabled:an,dropdownRender:Kn,getPopupContainer:aa,overlayClassName:Qn,rootClassName:xa,open:Xn,onOpenChange:Ba,visible:Pa,onVisibleChange:qa,mouseEnterDelay:Fr=.15,mouseLeaveDelay:Ar=.1,autoAdjustOverflow:Kr=!0,placement:Cr="",overlay:er,transitionName:Ma}=Pe,{getPopupContainer:Zo,getPrefixCls:yo,direction:zo}=le.useContext(Yd.E_),qo=le.useMemo(()=>{const lo=yo();return Ma!==void 0?Ma:Cr.includes("top")?`${lo}-slide-down`:`${lo}-slide-up`},[yo,Cr,Ma]),Ni=le.useMemo(()=>Cr?Cr.includes("Center")?Cr.slice(0,Cr.indexOf("Center")):Cr:zo==="rtl"?"bottomRight":"bottomLeft",[Cr,zo]),Ao=yo("dropdown",tt),[jr,_o]=(0,gd.Z)(Ao),[,ui]=(0,Lu.Z)(),Do=le.Children.only(wt),Or=(0,wu.Tm)(Do,{className:Fe()(`${Ao}-trigger`,{[`${Ao}-rtl`]:zo==="rtl"},Do.props.className),disabled:an}),ho=an?[]:qt;let Sr;ho&&ho.includes("contextMenu")&&(Sr=!0);const[hi,io]=(0,lu.Z)(!1,{value:Xn!=null?Xn:Pa}),Ci=(0,Cu.useEvent)(lo=>{Ba==null||Ba(lo),qa==null||qa(lo),io(lo)}),Ji=Fe()(Qn,xa,_o,{[`${Ao}-rtl`]:zo==="rtl"}),Bi=(0,su.Z)({arrowPointAtCenter:typeof ke=="object"&&ke.pointAtCenter,autoAdjustOverflow:Kr,offset:ui.marginXXS,arrowWidth:ke?ui.sizePopupArrow:0,borderRadius:ui.borderRadius}),xl=le.useCallback(()=>{io(!1)},[]),El=()=>{let lo;return Me!=null&&Me.items?lo=le.createElement(du.default,Object.assign({},Me)):typeof er=="function"?lo=er():lo=er,Kn&&(lo=Kn(lo)),lo=le.Children.only(typeof lo=="string"?le.createElement("span",null,lo):lo),le.createElement(Md.J,{prefixCls:`${Ao}-menu`,expandIcon:le.createElement("span",{className:`${Ao}-menu-submenu-arrow`},le.createElement(Oe.Z,{className:`${Ao}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:xl,validator:vl=>{let{mode:si}=vl}},lo)};return jr(le.createElement(cd,Object.assign({alignPoint:Sr},(0,xu.Z)(Pe,["rootClassName"]),{mouseEnterDelay:Fr,mouseLeaveDelay:Ar,visible:hi,builtinPlacements:Bi,arrow:!!ke,overlayClassName:Ji,prefixCls:Ao,getPopupContainer:aa||Zo,transitionName:qo,trigger:ho,overlay:El,placement:Ni,onVisibleChange:Ci}),Or))};function Ns(Pe){return Object.assign(Object.assign({},Pe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Nu=(0,Eu.Z)(rd,"dropdown",Pe=>Pe,Ns),Qd=Pe=>le.createElement(Nu,Object.assign({},Pe),le.createElement("span",null));rd._InternalPanelDoNotUseOrYouWillBeFired=Qd;var Ou=rd},85418:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return y}});var le=te(56153),ve=te(94184),Oe=te.n(ve),Ge=te(67294),Fe=te(25877),Ze=te(71577),de=te(53124),ze=te(93421),Ke=te(4173),He=te(66748),et=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 je=a=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=Ge.useContext(de.E_),{prefixCls:z,type:ae="default",danger:re,disabled:ne,loading:fe,onClick:Se,htmlType:Ne,children:be,className:xe,menu:pe,arrow:st,autoFocus:Qe,overlay:Ot,trigger:We,align:rt,open:bt,onOpenChange:Kt,placement:Mt,getPopupContainer:ht,href:Ft,icon:Wt=Ge.createElement(Fe.Z,null),title:nn,buttonsRender:Ve=dn=>dn,mouseEnterDelay:Pt,mouseLeaveDelay:Dt,overlayClassName:En,overlayStyle:at,destroyPopupOnHide:Lt,dropdownRender:Ce}=a,on=et(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"]),ln=b("dropdown",z),ra=`${ln}-button`,[Bn,It]=(0,He.Z)(ln),Ie={menu:pe,arrow:st,autoFocus:Qe,align:rt,disabled:ne,trigger:ne?[]:We,onOpenChange:Kt,getPopupContainer:ht||x,mouseEnterDelay:Pt,mouseLeaveDelay:Dt,overlayClassName:En,overlayStyle:at,destroyPopupOnHide:Lt,dropdownRender:Ce},{compactSize:De,compactItemClassnames:ft}=(0,Ke.ri)(ln,E),kt=Oe()(ra,ft,xe,It);"overlay"in a&&(Ie.overlay=Ot),"open"in a&&(Ie.open=bt),"placement"in a?Ie.placement=Mt:Ie.placement=E==="rtl"?"bottomLeft":"bottomRight";const jt=Ge.createElement(Ze.ZP,{type:ae,danger:re,disabled:ne,loading:fe,onClick:Se,htmlType:Ne,href:Ft,title:nn},be),gn=Ge.createElement(Ze.ZP,{type:ae,danger:re,icon:Wt}),[tn,xn]=Ve([jt,gn]);return Bn(Ge.createElement(ze.Z.Compact,Object.assign({className:kt,size:De,block:!0},on),tn,Ge.createElement(le.Z,Object.assign({},Ie),xn)))};je.__ANT_BUTTON=!0;var we=je;const ue=le.Z;ue.Button=we;var y=ue},66748:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return et}});var le=te(14747),ve=te(67771),Oe=te(33297),Ge=te(50438),Fe=te(97414),Ze=te(67968),de=te(45503),Ke=je=>{const{componentCls:we,menuCls:ue,colorError:y,colorTextLightSolid:a}=je,x=`${ue}-item`;return{[`${we}, ${we}-menu-submenu`]:{[`${ue} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const He=je=>{const{componentCls:we,menuCls:ue,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:ae,fontSize:re,dropdownEdgeChildPadding:ne,colorTextDisabled:fe,fontSizeIcon:Se,controlPaddingHorizontal:Ne,colorBgElevated:be}=je;return[{[we]:Object.assign(Object.assign({},(0,le.Wf)(je)),{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:Se}},[`${we}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:Se},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${we}-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${we}-placement-bottomLeft,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${we}-placement-bottomLeft,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${we}-placement-bottom,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${we}-placement-bottom,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${we}-placement-bottomRight,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${we}-placement-bottomRight`]:{animationName:ve.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${we}-placement-topLeft,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${we}-placement-topLeft,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${we}-placement-top,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${we}-placement-top,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${we}-placement-topRight,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${we}-placement-topRight`]:{animationName:ve.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${we}-placement-bottomLeft,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${we}-placement-bottom,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${we}-placement-bottomRight`]:{animationName:ve.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${we}-placement-topLeft,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${we}-placement-top,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${we}-placement-topRight`]:{animationName:ve.ly}})},(0,Fe.ZP)(je,{colorBg:be,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${we} ${ue}`]:{position:"relative",margin:0},[`${ue}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${we}, ${we}-menu-submenu`]:{[ue]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:be,backgroundClip:"padding-box",borderRadius:je.borderRadiusLG,outline:"none",boxShadow:je.boxShadowSecondary},(0,le.Qy)(je)),{[`${ue}-item-group-title`]:{padding:`${ae}px ${Ne}px`,color:je.colorTextDescription,transition:`all ${z}`},[`${ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ue}-item-icon`]:{minWidth:re,marginInlineEnd:je.marginXS,fontSize:je.fontSizeSM},[`${ue}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ue}-item, ${ue}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Ne}px`,color:je.colorText,fontWeight:"normal",fontSize:re,lineHeight:je.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:je.borderRadiusSM,"&:hover, &-active":{backgroundColor:je.controlItemBgHover}},(0,le.Qy)(je)),{"&-selected":{color:je.colorPrimary,backgroundColor:je.controlItemBgActive,"&:hover, &-active":{backgroundColor:je.controlItemBgActiveHover}},"&-disabled":{color:fe,cursor:"not-allowed","&:hover":{color:fe,backgroundColor:be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:je.colorSplit},[`${we}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:je.paddingXS,[`${we}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:je.colorTextDescription,fontSize:Se,fontStyle:"normal"}}}),[`${ue}-item-group-list`]:{margin:`0 ${je.marginXS}px`,padding:0,listStyle:"none"},[`${ue}-submenu-title`]:{paddingInlineEnd:Ne+je.fontSizeSM},[`${ue}-submenu-vertical`]:{position:"relative"},[`${ue}-submenu${ue}-submenu-disabled ${we}-menu-submenu-title`]:{[`&, ${we}-menu-submenu-arrow-icon`]:{color:fe,backgroundColor:be,cursor:"not-allowed"}},[`${ue}-submenu-selected ${we}-menu-submenu-title`]:{color:je.colorPrimary}})}},[(0,ve.oN)(je,"slide-up"),(0,ve.oN)(je,"slide-down"),(0,Oe.Fm)(je,"move-up"),(0,Oe.Fm)(je,"move-down"),(0,Ge._y)(je,"zoom-big")]]};var et=(0,Ze.Z)("Dropdown",(je,we)=>{let{rootPrefixCls:ue}=we;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:ae,borderRadiusLG:re}=je,ne=(x-b*E)/2,{dropdownArrowOffset:fe}=(0,Fe.fS)({contentRadius:re}),Se=(0,de.TS)(je,{menuCls:`${ae}-menu`,rootPrefixCls:ue,dropdownArrowDistance:a/2+y,dropdownArrowOffset:fe,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:z});return[He(Se),Ke(Se)]},je=>({zIndexPopup:je.zIndexPopupBase+50}))},25378:function(ct,Et,te){"use strict";var le=te(67294),ve=te(14075),Oe=te(57838),Ge=te(74443);function Fe(){let Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const de=(0,le.useRef)({}),ze=(0,Oe.Z)(),Ke=(0,Ge.ZP)();return(0,ve.Z)(()=>{const He=Ke.subscribe(et=>{de.current=et,Ze&&ze()});return()=>Ke.unsubscribe(He)},[]),de.current}Et.Z=Fe},71322:function(ct,Et,te){"use strict";te.d(Et,{D:function(){return E},Z:function(){return re}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(fe,Se){return ve.createElement(Fe.Z,(0,le.Z)({},fe,{ref:Se,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(22751),Ke=te(91034),He=te(94184),et=te.n(He),je=te(10366),ue=ne=>!isNaN(parseFloat(ne))&&isFinite(ne),y=te(53124),a=te(84321),x=function(ne,fe){var Se={};for(var Ne in ne)Object.prototype.hasOwnProperty.call(ne,Ne)&&fe.indexOf(Ne)<0&&(Se[Ne]=ne[Ne]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ne=Object.getOwnPropertySymbols(ne);be<Ne.length;be++)fe.indexOf(Ne[be])<0&&Object.prototype.propertyIsEnumerable.call(ne,Ne[be])&&(Se[Ne[be]]=ne[Ne[be]]);return Se};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},E=ve.createContext({}),z=(()=>{let ne=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${fe}${ne}`}})();var re=ve.forwardRef((ne,fe)=>{const{prefixCls:Se,className:Ne,trigger:be,children:xe,defaultCollapsed:pe=!1,theme:st="dark",style:Qe={},collapsible:Ot=!1,reverseArrow:We=!1,width:rt=200,collapsedWidth:bt=80,zeroWidthTriggerStyle:Kt,breakpoint:Mt,onCollapse:ht,onBreakpoint:Ft}=ne,Wt=x(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:nn}=(0,ve.useContext)(a.Gs),[Ve,Pt]=(0,ve.useState)("collapsed"in ne?ne.collapsed:pe),[Dt,En]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{"collapsed"in ne&&Pt(ne.collapsed)},[ne.collapsed]);const at=(Bn,It)=>{"collapsed"in ne||Pt(Bn),ht==null||ht(Bn,It)},Lt=(0,ve.useRef)();Lt.current=Bn=>{En(Bn.matches),Ft==null||Ft(Bn.matches),Ve!==Bn.matches&&at(Bn.matches,"responsive")},(0,ve.useEffect)(()=>{function Bn(Ie){return Lt.current(Ie)}let It;if(typeof window!="undefined"){const{matchMedia:Ie}=window;if(Ie&&Mt&&Mt in b){It=Ie(`(max-width: ${b[Mt]})`);try{It.addEventListener("change",Bn)}catch(De){It.addListener(Bn)}Bn(It)}}return()=>{try{It==null||It.removeEventListener("change",Bn)}catch(Ie){It==null||It.removeListener(Bn)}}},[Mt]),(0,ve.useEffect)(()=>{const Bn=z("ant-sider-");return nn.addSider(Bn),()=>nn.removeSider(Bn)},[]);const Ce=()=>{at(!Ve,"clickTrigger")},{getPrefixCls:on}=(0,ve.useContext)(y.E_),ln=()=>{const Bn=on("layout-sider",Se),It=(0,je.Z)(Wt,["collapsed"]),Ie=Ve?bt:rt,De=ue(Ie)?`${Ie}px`:String(Ie),ft=parseFloat(String(bt||0))===0?ve.createElement("span",{onClick:Ce,className:et()(`${Bn}-zero-width-trigger`,`${Bn}-zero-width-trigger-${We?"right":"left"}`),style:Kt},be||ve.createElement(de,null)):null,gn={expanded:We?ve.createElement(Ke.Z,null):ve.createElement(ze.Z,null),collapsed:We?ve.createElement(ze.Z,null):ve.createElement(Ke.Z,null)}[Ve?"collapsed":"expanded"],tn=be!==null?ft||ve.createElement("div",{className:`${Bn}-trigger`,onClick:Ce,style:{width:De}},be||gn):null,xn=Object.assign(Object.assign({},Qe),{flex:`0 0 ${De}`,maxWidth:De,minWidth:De,width:De}),dn=et()(Bn,`${Bn}-${st}`,{[`${Bn}-collapsed`]:!!Ve,[`${Bn}-has-trigger`]:Ot&&be!==null&&!ft,[`${Bn}-below`]:!!Dt,[`${Bn}-zero-width`]:parseFloat(De)===0},Ne);return ve.createElement("aside",Object.assign({className:dn},It,{style:xn,ref:fe}),ve.createElement("div",{className:`${Bn}-children`},xe),Ot||Dt&&ft?tn:null)},ra=ve.useMemo(()=>({siderCollapsed:Ve}),[Ve]);return ve.createElement(E.Provider,{value:ra},ln())})},84321:function(ct,Et,te){"use strict";te.d(Et,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return we},ZP:function(){return ae}});var le=te(74902),ve=te(94184),Oe=te.n(ve),Ge=te(10366),Fe=te(67294),Ze=te(53124),de=te(67968),Ke=re=>{const{componentCls:ne,bodyBg:fe,lightSiderBg:Se,lightTriggerBg:Ne,lightTriggerColor:be}=re;return{[`${ne}-sider-light`]:{background:Se,[`${ne}-sider-trigger`]:{color:be,background:Ne},[`${ne}-sider-zero-width-trigger`]:{color:be,background:Ne,border:`1px solid ${fe}`,borderInlineStart:0}}}};const He=re=>{const{antCls:ne,componentCls:fe,colorText:Se,triggerColor:Ne,footerBg:be,triggerBg:xe,headerHeight:pe,headerPadding:st,headerColor:Qe,footerPadding:Ot,triggerHeight:We,zeroTriggerHeight:rt,zeroTriggerWidth:bt,motionDurationMid:Kt,motionDurationSlow:Mt,fontSize:ht,borderRadius:Ft,bodyBg:Wt,headerBg:nn,siderBg:Ve}=re;return{[fe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Wt,"&, *":{boxSizing:"border-box"},[`&${fe}-has-sider`]:{flexDirection:"row",[`> ${fe}, > ${fe}-content`]:{width:0}},[`${fe}-header, &${fe}-footer`]:{flex:"0 0 auto"},[`${fe}-sider`]:{position:"relative",minWidth:0,background:Ve,transition:`all ${Kt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:We},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:We,color:Ne,lineHeight:`${We}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Kt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:pe,insetInlineEnd:-bt,zIndex:1,width:bt,height:rt,color:Ne,fontSize:re.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ve,borderStartStartRadius:0,borderStartEndRadius:Ft,borderEndEndRadius:Ft,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Mt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Mt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-bt,borderStartStartRadius:Ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ft}}}}},Ke(re)),{"&-rtl":{direction:"rtl"}}),[`${fe}-header`]:{height:pe,padding:st,color:Qe,lineHeight:`${pe}px`,background:nn,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:Ot,color:Se,fontSize:ht,background:be},[`${fe}-content`]:{flex:"auto",minHeight:0}}};var et=(0,de.Z)("Layout",re=>[He(re)],re=>{const{colorBgLayout:ne,controlHeight:fe,controlHeightLG:Se,colorText:Ne,controlHeightSM:be,marginXXS:xe,colorTextLightSolid:pe,colorBgContainer:st}=re,Qe=Se*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${Qe}px`,headerColor:Ne,footerPadding:`${be}px ${Qe}px`,footerBg:ne,siderBg:"#001529",triggerHeight:Se+xe*2,triggerBg:"#002140",triggerColor:pe,zeroTriggerWidth:Se,zeroTriggerHeight:Se,lightSiderBg:st,lightTriggerBg:st,lightTriggerColor:Ne}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),je=function(re,ne){var fe={};for(var Se in re)Object.prototype.hasOwnProperty.call(re,Se)&&ne.indexOf(Se)<0&&(fe[Se]=re[Se]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Se=Object.getOwnPropertySymbols(re);Ne<Se.length;Ne++)ne.indexOf(Se[Ne])<0&&Object.prototype.propertyIsEnumerable.call(re,Se[Ne])&&(fe[Se[Ne]]=re[Se[Ne]]);return fe};const we=Fe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ue(re){let{suffixCls:ne,tagName:fe,displayName:Se}=re;return Ne=>Fe.forwardRef((xe,pe)=>Fe.createElement(Ne,Object.assign({ref:pe,suffixCls:ne,tagName:fe},xe)))}const y=Fe.forwardRef((re,ne)=>{const{prefixCls:fe,suffixCls:Se,className:Ne,tagName:be}=re,xe=je(re,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:pe}=Fe.useContext(Ze.E_),st=pe("layout",fe),[Qe,Ot]=et(st),We=Se?`${st}-${Se}`:st;return Qe(Fe.createElement(be,Object.assign({className:Oe()(fe||We,Ne,Ot),ref:ne},xe)))}),a=Fe.forwardRef((re,ne)=>{const{direction:fe}=Fe.useContext(Ze.E_),[Se,Ne]=Fe.useState([]),{prefixCls:be,className:xe,rootClassName:pe,children:st,hasSider:Qe,tagName:Ot,style:We}=re,rt=je(re,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),bt=(0,Ge.Z)(rt,["suffixCls"]),{getPrefixCls:Kt,layout:Mt}=Fe.useContext(Ze.E_),ht=Kt("layout",be),[Ft,Wt]=et(ht),nn=Oe()(ht,{[`${ht}-has-sider`]:typeof Qe=="boolean"?Qe:Se.length>0,[`${ht}-rtl`]:fe==="rtl"},Mt==null?void 0:Mt.className,xe,pe,Wt),Ve=Fe.useMemo(()=>({siderHook:{addSider:Pt=>{Ne(Dt=>[].concat((0,le.Z)(Dt),[Pt]))},removeSider:Pt=>{Ne(Dt=>Dt.filter(En=>En!==Pt))}}}),[]);return Ft(Fe.createElement(we.Provider,{value:Ve},Fe.createElement(Ot,Object.assign({ref:ne,className:nn,style:Object.assign(Object.assign({},Mt==null?void 0:Mt.style),We)},bt),st)))}),x=ue({tagName:"div",displayName:"Layout"})(a),b=ue({suffixCls:"header",tagName:"header",displayName:"Header"})(y),E=ue({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=ue({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=x},76529:function(ct,Et,te){"use strict";te.d(Et,{J:function(){return Ze}});var le=te(67294),ve=te(4173),Oe=te(60276),Ge=function(de,ze){var Ke={};for(var He in de)Object.prototype.hasOwnProperty.call(de,He)&&ze.indexOf(He)<0&&(Ke[He]=de[He]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,He=Object.getOwnPropertySymbols(de);et<He.length;et++)ze.indexOf(He[et])<0&&Object.prototype.propertyIsEnumerable.call(de,He[et])&&(Ke[He[et]]=de[He[et]]);return Ke};const Fe=le.createContext(null),Ze=le.forwardRef((de,ze)=>{const{children:Ke}=de,He=Ge(de,["children"]),et=le.useContext(Fe),je=le.useMemo(()=>Object.assign(Object.assign({},et),He),[et,He.prefixCls,He.mode,He.selectable]);return le.createElement(Fe.Provider,{value:je},le.createElement(ve.BR,null,(0,Oe.supportNodeRef)(Ke)?le.cloneElement(Ke,{ref:ze}):Ke))});Et.Z=Fe},68508:function(ct,Et,te){"use strict";te.d(Et,{default:function(){return Bn}});var le=te(52073),ve=te(67294),Oe=te(71322),Ge=te(94184),Fe=te.n(Ge),Ze=te(53124),de=function(It,Ie){var De={};for(var ft in It)Object.prototype.hasOwnProperty.call(It,ft)&&Ie.indexOf(ft)<0&&(De[ft]=It[ft]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,ft=Object.getOwnPropertySymbols(It);kt<ft.length;kt++)Ie.indexOf(ft[kt])<0&&Object.prototype.propertyIsEnumerable.call(It,ft[kt])&&(De[ft[kt]]=It[ft[kt]]);return De},Ke=It=>{const{prefixCls:Ie,className:De,dashed:ft}=It,kt=de(It,["prefixCls","className","dashed"]),{getPrefixCls:jt}=ve.useContext(Ze.E_),gn=jt("menu",Ie),tn=Fe()({[`${gn}-item-divider-dashed`]:!!ft},De);return ve.createElement(le.iz,Object.assign({className:tn},kt))},He=te(37419),et=te(10366),je=te(83062),we=te(96159),y=(0,ve.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=It=>{var Ie;const{className:De,children:ft,icon:kt,title:jt,danger:gn}=It,{prefixCls:tn,firstLevel:xn,direction:dn,disableMenuItemTitleTooltip:ga,inlineCollapsed:Te}=ve.useContext(y),ot=Un=>{const ca=ve.createElement("span",{className:`${tn}-title-content`},ft);return(!kt||(0,we.l$)(ft)&&ft.type==="span")&&ft&&Un&&xn&&typeof ft=="string"?ve.createElement("div",{className:`${tn}-inline-collapsed-noicon`},ft.charAt(0)):ca},{siderCollapsed:Yn}=ve.useContext(Oe.D);let Mn=jt;typeof jt=="undefined"?Mn=xn?ft:"":jt===!1&&(Mn="");const lt={title:Mn};!Yn&&!Te&&(lt.title=null,lt.open=!1);const _t=(0,He.Z)(ft).length;let ea=ve.createElement(le.ck,Object.assign({},(0,et.Z)(It,["title","icon","danger"]),{className:Fe()({[`${tn}-item-danger`]:gn,[`${tn}-item-only-child`]:(kt?_t+1:_t)===1},De),title:typeof jt=="string"?jt:void 0}),(0,we.Tm)(kt,{className:Fe()((0,we.l$)(kt)?(Ie=kt.props)===null||Ie===void 0?void 0:Ie.className:"",`${tn}-item-icon`)}),ot(Te));return ga||(ea=ve.createElement(je.Z,Object.assign({},lt,{placement:dn==="rtl"?"left":"right",overlayClassName:`${tn}-inline-collapsed-tooltip`}),ea)),ea},E=It=>{var Ie;const{popupClassName:De,icon:ft,title:kt,theme:jt}=It,gn=ve.useContext(y),{prefixCls:tn,inlineCollapsed:xn,theme:dn}=gn,ga=(0,le.Xl)();let Te;if(!ft)Te=xn&&!ga.length&&kt&&typeof kt=="string"?ve.createElement("div",{className:`${tn}-inline-collapsed-noicon`},kt.charAt(0)):ve.createElement("span",{className:`${tn}-title-content`},kt);else{const Yn=(0,we.l$)(kt)&&kt.type==="span";Te=ve.createElement(ve.Fragment,null,(0,we.Tm)(ft,{className:Fe()((0,we.l$)(ft)?(Ie=ft.props)===null||Ie===void 0?void 0:Ie.className:"",`${tn}-item-icon`)}),Yn?kt:ve.createElement("span",{className:`${tn}-title-content`},kt))}const ot=ve.useMemo(()=>Object.assign(Object.assign({},gn),{firstLevel:!1}),[gn]);return ve.createElement(y.Provider,{value:ot},ve.createElement(le.Wd,Object.assign({},(0,et.Z)(It,["icon"]),{title:Te,popupClassName:Fe()(tn,De,`${tn}-${jt||dn}`)})))},z=te(25877),ae=te(60276),re=te(33603),ne=te(76529),fe=function(It,Ie){var De={};for(var ft in It)Object.prototype.hasOwnProperty.call(It,ft)&&Ie.indexOf(ft)<0&&(De[ft]=It[ft]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,ft=Object.getOwnPropertySymbols(It);kt<ft.length;kt++)Ie.indexOf(ft[kt])<0&&Object.prototype.propertyIsEnumerable.call(It,ft[kt])&&(De[ft[kt]]=It[ft[kt]]);return De};function Se(It){return(It||[]).map((Ie,De)=>{if(Ie&&typeof Ie=="object"){const ft=Ie,{label:kt,children:jt,key:gn,type:tn}=ft,xn=fe(ft,["label","children","key","type"]),dn=gn!=null?gn:`tmp-${De}`;return jt||tn==="group"?tn==="group"?ve.createElement(le.BW,Object.assign({key:dn},xn,{title:kt}),Se(jt)):ve.createElement(E,Object.assign({key:dn},xn,{title:kt}),Se(jt)):tn==="divider"?ve.createElement(Ke,Object.assign({key:dn},xn)):ve.createElement(x,Object.assign({key:dn},xn),kt)}return null}).filter(Ie=>Ie)}function Ne(It){return ve.useMemo(()=>It&&Se(It),[It])}var be=te(84780),xe=te(14747),pe=te(33507),st=te(67771),Qe=te(50438),Ot=te(67968),We=te(45503),bt=It=>{const{componentCls:Ie,motionDurationSlow:De,horizontalLineHeight:ft,colorSplit:kt,lineWidth:jt,lineType:gn,itemPaddingInline:tn}=It;return{[`${Ie}-horizontal`]:{lineHeight:ft,border:0,borderBottom:`${jt}px ${gn} ${kt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ie}-item, ${Ie}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:tn},[`> ${Ie}-item:hover,
|
|
> ${Ie}-item-active,
|
|
> ${Ie}-submenu ${Ie}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ie}-item, ${Ie}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${Ie}-submenu-arrow`]:{display:"none"}}}},Mt=It=>{let{componentCls:Ie,menuArrowOffset:De}=It;return{[`${Ie}-rtl`]:{direction:"rtl"},[`${Ie}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ie}-rtl${Ie}-vertical,
|
|
${Ie}-submenu-rtl ${Ie}-vertical`]:{[`${Ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${De})`},"&::after":{transform:`rotate(45deg) translateY(${De})`}}}}};const ht=It=>Object.assign({},(0,xe.oN)(It));var Wt=(It,Ie)=>{const{componentCls:De,itemColor:ft,itemSelectedColor:kt,groupTitleColor:jt,itemBg:gn,subMenuItemBg:tn,itemSelectedBg:xn,activeBarHeight:dn,activeBarWidth:ga,activeBarBorderWidth:Te,motionDurationSlow:ot,motionEaseInOut:Yn,motionEaseOut:Mn,itemPaddingInline:lt,motionDurationMid:_t,itemHoverColor:ea,lineType:Un,colorSplit:ca,itemDisabledColor:In,dangerItemColor:fn,dangerItemHoverColor:qn,dangerItemSelectedColor:cr,dangerItemActiveBg:Ga,dangerItemSelectedBg:za,itemHoverBg:Zr,itemActiveBg:Va,menuSubMenuBg:Mr,horizontalItemSelectedColor:oo,horizontalItemSelectedBg:ko,horizontalItemBorderRadius:Yo,horizontalItemHoverBg:ti,popupBg:fi}=It;return{[`${De}-${Ie}, ${De}-${Ie} > ${De}`]:{color:ft,background:gn,[`&${De}-root:focus-visible`]:Object.assign({},ht(It)),[`${De}-item-group-title`]:{color:jt},[`${De}-submenu-selected`]:{[`> ${De}-submenu-title`]:{color:kt}},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${In} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:ea}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:Zr},"&:active":{backgroundColor:Va}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:Zr},"&:active":{backgroundColor:Va}}},[`${De}-item-danger`]:{color:fn,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:qn}},[`&${De}-item:active`]:{background:Ga}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:kt,[`&${De}-item-danger`]:{color:cr},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:xn,[`&${De}-item-danger`]:{backgroundColor:za}},[`${De}-item, ${De}-submenu-title`]:{[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},ht(It))},[`&${De}-submenu > ${De}`]:{backgroundColor:Mr},[`&${De}-popup > ${De}`]:{backgroundColor:fi},[`&${De}-horizontal`]:Object.assign(Object.assign({},Ie==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:Te,marginTop:-Te,marginBottom:0,borderRadius:Yo,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${dn}px solid transparent`,transition:`border-color ${ot} ${Yn}`,content:'""'},"&:hover, &-active, &-open":{background:ti,"&::after":{borderBottomWidth:dn,borderBottomColor:oo}},"&-selected":{color:oo,backgroundColor:ko,"&:hover":{backgroundColor:ko},"&::after":{borderBottomWidth:dn,borderBottomColor:oo}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${Te}px ${Un} ${ca}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:tn},[`${De}-item, ${De}-submenu-title`]:Te&&ga?{width:`calc(100% + ${Te}px)`}:{},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ga}px solid ${kt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${_t} ${Mn}`,`opacity ${_t} ${Mn}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:cr}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${_t} ${Yn}`,`opacity ${_t} ${Yn}`].join(",")}}}}}};const nn=It=>{const{componentCls:Ie,itemHeight:De,itemMarginInline:ft,padding:kt,menuArrowSize:jt,marginXS:gn,itemMarginBlock:tn}=It,xn=kt+jt+gn;return{[`${Ie}-item`]:{position:"relative",overflow:"hidden"},[`${Ie}-item, ${Ie}-submenu-title`]:{height:De,lineHeight:`${De}px`,paddingInline:kt,overflow:"hidden",textOverflow:"ellipsis",marginInline:ft,marginBlock:tn,width:`calc(100% - ${ft*2}px)`},[`> ${Ie}-item,
|
|
> ${Ie}-submenu > ${Ie}-submenu-title`]:{height:De,lineHeight:`${De}px`},[`${Ie}-item-group-list ${Ie}-submenu-title,
|
|
${Ie}-submenu-title`]:{paddingInlineEnd:xn}}};var Pt=It=>{const{componentCls:Ie,iconCls:De,itemHeight:ft,colorTextLightSolid:kt,dropdownWidth:jt,controlHeightLG:gn,motionDurationMid:tn,motionEaseOut:xn,paddingXL:dn,itemMarginInline:ga,fontSizeLG:Te,motionDurationSlow:ot,paddingXS:Yn,boxShadowSecondary:Mn,collapsedWidth:lt,collapsedIconSize:_t}=It,ea={height:ft,lineHeight:`${ft}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ie]:{"&-inline, &-vertical":Object.assign({[`&${Ie}-root`]:{boxShadow:"none"}},nn(It))},[`${Ie}-submenu-popup`]:{[`${Ie}-vertical`]:Object.assign(Object.assign({},nn(It)),{boxShadow:Mn})}},{[`${Ie}-submenu-popup ${Ie}-vertical${Ie}-sub`]:{minWidth:jt,maxHeight:`calc(100vh - ${gn*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ie}-inline`]:{width:"100%",[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ot}`,`background ${ot}`,`padding ${tn} ${xn}`].join(","),[`> ${Ie}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ie}-sub${Ie}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ie}-submenu > ${Ie}-submenu-title`]:ea,[`& ${Ie}-item-group-title`]:{paddingInlineStart:dn}},[`${Ie}-item`]:ea}},{[`${Ie}-inline-collapsed`]:{width:lt,[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu ${Ie}-submenu-title`]:{[`> ${Ie}-inline-collapsed-noicon`]:{fontSize:Te,textAlign:"center"}}},[`> ${Ie}-item,
|
|
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-item,
|
|
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-submenu > ${Ie}-submenu-title,
|
|
> ${Ie}-submenu > ${Ie}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Te/2}px - ${ga}px)`,textOverflow:"clip",[`
|
|
${Ie}-submenu-arrow,
|
|
${Ie}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Ie}-item-icon, ${De}`]:{margin:0,fontSize:_t,lineHeight:`${ft}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ie}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ie}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:kt}},[`${Ie}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Yn})}}]};const Dt=It=>{const{componentCls:Ie,motionDurationSlow:De,motionDurationMid:ft,motionEaseInOut:kt,motionEaseOut:jt,iconCls:gn,iconSize:tn,iconMarginInlineEnd:xn}=It;return{[`${Ie}-item, ${Ie}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding ${De} ${kt}`].join(","),[`${Ie}-item-icon, ${gn}`]:{minWidth:tn,fontSize:tn,transition:[`font-size ${ft} ${jt}`,`margin ${De} ${kt}`,`color ${De}`].join(","),"+ span":{marginInlineStart:xn,opacity:1,transition:[`opacity ${De} ${kt}`,`margin ${De}`,`color ${De}`].join(",")}},[`${Ie}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${Ie}-item-only-child`]:{[`> ${gn}, > ${Ie}-item-icon`]:{marginInlineEnd:0}}},[`${Ie}-item-disabled, ${Ie}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ie}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},En=It=>{const{componentCls:Ie,motionDurationSlow:De,motionEaseInOut:ft,borderRadius:kt,menuArrowSize:jt,menuArrowOffset:gn}=It;return{[`${Ie}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:It.margin,width:jt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${ft}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:jt*.6,height:jt*.15,backgroundColor:"currentcolor",borderRadius:kt,transition:[`background ${De} ${ft}`,`transform ${De} ${ft}`,`top ${De} ${ft}`,`color ${De} ${ft}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${gn})`},"&::after":{transform:`rotate(-45deg) translateY(${gn})`}}}}},at=It=>{const{antCls:Ie,componentCls:De,fontSize:ft,motionDurationSlow:kt,motionDurationMid:jt,motionEaseInOut:gn,paddingXS:tn,padding:xn,colorSplit:dn,lineWidth:ga,zIndexPopup:Te,borderRadiusLG:ot,subMenuItemBorderRadius:Yn,menuArrowSize:Mn,menuArrowOffset:lt,lineType:_t,menuPanelMaskInset:ea,groupTitleLineHeight:Un,groupTitleFontSize:ca}=It;return[{"":{[`${De}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${De}-submenu-hidden`]:{display:"none"}},{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(It)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ft,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${kt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:It.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${tn}px ${xn}px`,fontSize:ca,lineHeight:Un,transition:`all ${kt}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${kt} ${gn}`,`background ${kt} ${gn}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${kt} ${gn}`,`background ${kt} ${gn}`,`padding ${jt} ${gn}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${kt} ${gn}`,`padding ${kt} ${gn}`].join(",")},[`${De}-title-content`]:{transition:`color ${kt}`},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:dn,borderStyle:_t,borderWidth:0,borderTopWidth:ga,marginBlock:ga,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Dt(It)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${ft*2}px ${xn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Te,borderRadius:ot,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ea}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ea},"\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:It.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:It.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:It.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:It.paddingXS},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:ot},Dt(It)),En(It)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:Yn},[`${De}-submenu-title::after`]:{transition:`transform ${kt} ${gn}`}})}}),En(It)),{[`&-inline-collapsed ${De}-submenu-arrow,
|
|
&-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${lt})`},"&::after":{transform:`rotate(45deg) translateX(-${lt})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${Mn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${lt})`},"&::before":{transform:`rotate(45deg) translateX(${lt})`}}})},{[`${Ie}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var Lt=(It,Ie)=>(0,Ot.Z)("Menu",ft=>{if(Ie===!1)return[];const{colorBgElevated:kt,colorPrimary:jt,colorTextLightSolid:gn,controlHeightLG:tn,fontSize:xn,darkItemColor:dn,darkDangerItemColor:ga,darkItemBg:Te,darkSubMenuItemBg:ot,darkItemSelectedColor:Yn,darkItemSelectedBg:Mn,darkDangerItemSelectedBg:lt,darkItemHoverBg:_t,darkGroupTitleColor:ea,darkItemHoverColor:Un,darkItemDisabledColor:ca,darkDangerItemHoverColor:In,darkDangerItemSelectedColor:fn,darkDangerItemActiveBg:qn}=ft,cr=xn/7*5,Ga=(0,We.TS)(ft,{menuArrowSize:cr,menuHorizontalHeight:tn*1.15,menuArrowOffset:`${cr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:kt}),za=(0,We.TS)(Ga,{itemColor:dn,itemHoverColor:Un,groupTitleColor:ea,itemSelectedColor:Yn,itemBg:Te,popupBg:Te,subMenuItemBg:ot,itemActiveBg:"transparent",itemSelectedBg:Mn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:_t,itemDisabledColor:ca,dangerItemColor:ga,dangerItemHoverColor:In,dangerItemSelectedColor:fn,dangerItemActiveBg:qn,dangerItemSelectedBg:lt,menuSubMenuBg:ot,horizontalItemSelectedColor:gn,horizontalItemSelectedBg:jt});return[at(Ga),bt(Ga),Pt(Ga),Wt(Ga,"light"),Wt(za,"dark"),Mt(Ga),(0,pe.Z)(Ga),(0,st.oN)(Ga,"slide-up"),(0,st.oN)(Ga,"slide-down"),(0,Qe._y)(Ga,"zoom-big")]},ft=>{const{colorPrimary:kt,colorError:jt,colorTextDisabled:gn,colorErrorBg:tn,colorText:xn,colorTextDescription:dn,colorBgContainer:ga,colorFillAlter:Te,colorFillContent:ot,lineWidth:Yn,lineWidthBold:Mn,controlItemBgActive:lt,colorBgTextHover:_t,controlHeightLG:ea,lineHeight:Un,colorBgElevated:ca,marginXXS:In,padding:fn,fontSize:qn,controlHeightSM:cr,fontSizeLG:Ga,colorTextLightSolid:za,colorErrorHover:Zr}=ft,Va=new be.C(za).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ft.zIndexPopupBase+50,radiusItem:ft.borderRadiusLG,itemBorderRadius:ft.borderRadiusLG,radiusSubMenuItem:ft.borderRadiusSM,subMenuItemBorderRadius:ft.borderRadiusSM,colorItemText:xn,itemColor:xn,colorItemTextHover:xn,itemHoverColor:xn,colorItemTextHoverHorizontal:kt,horizontalItemHoverColor:kt,colorGroupTitle:dn,groupTitleColor:dn,colorItemTextSelected:kt,itemSelectedColor:kt,colorItemTextSelectedHorizontal:kt,horizontalItemSelectedColor:kt,colorItemBg:ga,itemBg:ga,colorItemBgHover:_t,itemHoverBg:_t,colorItemBgActive:ot,itemActiveBg:lt,colorSubItemBg:Te,subMenuItemBg:Te,colorItemBgSelected:lt,itemSelectedBg:lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Mn,activeBarHeight:Mn,colorActiveBarBorderSize:Yn,activeBarBorderWidth:Yn,colorItemTextDisabled:gn,itemDisabledColor:gn,colorDangerItemText:jt,dangerItemColor:jt,colorDangerItemTextHover:jt,dangerItemHoverColor:jt,colorDangerItemTextSelected:jt,dangerItemSelectedColor:jt,colorDangerItemBgActive:tn,dangerItemActiveBg:tn,colorDangerItemBgSelected:tn,dangerItemSelectedBg:tn,itemMarginInline:ft.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ea,groupTitleLineHeight:Un,collapsedWidth:ea*2,popupBg:ca,itemMarginBlock:In,itemPaddingInline:fn,horizontalLineHeight:`${ea*1.15}px`,iconSize:qn,iconMarginInlineEnd:cr-qn,collapsedIconSize:Ga,groupTitleFontSize:qn,darkItemDisabledColor:new be.C(za).setAlpha(.25).toRgbString(),darkItemColor:Va,darkDangerItemColor:jt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:za,darkItemSelectedBg:kt,darkDangerItemSelectedBg:jt,darkItemHoverBg:"transparent",darkGroupTitleColor:Va,darkItemHoverColor:za,darkDangerItemHoverColor:Zr,darkDangerItemSelectedColor:za,darkDangerItemActiveBg:jt}},{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"]]})(It),Ce=function(It,Ie){var De={};for(var ft in It)Object.prototype.hasOwnProperty.call(It,ft)&&Ie.indexOf(ft)<0&&(De[ft]=It[ft]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,ft=Object.getOwnPropertySymbols(It);kt<ft.length;kt++)Ie.indexOf(ft[kt])<0&&Object.prototype.propertyIsEnumerable.call(It,ft[kt])&&(De[ft[kt]]=It[ft[kt]]);return De},ln=(0,ve.forwardRef)((It,Ie)=>{var De,ft;const kt=ve.useContext(ne.Z),jt=kt||{},{getPrefixCls:gn,getPopupContainer:tn,direction:xn,menu:dn}=ve.useContext(Ze.E_),ga=gn(),{prefixCls:Te,className:ot,style:Yn,theme:Mn="light",expandIcon:lt,_internalDisableMenuItemTitleTooltip:_t,inlineCollapsed:ea,siderCollapsed:Un,items:ca,children:In,rootClassName:fn,mode:qn,selectable:cr,onClick:Ga,overflowedIndicatorPopupClassName:za}=It,Zr=Ce(It,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Va=(0,et.Z)(Zr,["collapsedWidth"]),Mr=Ne(ca)||In;(De=jt.validator)===null||De===void 0||De.call(jt,{mode:qn});const oo=(0,ae.useEvent)(function(){var wn;Ga==null||Ga.apply(void 0,arguments),(wn=jt.onClick)===null||wn===void 0||wn.call(jt)}),ko=jt.mode||qn,Yo=cr!=null?cr:jt.selectable,ti=ve.useMemo(()=>Un!==void 0?Un:ea,[ea,Un]),fi={horizontal:{motionName:`${ga}-slide-up`},inline:(0,re.Z)(ga),other:{motionName:`${ga}-zoom-big`}},Io=gn("menu",Te||jt.prefixCls),[bi,Hr]=Lt(Io,!kt),An=Fe()(`${Io}-${Mn}`,dn==null?void 0:dn.className,ot);let On;if(typeof lt=="function")On=lt;else if(lt===null||lt===!1)On=null;else if(jt.expandIcon===null||jt.expandIcon===!1)On=null;else{const wn=lt!=null?lt:jt.expandIcon;On=(0,we.Tm)(wn,{className:Fe()(`${Io}-submenu-expand-icon`,(0,we.l$)(wn)?(ft=wn.props)===null||ft===void 0?void 0:ft.className:"")})}const bn=ve.useMemo(()=>({prefixCls:Io,inlineCollapsed:ti||!1,direction:xn,firstLevel:!0,theme:Mn,mode:ko,disableMenuItemTitleTooltip:_t}),[Io,ti,xn,_t,Mn]);return bi(ve.createElement(ne.Z.Provider,{value:null},ve.createElement(y.Provider,{value:bn},ve.createElement(le.ZP,Object.assign({getPopupContainer:tn,overflowedIndicator:ve.createElement(z.Z,null),overflowedIndicatorPopupClassName:Fe()(Io,`${Io}-${Mn}`,za),mode:ko,selectable:Yo,onClick:oo},Va,{inlineCollapsed:ti,style:Object.assign(Object.assign({},dn==null?void 0:dn.style),Yn),className:An,prefixCls:Io,direction:xn,defaultMotions:fi,expandIcon:On,ref:Ie,rootClassName:Fe()(fn,Hr)}),Mr))))});const ra=(0,ve.forwardRef)((It,Ie)=>{const De=(0,ve.useRef)(null),ft=ve.useContext(Oe.D);return(0,ve.useImperativeHandle)(Ie,()=>({menu:De.current,focus:kt=>{var jt;(jt=De.current)===null||jt===void 0||jt.focus(kt)}})),ve.createElement(ln,Object.assign({ref:De},It,ft))});ra.Item=x,ra.SubMenu=E,ra.Divider=Ke,ra.ItemGroup=le.BW;var Bn=ra},28452:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return ga}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ge=Oe,Fe=te(74643),Ze=function(ot,Yn){return ve.createElement(Fe.Z,(0,le.Z)({},ot,{ref:Yn,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(81893),Ke=te(22751),He=te(91034),et=te(94184),je=te.n(et),we=te(4942),ue=te(1413),y=te(15671),a=te(43144),x=te(60136),b=te(51630),E=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,z=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ae="".concat(E," ").concat(z).split(/[\s\n]+/),re="aria-",ne="data-";function fe(Te,ot){return Te.indexOf(ot)===0}function Se(Te){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yn;ot===!1?Yn={aria:!0,data:!0,attr:!0}:ot===!0?Yn={aria:!0}:Yn=(0,ue.Z)({},ot);var Mn={};return Object.keys(Te).forEach(function(lt){(Yn.aria&&(lt==="role"||fe(lt,re))||Yn.data&&fe(lt,ne)||Yn.attr&&ae.includes(lt))&&(Mn[lt]=Te[lt])}),Mn}var Ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},be=Ne,xe=te(81626),pe=function(Te){(0,x.Z)(Yn,Te);var ot=(0,b.Z)(Yn);function Yn(){var Mn;(0,y.Z)(this,Yn);for(var lt=arguments.length,_t=new Array(lt),ea=0;ea<lt;ea++)_t[ea]=arguments[ea];return Mn=ot.call.apply(ot,[this].concat(_t)),Mn.state={goInputText:""},Mn.getValidValue=function(){var Un=Mn.state.goInputText;return!Un||Number.isNaN(Un)?void 0:Number(Un)},Mn.buildOptionText=function(Un){return"".concat(Un," ").concat(Mn.props.locale.items_per_page)},Mn.changeSize=function(Un){Mn.props.changeSize(Number(Un))},Mn.handleChange=function(Un){Mn.setState({goInputText:Un.target.value})},Mn.handleBlur=function(Un){var ca=Mn.props,In=ca.goButton,fn=ca.quickGo,qn=ca.rootPrefixCls,cr=Mn.state.goInputText;In||cr===""||(Mn.setState({goInputText:""}),!(Un.relatedTarget&&(Un.relatedTarget.className.indexOf("".concat(qn,"-item-link"))>=0||Un.relatedTarget.className.indexOf("".concat(qn,"-item"))>=0))&&fn(Mn.getValidValue()))},Mn.go=function(Un){var ca=Mn.state.goInputText;ca!==""&&(Un.keyCode===be.ENTER||Un.type==="click")&&(Mn.setState({goInputText:""}),Mn.props.quickGo(Mn.getValidValue()))},Mn}return(0,a.Z)(Yn,[{key:"getPageSizeOptions",value:function(){var lt=this.props,_t=lt.pageSize,ea=lt.pageSizeOptions;return ea.some(function(Un){return Un.toString()===_t.toString()})?ea:ea.concat([_t.toString()]).sort(function(Un,ca){var In=Number.isNaN(Number(Un))?0:Number(Un),fn=Number.isNaN(Number(ca))?0:Number(ca);return In-fn})}},{key:"render",value:function(){var lt=this,_t=this.props,ea=_t.pageSize,Un=_t.locale,ca=_t.rootPrefixCls,In=_t.changeSize,fn=_t.quickGo,qn=_t.goButton,cr=_t.selectComponentClass,Ga=_t.buildOptionText,za=_t.selectPrefixCls,Zr=_t.disabled,Va=this.state.goInputText,Mr="".concat(ca,"-options"),oo=cr,ko=null,Yo=null,ti=null;if(!In&&!fn)return null;var fi=this.getPageSizeOptions();if(In&&oo){var Io=fi.map(function(bi,Hr){return ve.createElement(oo.Option,{key:Hr,value:bi.toString()},(Ga||lt.buildOptionText)(bi))});ko=ve.createElement(oo,{disabled:Zr,prefixCls:za,showSearch:!1,className:"".concat(Mr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ea||fi[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Hr){return Hr.parentNode},"aria-label":Un.page_size,defaultOpen:!1},Io)}return fn&&(qn&&(ti=typeof qn=="boolean"?ve.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Zr,className:"".concat(Mr,"-quick-jumper-button")},Un.jump_to_confirm):ve.createElement("span",{onClick:this.go,onKeyUp:this.go},qn)),Yo=ve.createElement("div",{className:"".concat(Mr,"-quick-jumper")},Un.jump_to,ve.createElement("input",{disabled:Zr,type:"text",value:Va,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Un.page}),Un.page,ti)),ve.createElement("li",{className:"".concat(Mr)},ko,Yo)}}]),Yn}(ve.Component);pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var st=pe,Qe=function(ot){var Yn,Mn=ot.rootPrefixCls,lt=ot.page,_t=ot.active,ea=ot.className,Un=ot.showTitle,ca=ot.onClick,In=ot.onKeyPress,fn=ot.itemRender,qn="".concat(Mn,"-item"),cr=je()(qn,"".concat(qn,"-").concat(lt),(Yn={},(0,we.Z)(Yn,"".concat(qn,"-active"),_t),(0,we.Z)(Yn,"".concat(qn,"-disabled"),!lt),(0,we.Z)(Yn,ot.className,ea),Yn)),Ga=function(){ca(lt)},za=function(Mr){In(Mr,ca,lt)},Zr=fn(lt,"page",ve.createElement("a",{rel:"nofollow"},lt));return Zr?ve.createElement("li",{title:Un?lt.toString():null,className:cr,onClick:Ga,onKeyPress:za,tabIndex:0},Zr):null},Ot=Qe;function We(){}function rt(Te){var ot=Number(Te);return typeof ot=="number"&&!Number.isNaN(ot)&&isFinite(ot)&&Math.floor(ot)===ot}var bt=function(ot,Yn,Mn){return Mn};function Kt(Te,ot,Yn){var Mn=typeof Te=="undefined"?ot.pageSize:Te;return Math.floor((Yn.total-1)/Mn)+1}var Mt=function(Te){(0,x.Z)(Yn,Te);var ot=(0,b.Z)(Yn);function Yn(Mn){var lt;(0,y.Z)(this,Yn),lt=ot.call(this,Mn),lt.paginationNode=ve.createRef(),lt.getJumpPrevPage=function(){return Math.max(1,lt.state.current-(lt.props.showLessItems?3:5))},lt.getJumpNextPage=function(){return Math.min(Kt(void 0,lt.state,lt.props),lt.state.current+(lt.props.showLessItems?3:5))},lt.getItemIcon=function(In,fn){var qn=lt.props.prefixCls,cr=In||ve.createElement("button",{type:"button","aria-label":fn,className:"".concat(qn,"-item-link")});return typeof In=="function"&&(cr=ve.createElement(In,(0,ue.Z)({},lt.props))),cr},lt.isValid=function(In){var fn=lt.props.total;return rt(In)&&In!==lt.state.current&&rt(fn)&&fn>0},lt.shouldDisplayQuickJumper=function(){var In=lt.props,fn=In.showQuickJumper,qn=In.total,cr=lt.state.pageSize;return qn<=cr?!1:fn},lt.handleKeyDown=function(In){(In.keyCode===be.ARROW_UP||In.keyCode===be.ARROW_DOWN)&&In.preventDefault()},lt.handleKeyUp=function(In){var fn=lt.getValidValue(In),qn=lt.state.currentInputValue;fn!==qn&<.setState({currentInputValue:fn}),In.keyCode===be.ENTER?lt.handleChange(fn):In.keyCode===be.ARROW_UP?lt.handleChange(fn-1):In.keyCode===be.ARROW_DOWN&<.handleChange(fn+1)},lt.handleBlur=function(In){var fn=lt.getValidValue(In);lt.handleChange(fn)},lt.changePageSize=function(In){var fn=lt.state.current,qn=Kt(In,lt.state,lt.props);fn=fn>qn?qn:fn,qn===0&&(fn=lt.state.current),typeof In=="number"&&("pageSize"in lt.props||lt.setState({pageSize:In}),"current"in lt.props||lt.setState({current:fn,currentInputValue:fn})),lt.props.onShowSizeChange(fn,In),"onChange"in lt.props&<.props.onChange&<.props.onChange(fn,In)},lt.handleChange=function(In){var fn=lt.props,qn=fn.disabled,cr=fn.onChange,Ga=lt.state,za=Ga.pageSize,Zr=Ga.current,Va=Ga.currentInputValue;if(lt.isValid(In)&&!qn){var Mr=Kt(void 0,lt.state,lt.props),oo=In;return In>Mr?oo=Mr:In<1&&(oo=1),"current"in lt.props||lt.setState({current:oo}),oo!==Va&<.setState({currentInputValue:oo}),cr(oo,za),oo}return Zr},lt.prev=function(){lt.hasPrev()&<.handleChange(lt.state.current-1)},lt.next=function(){lt.hasNext()&<.handleChange(lt.state.current+1)},lt.jumpPrev=function(){lt.handleChange(lt.getJumpPrevPage())},lt.jumpNext=function(){lt.handleChange(lt.getJumpNextPage())},lt.hasPrev=function(){return lt.state.current>1},lt.hasNext=function(){return lt.state.current<Kt(void 0,lt.state,lt.props)},lt.runIfEnter=function(In,fn){if(In.key==="Enter"||In.charCode===13){for(var qn=arguments.length,cr=new Array(qn>2?qn-2:0),Ga=2;Ga<qn;Ga++)cr[Ga-2]=arguments[Ga];fn.apply(void 0,cr)}},lt.runIfEnterPrev=function(In){lt.runIfEnter(In,lt.prev)},lt.runIfEnterNext=function(In){lt.runIfEnter(In,lt.next)},lt.runIfEnterJumpPrev=function(In){lt.runIfEnter(In,lt.jumpPrev)},lt.runIfEnterJumpNext=function(In){lt.runIfEnter(In,lt.jumpNext)},lt.handleGoTO=function(In){(In.keyCode===be.ENTER||In.type==="click")&<.handleChange(lt.state.currentInputValue)},lt.renderPrev=function(In){var fn=lt.props,qn=fn.prevIcon,cr=fn.itemRender,Ga=cr(In,"prev",lt.getItemIcon(qn,"prev page")),za=!lt.hasPrev();return(0,ve.isValidElement)(Ga)?(0,ve.cloneElement)(Ga,{disabled:za}):Ga},lt.renderNext=function(In){var fn=lt.props,qn=fn.nextIcon,cr=fn.itemRender,Ga=cr(In,"next",lt.getItemIcon(qn,"next page")),za=!lt.hasNext();return(0,ve.isValidElement)(Ga)?(0,ve.cloneElement)(Ga,{disabled:za}):Ga};var _t=Mn.onChange!==We,ea="current"in Mn;ea&&!_t&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Un=Mn.defaultCurrent;"current"in Mn&&(Un=Mn.current);var ca=Mn.defaultPageSize;return"pageSize"in Mn&&(ca=Mn.pageSize),Un=Math.min(Un,Kt(ca,void 0,Mn)),lt.state={current:Un,currentInputValue:Un,pageSize:ca},lt}return(0,a.Z)(Yn,[{key:"componentDidUpdate",value:function(lt,_t){var ea=this.props.prefixCls;if(_t.current!==this.state.current&&this.paginationNode.current){var Un=this.paginationNode.current.querySelector(".".concat(ea,"-item-").concat(_t.current));if(Un&&document.activeElement===Un){var ca;Un==null||(ca=Un.blur)===null||ca===void 0||ca.call(Un)}}}},{key:"getValidValue",value:function(lt){var _t=lt.target.value,ea=Kt(void 0,this.state,this.props),Un=this.state.currentInputValue,ca;return _t===""?ca=_t:Number.isNaN(Number(_t))?ca=Un:_t>=ea?ca=ea:ca=Number(_t),ca}},{key:"getShowSizeChanger",value:function(){var lt=this.props,_t=lt.showSizeChanger,ea=lt.total,Un=lt.totalBoundaryShowSizeChanger;return typeof _t!="undefined"?_t:ea>Un}},{key:"render",value:function(){var lt=this.props,_t=lt.prefixCls,ea=lt.className,Un=lt.style,ca=lt.disabled,In=lt.hideOnSinglePage,fn=lt.total,qn=lt.locale,cr=lt.showQuickJumper,Ga=lt.showLessItems,za=lt.showTitle,Zr=lt.showTotal,Va=lt.simple,Mr=lt.itemRender,oo=lt.showPrevNextJumpers,ko=lt.jumpPrevIcon,Yo=lt.jumpNextIcon,ti=lt.selectComponentClass,fi=lt.selectPrefixCls,Io=lt.pageSizeOptions,bi=this.state,Hr=bi.current,An=bi.pageSize,On=bi.currentInputValue;if(In===!0&&fn<=An)return null;var bn=Kt(void 0,this.state,this.props),wn=[],Ja=null,Nr=null,Rn=null,nt=null,dt=null,_e=cr&&cr.goButton,Zt=Ga?1:2,hn=Hr-1>0?Hr-1:0,Hn=Hr+1<bn?Hr+1:bn,La=Se(this.props,{aria:!0,data:!0}),Jn=Zr&&ve.createElement("li",{className:"".concat(_t,"-total-text")},Zr(fn,[fn===0?0:(Hr-1)*An+1,Hr*An>fn?fn:Hr*An]));if(Va){_e&&(typeof _e=="boolean"?dt=ve.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},qn.jump_to_confirm):dt=ve.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_e),dt=ve.createElement("li",{title:za?"".concat(qn.jump_to).concat(Hr,"/").concat(bn):null,className:"".concat(_t,"-simple-pager")},dt));var Nn=this.renderPrev(hn);return ve.createElement("ul",(0,le.Z)({className:je()(_t,"".concat(_t,"-simple"),(0,we.Z)({},"".concat(_t,"-disabled"),ca),ea),style:Un,ref:this.paginationNode},La),Jn,Nn?ve.createElement("li",{title:za?qn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:je()("".concat(_t,"-prev"),(0,we.Z)({},"".concat(_t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Nn):null,ve.createElement("li",{title:za?"".concat(Hr,"/").concat(bn):null,className:"".concat(_t,"-simple-pager")},ve.createElement("input",{type:"text",value:On,disabled:ca,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ve.createElement("span",{className:"".concat(_t,"-slash")},"/"),bn),ve.createElement("li",{title:za?qn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:je()("".concat(_t,"-next"),(0,we.Z)({},"".concat(_t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Hn)),dt)}if(bn<=3+Zt*2){var va={locale:qn,rootPrefixCls:_t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:za,itemRender:Mr};bn||wn.push(ve.createElement(Ot,(0,le.Z)({},va,{key:"noPager",page:1,className:"".concat(_t,"-item-disabled")})));for(var fo=1;fo<=bn;fo+=1){var Cn=Hr===fo;wn.push(ve.createElement(Ot,(0,le.Z)({},va,{key:fo,page:fo,active:Cn})))}}else{var $r=Ga?qn.prev_3:qn.prev_5,Qo=Ga?qn.next_3:qn.next_5,Qi=Mr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ko,"prev page")),Jo=Mr(this.getJumpNextPage(),"jump-next",this.getItemIcon(Yo,"next page"));oo&&(Ja=Qi?ve.createElement("li",{title:za?$r:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:je()("".concat(_t,"-jump-prev"),(0,we.Z)({},"".concat(_t,"-jump-prev-custom-icon"),!!ko))},Qi):null,Nr=Jo?ve.createElement("li",{title:za?Qo:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:je()("".concat(_t,"-jump-next"),(0,we.Z)({},"".concat(_t,"-jump-next-custom-icon"),!!Yo))},Jo):null),nt=ve.createElement(Ot,{locale:qn,last:!0,rootPrefixCls:_t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:bn,page:bn,active:!1,showTitle:za,itemRender:Mr}),Rn=ve.createElement(Ot,{locale:qn,rootPrefixCls:_t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:za,itemRender:Mr});var wo=Math.max(1,Hr-Zt),gl=Math.min(Hr+Zt,bn);Hr-1<=Zt&&(gl=1+Zt*2),bn-Hr<=Zt&&(wo=bn-Zt*2);for(var br=wo;br<=gl;br+=1){var Pl=Hr===br;wn.push(ve.createElement(Ot,{locale:qn,rootPrefixCls:_t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:br,page:br,active:Pl,showTitle:za,itemRender:Mr}))}Hr-1>=Zt*2&&Hr!==3&&(wn[0]=(0,ve.cloneElement)(wn[0],{className:"".concat(_t,"-item-after-jump-prev")}),wn.unshift(Ja)),bn-Hr>=Zt*2&&Hr!==bn-2&&(wn[wn.length-1]=(0,ve.cloneElement)(wn[wn.length-1],{className:"".concat(_t,"-item-before-jump-next")}),wn.push(Nr)),wo!==1&&wn.unshift(Rn),gl!==bn&&wn.push(nt)}var ol=!this.hasPrev()||!bn,Ii=!this.hasNext()||!bn,mi=this.renderPrev(hn),tl=this.renderNext(Hn);return ve.createElement("ul",(0,le.Z)({className:je()(_t,ea,(0,we.Z)({},"".concat(_t,"-disabled"),ca)),style:Un,ref:this.paginationNode},La),Jn,mi?ve.createElement("li",{title:za?qn.prev_page:null,onClick:this.prev,tabIndex:ol?null:0,onKeyPress:this.runIfEnterPrev,className:je()("".concat(_t,"-prev"),(0,we.Z)({},"".concat(_t,"-disabled"),ol)),"aria-disabled":ol},mi):null,wn,tl?ve.createElement("li",{title:za?qn.next_page:null,onClick:this.next,tabIndex:Ii?null:0,onKeyPress:this.runIfEnterNext,className:je()("".concat(_t,"-next"),(0,we.Z)({},"".concat(_t,"-disabled"),Ii)),"aria-disabled":Ii},tl):null,ve.createElement(st,{disabled:ca,locale:qn,rootPrefixCls:_t,selectComponentClass:ti,selectPrefixCls:fi,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Hr,pageSize:An,pageSizeOptions:Io,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_e}))}}],[{key:"getDerivedStateFromProps",value:function(lt,_t){var ea={};if("current"in lt&&(ea.current=lt.current,lt.current!==_t.current&&(ea.currentInputValue=ea.current)),"pageSize"in lt&<.pageSize!==_t.pageSize){var Un=_t.current,ca=Kt(lt.pageSize,_t,lt);Un=Un>ca?ca:Un,"current"in lt||(ea.current=Un,ea.currentInputValue=Un),ea.pageSize=lt.pageSize}return ea}}]),Yn}(ve.Component);Mt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:We,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:We,locale:xe.Z,style:{},itemRender:bt,totalBoundaryShowSizeChanger:50};var ht=Mt,Ft=te(62906),Wt=te(53124),nn=te(98675),Ve=te(25378),Pt=te(10110),Dt=te(42563);const En=Te=>ve.createElement(Dt.default,Object.assign({},Te,{showSearch:!0,size:"small"})),at=Te=>ve.createElement(Dt.default,Object.assign({},Te,{showSearch:!0,size:"middle"}));En.Option=Dt.default.Option,at.Option=Dt.default.Option;var Lt=te(47673),Ce=te(14747),on=te(67968),ln=te(45503);const ra=Te=>{const{componentCls:ot}=Te;return{[`${ot}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ot}-item-link`]:{color:Te.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ot}-item-link`]:{color:Te.colorTextDisabled,cursor:"not-allowed"}}},[`&${ot}-disabled`]:{cursor:"not-allowed",[`${ot}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Te.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Te.colorBorder,backgroundColor:Te.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Te.itemActiveBgDisabled},a:{color:Te.itemActiveColorDisabled}}},[`${ot}-item-link`]:{color:Te.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ot}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ot}-simple-pager`]:{color:Te.colorTextDisabled},[`${ot}-jump-prev, ${ot}-jump-next`]:{[`${ot}-item-link-icon`]:{opacity:0},[`${ot}-item-ellipsis`]:{opacity:1}}},[`&${ot}-simple`]:{[`${ot}-prev, ${ot}-next`]:{[`&${ot}-disabled ${ot}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Bn=Te=>{const{componentCls:ot}=Te;return{[`&${ot}-mini ${ot}-total-text, &${ot}-mini ${ot}-simple-pager`]:{height:Te.itemSizeSM,lineHeight:`${Te.itemSizeSM}px`},[`&${ot}-mini ${ot}-item`]:{minWidth:Te.itemSizeSM,height:Te.itemSizeSM,margin:0,lineHeight:`${Te.itemSizeSM-2}px`},[`&${ot}-mini:not(${ot}-disabled) ${ot}-item:not(${ot}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Te.colorBgTextHover},"&:active":{backgroundColor:Te.colorBgTextActive}},[`&${ot}-mini ${ot}-prev, &${ot}-mini ${ot}-next`]:{minWidth:Te.itemSizeSM,height:Te.itemSizeSM,margin:0,lineHeight:`${Te.itemSizeSM}px`},[`&${ot}-mini:not(${ot}-disabled)`]:{[`${ot}-prev, ${ot}-next`]:{[`&:hover ${ot}-item-link`]:{backgroundColor:Te.colorBgTextHover},[`&:active ${ot}-item-link`]:{backgroundColor:Te.colorBgTextActive},[`&${ot}-disabled:hover ${ot}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${ot}-mini ${ot}-prev ${ot}-item-link,
|
|
&${ot}-mini ${ot}-next ${ot}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Te.itemSizeSM,lineHeight:`${Te.itemSizeSM}px`}},[`&${ot}-mini ${ot}-jump-prev, &${ot}-mini ${ot}-jump-next`]:{height:Te.itemSizeSM,marginInlineEnd:0,lineHeight:`${Te.itemSizeSM}px`},[`&${ot}-mini ${ot}-options`]:{marginInlineStart:Te.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Te.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Te.itemSizeSM,lineHeight:`${Te.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Lt.x0)(Te)),{width:Te.paginationMiniQuickJumperInputWidth,height:Te.controlHeightSM})}}}},It=Te=>{const{componentCls:ot}=Te;return{[`
|
|
&${ot}-simple ${ot}-prev,
|
|
&${ot}-simple ${ot}-next
|
|
`]:{height:Te.itemSizeSM,lineHeight:`${Te.itemSizeSM}px`,verticalAlign:"top",[`${ot}-item-link`]:{height:Te.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Te.colorBgTextHover},"&:active":{backgroundColor:Te.colorBgTextActive},"&::after":{height:Te.itemSizeSM,lineHeight:`${Te.itemSizeSM}px`}}},[`&${ot}-simple ${ot}-simple-pager`]:{display:"inline-block",height:Te.itemSizeSM,marginInlineEnd:Te.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Te.marginXS,padding:`0 ${Te.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Te.itemInputBg,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadius,outline:"none",transition:`border-color ${Te.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Te.colorPrimary},"&:focus":{borderColor:Te.colorPrimaryHover,boxShadow:`${Te.inputOutlineOffset}px 0 ${Te.controlOutlineWidth}px ${Te.controlOutline}`},"&[disabled]":{color:Te.colorTextDisabled,backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,cursor:"not-allowed"}}}}},Ie=Te=>{const{componentCls:ot}=Te;return{[`${ot}-jump-prev, ${ot}-jump-next`]:{outline:0,[`${ot}-item-container`]:{position:"relative",[`${ot}-item-link-icon`]:{color:Te.colorPrimary,fontSize:Te.fontSizeSM,opacity:0,transition:`all ${Te.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ot}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Te.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Te.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Te.paginationEllipsisTextIndent,opacity:1,transition:`all ${Te.motionDurationMid}`}},"&:hover":{[`${ot}-item-link-icon`]:{opacity:1},[`${ot}-item-ellipsis`]:{opacity:0}}},[`
|
|
${ot}-prev,
|
|
${ot}-jump-prev,
|
|
${ot}-jump-next
|
|
`]:{marginInlineEnd:Te.marginXS},[`
|
|
${ot}-prev,
|
|
${ot}-next,
|
|
${ot}-jump-prev,
|
|
${ot}-jump-next
|
|
`]:{display:"inline-block",minWidth:Te.itemSize,height:Te.itemSize,color:Te.colorText,fontFamily:Te.fontFamily,lineHeight:`${Te.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Te.borderRadius,cursor:"pointer",transition:`all ${Te.motionDurationMid}`},[`${ot}-prev, ${ot}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Te.colorText,cursor:"pointer",userSelect:"none"},[`${ot}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Te.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Te.lineWidth}px ${Te.lineType} transparent`,borderRadius:Te.borderRadius,outline:"none",transition:`all ${Te.motionDurationMid}`},[`&:hover ${ot}-item-link`]:{backgroundColor:Te.colorBgTextHover},[`&:active ${ot}-item-link`]:{backgroundColor:Te.colorBgTextActive},[`&${ot}-disabled:hover`]:{[`${ot}-item-link`]:{backgroundColor:"transparent"}}},[`${ot}-slash`]:{marginInlineEnd:Te.paginationSlashMarginInlineEnd,marginInlineStart:Te.paginationSlashMarginInlineStart},[`${ot}-options`]:{display:"inline-block",marginInlineStart:Te.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Te.controlHeight,marginInlineStart:Te.marginXS,lineHeight:`${Te.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Lt.ik)(Te)),{width:Te.controlHeightLG*1.25,height:Te.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Te.marginXS,marginInlineEnd:Te.marginXS})}}}},De=Te=>{const{componentCls:ot}=Te;return{[`${ot}-item`]:{display:"inline-block",minWidth:Te.itemSize,height:Te.itemSize,marginInlineEnd:Te.marginXS,fontFamily:Te.fontFamily,lineHeight:`${Te.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Te.lineWidth}px ${Te.lineType} transparent`,borderRadius:Te.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Te.paginationItemPaddingInline}px`,color:Te.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ot}-item-active)`]:{"&:hover":{transition:`all ${Te.motionDurationMid}`,backgroundColor:Te.colorBgTextHover},"&:active":{backgroundColor:Te.colorBgTextActive}},"&-active":{fontWeight:Te.fontWeightStrong,backgroundColor:Te.itemActiveBg,borderColor:Te.colorPrimary,a:{color:Te.colorPrimary},"&:hover":{borderColor:Te.colorPrimaryHover},"&:hover a":{color:Te.colorPrimaryHover}}}}},ft=Te=>{const{componentCls:ot}=Te;return{[ot]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(Te)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ot}-total-text`]:{display:"inline-block",height:Te.itemSize,marginInlineEnd:Te.marginXS,lineHeight:`${Te.itemSize-2}px`,verticalAlign:"middle"}}),De(Te)),Ie(Te)),It(Te)),Bn(Te)),ra(Te)),{[`@media only screen and (max-width: ${Te.screenLG}px)`]:{[`${ot}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Te.screenSM}px)`]:{[`${ot}-options`]:{display:"none"}}}),[`&${Te.componentCls}-rtl`]:{direction:"rtl"}}},kt=Te=>{const{componentCls:ot}=Te;return{[`${ot}${ot}-disabled:not(${ot}-mini)`]:{"&, &:hover":{[`${ot}-item-link`]:{borderColor:Te.colorBorder}},"&:focus-visible":{[`${ot}-item-link`]:{borderColor:Te.colorBorder}},[`${ot}-item, ${ot}-item-link`]:{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,[`&:hover:not(${ot}-item-active)`]:{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,a:{color:Te.colorTextDisabled}},[`&${ot}-item-active`]:{backgroundColor:Te.itemActiveBgDisabled}},[`${ot}-prev, ${ot}-next`]:{"&:hover button":{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,color:Te.colorTextDisabled},[`${ot}-item-link`]:{backgroundColor:Te.colorBgContainerDisabled,borderColor:Te.colorBorder}}},[`${ot}:not(${ot}-mini)`]:{[`${ot}-prev, ${ot}-next`]:{"&:hover button":{borderColor:Te.colorPrimaryHover,backgroundColor:Te.itemBg},[`${ot}-item-link`]:{backgroundColor:Te.itemLinkBg,borderColor:Te.colorBorder},[`&:hover ${ot}-item-link`]:{borderColor:Te.colorPrimary,backgroundColor:Te.itemBg,color:Te.colorPrimary},[`&${ot}-disabled`]:{[`${ot}-item-link`]:{borderColor:Te.colorBorder,color:Te.colorTextDisabled}}},[`${ot}-item`]:{backgroundColor:Te.itemBg,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,[`&:hover:not(${ot}-item-active)`]:{borderColor:Te.colorPrimary,backgroundColor:Te.itemBg,a:{color:Te.colorPrimary}},"&-active":{borderColor:Te.colorPrimary}}}}},jt=Te=>{const{componentCls:ot}=Te;return{[`${ot}:not(${ot}-disabled)`]:{[`${ot}-item`]:Object.assign({},(0,Ce.Qy)(Te)),[`${ot}-jump-prev, ${ot}-jump-next`]:{"&:focus-visible":Object.assign({[`${ot}-item-link-icon`]:{opacity:1},[`${ot}-item-ellipsis`]:{opacity:0}},(0,Ce.oN)(Te))},[`${ot}-prev, ${ot}-next`]:{[`&:focus-visible ${ot}-item-link`]:Object.assign({},(0,Ce.oN)(Te))}}}};var gn=(0,on.Z)("Pagination",Te=>{const ot=(0,ln.TS)(Te,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Te.marginXXS/2,paginationMiniQuickJumperInputWidth:Te.controlHeightLG*1.1,paginationItemPaddingInline:Te.marginXXS*1.5,paginationEllipsisLetterSpacing:Te.marginXXS/2,paginationSlashMarginInlineStart:Te.marginXXS,paginationSlashMarginInlineEnd:Te.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Lt.e5)(Te),(0,Lt.TM)(Te));return[ft(ot),jt(ot),Te.wireframe&&kt(ot)]},Te=>({itemBg:Te.colorBgContainer,itemSize:Te.controlHeight,itemSizeSM:Te.controlHeightSM,itemActiveBg:Te.colorBgContainer,itemLinkBg:Te.colorBgContainer,itemActiveColorDisabled:Te.colorTextDisabled,itemActiveBgDisabled:Te.controlItemBgActiveDisabled,itemInputBg:Te.colorBgContainer,miniOptionsSizeChangerTop:0})),tn=function(Te,ot){var Yn={};for(var Mn in Te)Object.prototype.hasOwnProperty.call(Te,Mn)&&ot.indexOf(Mn)<0&&(Yn[Mn]=Te[Mn]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Mn=Object.getOwnPropertySymbols(Te);lt<Mn.length;lt++)ot.indexOf(Mn[lt])<0&&Object.prototype.propertyIsEnumerable.call(Te,Mn[lt])&&(Yn[Mn[lt]]=Te[Mn[lt]]);return Yn},dn=Te=>{const{prefixCls:ot,selectPrefixCls:Yn,className:Mn,rootClassName:lt,style:_t,size:ea,locale:Un,selectComponentClass:ca,responsive:In,showSizeChanger:fn}=Te,qn=tn(Te,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:cr}=(0,Ve.Z)(In),{getPrefixCls:Ga,direction:za,pagination:Zr={}}=ve.useContext(Wt.E_),Va=Ga("pagination",ot),[Mr,oo]=gn(Va),ko=fn!=null?fn:Zr.showSizeChanger,Yo=ve.useMemo(()=>{const bn=ve.createElement("span",{className:`${Va}-item-ellipsis`},"\u2022\u2022\u2022"),wn=ve.createElement("button",{className:`${Va}-item-link`,type:"button",tabIndex:-1},za==="rtl"?ve.createElement(He.Z,null):ve.createElement(Ke.Z,null)),Ja=ve.createElement("button",{className:`${Va}-item-link`,type:"button",tabIndex:-1},za==="rtl"?ve.createElement(Ke.Z,null):ve.createElement(He.Z,null)),Nr=ve.createElement("a",{className:`${Va}-item-link`},ve.createElement("div",{className:`${Va}-item-container`},za==="rtl"?ve.createElement(ze.Z,{className:`${Va}-item-link-icon`}):ve.createElement(de,{className:`${Va}-item-link-icon`}),bn)),Rn=ve.createElement("a",{className:`${Va}-item-link`},ve.createElement("div",{className:`${Va}-item-container`},za==="rtl"?ve.createElement(de,{className:`${Va}-item-link-icon`}):ve.createElement(ze.Z,{className:`${Va}-item-link-icon`}),bn));return{prevIcon:wn,nextIcon:Ja,jumpPrevIcon:Nr,jumpNextIcon:Rn}},[za,Va]),[ti]=(0,Pt.Z)("Pagination",Ft.Z),fi=Object.assign(Object.assign({},ti),Un),Io=(0,nn.Z)(ea),bi=Io==="small"||!!(cr&&!Io&&In),Hr=Ga("select",Yn),An=je()({[`${Va}-mini`]:bi,[`${Va}-rtl`]:za==="rtl"},Zr==null?void 0:Zr.className,Mn,lt,oo),On=Object.assign(Object.assign({},Zr==null?void 0:Zr.style),_t);return Mr(ve.createElement(ht,Object.assign({},Yo,qn,{style:On,prefixCls:Va,selectPrefixCls:Hr,className:An,selectComponentClass:ca||(bi?En:at),locale:fi,showSizeChanger:ko})))},ga=dn},12604:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return Mt}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ge=Oe,Fe=te(74643),Ze=function(Ft,Wt){return ve.createElement(Fe.Z,(0,le.Z)({},Ft,{ref:Wt,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(94184),Ke=te.n(ze),He=te(4942),et=te(97685),je=te(45987),we=te(21770),ue=te(15105),y=te(64217);function a(ht,Ft){var Wt=ht.disabled,nn=ht.prefixCls,Ve=ht.character,Pt=ht.characterRender,Dt=ht.index,En=ht.count,at=ht.value,Lt=ht.allowHalf,Ce=ht.focused,on=ht.onHover,ln=ht.onClick,ra=function(gn){on(gn,Dt)},Bn=function(gn){ln(gn,Dt)},It=function(gn){gn.keyCode===ue.Z.ENTER&&ln(gn,Dt)},Ie=Dt+1,De=new Set([nn]);at===0&&Dt===0&&Ce?De.add("".concat(nn,"-focused")):Lt&&at+.5>=Ie&&at<Ie?(De.add("".concat(nn,"-half")),De.add("".concat(nn,"-active")),Ce&&De.add("".concat(nn,"-focused"))):(Ie<=at?De.add("".concat(nn,"-full")):De.add("".concat(nn,"-zero")),Ie===at&&Ce&&De.add("".concat(nn,"-focused")));var ft=typeof Ve=="function"?Ve(ht):Ve,kt=ve.createElement("li",{className:Ke()(Array.from(De)),ref:Ft},ve.createElement("div",{onClick:Wt?null:Bn,onKeyDown:Wt?null:It,onMouseMove:Wt?null:ra,role:"radio","aria-checked":at>Dt?"true":"false","aria-posinset":Dt+1,"aria-setsize":En,tabIndex:Wt?-1:0},ve.createElement("div",{className:"".concat(nn,"-first")},ft),ve.createElement("div",{className:"".concat(nn,"-second")},ft)));return Pt&&(kt=Pt(kt,ht)),kt}var x=ve.forwardRef(a);function b(){var ht=ve.useRef({});function Ft(nn){return ht.current[nn]}function Wt(nn){return function(Ve){ht.current[nn]=Ve}}return[Ft,Wt]}function E(ht){var Ft=ht.pageXOffset,Wt="scrollLeft";if(typeof Ft!="number"){var nn=ht.document;Ft=nn.documentElement[Wt],typeof Ft!="number"&&(Ft=nn.body[Wt])}return Ft}function z(ht){var Ft,Wt,nn=ht.ownerDocument,Ve=nn.body,Pt=nn&&nn.documentElement,Dt=ht.getBoundingClientRect();return Ft=Dt.left,Wt=Dt.top,Ft-=Pt.clientLeft||Ve.clientLeft||0,Wt-=Pt.clientTop||Ve.clientTop||0,{left:Ft,top:Wt}}function ae(ht){var Ft=z(ht),Wt=ht.ownerDocument,nn=Wt.defaultView||Wt.parentWindow;return Ft.left+=E(nn),Ft.left}var re=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ne(ht,Ft){var Wt,nn=ht.prefixCls,Ve=nn===void 0?"rc-rate":nn,Pt=ht.className,Dt=ht.defaultValue,En=ht.value,at=ht.count,Lt=at===void 0?5:at,Ce=ht.allowHalf,on=Ce===void 0?!1:Ce,ln=ht.allowClear,ra=ln===void 0?!0:ln,Bn=ht.character,It=Bn===void 0?"\u2605":Bn,Ie=ht.characterRender,De=ht.disabled,ft=ht.direction,kt=ft===void 0?"ltr":ft,jt=ht.tabIndex,gn=jt===void 0?0:jt,tn=ht.autoFocus,xn=ht.onHoverChange,dn=ht.onChange,ga=ht.onFocus,Te=ht.onBlur,ot=ht.onKeyDown,Yn=ht.onMouseLeave,Mn=(0,je.Z)(ht,re),lt=b(),_t=(0,et.Z)(lt,2),ea=_t[0],Un=_t[1],ca=ve.useRef(null),In=function(){if(!De){var hn;(hn=ca.current)===null||hn===void 0||hn.focus()}};ve.useImperativeHandle(Ft,function(){return{focus:In,blur:function(){if(!De){var hn;(hn=ca.current)===null||hn===void 0||hn.blur()}}}});var fn=(0,we.Z)(Dt||0,{value:En}),qn=(0,et.Z)(fn,2),cr=qn[0],Ga=qn[1],za=(0,we.Z)(null),Zr=(0,et.Z)(za,2),Va=Zr[0],Mr=Zr[1],oo=function(hn,Hn){var La=kt==="rtl",Jn=hn+1;if(on){var Nn=ea(hn),va=ae(Nn),fo=Nn.clientWidth;(La&&Hn-va>fo/2||!La&&Hn-va<fo/2)&&(Jn-=.5)}return Jn},ko=function(hn){Ga(hn),dn==null||dn(hn)},Yo=ve.useState(!1),ti=(0,et.Z)(Yo,2),fi=ti[0],Io=ti[1],bi=function(){Io(!0),ga==null||ga()},Hr=function(){Io(!1),Te==null||Te()},An=ve.useState(null),On=(0,et.Z)(An,2),bn=On[0],wn=On[1],Ja=function(hn,Hn){var La=oo(Hn,hn.pageX);La!==Va&&(wn(La),Mr(null)),xn==null||xn(La)},Nr=function(hn){De||(wn(null),Mr(null),xn==null||xn(void 0)),hn&&(Yn==null||Yn(hn))},Rn=function(hn,Hn){var La=oo(Hn,hn.pageX),Jn=!1;ra&&(Jn=La===cr),Nr(),ko(Jn?0:La),Mr(Jn?La:null)},nt=function(hn){var Hn=hn.keyCode,La=kt==="rtl",Jn=cr;Hn===ue.Z.RIGHT&&Jn<Lt&&!La?(on?Jn+=.5:Jn+=1,ko(Jn),hn.preventDefault()):Hn===ue.Z.LEFT&&Jn>0&&!La||Hn===ue.Z.RIGHT&&Jn>0&&La?(on?Jn-=.5:Jn-=1,ko(Jn),hn.preventDefault()):Hn===ue.Z.LEFT&&Jn<Lt&&La&&(on?Jn+=.5:Jn+=1,ko(Jn),hn.preventDefault()),ot==null||ot(hn)};ve.useEffect(function(){tn&&!De&&In()},[]);var dt=new Array(Lt).fill(0).map(function(Zt,hn){return ve.createElement(x,{ref:Un(hn),index:hn,count:Lt,disabled:De,prefixCls:"".concat(Ve,"-star"),allowHalf:on,value:bn===null?cr:bn,onClick:Rn,onHover:Ja,key:Zt||hn,character:It,characterRender:Ie,focused:fi})}),_e=Ke()(Ve,Pt,(Wt={},(0,He.Z)(Wt,"".concat(Ve,"-disabled"),De),(0,He.Z)(Wt,"".concat(Ve,"-rtl"),kt==="rtl"),Wt));return ve.createElement("ul",(0,le.Z)({className:_e,onMouseLeave:Nr,tabIndex:De?-1:gn,onFocus:De?null:bi,onBlur:De?null:Hr,onKeyDown:De?null:nt,ref:ca,role:"radiogroup"},(0,y.Z)(Mn,{aria:!0,data:!0,attr:!0})),dt)}var fe=ve.forwardRef(ne),Se=fe,Ne=te(53124),be=te(83062),xe=te(14747),pe=te(67968),st=te(45503);const Qe=ht=>{const{componentCls:Ft}=ht;return{[`${Ft}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ht.marginXS},"> div":{transition:`all ${ht.motionDurationMid}, outline 0s`,"&:hover":{transform:ht.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${ht.lineWidth}px dashed ${ht.starColor}`,transform:ht.starHoverScale}},"&-first, &-second":{color:ht.starBg,transition:`all ${ht.motionDurationMid}`,userSelect:"none",[ht.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ft}-star-first, &-half ${Ft}-star-second`]:{opacity:1},[`&-half ${Ft}-star-first, &-full ${Ft}-star-second`]:{color:"inherit"}}}},Ot=ht=>({[`&-rtl${ht.componentCls}`]:{direction:"rtl"}}),We=ht=>{const{componentCls:Ft}=ht;return{[Ft]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(ht)),{display:"inline-block",margin:0,padding:0,color:ht.starColor,fontSize:ht.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Ft} ${Ft}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Qe(ht)),{[`+ ${Ft}-text`]:{display:"inline-block",marginInlineStart:ht.marginXS,fontSize:ht.fontSize}}),Ot(ht))}};var rt=(0,pe.Z)("Rate",ht=>{const Ft=(0,st.TS)(ht,{});return[We(Ft)]},ht=>({starColor:ht.yellow6,starSize:ht.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ht.colorFillContent})),bt=function(ht,Ft){var Wt={};for(var nn in ht)Object.prototype.hasOwnProperty.call(ht,nn)&&Ft.indexOf(nn)<0&&(Wt[nn]=ht[nn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,nn=Object.getOwnPropertySymbols(ht);Ve<nn.length;Ve++)Ft.indexOf(nn[Ve])<0&&Object.prototype.propertyIsEnumerable.call(ht,nn[Ve])&&(Wt[nn[Ve]]=ht[nn[Ve]]);return Wt},Mt=ve.forwardRef((ht,Ft)=>{const{prefixCls:Wt,className:nn,rootClassName:Ve,style:Pt,tooltips:Dt,character:En=ve.createElement(de,null)}=ht,at=bt(ht,["prefixCls","className","rootClassName","style","tooltips","character"]),Lt=(De,ft)=>{let{index:kt}=ft;return Dt?ve.createElement(be.Z,{title:Dt[kt]},De):De},{getPrefixCls:Ce,direction:on,rate:ln}=ve.useContext(Ne.E_),ra=Ce("rate",Wt),[Bn,It]=rt(ra),Ie=Object.assign(Object.assign({},ln==null?void 0:ln.style),Pt);return Bn(ve.createElement(Se,Object.assign({ref:Ft,character:En,characterRender:Lt},at,{className:Ke()(nn,Ve,It,ln==null?void 0:ln.className),style:Ie,prefixCls:ra,direction:on})))})},46303:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return It}});var le=te(94184),ve=te.n(le),Oe=te(67294),Ge=te(53124),Fe=te(10366),de=Ie=>{const{prefixCls:De,className:ft,style:kt,size:jt,shape:gn}=Ie,tn=ve()({[`${De}-lg`]:jt==="large",[`${De}-sm`]:jt==="small"}),xn=ve()({[`${De}-circle`]:gn==="circle",[`${De}-square`]:gn==="square",[`${De}-round`]:gn==="round"}),dn=Oe.useMemo(()=>typeof jt=="number"?{width:jt,height:jt,lineHeight:`${jt}px`}:{},[jt]);return Oe.createElement("span",{className:ve()(De,tn,xn,ft),style:Object.assign(Object.assign({},dn),kt)})},ze=te(45930),Ke=te(67968),He=te(45503);const et=new ze.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),je=Ie=>({height:Ie,lineHeight:`${Ie}px`}),we=Ie=>Object.assign({width:Ie},je(Ie)),ue=Ie=>({background:Ie.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:et,animationDuration:Ie.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Ie=>Object.assign({width:Ie*5,minWidth:Ie*5},je(Ie)),a=Ie=>{const{skeletonAvatarCls:De,gradientFromColor:ft,controlHeight:kt,controlHeightLG:jt,controlHeightSM:gn}=Ie;return{[`${De}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ft},we(kt)),[`${De}${De}-circle`]:{borderRadius:"50%"},[`${De}${De}-lg`]:Object.assign({},we(jt)),[`${De}${De}-sm`]:Object.assign({},we(gn))}},x=Ie=>{const{controlHeight:De,borderRadiusSM:ft,skeletonInputCls:kt,controlHeightLG:jt,controlHeightSM:gn,gradientFromColor:tn}=Ie;return{[`${kt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:tn,borderRadius:ft},y(De)),[`${kt}-lg`]:Object.assign({},y(jt)),[`${kt}-sm`]:Object.assign({},y(gn))}},b=Ie=>Object.assign({width:Ie},je(Ie)),E=Ie=>{const{skeletonImageCls:De,imageSizeBase:ft,gradientFromColor:kt,borderRadiusSM:jt}=Ie;return{[`${De}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:kt,borderRadius:jt},b(ft*2)),{[`${De}-path`]:{fill:"#bfbfbf"},[`${De}-svg`]:Object.assign(Object.assign({},b(ft)),{maxWidth:ft*4,maxHeight:ft*4}),[`${De}-svg${De}-svg-circle`]:{borderRadius:"50%"}}),[`${De}${De}-circle`]:{borderRadius:"50%"}}},z=(Ie,De,ft)=>{const{skeletonButtonCls:kt}=Ie;return{[`${ft}${kt}-circle`]:{width:De,minWidth:De,borderRadius:"50%"},[`${ft}${kt}-round`]:{borderRadius:De}}},ae=Ie=>Object.assign({width:Ie*2,minWidth:Ie*2},je(Ie)),re=Ie=>{const{borderRadiusSM:De,skeletonButtonCls:ft,controlHeight:kt,controlHeightLG:jt,controlHeightSM:gn,gradientFromColor:tn}=Ie;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ft}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:tn,borderRadius:De,width:kt*2,minWidth:kt*2},ae(kt))},z(Ie,kt,ft)),{[`${ft}-lg`]:Object.assign({},ae(jt))}),z(Ie,jt,`${ft}-lg`)),{[`${ft}-sm`]:Object.assign({},ae(gn))}),z(Ie,gn,`${ft}-sm`))},ne=Ie=>{const{componentCls:De,skeletonAvatarCls:ft,skeletonTitleCls:kt,skeletonParagraphCls:jt,skeletonButtonCls:gn,skeletonInputCls:tn,skeletonImageCls:xn,controlHeight:dn,controlHeightLG:ga,controlHeightSM:Te,gradientFromColor:ot,padding:Yn,marginSM:Mn,borderRadius:lt,titleHeight:_t,blockRadius:ea,paragraphLiHeight:Un,controlHeightXS:ca,paragraphMarginTop:In}=Ie;return{[`${De}`]:{display:"table",width:"100%",[`${De}-header`]:{display:"table-cell",paddingInlineEnd:Yn,verticalAlign:"top",[`${ft}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ot},we(dn)),[`${ft}-circle`]:{borderRadius:"50%"},[`${ft}-lg`]:Object.assign({},we(ga)),[`${ft}-sm`]:Object.assign({},we(Te))},[`${De}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${kt}`]:{width:"100%",height:_t,background:ot,borderRadius:ea,[`+ ${jt}`]:{marginBlockStart:Te}},[`${jt}`]:{padding:0,"> li":{width:"100%",height:Un,listStyle:"none",background:ot,borderRadius:ea,"+ li":{marginBlockStart:ca}}},[`${jt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${De}-content`]:{[`${kt}, ${jt} > li`]:{borderRadius:lt}}},[`${De}-with-avatar ${De}-content`]:{[`${kt}`]:{marginBlockStart:Mn,[`+ ${jt}`]:{marginBlockStart:In}}},[`${De}${De}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},re(Ie)),a(Ie)),x(Ie)),E(Ie)),[`${De}${De}-block`]:{width:"100%",[`${gn}`]:{width:"100%"},[`${tn}`]:{width:"100%"}},[`${De}${De}-active`]:{[`
|
|
${kt},
|
|
${jt} > li,
|
|
${ft},
|
|
${gn},
|
|
${tn},
|
|
${xn}
|
|
`]:Object.assign({},ue(Ie))}}};var fe=(0,Ke.Z)("Skeleton",Ie=>{const{componentCls:De}=Ie,ft=(0,He.TS)(Ie,{skeletonAvatarCls:`${De}-avatar`,skeletonTitleCls:`${De}-title`,skeletonParagraphCls:`${De}-paragraph`,skeletonButtonCls:`${De}-button`,skeletonInputCls:`${De}-input`,skeletonImageCls:`${De}-image`,imageSizeBase:Ie.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ie.gradientFromColor} 25%, ${Ie.gradientToColor} 37%, ${Ie.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ne(ft)]},Ie=>{const{colorFillContent:De,colorFill:ft}=Ie,kt=De,jt=ft;return{color:kt,colorGradientEnd:jt,gradientFromColor:kt,gradientToColor:jt,titleHeight:Ie.controlHeight/2,blockRadius:Ie.borderRadiusSM,paragraphMarginTop:Ie.marginLG+Ie.marginXXS,paragraphLiHeight:Ie.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ne=Ie=>{const{prefixCls:De,className:ft,rootClassName:kt,active:jt,shape:gn="circle",size:tn="default"}=Ie,{getPrefixCls:xn}=Oe.useContext(Ge.E_),dn=xn("skeleton",De),[ga,Te]=fe(dn),ot=(0,Fe.Z)(Ie,["prefixCls","className"]),Yn=ve()(dn,`${dn}-element`,{[`${dn}-active`]:jt},ft,kt,Te);return ga(Oe.createElement("div",{className:Yn},Oe.createElement(de,Object.assign({prefixCls:`${dn}-avatar`,shape:gn,size:tn},ot))))},xe=Ie=>{const{prefixCls:De,className:ft,rootClassName:kt,active:jt,block:gn=!1,size:tn="default"}=Ie,{getPrefixCls:xn}=Oe.useContext(Ge.E_),dn=xn("skeleton",De),[ga,Te]=fe(dn),ot=(0,Fe.Z)(Ie,["prefixCls"]),Yn=ve()(dn,`${dn}-element`,{[`${dn}-active`]:jt,[`${dn}-block`]:gn},ft,kt,Te);return ga(Oe.createElement("div",{className:Yn},Oe.createElement(de,Object.assign({prefixCls:`${dn}-button`,size:tn},ot))))};const pe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Qe=Ie=>{const{prefixCls:De,className:ft,rootClassName:kt,style:jt,active:gn}=Ie,{getPrefixCls:tn}=Oe.useContext(Ge.E_),xn=tn("skeleton",De),[dn,ga]=fe(xn),Te=ve()(xn,`${xn}-element`,{[`${xn}-active`]:gn},ft,kt,ga);return dn(Oe.createElement("div",{className:Te},Oe.createElement("div",{className:ve()(`${xn}-image`,ft),style:jt},Oe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${xn}-image-svg`},Oe.createElement("path",{d:pe,className:`${xn}-image-path`})))))},We=Ie=>{const{prefixCls:De,className:ft,rootClassName:kt,active:jt,block:gn,size:tn="default"}=Ie,{getPrefixCls:xn}=Oe.useContext(Ge.E_),dn=xn("skeleton",De),[ga,Te]=fe(dn),ot=(0,Fe.Z)(Ie,["prefixCls"]),Yn=ve()(dn,`${dn}-element`,{[`${dn}-active`]:jt,[`${dn}-block`]:gn},ft,kt,Te);return ga(Oe.createElement("div",{className:Yn},Oe.createElement(de,Object.assign({prefixCls:`${dn}-input`,size:tn},ot))))},rt=te(87462),bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Kt=bt,Mt=te(74643),ht=function(De,ft){return Oe.createElement(Mt.Z,(0,rt.Z)({},De,{ref:ft,icon:Kt}))},Ft=Oe.forwardRef(ht),nn=Ie=>{const{prefixCls:De,className:ft,rootClassName:kt,style:jt,active:gn,children:tn}=Ie,{getPrefixCls:xn}=Oe.useContext(Ge.E_),dn=xn("skeleton",De),[ga,Te]=fe(dn),ot=ve()(dn,`${dn}-element`,{[`${dn}-active`]:gn},Te,ft,kt),Yn=tn!=null?tn:Oe.createElement(Ft,null);return ga(Oe.createElement("div",{className:ot},Oe.createElement("div",{className:ve()(`${dn}-image`,ft),style:jt},Yn)))},Ve=te(74902),Dt=Ie=>{const De=xn=>{const{width:dn,rows:ga=2}=Ie;if(Array.isArray(dn))return dn[xn];if(ga-1===xn)return dn},{prefixCls:ft,className:kt,style:jt,rows:gn}=Ie,tn=(0,Ve.Z)(Array(gn)).map((xn,dn)=>Oe.createElement("li",{key:dn,style:{width:De(dn)}}));return Oe.createElement("ul",{className:ve()(ft,kt),style:jt},tn)},at=Ie=>{let{prefixCls:De,className:ft,width:kt,style:jt}=Ie;return Oe.createElement("h3",{className:ve()(De,ft),style:Object.assign({width:kt},jt)})};function Lt(Ie){return Ie&&typeof Ie=="object"?Ie:{}}function Ce(Ie,De){return Ie&&!De?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function on(Ie,De){return!Ie&&De?{width:"38%"}:Ie&&De?{width:"50%"}:{}}function ln(Ie,De){const ft={};return(!Ie||!De)&&(ft.width="61%"),!Ie&&De?ft.rows=3:ft.rows=2,ft}const ra=Ie=>{const{prefixCls:De,loading:ft,className:kt,rootClassName:jt,style:gn,children:tn,avatar:xn=!1,title:dn=!0,paragraph:ga=!0,active:Te,round:ot}=Ie,{getPrefixCls:Yn,direction:Mn,skeleton:lt}=Oe.useContext(Ge.E_),_t=Yn("skeleton",De),[ea,Un]=fe(_t);if(ft||!("loading"in Ie)){const ca=!!xn,In=!!dn,fn=!!ga;let qn;if(ca){const za=Object.assign(Object.assign({prefixCls:`${_t}-avatar`},Ce(In,fn)),Lt(xn));qn=Oe.createElement("div",{className:`${_t}-header`},Oe.createElement(de,Object.assign({},za)))}let cr;if(In||fn){let za;if(In){const Va=Object.assign(Object.assign({prefixCls:`${_t}-title`},on(ca,fn)),Lt(dn));za=Oe.createElement(at,Object.assign({},Va))}let Zr;if(fn){const Va=Object.assign(Object.assign({prefixCls:`${_t}-paragraph`},ln(ca,In)),Lt(ga));Zr=Oe.createElement(Dt,Object.assign({},Va))}cr=Oe.createElement("div",{className:`${_t}-content`},za,Zr)}const Ga=ve()(_t,{[`${_t}-with-avatar`]:ca,[`${_t}-active`]:Te,[`${_t}-rtl`]:Mn==="rtl",[`${_t}-round`]:ot},lt==null?void 0:lt.className,kt,jt,Un);return ea(Oe.createElement("div",{className:Ga,style:Object.assign(Object.assign({},lt==null?void 0:lt.style),gn)},qn,cr))}return typeof tn!="undefined"?tn:null};ra.Button=xe,ra.Avatar=Ne,ra.Input=We,ra.Image=Qe,ra.Node=nn;var Bn=ra,It=Bn},55054:function(ct,Et,te){"use strict";te.d(Et,{default:function(){return fe}});var le=te(67294),ve=te(57838),Oe=te(96159),Ge=te(94184),Fe=te.n(Ge),Ze=te(53124),de=te(46303),Ke=Se=>{const{value:Ne,formatter:be,precision:xe,decimalSeparator:pe,groupSeparator:st="",prefixCls:Qe}=Se;let Ot;if(typeof be=="function")Ot=be(Ne);else{const We=String(Ne),rt=We.match(/^(-?)(\d*)(\.(\d+))?$/);if(!rt||We==="-")Ot=We;else{const bt=rt[1];let Kt=rt[2]||"0",Mt=rt[4]||"";Kt=Kt.replace(/\B(?=(\d{3})+(?!\d))/g,st),typeof xe=="number"&&(Mt=Mt.padEnd(xe,"0").slice(0,xe>0?xe:0)),Mt&&(Mt=`${pe}${Mt}`),Ot=[le.createElement("span",{key:"int",className:`${Qe}-content-value-int`},bt,Kt),Mt&&le.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},Mt)]}}return le.createElement("span",{className:`${Qe}-content-value`},Ot)},He=te(14747),et=te(67968),je=te(45503);const we=Se=>{const{componentCls:Ne,marginXXS:be,padding:xe,colorTextDescription:pe,titleFontSize:st,colorTextHeading:Qe,contentFontSize:Ot,fontFamily:We}=Se;return{[`${Ne}`]:Object.assign(Object.assign({},(0,He.Wf)(Se)),{[`${Ne}-title`]:{marginBottom:be,color:pe,fontSize:st},[`${Ne}-skeleton`]:{paddingTop:xe},[`${Ne}-content`]:{color:Qe,fontSize:Ot,fontFamily:We,[`${Ne}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ne}-content-prefix, ${Ne}-content-suffix`]:{display:"inline-block"},[`${Ne}-content-prefix`]:{marginInlineEnd:be},[`${Ne}-content-suffix`]:{marginInlineStart:be}}})}};var ue=(0,et.Z)("Statistic",Se=>{const Ne=(0,je.TS)(Se,{});return[we(Ne)]},Se=>{const{fontSizeHeading3:Ne,fontSize:be}=Se;return{titleFontSize:be,contentFontSize:Ne}}),a=Se=>{const{prefixCls:Ne,className:be,rootClassName:xe,style:pe,valueStyle:st,value:Qe=0,title:Ot,valueRender:We,prefix:rt,suffix:bt,loading:Kt=!1,onMouseEnter:Mt,onMouseLeave:ht,decimalSeparator:Ft=".",groupSeparator:Wt=","}=Se,{getPrefixCls:nn,direction:Ve,statistic:Pt}=le.useContext(Ze.E_),Dt=nn("statistic",Ne),[En,at]=ue(Dt),Lt=le.createElement(Ke,Object.assign({decimalSeparator:Ft,groupSeparator:Wt,prefixCls:Dt},Se,{value:Qe})),Ce=Fe()(Dt,{[`${Dt}-rtl`]:Ve==="rtl"},Pt==null?void 0:Pt.className,be,xe,at);return En(le.createElement("div",{className:Ce,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),pe),onMouseEnter:Mt,onMouseLeave:ht},Ot&&le.createElement("div",{className:`${Dt}-title`},Ot),le.createElement(de.Z,{paragraph:!1,loading:Kt,className:`${Dt}-skeleton`},le.createElement("div",{style:st,className:`${Dt}-content`},rt&&le.createElement("span",{className:`${Dt}-content-prefix`},rt),We?We(Lt):Lt,bt&&le.createElement("span",{className:`${Dt}-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(Se,Ne){let be=Se;const xe=/\[[^\]]*]/g,pe=(Ne.match(xe)||[]).map(We=>We.slice(1,-1)),st=Ne.replace(xe,"[]"),Qe=x.reduce((We,rt)=>{let[bt,Kt]=rt;if(We.includes(bt)){const Mt=Math.floor(be/Kt);return be-=Mt*Kt,We.replace(new RegExp(`${bt}+`,"g"),ht=>{const Ft=ht.length;return Mt.toString().padStart(Ft,"0")})}return We},st);let Ot=0;return Qe.replace(xe,()=>{const We=pe[Ot];return Ot+=1,We})}function E(Se,Ne){const{format:be=""}=Ne,xe=new Date(Se).getTime(),pe=Date.now(),st=Math.max(xe-pe,0);return b(st,be)}const z=1e3/30;function ae(Se){return new Date(Se).getTime()}const re=Se=>{const{value:Ne,format:be="HH:mm:ss",onChange:xe,onFinish:pe}=Se,st=(0,ve.Z)(),Qe=le.useRef(null),Ot=()=>{pe==null||pe(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},We=()=>{const Kt=ae(Ne);Kt>=Date.now()&&(Qe.current=setInterval(()=>{st(),xe==null||xe(Kt-Date.now()),Kt<Date.now()&&Ot()},z))};le.useEffect(()=>(We(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ne]);const rt=(Kt,Mt)=>E(Kt,Object.assign(Object.assign({},Mt),{format:be})),bt=Kt=>(0,Oe.Tm)(Kt,{title:void 0});return le.createElement(a,Object.assign({},Se,{valueRender:bt,formatter:rt}))};var ne=le.memo(re);a.Countdown=ne;var fe=a},49867:function(ct,Et,te){"use strict";te.d(Et,{N:function(){return le}});const le=ve=>({color:ve.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ve.motionDurationSlow}`,"&:focus, &:hover":{color:ve.colorLinkHover},"&:active":{color:ve.colorLinkActive}})},9430:function(ct,Et,te){"use strict";te.d(Et,{default:function(){return Js}});var le={},ve="rc-table-internal-hook",Oe=te(97685),Ge=te(66680),Fe=te(8410),Ze=te(91881),de=te(67294),ze=te(73935);function Ke(se){var ce=de.createContext(void 0),he=function(Ae){var Re=Ae.value,$e=Ae.children,Xe=de.useRef(Re);Xe.current=Re;var Je=de.useState(function(){return{getValue:function(){return Xe.current},listeners:new Set}}),mt=(0,Oe.Z)(Je,1),Bt=mt[0];return(0,Fe.Z)(function(){(0,ze.unstable_batchedUpdates)(function(){Bt.listeners.forEach(function(pt){pt(Re)})})},[Re]),de.createElement(ce.Provider,{value:Bt},$e)};return{Context:ce,Provider:he,defaultValue:se}}function He(se,ce){var he=(0,Ge.Z)(typeof ce=="function"?ce:function(pt){if(ce===void 0)return pt;if(!Array.isArray(ce))return pt[ce];var $t={};return ce.forEach(function(Yt){$t[Yt]=pt[Yt]}),$t}),ye=de.useContext(se==null?void 0:se.Context),Ae=ye||{},Re=Ae.listeners,$e=Ae.getValue,Xe=de.useRef();Xe.current=he(ye?$e():se==null?void 0:se.defaultValue);var Je=de.useState({}),mt=(0,Oe.Z)(Je,2),Bt=mt[1];return(0,Fe.Z)(function(){if(!ye)return;function pt($t){var Yt=he($t);(0,Ze.Z)(Xe.current,Yt,!0)||Bt({})}return Re.add(pt),function(){Re.delete(pt)}},[ye]),Xe.current}var et=te(87462),je=te(42550);function we(){var se=de.createContext(null);function ce(){return de.useContext(se)}function he(Ae,Re){var $e=(0,je.Yr)(Ae),Xe=function(mt,Bt){var pt=$e?{ref:Bt}:{},$t=de.useRef(0),Yt=de.useRef(mt),en=ce();return en!==null?de.createElement(Ae,(0,et.Z)({},mt,pt)):((!Re||Re(Yt.current,mt))&&($t.current+=1),Yt.current=mt,de.createElement(se.Provider,{value:$t.current},de.createElement(Ae,(0,et.Z)({},mt,pt))))};return $e?de.forwardRef(Xe):Xe}function ye(Ae,Re){var $e=(0,je.Yr)(Ae),Xe=function(mt,Bt){var pt=$e?{ref:Bt}:{};return ce(),de.createElement(Ae,(0,et.Z)({},mt,pt))};return $e?de.memo(de.forwardRef(Xe),Re):de.memo(Xe,Re)}return{makeImmutable:he,responseImmutable:ye,useImmutableMark:ce}}var ue=we(),y=ue.makeImmutable,a=ue.responseImmutable,x=ue.useImmutableMark,b=we(),E=b.makeImmutable,z=b.responseImmutable,ae=b.useImmutableMark,re=Ke(),ne=re;function fe(se,ce){var he=de.useRef(0);he.current+=1;var ye=de.useRef(se),Ae=[];Object.keys(se||{}).map(function($e){var Xe;(se==null?void 0:se[$e])!==((Xe=ye.current)===null||Xe===void 0?void 0:Xe[$e])&&Ae.push($e)}),ye.current=se;var Re=de.useRef([]);return Ae.length&&(Re.current=Ae),de.useDebugValue(he.current),de.useDebugValue(Re.current.join(", ")),ce&&console.log("".concat(ce,":"),he.current,Re.current),he.current}var Se=null,Ne=de.memo(function(){var se=fe();return de.createElement("h1",null,"Render Times: ",se)});Ne.displayName="RenderBlock";var be=te(71002),xe=te(1413),pe=te(4942),st=te(94184),Qe=te.n(st);function Ot(se,ce,he){var ye=de.useRef({});return(!("value"in ye.current)||he(ye.current.condition,ce))&&(ye.current.value=se(),ye.current.condition=ce),ye.current.value}var We={},rt=[],bt=function(ce){rt.push(ce)};function Kt(se,ce){if(0)var he}function Mt(se,ce){if(0)var he}function ht(){We={}}function Ft(se,ce,he){!ce&&!We[he]&&(se(!1,he),We[he]=!0)}function Wt(se,ce){Ft(Kt,se,ce)}function nn(se,ce){Ft(Mt,se,ce)}Wt.preMessage=bt,Wt.resetWarned=ht,Wt.noteOnce=nn;var Ve=Wt;function Pt(se,ce){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ye=new Set;function Ae(Re,$e){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Je=ye.has(Re);if(Ve(!Je,"Warning: There may be circular references"),Je)return!1;if(Re===$e)return!0;if(he&&Xe>1)return!1;ye.add(Re);var mt=Xe+1;if(Array.isArray(Re)){if(!Array.isArray($e)||Re.length!==$e.length)return!1;for(var Bt=0;Bt<Re.length;Bt++)if(!Ae(Re[Bt],$e[Bt],mt))return!1;return!0}if(Re&&$e&&(0,be.Z)(Re)==="object"&&(0,be.Z)($e)==="object"){var pt=Object.keys(Re);return pt.length!==Object.keys($e).length?!1:pt.every(function($t){return Ae(Re[$t],$e[$t],mt)})}return!1}return Ae(se,ce)}var Dt=Pt;function En(se,ce){for(var he=se,ye=0;ye<ce.length;ye+=1){if(he==null)return;he=he[ce[ye]]}return he}var at=de.createContext({renderWithProps:!1}),Lt=at,Ce="RC_TABLE_KEY";function on(se){return se==null?[]:Array.isArray(se)?se:[se]}function ln(se){var ce=[],he={};return se.forEach(function(ye){for(var Ae=ye||{},Re=Ae.key,$e=Ae.dataIndex,Xe=Re||on($e).join("-")||Ce;he[Xe];)Xe="".concat(Xe,"_next");he[Xe]=!0,ce.push(Xe)}),ce}function ra(se){return se!=null}function Bn(se){return se&&(0,be.Z)(se)==="object"&&!Array.isArray(se)&&!de.isValidElement(se)}function It(se,ce,he,ye,Ae,Re){var $e=de.useContext(Lt),Xe=ae(),Je=Ot(function(){if(ra(ye))return[ye];var mt=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],Bt=En(se,mt),pt=Bt,$t=void 0;if(Ae){var Yt=Ae(Bt,se,he);Bn(Yt)?(pt=Yt.children,$t=Yt.props,$e.renderWithProps=!0):pt=Yt}return[pt,$t]},[Xe,se,ye,ce,Ae,he],function(mt,Bt){if(Re){var pt=(0,Oe.Z)(mt,2),$t=pt[1],Yt=(0,Oe.Z)(Bt,2),en=Yt[1];return Re(en,$t)}return $e.renderWithProps?!0:!Dt(mt,Bt,!0)});return Je}function Ie(se,ce,he,ye){var Ae=se+ce-1;return se<=ye&&Ae>=he}function De(se,ce){return He(ne,function(he){var ye=Ie(se,ce||1,he.hoverStartRow,he.hoverEndRow);return[ye,he.onHover]})}var ft=function(ce){var he=ce.ellipsis,ye=ce.rowType,Ae=ce.children,Re,$e=he===!0?{showTitle:!0}:he;return $e&&($e.showTitle||ye==="header")&&(typeof Ae=="string"||typeof Ae=="number"?Re=Ae.toString():de.isValidElement(Ae)&&typeof Ae.props.children=="string"&&(Re=Ae.props.children)),Re};function kt(se){var ce,he,ye,Ae,Re,$e,Xe,Je,mt=se.component,Bt=se.children,pt=se.ellipsis,$t=se.scope,Yt=se.prefixCls,en=se.className,Ln=se.align,mn=se.record,kn=se.render,Pn=se.dataIndex,Gn=se.renderIndex,fa=se.shouldCellUpdate,Ea=se.index,ua=se.rowType,Ua=se.colSpan,sr=se.rowSpan,_n=se.fixLeft,sa=se.fixRight,Vn=se.firstFixLeft,zn=se.lastFixLeft,da=se.firstFixRight,ba=se.lastFixRight,Ya=se.appendNode,rr=se.additionalProps,ya=rr===void 0?{}:rr,fr=se.isSticky,pr="".concat(Yt,"-cell"),to=He(ne,["supportSticky","allColumnsFixedLeft"]),Tr=to.supportSticky,jo=to.allColumnsFixedLeft,Wo=It(mn,Pn,Gn,Bt,kn,fa),ur=(0,Oe.Z)(Wo,2),di=ur[0],Fn=ur[1],Ta={},Pr=typeof _n=="number"&&Tr,so=typeof sa=="number"&&Tr;Pr&&(Ta.position="sticky",Ta.left=_n),so&&(Ta.position="sticky",Ta.right=sa);var na=(ce=(he=(ye=Fn==null?void 0:Fn.colSpan)!==null&&ye!==void 0?ye:ya.colSpan)!==null&&he!==void 0?he:Ua)!==null&&ce!==void 0?ce:1,wa=(Ae=(Re=($e=Fn==null?void 0:Fn.rowSpan)!==null&&$e!==void 0?$e:ya.rowSpan)!==null&&Re!==void 0?Re:sr)!==null&&Ae!==void 0?Ae:1,ka=De(Ea,wa),Ca=(0,Oe.Z)(ka,2),zr=Ca[0],Ia=Ca[1],mr=function(ri){var Ll;mn&&Ia(Ea,Ea+wa-1),ya==null||(Ll=ya.onMouseEnter)===null||Ll===void 0||Ll.call(ya,ri)},Jr=function(ri){var Ll;mn&&Ia(-1,-1),ya==null||(Ll=ya.onMouseLeave)===null||Ll===void 0||Ll.call(ya,ri)};if(na===0||wa===0)return null;var Wr=(Xe=ya.title)!==null&&Xe!==void 0?Xe:ft({rowType:ua,ellipsis:pt,children:di}),Sl=Qe()(pr,en,(Je={},(0,pe.Z)(Je,"".concat(pr,"-fix-left"),Pr&&Tr),(0,pe.Z)(Je,"".concat(pr,"-fix-left-first"),Vn&&Tr),(0,pe.Z)(Je,"".concat(pr,"-fix-left-last"),zn&&Tr),(0,pe.Z)(Je,"".concat(pr,"-fix-left-all"),zn&&jo&&Tr),(0,pe.Z)(Je,"".concat(pr,"-fix-right"),so&&Tr),(0,pe.Z)(Je,"".concat(pr,"-fix-right-first"),da&&Tr),(0,pe.Z)(Je,"".concat(pr,"-fix-right-last"),ba&&Tr),(0,pe.Z)(Je,"".concat(pr,"-ellipsis"),pt),(0,pe.Z)(Je,"".concat(pr,"-with-append"),Ya),(0,pe.Z)(Je,"".concat(pr,"-fix-sticky"),(Pr||so)&&fr&&Tr),(0,pe.Z)(Je,"".concat(pr,"-row-hover"),!Fn&&zr),Je),ya.className,Fn==null?void 0:Fn.className),al={};Ln&&(al.textAlign=Ln);var Ms=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ta),ya.style),al),Fn==null?void 0:Fn.style),Mi=di;return(0,be.Z)(Mi)==="object"&&!Array.isArray(Mi)&&!de.isValidElement(Mi)&&(Mi=null),pt&&(zn||da)&&(Mi=de.createElement("span",{className:"".concat(pr,"-content")},Mi)),de.createElement(mt,(0,et.Z)({},Fn,ya,{className:Sl,style:Ms,title:Wr,scope:$t,onMouseEnter:mr,onMouseLeave:Jr,colSpan:na!==1?na:null,rowSpan:wa!==1?wa:null}),Ya,Mi)}var jt=de.memo(kt);function gn(se,ce,he,ye,Ae,Re){var $e=he[se]||{},Xe=he[ce]||{},Je,mt;$e.fixed==="left"?Je=ye.left[Ae==="rtl"?ce:se]:Xe.fixed==="right"&&(mt=ye.right[Ae==="rtl"?se:ce]);var Bt=!1,pt=!1,$t=!1,Yt=!1,en=he[ce+1],Ln=he[se-1],mn=!(Re!=null&&Re.children);if(Ae==="rtl"){if(Je!==void 0){var kn=Ln&&Ln.fixed==="left";Yt=!kn&&mn}else if(mt!==void 0){var Pn=en&&en.fixed==="right";$t=!Pn&&mn}}else if(Je!==void 0){var Gn=en&&en.fixed==="left";Bt=!Gn&&mn}else if(mt!==void 0){var fa=Ln&&Ln.fixed==="right";pt=!fa&&mn}return{fixLeft:Je,fixRight:mt,lastFixLeft:Bt,firstFixRight:pt,lastFixRight:$t,firstFixLeft:Yt,isSticky:ye.isSticky}}var tn=de.createContext({}),xn=tn;function dn(se){var ce=se.className,he=se.index,ye=se.children,Ae=se.colSpan,Re=Ae===void 0?1:Ae,$e=se.rowSpan,Xe=se.align,Je=He(ne,["prefixCls","direction"]),mt=Je.prefixCls,Bt=Je.direction,pt=de.useContext(xn),$t=pt.scrollColumnIndex,Yt=pt.stickyOffsets,en=pt.flattenColumns,Ln=pt.columns,mn=he+Re-1,kn=mn+1===$t?Re+1:Re,Pn=gn(he,he+kn-1,en,Yt,Bt,Ln==null?void 0:Ln[he]);return de.createElement(jt,(0,et.Z)({className:ce,index:he,component:"td",prefixCls:mt,record:null,dataIndex:null,align:Xe,colSpan:kn,rowSpan:$e,render:function(){return ye}},Pn))}var ga=te(45987),Te=["children"];function ot(se){var ce=se.children,he=(0,ga.Z)(se,Te);return de.createElement("tr",he,ce)}function Yn(se){var ce=se.children;return ce}Yn.Row=ot,Yn.Cell=dn;var Mn=Yn;function lt(se){var ce=se.children,he=se.stickyOffsets,ye=se.flattenColumns,Ae=se.columns,Re=He(ne,"prefixCls"),$e=ye.length-1,Xe=ye[$e],Je=de.useMemo(function(){return{stickyOffsets:he,flattenColumns:ye,scrollColumnIndex:Xe!=null&&Xe.scrollbar?$e:null,columns:Ae}},[Xe,ye,$e,he,Ae]);return de.createElement(xn.Provider,{value:Je},de.createElement("tfoot",{className:"".concat(Re,"-summary")},ce))}var _t=z(lt),ea=Mn;function Un(se){var ce=de.useRef();ce.current=se;var he=de.useCallback(function(){for(var ye,Ae=arguments.length,Re=new Array(Ae),$e=0;$e<Ae;$e++)Re[$e]=arguments[$e];return(ye=ce.current)===null||ye===void 0?void 0:ye.call.apply(ye,[ce].concat(Re))},[]);return he}function ca(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var In=ca()?de.useLayoutEffect:de.useEffect,fn=function(ce,he){var ye=React.useRef(!0);In(function(){return ce(ye.current)},he),In(function(){return ye.current=!1,function(){ye.current=!0}},[])},qn=function(ce,he){fn(function(ye){if(!ye)return ce()},he)},cr=null;function Ga(se){var ce=React.useRef(!1),he=React.useState(se),ye=_slicedToArray(he,2),Ae=ye[0],Re=ye[1];React.useEffect(function(){return ce.current=!1,function(){ce.current=!0}},[]);function $e(Xe,Je){Je&&ce.current||Re(Xe)}return[Ae,$e]}function za(se){return se!==void 0}function Zr(se,ce){var he=ce||{},ye=he.defaultValue,Ae=he.value,Re=he.onChange,$e=he.postState,Xe=useState(function(){return za(Ae)?Ae:za(ye)?typeof ye=="function"?ye():ye:typeof se=="function"?se():se}),Je=_slicedToArray(Xe,2),mt=Je[0],Bt=Je[1],pt=Ae!==void 0?Ae:mt,$t=$e?$e(pt):pt,Yt=useEvent(Re),en=useState([pt]),Ln=_slicedToArray(en,2),mn=Ln[0],kn=Ln[1];useLayoutUpdateEffect(function(){var Gn=mn[0];mt!==Gn&&Yt(mt,Gn)},[mn]),useLayoutUpdateEffect(function(){za(Ae)||Bt(Ae)},[Ae]);var Pn=useEvent(function(Gn,fa){Bt(Gn,fa),kn([pt],fa)});return[$t,Pn]}var Va=te(35110);function Mr(se,ce){typeof se=="function"?se(ce):(0,be.Z)(se)==="object"&&se&&"current"in se&&(se.current=ce)}function oo(){for(var se=arguments.length,ce=new Array(se),he=0;he<se;he++)ce[he]=arguments[he];var ye=ce.filter(function(Ae){return Ae});return ye.length<=1?ye[0]:function(Ae){ce.forEach(function(Re){Mr(Re,Ae)})}}function ko(){for(var se=arguments.length,ce=new Array(se),he=0;he<se;he++)ce[he]=arguments[he];return useMemo(function(){return oo.apply(void 0,ce)},ce,function(ye,Ae){return ye.length!==Ae.length||ye.every(function(Re,$e){return Re!==Ae[$e]})})}function Yo(se){var ce,he,ye=isMemo(se)?se.type.type:se.type;return!(typeof ye=="function"&&!((ce=ye.prototype)!==null&&ce!==void 0&&ce.render)||typeof se=="function"&&!((he=se.prototype)!==null&&he!==void 0&&he.render))}function ti(se){return!isValidElement(se)||isFragment(se)?!1:Yo(se)}function fi(se,ce,he,ye){if(!ce.length)return he;var Ae=_toArray(ce),Re=Ae[0],$e=Ae.slice(1),Xe;return!se&&typeof Re=="number"?Xe=[]:Array.isArray(se)?Xe=_toConsumableArray(se):Xe=_objectSpread({},se),ye&&he===void 0&&$e.length===1?delete Xe[Re][$e[0]]:Xe[Re]=fi(Xe[Re],$e,he,ye),Xe}function Io(se,ce,he){var ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ce.length&&ye&&he===void 0&&!get(se,ce.slice(0,-1))?se:fi(se,ce,he,ye)}function bi(se){return _typeof(se)==="object"&&se!==null&&Object.getPrototypeOf(se)===Object.prototype}function Hr(se){return Array.isArray(se)?[]:{}}var An=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function On(){for(var se=arguments.length,ce=new Array(se),he=0;he<se;he++)ce[he]=arguments[he];var ye=Hr(ce[0]);return ce.forEach(function(Ae){function Re($e,Xe){var Je=new Set(Xe),mt=get(Ae,$e),Bt=Array.isArray(mt);if(Bt||bi(mt)){if(!Je.has(mt)){Je.add(mt);var pt=get(ye,$e);Bt?ye=Io(ye,$e,[]):(!pt||_typeof(pt)!=="object")&&(ye=Io(ye,$e,Hr(mt))),An(mt).forEach(function($t){Re([].concat(_toConsumableArray($e),[$t]),Je)})}}else ye=Io(ye,$e,mt)}Re([])}),ye}var bn=te(48555),wn=function(se){if(!se)return!1;if(se instanceof Element){if(se.offsetParent)return!0;if(se.getBBox){var ce=se.getBBox(),he=ce.width,ye=ce.height;if(he||ye)return!0}if(se.getBoundingClientRect){var Ae=se.getBoundingClientRect(),Re=Ae.width,$e=Ae.height;if(Re||$e)return!0}}return!1},Ja=function(ce){if(ca()&&window.document.documentElement){var he=Array.isArray(ce)?ce:[ce],ye=window.document.documentElement;return he.some(function(Ae){return Ae in ye.style})}return!1},Nr=function(ce,he){if(!Ja(ce))return!1;var ye=document.createElement("div"),Ae=ye.style[ce];return ye.style[ce]=he,ye.style[ce]!==Ae};function Rn(se,ce){return!Array.isArray(se)&&ce!==void 0?Nr(se,ce):Ja(se)}var nt;function dt(se){if(typeof document=="undefined")return 0;if(se||nt===void 0){var ce=document.createElement("div");ce.style.width="100%",ce.style.height="200px";var he=document.createElement("div"),ye=he.style;ye.position="absolute",ye.top="0",ye.left="0",ye.pointerEvents="none",ye.visibility="hidden",ye.width="200px",ye.height="150px",ye.overflow="hidden",he.appendChild(ce),document.body.appendChild(he);var Ae=ce.offsetWidth;he.style.overflow="scroll";var Re=ce.offsetWidth;Ae===Re&&(Re=he.clientWidth),document.body.removeChild(he),nt=Ae-Re}return nt}function _e(se){var ce=se.match(/^(.*)px$/),he=Number(ce==null?void 0:ce[1]);return Number.isNaN(he)?dt():he}function Zt(se){if(typeof document=="undefined"||!se||!(se instanceof Element))return{width:0,height:0};var ce=getComputedStyle(se,"::-webkit-scrollbar"),he=ce.width,ye=ce.height;return{width:_e(he),height:_e(ye)}}var hn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Hn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,La="".concat(hn," ").concat(Hn).split(/[\s\n]+/),Jn="aria-",Nn="data-";function va(se,ce){return se.indexOf(ce)===0}function fo(se){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he;ce===!1?he={aria:!0,data:!0,attr:!0}:ce===!0?he={aria:!0}:he=(0,xe.Z)({},ce);var ye={};return Object.keys(se).forEach(function(Ae){(he.aria&&(Ae==="role"||va(Ae,Jn))||he.data&&va(Ae,Nn)||he.attr&&La.includes(Ae))&&(ye[Ae]=se[Ae])}),ye}function Cn(se,ce,he,ye,Ae,Re,$e){se.push({record:ce,indent:he,index:$e});var Xe=Re(ce),Je=Ae==null?void 0:Ae.has(Xe);if(ce&&Array.isArray(ce[ye])&&Je)for(var mt=0;mt<ce[ye].length;mt+=1)Cn(se,ce[ye][mt],he+1,ye,Ae,Re,mt)}function $r(se,ce,he,ye){var Ae=de.useMemo(function(){if(he!=null&&he.size){for(var Re=[],$e=0;$e<(se==null?void 0:se.length);$e+=1){var Xe=se[$e];Cn(Re,Xe,0,ce,he,ye,$e)}return Re}return se==null?void 0:se.map(function(Je,mt){return{record:Je,indent:0,index:mt}})},[se,ce,he,ye]);return Ae}function Qo(se){var ce=se.prefixCls,he=se.children,ye=se.component,Ae=se.cellComponent,Re=se.className,$e=se.expanded,Xe=se.colSpan,Je=se.isEmpty,mt=He(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Bt=mt.scrollbarSize,pt=mt.fixHeader,$t=mt.fixColumn,Yt=mt.componentWidth,en=mt.horizonScroll,Ln=he;return(Je?en&&Yt:$t)&&(Ln=de.createElement("div",{style:{width:Yt-(pt?Bt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ce,"-expanded-row-fixed")},Ln)),de.createElement(ye,{className:Re,style:{display:$e?null:"none"}},de.createElement(jt,{component:Ae,prefixCls:ce,colSpan:Xe},Ln))}var Qi=Qo;function Jo(se,ce,he,ye){var Ae=He(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Re=Ae.flattenColumns,$e=Ae.expandableType,Xe=Ae.expandedKeys,Je=Ae.childrenColumnName,mt=Ae.onTriggerExpand,Bt=Ae.rowExpandable,pt=Ae.onRow,$t=Ae.expandRowByClick,Yt=Ae.rowClassName,en=$e==="nest",Ln=$e==="row"&&(!Bt||Bt(se)),mn=Ln||en,kn=Xe&&Xe.has(ce),Pn=Je&&se&&se[Je],Gn=Un(mt),fa=pt==null?void 0:pt(se,he),Ea=fa==null?void 0:fa.onClick,ua=function(sa){$t&&mn&&mt(se,sa);for(var Vn=arguments.length,zn=new Array(Vn>1?Vn-1:0),da=1;da<Vn;da++)zn[da-1]=arguments[da];Ea==null||Ea.apply(void 0,[sa].concat(zn))},Ua;typeof Yt=="string"?Ua=Yt:typeof Yt=="function"&&(Ua=Yt(se,he,ye));var sr=ln(Re);return(0,xe.Z)((0,xe.Z)({},Ae),{},{columnsKey:sr,nestExpandable:en,expanded:kn,hasNestChildren:Pn,record:se,onTriggerExpand:Gn,rowSupportExpand:Ln,expandable:mn,rowProps:(0,xe.Z)((0,xe.Z)({},fa),{},{className:Qe()(Ua,fa==null?void 0:fa.className),onClick:ua})})}function wo(se,ce,he,ye,Ae){var Re=se.record,$e=se.prefixCls,Xe=se.columnsKey,Je=se.fixedInfoList,mt=se.expandIconColumnIndex,Bt=se.nestExpandable,pt=se.indentSize,$t=se.expandIcon,Yt=se.expanded,en=se.hasNestChildren,Ln=se.onTriggerExpand,mn=Xe[he],kn=Je[he],Pn;he===(mt||0)&&Bt&&(Pn=de.createElement(de.Fragment,null,de.createElement("span",{style:{paddingLeft:"".concat(pt*ye,"px")},className:"".concat($e,"-row-indent indent-level-").concat(ye)}),$t({prefixCls:$e,expanded:Yt,expandable:en,record:Re,onExpand:Ln})));var Gn;return ce.onCell&&(Gn=ce.onCell(Re,Ae)),{key:mn,fixedInfo:kn,appendCellNode:Pn,additionalCellProps:Gn||{}}}function gl(se){var ce=se.className,he=se.style,ye=se.record,Ae=se.index,Re=se.renderIndex,$e=se.rowKey,Xe=se.indent,Je=Xe===void 0?0:Xe,mt=se.rowComponent,Bt=se.cellComponent,pt=se.scopeCellComponent,$t=Jo(ye,$e,Ae,Je),Yt=$t.prefixCls,en=$t.flattenColumns,Ln=$t.expandedRowClassName,mn=$t.expandedRowRender,kn=$t.rowProps,Pn=$t.expanded,Gn=$t.rowSupportExpand,fa=de.useState(!1),Ea=(0,Oe.Z)(fa,2),ua=Ea[0],Ua=Ea[1];de.useEffect(function(){Pn&&Ua(!0)},[Pn]);var sr=de.createElement(mt,(0,et.Z)({},kn,{"data-row-key":$e,className:Qe()(ce,"".concat(Yt,"-row"),"".concat(Yt,"-row-level-").concat(Je),kn==null?void 0:kn.className),style:(0,xe.Z)((0,xe.Z)({},he),kn==null?void 0:kn.style)}),en.map(function(zn,da){var ba=zn.render,Ya=zn.dataIndex,rr=zn.className,ya=wo($t,zn,da,Je,Ae),fr=ya.key,pr=ya.fixedInfo,to=ya.appendCellNode,Tr=ya.additionalCellProps;return de.createElement(jt,(0,et.Z)({className:rr,ellipsis:zn.ellipsis,align:zn.align,scope:zn.rowScope,component:zn.rowScope?pt:Bt,prefixCls:Yt,key:fr,record:ye,index:Ae,renderIndex:Re,dataIndex:Ya,render:ba,shouldCellUpdate:zn.shouldCellUpdate},pr,{appendNode:to,additionalProps:Tr}))})),_n;if(Gn&&(ua||Pn)){var sa=mn(ye,Ae,Je+1,Pn),Vn=Ln&&Ln(ye,Ae,Je);_n=de.createElement(Qi,{expanded:Pn,className:Qe()("".concat(Yt,"-expanded-row"),"".concat(Yt,"-expanded-row-level-").concat(Je+1),Vn),prefixCls:Yt,component:mt,cellComponent:Bt,colSpan:en.length,isEmpty:!1},sa)}return de.createElement(de.Fragment,null,sr,_n)}gl.displayName="BodyRow";var br=z(gl);function Pl(se){var ce=se.columnKey,he=se.onColumnResize,ye=de.useRef();return de.useEffect(function(){ye.current&&he(ce,ye.current.offsetWidth)},[]),de.createElement(bn.Z,{data:ce},de.createElement("td",{ref:ye,style:{padding:0,border:0,height:0}},de.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function ol(se){var ce=se.prefixCls,he=se.columnsKey,ye=se.onColumnResize;return de.createElement("tr",{"aria-hidden":"true",className:"".concat(ce,"-measure-row"),style:{height:0,fontSize:0}},de.createElement(bn.Z.Collection,{onBatchResize:function(Re){Re.forEach(function($e){var Xe=$e.data,Je=$e.size;ye(Xe,Je.offsetWidth)})}},he.map(function(Ae){return de.createElement(Pl,{key:Ae,columnKey:Ae,onColumnResize:ye})})))}function Ii(se){var ce=se.data,he=se.measureColumnWidth,ye=He(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ae=ye.prefixCls,Re=ye.getComponent,$e=ye.onColumnResize,Xe=ye.flattenColumns,Je=ye.getRowKey,mt=ye.expandedKeys,Bt=ye.childrenColumnName,pt=ye.emptyNode,$t=$r(ce,Bt,mt,Je),Yt=de.useRef({renderWithProps:!1}),en=Re(["body","wrapper"],"tbody"),Ln=Re(["body","row"],"tr"),mn=Re(["body","cell"],"td"),kn=Re(["body","cell"],"th"),Pn;ce.length?Pn=$t.map(function(fa,Ea){var ua=fa.record,Ua=fa.indent,sr=fa.index,_n=Je(ua,Ea);return de.createElement(br,{key:_n,rowKey:_n,record:ua,index:Ea,renderIndex:sr,rowComponent:Ln,cellComponent:mn,scopeCellComponent:kn,getRowKey:Je,indent:Ua})}):Pn=de.createElement(Qi,{expanded:!0,className:"".concat(Ae,"-placeholder"),prefixCls:Ae,component:Ln,cellComponent:mn,colSpan:Xe.length,isEmpty:!0},pt);var Gn=ln(Xe);return de.createElement(Lt.Provider,{value:Yt.current},de.createElement(en,{className:"".concat(Ae,"-tbody")},he&&de.createElement(ol,{prefixCls:Ae,columnsKey:Gn,onColumnResize:$e}),Pn))}Ii.displayName="Body";var mi=z(Ii),tl=["expandable"],fl="RC_TABLE_INTERNAL_COL_DEFINE";function Es(se){var ce=se.expandable,he=(0,ga.Z)(se,tl),ye;return"expandable"in se?ye=(0,xe.Z)((0,xe.Z)({},he),ce):ye=he,ye.showExpandColumn===!1&&(ye.expandIconColumnIndex=-1),ye}var pn=["columnType"];function Os(se){for(var ce=se.colWidths,he=se.columns,ye=se.columCount,Ae=[],Re=ye||he.length,$e=!1,Xe=Re-1;Xe>=0;Xe-=1){var Je=ce[Xe],mt=he&&he[Xe],Bt=mt&&mt[fl];if(Je||Bt||$e){var pt=Bt||{},$t=pt.columnType,Yt=(0,ga.Z)(pt,pn);Ae.unshift(de.createElement("col",(0,et.Z)({key:Xe,style:{width:Je}},Yt))),$e=!0}}return de.createElement("colgroup",null,Ae)}var ml=Os,mo=te(74902),Il=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Zn(se,ce){return(0,de.useMemo)(function(){for(var he=[],ye=0;ye<ce;ye+=1){var Ae=se[ye];if(Ae!==void 0)he[ye]=Ae;else return null}return he},[se.join("_"),ce])}var Aa=de.forwardRef(function(se,ce){var he=se.className,ye=se.noData,Ae=se.columns,Re=se.flattenColumns,$e=se.colWidths,Xe=se.columCount,Je=se.stickyOffsets,mt=se.direction,Bt=se.fixHeader,pt=se.stickyTopOffset,$t=se.stickyBottomOffset,Yt=se.stickyClassName,en=se.onScroll,Ln=se.maxContentScroll,mn=se.children,kn=(0,ga.Z)(se,Il),Pn=He(ne,["prefixCls","scrollbarSize","isSticky"]),Gn=Pn.prefixCls,fa=Pn.scrollbarSize,Ea=Pn.isSticky,ua=Ea&&!Bt?0:fa,Ua=de.useRef(null),sr=de.useCallback(function(rr){Mr(ce,rr),Mr(Ua,rr)},[]);de.useEffect(function(){var rr;function ya(fr){var pr=fr,to=pr.currentTarget,Tr=pr.deltaX;Tr&&(en({currentTarget:to,scrollLeft:to.scrollLeft+Tr}),fr.preventDefault())}return(rr=Ua.current)===null||rr===void 0||rr.addEventListener("wheel",ya),function(){var fr;(fr=Ua.current)===null||fr===void 0||fr.removeEventListener("wheel",ya)}},[]);var _n=de.useMemo(function(){return Re.every(function(rr){return rr.width})},[Re]),sa=Re[Re.length-1],Vn={fixed:sa?sa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Gn,"-cell-scrollbar")}}},zn=(0,de.useMemo)(function(){return ua?[].concat((0,mo.Z)(Ae),[Vn]):Ae},[ua,Ae]),da=(0,de.useMemo)(function(){return ua?[].concat((0,mo.Z)(Re),[Vn]):Re},[ua,Re]),ba=(0,de.useMemo)(function(){var rr=Je.right,ya=Je.left;return(0,xe.Z)((0,xe.Z)({},Je),{},{left:mt==="rtl"?[].concat((0,mo.Z)(ya.map(function(fr){return fr+ua})),[0]):ya,right:mt==="rtl"?rr:[].concat((0,mo.Z)(rr.map(function(fr){return fr+ua})),[0]),isSticky:Ea})},[ua,Je,Ea]),Ya=Zn($e,Xe);return de.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},Ea?{top:pt,bottom:$t}:{}),ref:sr,className:Qe()(he,(0,pe.Z)({},Yt,!!Yt))},de.createElement("table",{style:{tableLayout:"fixed",visibility:ye||Ya?null:"hidden"}},(!ye||!Ln||_n)&&de.createElement(ml,{colWidths:Ya?[].concat((0,mo.Z)(Ya),[ua]):[],columCount:Xe+1,columns:da}),mn((0,xe.Z)((0,xe.Z)({},kn),{},{stickyOffsets:ba,columns:zn,flattenColumns:da}))))});Aa.displayName="FixedHolder";var vr=de.memo(Aa);function Na(se){var ce=se.cells,he=se.stickyOffsets,ye=se.flattenColumns,Ae=se.rowComponent,Re=se.cellComponent,$e=se.tdCellComponent,Xe=se.onHeaderRow,Je=se.index,mt=He(ne,["prefixCls","direction"]),Bt=mt.prefixCls,pt=mt.direction,$t;Xe&&($t=Xe(ce.map(function(en){return en.column}),Je));var Yt=ln(ce.map(function(en){return en.column}));return de.createElement(Ae,$t,ce.map(function(en,Ln){var mn=en.column,kn=gn(en.colStart,en.colEnd,ye,he,pt,mn),Pn;return mn&&mn.onHeaderCell&&(Pn=en.column.onHeaderCell(mn)),de.createElement(jt,(0,et.Z)({},en,{scope:mn.title?en.colSpan>1?"colgroup":"col":null,ellipsis:mn.ellipsis,align:mn.align,component:mn.title?Re:$e,prefixCls:Bt,key:Yt[Ln]},kn,{additionalProps:Pn,rowType:"header"}))}))}Na.displayName="HeaderRow";var Lo=Na;function Xo(se){var ce=[];function he($e,Xe){var Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[Je]=ce[Je]||[];var mt=Xe,Bt=$e.filter(Boolean).map(function(pt){var $t={key:pt.key,className:pt.className||"",children:pt.title,column:pt,colStart:mt},Yt=1,en=pt.children;return en&&en.length>0&&(Yt=he(en,mt,Je+1).reduce(function(Ln,mn){return Ln+mn},0),$t.hasSubColumns=!0),"colSpan"in pt&&(Yt=pt.colSpan),"rowSpan"in pt&&($t.rowSpan=pt.rowSpan),$t.colSpan=Yt,$t.colEnd=$t.colStart+Yt-1,ce[Je].push($t),mt+=Yt,Yt});return Bt}he(se,0);for(var ye=ce.length,Ae=function(Xe){ce[Xe].forEach(function(Je){!("rowSpan"in Je)&&!Je.hasSubColumns&&(Je.rowSpan=ye-Xe)})},Re=0;Re<ye;Re+=1)Ae(Re);return ce}function Ai(se){var ce=se.stickyOffsets,he=se.columns,ye=se.flattenColumns,Ae=se.onHeaderRow,Re=He(ne,["prefixCls","getComponent"]),$e=Re.prefixCls,Xe=Re.getComponent,Je=de.useMemo(function(){return Xo(he)},[he]),mt=Xe(["header","wrapper"],"thead"),Bt=Xe(["header","row"],"tr"),pt=Xe(["header","cell"],"th"),$t=Xe(["header","cell"],"td");return de.createElement(mt,{className:"".concat($e,"-thead")},Je.map(function(Yt,en){var Ln=de.createElement(Lo,{key:en,flattenColumns:ye,cells:Yt,stickyOffsets:ce,rowComponent:Bt,cellComponent:pt,tdCellComponent:$t,onHeaderRow:Ae,index:en});return Ln}))}var ji=z(Ai);function il(se){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[];return de.Children.forEach(se,function(ye){ye==null&&!ce.keepEmpty||(Array.isArray(ye)?he=he.concat(il(ye)):(0,Va.isFragment)(ye)&&ye.props?he=he.concat(il(ye.props.children,ce)):he.push(ye))}),he}function fs(se){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ce=="number"?ce:ce.endsWith("%")?se*parseFloat(ce)/100:null}function Zi(se,ce){return de.useMemo(function(){if(ce&&ce>0){var he=0,ye=0;se.forEach(function(mt){var Bt=fs(ce,mt.width);Bt?he+=Bt:ye+=1});var Ae=ce-he,Re=ye,$e=Ae/ye,Xe=0,Je=se.map(function(mt){var Bt=(0,xe.Z)({},mt),pt=fs(ce,Bt.width);if(pt)Bt.width=pt;else{var $t=Math.floor($e);Bt.width=Re===1?Ae:$t,Ae-=$t,Re-=1}return Xe+=Bt.width,Bt});return[Je,Xe]}return[se,ce]},[se,ce])}var Ts=["children"],dd=["fixed"];function Ul(se){return il(se).filter(function(ce){return de.isValidElement(ce)}).map(function(ce){var he=ce.key,ye=ce.props,Ae=ye.children,Re=(0,ga.Z)(ye,Ts),$e=(0,xe.Z)({key:he},Re);return Ae&&($e.children=Ul(Ae)),$e})}function ms(se){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return se.filter(function(he){return he&&(0,be.Z)(he)==="object"}).reduce(function(he,ye,Ae){var Re=ye.fixed,$e=Re===!0?"left":Re,Xe="".concat(ce,"-").concat(Ae),Je=ye.children;return Je&&Je.length>0?[].concat((0,mo.Z)(he),(0,mo.Z)(ms(Je,Xe).map(function(mt){return(0,xe.Z)({fixed:$e},mt)}))):[].concat((0,mo.Z)(he),[(0,xe.Z)((0,xe.Z)({key:Xe},ye),{},{fixed:$e})])},[])}function is(se){for(var ce=!0,he=0;he<se.length;he+=1){var ye=se[he];if(ce&&ye.fixed!=="left")ce=!1;else if(!ce&&ye.fixed==="left"){warning(!1,"Index ".concat(he-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ae=!0,Re=se.length-1;Re>=0;Re-=1){var $e=se[Re];if(Ae&&$e.fixed!=="right")Ae=!1;else if(!Ae&&$e.fixed==="right"){warning(!1,"Index ".concat(Re+1," of `columns` missing `fixed='right'` prop."));break}}}function vs(se){return se.map(function(ce){var he=ce.fixed,ye=(0,ga.Z)(ce,dd),Ae=he;return he==="left"?Ae="right":he==="right"&&(Ae="left"),(0,xe.Z)({fixed:Ae},ye)})}function Is(se,ce){var he=se.prefixCls,ye=se.columns,Ae=se.children,Re=se.expandable,$e=se.expandedKeys,Xe=se.columnTitle,Je=se.getRowKey,mt=se.onTriggerExpand,Bt=se.expandIcon,pt=se.rowExpandable,$t=se.expandIconColumnIndex,Yt=se.direction,en=se.expandRowByClick,Ln=se.columnWidth,mn=se.fixed,kn=se.scrollWidth,Pn=de.useMemo(function(){return ye||Ul(Ae)},[ye,Ae]),Gn=de.useMemo(function(){if(Re){var sa,Vn=Pn.slice();if(!Vn.includes(le)){var zn=$t||0;zn>=0&&Vn.splice(zn,0,le)}var da=Vn.indexOf(le);Vn=Vn.filter(function(ya,fr){return ya!==le||fr===da});var ba=Pn[da],Ya;(mn==="left"||mn)&&!$t?Ya="left":(mn==="right"||mn)&&$t===Pn.length?Ya="right":Ya=ba?ba.fixed:null;var rr=(sa={},(0,pe.Z)(sa,fl,{className:"".concat(he,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,pe.Z)(sa,"title",Xe),(0,pe.Z)(sa,"fixed",Ya),(0,pe.Z)(sa,"className","".concat(he,"-row-expand-icon-cell")),(0,pe.Z)(sa,"width",Ln),(0,pe.Z)(sa,"render",function(fr,pr,to){var Tr=Je(pr,to),jo=$e.has(Tr),Wo=pt?pt(pr):!0,ur=Bt({prefixCls:he,expanded:jo,expandable:Wo,record:pr,onExpand:mt});return en?de.createElement("span",{onClick:function(Fn){return Fn.stopPropagation()}},ur):ur}),sa);return Vn.map(function(ya){return ya===le?rr:ya})}return Pn.filter(function(ya){return ya!==le})},[Re,Pn,Je,$e,Bt,Yt]),fa=de.useMemo(function(){var sa=Gn;return ce&&(sa=ce(sa)),sa.length||(sa=[{render:function(){return null}}]),sa},[ce,Gn,Yt]),Ea=de.useMemo(function(){return Yt==="rtl"?vs(ms(fa)):ms(fa)},[fa,Yt,kn]),ua=Zi(Ea,kn),Ua=(0,Oe.Z)(ua,2),sr=Ua[0],_n=Ua[1];return[fa,sr,_n]}var $l=Is;function hs(se){var ce,he=se.prefixCls,ye=se.record,Ae=se.onExpand,Re=se.expanded,$e=se.expandable,Xe="".concat(he,"-row-expand-icon");if(!$e)return de.createElement("span",{className:Qe()(Xe,"".concat(he,"-row-spaced"))});var Je=function(Bt){Ae(ye,Bt),Bt.stopPropagation()};return de.createElement("span",{className:Qe()(Xe,(ce={},(0,pe.Z)(ce,"".concat(he,"-row-expanded"),Re),(0,pe.Z)(ce,"".concat(he,"-row-collapsed"),!Re),ce)),onClick:Je})}function Yl(se,ce,he){var ye=[];function Ae(Re){(Re||[]).forEach(function($e,Xe){ye.push(ce($e,Xe)),Ae($e[he])})}return Ae(se),ye}function Ss(se,ce,he){var ye=Es(se),Ae=ye.expandIcon,Re=ye.expandedRowKeys,$e=ye.defaultExpandedRowKeys,Xe=ye.defaultExpandAllRows,Je=ye.expandedRowRender,mt=ye.onExpand,Bt=ye.onExpandedRowsChange,pt=ye.childrenColumnName,$t=Ae||hs,Yt=pt||"children",en=de.useMemo(function(){return Je?"row":se.expandable&&se.internalHooks===ve&&se.expandable.__PARENT_RENDER_ICON__||ce.some(function(Ea){return Ea&&(0,be.Z)(Ea)==="object"&&Ea[Yt]})?"nest":!1},[!!Je,ce]),Ln=de.useState(function(){return $e||(Xe?Yl(ce,he,Yt):[])}),mn=(0,Oe.Z)(Ln,2),kn=mn[0],Pn=mn[1],Gn=de.useMemo(function(){return new Set(Re||kn||[])},[Re,kn]),fa=de.useCallback(function(Ea){var ua=he(Ea,ce.indexOf(Ea)),Ua,sr=Gn.has(ua);sr?(Gn.delete(ua),Ua=(0,mo.Z)(Gn)):Ua=[].concat((0,mo.Z)(Gn),[ua]),Pn(Ua),mt&&mt(!sr,Ea),Bt&&Bt(Ua)},[he,Gn,ce,mt,Bt]);return[ye,en,Gn,$t,Yt,fa]}function yt(se,ce,he,ye){var Ae=se.map(function(Re,$e){return gn($e,$e,se,ce,he,ye==null?void 0:ye[$e])});return Ot(function(){return Ae},[Ae],function(Re,$e){return!Dt(Re,$e)})}function At(se){var ce=(0,de.useRef)(se),he=(0,de.useState)({}),ye=(0,Oe.Z)(he,2),Ae=ye[1],Re=(0,de.useRef)(null),$e=(0,de.useRef)([]);function Xe(Je){$e.current.push(Je);var mt=Promise.resolve();Re.current=mt,mt.then(function(){if(Re.current===mt){var Bt=$e.current,pt=ce.current;$e.current=[],Bt.forEach(function($t){ce.current=$t(ce.current)}),Re.current=null,pt!==ce.current&&Ae({})}})}return(0,de.useEffect)(function(){return function(){Re.current=null}},[]),[ce.current,Xe]}function Ut(se){var ce=(0,de.useRef)(se||null),he=(0,de.useRef)();function ye(){window.clearTimeout(he.current)}function Ae($e){ce.current=$e,ye(),he.current=window.setTimeout(function(){ce.current=null,he.current=void 0},100)}function Re(){return ce.current}return(0,de.useEffect)(function(){return ye},[]),[Ae,Re]}function Be(){var se=de.useState(-1),ce=(0,Oe.Z)(se,2),he=ce[0],ye=ce[1],Ae=de.useState(-1),Re=(0,Oe.Z)(Ae,2),$e=Re[0],Xe=Re[1],Je=de.useCallback(function(mt,Bt){ye(mt),Xe(Bt)},[]);return[he,$e,Je]}var zt=ca()?window:null;function vn(se,ce){var he=(0,be.Z)(se)==="object"?se:{},ye=he.offsetHeader,Ae=ye===void 0?0:ye,Re=he.offsetSummary,$e=Re===void 0?0:Re,Xe=he.offsetScroll,Je=Xe===void 0?0:Xe,mt=he.getContainer,Bt=mt===void 0?function(){return zt}:mt,pt=Bt()||zt;return de.useMemo(function(){var $t=!!se;return{isSticky:$t,stickyClassName:$t?"".concat(ce,"-sticky-holder"):"",offsetHeader:Ae,offsetSummary:$e,offsetScroll:Je,container:pt}},[Je,Ae,$e,ce,pt])}function Sn(se,ce,he){var ye=(0,de.useMemo)(function(){for(var Ae=[],Re=[],$e=0,Xe=0,Je=0;Je<ce;Je+=1)if(he==="rtl"){Re[Je]=Xe,Xe+=se[Je]||0;var mt=ce-Je-1;Ae[mt]=$e,$e+=se[mt]||0}else{Ae[Je]=$e,$e+=se[Je]||0;var Bt=ce-Je-1;Re[Bt]=Xe,Xe+=se[Bt]||0}return{left:Ae,right:Re}},[se,ce,he]);return ye}var Nt=Sn;function Gt(se){var ce=se.className,he=se.children;return de.createElement("div",{className:ce},he)}var Rt=Gt;function yn(se,ce,he,ye){var Ae=ze.unstable_batchedUpdates?function($e){ze.unstable_batchedUpdates(he,$e)}:he;return se!=null&&se.addEventListener&&se.addEventListener(ce,Ae,ye),{remove:function(){se!=null&&se.removeEventListener&&se.removeEventListener(ce,Ae,ye)}}}var Wn=/margin|padding|width|height|max|min|offset/,la={left:!0,top:!0},ta={cssFloat:1,styleFloat:1,float:1};function pa(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function Ha(se,ce,he){if(ce=ce.toLowerCase(),he==="auto"){if(ce==="height")return se.offsetHeight;if(ce==="width")return se.offsetWidth}return ce in la||(la[ce]=Wn.test(ce)),la[ce]?parseFloat(he)||0:he}function sn(se,ce){var he=arguments.length,ye=pa(se);return ce=ta[ce]?"cssFloat"in se.style?"cssFloat":"styleFloat":ce,he===1?ye:Ha(se,ce,ye[ce]||se.style[ce])}function xt(se,ce,he){var ye=arguments.length;if(ce=ta[ce]?"cssFloat"in se.style?"cssFloat":"styleFloat":ce,ye===3)return typeof he=="number"&&Wn.test(ce)&&(he="".concat(he,"px")),se.style[ce]=he,he;for(var Ae in ce)ce.hasOwnProperty(Ae)&&xt(se,Ae,ce[Ae]);return pa(se)}function rn(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function un(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function jn(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ce=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:ce}}function Sa(){var se=document.documentElement.clientWidth,ce=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:ce}}function Oa(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ar(se){var ce=se.getBoundingClientRect(),he=document.documentElement;return{left:ce.left+(window.pageXOffset||he.scrollLeft)-(he.clientLeft||document.body.clientLeft||0),top:ce.top+(window.pageYOffset||he.scrollTop)-(he.clientTop||document.body.clientTop||0)}}var Ka=function(ce,he){var ye,Ae,Re=ce.scrollBodyRef,$e=ce.onScroll,Xe=ce.offsetScroll,Je=ce.container,mt=He(ne,"prefixCls"),Bt=((ye=Re.current)===null||ye===void 0?void 0:ye.scrollWidth)||0,pt=((Ae=Re.current)===null||Ae===void 0?void 0:Ae.clientWidth)||0,$t=Bt&&pt*(pt/Bt),Yt=de.useRef(),en=At({scrollLeft:0,isHiddenScrollBar:!1}),Ln=(0,Oe.Z)(en,2),mn=Ln[0],kn=Ln[1],Pn=de.useRef({delta:0,x:0}),Gn=de.useState(!1),fa=(0,Oe.Z)(Gn,2),Ea=fa[0],ua=fa[1],Ua=function(){ua(!1)},sr=function(da){da.persist(),Pn.current.delta=da.pageX-mn.scrollLeft,Pn.current.x=0,ua(!0),da.preventDefault()},_n=function(da){var ba,Ya=da||((ba=window)===null||ba===void 0?void 0:ba.event),rr=Ya.buttons;if(!Ea||rr===0){Ea&&ua(!1);return}var ya=Pn.current.x+da.pageX-Pn.current.x-Pn.current.delta;ya<=0&&(ya=0),ya+$t>=pt&&(ya=pt-$t),$e({scrollLeft:ya/pt*(Bt+2)}),Pn.current.x=da.pageX},sa=function(){if(Re.current){var da=ar(Re.current).top,ba=da+Re.current.offsetHeight,Ya=Je===window?document.documentElement.scrollTop+window.innerHeight:ar(Je).top+Je.clientHeight;ba-dt()<=Ya||da>=Ya-Xe?kn(function(rr){return(0,xe.Z)((0,xe.Z)({},rr),{},{isHiddenScrollBar:!0})}):kn(function(rr){return(0,xe.Z)((0,xe.Z)({},rr),{},{isHiddenScrollBar:!1})})}},Vn=function(da){kn(function(ba){return(0,xe.Z)((0,xe.Z)({},ba),{},{scrollLeft:da/Bt*pt||0})})};return de.useImperativeHandle(he,function(){return{setScrollLeft:Vn}}),de.useEffect(function(){var zn=yn(document.body,"mouseup",Ua,!1),da=yn(document.body,"mousemove",_n,!1);return sa(),function(){zn.remove(),da.remove()}},[$t,Ea]),de.useEffect(function(){var zn=yn(Je,"scroll",sa,!1),da=yn(window,"resize",sa,!1);return function(){zn.remove(),da.remove()}},[Je]),de.useEffect(function(){mn.isHiddenScrollBar||kn(function(zn){var da=Re.current;return da?(0,xe.Z)((0,xe.Z)({},zn),{},{scrollLeft:da.scrollLeft/da.scrollWidth*da.clientWidth}):zn})},[mn.isHiddenScrollBar]),Bt<=pt||!$t||mn.isHiddenScrollBar?null:de.createElement("div",{style:{height:dt(),width:pt,bottom:Xe},className:"".concat(mt,"-sticky-scroll")},de.createElement("div",{onMouseDown:sr,ref:Yt,className:Qe()("".concat(mt,"-sticky-scroll-bar"),(0,pe.Z)({},"".concat(mt,"-sticky-scroll-bar-active"),Ea)),style:{width:"".concat($t,"px"),transform:"translate3d(".concat(mn.scrollLeft,"px, 0, 0)")}}))},Xa=de.forwardRef(Ka);function gr(se){return null}var Wa=gr;function Yr(se){return null}var Gr=Yr,vo="rc-table",_r=[],Bo={};function Ro(){return"No Data"}function eo(se){var ce,he=(0,xe.Z)({rowKey:"key",prefixCls:vo,emptyText:Ro},se),ye=he.prefixCls,Ae=he.className,Re=he.rowClassName,$e=he.style,Xe=he.data,Je=he.rowKey,mt=he.scroll,Bt=he.tableLayout,pt=he.direction,$t=he.title,Yt=he.footer,en=he.summary,Ln=he.caption,mn=he.id,kn=he.showHeader,Pn=he.components,Gn=he.emptyText,fa=he.onRow,Ea=he.onHeaderRow,ua=he.internalHooks,Ua=he.transformColumns,sr=he.internalRefs,_n=he.tailor,sa=he.sticky,Vn=Xe||_r,zn=!!Vn.length,da=ua===ve,ba=de.useCallback(function(nr,ro){return En(Pn,nr)||ro},[Pn]),Ya=de.useMemo(function(){return typeof Je=="function"?Je:function(nr){var ro=nr&&nr[Je];return ro}},[Je]),rr=ba(["body"]),ya=Be(),fr=(0,Oe.Z)(ya,3),pr=fr[0],to=fr[1],Tr=fr[2],jo=Ss(he,Vn,Ya),Wo=(0,Oe.Z)(jo,6),ur=Wo[0],di=Wo[1],Fn=Wo[2],Ta=Wo[3],Pr=Wo[4],so=Wo[5],na=mt==null?void 0:mt.x,wa=de.useState(0),ka=(0,Oe.Z)(wa,2),Ca=ka[0],zr=ka[1],Ia=$l((0,xe.Z)((0,xe.Z)((0,xe.Z)({},he),ur),{},{expandable:!!ur.expandedRowRender,columnTitle:ur.columnTitle,expandedKeys:Fn,getRowKey:Ya,onTriggerExpand:so,expandIcon:Ta,expandIconColumnIndex:ur.expandIconColumnIndex,direction:pt,scrollWidth:da&&_n&&typeof na=="number"?na:null}),da?Ua:null),mr=(0,Oe.Z)(Ia,3),Jr=mr[0],Wr=mr[1],Sl=mr[2],al=Sl!=null?Sl:na,Ms=de.useMemo(function(){return{columns:Jr,flattenColumns:Wr}},[Jr,Wr]),Mi=de.useRef(),os=de.useRef(),ri=de.useRef(),Ll=de.useRef(),Cd=de.useRef(),po=de.useState(!1),Co=(0,Oe.Z)(po,2),ee=Co[0],oe=Co[1],ie=de.useState(!1),ge=(0,Oe.Z)(ie,2),me=ge[0],Le=ge[1],Ee=At(new Map),Ue=(0,Oe.Z)(Ee,2),Ye=Ue[0],it=Ue[1],Tt=ln(Wr),ut=Tt.map(function(nr){return Ye.get(nr)}),gt=de.useMemo(function(){return ut},[ut.join("_")]),vt=Nt(gt,Wr.length,pt),Ct=mt&&ra(mt.y),qe=mt&&ra(al)||!!ur.fixed,St=qe&&Wr.some(function(nr){var ro=nr.fixed;return ro}),Ht=de.useRef(),cn=vn(sa,ye),Xt=cn.isSticky,Qt=cn.offsetHeader,Dn=cn.offsetSummary,Vt=cn.offsetScroll,Jt=cn.stickyClassName,oa=cn.container,Tn=de.useMemo(function(){return en==null?void 0:en(Vn)},[en,Vn]),ia=(Ct||Xt)&&de.isValidElement(Tn)&&Tn.type===Mn&&Tn.props.fixed,$n,Ra,or;Ct&&(Ra={overflowY:"scroll",maxHeight:mt.y}),qe&&($n={overflowX:"auto"},Ct||(Ra={overflowY:"hidden"}),or={width:al===!0?"auto":al,minWidth:"100%"});var xr=de.useCallback(function(nr,ro){wn(Mi.current)&&it(function(Oo){if(Oo.get(nr)!==ro){var wi=new Map(Oo);return wi.set(nr,ro),wi}return Oo})},[]),Fa=Ut(null),Za=(0,Oe.Z)(Fa,2),ma=Za[0],Er=Za[1];function _a(nr,ro){ro&&(typeof ro=="function"?ro(nr):ro.scrollLeft!==nr&&(ro.scrollLeft=nr,ro.scrollLeft!==nr&&setTimeout(function(){ro.scrollLeft=nr},0)))}var ir=Un(function(nr){var ro=nr.currentTarget,Oo=nr.scrollLeft,wi=pt==="rtl",Eo=typeof Oo=="number"?Oo:ro.scrollLeft,Fi=ro||Bo;if(!Er()||Er()===Fi){var gi;ma(Fi),_a(Eo,os.current),_a(Eo,ri.current),_a(Eo,Cd.current),_a(Eo,(gi=Ht.current)===null||gi===void 0?void 0:gi.setScrollLeft)}var $i=ro||os.current;if($i){var _i=$i.scrollWidth,yi=$i.clientWidth;if(_i===yi){oe(!1),Le(!1);return}wi?(oe(-Eo<_i-yi),Le(-Eo>0)):(oe(Eo>0),Le(Eo<_i-yi))}}),no=function(){qe&&ri.current?ir({currentTarget:ri.current}):(oe(!1),Le(!1))},uo=function(ro){var Oo=ro.width;Oo!==Ca&&(no(),zr(Mi.current?Mi.current.offsetWidth:Oo))},xo=de.useRef(!1);de.useEffect(function(){xo.current&&no()},[qe,Xe,Jr.length]),de.useEffect(function(){xo.current=!0},[]);var ei=de.useState(0),Xr=(0,Oe.Z)(ei,2),Go=Xr[0],kr=Xr[1],Ir=de.useState(!0),ao=(0,Oe.Z)(Ir,2),Ko=ao[0],Vo=ao[1];de.useEffect(function(){(!_n||!da)&&(ri.current instanceof Element?kr(Zt(ri.current).width):kr(Zt(Ll.current).width)),Vo(Rn("position","sticky"))},[]),de.useEffect(function(){da&&sr&&(sr.body.current=ri.current)});var xi=de.useCallback(function(nr){return de.createElement(de.Fragment,null,de.createElement(ji,nr),ia==="top"&&de.createElement(_t,nr,Tn))},[ia,Tn]),Uo=de.useCallback(function(nr){return de.createElement(_t,nr,Tn)},[Tn]),tr=ba(["table"],"table"),co=de.useMemo(function(){return Bt||(St?al==="max-content"?"auto":"fixed":Ct||Xt||Wr.some(function(nr){var ro=nr.ellipsis;return ro})?"fixed":"auto")},[Ct,St,Wr,Bt,Xt]),Vr,wr={colWidths:gt,columCount:Wr.length,stickyOffsets:vt,onHeaderRow:Ea,fixHeader:Ct,scroll:mt},Da=de.useMemo(function(){return zn?null:typeof Gn=="function"?Gn():Gn},[zn,Gn]),Br=de.createElement(mi,{data:Vn,measureColumnWidth:Ct||qe||Xt}),Po=de.createElement(ml,{colWidths:Wr.map(function(nr){var ro=nr.width;return ro}),columns:Wr}),ki=Ln!=null?de.createElement("caption",{className:"".concat(ye,"-caption")},Ln):void 0,qi=fo(he,{data:!0}),Pi=fo(he,{aria:!0});if(Ct||Xt){var jl;typeof rr=="function"?(jl=rr(Vn,{scrollbarSize:Go,ref:ri,onScroll:ir}),wr.colWidths=Wr.map(function(nr,ro){var Oo=nr.width,wi=ro===Wr.length-1?Oo-Go:Oo;return typeof wi=="number"&&!Number.isNaN(wi)?wi:0})):jl=de.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},$n),Ra),onScroll:ir,ref:ri,className:Qe()("".concat(ye,"-body"))},de.createElement(tr,(0,et.Z)({style:(0,xe.Z)((0,xe.Z)({},or),{},{tableLayout:co})},Pi),ki,Po,Br,!ia&&Tn&&de.createElement(_t,{stickyOffsets:vt,flattenColumns:Wr,columns:Jr},Tn)));var us=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!Vn.length,maxContentScroll:qe&&al==="max-content"},wr),Ms),{},{direction:pt,stickyClassName:Jt,onScroll:ir});Vr=de.createElement(de.Fragment,null,kn!==!1&&de.createElement(vr,(0,et.Z)({},us,{stickyTopOffset:Qt,className:"".concat(ye,"-header"),ref:os}),xi),jl,ia&&ia!=="top"&&de.createElement(vr,(0,et.Z)({},us,{stickyBottomOffset:Dn,className:"".concat(ye,"-summary"),ref:Cd}),Uo),Xt&&de.createElement(Xa,{ref:Ht,offsetScroll:Vt,scrollBodyRef:ri,onScroll:ir,container:oa}))}else Vr=de.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},$n),Ra),className:Qe()("".concat(ye,"-content")),onScroll:ir,ref:ri},de.createElement(tr,(0,et.Z)({style:(0,xe.Z)((0,xe.Z)({},or),{},{tableLayout:co})},Pi),ki,Po,kn!==!1&&de.createElement(ji,(0,et.Z)({},wr,Ms)),Br,Tn&&de.createElement(_t,{stickyOffsets:vt,flattenColumns:Wr,columns:Jr},Tn)));var Ui=de.createElement("div",(0,et.Z)({className:Qe()(ye,Ae,(ce={},(0,pe.Z)(ce,"".concat(ye,"-rtl"),pt==="rtl"),(0,pe.Z)(ce,"".concat(ye,"-ping-left"),ee),(0,pe.Z)(ce,"".concat(ye,"-ping-right"),me),(0,pe.Z)(ce,"".concat(ye,"-layout-fixed"),Bt==="fixed"),(0,pe.Z)(ce,"".concat(ye,"-fixed-header"),Ct),(0,pe.Z)(ce,"".concat(ye,"-fixed-column"),St),(0,pe.Z)(ce,"".concat(ye,"-scroll-horizontal"),qe),(0,pe.Z)(ce,"".concat(ye,"-has-fix-left"),Wr[0]&&Wr[0].fixed),(0,pe.Z)(ce,"".concat(ye,"-has-fix-right"),Wr[Wr.length-1]&&Wr[Wr.length-1].fixed==="right"),ce)),style:$e,id:mn,ref:Mi},qi),$t&&de.createElement(Rt,{className:"".concat(ye,"-title")},$t(Vn)),de.createElement("div",{ref:Ll,className:"".concat(ye,"-container")},Vr),Yt&&de.createElement(Rt,{className:"".concat(ye,"-footer")},Yt(Vn)));qe&&(Ui=de.createElement(bn.Z,{onResize:uo},Ui));var Ri=yt(Wr,vt,pt,Jr),Ei=de.useMemo(function(){return{scrollX:al,prefixCls:ye,getComponent:ba,scrollbarSize:Go,direction:pt,fixedInfoList:Ri,isSticky:Xt,supportSticky:Ko,componentWidth:Ca,fixHeader:Ct,fixColumn:St,horizonScroll:qe,tableLayout:co,rowClassName:Re,expandedRowClassName:ur.expandedRowClassName,expandIcon:Ta,expandableType:di,expandRowByClick:ur.expandRowByClick,expandedRowRender:ur.expandedRowRender,onTriggerExpand:so,expandIconColumnIndex:ur.expandIconColumnIndex,indentSize:ur.indentSize,allColumnsFixedLeft:Wr.every(function(nr){return nr.fixed==="left"}),emptyNode:Da,columns:Jr,flattenColumns:Wr,onColumnResize:xr,hoverStartRow:pr,hoverEndRow:to,onHover:Tr,rowExpandable:ur.rowExpandable,onRow:fa,getRowKey:Ya,expandedKeys:Fn,childrenColumnName:Pr}},[al,ye,ba,Go,pt,Ri,Xt,Ko,Ca,Ct,St,qe,co,Re,ur.expandedRowClassName,Ta,di,ur.expandRowByClick,ur.expandedRowRender,so,ur.expandIconColumnIndex,ur.indentSize,Da,Jr,Wr,xr,pr,to,Tr,ur.rowExpandable,fa,Ya,Fn,Pr]);return de.createElement(ne.Provider,{value:Ei},Ui)}function vi(se){return E(eo,se)}var ll=vi();ll.EXPAND_COLUMN=le,ll.INTERNAL_HOOKS=ve,ll.Column=Wa,ll.ColumnGroup=Gr,ll.Summary=ea;var Dl=ll,yl=te(73299),nl=Ke(null),ii=Ke(null);function Ql(se,ce,he){var ye=ce||1;return he[se+ye]-(he[se]||0)}function Ml(se){var ce=se.rowInfo,he=se.column,ye=se.colIndex,Ae=se.indent,Re=se.index,$e=se.renderIndex,Xe=se.record,Je=se.style,mt=se.className,Bt=se.inverse,pt=se.getHeight,$t=he.render,Yt=he.dataIndex,en=he.className,Ln=he.width,mn=He(ii,["columnsOffset"]),kn=mn.columnsOffset,Pn=wo(ce,he,ye,Ae,Re),Gn=Pn.key,fa=Pn.fixedInfo,Ea=Pn.appendCellNode,ua=Pn.additionalCellProps,Ua=ua.style,sr=ua.colSpan,_n=sr===void 0?1:sr,sa=ua.rowSpan,Vn=sa===void 0?1:sa,zn=ye-1,da=Ql(zn,_n,kn),ba=_n>1?Ln-da:0,Ya=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ua),Je),{},{flex:"0 0 ".concat(da,"px"),width:"".concat(da,"px"),marginRight:ba,pointerEvents:"auto"}),rr=de.useMemo(function(){return Bt?Vn<=1:_n===0||Vn===0||Vn>1},[Vn,_n,Bt]);rr?Ya.visibility="hidden":Bt&&(Ya.height=pt==null?void 0:pt(Vn));var ya=rr?function(){return null}:$t,fr={};return(Vn===0||_n===0)&&(fr.rowSpan=1,fr.colSpan=1),de.createElement(jt,(0,et.Z)({className:Qe()(en,mt),ellipsis:he.ellipsis,align:he.align,scope:he.rowScope,component:"div",prefixCls:ce.prefixCls,key:Gn,record:Xe,index:Re,renderIndex:$e,dataIndex:Yt,render:ya,shouldCellUpdate:he.shouldCellUpdate},fa,{appendNode:Ea,additionalProps:(0,xe.Z)((0,xe.Z)({},ua),{},{style:Ya},fr)}))}var Jl=Ml,Zs=["data","index","className","rowKey","style","extra","getHeight"],bl=de.forwardRef(function(se,ce){var he=se.data,ye=se.index,Ae=se.className,Re=se.rowKey,$e=se.style,Xe=se.extra,Je=se.getHeight,mt=(0,ga.Z)(se,Zs),Bt=he.record,pt=he.indent,$t=he.index,Yt=He(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),en=Yt.scrollX,Ln=Yt.flattenColumns,mn=Yt.prefixCls,kn=Yt.fixColumn,Pn=Yt.componentWidth,Gn=Jo(Bt,Re,ye,pt),fa=Gn.rowSupportExpand,Ea=Gn.expanded,ua=Gn.rowProps,Ua=Gn.expandedRowRender,sr=Gn.expandedRowClassName,_n;if(fa&&Ea){var sa=Ua(Bt,ye,pt+1,Ea),Vn=sr==null?void 0:sr(Bt,ye,pt),zn={};kn&&(zn={style:(0,pe.Z)({},"--virtual-width","".concat(Pn,"px"))});var da="".concat(mn,"-expanded-row-cell");_n=de.createElement("div",{className:Qe()("".concat(mn,"-expanded-row"),"".concat(mn,"-expanded-row-level-").concat(pt+1),Vn)},de.createElement(jt,{component:"div",prefixCls:mn,className:Qe()(da,(0,pe.Z)({},"".concat(da,"-fixed"),kn)),additionalProps:zn},sa))}var ba=(0,xe.Z)((0,xe.Z)({},$e),{},{width:en});Xe&&(ba.position="absolute",ba.pointerEvents="none");var Ya=de.createElement("div",(0,et.Z)({},ua,mt,{ref:fa?null:ce,className:Qe()(Ae,"".concat(mn,"-row"),ua==null?void 0:ua.className,(0,pe.Z)({},"".concat(mn,"-row-extra"),Xe)),style:(0,xe.Z)((0,xe.Z)({},ba),ua==null?void 0:ua.style)}),Ln.map(function(rr,ya){return de.createElement(Jl,{key:ya,rowInfo:Gn,column:rr,colIndex:ya,indent:pt,index:ye,renderIndex:$t,record:Bt,inverse:Xe,getHeight:Je})}));return fa?de.createElement("div",{ref:ce},Ya,_n):Ya}),zs=z(bl),kl=zs,Bd=de.forwardRef(function(se,ce){var he=se.data,ye=se.onScroll,Ae=He(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Re=Ae.flattenColumns,$e=Ae.onColumnResize,Xe=Ae.getRowKey,Je=Ae.expandedKeys,mt=Ae.prefixCls,Bt=Ae.childrenColumnName,pt=Ae.emptyNode,$t=Ae.scrollX,Yt=He(nl),en=Yt.scrollY,Ln=Yt.listItemHeight,mn=de.useRef(),kn=$r(he,Bt,Je,Xe),Pn=de.useMemo(function(){var _n=0;return Re.map(function(sa){var Vn=sa.width,zn=sa.key;return _n+=Vn,[zn,Vn,_n]})},[Re]),Gn=de.useMemo(function(){return Pn.map(function(_n){return _n[2]})},[Pn]);de.useEffect(function(){Pn.forEach(function(_n){var sa=(0,Oe.Z)(_n,2),Vn=sa[0],zn=sa[1];$e(Vn,zn)})},[Pn]),de.useImperativeHandle(ce,function(){var _n={};return Object.defineProperty(_n,"scrollLeft",{get:function(){var Vn;return((Vn=mn.current)===null||Vn===void 0?void 0:Vn.getScrollInfo().x)||0},set:function(Vn){var zn;(zn=mn.current)===null||zn===void 0||zn.scrollTo({left:Vn})}}),_n});var fa=function(sa,Vn){var zn,da=(zn=kn[Vn])===null||zn===void 0?void 0:zn.record,ba=sa.onCell;if(ba){var Ya,rr=ba(da,Vn);return(Ya=rr==null?void 0:rr.rowSpan)!==null&&Ya!==void 0?Ya:1}return 1},Ea=function(sa){var Vn=sa.start,zn=sa.end,da=sa.getSize,ba=sa.offsetY;if(zn<0)return null;for(var Ya=Re.filter(function(na){return fa(na,Vn)===0}),rr=Vn,ya=function(wa){if(Ya=Ya.filter(function(ka){return fa(ka,wa)===0}),!Ya.length)return rr=wa,"break"},fr=Vn;fr>=0;fr-=1){var pr=ya(fr);if(pr==="break")break}for(var to=Re.filter(function(na){return fa(na,zn)!==1}),Tr=zn,jo=function(wa){if(to=to.filter(function(ka){return fa(ka,wa)!==1}),!to.length)return Tr=Math.max(wa-1,zn),"break"},Wo=zn;Wo<kn.length;Wo+=1){var ur=jo(Wo);if(ur==="break")break}for(var di=[],Fn=function(wa){var ka=kn[wa];if(!ka)return"continue";Re.some(function(Ca){return fa(Ca,wa)>1})&&di.push(wa)},Ta=rr;Ta<=Tr;Ta+=1)var Pr=Fn(Ta);var so=di.map(function(na){var wa=kn[na],ka=Xe(wa.record,na),Ca=function(mr){var Jr=na+mr-1,Wr=Xe(kn[Jr].record,Jr),Sl=da(ka,Wr);return Sl.bottom-Sl.top},zr=da(ka);return de.createElement(kl,{key:na,data:wa,rowKey:ka,index:na,style:{top:-ba+zr.top},extra:!0,getHeight:Ca})});return so},ua=de.useMemo(function(){return{columnsOffset:Gn}},[Gn]),Ua="".concat(mt,"-tbody"),sr;return kn.length?sr=de.createElement(yl.Z,{fullHeight:!1,ref:mn,className:Qe()(Ua,"".concat(Ua,"-virtual")),height:en,itemHeight:Ln||24,data:kn,itemKey:function(sa){return Xe(sa.record)},scrollWidth:$t,onVirtualScroll:function(sa){var Vn=sa.x;ye({scrollLeft:Vn})},extraRender:Ea},function(_n,sa,Vn){var zn=Xe(_n.record,sa);return de.createElement(kl,(0,et.Z)({data:_n,rowKey:zn,index:sa},Vn))}):sr=de.createElement("div",{className:Qe()("".concat(mt,"-placeholder"))},de.createElement(jt,{component:"div",prefixCls:mt},pt)),de.createElement(ii.Provider,{value:ua},sr)}),Cl=z(Bd),Hs=Cl,ls=function(ce,he){var ye=he.ref,Ae=he.onScroll;return de.createElement(Hs,{ref:ye,data:ce,onScroll:Ae})},nd=100;function ni(se){var ce=se.columns,he=se.scroll,ye=se.prefixCls,Ae=ye===void 0?vo:ye,Re=se.className,$e=se.listItemHeight,Xe=he||{},Je=Xe.x,mt=Xe.y;typeof Je!="number"&&(Je=((ce||[]).length+1)*nd),typeof mt!="number"&&(mt=500);var Bt=de.useMemo(function(){return{scrollY:mt,listItemHeight:$e}},[mt,$e]);return de.createElement(nl.Provider,{value:Bt},de.createElement(Dl,(0,et.Z)({},se,{className:Qe()(Re,"".concat(Ae,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},he),{},{x:Je}),components:{body:ls},columns:ce,internalHooks:ve,tailor:!0})))}function li(se){return E(ni,se)}var Wi=li(),ws=null;function Dd(se){return null}var ai=Dd;function Xl(se){return null}var Zl=Xl,lr=te(10366),ql=te(58375),_l=te(53124),Gs=te(88258),Ls=te(98675),Ks=te(25378),Pu=te(24457),ad=te(28452),As=te(57953),yu=te(46605);function iu(se){return function(he){let{prefixCls:ye,onExpand:Ae,record:Re,expanded:$e,expandable:Xe}=he;const Je=`${ye}-row-expand-icon`;return de.createElement("button",{type:"button",onClick:mt=>{Ae(Re,mt),mt.stopPropagation()},className:Qe()(Je,{[`${Je}-spaced`]:!Xe,[`${Je}-expanded`]:Xe&&$e,[`${Je}-collapsed`]:Xe&&!$e}),"aria-label":$e?se.collapse:se.expand,"aria-expanded":$e})}}var bu=iu;function js(se,ce){return"key"in se&&se.key!==void 0&&se.key!==null?se.key:se.dataIndex?Array.isArray(se.dataIndex)?se.dataIndex.join("."):se.dataIndex:ce}function ud(se,ce){return ce?`${ce}-${se}`:`${se}`}function cd(se,ce){return typeof se=="function"?se(ce):se}function Cu(se,ce){const he=cd(se,ce);return Object.prototype.toString.call(he)==="[object Object]"?"":he}var lu={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"},xu=lu,su=te(74643),Eu=function(ce,he){return de.createElement(su.Z,(0,et.Z)({},ce,{ref:he,icon:xu}))},wu=de.forwardRef(Eu),Yd=te(7699),du=te(57838);function Md(se){const ce=de.useRef(se),he=(0,du.Z)();return[()=>ce.current,ye=>{ce.current=ye,he()}]}var Lu=te(71577),gd=te(84567),Au=te(85418),rd=te(32983),Ns=te(68508),Nu=te(76529),Qd=te(78045),Ou=te(79870),Pe=te(72395),Me=te(69677);function ke(se){let{value:ce,onChange:he,filterSearch:ye,tablePrefixCls:Ae,locale:Re}=se;return ye?de.createElement("div",{className:`${Ae}-filter-dropdown-search`},de.createElement(Me.default,{prefix:de.createElement(Pe.Z,null),placeholder:Re.filterSearchPlaceholder,onChange:he,value:ce,htmlSize:1,className:`${Ae}-filter-dropdown-search-input`})):null}var tt=ke,wt=te(92389);const qt=se=>{const{keyCode:ce}=se;ce===wt.Z.ENTER&&se.stopPropagation()};var Kn=de.forwardRef((se,ce)=>de.createElement("div",{className:se.className,onClick:he=>he.stopPropagation(),onKeyDown:qt,ref:ce},se.children));function aa(se){let ce=[];return(se||[]).forEach(he=>{let{value:ye,children:Ae}=he;ce.push(ye),Ae&&(ce=[].concat((0,mo.Z)(ce),(0,mo.Z)(aa(Ae))))}),ce}function Qn(se){return se.some(ce=>{let{children:he}=ce;return he})}function xa(se,ce){return typeof ce=="string"||typeof ce=="number"?ce==null?void 0:ce.toString().toLowerCase().includes(se.trim().toLowerCase()):!1}function Xn(se){let{filters:ce,prefixCls:he,filteredKeys:ye,filterMultiple:Ae,searchValue:Re,filterSearch:$e}=se;return ce.map((Xe,Je)=>{const mt=String(Xe.value);if(Xe.children)return{key:mt||Je,label:Xe.text,popupClassName:`${he}-dropdown-submenu`,children:Xn({filters:Xe.children,prefixCls:he,filteredKeys:ye,filterMultiple:Ae,searchValue:Re,filterSearch:$e})};const Bt=Ae?gd.default:Qd.ZP,pt={key:Xe.value!==void 0?mt:Je,label:de.createElement(de.Fragment,null,de.createElement(Bt,{checked:ye.includes(mt)}),de.createElement("span",null,Xe.text))};return Re.trim()?typeof $e=="function"?$e(Re,Xe)?pt:null:xa(Re,Xe.text)?pt:null:pt})}function Ba(se){var ce,he;const{tablePrefixCls:ye,prefixCls:Ae,column:Re,dropdownPrefixCls:$e,columnKey:Xe,filterMultiple:Je,filterMode:mt="menu",filterSearch:Bt=!1,filterState:pt,triggerFilter:$t,locale:Yt,children:en,getPopupContainer:Ln}=se,{filterDropdownOpen:mn,onFilterDropdownOpenChange:kn,filterResetToDefaultFilteredValue:Pn,defaultFilteredValue:Gn,filterDropdownVisible:fa,onFilterDropdownVisibleChange:Ea}=Re,[ua,Ua]=de.useState(!1),sr=!!(pt&&(!((ce=pt.filteredKeys)===null||ce===void 0)&&ce.length||pt.forceFiltered)),_n=Ia=>{Ua(Ia),kn==null||kn(Ia),Ea==null||Ea(Ia)},sa=(he=mn!=null?mn:fa)!==null&&he!==void 0?he:ua,Vn=pt==null?void 0:pt.filteredKeys,[zn,da]=Md(Vn||[]),ba=Ia=>{let{selectedKeys:mr}=Ia;da(mr)},Ya=(Ia,mr)=>{let{node:Jr,checked:Wr}=mr;ba(Je?{selectedKeys:Ia}:{selectedKeys:Wr&&Jr.key?[Jr.key]:[]})};de.useEffect(()=>{ua&&ba({selectedKeys:Vn||[]})},[Vn]);const[rr,ya]=de.useState([]),fr=Ia=>{ya(Ia)},[pr,to]=de.useState(""),Tr=Ia=>{const{value:mr}=Ia.target;to(mr)};de.useEffect(()=>{ua||to("")},[ua]);const jo=Ia=>{const mr=Ia&&Ia.length?Ia:null;if(mr===null&&(!pt||!pt.filteredKeys)||(0,Yd.Z)(mr,pt==null?void 0:pt.filteredKeys,!0))return null;$t({column:Re,key:Xe,filteredKeys:mr})},Wo=()=>{_n(!1),jo(zn())},ur=function(){let{confirm:Ia,closeDropdown:mr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ia&&jo([]),mr&&_n(!1),to(""),da(Pn?(Gn||[]).map(Jr=>String(Jr)):[])},di=function(){let{closeDropdown:Ia}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ia&&_n(!1),jo(zn())},Fn=Ia=>{Ia&&Vn!==void 0&&da(Vn||[]),_n(Ia),!Ia&&!Re.filterDropdown&&Wo()},Ta=Qe()({[`${$e}-menu-without-submenu`]:!Qn(Re.filters||[])}),Pr=Ia=>{if(Ia.target.checked){const mr=aa(Re==null?void 0:Re.filters).map(Jr=>String(Jr));da(mr)}else da([])},so=Ia=>{let{filters:mr}=Ia;return(mr||[]).map((Jr,Wr)=>{const Sl=String(Jr.value),al={title:Jr.text,key:Jr.value!==void 0?Sl:Wr};return Jr.children&&(al.children=so({filters:Jr.children})),al})},na=Ia=>{var mr;return Object.assign(Object.assign({},Ia),{text:Ia.title,value:Ia.key,children:((mr=Ia.children)===null||mr===void 0?void 0:mr.map(Jr=>na(Jr)))||[]})};let wa;if(typeof Re.filterDropdown=="function")wa=Re.filterDropdown({prefixCls:`${$e}-custom`,setSelectedKeys:Ia=>ba({selectedKeys:Ia}),selectedKeys:zn(),confirm:di,clearFilters:ur,filters:Re.filters,visible:sa,close:()=>{_n(!1)}});else if(Re.filterDropdown)wa=Re.filterDropdown;else{const Ia=zn()||[],mr=()=>(Re.filters||[]).length===0?de.createElement(rd.Z,{image:rd.Z.PRESENTED_IMAGE_SIMPLE,description:Yt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):mt==="tree"?de.createElement(de.Fragment,null,de.createElement(tt,{filterSearch:Bt,value:pr,onChange:Tr,tablePrefixCls:ye,locale:Yt}),de.createElement("div",{className:`${ye}-filter-dropdown-tree`},Je?de.createElement(gd.default,{checked:Ia.length===aa(Re.filters).length,indeterminate:Ia.length>0&&Ia.length<aa(Re.filters).length,className:`${ye}-filter-dropdown-checkall`,onChange:Pr},Yt.filterCheckall):null,de.createElement(Ou.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Je,checkStrictly:!Je,className:`${$e}-menu`,onCheck:Ya,checkedKeys:Ia,selectedKeys:Ia,showIcon:!1,treeData:so({filters:Re.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:pr.trim()?Wr=>typeof Bt=="function"?Bt(pr,na(Wr)):xa(pr,Wr.title):void 0}))):de.createElement(de.Fragment,null,de.createElement(tt,{filterSearch:Bt,value:pr,onChange:Tr,tablePrefixCls:ye,locale:Yt}),de.createElement(Ns.default,{selectable:!0,multiple:Je,prefixCls:`${$e}-menu`,className:Ta,onSelect:ba,onDeselect:ba,selectedKeys:Ia,getPopupContainer:Ln,openKeys:rr,onOpenChange:fr,items:Xn({filters:Re.filters||[],filterSearch:Bt,prefixCls:Ae,filteredKeys:zn(),filterMultiple:Je,searchValue:pr})})),Jr=()=>Pn?(0,Yd.Z)((Gn||[]).map(Wr=>String(Wr)),Ia,!0):Ia.length===0;wa=de.createElement(de.Fragment,null,mr(),de.createElement("div",{className:`${Ae}-dropdown-btns`},de.createElement(Lu.ZP,{type:"link",size:"small",disabled:Jr(),onClick:()=>ur()},Yt.filterReset),de.createElement(Lu.ZP,{type:"primary",size:"small",onClick:Wo},Yt.filterConfirm)))}Re.filterDropdown&&(wa=de.createElement(Nu.J,{selectable:void 0},wa));const ka=()=>de.createElement(Kn,{className:`${Ae}-dropdown`},wa);let Ca;typeof Re.filterIcon=="function"?Ca=Re.filterIcon(sr):Re.filterIcon?Ca=Re.filterIcon:Ca=de.createElement(wu,null);const{direction:zr}=de.useContext(_l.E_);return de.createElement("div",{className:`${Ae}-column`},de.createElement("span",{className:`${ye}-column-title`},en),de.createElement(Au.Z,{dropdownRender:ka,trigger:["click"],open:sa,onOpenChange:Fn,getPopupContainer:Ln,placement:zr==="rtl"?"bottomLeft":"bottomRight"},de.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${Ae}-trigger`,{active:sr}),onClick:Ia=>{Ia.stopPropagation()}},Ca)))}var Pa=Ba;function qa(se,ce,he){let ye=[];return(se||[]).forEach((Ae,Re)=>{var $e;const Xe=ud(Re,he);if(Ae.filters||"filterDropdown"in Ae||"onFilter"in Ae)if("filteredValue"in Ae){let Je=Ae.filteredValue;"filterDropdown"in Ae||(Je=($e=Je==null?void 0:Je.map(String))!==null&&$e!==void 0?$e:Je),ye.push({column:Ae,key:js(Ae,Xe),filteredKeys:Je,forceFiltered:Ae.filtered})}else ye.push({column:Ae,key:js(Ae,Xe),filteredKeys:ce&&Ae.defaultFilteredValue?Ae.defaultFilteredValue:void 0,forceFiltered:Ae.filtered});"children"in Ae&&(ye=[].concat((0,mo.Z)(ye),(0,mo.Z)(qa(Ae.children,ce,Xe))))}),ye}function Fr(se,ce,he,ye,Ae,Re,$e,Xe){return he.map((Je,mt)=>{const Bt=ud(mt,Xe),{filterMultiple:pt=!0,filterMode:$t,filterSearch:Yt}=Je;let en=Je;if(en.filters||en.filterDropdown){const Ln=js(en,Bt),mn=ye.find(kn=>{let{key:Pn}=kn;return Ln===Pn});en=Object.assign(Object.assign({},en),{title:kn=>de.createElement(Pa,{tablePrefixCls:se,prefixCls:`${se}-filter`,dropdownPrefixCls:ce,column:en,columnKey:Ln,filterState:mn,filterMultiple:pt,filterMode:$t,filterSearch:Yt,triggerFilter:Re,locale:Ae,getPopupContainer:$e},cd(Je.title,kn))})}return"children"in en&&(en=Object.assign(Object.assign({},en),{children:Fr(se,ce,en.children,ye,Ae,Re,$e,Bt)})),en})}function Ar(se){const ce={};return se.forEach(he=>{let{key:ye,filteredKeys:Ae,column:Re}=he;const{filters:$e,filterDropdown:Xe}=Re;if(Xe)ce[ye]=Ae||null;else if(Array.isArray(Ae)){const Je=aa($e);ce[ye]=Je.filter(mt=>Ae.includes(String(mt)))}else ce[ye]=null}),ce}function Kr(se,ce){return ce.reduce((he,ye)=>{const{column:{onFilter:Ae,filters:Re},filteredKeys:$e}=ye;return Ae&&$e&&$e.length?he.filter(Xe=>$e.some(Je=>{const mt=aa(Re),Bt=mt.findIndex($t=>String($t)===String(Je)),pt=Bt!==-1?mt[Bt]:Je;return Ae(pt,Xe)})):he},se)}const Cr=se=>se.flatMap(ce=>"children"in ce?[ce].concat((0,mo.Z)(Cr(ce.children||[]))):[ce]);function er(se){let{prefixCls:ce,dropdownPrefixCls:he,mergedColumns:ye,onFilterChange:Ae,getPopupContainer:Re,locale:$e}=se;const Xe=de.useMemo(()=>Cr(ye||[]),[ye]),[Je,mt]=de.useState(()=>qa(Xe,!0)),Bt=de.useMemo(()=>{const en=qa(Xe,!1);if(en.length===0)return en;let Ln=!0,mn=!0;if(en.forEach(kn=>{let{filteredKeys:Pn}=kn;Pn!==void 0?Ln=!1:mn=!1}),Ln){const kn=(Xe||[]).map((Pn,Gn)=>js(Pn,ud(Gn)));return Je.filter(Pn=>{let{key:Gn}=Pn;return kn.includes(Gn)}).map(Pn=>{const Gn=Xe[kn.findIndex(fa=>fa===Pn.key)];return Object.assign(Object.assign({},Pn),{column:Object.assign(Object.assign({},Pn.column),Gn),forceFiltered:Gn.filtered})})}return en},[Xe,Je]),pt=de.useMemo(()=>Ar(Bt),[Bt]),$t=en=>{const Ln=Bt.filter(mn=>{let{key:kn}=mn;return kn!==en.key});Ln.push(en),mt(Ln),Ae(Ar(Ln),Ln)};return[en=>Fr(ce,he,en,Bt,$e,$t,Re),Bt,pt]}var Ma=er;function Zo(se,ce,he){const ye=de.useRef({});function Ae(Re){if(!ye.current||ye.current.data!==se||ye.current.childrenColumnName!==ce||ye.current.getRowKey!==he){let Xe=function(Je){Je.forEach((mt,Bt)=>{const pt=he(mt,Bt);$e.set(pt,mt),mt&&typeof mt=="object"&&ce in mt&&Xe(mt[ce]||[])})};const $e=new Map;Xe(se),ye.current={data:se,childrenColumnName:ce,kvMap:$e,getRowKey:he}}return ye.current.kvMap.get(Re)}return[Ae]}var yo=te(38780),zo=function(se,ce){var he={};for(var ye in se)Object.prototype.hasOwnProperty.call(se,ye)&&ce.indexOf(ye)<0&&(he[ye]=se[ye]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ye=Object.getOwnPropertySymbols(se);Ae<ye.length;Ae++)ce.indexOf(ye[Ae])<0&&Object.prototype.propertyIsEnumerable.call(se,ye[Ae])&&(he[ye[Ae]]=se[ye[Ae]]);return he};const qo=10;function Ni(se,ce){const he={current:se.current,pageSize:se.pageSize};return Object.keys(ce&&typeof ce=="object"?ce:{}).forEach(Ae=>{const Re=se[Ae];typeof Re!="function"&&(he[Ae]=Re)}),he}function Ao(se,ce,he){const ye=he&&typeof he=="object"?he:{},{total:Ae=0}=ye,Re=zo(ye,["total"]),[$e,Xe]=(0,de.useState)(()=>({current:"defaultCurrent"in Re?Re.defaultCurrent:1,pageSize:"defaultPageSize"in Re?Re.defaultPageSize:qo})),Je=(0,yo.Z)($e,Re,{total:Ae>0?Ae:se}),mt=Math.ceil((Ae||se)/Je.pageSize);Je.current>mt&&(Je.current=mt||1);const Bt=($t,Yt)=>{Xe({current:$t!=null?$t:1,pageSize:Yt||Je.pageSize})},pt=($t,Yt)=>{var en;he&&((en=he.onChange)===null||en===void 0||en.call(he,$t,Yt)),Bt($t,Yt),ce($t,Yt||(Je==null?void 0:Je.pageSize))};return he===!1?[{},()=>{}]:[Object.assign(Object.assign({},Je),{onChange:pt}),Bt]}var jr=Ao,_o=te(42922),ui=te(29873),Do=te(97153),Or=te(83898),ho=te(5663);const Sr={},hi="SELECT_ALL",io="SELECT_INVERT",Ci="SELECT_NONE",Ji=[],Bi=(se,ce)=>{let he=[];return(ce||[]).forEach(ye=>{he.push(ye),ye&&typeof ye=="object"&&se in ye&&(he=[].concat((0,mo.Z)(he),(0,mo.Z)(Bi(se,ye[se]))))}),he};var El=(se,ce)=>{const{preserveSelectedRowKeys:he,selectedRowKeys:ye,defaultSelectedRowKeys:Ae,getCheckboxProps:Re,onChange:$e,onSelect:Xe,onSelectAll:Je,onSelectInvert:mt,onSelectNone:Bt,onSelectMultiple:pt,columnWidth:$t,type:Yt,selections:en,fixed:Ln,renderCell:mn,hideSelectAll:kn,checkStrictly:Pn=!0}=ce||{},{prefixCls:Gn,data:fa,pageData:Ea,getRecordByKey:ua,getRowKey:Ua,expandType:sr,childrenColumnName:_n,locale:sa,getPopupContainer:Vn}=se,[zn,da]=(0,ho.Z)(ye||Ae||Ji,{value:ye}),ba=de.useRef(new Map),Ya=(0,de.useCallback)(na=>{if(he){const wa=new Map;na.forEach(ka=>{let Ca=ua(ka);!Ca&&ba.current.has(ka)&&(Ca=ba.current.get(ka)),wa.set(ka,Ca)}),ba.current=wa}},[ua,he]);de.useEffect(()=>{Ya(zn)},[zn]);const{keyEntities:rr}=(0,de.useMemo)(()=>{if(Pn)return{keyEntities:null};let na=fa;if(he){const wa=new Set(fa.map((Ca,zr)=>Ua(Ca,zr))),ka=Array.from(ba.current).reduce((Ca,zr)=>{let[Ia,mr]=zr;return wa.has(Ia)?Ca:Ca.concat(mr)},[]);na=[].concat((0,mo.Z)(na),(0,mo.Z)(ka))}return(0,Or.I8)(na,{externalGetKey:Ua,childrenPropName:_n})},[fa,Ua,Pn,_n,he]),ya=(0,de.useMemo)(()=>Bi(_n,Ea),[_n,Ea]),fr=(0,de.useMemo)(()=>{const na=new Map;return ya.forEach((wa,ka)=>{const Ca=Ua(wa,ka),zr=(Re?Re(wa):null)||{};na.set(Ca,zr)}),na},[ya,Ua,Re]),pr=(0,de.useCallback)(na=>{var wa;return!!(!((wa=fr.get(Ua(na)))===null||wa===void 0)&&wa.disabled)},[fr,Ua]),[to,Tr]=(0,de.useMemo)(()=>{if(Pn)return[zn||[],[]];const{checkedKeys:na,halfCheckedKeys:wa}=(0,Do.S)(zn,!0,rr,pr);return[na||[],wa]},[zn,Pn,rr,pr]),jo=(0,de.useMemo)(()=>{const na=Yt==="radio"?to.slice(0,1):to;return new Set(na)},[to,Yt]),Wo=(0,de.useMemo)(()=>Yt==="radio"?new Set:new Set(Tr),[Tr,Yt]),[ur,di]=(0,de.useState)(null);de.useEffect(()=>{ce||da(Ji)},[!!ce]);const Fn=(0,de.useCallback)((na,wa)=>{let ka,Ca;Ya(na),he?(ka=na,Ca=na.map(zr=>ba.current.get(zr))):(ka=[],Ca=[],na.forEach(zr=>{const Ia=ua(zr);Ia!==void 0&&(ka.push(zr),Ca.push(Ia))})),da(ka),$e==null||$e(ka,Ca,{type:wa})},[da,ua,$e,he]),Ta=(0,de.useCallback)((na,wa,ka,Ca)=>{if(Xe){const zr=ka.map(Ia=>ua(Ia));Xe(ua(na),wa,zr,Ca)}Fn(ka,"single")},[Xe,ua,Fn]),Pr=(0,de.useMemo)(()=>!en||kn?null:(en===!0?[hi,io,Ci]:en).map(wa=>wa===hi?{key:"all",text:sa.selectionAll,onSelect(){Fn(fa.map((ka,Ca)=>Ua(ka,Ca)).filter(ka=>{const Ca=fr.get(ka);return!(Ca!=null&&Ca.disabled)||jo.has(ka)}),"all")}}:wa===io?{key:"invert",text:sa.selectInvert,onSelect(){const ka=new Set(jo);Ea.forEach((zr,Ia)=>{const mr=Ua(zr,Ia),Jr=fr.get(mr);Jr!=null&&Jr.disabled||(ka.has(mr)?ka.delete(mr):ka.add(mr))});const Ca=Array.from(ka);mt&&mt(Ca),Fn(Ca,"invert")}}:wa===Ci?{key:"none",text:sa.selectNone,onSelect(){Bt==null||Bt(),Fn(Array.from(jo).filter(ka=>{const Ca=fr.get(ka);return Ca==null?void 0:Ca.disabled}),"none")}}:wa).map(wa=>Object.assign(Object.assign({},wa),{onSelect:function(){for(var ka,Ca,zr=arguments.length,Ia=new Array(zr),mr=0;mr<zr;mr++)Ia[mr]=arguments[mr];(Ca=wa.onSelect)===null||Ca===void 0||(ka=Ca).call.apply(ka,[wa].concat(Ia)),di(null)}})),[en,jo,Ea,Ua,mt,Fn]);return[(0,de.useCallback)(na=>{var wa;if(!ce)return na.filter(po=>po!==Sr);let ka=(0,mo.Z)(na);const Ca=new Set(jo),zr=ya.map(Ua).filter(po=>!fr.get(po).disabled),Ia=zr.every(po=>Ca.has(po)),mr=zr.some(po=>Ca.has(po)),Jr=()=>{const po=[];Ia?zr.forEach(ee=>{Ca.delete(ee),po.push(ee)}):zr.forEach(ee=>{Ca.has(ee)||(Ca.add(ee),po.push(ee))});const Co=Array.from(Ca);Je==null||Je(!Ia,Co.map(ee=>ua(ee)),po.map(ee=>ua(ee))),Fn(Co,"all"),di(null)};let Wr;if(Yt!=="radio"){let po;if(Pr){const ge={getPopupContainer:Vn,items:Pr.map((me,Le)=>{const{key:Ee,text:Ue,onSelect:Ye}=me;return{key:Ee!=null?Ee:Le,onClick:()=>{Ye==null||Ye(zr)},label:Ue}})};po=de.createElement("div",{className:`${Gn}-selection-extra`},de.createElement(Au.Z,{menu:ge,getPopupContainer:Vn},de.createElement("span",null,de.createElement(_o.Z,null))))}const Co=ya.map((ge,me)=>{const Le=Ua(ge,me),Ee=fr.get(Le)||{};return Object.assign({checked:Ca.has(Le)},Ee)}).filter(ge=>{let{disabled:me}=ge;return me}),ee=!!Co.length&&Co.length===ya.length,oe=ee&&Co.every(ge=>{let{checked:me}=ge;return me}),ie=ee&&Co.some(ge=>{let{checked:me}=ge;return me});Wr=!kn&&de.createElement("div",{className:`${Gn}-selection`},de.createElement(gd.default,{checked:ee?oe:!!ya.length&&Ia,indeterminate:ee?!oe&&ie:!Ia&&mr,onChange:Jr,disabled:ya.length===0||ee,"aria-label":po?"Custom selection":"Select all",skipGroup:!0}),po)}let Sl;Yt==="radio"?Sl=(po,Co,ee)=>{const oe=Ua(Co,ee),ie=Ca.has(oe);return{node:de.createElement(Qd.ZP,Object.assign({},fr.get(oe),{checked:ie,onClick:ge=>ge.stopPropagation(),onChange:ge=>{Ca.has(oe)||Ta(oe,!0,[oe],ge.nativeEvent)}})),checked:ie}}:Sl=(po,Co,ee)=>{var oe;const ie=Ua(Co,ee),ge=Ca.has(ie),me=Wo.has(ie),Le=fr.get(ie);let Ee;return sr==="nest"?Ee=me:Ee=(oe=Le==null?void 0:Le.indeterminate)!==null&&oe!==void 0?oe:me,{node:de.createElement(gd.default,Object.assign({},Le,{indeterminate:Ee,checked:ge,skipGroup:!0,onClick:Ue=>Ue.stopPropagation(),onChange:Ue=>{let{nativeEvent:Ye}=Ue;const{shiftKey:it}=Ye;let Tt=-1,ut=-1;if(it&&Pn){const gt=new Set([ur,ie]);zr.some((vt,Ct)=>{if(gt.has(vt))if(Tt===-1)Tt=Ct;else return ut=Ct,!0;return!1})}if(ut!==-1&&Tt!==ut&&Pn){const gt=zr.slice(Tt,ut+1),vt=[];ge?gt.forEach(qe=>{Ca.has(qe)&&(vt.push(qe),Ca.delete(qe))}):gt.forEach(qe=>{Ca.has(qe)||(vt.push(qe),Ca.add(qe))});const Ct=Array.from(Ca);pt==null||pt(!ge,Ct.map(qe=>ua(qe)),vt.map(qe=>ua(qe))),Fn(Ct,"multiple")}else{const gt=to;if(Pn){const vt=ge?(0,ui._5)(gt,ie):(0,ui.L0)(gt,ie);Ta(ie,!ge,vt,Ye)}else{const vt=(0,Do.S)([].concat((0,mo.Z)(gt),[ie]),!0,rr,pr),{checkedKeys:Ct,halfCheckedKeys:qe}=vt;let St=Ct;if(ge){const Ht=new Set(Ct);Ht.delete(ie),St=(0,Do.S)(Array.from(Ht),{checked:!1,halfCheckedKeys:qe},rr,pr).checkedKeys}Ta(ie,!ge,St,Ye)}}di(ge?null:ie)}})),checked:ge}};const al=(po,Co,ee)=>{const{node:oe,checked:ie}=Sl(po,Co,ee);return mn?mn(ie,Co,ee,oe):oe};if(!ka.includes(Sr))if(ka.findIndex(po=>{var Co;return((Co=po[fl])===null||Co===void 0?void 0:Co.columnType)==="EXPAND_COLUMN"})===0){const[po,...Co]=ka;ka=[po,Sr].concat((0,mo.Z)(Co))}else ka=[Sr].concat((0,mo.Z)(ka));const Ms=ka.indexOf(Sr);ka=ka.filter((po,Co)=>po!==Sr||Co===Ms);const Mi=ka[Ms-1],os=ka[Ms+1];let ri=Ln;ri===void 0&&((os==null?void 0:os.fixed)!==void 0?ri=os.fixed:(Mi==null?void 0:Mi.fixed)!==void 0&&(ri=Mi.fixed)),ri&&Mi&&((wa=Mi[fl])===null||wa===void 0?void 0:wa.columnType)==="EXPAND_COLUMN"&&Mi.fixed===void 0&&(Mi.fixed=ri);const Ll=Qe()(`${Gn}-selection-col`,{[`${Gn}-selection-col-with-dropdown`]:en&&Yt==="checkbox"}),Cd={fixed:ri,width:$t,className:`${Gn}-selection-column`,title:ce.columnTitle||Wr,render:al,onCell:ce.onCell,[fl]:{className:Ll}};return ka.map(po=>po===Sr?Cd:po)},[Ua,ya,ce,to,jo,Wo,$t,Pr,sr,ur,fr,pt,Ta,pr]),jo]},lo=te(33463),vl=te(28575),si=te(83062);const So="ascend",Ho="descend";function Xi(se){return typeof se.sorter=="object"&&typeof se.sorter.multiple=="number"?se.sorter.multiple:!1}function Rl(se){return typeof se=="function"?se:se&&typeof se=="object"&&se.compare?se.compare:!1}function es(se,ce){return ce?se[se.indexOf(ce)+1]:se[0]}function Vi(se,ce,he){let ye=[];function Ae(Re,$e){ye.push({column:Re,key:js(Re,$e),multiplePriority:Xi(Re),sortOrder:Re.sortOrder})}return(se||[]).forEach((Re,$e)=>{const Xe=ud($e,he);Re.children?("sortOrder"in Re&&Ae(Re,Xe),ye=[].concat((0,mo.Z)(ye),(0,mo.Z)(Vi(Re.children,ce,Xe)))):Re.sorter&&("sortOrder"in Re?Ae(Re,Xe):ce&&Re.defaultSortOrder&&ye.push({column:Re,key:js(Re,Xe),multiplePriority:Xi(Re),sortOrder:Re.defaultSortOrder}))}),ye}function ci(se,ce,he,ye,Ae,Re,$e,Xe){return(ce||[]).map((Je,mt)=>{const Bt=ud(mt,Xe);let pt=Je;if(pt.sorter){const $t=pt.sortDirections||Ae,Yt=pt.showSorterTooltip===void 0?$e:pt.showSorterTooltip,en=js(pt,Bt),Ln=he.find(sr=>{let{key:_n}=sr;return _n===en}),mn=Ln?Ln.sortOrder:null,kn=es($t,mn);let Pn;if(Je.sortIcon)Pn=Je.sortIcon({sortOrder:mn});else{const sr=$t.includes(So)&&de.createElement(vl.Z,{className:Qe()(`${se}-column-sorter-up`,{active:mn===So})}),_n=$t.includes(Ho)&&de.createElement(lo.Z,{className:Qe()(`${se}-column-sorter-down`,{active:mn===Ho})});Pn=de.createElement("span",{className:Qe()(`${se}-column-sorter`,{[`${se}-column-sorter-full`]:!!(sr&&_n)})},de.createElement("span",{className:`${se}-column-sorter-inner`,"aria-hidden":"true"},sr,_n))}const{cancelSort:Gn,triggerAsc:fa,triggerDesc:Ea}=Re||{};let ua=Gn;kn===Ho?ua=Ea:kn===So&&(ua=fa);const Ua=typeof Yt=="object"?Yt:{title:ua};pt=Object.assign(Object.assign({},pt),{className:Qe()(pt.className,{[`${se}-column-sort`]:mn}),title:sr=>{const _n=de.createElement("div",{className:`${se}-column-sorters`},de.createElement("span",{className:`${se}-column-title`},cd(Je.title,sr)),Pn);return Yt?de.createElement(si.Z,Object.assign({},Ua),_n):_n},onHeaderCell:sr=>{const _n=Je.onHeaderCell&&Je.onHeaderCell(sr)||{},sa=_n.onClick,Vn=_n.onKeyDown;_n.onClick=ba=>{ye({column:Je,key:en,sortOrder:kn,multiplePriority:Xi(Je)}),sa==null||sa(ba)},_n.onKeyDown=ba=>{ba.keyCode===wt.Z.ENTER&&(ye({column:Je,key:en,sortOrder:kn,multiplePriority:Xi(Je)}),Vn==null||Vn(ba))};const zn=Cu(Je.title,{}),da=zn==null?void 0:zn.toString();return mn?_n["aria-sort"]=mn==="ascend"?"ascending":"descending":_n["aria-label"]=da||"",_n.className=Qe()(_n.className,`${se}-column-has-sorters`),_n.tabIndex=0,Je.ellipsis&&(_n.title=(zn!=null?zn:"").toString()),_n}})}return"children"in pt&&(pt=Object.assign(Object.assign({},pt),{children:ci(se,pt.children,he,ye,Ae,Re,$e,Bt)})),pt})}function sl(se){const{column:ce,sortOrder:he}=se;return{column:ce,order:he,field:ce.dataIndex,columnKey:ce.key}}function Di(se){const ce=se.filter(he=>{let{sortOrder:ye}=he;return ye}).map(sl);return ce.length===0&&se.length?Object.assign(Object.assign({},sl(se[se.length-1])),{column:void 0}):ce.length<=1?ce[0]||{}:ce}function bo(se,ce,he){const ye=ce.slice().sort(($e,Xe)=>Xe.multiplePriority-$e.multiplePriority),Ae=se.slice(),Re=ye.filter($e=>{let{column:{sorter:Xe},sortOrder:Je}=$e;return Rl(Xe)&&Je});return Re.length?Ae.sort(($e,Xe)=>{for(let Je=0;Je<Re.length;Je+=1){const mt=Re[Je],{column:{sorter:Bt},sortOrder:pt}=mt,$t=Rl(Bt);if($t&&pt){const Yt=$t($e,Xe,pt);if(Yt!==0)return pt===So?Yt:-Yt}}return 0}).map($e=>{const Xe=$e[he];return Xe?Object.assign(Object.assign({},$e),{[he]:bo(Xe,ce,he)}):$e}):Ae}function dr(se){let{prefixCls:ce,mergedColumns:he,onSorterChange:ye,sortDirections:Ae,tableLocale:Re,showSorterTooltip:$e}=se;const[Xe,Je]=de.useState(Vi(he,!0)),mt=de.useMemo(()=>{let en=!0;const Ln=Vi(he,!1);if(!Ln.length)return Xe;const mn=[];function kn(Gn){en?mn.push(Gn):mn.push(Object.assign(Object.assign({},Gn),{sortOrder:null}))}let Pn=null;return Ln.forEach(Gn=>{Pn===null?(kn(Gn),Gn.sortOrder&&(Gn.multiplePriority===!1?en=!1:Pn=!0)):(Pn&&Gn.multiplePriority!==!1||(en=!1),kn(Gn))}),mn},[he,Xe]),Bt=de.useMemo(()=>{const en=mt.map(Ln=>{let{column:mn,sortOrder:kn}=Ln;return{column:mn,order:kn}});return{sortColumns:en,sortColumn:en[0]&&en[0].column,sortOrder:en[0]&&en[0].order}},[mt]);function pt(en){let Ln;en.multiplePriority===!1||!mt.length||mt[0].multiplePriority===!1?Ln=[en]:Ln=[].concat((0,mo.Z)(mt.filter(mn=>{let{key:kn}=mn;return kn!==en.key})),[en]),Je(Ln),ye(Di(Ln),Ln)}return[en=>ci(ce,en,mt,pt,Ae,Re,$e),mt,Bt,()=>Di(mt)]}function Si(se,ce){return se.map(he=>{const ye=Object.assign({},he);return ye.title=cd(he.title,ce),"children"in ye&&(ye.children=Si(ye.children,ce)),ye})}function hl(se){return[de.useCallback(he=>Si(he,se),[se])]}var ts=vi((se,ce)=>{const{_renderTimes:he}=se,{_renderTimes:ye}=ce;return he!==ye}),ps=li((se,ce)=>{const{_renderTimes:he}=se,{_renderTimes:ye}=ce;return he!==ye}),zl=te(84780),Ws=te(14747),fd=te(67968),ns=te(45503),Hl=se=>{const{componentCls:ce}=se,he=`${se.lineWidth}px ${se.lineType} ${se.tableBorderColor}`,ye=(Ae,Re,$e)=>({[`&${ce}-${Ae}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${Re}px -${$e+se.lineWidth}px`}}}}}});return{[`${ce}-wrapper`]:{[`${ce}${ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ce}-title`]:{border:he,borderBottom:0},[`> ${ce}-container`]:{borderInlineStart:he,borderTop:he,[`
|
|
> ${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:he},"> thead":{"> tr:not(:last-child) > th":{borderBottom:he},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ce}-cell-fix-right-first::after`]:{borderInlineEnd:he}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${se.tablePaddingVertical}px -${se.tablePaddingHorizontal+se.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:se.lineWidth,bottom:0,borderInlineEnd:he,content:'""'}}}}}},[`&${ce}-scroll-horizontal`]:{[`> ${ce}-container > ${ce}-body`]:{"> table > tbody":{[`
|
|
> tr${ce}-expanded-row,
|
|
> tr${ce}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ye("middle",se.tablePaddingVerticalMiddle,se.tablePaddingHorizontalMiddle)),ye("small",se.tablePaddingVerticalSmall,se.tablePaddingHorizontalSmall)),{[`> ${ce}-footer`]:{border:he,borderTop:0}}),[`${ce}-cell`]:{[`${ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${se.lineWidth}px 0 ${se.lineWidth}px ${se.tableHeaderBg}`}},[`${ce}-bordered ${ce}-cell-scrollbar`]:{borderInlineEnd:he}}}},md=se=>{const{componentCls:ce}=se;return{[`${ce}-wrapper`]:{[`${ce}-cell-ellipsis`]:Object.assign(Object.assign({},Ws.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"}})}}},kd=se=>{const{componentCls:ce}=se;return{[`${ce}-wrapper`]:{[`${ce}-tbody > tr${ce}-placeholder`]:{textAlign:"center",color:se.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:se.colorBgContainer}}}}},Xd=te(49867),Fl=se=>{const{componentCls:ce,antCls:he,controlInteractiveSize:ye,motionDurationSlow:Ae,lineWidth:Re,paddingXS:$e,lineType:Xe,tableBorderColor:Je,tableExpandIconBg:mt,tableExpandColumnWidth:Bt,borderRadius:pt,fontSize:$t,fontSizeSM:Yt,lineHeight:en,tablePaddingVertical:Ln,tablePaddingHorizontal:mn,tableExpandedRowBg:kn,paddingXXS:Pn}=se,Gn=ye/2-Re,fa=Gn*2+Re*3,Ea=`${Re}px ${Xe} ${Je}`,ua=Pn-Re;return{[`${ce}-wrapper`]:{[`${ce}-expand-icon-col`]:{width:Bt},[`${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,Xd.N)(se)),{position:"relative",float:"left",boxSizing:"border-box",width:fa,height:fa,padding:0,color:"inherit",lineHeight:`${fa}px`,background:mt,border:Ea,borderRadius:pt,transform:`scale(${ye/fa})`,transition:`all ${Ae}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ae} ease-out`,content:'""'},"&::before":{top:Gn,insetInlineEnd:ua,insetInlineStart:ua,height:Re},"&::after":{top:ua,bottom:ua,insetInlineStart:Gn,width:Re,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:($t*en-Re*3)/2-Math.ceil((Yt*1.4-Re*3)/2),marginInlineEnd:$e},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:kn}},[`${he}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Ln}px -${mn}px`,padding:`${Ln}px ${mn}px`}}}},qd=se=>{const{componentCls:ce,antCls:he,iconCls:ye,tableFilterDropdownWidth:Ae,tableFilterDropdownSearchWidth:Re,paddingXXS:$e,paddingXS:Xe,colorText:Je,lineWidth:mt,lineType:Bt,tableBorderColor:pt,tableHeaderIconColor:$t,fontSizeSM:Yt,tablePaddingHorizontal:en,borderRadius:Ln,motionDurationSlow:mn,colorTextDescription:kn,colorPrimary:Pn,tableHeaderFilterActiveBg:Gn,colorTextDisabled:fa,tableFilterDropdownBg:Ea,tableFilterDropdownHeight:ua,controlItemBgHover:Ua,controlItemBgActive:sr,boxShadowSecondary:_n,filterDropdownMenuBg:sa}=se,Vn=`${he}-dropdown`,zn=`${ce}-filter-dropdown`,da=`${he}-tree`,ba=`${mt}px ${Bt} ${pt}`;return[{[`${ce}-wrapper`]:{[`${ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-$e,marginInline:`${$e}px ${-en/2}px`,padding:`0 ${$e}px`,color:$t,fontSize:Yt,borderRadius:Ln,cursor:"pointer",transition:`all ${mn}`,"&:hover":{color:kn,background:Gn},"&.active":{color:Pn}}}},{[`${he}-dropdown`]:{[zn]:Object.assign(Object.assign({},(0,Ws.Wf)(se)),{minWidth:Ae,backgroundColor:Ea,borderRadius:Ln,boxShadow:_n,overflow:"hidden",[`${Vn}-menu`]:{maxHeight:ua,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:sa,"&:empty::after":{display:"block",padding:`${Xe}px 0`,color:fa,fontSize:Yt,textAlign:"center",content:'"Not Found"'}},[`${zn}-tree`]:{paddingBlock:`${Xe}px 0`,paddingInline:Xe,[da]:{padding:0},[`${da}-treenode ${da}-node-content-wrapper:hover`]:{backgroundColor:Ua},[`${da}-treenode-checkbox-checked ${da}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:sr}}},[`${zn}-search`]:{padding:Xe,borderBottom:ba,"&-input":{input:{minWidth:Re},[ye]:{color:fa}}},[`${zn}-checkall`]:{width:"100%",marginBottom:$e,marginInlineStart:$e},[`${zn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Xe-mt}px ${Xe}px`,overflow:"hidden",borderTop:ba}})}},{[`${he}-dropdown ${zn}, ${zn}-submenu`]:{[`${he}-checkbox-wrapper + span`]:{paddingInlineStart:Xe,color:Je},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},wl=se=>{const{componentCls:ce,lineWidth:he,colorSplit:ye,motionDurationSlow:Ae,zIndexTableFixed:Re,tableBg:$e,zIndexTableSticky:Xe}=se,Je=ye;return{[`${ce}-wrapper`]:{[`
|
|
${ce}-cell-fix-left,
|
|
${ce}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:Re,background:$e},[`
|
|
${ce}-cell-fix-left-first::after,
|
|
${ce}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-he,width:30,transform:"translateX(100%)",transition:`box-shadow ${Ae}`,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:-he,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ae}`,content:'""',pointerEvents:"none"},[`${ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Xe+1,width:30,transition:`box-shadow ${Ae}`,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 ${Je}`}},[`
|
|
${ce}-cell-fix-left-first::after,
|
|
${ce}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Je}`},[`${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 ${Je}`}},[`
|
|
${ce}-cell-fix-right-first::after,
|
|
${ce}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Je}`}}}}},Us=se=>{const{componentCls:ce,antCls:he}=se;return{[`${ce}-wrapper`]:{[`${ce}-pagination${he}-pagination`]:{margin:`${se.margin}px 0`},[`${ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:se.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},pi=se=>{const{componentCls:ce,tableRadius:he}=se;return{[`${ce}-wrapper`]:{[ce]:{[`${ce}-title, ${ce}-header`]:{borderRadius:`${he}px ${he}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:he,borderStartEndRadius:he,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:he},"> *:last-child":{borderStartEndRadius:he}}},"&-footer":{borderRadius:`0 0 ${he}px ${he}px`}}}}},Gl=se=>{const{componentCls:ce}=se;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"}}}}},Sd=se=>{const{componentCls:ce,antCls:he,iconCls:ye,fontSizeIcon:Ae,padding:Re,paddingXS:$e,tableHeaderIconColor:Xe,tableHeaderIconColorHover:Je,tableSelectionColumnWidth:mt}=se;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:mt,[`&${ce}-selection-col-with-dropdown`]:{width:mt+Ae+Re/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:mt+$e*2,[`&${ce}-selection-col-with-dropdown`]:{width:mt+Ae+Re/4+$e*2}},[`
|
|
table tr th${ce}-selection-column,
|
|
table tr td${ce}-selection-column
|
|
`]:{paddingInlineEnd:se.paddingXS,paddingInlineStart:se.paddingXS,textAlign:"center",[`${he}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ce}-selection-column${ce}-cell-fix-left`]:{zIndex:se.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 ${se.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${se.tablePaddingHorizontal/4}px`,[ye]:{color:Xe,fontSize:Ae,verticalAlign:"baseline","&:hover":{color:Je}}}}}},pd=se=>{const{componentCls:ce}=se,he=(ye,Ae,Re,$e)=>({[`${ce}${ce}-${ye}`]:{fontSize:$e,[`
|
|
${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:`${Ae}px ${Re}px`},[`${ce}-filter-trigger`]:{marginInlineEnd:`-${Re/2}px`},[`${ce}-expanded-row-fixed`]:{margin:`-${Ae}px -${Re}px`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:`-${Ae}px`,marginInline:`${se.tableExpandColumnWidth-Re}px -${Re}px`}},[`${ce}-selection-column`]:{paddingInlineStart:`${Re/4}px`}}});return{[`${ce}-wrapper`]:Object.assign(Object.assign({},he("middle",se.tablePaddingVerticalMiddle,se.tablePaddingHorizontalMiddle,se.tableFontSizeMiddle)),he("small",se.tablePaddingVerticalSmall,se.tablePaddingHorizontalSmall,se.tableFontSizeSmall))}},Pd=se=>{const{componentCls:ce,marginXXS:he,fontSizeIcon:ye,tableHeaderIconColor:Ae,tableHeaderIconColorHover:Re}=se;return{[`${ce}-wrapper`]:{[`${ce}-thead th${ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${se.motionDurationSlow}`,"&:hover":{background:se.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:se.colorPrimary},[`
|
|
&${ce}-cell-fix-left:hover,
|
|
&${ce}-cell-fix-right:hover
|
|
`]:{background:se.tableFixedHeaderSortActiveBg}},[`${ce}-thead th${ce}-column-sort`]:{background:se.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ce}-column-sort`]:{background:se.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:he,color:Ae,fontSize:0,transition:`color ${se.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ye,"&.active":{color:se.colorPrimary}},[`${ce}-column-sorter-up + ${ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ce}-column-sorters:hover ${ce}-column-sorter`]:{color:Re}}}},Ds=se=>{const{componentCls:ce,opacityLoading:he,tableScrollThumbBg:ye,tableScrollThumbBgHover:Ae,tableScrollThumbSize:Re,tableScrollBg:$e,zIndexTableSticky:Xe,stickyScrollBarBorderRadius:Je}=se,mt=`${se.lineWidth}px ${se.lineType} ${se.tableBorderColor}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Xe,background:se.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Re}px !important`,zIndex:Xe,display:"flex",alignItems:"center",background:$e,borderTop:mt,opacity:he,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Re,backgroundColor:ye,borderRadius:Je,transition:`all ${se.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ae}}}}}}},yd=se=>{const{componentCls:ce,lineWidth:he,tableBorderColor:ye}=se,Ae=`${he}px ${se.lineType} ${ye}`;return{[`${ce}-wrapper`]:{[`${ce}-summary`]:{position:"relative",zIndex:se.zIndexTableFixed,background:se.tableBg,"> tr":{"> th, > td":{borderBottom:Ae}}},[`div${ce}-summary`]:{boxShadow:`0 -${he}px 0 ${ye}`}}}},bs=se=>{const{componentCls:ce}=se,he=`${se.lineWidth}px ${se.lineType} ${se.tableBorderColor}`,ye=`${ce}-expanded-row-cell`;return{[`${ce}-wrapper`]:{[`${ce}-tbody-virtual`]:{[`${ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ce}-cell`]:{borderBottom:he},[`${ce}-expanded-row`]:{[`${ye}${ye}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${se.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ce}-bordered`]:{[`${ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:he,position:"absolute"},[`${ce}-cell`]:{borderInlineEnd:he,[`&${ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-se.lineWidth,borderInlineStart:he}}}}}}};const $s=se=>{const{componentCls:ce,fontWeightStrong:he,tablePaddingVertical:ye,tablePaddingHorizontal:Ae,lineWidth:Re,lineType:$e,tableBorderColor:Xe,tableFontSize:Je,tableBg:mt,tableRadius:Bt,tableHeaderTextColor:pt,motionDurationMid:$t,tableHeaderBg:Yt,tableHeaderCellSplitColor:en,tableRowHoverBg:Ln,tableSelectedRowBg:mn,tableSelectedRowHoverBg:kn,tableFooterTextColor:Pn,tableFooterBg:Gn,paddingContentVerticalLG:fa}=se,Ea=`${Re}px ${$e} ${Xe}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[ce]:Object.assign(Object.assign({},(0,Ws.Wf)(se)),{fontSize:Je,background:mt,borderRadius:`${Bt}px ${Bt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Bt}px ${Bt}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:`${fa}px ${Ae}px`,overflowWrap:"break-word"},[`${ce}-title`]:{padding:`${ye}px ${Ae}px`},[`${ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:pt,fontWeight:he,textAlign:"start",background:Yt,borderBottom:Ea,transition:`background ${$t} 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:en,transform:"translateY(-50%)",transition:`background-color ${$t}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${$t}, border-color ${$t}`,borderBottom:Ea,[`
|
|
> ${ce}-wrapper:only-child,
|
|
> ${ce}-expanded-row-fixed > ${ce}-wrapper:only-child
|
|
`]:{[ce]:{marginBlock:`-${ye}px`,marginInline:`${se.tableExpandColumnWidth-Ae}px -${Ae}px`,[`${ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:pt,fontWeight:he,textAlign:"start",background:Yt,borderBottom:Ea,transition:`background ${$t} ease`},[`
|
|
&${ce}-row:hover > th,
|
|
&${ce}-row:hover > td,
|
|
> th${ce}-cell-row-hover,
|
|
> td${ce}-cell-row-hover
|
|
`]:{background:Ln},[`&${ce}-row-selected`]:{"> th, > td":{background:mn},"&:hover > th, &:hover > td":{background:kn}}}},[`${ce}-footer`]:{padding:`${ye}px ${Ae}px`,color:Pn,background:Gn}})}};var Ys=(0,fd.Z)("Table",se=>{const{colorTextHeading:ce,colorSplit:he,colorIcon:ye,colorIconHover:Ae,opacityLoading:Re,colorBgContainer:$e,controlInteractiveSize:Xe,headerBg:Je,headerColor:mt,headerSortActiveBg:Bt,headerSortHoverBg:pt,bodySortBg:$t,rowHoverBg:Yt,rowSelectedBg:en,rowSelectedHoverBg:Ln,rowExpandedBg:mn,cellPaddingBlock:kn,cellPaddingInline:Pn,cellPaddingBlockMD:Gn,cellPaddingInlineMD:fa,cellPaddingBlockSM:Ea,cellPaddingInlineSM:ua,borderColor:Ua,footerBg:sr,footerColor:_n,headerBorderRadius:sa,cellFontSize:Vn,cellFontSizeMD:zn,cellFontSizeSM:da,headerSplitColor:ba,fixedHeaderSortActiveBg:Ya,headerFilterHoverBg:rr,filterDropdownBg:ya,expandIconBg:fr,selectionColumnWidth:pr,stickyScrollBarBg:to}=se,Tr=new zl.C(ye),jo=new zl.C(Ae),Wo=2,ur=(0,ns.TS)(se,{tableFontSize:Vn,tableBg:$e,tableRadius:sa,tablePaddingVertical:kn,tablePaddingHorizontal:Pn,tablePaddingVerticalMiddle:Gn,tablePaddingHorizontalMiddle:fa,tablePaddingVerticalSmall:Ea,tablePaddingHorizontalSmall:ua,tableBorderColor:Ua,tableHeaderTextColor:mt,tableHeaderBg:Je,tableFooterTextColor:_n,tableFooterBg:sr,tableHeaderCellSplitColor:ba,tableHeaderSortBg:Bt,tableHeaderSortHoverBg:pt,tableHeaderIconColor:Tr.clone().setAlpha(Tr.getAlpha()*Re).toRgbString(),tableHeaderIconColorHover:jo.clone().setAlpha(jo.getAlpha()*Re).toRgbString(),tableBodySortBg:$t,tableFixedHeaderSortActiveBg:Ya,tableHeaderFilterActiveBg:rr,tableFilterDropdownBg:ya,tableRowHoverBg:Yt,tableSelectedRowBg:en,tableSelectedRowHoverBg:Ln,zIndexTableFixed:Wo,zIndexTableSticky:Wo+1,tableFontSizeMiddle:zn,tableFontSizeSmall:da,tableSelectionColumnWidth:pr,tableExpandIconBg:fr,tableExpandColumnWidth:Xe+2*se.padding,tableExpandedRowBg:mn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:to,tableScrollThumbBgHover:ce,tableScrollBg:he});return[$s(ur),Us(ur),yd(ur),Pd(ur),qd(ur),Hl(ur),pi(ur),Fl(ur),yd(ur),kd(ur),Sd(ur),wl(ur),Ds(ur),md(ur),pd(ur),Gl(ur),bs(ur)]},se=>{const{colorFillAlter:ce,colorBgContainer:he,colorTextHeading:ye,colorFillSecondary:Ae,colorFillContent:Re,controlItemBgActive:$e,controlItemBgActiveHover:Xe,padding:Je,paddingSM:mt,paddingXS:Bt,colorBorderSecondary:pt,borderRadiusLG:$t,fontSize:Yt,controlHeight:en,colorTextPlaceholder:Ln}=se,mn=new zl.C(Ae).onBackground(he).toHexShortString(),kn=new zl.C(Re).onBackground(he).toHexShortString(),Pn=new zl.C(ce).onBackground(he).toHexShortString();return{headerBg:Pn,headerColor:ye,headerSortActiveBg:mn,headerSortHoverBg:kn,bodySortBg:Pn,rowHoverBg:Pn,rowSelectedBg:$e,rowSelectedHoverBg:Xe,rowExpandedBg:ce,cellPaddingBlock:Je,cellPaddingInline:Je,cellPaddingBlockMD:mt,cellPaddingInlineMD:Bt,cellPaddingBlockSM:Bt,cellPaddingInlineSM:Bt,borderColor:pt,headerBorderRadius:$t,footerBg:Pn,footerColor:ye,cellFontSize:Yt,cellFontSizeMD:Yt,cellFontSizeSM:Yt,headerSplitColor:pt,fixedHeaderSortActiveBg:mn,headerFilterHoverBg:Re,filterDropdownMenuBg:he,filterDropdownBg:he,expandIconBg:he,selectionColumnWidth:en,stickyScrollBarBg:Ln,stickyScrollBarBorderRadius:100}});const Qs=[],bd=(se,ce)=>{const{prefixCls:he,className:ye,rootClassName:Ae,style:Re,size:$e,bordered:Xe,dropdownPrefixCls:Je,dataSource:mt,pagination:Bt,rowSelection:pt,rowKey:$t="key",rowClassName:Yt,columns:en,children:Ln,childrenColumnName:mn,onChange:kn,getPopupContainer:Pn,loading:Gn,expandIcon:fa,expandable:Ea,expandedRowRender:ua,expandIconColumnIndex:Ua,indentSize:sr,scroll:_n,sortDirections:sa,locale:Vn,showSorterTooltip:zn=!0,virtual:da}=se,ba=de.useMemo(()=>en||Ul(Ln),[en,Ln]),Ya=de.useMemo(()=>ba.some(Vt=>Vt.responsive),[ba]),rr=(0,Ks.Z)(Ya),ya=de.useMemo(()=>{const Vt=new Set(Object.keys(rr).filter(Jt=>rr[Jt]));return ba.filter(Jt=>!Jt.responsive||Jt.responsive.some(oa=>Vt.has(oa)))},[ba,rr]),fr=(0,lr.Z)(se,["className","style","columns"]),{locale:pr=Pu.Z,direction:to,table:Tr,renderEmpty:jo,getPrefixCls:Wo,getPopupContainer:ur}=de.useContext(_l.E_),di=(0,Ls.Z)($e),Fn=Object.assign(Object.assign({},pr.Table),Vn),Ta=mt||Qs,Pr=Wo("table",he),so=Wo("dropdown",Je),na=Object.assign({childrenColumnName:mn,expandIconColumnIndex:Ua},Ea),{childrenColumnName:wa="children"}=na,ka=de.useMemo(()=>Ta.some(Vt=>Vt==null?void 0:Vt[wa])?"nest":ua||Ea&&Ea.expandedRowRender?"row":null,[Ta]),Ca={body:de.useRef()},zr=de.useMemo(()=>typeof $t=="function"?$t:Vt=>Vt==null?void 0:Vt[$t],[$t]),[Ia]=Zo(Ta,wa,zr),mr={},Jr=function(Vt,Jt){let oa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Tn,ia,$n;const Ra=Object.assign(Object.assign({},mr),Vt);oa&&((Tn=mr.resetPagination)===null||Tn===void 0||Tn.call(mr),!((ia=Ra.pagination)===null||ia===void 0)&&ia.current&&(Ra.pagination.current=1),Bt&&Bt.onChange&&Bt.onChange(1,($n=Ra.pagination)===null||$n===void 0?void 0:$n.pageSize)),_n&&_n.scrollToFirstRowOnChange!==!1&&Ca.body.current&&(0,ql.Z)(0,{getContainer:()=>Ca.body.current}),kn==null||kn(Ra.pagination,Ra.filters,Ra.sorter,{currentDataSource:Kr(bo(Ta,Ra.sorterStates,wa),Ra.filterStates),action:Jt})},Wr=(Vt,Jt)=>{Jr({sorter:Vt,sorterStates:Jt},"sort",!1)},[Sl,al,Ms,Mi]=dr({prefixCls:Pr,mergedColumns:ya,onSorterChange:Wr,sortDirections:sa||["ascend","descend"],tableLocale:Fn,showSorterTooltip:zn}),os=de.useMemo(()=>bo(Ta,al,wa),[Ta,al]);mr.sorter=Mi(),mr.sorterStates=al;const ri=(Vt,Jt)=>{Jr({filters:Vt,filterStates:Jt},"filter",!0)},[Ll,Cd,po]=Ma({prefixCls:Pr,locale:Fn,dropdownPrefixCls:so,mergedColumns:ya,onFilterChange:ri,getPopupContainer:Pn||ur}),Co=Kr(os,Cd);mr.filters=po,mr.filterStates=Cd;const ee=de.useMemo(()=>{const Vt={};return Object.keys(po).forEach(Jt=>{po[Jt]!==null&&(Vt[Jt]=po[Jt])}),Object.assign(Object.assign({},Ms),{filters:Vt})},[Ms,po]),[oe]=hl(ee),ie=(Vt,Jt)=>{Jr({pagination:Object.assign(Object.assign({},mr.pagination),{current:Vt,pageSize:Jt})},"paginate")},[ge,me]=jr(Co.length,ie,Bt);mr.pagination=Bt===!1?{}:Ni(ge,Bt),mr.resetPagination=me;const Le=de.useMemo(()=>{if(Bt===!1||!ge.pageSize)return Co;const{current:Vt=1,total:Jt,pageSize:oa=qo}=ge;return Co.length<Jt?Co.length>oa?Co.slice((Vt-1)*oa,Vt*oa):Co:Co.slice((Vt-1)*oa,Vt*oa)},[!!Bt,Co,ge&&ge.current,ge&&ge.pageSize,ge&&ge.total]),[Ee,Ue]=El({prefixCls:Pr,data:Co,pageData:Le,getRowKey:zr,getRecordByKey:Ia,expandType:ka,childrenColumnName:wa,locale:Fn,getPopupContainer:Pn||ur},pt),Ye=(Vt,Jt,oa)=>{let Tn;return typeof Yt=="function"?Tn=Qe()(Yt(Vt,Jt,oa)):Tn=Qe()(Yt),Qe()({[`${Pr}-row-selected`]:Ue.has(zr(Vt,Jt))},Tn)};na.__PARENT_RENDER_ICON__=na.expandIcon,na.expandIcon=na.expandIcon||fa||bu(Fn),ka==="nest"&&na.expandIconColumnIndex===void 0?na.expandIconColumnIndex=pt?1:0:na.expandIconColumnIndex>0&&pt&&(na.expandIconColumnIndex-=1),typeof na.indentSize!="number"&&(na.indentSize=typeof sr=="number"?sr:15);const it=de.useCallback(Vt=>oe(Ee(Ll(Sl(Vt)))),[Sl,Ll,Ee]);let Tt,ut;if(Bt!==!1&&(ge!=null&&ge.total)){let Vt;ge.size?Vt=ge.size:Vt=di==="small"||di==="middle"?"small":void 0;const Jt=ia=>de.createElement(ad.Z,Object.assign({},ge,{className:Qe()(`${Pr}-pagination ${Pr}-pagination-${ia}`,ge.className),size:Vt})),oa=to==="rtl"?"left":"right",{position:Tn}=ge;if(Tn!==null&&Array.isArray(Tn)){const ia=Tn.find(or=>or.includes("top")),$n=Tn.find(or=>or.includes("bottom")),Ra=Tn.every(or=>`${or}`=="none");!ia&&!$n&&!Ra&&(ut=Jt(oa)),ia&&(Tt=Jt(ia.toLowerCase().replace("top",""))),$n&&(ut=Jt($n.toLowerCase().replace("bottom","")))}else ut=Jt(oa)}let gt;typeof Gn=="boolean"?gt={spinning:Gn}:typeof Gn=="object"&&(gt=Object.assign({spinning:!0},Gn));const[vt,Ct]=Ys(Pr),[,qe]=(0,yu.Z)(),St=Qe()(`${Pr}-wrapper`,Tr==null?void 0:Tr.className,{[`${Pr}-wrapper-rtl`]:to==="rtl"},ye,Ae,Ct),Ht=Object.assign(Object.assign({},Tr==null?void 0:Tr.style),Re),cn=Vn&&Vn.emptyText||(jo==null?void 0:jo("Table"))||de.createElement(Gs.Z,{componentName:"Table"}),Xt=da?ps:ts,Qt={},Dn=de.useMemo(()=>{const{fontSize:Vt,lineHeight:Jt,padding:oa,paddingXS:Tn,paddingSM:ia}=qe,$n=Math.floor(Vt*Jt);switch(di){case"large":return oa*2+$n;case"small":return Tn*2+$n;default:return ia*2+$n}},[qe,di]);return da&&(Qt.listItemHeight=Dn),vt(de.createElement("div",{ref:ce,className:St,style:Ht},de.createElement(As.Z,Object.assign({spinning:!1},gt),Tt,de.createElement(Xt,Object.assign({},Qt,fr,{columns:ya,direction:to,expandable:na,prefixCls:Pr,className:Qe()({[`${Pr}-middle`]:di==="middle",[`${Pr}-small`]:di==="small",[`${Pr}-bordered`]:Xe,[`${Pr}-empty`]:Ta.length===0}),data:Le,rowKey:zr,rowClassName:Ye,emptyText:cn,internalHooks:ve,internalRefs:Ca,transformColumns:it})),ut)))};var Id=de.forwardRef(bd);const ds=(se,ce)=>{const he=de.useRef(0);return he.current+=1,de.createElement(Id,Object.assign({},se,{ref:ce,_renderTimes:he.current}))},Kl=de.forwardRef(ds);Kl.SELECTION_COLUMN=Sr,Kl.EXPAND_COLUMN=le,Kl.SELECTION_ALL=hi,Kl.SELECTION_INVERT=io,Kl.SELECTION_NONE=Ci,Kl.Column=ai,Kl.ColumnGroup=Zl,Kl.Summary=ea;var Ol=Kl,Js=Ol},79870:function(ct,Et,te){"use strict";te.d(Et,{default:function(){return Ss}});var le=te(87462),ve=te(4942),Oe=te(71002),Ge=te(1413),Fe=te(74902),Ze=te(15671),de=te(43144),ze=te(97326),Ke=te(60136),He=te(51630),et=te(94184),je=te.n(et),we={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(At){var Ut=At.keyCode;if(At.altKey&&!At.ctrlKey||At.metaKey||Ut>=we.F1&&Ut<=we.F12)return!1;switch(Ut){case we.ALT:case we.CAPS_LOCK:case we.CONTEXT_MENU:case we.CTRL:case we.DOWN:case we.END:case we.ESC:case we.HOME:case we.INSERT:case we.LEFT:case we.MAC_FF_META:case we.META:case we.NUMLOCK:case we.NUM_CENTER:case we.PAGE_DOWN:case we.PAGE_UP:case we.PAUSE:case we.PRINT_SCREEN:case we.RIGHT:case we.SHIFT:case we.UP:case we.WIN_KEY:case we.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(At){if(At>=we.ZERO&&At<=we.NINE||At>=we.NUM_ZERO&&At<=we.NUM_MULTIPLY||At>=we.A&&At<=we.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&At===0)return!0;switch(At){case we.SPACE:case we.QUESTION_MARK:case we.NUM_PLUS:case we.NUM_MINUS:case we.NUM_PERIOD:case we.NUM_DIVISION:case we.SEMICOLON:case we.DASH:case we.EQUALS:case we.COMMA:case we.PERIOD:case we.SLASH:case we.APOSTROPHE:case we.SINGLE_QUOTE:case we.OPEN_SQUARE_BRACKET:case we.BACKSLASH:case we.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ue=we,y=te(34952),a=te(72978),x=te(67294),b=te(69610);function E(yt){var At=yt.dropPosition,Ut=yt.dropLevelOffset,Be=yt.indent,zt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(At){case-1:zt.top=0,zt.left=-Ut*Be;break;case 1:zt.bottom=0,zt.left=-Ut*Be;break;case 0:zt.bottom=0,zt.left=Be;break}return x.createElement("div",{style:zt})}var z=te(36459),ae=te(97685),re=te(45987);function ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var fe=ne()?x.useLayoutEffect:x.useEffect,Se=fe,Ne=function(At,Ut){var Be=React.useRef(!0);fe(function(){if(!Be.current)return At()},Ut),fe(function(){return Be.current=!1,function(){Be.current=!0}},[])},be=te(73299),xe=te(73935);function pe(yt){return yt instanceof HTMLElement||yt instanceof SVGElement}function st(yt){return pe(yt)?yt:yt instanceof x.Component?xe.findDOMNode(yt):null}var Qe=te(28580);function Ot(yt,At,Ut){var Be=React.useRef({});return(!("value"in Be.current)||Ut(Be.current.condition,At))&&(Be.current.value=yt(),Be.current.condition=At),Be.current.value}function We(yt,At){typeof yt=="function"?yt(At):(0,Oe.Z)(yt)==="object"&&yt&&"current"in yt&&(yt.current=At)}function rt(){for(var yt=arguments.length,At=new Array(yt),Ut=0;Ut<yt;Ut++)At[Ut]=arguments[Ut];var Be=At.filter(function(zt){return zt});return Be.length<=1?Be[0]:function(zt){At.forEach(function(vn){We(vn,zt)})}}function bt(){for(var yt=arguments.length,At=new Array(yt),Ut=0;Ut<yt;Ut++)At[Ut]=arguments[Ut];return useMemo(function(){return rt.apply(void 0,At)},At,function(Be,zt){return Be.length===zt.length&&Be.every(function(vn,Sn){return vn===zt[Sn]})})}function Kt(yt){var At,Ut,Be=(0,Qe.isMemo)(yt)?yt.type.type:yt.type;return!(typeof Be=="function"&&!((At=Be.prototype)!==null&&At!==void 0&&At.render)||typeof yt=="function"&&!((Ut=yt.prototype)!==null&&Ut!==void 0&&Ut.render))}function Mt(yt,At){var Ut={};return Ut[yt.toLowerCase()]=At.toLowerCase(),Ut["Webkit".concat(yt)]="webkit".concat(At),Ut["Moz".concat(yt)]="moz".concat(At),Ut["ms".concat(yt)]="MS".concat(At),Ut["O".concat(yt)]="o".concat(At.toLowerCase()),Ut}function ht(yt,At){var Ut={animationend:Mt("Animation","AnimationEnd"),transitionend:Mt("Transition","TransitionEnd")};return yt&&("AnimationEvent"in At||delete Ut.animationend.animation,"TransitionEvent"in At||delete Ut.transitionend.transition),Ut}var Ft=ht(ne(),typeof window!="undefined"?window:{}),Wt={};if(ne()){var nn=document.createElement("div");Wt=nn.style}var Ve={};function Pt(yt){if(Ve[yt])return Ve[yt];var At=Ft[yt];if(At)for(var Ut=Object.keys(At),Be=Ut.length,zt=0;zt<Be;zt+=1){var vn=Ut[zt];if(Object.prototype.hasOwnProperty.call(At,vn)&&vn in Wt)return Ve[yt]=At[vn],Ve[yt]}return""}var Dt=Pt("animationend"),En=Pt("transitionend"),at=!!(Dt&&En),Lt=Dt||"animationend",Ce=En||"transitionend";function on(yt,At){if(!yt)return null;if((0,Oe.Z)(yt)==="object"){var Ut=At.replace(/-\w/g,function(Be){return Be[1].toUpperCase()});return yt[Ut]}return"".concat(yt,"-").concat(At)}var ln="none",ra="appear",Bn="enter",It="leave",Ie="none",De="prepare",ft="start",kt="active",jt="end";function gn(yt){var At=x.useRef(!1),Ut=x.useState(yt),Be=(0,ae.Z)(Ut,2),zt=Be[0],vn=Be[1];x.useEffect(function(){return At.current=!1,function(){At.current=!0}},[]);function Sn(Nt,Gt){Gt&&At.current||vn(Nt)}return[zt,Sn]}var tn=function(At){return+setTimeout(At,16)},xn=function(At){return clearTimeout(At)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(tn=function(At){return window.requestAnimationFrame(At)},xn=function(At){return window.cancelAnimationFrame(At)});var dn=0,ga=new Map;function Te(yt){ga.delete(yt)}var ot=function(At){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;dn+=1;var Be=dn;function zt(vn){if(vn===0)Te(Be),At();else{var Sn=tn(function(){zt(vn-1)});ga.set(Be,Sn)}}return zt(Ut),Be};ot.cancel=function(yt){var At=ga.get(yt);return Te(At),xn(At)};var Yn=ot,Mn=function(){var yt=x.useRef(null);function At(){Yn.cancel(yt.current)}function Ut(Be){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;At();var vn=Yn(function(){zt<=1?Be({isCanceled:function(){return vn!==yt.current}}):Ut(Be,zt-1)});yt.current=vn}return x.useEffect(function(){return function(){At()}},[]),[Ut,At]},lt=ne()?x.useLayoutEffect:x.useEffect,_t=lt,ea=[De,ft,kt,jt],Un=!1,ca=!0;function In(yt){return yt===kt||yt===jt}var fn=function(yt,At){var Ut=gn(Ie),Be=(0,ae.Z)(Ut,2),zt=Be[0],vn=Be[1],Sn=Mn(),Nt=(0,ae.Z)(Sn,2),Gt=Nt[0],Rt=Nt[1];function yn(){vn(De,!0)}return _t(function(){if(zt!==Ie&&zt!==jt){var Wn=ea.indexOf(zt),la=ea[Wn+1],ta=At(zt);ta===Un?vn(la,!0):Gt(function(pa){function Ha(){pa.isCanceled()||vn(la,!0)}ta===!0?Ha():Promise.resolve(ta).then(Ha)})}},[yt,zt]),x.useEffect(function(){return function(){Rt()}},[]),[yn,zt]},qn=function(yt){var At=(0,x.useRef)(),Ut=(0,x.useRef)(yt);Ut.current=yt;var Be=x.useCallback(function(Sn){Ut.current(Sn)},[]);function zt(Sn){Sn&&(Sn.removeEventListener(Ce,Be),Sn.removeEventListener(Lt,Be))}function vn(Sn){At.current&&At.current!==Sn&&zt(At.current),Sn&&Sn!==At.current&&(Sn.addEventListener(Ce,Be),Sn.addEventListener(Lt,Be),At.current=Sn)}return x.useEffect(function(){return function(){zt(At.current)}},[]),[vn,zt]};function cr(yt,At,Ut,Be){var zt=Be.motionEnter,vn=zt===void 0?!0:zt,Sn=Be.motionAppear,Nt=Sn===void 0?!0:Sn,Gt=Be.motionLeave,Rt=Gt===void 0?!0:Gt,yn=Be.motionDeadline,Wn=Be.motionLeaveImmediately,la=Be.onAppearPrepare,ta=Be.onEnterPrepare,pa=Be.onLeavePrepare,Ha=Be.onAppearStart,sn=Be.onEnterStart,xt=Be.onLeaveStart,rn=Be.onAppearActive,un=Be.onEnterActive,jn=Be.onLeaveActive,Sa=Be.onAppearEnd,Oa=Be.onEnterEnd,ar=Be.onLeaveEnd,Ka=Be.onVisibleChanged,Xa=gn(),gr=(0,ae.Z)(Xa,2),Wa=gr[0],Yr=gr[1],Gr=gn(ln),vo=(0,ae.Z)(Gr,2),_r=vo[0],Bo=vo[1],Ro=gn(null),eo=(0,ae.Z)(Ro,2),vi=eo[0],ll=eo[1],Dl=(0,x.useRef)(!1),yl=(0,x.useRef)(null);function nl(){return Ut()}var ii=(0,x.useRef)(!1);function Ql(ni){var li=nl();if(!(ni&&!ni.deadline&&ni.target!==li)){var Wi=ii.current,ws;_r===ra&&Wi?ws=Sa==null?void 0:Sa(li,ni):_r===Bn&&Wi?ws=Oa==null?void 0:Oa(li,ni):_r===It&&Wi&&(ws=ar==null?void 0:ar(li,ni)),_r!==ln&&Wi&&ws!==!1&&(Bo(ln,!0),ll(null,!0))}}var Ml=qn(Ql),Jl=(0,ae.Z)(Ml,1),Zs=Jl[0],bl=x.useMemo(function(){var ni,li,Wi;switch(_r){case ra:return ni={},(0,ve.Z)(ni,De,la),(0,ve.Z)(ni,ft,Ha),(0,ve.Z)(ni,kt,rn),ni;case Bn:return li={},(0,ve.Z)(li,De,ta),(0,ve.Z)(li,ft,sn),(0,ve.Z)(li,kt,un),li;case It:return Wi={},(0,ve.Z)(Wi,De,pa),(0,ve.Z)(Wi,ft,xt),(0,ve.Z)(Wi,kt,jn),Wi;default:return{}}},[_r]),zs=fn(_r,function(ni){if(ni===De){var li=bl[De];return li?li(nl()):Un}if(Cl in bl){var Wi;ll(((Wi=bl[Cl])===null||Wi===void 0?void 0:Wi.call(bl,nl(),null))||null)}return Cl===kt&&(Zs(nl()),yn>0&&(clearTimeout(yl.current),yl.current=setTimeout(function(){Ql({deadline:!0})},yn))),ca}),kl=(0,ae.Z)(zs,2),Bd=kl[0],Cl=kl[1],Hs=In(Cl);ii.current=Hs,_t(function(){Yr(At);var ni=Dl.current;if(Dl.current=!0,!!yt){var li;!ni&&At&&Nt&&(li=ra),ni&&At&&vn&&(li=Bn),(ni&&!At&&Rt||!ni&&Wn&&!At&&Rt)&&(li=It),li&&(Bo(li),Bd())}},[At]),(0,x.useEffect)(function(){(_r===ra&&!Nt||_r===Bn&&!vn||_r===It&&!Rt)&&Bo(ln)},[Nt,vn,Rt]),(0,x.useEffect)(function(){return function(){Dl.current=!1,clearTimeout(yl.current)}},[]);var ls=x.useRef(!1);(0,x.useEffect)(function(){Wa&&(ls.current=!0),Wa!==void 0&&_r===ln&&((ls.current||Wa)&&(Ka==null||Ka(Wa)),ls.current=!0)},[Wa,_r]);var nd=vi;return bl[De]&&Cl===ft&&(nd=(0,Ge.Z)({transition:"none"},nd)),[_r,Cl,nd,Wa!=null?Wa:At]}var Ga=function(yt){(0,Ke.Z)(Ut,yt);var At=(0,He.Z)(Ut);function Ut(){return(0,Ze.Z)(this,Ut),At.apply(this,arguments)}return(0,de.Z)(Ut,[{key:"render",value:function(){return this.props.children}}]),Ut}(x.Component),za=Ga;function Zr(yt){var At=yt;(0,Oe.Z)(yt)==="object"&&(At=yt.transitionSupport);function Ut(zt){return!!(zt.motionName&&At)}var Be=x.forwardRef(function(zt,vn){var Sn=zt.visible,Nt=Sn===void 0?!0:Sn,Gt=zt.removeOnLeave,Rt=Gt===void 0?!0:Gt,yn=zt.forceRender,Wn=zt.children,la=zt.motionName,ta=zt.leavedClassName,pa=zt.eventProps,Ha=Ut(zt),sn=(0,x.useRef)(),xt=(0,x.useRef)();function rn(){try{return sn.current instanceof HTMLElement?sn.current:st(xt.current)}catch(Ro){return null}}var un=cr(Ha,Nt,rn,zt),jn=(0,ae.Z)(un,4),Sa=jn[0],Oa=jn[1],ar=jn[2],Ka=jn[3],Xa=x.useRef(Ka);Ka&&(Xa.current=!0);var gr=x.useCallback(function(Ro){sn.current=Ro,We(vn,Ro)},[vn]),Wa,Yr=(0,Ge.Z)((0,Ge.Z)({},pa),{},{visible:Nt});if(!Wn)Wa=null;else if(Sa===ln||!Ut(zt))Ka?Wa=Wn((0,Ge.Z)({},Yr),gr):!Rt&&Xa.current&&ta?Wa=Wn((0,Ge.Z)((0,Ge.Z)({},Yr),{},{className:ta}),gr):yn||!Rt&&!ta?Wa=Wn((0,Ge.Z)((0,Ge.Z)({},Yr),{},{style:{display:"none"}}),gr):Wa=null;else{var Gr,vo;Oa===De?vo="prepare":In(Oa)?vo="active":Oa===ft&&(vo="start"),Wa=Wn((0,Ge.Z)((0,Ge.Z)({},Yr),{},{className:je()(on(la,Sa),(Gr={},(0,ve.Z)(Gr,on(la,"".concat(Sa,"-").concat(vo)),vo),(0,ve.Z)(Gr,la,typeof la=="string"),Gr)),style:ar}),gr)}if(x.isValidElement(Wa)&&Kt(Wa)){var _r=Wa,Bo=_r.ref;Bo||(Wa=x.cloneElement(Wa,{ref:gr}))}return x.createElement(za,{ref:xt},Wa)});return Be.displayName="CSSMotion",Be}var Va=Zr(at),Mr="add",oo="keep",ko="remove",Yo="removed";function ti(yt){var At;return yt&&(0,Oe.Z)(yt)==="object"&&"key"in yt?At=yt:At={key:yt},(0,Ge.Z)((0,Ge.Z)({},At),{},{key:String(At.key)})}function fi(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return yt.map(ti)}function Io(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ut=[],Be=0,zt=At.length,vn=fi(yt),Sn=fi(At);vn.forEach(function(Rt){for(var yn=!1,Wn=Be;Wn<zt;Wn+=1){var la=Sn[Wn];if(la.key===Rt.key){Be<Wn&&(Ut=Ut.concat(Sn.slice(Be,Wn).map(function(ta){return(0,Ge.Z)((0,Ge.Z)({},ta),{},{status:Mr})})),Be=Wn),Ut.push((0,Ge.Z)((0,Ge.Z)({},la),{},{status:oo})),Be+=1,yn=!0;break}}yn||Ut.push((0,Ge.Z)((0,Ge.Z)({},Rt),{},{status:ko}))}),Be<zt&&(Ut=Ut.concat(Sn.slice(Be).map(function(Rt){return(0,Ge.Z)((0,Ge.Z)({},Rt),{},{status:Mr})})));var Nt={};Ut.forEach(function(Rt){var yn=Rt.key;Nt[yn]=(Nt[yn]||0)+1});var Gt=Object.keys(Nt).filter(function(Rt){return Nt[Rt]>1});return Gt.forEach(function(Rt){Ut=Ut.filter(function(yn){var Wn=yn.key,la=yn.status;return Wn!==Rt||la!==ko}),Ut.forEach(function(yn){yn.key===Rt&&(yn.status=oo)})}),Ut}var bi=["component","children","onVisibleChanged","onAllRemoved"],Hr=["status"],An=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function On(yt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Va,Ut=function(Be){(0,Ke.Z)(vn,Be);var zt=(0,He.Z)(vn);function vn(){var Sn;(0,Ze.Z)(this,vn);for(var Nt=arguments.length,Gt=new Array(Nt),Rt=0;Rt<Nt;Rt++)Gt[Rt]=arguments[Rt];return Sn=zt.call.apply(zt,[this].concat(Gt)),(0,ve.Z)((0,ze.Z)(Sn),"state",{keyEntities:[]}),(0,ve.Z)((0,ze.Z)(Sn),"removeKey",function(yn){var Wn=Sn.state.keyEntities,la=Wn.map(function(ta){return ta.key!==yn?ta:(0,Ge.Z)((0,Ge.Z)({},ta),{},{status:Yo})});return Sn.setState({keyEntities:la}),la.filter(function(ta){var pa=ta.status;return pa!==Yo}).length}),Sn}return(0,de.Z)(vn,[{key:"render",value:function(){var Nt=this,Gt=this.state.keyEntities,Rt=this.props,yn=Rt.component,Wn=Rt.children,la=Rt.onVisibleChanged,ta=Rt.onAllRemoved,pa=(0,re.Z)(Rt,bi),Ha=yn||x.Fragment,sn={};return An.forEach(function(xt){sn[xt]=pa[xt],delete pa[xt]}),delete pa.keys,x.createElement(Ha,pa,Gt.map(function(xt){var rn=xt.status,un=(0,re.Z)(xt,Hr),jn=rn===Mr||rn===oo;return x.createElement(At,(0,le.Z)({},sn,{key:un.key,visible:jn,eventProps:un,onVisibleChanged:function(Oa){if(la==null||la(Oa,{key:un.key}),!Oa){var ar=Nt.removeKey(un.key);ar===0&&ta&&ta()}}}),Wn)}))}}],[{key:"getDerivedStateFromProps",value:function(Nt,Gt){var Rt=Nt.keys,yn=Gt.keyEntities,Wn=fi(Rt),la=Io(yn,Wn);return{keyEntities:la.filter(function(ta){var pa=yn.find(function(Ha){var sn=Ha.key;return ta.key===sn});return!(pa&&pa.status===Yo&&ta.status===ko)})}}}]),vn}(x.Component);return(0,ve.Z)(Ut,"defaultProps",{component:"div"}),Ut}var bn=On(at),wn=Va,Ja=te(56261);function Nr(yt,At){var Ut=x.useState(!1),Be=(0,ae.Z)(Ut,2),zt=Be[0],vn=Be[1];x.useLayoutEffect(function(){if(zt)return yt(),function(){At()}},[zt]),x.useLayoutEffect(function(){return vn(!0),function(){vn(!1)}},[])}var Rn=te(83898),nt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],dt=function(At,Ut){var Be=At.className,zt=At.style,vn=At.motion,Sn=At.motionNodes,Nt=At.motionType,Gt=At.onMotionStart,Rt=At.onMotionEnd,yn=At.active,Wn=At.treeNodeRequiredProps,la=(0,re.Z)(At,nt),ta=x.useState(!0),pa=(0,ae.Z)(ta,2),Ha=pa[0],sn=pa[1],xt=x.useContext(b.k),rn=xt.prefixCls,un=Sn&&Nt!=="hide";Se(function(){Sn&&un!==Ha&&sn(un)},[Sn]);var jn=function(){Sn&&Gt()},Sa=x.useRef(!1),Oa=function(){Sn&&!Sa.current&&(Sa.current=!0,Rt())};Nr(jn,Oa);var ar=function(Xa){un===Xa&&Oa()};return Sn?x.createElement(wn,(0,le.Z)({ref:Ut,visible:Ha},vn,{motionAppear:Nt==="show",onVisibleChanged:ar}),function(Ka,Xa){var gr=Ka.className,Wa=Ka.style;return x.createElement("div",{ref:Xa,className:je()("".concat(rn,"-treenode-motion"),gr),style:Wa},Sn.map(function(Yr){var Gr=(0,le.Z)({},((0,z.Z)(Yr.data),Yr.data)),vo=Yr.title,_r=Yr.key,Bo=Yr.isStart,Ro=Yr.isEnd;delete Gr.children;var eo=(0,Rn.H8)(_r,Wn);return x.createElement(Ja.Z,(0,le.Z)({},Gr,eo,{title:vo,active:yn,data:Yr.data,key:_r,isStart:Bo,isEnd:Ro}))}))}):x.createElement(Ja.Z,(0,le.Z)({domRef:Ut,className:Be,style:zt},la,{active:yn}))};dt.displayName="MotionTreeNode";var _e=x.forwardRef(dt),Zt=_e;function hn(){var yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ut=yt.length,Be=At.length;if(Math.abs(Ut-Be)!==1)return{add:!1,key:null};function zt(vn,Sn){var Nt=new Map;vn.forEach(function(Rt){Nt.set(Rt,!0)});var Gt=Sn.filter(function(Rt){return!Nt.has(Rt)});return Gt.length===1?Gt[0]:null}return Ut<Be?{add:!0,key:zt(yt,At)}:{add:!1,key:zt(At,yt)}}function Hn(yt,At,Ut){var Be=yt.findIndex(function(Nt){return Nt.key===Ut}),zt=yt[Be+1],vn=At.findIndex(function(Nt){return Nt.key===Ut});if(zt){var Sn=At.findIndex(function(Nt){return Nt.key===zt.key});return At.slice(vn+1,Sn)}return At.slice(vn+1)}var La=["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"],Jn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Nn=function(){},va="RC_TREE_MOTION_".concat(Math.random()),fo={key:va},Cn={key:va,level:0,index:0,pos:"0",node:fo,nodes:[fo]},$r={parent:null,children:[],pos:Cn.pos,data:fo,title:null,key:va,isStart:[],isEnd:[]};function Qo(yt,At,Ut,Be){return At===!1||!Ut?yt:yt.slice(0,Math.ceil(Ut/Be)+1)}function Qi(yt){var At=yt.key,Ut=yt.pos;return(0,Rn.km)(At,Ut)}function Jo(yt){for(var At=String(yt.data.key),Ut=yt;Ut.parent;)Ut=Ut.parent,At="".concat(Ut.data.key," > ").concat(At);return At}var wo=x.forwardRef(function(yt,At){var Ut=yt.prefixCls,Be=yt.data,zt=yt.selectable,vn=yt.checkable,Sn=yt.expandedKeys,Nt=yt.selectedKeys,Gt=yt.checkedKeys,Rt=yt.loadedKeys,yn=yt.loadingKeys,Wn=yt.halfCheckedKeys,la=yt.keyEntities,ta=yt.disabled,pa=yt.dragging,Ha=yt.dragOverNodeKey,sn=yt.dropPosition,xt=yt.motion,rn=yt.height,un=yt.itemHeight,jn=yt.virtual,Sa=yt.focusable,Oa=yt.activeItem,ar=yt.focused,Ka=yt.tabIndex,Xa=yt.onKeyDown,gr=yt.onFocus,Wa=yt.onBlur,Yr=yt.onActiveChange,Gr=yt.onListChangeStart,vo=yt.onListChangeEnd,_r=(0,re.Z)(yt,La),Bo=x.useRef(null),Ro=x.useRef(null);x.useImperativeHandle(At,function(){return{scrollTo:function(Xl){Bo.current.scrollTo(Xl)},getIndentWidth:function(){return Ro.current.offsetWidth}}});var eo=x.useState(Sn),vi=(0,ae.Z)(eo,2),ll=vi[0],Dl=vi[1],yl=x.useState(Be),nl=(0,ae.Z)(yl,2),ii=nl[0],Ql=nl[1],Ml=x.useState(Be),Jl=(0,ae.Z)(Ml,2),Zs=Jl[0],bl=Jl[1],zs=x.useState([]),kl=(0,ae.Z)(zs,2),Bd=kl[0],Cl=kl[1],Hs=x.useState(null),ls=(0,ae.Z)(Hs,2),nd=ls[0],ni=ls[1],li=x.useRef(Be);li.current=Be;function Wi(){var ai=li.current;Ql(ai),bl(ai),Cl([]),ni(null),vo()}Se(function(){Dl(Sn);var ai=hn(ll,Sn);if(ai.key!==null)if(ai.add){var Xl=ii.findIndex(function(Ls){var Ks=Ls.key;return Ks===ai.key}),Zl=Qo(Hn(ii,Be,ai.key),jn,rn,un),lr=ii.slice();lr.splice(Xl+1,0,$r),bl(lr),Cl(Zl),ni("show")}else{var ql=Be.findIndex(function(Ls){var Ks=Ls.key;return Ks===ai.key}),_l=Qo(Hn(Be,ii,ai.key),jn,rn,un),Gs=Be.slice();Gs.splice(ql+1,0,$r),bl(Gs),Cl(_l),ni("hide")}else ii!==Be&&(Ql(Be),bl(Be))},[Sn,Be]),x.useEffect(function(){pa||Wi()},[pa]);var ws=xt?Zs:Be,Dd={expandedKeys:Sn,selectedKeys:Nt,loadedKeys:Rt,loadingKeys:yn,checkedKeys:Gt,halfCheckedKeys:Wn,dragOverNodeKey:Ha,dropPosition:sn,keyEntities:la};return x.createElement(x.Fragment,null,ar&&Oa&&x.createElement("span",{style:Jn,"aria-live":"assertive"},Jo(Oa)),x.createElement("div",null,x.createElement("input",{style:Jn,disabled:Sa===!1||ta,tabIndex:Sa!==!1?Ka:null,onKeyDown:Xa,onFocus:gr,onBlur:Wa,value:"",onChange:Nn,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Ut,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Ut,"-indent")},x.createElement("div",{ref:Ro,className:"".concat(Ut,"-indent-unit")}))),x.createElement(be.Z,(0,le.Z)({},_r,{data:ws,itemKey:Qi,height:rn,fullHeight:!1,virtual:jn,itemHeight:un,prefixCls:"".concat(Ut,"-list"),ref:Bo,onVisibleChange:function(Xl,Zl){var lr=new Set(Xl),ql=Zl.filter(function(_l){return!lr.has(_l)});ql.some(function(_l){return Qi(_l)===va})&&Wi()}}),function(ai){var Xl=ai.pos,Zl=(0,le.Z)({},((0,z.Z)(ai.data),ai.data)),lr=ai.title,ql=ai.key,_l=ai.isStart,Gs=ai.isEnd,Ls=(0,Rn.km)(ql,Xl);delete Zl.key,delete Zl.children;var Ks=(0,Rn.H8)(Ls,Dd);return x.createElement(Zt,(0,le.Z)({},Zl,Ks,{title:lr,active:!!Oa&&ql===Oa.key,pos:Xl,data:ai.data,isStart:_l,isEnd:Gs,motion:xt,motionNodes:ql===va?Bd:null,motionType:nd,onMotionStart:Gr,onMotionEnd:Wi,treeNodeRequiredProps:Dd,onMouseMove:function(){Yr(null)}}))}))});wo.displayName="NodeList";var gl=wo,br=te(29873),Pl=te(97153),ol=te(3596),Ii=10,mi=function(yt){(0,Ke.Z)(Ut,yt);var At=(0,He.Z)(Ut);function Ut(){var Be;(0,Ze.Z)(this,Ut);for(var zt=arguments.length,vn=new Array(zt),Sn=0;Sn<zt;Sn++)vn[Sn]=arguments[Sn];return Be=At.call.apply(At,[this].concat(vn)),Be.destroyed=!1,Be.delayedDragEnterLogic=void 0,Be.loadingRetryTimes={},Be.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,Rn.w$)()},Be.dragStartMousePosition=null,Be.dragNode=void 0,Be.currentMouseOverDroppableNodeKey=null,Be.listRef=x.createRef(),Be.onNodeDragStart=function(Nt,Gt){var Rt=Be.state,yn=Rt.expandedKeys,Wn=Rt.keyEntities,la=Be.props.onDragStart,ta=Gt.props.eventKey;Be.dragNode=Gt,Be.dragStartMousePosition={x:Nt.clientX,y:Nt.clientY};var pa=(0,br._5)(yn,ta);Be.setState({draggingNodeKey:ta,dragChildrenKeys:(0,br.wA)(ta,Wn),indent:Be.listRef.current.getIndentWidth()}),Be.setExpandedKeys(pa),window.addEventListener("dragend",Be.onWindowDragEnd),la==null||la({event:Nt,node:(0,Rn.F)(Gt.props)})},Be.onNodeDragEnter=function(Nt,Gt){var Rt=Be.state,yn=Rt.expandedKeys,Wn=Rt.keyEntities,la=Rt.dragChildrenKeys,ta=Rt.flattenNodes,pa=Rt.indent,Ha=Be.props,sn=Ha.onDragEnter,xt=Ha.onExpand,rn=Ha.allowDrop,un=Ha.direction,jn=Gt.props,Sa=jn.pos,Oa=jn.eventKey,ar=(0,ze.Z)(Be),Ka=ar.dragNode;if(Be.currentMouseOverDroppableNodeKey!==Oa&&(Be.currentMouseOverDroppableNodeKey=Oa),!Ka){Be.resetDragState();return}var Xa=(0,br.OM)(Nt,Ka,Gt,pa,Be.dragStartMousePosition,rn,ta,Wn,yn,un),gr=Xa.dropPosition,Wa=Xa.dropLevelOffset,Yr=Xa.dropTargetKey,Gr=Xa.dropContainerKey,vo=Xa.dropTargetPos,_r=Xa.dropAllowed,Bo=Xa.dragOverNodeKey;if(la.indexOf(Yr)!==-1||!_r){Be.resetDragState();return}if(Be.delayedDragEnterLogic||(Be.delayedDragEnterLogic={}),Object.keys(Be.delayedDragEnterLogic).forEach(function(Ro){clearTimeout(Be.delayedDragEnterLogic[Ro])}),Ka.props.eventKey!==Gt.props.eventKey&&(Nt.persist(),Be.delayedDragEnterLogic[Sa]=window.setTimeout(function(){if(Be.state.draggingNodeKey!==null){var Ro=(0,Fe.Z)(yn),eo=(0,ol.Z)(Wn,Gt.props.eventKey);eo&&(eo.children||[]).length&&(Ro=(0,br.L0)(yn,Gt.props.eventKey)),"expandedKeys"in Be.props||Be.setExpandedKeys(Ro),xt==null||xt(Ro,{node:(0,Rn.F)(Gt.props),expanded:!0,nativeEvent:Nt.nativeEvent})}},800)),Ka.props.eventKey===Yr&&Wa===0){Be.resetDragState();return}Be.setState({dragOverNodeKey:Bo,dropPosition:gr,dropLevelOffset:Wa,dropTargetKey:Yr,dropContainerKey:Gr,dropTargetPos:vo,dropAllowed:_r}),sn==null||sn({event:Nt,node:(0,Rn.F)(Gt.props),expandedKeys:yn})},Be.onNodeDragOver=function(Nt,Gt){var Rt=Be.state,yn=Rt.dragChildrenKeys,Wn=Rt.flattenNodes,la=Rt.keyEntities,ta=Rt.expandedKeys,pa=Rt.indent,Ha=Be.props,sn=Ha.onDragOver,xt=Ha.allowDrop,rn=Ha.direction,un=(0,ze.Z)(Be),jn=un.dragNode;if(jn){var Sa=(0,br.OM)(Nt,jn,Gt,pa,Be.dragStartMousePosition,xt,Wn,la,ta,rn),Oa=Sa.dropPosition,ar=Sa.dropLevelOffset,Ka=Sa.dropTargetKey,Xa=Sa.dropContainerKey,gr=Sa.dropAllowed,Wa=Sa.dropTargetPos,Yr=Sa.dragOverNodeKey;yn.indexOf(Ka)!==-1||!gr||(jn.props.eventKey===Ka&&ar===0?Be.state.dropPosition===null&&Be.state.dropLevelOffset===null&&Be.state.dropTargetKey===null&&Be.state.dropContainerKey===null&&Be.state.dropTargetPos===null&&Be.state.dropAllowed===!1&&Be.state.dragOverNodeKey===null||Be.resetDragState():Oa===Be.state.dropPosition&&ar===Be.state.dropLevelOffset&&Ka===Be.state.dropTargetKey&&Xa===Be.state.dropContainerKey&&Wa===Be.state.dropTargetPos&&gr===Be.state.dropAllowed&&Yr===Be.state.dragOverNodeKey||Be.setState({dropPosition:Oa,dropLevelOffset:ar,dropTargetKey:Ka,dropContainerKey:Xa,dropTargetPos:Wa,dropAllowed:gr,dragOverNodeKey:Yr}),sn==null||sn({event:Nt,node:(0,Rn.F)(Gt.props)}))}},Be.onNodeDragLeave=function(Nt,Gt){Be.currentMouseOverDroppableNodeKey===Gt.props.eventKey&&!Nt.currentTarget.contains(Nt.relatedTarget)&&(Be.resetDragState(),Be.currentMouseOverDroppableNodeKey=null);var Rt=Be.props.onDragLeave;Rt==null||Rt({event:Nt,node:(0,Rn.F)(Gt.props)})},Be.onWindowDragEnd=function(Nt){Be.onNodeDragEnd(Nt,null,!0),window.removeEventListener("dragend",Be.onWindowDragEnd)},Be.onNodeDragEnd=function(Nt,Gt){var Rt=Be.props.onDragEnd;Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),Rt==null||Rt({event:Nt,node:(0,Rn.F)(Gt.props)}),Be.dragNode=null,window.removeEventListener("dragend",Be.onWindowDragEnd)},Be.onNodeDrop=function(Nt,Gt){var Rt,yn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Wn=Be.state,la=Wn.dragChildrenKeys,ta=Wn.dropPosition,pa=Wn.dropTargetKey,Ha=Wn.dropTargetPos,sn=Wn.dropAllowed;if(sn){var xt=Be.props.onDrop;if(Be.setState({dragOverNodeKey:null}),Be.cleanDragState(),pa!==null){var rn=(0,Ge.Z)((0,Ge.Z)({},(0,Rn.H8)(pa,Be.getTreeNodeRequiredProps())),{},{active:((Rt=Be.getActiveItem())===null||Rt===void 0?void 0:Rt.key)===pa,data:(0,ol.Z)(Be.state.keyEntities,pa).node}),un=la.indexOf(pa)!==-1;(0,a.ZP)(!un,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var jn=(0,br.yx)(Ha),Sa={event:Nt,node:(0,Rn.F)(rn),dragNode:Be.dragNode?(0,Rn.F)(Be.dragNode.props):null,dragNodesKeys:[Be.dragNode.props.eventKey].concat(la),dropToGap:ta!==0,dropPosition:ta+Number(jn[jn.length-1])};yn||xt==null||xt(Sa),Be.dragNode=null}}},Be.cleanDragState=function(){var Nt=Be.state.draggingNodeKey;Nt!==null&&Be.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Be.dragStartMousePosition=null,Be.currentMouseOverDroppableNodeKey=null},Be.triggerExpandActionExpand=function(Nt,Gt){var Rt=Be.state,yn=Rt.expandedKeys,Wn=Rt.flattenNodes,la=Gt.expanded,ta=Gt.key,pa=Gt.isLeaf;if(!(pa||Nt.shiftKey||Nt.metaKey||Nt.ctrlKey)){var Ha=Wn.filter(function(xt){return xt.key===ta})[0],sn=(0,Rn.F)((0,Ge.Z)((0,Ge.Z)({},(0,Rn.H8)(ta,Be.getTreeNodeRequiredProps())),{},{data:Ha.data}));Be.setExpandedKeys(la?(0,br._5)(yn,ta):(0,br.L0)(yn,ta)),Be.onNodeExpand(Nt,sn)}},Be.onNodeClick=function(Nt,Gt){var Rt=Be.props,yn=Rt.onClick,Wn=Rt.expandAction;Wn==="click"&&Be.triggerExpandActionExpand(Nt,Gt),yn==null||yn(Nt,Gt)},Be.onNodeDoubleClick=function(Nt,Gt){var Rt=Be.props,yn=Rt.onDoubleClick,Wn=Rt.expandAction;Wn==="doubleClick"&&Be.triggerExpandActionExpand(Nt,Gt),yn==null||yn(Nt,Gt)},Be.onNodeSelect=function(Nt,Gt){var Rt=Be.state.selectedKeys,yn=Be.state,Wn=yn.keyEntities,la=yn.fieldNames,ta=Be.props,pa=ta.onSelect,Ha=ta.multiple,sn=Gt.selected,xt=Gt[la.key],rn=!sn;rn?Ha?Rt=(0,br.L0)(Rt,xt):Rt=[xt]:Rt=(0,br._5)(Rt,xt);var un=Rt.map(function(jn){var Sa=(0,ol.Z)(Wn,jn);return Sa?Sa.node:null}).filter(function(jn){return jn});Be.setUncontrolledState({selectedKeys:Rt}),pa==null||pa(Rt,{event:"select",selected:rn,node:Gt,selectedNodes:un,nativeEvent:Nt.nativeEvent})},Be.onNodeCheck=function(Nt,Gt,Rt){var yn=Be.state,Wn=yn.keyEntities,la=yn.checkedKeys,ta=yn.halfCheckedKeys,pa=Be.props,Ha=pa.checkStrictly,sn=pa.onCheck,xt=Gt.key,rn,un={event:"check",node:Gt,checked:Rt,nativeEvent:Nt.nativeEvent};if(Ha){var jn=Rt?(0,br.L0)(la,xt):(0,br._5)(la,xt),Sa=(0,br._5)(ta,xt);rn={checked:jn,halfChecked:Sa},un.checkedNodes=jn.map(function(Wa){return(0,ol.Z)(Wn,Wa)}).filter(function(Wa){return Wa}).map(function(Wa){return Wa.node}),Be.setUncontrolledState({checkedKeys:jn})}else{var Oa=(0,Pl.S)([].concat((0,Fe.Z)(la),[xt]),!0,Wn),ar=Oa.checkedKeys,Ka=Oa.halfCheckedKeys;if(!Rt){var Xa=new Set(ar);Xa.delete(xt);var gr=(0,Pl.S)(Array.from(Xa),{checked:!1,halfCheckedKeys:Ka},Wn);ar=gr.checkedKeys,Ka=gr.halfCheckedKeys}rn=ar,un.checkedNodes=[],un.checkedNodesPositions=[],un.halfCheckedKeys=Ka,ar.forEach(function(Wa){var Yr=(0,ol.Z)(Wn,Wa);if(Yr){var Gr=Yr.node,vo=Yr.pos;un.checkedNodes.push(Gr),un.checkedNodesPositions.push({node:Gr,pos:vo})}}),Be.setUncontrolledState({checkedKeys:ar},!1,{halfCheckedKeys:Ka})}sn==null||sn(rn,un)},Be.onNodeLoad=function(Nt){var Gt=Nt.key,Rt=new Promise(function(yn,Wn){Be.setState(function(la){var ta=la.loadedKeys,pa=ta===void 0?[]:ta,Ha=la.loadingKeys,sn=Ha===void 0?[]:Ha,xt=Be.props,rn=xt.loadData,un=xt.onLoad;if(!rn||pa.indexOf(Gt)!==-1||sn.indexOf(Gt)!==-1)return null;var jn=rn(Nt);return jn.then(function(){var Sa=Be.state.loadedKeys,Oa=(0,br.L0)(Sa,Gt);un==null||un(Oa,{event:"load",node:Nt}),Be.setUncontrolledState({loadedKeys:Oa}),Be.setState(function(ar){return{loadingKeys:(0,br._5)(ar.loadingKeys,Gt)}}),yn()}).catch(function(Sa){if(Be.setState(function(ar){return{loadingKeys:(0,br._5)(ar.loadingKeys,Gt)}}),Be.loadingRetryTimes[Gt]=(Be.loadingRetryTimes[Gt]||0)+1,Be.loadingRetryTimes[Gt]>=Ii){var Oa=Be.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Be.setUncontrolledState({loadedKeys:(0,br.L0)(Oa,Gt)}),yn()}Wn(Sa)}),{loadingKeys:(0,br.L0)(sn,Gt)}})});return Rt.catch(function(){}),Rt},Be.onNodeMouseEnter=function(Nt,Gt){var Rt=Be.props.onMouseEnter;Rt==null||Rt({event:Nt,node:Gt})},Be.onNodeMouseLeave=function(Nt,Gt){var Rt=Be.props.onMouseLeave;Rt==null||Rt({event:Nt,node:Gt})},Be.onNodeContextMenu=function(Nt,Gt){var Rt=Be.props.onRightClick;Rt&&(Nt.preventDefault(),Rt({event:Nt,node:Gt}))},Be.onFocus=function(){var Nt=Be.props.onFocus;Be.setState({focused:!0});for(var Gt=arguments.length,Rt=new Array(Gt),yn=0;yn<Gt;yn++)Rt[yn]=arguments[yn];Nt==null||Nt.apply(void 0,Rt)},Be.onBlur=function(){var Nt=Be.props.onBlur;Be.setState({focused:!1}),Be.onActiveChange(null);for(var Gt=arguments.length,Rt=new Array(Gt),yn=0;yn<Gt;yn++)Rt[yn]=arguments[yn];Nt==null||Nt.apply(void 0,Rt)},Be.getTreeNodeRequiredProps=function(){var Nt=Be.state,Gt=Nt.expandedKeys,Rt=Nt.selectedKeys,yn=Nt.loadedKeys,Wn=Nt.loadingKeys,la=Nt.checkedKeys,ta=Nt.halfCheckedKeys,pa=Nt.dragOverNodeKey,Ha=Nt.dropPosition,sn=Nt.keyEntities;return{expandedKeys:Gt||[],selectedKeys:Rt||[],loadedKeys:yn||[],loadingKeys:Wn||[],checkedKeys:la||[],halfCheckedKeys:ta||[],dragOverNodeKey:pa,dropPosition:Ha,keyEntities:sn}},Be.setExpandedKeys=function(Nt){var Gt=Be.state,Rt=Gt.treeData,yn=Gt.fieldNames,Wn=(0,Rn.oH)(Rt,Nt,yn);Be.setUncontrolledState({expandedKeys:Nt,flattenNodes:Wn},!0)},Be.onNodeExpand=function(Nt,Gt){var Rt=Be.state.expandedKeys,yn=Be.state,Wn=yn.listChanging,la=yn.fieldNames,ta=Be.props,pa=ta.onExpand,Ha=ta.loadData,sn=Gt.expanded,xt=Gt[la.key];if(!Wn){var rn=Rt.indexOf(xt),un=!sn;if((0,a.ZP)(sn&&rn!==-1||!sn&&rn===-1,"Expand state not sync with index check"),un?Rt=(0,br.L0)(Rt,xt):Rt=(0,br._5)(Rt,xt),Be.setExpandedKeys(Rt),pa==null||pa(Rt,{node:Gt,expanded:un,nativeEvent:Nt.nativeEvent}),un&&Ha){var jn=Be.onNodeLoad(Gt);jn&&jn.then(function(){var Sa=(0,Rn.oH)(Be.state.treeData,Rt,la);Be.setUncontrolledState({flattenNodes:Sa})}).catch(function(){var Sa=Be.state.expandedKeys,Oa=(0,br._5)(Sa,xt);Be.setExpandedKeys(Oa)})}}},Be.onListChangeStart=function(){Be.setUncontrolledState({listChanging:!0})},Be.onListChangeEnd=function(){setTimeout(function(){Be.setUncontrolledState({listChanging:!1})})},Be.onActiveChange=function(Nt){var Gt=Be.state.activeKey,Rt=Be.props.onActiveChange;Gt!==Nt&&(Be.setState({activeKey:Nt}),Nt!==null&&Be.scrollTo({key:Nt}),Rt==null||Rt(Nt))},Be.getActiveItem=function(){var Nt=Be.state,Gt=Nt.activeKey,Rt=Nt.flattenNodes;return Gt===null?null:Rt.find(function(yn){var Wn=yn.key;return Wn===Gt})||null},Be.offsetActiveKey=function(Nt){var Gt=Be.state,Rt=Gt.flattenNodes,yn=Gt.activeKey,Wn=Rt.findIndex(function(pa){var Ha=pa.key;return Ha===yn});Wn===-1&&Nt<0&&(Wn=Rt.length),Wn=(Wn+Nt+Rt.length)%Rt.length;var la=Rt[Wn];if(la){var ta=la.key;Be.onActiveChange(ta)}else Be.onActiveChange(null)},Be.onKeyDown=function(Nt){var Gt=Be.state,Rt=Gt.activeKey,yn=Gt.expandedKeys,Wn=Gt.checkedKeys,la=Gt.fieldNames,ta=Be.props,pa=ta.onKeyDown,Ha=ta.checkable,sn=ta.selectable;switch(Nt.which){case ue.UP:{Be.offsetActiveKey(-1),Nt.preventDefault();break}case ue.DOWN:{Be.offsetActiveKey(1),Nt.preventDefault();break}}var xt=Be.getActiveItem();if(xt&&xt.data){var rn=Be.getTreeNodeRequiredProps(),un=xt.data.isLeaf===!1||!!(xt.data[la.children]||[]).length,jn=(0,Rn.F)((0,Ge.Z)((0,Ge.Z)({},(0,Rn.H8)(Rt,rn)),{},{data:xt.data,active:!0}));switch(Nt.which){case ue.LEFT:{un&&yn.includes(Rt)?Be.onNodeExpand({},jn):xt.parent&&Be.onActiveChange(xt.parent.key),Nt.preventDefault();break}case ue.RIGHT:{un&&!yn.includes(Rt)?Be.onNodeExpand({},jn):xt.children&&xt.children.length&&Be.onActiveChange(xt.children[0].key),Nt.preventDefault();break}case ue.ENTER:case ue.SPACE:{Ha&&!jn.disabled&&jn.checkable!==!1&&!jn.disableCheckbox?Be.onNodeCheck({},jn,!Wn.includes(Rt)):!Ha&&sn&&!jn.disabled&&jn.selectable!==!1&&Be.onNodeSelect({},jn);break}}}pa==null||pa(Nt)},Be.setUncontrolledState=function(Nt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Be.destroyed){var yn=!1,Wn=!0,la={};Object.keys(Nt).forEach(function(ta){if(ta in Be.props){Wn=!1;return}yn=!0,la[ta]=Nt[ta]}),yn&&(!Gt||Wn)&&Be.setState((0,Ge.Z)((0,Ge.Z)({},la),Rt))}},Be.scrollTo=function(Nt){Be.listRef.current.scrollTo(Nt)},Be}return(0,de.Z)(Ut,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var zt=this.props.activeKey;zt!==void 0&&zt!==this.state.activeKey&&(this.setState({activeKey:zt}),zt!==null&&this.scrollTo({key:zt}))}},{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 zt,vn=this.state,Sn=vn.focused,Nt=vn.flattenNodes,Gt=vn.keyEntities,Rt=vn.draggingNodeKey,yn=vn.activeKey,Wn=vn.dropLevelOffset,la=vn.dropContainerKey,ta=vn.dropTargetKey,pa=vn.dropPosition,Ha=vn.dragOverNodeKey,sn=vn.indent,xt=this.props,rn=xt.prefixCls,un=xt.className,jn=xt.style,Sa=xt.showLine,Oa=xt.focusable,ar=xt.tabIndex,Ka=ar===void 0?0:ar,Xa=xt.selectable,gr=xt.showIcon,Wa=xt.icon,Yr=xt.switcherIcon,Gr=xt.draggable,vo=xt.checkable,_r=xt.checkStrictly,Bo=xt.disabled,Ro=xt.motion,eo=xt.loadData,vi=xt.filterTreeNode,ll=xt.height,Dl=xt.itemHeight,yl=xt.virtual,nl=xt.titleRender,ii=xt.dropIndicatorRender,Ql=xt.onContextMenu,Ml=xt.onScroll,Jl=xt.direction,Zs=xt.rootClassName,bl=xt.rootStyle,zs=(0,y.Z)(this.props,{aria:!0,data:!0}),kl;return Gr&&((0,Oe.Z)(Gr)==="object"?kl=Gr:typeof Gr=="function"?kl={nodeDraggable:Gr}:kl={}),x.createElement(b.k.Provider,{value:{prefixCls:rn,selectable:Xa,showIcon:gr,icon:Wa,switcherIcon:Yr,draggable:kl,draggingNodeKey:Rt,checkable:vo,checkStrictly:_r,disabled:Bo,keyEntities:Gt,dropLevelOffset:Wn,dropContainerKey:la,dropTargetKey:ta,dropPosition:pa,dragOverNodeKey:Ha,indent:sn,direction:Jl,dropIndicatorRender:ii,loadData:eo,filterTreeNode:vi,titleRender:nl,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}},x.createElement("div",{role:"tree",className:je()(rn,un,Zs,(zt={},(0,ve.Z)(zt,"".concat(rn,"-show-line"),Sa),(0,ve.Z)(zt,"".concat(rn,"-focused"),Sn),(0,ve.Z)(zt,"".concat(rn,"-active-focused"),yn!==null),zt)),style:bl},x.createElement(gl,(0,le.Z)({ref:this.listRef,prefixCls:rn,style:jn,data:Nt,disabled:Bo,selectable:Xa,checkable:!!vo,motion:Ro,dragging:Rt!==null,height:ll,itemHeight:Dl,virtual:yl,focusable:Oa,focused:Sn,tabIndex:Ka,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ql,onScroll:Ml},this.getTreeNodeRequiredProps(),zs))))}}],[{key:"getDerivedStateFromProps",value:function(zt,vn){var Sn=vn.prevProps,Nt={prevProps:zt};function Gt(Oa){return!Sn&&Oa in zt||Sn&&Sn[Oa]!==zt[Oa]}var Rt,yn=vn.fieldNames;if(Gt("fieldNames")&&(yn=(0,Rn.w$)(zt.fieldNames),Nt.fieldNames=yn),Gt("treeData")?Rt=zt.treeData:Gt("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Rt=(0,Rn.zn)(zt.children)),Rt){Nt.treeData=Rt;var Wn=(0,Rn.I8)(Rt,{fieldNames:yn});Nt.keyEntities=(0,Ge.Z)((0,ve.Z)({},va,Cn),Wn.keyEntities)}var la=Nt.keyEntities||vn.keyEntities;if(Gt("expandedKeys")||Sn&&Gt("autoExpandParent"))Nt.expandedKeys=zt.autoExpandParent||!Sn&&zt.defaultExpandParent?(0,br.r7)(zt.expandedKeys,la):zt.expandedKeys;else if(!Sn&&zt.defaultExpandAll){var ta=(0,Ge.Z)({},la);delete ta[va],Nt.expandedKeys=Object.keys(ta).map(function(Oa){return ta[Oa].key})}else!Sn&&zt.defaultExpandedKeys&&(Nt.expandedKeys=zt.autoExpandParent||zt.defaultExpandParent?(0,br.r7)(zt.defaultExpandedKeys,la):zt.defaultExpandedKeys);if(Nt.expandedKeys||delete Nt.expandedKeys,Rt||Nt.expandedKeys){var pa=(0,Rn.oH)(Rt||vn.treeData,Nt.expandedKeys||vn.expandedKeys,yn);Nt.flattenNodes=pa}if(zt.selectable&&(Gt("selectedKeys")?Nt.selectedKeys=(0,br.BT)(zt.selectedKeys,zt):!Sn&&zt.defaultSelectedKeys&&(Nt.selectedKeys=(0,br.BT)(zt.defaultSelectedKeys,zt))),zt.checkable){var Ha;if(Gt("checkedKeys")?Ha=(0,br.E6)(zt.checkedKeys)||{}:!Sn&&zt.defaultCheckedKeys?Ha=(0,br.E6)(zt.defaultCheckedKeys)||{}:Rt&&(Ha=(0,br.E6)(zt.checkedKeys)||{checkedKeys:vn.checkedKeys,halfCheckedKeys:vn.halfCheckedKeys}),Ha){var sn=Ha,xt=sn.checkedKeys,rn=xt===void 0?[]:xt,un=sn.halfCheckedKeys,jn=un===void 0?[]:un;if(!zt.checkStrictly){var Sa=(0,Pl.S)(rn,!0,la);rn=Sa.checkedKeys,jn=Sa.halfCheckedKeys}Nt.checkedKeys=rn,Nt.halfCheckedKeys=jn}}return Gt("loadedKeys")&&(Nt.loadedKeys=zt.loadedKeys),Nt}}]),Ut}(x.Component);mi.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:E,allowDrop:function(){return!0},expandAction:!1},mi.TreeNode=Ja.Z;var tl=mi,fl=tl,Es=te(73148),pn=te(56747),Os={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"},ml=Os,mo=te(74643),Il=function(At,Ut){return x.createElement(mo.Z,(0,le.Z)({},At,{ref:Ut,icon:ml}))},Zn=x.forwardRef(Il),Aa=te(53124),vr=te(50881),Na=te(33603),Lo=te(32157);const Xo=4;function Ai(yt){const{dropPosition:At,dropLevelOffset:Ut,prefixCls:Be,indent:zt,direction:vn="ltr"}=yt,Sn=vn==="ltr"?"left":"right",Nt=vn==="ltr"?"right":"left",Gt={[Sn]:-Ut*zt+Xo,[Nt]:0};switch(At){case-1:Gt.top=-3;break;case 1:Gt.bottom=-3;break;default:Gt.bottom=-3,Gt[Sn]=zt+Xo;break}return x.createElement("div",{style:Gt,className:`${Be}-drop-indicator`})}var ji=te(99184),fs=x.forwardRef((yt,At)=>{const{getPrefixCls:Ut,direction:Be,virtual:zt,tree:vn}=x.useContext(Aa.E_),{prefixCls:Sn,className:Nt,showIcon:Gt=!1,showLine:Rt,switcherIcon:yn,blockNode:Wn=!1,children:la,checkable:ta=!1,selectable:pa=!0,draggable:Ha,motion:sn,style:xt}=yt,rn=Ut("tree",Sn),un=Ut(),jn=sn!=null?sn:Object.assign(Object.assign({},(0,Na.Z)(un)),{motionAppear:!1}),Sa=Object.assign(Object.assign({},yt),{checkable:ta,selectable:pa,showIcon:Gt,motion:jn,blockNode:Wn,showLine:!!Rt,dropIndicatorRender:Ai}),[Oa,ar]=(0,Lo.ZP)(rn),Ka=x.useMemo(()=>{if(!Ha)return!1;let gr={};switch(typeof Ha){case"function":gr.nodeDraggable=Ha;break;case"object":gr=Object.assign({},Ha);break;default:break}return gr.icon!==!1&&(gr.icon=gr.icon||x.createElement(vr.Z,null)),gr},[Ha]),Xa=gr=>x.createElement(ji.Z,{prefixCls:rn,switcherIcon:yn,treeNodeProps:gr,showLine:Rt});return Oa(x.createElement(fl,Object.assign({itemHeight:20,ref:At,virtual:zt},Sa,{style:Object.assign(Object.assign({},vn==null?void 0:vn.style),xt),prefixCls:rn,className:je()({[`${rn}-icon-hide`]:!Gt,[`${rn}-block-node`]:Wn,[`${rn}-unselectable`]:!pa,[`${rn}-rtl`]:Be==="rtl"},vn==null?void 0:vn.className,Nt,ar),direction:Be,checkable:ta&&x.createElement("span",{className:`${rn}-checkbox-inner`}),selectable:pa,switcherIcon:Xa,draggable:Ka}),la))}),Zi;(function(yt){yt[yt.None=0]="None",yt[yt.Start=1]="Start",yt[yt.End=2]="End"})(Zi||(Zi={}));function Ts(yt,At){function Ut(Be){const{key:zt,children:vn}=Be;At(zt,Be)!==!1&&Ts(vn||[],At)}yt.forEach(Ut)}function dd(yt){let{treeData:At,expandedKeys:Ut,startKey:Be,endKey:zt}=yt;const vn=[];let Sn=Zi.None;if(Be&&Be===zt)return[Be];if(!Be||!zt)return[];function Nt(Gt){return Gt===Be||Gt===zt}return Ts(At,Gt=>{if(Sn===Zi.End)return!1;if(Nt(Gt)){if(vn.push(Gt),Sn===Zi.None)Sn=Zi.Start;else if(Sn===Zi.Start)return Sn=Zi.End,!1}else Sn===Zi.Start&&vn.push(Gt);return Ut.includes(Gt)}),vn}function Ul(yt,At){const Ut=(0,Fe.Z)(At),Be=[];return Ts(yt,(zt,vn)=>{const Sn=Ut.indexOf(zt);return Sn!==-1&&(Be.push(vn),Ut.splice(Sn,1)),!!Ut.length}),Be}var ms=function(yt,At){var Ut={};for(var Be in yt)Object.prototype.hasOwnProperty.call(yt,Be)&&At.indexOf(Be)<0&&(Ut[Be]=yt[Be]);if(yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,Be=Object.getOwnPropertySymbols(yt);zt<Be.length;zt++)At.indexOf(Be[zt])<0&&Object.prototype.propertyIsEnumerable.call(yt,Be[zt])&&(Ut[Be[zt]]=yt[Be[zt]]);return Ut};function is(yt){const{isLeaf:At,expanded:Ut}=yt;return At?x.createElement(Es.Z,null):Ut?x.createElement(pn.Z,null):x.createElement(Zn,null)}function vs(yt){let{treeData:At,children:Ut}=yt;return At||(0,Rn.zn)(Ut)}const Is=(yt,At)=>{var{defaultExpandAll:Ut,defaultExpandParent:Be,defaultExpandedKeys:zt}=yt,vn=ms(yt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Sn=x.useRef(),Nt=x.useRef(),Gt=()=>{const{keyEntities:Ka}=(0,Rn.I8)(vs(vn));let Xa;return Ut?Xa=Object.keys(Ka):Be?Xa=(0,br.r7)(vn.expandedKeys||zt||[],Ka):Xa=vn.expandedKeys||zt,Xa},[Rt,yn]=x.useState(vn.selectedKeys||vn.defaultSelectedKeys||[]),[Wn,la]=x.useState(()=>Gt());x.useEffect(()=>{"selectedKeys"in vn&&yn(vn.selectedKeys)},[vn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in vn&&la(vn.expandedKeys)},[vn.expandedKeys]);const ta=(Ka,Xa)=>{var gr;return"expandedKeys"in vn||la(Ka),(gr=vn.onExpand)===null||gr===void 0?void 0:gr.call(vn,Ka,Xa)},pa=(Ka,Xa)=>{var gr;const{multiple:Wa}=vn,{node:Yr,nativeEvent:Gr}=Xa,{key:vo=""}=Yr,_r=vs(vn),Bo=Object.assign(Object.assign({},Xa),{selected:!0}),Ro=(Gr==null?void 0:Gr.ctrlKey)||(Gr==null?void 0:Gr.metaKey),eo=Gr==null?void 0:Gr.shiftKey;let vi;Wa&&Ro?(vi=Ka,Sn.current=vo,Nt.current=vi,Bo.selectedNodes=Ul(_r,vi)):Wa&&eo?(vi=Array.from(new Set([].concat((0,Fe.Z)(Nt.current||[]),(0,Fe.Z)(dd({treeData:_r,expandedKeys:Wn,startKey:vo,endKey:Sn.current}))))),Bo.selectedNodes=Ul(_r,vi)):(vi=[vo],Sn.current=vo,Nt.current=vi,Bo.selectedNodes=Ul(_r,vi)),(gr=vn.onSelect)===null||gr===void 0||gr.call(vn,vi,Bo),"selectedKeys"in vn||yn(vi)},{getPrefixCls:Ha,direction:sn}=x.useContext(Aa.E_),{prefixCls:xt,className:rn,showIcon:un=!0,expandAction:jn="click"}=vn,Sa=ms(vn,["prefixCls","className","showIcon","expandAction"]),Oa=Ha("tree",xt),ar=je()(`${Oa}-directory`,{[`${Oa}-directory-rtl`]:sn==="rtl"},rn);return x.createElement(fs,Object.assign({icon:is,ref:At,blockNode:!0},Sa,{showIcon:un,expandAction:jn,prefixCls:Oa,className:ar,expandedKeys:Wn,selectedKeys:Rt,onSelect:pa,onExpand:ta}))};var hs=x.forwardRef(Is);const Yl=fs;Yl.DirectoryTree=hs,Yl.TreeNode=Ja.Z;var Ss=Yl},32157:function(ct,Et,te){"use strict";te.d(Et,{TM:function(){return we},Yk:function(){return je}});var le=te(45930),ve=te(63185),Oe=te(14747),Ge=te(33507),Fe=te(45503),Ze=te(67968);const de=new le.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ze=(ue,y)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Ke=(ue,y)=>({[`.${ue}-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:'""'}}}),He=(ue,y)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:ae}=y,re=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Oe.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,Oe.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:de,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,Oe.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({},ze(ue,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:re},[`${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:ae},[`&${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"},Ke(ue,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`}}}}})}},et=ue=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=ue;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ue.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ue.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ue.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"}}}}}},je=(ue,y)=>{const a=`.${ue}`,x=`${a}-treenode`,b=y.paddingXS/2,E=(0,Fe.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[He(ue,E),et(E)]},we=ue=>{const{controlHeightSM:y}=ue;return{titleHeight:y,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};Et.ZP=(0,Ze.Z)("Tree",(ue,y)=>{let{prefixCls:a}=y;return[{[ue.componentCls]:(0,ve.C2)(`${a}-checkbox`,ue)},je(a,ue),(0,Ge.Z)(ue)]},ue=>{const{colorTextLightSolid:y,colorPrimary:a}=ue;return Object.assign(Object.assign({},we(ue)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},99184:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return a}});var le=te(87462),ve=te(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ge=Oe,Fe=te(74643),Ze=function(b,E){return ve.createElement(Fe.Z,(0,le.Z)({},b,{ref:E,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(73148),Ke=te(3407),He=te(34182),et=te(74664),je=te(94184),we=te.n(je),ue=te(96159),a=x=>{const{prefixCls:b,switcherIcon:E,treeNodeProps:z,showLine:ae}=x,{isLeaf:re,expanded:ne,loading:fe}=z;if(fe)return ve.createElement(Ke.Z,{className:`${b}-switcher-loading-icon`});let Se;if(ae&&typeof ae=="object"&&(Se=ae.showLeafIcon),re){if(!ae)return null;if(typeof Se!="boolean"&&Se){const xe=typeof Se=="function"?Se(z):Se,pe=`${b}-switcher-line-custom-icon`;return(0,ue.l$)(xe)?(0,ue.Tm)(xe,{className:we()(xe.props.className||"",pe)}):xe}return Se?ve.createElement(ze.Z,{className:`${b}-switcher-line-icon`}):ve.createElement("span",{className:`${b}-switcher-leaf-line`})}const Ne=`${b}-switcher-icon`,be=typeof E=="function"?E(z):E;return(0,ue.l$)(be)?(0,ue.Tm)(be,{className:we()(be.props.className||"",Ne)}):be!==void 0?be:ae?ne?ve.createElement(He.Z,{className:`${b}-switcher-line-icon`}):ve.createElement(et.Z,{className:`${b}-switcher-line-icon`}):ve.createElement(de,{className:Ne})}},97909:function(ct){(function(Et,te){ct.exports=te()})(this,function(){"use strict";var Et=1e3,te=6e4,le=36e5,ve="millisecond",Oe="second",Ge="minute",Fe="hour",Ze="day",de="week",ze="month",Ke="quarter",He="year",et="date",je="Invalid Date",we=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ue=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(be){var xe=["th","st","nd","rd"],pe=be%100;return"["+be+(xe[(pe-20)%10]||xe[pe]||xe[0])+"]"}},a=function(be,xe,pe){var st=String(be);return!st||st.length>=xe?be:""+Array(xe+1-st.length).join(pe)+be},x={s:a,z:function(be){var xe=-be.utcOffset(),pe=Math.abs(xe),st=Math.floor(pe/60),Qe=pe%60;return(xe<=0?"+":"-")+a(st,2,"0")+":"+a(Qe,2,"0")},m:function be(xe,pe){if(xe.date()<pe.date())return-be(pe,xe);var st=12*(pe.year()-xe.year())+(pe.month()-xe.month()),Qe=xe.clone().add(st,ze),Ot=pe-Qe<0,We=xe.clone().add(st+(Ot?-1:1),ze);return+(-(st+(pe-Qe)/(Ot?Qe-We:We-Qe))||0)},a:function(be){return be<0?Math.ceil(be)||0:Math.floor(be)},p:function(be){return{M:ze,y:He,w:de,d:Ze,D:et,h:Fe,m:Ge,s:Oe,ms:ve,Q:Ke}[be]||String(be||"").toLowerCase().replace(/s$/,"")},u:function(be){return be===void 0}},b="en",E={};E[b]=y;var z="$isDayjsObject",ae=function(be){return be instanceof Se||!(!be||!be[z])},re=function be(xe,pe,st){var Qe;if(!xe)return b;if(typeof xe=="string"){var Ot=xe.toLowerCase();E[Ot]&&(Qe=Ot),pe&&(E[Ot]=pe,Qe=Ot);var We=xe.split("-");if(!Qe&&We.length>1)return be(We[0])}else{var rt=xe.name;E[rt]=xe,Qe=rt}return!st&&Qe&&(b=Qe),Qe||!st&&b},ne=function(be,xe){if(ae(be))return be.clone();var pe=typeof xe=="object"?xe:{};return pe.date=be,pe.args=arguments,new Se(pe)},fe=x;fe.l=re,fe.i=ae,fe.w=function(be,xe){return ne(be,{locale:xe.$L,utc:xe.$u,x:xe.$x,$offset:xe.$offset})};var Se=function(){function be(pe){this.$L=re(pe.locale,null,!0),this.parse(pe),this.$x=this.$x||pe.x||{},this[z]=!0}var xe=be.prototype;return xe.parse=function(pe){this.$d=function(st){var Qe=st.date,Ot=st.utc;if(Qe===null)return new Date(NaN);if(fe.u(Qe))return new Date;if(Qe instanceof Date)return new Date(Qe);if(typeof Qe=="string"&&!/Z$/i.test(Qe)){var We=Qe.match(we);if(We){var rt=We[2]-1||0,bt=(We[7]||"0").substring(0,3);return Ot?new Date(Date.UTC(We[1],rt,We[3]||1,We[4]||0,We[5]||0,We[6]||0,bt)):new Date(We[1],rt,We[3]||1,We[4]||0,We[5]||0,We[6]||0,bt)}}return new Date(Qe)}(pe),this.init()},xe.init=function(){var pe=this.$d;this.$y=pe.getFullYear(),this.$M=pe.getMonth(),this.$D=pe.getDate(),this.$W=pe.getDay(),this.$H=pe.getHours(),this.$m=pe.getMinutes(),this.$s=pe.getSeconds(),this.$ms=pe.getMilliseconds()},xe.$utils=function(){return fe},xe.isValid=function(){return this.$d.toString()!==je},xe.isSame=function(pe,st){var Qe=ne(pe);return this.startOf(st)<=Qe&&Qe<=this.endOf(st)},xe.isAfter=function(pe,st){return ne(pe)<this.startOf(st)},xe.isBefore=function(pe,st){return this.endOf(st)<ne(pe)},xe.$g=function(pe,st,Qe){return fe.u(pe)?this[st]:this.set(Qe,pe)},xe.unix=function(){return Math.floor(this.valueOf()/1e3)},xe.valueOf=function(){return this.$d.getTime()},xe.startOf=function(pe,st){var Qe=this,Ot=!!fe.u(st)||st,We=fe.p(pe),rt=function(Ve,Pt){var Dt=fe.w(Qe.$u?Date.UTC(Qe.$y,Pt,Ve):new Date(Qe.$y,Pt,Ve),Qe);return Ot?Dt:Dt.endOf(Ze)},bt=function(Ve,Pt){return fe.w(Qe.toDate()[Ve].apply(Qe.toDate("s"),(Ot?[0,0,0,0]:[23,59,59,999]).slice(Pt)),Qe)},Kt=this.$W,Mt=this.$M,ht=this.$D,Ft="set"+(this.$u?"UTC":"");switch(We){case He:return Ot?rt(1,0):rt(31,11);case ze:return Ot?rt(1,Mt):rt(0,Mt+1);case de:var Wt=this.$locale().weekStart||0,nn=(Kt<Wt?Kt+7:Kt)-Wt;return rt(Ot?ht-nn:ht+(6-nn),Mt);case Ze:case et:return bt(Ft+"Hours",0);case Fe:return bt(Ft+"Minutes",1);case Ge:return bt(Ft+"Seconds",2);case Oe:return bt(Ft+"Milliseconds",3);default:return this.clone()}},xe.endOf=function(pe){return this.startOf(pe,!1)},xe.$set=function(pe,st){var Qe,Ot=fe.p(pe),We="set"+(this.$u?"UTC":""),rt=(Qe={},Qe[Ze]=We+"Date",Qe[et]=We+"Date",Qe[ze]=We+"Month",Qe[He]=We+"FullYear",Qe[Fe]=We+"Hours",Qe[Ge]=We+"Minutes",Qe[Oe]=We+"Seconds",Qe[ve]=We+"Milliseconds",Qe)[Ot],bt=Ot===Ze?this.$D+(st-this.$W):st;if(Ot===ze||Ot===He){var Kt=this.clone().set(et,1);Kt.$d[rt](bt),Kt.init(),this.$d=Kt.set(et,Math.min(this.$D,Kt.daysInMonth())).$d}else rt&&this.$d[rt](bt);return this.init(),this},xe.set=function(pe,st){return this.clone().$set(pe,st)},xe.get=function(pe){return this[fe.p(pe)]()},xe.add=function(pe,st){var Qe,Ot=this;pe=Number(pe);var We=fe.p(st),rt=function(Mt){var ht=ne(Ot);return fe.w(ht.date(ht.date()+Math.round(Mt*pe)),Ot)};if(We===ze)return this.set(ze,this.$M+pe);if(We===He)return this.set(He,this.$y+pe);if(We===Ze)return rt(1);if(We===de)return rt(7);var bt=(Qe={},Qe[Ge]=te,Qe[Fe]=le,Qe[Oe]=Et,Qe)[We]||1,Kt=this.$d.getTime()+pe*bt;return fe.w(Kt,this)},xe.subtract=function(pe,st){return this.add(-1*pe,st)},xe.format=function(pe){var st=this,Qe=this.$locale();if(!this.isValid())return Qe.invalidDate||je;var Ot=pe||"YYYY-MM-DDTHH:mm:ssZ",We=fe.z(this),rt=this.$H,bt=this.$m,Kt=this.$M,Mt=Qe.weekdays,ht=Qe.months,Ft=Qe.meridiem,Wt=function(Pt,Dt,En,at){return Pt&&(Pt[Dt]||Pt(st,Ot))||En[Dt].slice(0,at)},nn=function(Pt){return fe.s(rt%12||12,Pt,"0")},Ve=Ft||function(Pt,Dt,En){var at=Pt<12?"AM":"PM";return En?at.toLowerCase():at};return Ot.replace(ue,function(Pt,Dt){return Dt||function(En){switch(En){case"YY":return String(st.$y).slice(-2);case"YYYY":return fe.s(st.$y,4,"0");case"M":return Kt+1;case"MM":return fe.s(Kt+1,2,"0");case"MMM":return Wt(Qe.monthsShort,Kt,ht,3);case"MMMM":return Wt(ht,Kt);case"D":return st.$D;case"DD":return fe.s(st.$D,2,"0");case"d":return String(st.$W);case"dd":return Wt(Qe.weekdaysMin,st.$W,Mt,2);case"ddd":return Wt(Qe.weekdaysShort,st.$W,Mt,3);case"dddd":return Mt[st.$W];case"H":return String(rt);case"HH":return fe.s(rt,2,"0");case"h":return nn(1);case"hh":return nn(2);case"a":return Ve(rt,bt,!0);case"A":return Ve(rt,bt,!1);case"m":return String(bt);case"mm":return fe.s(bt,2,"0");case"s":return String(st.$s);case"ss":return fe.s(st.$s,2,"0");case"SSS":return fe.s(st.$ms,3,"0");case"Z":return We}return null}(Pt)||We.replace(":","")})},xe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},xe.diff=function(pe,st,Qe){var Ot,We=this,rt=fe.p(st),bt=ne(pe),Kt=(bt.utcOffset()-this.utcOffset())*te,Mt=this-bt,ht=function(){return fe.m(We,bt)};switch(rt){case He:Ot=ht()/12;break;case ze:Ot=ht();break;case Ke:Ot=ht()/3;break;case de:Ot=(Mt-Kt)/6048e5;break;case Ze:Ot=(Mt-Kt)/864e5;break;case Fe:Ot=Mt/le;break;case Ge:Ot=Mt/te;break;case Oe:Ot=Mt/Et;break;default:Ot=Mt}return Qe?Ot:fe.a(Ot)},xe.daysInMonth=function(){return this.endOf(ze).$D},xe.$locale=function(){return E[this.$L]},xe.locale=function(pe,st){if(!pe)return this.$L;var Qe=this.clone(),Ot=re(pe,st,!0);return Ot&&(Qe.$L=Ot),Qe},xe.clone=function(){return fe.w(this.$d,this)},xe.toDate=function(){return new Date(this.valueOf())},xe.toJSON=function(){return this.isValid()?this.toISOString():null},xe.toISOString=function(){return this.$d.toISOString()},xe.toString=function(){return this.$d.toUTCString()},be}(),Ne=Se.prototype;return ne.prototype=Ne,[["$ms",ve],["$s",Oe],["$m",Ge],["$H",Fe],["$W",Ze],["$M",ze],["$y",He],["$D",et]].forEach(function(be){Ne[be[1]]=function(xe){return this.$g(xe,be[0],be[1])}}),ne.extend=function(be,xe){return be.$i||(be(xe,Se,ne),be.$i=!0),ne},ne.locale=re,ne.isDayjs=ae,ne.unix=function(be){return ne(1e3*be)},ne.en=E[b],ne.Ls=E,ne.p={},ne})},86625:function(ct){(function(Et,te){ct.exports=te()})(this,function(){"use strict";return function(Et,te){var le=te.prototype,ve=le.format;le.format=function(Oe){var Ge=this,Fe=this.$locale();if(!this.isValid())return ve.bind(this)(Oe);var Ze=this.$utils(),de=(Oe||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(ze){switch(ze){case"Q":return Math.ceil((Ge.$M+1)/3);case"Do":return Fe.ordinal(Ge.$D);case"gggg":return Ge.weekYear();case"GGGG":return Ge.isoWeekYear();case"wo":return Fe.ordinal(Ge.week(),"W");case"w":case"ww":return Ze.s(Ge.week(),ze==="w"?1:2,"0");case"W":case"WW":return Ze.s(Ge.isoWeek(),ze==="W"?1:2,"0");case"k":case"kk":return Ze.s(String(Ge.$H===0?24:Ge.$H),ze==="k"?1:2,"0");case"X":return Math.floor(Ge.$d.getTime()/1e3);case"x":return Ge.$d.getTime();case"z":return"["+Ge.offsetName()+"]";case"zzz":return"["+Ge.offsetName("long")+"]";default:return ze}});return ve.bind(this)(de)}}})},40618:function(ct){(function(Et,te){ct.exports=te()})(this,function(){"use strict";var Et={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},te=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,le=/\d\d/,ve=/\d\d?/,Oe=/\d*[^-_:/,()\s\d]+/,Ge={},Fe=function(je){return(je=+je)+(je>68?1900:2e3)},Ze=function(je){return function(we){this[je]=+we}},de=[/[+-]\d\d:?(\d\d)?|Z/,function(je){(this.zone||(this.zone={})).offset=function(we){if(!we||we==="Z")return 0;var ue=we.match(/([+-]|\d\d)/g),y=60*ue[1]+(+ue[2]||0);return y===0?0:ue[0]==="+"?-y:y}(je)}],ze=function(je){var we=Ge[je];return we&&(we.indexOf?we:we.s.concat(we.f))},Ke=function(je,we){var ue,y=Ge.meridiem;if(y){for(var a=1;a<=24;a+=1)if(je.indexOf(y(a,0,we))>-1){ue=a>12;break}}else ue=je===(we?"pm":"PM");return ue},He={A:[Oe,function(je){this.afternoon=Ke(je,!1)}],a:[Oe,function(je){this.afternoon=Ke(je,!0)}],S:[/\d/,function(je){this.milliseconds=100*+je}],SS:[le,function(je){this.milliseconds=10*+je}],SSS:[/\d{3}/,function(je){this.milliseconds=+je}],s:[ve,Ze("seconds")],ss:[ve,Ze("seconds")],m:[ve,Ze("minutes")],mm:[ve,Ze("minutes")],H:[ve,Ze("hours")],h:[ve,Ze("hours")],HH:[ve,Ze("hours")],hh:[ve,Ze("hours")],D:[ve,Ze("day")],DD:[le,Ze("day")],Do:[Oe,function(je){var we=Ge.ordinal,ue=je.match(/\d+/);if(this.day=ue[0],we)for(var y=1;y<=31;y+=1)we(y).replace(/\[|\]/g,"")===je&&(this.day=y)}],M:[ve,Ze("month")],MM:[le,Ze("month")],MMM:[Oe,function(je){var we=ze("months"),ue=(ze("monthsShort")||we.map(function(y){return y.slice(0,3)})).indexOf(je)+1;if(ue<1)throw new Error;this.month=ue%12||ue}],MMMM:[Oe,function(je){var we=ze("months").indexOf(je)+1;if(we<1)throw new Error;this.month=we%12||we}],Y:[/[+-]?\d+/,Ze("year")],YY:[le,function(je){this.year=Fe(je)}],YYYY:[/\d{4}/,Ze("year")],Z:de,ZZ:de};function et(je){var we,ue;we=je,ue=Ge&&Ge.formats;for(var y=(je=we.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(re,ne,fe){var Se=fe&&fe.toUpperCase();return ne||ue[fe]||Et[fe]||ue[Se].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ne,be,xe){return be||xe.slice(1)})})).match(te),a=y.length,x=0;x<a;x+=1){var b=y[x],E=He[b],z=E&&E[0],ae=E&&E[1];y[x]=ae?{regex:z,parser:ae}:b.replace(/^\[|\]$/g,"")}return function(re){for(var ne={},fe=0,Se=0;fe<a;fe+=1){var Ne=y[fe];if(typeof Ne=="string")Se+=Ne.length;else{var be=Ne.regex,xe=Ne.parser,pe=re.slice(Se),st=be.exec(pe)[0];xe.call(ne,st),re=re.replace(st,"")}}return function(Qe){var Ot=Qe.afternoon;if(Ot!==void 0){var We=Qe.hours;Ot?We<12&&(Qe.hours+=12):We===12&&(Qe.hours=0),delete Qe.afternoon}}(ne),ne}}return function(je,we,ue){ue.p.customParseFormat=!0,je&&je.parseTwoDigitYear&&(Fe=je.parseTwoDigitYear);var y=we.prototype,a=y.parse;y.parse=function(x){var b=x.date,E=x.utc,z=x.args;this.$u=E;var ae=z[1];if(typeof ae=="string"){var re=z[2]===!0,ne=z[3]===!0,fe=re||ne,Se=z[2];ne&&(Se=z[2]),Ge=this.$locale(),!re&&Se&&(Ge=ue.Ls[Se]),this.$d=function(pe,st,Qe){try{if(["x","X"].indexOf(st)>-1)return new Date((st==="X"?1e3:1)*pe);var Ot=et(st)(pe),We=Ot.year,rt=Ot.month,bt=Ot.day,Kt=Ot.hours,Mt=Ot.minutes,ht=Ot.seconds,Ft=Ot.milliseconds,Wt=Ot.zone,nn=new Date,Ve=bt||(We||rt?1:nn.getDate()),Pt=We||nn.getFullYear(),Dt=0;We&&!rt||(Dt=rt>0?rt-1:nn.getMonth());var En=Kt||0,at=Mt||0,Lt=ht||0,Ce=Ft||0;return Wt?new Date(Date.UTC(Pt,Dt,Ve,En,at,Lt,Ce+60*Wt.offset*1e3)):Qe?new Date(Date.UTC(Pt,Dt,Ve,En,at,Lt,Ce)):new Date(Pt,Dt,Ve,En,at,Lt,Ce)}catch(on){return new Date("")}}(b,ae,E),this.init(),Se&&Se!==!0&&(this.$L=this.locale(Se).$L),fe&&b!=this.format(ae)&&(this.$d=new Date("")),Ge={}}else if(ae instanceof Array)for(var Ne=ae.length,be=1;be<=Ne;be+=1){z[1]=ae[be-1];var xe=ue.apply(this,z);if(xe.isValid()){this.$d=xe.$d,this.$L=xe.$L,this.init();break}be===Ne&&(this.$d=new Date(""))}else a.call(this,x)}}})},26850:function(ct){(function(Et,te){ct.exports=te()})(this,function(){"use strict";return function(Et,te,le){var ve=te.prototype,Oe=function(ze){return ze&&(ze.indexOf?ze:ze.s)},Ge=function(ze,Ke,He,et,je){var we=ze.name?ze:ze.$locale(),ue=Oe(we[Ke]),y=Oe(we[He]),a=ue||y.map(function(b){return b.slice(0,et)});if(!je)return a;var x=we.weekStart;return a.map(function(b,E){return a[(E+(x||0))%7]})},Fe=function(){return le.Ls[le.locale()]},Ze=function(ze,Ke){return ze.formats[Ke]||function(He){return He.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(et,je,we){return je||we.slice(1)})}(ze.formats[Ke.toUpperCase()])},de=function(){var ze=this;return{months:function(Ke){return Ke?Ke.format("MMMM"):Ge(ze,"months")},monthsShort:function(Ke){return Ke?Ke.format("MMM"):Ge(ze,"monthsShort","months",3)},firstDayOfWeek:function(){return ze.$locale().weekStart||0},weekdays:function(Ke){return Ke?Ke.format("dddd"):Ge(ze,"weekdays")},weekdaysMin:function(Ke){return Ke?Ke.format("dd"):Ge(ze,"weekdaysMin","weekdays",2)},weekdaysShort:function(Ke){return Ke?Ke.format("ddd"):Ge(ze,"weekdaysShort","weekdays",3)},longDateFormat:function(Ke){return Ze(ze.$locale(),Ke)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};ve.localeData=function(){return de.bind(this)()},le.localeData=function(){var ze=Fe();return{firstDayOfWeek:function(){return ze.weekStart||0},weekdays:function(){return le.weekdays()},weekdaysShort:function(){return le.weekdaysShort()},weekdaysMin:function(){return le.weekdaysMin()},months:function(){return le.months()},monthsShort:function(){return le.monthsShort()},longDateFormat:function(Ke){return Ze(ze,Ke)},meridiem:ze.meridiem,ordinal:ze.ordinal}},le.months=function(){return Ge(Fe(),"months")},le.monthsShort=function(){return Ge(Fe(),"monthsShort","months",3)},le.weekdays=function(ze){return Ge(Fe(),"weekdays",null,null,ze)},le.weekdaysShort=function(ze){return Ge(Fe(),"weekdaysShort","weekdays",3,ze)},le.weekdaysMin=function(ze){return Ge(Fe(),"weekdaysMin","weekdays",2,ze)}}})},23082:function(ct){(function(Et,te){ct.exports=te()})(this,function(){"use strict";var Et="week",te="year";return function(le,ve,Oe){var Ge=ve.prototype;Ge.week=function(Fe){if(Fe===void 0&&(Fe=null),Fe!==null)return this.add(7*(Fe-this.week()),"day");var Ze=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var de=Oe(this).startOf(te).add(1,te).date(Ze),ze=Oe(this).endOf(Et);if(de.isBefore(ze))return 1}var Ke=Oe(this).startOf(te).date(Ze).startOf(Et).subtract(1,"millisecond"),He=this.diff(Ke,Et,!0);return He<0?Oe(this).startOf("week").week():Math.ceil(He)},Ge.weeks=function(Fe){return Fe===void 0&&(Fe=null),this.week(Fe)}}})},99873:function(ct){(function(Et,te){ct.exports=te()})(this,function(){"use strict";return function(Et,te){te.prototype.weekYear=function(){var le=this.month(),ve=this.week(),Oe=this.year();return ve===1&&le===11?Oe+1:le===0&&ve>=52?Oe-1:Oe}}})},33088:function(ct){(function(Et,te){ct.exports=te()})(this,function(){"use strict";return function(Et,te){te.prototype.weekday=function(le){var ve=this.$locale().weekStart||0,Oe=this.$W,Ge=(Oe<ve?Oe+7:Oe)-ve;return this.$utils().u(le)?Ge:this.subtract(Ge,"day").add(le,"day")}}})},62661:function(ct,Et){"use strict";var te;var le=Symbol.for("react.element"),ve=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),Ge=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),Ze=Symbol.for("react.provider"),de=Symbol.for("react.context"),ze=Symbol.for("react.server_context"),Ke=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),je=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case le:switch(x=x.type,x){case Oe:case Fe:case Ge:case He:case et:return x;default:switch(x=x&&x.$$typeof,x){case ze:case de:case Ke:case we:case je:case Ze:return x;default:return b}}case ve:return b}}}te=de,te=Ze,te=le,te=Ke,te=Oe,te=we,te=je,te=ve,te=Fe,te=Ge,te=He,te=et,te=function(){return!1},te=function(){return!1},te=function(x){return a(x)===de},te=function(x){return a(x)===Ze},te=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===le},te=function(x){return a(x)===Ke},te=function(x){return a(x)===Oe},te=function(x){return a(x)===we},Et.isMemo=function(x){return a(x)===je},te=function(x){return a(x)===ve},te=function(x){return a(x)===Fe},te=function(x){return a(x)===Ge},te=function(x){return a(x)===He},te=function(x){return a(x)===et},te=function(x){return typeof x=="string"||typeof x=="function"||x===Oe||x===Fe||x===Ge||x===He||x===et||x===ue||typeof x=="object"&&x!==null&&(x.$$typeof===we||x.$$typeof===je||x.$$typeof===Ze||x.$$typeof===de||x.$$typeof===Ke||x.$$typeof===y||x.getModuleId!==void 0)},te=a},95845:function(ct,Et,te){"use strict";ct.exports=te(62661)},72665:function(ct,Et){"use strict";var te;var le=typeof Symbol=="function"&&Symbol.for,ve=le?Symbol.for("react.element"):60103,Oe=le?Symbol.for("react.portal"):60106,Ge=le?Symbol.for("react.fragment"):60107,Fe=le?Symbol.for("react.strict_mode"):60108,Ze=le?Symbol.for("react.profiler"):60114,de=le?Symbol.for("react.provider"):60109,ze=le?Symbol.for("react.context"):60110,Ke=le?Symbol.for("react.async_mode"):60111,He=le?Symbol.for("react.concurrent_mode"):60111,et=le?Symbol.for("react.forward_ref"):60112,je=le?Symbol.for("react.suspense"):60113,we=le?Symbol.for("react.suspense_list"):60120,ue=le?Symbol.for("react.memo"):60115,y=le?Symbol.for("react.lazy"):60116,a=le?Symbol.for("react.block"):60121,x=le?Symbol.for("react.fundamental"):60117,b=le?Symbol.for("react.responder"):60118,E=le?Symbol.for("react.scope"):60119;function z(re){if(typeof re=="object"&&re!==null){var ne=re.$$typeof;switch(ne){case ve:switch(re=re.type,re){case Ke:case He:case Ge:case Ze:case Fe:case je:return re;default:switch(re=re&&re.$$typeof,re){case ze:case et:case y:case ue:case de:return re;default:return ne}}case Oe:return ne}}}function ae(re){return z(re)===He}te=Ke,te=He,te=ze,te=de,te=ve,te=et,te=Ge,te=y,te=ue,te=Oe,te=Ze,te=Fe,te=je,te=function(re){return ae(re)||z(re)===Ke},te=ae,te=function(re){return z(re)===ze},te=function(re){return z(re)===de},te=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===ve},te=function(re){return z(re)===et},te=function(re){return z(re)===Ge},te=function(re){return z(re)===y},Et.isMemo=function(re){return z(re)===ue},te=function(re){return z(re)===Oe},te=function(re){return z(re)===Ze},te=function(re){return z(re)===Fe},te=function(re){return z(re)===je},te=function(re){return typeof re=="string"||typeof re=="function"||re===Ge||re===He||re===Ze||re===Fe||re===je||re===we||typeof re=="object"&&re!==null&&(re.$$typeof===y||re.$$typeof===ue||re.$$typeof===de||re.$$typeof===ze||re.$$typeof===et||re.$$typeof===x||re.$$typeof===b||re.$$typeof===E||re.$$typeof===a)},te=z},12060:function(ct,Et,te){"use strict";ct.exports=te(72665)},15633:function(ct,Et){"use strict";var te;var le=typeof Symbol=="function"&&Symbol.for,ve=le?Symbol.for("react.element"):60103,Oe=le?Symbol.for("react.portal"):60106,Ge=le?Symbol.for("react.fragment"):60107,Fe=le?Symbol.for("react.strict_mode"):60108,Ze=le?Symbol.for("react.profiler"):60114,de=le?Symbol.for("react.provider"):60109,ze=le?Symbol.for("react.context"):60110,Ke=le?Symbol.for("react.async_mode"):60111,He=le?Symbol.for("react.concurrent_mode"):60111,et=le?Symbol.for("react.forward_ref"):60112,je=le?Symbol.for("react.suspense"):60113,we=le?Symbol.for("react.suspense_list"):60120,ue=le?Symbol.for("react.memo"):60115,y=le?Symbol.for("react.lazy"):60116,a=le?Symbol.for("react.block"):60121,x=le?Symbol.for("react.fundamental"):60117,b=le?Symbol.for("react.responder"):60118,E=le?Symbol.for("react.scope"):60119;function z(re){if(typeof re=="object"&&re!==null){var ne=re.$$typeof;switch(ne){case ve:switch(re=re.type,re){case Ke:case He:case Ge:case Ze:case Fe:case je:return re;default:switch(re=re&&re.$$typeof,re){case ze:case et:case y:case ue:case de:return re;default:return ne}}case Oe:return ne}}}function ae(re){return z(re)===He}te=Ke,te=He,te=ze,te=de,te=ve,te=et,te=Ge,te=y,te=ue,te=Oe,te=Ze,te=Fe,te=je,te=function(re){return ae(re)||z(re)===Ke},te=ae,te=function(re){return z(re)===ze},te=function(re){return z(re)===de},te=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===ve},te=function(re){return z(re)===et},te=function(re){return z(re)===Ge},te=function(re){return z(re)===y},Et.isMemo=function(re){return z(re)===ue},te=function(re){return z(re)===Oe},te=function(re){return z(re)===Ze},te=function(re){return z(re)===Fe},te=function(re){return z(re)===je},te=function(re){return typeof re=="string"||typeof re=="function"||re===Ge||re===He||re===Ze||re===Fe||re===je||re===we||typeof re=="object"&&re!==null&&(re.$$typeof===y||re.$$typeof===ue||re.$$typeof===de||re.$$typeof===ze||re.$$typeof===et||re.$$typeof===x||re.$$typeof===b||re.$$typeof===E||re.$$typeof===a)},te=z},49286:function(ct,Et,te){"use strict";ct.exports=te(15633)},56261:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return Se}});var le=te(87462),ve=te(4942),Oe=te(45987),Ge=te(1413),Fe=te(15671),Ze=te(43144),de=te(97326),ze=te(60136),Ke=te(51630),He=te(94184),et=te.n(He),je=te(34952),we=te(67294),ue=te(69610),y=function(be){for(var xe=be.prefixCls,pe=be.level,st=be.isStart,Qe=be.isEnd,Ot="".concat(xe,"-indent-unit"),We=[],rt=0;rt<pe;rt+=1){var bt;We.push(we.createElement("span",{key:rt,className:et()(Ot,(bt={},(0,ve.Z)(bt,"".concat(Ot,"-start"),st[rt]),(0,ve.Z)(bt,"".concat(Ot,"-end"),Qe[rt]),bt))}))}return we.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},We)},a=we.memo(y),x=te(3596),b=te(83898),E=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",ae="close",re="---",ne=function(Ne){(0,ze.Z)(xe,Ne);var be=(0,Ke.Z)(xe);function xe(){var pe;(0,Fe.Z)(this,xe);for(var st=arguments.length,Qe=new Array(st),Ot=0;Ot<st;Ot++)Qe[Ot]=arguments[Ot];return pe=be.call.apply(be,[this].concat(Qe)),pe.state={dragNodeHighlight:!1},pe.selectHandle=void 0,pe.cacheIndent=void 0,pe.onSelectorClick=function(We){var rt=pe.props.context.onNodeClick;rt(We,(0,b.F)(pe.props)),pe.isSelectable()?pe.onSelect(We):pe.onCheck(We)},pe.onSelectorDoubleClick=function(We){var rt=pe.props.context.onNodeDoubleClick;rt(We,(0,b.F)(pe.props))},pe.onSelect=function(We){if(!pe.isDisabled()){var rt=pe.props.context.onNodeSelect;rt(We,(0,b.F)(pe.props))}},pe.onCheck=function(We){if(!pe.isDisabled()){var rt=pe.props,bt=rt.disableCheckbox,Kt=rt.checked,Mt=pe.props.context.onNodeCheck;if(!(!pe.isCheckable()||bt)){var ht=!Kt;Mt(We,(0,b.F)(pe.props),ht)}}},pe.onMouseEnter=function(We){var rt=pe.props.context.onNodeMouseEnter;rt(We,(0,b.F)(pe.props))},pe.onMouseLeave=function(We){var rt=pe.props.context.onNodeMouseLeave;rt(We,(0,b.F)(pe.props))},pe.onContextMenu=function(We){var rt=pe.props.context.onNodeContextMenu;rt(We,(0,b.F)(pe.props))},pe.onDragStart=function(We){var rt=pe.props.context.onNodeDragStart;We.stopPropagation(),pe.setState({dragNodeHighlight:!0}),rt(We,(0,de.Z)(pe));try{We.dataTransfer.setData("text/plain","")}catch(bt){}},pe.onDragEnter=function(We){var rt=pe.props.context.onNodeDragEnter;We.preventDefault(),We.stopPropagation(),rt(We,(0,de.Z)(pe))},pe.onDragOver=function(We){var rt=pe.props.context.onNodeDragOver;We.preventDefault(),We.stopPropagation(),rt(We,(0,de.Z)(pe))},pe.onDragLeave=function(We){var rt=pe.props.context.onNodeDragLeave;We.stopPropagation(),rt(We,(0,de.Z)(pe))},pe.onDragEnd=function(We){var rt=pe.props.context.onNodeDragEnd;We.stopPropagation(),pe.setState({dragNodeHighlight:!1}),rt(We,(0,de.Z)(pe))},pe.onDrop=function(We){var rt=pe.props.context.onNodeDrop;We.preventDefault(),We.stopPropagation(),pe.setState({dragNodeHighlight:!1}),rt(We,(0,de.Z)(pe))},pe.onExpand=function(We){var rt=pe.props,bt=rt.loading,Kt=rt.context.onNodeExpand;bt||Kt(We,(0,b.F)(pe.props))},pe.setSelectHandle=function(We){pe.selectHandle=We},pe.getNodeState=function(){var We=pe.props.expanded;return pe.isLeaf()?null:We?z:ae},pe.hasChildren=function(){var We=pe.props.eventKey,rt=pe.props.context.keyEntities,bt=(0,x.Z)(rt,We)||{},Kt=bt.children;return!!(Kt||[]).length},pe.isLeaf=function(){var We=pe.props,rt=We.isLeaf,bt=We.loaded,Kt=pe.props.context.loadData,Mt=pe.hasChildren();return rt===!1?!1:rt||!Kt&&!Mt||Kt&&bt&&!Mt},pe.isDisabled=function(){var We=pe.props.disabled,rt=pe.props.context.disabled;return!!(rt||We)},pe.isCheckable=function(){var We=pe.props.checkable,rt=pe.props.context.checkable;return!rt||We===!1?!1:rt},pe.syncLoadData=function(We){var rt=We.expanded,bt=We.loading,Kt=We.loaded,Mt=pe.props.context,ht=Mt.loadData,Ft=Mt.onNodeLoad;bt||ht&&rt&&!pe.isLeaf()&&!pe.hasChildren()&&!Kt&&Ft((0,b.F)(pe.props))},pe.isDraggable=function(){var We=pe.props,rt=We.data,bt=We.context.draggable;return!!(bt&&(!bt.nodeDraggable||bt.nodeDraggable(rt)))},pe.renderDragHandler=function(){var We=pe.props.context,rt=We.draggable,bt=We.prefixCls;return rt!=null&&rt.icon?we.createElement("span",{className:"".concat(bt,"-draggable-icon")},rt.icon):null},pe.renderSwitcherIconDom=function(We){var rt=pe.props.switcherIcon,bt=pe.props.context.switcherIcon,Kt=rt||bt;return typeof Kt=="function"?Kt((0,Ge.Z)((0,Ge.Z)({},pe.props),{},{isLeaf:We})):Kt},pe.renderSwitcher=function(){var We=pe.props.expanded,rt=pe.props.context.prefixCls;if(pe.isLeaf()){var bt=pe.renderSwitcherIconDom(!0);return bt!==!1?we.createElement("span",{className:et()("".concat(rt,"-switcher"),"".concat(rt,"-switcher-noop"))},bt):null}var Kt=et()("".concat(rt,"-switcher"),"".concat(rt,"-switcher_").concat(We?z:ae)),Mt=pe.renderSwitcherIconDom(!1);return Mt!==!1?we.createElement("span",{onClick:pe.onExpand,className:Kt},Mt):null},pe.renderCheckbox=function(){var We=pe.props,rt=We.checked,bt=We.halfChecked,Kt=We.disableCheckbox,Mt=pe.props.context.prefixCls,ht=pe.isDisabled(),Ft=pe.isCheckable();if(!Ft)return null;var Wt=typeof Ft!="boolean"?Ft:null;return we.createElement("span",{className:et()("".concat(Mt,"-checkbox"),rt&&"".concat(Mt,"-checkbox-checked"),!rt&&bt&&"".concat(Mt,"-checkbox-indeterminate"),(ht||Kt)&&"".concat(Mt,"-checkbox-disabled")),onClick:pe.onCheck},Wt)},pe.renderIcon=function(){var We=pe.props.loading,rt=pe.props.context.prefixCls;return we.createElement("span",{className:et()("".concat(rt,"-iconEle"),"".concat(rt,"-icon__").concat(pe.getNodeState()||"docu"),We&&"".concat(rt,"-icon_loading"))})},pe.renderSelector=function(){var We=pe.state.dragNodeHighlight,rt=pe.props,bt=rt.title,Kt=bt===void 0?re:bt,Mt=rt.selected,ht=rt.icon,Ft=rt.loading,Wt=rt.data,nn=pe.props.context,Ve=nn.prefixCls,Pt=nn.showIcon,Dt=nn.icon,En=nn.loadData,at=nn.titleRender,Lt=pe.isDisabled(),Ce="".concat(Ve,"-node-content-wrapper"),on;if(Pt){var ln=ht||Dt;on=ln?we.createElement("span",{className:et()("".concat(Ve,"-iconEle"),"".concat(Ve,"-icon__customize"))},typeof ln=="function"?ln(pe.props):ln):pe.renderIcon()}else En&&Ft&&(on=pe.renderIcon());var ra;typeof Kt=="function"?ra=Kt(Wt):at?ra=at(Wt):ra=Kt;var Bn=we.createElement("span",{className:"".concat(Ve,"-title")},ra);return we.createElement("span",{ref:pe.setSelectHandle,title:typeof Kt=="string"?Kt:"",className:et()("".concat(Ce),"".concat(Ce,"-").concat(pe.getNodeState()||"normal"),!Lt&&(Mt||We)&&"".concat(Ve,"-node-selected")),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,onContextMenu:pe.onContextMenu,onClick:pe.onSelectorClick,onDoubleClick:pe.onSelectorDoubleClick},on,Bn,pe.renderDropIndicator())},pe.renderDropIndicator=function(){var We=pe.props,rt=We.disabled,bt=We.eventKey,Kt=pe.props.context,Mt=Kt.draggable,ht=Kt.dropLevelOffset,Ft=Kt.dropPosition,Wt=Kt.prefixCls,nn=Kt.indent,Ve=Kt.dropIndicatorRender,Pt=Kt.dragOverNodeKey,Dt=Kt.direction,En=!!Mt,at=!rt&&En&&Pt===bt,Lt=nn!=null?nn:pe.cacheIndent;return pe.cacheIndent=nn,at?Ve({dropPosition:Ft,dropLevelOffset:ht,indent:Lt,prefixCls:Wt,direction:Dt}):null},pe}return(0,Ze.Z)(xe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var st=this.props.selectable,Qe=this.props.context.selectable;return typeof st=="boolean"?st:Qe}},{key:"render",value:function(){var st,Qe=this.props,Ot=Qe.eventKey,We=Qe.className,rt=Qe.style,bt=Qe.dragOver,Kt=Qe.dragOverGapTop,Mt=Qe.dragOverGapBottom,ht=Qe.isLeaf,Ft=Qe.isStart,Wt=Qe.isEnd,nn=Qe.expanded,Ve=Qe.selected,Pt=Qe.checked,Dt=Qe.halfChecked,En=Qe.loading,at=Qe.domRef,Lt=Qe.active,Ce=Qe.data,on=Qe.onMouseMove,ln=Qe.selectable,ra=(0,Oe.Z)(Qe,E),Bn=this.props.context,It=Bn.prefixCls,Ie=Bn.filterTreeNode,De=Bn.keyEntities,ft=Bn.dropContainerKey,kt=Bn.dropTargetKey,jt=Bn.draggingNodeKey,gn=this.isDisabled(),tn=(0,je.Z)(ra,{aria:!0,data:!0}),xn=(0,x.Z)(De,Ot)||{},dn=xn.level,ga=Wt[Wt.length-1],Te=this.isDraggable(),ot=!gn&&Te,Yn=jt===Ot,Mn=ln!==void 0?{"aria-selected":!!ln}:void 0;return we.createElement("div",(0,le.Z)({ref:at,className:et()(We,"".concat(It,"-treenode"),(st={},(0,ve.Z)(st,"".concat(It,"-treenode-disabled"),gn),(0,ve.Z)(st,"".concat(It,"-treenode-switcher-").concat(nn?"open":"close"),!ht),(0,ve.Z)(st,"".concat(It,"-treenode-checkbox-checked"),Pt),(0,ve.Z)(st,"".concat(It,"-treenode-checkbox-indeterminate"),Dt),(0,ve.Z)(st,"".concat(It,"-treenode-selected"),Ve),(0,ve.Z)(st,"".concat(It,"-treenode-loading"),En),(0,ve.Z)(st,"".concat(It,"-treenode-active"),Lt),(0,ve.Z)(st,"".concat(It,"-treenode-leaf-last"),ga),(0,ve.Z)(st,"".concat(It,"-treenode-draggable"),Te),(0,ve.Z)(st,"dragging",Yn),(0,ve.Z)(st,"drop-target",kt===Ot),(0,ve.Z)(st,"drop-container",ft===Ot),(0,ve.Z)(st,"drag-over",!gn&&bt),(0,ve.Z)(st,"drag-over-gap-top",!gn&&Kt),(0,ve.Z)(st,"drag-over-gap-bottom",!gn&&Mt),(0,ve.Z)(st,"filter-node",Ie&&Ie((0,b.F)(this.props))),st)),style:rt,draggable:ot,"aria-grabbed":Yn,onDragStart:ot?this.onDragStart:void 0,onDragEnter:Te?this.onDragEnter:void 0,onDragOver:Te?this.onDragOver:void 0,onDragLeave:Te?this.onDragLeave:void 0,onDrop:Te?this.onDrop:void 0,onDragEnd:Te?this.onDragEnd:void 0,onMouseMove:on},Mn,tn),we.createElement(a,{prefixCls:It,level:dn,isStart:Ft,isEnd:Wt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(we.Component),fe=function(be){return we.createElement(ue.k.Consumer,null,function(xe){return we.createElement(ne,(0,le.Z)({},be,{context:xe}))})};fe.displayName="TreeNode",fe.isTreeNode=1;var Se=fe},69610:function(ct,Et,te){"use strict";te.d(Et,{k:function(){return ve}});var le=te(67294),ve=le.createContext(null)},29873:function(ct,Et,te){"use strict";te.d(Et,{BT:function(){return a},E6:function(){return E},L0:function(){return He},OM:function(){return y},_5:function(){return Ke},r7:function(){return z},wA:function(){return je},yx:function(){return et}});var le=te(74902),ve=te(71002),Oe=te(72978),Ge=te(67294),Fe=te(56261),Ze=te(3596),de=te(83898),ze=null;function Ke(ae,re){if(!ae)return[];var ne=ae.slice(),fe=ne.indexOf(re);return fe>=0&&ne.splice(fe,1),ne}function He(ae,re){var ne=(ae||[]).slice();return ne.indexOf(re)===-1&&ne.push(re),ne}function et(ae){return ae.split("-")}function je(ae,re){var ne=[],fe=(0,Ze.Z)(re,ae);function Se(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ne.forEach(function(be){var xe=be.key,pe=be.children;ne.push(xe),Se(pe)})}return Se(fe.children),ne}function we(ae){if(ae.parent){var re=et(ae.pos);return Number(re[re.length-1])===ae.parent.children.length-1}return!1}function ue(ae){var re=et(ae.pos);return Number(re[re.length-1])===0}function y(ae,re,ne,fe,Se,Ne,be,xe,pe,st){var Qe,Ot=ae.clientX,We=ae.clientY,rt=ae.target.getBoundingClientRect(),bt=rt.top,Kt=rt.height,Mt=(st==="rtl"?-1:1)*(((Se==null?void 0:Se.x)||0)-Ot),ht=(Mt-12)/fe,Ft=(0,Ze.Z)(xe,ne.props.eventKey);if(We<bt+Kt/2){var Wt=be.findIndex(function(Bn){return Bn.key===Ft.key}),nn=Wt<=0?0:Wt-1,Ve=be[nn].key;Ft=(0,Ze.Z)(xe,Ve)}var Pt=Ft.key,Dt=Ft,En=Ft.key,at=0,Lt=0;if(!pe.includes(Pt))for(var Ce=0;Ce<ht&&we(Ft);Ce+=1)Ft=Ft.parent,Lt+=1;var on=re.props.data,ln=Ft.node,ra=!0;return ue(Ft)&&Ft.level===0&&We<bt+Kt/2&&Ne({dragNode:on,dropNode:ln,dropPosition:-1})&&Ft.key===ne.props.eventKey?at=-1:(Dt.children||[]).length&&pe.includes(En)?Ne({dragNode:on,dropNode:ln,dropPosition:0})?at=0:ra=!1:Lt===0?ht>-1.5?Ne({dragNode:on,dropNode:ln,dropPosition:1})?at=1:ra=!1:Ne({dragNode:on,dropNode:ln,dropPosition:0})?at=0:Ne({dragNode:on,dropNode:ln,dropPosition:1})?at=1:ra=!1:Ne({dragNode:on,dropNode:ln,dropPosition:1})?at=1:ra=!1,{dropPosition:at,dropLevelOffset:Lt,dropTargetKey:Ft.key,dropTargetPos:Ft.pos,dragOverNodeKey:En,dropContainerKey:at===0?null:((Qe=Ft.parent)===null||Qe===void 0?void 0:Qe.key)||null,dropAllowed:ra}}function a(ae,re){if(ae){var ne=re.multiple;return ne?ae.slice():ae.length?[ae[0]]:ae}}var x=function(re){return re};function b(ae,re){if(!ae)return[];var ne=re||{},fe=ne.processProps,Se=fe===void 0?x:fe,Ne=Array.isArray(ae)?ae:[ae];return Ne.map(function(be){var xe=be.children,pe=_objectWithoutProperties(be,ze),st=b(xe,re);return React.createElement(TreeNode,_extends({key:pe.key},Se(pe)),st)})}function E(ae){if(!ae)return null;var re;if(Array.isArray(ae))re={checkedKeys:ae,halfCheckedKeys:void 0};else if((0,ve.Z)(ae)==="object")re={checkedKeys:ae.checked||void 0,halfCheckedKeys:ae.halfChecked||void 0};else return(0,Oe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return re}function z(ae,re){var ne=new Set;function fe(Se){if(!ne.has(Se)){var Ne=(0,Ze.Z)(re,Se);if(Ne){ne.add(Se);var be=Ne.parent,xe=Ne.node;xe.disabled||be&&fe(be.key)}}}return(ae||[]).forEach(function(Se){fe(Se)}),(0,le.Z)(ne)}},97153:function(ct,Et,te){"use strict";te.d(Et,{S:function(){return de}});var le=te(72978),ve=te(3596);function Oe(ze,Ke){var He=new Set;return ze.forEach(function(et){Ke.has(et)||He.add(et)}),He}function Ge(ze){var Ke=ze||{},He=Ke.disabled,et=Ke.disableCheckbox,je=Ke.checkable;return!!(He||et)||je===!1}function Fe(ze,Ke,He,et){for(var je=new Set(ze),we=new Set,ue=0;ue<=He;ue+=1){var y=Ke.get(ue)||new Set;y.forEach(function(E){var z=E.key,ae=E.node,re=E.children,ne=re===void 0?[]:re;je.has(z)&&!et(ae)&&ne.filter(function(fe){return!et(fe.node)}).forEach(function(fe){je.add(fe.key)})})}for(var a=new Set,x=He;x>=0;x-=1){var b=Ke.get(x)||new Set;b.forEach(function(E){var z=E.parent,ae=E.node;if(!(et(ae)||!E.parent||a.has(E.parent.key))){if(et(E.parent.node)){a.add(z.key);return}var re=!0,ne=!1;(z.children||[]).filter(function(fe){return!et(fe.node)}).forEach(function(fe){var Se=fe.key,Ne=je.has(Se);re&&!Ne&&(re=!1),!ne&&(Ne||we.has(Se))&&(ne=!0)}),re&&je.add(z.key),ne&&we.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(je),halfCheckedKeys:Array.from(Oe(we,je))}}function Ze(ze,Ke,He,et,je){for(var we=new Set(ze),ue=new Set(Ke),y=0;y<=et;y+=1){var a=He.get(y)||new Set;a.forEach(function(z){var ae=z.key,re=z.node,ne=z.children,fe=ne===void 0?[]:ne;!we.has(ae)&&!ue.has(ae)&&!je(re)&&fe.filter(function(Se){return!je(Se.node)}).forEach(function(Se){we.delete(Se.key)})})}ue=new Set;for(var x=new Set,b=et;b>=0;b-=1){var E=He.get(b)||new Set;E.forEach(function(z){var ae=z.parent,re=z.node;if(!(je(re)||!z.parent||x.has(z.parent.key))){if(je(z.parent.node)){x.add(ae.key);return}var ne=!0,fe=!1;(ae.children||[]).filter(function(Se){return!je(Se.node)}).forEach(function(Se){var Ne=Se.key,be=we.has(Ne);ne&&!be&&(ne=!1),!fe&&(be||ue.has(Ne))&&(fe=!0)}),ne||we.delete(ae.key),fe&&ue.add(ae.key),x.add(ae.key)}})}return{checkedKeys:Array.from(we),halfCheckedKeys:Array.from(Oe(ue,we))}}function de(ze,Ke,He,et){var je=[],we;et?we=et:we=Ge;var ue=new Set(ze.filter(function(b){var E=!!(0,ve.Z)(He,b);return E||je.push(b),E})),y=new Map,a=0;Object.keys(He).forEach(function(b){var E=He[b],z=E.level,ae=y.get(z);ae||(ae=new Set,y.set(z,ae)),ae.add(E),a=Math.max(a,z)}),(0,le.ZP)(!je.length,"Tree missing follow keys: ".concat(je.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return Ke===!0?x=Fe(ue,y,a,we):x=Ze(ue,Ke.halfCheckedKeys,y,a,we),x}},3596:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return le}});function le(ve,Oe){return ve[Oe]}},83898:function(ct,Et,te){"use strict";te.d(Et,{I8:function(){return z},F:function(){return re},zn:function(){return x},w$:function(){return y},oH:function(){return b},km:function(){return ue},H8:function(){return ae}});var le=te(71002),ve=te(74902),Oe=te(1413),Ge=te(45987),Fe=te(67294),Ze=te(28580);function de(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Se=[];return Fe.Children.forEach(ne,function(Ne){Ne==null&&!fe.keepEmpty||(Array.isArray(Ne)?Se=Se.concat(de(Ne)):(0,Ze.isFragment)(Ne)&&Ne.props?Se=Se.concat(de(Ne.props.children,fe)):Se.push(Ne))}),Se}function ze(ne,fe){var Se=(0,Oe.Z)({},ne);return Array.isArray(fe)&&fe.forEach(function(Ne){delete Se[Ne]}),Se}var Ke=te(72978),He=te(3596),et=["children"];function je(ne,fe){return"".concat(ne,"-").concat(fe)}function we(ne){return ne&&ne.type&&ne.type.isTreeNode}function ue(ne,fe){return ne!=null?ne:fe}function y(ne){var fe=ne||{},Se=fe.title,Ne=fe._title,be=fe.key,xe=fe.children,pe=Se||"title";return{title:pe,_title:Ne||[pe],key:be||"key",children:xe||"children"}}function a(ne,fe){var Se=new Map;function Ne(be){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(pe){var st=pe[fe.key],Qe=pe[fe.children];warning(st!=null,"Tree node must have a certain key: [".concat(xe).concat(st,"]"));var Ot=String(st);warning(!Se.has(Ot)||st===null||st===void 0,"Same 'key' exist in the Tree: ".concat(Ot)),Se.set(Ot,!0),Ne(Qe,"".concat(xe).concat(Ot," > "))})}Ne(ne)}function x(ne){function fe(Se){var Ne=de(Se);return Ne.map(function(be){if(!we(be))return(0,Ke.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var xe=be.key,pe=be.props,st=pe.children,Qe=(0,Ge.Z)(pe,et),Ot=(0,Oe.Z)({key:xe},Qe),We=fe(st);return We.length&&(Ot.children=We),Ot}).filter(function(be){return be})}return fe(ne)}function b(ne,fe,Se){var Ne=y(Se),be=Ne._title,xe=Ne.key,pe=Ne.children,st=new Set(fe===!0?[]:fe),Qe=[];function Ot(We){var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return We.map(function(bt,Kt){for(var Mt=je(rt?rt.pos:"0",Kt),ht=ue(bt[xe],Mt),Ft,Wt=0;Wt<be.length;Wt+=1){var nn=be[Wt];if(bt[nn]!==void 0){Ft=bt[nn];break}}var Ve=(0,Oe.Z)((0,Oe.Z)({},ze(bt,[].concat((0,ve.Z)(be),[xe,pe]))),{},{title:Ft,key:ht,parent:rt,pos:Mt,children:null,data:bt,isStart:[].concat((0,ve.Z)(rt?rt.isStart:[]),[Kt===0]),isEnd:[].concat((0,ve.Z)(rt?rt.isEnd:[]),[Kt===We.length-1])});return Qe.push(Ve),fe===!0||st.has(ht)?Ve.children=Ot(bt[pe]||[],Ve):Ve.children=[],Ve})}return Ot(ne),Qe}function E(ne,fe,Se){var Ne={};(0,le.Z)(Se)==="object"?Ne=Se:Ne={externalGetKey:Se},Ne=Ne||{};var be=Ne,xe=be.childrenPropName,pe=be.externalGetKey,st=be.fieldNames,Qe=y(st),Ot=Qe.key,We=Qe.children,rt=xe||We,bt;pe?typeof pe=="string"?bt=function(ht){return ht[pe]}:typeof pe=="function"&&(bt=function(ht){return pe(ht)}):bt=function(ht,Ft){return ue(ht[Ot],Ft)};function Kt(Mt,ht,Ft,Wt){var nn=Mt?Mt[rt]:ne,Ve=Mt?je(Ft.pos,ht):"0",Pt=Mt?[].concat((0,ve.Z)(Wt),[Mt]):[];if(Mt){var Dt=bt(Mt,Ve),En={node:Mt,index:ht,pos:Ve,key:Dt,parentPos:Ft.node?Ft.pos:null,level:Ft.level+1,nodes:Pt};fe(En)}nn&&nn.forEach(function(at,Lt){Kt(at,Lt,{node:Mt,pos:Ve,level:Ft?Ft.level+1:-1},Pt)})}Kt(null)}function z(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Se=fe.initWrapper,Ne=fe.processEntity,be=fe.onProcessFinished,xe=fe.externalGetKey,pe=fe.childrenPropName,st=fe.fieldNames,Qe=arguments.length>2?arguments[2]:void 0,Ot=xe||Qe,We={},rt={},bt={posEntities:We,keyEntities:rt};return Se&&(bt=Se(bt)||bt),E(ne,function(Kt){var Mt=Kt.node,ht=Kt.index,Ft=Kt.pos,Wt=Kt.key,nn=Kt.parentPos,Ve=Kt.level,Pt=Kt.nodes,Dt={node:Mt,nodes:Pt,index:ht,key:Wt,pos:Ft,level:Ve},En=ue(Wt,Ft);We[Ft]=Dt,rt[En]=Dt,Dt.parent=We[nn],Dt.parent&&(Dt.parent.children=Dt.parent.children||[],Dt.parent.children.push(Dt)),Ne&&Ne(Dt,bt)},{externalGetKey:Ot,childrenPropName:pe,fieldNames:st}),be&&be(bt),bt}function ae(ne,fe){var Se=fe.expandedKeys,Ne=fe.selectedKeys,be=fe.loadedKeys,xe=fe.loadingKeys,pe=fe.checkedKeys,st=fe.halfCheckedKeys,Qe=fe.dragOverNodeKey,Ot=fe.dropPosition,We=fe.keyEntities,rt=(0,He.Z)(We,ne),bt={eventKey:ne,expanded:Se.indexOf(ne)!==-1,selected:Ne.indexOf(ne)!==-1,loaded:be.indexOf(ne)!==-1,loading:xe.indexOf(ne)!==-1,checked:pe.indexOf(ne)!==-1,halfChecked:st.indexOf(ne)!==-1,pos:String(rt?rt.pos:""),dragOver:Qe===ne&&Ot===0,dragOverGapTop:Qe===ne&&Ot===-1,dragOverGapBottom:Qe===ne&&Ot===1};return bt}function re(ne){var fe=ne.data,Se=ne.expanded,Ne=ne.selected,be=ne.checked,xe=ne.loaded,pe=ne.loading,st=ne.halfChecked,Qe=ne.dragOver,Ot=ne.dragOverGapTop,We=ne.dragOverGapBottom,rt=ne.pos,bt=ne.active,Kt=ne.eventKey,Mt=(0,Oe.Z)((0,Oe.Z)({},fe),{},{expanded:Se,selected:Ne,checked:be,loaded:xe,loading:pe,halfChecked:st,dragOver:Qe,dragOverGapTop:Ot,dragOverGapBottom:We,pos:rt,active:bt,key:Kt});return"props"in Mt||Object.defineProperty(Mt,"props",{get:function(){return(0,Ke.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),Mt}},34952:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return ze}});var le=te(1413),ve=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Oe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ge="".concat(ve," ").concat(Oe).split(/[\s\n]+/),Fe="aria-",Ze="data-";function de(Ke,He){return Ke.indexOf(He)===0}function ze(Ke){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et;He===!1?et={aria:!0,data:!0,attr:!0}:He===!0?et={aria:!0}:et=(0,le.Z)({},He);var je={};return Object.keys(Ke).forEach(function(we){(et.aria&&(we==="role"||de(we,Fe))||et.data&&de(we,Ze)||et.attr&&Ge.includes(we))&&(je[we]=Ke[we])}),je}},72978:function(ct,Et,te){"use strict";var le={};function ve(ze,Ke){}function Oe(ze,Ke){}function Ge(){le={}}function Fe(ze,Ke,He){!Ke&&!le[He]&&(ze(!1,He),le[He]=!0)}function Ze(ze,Ke){Fe(ve,ze,Ke)}function de(ze,Ke){Fe(Oe,ze,Ke)}Et.ZP=Ze},81533:function(ct,Et){"use strict";var te;var le=typeof Symbol=="function"&&Symbol.for,ve=le?Symbol.for("react.element"):60103,Oe=le?Symbol.for("react.portal"):60106,Ge=le?Symbol.for("react.fragment"):60107,Fe=le?Symbol.for("react.strict_mode"):60108,Ze=le?Symbol.for("react.profiler"):60114,de=le?Symbol.for("react.provider"):60109,ze=le?Symbol.for("react.context"):60110,Ke=le?Symbol.for("react.async_mode"):60111,He=le?Symbol.for("react.concurrent_mode"):60111,et=le?Symbol.for("react.forward_ref"):60112,je=le?Symbol.for("react.suspense"):60113,we=le?Symbol.for("react.suspense_list"):60120,ue=le?Symbol.for("react.memo"):60115,y=le?Symbol.for("react.lazy"):60116,a=le?Symbol.for("react.block"):60121,x=le?Symbol.for("react.fundamental"):60117,b=le?Symbol.for("react.responder"):60118,E=le?Symbol.for("react.scope"):60119;function z(re){if(typeof re=="object"&&re!==null){var ne=re.$$typeof;switch(ne){case ve:switch(re=re.type,re){case Ke:case He:case Ge:case Ze:case Fe:case je:return re;default:switch(re=re&&re.$$typeof,re){case ze:case et:case y:case ue:case de:return re;default:return ne}}case Oe:return ne}}}function ae(re){return z(re)===He}te=Ke,te=He,te=ze,te=de,te=ve,te=et,te=Ge,te=y,te=ue,te=Oe,te=Ze,te=Fe,te=je,te=function(re){return ae(re)||z(re)===Ke},te=ae,te=function(re){return z(re)===ze},te=function(re){return z(re)===de},te=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===ve},te=function(re){return z(re)===et},Et.isFragment=function(re){return z(re)===Ge},te=function(re){return z(re)===y},Et.isMemo=function(re){return z(re)===ue},te=function(re){return z(re)===Oe},te=function(re){return z(re)===Ze},te=function(re){return z(re)===Fe},te=function(re){return z(re)===je},te=function(re){return typeof re=="string"||typeof re=="function"||re===Ge||re===He||re===Ze||re===Fe||re===je||re===we||typeof re=="object"&&re!==null&&(re.$$typeof===y||re.$$typeof===ue||re.$$typeof===de||re.$$typeof===ze||re.$$typeof===et||re.$$typeof===x||re.$$typeof===b||re.$$typeof===E||re.$$typeof===a)},te=z},28580:function(ct,Et,te){"use strict";ct.exports=te(81533)},92389:function(ct,Et){"use strict";var te={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ve){var Oe=ve.keyCode;if(ve.altKey&&!ve.ctrlKey||ve.metaKey||Oe>=te.F1&&Oe<=te.F12)return!1;switch(Oe){case te.ALT:case te.CAPS_LOCK:case te.CONTEXT_MENU:case te.CTRL:case te.DOWN:case te.END:case te.ESC:case te.HOME:case te.INSERT:case te.LEFT:case te.MAC_FF_META:case te.META:case te.NUMLOCK:case te.NUM_CENTER:case te.PAGE_DOWN:case te.PAGE_UP:case te.PAUSE:case te.PRINT_SCREEN:case te.RIGHT:case te.SHIFT:case te.UP:case te.WIN_KEY:case te.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ve){if(ve>=te.ZERO&&ve<=te.NINE||ve>=te.NUM_ZERO&&ve<=te.NUM_MULTIPLY||ve>=te.A&&ve<=te.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ve===0)return!0;switch(ve){case te.SPACE:case te.QUESTION_MARK:case te.NUM_PLUS:case te.NUM_MINUS:case te.NUM_PERIOD:case te.NUM_DIVISION:case te.SEMICOLON:case te.DASH:case te.EQUALS:case te.COMMA:case te.PERIOD:case te.SLASH:case te.APOSTROPHE:case te.SINGLE_QUOTE:case te.OPEN_SQUARE_BRACKET:case te.BACKSLASH:case te.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};Et.Z=te},46762:function(ct,Et){"use strict";var te;var le=Symbol.for("react.element"),ve=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),Ge=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),Ze=Symbol.for("react.provider"),de=Symbol.for("react.context"),ze=Symbol.for("react.server_context"),Ke=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),je=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case le:switch(x=x.type,x){case Oe:case Fe:case Ge:case He:case et:return x;default:switch(x=x&&x.$$typeof,x){case ze:case de:case Ke:case we:case je:case Ze:return x;default:return b}}case ve:return b}}}te=de,te=Ze,te=le,te=Ke,te=Oe,te=we,te=je,te=ve,te=Fe,te=Ge,te=He,te=et,te=function(){return!1},te=function(){return!1},te=function(x){return a(x)===de},te=function(x){return a(x)===Ze},te=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===le},te=function(x){return a(x)===Ke},Et.isFragment=function(x){return a(x)===Oe},te=function(x){return a(x)===we},te=function(x){return a(x)===je},te=function(x){return a(x)===ve},te=function(x){return a(x)===Fe},te=function(x){return a(x)===Ge},te=function(x){return a(x)===He},te=function(x){return a(x)===et},te=function(x){return typeof x=="string"||typeof x=="function"||x===Oe||x===Fe||x===Ge||x===He||x===et||x===ue||typeof x=="object"&&x!==null&&(x.$$typeof===we||x.$$typeof===je||x.$$typeof===Ze||x.$$typeof===de||x.$$typeof===Ke||x.$$typeof===y||x.getModuleId!==void 0)},te=a},35110:function(ct,Et,te){"use strict";ct.exports=te(46762)},64217:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return ze}});var le=te(1413),ve=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Oe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ge="".concat(ve," ").concat(Oe).split(/[\s\n]+/),Fe="aria-",Ze="data-";function de(Ke,He){return Ke.indexOf(He)===0}function ze(Ke){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et;He===!1?et={aria:!0,data:!0,attr:!0}:He===!0?et={aria:!0}:et=(0,le.Z)({},He);var je={};return Object.keys(Ke).forEach(function(we){(et.aria&&(we==="role"||de(we,Fe))||et.data&&de(we,Ze)||et.attr&&Ge.includes(we))&&(je[we]=Ke[we])}),je}},96908:function(ct){"use strict";ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK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SE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(ct,Et,te){"use strict";te.d(Et,{Z:function(){return le}});function le(ve){if(ve==null)throw new TypeError("Cannot destructure "+ve)}}}]);
|