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
941 KiB
335 lines
941 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5908],{33463:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},28575:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},81893:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},73148:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},56747:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},50881:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},22751:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},34182:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},74664:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},91034:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return de}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(Ke,He){return ve.createElement(ke.Z,(0,le.Z)({},Ke,{ref:He,icon:Ge}))},de=ve.forwardRef(Ze)},71736:function(ct,wt){"use strict";wt.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 wt=[];function te(ue,y){var a=wt.pop();return a===void 0?new go.Point(ue,y):(a.x=ue,a.y=y,a)}function le(){var ue=wt.pop();return ue===void 0?new go.Point:ue}function ve(ue){wt.push(ue)}function Te(ue,y,a,x,b,E,z,ae,re){re||(re=new go.Point);var ne=ue-a,fe=b-z,Se=NaN,Le=NaN;if(ne===0)if(fe===0)ue===a&&(Se=ue,Le=y);else{var be=(E-ae)/fe,xe=E-be*b;Se=ue,Le=be*Se+xe}else if(fe===0){var pe=(y-x)/ne,it=y-pe*ue;Se=b,Le=pe*Se+it}else{var pe=(y-x)/ne,be=(E-ae)/fe,it=y-pe*ue,xe=E-be*b;Se=(xe-it)/(pe-be),Le=pe*Se+it}return re.x=Se,re.y=Le,re}function Ge(ue,y,a,x,b,E,z,ae,re,ne,fe,Se,Le,be){var xe=1-re,pe=re,it=ue*xe+a*pe,We=y*xe+x*pe,xt=a*xe+b*pe,Je=x*xe+E*pe,dt=b*xe+z*pe,Mt=E*xe+ae*pe,Kt=it*xe+xt*pe,Ft=We*xe+Je*pe,mt=xt*xe+dt*pe,Rt=Je*xe+Mt*pe,Jt=Kt*xe+mt*pe,an=Ft*xe+Rt*pe;ne.x=it,ne.y=We,fe.x=Kt,fe.y=Ft,Se.x=Jt,Se.y=an,Le.x=mt,Le.y=Rt,be.x=dt,be.y=Mt}var ke=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=ke,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 tt(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=tt(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]=Te(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=tt(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=tt(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=tt(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=tt(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=tt(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=tt(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=tt(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=ke,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(),Le=le();Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.42,ne,fe,Se,Le,Le);var be=le(),xe=le(),pe=le();Ge(z,ae-E,z+b,ae-E,z+E,ae-b,z+E,ae,.58,Le,Le,pe,be,xe);var it=le(),We=le(),xt=le();Ge(z,ae+E,z-b,ae+E,z-E,ae+b,z-E,ae,.42,it,We,xt,Le,Le);var Je=le(),dt=le(),Mt=le();return Ge(z,ae+E,z-b,ae+E,z-E,ae+b,z-E,ae,.58,Le,Le,Mt,Je,dt),re.add(new go.PathSegment(go.PathSegment.Move,Mt.x*y,Mt.y*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,Je.x*y,Je.y*a,dt.x*y,dt.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,Mt.x*y,Mt.y*a).close()),re.add(new go.PathSegment(go.PathSegment.Move,xt.x*y,xt.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,xt.x*y,xt.y*a,it.x*y,it.y*a,We.x*y,We.y*a).close()),ve(ne),ve(fe),ve(Se),ve(Le),ve(be),ve(xe),ve(pe),ve(it),ve(We),ve(xt),ve(Je),ve(dt),ve(Mt),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(),Le=new go.PathFigure((z-E)*y,ae*a,!1);x.add(Le),Le.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),Le.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);Le.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*y,be.y*.1*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,be.y*.1*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,.15*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,(xe.y*.1+.05*.9)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,xe.x*y,xe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,fe.x*y,fe.y*a,Se.x*y,Se.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+b)*a,(z+b)*y,(ae+E)*a)),Le.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 it=new go.PathFigure((z-E)*y,ae*a,!1);return x.add(it),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=Te(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=Te(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=Te(0,.5,.3,0,0,b/a,.1,b/a,le());return z.spot1=new go.Spot(re.x,re.y),re=Te(.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=Te(0,.5,.3,ae/a,0,E/a,1,E/a,le());return ne.spot1=new go.Spot(Se.x,Se.y),Se=Te(.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=Te(.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=Te(.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=Te(.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=Te(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=Te(.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=Te(.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,Le=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+Le)*y,(ne-Se)*a,(re+Se)*y,(ne-Le)*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,Le=de*Se,re=.825,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re+Se)*y,(ne-Le)*a,(re+Le)*y,(ne-Se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-Se)*y,ne*a,(re-Le)*y,(ne-Se)*a,(re-Se)*y,(ne-Le)*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,Le=de*Se,re=.5,ne=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re+Se)*y,(ne-Le)*a,(re+Le)*y,(ne-Se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-Se)*y,ne*a,(re-Le)*y,(ne-Se)*a,(re-Se)*y,(ne-Le)*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,Le=de*Se,re=.175,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re+Se)*y,(ne-Le)*a,(re+Le)*y,(ne-Se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(re-Se)*y,ne*a,(re-Le)*y,(ne-Se)*a,(re-Se)*y,(ne-Le)*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,Le=de*Se,re=.05,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ne-Se)*a,(re-Se)*y,(ne-Le)*a,(re-Le)*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,Le=new go.PathFigure(re*y+fe,(ne+ae)*a+Se,!0);x.add(Le),Le.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)),Le.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)),Le.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)),Le.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 it=new go.PathFigure(re*y+fe,(ne-ae)*a+Se,!0);return x.add(it),it.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)),it.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)),it.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)),it.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 Le=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(Le),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,Le=.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,(Le+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,Le=z,be=z,xe=fe*Le,pe=fe*be;E.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Le)*y,re*a,(ae-(xe+Le)/2)*y,(re+(be+pe)/2)*a,(ae-Le)*y,(re+pe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(re-be)*a,(ae-Le)*y,(re-pe)*a,(ae-xe)*y,(re-be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Le)*y,re*a,(ae+xe)*y,(re-be)*a,(ae+Le)*y,(re-pe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Le)*y,(re+pe)*a,(ae+(xe+Le)/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 it=new go.PathFigure(.2*y,a,!1);x.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var We=new go.PathFigure(.8*y,a,!1);return x.add(We),We.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,Le=new go.PathFigure((fe-re)*y,Se*a,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Se-re)*a,(fe-re)*y,(Se-ne)*a,(fe-ne)*y,(Se-re)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(fe+re)*y,Se*a,(fe+ne)*y,(Se-re)*a,(fe+re)*y,(Se-ne)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(Se+re)*a,(fe+re)*y,(Se+ne)*a,(fe+ne)*y,(Se+re)*a)),Le.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,Le=.175,be=.95,ae=new go.PathFigure((Le-fe)*y,be*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-fe)*a,(Le-fe)*y,(be-Se)*a,(Le-Se)*y,(be-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Le+fe)*y,be*a,(Le+Se)*y,(be-fe)*a,(Le+fe)*y,(be-Se)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+fe)*a,(Le+fe)*y,(be+Se)*a,(Le+Se)*y,(be+fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Le-fe)*y,be*a,(Le-Se)*y,(be+fe)*a,(Le-fe)*y,(be+Se)*a));var fe=.05,Se=de*.05,Le=.375,be=.95,re=new go.PathFigure((Le-fe)*y,be*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-fe)*a,(Le-fe)*y,(be-Se)*a,(Le-Se)*y,(be-fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Le+fe)*y,be*a,(Le+Se)*y,(be-fe)*a,(Le+fe)*y,(be-Se)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+fe)*a,(Le+fe)*y,(be+Se)*a,(Le+Se)*y,(be+fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Le-fe)*y,be*a,(Le-Se)*y,(be+fe)*a,(Le-fe)*y,(be+Se)*a));var fe=.05,Se=de*.05,Le=.625,be=.95,ne=new go.PathFigure((Le-fe)*y,be*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-fe)*a,(Le-fe)*y,(be-Se)*a,(Le-Se)*y,(be-fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Le+fe)*y,be*a,(Le+Se)*y,(be-fe)*a,(Le+fe)*y,(be-Se)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+fe)*a,(Le+fe)*y,(be+Se)*a,(Le+Se)*y,(be+fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Le-fe)*y,be*a,(Le-Se)*y,(be+fe)*a,(Le-fe)*y,(be+Se)*a));var fe=.05,Se=de*.05,Le=.825,be=.95,xe=new go.PathFigure((Le-fe)*y,be*a,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-fe)*a,(Le-fe)*y,(be-Se)*a,(Le-Se)*y,(be-fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Le+fe)*y,be*a,(Le+Se)*y,(be-fe)*a,(Le+fe)*y,(be-Se)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+fe)*a,(Le+fe)*y,(be+Se)*a,(Le+Se)*y,(be+fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Le-fe)*y,be*a,(Le-Se)*y,(be+fe)*a,(Le-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={},wt="5.0",te={},le=null,ve=!1,Te=!1,Ge=null,ke=!1,Ze=null,de=null,ze=0;ze<arguments.length;ze++){var Ke=arguments[ze];if(Ke!==null)switch(typeof Ke){case"number":wt=Ke.toFixed(1);break;case"string":Ke.match(new RegExp("^[0-9]\\.[0-9]+$"))?wt=Ke:Ge=Ke;break;case"object":typeof Ke.is3D!="undefined"?le=Ke:te=Ke;break;case"boolean":ve=Ke,Te=!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&&!Te&&(ve=!0)),Ge!==null&&te.id===void 0&&(te.id=Ge);var He="",tt="",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,Rt(Ve,Pt)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(Ve,Pt){var kt=parseFloat(Ve);if(kt!==NaN&&kt<5){console.log("The GeoGebra HTML5 codebase version "+kt+" is deprecated. Using version latest instead.");return}Ze=Ve,mt(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",kt=te.id,En,Ye=!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:kt=arguments[Lt]):typeof Ce=="boolean"?Ye=Ce:Ce instanceof HTMLElement&&(En=Ce)}rn();function rn(){if(!ke){setTimeout(rn,200);return}Pt=Kt(Pt);var fn=En||document.getElementById(kt);if(!fn){console.log("possibly bug on ajax loading? ");return}if(ct.removeExistingApplet(fn,!1),te.width===void 0&&fn.clientWidth&&(te.width=fn.clientWidth),te.height===void 0&&fn.clientHeight&&(te.height=fn.clientHeight),!(te.width&&te.height)&&Pt==="html5"&&(delete te.width,delete te.height),we=Pt,Pt==="screenshot")We(fn,te);else{var ua=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?ua=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(ua=(!ne()||Ve())&&fe()),ua?(we="screenshot",Je(fn,te,Ye,Pt)):it(fn,te,Ye)}}};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),rn=function(An){return An.type=="G"||An.type=="E"},fn=Ce.elements?Ce.elements.filter(rn)[0]:Ce;if(!fn||!fn.url){kt();return}te.fileName=fn.url,Le(fn.settings||{}),le.is3D=!0;var ua="https://www.geogebra.org/images/";ct.setPreviewImage(x||fn.previewUrl,ua+"GeoGebra_loading.png",ua+"applet_play.png"),Ve()},kt=function(){te.onError&&te.onError(),Jt("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",Ye="/materials/"+te.material_id+"?scope=basic";be("https://"+En+"/api/proxy.php?path="+encodeURIComponent(Ye),Pt,kt)};function Le(Ve){var Pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(kt){Ve[kt]=!!Ve[kt]}),Pt.forEach(function(kt){te[kt]===void 0&&Ve[kt]!==void 0&&(te[kt]=Ve[kt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function be(Ve,Pt,kt){var En=new XMLHttpRequest;En.open("GET",Ve),En.onload=function(){Pt(En.responseText)},En.onerror=kt,En.send()}ct.isHTML5Installed=function(){return!0},ct.getLoadedAppletType=function(){return we},ct.setPreviewImage=function(Ve,Pt,kt){x=Ve,b=Pt,E=kt},ct.removeExistingApplet=function(Ve,Pt){var kt;typeof Ve=="string"&&(Ve=document.getElementById(Ve)),we=null;var En=null;for(kt=0;kt<Ve.childNodes.length;kt++){var Ye=Ve.childNodes[kt],Lt=Ye.className;Lt==="applet_screenshot"?Pt?(Ye.style.display="block",we="screenshot"):Ye.style.display="none":Lt!=="applet_scaler prerender"&&(Ve.removeChild(Ye),En=Lt&&Lt.indexOf("appletParameters")!=-1?Ye.id:null,kt--)}var Ce=te.id!==void 0?te.id:En,rn=window[Ce];rn&&typeof rn.getBase64=="function"&&(rn.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,kt){var En=document.createElement("param");En.setAttribute("name",Pt),En.setAttribute("value",kt),Ve.appendChild(En)},pe=function(Ve){return Ve&&Ve!=="false"},it=function(Ve,Pt,kt){re(ue)<=4.2&&(kt=!0);var En=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ue||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(En=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ye=document.createElement("div");Ye.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 rn=100;(pe(Pt.showToolBar)||pe(Pt.showMenuBar))&&(Pt.hasOwnProperty("customToolBar")&&(Pt.customToolbar=Pt.customToolBar),rn=pe(Pt.showMenuBar)?245:155),Lt<rn&&(Pt.width=rn,Lt=rn)}Ye.style.border="none",Ye.style.display="inline-block";for(var fn in Pt)Pt.hasOwnProperty(fn)&&fn!=="appletOnLoad"&&Ye.setAttribute("data-param-"+fn,Pt[fn]);z&&Ye.setAttribute("data-param-fontscssurl",z),ct.resize=function(){GGBAppletUtils.responsiveResize(Ve,Pt)},window.addEventListener("resize",function(ga){ct.resize()});var ua=typeof Pt.appletOnLoad=="function"?Pt.appletOnLoad:function(){};if(!kt&&Pt.width!==void 0){Pt.hasOwnProperty("showSplash")||Ye.setAttribute("data-param-showSplash","false");var An=Ve.querySelector(".applet_scaler.prerender"),gt=An!==null;if(gt)var Me=An.querySelector(".ggb_preview");else{var Me=Mt(Lt,Ce,Pt.borderColor,!1);An=document.createElement("div"),An.className="applet_scaler",An.style.position="relative",An.style.display="block",An.style.width=Lt+"px",An.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(An,"66%"),re(ue)>=5?(Pt.appletOnLoad=function(ga){var Ie=Ve.querySelector(".ggb_preview");Ie&&Ie.parentNode.removeChild(Ie),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(An),window.GGBT_wsf_view&&$(window).trigger("resize"),ua(ga)},gt||An.appendChild(Me)):Ye.appendChild(Me),An.appendChild(Ye),gt||Ve.appendChild(An),setTimeout(function(){ct.resize()},1)}else{var Be=document.createElement("div");Be.className="applet_scaler",Be.style.position="relative",Be.style.display="block",Be.appendChild(Ye),Ve.appendChild(Be),Pt.appletOnLoad=function(ga){ct.resize(),ua(ga)}}function vt(ga,Ie){Ie&&typeof Ie.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ga,Ie.appletOnLoad):renderGGBElement(ga),Jt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ie)}function Ot(ga,Ie){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ga,params:Ie}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(rt){vt(rt.article,rt.params)}),html5AppletsToProcess=null)},re(ue)<5&&(ga.className+=" geogebraweb")):vt(ga,Ie)}if(En){scriptLoadStarted=!0;for(var jt=0;jt<Ye.childNodes.length;jt++){var sn=Ye.childNodes[jt].tagName;sn==="TABLE"&&(Ye.removeChild(Ye.childNodes[jt]),jt--)}if(ggbHTML5LoadedScript!==null){var On=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');On!=null&&On.parentNode.removeChild(On)}var Gn=document.createElement("script"),bn=function(){Ot(Ye,Pt)};Gn.src=tt+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ue,ggbHTML5LoadedScript=Gn.src,Jt("GeoGebra HTML5 codebase loaded: '"+tt+"'.",Pt),!de&&(!Ze||Ze=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),bn()):tt.requirejs?__webpack_require__.e(12).then(function(){var ga=[__webpack_require__(12)];bn.apply(null,ga)}.bind(this)).catch(__webpack_require__.oe):(Gn.onload=bn,Ve.appendChild(Gn))}else Ot(Ye,Pt);Pt.height=Ce,Pt.width=Lt},We=function(Ve,Pt,kt){var En=Mt(Pt.width,Pt.height,Pt.borderColor,kt),Ye=document.createElement("div");Ye.style.position="relative",Ye.style.display="block",Ye.style.width=Pt.width+"px",Ye.style.height=Pt.height+"px",Ye.className="applet_screenshot applet_scaler"+(kt?" applet_screenshot_play":""),Ye.appendChild(En);var Lt=GGBAppletUtils.getScale(Pt,Ve,kt);kt?(Ve.appendChild(dt()),window.GGBT_wsf_view||(Ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ye,"66%"),Ve.appendChild(Ye),Lt!==1&&!isNaN(Lt)&&(GGBAppletUtils.scaleElement(Ye,Lt),Ye.style.width=Pt.width+"px",Ye.style.height=Pt.height+"px",Ye.parentNode.style.width=Pt.width*Lt+"px",Ye.parentNode.style.height=Pt.height*Lt+"px"),ct.resize=function(){xt(Ve,En,Ye,kt)},window.addEventListener("resize",function(Ce){ct.resize()}),ct.resize()};function xt(Ve,Pt,kt,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 Ye=GGBAppletUtils.getScale(te,Ve,En);kt.parentNode!==null&&(!isNaN(Ye)&&Ye!==1?(GGBAppletUtils.scaleElement(kt,Ye),kt.parentNode.style.width=te.width*Ye+"px",kt.parentNode.style.height=te.height*Ye+"px"):(GGBAppletUtils.scaleElement(kt,1),kt.parentNode.style.width=te.width+"px",kt.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 Je=function(Ve,Pt,kt,En){We(Ve,Pt,!0);for(var Ye=function(){var rn=[];for(Ce=0;Ce<Ve.childNodes.length;Ce++)rn.push(Ve.childNodes[Ce]);if(window.GGBT_wsf_view){var fn=window.GGBT_wsf_view.renderFullScreen(Ve,Pt.id),ua=document.getElementById("fullscreencontainer"),An=jQuery(Ve).find(".fullscreencontent");An.length>0?(fn.remove(),An.attr("id","fullscreencontent").show(),jQuery(ua).append(An),window.dispatchEvent(new Event("resize"))):it(fn,Pt,!1),window.GGBT_wsf_view.launchFullScreen(ua)}else we=En,it(Ve,Pt,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<rn.length;Ce++)Ve.removeChild(rn[Ce])},Lt=Ve.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<Lt.length;Ce++)Lt[Ce].addEventListener("click",Ye,!1),Lt[Ce].addEventListener("ontouchstart",Ye,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ve),fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},dt=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");}',kt=document.createElement("style");kt.styleSheet?kt.styleSheet.cssText=Pt:kt.appendChild(document.createTextNode(Pt)),document.getElementsByTagName("head")[0].appendChild(kt)}return Ve},Mt=function(Ve,Pt,kt,En){var Ye=document.createElement("div");Ye.className="ggb_preview",Ye.style.position="absolute",Ye.style.zIndex="90",Ye.style.width=Ve-2+"px",Ye.style.height=Pt-2+"px",Ye.style.top="0px",Ye.style.left="0px",Ye.style.overflow="hidden",Ye.style.backgroundColor="white";var Lt="lightgrey";kt!==void 0&&(kt==="none"?Lt="transparent":Lt=kt),Ye.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 rn,fn,ua;if(!En){rn=document.createElement("img"),rn.style.position="absolute",rn.style.zIndex="1001",rn.style.opacity=1,Ce.style.opacity=.3,fn=360,fn>Ve/4*3&&(fn=Ve/4*3),ua=fn/5.8,rn.setAttribute("src",b),rn.setAttribute("width",fn),rn.setAttribute("height",ua);var An=(Ve-fn)/2,gt=(Pt-ua)/2;rn.style.left=An+"px",rn.style.top=gt+"px",Ye.appendChild(rn)}}return Ye.appendChild(Ce),Ye},Kt=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},Ft=["web","webSimple","web3d","tablet","tablet3d","phone"],mt=function(Ve,Pt){if(ue=Ve,Pt){Rt(ue,!0);return}var kt=!ve;if(kt){var En=re(ue);!isNaN(En)&&En<4.4&&(kt=!1)}var Ye,Lt;window.location.protocol.substr(0,4)==="http"?Ye=window.location.protocol:Ye="http:";var Ce=ue.indexOf("//");Ce>0?Lt=ue:Ce===0?Lt=Ye+ue:Lt="https://www.geogebra.org/apps/5.2.814.0/";for(var rn in Ft)if(ue.slice(Ft[rn].length*-1)===Ft[rn]||ue.slice((Ft[rn].length+1)*-1)===Ft[rn]+"/"){Rt(Lt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&kt&&!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/",Rt(Lt,!1)},Rt=function(Ve,Pt){if(Ve.requirejs){tt=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),tt=Ve,Pt===null&&(Pt=Ve.indexOf("http")===-1),je=Pt,y="web.nocache.js",a=!1;var kt=tt.split("/");kt.length>1&&(!Pt&&kt[kt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Ft.indexOf(kt[kt.length-2])>=0&&(y=kt[kt.length-2]+".nocache.js")),kt=Ve.split("/"),ue=kt[kt.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."),mt("5.0",Pt))},Jt=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(an):an();function an(){var Ve=wt;Ze!==null?Ve=Ze:parseFloat(Ve)<5&&(Ve="5.0"),mt(Ve,!1),de!==null&&Rt(de,je),ke=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function wt(ke,Ze){Ze!=1?(ke.style.transformOrigin="0% 0% 0px",ke.style.webkitTransformOrigin="0% 0% 0px",ke.style.transform="scale("+Ze+","+Ze+")",ke.style.webkitTransform="scale("+Ze+","+Ze+")",ke.style.maxWidth="initial",ke.querySelector(".ggb_preview")!==null&&(ke.querySelector(".ggb_preview").style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ke.style.transform="none",ke.style.webkitTransform="none")}function te(ke,Ze,de,ze,Ke,He){var tt=null;if(He!=null&&He!="")for(var je=ke.parentNode;je!=null;)if((" "+je.className+" ").indexOf(" "+He+" ")>-1){tt=je;break}else je=je.parentNode;var we=0,ue=0,y=0,a=0,x=0,b=0,E=0;if(tt)we=tt.offsetWidth,ue=Math.max(ze?tt.offsetWidth:0,tt.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),ke){var z=ke.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(ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,E=40)}}return ke&&((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(ke,Ze,de,ze,Ke){if(ke.isScreenshoGenerator)return 1;var He=ze!==void 0&&ze,tt=ke.noScaleMargin!=null&&ke.noScaleMargin,je=function(ae){return ae&&ae!=="false"},we=je(ke.autoHeight),ue=te(Ze,ke.width,de,we,He&&window.GGBT_wsf_view||tt,Ke),y=parseInt(ue.width),a=ke.width,x=ke.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(ke,Ze,de){var ze=1,Ke,He=!1;if(ke.hasOwnProperty("allowUpscale")&&(He=ke.allowUpscale),ke.hasOwnProperty("scale")&&(ze=parseFloat(ke.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),!(ke.hasOwnProperty("disableAutoScale")&&ke.disableAutoScale))Ke=le(ke,Ze,He,de,ke.scaleContainerClass);else return ze;return He&&(!ke.hasOwnProperty("scale")||ze===1)?Ke:Math.min(ze,Ke)}function Te(ke){var Ze=Math.min(window.innerWidth,document.documentElement.clientWidth),de=Math.min(window.innerHeight,document.documentElement.clientHeight),ze=ke.getBoundingClientRect(),Ke=(Ze-ze.width)/2,He=(de-ze.height)/2;He<0&&(He=0),ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?ke.style.left="40px":ke.style.left=Ke+"px",ke.style.top=He+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He<40?ke.style.top="40px":ke.style.top=He+"px",ke.style.left=Ke+"px")}function Ge(ke,Ze){var de=ke.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(ke)}if(de.parentElement&&/fullscreen/.test(de.parentElement.className))return;var ze=ve(Ze,ke);ct()&&de.setAttribute("data-param-scale",ze);for(var Ke=null,He=0;He<ke.childNodes.length;He++)if(ke.childNodes[He].className!==void 0&&ke.childNodes[He].className.match(/^applet_scaler/)){Ke=ke.childNodes[He];break}if(Ke!==null&&Ke.querySelector(".noscale")!==null)return;var tt=Ze.id!==void 0?Ze.id:"ggbApplet",je=window[tt];(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",wt(Ke,ze)):(wt(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()&&Te(ke),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:Te,getScale:ve,scaleElement:wt}}();__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,wt){}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 wt=s[L].bindings;s[L].bindings=function(){for(var te=wt?wt():{},le=ct[webModule.__softPermutationId],ve=O;ve<le.length;ve++){var Te=le[ve];te[Te[O]]=Te[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 wt=document.compatMode==U?V:W;t.write(wt+X),t.close()}}}function w(ct){function wt(le){function ve(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Te=ve();if(Te){le();return}function Ge(){if(!Te){if(!ve())return;Te=!0,le(),o.removeEventListener&&o.removeEventListener(Z,Ge,!1),ke&&clearInterval(ke)}}o.addEventListener&&o.addEventListener(Z,Ge,!1);var ke=setInterval(function(){Ge()},$)}function te(le){var ve=u(),Te=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))}),Te.appendChild(Ge)}wt(function(){te(ct)})}webModule.__startLoadingFragment=function(ct){return C(ct)},webModule.__installRunAsyncCode=function(ct){var wt=u(),te=wt.body,le=wt.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 wt=c[ct];return wt==null?null:wt},r=d,webModule.__errFn=e}function B(){function ct(ke){var Ze=ke.lastIndexOf(rb);Ze==-1&&(Ze=ke.length);var de=ke.indexOf(sb);de==-1&&(de=ke.length);var ze=ke.lastIndexOf(tb,Math.min(de,Ze));return ze>=O?ke.substring(O,ze+P):W}function wt(ke){if(!ke.match(/^\w+:\/\//)){var Ze=o.createElement(ub);Ze.src=ke+vb,ke=ct(Ze.src)}return ke}function te(){var ke=__gwt_getMetaProperty(wb);return ke!=null?ke:W}function le(){for(var ke=o.getElementsByTagName(_),Ze=O;Ze<ke.length;++Ze)if(ke[Ze].src.indexOf(xb)!=-1)return ct(ke[Ze].src);return W}function ve(){var ke=o.getElementsByTagName(yb);return ke.length>O?ke[ke.length-P].href:W}function Te(){var ke=o.location;return ke.href==ke.protocol+zb+ke.host+ke.pathname+ke.search+ke.hash}var Ge=te();return Ge==W&&(Ge=le()),Ge==W&&(Ge=ve()),Ge==W&&Te()&&(Ge=ct(o.location.href)),Ge=wt(Ge),Ge}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],wt=O,te=[],le=[];function ve(ke){var Ze=le[ke](),de=te[ke];if(Ze in de)return Ze;var ze=[];for(var Ke in de)ze[de[Ke]]=Ke;throw r&&r(ke,ze,Ze),null}if(__gwt_isKnownPropertyValue=function(ke,Ze){return Ze in te[ke]},webModule.__getPropMap=function(){var ke={};for(var Ze in te)te.hasOwnProperty(Ze)&&(ke[Ze]=ve(Ze));return ke},webModule.__computePropValue=ve,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Te;try{Te=Cb;var Ge=Te.indexOf(Db);Ge!=-1&&(wt=parseInt(Te.substring(Ge+P),$),Te=Te.substring(O,Ge))}catch(ke){}return webModule.__softPermutationId=wt,C(Te+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(ct,wt,te){"use strict";te.d(wt,{Ax:function(){return Ge},Ds:function(){return ke},KI:function(){return de},SI:function(){return Te},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 Te(ze,Ke=""){let He=[];for(let tt=0;tt<ze.length;tt++){let je=ze[tt],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 tt=0;tt<ze.length;tt++){let je=ze[tt];if(je.key===Ke){je.children=He;break}je.children&&Ge(je.children,Ke,He)}return ze}function ke(ze,Ke,He){let tt;return function(){let je=this,we=arguments,ue=function(){tt=null,He||ze.apply(je,we)},y=He&&!tt;clearTimeout(tt),tt=setTimeout(ue,Ke),y&&ze.apply(je,we)}}const Ze=!0,de=le.Z.API_SERVER},63205:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return tt}});var le=te(67294),ve={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Te=te(94184),Ge=te.n(Te),ke=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())}),tt=({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),[Le,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 Je=yield(0,ze.ZJ)(je==null?void 0:je.src);z.current.src="",z.current.src=Je,z.current.onload=function(){xt()},Se(!1),be("")}),pe=()=>{document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",a()},it=Je=>Ke(void 0,null,function*(){Se(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const dt=yield(0,de.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:je.title,file:Je.dataUrl}});dt!=null&&dt.id&&!E?(yield(0,de.ZP)(`/api/attachments/${je.id}/add_subitem.json`,{method:"post",body:{subitem_id:dt==null?void 0:dt.id,settings:JSON.stringify(Je.state)}})).status===0&&x():dt!=null&&dt.id&&x(dt),document.body.removeAttribute("data-custom"),re.current.innerHTML=" ",Se(!1),be("")}),We=()=>{const Je=document.querySelector('a[href="https://markerjs.com/"]');Je&&Je.parentNode&&(Je.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(Mt=>{const Kt=document.querySelector(Mt.name);Kt&&Kt.setAttribute("title",Mt.title)})},xt=()=>{ae.current=new Ze.hP(z.current),ae.current.targetRoot=ne.current,ae.current.addEventListener("render",it),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),We()},300)};return le.createElement(le.Fragment,null,(je==null?void 0:je.visible)&&le.createElement(ke.Z,{spinning:fe,tip:Le,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,wt,te){"use strict";var le=te(67294),ve=te(71230),Te=te(15746),Ge=te(66368),ke=te(71577),Ze=te(85725),de=te(71736),ze=te(84279),Ke=te(67294);const He=(0,le.forwardRef)(({callback:tt,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(Te.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,Le)=>Ke.createElement(Te.Z,{key:Le,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(Te.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,Le)=>Ke.createElement(Te.Z,{key:Le,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 tt&&tt(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(ke.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});wt.Z=He},57444:function(ct,wt,te){"use strict";te.d(wt,{h:function(){return ae}});var le=te(67294),ve=te(42563),Te=te(22150),Ge=te(71577),ke=te(4631),Ze=te.n(ke),de=te(71749),ze=te(30483),Ke=Object.defineProperty,He=Object.defineProperties,tt=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,tt(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"]};wt.Z=({callback:re,onCancel:ne})=>{const[fe,Se]=(0,le.useState)("python");function Le(xe){Se(z[xe][1])}function be(xe){re(xe)}return le.createElement(Te.default,x(a({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),le.createElement(Te.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},le.createElement(ve.default,{getPopupContainer:xe=>xe.parentNode,onChange:Le},Object.keys(z).map(xe=>le.createElement(b,{key:xe,value:xe},z[xe][0])))),le.createElement(Te.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 Le=(0,le.useRef)(),[be,xe]=(0,le.useState)();return(0,le.useEffect)(()=>{if(be){let pe=function(it){const We=it.getValue();ne&&ne(We)};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(Le.current&&!be){const pe=Ze().fromTextArea(Le.current,a({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Se));xe(pe)}},[Le.current,be]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Le}))}},35567:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return Mn}});var le=te(67294),ve=te(4631),Te=te.n(ve),Ge=te(91033),ke=te(71749),Ze=te(57341),de=te(82801),ze=te(88386),Ke=te(49047),He=te(80785),tt=te(85725),je=({value:at="",className:st,showTextOnly:et,showLines:Zt,style:mn={}})=>{const zn=(0,le.useMemo)(()=>"",[at]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:zn}}))},we=te(67294),ue=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(at,st,et)=>st in at?ue(at,st,{enumerable:!0,configurable:!0,writable:!0,value:et}):at[st]=et,ae=(at,st)=>{for(var et in st||(st={}))b.call(st,et)&&z(at,et,st[et]);if(x)for(var et of x(st))E.call(st,et)&&z(at,et,st[et]);return at},re=(at,st)=>y(at,a(st));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:at,title:st,icon:et,actionName:Zt,className:mn="",children:zn}){function La(){at(Zt)}return we.createElement("a",{title:st,className:mn,onClick:La},we.createElement("i",{className:`${et}`}),zn)}var Se=({watch:at,showNullButton:st,showNullProgramButton:et,onActionCallback:Zt,fullScreen:mn,insertTemp:zn,hidetoolBar:La,extraUse:Jn})=>{const Ln=[...ne,{title:`${at?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${at?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return we.createElement("ul",{className:"markdown-toolbar-container"},!La&&Ln.map((va,fo)=>we.createElement("li",{key:fo},va.actionName?we.createElement(fe,re(ae({},va),{onActionCallback:Zt})):we.createElement("span",{className:"v-line"}))),st?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,et?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,zn&&we.createElement("li",null,we.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${zn}`,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:`${mn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:mn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Zt})))},Le=te(76621),be=te(22150),xe=te(69677),pe=te(71577),it=Object.defineProperty,We=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,Kt=(at,st,et)=>st in at?it(at,st,{enumerable:!0,configurable:!0,writable:!0,value:et}):at[st]=et,Ft=(at,st)=>{for(var et in st||(st={}))dt.call(st,et)&&Kt(at,et,st[et]);if(Je)for(var et of Je(st))Mt.call(st,et)&&Kt(at,et,st[et]);return at},mt=(at,st)=>We(at,xt(st));const Rt={labelCol:{span:4},wrapperCol:{span:20}};var Jt=({callback:at,onCancel:st})=>{function et(Zt){at(Zt)}return le.createElement(be.default,mt(Ft({},Rt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:et,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:st},"\u53D6\u6D88")))},an=te(57444),Ve=te(70859),Pt=te(14446),kt=te(71230),En=te(63205),Ye=te(67294),Lt=({callback:at,onCancel:st})=>{const et=document.createElement("canvas"),Zt=et.getContext("2d");et.width=1e3,et.height=800,Zt.fillStyle="#ffffff",Zt.fillRect(0,0,et.width,et.height);const mn=et.toDataURL("image/png");return Ye.createElement(Pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ye.createElement(kt.Z,{style:{height:"100vh"}},Ye.createElement(En.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:mn,visible:!0,title:String(Date.now())},onOk:zn=>{at({src:zn.url})},onClose:st})))},Ce=te(23495);function rn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(rn,go.CommandHandler),rn.prototype.canAlignSelection=function(){var at=this.diagram;return!(at===null||at.isReadOnly||at.isModelReadOnly||at.selection.count<2)},rn.prototype.alignLeft=function(){var at=this.diagram;at.startTransaction("aligning left");var st=1/0;at.selection.each(function(et){et instanceof go.Link||(st=Math.min(et.position.x,st))}),at.selection.each(function(et){et instanceof go.Link||et.move(new go.Point(st,et.position.y))}),at.commitTransaction("aligning left")},rn.prototype.alignRight=function(){var at=this.diagram;at.startTransaction("aligning right");var st=-1/0;at.selection.each(function(et){if(!(et instanceof go.Link)){var Zt=et.actualBounds.x+et.actualBounds.width;st=Math.max(Zt,st)}}),at.selection.each(function(et){et instanceof go.Link||et.move(new go.Point(st-et.actualBounds.width,et.position.y))}),at.commitTransaction("aligning right")},rn.prototype.alignTop=function(){var at=this.diagram;at.startTransaction("alignTop");var st=1/0;at.selection.each(function(et){et instanceof go.Link||(st=Math.min(et.position.y,st))}),at.selection.each(function(et){et instanceof go.Link||et.move(new go.Point(et.position.x,st))}),at.commitTransaction("alignTop")},rn.prototype.alignBottom=function(){var at=this.diagram;at.startTransaction("aligning bottom");var st=-1/0;at.selection.each(function(et){if(!(et instanceof go.Link)){var Zt=et.actualBounds.y+et.actualBounds.height;st=Math.max(Zt,st)}}),at.selection.each(function(et){et instanceof go.Link||et.move(new go.Point(et.actualBounds.x,st-et.actualBounds.height))}),at.commitTransaction("aligning bottom")},rn.prototype.alignCenterX=function(){var at=this.diagram,st=at.selection.first();if(st){at.startTransaction("aligning Center X");var et=st.actualBounds.x+st.actualBounds.width/2;at.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(et-Zt.actualBounds.width/2,Zt.actualBounds.y))}),at.commitTransaction("aligning Center X")}},rn.prototype.alignCenterY=function(){var at=this.diagram,st=at.selection.first();if(st){at.startTransaction("aligning Center Y");var et=st.actualBounds.y+st.actualBounds.height/2;at.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(Zt.actualBounds.x,et-Zt.actualBounds.height/2))}),at.commitTransaction("aligning Center Y")}},rn.prototype.alignColumn=function(at){var st=this.diagram;st.startTransaction("align Column"),at===void 0&&(at=0),at=parseFloat(at);var et=new Array;st.selection.each(function(Jn){Jn instanceof go.Link||et.push(Jn)});for(var Zt=0;Zt<et.length-1;Zt++){var mn=et[Zt],zn=mn.actualBounds.y+mn.actualBounds.height+at,La=et[Zt+1];La.move(new go.Point(mn.actualBounds.x,zn))}st.commitTransaction("align Column")},rn.prototype.alignRow=function(at){at===void 0&&(at=0),at=parseFloat(at);var st=this.diagram;st.startTransaction("align Row");var et=new Array;st.selection.each(function(Jn){Jn instanceof go.Link||et.push(Jn)});for(var Zt=0;Zt<et.length-1;Zt++){var mn=et[Zt],zn=mn.actualBounds.x+mn.actualBounds.width+at,La=et[Zt+1];La.move(new go.Point(zn,mn.actualBounds.y))}st.commitTransaction("align Row")},rn.prototype.canRotate=function(at){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<1)},rn.prototype.rotate=function(at){at===void 0&&(at=90);var st=this.diagram;st.startTransaction("rotate "+at.toString());var st=this.diagram;st.selection.each(function(et){et instanceof go.Link||et instanceof go.Group||(et.angle+=at)}),st.commitTransaction("rotate "+at.toString())},rn.prototype.pullToFront=function(){var at=this.diagram;at.startTransaction("pullToFront");var st=new go.Map;at.selection.each(function(et){st.set(et.layer,0)}),st.iteratorKeys.each(function(et){var Zt=0;et.parts.each(function(mn){if(!mn.isSelected){var zn=mn.zOrder;isNaN(zn)?mn.zOrder=0:Zt=Math.max(Zt,zn)}}),st.set(et,Zt)}),at.selection.each(function(et){rn._assignZOrder(et,st.get(et.layer)+1)}),at.commitTransaction("pullToFront")},rn.prototype.pushToBack=function(){var at=this.diagram;at.startTransaction("pushToBack");var st=new go.Map;at.selection.each(function(et){st.set(et.layer,0)}),st.iteratorKeys.each(function(et){var Zt=0;et.parts.each(function(mn){if(!mn.isSelected){var zn=mn.zOrder;isNaN(zn)?mn.zOrder=0:Zt=Math.min(Zt,zn)}}),st.set(et,Zt)}),at.selection.each(function(et){rn._assignZOrder(et,st.get(et.layer)-1-rn._findGroupDepth(et))}),at.commitTransaction("pushToBack")},rn._assignZOrder=function(at,st,et){et===void 0&&(et=at),at.layer===et.layer&&(at.zOrder=st),at instanceof go.Group&&at.memberParts.each(function(Zt){rn._assignZOrder(Zt,st+1,et)})},rn._findGroupDepth=function(at){if(at instanceof go.Group){var st=0;return at.memberParts.each(function(et){st=Math.max(st,rn._findGroupDepth(et))}),st+1}else return 0},rn.prototype.doKeyDown=function(){var at=this.diagram;if(at!==null){var st=at.lastInput;if(st.key==="Up"||st.key==="Down"||st.key==="Left"||st.key==="Right"){var et=this.arrowKeyBehavior;if(et==="none")return;if(et==="select"){this._arrowKeySelect();return}else if(et==="move"){this._arrowKeyMove();return}else if(et==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},rn.prototype._getAllParts=function(){var at=new Array;return this.diagram.nodes.each(function(st){at.push(st)}),this.diagram.parts.each(function(st){at.push(st)}),at},rn.prototype._arrowKeyMove=function(){var at=this.diagram,st=at.lastInput,et=0,Zt=0;if(st.control||st.meta)et=1,Zt=1;else if(at.grid!==null){var mn=at.grid.gridCellSize;Zt=mn.width,et=mn.height}at.startTransaction("arrowKeyMove"),at.selection.each(function(zn){st.key==="Up"?zn.move(new go.Point(zn.actualBounds.x,zn.actualBounds.y-et)):st.key==="Down"?zn.move(new go.Point(zn.actualBounds.x,zn.actualBounds.y+et)):st.key==="Left"?zn.move(new go.Point(zn.actualBounds.x-Zt,zn.actualBounds.y)):st.key==="Right"&&zn.move(new go.Point(zn.actualBounds.x+Zt,zn.actualBounds.y))}),at.commitTransaction("arrowKeyMove")},rn.prototype._arrowKeySelect=function(){var at=this.diagram,st=at.lastInput,et=null;st.key==="Up"?et=this._findNearestPartTowards(270):st.key==="Down"?et=this._findNearestPartTowards(90):st.key==="Left"?et=this._findNearestPartTowards(180):st.key==="Right"&&(et=this._findNearestPartTowards(0)),et!==null&&(st.shift?et.isSelected=!0:st.control||st.meta?et.isSelected=!et.isSelected:at.select(et))},rn.prototype._findNearestPartTowards=function(at){var st=this.diagram.selection.first();if(st===null)return null;for(var et=st.actualBounds.center,Zt=this._getAllParts(),mn=1/0,zn=st,La=0;La<Zt.length;La++){var Jn=Zt[La];if(Jn!==st&&Jn.canSelect()){var Ln=Jn.actualBounds.center,va=et.directionPoint(Ln),fo=this._angleCloseness(va,at);if(fo<=45){var yn=et.distanceSquaredPoint(Ln);yn*=1+Math.sin(fo*Math.PI/180),yn<mn&&(mn=yn,zn=Jn)}}}return zn},rn.prototype._angleCloseness=function(at,st){return Math.min(Math.abs(st-at),Math.min(Math.abs(st+360-at),Math.abs(st-360-at)))},rn.prototype._arrowKeyTree=function(){var at=this.diagram,st=at.selection.first();if(st instanceof go.Node){var et=at.lastInput;if(et.key==="Right"){if(!st.isTreeLeaf)if(!st.isTreeExpanded)at.commandHandler.canExpandTree(st)&&at.commandHandler.expandTree(st);else{var Zt=this._sortTreeChildrenByY(st).first();Zt!==null&&at.select(Zt)}}else if(et.key==="Left")if(!st.isTreeLeaf&&st.isTreeExpanded)at.commandHandler.canCollapseTree(st)&&at.commandHandler.collapseTree(st);else{var mn=st.findTreeParentNode();mn!==null&&at.select(mn)}else if(et.key==="Up"){var mn=st.findTreeParentNode();if(mn!==null){var zn=this._sortTreeChildrenByY(mn),La=zn.indexOf(st);if(La>0){for(var Jn=zn.elt(La-1);Jn!==null&&Jn.isTreeExpanded&&!Jn.isTreeLeaf;){var Ln=this._sortTreeChildrenByY(Jn);Jn=Ln.last()}Jn!==null&&at.select(Jn)}else at.select(mn)}}else if(et.key==="Down")if(st.isTreeExpanded&&!st.isTreeLeaf){var Zt=this._sortTreeChildrenByY(st).first();Zt!==null&&at.select(Zt)}else for(;st!==null;){var mn=st.findTreeParentNode();if(mn===null)break;var zn=this._sortTreeChildrenByY(mn),La=zn.indexOf(st);if(La<zn.length-1){at.select(zn.elt(La+1));break}else st=mn}var va=at.selection.first();va!==null&&at.scrollToRect(va.actualBounds)}},rn.prototype._sortTreeChildrenByY=function(at){var st=new go.List().addAll(at.findTreeChildrenNodes());return st.sort(function(et,Zt){var mn=et.location,zn=Zt.location;return mn.y<zn.y?-1:mn.y>zn.y?1:mn.x<zn.x?-1:mn.x>zn.x?1:0}),st},rn.prototype.copyToClipboard=function(at){go.CommandHandler.prototype.copyToClipboard.call(this,at),this._lastPasteOffset.set(this.pasteOffset)},rn.prototype.pasteFromClipboard=function(){var at=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(at,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),at},Object.defineProperty(rn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(at){if(at!=="move"&&at!=="select"&&at!=="scroll"&&at!=="tree"&&at!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+at);this._arrowKeyBehavior=at}}),Object.defineProperty(rn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(at){if(!(at instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+at);this._pasteOffset.set(at)}});var fn=rn,ua=te(18023),An=te(15746),gt=te(33170),Me={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Be=te(67294),vt=(at,st,et)=>new Promise((Zt,mn)=>{var zn=Ln=>{try{Jn(et.next(Ln))}catch(va){mn(va)}},La=Ln=>{try{Jn(et.throw(Ln))}catch(va){mn(va)}},Jn=Ln=>Ln.done?Zt(Ln.value):Promise.resolve(Ln.value).then(zn,La);Jn((et=et.apply(at,st)).next())});function Ot({onCancel:at,callback:st}){let et=(0,le.useRef)(),Zt=(0,le.useRef)(),mn=(0,le.useRef)(),zn=(0,le.useRef)(!1);const La=(0,le.useRef)(!1),[Jn,Ln]=(0,le.useState)(0);function va(){const yn=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"};et.current=new Ce.S0(Zt.current,{padding:20,grid:yn(Ce.s_,"Grid",yn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),yn(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:In=>{var Aa=In.diagram.commandHandler.addTopLevelParts(In.diagram.selection,!0);Aa||In.diagram.currentTool.doCancel()},commandHandler:yn(fn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:In=>{var Aa=In.subject;Aa.location=Aa.location.copy().snapToGridPoint(In.diagram.grid.gridOrigin,In.diagram.grid.gridCellSize),setTimeout(()=>{In.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:In=>{var Aa=In.subject;setTimeout(()=>{In.diagram.commandHandler.editTextBlock()})},LinkRelinked:In=>{var Aa=In.parameter.part;Aa.invalidateConnectedLinks();var vr=In.subject;In.diagram.toolManager.linkingTool.isForwards?vr.toNode.invalidateConnectedLinks():vr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),et.current.nodeTemplate=yn(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),yn(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")),yn(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),yn(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),et.current.nodeTemplate.toolTip=yn("ToolTip",yn(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},yn(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),yn(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function Qo(In,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,In);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 yn(Ce.bn,{figure:Aa,alignment:In,alignmentFocus:In.opposite(),width:In.equals(Ce.z6.Top)||In.equals(Ce.z6.Bottom)?25:18,height:In.equals(Ce.z6.Top)||In.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(In){return yn(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)}},In||{})}et.current.nodeTemplate.selectionAdornmentTemplate=yn(Ce.uz,"Spot",yn(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(In,Aa){return(vr,Na)=>{vr.handled=!0,vr.diagram.model.commit(Lo=>{Lo.set(Na.part.adornedPart.data,In,Aa)})}}function wo(In,Aa){return Aa||(Aa="color"),yn(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:In,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.stroke="dodgerblue",mouseLeave:(vr,Na)=>Na.stroke="lightgray",click:Jo(Aa,In),contextClick:Jo(Aa,In)})}function gl(){return[yn("ContextMenuButton",yn(Ce.s_,"Horizontal",wo($r.white,"fill"),wo($r.beige,"fill"),wo($r.extralightblue,"fill"),wo($r.extralightred,"fill"))),yn("ContextMenuButton",yn(Ce.s_,"Horizontal",wo($r.lightgray,"fill"),wo($r.lightgreen,"fill"),wo($r.lightblue,"fill"),wo($r.lightred,"fill")))]}function br(){return[yn("ContextMenuButton",yn(Ce.s_,"Horizontal",wo($r.black),wo($r.green),wo($r.blue),wo($r.red))),yn("ContextMenuButton",yn(Ce.s_,"Horizontal",wo($r.white),wo($r.magenta),wo($r.purple),wo($r.orange)))]}function Pl(In,Aa){return Aa||(Aa="thickness"),yn(Ce.bn,"LineH",{width:16,height:16,strokeWidth:In,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.background="dodgerblue",mouseLeave:(vr,Na)=>Na.background="transparent",click:Jo(Aa,In),contextClick:Jo(Aa,In)})}function ol(In,Aa){return Aa||(Aa="dash"),yn(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:In,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.background="dodgerblue",mouseLeave:(vr,Na)=>Na.background="transparent",click:Jo(Aa,In),contextClick:Jo(Aa,In)})}function Ii(){return[yn("ContextMenuButton",yn(Ce.s_,"Horizontal",Pl(1),Pl(2),Pl(3),Pl(4))),yn("ContextMenuButton",yn(Ce.s_,"Horizontal",ol(null),ol([2,4]),ol([4,4])))]}function mi(In,Aa){return Aa||(Aa="figure"),yn(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:In,margin:1,background:"transparent",mouseEnter:(vr,Na)=>Na.fill="dodgerblue",mouseLeave:(vr,Na)=>Na.fill="lightgray",click:Jo(Aa,In),contextClick:Jo(Aa,In)})}et.current.nodeTemplate.contextMenu=yn("ContextMenu",yn("ContextMenuButton",yn(Ce.s_,"Horizontal",mi("Rectangle"),mi("RoundedRectangle"),mi("Ellipse"),mi("Diamond"))),yn("ContextMenuButton",yn(Ce.s_,"Horizontal",mi("Parallelogram2"),mi("ManualOperation"),mi("Procedure"),mi("Cylinder1"))),yn("ContextMenuButton",yn(Ce.s_,"Horizontal",mi("Terminator"),mi("CreateRequest"),mi("Document"),mi("TriangleDown"))),gl(),br(),Ii()),et.current.groupTemplate=yn(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(In,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),yn(Ce.s_,"Auto",{name:"BODY"},yn(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")),yn(Ce.Vm,{background:"transparent",margin:20})),yn(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"))),et.current.groupTemplate.selectionAdornmentTemplate=yn(Ce.uz,"Spot",yn(Ce.s_,"Auto",yn(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),yn(Ce.Vm,{margin:1.5})),Qi({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),et.current.groupTemplate.contextMenu=yn("ContextMenu",gl(),br(),Ii()),et.current.linkTemplate=yn(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",In=>In>=1?10:0),new Ce.KX("toShortLength","dir",In=>In>=1?10:0),new Ce.KX("points").makeTwoWay(),yn(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),yn(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",In=>In===1)),yn(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",In=>In>=1),new Ce.KX("width","thickness",In=>7+3*In),new Ce.KX("height","thickness",In=>7+3*In),new Ce.KX("segmentOffset","thickness",In=>new Ce.E9(-15,4+1.5*In))),yn(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",In=>In===2),new Ce.KX("width","thickness",In=>7+3*In),new Ce.KX("height","thickness",In=>7+3*In),new Ce.KX("segmentOffset","thickness",In=>new Ce.E9(-15,4+1.5*In))),yn(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),et.current.linkTemplate.selectionAdornmentTemplate=yn(Ce.uz,yn(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(In){return yn(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(In+4).toString()+" H3"})}function fl(In){var Aa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return In===0?Aa="M0 0 M16 16 M0 8 L16 8":In===2&&(Aa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),yn(Ce.bn,{geometryString:Aa,margin:2,background:"transparent",mouseEnter:(vr,Na)=>Na.background="dodgerblue",mouseLeave:(vr,Na)=>Na.background="transparent",click:Jo("dir",In),contextClick:Jo("dir",In)})}function Es(In){var Aa=(vr,Na)=>{vr.handled=!0,vr.diagram.model.commit(Lo=>{var Xo=Na.part.adornedPart;Lo.set(Xo.data,In?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(In?Xo.toNode:Xo.fromNode).invalidateConnectedLinks()})};return yn(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 hn(In,Aa){var vr=0,Na=Ce.z6.RightSide;In.equals(Ce.z6.Top)?(vr=270,Na=Ce.z6.TopSide):In.equals(Ce.z6.Left)?(vr=180,Na=Ce.z6.LeftSide):In.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 yn(Ce.bn,{alignment:In,alignmentFocus:In.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})}et.current.linkTemplate.contextMenu=yn("ContextMenu",br(),Ii(),yn("ContextMenuButton",yn(Ce.s_,"Horizontal",fl(0),fl(1),fl(2))),yn("ContextMenuButton",yn(Ce.s_,"Horizontal",yn(Ce.s_,"Spot",Es(!1),hn(Ce.z6.Top,!1),hn(Ce.z6.Left,!1),hn(Ce.z6.Right,!1),hn(Ce.z6.Bottom,!1)),yn(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},Es(!0),hn(Ce.z6.Top,!0),hn(Ce.z6.Left,!0),hn(Ce.z6.Right,!0),hn(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(In){return console.log("shapeName:",In),ml.indexOf(In)>=0}var Il=new Ce.YI(mn.current,{maxSelectionCount:1,linkTemplate:yn(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:yn(Ce.uz,"Link",{locationSpot:Ce.z6.Center},yn(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),yn(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),yn(Ce.bn,{isPanelMain:!0,strokeWidth:2}),yn(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(In=>({text:"\u672A\u547D\u540D",size:"100 100",figure:In.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return et.current.addDiagramListener("TextEdited",function(In){var Aa;const vr=In.subject.part;var Na=(Aa=document.activeElement)==null?void 0:Aa.value;typeof Na=="string"&&Na.trim()===""&&et.current.model.commit(function(Lo){Lo.set(vr.data,"text","\u672A\u547D\u540D"),et.current.commandHandler.stopCommand()},"increment")}),Il.nodeTemplate=yn(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),yn(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")),yn(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(()=>{et.current.grid=yn(Ce.s_,"Grid",yn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),yn(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),et.current.grid.visible=!0,et.current.grid.gridCellStroke="darkgray",et.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=et.current,et.current}const fo=()=>vt(this,null,function*(){var yn=et.current.makeImage();const $r=yield(0,gt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:yn.src}});st({src:$r.url})});return(0,le.useEffect)(()=>(setTimeout(()=>{va()},500),Ln(Jn+1),()=>{et.current=null}),[]),Be.createElement("div",{ref:La,className:zn.current?`${Me.maxH60} body-overflow-initial`:"body-overflow-initial"},Be.createElement(Pt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Jn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Be.createElement(kt.Z,null,Be.createElement(An.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Be.createElement(An.Z,{onClick:()=>{var yn,$r,Qo=et.current.selection.first();if(zn.current=!zn.current,document.activeElement&&Qo){let Qi=($r=(yn=document.activeElement)==null?void 0:yn.value)==null?void 0:$r.trim();typeof Qi=="string"&&et.current.model.commit(function(Jo){Jo.set(Qo.data,"text",Qi||"\u672A\u547D\u540D"),et.current.commandHandler.stopCommand()},"increment")}Ln(Jn+1)}},Be.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:at},Be.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Me.flowChartWrp},Be.createElement("div",{style:{display:"flex",height:"100%"}},Be.createElement("div",{style:{width:"300px",height:"100%"}},Be.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Be.createElement("div",{style:{height:"calc(100% - 50px)"},className:Me.myPaletteDiv,ref:mn})),Be.createElement("div",{style:{flex:1,position:"relative"}},Be.createElement("div",{ref:Zt,style:{height:"80vh"}}))),Be.createElement("div",{className:"tr"},Be.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=Ot,sn=te(78045),On=te(31795);const Gn=sn.ZP.Group,bn={margin:"0 8px"};var ga=({callback:at,onCancel:st})=>{function et(Zt){at(Zt)}return le.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:et},le.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},le.createElement("span",{style:bn},"\u5355\u5143\u683C\u6570\uFF1A"),le.createElement("span",{style:bn},"\u884C\u6570"),le.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},le.createElement(On.Z,null)),le.createElement("span",{style:bn},"\u5217\u6570"),le.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},le.createElement(On.Z,null))),le.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},le.createElement("span",{style:bn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),le.createElement(be.default.Item,{name:"align"},le.createElement(Gn,null,le.createElement(sn.ZP,{value:"default"},le.createElement("i",{className:"fa fa-align-justify"})),le.createElement(sn.ZP,{value:"left"},le.createElement("i",{className:"fa fa-align-left"})),le.createElement(sn.ZP,{value:"center"},le.createElement("i",{className:"fa fa-align-center"})),le.createElement(sn.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:st},"\u53D6\u6D88")))},Ie=te(47897),rt=te(61016),Yn=te.n(rt),lt=(0,le.forwardRef)(({use3d:at,width:st,height:et,callback:Zt,showSaveButton:mn},zn)=>{const La=(0,le.useRef)(),Jn=(0,le.useRef)(),[Ln,va]=(0,le.useState)(!1),fo=(0,le.useRef)({id:La,appName:"graphing",width:st||1e3,height:et||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 yn=()=>{var $r=window.ggbApplet.getPNGBase64(1,!0,72);return Zt&&Zt($r),$r};return(0,le.useEffect)(()=>{fo.current.appName=Ln?"3D":"graphing",Jn.current.inject("applet_container")},[Ln]),(0,le.useEffect)(()=>{va(at)},[at]),(0,le.useImperativeHandle)(zn,()=>({getImgData:yn})),le.createElement(le.Fragment,null,le.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:La}),le.createElement(kt.Z,{align:"middle"},le.createElement(An.Z,{flex:1},le.createElement(Ie.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ln,onChange:$r=>va($r)})),le.createElement(An.Z,null,le.createElement(pe.ZP,{size:"large",onClick:yn,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",Tn="upload-image",un="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=(at,st,et)=>new Promise((Zt,mn)=>{var zn=Ln=>{try{Jn(et.next(Ln))}catch(va){mn(va)}},La=Ln=>{try{Jn(et.throw(Ln))}catch(va){mn(va)}},Jn=Ln=>Ln.done?Zt(Ln.value):Promise.resolve(Ln.value).then(zn,La);Jn((et=et.apply(at,st)).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`,wn=["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 Rn(at){return/^\d+$/.test(at)?`${at}px`:at}const Cn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ja={[Cn+"-B"]:"bold",[Cn+"-I"]:"italic"},Nr={[ca]:"\u6DFB\u52A0\u94FE\u63A5",[Ga]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Tn]:"\u6DFB\u52A0\u56FE\u7247",[qn]:"\u6DFB\u52A0\u753B\u56FE",[un]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[za]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Mn=({defaultValue:at="",onChange:st,width:et="100%",height:Zt=400,miniToolbar:mn=!1,isFocus:zn=!1,watch:La,insertTemp:Jn,mode:Ln="markdown",id:va="markdown-editor-id",showResizeBar:fo=!1,noStorage:yn=!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[hn,Os]=(0,le.useState)(null),[ml,mo]=(0,le.useState)(at),[Il,In]=(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)(),bt=()=>oo(void 0,null,function*(){var on;const Et=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ts.current}});(on=Et==null?void 0:Et.attachments)!=null&&on.length&&(console.log("cm:",hn,$l),Et.attachments.map(nn=>{nn.content_type.indexOf("image")>-1?hn.replaceSelection(``):nn.content_type.indexOf("video")>-1?hn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):nn.content_type.indexOf("pdf")>-1?hn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${nn.id}?type=${nn.content_type}&disposition=inline" target="_blank">${nn.name}</a>`):hn.replaceSelection(`[${nn.name}](${ENV.API_SERVER}/api/attachments/${nn.id}?type=${nn.content_type})`)}))});(0,le.useEffect)(()=>{const on=window.scrollY||window.pageYOffset;mo(fl),hn==null||hn.setValue(fl),window.scrollTo(0,on)},[fl]),(0,le.useEffect)(()=>{br==null||br(Aa)},[Aa]),(0,le.useEffect)(()=>{if($l.current){let on=function(nn,ln){var jn;if(ol){ln.preventDefault();return}const Sa=ln.clipboardData;if(Sa){const Oa=Sa.types.toString(),ar=Sa.items;if(Oa==="Files"||Sa.types.indexOf("Files")>-1){if(ln.preventDefault(),Ln=="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?Et.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?Et.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?Et.replaceSelection(`<a href="/api/attachments/${Wa.id}?type=${Xa.type}&disposition=inline" target="_blank">${Xa.name}</a>`):wn.includes(gr)?Et.replaceSelection(`<a href="/api/attachments/${Wa.id}?type=office&disposition=inline" target="_blank">${Xa.name}</a>`):Et.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 Et=Te().fromTextArea($l.current,{mode:Ln,lineNumbers:!mn,lineWrapping:!0,value:at,autoCloseTags:!Qo,autoCloseBrackets:!0});return Et.on("keyup",function(nn,ln){ln.keyCode===8&&(nn.getValue()==""?Et.setOption("placeholder",tl):Et.setOption("placeholder",null))}),Et.on("keydown",function(nn,ln){if(ln.keyCode===8){var jn=Vt(nn);jn&&ln.preventDefault()}}),zn&&Et.focus(),Et.on("paste",on),Et.on("dragleave",function(nn,ln){hs.current.classList.remove("mouse-hover-md")}),Ii&&Et.on("beforeChange",function(nn,ln){(ln.origin==="paste"||ln.origin==="+input")&&ln.cancel()}),Os(Et),()=>{Et.off("paste",on)}}},[]);const Nt=(0,le.useCallback)(()=>{if(hs.current)try{}catch(on){console.log(on,"---- to set md editor body height")}},[ji,hs,Aa]);(0,le.useEffect)(()=>{function on(){let Et=new Ge.Z(nn=>{for(let ln of nn)(ln.target.offsetHeight>0||ln.target.offsetWidth>0)&&(Nt(),hn.setSize("100%","100%"),hn.refresh())});return Et.observe($l.current.parentElement),Et}if(hn){const Et=on();return()=>{var nn,ln;(nn=$l.current)!=null&&nn.parentElement&&Et.unobserve((ln=$l.current)==null?void 0:ln.parentElement)}}},[hn,Nt]),(0,le.useEffect)(()=>{if(hn){let on=[];for(const[Et,nn]of Object.entries(Ja)){let ln={[Et]:()=>{De(nn)}};on.push(ln),hn.addKeyMap(ln)}return Ul.current=setInterval(()=>{dd.current&&bt()},4e3),()=>{clearInterval(Ul.current);for(let Et of on)hn.removeKeyMap(Et)}}},[hn]),(0,le.useEffect)(()=>{Jo!==Aa&&vr(Jo)},[Jo]),(0,Mr.Z)(()=>{if(!yn&&Xo>0){let on=new Date().getTime(),Et=window.sessionStorage.getItem(va);on>=Xo+ti&&(!Et||Et!==ml)&&(window.sessionStorage.setItem(va,ml),Zi(!0))}},ti),(0,le.useEffect)(()=>{In(La)},[hn,La]),(0,le.useEffect)(()=>{hn&&zn&&hn.focus()},[hn,zn]),(0,le.useEffect)(()=>{if(Il&&hn){let on=function(nn){let ln=nn.target;if(Ss.current){let jn=ln.scrollTop/ln.scrollHeight;Ss.current.scrollTop=Ss.current.scrollHeight*jn}};const Et=hn.getScrollerElement();return Et.addEventListener("scroll",on),()=>{Et.removeEventListener("scroll",on)}}},[hn,Il]),(0,le.useEffect)(()=>{if(hn&&gl){let on=function(Et,nn){gl(Et,nn)};return hn.on("beforeChange",on),()=>{hn.off("beforeChange",on)}}},[hn,gl]),(0,le.useEffect)(()=>{if(hn&&wo){let on=function(){wo(hn.getValue())};return hn.on("blur",on),()=>{hn.off("blur",on)}}},[hn,wo]);function Vt(on,Et){var nn=on.getDoc(),ln=nn.getCursor(),jn=nn.getLine(ln.line),Sa=jn.charAt(ln.ch-1),Oa=jn.lastIndexOf("@\u2581@",ln.ch),ar=jn.lastIndexOf("@\u2581\u2581@",ln.ch),Ka=Oa>ar?Oa:ar,Xa=Oa>ar?3:4;if(Io.indexOf(Sa)===-1)return null;if(console.log("change1:",Et,on,jn,ln,Ka,Oa,ar,Sa),Ka>=0&&ln.ch-Ka<5){var gr=Ka+Xa;return nn.replaceRange("",{line:ln.line,ch:Ka},{line:ln.line,ch:gr}),{line:ln.line,ch:gr}}return null}(0,le.useEffect)(()=>{if(hn){let on=function(Et,nn){const ln=Et.getValue();mo(ln),Ai(new Date().getTime()),Et.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),st&&(Qo?st(ln,Wn(ln)):st(ln))};return hn.on("change",on),()=>{hn.off("change",on)}}},[hn,st]),(0,le.useEffect)(()=>{if(hn)if(at==null)hn.setValue(""),mo("");else{const on=window.scrollY||window.pageYOffset;at!==hn.getValue()&&(hn.setValue(at),mo(at),hn.setCursor(Ii?1:hn.lineCount(),0),window.scrollTo(0,on))}},[hn,at]);const De=(0,le.useCallback)(on=>{const Et=hn.getCursor(),nn=hn.getSelection();let ln=nn.split(`
|
|
`);switch(on){case"bold":return hn.replaceSelection("**"+nn+"**"),nn===""&&hn.setCursor(Et.line,Et.ch+2),hn.focus();case"italic":return hn.replaceSelection("*"+nn+"*"),nn===""&&hn.setCursor(Et.line,Et.ch+1),hn.focus();case"code":return hn.replaceSelection("`"+nn+"`"),nn===""&&hn.setCursor(Et.line,Et.ch+1),hn.focus();case"inline-latex":return Lo("inline-latex"),hn.focus();case"latex":return hn.replaceSelection("```latex\n"+nn+"\n```"),hn.setCursor(Et.line+1,nn.length+1),hn.focus();case"line-break":return hn.replaceSelection(`<br/>
|
|
`),hn.focus();case"list-ul":return nn===""?hn.replaceSelection("- "+nn):hn.replaceSelection(ln.map(jn=>jn===""?"":`- ${jn}`).join(`
|
|
`)),hn.focus();case"list-ol":return nn===""?hn.replaceSelection("1. "+nn):hn.replaceSelection(ln.map((jn,Sa)=>jn===""?"":`${Sa+1}. ${jn}`).join(`
|
|
`)),hn.focus();case"add-null-ch":return nn===""&&hn.setCursor(Et.line,Et.ch),hn.replaceSelection(fi),hn.focus();case"add-signal":return nn===""&&hn.setCursor(Et.line,Et.ch),hn.replaceSelection(bi),hn.focus();case"add-multiple":return nn===""&&hn.setCursor(Et.line,Et.ch),hn.replaceSelection(Io),hn.focus();case"inster-template-1":return nn===""&&hn.setCursor(Et.line,Et.ch),hn.replaceSelection(Hr),hn.focus();case"eraser":return hn.setValue(""),hn.focus();case"trigger-watch":return In(!Il),hn.focus();case"trigger-full-screen":return vr(!Aa),hn.focus();case ca:Lo(ca);return;case Ga:Lo(Ga);return;case Tn:Lo(Tn);return;case qn:Lo(qn);return;case"maths-latex":Lo("maths-latex");return;case un:Lo(un);return;case za:Lo(za);return;default:throw new Error}},[hn,Il,Aa]),zt=(0,le.useCallback)((on,Et)=>{var nn,ln,jn,Sa,Oa,ar;switch(Lo(""),Na){case ca:const{title:Yr,link:Gr}=on;return hn.replaceSelection(`[${Yr}](${Gr})`),hn.focus();case Ga:const{language:vo,content:_r}=on;return hn.replaceSelection(["```"+vo,_r,"```"].join(`
|
|
`)),hn.focus();case"maths-latex":for(var Ka=atob(on),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?hn.replaceSelection(``):(ii==null?void 0:ii.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":hn.replaceSelection("`$$"+on+"$$`");break;case Tn:case qn:case cr:const{src:Do,alt:Ro}=on,eo=Et,vi=(jn=(ln=(nn=eo==null?void 0:eo.name)==null?void 0:nn.split("."))==null?void 0:ln.pop)==null?void 0:jn.call(ln);return((Sa=eo==null?void 0:eo.type)==null?void 0:Sa.indexOf("image"))>-1||!(eo!=null&&eo.type)?eo.align||eo.width?hn.replaceSelection(`<p style="text-align:${eo.align||"initial"}"><img width="${eo.width?eo.width+"%":"initial"}" src="${Do}" alt="${Ro||""}" /></p>`):hn.replaceSelection(`<img width="100%" src="${Do}" alt="${Ro||""}" />`):((Oa=eo==null?void 0:eo.type)==null?void 0:Oa.indexOf("video"))>-1?hn.replaceSelection(`<video width="100%" controls src="${Do}"></video>`):((ar=eo==null?void 0:eo.type)==null?void 0:ar.indexOf("pdf"))>-1?hn.replaceSelection(`<a href="${Do}?type=${eo.type}&disposition=inline" target="_blank">${eo.name}</a>`):wn.includes(vi)?hn.replaceSelection(`<a href="${Do}?type=office&disposition=inline" target="_blank">${eo.name}</a>`):hn.replaceSelection(`[${eo.name}](${Do})`),hn.focus();case za:const{row:ll,col:Bl,align:yl}=on;let nl=`
|
|
`;for(let ii=0;ii<ll;ii++){let Ql=[],Ml=[];for(let Jl=0;Jl<Bl;Jl++)ii===1&&Ml.push(Va[yl]),Ql.push(" ");ii===1&&(nl+=`| ${Ml.join(" | ")} |
|
|
`),nl+=`| ${Ql.join(Bl===1?"":" | ")} |
|
|
`}return hn.replaceSelection(nl+`
|
|
`),hn.focus();default:throw new Error}},[hn,Na]),gn=(0,le.useMemo)(()=>{switch(Na){case ca:return le.createElement(Jt,{callback:zt,onCancel:vn});case Ga:return le.createElement(an.Z,{callback:zt,onCancel:vn});case Tn:return le.createElement(Ve.Z,{callback:zt,onCancel:vn});case un:return le.createElement(jt,{callback:zt,onCancel:vn});case za:return le.createElement(ga,{callback:zt,onCancel:vn});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 vn(){Lo("")}(0,le.useEffect)(()=>{if(Yl.current){let on=function(Oa){jn=!0,Sa=Oa.pageY},Et=function(){jn=!1},nn=function(Oa){if(jn){let ar=Oa.pageY-Sa;ar<0&&(ar=0),ar>300&&(ar=300);let Ka=Zt+ar+"px";il(Ka)}},ln=Yl.current,jn=!1,Sa=0;return ln.addEventListener("mousedown",on),document.addEventListener("mousemove",nn),document.addEventListener("mouseup",Et),()=>{ln.removeEventListener("mousedown",on),document.removeEventListener("mousemove",nn),document.removeEventListener("mouseup",Et)}}},[hn,Yl]),(0,le.useEffect)(()=>{il(Zt)},[Zt]);const Dt=Rn(et),Gt=Rn(ji),Tt={width:Dt,height:Gt},pn=(0,le.useMemo)(()=>{if(Xo){let on=new Date(Xo),Et=on.getHours(),nn=on.getMinutes(),ln=on.getSeconds();return Et=Et<10?"0"+Et:Et,nn=nn<10?"0"+nn:nn,ln=ln<10?"0"+ln:ln,`${Et}:${nn}:${ln}`}return 0},[Xo]),Wn=on=>{const Et=[];if(Qo){let nn=-1;on=on.replace(/(@▁▁@|@▁@)/g,function(ln,jn,Sa){Et.push({multiLine:ln!==bi})})}return Et};function ia(){window.sessionStorage.removeItem(va),Zi(!1),Ai(0)}function ta(){Zi(!1),Ai(0),hn.setValue(window.sessionStorage.getItem(va))}(0,le.useEffect)(()=>{Nr[Na]&&Na!==qn&&Na!==un&&setTimeout(()=>{const on=document.getElementsByClassName("markdown-popup-form")[0],Et=window.innerWidth/2-on.offsetWidth/2,nn=window.innerHeight/2-on.offsetHeight/2;is(Et),Is(nn)},0)},[Na]);const pa=on=>{on.preventDefault();const Et=on.clientX-ms,nn=on.clientY-vs;document.body.onmousemove=ln=>{let jn=ln.clientX-Et,Sa=ln.clientY-nn;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(ln.clientX,ln.clientY,Et,nn)&&(is(jn),Is(Sa))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ha=(on,Et,nn,ln)=>{const jn=document.body.clientHeight,Sa=document.body.clientWidth;return on<20&&nn>on||on>Sa-20&&nn<on||Et<20&&ln>Et||Et>jn-20&&ln<Et?(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":""} ${mn?"mini":""} ${Aa?"full-screen":""}`,style:Tt},le.createElement(Se,{insertTemp:Jn,watch:Il,fullScreen:Aa,showNullButton:$r,showNullProgramButton:Qo,onActionCallback:De,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"},Ln==="stex"&&le.createElement(je,{value:ml}),Ln!=="stex"&&le.createElement(tt.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:vn}),Na===un&&le.createElement(jt,{callback:zt,onCancel:vn}),le.createElement(Le.Z,null,Nr[Na]&&Na!==qn&&Na!==un?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:vn,footer:null,destroyOnClose:!0,width:Na===un?"1200px":null,height:Na===un?"80vh":null,className:"markdown-popup-form"},gn):null))}},70859:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return fe},I:function(){return Le}});var le=te(22150),ve=te(2453),Te=te(69677),Ge=te(93421),ke=te(31795),Ze=te(78045),de=te(71577),ze=te(15476),Ke=te(67294),He=te(52262),tt=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 it=(0,Ke.useRef)();function We(dt){it.current.width=pe.getFieldValue("width"),it.current.align=pe.getFieldValue("align"),be(dt,it.current)}function xt(dt,Mt){if(dt.status===-1){ve.ZP.error(dt.message);return}pe.setFieldsValue({src:`/api/attachments/${dt.id}`,type:Mt.type})}function Je(dt){let Mt=dt.target.files[0];it.current=Mt,Le(Mt,xt)}return tt.createElement(le.default,z(E({form:pe},ne),{className:"upload-image-panel",onFinish:We,style:{width:470,overflow:"hidden"}}),tt.createElement(le.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},tt.createElement("div",{className:"flex-container"},tt.createElement(le.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},tt.createElement(Te.default,{style:re})),tt.createElement(Se,{onFileChange:Je}))),tt.createElement(le.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},tt.createElement(Te.default,{style:{width:264}})),tt.createElement(le.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},tt.createElement(Ge.Z,null,tt.createElement(le.default.Item,{name:"width",style:{margin:0}},tt.createElement(ke.Z,{style:{width:264}})),tt.createElement("span",{className:"ml8"},"%"))),tt.createElement(le.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},tt.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"}]})),tt.createElement("aside",null,tt.createElement(le.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},tt.createElement(de.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),tt.createElement(de.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function Se({onFileChange:be}){return tt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",tt.createElement("input",{type:"file",onChange:be}))}function Le(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 it=new window.XMLHttpRequest;it.withCredentials=!0,it.addEventListener("load",function(We){xe(JSON.parse(We.target.responseText),be)},!1),it.addEventListener("error",function(We){console.error(We)},!1),it.open("POST",`${ze.KI}/api/attachments.json`),it.send(pe)}},76621:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return Te}});var le=te(67294),ve=te(73935);class Te extends le.Component{constructor(ke){super(ke);const Ze=window.document;this.node=Ze.createElement("div"),Ze.body.appendChild(this.node)}render(){const{children:ke}=this.props;return(0,ve.createPortal)(ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(ct,wt,te){"use strict";te.d(wt,{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),Te=te(83062),Ge=te(94184),ke=te.n(Ge),Ze=te(28706),de=te(26194),ze=te(52262),Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWAB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qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/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:tt,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:Le=[],col:be=4,right:xe,bottom:pe=23,precision:it=0,wrapWidth:We=1200,trackEventItems:xt,loading:Je,onRemove:dt=()=>{},isCurrent:Mt=!0,showAlias:Kt=!1})=>{const Ft=Math.floor((We-(be-1)*xe)/be),mt=[{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(Rt=>(window.ENV==="build"&&(Rt.ptimg=`/react/build${Rt.ptimg}`,Rt.swimg=`/react/build${Rt.swimg}`),Rt));return ae.createElement(ve.Z,{spinning:Je},ae.createElement("div",{className:ke()(le.list,Se)},!!(Le!=null&&Le.length)&&(Le==null?void 0:Le.map((Rt,Jt)=>{var an;const{name:Ve,id:Pt,identifier:kt,featured:En,school_name:Ye,image_url:Lt,excellent:Ce,is_plan:rn}=Rt;return ae.createElement("div",{key:Pt,className:le.wrap,style:{width:Ft,marginRight:(1+Jt)%be===0?0:xe+it,marginBottom:pe}},ae.createElement("a",{className:le.li,onClick:fn=>{fn.preventDefault(),fn.stopPropagation(),xt&&(0,Ze.L9)([xt]),(0,Ze.xg)(`/paths/${kt}`)}},ae.createElement("div",{className:le.img},ae.createElement("img",{className:le.cover,src:`${Lt}`}),Mt&&(0,ze.bg)()&&(Rt==null?void 0:Rt.studying)&&ae.createElement("div",{className:`${le.movebq} user-path-items`,onClick:fn=>{fn.stopPropagation(),dt(Rt)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(an=Rt==null?void 0:Rt.subject_tags)==null?void 0:an.map((fn,ua)=>{var An,gt;if(ua===0){const Be=(An=mt.find(vt=>vt.name==fn))==null?void 0:An.swimg;return ae.createElement("img",{className:le.sign,src:Be,style:{left:"-4px"}})}const Me=(gt=mt.find(Be=>Be.name==fn))==null?void 0:gt.ptimg;return ae.createElement("img",{className:le.sign,src:Me,style:{left:`${48+52*(ua-1)+2*ua}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Rt==null?void 0:Rt.excellent)&&ae.createElement("div",{className:le.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:le.name},ae.createElement(Te.Z,{title:Kt&&(Rt!=null&&Rt.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${Rt==null?void 0:Rt.excellent_alias_name}`)):Ve},ae.createElement("span",{className:le.e},Kt&&(Rt==null?void 0:Rt.excellent_alias_name)||Ve))),ae.createElement("div",{className:le.tags},ae.createElement("div",null,ae.createElement(Te.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,Rt.stages_count))),ae.createElement(Te.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,Rt.members_count)))))))})),!Le.length&&ae.createElement(de.Z,null)))}},30001:function(ct,wt,te){"use strict";te.d(wt,{jL:function(){return ke},w9:function(){return Rt},QD:function(){return _t},cQ:function(){return dt.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 tt},vr:function(){return ca},qE:function(){return Yn},Je:function(){return ae},wb:function(){return Je},cq:function(){return ua},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"},Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJ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eDd/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==",ke=({dataSource:wn=[],img:Rn,imgWidth:Pn=346,title:Cn,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,Cn),le.createElement("span",null,Ja)),wn.length>0&&le.createElement("div",{className:ve.btns},wn.map((Mn,at)=>le.createElement("div",{key:at,onClick:Mn.click},Mn.name,Mn.sign?le.createElement("img",{src:Te,width:39}):null))),Nr),Rn&&le.createElement("img",{style:{marginTop:33,marginRight:38},src:Rn,width:Pn}))),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),tt=({dataSource:wn=[],value:Rn,onChange:Pn,onTitleChange:Cn,className:Ja,title:Nr,titleWidth:Mn=41,style:at={},fontColor:st="#6A7283",showCount:et})=>{const[Zt,mn]=(0,le.useState)(0),[zn,La]=(0,le.useState)(!1),Jn=(0,le.useRef)(null),Ln=(0,le.useRef)(null);return(0,le.useEffect)(()=>{var va;wn.length!==0&&(((va=Jn==null?void 0:Jn.current)==null?void 0:va.clientHeight)>97?mn(1):mn(0)),wn.length===0&&mn(0),La(!1)},[wn]),le.createElement("div",{className:ze()(Ze.row,Ja),style:at},le.createElement("div",{onClick:(0,Ke.throttle)(()=>Cn==null?void 0:Cn(),2e3),style:{width:Mn,marginTop:zn?12:4},className:`${Ze.title} ${Cn?"current":""}`},Nr),le.createElement("div",{className:zn?`${Ze.tagsWrap} ${Ze.tagsBorderWrap}`:Ze.tagsWrap},le.createElement("div",{className:Ze.bar,ref:Ln,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},wn==null?void 0:wn.map(va=>le.createElement("span",{onClick:()=>Pn(va.id),key:va.id,style:{color:st},className:Rn===va.id?Ze.active:""},le.createElement("span",{title:va.name,className:Ze.name},va.name),!!et&&le.createElement("span",{className:Ze.num},va.count))))),!!Zt&&le.createElement(le.Fragment,null,Zt===1?le.createElement("div",{onClick:()=>{var va;mn(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:()=>{Ln.current.scrollTop=0,mn(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:wn=[],value:Rn,onChange:Pn,className:Cn,style:Ja={}})=>le.createElement("div",{style:Ja,className:ze()(je.tabs,Cn)},wn.map(Nr=>le.createElement("span",{onClick:()=>Pn(Nr.id),className:Rn===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:wn=[],value:Rn="",onChange:Pn,onInputChange:Cn=()=>{},className:Ja,style:Nr={},placeholder:Mn,allowClear:at=!1})=>{var st;const[et,Zt]=(0,le.useState)(""),[mn,zn]=(0,le.useState)("");(0,le.useEffect)(()=>{var Ln;let va=Rn;(Ln=JSON.stringify(Rn))!=null&&Ln.includes("{")&&(Zt(Rn.id),va=Rn.value||"");try{zn(decodeURIComponent(va||""))}catch(fo){zn(decodeURIComponent(va||""))}},[Rn]);const La=()=>{Pn(encodeURIComponent(mn),et||null)},Jn=Ln=>{Ln!==et&&(Zt(Ln),Pn(encodeURIComponent(mn),Ln))};return le.createElement("div",{className:ze()(y.input,Ja),style:Nr},!!wn.length&&le.createElement("div",{className:y.dropdown},le.createElement("div",{className:y.text},(st=wn.find(Ln=>Ln.id===et))==null?void 0:st.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},wn.map((Ln,va)=>le.createElement("div",{key:va,onClick:()=>Jn(Ln.id)},Ln.name)))),le.createElement(a.default,{onPressEnter:La,value:mn,onChange:Ln=>{zn(Ln.target.value),Cn(encodeURIComponent(Ln.target.value),et||null)},bordered:!1,placeholder:Mn}),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:wn,onChange:Rn,className:Pn,total:Cn,pageSize:Ja,style:Nr={}})=>{const Mn=wn<2,at=wn>=Math.ceil(Cn/Ja);return Cn<=Ja?le.createElement(le.Fragment,null):le.createElement("div",{className:ze()(E.quickPager,Pn),style:Nr},le.createElement("div",{onClick:()=>{Mn||Rn(wn-1,"prev")},className:Mn?E.disabled:""},"\u4E0A\u4E00\u9875"),le.createElement("div",{onClick:()=>{at||Rn(wn+1,"next")},className:at?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),Le=te(11320),be=te(28706),xe=te(96908),pe=te(57177),it=te(81378),We=te(26194),Je=({className:wn,dataSource:Rn=[],col:Pn=4,right:Cn,bottom:Ja=23,precision:Nr=0,wrapWidth:Mn=1200,trackEventItems:at,loading:st})=>{const et=Math.floor((Mn-(Pn-1)*Cn)/Pn);return le.createElement(ne.Z,{spinning:st},le.createElement("div",{className:ze()(re.list,wn)},!!Rn.length&&Rn.map((Zt,mn)=>{const{name:zn,id:La,identifier:Jn,power:Ln,cover_image_id:va,pic:fo}=Zt;return le.createElement("div",{className:re.wrap,key:La,style:{width:et,marginRight:(1+mn)%Pn===0?0:Cn+Nr,marginBottom:Ja}},le.createElement("a",{target:"_blank",href:`/shixuns/${Jn}/challenges`,className:re.li,onClick:yn=>{yn.preventDefault(),at&&(0,be.L9)([at]),Ln&&(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:it})),le.createElement("div",{className:re.name},le.createElement(fe.Z,{title:zn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:re.e},zn||"\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")))),!Ln&&le.createElement("div",{className:re.lockWrap},le.createElement("img",{src:`${Le.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")))}),!Rn.length&&le.createElement(We.Z,null)))},dt=te(9897),Mt={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+yX8Bq4mDmWK2GLqla3MvFWZt4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),Rt=({className:wn,dataSource:Rn=[],col:Pn=4,right:Cn,bottom:Ja=23,precision:Nr=0,wrapWidth:Mn=1200,trackEventItems:at,loading:st})=>{const et=Math.floor((Mn-(Pn-1)*Cn)/Pn);return Ft.createElement(ne.Z,{spinning:st},Ft.createElement("div",{className:ze()(Mt.list,wn)},!!Rn.length&&Rn.map((Zt,mn)=>{const{subject_identifier:zn,id:La,identifier:Jn,power:Ln}=Zt,va=Zt.is_public!=0&&Zt.is_public;return Ft.createElement("div",{className:Mt.wrap,key:La,style:{width:et,marginRight:(1+mn)%Pn===0?0:Cn+Nr,marginBottom:Ja}},Ft.createElement("a",{className:Mt.li,onClick:fo=>{fo.preventDefault(),at&&(0,be.L9)([at]),(0,be.xg)(Zt.first_category_url)}},Ft.createElement("div",{className:Mt.top},Ft.createElement(fe.Z,{title:Zt.name},Ft.createElement("div",{className:Mt.name},Zt.name)),Ft.createElement("img",{className:Mt.img,src:Le.Z.IMG_SERVER+"/images/"+Zt.avatar_url}),Ft.createElement("div",{className:Mt.text,title:Zt.creator},Zt.creator),zn&&Ft.createElement("div",{className:Mt.btns},Ft.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ft.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),va&&Ft.createElement("div",{className:Mt.sign},"\u516C\u5F00")),Ft.createElement("div",{className:Mt.bottom},Zt.visits>0&&Ft.createElement(fe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-liulanyan"}),Ft.createElement("span",null,Zt.visits))),Zt.course_members_count>0&&Ft.createElement(fe.Z,{title:"\u6210\u5458",placement:"bottom"},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-chengyuan"}),Zt.course_members_count)),Zt.tasks_count>0&&Ft.createElement(fe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-zuoye"}),Zt.tasks_count)),Zt.is_end?Ft.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ft.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Zt.is_accessible&&Ft.createElement("div",{className:Mt.lockWrap},Ft.createElement("img",{src:`${Le.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ft.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Rn.length&&Ft.createElement(We.Z,null)))},Jt={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"},an=te(35973),Pt=({dataSource:wn=[],value:Rn,onChange:Pn,className:Cn,style:Ja={},tabBarExtraContent:Nr})=>le.createElement("div",{className:ze()(Jt.tabs,Cn),style:Ja},le.createElement("div",{className:Jt.tabsWrap},wn.map((Mn,at)=>le.createElement("aside",{className:Jt.tab,onClick:()=>{Pn(Mn.id),Mn.link&&an.history.push(Mn.link)},key:at},le.createElement("div",{className:Rn===Mn.id?Jt.active:""},Mn.name),(Mn==null?void 0:Mn.resetCount)==null&&(Mn==null?void 0:Mn.total)!==void 0&&le.createElement("span",null,"\uFF08",Mn==null?void 0:Mn.total,"\uFF09"),(Mn==null?void 0:Mn.resetCount)!==void 0&&(Mn==null?void 0:Mn.total)!==void 0&&le.createElement(fe.Z,{title:(Mn==null?void 0:Mn.tip)!=null?Mn==null?void 0:Mn.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},Mn==null?void 0:Mn.resetCount),"/",le.createElement("span",null,Mn==null?void 0:Mn.total),"\uFF09"))))),le.createElement("div",{className:Jt.tabBar},Nr)),En=({className:wn,style:Rn={},children:Pn})=>le.createElement("div",{className:ze()(wn),style:Rn},Pn),Ye={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 rn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ua=({sortValue:wn,dropValue:Rn,className:Pn,onSort:Cn,onDrop:Ja,dataSource:Nr=rn})=>{var Mn;return le.createElement("div",{className:ze()(Ye.orderWrap,Pn)},le.createElement(Lt.Z,{dropdownRender:()=>le.createElement(Ce.default,null,Nr.map((at,st)=>le.createElement(Ce.default.Item,{key:st,onClick:()=>Ja(at.id)},at.name)))},le.createElement("span",{className:Ye.orderTextWrap},(Mn=Nr.find(at=>Rn===at.id))==null?void 0:Mn.name)),le.createElement("span",{className:Ye.orderIconWrap},le.createElement("span",{className:Ye.orderAsc},le.createElement("i",{className:wn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ye.cursorPointer} ${Ye.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ye.cursorPointer}`,onClick:()=>Cn(wn==="asc"?"desc":"asc")})),le.createElement("span",{className:Ye.orderDesc},le.createElement("i",{className:wn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ye.cursorPointer} ${Ye.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ye.cursorPointer}`,onClick:()=>Cn(wn==="asc"?"desc":"asc")}))))},An={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"},gt=te(71577),Me=Object.defineProperty,Be=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,jt=(wn,Rn,Pn)=>Rn in wn?Me(wn,Rn,{enumerable:!0,configurable:!0,writable:!0,value:Pn}):wn[Rn]=Pn,sn=(wn,Rn)=>{for(var Pn in Rn||(Rn={}))vt.call(Rn,Pn)&&jt(wn,Pn,Rn[Pn]);if(Be)for(var Pn of Be(Rn))Ot.call(Rn,Pn)&&jt(wn,Pn,Rn[Pn]);return wn},On=(wn,Rn)=>{var Pn={};for(var Cn in wn)vt.call(wn,Cn)&&Rn.indexOf(Cn)<0&&(Pn[Cn]=wn[Cn]);if(wn!=null&&Be)for(var Cn of Be(wn))Rn.indexOf(Cn)<0&&Ot.call(wn,Cn)&&(Pn[Cn]=wn[Cn]);return Pn},Gn=(wn,Rn,Pn)=>new Promise((Cn,Ja)=>{var Nr=st=>{try{at(Pn.next(st))}catch(et){Ja(et)}},Mn=st=>{try{at(Pn.throw(st))}catch(et){Ja(et)}},at=st=>st.done?Cn(st.value):Promise.resolve(st.value).then(Nr,Mn);at((Pn=Pn.apply(wn,Rn)).next())}),ga=wn=>{var Rn=wn,{className:Pn,style:Cn,children:Ja,loading:Nr=!1,openLoading:Mn,onClick:at=()=>{},size:st="middle",shape:et="round"}=Rn,Zt=On(Rn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[mn,zn]=(0,le.useState)(!1);return le.createElement(gt.ZP,sn({onClick:(0,Ke.throttle)(La=>Gn(void 0,null,function*(){Mn&&zn(!0);try{yield at(La)}catch(Jn){console.log("error",Jn)}Mn&&zn(!1)}),2e3,{leading:!0,trailing:!1}),className:ze()(An.btn,An[`${st}-${et}`],Pn),style:Cn,size:st,shape:et,loading:mn||Nr},Zt),Ja)},Ie={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:wn,style:Rn,children:Pn=null,onClick:Cn,title:Ja})=>le.createElement("div",{className:ze()(Ie.head,wn),style:Rn},le.createElement("span",{className:"primary-hover",onClick:Cn},le.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),le.createElement("b",{title:Ja},Ja),le.createElement("div",{className:Ie.node},Pn)),Dn={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:wn=!0,confirmTitle:Rn,confirmClick:Pn,cancelShow:Cn=!0,cancelTitle:Ja,cancelClick:Nr,className:Mn,style:at,confirmLoading:st=!1})=>le.createElement("div",{className:ze()(Dn.btns,Mn),style:at},wn&&le.createElement(gt.ZP,{loading:st,onClick:Pn,type:"primary",className:Dn.confirm},Rn),Cn&&le.createElement(gt.ZP,{onClick:Nr,className:Dn.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:wn,style:Rn={},LeftContent:Pn,children:Cn,RightContent:Ja})=>le.createElement("div",{className:ze()(ea.fixedBottom,wn),style:Rn},le.createElement("div",{className:ea.wrap},le.createElement("div",{className:ea.left},Pn),le.createElement("div",{className:ea.center},Cn),le.createElement("div",{className:ea.right},Ja))),Tn={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:wn,style:Rn={},dataSource:Pn=[]})=>le.createElement("div",{className:ze()(Tn.crumbs,wn),style:Rn},Pn.map((Cn,Ja)=>Ja<Pn.length-1?le.createElement(le.Fragment,{key:Ja},Cn.path||Cn.onClick?le.createElement("span",{className:Tn.hover,onClick:Cn!=null&&Cn.onClick?Cn.onClick:()=>an.history.push(Cn.path)},Cn.name):le.createElement("span",null,Cn.name),le.createElement("span",null,"\xA0",">","\xA0")):le.createElement("span",{key:Ja,style:{color:"#5F6368"}},Cn.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=(wn,Rn,Pn)=>Rn in wn?Ga(wn,Rn,{enumerable:!0,configurable:!0,writable:!0,value:Pn}):wn[Rn]=Pn,Yo=(wn,Rn)=>{for(var Pn in Rn||(Rn={}))Mr.call(Rn,Pn)&&ko(wn,Pn,Rn[Pn]);if(Va)for(var Pn of Va(Rn))oo.call(Rn,Pn)&&ko(wn,Pn,Rn[Pn]);return wn},ti=(wn,Rn)=>za(wn,Zr(Rn)),fi=(wn,Rn)=>{var Pn={};for(var Cn in wn)Mr.call(wn,Cn)&&Rn.indexOf(Cn)<0&&(Pn[Cn]=wn[Cn]);if(wn!=null&&Va)for(var Cn of Va(wn))Rn.indexOf(Cn)<0&&oo.call(wn,Cn)&&(Pn[Cn]=wn[Cn]);return Pn};const{Countdown:Io}=cr.default;var Hr=wn=>{var Rn=wn,{onChange:Pn}=Rn,Cn=fi(Rn,["onChange"]);const[Ja,Nr]=(0,le.useState)(null);(0,le.useEffect)(()=>{typeof Ja=="number"&&Ja>=0&&Pn(Ja)},[Ja]);const Mn=at=>{const st=Math.floor(at/1e3);Nr(st)};return le.createElement(Io,ti(Yo({},Cn),{onChange:Mn}))}},99914:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return ve}});var le=te(67294);function ve(Te,Ge){const ke=(0,le.useRef)();(0,le.useEffect)(()=>{ke.current=Te}),(0,le.useEffect)(()=>{function Ze(){ke.current()}if(Ge!==null){let de=setInterval(Ze,Ge);return()=>clearInterval(de)}},[Ge])}},42981:function(ct,wt,te){"use strict";te.r(wt),te.d(wt,{default:function(){return pe}});var le=te(67294),ve={contWrap:"contWrap___NObSU",header:"header___McEy0",headTitle:"headTitle___ytUGn",searchWrap:"searchWrap___Gg9ZK",wrap1:"wrap1___s1_Dx",editBtn:"editBtn___aXsPS"},Te=te(35973),Ge=te(22150),ke=te(14446),Ze=te(2453),de=te(69677),ze=te(57953),Ke=te(96074),He=te(42563),tt=te(20669),je=te(9430),we=te(71577),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.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,Se=(it,We,xt)=>We in it?ae(it,We,{enumerable:!0,configurable:!0,writable:!0,value:xt}):it[We]=xt,Le=(it,We)=>{for(var xt in We||(We={}))ne.call(We,xt)&&Se(it,xt,We[xt]);if(re)for(var xt of re(We))fe.call(We,xt)&&Se(it,xt,We[xt]);return it},be=(it,We,xt)=>new Promise((Je,dt)=>{var Mt=mt=>{try{Ft(xt.next(mt))}catch(Rt){dt(Rt)}},Kt=mt=>{try{Ft(xt.throw(mt))}catch(Rt){dt(Rt)}},Ft=mt=>mt.done?Je(mt.value):Promise.resolve(mt.value).then(Mt,Kt);Ft((xt=xt.apply(it,We)).next())});const xe=({declaration:it,user:We,dispatch:xt,loading:Je})=>{const[dt,Mt]=(0,le.useState)([]),[Kt,Ft]=(0,le.useState)(0),[mt,Rt]=(0,le.useState)(!1),[Jt,an]=(0,le.useState)(!1),[Ve,Pt]=(0,le.useState)(""),[kt,En]=(0,le.useState)(""),[Ye,Lt]=(0,le.useState)({page:1,limit:10,status:"",keyword:"",start_time:"",end_time:""}),[Ce]=Ge.default.useForm(),rn=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:gt=>z.createElement("span",null,gt||"--")},{title:"\u5DE5\u53F7",align:"left",ellipsis:!0,dataIndex:"staff_id",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:gt=>z.createElement("span",null,gt===-1&&z.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),gt===0&&z.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),gt===1&&z.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),gt===2&&z.createElement("span",{style:{color:"#E30000"}},"\u9000\u56DE\u4FEE\u6539"))},{title:"\u53D7\u8BA9\u65B9",align:"left",ellipsis:!0,dataIndex:"transferee",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u8F6C\u8BA9\u9879\u76EE\u540D\u79F0",align:"left",ellipsis:!0,dataIndex:"title",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u8F6C\u8BA9\u9879\u76EE\u6388\u6743\u53F7",align:"left",ellipsis:!0,dataIndex:"check_in_number",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u8F6C\u8BA9\u91D1\u989D",align:"left",ellipsis:!0,dataIndex:"transfer_fees",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u8F6C\u8BA9\u4E13\u5229\u7C7B\u578B",align:"left",ellipsis:!0,dataIndex:"property_type_name",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u53D1\u660E\uFF08\u7533\u8BF7\uFF09\u4EBA",align:"left",ellipsis:!0,dataIndex:"participant",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u8F6C\u8BA9\u65E5\u671F",align:"left",ellipsis:!0,dataIndex:"transfer_date",render:gt=>z.createElement("span",null,gt||"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:160,ellipsis:!0,dataIndex:"school_name",render:(gt,Me)=>{var Be,vt,Ot,jt;return z.createElement(z.Fragment,null,((0,E.Ny)()&&((Be=We.userInfo)==null?void 0:Be.real_name)!==(Me==null?void 0:Me.user_name)||[0,1].includes(Me==null?void 0:Me.status))&&z.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{xt({type:"declaration/changeMode",payload:{mode:"view"}}),Te.history.push(`/declaration/research/technologyTransfer/view?id=${Me==null?void 0:Me.id}`)}},"\u67E5\u770B"),((vt=We==null?void 0:We.userInfo)==null?void 0:vt.real_name)===(Me==null?void 0:Me.user_name)&&[-1,2].includes(Me==null?void 0:Me.status)&&z.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{xt({type:"declaration/changeMode",payload:{mode:"edit"}}),Te.history.push(`/declaration/research/technologyTransfer/edit?id=${Me==null?void 0:Me.id}`)}},"\u7F16\u8F91"),(0,E.Ny)()&&(Me==null?void 0:Me.status)===0&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{ke.default.confirm({title:"\u901A\u8FC7\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u901A\u8FC7\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>be(void 0,null,function*(){(yield(0,b.Uk)({declaration_id:Me==null?void 0:Me.id,verify_status:"agree",reason:""})).status===0&&(Ze.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),fn())})})}},"\u901A\u8FC7"),(0,E.Ny)()&&(Me==null?void 0:Me.status)===0&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ce.setFieldValue("reason",Me==null?void 0:Me.reason),ke.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:z.createElement("div",null,z.createElement(Ge.default,{form:Ce,layout:"vertical",onFinish:sn=>be(void 0,null,function*(){(yield(0,b.Uk)(Le({declaration_id:Me==null?void 0:Me.id,verify_status:"reject"},sn))).status===0&&(Ze.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),fn())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:ve.formWrap},z.createElement(Ge.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},z.createElement(de.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"})))),width:500,okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>be(void 0,null,function*(){yield Ce.submit()})})}},"\u9A73\u56DE"),((Ot=We==null?void 0:We.userInfo)==null?void 0:Ot.real_name)===(Me==null?void 0:Me.user_name)&&[-1,2].includes(Me==null?void 0:Me.status)&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{ke.default.confirm({title:"\u63D0\u4EA4\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u63D0\u4EA4\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>be(void 0,null,function*(){(yield(0,b.xx)({declaration_id:Me==null?void 0:Me.id})).status===0&&(Ze.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),fn())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((jt=We==null?void 0:We.userInfo)==null?void 0:jt.real_name)===(Me==null?void 0:Me.user_name)&&[-1,2].includes(Me==null?void 0:Me.status)&&z.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{ke.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>be(void 0,null,function*(){(yield(0,b.UX)({id:Me==null?void 0:Me.id})).status===0&&(Ze.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),fn())})})}},"\u5220\u9664"))}}];(0,le.useEffect)(()=>{fn(),ua()},[]);const fn=()=>be(void 0,null,function*(){var gt,Me;Rt(!0);const Be=yield(0,b.Dn)(Le({declare_type:6},Ye));(Be==null?void 0:Be.status)===0&&(Mt(((gt=Be==null?void 0:Be.data)==null?void 0:gt.list)||[]),Ft(((Me=Be==null?void 0:Be.data)==null?void 0:Me.count)||0)),Rt(!1)}),ua=()=>be(void 0,null,function*(){var gt,Me;const Be=yield(0,b.Xi)({declare_type:6});(Be==null?void 0:Be.status)===0&&(Pt(((gt=Be==null?void 0:Be.data)==null?void 0:gt.content)||"\u6682\u65E0\u6570\u636E"),En(((Me=Be==null?void 0:Be.data)==null?void 0:Me.content)||"\u6682\u65E0\u6570\u636E"))}),An=()=>be(void 0,null,function*(){if((Ve==null?void 0:Ve.length)>1e3){Ze.ZP.info("\u5B57\u6570\u4E0D\u80FD\u8D85\u8FC71000\u5B57\uFF01");return}const gt=yield(0,b.kF)({declare_type:6,content:Ve});(gt==null?void 0:gt.status)===0&&(an(!1),Ze.ZP.success("\u7F16\u8F91\u6210\u529F!"))});return z.createElement(ze.Z,{spinning:mt},z.createElement("div",{className:ve.contWrap},z.createElement("div",{className:ve.header},z.createElement("div",{className:ve.headTitle},"\u6210\u679C\u8F6C\u5316\u7533\u62A5"),z.createElement("div",null,z.createElement(ue.op,{shape:"default",onClick:()=>{xt({type:"declaration/changeMode",payload:{mode:"edit"}}),Te.history.push("/declaration/research/technologyTransfer/edit")}},z.createElement("span",null,"\u6DFB\u52A0\u79D1\u6280\u6210\u679C\u8F6C\u5316")))),z.createElement(Ke.Z,{style:{margin:"12px 0px 20px 0px"}}),z.createElement("div",{className:ve.searchWrap},z.createElement(He.default,{size:"large",defaultValue:Ye.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:gt=>{Ye.status=gt,Lt(Le({},Ye)),Ye.page=1,fn()},options:[{value:"",label:"\u5168\u90E8"},{value:-1,label:"\u672A\u63D0\u4EA4"},{value:0,label:"\u5F85\u5BA1\u6838"},{value:1,label:"\u5DF2\u901A\u8FC7"},{value:2,label:"\u9000\u56DE\u4FEE\u6539"}]}),z.createElement(tt.default.RangePicker,{size:"large",style:{width:260,borderRadius:2},onChange:gt=>{Ye.start_time=gt!=null&>[0]?gt[0].format("YYYY-MM-DD"):"",Ye.end_time=gt!=null&>[1]?gt[1].format("YYYY-MM-DD"):"",Lt(Le({},Ye)),Ye.page=1,console.log(Ye),fn()},format:"YYYY-MM-DD"}),z.createElement(ue.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:Ye.keyword,onChange:gt=>{Ye.page=1,Ye.keywords=gt,Lt(Le({},Ye)),fn()}})),z.createElement("div",null,z.createElement(je.default,{dataSource:dt,scroll:{x:1400},pagination:{total:Kt||0,size:"default",onChange:(gt,Me)=>{Ye.page=gt,Ye.limit=Me,Lt(Le({},Ye)),fn()},current:Ye==null?void 0:Ye.page,pageSize:Ye==null?void 0:Ye.limit,showTotal:gt=>z.createElement(z.Fragment,null,"\u5171",z.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},gt),"\u6761\u6570\u636E")},columns:rn,locale:{emptyText:z.createElement(x.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),z.createElement(Ke.Z,{style:{margin:"30px 0px"}}),Jt?z.createElement("div",null,z.createElement(y.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:Ve,id:"editContent",onChange:gt=>{Pt(gt)}}),z.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},z.createElement(ue.op,{shape:"default",onClick:()=>{an(!1),Pt(kt)}},"\u53D6\u6D88"),z.createElement(we.ZP,{className:"ml20",type:"primary",onClick:()=>be(void 0,null,function*(){yield An()})},"\u63D0\u4EA4"))):z.createElement("div",{className:ve.wrap1},(0,E.Ny)()&&z.createElement("div",{className:ve.editBtn,onClick:()=>{an(!0)}},z.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),z.createElement(a.Z,{className:"discuss-content",value:Ve,style:{fontSize:"12px",color:"#232B40"}}))))};var pe=(0,Te.connect)(({declaration:it,loading:We,user:xt})=>({declaration:it,loading:We,user:xt}))(xe)},38780:function(ct,wt){"use strict";function te(){const le=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ve=1;ve<arguments.length;ve++){const Te=ve<0||arguments.length<=ve?void 0:arguments[ve];Te&&Object.keys(Te).forEach(Ge=>{const ke=Te[Ge];ke!==void 0&&(le[Ge]=ke)})}return le}wt.Z=te},66367:function(ct,wt,te){"use strict";te.d(wt,{F:function(){return le},Z:function(){return ve}});function le(Te){return Te!=null&&Te===Te.window}function ve(Te,Ge){var ke,Ze;if(typeof window=="undefined")return 0;const de=Ge?"scrollTop":"scrollLeft";let ze=0;return le(Te)?ze=Te[Ge?"pageYOffset":"pageXOffset"]:Te instanceof Document?ze=Te.documentElement[de]:(Te instanceof HTMLElement||Te)&&(ze=Te[de]),Te&&!le(Te)&&typeof ze!="number"&&(ze=(Ze=((ke=Te.ownerDocument)!==null&&ke!==void 0?ke:Te).documentElement)===null||Ze===void 0?void 0:Ze[de]),ze}},57838:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return ve}});var le=te(67294);function ve(){const[,Te]=le.useReducer(Ge=>Ge+1,0);return Te}},58375:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return Ge}});var le=te(96523);function ve(ke,Ze,de,ze){const Ke=de-Ze;return ke/=ze/2,ke<1?Ke/2*ke*ke*ke+Ze:Ke/2*((ke-=2)*ke*ke+2)+Ze}var Te=te(66367);function Ge(ke){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:de=()=>window,callback:ze,duration:Ke=450}=Ze,He=de(),tt=(0,Te.Z)(He,!0),je=Date.now(),we=()=>{const y=Date.now()-je,a=ve(y>Ke?Ke:y,tt,ke,Ke);(0,Te.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,wt,te){"use strict";te.d(wt,{default:function(){return fe}});var le=te(94184),ve=te.n(le),Te=te(95860),Ge=te(67294),ke=te(53124),Ze=te(98866),de=te(65223),Ke=Ge.createContext(null),He=te(63185),tt=te(45353),je=te(92429),we=function(Se,Le){var be={};for(var xe in Se)Object.prototype.hasOwnProperty.call(Se,xe)&&Le.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++)Le.indexOf(xe[pe])<0&&Object.prototype.propertyIsEnumerable.call(Se,xe[pe])&&(be[xe[pe]]=Se[xe[pe]]);return be};const ue=(Se,Le)=>{var be;const{prefixCls:xe,className:pe,rootClassName:it,children:We,indeterminate:xt=!1,style:Je,onMouseEnter:dt,onMouseLeave:Mt,skipGroup:Kt=!1,disabled:Ft}=Se,mt=we(Se,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Rt,direction:Jt,checkbox:an}=Ge.useContext(ke.E_),Ve=Ge.useContext(Ke),{isFormItemInput:Pt}=Ge.useContext(de.aM),kt=Ge.useContext(Ze.Z),En=(be=(Ve==null?void 0:Ve.disabled)||Ft)!==null&&be!==void 0?be:kt,Ye=Ge.useRef(mt.value);Ge.useEffect(()=>{Ve==null||Ve.registerValue(mt.value)},[]),Ge.useEffect(()=>{if(!Kt)return mt.value!==Ye.current&&(Ve==null||Ve.cancelValue(Ye.current),Ve==null||Ve.registerValue(mt.value),Ye.current=mt.value),()=>Ve==null?void 0:Ve.cancelValue(mt.value)},[mt.value]);const Lt=Rt("checkbox",xe),[Ce,rn]=(0,He.ZP)(Lt),fn=Object.assign({},mt);Ve&&!Kt&&(fn.onChange=function(){mt.onChange&&mt.onChange.apply(mt,arguments),Ve.toggleOption&&Ve.toggleOption({label:We,value:mt.value})},fn.name=Ve.name,fn.checked=Ve.value.includes(mt.value));const ua=ve()(`${Lt}-wrapper`,{[`${Lt}-rtl`]:Jt==="rtl",[`${Lt}-wrapper-checked`]:fn.checked,[`${Lt}-wrapper-disabled`]:En,[`${Lt}-wrapper-in-form-item`]:Pt},an==null?void 0:an.className,pe,it,rn),An=ve()({[`${Lt}-indeterminate`]:xt},je.A,rn),gt=xt?"mixed":void 0;return Ce(Ge.createElement(tt.Z,{component:"Checkbox",disabled:En},Ge.createElement("label",{className:ua,style:Object.assign(Object.assign({},an==null?void 0:an.style),Je),onMouseEnter:dt,onMouseLeave:Mt},Ge.createElement(Te.Z,Object.assign({"aria-checked":gt},fn,{prefixCls:Lt,className:An,disabled:En,ref:Le})),We!==void 0&&Ge.createElement("span",null,We))))};var a=Ge.forwardRef(ue),x=te(74902),b=te(10366),E=function(Se,Le){var be={};for(var xe in Se)Object.prototype.hasOwnProperty.call(Se,xe)&&Le.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++)Le.indexOf(xe[pe])<0&&Object.prototype.propertyIsEnumerable.call(Se,xe[pe])&&(be[xe[pe]]=Se[xe[pe]]);return be};const z=(Se,Le)=>{const{defaultValue:be,children:xe,options:pe=[],prefixCls:it,className:We,rootClassName:xt,style:Je,onChange:dt}=Se,Mt=E(Se,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Kt,direction:Ft}=Ge.useContext(ke.E_),[mt,Rt]=Ge.useState(Mt.value||be||[]),[Jt,an]=Ge.useState([]);Ge.useEffect(()=>{"value"in Mt&&Rt(Mt.value||[])},[Mt.value]);const Ve=Ge.useMemo(()=>pe.map(Me=>typeof Me=="string"||typeof Me=="number"?{label:Me,value:Me}:Me),[pe]),Pt=Me=>{an(Be=>Be.filter(vt=>vt!==Me))},kt=Me=>{an(Be=>[].concat((0,x.Z)(Be),[Me]))},En=Me=>{const Be=mt.indexOf(Me.value),vt=(0,x.Z)(mt);Be===-1?vt.push(Me.value):vt.splice(Be,1),"value"in Mt||Rt(vt),dt==null||dt(vt.filter(Ot=>Jt.includes(Ot)).sort((Ot,jt)=>{const sn=Ve.findIndex(Gn=>Gn.value===Ot),On=Ve.findIndex(Gn=>Gn.value===jt);return sn-On}))},Ye=Kt("checkbox",it),Lt=`${Ye}-group`,[Ce,rn]=(0,He.ZP)(Ye),fn=(0,b.Z)(Mt,["value","disabled"]),ua=pe.length?Ve.map(Me=>Ge.createElement(a,{prefixCls:Ye,key:Me.value.toString(),disabled:"disabled"in Me?Me.disabled:Mt.disabled,value:Me.value,checked:mt.includes(Me.value),onChange:Me.onChange,className:`${Lt}-item`,style:Me.style,title:Me.title},Me.label)):xe,An={toggleOption:En,value:mt,disabled:Mt.disabled,name:Mt.name,registerValue:kt,cancelValue:Pt},gt=ve()(Lt,{[`${Lt}-rtl`]:Ft==="rtl"},We,xt,rn);return Ce(Ge.createElement("div",Object.assign({className:gt,style:Je},fn,{ref:Le}),Ge.createElement(Ke.Provider,{value:An},ua)))},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,wt,te){"use strict";te.d(wt,{C2:function(){return ke}});var le=te(14747),ve=te(45503),Te=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 ke(Ze,de){const ze=(0,ve.TS)(de,{checkboxCls:`.${Ze}`,checkboxSize:de.controlInteractiveSize});return[Ge(ze)]}wt.ZP=(0,Te.Z)("Checkbox",(Ze,de)=>{let{prefixCls:ze}=de;return[ke(ze,Ze)]})},20669:function(ct,wt,te){"use strict";te.d(wt,{default:function(){return Co}});var le=te(97909),ve=te.n(le),Te=te(68291),Ge=te(33088),ke=te.n(Ge),Ze=te(26850),de=te.n(Ze),ze=te(23082),Ke=te.n(ze),He=te(99873),tt=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(ke()),ve().extend(de()),ve().extend(Ke()),ve().extend(tt()),ve().extend(function(ee,oe){var ie=oe.prototype,ge=ie.format;ie.format=function(Ae){var Ee=(Ae||"").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,Te.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),Ae=0;Ae<ge.length;Ae+=1){var Ee=ge[Ae],Ue=ie;if(Ee.includes("wo")||Ee.includes("Wo")){for(var Qe=Ue.split("-")[0],ot=Ue.split("-")[1],It=ve()(Qe,"YYYY").startOf("year").locale(me),ut=0;ut<=52;ut+=1){var ft=It.add(ut,"week");if(ft.format("Wo")===ot)return ft}return b(),null}var St=ve()(Ue,Ee,!0).locale(me);if(St.isValid())return St}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"},Le=Se,be=te(74643),xe=function(oe,ie){return ne.createElement(be.Z,(0,re.Z)({},oe,{ref:ie,icon:Le}))},pe=ne.forwardRef(xe),it={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"},We=it,xt=function(oe,ie){return ne.createElement(be.Z,(0,re.Z)({},oe,{ref:ie,icon:We}))},Je=ne.forwardRef(xt),dt=te(16646),Mt={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=Mt,Ft=function(oe,ie){return ne.createElement(be.Z,(0,re.Z)({},oe,{ref:ie,icon:Kt}))},mt=ne.forwardRef(Ft),Rt=te(94184),Jt=te.n(Rt),an=te(15671),Ve=te(43144),Pt=te(97326),kt=te(60136),En=te(51630),Ye=te(4942),Lt=te(1413),Ce=te(97685),rn=te(5663),fn=te(1337),ua=te(92739),An=te(7699),gt=10,Me=gt*10,Be=7;function vt(ee,oe){if(!ee&&!oe)return!0;if(!ee||!oe)return!1}function Ot(ee,oe,ie){var ge=vt(oe,ie);if(typeof ge=="boolean")return ge;var me=Math.floor(ee.getYear(oe)/10),Ae=Math.floor(ee.getYear(ie)/10);return me===Ae}function jt(ee,oe,ie){var ge=vt(oe,ie);return typeof ge=="boolean"?ge:ee.getYear(oe)===ee.getYear(ie)}function sn(ee,oe){var ie=Math.floor(ee.getMonth(oe)/3);return ie+1}function On(ee,oe,ie){var ge=vt(oe,ie);return typeof ge=="boolean"?ge:jt(ee,oe,ie)&&sn(ee,oe)===sn(ee,ie)}function Gn(ee,oe,ie){var ge=vt(oe,ie);return typeof ge=="boolean"?ge:jt(ee,oe,ie)&&ee.getMonth(oe)===ee.getMonth(ie)}function bn(ee,oe,ie){var ge=vt(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=vt(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 Ie(ee,oe,ie,ge){var me=vt(ie,ge);return typeof me=="boolean"?me:jt(ee,ie,ge)&&ee.locale.getWeek(oe,ie)===ee.locale.getWeek(oe,ge)}function rt(ee,oe,ie){return bn(ee,oe,ie)&&ga(ee,oe,ie)}function Yn(ee,oe,ie,ge){return!oe||!ie||!ge?!1:!bn(ee,oe,ge)&&!bn(ee,ie,ge)&&ee.isAfter(ge,oe)&&ee.isAfter(ie,ge)}function Dn(ee,oe,ie){var ge=oe.locale.getWeekFirstDay(ee),me=oe.setDate(ie,1),Ae=oe.getWeekDay(me),Ee=oe.addDate(me,ge-Ae);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 Ae=function(Ct,_e,pt){for(var Ht=_e;Ht<=pt;){var dn=void 0;switch(Ct){case"date":{if(dn=me.setDate(oe,Ht),!ge(dn))return!1;break}case"month":{if(dn=me.setMonth(oe,Ht),!Un({cellDate:dn,mode:"month",generateConfig:me,disabledDate:ge}))return!1;break}case"year":{if(dn=me.setYear(oe,Ht),!Un({cellDate:dn,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 Ae("date",Ee,Ue)}case"quarter":{var Qe=Math.floor(me.getMonth(oe)/3)*3,ot=Qe+2;return Ae("month",Qe,ot)}case"year":return Ae("month",0,11);case"decade":{var It=me.getYear(oe),ut=Math.floor(It/gt)*gt,ft=ut+gt-1;return Ae("year",ut,ft)}}}function ca(ee,oe){var ie=oe.formatList,ge=oe.generateConfig,me=oe.locale;return(0,ua.Z)(function(){if(!ee)return[[""],""];for(var Ae="",Ee=[],Ue=0;Ue<ie.length;Ue+=1){var Qe=ie[Ue],ot=_t(ee,{generateConfig:ge,locale:me,format:Qe});Ee.push(ot),Ue===0&&(Ae=ot)}return[Ee,Ae]},[ee,ie,me],function(Ae,Ee){return!rt(ge,Ae[0],Ee[0])||!(0,An.Z)(Ae[1],Ee[1],!0)||!(0,An.Z)(Ae[2],Ee[2],!0)})}function Tn(ee,oe){var ie=oe.formatList,ge=oe.generateConfig,me=oe.locale,Ae=(0,ne.useState)(null),Ee=(0,Ce.Z)(Ae,2),Ue=Ee[0],Qe=Ee[1],ot=(0,ne.useRef)(null);function It(pt){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(ot.current),Ht){Qe(pt);return}ot.current=requestAnimationFrame(function(){Qe(pt)})}var ut=ca(Ue,{formatList:ie,generateConfig:ge,locale:me}),ft=(0,Ce.Z)(ut,2),St=ft[1];function Ct(pt){It(pt)}function _e(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;It(null,pt)}return(0,ne.useEffect)(function(){_e(!0)},[ee]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(ot.current)}},[]),[St,Ct,_e]}var un=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,Ae=oe.onPageUpDown,Ee=oe.onEnter,Ue=ee.which,Qe=ee.ctrlKey,ot=ee.metaKey;switch(Ue){case un.Z.LEFT:if(Qe||ot){if(ge)return ge(-1),!0}else if(ie)return ie(-1),!0;break;case un.Z.RIGHT:if(Qe||ot){if(ge)return ge(1),!0}else if(ie)return ie(1),!0;break;case un.Z.UP:if(me)return me(-1),!0;break;case un.Z.DOWN:if(me)return me(1),!0;break;case un.Z.PAGE_UP:if(Ae)return Ae(-1),!0;break;case un.Z.PAGE_DOWN:if(Ae)return Ae(1),!0;break;case un.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},wn=function(oe){return oe==="month"||oe==="date"?"quarter":oe},Rn=function(oe){return oe==="date"?"week":oe},Pn={year:bi,month:Hr,quarter:wn,week:Rn,time:null,date:null};function Cn(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,Ae=ee.forwardKeyDown,Ee=ee.onKeyDown,Ue=ee.blurToCancel,Qe=ee.onSubmit,ot=ee.onCancel,It=ee.onFocus,ut=ee.onBlur,ft=ee.changeOnBlur,St=(0,ne.useState)(!1),Ct=(0,Ce.Z)(St,2),_e=Ct[0],pt=Ct[1],Ht=(0,ne.useState)(!1),dn=(0,Ce.Z)(Ht,2),Xt=dn[0],Yt=dn[1],Nn=(0,ne.useRef)(!1),Wt=(0,ne.useRef)(!1),Qt=(0,ne.useRef)(!1),ra={onMouseDown:function(){pt(!0),me(!0)},onKeyDown:function(oa){var $n=function(){Qt.current=!0};if(Ee(oa,$n),!Qt.current){switch(oa.which){case un.Z.ENTER:{oe?Qe()!==!1&&pt(!0):me(!0),oa.preventDefault();return}case un.Z.TAB:{_e&&oe&&!oa.shiftKey?(pt(!1),oa.preventDefault()):!_e&&oe&&!Ae(oa)&&oa.shiftKey&&(pt(!0),oa.preventDefault());return}case un.Z.ESC:{pt(!0),ot();return}}!oe&&![un.Z.SHIFT].includes(oa.which)?me(!0):_e||Ae(oa)}},onFocus:function(oa){pt(!0),Yt(!0),It&&It(oa)},onBlur:function(oa){if(Nn.current||!ge(document.activeElement)){Nn.current=!1;return}Ue?setTimeout(function(){for(var $n=document,Ra=$n.activeElement;Ra&&Ra.shadowRoot;)Ra=Ra.shadowRoot.activeElement;ge(Ra)&&ot()},0):oe&&(me(!1),Wt.current&&Qe()),Yt(!1),ut==null||ut(oa)}};return(0,ne.useEffect)(function(){Wt.current=!1},[oe]),(0,ne.useEffect)(function(){Wt.current=!0},[ie]),(0,ne.useEffect)(function(){return fi(function(Fn){var oa=Io(Fn),$n=ge(oa);oe&&($n?!ft&&(!Xt||$n)&&me(!1):(Nn.current=!0,(0,qn.Z)(function(){Nn.current=!1})))})}),[ra,{focused:Xt,typing:_e}]}function Nr(ee,oe){return ne.useMemo(function(){return ee||(oe?((0,Te.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],Ae=ge[1];return{label:me,value:Ae}})):[])},[ee,oe])}var Mn=te(14075);function at(ee){var oe=ee.valueTexts,ie=ee.onTextChange,ge=ne.useState(""),me=(0,Ce.Z)(ge,2),Ae=me[0],Ee=me[1],Ue=ne.useRef([]);Ue.current=oe;function Qe(It){Ee(It),ie(It)}function ot(){Ee(Ue.current[0])}return(0,Mn.Z)(function(){oe.every(function(It){return It!==Ae})&&ot()},[oe.join("||")]),[Ae,Qe,ot]}var st=ne.createContext({}),et=st,Zt=te(71002);function mn(ee){var oe=ee.cellRender,ie=ee.monthCellRender,ge=ee.dateRender,me=ne.useMemo(function(){if(oe)return oe;if(!(!ie&&!ge))return function(Ae,Ee){var Ue=Ae;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 zn(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 Ln(ee,oe){return ee?ee[oe]:null}function va(ee,oe,ie){var ge=[Ln(ee,0),Ln(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 yn(ee){var oe=ee.cellPrefixCls,ie=ee.generateConfig,ge=ee.rangedValue,me=ee.hoverRangedValue,Ae=ee.isInView,Ee=ee.isSameCell,Ue=ee.offsetCell,Qe=ee.today,ot=ee.value;function It(ut){var ft,St=Ue(ut,-1),Ct=Ue(ut,1),_e=Ln(ge,0),pt=Ln(ge,1),Ht=Ln(me,0),dn=Ln(me,1),Xt=Yn(ie,Ht,dn,ut);function Yt(oa){return Ee(_e,oa)}function Nn(oa){return Ee(pt,oa)}var Wt=Ee(Ht,ut),Qt=Ee(dn,ut),ra=(Xt||Qt)&&(!Ae(St)||Nn(St)),Fn=(Xt||Wt)&&(!Ae(Ct)||Yt(Ct));return ft={},(0,Ye.Z)(ft,"".concat(oe,"-in-view"),Ae(ut)),(0,Ye.Z)(ft,"".concat(oe,"-in-range"),Yn(ie,_e,pt,ut)),(0,Ye.Z)(ft,"".concat(oe,"-range-start"),Yt(ut)),(0,Ye.Z)(ft,"".concat(oe,"-range-end"),Nn(ut)),(0,Ye.Z)(ft,"".concat(oe,"-range-start-single"),Yt(ut)&&!pt),(0,Ye.Z)(ft,"".concat(oe,"-range-end-single"),Nn(ut)&&!_e),(0,Ye.Z)(ft,"".concat(oe,"-range-start-near-hover"),Yt(ut)&&(Ee(St,Ht)||Yn(ie,Ht,dn,St))),(0,Ye.Z)(ft,"".concat(oe,"-range-end-near-hover"),Nn(ut)&&(Ee(Ct,dn)||Yn(ie,Ht,dn,Ct))),(0,Ye.Z)(ft,"".concat(oe,"-range-hover"),Xt),(0,Ye.Z)(ft,"".concat(oe,"-range-hover-start"),Wt),(0,Ye.Z)(ft,"".concat(oe,"-range-hover-end"),Qt),(0,Ye.Z)(ft,"".concat(oe,"-range-hover-edge-start"),ra),(0,Ye.Z)(ft,"".concat(oe,"-range-hover-edge-end"),Fn),(0,Ye.Z)(ft,"".concat(oe,"-range-hover-edge-start-near-range"),ra&&Ee(St,pt)),(0,Ye.Z)(ft,"".concat(oe,"-range-hover-edge-end-near-range"),Fn&&Ee(Ct,_e)),(0,Ye.Z)(ft,"".concat(oe,"-today"),Ee(Qe,ut)),(0,Ye.Z)(ft,"".concat(oe,"-selected"),Ee(ot,ut)),ft}return It}var $r=ne.createContext({}),Qo=$r;function Qi(ee,oe,ie,ge,me){var Ae=ee.setHour(oe,ie);return Ae=ee.setMinute(Ae,ge),Ae=ee.setSecond(Ae,me),Ae}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,Ae){var Ee=Math.floor(ee/ge)*ge;if(Ee<ee)return[Ee,60-me,60-Ae];var Ue=Math.floor(oe/me)*me;if(Ue<oe)return[Ee,Ue,60-Ae];var Qe=Math.floor(ie/Ae)*Ae;return[Ee,Ue,Qe]}function gl(ee,oe){var ie=ee.getYear(oe),ge=ee.getMonth(oe)+1,me=ee.getEndDate(ee.getFixedDate("".concat(ie,"-").concat(ge,"-01"))),Ae=ee.getDate(me),Ee=ge<10?"0".concat(ge):"".concat(ge);return"".concat(ie,"-").concat(Ee,"-").concat(Ae)}function br(ee){for(var oe=ee.prefixCls,ie=ee.disabledDate,ge=ee.onSelect,me=ee.picker,Ae=ee.rowNum,Ee=ee.colNum,Ue=ee.prefixColumn,Qe=ee.rowClassName,ot=ee.baseDate,It=ee.getCellClassName,ut=ee.getCellText,ft=ee.getCellNode,St=ee.getCellDate,Ct=ee.generateConfig,_e=ee.titleCell,pt=ee.headerCells,Ht=ne.useContext(et),dn=Ht.onDateMouseEnter,Xt=Ht.onDateMouseLeave,Yt=Ht.mode,Nn="".concat(oe,"-cell"),Wt=[],Qt=0;Qt<Ae;Qt+=1){for(var ra=[],Fn=void 0,oa=function(){var or,xr=Qt*Ee+$n,Fa=St(ot,xr),Za=Un({cellDate:Fa,mode:Yt,disabledDate:ie,generateConfig:Ct});$n===0&&(Fn=Fa,Ue&&ra.push(Ue(Fn)));var ma=_e&&_e(Fa),Er=ne.createElement("div",{className:"".concat(Nn,"-inner")},ut(Fa));ra.push(ne.createElement("td",{key:$n,title:ma,className:Jt()(Nn,(0,Lt.Z)((or={},(0,Ye.Z)(or,"".concat(Nn,"-disabled"),Za),(0,Ye.Z)(or,"".concat(Nn,"-start"),ut(Fa)===1||me==="year"&&Number(ma)%10===0),(0,Ye.Z)(or,"".concat(Nn,"-end"),ma===gl(Ct,Fa)||me==="year"&&Number(ma)%10===9),or),It(Fa))),onClick:function(){Za||ge(Fa)},onMouseEnter:function(){!Za&&dn&&dn(Fa)},onMouseLeave:function(){!Za&&Xt&&Xt(Fa)}},ft?ft(Fa,Er):Er))},$n=0;$n<Ee;$n+=1)oa();Wt.push(ne.createElement("tr",{key:Qt,className:Qe&&Qe(Fn)},ra))}return ne.createElement("div",{className:"".concat(oe,"-body")},ne.createElement("table",{className:"".concat(oe,"-content")},pt&&ne.createElement("thead",null,ne.createElement("tr",null,pt)),ne.createElement("tbody",null,Wt)))}function Pl(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.prefixColumn,me=ee.locale,Ae=ee.rowCount,Ee=ee.viewDate,Ue=ee.value,Qe=ee.cellRender,ot=ee.isSameCell,It=ne.useContext(Qo),ut=It.rangedValue,ft=It.hoverRangedValue,St=Dn(me.locale,ie,Ee),Ct="".concat(oe,"-cell"),_e=ie.locale.getWeekFirstDay(me.locale),pt=ie.getNow(),Ht=[],dn=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<Be;Xt+=1)Ht.push(ne.createElement("th",{key:Xt},dn[(Xt+_e)%Be]));var Yt=yn({cellPrefixCls:Ct,today:pt,value:Ue,generateConfig:ie,rangedValue:ge?null:ut,hoverRangedValue:ge?null:ft,isSameCell:ot||function(Wt,Qt){return bn(ie,Wt,Qt)},isInView:function(Qt){return Gn(ie,Qt,Ee)},offsetCell:function(Qt,ra){return ie.addDate(Qt,ra)}}),Nn=Qe?function(Wt,Qt){return Qe(Wt,{originNode:Qt,today:pt,type:"date",locale:me})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:Ae,colNum:Be,baseDate:St,getCellNode:Nn,getCellText:ie.getDate,getCellClassName:Yt,getCellDate:ie.addDate,titleCell:function(Qt){return _t(Qt,{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,Ae=me===void 0?"\u203A":me,Ee=ee.superPrevIcon,Ue=Ee===void 0?"\xAB":Ee,Qe=ee.superNextIcon,ot=Qe===void 0?"\xBB":Qe,It=ee.onSuperPrev,ut=ee.onSuperNext,ft=ee.onPrev,St=ee.onNext,Ct=ee.children,_e=ne.useContext(et),pt=_e.hideNextBtn,Ht=_e.hidePrevBtn;return ne.createElement("div",{className:oe},It&&ne.createElement("button",{type:"button",onClick:It,tabIndex:-1,className:"".concat(oe,"-super-prev-btn"),style:Ht?Ii:{}},Ue),ft&&ne.createElement("button",{type:"button",onClick:ft,tabIndex:-1,className:"".concat(oe,"-prev-btn"),style:Ht?Ii:{}},ge),ne.createElement("div",{className:"".concat(oe,"-view")},Ct),St&&ne.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(oe,"-next-btn"),style:pt?Ii:{}},Ae),ut&&ne.createElement("button",{type:"button",onClick:ut,tabIndex:-1,className:"".concat(oe,"-super-next-btn"),style:pt?Ii:{}},ot))}var tl=mi;function fl(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.viewDate,Ae=ee.onNextMonth,Ee=ee.onPrevMonth,Ue=ee.onNextYear,Qe=ee.onPrevYear,ot=ee.onYearClick,It=ee.onMonthClick,ut=ne.useContext(et),ft=ut.hideHeader;if(ft)return null;var St="".concat(oe,"-header"),Ct=ge.shortMonths||(ie.locale.getShortMonths?ie.locale.getShortMonths(ge.locale):[]),_e=ie.getMonth(me),pt=ne.createElement("button",{type:"button",key:"year",onClick:ot,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:It,tabIndex:-1,className:"".concat(oe,"-month-btn")},ge.monthFormat?_t(me,{locale:ge,format:ge.monthFormat,generateConfig:ie}):Ct[_e]),dn=ge.monthBeforeYear?[Ht,pt]:[pt,Ht];return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:St,onSuperPrev:Qe,onPrev:Ee,onNext:Ae,onSuperNext:Ue}),dn)}var Es=fl,hn=6;function Os(ee){var oe=ee.prefixCls,ie=ee.panelName,ge=ie===void 0?"date":ie,me=ee.keyboardConfig,Ae=ee.active,Ee=ee.operationRef,Ue=ee.generateConfig,Qe=ee.value,ot=ee.viewDate,It=ee.onViewDateChange,ut=ee.onPanelChange,ft=ee.onSelect,St="".concat(oe,"-").concat(ge,"-panel");Ee.current={onKeyDown:function(Ht){return Mr(Ht,(0,Lt.Z)({onLeftRight:function(Xt){ft(Ue.addDate(Qe||ot,Xt),"key")},onCtrlLeftRight:function(Xt){ft(Ue.addYear(Qe||ot,Xt),"key")},onUpDown:function(Xt){ft(Ue.addDate(Qe||ot,Xt*Be),"key")},onPageUpDown:function(Xt){ft(Ue.addMonth(Qe||ot,Xt),"key")}},me))}};var Ct=function(Ht){var dn=Ue.addYear(ot,Ht);It(dn),ut(null,dn)},_e=function(Ht){var dn=Ue.addMonth(ot,Ht);It(dn),ut(null,dn)};return ne.createElement("div",{className:Jt()(St,(0,Ye.Z)({},"".concat(St,"-active"),Ae))},ne.createElement(Es,(0,re.Z)({},ee,{prefixCls:oe,value:Qe,viewDate:ot,onPrevYear:function(){Ct(-1)},onNextYear:function(){Ct(1)},onPrevMonth:function(){_e(-1)},onNextMonth:function(){_e(1)},onMonthClick:function(){ut("month",ot)},onYearClick:function(){ut("year",ot)}})),ne.createElement(ol,(0,re.Z)({},ee,{onSelect:function(Ht){return ft(Ht,"mouse")},prefixCls:oe,value:Qe,viewDate:ot,rowCount:hn})))}var ml=Os;function mo(ee){var oe=ne.useContext(et),ie=oe.hideHeader;if(ie)return null;var ge=ee.prefixCls,me=ee.generateConfig,Ae=ee.locale,Ee=ee.value,Ue=ee.format,Qe="".concat(ge,"-header");return ne.createElement(tl,{prefixCls:Qe},Ee?_t(Ee,{locale:Ae,format:Ue,generateConfig:me}):"\xA0")}var Il=mo;function In(ee){var oe=ee.value,ie=ee.generateConfig,ge=ee.disabledMinutes,me=ee.disabledSeconds,Ae=ee.minutes,Ee=ee.seconds,Ue=ee.use12Hours,Qe=function(It,ut,ft,St){var Ct=ie.getNow(),_e=oe||Ct,pt=ut<0?ie.getHour(Ct):ut,Ht=ft<0?ie.getMinute(Ct):ft,dn=St<0?ie.getSecond(Ct):St,Xt=ge&&ge(pt);if(Xt!=null&&Xt.includes(Ht)){var Yt=Ae.find(function(Qt){return!Xt.includes(Qt.value)});if(Yt)Ht=Yt.value;else return null}var Nn=me&&me(pt,Ht);if(Nn!=null&&Nn.includes(dn)){var Wt=Ee.find(function(Qt){return!Nn.includes(Qt.value)});if(Wt)dn=Wt.value;else return null}return _e=Qi(ie,_e,!Ue||!It?pt:pt+12,Ht,dn),_e};return Qe}function Aa(ee){var oe=ee.prefixCls,ie=ee.units,ge=ee.onSelect,me=ee.value,Ae=ee.active,Ee=ee.hideDisabledOptions,Ue=ee.info,Qe=ee.type,ot="".concat(oe,"-cell"),It=ne.useContext(et),ut=It.open,ft=(0,ne.useRef)(null),St=(0,ne.useRef)(new Map),Ct=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var _e=St.current.get(me);_e&&ut!==!1&&Va(ft.current,_e.offsetTop,120)},[me]),(0,ne.useLayoutEffect)(function(){if(ut){var _e=St.current.get(me);_e&&(Ct.current=Zr(_e,function(){Va(ft.current,_e.offsetTop,0)}))}return function(){var pt;(pt=Ct.current)===null||pt===void 0||pt.call(Ct)}},[ut]),ne.createElement("ul",{className:Jt()("".concat(oe,"-column"),(0,Ye.Z)({},"".concat(oe,"-column-active"),Ae)),ref:ft,style:{position:"relative"}},ie.map(function(_e){var pt;return Ee&&_e.disabled?null:ne.createElement("li",{key:_e.value,ref:function(dn){St.current.set(_e.value,dn)},className:Jt()(ot,(pt={},(0,Ye.Z)(pt,"".concat(ot,"-disabled"),_e.disabled),(0,Ye.Z)(pt,"".concat(ot,"-selected"),me===_e.value),pt)),onClick:function(){_e.disabled||ge(_e.value)}},Ue.cellRender?Ue.cellRender(_e.value,{today:Ue.today,locale:Ue.locale,originNode:ne.createElement("div",{className:"".concat(ot,"-inner")},_e.label),type:"time",subType:Qe}):ne.createElement("div",{className:"".concat(ot,"-inner")},_e.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=[],Ae=ie>=1?ie|0:1,Ee=ee;Ee<=oe;Ee+=Ae)me.push({label:zn(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,Ae=ee.value,Ee=ee.showHour,Ue=ee.showMinute,Qe=ee.showSecond,ot=ee.use12Hours,It=ee.hourStep,ut=It===void 0?1:It,ft=ee.minuteStep,St=ft===void 0?1:ft,Ct=ee.secondStep,_e=Ct===void 0?1:Ct,pt=ee.disabledHours,Ht=ee.disabledMinutes,dn=ee.disabledSeconds,Xt=ee.disabledTime,Yt=ee.hideDisabledOptions,Nn=ee.onSelect,Wt=ee.cellRender,Qt=ee.locale,ra=[],Fn="".concat(ie,"-content"),oa="".concat(ie,"-time-panel"),$n,Ra=Ae?oe.getHour(Ae):-1,or=Ra,xr=Ae?oe.getMinute(Ae):-1,Fa=Ae?oe.getSecond(Ae):-1,Za=oe.getNow(),ma=ne.useMemo(function(){if(Xt){var tr=Xt(Za);return[tr.disabledHours,tr.disabledMinutes,tr.disabledSeconds]}return[pt,Ht,dn]},[pt,Ht,dn,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,ua.Z)(function(){return uo},uo,Na);ot&&($n=or>=12,or%=12);var ei=ne.useMemo(function(){if(!ot)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},[ot,xo]),Xr=(0,Ce.Z)(ei,2),Go=Xr[0],kr=Xr[1],Ir=ne.useMemo(function(){return ot?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":zn(co,2);return(0,Lt.Z)((0,Lt.Z)({},tr),{},{label:Vr,value:co})}):xo},[ot,$n,xo]),ao=Lo(0,59,St,ir&&ir(Ra)),Ko=Lo(0,59,_e,no&&no(Ra,xr)),Vo=In({value:Ae,generateConfig:oe,disabledMinutes:ir,disabledSeconds:no,minutes:ao,seconds:Ko,use12Hours:ot});ge.current={onUpDown:function(co){var Vr=ra[me];if(Vr)for(var wr=Vr.units.findIndex(function(ki){return ki.value===Vr.value}),Ba=Vr.units.length,Dr=1;Dr<Ba;Dr+=1){var Po=Vr.units[(wr+co*Dr+Ba)%Ba];if(Po.disabled!==!0){Vr.onSelect(Po.value);break}}}};function xi(tr,co,Vr,wr,Ba){tr!==!1&&ra.push({node:ne.cloneElement(co,{prefixCls:oa,value:Vr,active:me===ra.length,onSelect:Ba,units:wr,hideDisabledOptions:Yt}),onSelect:Ba,value:Vr,units:wr})}xi(Ee,ne.createElement(vr,{key:"hour",type:"hour",info:{today:Za,locale:Qt,cellRender:Wt}}),or,Ir,function(tr){Nn(Vo($n,tr,xr,Fa),"mouse")}),xi(Ue,ne.createElement(vr,{key:"minute",type:"minute",info:{today:Za,locale:Qt,cellRender:Wt}}),xr,ao,function(tr){Nn(Vo($n,or,tr,Fa),"mouse")}),xi(Qe,ne.createElement(vr,{key:"second",type:"second",info:{today:Za,locale:Qt,cellRender:Wt}}),Fa,Ko,function(tr){Nn(Vo($n,or,xr,tr),"mouse")});var Uo=-1;return typeof $n=="boolean"&&(Uo=$n?1:0),xi(ot===!0,ne.createElement(vr,{key:"meridiem",type:"meridiem",info:{today:Za,locale:Qt,cellRender:Wt}}),Uo,[{label:"AM",value:0,disabled:Go},{label:"PM",value:1,disabled:kr}],function(tr){Nn(Vo(!!tr,or,xr,Fa),"mouse")}),ne.createElement("div",{className:Fn},ra.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,Ae=ee.active,Ee=ee.operationRef,Ue=ee.showHour,Qe=ee.showMinute,ot=ee.showSecond,It=ee.use12Hours,ut=It===void 0?!1:It,ft=ee.onSelect,St=ee.value,Ct="".concat(me,"-time-panel"),_e=ne.useRef(),pt=ne.useState(-1),Ht=(0,Ce.Z)(pt,2),dn=Ht[0],Xt=Ht[1],Yt=ji([Ue,Qe,ot,ut]);return Ee.current={onKeyDown:function(Wt){return Mr(Wt,{onLeftRight:function(ra){Xt((dn+ra+Yt)%Yt)},onUpDown:function(ra){dn===-1?Xt(0):_e.current&&_e.current.onUpDown(ra)},onEnter:function(){ft(St||oe.getNow(),"key"),Xt(-1)}})},onBlur:function(){Xt(-1)}},ne.createElement("div",{className:Jt()(Ct,(0,Ye.Z)({},"".concat(Ct,"-active"),Ae))},ne.createElement(Il,(0,re.Z)({},ee,{format:ge,prefixCls:me})),ne.createElement(Ai,(0,re.Z)({},ee,{prefixCls:me,activeColumnIndex:dn,operationRef:_e})))}var fs=il,Zi=La("date","time");function Ts(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.generateConfig,me=ee.value,Ae=ee.defaultValue,Ee=ee.disabledTime,Ue=ee.showTime,Qe=ee.onSelect,ot=ee.cellRender,It="".concat(oe,"-datetime-panel"),ut=ne.useState(null),ft=(0,Ce.Z)(ut,2),St=ft[0],Ct=ft[1],_e=ne.useRef({}),pt=ne.useRef({}),Ht=(0,Zt.Z)(Ue)==="object"?(0,Lt.Z)({},Ue):{};function dn(Wt){var Qt=Zi.indexOf(St)+Wt,ra=Zi[Qt]||null;return ra}var Xt=function(Qt){pt.current.onBlur&&pt.current.onBlur(Qt),Ct(null)};ie.current={onKeyDown:function(Qt){if(Qt.which===un.Z.TAB){var ra=dn(Qt.shiftKey?-1:1);return Ct(ra),ra&&Qt.preventDefault(),!0}if(St){var Fn=St==="date"?_e:pt;return Fn.current&&Fn.current.onKeyDown&&Fn.current.onKeyDown(Qt),!0}return[un.Z.LEFT,un.Z.RIGHT,un.Z.UP,un.Z.DOWN].includes(Qt.which)?(Ct("date"),!0):!1},onBlur:Xt,onClose:Xt};var Yt=function(Qt,ra){var Fn=Qt;ra==="date"&&!me&&Ht.defaultValue?(Fn=ge.setHour(Fn,ge.getHour(Ht.defaultValue)),Fn=ge.setMinute(Fn,ge.getMinute(Ht.defaultValue)),Fn=ge.setSecond(Fn,ge.getSecond(Ht.defaultValue))):ra==="time"&&!me&&Ae&&(Fn=ge.setYear(Fn,ge.getYear(Ae)),Fn=ge.setMonth(Fn,ge.getMonth(Ae)),Fn=ge.setDate(Fn,ge.getDate(Ae))),Qe&&Qe(Fn,"mouse")},Nn=Ee?Ee(me||null):{};return ne.createElement("div",{className:Jt()(It,(0,Ye.Z)({},"".concat(It,"-active"),St))},ne.createElement(ml,(0,re.Z)({},ee,{cellRender:ot,operationRef:_e,active:St==="date",onSelect:function(Qt){Yt(Jo(ge,Qt,!me&&(0,Zt.Z)(Ue)==="object"?Ue.defaultValue:null),"date")}})),ne.createElement(fs,(0,re.Z)({},ee,{cellRender:ot?function(Wt,Qt){return ot(Wt,(0,Lt.Z)((0,Lt.Z)({},Qt),{},{type:"time"}))}:void 0,format:void 0},Ht,Nn,{disabledTime:null,defaultValue:void 0,operationRef:pt,active:St==="time",onSelect:function(Qt){Yt(Qt,"time")}})))}var dd=Ts;function Ul(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.viewDate,me=ee.onPrevDecades,Ae=ee.onNextDecades,Ee=ne.useContext(et),Ue=Ee.hideHeader;if(Ue)return null;var Qe="".concat(oe,"-header"),ot=ie.getYear(ge),It=Math.floor(ot/Me)*Me,ut=It+Me-1;return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:Qe,onSuperPrev:me,onSuperNext:Ae}),It,"-",ut)}var ms=Ul,is=3,vs=4;function Is(ee){var oe=gt-1,ie=ee.prefixCls,ge=ee.viewDate,me=ee.generateConfig,Ae=ee.cellRender,Ee=ee.locale,Ue="".concat(ie,"-cell"),Qe=me.getYear(ge),ot=Math.floor(Qe/gt)*gt,It=Math.floor(Qe/Me)*Me,ut=It+Me-1,ft=me.setYear(ge,It-Math.ceil((is*vs*gt-Me)/2)),St=function(pt){var Ht,dn=me.getYear(pt),Xt=dn+oe;return Ht={},(0,Ye.Z)(Ht,"".concat(Ue,"-in-view"),It<=dn&&Xt<=ut),(0,Ye.Z)(Ht,"".concat(Ue,"-selected"),dn===ot),Ht},Ct=Ae?function(_e,pt){return Ae(_e,{originNode:pt,today:me.getNow(),type:"decade",locale:Ee})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:vs,colNum:is,baseDate:ft,getCellNode:Ct,getCellText:function(pt){var Ht=me.getYear(pt);return"".concat(Ht,"-").concat(Ht+oe)},getCellClassName:St,getCellDate:function(pt,Ht){return me.addYear(pt,Ht*gt)}}))}var $l=Is;function hs(ee){var oe=ee.prefixCls,ie=ee.onViewDateChange,ge=ee.generateConfig,me=ee.viewDate,Ae=ee.operationRef,Ee=ee.onSelect,Ue=ee.onPanelChange,Qe="".concat(oe,"-decade-panel");Ae.current={onKeyDown:function(ft){return Mr(ft,{onLeftRight:function(Ct){Ee(ge.addYear(me,Ct*gt),"key")},onCtrlLeftRight:function(Ct){Ee(ge.addYear(me,Ct*Me),"key")},onUpDown:function(Ct){Ee(ge.addYear(me,Ct*gt*is),"key")},onEnter:function(){Ue("year",me)}})}};var ot=function(ft){var St=ge.addYear(me,ft*Me);ie(St),Ue(null,St)},It=function(ft){Ee(ft,"mouse"),Ue("year",ft)};return ne.createElement("div",{className:Qe},ne.createElement(ms,(0,re.Z)({},ee,{prefixCls:oe,onPrevDecades:function(){ot(-1)},onNextDecades:function(){ot(1)}})),ne.createElement($l,(0,re.Z)({},ee,{prefixCls:oe,onSelect:It})))}var Yl=hs;function Ss(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.viewDate,Ae=ee.onNextYear,Ee=ee.onPrevYear,Ue=ee.onYearClick,Qe=ne.useContext(et),ot=Qe.hideHeader;if(ot)return null;var It="".concat(oe,"-header");return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:It,onSuperPrev:Ee,onSuperNext:Ae}),ne.createElement("button",{type:"button",onClick:Ue,className:"".concat(oe,"-year-btn")},_t(me,{locale:ge,format:ge.yearFormat,generateConfig:ie})))}var bt=Ss,Nt=3,Vt=4;function De(ee){var oe=ee.prefixCls,ie=ee.locale,ge=ee.value,me=ee.viewDate,Ae=ee.generateConfig,Ee=ee.cellRender,Ue=ne.useContext(Qo),Qe=Ue.rangedValue,ot=Ue.hoverRangedValue,It="".concat(oe,"-cell"),ut=yn({cellPrefixCls:It,value:ge,generateConfig:Ae,rangedValue:Qe,hoverRangedValue:ot,isSameCell:function(pt,Ht){return Gn(Ae,pt,Ht)},isInView:function(){return!0},offsetCell:function(pt,Ht){return Ae.addMonth(pt,Ht)}}),ft=ie.shortMonths||(Ae.locale.getShortMonths?Ae.locale.getShortMonths(ie.locale):[]),St=Ae.setMonth(me,0),Ct=Ee?function(_e,pt){return Ee(_e,{originNode:pt,locale:ie,today:Ae.getNow(),type:"month"})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:Vt,colNum:Nt,baseDate:St,getCellNode:Ct,getCellText:function(pt){return ie.monthFormat?_t(pt,{locale:ie,format:ie.monthFormat,generateConfig:Ae}):ft[Ae.getMonth(pt)]},getCellClassName:ut,getCellDate:Ae.addMonth,titleCell:function(pt){return _t(pt,{locale:ie,format:"YYYY-MM",generateConfig:Ae})}}))}var zt=De;function gn(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.onViewDateChange,me=ee.generateConfig,Ae=ee.value,Ee=ee.viewDate,Ue=ee.onPanelChange,Qe=ee.onSelect,ot="".concat(oe,"-month-panel");ie.current={onKeyDown:function(ft){return Mr(ft,{onLeftRight:function(Ct){Qe(me.addMonth(Ae||Ee,Ct),"key")},onCtrlLeftRight:function(Ct){Qe(me.addYear(Ae||Ee,Ct),"key")},onUpDown:function(Ct){Qe(me.addMonth(Ae||Ee,Ct*Nt),"key")},onEnter:function(){Ue("date",Ae||Ee)}})}};var It=function(ft){var St=me.addYear(Ee,ft);ge(St),Ue(null,St)};return ne.createElement("div",{className:ot},ne.createElement(bt,(0,re.Z)({},ee,{prefixCls:oe,onPrevYear:function(){It(-1)},onNextYear:function(){It(1)},onYearClick:function(){Ue("year",Ee)}})),ne.createElement(zt,(0,re.Z)({},ee,{prefixCls:oe,onSelect:function(ft){Qe(ft,"mouse"),Ue("date",ft)}})))}var vn=gn;function Dt(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.viewDate,Ae=ee.onNextYear,Ee=ee.onPrevYear,Ue=ee.onYearClick,Qe=ne.useContext(et),ot=Qe.hideHeader;if(ot)return null;var It="".concat(oe,"-header");return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:It,onSuperPrev:Ee,onSuperNext:Ae}),ne.createElement("button",{type:"button",onClick:Ue,className:"".concat(oe,"-year-btn")},_t(me,{locale:ge,format:ge.yearFormat,generateConfig:ie})))}var Gt=Dt,Tt=4,pn=1;function Wn(ee){var oe=ee.prefixCls,ie=ee.locale,ge=ee.value,me=ee.viewDate,Ae=ee.generateConfig,Ee=ee.cellRender,Ue=ne.useContext(Qo),Qe=Ue.rangedValue,ot=Ue.hoverRangedValue,It="".concat(oe,"-cell"),ut=yn({cellPrefixCls:It,value:ge,generateConfig:Ae,rangedValue:Qe,hoverRangedValue:ot,isSameCell:function(_e,pt){return On(Ae,_e,pt)},isInView:function(){return!0},offsetCell:function(_e,pt){return Ae.addMonth(_e,pt*3)}}),ft=Ae.setDate(Ae.setMonth(me,0),1),St=Ee?function(Ct,_e){return Ee(Ct,{originNode:_e,locale:ie,today:Ae.getNow(),type:"quarter"})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:pn,colNum:Tt,baseDate:ft,getCellNode:St,getCellText:function(_e){return _t(_e,{locale:ie,format:ie.quarterFormat||"[Q]Q",generateConfig:Ae})},getCellClassName:ut,getCellDate:function(_e,pt){return Ae.addMonth(_e,pt*3)},titleCell:function(_e){return _t(_e,{locale:ie,format:"YYYY-[Q]Q",generateConfig:Ae})}}))}var ia=Wn;function ta(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.onViewDateChange,me=ee.generateConfig,Ae=ee.value,Ee=ee.viewDate,Ue=ee.onPanelChange,Qe=ee.onSelect,ot="".concat(oe,"-quarter-panel");ie.current={onKeyDown:function(ft){return Mr(ft,{onLeftRight:function(Ct){Qe(me.addMonth(Ae||Ee,Ct*3),"key")},onCtrlLeftRight:function(Ct){Qe(me.addYear(Ae||Ee,Ct),"key")},onUpDown:function(Ct){Qe(me.addYear(Ae||Ee,Ct),"key")}})}};var It=function(ft){var St=me.addYear(Ee,ft);ge(St),Ue(null,St)};return ne.createElement("div",{className:ot},ne.createElement(Gt,(0,re.Z)({},ee,{prefixCls:oe,onPrevYear:function(){It(-1)},onNextYear:function(){It(1)},onYearClick:function(){Ue("year",Ee)}})),ne.createElement(ia,(0,re.Z)({},ee,{prefixCls:oe,onSelect:function(ft){Qe(ft,"mouse")}})))}var pa=ta;function Ha(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.locale,me=ee.value,Ae=ee.disabledDate,Ee=ee.onSelect,Ue=ne.useContext(Qo),Qe=Ue.rangedValue,ot=Ue.hoverRangedValue,It=ne.useContext(et),ut=It.onDateMouseEnter,ft=It.onDateMouseLeave,St=(ot==null?void 0:ot[0])||(Qe==null?void 0:Qe[0]),Ct=(ot==null?void 0:ot[1])||(Qe==null?void 0:Qe[1]),_e="".concat(oe,"-cell"),pt=function(Yt){var Nn=Un({cellDate:Yt,mode:"week",disabledDate:Ae,generateConfig:ie});return ne.createElement("td",{key:"week",className:Jt()(_e,"".concat(_e,"-week")),onClick:function(){Nn||Ee(Yt,"mouse")},onMouseEnter:function(){!Nn&&ut&&ut(Yt)},onMouseLeave:function(){!Nn&&ft&&ft(Yt)}},ne.createElement("div",{className:"".concat(_e,"-inner")},ie.locale.getWeek(ge.locale,Yt)))},Ht="".concat(oe,"-week-panel-row"),dn=function(Yt){var Nn,Wt=Ie(ie,ge.locale,St,Yt),Qt=Ie(ie,ge.locale,Ct,Yt);return Jt()(Ht,(Nn={},(0,Ye.Z)(Nn,"".concat(Ht,"-selected"),!Qe&&Ie(ie,ge.locale,me,Yt)),(0,Ye.Z)(Nn,"".concat(Ht,"-range-start"),Wt),(0,Ye.Z)(Nn,"".concat(Ht,"-range-end"),Qt),(0,Ye.Z)(Nn,"".concat(Ht,"-range-hover"),!Wt&&!Qt&&Yn(ie,St,Ct,Yt)),Nn))};return ne.createElement(ml,(0,re.Z)({},ee,{panelName:"week",prefixColumn:pt,rowClassName:dn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var on=Ha,Et=10;function nn(ee){var oe=ee.prefixCls,ie=ee.generateConfig,ge=ee.viewDate,me=ee.onPrevDecade,Ae=ee.onNextDecade,Ee=ee.onDecadeClick,Ue=ne.useContext(et),Qe=Ue.hideHeader;if(Qe)return null;var ot="".concat(oe,"-header"),It=ie.getYear(ge),ut=Math.floor(It/Et)*Et,ft=ut+Et-1;return ne.createElement(tl,(0,re.Z)({},ee,{prefixCls:ot,onSuperPrev:me,onSuperNext:Ae}),ne.createElement("button",{type:"button",onClick:Ee,className:"".concat(oe,"-decade-btn")},ut,"-",ft))}var ln=nn,jn=3,Sa=4;function Oa(ee){var oe=ee.prefixCls,ie=ee.value,ge=ee.viewDate,me=ee.locale,Ae=ee.generateConfig,Ee=ee.cellRender,Ue=ne.useContext(Qo),Qe=Ue.rangedValue,ot=Ue.hoverRangedValue,It="".concat(oe,"-cell"),ut=Ae.getYear(ge),ft=Math.floor(ut/Et)*Et,St=ft+Et-1,Ct=Ae.setYear(ge,ft-Math.ceil((jn*Sa-Et)/2)),_e=Ae.getNow(),pt=function(Yt){var Nn=Ae.getYear(Yt);return ft<=Nn&&Nn<=St},Ht=yn({cellPrefixCls:It,value:ie,generateConfig:Ae,rangedValue:Qe,hoverRangedValue:ot,isSameCell:function(Yt,Nn){return jt(Ae,Yt,Nn)},isInView:pt,offsetCell:function(Yt,Nn){return Ae.addYear(Yt,Nn)}}),dn=Ee?function(Xt,Yt){return Ee(Xt,{originNode:Yt,today:_e,type:"year",locale:me})}:void 0;return ne.createElement(br,(0,re.Z)({},ee,{rowNum:Sa,colNum:jn,baseDate:Ct,getCellNode:dn,getCellText:Ae.getYear,getCellClassName:Ht,getCellDate:Ae.addYear,titleCell:function(Yt){return _t(Yt,{locale:me,format:"YYYY",generateConfig:Ae})}}))}var ar=Oa;function Ka(ee){var oe=ee.prefixCls,ie=ee.operationRef,ge=ee.onViewDateChange,me=ee.generateConfig,Ae=ee.value,Ee=ee.viewDate,Ue=ee.sourceMode,Qe=ee.onSelect,ot=ee.onPanelChange,It="".concat(oe,"-year-panel");ie.current={onKeyDown:function(St){return Mr(St,{onLeftRight:function(_e){Qe(me.addYear(Ae||Ee,_e),"key")},onCtrlLeftRight:function(_e){Qe(me.addYear(Ae||Ee,_e*Et),"key")},onUpDown:function(_e){Qe(me.addYear(Ae||Ee,_e*jn),"key")},onEnter:function(){ot(Ue==="date"?"date":"month",Ae||Ee)}})}};var ut=function(St){var Ct=me.addYear(Ee,St*10);ge(Ct),ot(null,Ct)};return ne.createElement("div",{className:It},ne.createElement(ln,(0,re.Z)({},ee,{prefixCls:oe,onPrevDecade:function(){ut(-1)},onNextDecade:function(){ut(1)},onDecadeClick:function(){ot("decade",Ee)}})),ne.createElement(ar,(0,re.Z)({},ee,{prefixCls:oe,onSelect:function(St){ot(Ue==="date"?"date":"month",St),Qe(St,"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,Ae=ee.onNow,Ee=ee.onOk,Ue=ee.okDisabled,Qe=ee.showNow,ot=ee.locale,It,ut;if(me){var ft=ge.button||"button";Ae&&Qe!==!1&&(It=ne.createElement("li",{className:"".concat(oe,"-now")},ne.createElement("a",{className:"".concat(oe,"-now-btn"),onClick:Ae},ot.now))),ut=me&&ne.createElement("li",{className:"".concat(oe,"-ok")},ne.createElement(ft,{disabled:Ue,onClick:Ee},ot.ok))}return!It&&!ut?null:ne.createElement("ul",{className:"".concat(oe,"-ranges")},It,ut)}var Yr=["date","month"];function Gr(ee){var oe,ie=ee,ge=ie.prefixCls,me=ge===void 0?"rc-picker":ge,Ae=ie.className,Ee=ie.style,Ue=ie.locale,Qe=ie.generateConfig,ot=ie.value,It=ie.defaultValue,ut=ie.pickerValue,ft=ie.defaultPickerValue,St=ie.disabledDate,Ct=ie.mode,_e=ie.picker,pt=_e===void 0?"date":_e,Ht=ie.tabIndex,dn=Ht===void 0?0:Ht,Xt=ie.showNow,Yt=ie.showTime,Nn=ie.showToday,Wt=ie.renderExtraFooter,Qt=ie.hideHeader,ra=ie.onSelect,Fn=ie.onChange,oa=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=pt==="date"&&!!Yt||pt==="time",Go=24%ma===0,kr=60%_a===0,Ir=60%no===0,ao=ne.useContext(et),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,Ba=tr.hoverRangedValue,Dr=ne.useRef({}),Po=ne.useRef(!0),ki=(0,rn.Z)(null,{value:ot,defaultValue:It,postState:function(ha){return!ha&&Uo&&pt==="time"?Uo:ha}}),qi=(0,Ce.Z)(ki,2),Pi=qi[0],jl=qi[1],us=(0,rn.Z)(null,{value:ut,defaultValue:ft||Pi,postState:function(ha){var Br=Qe.getNow();if(!ha)return Br;if(!Pi&&Yt){var To=(0,Zt.Z)(Yt)==="object"?Yt.defaultValue:It;return Jo(Qe,Array.isArray(ha)?ha[0]:ha,To||Br)}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 Br=Pn[pt];return Br?Br(ha):ha},Oo=(0,rn.Z)(function(){return pt==="time"?"time":ro("date")},{value:Ct}),wi=(0,Ce.Z)(Oo,2),Eo=wi[0],Fi=wi[1];ne.useEffect(function(){Fi(pt)},[pt]);var gi=ne.useState(function(){return Eo}),$i=(0,Ce.Z)(gi,2),_i=$i[0],yi=$i[1],Oi=function(ha,Br){var To=ro(ha||Eo);yi(Eo),Fi(To),oa&&(Eo!==To||rt(Qe,Ri,Ri))&&oa(Br,To)},Li=function(ha,Br){var To=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Eo===pt||To)&&(jl(ha),ra&&ra(ha),Vo&&Vo(ha,Br),Fn&&!rt(Qe,ha,Pi)&&!(St!=null&&St(ha))&&Fn(ha))},el=function(ha){if(Yr.includes(Eo)){var Br,To,ul=Eo==="date";switch(ha===un.Z.PAGE_UP||ha===un.Z.PAGE_DOWN?To=ul?Qe.addMonth:Qe.addYear:To=ul?Qe.addDate:Qe.addMonth,ha){case un.Z.LEFT:case un.Z.PAGE_UP:Br=To(Ri,-1);break;case un.Z.RIGHT:case un.Z.PAGE_DOWN:Br=To(Ri,1);break;case un.Z.UP:case un.Z.DOWN:Br=To(Ri,Number("".concat(ha===un.Z.UP?"-":"").concat(ul?Be:Nt)));break}if(Br)return!(St!=null&&St(Br))}return!0},Al=function(ha){if(Dr.current&&Dr.current.onKeyDown){var Br=!0,To=ha.which;if([un.Z.LEFT,un.Z.RIGHT,un.Z.UP,un.Z.DOWN,un.Z.PAGE_UP,un.Z.PAGE_DOWN,un.Z.ENTER].includes(To)&&(ha.preventDefault(),To!==un.Z.ENTER&&dn===0&&(Br=el(To))),Br)return Dr.current.onKeyDown(ha)}return(0,Te.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Ur=function(ha){Dr.current&&Dr.current.onBlur&&Dr.current.onBlur(ha)};Ko&&Vr!=="right"&&(Ko.current={onKeyDown:Al,onClose:function(){Dr.current&&Dr.current.onClose&&Dr.current.onClose()}}),ne.useEffect(function(){ot&&!Po.current&&Ei(ot)},[ot]),ne.useEffect(function(){Po.current=!1},[]);var Rr,rl=mn({cellRender:ei,monthCellRender:xo,dateRender:uo}),qr=(0,Lt.Z)((0,Lt.Z)({},ee),{},{cellRender:rl,operationRef:Dr,prefixCls:me,viewDate:Ri,value:Pi,onViewDateChange:nr,sourceMode:_i,onPanelChange:Oi,disabledDate:St});switch(delete qr.onChange,delete qr.onSelect,Eo){case"decade":Rr=ne.createElement(Yl,(0,re.Z)({},qr,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}}));break;case"year":Rr=ne.createElement(Xa,(0,re.Z)({},qr,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}}));break;case"month":Rr=ne.createElement(vn,(0,re.Z)({},qr,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}}));break;case"quarter":Rr=ne.createElement(pa,(0,re.Z)({},qr,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}}));break;case"week":Rr=ne.createElement(on,(0,re.Z)({},qr,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}}));break;case"time":delete qr.showTime,Rr=ne.createElement(fs,(0,re.Z)({},qr,(0,Zt.Z)(Yt)==="object"?Yt:null,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}}));break;default:Yt?Rr=ne.createElement(dd,(0,re.Z)({},qr,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}})):Rr=ne.createElement(ml,(0,re.Z)({},qr,{onSelect:function(ha,Br){nr(ha),Li(ha,Br)}}))}var Wl,Nl,Dl=function(){var ha=Qe.getNow(),Br=wo(Qe.getHour(ha),Qe.getMinute(ha),Qe.getSecond(ha),Go?ma:1,kr?_a:1,Ir?no:1),To=Qi(Qe,ha,Br[0],Br[1],Br[2]);Li(To,"submit")};xi||(Wl=gr(me,Eo,Wt),Yt&&Eo!=="date"?Nl=null:Nl=Wa({prefixCls:me,components:xr,needConfirmButton:Xr,okDisabled:!Pi||St&&St(Pi),locale:Ue,showNow:Xt,onNow:Xr&&Dl,onOk:function(){Pi&&(Li(Pi,"submit",!0),or&&or(Pi))}}));var dl;if(Nn&&Eo==="date"&&pt==="date"&&!Yt){var Vl=Qe.getNow(),Xs="".concat(me,"-today-btn"),cs=St&&St(Vl);dl=ne.createElement("a",{className:Jt()(Xs,cs&&"".concat(Xs,"-disabled")),"aria-disabled":cs,onClick:function(){cs||Li(Vl,"mouse",!0)}},Ue.today)}return ne.createElement(et.Provider,{value:(0,Lt.Z)((0,Lt.Z)({},ao),{},{mode:Eo,hideHeader:"hideHeader"in ee?Qt:ao.hideHeader,hidePrevBtn:co&&Vr==="right",hideNextBtn:co&&Vr==="left"})},ne.createElement("div",{tabIndex:dn,className:Jt()("".concat(me,"-panel"),Ae,(oe={},(0,Ye.Z)(oe,"".concat(me,"-panel-has-range"),wr&&wr[0]&&wr[1]),(0,Ye.Z)(oe,"".concat(me,"-panel-has-range-hover"),Ba&&Ba[0]&&Ba[1]),(0,Ye.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),Do=te(73935);function Ro(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var eo={};function vi(ee,oe){}function ll(ee,oe){}function Bl(){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(Ae){Zs(Ae,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(Ae,Ee){return Ae===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 Dd=ne.createContext(null),Cl=Dd,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],Ae=ne.useRef(!1),Ee=ne.useContext(Cl),Ue=ne.useState(ni),Qe=(0,Ce.Z)(Ue,2),ot=Qe[0],It=Qe[1],ut=Ee||(Ae.current?void 0:function(Ct){It(function(_e){var pt=[Ct].concat((0,cr.Z)(_e));return pt})});function ft(){me.parentElement||document.body.appendChild(me),Ae.current=!0}function St(){var Ct;(Ct=me.parentElement)===null||Ct===void 0||Ct.removeChild(me),Ae.current=!1}return ls(function(){return ee?Ee?Ee(ft):ft():St(),St},[ee]),ls(function(){ot.length&&(ot.forEach(function(Ct){return Ct()}),It(ni))},[ot]),[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",Bd="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):Bd}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 Ae=Zl(oe),Ee=Ae.firstChild;if(ge){if(ge==="queue"){var Ue=ql(Ae).filter(function(Qe){return["prepend","prependQueue"].includes(Qe.getAttribute(ws))});if(Ue.length)return Ae.insertBefore(me,Ue[Ue.length-1].nextSibling),me}Ae.insertBefore(me,Ee)}else Ae.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 Ae,Ee;if((Ae=ie.csp)!==null&&Ae!==void 0&&Ae.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 Qe=_l(ee,ie);return Qe.setAttribute(Xl(ie),oe),Qe}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 Ae=oe.offsetWidth;me===Ae&&(Ae=ie.clientWidth),document.body.removeChild(ie),As=me-Ae}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 Ae=bu(document.body).width,Ee=js();ad(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(Ee?"width: calc(100% - ".concat(Ae,"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,Ae=ee.debug,Ee=ee.autoDestroy,Ue=Ee===void 0?!0:Ee,Qe=ee.children,ot=ne.useState(ie),It=(0,Ce.Z)(ot,2),ut=It[0],ft=It[1],St=ut||ie;ne.useEffect(function(){(Ue||ie)&&ft(ie)},[ie,Ue]);var Ct=ne.useState(function(){return su(me)}),_e=(0,Ce.Z)(Ct,2),pt=_e[0],Ht=_e[1];ne.useEffect(function(){var Ra=su(me);Ht(Ra!=null?Ra:null)});var dn=li(St&&!pt,Ae),Xt=(0,Ce.Z)(dn,2),Yt=Xt[0],Nn=Xt[1],Wt=pt!=null?pt:Yt;Cu(ge&&ie&&Ro()&&(Wt===Yt||Wt===document.body));var Qt=null;if(Qe&&kl(Qe)&&oe){var ra=Qe;Qt=ra.ref}var Fn=zs(Qt,oe);if(!St||!Ro()||pt===void 0)return null;var oa=Wt===!1||xu(),$n=Qe;return oe&&($n=ne.cloneElement(Qe,{ref:Fn})),ne.createElement(Cl.Provider,{value:Nn},oa?$n:(0,Do.createPortal)($n,Wt))}),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(),Re=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],Ae=ge[1];return ne.useEffect(function(){var Ee=Qd;Qd+=1,Ae("rc_unique_".concat(Ee))},[]),oe||me},Fe=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))},nt=ne.createContext(null),At=nt;function qt(ee){return ee?Array.isArray(ee)?ee:[ee]:[]}function tn(ee,oe,ie,ge){return ne.useMemo(function(){var me=qt(ie!=null?ie:oe),Ae=qt(ge!=null?ge:oe),Ee=new Set(me),Ue=new Set(Ae);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,Ae=Object.keys(ee),Ee=0;Ee<Ae.length;Ee+=1){var Ue,Qe=Ae[Ee];if(Kn((Ue=ee[Qe])===null||Ue===void 0?void 0:Ue.points,me,ge))return"".concat(oe,"-placement-").concat(Qe)}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),Ae=me.overflowX,Ee=me.overflowY,Ue=me.overflow;[Ae,Ee,Ue].some(function(Qe){return ge.includes(Qe)})&&oe.push(ie),ie=ie.parentElement}return oe}function Da(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ee)?oe:ee}function Pa(ee){return Da(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),Ae=me.overflow,Ee=me.overflowClipMargin,Ue=me.borderTopWidth,Qe=me.borderBottomWidth,ot=me.borderLeftWidth,It=me.borderRightWidth,ut=ge.getBoundingClientRect(),ft=ge.offsetHeight,St=ge.clientHeight,Ct=ge.offsetWidth,_e=ge.clientWidth,pt=Pa(Ue),Ht=Pa(Qe),dn=Pa(ot),Xt=Pa(It),Yt=Da(Math.round(ut.width/Ct*1e3)/1e3),Nn=Da(Math.round(ut.height/ft*1e3)/1e3),Wt=(Ct-_e-dn-Xt)*Yt,Qt=(ft-St-pt-Ht)*Nn,ra=pt*Nn,Fn=Ht*Nn,oa=dn*Yt,$n=Xt*Yt,Ra=0,or=0;if(Ae==="clip"){var xr=Pa(Ee);Ra=xr*Yt,or=xr*Nn}var Fa=ut.x+oa-Ra,Za=ut.y+ra-or,ma=Fa+ut.width+2*Ra-oa-$n-Wt,Er=Za+ut.height+2*or-ra-Fn-Qt;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],Ae=ge[1];return[Fr(ee.width,me),Fr(ee.height,Ae)]}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,Ae;return ie==="t"?Ae=ee.y:ie==="b"?Ae=ee.y+ee.height:Ae=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:Ae}}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,Ae,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]||{}}),Qe=(0,Ce.Z)(Ue,2),ot=Qe[0],It=Qe[1],ut=ne.useRef(0),ft=ne.useMemo(function(){return oe?Xn(oe):[]},[oe]),St=ne.useRef({}),Ct=function(){St.current={}};ee||Ct();var _e=(0,Ns.Z)(function(){if(oe&&ie&&ee){let Tl=function(au,Nd){var _s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Dr,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 dn,Xt,Yt=oe,Nn=Yt.ownerDocument,Wt=xa(Yt),Qt=Wt.getComputedStyle(Yt),ra=Qt.width,Fn=Qt.height,oa=Qt.position,$n=Yt.style.left,Ra=Yt.style.top,or=Yt.style.right,xr=Yt.style.bottom,Fa=(0,Lt.Z)((0,Lt.Z)({},me[ge]),Ae),Za=Nn.createElement("div");(dn=Yt.parentElement)===null||dn===void 0||dn.appendChild(Za),Za.style.left="".concat(Yt.offsetLeft,"px"),Za.style.top="".concat(Yt.offsetTop,"px"),Za.style.position=oa,Za.style.height="".concat(Yt.offsetHeight,"px"),Za.style.width="".concat(Yt.offsetWidth,"px"),Yt.style.left="0",Yt.style.top="0",Yt.style.right="auto",Yt.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=Yt.getBoundingClientRect(),ir=Nn.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,ft),Ba=qa(Vo,ft),Dr=Uo===tr?Ba:wr,Po=Vr?Ba:Dr;Yt.style.left="auto",Yt.style.top="auto",Yt.style.right="0",Yt.style.bottom="0";var ki=Yt.getBoundingClientRect();Yt.style.left=$n,Yt.style.top=Ra,Yt.style.right=or,Yt.style.bottom=xr,(Xt=Yt.parentElement)===null||Xt===void 0||Xt.removeChild(Za);var qi=Da(Math.round(Ir/parseFloat(ra)*1e3)/1e3),Pi=Da(Math.round(kr/parseFloat(Fn)*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,Ba),Wl=Cr(ma,["t","l"]),Nl=Cr(_a,["t","l"]),Dl=Cr(ma,["b","r"]),dl=Cr(_a,["b","r"]),Vl=Fa.overflow||{},Xs=Vl.adjustX,cs=Vl.adjustY,hr=Vl.shiftX,ha=Vl.shiftY,Br=function(Nd){return typeof Nd=="boolean"?Nd:Nd>=0},To,ul,ks,Cs;Fs();var od=Br(cs),qs=Oi[0]===yi[0];if(od&&Oi[0]==="t"&&(ul>Po.bottom||St.current.bt)){var oi=Rr;qs?oi-=kr-ao:oi=Wl.y-dl.y-nr;var Lr=Tl(Ur,oi),pl=Tl(Ur,oi,Ba);Lr>rl||Lr===rl&&(!Vr||pl>=qr)?(St.current.bt=!0,Rr=oi,nr=-nr,Al.points=[er(Oi,0),er(yi,0)]):St.current.bt=!1}if(od&&Oi[0]==="b"&&(To<Po.top||St.current.tb)){var cl=Rr;qs?cl+=kr-ao:cl=Dl.y-Nl.y-nr;var xd=Tl(Ur,cl),_d=Tl(Ur,cl,Ba);xd>rl||xd===rl&&(!Vr||_d>=qr)?(St.current.tb=!0,Rr=cl,nr=-nr,Al.points=[er(Oi,0),er(yi,0)]):St.current.tb=!1}var Zd=Br(Xs),Ed=Oi[1]===yi[1];if(Zd&&Oi[1]==="l"&&(Cs>Po.right||St.current.rl)){var xs=Ur;Ed?xs-=Ir-Ko:xs=Wl.x-dl.x-Ei;var wd=Tl(xs,Rr),eu=Tl(xs,Rr,Ba);wd>rl||wd===rl&&(!Vr||eu>=qr)?(St.current.rl=!0,Ur=xs,Ei=-Ei,Al.points=[er(Oi,1),er(yi,1)]):St.current.rl=!1}if(Zd&&Oi[1]==="r"&&(ks<Po.left||St.current.lr)){var Rs=Ur;Ed?Rs+=Ir-Ko:Rs=Dl.x-Nl.x-Ei;var $o=Tl(Rs,Rr),Qa=Tl(Rs,Rr,Ba);$o>rl||$o===rl&&(!Vr||Qa>=qr)?(St.current.lr=!0,Ur=Rs,Ei=-Ei,Al.points=[er(Oi,1),er(yi,1)]):St.current.lr=!1}Fs();var zi=hr===!0?0:hr;typeof zi=="number"&&(ks<Ba.left&&(Ur-=ks-Ba.left-Ei,ma.x+Ko<Ba.left+zi&&(Ur+=ma.x-Ba.left+Ko-zi)),Cs>Ba.right&&(Ur-=Cs-Ba.right-Ei,ma.x>Ba.right-zi&&(Ur+=ma.x-Ba.right+zi)));var Hi=ha===!0?0:ha;typeof Hi=="number"&&(To<Ba.top&&(Rr-=To-Ba.top-nr,ma.y+ao<Ba.top+Hi&&(Rr+=ma.y-Ba.top+ao-Hi)),ul>Ba.bottom&&(Rr-=ul-Ba.bottom-nr,ma.y>Ba.bottom-Hi&&(Rr+=ma.y-Ba.bottom+Hi)));var id=_a.x+Ur,ld=id+Ir,zd=_a.y+Rr,Ld=zd+kr,gs=ma.x,Du=gs+Ko,uu=ma.y,cu=uu+ao,Ad=Math.max(id,gs),Bu=Math.min(ld,Du),gu=(Ad+Bu)/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);It({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})}}),pt=function(){ut.current+=1;var Xt=ut.current;Promise.resolve().then(function(){ut.current===Xt&&_e()})},Ht=function(){It(function(Xt){return(0,Lt.Z)((0,Lt.Z)({},Xt),{},{ready:!1})})};return(0,Mn.Z)(Ht,[ge]),(0,Mn.Z)(function(){ee||Ht()},[ee]),[ot.ready,ot.offsetX,ot.offsetY,ot.offsetR,ot.offsetB,ot.arrowX,ot.arrowY,ot.scaleX,ot.scaleY,ot.align,pt]}function Zo(ee,oe,ie,ge,me){(0,Mn.Z)(function(){if(ee&&oe&&ie){let ut=function(){ge(),me()};var Ae=oe,Ee=ie,Ue=Xn(Ae),Qe=Xn(Ee),ot=xa(Ee),It=new Set([ot].concat((0,cr.Z)(Ue),(0,cr.Z)(Qe)));return It.forEach(function(ft){ft.addEventListener("scroll",ut,{passive:!0})}),ot.addEventListener("resize",ut,{passive:!0}),ge(),function(){It.forEach(function(ft){ft.removeEventListener("scroll",ut),ot.removeEventListener("resize",ut)})}}},[ee,oe,ie])}var yo=te(60276);function zo(ee,oe,ie,ge,me,Ae,Ee,Ue){var Qe=ne.useRef(ee),ot=ne.useRef(!1);Qe.current!==ee&&(ot.current=!0,Qe.current=ee),ne.useEffect(function(){var It=(0,qn.Z)(function(){ot.current=!1});return function(){qn.Z.cancel(It)}},[ee]),ne.useEffect(function(){if(oe&&ge&&(!me||Ae)){var It=function(){var oa=!1,$n=function(xr){var Fa=xr.target;oa=Ee(Fa)},Ra=function(xr){var Fa=xr.target;!ot.current&&Qe.current&&!oa&&!Ee(Fa)&&Ue(!1)};return[$n,Ra]},ut=It(),ft=(0,Ce.Z)(ut,2),St=ft[0],Ct=ft[1],_e=It(),pt=(0,Ce.Z)(_e,2),Ht=pt[0],dn=pt[1],Xt=xa(ge);Xt.addEventListener("mousedown",St,!0),Xt.addEventListener("click",Ct,!0),Xt.addEventListener("contextmenu",Ct,!0);var Yt=rd(ie);if(Yt&&(Yt.addEventListener("mousedown",Ht,!0),Yt.addEventListener("click",dn,!0),Yt.addEventListener("contextmenu",dn,!0)),0)var Nn,Wt,Qt,ra;return function(){Xt.removeEventListener("mousedown",St,!0),Xt.removeEventListener("click",Ct,!0),Xt.removeEventListener("contextmenu",Ct,!0),Yt&&(Yt.removeEventListener("mousedown",Ht,!0),Yt.removeEventListener("click",dn,!0),Yt.removeEventListener("contextmenu",dn,!0))}}},[oe,ie,ge,me,Ae])}function qo(ee){return ee instanceof HTMLElement||ee instanceof SVGElement}function Ni(ee){return qo(ee)?ee:ee instanceof ne.Component?Do.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(Ae){jr(Ae,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(Ae,Ee){return Ae===me[Ee]})})}function Bo(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 Di(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 Ae=ie[me];if(Object.prototype.hasOwnProperty.call(oe,Ae)&&Ae in io)return Ji[ee]=oe[Ae],Ji[ee]}return""}var xl=Di("animationend"),El=Di("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",Bi="active",bo="end";function dr(ee){var oe=ne.useRef(!1),ie=ne.useState(ee),ge=(0,Ce.Z)(ie,2),me=ge[0],Ae=ge[1];ne.useEffect(function(){return oe.current=!1,function(){oe.current=!0}},[]);function Ee(Ue,Qe){Qe&&oe.current||Ae(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(Ae){if(Ae===0)zl(ge),oe();else{var Ee=Si(function(){me(Ae-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 Ae=fd(function(){me<=1?ge({isCanceled:function(){return Ae!==ee.current}}):ie(ge,me-1)});ee.current=Ae}return ne.useEffect(function(){return function(){oe()}},[]),[ie,oe]},Jd=Or()?ne.useLayoutEffect:ne.useEffect,Hl=Jd,as=[ci,sl,Bi,bo],md=!1,ss=!0;function kd(ee){return ee===Bi||ee===bo}var Xd=function(ee,oe){var ie=dr(Vi),ge=(0,Ce.Z)(ie,2),me=ge[0],Ae=ge[1],Ee=ns(),Ue=(0,Ce.Z)(Ee,2),Qe=Ue[0],ot=Ue[1];function It(){Ae(ci,!0)}return Hl(function(){if(me!==Vi&&me!==bo){var ut=as.indexOf(me),ft=as[ut+1],St=oe(me);St===md?Ae(ft,!0):Qe(function(Ct){function _e(){Ct.isCanceled()||Ae(ft,!0)}St===!0?_e():Promise.resolve(St).then(_e)})}},[ee,me]),ne.useEffect(function(){return function(){ot()}},[]),[It,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 Ae(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)}},[]),[Ae,me]};function Fl(ee,oe,ie,ge){var me=ge.motionEnter,Ae=me===void 0?!0:me,Ee=ge.motionAppear,Ue=Ee===void 0?!0:Ee,Qe=ge.motionLeave,ot=Qe===void 0?!0:Qe,It=ge.motionDeadline,ut=ge.motionLeaveImmediately,ft=ge.onAppearPrepare,St=ge.onEnterPrepare,Ct=ge.onLeavePrepare,_e=ge.onAppearStart,pt=ge.onEnterStart,Ht=ge.onLeaveStart,dn=ge.onAppearActive,Xt=ge.onEnterActive,Yt=ge.onLeaveActive,Nn=ge.onAppearEnd,Wt=ge.onEnterEnd,Qt=ge.onLeaveEnd,ra=ge.onVisibleChanged,Fn=dr(),oa=(0,Ce.Z)(Fn,2),$n=oa[0],Ra=oa[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 Ba=xo();if(!(wr&&!wr.deadline&&wr.target!==Ba)){var Dr=ei.current,Po;Fa===Xi&&Dr?Po=Nn==null?void 0:Nn(Ba,wr):Fa===Rl&&Dr?Po=Wt==null?void 0:Wt(Ba,wr):Fa===es&&Dr&&(Po=Qt==null?void 0:Qt(Ba,wr)),Fa!==Ho&&Dr&&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,Ba,Dr;switch(Fa){case Xi:return wr={},(0,Ye.Z)(wr,ci,ft),(0,Ye.Z)(wr,sl,_e),(0,Ye.Z)(wr,Bi,dn),wr;case Rl:return Ba={},(0,Ye.Z)(Ba,ci,St),(0,Ye.Z)(Ba,sl,pt),(0,Ye.Z)(Ba,Bi,Xt),Ba;case es:return Dr={},(0,Ye.Z)(Dr,ci,Ct),(0,Ye.Z)(Dr,sl,Ht),(0,Ye.Z)(Dr,Bi,Yt),Dr;default:return{}}},[Fa]),Ko=Xd(Fa,function(wr){if(wr===ci){var Ba=ao[ci];return Ba?Ba(xo()):md}if(Uo in ao){var Dr;ir(((Dr=ao[Uo])===null||Dr===void 0?void 0:Dr.call(ao,xo(),null))||null)}return Uo===Bi&&(Ir(xo()),It>0&&(clearTimeout(uo.current),uo.current=setTimeout(function(){Xr({deadline:!0})},It))),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 Ba;!wr&&oe&&Ue&&(Ba=Xi),wr&&oe&&Ae&&(Ba=Rl),(wr&&!oe&&ot||!wr&&ut&&!oe&&ot)&&(Ba=es),Ba&&(Za(Ba),xi())}},[oe]),(0,ne.useEffect)(function(){(Fa===Xi&&!Ue||Fa===Rl&&!Ae||Fa===es&&!ot)&&Za(Ho)},[Ue,Ae,ot]),(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)&&(ra==null||ra($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,kt.Z)(ie,ee);var oe=(0,En.Z)(ie);function ie(){return(0,an.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 Ds(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,Ae){var Ee=me.visible,Ue=Ee===void 0?!0:Ee,Qe=me.removeOnLeave,ot=Qe===void 0?!0:Qe,It=me.forceRender,ut=me.children,ft=me.motionName,St=me.leavedClassName,Ct=me.eventProps,_e=ie(me),pt=(0,ne.useRef)(),Ht=(0,ne.useRef)();function dn(){try{return pt.current instanceof HTMLElement?pt.current:Ni(Ht.current)}catch(ma){return null}}var Xt=Fl(_e,Ue,dn,me),Yt=(0,Ce.Z)(Xt,4),Nn=Yt[0],Wt=Yt[1],Qt=Yt[2],ra=Yt[3],Fn=ne.useRef(ra);ra&&(Fn.current=!0);var oa=ne.useCallback(function(ma){pt.current=ma,jr(Ae,ma)},[Ae]),$n,Ra=(0,Lt.Z)((0,Lt.Z)({},Ct),{},{visible:Ue});if(!ut)$n=null;else if(Nn===Ho||!ie(me))ra?$n=ut((0,Lt.Z)({},Ra),oa):!ot&&Fn.current&&St?$n=ut((0,Lt.Z)((0,Lt.Z)({},Ra),{},{className:St}),oa):It||!ot&&!St?$n=ut((0,Lt.Z)((0,Lt.Z)({},Ra),{},{style:{display:"none"}}),oa):$n=null;else{var or,xr;Wt===ci?xr="prepare":kd(Wt)?xr="active":Wt===sl&&(xr="start"),$n=ut((0,Lt.Z)((0,Lt.Z)({},Ra),{},{className:Jt()(So(ft,Nn),(or={},(0,Ye.Z)(or,So(ft,"".concat(Nn,"-").concat(xr)),xr),(0,Ye.Z)(or,ft,typeof ft=="string"),or)),style:Qt}),oa)}if(ne.isValidElement($n)&&Bo($n)){var Fa=$n,Za=Fa.ref;Za||($n=ne.cloneElement($n,{ref:oa}))}return ne.createElement(qd,{ref:Ht},$n)});return ge.displayName="CSSMotion",ge}var wl=Ds(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,Ae=Gl(ee),Ee=Gl(oe);Ae.forEach(function(ot){for(var It=!1,ut=ge;ut<me;ut+=1){var ft=Ee[ut];if(ft.key===ot.key){ge<ut&&(ie=ie.concat(Ee.slice(ge,ut).map(function(St){return(0,Lt.Z)((0,Lt.Z)({},St),{},{status:hd})})),ge=ut),ie.push((0,Lt.Z)((0,Lt.Z)({},ft),{},{status:Us})),ge+=1,It=!0;break}}It||ie.push((0,Lt.Z)((0,Lt.Z)({},ot),{},{status:Ps}))}),ge<me&&(ie=ie.concat(Ee.slice(ge).map(function(ot){return(0,Lt.Z)((0,Lt.Z)({},ot),{},{status:hd})})));var Ue={};ie.forEach(function(ot){var It=ot.key;Ue[It]=(Ue[It]||0)+1});var Qe=Object.keys(Ue).filter(function(ot){return Ue[ot]>1});return Qe.forEach(function(ot){ie=ie.filter(function(It){var ut=It.key,ft=It.status;return ut!==ot||ft!==Ps}),ie.forEach(function(It){It.key===ot&&(It.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,kt.Z)(Ae,ge);var me=(0,En.Z)(Ae);function Ae(){var Ee;(0,an.Z)(this,Ae);for(var Ue=arguments.length,Qe=new Array(Ue),ot=0;ot<Ue;ot++)Qe[ot]=arguments[ot];return Ee=me.call.apply(me,[this].concat(Qe)),(0,Ye.Z)((0,Pt.Z)(Ee),"state",{keyEntities:[]}),(0,Ye.Z)((0,Pt.Z)(Ee),"removeKey",function(It){var ut=Ee.state.keyEntities,ft=ut.map(function(St){return St.key!==It?St:(0,Lt.Z)((0,Lt.Z)({},St),{},{status:pi})});return Ee.setState({keyEntities:ft}),ft.filter(function(St){var Ct=St.status;return Ct!==pi}).length}),Ee}return(0,Ve.Z)(Ae,[{key:"render",value:function(){var Ue=this,Qe=this.state.keyEntities,ot=this.props,It=ot.component,ut=ot.children,ft=ot.onVisibleChanged,St=ot.onAllRemoved,Ct=(0,_r.Z)(ot,Sd),_e=It||ne.Fragment,pt={};return pd.forEach(function(Ht){pt[Ht]=Ct[Ht],delete Ct[Ht]}),delete Ct.keys,ne.createElement(_e,Ct,Qe.map(function(Ht){var dn=Ht.status,Xt=(0,_r.Z)(Ht,Rd),Yt=dn===hd||dn===Us;return ne.createElement(oe,(0,re.Z)({},pt,{key:Xt.key,visible:Yt,eventProps:Xt,onVisibleChanged:function(Wt){if(ft==null||ft(Wt,{key:Xt.key}),!Wt){var Qt=Ue.removeKey(Xt.key);Qt===0&&St&&St()}}}),ut)}))}}],[{key:"getDerivedStateFromProps",value:function(Ue,Qe){var ot=Ue.keys,It=Qe.keyEntities,ut=Gl(ot),ft=ys(It,ut);return{keyEntities:ft.filter(function(St){var Ct=It.find(function(_e){var pt=_e.key;return St.key===pt});return!(Ct&&Ct.status===pi&&St.status===Ps)})}}}]),Ae}(ne.Component);return(0,Ye.Z)(ie,"defaultProps",{component:"div"}),ie}var Pd=rs(lo),Fd=wl,Bs=te(17799);function Od(ee){var oe=ee.prefixCls,ie=ee.align,ge=ee.arrow,me=ee.arrowPos,Ae=ge||{},Ee=Ae.className,Ue=Ae.content,Qe=me.x,ot=Qe===void 0?0:Qe,It=me.y,ut=It===void 0?0:It,ft=ne.useRef();if(!ie||!ie.points)return null;var St={position:"absolute"};if(ie.autoArrow!==!1){var Ct=ie.points[0],_e=ie.points[1],pt=Ct[0],Ht=Ct[1],dn=_e[0],Xt=_e[1];pt===dn||!["t","b"].includes(pt)?St.top=ut:pt==="t"?St.top=0:St.bottom=0,Ht===Xt||!["l","r"].includes(Ht)?St.left=ot:Ht==="l"?St.left=0:St.right=0}return ne.createElement("div",{ref:ft,className:Jt()("".concat(oe,"-arrow"),Ee),style:St},Ue)}function yd(ee){var oe=ee.prefixCls,ie=ee.open,ge=ee.zIndex,me=ee.mask,Ae=ee.motion;return me?ne.createElement(Fd,(0,re.Z)({},Ae,{motionAppear:!0,visible:ie,removeOnLeave:!0}),function(Ee){var Ue=Ee.className;return ne.createElement("div",{style:{zIndex:ge},className:Jt()("".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,Ae=ee.style,Ee=ee.target,Ue=ee.onVisibleChanged,Qe=ee.open,ot=ee.keepDom,It=ee.fresh,ut=ee.onClick,ft=ee.mask,St=ee.arrow,Ct=ee.arrowPos,_e=ee.align,pt=ee.motion,Ht=ee.maskMotion,dn=ee.forceRender,Xt=ee.getPopupContainer,Yt=ee.autoDestroy,Nn=ee.portal,Wt=ee.zIndex,Qt=ee.onMouseEnter,ra=ee.onMouseLeave,Fn=ee.onPointerEnter,oa=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=Qe||ot,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,Mn.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(oa||!Qe){var ao,Ko=_e.points,Vo=_e.dynamicInset||((ao=_e._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)),Qe||(tr.pointerEvents="none"),ne.createElement(Nn,{open:dn||no,getContainer:Xt&&function(){return Xt(Ee)},autoDestroy:Yt},ne.createElement(yd,{prefixCls:me,open:Qe,zIndex:Wt,mask:ft,motion:Ht}),ne.createElement(du.Z,{onResize:Fa,disabled:!Qe},function(co){return ne.createElement(Fd,(0,re.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:dn,leavedClassName:"".concat(me,"-hidden")},pt,{onAppearPrepare:Za,onEnterPrepare:Za,visible:Qe,onVisibleChanged:function(wr){var Ba;pt==null||(Ba=pt.onVisibleChanged)===null||Ba===void 0||Ba.call(pt,wr),Ue(wr)}}),function(Vr,wr){var Ba=Vr.className,Dr=Vr.style,Po=Jt()(me,Ba,ge);return ne.createElement("div",{ref:(0,Bs.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),Dr),{},{boxSizing:"border-box",zIndex:Wt},Ae),onMouseEnter:Qt,onMouseLeave:ra,onPointerEnter:Fn,onClick:ut},St&&ne.createElement(Od,{prefixCls:me,arrow:St,arrowPos:Ct,align:_e}),ne.createElement(bs,{cache:!Qe&&!It},ir))})}))}),Ys=$s,Qs=ne.forwardRef(function(ee,oe){var ie=ee.children,ge=ee.getTriggerDOMNode,me=(0,Bs.Yr)(ie),Ae=ne.useCallback(function(Ue){(0,Bs.mH)(oe,ge?ge(Ue):Ue)},[ge]),Ee=(0,Bs.x1)(Ae,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,Ae=me===void 0?"rc-trigger-popup":me,Ee=ie.children,Ue=ie.action,Qe=Ue===void 0?"hover":Ue,ot=ie.showAction,It=ie.hideAction,ut=ie.popupVisible,ft=ie.defaultPopupVisible,St=ie.onPopupVisibleChange,Ct=ie.afterPopupVisibleChange,_e=ie.mouseEnterDelay,pt=ie.mouseLeaveDelay,Ht=pt===void 0?.1:pt,dn=ie.focusDelay,Xt=ie.blurDelay,Yt=ie.mask,Nn=ie.maskClosable,Wt=Nn===void 0?!0:Nn,Qt=ie.getPopupContainer,ra=ie.forceRender,Fn=ie.autoDestroy,oa=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=Fn||oa||!1,Vr=ne.useState(!1),wr=(0,Ce.Z)(Vr,2),Ba=wr[0],Dr=wr[1];(0,Mn.Z)(function(){Dr(Fe())},[]);var Po=ne.useRef({}),ki=ne.useContext(At),qi=ne.useMemo(function(){return{registerSubPopup:function(Qr,Gi){Po.current[Qr]=Gi,ki==null||ki.registerSubPopup(Qr,Gi)}}},[ki]),Pi=Re(),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(Ae,Go,ao,Ir),Oi=Qn(Ae,kr,Vo,Ko),Li=ne.useState(ft||!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,Mn.Z)(function(){Ur(ut||!1)},[ut]);var qr=ne.useRef(Rr);qr.current=Rr;var Wl=(0,Ns.Z)(function($a){(0,Do.flushSync)(function(){Rr!==$a&&(rl($a),St==null||St($a))})}),Nl=ne.useRef(),Dl=function(){clearTimeout(Nl.current)},dl=function(Qr){var Gi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Dl(),Gi===0?Wl(Qr):Nl.current=setTimeout(function(){Wl(Qr)},Gi*1e3)};ne.useEffect(function(){return Dl},[]);var Vl=ne.useState(!1),Xs=(0,Ce.Z)(Vl,2),cs=Xs[0],hr=Xs[1];(0,Mn.Z)(function($a){(!$a||Rr)&&hr(!0)},[Rr]);var ha=ne.useState(null),Br=(0,Ce.Z)(ha,2),To=Br[0],ul=Br[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=tn(Ba,Qe,ot,It),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()}),Du=function(){qr.current&&uo&&Ld&&dl(!1)};Zo(Rr,Oo,Ui,gs,Du),(0,Mn.Z)(function(){gs()},[od,xr]),(0,Mn.Z)(function(){Rr&&!(Za!=null&&Za[xr])&&gs()},[JSON.stringify(ma)]);var uu=ne.useMemo(function(){var $a=aa(Za,Ae,$o,uo);return Jt()($a,ir==null?void 0:ir($o))},[$o,ir,Za,Ae,uo]);ne.useImperativeHandle(ge,function(){return{forceAlign:gs}});var cu=ne.useState(0),Ad=(0,Ce.Z)(cu,2),Bu=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,Mn.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,Yt,Wt,_i,dl);var au=id.has("hover"),Nd=ld.has("hover"),_s,ru;au&&(Fs("onMouseEnter",!0,_e,function($a){oi($a)}),Fs("onPointerEnter",!0,_e,function($a){oi($a)}),_s=function(){(Rr||cs)&&dl(!0,_e)},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,dn),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=Jt()(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(At.Provider,{value:qi},ne.createElement(Ys,{portal:ee,ref:Ei,prefixCls:Ae,popup:$n,className:Jt()(Ra,uu),style:or,target:Oo,onMouseEnter:_s,onMouseLeave:ru,onPointerEnter:_s,zIndex:Er,open:Rr,keepDom:cs,fresh:no,onClick:xo,mask:Yt,motion:yi,maskMotion:Oi,onVisibleChanged:nu,onPrepare:Tl,forceRender:ra,autoDestroy:co,getPopupContainer:Qt,align:$o,arrow:Ru,arrowPos:hu,ready:cl,offsetX:xd,offsetY:_d,offsetR:Zd,offsetB:Ed,onAlign:gs,stretch:_a,targetWidth:Bu/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,Ae=ee.visible,Ee=ee.dropdownClassName,Ue=ee.dropdownAlign,Qe=ee.transitionName,ot=ee.getPopupContainer,It=ee.children,ut=ee.range,ft=ee.popupPlacement,St=ee.direction,Ct="".concat(ie,"-dropdown"),_e=function(){return ft!==void 0?ft:St==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(Kl,{showAction:[],hideAction:[],popupPlacement:_e(),builtinPlacements:Ol,prefixCls:Ct,popupTransitionName:Qe,popup:ge,popupAlign:Ue,popupVisible:Ae,popupClassName:Jt()(Ee,(oe={},(0,Ye.Z)(oe,"".concat(Ct,"-range"),ut),(0,Ye.Z)(oe,"".concat(Ct,"-rtl"),St==="rtl"),oe)),popupStyle:me,getPopupContainer:ot},It)}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(Ae,Ee){var Ue=Ae.label,Qe=Ae.value;return ne.createElement("li",{key:Ee,onClick:function(){return ge==null?void 0:ge(fo(Qe))},onMouseEnter:function(){return me==null?void 0:me(fo(Qe))},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 Ne(ee){var oe,ie=ee,ge=ie.prefixCls,me=ge===void 0?"rc-picker":ge,Ae=ie.id,Ee=ie.name,Ue=ie.tabIndex,Qe=ie.style,ot=ie.className,It=ie.dropdownClassName,ut=ie.dropdownAlign,ft=ie.popupStyle,St=ie.transitionName,Ct=ie.generateConfig,_e=ie.locale,pt=ie.inputReadOnly,Ht=ie.allowClear,dn=ie.autoFocus,Xt=ie.showTime,Yt=ie.picker,Nn=Yt===void 0?"date":Yt,Wt=ie.format,Qt=ie.use12Hours,ra=ie.value,Fn=ie.defaultValue,oa=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,Ba=ie.changeOnBlur,Dr=ne.useRef(null),Po=Nn==="date"&&!!Xt||Nn==="time",ki=Nr(oa),qi=Jn(oo(Wt,Nn,Xt,Qt)),Pi=ne.useRef(null),jl=ne.useRef(null),us=ne.useRef(null),Ui=(0,rn.Z)(null,{value:ra,defaultValue:Fn}),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,rn.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:_e}),Li=(0,Ce.Z)(Oi,2),el=Li[0],Al=Li[1],Ur=at({valueTexts:el,onTextChange:function(Qa){var zi=ea(Qa,{locale:_e,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&&!rt(Ct,Ei,Qa)&&uo(Qa,Qa?_t(Qa,{generateConfig:Ct,locale:_e,format:qi[0]}):"")},Dl=function(Qa){Za&&Qa||yi(Qa)},dl=function(Qa){return _i&&Fi.current&&Fi.current.onKeyDown?Fi.current.onKeyDown(Qa):((0,Te.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),Dr.current&&(Dr.current.focus(),Dl(!0))},Xs=function(Qa){Ba&&Nl(wi),Xr==null||Xr(Qa)},cs=Ja({blurToCancel:Po,open:_i,value:rl,triggerOpen:Dl,forwardKeyDown:dl,isClickOutside:function(Qa){return!Cn([Pi.current,jl.current,us.current],Qa)},onSubmit:function(){return!wi||ma&&ma(wi)?!1:(Nl(wi),Dl(!1),Wl(),!0)},onCancel:function(){Dl(!1),Eo(Ei),Wl()},onKeyDown:function(Qa,zi){xi==null||xi(Qa,zi)},onFocus:ei,onBlur:Xs,changeOnBlur:Ba}),hr=(0,Ce.Z)(cs,2),ha=hr[0],Br=hr[1],To=Br.focused,ul=Br.typing;ne.useEffect(function(){_i||(Eo(Ei),!el.length||el[0]===""?qr(""):Al!==rl&&Wl())},[_i,el]),ne.useEffect(function(){_i||Wl()},[Nn]),ne.useEffect(function(){Eo(Ei)},[Ei]),ir&&(ir.current={focus:function(){var Qa;(Qa=Dr.current)===null||Qa===void 0||Qa.focus()},blur:function(){var Qa;(Qa=Dr.current)===null||Qa===void 0||Qa.blur()}});var ks=Tn(rl,{formatList:qi,generateConfig:Ct,locale:_e}),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),Dl(!1)}}),ne.createElement(vo,(0,re.Z)({},Lr,{generateConfig:Ct,className:Jt()((0,Ye.Z)({},"".concat(me,"-panel-focused"),!ul)),value:wi,locale:_e,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),Dl(!1)},className:"".concat(me,"-clear"),role:"button"},_d),Ed=!!Ht&&Ei&&!Za,xs=(0,Lt.Z)((0,Lt.Z)((0,Lt.Z)({id:Ae,tabIndex:Ue,disabled:Za,readOnly:pt||typeof qi[0]=="function"||!ul,value:od||rl,onChange:function(Qa){qr(Qa.target.value)},autoFocus:dn,placeholder:Er,ref:Dr,title:rl},ha),{},{size:ko(Nn,qi[0],Ct),name:Ee},(0,fn.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),Dl(!1))},Rs=tr==="rtl"?"bottomRight":"bottomLeft";return ne.createElement(et.Provider,{value:{operationRef:Fi,hideHeader:Nn==="time",onSelect:eu,open:_i,defaultOpenValue:or,onDateMouseEnter:qs,onDateMouseLeave:oi}},ne.createElement(se,{visible:_i,popupElement:cl,popupStyle:ft,prefixCls:me,dropdownClassName:It,dropdownAlign:ut,getPopupContainer:_a,transitionName:St,popupPlacement:Rs,direction:tr},ne.createElement("div",{ref:us,className:Jt()(me,ot,(oe={},(0,Ye.Z)(oe,"".concat(me,"-disabled"),Za),(0,Ye.Z)(oe,"".concat(me,"-focused"),To),(0,Ye.Z)(oe,"".concat(me,"-rtl"),tr==="rtl"),oe)),style:Qe,onMouseDown:Go,onMouseUp:kr,onMouseEnter:Ir,onMouseLeave:ao,onContextMenu:Ko,onClick:Vl},ne.createElement("div",{className:Jt()("".concat(me,"-input"),(0,Ye.Z)({},"".concat(me,"-input-placeholder"),!!od)),ref:jl},wd,xd,Ed&&Zd))))}var Oe=function(ee){(0,kt.Z)(ie,ee);var oe=(0,En.Z)(ie);function ie(){var ge;(0,an.Z)(this,ie);for(var me=arguments.length,Ae=new Array(me),Ee=0;Ee<me;Ee++)Ae[Ee]=arguments[Ee];return ge=oe.call.apply(oe,[this].concat(Ae)),(0,Ye.Z)((0,Pt.Z)(ge),"pickerRef",ne.createRef()),(0,Ye.Z)((0,Pt.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,Ye.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(Ne,(0,re.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ie}(ne.Component),$e=Oe;function qe(ee,oe){var ie=ee.picker,ge=ee.locale,me=ee.selectedValue,Ae=ee.disabledDate,Ee=ee.disabled,Ue=ee.generateConfig,Qe=Ln(me,0),ot=Ln(me,1);function It(_e){return Ue.locale.getWeekFirstDate(ge.locale,_e)}function ut(_e){var pt=Ue.getYear(_e),Ht=Ue.getMonth(_e);return pt*100+Ht}function ft(_e){var pt=Ue.getYear(_e),Ht=sn(Ue,_e);return pt*10+Ht}var St=ne.useCallback(function(_e){if(Ee[0]||Ae&&Ae(_e))return!0;if(Ee[1]&&ot)return!bn(Ue,_e,ot)&&Ue.isAfter(_e,ot);if(!oe&&ot)switch(ie){case"quarter":return ft(_e)>ft(ot);case"month":return ut(_e)>ut(ot);case"week":return It(_e)>It(ot);default:return!bn(Ue,_e,ot)&&Ue.isAfter(_e,ot)}return!1},[Ae,Ee[1],ot,oe]),Ct=ne.useCallback(function(_e){if(Ee[1]||Ae&&Ae(_e))return!0;if(Ee[0]&&Qe)return!bn(Ue,_e,ot)&&Ue.isAfter(Qe,_e);if(!oe&&Qe)switch(ie){case"quarter":return ft(_e)<ft(Qe);case"month":return ut(_e)<ut(Qe);case"week":return It(_e)<It(Qe);default:return!bn(Ue,_e,Qe)&&Ue.isAfter(Qe,_e)}return!1},[Ae,Ee[0],Qe,oe]);return[St,Ct]}function Xe(ee,oe,ie,ge,me,Ae,Ee,Ue,Qe,ot){var It=ne.useState(!1),ut=(0,Ce.Z)(It,2),ft=ut[0],St=ut[1],Ct=(0,yo.useMergedState)(ee||!1,{value:oe}),_e=(0,Ce.Z)(Ct,2),pt=_e[0],Ht=_e[1],dn=(0,yo.useMergedState)(ee||!1,{value:oe,onChange:function(ma){ot==null||ot(ma)}}),Xt=(0,Ce.Z)(dn,2),Yt=Xt[0],Nn=Xt[1],Wt=(0,yo.useMergedState)(0,{value:ie}),Qt=(0,Ce.Z)(Wt,2),ra=Qt[0],Fn=Qt[1],oa=ne.useState(null),$n=(0,Ce.Z)(oa,2),Ra=$n[0],or=$n[1];ne.useEffect(function(){Yt&&St(!0)},[Yt]);var xr=function(ma){return ma===0?1:0},Fa=(0,Ns.Z)(function(Za,ma,Er){if(ma===!1)Nn(Za);else if(Za){Fn(ma),Nn(Za);var _a=xr(ma);!Yt||![Ee,Ue][_a]?or(_a):(St(!1),Ra!==null&&or(null))}else if(Er==="confirm"||Er==="blur"&&ge){var ir=pt?xr(ma):Ra;ir!==null&&(St(!1),Fn(ir)),or(null),ir!==null&&!Qe[ir]?(0,qn.Z)(function(){var no,uo=[me,Ae][ir];(no=uo.current)===null||no===void 0||no.focus()}):Nn(!1)}else Nn(!1),Ht(!1)});return[Yt,ra,ft,Fa]}function ht(ee,oe,ie,ge){var me=lt(ee,ie,ge,1);function Ae(Ee){return Ee(ee,oe)?"same":Ee(me,oe)?"closing":"far"}switch(ie){case"year":return Ae(function(Ee,Ue){return Ot(ge,Ee,Ue)});case"quarter":case"month":return Ae(function(Ee,Ue){return jt(ge,Ee,Ue)});default:return Ae(function(Ee,Ue){return Gn(ge,Ee,Ue)})}}function Bt(ee,oe,ie,ge){var me=Ln(ee,0),Ae=Ln(ee,1);if(oe===0)return me;if(me&&Ae){var Ee=ht(me,Ae,ie,ge);switch(Ee){case"same":return me;case"closing":return me;default:return lt(Ae,ie,ge,-1)}}return me}function yt(ee){var oe=ee.values,ie=ee.picker,ge=ee.defaultDates,me=ee.generateConfig,Ae=ne.useState(function(){return[Ln(ge,0),Ln(ge,1)]}),Ee=(0,Ce.Z)(Ae,2),Ue=Ee[0],Qe=Ee[1],ot=ne.useState(null),It=(0,Ce.Z)(ot,2),ut=It[0],ft=It[1],St=Ln(oe,0),Ct=Ln(oe,1);function _e(Ht){return Ue[Ht]?Ue[Ht]:Ln(ut,Ht)||Bt(oe,Ht,ie,me)||St||Ct||me.getNow()}function pt(Ht,dn){if(Ht){var Xt=va(ut,Ht,dn);Qe(va(Ue,null,dn)||[null,null]);var Yt=(dn+1)%2;Ln(oe,Yt)||(Xt=va(Xt,Ht,Yt)),ft(Xt)}else(St||Ct)&&ft(null)}return[_e,pt]}function Ut(ee,oe){return ee&&ee[0]&&ee[1]&&oe.isAfter(ee[0],ee[1])?[ee[1],ee[0]]:ee}function $t(ee,oe,ie,ge){return!!(ee||ge&&ge[oe]||ie[(oe+1)%2])}function en(ee){var oe,ie,ge,me=ee,Ae=me.prefixCls,Ee=Ae===void 0?"rc-picker":Ae,Ue=me.id,Qe=me.style,ot=me.className,It=me.popupStyle,ut=me.dropdownClassName,ft=me.transitionName,St=me.dropdownAlign,Ct=me.getPopupContainer,_e=me.generateConfig,pt=me.locale,Ht=me.placeholder,dn=me.autoFocus,Xt=me.disabled,Yt=me.format,Nn=me.picker,Wt=Nn===void 0?"date":Nn,Qt=me.showTime,ra=me.use12Hours,Fn=me.separator,oa=Fn===void 0?"~":Fn,$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,Ba=me.onMouseDown,Dr=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=Wt==="date"&&!!Qt||Wt==="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(Yt,Wt,Qt,ra)),Al=(0,ne.useRef)(null),Ur=ne.useMemo(function(){return Array.isArray(Xt)?Xt:[Xt||!1,Xt||!1]},[Xt]),Rr=(0,rn.Z)(null,{value:$n,defaultValue:Ra,postState:function(ja){return Wt==="time"&&!Ui?ja:Ut(ja,_e)}}),rl=(0,Ce.Z)(Rr,2),qr=rl[0],Wl=rl[1],Nl=yt({values:qr,picker:Wt,defaultDates:or,generateConfig:_e}),Dl=(0,Ce.Z)(Nl,2),dl=Dl[0],Vl=Dl[1],Xs=(0,rn.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&&!Ln(yr,Mo)&&!Ln(ei,Mo)&&(yr=va(yr,_e.getNow(),Mo));return yr}}),cs=(0,Ce.Z)(Xs,2),hr=cs[0],ha=cs[1],Br=(0,rn.Z)([Wt,Wt],{value:Ko}),To=(0,Ce.Z)(Br,2),ul=To[0],ks=To[1];(0,ne.useEffect)(function(){ks([Wt,Wt])},[Wt]);var Cs=function(ja,yr){ks(ja),tr&&tr(yr,ja)},od=Xe(Fa,xr,Ei,Oo,yi,Oi,Ln(hr,0),Ln(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=qe({picker:Wt,selectedValue:hr,locale:pt,disabled:Ur,disabledDate:Za,generateConfig:_e},!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=Ln(yr,0),Ti=Ln(yr,1);Mo&&Ti&&_e.isAfter(Mo,Ti)&&(Wt==="week"&&!Ie(_e,pt.locale,Mo,Ti)||Wt==="quarter"&&!On(_e,Mo,Ti)||Wt!=="week"&&Wt!=="quarter"&&Wt!=="time"&&!bn(_e,Mo,Ti)?ja===0?(yr=[Mo,null],Ti=null):(Mo=null,yr=[null,Ti]):(Wt!=="time"||Ui!==!1)&&(yr=Ut(yr,_e))),ha(yr);var pu=yr&&yr[0]?_t(yr[0],{generateConfig:_e,locale:pt,format:el[0]}):"",ed=yr&&yr[1]?_t(yr[1],{generateConfig:_e,locale:pt,format:el[0]}):"";if(co){var Ud={range:ja===0?"start":"end"};co(yr,[pu,ed],Ud)}var $d=$t(Mo,0,Ur,ei),Fu=$t(Ti,1,Ur,ei),ou=yr===null||$d&&Fu;ou&&(Wl(yr),xi&&(!rt(_e,Ln(qr,0),Mo)||!rt(_e,Ln(qr,1),Ti))&&xi(yr,[pu,ed]))}var id=function(ja){return oi&&Al.current&&Al.current.onKeyDown?Al.current.onKeyDown(ja):((0,Te.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ld={formatList:el,generateConfig:_e,locale:pt},zd=ca(Ln(hr,0),ld),Ld=(0,Ce.Z)(zd,2),gs=Ld[0],Du=Ld[1],uu=ca(Ln(hr,1),ld),cu=(0,Ce.Z)(uu,2),Ad=cu[0],Bu=cu[1],gu=function(ja,yr){var Mo=ea(ja,{locale:pt,formatList:el,generateConfig:_e}),Ti=yr===0?xs:wd;Mo&&!Ti(Mo)&&(ha(va(hr,Mo,yr)),Vl(Mo,yr))},Mu=at({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=at({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=Tn(Gd,{formatList:el,generateConfig:_e,locale:pt}),$a=(0,Ce.Z)(Ru,3),Qr=$a[0],Gi=$a[1],Yi=$a[2],Ki=Tn(Tl,{formatList:el,generateConfig:_e,locale:pt}),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=Ln(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!Cn([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,Ln(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){Ba&&Ba(ja),oi&&(Uu||Ju)&&!yi.current.contains(ja.target)&&!Oi.current.contains(ja.target)&&ja.preventDefault()},vc=qr&&qr[0]?_t(qr[0],{locale:pt,format:"YYYYMMDDHHmmss",generateConfig:_e}):"",hc=qr&&qr[1]?_t(qr[1],{locale:pt,format:"YYYYMMDDHHmmss",generateConfig:_e}):"";(0,ne.useEffect)(function(){oi||(ha(qr),!gs.length||gs[0]===""?fu(""):Du!==Gd&&tu(),!Ad.length||Ad[0]===""?Fs(""):Bu!==Tl&&au())},[oi,gs,Ad]),(0,ne.useEffect)(function(){ha(qr)},[vc,hc]);var Iu=mn({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]&&_e.isAfter(sd[1],sd[0])&&(yr=sd);var Mo=Qt;if(Qt&&(0,Zt.Z)(Qt)==="object"&&Qt.defaultValue){var Ti=Qt.defaultValue;Mo=(0,Lt.Z)((0,Lt.Z)({},Qt),{},{defaultValue:Ln(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:_e,style:void 0,direction:Ri,disabledDate:Lr===0?xs:wd,disabledTime:function(ed){return ma?ma(ed,Lr===0?"start":"end"):!1},className:Jt()((0,Ye.Z)({},"".concat(Ee,"-panel-focused"),Lr===0?!$u:!Xu)),value:Ln(hr,Lr),locale:pt,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,_e,-1)),Vl($d,Lr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Lr===0?Ln(hr,1):Ln(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:!Ln(hr,Lr)||Za&&Za(hr[Lr]),locale:pt,onOk:function(){var td=Ln(hr,Lr);td&&(Hi(hr,Lr),Pi==null||Pi(hr),cl(!1,Lr,"confirm"))}});if(Wt!=="time"&&!Qt){var Mo=dl(Lr),Ti=lt(Mo,Wt,_e),pu=ul[Lr],ed=pu===Wt,Ud=Zu(ed?"left":!1,{pickerValue:Mo,onPickerValueChange:function(td){Vl(td,Lr)}}),$d=Zu("right",{pickerValue:Ti,onPickerValueChange:function(td){Vl(lt(td,Wt,_e,-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:Jt()("".concat(Ee,"-range-wrapper"),"".concat(Ee,"-").concat(Wt,"-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&&(Ln(qr,0)&&!Ur[0]||Ln(qr,1)&&!Ur[1]),nc={size:ko(Wt,el[0],_e)},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(et.Provider,{value:{operationRef:Al,hideHeader:Wt==="time",onDateMouseEnter:ac,onDateMouseLeave:rc,hideRanges:!0,onSelect:Ac,open:oi}},ne.createElement(se,{visible:oi,popupElement:Cc,popupStyle:It,prefixCls:Ee,dropdownClassName:ut,dropdownAlign:St,getPopupContainer:Ct,transitionName:ft,range:!0,direction:Ri},ne.createElement("div",(0,re.Z)({ref:Eo,className:Jt()(Ee,"".concat(Ee,"-range"),ot,(oe={},(0,Ye.Z)(oe,"".concat(Ee,"-disabled"),Ur[0]&&Ur[1]),(0,Ye.Z)(oe,"".concat(Ee,"-focused"),Lr===0?Uu:Ju),(0,Ye.Z)(oe,"".concat(Ee,"-rtl"),Ri==="rtl"),oe)),style:Qe,onClick:fc,onMouseEnter:Po,onMouseLeave:ki,onMouseDown:mc,onMouseUp:Dr},(0,fn.Z)(ee,{aria:!0,data:!0})),ne.createElement("div",{className:Jt()("".concat(Ee,"-input"),(ie={},(0,Ye.Z)(ie,"".concat(Ee,"-input-active"),Lr===0),(0,Ye.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:dn,placeholder:Ln(Ht,0)||"",ref:yi},uc,nc,{autoComplete:ro}))),ne.createElement("div",{className:"".concat(Ee,"-range-separator"),ref:_i},oa),ne.createElement("div",{className:Jt()("".concat(Ee,"-input"),(ge={},(0,Ye.Z)(ge,"".concat(Ee,"-input-active"),Lr===1),(0,Ye.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:Ln(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 xn=function(ee){(0,kt.Z)(ie,ee);var oe=(0,En.Z)(ie);function ie(){var ge;(0,an.Z)(this,ie);for(var me=arguments.length,Ae=new Array(me),Ee=0;Ee<me;Ee++)Ae[Ee]=arguments[Ee];return ge=oe.call.apply(oe,[this].concat(Ae)),(0,Ye.Z)((0,Pt.Z)(ge),"pickerRef",ne.createRef()),(0,Ye.Z)((0,Pt.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,Ye.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),cn=xn,Bn=$e,Sn=te(9708),Hn=te(53124),fa=te(98866),Ea=te(98675),da=te(65223),Ua=te(10110),sr=te(4173),_n=te(16516),la=te(84780),Vn=te(47673),Zn=te(14747),sa=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,Ae=Math.floor(ie*me)+2,Ee=Math.max((oe-Ae)/2,0),Ue=Math.max(oe-Ae-Ee,0);return{padding:`${Ee}px ${ge}px ${Ue}px`}},to=ee=>{const{componentCls:oe,pickerCellCls:ie,pickerCellInnerCls:ge,cellHeight:me,motionDurationSlow:Ae,borderRadiusSM:Ee,motionDurationMid:Ue,cellHoverBg:Qe,lineWidth:ot,lineType:It,colorPrimary:ut,cellActiveWithRangeBg:ft,colorTextLightSolid:St,controlHeightSM:Ct,cellRangeBorderColor:_e,pickerCellBorderGap:pt,cellHoverWithRangeBg:Ht,cellWidth:dn,colorTextDisabled:Xt,cellBgDisabled:Yt}=ee;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:me,transform:"translateY(-50%)",transition:`all ${Ae}`,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:Qe}},[`&-in-view${ie}-today ${ge}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ot}px ${It} ${ut}`,borderRadius:Ee,content:'""'}},[`&-in-view${ie}-in-range`]:{position:"relative","&::before":{background:ft}},[`&-in-view${ie}-selected ${ge},
|
|
&-in-view${ie}-range-start ${ge},
|
|
&-in-view${ie}-range-end ${ge}`]:{color:St,background:ut},[`&-in-view${ie}-range-start:not(${ie}-range-start-single),
|
|
&-in-view${ie}-range-end:not(${ie}-range-end-single)`]:{"&::before":{background:ft}},[`&-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:`${ot}px dashed ${_e}`,borderBottom:`${ot}px dashed ${_e}`,transform:"translateY(-50%)",transition:`all ${Ae}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:pt},[`&-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:(dn-me)/2,borderInlineStart:`${ot}px dashed ${_e}`,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:(dn-me)/2,borderInlineEnd:`${ot}px dashed ${_e}`,borderStartEndRadius:Ee,borderEndEndRadius:Ee},"&-disabled":{color:Xt,pointerEvents:"none",[ge]:{background:"transparent"},"&::before":{background:Yt}},[`&-disabled${ie}-today ${ge}::before`]:{borderColor:Xt}}},Tr=ee=>{const{componentCls:oe,pickerCellCls:ie,pickerCellInnerCls:ge,pickerYearMonthCellWidth:me,pickerControlIconSize:Ae,cellWidth:Ee,paddingSM:Ue,paddingXS:Qe,paddingXXS:ot,colorBgContainer:It,lineWidth:ut,lineType:ft,borderRadiusLG:St,colorPrimary:Ct,colorTextHeading:_e,colorSplit:pt,pickerControlIconBorderWidth:Ht,colorIcon:dn,textHeight:Xt,motionDurationMid:Yt,colorIconHover:Nn,fontWeightStrong:Wt,cellHeight:Qt,pickerCellPaddingVertical:ra,colorTextDisabled:Fn,colorText:oa,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-Qe*2)/3-me-Ue,Vo=(ao-Qe*2)/4-me;return{[oe]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:It,border:`${ut}px ${ft} ${pt}`,borderRadius:St,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 ${Qe}px`,color:_e,borderBottom:`${ut}px ${ft} ${pt}`,"> *":{flex:"none"},button:{padding:0,color:dn,lineHeight:`${Xt}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Yt}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:$n,"&:hover":{color:Nn}},"&-view":{flex:"auto",fontWeight:Wt,lineHeight:`${Xt}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Qe},"&:hover":{color:Ct}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Ae,height:Ae,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Ae,height:Ae,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(Ae/2),insetInlineStart:Math.ceil(Ae/2),display:"inline-block",width:Ae,height:Ae,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:Qt,fontWeight:"normal"},th:{height:Qt+ra*2,color:oa,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ra}px 0`,color:Fn,cursor:"pointer","&-in-view":{color:oa}},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-Qt)/2,insetInlineStart:0},[`&-date-panel ${oe}-cell-in-view${oe}-cell-in-range${oe}-cell-range-hover-end ${ge}::after`]:{insetInlineEnd:0,insetInlineStart:-(Ee-Qt)/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 ${Qe}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 ${ft} ${pt}`},"&-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 ${ft} ${pt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Za,"&:hover":{color:Er},"&:active":{color:ma},[`&${oe}-today-btn-disabled`]:{color:Fn,cursor:"not-allowed"}},"&-decade-panel":{[ge]:{padding:`0 ${Qe/2}px`},[`${oe}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${oe}-body`]:{padding:`0 ${Qe}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:`${Qe}px ${Ue}px`},[`${oe}-cell`]:{[`&:hover ${ge},
|
|
&-selected ${ge},
|
|
${ge}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Yt}`},"&: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 la.C(no).setAlpha(.5).toHexString()},[ge]:{color:no}}},"&-range-hover td:before":{background:Go}}},"&-date-panel":{[`${oe}-body`]:{padding:`${Qe}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 ${ft} ${pt}`},[`${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:`${ot}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Yt}`,overflowX:"hidden","&::after":{display:"block",height:xo-Xr,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ut}px ${ft} ${pt}`},"&-active":{background:new la.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:oa,lineHeight:`${Xr}px`,borderRadius:ir,cursor:"pointer",transition:`background ${Yt}`,"&:hover":{background:uo}},"&-selected":{[`${oe}-time-panel-cell-inner`]:{background:Go}},"&-disabled":{[`${oe}-time-panel-cell-inner`]:{color:Fn,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${oe}-time-panel-column:after`]:{height:xo-Xr+ot*2}}}},jo=ee=>{const{componentCls:oe,colorBgContainer:ie,colorError:ge,errorActiveShadow:me,colorWarning:Ae,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:Ae},[`&${oe}-focused, &:focus`]:Object.assign({},(0,Vn.M1)((0,ya.TS)(ee,{activeBorderColor:Ae,activeShadow:Ee}))),[`${oe}-active-bar`]:{background:Ae}}}}},Wo=ee=>{const{componentCls:oe,antCls:ie,controlHeight:ge,fontSize:me,paddingInline:Ae,colorBgContainer:Ee,lineWidth:Ue,lineType:Qe,colorBorder:ot,borderRadius:It,motionDurationMid:ut,colorBgContainerDisabled:ft,colorTextDisabled:St,colorTextPlaceholder:Ct,controlHeightLG:_e,fontSizeLG:pt,controlHeightSM:Ht,paddingInlineSM:dn,paddingXS:Xt,marginXS:Yt,colorTextDescription:Nn,lineWidthBold:Wt,lineHeight:Qt,colorPrimary:ra,motionDurationSlow:Fn,zIndexPopup:oa,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,Ae)),{position:"relative",display:"inline-flex",alignItems:"center",background:Ee,lineHeight:1,border:`${Ue}px ${Qe} ${ot}`,borderRadius:It,transition:`border ${ut}, box-shadow ${ut}`,"&:hover, &-focused":Object.assign({},(0,Vn.pU)(ee)),"&-focused":Object.assign({},(0,Vn.M1)(ee)),[`&${oe}-disabled`]:{background:ft,borderColor:ot,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,_e,pt,Ae)),{[`${oe}-input > input`]:{fontSize:pt}}),"&-small":Object.assign({},pr(ee,Ht,me,dn)),[`${oe}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Xt/2,color:St,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Yt}}},[`${oe}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:St,lineHeight:1,background:Ee,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ut}, color ${ut}`,"> *":{verticalAlign:"top"},"&:hover":{color:Nn}},[`${oe}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:pt,color:St,fontSize:pt,verticalAlign:"top",cursor:"default",[`${oe}-focused &`]:{color:Nn},[`${oe}-range-separator &`]:{[`${oe}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${oe}-clear`]:{insetInlineEnd:Ae},"&:hover":{[`${oe}-clear`]:{opacity:1}},[`${oe}-active-bar`]:{bottom:-Ue,height:Wt,marginInlineStart:Ae,background:ra,opacity:0,transition:`all ${Fn} 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:dn},[`${oe}-active-bar`]:{marginInlineStart:dn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Zn.Wf)(ee)),Tr(ee)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:oa,[`&${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:ra,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:Ae*1.5,transition:`left ${Fn} ease-out`},(0,sa.r)(Za,ma,Er,_a,kr)),[`${oe}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:_a,borderRadius:ir,boxShadow:no,transition:`margin ${Fn}`,[`${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 ${Qe} ${xo}`,li:Object.assign(Object.assign({},Zn.vS),{borderRadius:uo,paddingInline:Xt,paddingBlock:(Ht-Math.round(me*Qt))/2,cursor:"pointer",transition:`all ${Fn}`,"+ li":{marginTop:Yt},"&: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:ot}}}}),"&-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 la.C(ee.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new la.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 kn=(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:Ae,use12Hours:Ee}=ee,Ue=na(oe)[0],Qe=Object.assign({},ee);return oe&&Array.isArray(oe)&&(Qe.format=Ue),Ue&&typeof Ue=="string"&&(!Ue.includes("s")&&Ae===void 0&&(Qe.showSecond=!1),!Ue.includes("m")&&me===void 0&&(Qe.showMinute=!1),!Ue.includes("H")&&!Ue.includes("h")&&!Ue.includes("K")&&!Ue.includes("k")&&ge===void 0&&(Qe.showHour=!1),(Ue.includes("a")||Ue.includes("A"))&&Ee===void 0&&(Qe.use12Hours=!0)),ie==="time"?Qe:(typeof Ue=="function"&&delete Qe.format,{showTime:Qe})}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:Ae,className:Ee,placement:Ue,size:Qe,disabled:ot,bordered:It=!0,placeholder:ut,popupClassName:ft,dropdownClassName:St,status:Ct,clearIcon:_e,allowClear:pt,rootClassName:Ht}=ie,dn=Jr(ie,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Xt=ne.useRef(null),{getPrefixCls:Yt,direction:Nn,getPopupContainer:Wt}=(0,ne.useContext)(Hn.E_),Qt=Yt("picker",me),{compactSize:ra,compactItemClassnames:Fn}=(0,sr.ri)(Qt,Nn),{format:oa,showTime:$n,picker:Ra}=ie,or=Yt(),[xr,Fa]=kn(Qt),Za=Object.assign(Object.assign({},$n?wa(Object.assign({format:oa,picker:Ra},$n)):{}),Ra==="time"?wa(Object.assign(Object.assign({format:oa},ie),{picker:Ra})):{}),ma=(0,Ea.Z)(kr=>{var Ir;return(Ir=Qe!=null?Qe:ra)!==null&&Ir!==void 0?Ir:kr}),Er=ne.useContext(fa.Z),_a=ot!=null?ot:Er,ir=(0,ne.useContext)(da.aM),{hasFeedback:no,status:uo,feedbackIcon:xo}=ir,ei=ne.createElement(ne.Fragment,null,Ra==="time"?ne.createElement(Je,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(cn,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${Qt}-separator`},ne.createElement(mt,null)),disabled:_a,ref:Xt,dropdownAlign:so(Nn,Ue),placeholder:Pr(Go,Ra,ut),suffixIcon:ei,prevIcon:ne.createElement("span",{className:`${Qt}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Qt}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Qt}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Qt}-super-next-icon`}),transitionName:`${or}-slide-up`},dn,Za,{className:Jt()({[`${Qt}-${ma}`]:ma,[`${Qt}-borderless`]:!It},(0,Sn.Z)(Qt,(0,Sn.F)(uo,Ct),no),Fa,Fn,Ee,Ht),locale:Go.lang,prefixCls:Qt,getPopupContainer:Ae||Wt,generateConfig:ee,components:mr,direction:Nn,dropdownClassName:Jt()(Fa,ft||St,Ht),allowClear:ka(pt,_e,ne.createElement(dt.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(Qe,ot){const It=ot==="TimePicker"?"timePicker":"datePicker",ut=(0,ne.forwardRef)((ft,St)=>{const{prefixCls:Ct,getPopupContainer:_e,style:pt,className:Ht,rootClassName:dn,size:Xt,bordered:Yt=!0,placement:Nn,placeholder:Wt,popupClassName:Qt,dropdownClassName:ra,disabled:Fn,status:oa,clearIcon:$n,allowClear:Ra}=ft,or=Sl(ft,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:xr,direction:Fa,getPopupContainer:Za,[It]:ma}=(0,ne.useContext)(Hn.E_),Er=xr("picker",Ct),{compactSize:_a,compactItemClassnames:ir}=(0,sr.ri)(Er,Fa),no=ne.useRef(null),{format:uo,showTime:xo}=ft,[ei,Xr]=kn(Er);(0,ne.useImperativeHandle)(St,()=>({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={};Qe&&(kr.picker=Qe);const Ir=Qe||ft.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},ft),{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=Fn!=null?Fn:Vo,Uo=(0,ne.useContext)(da.aM),{hasFeedback:tr,status:co,feedbackIcon:Vr}=Uo,wr=ne.createElement(ne.Fragment,null,Ir==="time"?ne.createElement(Je,null):ne.createElement(pe,null),tr&&Vr),[Ba]=(0,Ua.Z)("DatePicker",_n.Z),Dr=Object.assign(Object.assign({},Ba),ft.locale);return ei(ne.createElement(Bn,Object.assign({ref:no,placeholder:Ta(Dr,Ir,Wt),suffixIcon:wr,dropdownAlign:so(Fa,Nn),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:Dr.lang,className:Jt()({[`${Er}-${Ko}`]:Ko,[`${Er}-borderless`]:!Yt},(0,Sn.Z)(Er,(0,Sn.F)(co,oa),tr),Xr,ir,ma==null?void 0:ma.className,Ht,dn),style:Object.assign(Object.assign({},ma==null?void 0:ma.style),pt),prefixCls:Er,getPopupContainer:_e||Za,generateConfig:ee,components:mr,direction:Fa,disabled:xi,dropdownClassName:Jt()(Xr,dn,Qt||ra),allowClear:ka(Ra,$n,ne.createElement(dt.Z,null))})))});return ot&&(ut.displayName=ot),ut}const ie=oe(),ge=oe("week","WeekPicker"),me=oe("month","MonthPicker"),Ae=oe("year","YearPicker"),Ee=oe("time","TimePicker"),Ue=oe("quarter","QuarterPicker");return{DatePicker:ie,WeekPicker:ge,MonthPicker:me,YearPicker:Ae,TimePicker:Ee,QuarterPicker:Ue}}const Ms=null;function Mi(ee){const{DatePicker:oe,WeekPicker:ie,MonthPicker:ge,YearPicker:me,TimePicker:Ae,QuarterPicker:Ee}=al(ee),Ue=Wr(ee),Qe=oe;return Qe.WeekPicker=ie,Qe.MonthPicker=ge,Qe.YearPicker=me,Qe.RangePicker=Ue,Qe.TimePicker=Ae,Qe.QuarterPicker=Ee,Qe}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,wt,te){"use strict";te.d(wt,{Z:function(){return je}});var le=te(94184),ve=te.n(le),Te=te(67294),Ge=te(53124),ke=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,ke.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}=Te.useContext(Ge.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:ae,rootClassName:re,children:ne,dashed:fe,plain:Se,style:Le}=we,be=He(we,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=ue("divider",x),[pe,it]=Ke(xe),We=E.length>0?`-${E}`:E,xt=!!ne,Je=E==="left"&&z!=null,dt=E==="right"&&z!=null,Mt=ve()(xe,a==null?void 0:a.className,it,`${xe}-${b}`,{[`${xe}-with-text`]:xt,[`${xe}-with-text${We}`]:xt,[`${xe}-dashed`]:!!fe,[`${xe}-plain`]:!!Se,[`${xe}-rtl`]:y==="rtl",[`${xe}-no-default-orientation-margin-left`]:Je,[`${xe}-no-default-orientation-margin-right`]:dt},ae,re),Kt=Te.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Ft=Object.assign(Object.assign({},Je&&{marginLeft:Kt}),dt&&{marginRight:Kt});return pe(Te.createElement("div",Object.assign({className:Mt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Le)},be,{role:"separator"}),ne&&b!=="vertical"&&Te.createElement("span",{className:`${xe}-inner-text`,style:Ft},ne)))}},56153:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return Ou}});var le=te(67294),ve=te.t(le,2),Te=te(91034),Ge=te(94184),ke=te.n(Ge),Ze=te(87462),de=te(4942),ze=te(97685),Ke=te(45987),He=te(1413),tt=te(73935);function je(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var we={};function ue(Pe,Re){}function y(Pe,Re){}function a(){we={}}function x(Pe,Re,Fe){!Re&&!we[Fe]&&(Pe(!1,Fe),we[Fe]=!0)}function b(Pe,Re){x(ue,Pe,Re)}function E(Pe,Re){x(y,Pe,Re)}var z=null,ae=te(71002),re=te(12060);function ne(Pe,Re,Fe){var nt=le.useRef({});return(!("value"in nt.current)||Fe(nt.current.condition,Re))&&(nt.current.value=Pe(),nt.current.condition=Re),nt.current.value}function fe(Pe,Re){typeof Pe=="function"?Pe(Re):(0,ae.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Re)}function Se(){for(var Pe=arguments.length,Re=new Array(Pe),Fe=0;Fe<Pe;Fe++)Re[Fe]=arguments[Fe];var nt=Re.filter(function(At){return At});return nt.length<=1?nt[0]:function(At){Re.forEach(function(qt){fe(qt,At)})}}function Le(){for(var Pe=arguments.length,Re=new Array(Pe),Fe=0;Fe<Pe;Fe++)Re[Fe]=arguments[Fe];return ne(function(){return Se.apply(void 0,Re)},Re,function(nt,At){return nt.length===At.length&&nt.every(function(qt,tn){return qt===At[tn]})})}function be(Pe){var Re,Fe,nt=(0,re.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof nt=="function"&&!((Re=nt.prototype)!==null&&Re!==void 0&&Re.render)||typeof Pe=="function"&&!((Fe=Pe.prototype)!==null&&Fe!==void 0&&Fe.render))}var xe=le.createContext(null),pe=xe,it=te(74902),We=je()?le.useLayoutEffect:le.useEffect,xt=We,Je=function(Re,Fe){var nt=React.useRef(!0);We(function(){if(!nt.current)return Re()},Fe),We(function(){return nt.current=!1,function(){nt.current=!0}},[])},dt=[];function Mt(Pe,Re){var Fe=le.useState(function(){if(!je())return null;var qa=document.createElement("div");return qa}),nt=(0,ze.Z)(Fe,1),At=nt[0],qt=le.useRef(!1),tn=le.useContext(pe),Kn=le.useState(dt),aa=(0,ze.Z)(Kn,2),Qn=aa[0],xa=aa[1],Xn=tn||(qt.current?void 0:function(qa){xa(function(Fr){var Ar=[qa].concat((0,it.Z)(Fr));return Ar})});function Da(){At.parentElement||document.body.appendChild(At),qt.current=!0}function Pa(){var qa;(qa=At.parentElement)===null||qa===void 0||qa.removeChild(At),qt.current=!1}return xt(function(){return Pe?tn?tn(Da):Da():Pa(),Pa},[Pe]),xt(function(){Qn.length&&(Qn.forEach(function(qa){return qa()}),xa(dt))},[Qn]),[At,Xn]}function Kt(Pe,Re){if(!Pe)return!1;if(Pe.contains)return Pe.contains(Re);for(var Fe=Re;Fe;){if(Fe===Pe)return!0;Fe=Fe.parentNode}return!1}var Ft="data-rc-order",mt="rc-util-key",Rt=new Map;function Jt(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=Pe.mark;return Re?Re.startsWith("data-")?Re:"data-".concat(Re):mt}function an(Pe){if(Pe.attachTo)return Pe.attachTo;var Re=document.querySelector("head");return Re||document.body}function Ve(Pe){return Pe==="queue"?"prependQueue":Pe?"prepend":"append"}function Pt(Pe){return Array.from((Rt.get(Pe)||Pe).children).filter(function(Re){return Re.tagName==="STYLE"})}function kt(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!je())return null;var Fe=Re.csp,nt=Re.prepend,At=document.createElement("style");At.setAttribute(Ft,Ve(nt)),Fe!=null&&Fe.nonce&&(At.nonce=Fe==null?void 0:Fe.nonce),At.innerHTML=Pe;var qt=an(Re),tn=qt.firstChild;if(nt){if(nt==="queue"){var Kn=Pt(qt).filter(function(aa){return["prepend","prependQueue"].includes(aa.getAttribute(Ft))});if(Kn.length)return qt.insertBefore(At,Kn[Kn.length-1].nextSibling),At}qt.insertBefore(At,tn)}else qt.appendChild(At);return At}function En(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Fe=an(Re);return Pt(Fe).find(function(nt){return nt.getAttribute(Jt(Re))===Pe})}function Ye(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Fe=En(Pe,Re);if(Fe){var nt=an(Re);nt.removeChild(Fe)}}function Lt(Pe,Re){var Fe=Rt.get(Pe);if(!Fe||!Kt(document,Fe)){var nt=kt("",Re),At=nt.parentNode;Rt.set(Pe,At),Pe.removeChild(nt)}}function Ce(){Rt.clear()}function rn(Pe,Re){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},nt=an(Fe);Lt(nt,Fe);var At=En(Re,Fe);if(At){var qt,tn;if((qt=Fe.csp)!==null&&qt!==void 0&&qt.nonce&&At.nonce!==((tn=Fe.csp)===null||tn===void 0?void 0:tn.nonce)){var Kn;At.nonce=(Kn=Fe.csp)===null||Kn===void 0?void 0:Kn.nonce}return At.innerHTML!==Pe&&(At.innerHTML=Pe),At}var aa=kt(Pe,Fe);return aa.setAttribute(Jt(Fe),Re),aa}var fn;function ua(Pe){if(typeof document=="undefined")return 0;if(Pe||fn===void 0){var Re=document.createElement("div");Re.style.width="100%",Re.style.height="200px";var Fe=document.createElement("div"),nt=Fe.style;nt.position="absolute",nt.top="0",nt.left="0",nt.pointerEvents="none",nt.visibility="hidden",nt.width="200px",nt.height="150px",nt.overflow="hidden",Fe.appendChild(Re),document.body.appendChild(Fe);var At=Re.offsetWidth;Fe.style.overflow="scroll";var qt=Re.offsetWidth;At===qt&&(qt=Fe.clientWidth),document.body.removeChild(Fe),fn=At-qt}return fn}function An(Pe){var Re=Pe.match(/^(.*)px$/),Fe=Number(Re==null?void 0:Re[1]);return Number.isNaN(Fe)?ua():Fe}function gt(Pe){if(typeof document=="undefined"||!Pe||!(Pe instanceof Element))return{width:0,height:0};var Re=getComputedStyle(Pe,"::-webkit-scrollbar"),Fe=Re.width,nt=Re.height;return{width:An(Fe),height:An(nt)}}function Me(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Be="rc-util-locker-".concat(Date.now()),vt=0;function Ot(Pe){var Re=!!Pe,Fe=le.useState(function(){return vt+=1,"".concat(Be,"_").concat(vt)}),nt=(0,ze.Z)(Fe,1),At=nt[0];xt(function(){if(Re){var qt=gt(document.body).width,tn=Me();rn(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(tn?"width: calc(100% - ".concat(qt,"px);"):"",`
|
|
}`),At)}else Ye(At);return function(){Ye(At)}},[Re,At])}var jt=!1;function sn(Pe){return typeof Pe=="boolean"&&(jt=Pe),jt}var On=function(Re){return Re===!1?!1:!je()||!Re?null:typeof Re=="string"?document.querySelector(Re):typeof Re=="function"?Re():Re},Gn=le.forwardRef(function(Pe,Re){var Fe=Pe.open,nt=Pe.autoLock,At=Pe.getContainer,qt=Pe.debug,tn=Pe.autoDestroy,Kn=tn===void 0?!0:tn,aa=Pe.children,Qn=le.useState(Fe),xa=(0,ze.Z)(Qn,2),Xn=xa[0],Da=xa[1],Pa=Xn||Fe;le.useEffect(function(){(Kn||Fe)&&Da(Fe)},[Fe,Kn]);var qa=le.useState(function(){return On(At)}),Fr=(0,ze.Z)(qa,2),Ar=Fr[0],Kr=Fr[1];le.useEffect(function(){var _o=On(At);Kr(_o!=null?_o:null)});var Cr=Mt(Pa&&!Ar,qt),er=(0,ze.Z)(Cr,2),Ma=er[0],Zo=er[1],yo=Ar!=null?Ar:Ma;Ot(nt&&Fe&&je()&&(yo===Ma||yo===document.body));var zo=null;if(aa&&be(aa)&&Re){var qo=aa;zo=qo.ref}var Ni=Le(zo,Re);if(!Pa||!je()||Ar===void 0)return null;var Ao=yo===!1||sn(),jr=aa;return Re&&(jr=le.cloneElement(aa,{ref:Ni})),le.createElement(pe.Provider,{value:Zo},Ao?jr:(0,tt.createPortal)(jr,yo))}),bn=Gn,ga=bn,Ie=te(48555);function rt(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function Yn(Pe){return rt(Pe)?Pe:Pe instanceof React.Component?ReactDOM.findDOMNode(Pe):null}function Dn(Pe){var Re;return Pe==null||(Re=Pe.getRootNode)===null||Re===void 0?void 0:Re.call(Pe)}function lt(Pe){return Dn(Pe)instanceof ShadowRoot}function _t(Pe){return lt(Pe)?Dn(Pe):null}function ea(Pe){var Re=le.useRef();Re.current=Pe;var Fe=le.useCallback(function(){for(var nt,At=arguments.length,qt=new Array(At),tn=0;tn<At;tn++)qt[tn]=arguments[tn];return(nt=Re.current)===null||nt===void 0?void 0:nt.call.apply(nt,[Re].concat(qt))},[]);return Fe}function Un(){var Pe=(0,He.Z)({},ve);return Pe.useId}var ca=0;function Tn(){}var un=Un(),qn=un?function(Re){var Fe=un();return Re||Fe}:function(Re){var Fe=le.useState("ssr-id"),nt=(0,ze.Z)(Fe,2),At=nt[0],qt=nt[1];return le.useEffect(function(){var tn=ca;ca+=1,qt("rc_unique_".concat(tn))},[]),Re||At};function cr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ga=cr()?le.useLayoutEffect:le.useEffect,za=function(Re,Fe){var nt=le.useRef(!0);Ga(function(){return Re(nt.current)},Fe),Ga(function(){return nt.current=!1,function(){nt.current=!0}},[])},Zr=function(Re,Fe){za(function(nt){if(!nt)return Re()},Fe)},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,Re,Fe,nt){return le.useMemo(function(){var At=Yo(Fe!=null?Fe:Re),qt=Yo(nt!=null?nt:Re),tn=new Set(At),Kn=new Set(qt);return Pe&&(tn.has("hover")&&(tn.delete("hover"),tn.add("click")),Kn.has("hover")&&(Kn.delete("hover"),Kn.add("click"))),[tn,Kn]},[Pe,Re,Fe,nt])}var fi=function(Pe){if(!Pe)return!1;if(Pe instanceof Element){if(Pe.offsetParent)return!0;if(Pe.getBBox){var Re=Pe.getBBox(),Fe=Re.width,nt=Re.height;if(Fe||nt)return!0}if(Pe.getBoundingClientRect){var At=Pe.getBoundingClientRect(),qt=At.width,tn=At.height;if(qt||tn)return!0}}return!1};function Io(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Fe=arguments.length>2?arguments[2]:void 0;return Fe?Pe[0]===Re[0]:Pe[0]===Re[0]&&Pe[1]===Re[1]}function bi(Pe,Re,Fe,nt){for(var At=Fe.points,qt=Object.keys(Pe),tn=0;tn<qt.length;tn+=1){var Kn,aa=qt[tn];if(Io((Kn=Pe[aa])===null||Kn===void 0?void 0:Kn.points,At,nt))return"".concat(Re,"-placement-").concat(aa)}return""}function Hr(Pe,Re,Fe,nt){return Re||(Fe?{motionName:"".concat(Pe,"-").concat(Fe)}:nt?{motionName:nt}:null)}function wn(Pe){return Pe.ownerDocument.defaultView}function Rn(Pe){for(var Re=[],Fe=Pe==null?void 0:Pe.parentElement,nt=["hidden","scroll","clip","auto"];Fe;){var At=wn(Fe).getComputedStyle(Fe),qt=At.overflowX,tn=At.overflowY,Kn=At.overflow;[qt,tn,Kn].some(function(aa){return nt.includes(aa)})&&Re.push(Fe),Fe=Fe.parentElement}return Re}function Pn(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Pe)?Re:Pe}function Cn(Pe){return Pn(parseFloat(Pe),0)}function Ja(Pe,Re){var Fe=(0,He.Z)({},Pe);return(Re||[]).forEach(function(nt){if(!(nt instanceof HTMLBodyElement||nt instanceof HTMLHtmlElement)){var At=wn(nt).getComputedStyle(nt),qt=At.overflow,tn=At.overflowClipMargin,Kn=At.borderTopWidth,aa=At.borderBottomWidth,Qn=At.borderLeftWidth,xa=At.borderRightWidth,Xn=nt.getBoundingClientRect(),Da=nt.offsetHeight,Pa=nt.clientHeight,qa=nt.offsetWidth,Fr=nt.clientWidth,Ar=Cn(Kn),Kr=Cn(aa),Cr=Cn(Qn),er=Cn(xa),Ma=Pn(Math.round(Xn.width/qa*1e3)/1e3),Zo=Pn(Math.round(Xn.height/Da*1e3)/1e3),yo=(qa-Fr-Cr-er)*Ma,zo=(Da-Pa-Ar-Kr)*Zo,qo=Ar*Zo,Ni=Kr*Zo,Ao=Cr*Ma,jr=er*Ma,_o=0,ui=0;if(qt==="clip"){var Bo=Cn(tn);_o=Bo*Ma,ui=Bo*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;Fe.left=Math.max(Fe.left,Or),Fe.top=Math.max(Fe.top,ho),Fe.right=Math.min(Fe.right,Sr),Fe.bottom=Math.min(Fe.bottom,hi)}}),Fe}function Nr(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Fe="".concat(Re),nt=Fe.match(/^(.*)\%$/);return nt?Pe*(parseFloat(nt[1])/100):parseFloat(Fe)}function Mn(Pe,Re){var Fe=Re||[],nt=(0,ze.Z)(Fe,2),At=nt[0],qt=nt[1];return[Nr(Pe.width,At),Nr(Pe.height,qt)]}function at(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Pe[0],Pe[1]]}function st(Pe,Re){var Fe=Re[0],nt=Re[1],At,qt;return Fe==="t"?qt=Pe.y:Fe==="b"?qt=Pe.y+Pe.height:qt=Pe.y+Pe.height/2,nt==="l"?At=Pe.x:nt==="r"?At=Pe.x+Pe.width:At=Pe.x+Pe.width/2,{x:At,y:qt}}function et(Pe,Re){var Fe={t:"b",b:"t",l:"r",r:"l"};return Pe.map(function(nt,At){return At===Re?Fe[nt]||"c":nt}).join("")}function Zt(Pe,Re,Fe,nt,At,qt,tn){var Kn=le.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:At[nt]||{}}),aa=(0,ze.Z)(Kn,2),Qn=aa[0],xa=aa[1],Xn=le.useRef(0),Da=le.useMemo(function(){return Re?Rn(Re):[]},[Re]),Pa=le.useRef({}),qa=function(){Pa.current={}};Pe||qa();var Fr=ea(function(){if(Re&&Fe&&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),kn=Math.min(jo,fr.bottom);return Math.max(0,(di-Wo)*(kn-ur))},Ya=function(){bs=io.y+Fo,$s=bs+si,Ys=io.x+pi,Qs=Ys+So};var Cr,er,Ma=Re,Zo=Ma.ownerDocument,yo=wn(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,Bo=Ma.style.bottom,Or=(0,He.Z)((0,He.Z)({},At[nt]),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(Fe))Sr={x:Fe[0],y:Fe[1],width:0,height:0};else{var hi=Fe.getBoundingClientRect();Sr={x:hi.x,y:hi.y,width:hi.width,height:hi.height}}var io=Ma.getBoundingClientRect(),Ci=Zo.documentElement,Ji=Ci.clientWidth,Di=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:Di},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 Bi=Vi===sl,bo=Ja(es,Da),dr=Ja(Rl,Da),Si=Vi===ci?dr:bo,hl=Bi?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=Bo,(er=Ma.parentElement)===null||er===void 0||er.removeChild(ho);var ps=Pn(Math.round(So/parseFloat(qo)*1e3)/1e3),zl=Pn(Math.round(si/parseFloat(Ni)*1e3)/1e3);if(ps===0||zl===0||rt(Fe)&&!fi(Fe))return;var Ws=Or.offset,fd=Or.targetOffset,ns=Mn(io,Ws),Jd=(0,ze.Z)(ns,2),Hl=Jd[0],as=Jd[1],md=Mn(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],Ds=at(qd),wl=at(Vs),hd=st(Sr,Ds),Us=st(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=st(Sr,["t","l"]),Rd=st(io,["t","l"]),pd=st(Sr,["b","r"]),rs=st(io,["b","r"]),Pd=Or.overflow||{},Fd=Pd.adjustX,Bs=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(Bs),Id=wl[0]===Ds[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&&(!Bi||Ol>=ys)?(Pa.current.bt=!0,Fo=ds,as=-as,Ps.points=[et(wl,0),et(Ds,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&&(!Bi||ce>=ys)?(Pa.current.tb=!0,Fo=Js,as=-as,Ps.points=[et(wl,0),et(Ds,0)]):Pa.current.tb=!1}var he=Td(Fd),ye=wl[1]===Ds[1];if(he&&wl[1]==="l"&&(Qs>hl.right||Pa.current.rl)){var Ne=pi;ye?Ne-=So-Xi:Ne=Sd.x-rs.x-Hl;var Oe=ba(Ne,Fo),$e=ba(Ne,Fo,dr);Oe>Gl||Oe===Gl&&(!Bi||$e>=ys)?(Pa.current.rl=!0,pi=Ne,Hl=-Hl,Ps.points=[et(wl,1),et(Ds,1)]):Pa.current.rl=!1}if(he&&wl[1]==="r"&&(Ys<hl.left||Pa.current.lr)){var qe=pi;ye?qe+=So-Xi:qe=pd.x-Rd.x-Hl;var Xe=ba(qe,Fo),ht=ba(qe,Fo,dr);Xe>Gl||Xe===Gl&&(!Bi||ht>=ys)?(Pa.current.lr=!0,pi=qe,Hl=-Hl,Ps.points=[et(wl,1),et(Ds,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 yt=yd===!0?0:yd;typeof yt=="number"&&(bs<dr.top&&(Fo-=bs-dr.top-as,Sr.y+Ho<dr.top+yt&&(Fo+=Sr.y-dr.top+Ho-yt)),$s>dr.bottom&&(Fo-=$s-dr.bottom-as,Sr.y>dr.bottom-yt&&(Fo+=Sr.y-dr.bottom+yt)));var Ut=io.x+pi,$t=Ut+So,en=io.y+Fo,xn=en+si,cn=Sr.x,Bn=cn+Xi,Sn=Sr.y,Hn=Sn+Ho,fa=Math.max(Ut,cn),Ea=Math.min($t,Bn),da=(fa+Ea)/2,Ua=da-Ut,sr=Math.max(en,Sn),_n=Math.min(xn,Hn),la=(sr+_n)/2,Vn=la-en;tn==null||tn(Re,Ps);var Zn=ts.right-io.x-(pi+io.width),sa=ts.bottom-io.y-(Fo+io.height);xa({ready:!0,offsetX:pi/ps,offsetY:Fo/zl,offsetR:Zn/ps,offsetB:sa/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,[nt]),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 mn(Pe,Re,Fe,nt,At){Va(function(){if(Pe&&Re&&Fe){let Xn=function(){nt(),At()};var qt=Re,tn=Fe,Kn=Rn(qt),aa=Rn(tn),Qn=wn(tn),xa=new Set([Qn].concat((0,it.Z)(Kn),(0,it.Z)(aa)));return xa.forEach(function(Da){Da.addEventListener("scroll",Xn,{passive:!0})}),Qn.addEventListener("resize",Xn,{passive:!0}),nt(),function(){xa.forEach(function(Da){Da.removeEventListener("scroll",Xn),Qn.removeEventListener("resize",Xn)})}}},[Pe,Re,Fe])}function zn(Pe){var Re=React.useRef(!1),Fe=React.useState(Pe),nt=_slicedToArray(Fe,2),At=nt[0],qt=nt[1];React.useEffect(function(){return Re.current=!1,function(){Re.current=!0}},[]);function tn(Kn,aa){aa&&Re.current||qt(Kn)}return[At,tn]}function La(Pe){return Pe!==void 0}function Jn(Pe,Re){var Fe=Re||{},nt=Fe.defaultValue,At=Fe.value,qt=Fe.onChange,tn=Fe.postState,Kn=useState(function(){return La(At)?At:La(nt)?typeof nt=="function"?nt():nt:typeof Pe=="function"?Pe():Pe}),aa=_slicedToArray(Kn,2),Qn=aa[0],xa=aa[1],Xn=At!==void 0?At:Qn,Da=tn?tn(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(At)||xa(At)},[At]);var Cr=useEvent(function(er,Ma){xa(er,Ma),Kr([Xn],Ma)});return[Da,Cr]}var Ln=te(95845);function va(Pe,Re,Fe){var nt=le.useRef({});return(!("value"in nt.current)||Fe(nt.current.condition,Re))&&(nt.current.value=Pe(),nt.current.condition=Re),nt.current.value}function fo(Pe,Re){typeof Pe=="function"?Pe(Re):(0,ae.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Re)}function yn(){for(var Pe=arguments.length,Re=new Array(Pe),Fe=0;Fe<Pe;Fe++)Re[Fe]=arguments[Fe];var nt=Re.filter(function(At){return At});return nt.length<=1?nt[0]:function(At){Re.forEach(function(qt){fo(qt,At)})}}function $r(){for(var Pe=arguments.length,Re=new Array(Pe),Fe=0;Fe<Pe;Fe++)Re[Fe]=arguments[Fe];return va(function(){return yn.apply(void 0,Re)},Re,function(nt,At){return nt.length!==At.length||nt.every(function(qt,tn){return qt!==At[tn]})})}function Qo(Pe){var Re,Fe,nt=(0,Ln.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof nt=="function"&&!((Re=nt.prototype)!==null&&Re!==void 0&&Re.render)||typeof Pe=="function"&&!((Fe=Pe.prototype)!==null&&Fe!==void 0&&Fe.render))}function Qi(Pe){return!isValidElement(Pe)||isFragment(Pe)?!1:Qo(Pe)}function Jo(Pe,Re,Fe,nt){if(!Re.length)return Fe;var At=_toArray(Re),qt=At[0],tn=At.slice(1),Kn;return!Pe&&typeof qt=="number"?Kn=[]:Array.isArray(Pe)?Kn=_toConsumableArray(Pe):Kn=_objectSpread({},Pe),nt&&Fe===void 0&&tn.length===1?delete Kn[qt][tn[0]]:Kn[qt]=Jo(Kn[qt],tn,Fe,nt),Kn}function wo(Pe,Re,Fe){var nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Re.length&&nt&&Fe===void 0&&!get(Pe,Re.slice(0,-1))?Pe:Jo(Pe,Re,Fe,nt)}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,Re=new Array(Pe),Fe=0;Fe<Pe;Fe++)Re[Fe]=arguments[Fe];var nt=br(Re[0]);return Re.forEach(function(At){function qt(tn,Kn){var aa=new Set(Kn),Qn=get(At,tn),xa=Array.isArray(Qn);if(xa||gl(Qn)){if(!aa.has(Qn)){aa.add(Qn);var Xn=get(nt,tn);xa?nt=wo(nt,tn,[]):(!Xn||_typeof(Xn)!=="object")&&(nt=wo(nt,tn,br(Qn))),Pl(Qn).forEach(function(Da){qt([].concat(_toConsumableArray(tn),[Da]),aa)})}}else nt=wo(nt,tn,Qn)}qt([])}),nt}var Ii={},mi=[],tl=function(Re){mi.push(Re)};function fl(Pe,Re){if(0)var Fe}function Es(Pe,Re){if(0)var Fe}function hn(){Ii={}}function Os(Pe,Re,Fe){!Re&&!Ii[Fe]&&(Pe(!1,Fe),Ii[Fe]=!0)}function ml(Pe,Re){Os(fl,Pe,Re)}function mo(Pe,Re){Os(Es,Pe,Re)}ml.preMessage=tl,ml.resetWarned=hn,ml.noteOnce=mo;var Il=null,In=function(Re){return+setTimeout(Re,16)},Aa=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(In=function(Re){return window.requestAnimationFrame(Re)},Aa=function(Re){return window.cancelAnimationFrame(Re)});var vr=0,Na=new Map;function Lo(Pe){Na.delete(Pe)}var Xo=function(Re){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;vr+=1;var nt=vr;function At(qt){if(qt===0)Lo(nt),Re();else{var tn=In(function(){At(qt-1)});Na.set(nt,tn)}}return At(Fe),nt};Xo.cancel=function(Pe){var Re=Na.get(Pe);return Lo(Re),Aa(Re)};var Ai=Xo;function ji(Pe,Re,Fe,nt,At,qt,tn,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(Re&&nt&&(!At||qt)){var xa=function(){var Ao=!1,jr=function(Bo){var Or=Bo.target;Ao=tn(Or)},_o=function(Bo){var Or=Bo.target;!Qn.current&&aa.current&&!Ao&&!tn(Or)&&Kn(!1)};return[jr,_o]},Xn=xa(),Da=(0,ze.Z)(Xn,2),Pa=Da[0],qa=Da[1],Fr=xa(),Ar=(0,ze.Z)(Fr,2),Kr=Ar[0],Cr=Ar[1],er=wn(nt);er.addEventListener("mousedown",Pa,!0),er.addEventListener("click",qa,!0),er.addEventListener("contextmenu",qa,!0);var Ma=_t(Fe);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))}}},[Re,Fe,nt,At,qt])}function il(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function fs(Pe){return il(Pe)?Pe:Pe instanceof le.Component?tt.findDOMNode(Pe):null}function Zi(Pe,Re){var Fe={};return Fe[Pe.toLowerCase()]=Re.toLowerCase(),Fe["Webkit".concat(Pe)]="webkit".concat(Re),Fe["Moz".concat(Pe)]="moz".concat(Re),Fe["ms".concat(Pe)]="MS".concat(Re),Fe["O".concat(Pe)]="o".concat(Re.toLowerCase()),Fe}function Ts(Pe,Re){var Fe={animationend:Zi("Animation","AnimationEnd"),transitionend:Zi("Transition","TransitionEnd")};return Pe&&("AnimationEvent"in Re||delete Fe.animationend.animation,"TransitionEvent"in Re||delete Fe.transitionend.transition),Fe}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 Re=dd[Pe];if(Re)for(var Fe=Object.keys(Re),nt=Fe.length,At=0;At<nt;At+=1){var qt=Fe[At];if(Object.prototype.hasOwnProperty.call(Re,qt)&&qt in Ul)return is[Pe]=Re[qt],is[Pe]}return""}var Is=vs("animationend"),$l=vs("transitionend"),hs=!!(Is&&$l),Yl=Is||"animationend",Ss=$l||"transitionend";function bt(Pe,Re){if(!Pe)return null;if((0,ae.Z)(Pe)==="object"){var Fe=Re.replace(/-\w/g,function(nt){return nt[1].toUpperCase()});return Pe[Fe]}return"".concat(Pe,"-").concat(Re)}var Nt="none",Vt="appear",De="enter",zt="leave",gn="none",vn="prepare",Dt="start",Gt="active",Tt="end";function pn(Pe){var Re=le.useRef(!1),Fe=le.useState(Pe),nt=(0,ze.Z)(Fe,2),At=nt[0],qt=nt[1];le.useEffect(function(){return Re.current=!1,function(){Re.current=!0}},[]);function tn(Kn,aa){aa&&Re.current||qt(Kn)}return[At,tn]}var Wn=function(Re){return+setTimeout(Re,16)},ia=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Wn=function(Re){return window.requestAnimationFrame(Re)},ia=function(Re){return window.cancelAnimationFrame(Re)});var ta=0,pa=new Map;function Ha(Pe){pa.delete(Pe)}var on=function(Re){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ta+=1;var nt=ta;function At(qt){if(qt===0)Ha(nt),Re();else{var tn=Wn(function(){At(qt-1)});pa.set(nt,tn)}}return At(Fe),nt};on.cancel=function(Pe){var Re=pa.get(Pe);return Ha(Re),ia(Re)};var Et=on,nn=function(){var Pe=le.useRef(null);function Re(){Et.cancel(Pe.current)}function Fe(nt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Re();var qt=Et(function(){At<=1?nt({isCanceled:function(){return qt!==Pe.current}}):Fe(nt,At-1)});Pe.current=qt}return le.useEffect(function(){return function(){Re()}},[]),[Fe,Re]},ln=je()?le.useLayoutEffect:le.useEffect,jn=ln,Sa=[vn,Dt,Gt,Tt],Oa=!1,ar=!0;function Ka(Pe){return Pe===Gt||Pe===Tt}var Xa=function(Pe,Re){var Fe=pn(gn),nt=(0,ze.Z)(Fe,2),At=nt[0],qt=nt[1],tn=nn(),Kn=(0,ze.Z)(tn,2),aa=Kn[0],Qn=Kn[1];function xa(){qt(vn,!0)}return jn(function(){if(At!==gn&&At!==Tt){var Xn=Sa.indexOf(At),Da=Sa[Xn+1],Pa=Re(At);Pa===Oa?qt(Da,!0):aa(function(qa){function Fr(){qa.isCanceled()||qt(Da,!0)}Pa===!0?Fr():Promise.resolve(Pa).then(Fr)})}},[Pe,At]),le.useEffect(function(){return function(){Qn()}},[]),[xa,At]},gr=function(Pe){var Re=(0,le.useRef)(),Fe=(0,le.useRef)(Pe);Fe.current=Pe;var nt=le.useCallback(function(tn){Fe.current(tn)},[]);function At(tn){tn&&(tn.removeEventListener(Ss,nt),tn.removeEventListener(Yl,nt))}function qt(tn){Re.current&&Re.current!==tn&&At(Re.current),tn&&tn!==Re.current&&(tn.addEventListener(Ss,nt),tn.addEventListener(Yl,nt),Re.current=tn)}return le.useEffect(function(){return function(){At(Re.current)}},[]),[qt,At]};function Wa(Pe,Re,Fe,nt){var At=nt.motionEnter,qt=At===void 0?!0:At,tn=nt.motionAppear,Kn=tn===void 0?!0:tn,aa=nt.motionLeave,Qn=aa===void 0?!0:aa,xa=nt.motionDeadline,Xn=nt.motionLeaveImmediately,Da=nt.onAppearPrepare,Pa=nt.onEnterPrepare,qa=nt.onLeavePrepare,Fr=nt.onAppearStart,Ar=nt.onEnterStart,Kr=nt.onLeaveStart,Cr=nt.onAppearActive,er=nt.onEnterActive,Ma=nt.onLeaveActive,Zo=nt.onAppearEnd,yo=nt.onEnterEnd,zo=nt.onLeaveEnd,qo=nt.onVisibleChanged,Ni=pn(),Ao=(0,ze.Z)(Ni,2),jr=Ao[0],_o=Ao[1],ui=pn(Nt),Bo=(0,ze.Z)(ui,2),Or=Bo[0],ho=Bo[1],Sr=pn(null),hi=(0,ze.Z)(Sr,2),io=hi[0],Ci=hi[1],Ji=(0,le.useRef)(!1),Di=(0,le.useRef)(null);function xl(){return Fe()}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===Vt&&Si?hl=Zo==null?void 0:Zo(dr,bo):Or===De&&Si?hl=yo==null?void 0:yo(dr,bo):Or===zt&&Si&&(hl=zo==null?void 0:zo(dr,bo)),Or!==Nt&&Si&&hl!==!1&&(ho(Nt,!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 Vt:return bo={},(0,de.Z)(bo,vn,Da),(0,de.Z)(bo,Dt,Fr),(0,de.Z)(bo,Gt,Cr),bo;case De:return dr={},(0,de.Z)(dr,vn,Pa),(0,de.Z)(dr,Dt,Ar),(0,de.Z)(dr,Gt,er),dr;case zt:return Si={},(0,de.Z)(Si,vn,qa),(0,de.Z)(Si,Dt,Kr),(0,de.Z)(Si,Gt,Ma),Si;default:return{}}},[Or]),Xi=Xa(Or,function(bo){if(bo===vn){var dr=Ho[vn];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(Di.current),Di.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(Re);var bo=Ji.current;if(Ji.current=!0,!!Pe){var dr;!bo&&Re&&Kn&&(dr=Vt),bo&&Re&&qt&&(dr=De),(bo&&!Re&&Qn||!bo&&Xn&&!Re&&Qn)&&(dr=zt),dr&&(ho(dr),es())}},[Re]),(0,le.useEffect)(function(){(Or===Vt&&!Kn||Or===De&&!qt||Or===zt&&!Qn)&&ho(Nt)},[Kn,qt,Qn]),(0,le.useEffect)(function(){return function(){Ji.current=!1,clearTimeout(Di.current)}},[]);var sl=le.useRef(!1);(0,le.useEffect)(function(){jr&&(sl.current=!0),jr!==void 0&&Or===Nt&&((sl.current||jr)&&(qo==null||qo(jr)),sl.current=!0)},[jr,Or]);var Bi=io;return Ho[vn]&&Vi===Dt&&(Bi=(0,He.Z)({transition:"none"},Bi)),[Or,Vi,Bi,jr!=null?jr:Re]}var Yr=te(15671),Gr=te(43144),vo=te(60136),_r=te(51630),Do=function(Pe){(0,vo.Z)(Fe,Pe);var Re=(0,_r.Z)(Fe);function Fe(){return(0,Yr.Z)(this,Fe),Re.apply(this,arguments)}return(0,Gr.Z)(Fe,[{key:"render",value:function(){return this.props.children}}]),Fe}(le.Component),Ro=Do;function eo(Pe){var Re=Pe;(0,ae.Z)(Pe)==="object"&&(Re=Pe.transitionSupport);function Fe(At){return!!(At.motionName&&Re)}var nt=le.forwardRef(function(At,qt){var tn=At.visible,Kn=tn===void 0?!0:tn,aa=At.removeOnLeave,Qn=aa===void 0?!0:aa,xa=At.forceRender,Xn=At.children,Da=At.motionName,Pa=At.leavedClassName,qa=At.eventProps,Fr=Fe(At),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,At),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===Nt||!Fe(At))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,Bo;yo===vn?Bo="prepare":Ka(yo)?Bo="active":yo===Dt&&(Bo="start"),jr=Xn((0,He.Z)((0,He.Z)({},_o),{},{className:ke()(bt(Da,Zo),(ui={},(0,de.Z)(ui,bt(Da,"".concat(Zo,"-").concat(Bo)),Bo),(0,de.Z)(ui,Da,typeof Da=="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 nt.displayName="CSSMotion",nt}var vi=eo(hs),ll=te(97326),Bl="add",yl="keep",nl="remove",ii="removed";function Ql(Pe){var Re;return Pe&&(0,ae.Z)(Pe)==="object"&&"key"in Pe?Re=Pe:Re={key:Pe},(0,He.Z)((0,He.Z)({},Re),{},{key:String(Re.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]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Fe=[],nt=0,At=Re.length,qt=Ml(Pe),tn=Ml(Re);qt.forEach(function(Qn){for(var xa=!1,Xn=nt;Xn<At;Xn+=1){var Da=tn[Xn];if(Da.key===Qn.key){nt<Xn&&(Fe=Fe.concat(tn.slice(nt,Xn).map(function(Pa){return(0,He.Z)((0,He.Z)({},Pa),{},{status:Bl})})),nt=Xn),Fe.push((0,He.Z)((0,He.Z)({},Da),{},{status:yl})),nt+=1,xa=!0;break}}xa||Fe.push((0,He.Z)((0,He.Z)({},Qn),{},{status:nl}))}),nt<At&&(Fe=Fe.concat(tn.slice(nt).map(function(Qn){return(0,He.Z)((0,He.Z)({},Qn),{},{status:Bl})})));var Kn={};Fe.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){Fe=Fe.filter(function(xa){var Xn=xa.key,Da=xa.status;return Xn!==Qn||Da!==nl}),Fe.forEach(function(xa){xa.key===Qn&&(xa.status=yl)})}),Fe}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 Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vi,Fe=function(nt){(0,vo.Z)(qt,nt);var At=(0,_r.Z)(qt);function qt(){var tn;(0,Yr.Z)(this,qt);for(var Kn=arguments.length,aa=new Array(Kn),Qn=0;Qn<Kn;Qn++)aa[Qn]=arguments[Qn];return tn=At.call.apply(At,[this].concat(aa)),(0,de.Z)((0,ll.Z)(tn),"state",{keyEntities:[]}),(0,de.Z)((0,ll.Z)(tn),"removeKey",function(xa){var Xn=tn.state.keyEntities,Da=Xn.map(function(Pa){return Pa.key!==xa?Pa:(0,He.Z)((0,He.Z)({},Pa),{},{status:ii})});return tn.setState({keyEntities:Da}),Da.filter(function(Pa){var qa=Pa.status;return qa!==ii}).length}),tn}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,Da=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===Bl||Cr===yl;return le.createElement(Re,(0,Ze.Z)({},Ar,{key:er.key,visible:Ma,eventProps:er,onVisibleChanged:function(yo){if(Da==null||Da(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),Da=Jl(xa,Xn);return{keyEntities:Da.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)(Fe,"defaultProps",{component:"div"}),Fe}var Dd=kl(hs),Cl=vi;function Hs(Pe){var Re=Pe.prefixCls,Fe=Pe.align,nt=Pe.arrow,At=Pe.arrowPos,qt=nt||{},tn=qt.className,Kn=qt.content,aa=At.x,Qn=aa===void 0?0:aa,xa=At.y,Xn=xa===void 0?0:xa,Da=le.useRef();if(!Fe||!Fe.points)return null;var Pa={position:"absolute"};if(Fe.autoArrow!==!1){var qa=Fe.points[0],Fr=Fe.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:Da,className:ke()("".concat(Re,"-arrow"),tn),style:Pa},Kn)}function ls(Pe){var Re=Pe.prefixCls,Fe=Pe.open,nt=Pe.zIndex,At=Pe.mask,qt=Pe.motion;return At?le.createElement(Cl,(0,Ze.Z)({},qt,{motionAppear:!0,visible:Fe,removeOnLeave:!0}),function(tn){var Kn=tn.className;return le.createElement("div",{style:{zIndex:nt},className:ke()("".concat(Re,"-mask"),Kn)})}):null}var nd=le.memo(function(Pe){var Re=Pe.children;return Re},function(Pe,Re){return Re.cache}),ni=nd,li=le.forwardRef(function(Pe,Re){var Fe=Pe.popup,nt=Pe.className,At=Pe.prefixCls,qt=Pe.style,tn=Pe.target,Kn=Pe.onVisibleChanged,aa=Pe.open,Qn=Pe.keepDom,xa=Pe.fresh,Xn=Pe.onClick,Da=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,Bo=Pe.offsetB,Or=Pe.onAlign,ho=Pe.onPrepare,Sr=Pe.stretch,hi=Pe.targetWidth,io=Pe.targetHeight,Ci=typeof Fe=="function"?Fe():Fe,Ji=aa||Qn,Di=(er==null?void 0:er.length)>0,xl=le.useState(!er||!Di),El=(0,ze.Z)(xl,2),lo=El[0],vl=El[1];if(Va(function(){!lo&&Di&&tn&&vl(!0)},[lo,Di,tn]),!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=Bo,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(tn)},autoDestroy:Ma},le.createElement(ls,{prefixCls:At,open:aa,zIndex:yo,mask:Da,motion:Kr}),le.createElement(Ie.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(At,"-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(Bi,bo){var dr=Bi.className,Si=Bi.style,hl=ke()(At,dr,nt);return le.createElement("div",{ref:yn(sl,Re,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:At,arrow:Pa,arrowPos:qa,align:Fr}),le.createElement(ni,{cache:!aa&&!xa},Ci))})}))}),Wi=li,ws=le.forwardRef(function(Pe,Re){var Fe=Pe.children,nt=Pe.getTriggerDOMNode,At=Qo(Fe),qt=le.useCallback(function(Kn){fo(Re,nt?nt(Kn):Kn)},[nt]),tn=$r(qt,Fe.ref);return At?le.cloneElement(Fe,{ref:tn}):Fe}),Bd=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,Re=le.forwardRef(function(Fe,nt){var At=Fe.prefixCls,qt=At===void 0?"rc-trigger-popup":At,tn=Fe.children,Kn=Fe.action,aa=Kn===void 0?"hover":Kn,Qn=Fe.showAction,xa=Fe.hideAction,Xn=Fe.popupVisible,Da=Fe.defaultPopupVisible,Pa=Fe.onPopupVisibleChange,qa=Fe.afterPopupVisibleChange,Fr=Fe.mouseEnterDelay,Ar=Fe.mouseLeaveDelay,Kr=Ar===void 0?.1:Ar,Cr=Fe.focusDelay,er=Fe.blurDelay,Ma=Fe.mask,Zo=Fe.maskClosable,yo=Zo===void 0?!0:Zo,zo=Fe.getPopupContainer,qo=Fe.forceRender,Ni=Fe.autoDestroy,Ao=Fe.destroyPopupOnHide,jr=Fe.popup,_o=Fe.popupClassName,ui=Fe.popupStyle,Bo=Fe.popupPlacement,Or=Fe.builtinPlacements,ho=Or===void 0?{}:Or,Sr=Fe.popupAlign,hi=Fe.zIndex,io=Fe.stretch,Ci=Fe.getPopupClassNameFromAlign,Ji=Fe.fresh,Di=Fe.alignPoint,xl=Fe.onPopupClick,El=Fe.onPopupAlign,lo=Fe.arrow,vl=Fe.popupMotion,si=Fe.maskMotion,So=Fe.popupTransitionName,Ho=Fe.popupAnimation,Xi=Fe.maskTransitionName,Rl=Fe.maskAnimation,es=Fe.className,Vi=Fe.getTriggerDOMNode,ci=(0,Ke.Z)(Fe,ai),sl=Ni||Ao||!1,Bi=le.useState(!1),bo=(0,ze.Z)(Bi,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(kn){rt(kn)&&ns!==kn&&Jd(kn),ts==null||ts.registerSubPopup(zl,kn)}),as=le.useState(null),md=(0,ze.Z)(as,2),ss=md[0],kd=md[1],Xd=ea(function(kn){rt(kn)&&ss!==kn&&kd(kn)}),vd=le.Children.only(tn),Fl=(vd==null?void 0:vd.props)||{},Vs={},qd=ea(function(kn){var Ta,Pr,so=ss;return(so==null?void 0:so.contains(kn))||((Ta=_t(so))===null||Ta===void 0?void 0:Ta.host)===kn||kn===so||(ns==null?void 0:ns.contains(kn))||((Pr=_t(ns))===null||Pr===void 0?void 0:Pr.host)===kn||kn===ns||Object.values(hl.current).some(function(na){return(na==null?void 0:na.contains(kn))||kn===na})}),Ds=Hr(qt,vl,Ho,So),wl=Hr(qt,si,Rl,Xi),hd=le.useState(Da||!1),Us=(0,ze.Z)(hd,2),Ps=Us[0],pi=Us[1],Fo=Xn!=null?Xn:Ps,Gl=ea(function(kn){Xn===void 0&&pi(kn)});Va(function(){pi(Xn||!1)},[Xn]);var ys=le.useRef(Fo);ys.current=Fo;var Sd=ea(function(kn){(0,tt.flushSync)(function(){Fo!==kn&&(Gl(kn),Pa==null||Pa(kn))})}),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),Bs=Fd[0],Od=Fd[1];Va(function(kn){(!kn||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,Di?bd:ss,Bo,ho,Sr,El),Ol=(0,ze.Z)(Kl,11),Js=Ol[0],se=Ol[1],ce=Ol[2],he=Ol[3],ye=Ol[4],Ne=Ol[5],Oe=Ol[6],$e=Ol[7],qe=Ol[8],Xe=Ol[9],ht=Ol[10],Bt=ti(dr,aa,Qn,xa),yt=(0,ze.Z)(Bt,2),Ut=yt[0],$t=yt[1],en=Ut.has("click"),xn=$t.has("click")||$t.has("contextMenu"),cn=ea(function(){Bs||ht()}),Bn=function(){ys.current&&Di&&xn&&rs(!1)};mn(Fo,ss,ns,cn,Bn),Va(function(){cn()},[bd,Bo]),Va(function(){Fo&&!(ho!=null&&ho[Bo])&&cn()},[JSON.stringify(Sr)]);var Sn=le.useMemo(function(){var kn=bi(ho,qt,Xe,Di);return ke()(kn,Ci==null?void 0:Ci(Xe))},[Xe,Ci,ho,qt,Di]);le.useImperativeHandle(nt,function(){return{forceAlign:cn}});var Hn=le.useState(0),fa=(0,ze.Z)(Hn,2),Ea=fa[0],da=fa[1],Ua=le.useState(0),sr=(0,ze.Z)(Ua,2),_n=sr[0],la=sr[1],Vn=function(){if(io&&ss){var Ta=ss.getBoundingClientRect();da(Ta.width),la(Ta.height)}},Zn=function(){Vn(),cn()},sa=function(Ta){Od(!1),ht(),qa==null||qa(Ta)},ba=function(){return new Promise(function(Ta){Vn(),$s(function(){return Ta})})};Va(function(){bs&&(ht(),bs(),$s(null))},[bs]);function Ya(kn,Ta,Pr,so){Vs[kn]=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[kn])===null||wa===void 0||wa.call.apply(wa,[Fl,na].concat(Ca))}}(en||xn)&&(Vs.onClick=function(kn){var Ta;ys.current&&xn?rs(!1):!ys.current&&en&&(ds(kn),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,kn].concat(so))}),ji(Fo,xn,ss,ns,Ma,yo,qd,rs);var rr=Ut.has("hover"),ya=$t.has("hover"),fr,pr;rr&&(Ya("onMouseEnter",!0,Fr,function(kn){ds(kn)}),Ya("onPointerEnter",!0,Fr,function(kn){ds(kn)}),fr=function(){(Fo||Bs)&&rs(!0,Fr)},Di&&(Vs.onMouseMove=function(kn){var Ta;(Ta=Fl.onMouseMove)===null||Ta===void 0||Ta.call(Fl,kn)})),ya&&(Ya("onMouseLeave",!1,Kr),Ya("onPointerLeave",!1,Kr),pr=function(){rs(!1,Kr)}),Ut.has("focus")&&Ya("onFocus",!0,Cr),$t.has("focus")&&Ya("onBlur",!1,er),Ut.has("contextMenu")&&(Vs.onContextMenu=function(kn){var Ta;ys.current&&$t.has("contextMenu")?rs(!1):(ds(kn),rs(!0)),kn.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,kn].concat(so))}),es&&(Vs.className=ke()(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(kn){ci[kn]&&(Tr[kn]=function(){for(var Ta,Pr=arguments.length,so=new Array(Pr),na=0;na<Pr;na++)so[na]=arguments[na];(Ta=to[kn])===null||Ta===void 0||Ta.call.apply(Ta,[to].concat(so)),ci[kn].apply(ci,so)})});var Wo=le.cloneElement(vd,(0,He.Z)((0,He.Z)({},to),Tr)),ur={x:Ne,y:Oe},di=lo?(0,He.Z)({},lo!==!0?lo:{}):null;return le.createElement(le.Fragment,null,le.createElement(Ie.Z,{disabled:!Fo,ref:Xd,onResize:Zn},le.createElement(Bd,{getTriggerDOMNode:Vi},Wo)),le.createElement(ko.Provider,{value:ps},le.createElement(Wi,{portal:Pe,ref:Hl,prefixCls:qt,popup:jr,className:ke()(_o,Sn),style:ui,target:ss,onMouseEnter:fr,onMouseLeave:pr,onPointerEnter:fr,zIndex:hi,open:Fo,keepDom:Bs,fresh:Ji,onClick:xl,mask:Ma,motion:Ds,maskMotion:wl,onVisibleChanged:sa,onPrepare:ba,forceRender:qo,autoDestroy:sl,getPopupContainer:zo,align:Xe,arrow:di,arrowPos:ur,ready:Js,offsetX:se,offsetY:ce,offsetR:he,offsetB:ye,onAlign:cn,stretch:io,targetWidth:Ea/$e,targetHeight:_n/qe})))});return Re}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(Re){var Fe=Re.keyCode;if(Re.altKey&&!Re.ctrlKey||Re.metaKey||Fe>=lr.F1&&Fe<=lr.F12)return!1;switch(Fe){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(Re){if(Re>=lr.ZERO&&Re<=lr.NINE||Re>=lr.NUM_ZERO&&Re<=lr.NUM_MULTIPLY||Re>=lr.A&&Re<=lr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Re===0)return!0;switch(Re){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 Re=Pe.visible,Fe=Pe.triggerRef,nt=Pe.onVisibleChange,At=Pe.autoFocus,qt=Pe.overlayRef,tn=le.useRef(!1),Kn=function(){if(Re){var Xn,Da;(Xn=Fe.current)===null||Xn===void 0||(Da=Xn.focus)===null||Da===void 0||Da.call(Xn),nt==null||nt(!1)}},aa=function(){var Xn;return(Xn=qt.current)!==null&&Xn!==void 0&&Xn.focus?(qt.current.focus(),tn.current=!0,!0):!1},Qn=function(Xn){switch(Xn.keyCode){case _l:Kn();break;case Gs:{var Da=!1;tn.current||(Da=aa()),Da?Xn.preventDefault():Kn();break}}};le.useEffect(function(){return Re?(window.addEventListener("keydown",Qn),At&&Et(aa,3),function(){window.removeEventListener("keydown",Qn),tn.current=!1}):function(){tn.current=!1}},[Re])}var Ks=(0,le.forwardRef)(function(Pe,Re){var Fe=Pe.overlay,nt=Pe.arrow,At=Pe.prefixCls,qt=(0,le.useMemo)(function(){var Kn;return typeof Fe=="function"?Kn=Fe():Kn=Fe,Kn},[Fe]),tn=Se(Re,qt==null?void 0:qt.ref);return le.createElement(le.Fragment,null,nt&&le.createElement("div",{className:"".concat(At,"-arrow")}),le.cloneElement(qt,{ref:be(qt)?tn: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,Re){var Fe,nt=Pe.arrow,At=nt===void 0?!1:nt,qt=Pe.prefixCls,tn=qt===void 0?"rc-dropdown":qt,Kn=Pe.transitionName,aa=Pe.animation,Qn=Pe.align,xa=Pe.placement,Xn=xa===void 0?"bottomLeft":xa,Da=Pe.placements,Pa=Da===void 0?iu:Da,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],Bo=_o[1],Or="visible"in Pe?er:ui,ho=le.useRef(null),Sr=le.useRef(null),hi=le.useRef(null);le.useImperativeHandle(Re,function(){return ho.current});var io=function(So){Bo(So),Ni==null||Ni(So)};Ls({visible:Or,triggerRef:hi,onVisibleChange:io,autoFocus:yo,overlayRef:Sr});var Ci=function(So){var Ho=Pe.onOverlayClick;Bo(!1),Ho&&Ho(So)},Ji=function(){return le.createElement(Pu,{ref:Sr,overlay:zo,prefixCls:tn,arrow:At})},Di=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(tn,"-open")},lo=le.cloneElement(qo,{className:ke()((Fe=qo.props)===null||Fe===void 0?void 0:Fe.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:tn,ref:ho,popupClassName:ke()(Kr,(0,de.Z)({},"".concat(tn,"-show-arrow"),At)),popupStyle:Cr,action:Zo,showAction:Fr,hideAction:vl,popupPlacement:Xn,popupAlign:Qn,popupTransitionName:Kn,popupAnimation:aa,popupVisible:Or,stretch:xl()?"minWidth":"",popup:Di(),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:Re,arrow:Fe,prefixCls:nt,children:At,trigger:qt,disabled:tn,dropdownRender:Kn,getPopupContainer:aa,overlayClassName:Qn,rootClassName:xa,open:Xn,onOpenChange:Da,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",nt),[jr,_o]=(0,gd.Z)(Ao),[,ui]=(0,Lu.Z)(),Bo=le.Children.only(At),Or=(0,wu.Tm)(Bo,{className:ke()(`${Ao}-trigger`,{[`${Ao}-rtl`]:zo==="rtl"},Bo.props.className),disabled:tn}),ho=tn?[]: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=>{Da==null||Da(lo),qa==null||qa(lo),io(lo)}),Ji=ke()(Qn,xa,_o,{[`${Ao}-rtl`]:zo==="rtl"}),Di=(0,su.Z)({arrowPointAtCenter:typeof Fe=="object"&&Fe.pointAtCenter,autoAdjustOverflow:Kr,offset:ui.marginXXS,arrowWidth:Fe?ui.sizePopupArrow:0,borderRadius:ui.borderRadius}),xl=le.useCallback(()=>{io(!1)},[]),El=()=>{let lo;return Re!=null&&Re.items?lo=le.createElement(du.default,Object.assign({},Re)):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(Te.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:Di,arrow:!!Fe,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,wt,te){"use strict";te.d(wt,{Z:function(){return y}});var le=te(56153),ve=te(94184),Te=te.n(ve),Ge=te(67294),ke=te(25877),Ze=te(71577),de=te(53124),ze=te(93421),Ke=te(4173),He=te(66748),tt=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:Le,children:be,className:xe,menu:pe,arrow:it,autoFocus:We,overlay:xt,trigger:Je,align:dt,open:Mt,onOpenChange:Kt,placement:Ft,getPopupContainer:mt,href:Rt,icon:Jt=Ge.createElement(ke.Z,null),title:an,buttonsRender:Ve=bn=>bn,mouseEnterDelay:Pt,mouseLeaveDelay:kt,overlayClassName:En,overlayStyle:Ye,destroyPopupOnHide:Lt,dropdownRender:Ce}=a,rn=tt(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"]),fn=b("dropdown",z),ua=`${fn}-button`,[An,gt]=(0,He.Z)(fn),Me={menu:pe,arrow:it,autoFocus:We,align:dt,disabled:ne,trigger:ne?[]:Je,onOpenChange:Kt,getPopupContainer:mt||x,mouseEnterDelay:Pt,mouseLeaveDelay:kt,overlayClassName:En,overlayStyle:Ye,destroyPopupOnHide:Lt,dropdownRender:Ce},{compactSize:Be,compactItemClassnames:vt}=(0,Ke.ri)(fn,E),Ot=Te()(ua,vt,xe,gt);"overlay"in a&&(Me.overlay=xt),"open"in a&&(Me.open=Mt),"placement"in a?Me.placement=Ft:Me.placement=E==="rtl"?"bottomLeft":"bottomRight";const jt=Ge.createElement(Ze.ZP,{type:ae,danger:re,disabled:ne,loading:fe,onClick:Se,htmlType:Le,href:Rt,title:an},be),sn=Ge.createElement(Ze.ZP,{type:ae,danger:re,icon:Jt}),[On,Gn]=Ve([jt,sn]);return An(Ge.createElement(ze.Z.Compact,Object.assign({className:Ot,size:Be,block:!0},rn),On,Ge.createElement(le.Z,Object.assign({},Me),Gn)))};je.__ANT_BUTTON=!0;var we=je;const ue=le.Z;ue.Button=we;var y=ue},66748:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return tt}});var le=te(14747),ve=te(67771),Te=te(33297),Ge=te(50438),ke=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:Le,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,ke.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 ${Le}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 ${Le}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:Le+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,Te.Fm)(je,"move-up"),(0,Te.Fm)(je,"move-down"),(0,Ge._y)(je,"zoom-big")]]};var tt=(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,ke.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,wt,te){"use strict";var le=te(67294),ve=te(14075),Te=te(57838),Ge=te(74443);function ke(){let Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const de=(0,le.useRef)({}),ze=(0,Te.Z)(),Ke=(0,Ge.ZP)();return(0,ve.Z)(()=>{const He=Ke.subscribe(tt=>{de.current=tt,Ze&&ze()});return()=>Ke.unsubscribe(He)},[]),de.current}wt.Z=ke},71322:function(ct,wt,te){"use strict";te.d(wt,{D:function(){return E},Z:function(){return re}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(fe,Se){return ve.createElement(ke.Z,(0,le.Z)({},fe,{ref:Se,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(22751),Ke=te(91034),He=te(94184),tt=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 Le in ne)Object.prototype.hasOwnProperty.call(ne,Le)&&fe.indexOf(Le)<0&&(Se[Le]=ne[Le]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Le=Object.getOwnPropertySymbols(ne);be<Le.length;be++)fe.indexOf(Le[be])<0&&Object.prototype.propertyIsEnumerable.call(ne,Le[be])&&(Se[Le[be]]=ne[Le[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:Le,trigger:be,children:xe,defaultCollapsed:pe=!1,theme:it="dark",style:We={},collapsible:xt=!1,reverseArrow:Je=!1,width:dt=200,collapsedWidth:Mt=80,zeroWidthTriggerStyle:Kt,breakpoint:Ft,onCollapse:mt,onBreakpoint:Rt}=ne,Jt=x(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:an}=(0,ve.useContext)(a.Gs),[Ve,Pt]=(0,ve.useState)("collapsed"in ne?ne.collapsed:pe),[kt,En]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{"collapsed"in ne&&Pt(ne.collapsed)},[ne.collapsed]);const Ye=(An,gt)=>{"collapsed"in ne||Pt(An),mt==null||mt(An,gt)},Lt=(0,ve.useRef)();Lt.current=An=>{En(An.matches),Rt==null||Rt(An.matches),Ve!==An.matches&&Ye(An.matches,"responsive")},(0,ve.useEffect)(()=>{function An(Me){return Lt.current(Me)}let gt;if(typeof window!="undefined"){const{matchMedia:Me}=window;if(Me&&Ft&&Ft in b){gt=Me(`(max-width: ${b[Ft]})`);try{gt.addEventListener("change",An)}catch(Be){gt.addListener(An)}An(gt)}}return()=>{try{gt==null||gt.removeEventListener("change",An)}catch(Me){gt==null||gt.removeListener(An)}}},[Ft]),(0,ve.useEffect)(()=>{const An=z("ant-sider-");return an.addSider(An),()=>an.removeSider(An)},[]);const Ce=()=>{Ye(!Ve,"clickTrigger")},{getPrefixCls:rn}=(0,ve.useContext)(y.E_),fn=()=>{const An=rn("layout-sider",Se),gt=(0,je.Z)(Jt,["collapsed"]),Me=Ve?Mt:dt,Be=ue(Me)?`${Me}px`:String(Me),vt=parseFloat(String(Mt||0))===0?ve.createElement("span",{onClick:Ce,className:tt()(`${An}-zero-width-trigger`,`${An}-zero-width-trigger-${Je?"right":"left"}`),style:Kt},be||ve.createElement(de,null)):null,sn={expanded:Je?ve.createElement(Ke.Z,null):ve.createElement(ze.Z,null),collapsed:Je?ve.createElement(ze.Z,null):ve.createElement(Ke.Z,null)}[Ve?"collapsed":"expanded"],On=be!==null?vt||ve.createElement("div",{className:`${An}-trigger`,onClick:Ce,style:{width:Be}},be||sn):null,Gn=Object.assign(Object.assign({},We),{flex:`0 0 ${Be}`,maxWidth:Be,minWidth:Be,width:Be}),bn=tt()(An,`${An}-${it}`,{[`${An}-collapsed`]:!!Ve,[`${An}-has-trigger`]:xt&&be!==null&&!vt,[`${An}-below`]:!!kt,[`${An}-zero-width`]:parseFloat(Be)===0},Le);return ve.createElement("aside",Object.assign({className:bn},gt,{style:Gn,ref:fe}),ve.createElement("div",{className:`${An}-children`},xe),xt||kt&&vt?On:null)},ua=ve.useMemo(()=>({siderCollapsed:Ve}),[Ve]);return ve.createElement(E.Provider,{value:ua},fn())})},84321:function(ct,wt,te){"use strict";te.d(wt,{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),Te=te.n(ve),Ge=te(10366),ke=te(67294),Ze=te(53124),de=te(67968),Ke=re=>{const{componentCls:ne,bodyBg:fe,lightSiderBg:Se,lightTriggerBg:Le,lightTriggerColor:be}=re;return{[`${ne}-sider-light`]:{background:Se,[`${ne}-sider-trigger`]:{color:be,background:Le},[`${ne}-sider-zero-width-trigger`]:{color:be,background:Le,border:`1px solid ${fe}`,borderInlineStart:0}}}};const He=re=>{const{antCls:ne,componentCls:fe,colorText:Se,triggerColor:Le,footerBg:be,triggerBg:xe,headerHeight:pe,headerPadding:it,headerColor:We,footerPadding:xt,triggerHeight:Je,zeroTriggerHeight:dt,zeroTriggerWidth:Mt,motionDurationMid:Kt,motionDurationSlow:Ft,fontSize:mt,borderRadius:Rt,bodyBg:Jt,headerBg:an,siderBg:Ve}=re;return{[fe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Jt,"&, *":{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:Je},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Je,color:Le,lineHeight:`${Je}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${Kt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:pe,insetInlineEnd:-Mt,zIndex:1,width:Mt,height:dt,color:Le,fontSize:re.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ve,borderStartStartRadius:0,borderStartEndRadius:Rt,borderEndEndRadius:Rt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ft} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ft}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Mt,borderStartStartRadius:Rt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Rt}}}}},Ke(re)),{"&-rtl":{direction:"rtl"}}),[`${fe}-header`]:{height:pe,padding:it,color:We,lineHeight:`${pe}px`,background:an,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:xt,color:Se,fontSize:mt,background:be},[`${fe}-content`]:{flex:"auto",minHeight:0}}};var tt=(0,de.Z)("Layout",re=>[He(re)],re=>{const{colorBgLayout:ne,controlHeight:fe,controlHeightLG:Se,colorText:Le,controlHeightSM:be,marginXXS:xe,colorTextLightSolid:pe,colorBgContainer:it}=re,We=Se*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${We}px`,headerColor:Le,footerPadding:`${be}px ${We}px`,footerBg:ne,siderBg:"#001529",triggerHeight:Se+xe*2,triggerBg:"#002140",triggerColor:pe,zeroTriggerWidth:Se,zeroTriggerHeight:Se,lightSiderBg:it,lightTriggerBg:it,lightTriggerColor:Le}},{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 Le=0,Se=Object.getOwnPropertySymbols(re);Le<Se.length;Le++)ne.indexOf(Se[Le])<0&&Object.prototype.propertyIsEnumerable.call(re,Se[Le])&&(fe[Se[Le]]=re[Se[Le]]);return fe};const we=ke.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ue(re){let{suffixCls:ne,tagName:fe,displayName:Se}=re;return Le=>ke.forwardRef((xe,pe)=>ke.createElement(Le,Object.assign({ref:pe,suffixCls:ne,tagName:fe},xe)))}const y=ke.forwardRef((re,ne)=>{const{prefixCls:fe,suffixCls:Se,className:Le,tagName:be}=re,xe=je(re,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:pe}=ke.useContext(Ze.E_),it=pe("layout",fe),[We,xt]=tt(it),Je=Se?`${it}-${Se}`:it;return We(ke.createElement(be,Object.assign({className:Te()(fe||Je,Le,xt),ref:ne},xe)))}),a=ke.forwardRef((re,ne)=>{const{direction:fe}=ke.useContext(Ze.E_),[Se,Le]=ke.useState([]),{prefixCls:be,className:xe,rootClassName:pe,children:it,hasSider:We,tagName:xt,style:Je}=re,dt=je(re,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Mt=(0,Ge.Z)(dt,["suffixCls"]),{getPrefixCls:Kt,layout:Ft}=ke.useContext(Ze.E_),mt=Kt("layout",be),[Rt,Jt]=tt(mt),an=Te()(mt,{[`${mt}-has-sider`]:typeof We=="boolean"?We:Se.length>0,[`${mt}-rtl`]:fe==="rtl"},Ft==null?void 0:Ft.className,xe,pe,Jt),Ve=ke.useMemo(()=>({siderHook:{addSider:Pt=>{Le(kt=>[].concat((0,le.Z)(kt),[Pt]))},removeSider:Pt=>{Le(kt=>kt.filter(En=>En!==Pt))}}}),[]);return Rt(ke.createElement(we.Provider,{value:Ve},ke.createElement(xt,Object.assign({ref:ne,className:an,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),Je)},Mt),it)))}),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,wt,te){"use strict";te.d(wt,{J:function(){return Ze}});var le=te(67294),ve=te(4173),Te=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 tt=0,He=Object.getOwnPropertySymbols(de);tt<He.length;tt++)ze.indexOf(He[tt])<0&&Object.prototype.propertyIsEnumerable.call(de,He[tt])&&(Ke[He[tt]]=de[He[tt]]);return Ke};const ke=le.createContext(null),Ze=le.forwardRef((de,ze)=>{const{children:Ke}=de,He=Ge(de,["children"]),tt=le.useContext(ke),je=le.useMemo(()=>Object.assign(Object.assign({},tt),He),[tt,He.prefixCls,He.mode,He.selectable]);return le.createElement(ke.Provider,{value:je},le.createElement(ve.BR,null,(0,Te.supportNodeRef)(Ke)?le.cloneElement(Ke,{ref:ze}):Ke))});wt.Z=ke},68508:function(ct,wt,te){"use strict";te.d(wt,{default:function(){return An}});var le=te(52073),ve=te(67294),Te=te(71322),Ge=te(94184),ke=te.n(Ge),Ze=te(53124),de=function(gt,Me){var Be={};for(var vt in gt)Object.prototype.hasOwnProperty.call(gt,vt)&&Me.indexOf(vt)<0&&(Be[vt]=gt[vt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,vt=Object.getOwnPropertySymbols(gt);Ot<vt.length;Ot++)Me.indexOf(vt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,vt[Ot])&&(Be[vt[Ot]]=gt[vt[Ot]]);return Be},Ke=gt=>{const{prefixCls:Me,className:Be,dashed:vt}=gt,Ot=de(gt,["prefixCls","className","dashed"]),{getPrefixCls:jt}=ve.useContext(Ze.E_),sn=jt("menu",Me),On=ke()({[`${sn}-item-divider-dashed`]:!!vt},Be);return ve.createElement(le.iz,Object.assign({className:On},Ot))},He=te(37419),tt=te(10366),je=te(83062),we=te(96159),y=(0,ve.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=gt=>{var Me;const{className:Be,children:vt,icon:Ot,title:jt,danger:sn}=gt,{prefixCls:On,firstLevel:Gn,direction:bn,disableMenuItemTitleTooltip:ga,inlineCollapsed:Ie}=ve.useContext(y),rt=Un=>{const ca=ve.createElement("span",{className:`${On}-title-content`},vt);return(!Ot||(0,we.l$)(vt)&&vt.type==="span")&&vt&&Un&&Gn&&typeof vt=="string"?ve.createElement("div",{className:`${On}-inline-collapsed-noicon`},vt.charAt(0)):ca},{siderCollapsed:Yn}=ve.useContext(Te.D);let Dn=jt;typeof jt=="undefined"?Dn=Gn?vt:"":jt===!1&&(Dn="");const lt={title:Dn};!Yn&&!Ie&&(lt.title=null,lt.open=!1);const _t=(0,He.Z)(vt).length;let ea=ve.createElement(le.ck,Object.assign({},(0,tt.Z)(gt,["title","icon","danger"]),{className:ke()({[`${On}-item-danger`]:sn,[`${On}-item-only-child`]:(Ot?_t+1:_t)===1},Be),title:typeof jt=="string"?jt:void 0}),(0,we.Tm)(Ot,{className:ke()((0,we.l$)(Ot)?(Me=Ot.props)===null||Me===void 0?void 0:Me.className:"",`${On}-item-icon`)}),rt(Ie));return ga||(ea=ve.createElement(je.Z,Object.assign({},lt,{placement:bn==="rtl"?"left":"right",overlayClassName:`${On}-inline-collapsed-tooltip`}),ea)),ea},E=gt=>{var Me;const{popupClassName:Be,icon:vt,title:Ot,theme:jt}=gt,sn=ve.useContext(y),{prefixCls:On,inlineCollapsed:Gn,theme:bn}=sn,ga=(0,le.Xl)();let Ie;if(!vt)Ie=Gn&&!ga.length&&Ot&&typeof Ot=="string"?ve.createElement("div",{className:`${On}-inline-collapsed-noicon`},Ot.charAt(0)):ve.createElement("span",{className:`${On}-title-content`},Ot);else{const Yn=(0,we.l$)(Ot)&&Ot.type==="span";Ie=ve.createElement(ve.Fragment,null,(0,we.Tm)(vt,{className:ke()((0,we.l$)(vt)?(Me=vt.props)===null||Me===void 0?void 0:Me.className:"",`${On}-item-icon`)}),Yn?Ot:ve.createElement("span",{className:`${On}-title-content`},Ot))}const rt=ve.useMemo(()=>Object.assign(Object.assign({},sn),{firstLevel:!1}),[sn]);return ve.createElement(y.Provider,{value:rt},ve.createElement(le.Wd,Object.assign({},(0,tt.Z)(gt,["icon"]),{title:Ie,popupClassName:ke()(On,Be,`${On}-${jt||bn}`)})))},z=te(25877),ae=te(60276),re=te(33603),ne=te(76529),fe=function(gt,Me){var Be={};for(var vt in gt)Object.prototype.hasOwnProperty.call(gt,vt)&&Me.indexOf(vt)<0&&(Be[vt]=gt[vt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,vt=Object.getOwnPropertySymbols(gt);Ot<vt.length;Ot++)Me.indexOf(vt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,vt[Ot])&&(Be[vt[Ot]]=gt[vt[Ot]]);return Be};function Se(gt){return(gt||[]).map((Me,Be)=>{if(Me&&typeof Me=="object"){const vt=Me,{label:Ot,children:jt,key:sn,type:On}=vt,Gn=fe(vt,["label","children","key","type"]),bn=sn!=null?sn:`tmp-${Be}`;return jt||On==="group"?On==="group"?ve.createElement(le.BW,Object.assign({key:bn},Gn,{title:Ot}),Se(jt)):ve.createElement(E,Object.assign({key:bn},Gn,{title:Ot}),Se(jt)):On==="divider"?ve.createElement(Ke,Object.assign({key:bn},Gn)):ve.createElement(x,Object.assign({key:bn},Gn),Ot)}return null}).filter(Me=>Me)}function Le(gt){return ve.useMemo(()=>gt&&Se(gt),[gt])}var be=te(84780),xe=te(14747),pe=te(33507),it=te(67771),We=te(50438),xt=te(67968),Je=te(45503),Mt=gt=>{const{componentCls:Me,motionDurationSlow:Be,horizontalLineHeight:vt,colorSplit:Ot,lineWidth:jt,lineType:sn,itemPaddingInline:On}=gt;return{[`${Me}-horizontal`]:{lineHeight:vt,border:0,borderBottom:`${jt}px ${sn} ${Ot}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Me}-item, ${Me}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:On},[`> ${Me}-item:hover,
|
|
> ${Me}-item-active,
|
|
> ${Me}-submenu ${Me}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Me}-item, ${Me}-submenu-title`]:{transition:[`border-color ${Be}`,`background ${Be}`].join(",")},[`${Me}-submenu-arrow`]:{display:"none"}}}},Ft=gt=>{let{componentCls:Me,menuArrowOffset:Be}=gt;return{[`${Me}-rtl`]:{direction:"rtl"},[`${Me}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Me}-rtl${Me}-vertical,
|
|
${Me}-submenu-rtl ${Me}-vertical`]:{[`${Me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Be})`},"&::after":{transform:`rotate(45deg) translateY(${Be})`}}}}};const mt=gt=>Object.assign({},(0,xe.oN)(gt));var Jt=(gt,Me)=>{const{componentCls:Be,itemColor:vt,itemSelectedColor:Ot,groupTitleColor:jt,itemBg:sn,subMenuItemBg:On,itemSelectedBg:Gn,activeBarHeight:bn,activeBarWidth:ga,activeBarBorderWidth:Ie,motionDurationSlow:rt,motionEaseInOut:Yn,motionEaseOut:Dn,itemPaddingInline:lt,motionDurationMid:_t,itemHoverColor:ea,lineType:Un,colorSplit:ca,itemDisabledColor:Tn,dangerItemColor:un,dangerItemHoverColor:qn,dangerItemSelectedColor:cr,dangerItemActiveBg:Ga,dangerItemSelectedBg:za,itemHoverBg:Zr,itemActiveBg:Va,menuSubMenuBg:Mr,horizontalItemSelectedColor:oo,horizontalItemSelectedBg:ko,horizontalItemBorderRadius:Yo,horizontalItemHoverBg:ti,popupBg:fi}=gt;return{[`${Be}-${Me}, ${Be}-${Me} > ${Be}`]:{color:vt,background:sn,[`&${Be}-root:focus-visible`]:Object.assign({},mt(gt)),[`${Be}-item-group-title`]:{color:jt},[`${Be}-submenu-selected`]:{[`> ${Be}-submenu-title`]:{color:Ot}},[`${Be}-item-disabled, ${Be}-submenu-disabled`]:{color:`${Tn} !important`},[`${Be}-item:not(${Be}-item-selected):not(${Be}-submenu-selected)`]:{[`&:hover, > ${Be}-submenu-title:hover`]:{color:ea}},[`&:not(${Be}-horizontal)`]:{[`${Be}-item:not(${Be}-item-selected)`]:{"&:hover":{backgroundColor:Zr},"&:active":{backgroundColor:Va}},[`${Be}-submenu-title`]:{"&:hover":{backgroundColor:Zr},"&:active":{backgroundColor:Va}}},[`${Be}-item-danger`]:{color:un,[`&${Be}-item:hover`]:{[`&:not(${Be}-item-selected):not(${Be}-submenu-selected)`]:{color:qn}},[`&${Be}-item:active`]:{background:Ga}},[`${Be}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Be}-item-selected`]:{color:Ot,[`&${Be}-item-danger`]:{color:cr},"a, a:hover":{color:"inherit"}},[`& ${Be}-item-selected`]:{backgroundColor:Gn,[`&${Be}-item-danger`]:{backgroundColor:za}},[`${Be}-item, ${Be}-submenu-title`]:{[`&:not(${Be}-item-disabled):focus-visible`]:Object.assign({},mt(gt))},[`&${Be}-submenu > ${Be}`]:{backgroundColor:Mr},[`&${Be}-popup > ${Be}`]:{backgroundColor:fi},[`&${Be}-horizontal`]:Object.assign(Object.assign({},Me==="dark"?{borderBottom:0}:{}),{[`> ${Be}-item, > ${Be}-submenu`]:{top:Ie,marginTop:-Ie,marginBottom:0,borderRadius:Yo,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${bn}px solid transparent`,transition:`border-color ${rt} ${Yn}`,content:'""'},"&:hover, &-active, &-open":{background:ti,"&::after":{borderBottomWidth:bn,borderBottomColor:oo}},"&-selected":{color:oo,backgroundColor:ko,"&:hover":{backgroundColor:ko},"&::after":{borderBottomWidth:bn,borderBottomColor:oo}}}}),[`&${Be}-root`]:{[`&${Be}-inline, &${Be}-vertical`]:{borderInlineEnd:`${Ie}px ${Un} ${ca}`}},[`&${Be}-inline`]:{[`${Be}-sub${Be}-inline`]:{background:On},[`${Be}-item, ${Be}-submenu-title`]:Ie&&ga?{width:`calc(100% + ${Ie}px)`}:{},[`${Be}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ga}px solid ${Ot}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${_t} ${Dn}`,`opacity ${_t} ${Dn}`].join(","),content:'""'},[`&${Be}-item-danger`]:{"&::after":{borderInlineEndColor:cr}}},[`${Be}-selected, ${Be}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${_t} ${Yn}`,`opacity ${_t} ${Yn}`].join(",")}}}}}};const an=gt=>{const{componentCls:Me,itemHeight:Be,itemMarginInline:vt,padding:Ot,menuArrowSize:jt,marginXS:sn,itemMarginBlock:On}=gt,Gn=Ot+jt+sn;return{[`${Me}-item`]:{position:"relative",overflow:"hidden"},[`${Me}-item, ${Me}-submenu-title`]:{height:Be,lineHeight:`${Be}px`,paddingInline:Ot,overflow:"hidden",textOverflow:"ellipsis",marginInline:vt,marginBlock:On,width:`calc(100% - ${vt*2}px)`},[`> ${Me}-item,
|
|
> ${Me}-submenu > ${Me}-submenu-title`]:{height:Be,lineHeight:`${Be}px`},[`${Me}-item-group-list ${Me}-submenu-title,
|
|
${Me}-submenu-title`]:{paddingInlineEnd:Gn}}};var Pt=gt=>{const{componentCls:Me,iconCls:Be,itemHeight:vt,colorTextLightSolid:Ot,dropdownWidth:jt,controlHeightLG:sn,motionDurationMid:On,motionEaseOut:Gn,paddingXL:bn,itemMarginInline:ga,fontSizeLG:Ie,motionDurationSlow:rt,paddingXS:Yn,boxShadowSecondary:Dn,collapsedWidth:lt,collapsedIconSize:_t}=gt,ea={height:vt,lineHeight:`${vt}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Me]:{"&-inline, &-vertical":Object.assign({[`&${Me}-root`]:{boxShadow:"none"}},an(gt))},[`${Me}-submenu-popup`]:{[`${Me}-vertical`]:Object.assign(Object.assign({},an(gt)),{boxShadow:Dn})}},{[`${Me}-submenu-popup ${Me}-vertical${Me}-sub`]:{minWidth:jt,maxHeight:`calc(100vh - ${sn*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Me}-inline`]:{width:"100%",[`&${Me}-root`]:{[`${Me}-item, ${Me}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${rt}`,`background ${rt}`,`padding ${On} ${Gn}`].join(","),[`> ${Me}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Me}-sub${Me}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Me}-submenu > ${Me}-submenu-title`]:ea,[`& ${Me}-item-group-title`]:{paddingInlineStart:bn}},[`${Me}-item`]:ea}},{[`${Me}-inline-collapsed`]:{width:lt,[`&${Me}-root`]:{[`${Me}-item, ${Me}-submenu ${Me}-submenu-title`]:{[`> ${Me}-inline-collapsed-noicon`]:{fontSize:Ie,textAlign:"center"}}},[`> ${Me}-item,
|
|
> ${Me}-item-group > ${Me}-item-group-list > ${Me}-item,
|
|
> ${Me}-item-group > ${Me}-item-group-list > ${Me}-submenu > ${Me}-submenu-title,
|
|
> ${Me}-submenu > ${Me}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ie/2}px - ${ga}px)`,textOverflow:"clip",[`
|
|
${Me}-submenu-arrow,
|
|
${Me}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Me}-item-icon, ${Be}`]:{margin:0,fontSize:_t,lineHeight:`${vt}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Me}-item-icon, ${Be}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Me}-item-icon, ${Be}`]:{display:"none"},"a, a:hover":{color:Ot}},[`${Me}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Yn})}}]};const kt=gt=>{const{componentCls:Me,motionDurationSlow:Be,motionDurationMid:vt,motionEaseInOut:Ot,motionEaseOut:jt,iconCls:sn,iconSize:On,iconMarginInlineEnd:Gn}=gt;return{[`${Me}-item, ${Me}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Be}`,`background ${Be}`,`padding ${Be} ${Ot}`].join(","),[`${Me}-item-icon, ${sn}`]:{minWidth:On,fontSize:On,transition:[`font-size ${vt} ${jt}`,`margin ${Be} ${Ot}`,`color ${Be}`].join(","),"+ span":{marginInlineStart:Gn,opacity:1,transition:[`opacity ${Be} ${Ot}`,`margin ${Be}`,`color ${Be}`].join(",")}},[`${Me}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${Me}-item-only-child`]:{[`> ${sn}, > ${Me}-item-icon`]:{marginInlineEnd:0}}},[`${Me}-item-disabled, ${Me}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Me}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},En=gt=>{const{componentCls:Me,motionDurationSlow:Be,motionEaseInOut:vt,borderRadius:Ot,menuArrowSize:jt,menuArrowOffset:sn}=gt;return{[`${Me}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:gt.margin,width:jt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Be} ${vt}, opacity ${Be}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:jt*.6,height:jt*.15,backgroundColor:"currentcolor",borderRadius:Ot,transition:[`background ${Be} ${vt}`,`transform ${Be} ${vt}`,`top ${Be} ${vt}`,`color ${Be} ${vt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${sn})`},"&::after":{transform:`rotate(-45deg) translateY(${sn})`}}}}},Ye=gt=>{const{antCls:Me,componentCls:Be,fontSize:vt,motionDurationSlow:Ot,motionDurationMid:jt,motionEaseInOut:sn,paddingXS:On,padding:Gn,colorSplit:bn,lineWidth:ga,zIndexPopup:Ie,borderRadiusLG:rt,subMenuItemBorderRadius:Yn,menuArrowSize:Dn,menuArrowOffset:lt,lineType:_t,menuPanelMaskInset:ea,groupTitleLineHeight:Un,groupTitleFontSize:ca}=gt;return[{"":{[`${Be}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${Be}-submenu-hidden`]:{display:"none"}},{[Be]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(gt)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:vt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ot} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Be}-item`]:{flex:"none"}},[`${Be}-item, ${Be}-submenu, ${Be}-submenu-title`]:{borderRadius:gt.itemBorderRadius},[`${Be}-item-group-title`]:{padding:`${On}px ${Gn}px`,fontSize:ca,lineHeight:Un,transition:`all ${Ot}`},[`&-horizontal ${Be}-submenu`]:{transition:[`border-color ${Ot} ${sn}`,`background ${Ot} ${sn}`].join(",")},[`${Be}-submenu, ${Be}-submenu-inline`]:{transition:[`border-color ${Ot} ${sn}`,`background ${Ot} ${sn}`,`padding ${jt} ${sn}`].join(",")},[`${Be}-submenu ${Be}-sub`]:{cursor:"initial",transition:[`background ${Ot} ${sn}`,`padding ${Ot} ${sn}`].join(",")},[`${Be}-title-content`]:{transition:`color ${Ot}`},[`${Be}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Be}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:bn,borderStyle:_t,borderWidth:0,borderTopWidth:ga,marginBlock:ga,padding:0,"&-dashed":{borderStyle:"dashed"}}}),kt(gt)),{[`${Be}-item-group`]:{[`${Be}-item-group-list`]:{margin:0,padding:0,[`${Be}-item, ${Be}-submenu-title`]:{paddingInline:`${vt*2}px ${Gn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ie,borderRadius:rt,boxShadow:"none",transformOrigin:"0 0",[`&${Be}-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:gt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:gt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:gt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:gt.paddingXS},[`> ${Be}`]:Object.assign(Object.assign(Object.assign({borderRadius:rt},kt(gt)),En(gt)),{[`${Be}-item, ${Be}-submenu > ${Be}-submenu-title`]:{borderRadius:Yn},[`${Be}-submenu-title::after`]:{transition:`transform ${Ot} ${sn}`}})}}),En(gt)),{[`&-inline-collapsed ${Be}-submenu-arrow,
|
|
&-inline ${Be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${lt})`},"&::after":{transform:`rotate(45deg) translateX(-${lt})`}},[`${Be}-submenu-open${Be}-submenu-inline > ${Be}-submenu-title > ${Be}-submenu-arrow`]:{transform:`translateY(-${Dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${lt})`},"&::before":{transform:`rotate(45deg) translateX(${lt})`}}})},{[`${Me}-layout-header`]:{[Be]:{lineHeight:"inherit"}}}]};var Lt=(gt,Me)=>(0,xt.Z)("Menu",vt=>{if(Me===!1)return[];const{colorBgElevated:Ot,colorPrimary:jt,colorTextLightSolid:sn,controlHeightLG:On,fontSize:Gn,darkItemColor:bn,darkDangerItemColor:ga,darkItemBg:Ie,darkSubMenuItemBg:rt,darkItemSelectedColor:Yn,darkItemSelectedBg:Dn,darkDangerItemSelectedBg:lt,darkItemHoverBg:_t,darkGroupTitleColor:ea,darkItemHoverColor:Un,darkItemDisabledColor:ca,darkDangerItemHoverColor:Tn,darkDangerItemSelectedColor:un,darkDangerItemActiveBg:qn}=vt,cr=Gn/7*5,Ga=(0,Je.TS)(vt,{menuArrowSize:cr,menuHorizontalHeight:On*1.15,menuArrowOffset:`${cr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ot}),za=(0,Je.TS)(Ga,{itemColor:bn,itemHoverColor:Un,groupTitleColor:ea,itemSelectedColor:Yn,itemBg:Ie,popupBg:Ie,subMenuItemBg:rt,itemActiveBg:"transparent",itemSelectedBg:Dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:_t,itemDisabledColor:ca,dangerItemColor:ga,dangerItemHoverColor:Tn,dangerItemSelectedColor:un,dangerItemActiveBg:qn,dangerItemSelectedBg:lt,menuSubMenuBg:rt,horizontalItemSelectedColor:sn,horizontalItemSelectedBg:jt});return[Ye(Ga),Mt(Ga),Pt(Ga),Jt(Ga,"light"),Jt(za,"dark"),Ft(Ga),(0,pe.Z)(Ga),(0,it.oN)(Ga,"slide-up"),(0,it.oN)(Ga,"slide-down"),(0,We._y)(Ga,"zoom-big")]},vt=>{const{colorPrimary:Ot,colorError:jt,colorTextDisabled:sn,colorErrorBg:On,colorText:Gn,colorTextDescription:bn,colorBgContainer:ga,colorFillAlter:Ie,colorFillContent:rt,lineWidth:Yn,lineWidthBold:Dn,controlItemBgActive:lt,colorBgTextHover:_t,controlHeightLG:ea,lineHeight:Un,colorBgElevated:ca,marginXXS:Tn,padding:un,fontSize:qn,controlHeightSM:cr,fontSizeLG:Ga,colorTextLightSolid:za,colorErrorHover:Zr}=vt,Va=new be.C(za).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:vt.zIndexPopupBase+50,radiusItem:vt.borderRadiusLG,itemBorderRadius:vt.borderRadiusLG,radiusSubMenuItem:vt.borderRadiusSM,subMenuItemBorderRadius:vt.borderRadiusSM,colorItemText:Gn,itemColor:Gn,colorItemTextHover:Gn,itemHoverColor:Gn,colorItemTextHoverHorizontal:Ot,horizontalItemHoverColor:Ot,colorGroupTitle:bn,groupTitleColor:bn,colorItemTextSelected:Ot,itemSelectedColor:Ot,colorItemTextSelectedHorizontal:Ot,horizontalItemSelectedColor:Ot,colorItemBg:ga,itemBg:ga,colorItemBgHover:_t,itemHoverBg:_t,colorItemBgActive:rt,itemActiveBg:lt,colorSubItemBg:Ie,subMenuItemBg:Ie,colorItemBgSelected:lt,itemSelectedBg:lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Dn,activeBarHeight:Dn,colorActiveBarBorderSize:Yn,activeBarBorderWidth:Yn,colorItemTextDisabled:sn,itemDisabledColor:sn,colorDangerItemText:jt,dangerItemColor:jt,colorDangerItemTextHover:jt,dangerItemHoverColor:jt,colorDangerItemTextSelected:jt,dangerItemSelectedColor:jt,colorDangerItemBgActive:On,dangerItemActiveBg:On,colorDangerItemBgSelected:On,dangerItemSelectedBg:On,itemMarginInline:vt.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ea,groupTitleLineHeight:Un,collapsedWidth:ea*2,popupBg:ca,itemMarginBlock:Tn,itemPaddingInline:un,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:Ot,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"]]})(gt),Ce=function(gt,Me){var Be={};for(var vt in gt)Object.prototype.hasOwnProperty.call(gt,vt)&&Me.indexOf(vt)<0&&(Be[vt]=gt[vt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,vt=Object.getOwnPropertySymbols(gt);Ot<vt.length;Ot++)Me.indexOf(vt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,vt[Ot])&&(Be[vt[Ot]]=gt[vt[Ot]]);return Be},fn=(0,ve.forwardRef)((gt,Me)=>{var Be,vt;const Ot=ve.useContext(ne.Z),jt=Ot||{},{getPrefixCls:sn,getPopupContainer:On,direction:Gn,menu:bn}=ve.useContext(Ze.E_),ga=sn(),{prefixCls:Ie,className:rt,style:Yn,theme:Dn="light",expandIcon:lt,_internalDisableMenuItemTitleTooltip:_t,inlineCollapsed:ea,siderCollapsed:Un,items:ca,children:Tn,rootClassName:un,mode:qn,selectable:cr,onClick:Ga,overflowedIndicatorPopupClassName:za}=gt,Zr=Ce(gt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Va=(0,tt.Z)(Zr,["collapsedWidth"]),Mr=Le(ca)||Tn;(Be=jt.validator)===null||Be===void 0||Be.call(jt,{mode:qn});const oo=(0,ae.useEvent)(function(){var Cn;Ga==null||Ga.apply(void 0,arguments),(Cn=jt.onClick)===null||Cn===void 0||Cn.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=sn("menu",Ie||jt.prefixCls),[bi,Hr]=Lt(Io,!Ot),wn=ke()(`${Io}-${Dn}`,bn==null?void 0:bn.className,rt);let Rn;if(typeof lt=="function")Rn=lt;else if(lt===null||lt===!1)Rn=null;else if(jt.expandIcon===null||jt.expandIcon===!1)Rn=null;else{const Cn=lt!=null?lt:jt.expandIcon;Rn=(0,we.Tm)(Cn,{className:ke()(`${Io}-submenu-expand-icon`,(0,we.l$)(Cn)?(vt=Cn.props)===null||vt===void 0?void 0:vt.className:"")})}const Pn=ve.useMemo(()=>({prefixCls:Io,inlineCollapsed:ti||!1,direction:Gn,firstLevel:!0,theme:Dn,mode:ko,disableMenuItemTitleTooltip:_t}),[Io,ti,Gn,_t,Dn]);return bi(ve.createElement(ne.Z.Provider,{value:null},ve.createElement(y.Provider,{value:Pn},ve.createElement(le.ZP,Object.assign({getPopupContainer:On,overflowedIndicator:ve.createElement(z.Z,null),overflowedIndicatorPopupClassName:ke()(Io,`${Io}-${Dn}`,za),mode:ko,selectable:Yo,onClick:oo},Va,{inlineCollapsed:ti,style:Object.assign(Object.assign({},bn==null?void 0:bn.style),Yn),className:wn,prefixCls:Io,direction:Gn,defaultMotions:fi,expandIcon:Rn,ref:Me,rootClassName:ke()(un,Hr)}),Mr))))});const ua=(0,ve.forwardRef)((gt,Me)=>{const Be=(0,ve.useRef)(null),vt=ve.useContext(Te.D);return(0,ve.useImperativeHandle)(Me,()=>({menu:Be.current,focus:Ot=>{var jt;(jt=Be.current)===null||jt===void 0||jt.focus(Ot)}})),ve.createElement(fn,Object.assign({ref:Be},gt,vt))});ua.Item=x,ua.SubMenu=E,ua.Divider=Ke,ua.ItemGroup=le.BW;var An=ua},28452:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return ga}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ge=Te,ke=te(74643),Ze=function(rt,Yn){return ve.createElement(ke.Z,(0,le.Z)({},rt,{ref:Yn,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(81893),Ke=te(22751),He=te(91034),tt=te(94184),je=te.n(tt),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(Ie,rt){return Ie.indexOf(rt)===0}function Se(Ie){var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yn;rt===!1?Yn={aria:!0,data:!0,attr:!0}:rt===!0?Yn={aria:!0}:Yn=(0,ue.Z)({},rt);var Dn={};return Object.keys(Ie).forEach(function(lt){(Yn.aria&&(lt==="role"||fe(lt,re))||Yn.data&&fe(lt,ne)||Yn.attr&&ae.includes(lt))&&(Dn[lt]=Ie[lt])}),Dn}var Le={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},be=Le,xe=te(81626),pe=function(Ie){(0,x.Z)(Yn,Ie);var rt=(0,b.Z)(Yn);function Yn(){var Dn;(0,y.Z)(this,Yn);for(var lt=arguments.length,_t=new Array(lt),ea=0;ea<lt;ea++)_t[ea]=arguments[ea];return Dn=rt.call.apply(rt,[this].concat(_t)),Dn.state={goInputText:""},Dn.getValidValue=function(){var Un=Dn.state.goInputText;return!Un||Number.isNaN(Un)?void 0:Number(Un)},Dn.buildOptionText=function(Un){return"".concat(Un," ").concat(Dn.props.locale.items_per_page)},Dn.changeSize=function(Un){Dn.props.changeSize(Number(Un))},Dn.handleChange=function(Un){Dn.setState({goInputText:Un.target.value})},Dn.handleBlur=function(Un){var ca=Dn.props,Tn=ca.goButton,un=ca.quickGo,qn=ca.rootPrefixCls,cr=Dn.state.goInputText;Tn||cr===""||(Dn.setState({goInputText:""}),!(Un.relatedTarget&&(Un.relatedTarget.className.indexOf("".concat(qn,"-item-link"))>=0||Un.relatedTarget.className.indexOf("".concat(qn,"-item"))>=0))&&un(Dn.getValidValue()))},Dn.go=function(Un){var ca=Dn.state.goInputText;ca!==""&&(Un.keyCode===be.ENTER||Un.type==="click")&&(Dn.setState({goInputText:""}),Dn.props.quickGo(Dn.getValidValue()))},Dn}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 Tn=Number.isNaN(Number(Un))?0:Number(Un),un=Number.isNaN(Number(ca))?0:Number(ca);return Tn-un})}},{key:"render",value:function(){var lt=this,_t=this.props,ea=_t.pageSize,Un=_t.locale,ca=_t.rootPrefixCls,Tn=_t.changeSize,un=_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(!Tn&&!un)return null;var fi=this.getPageSizeOptions();if(Tn&&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 un&&(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 it=pe,We=function(rt){var Yn,Dn=rt.rootPrefixCls,lt=rt.page,_t=rt.active,ea=rt.className,Un=rt.showTitle,ca=rt.onClick,Tn=rt.onKeyPress,un=rt.itemRender,qn="".concat(Dn,"-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,rt.className,ea),Yn)),Ga=function(){ca(lt)},za=function(Mr){Tn(Mr,ca,lt)},Zr=un(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},xt=We;function Je(){}function dt(Ie){var rt=Number(Ie);return typeof rt=="number"&&!Number.isNaN(rt)&&isFinite(rt)&&Math.floor(rt)===rt}var Mt=function(rt,Yn,Dn){return Dn};function Kt(Ie,rt,Yn){var Dn=typeof Ie=="undefined"?rt.pageSize:Ie;return Math.floor((Yn.total-1)/Dn)+1}var Ft=function(Ie){(0,x.Z)(Yn,Ie);var rt=(0,b.Z)(Yn);function Yn(Dn){var lt;(0,y.Z)(this,Yn),lt=rt.call(this,Dn),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(Tn,un){var qn=lt.props.prefixCls,cr=Tn||ve.createElement("button",{type:"button","aria-label":un,className:"".concat(qn,"-item-link")});return typeof Tn=="function"&&(cr=ve.createElement(Tn,(0,ue.Z)({},lt.props))),cr},lt.isValid=function(Tn){var un=lt.props.total;return dt(Tn)&&Tn!==lt.state.current&&dt(un)&&un>0},lt.shouldDisplayQuickJumper=function(){var Tn=lt.props,un=Tn.showQuickJumper,qn=Tn.total,cr=lt.state.pageSize;return qn<=cr?!1:un},lt.handleKeyDown=function(Tn){(Tn.keyCode===be.ARROW_UP||Tn.keyCode===be.ARROW_DOWN)&&Tn.preventDefault()},lt.handleKeyUp=function(Tn){var un=lt.getValidValue(Tn),qn=lt.state.currentInputValue;un!==qn&<.setState({currentInputValue:un}),Tn.keyCode===be.ENTER?lt.handleChange(un):Tn.keyCode===be.ARROW_UP?lt.handleChange(un-1):Tn.keyCode===be.ARROW_DOWN&<.handleChange(un+1)},lt.handleBlur=function(Tn){var un=lt.getValidValue(Tn);lt.handleChange(un)},lt.changePageSize=function(Tn){var un=lt.state.current,qn=Kt(Tn,lt.state,lt.props);un=un>qn?qn:un,qn===0&&(un=lt.state.current),typeof Tn=="number"&&("pageSize"in lt.props||lt.setState({pageSize:Tn}),"current"in lt.props||lt.setState({current:un,currentInputValue:un})),lt.props.onShowSizeChange(un,Tn),"onChange"in lt.props&<.props.onChange&<.props.onChange(un,Tn)},lt.handleChange=function(Tn){var un=lt.props,qn=un.disabled,cr=un.onChange,Ga=lt.state,za=Ga.pageSize,Zr=Ga.current,Va=Ga.currentInputValue;if(lt.isValid(Tn)&&!qn){var Mr=Kt(void 0,lt.state,lt.props),oo=Tn;return Tn>Mr?oo=Mr:Tn<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(Tn,un){if(Tn.key==="Enter"||Tn.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];un.apply(void 0,cr)}},lt.runIfEnterPrev=function(Tn){lt.runIfEnter(Tn,lt.prev)},lt.runIfEnterNext=function(Tn){lt.runIfEnter(Tn,lt.next)},lt.runIfEnterJumpPrev=function(Tn){lt.runIfEnter(Tn,lt.jumpPrev)},lt.runIfEnterJumpNext=function(Tn){lt.runIfEnter(Tn,lt.jumpNext)},lt.handleGoTO=function(Tn){(Tn.keyCode===be.ENTER||Tn.type==="click")&<.handleChange(lt.state.currentInputValue)},lt.renderPrev=function(Tn){var un=lt.props,qn=un.prevIcon,cr=un.itemRender,Ga=cr(Tn,"prev",lt.getItemIcon(qn,"prev page")),za=!lt.hasPrev();return(0,ve.isValidElement)(Ga)?(0,ve.cloneElement)(Ga,{disabled:za}):Ga},lt.renderNext=function(Tn){var un=lt.props,qn=un.nextIcon,cr=un.itemRender,Ga=cr(Tn,"next",lt.getItemIcon(qn,"next page")),za=!lt.hasNext();return(0,ve.isValidElement)(Ga)?(0,ve.cloneElement)(Ga,{disabled:za}):Ga};var _t=Dn.onChange!==Je,ea="current"in Dn;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=Dn.defaultCurrent;"current"in Dn&&(Un=Dn.current);var ca=Dn.defaultPageSize;return"pageSize"in Dn&&(ca=Dn.pageSize),Un=Math.min(Un,Kt(ca,void 0,Dn)),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,Tn=lt.hideOnSinglePage,un=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,wn=bi.pageSize,Rn=bi.currentInputValue;if(Tn===!0&&un<=wn)return null;var Pn=Kt(void 0,this.state,this.props),Cn=[],Ja=null,Nr=null,Mn=null,at=null,st=null,et=cr&&cr.goButton,Zt=Ga?1:2,mn=Hr-1>0?Hr-1:0,zn=Hr+1<Pn?Hr+1:Pn,La=Se(this.props,{aria:!0,data:!0}),Jn=Zr&&ve.createElement("li",{className:"".concat(_t,"-total-text")},Zr(un,[un===0?0:(Hr-1)*wn+1,Hr*wn>un?un:Hr*wn]));if(Va){et&&(typeof et=="boolean"?st=ve.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},qn.jump_to_confirm):st=ve.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},et),st=ve.createElement("li",{title:za?"".concat(qn.jump_to).concat(Hr,"/").concat(Pn):null,className:"".concat(_t,"-simple-pager")},st));var Ln=this.renderPrev(mn);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,Ln?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()},Ln):null,ve.createElement("li",{title:za?"".concat(Hr,"/").concat(Pn):null,className:"".concat(_t,"-simple-pager")},ve.createElement("input",{type:"text",value:Rn,disabled:ca,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ve.createElement("span",{className:"".concat(_t,"-slash")},"/"),Pn),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(zn)),st)}if(Pn<=3+Zt*2){var va={locale:qn,rootPrefixCls:_t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:za,itemRender:Mr};Pn||Cn.push(ve.createElement(xt,(0,le.Z)({},va,{key:"noPager",page:1,className:"".concat(_t,"-item-disabled")})));for(var fo=1;fo<=Pn;fo+=1){var yn=Hr===fo;Cn.push(ve.createElement(xt,(0,le.Z)({},va,{key:fo,page:fo,active:yn})))}}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),at=ve.createElement(xt,{locale:qn,last:!0,rootPrefixCls:_t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Pn,page:Pn,active:!1,showTitle:za,itemRender:Mr}),Mn=ve.createElement(xt,{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,Pn);Hr-1<=Zt&&(gl=1+Zt*2),Pn-Hr<=Zt&&(wo=Pn-Zt*2);for(var br=wo;br<=gl;br+=1){var Pl=Hr===br;Cn.push(ve.createElement(xt,{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&&(Cn[0]=(0,ve.cloneElement)(Cn[0],{className:"".concat(_t,"-item-after-jump-prev")}),Cn.unshift(Ja)),Pn-Hr>=Zt*2&&Hr!==Pn-2&&(Cn[Cn.length-1]=(0,ve.cloneElement)(Cn[Cn.length-1],{className:"".concat(_t,"-item-before-jump-next")}),Cn.push(Nr)),wo!==1&&Cn.unshift(Mn),gl!==Pn&&Cn.push(at)}var ol=!this.hasPrev()||!Pn,Ii=!this.hasNext()||!Pn,mi=this.renderPrev(mn),tl=this.renderNext(zn);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,Cn,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(it,{disabled:ca,locale:qn,rootPrefixCls:_t,selectComponentClass:ti,selectPrefixCls:fi,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Hr,pageSize:wn,pageSizeOptions:Io,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:et}))}}],[{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);Ft.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Je,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Je,locale:xe.Z,style:{},itemRender:Mt,totalBoundaryShowSizeChanger:50};var mt=Ft,Rt=te(62906),Jt=te(53124),an=te(98675),Ve=te(25378),Pt=te(10110),kt=te(42563);const En=Ie=>ve.createElement(kt.default,Object.assign({},Ie,{showSearch:!0,size:"small"})),Ye=Ie=>ve.createElement(kt.default,Object.assign({},Ie,{showSearch:!0,size:"middle"}));En.Option=kt.default.Option,Ye.Option=kt.default.Option;var Lt=te(47673),Ce=te(14747),rn=te(67968),fn=te(45503);const ua=Ie=>{const{componentCls:rt}=Ie;return{[`${rt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${rt}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${rt}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"}}},[`&${rt}-disabled`]:{cursor:"not-allowed",[`${rt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ie.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ie.colorBorder,backgroundColor:Ie.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ie.itemActiveBgDisabled},a:{color:Ie.itemActiveColorDisabled}}},[`${rt}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${rt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${rt}-simple-pager`]:{color:Ie.colorTextDisabled},[`${rt}-jump-prev, ${rt}-jump-next`]:{[`${rt}-item-link-icon`]:{opacity:0},[`${rt}-item-ellipsis`]:{opacity:1}}},[`&${rt}-simple`]:{[`${rt}-prev, ${rt}-next`]:{[`&${rt}-disabled ${rt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},An=Ie=>{const{componentCls:rt}=Ie;return{[`&${rt}-mini ${rt}-total-text, &${rt}-mini ${rt}-simple-pager`]:{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`},[`&${rt}-mini ${rt}-item`]:{minWidth:Ie.itemSizeSM,height:Ie.itemSizeSM,margin:0,lineHeight:`${Ie.itemSizeSM-2}px`},[`&${rt}-mini:not(${rt}-disabled) ${rt}-item:not(${rt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ie.colorBgTextHover},"&:active":{backgroundColor:Ie.colorBgTextActive}},[`&${rt}-mini ${rt}-prev, &${rt}-mini ${rt}-next`]:{minWidth:Ie.itemSizeSM,height:Ie.itemSizeSM,margin:0,lineHeight:`${Ie.itemSizeSM}px`},[`&${rt}-mini:not(${rt}-disabled)`]:{[`${rt}-prev, ${rt}-next`]:{[`&:hover ${rt}-item-link`]:{backgroundColor:Ie.colorBgTextHover},[`&:active ${rt}-item-link`]:{backgroundColor:Ie.colorBgTextActive},[`&${rt}-disabled:hover ${rt}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${rt}-mini ${rt}-prev ${rt}-item-link,
|
|
&${rt}-mini ${rt}-next ${rt}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`}},[`&${rt}-mini ${rt}-jump-prev, &${rt}-mini ${rt}-jump-next`]:{height:Ie.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ie.itemSizeSM}px`},[`&${rt}-mini ${rt}-options`]:{marginInlineStart:Ie.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ie.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Lt.x0)(Ie)),{width:Ie.paginationMiniQuickJumperInputWidth,height:Ie.controlHeightSM})}}}},gt=Ie=>{const{componentCls:rt}=Ie;return{[`
|
|
&${rt}-simple ${rt}-prev,
|
|
&${rt}-simple ${rt}-next
|
|
`]:{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`,verticalAlign:"top",[`${rt}-item-link`]:{height:Ie.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ie.colorBgTextHover},"&:active":{backgroundColor:Ie.colorBgTextActive},"&::after":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`}}},[`&${rt}-simple ${rt}-simple-pager`]:{display:"inline-block",height:Ie.itemSizeSM,marginInlineEnd:Ie.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ie.marginXS,padding:`0 ${Ie.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ie.itemInputBg,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,borderRadius:Ie.borderRadius,outline:"none",transition:`border-color ${Ie.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ie.colorPrimary},"&:focus":{borderColor:Ie.colorPrimaryHover,boxShadow:`${Ie.inputOutlineOffset}px 0 ${Ie.controlOutlineWidth}px ${Ie.controlOutline}`},"&[disabled]":{color:Ie.colorTextDisabled,backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,cursor:"not-allowed"}}}}},Me=Ie=>{const{componentCls:rt}=Ie;return{[`${rt}-jump-prev, ${rt}-jump-next`]:{outline:0,[`${rt}-item-container`]:{position:"relative",[`${rt}-item-link-icon`]:{color:Ie.colorPrimary,fontSize:Ie.fontSizeSM,opacity:0,transition:`all ${Ie.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${rt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ie.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ie.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ie.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ie.motionDurationMid}`}},"&:hover":{[`${rt}-item-link-icon`]:{opacity:1},[`${rt}-item-ellipsis`]:{opacity:0}}},[`
|
|
${rt}-prev,
|
|
${rt}-jump-prev,
|
|
${rt}-jump-next
|
|
`]:{marginInlineEnd:Ie.marginXS},[`
|
|
${rt}-prev,
|
|
${rt}-next,
|
|
${rt}-jump-prev,
|
|
${rt}-jump-next
|
|
`]:{display:"inline-block",minWidth:Ie.itemSize,height:Ie.itemSize,color:Ie.colorText,fontFamily:Ie.fontFamily,lineHeight:`${Ie.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ie.borderRadius,cursor:"pointer",transition:`all ${Ie.motionDurationMid}`},[`${rt}-prev, ${rt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ie.colorText,cursor:"pointer",userSelect:"none"},[`${rt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ie.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ie.lineWidth}px ${Ie.lineType} transparent`,borderRadius:Ie.borderRadius,outline:"none",transition:`all ${Ie.motionDurationMid}`},[`&:hover ${rt}-item-link`]:{backgroundColor:Ie.colorBgTextHover},[`&:active ${rt}-item-link`]:{backgroundColor:Ie.colorBgTextActive},[`&${rt}-disabled:hover`]:{[`${rt}-item-link`]:{backgroundColor:"transparent"}}},[`${rt}-slash`]:{marginInlineEnd:Ie.paginationSlashMarginInlineEnd,marginInlineStart:Ie.paginationSlashMarginInlineStart},[`${rt}-options`]:{display:"inline-block",marginInlineStart:Ie.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ie.controlHeight,marginInlineStart:Ie.marginXS,lineHeight:`${Ie.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Lt.ik)(Ie)),{width:Ie.controlHeightLG*1.25,height:Ie.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ie.marginXS,marginInlineEnd:Ie.marginXS})}}}},Be=Ie=>{const{componentCls:rt}=Ie;return{[`${rt}-item`]:{display:"inline-block",minWidth:Ie.itemSize,height:Ie.itemSize,marginInlineEnd:Ie.marginXS,fontFamily:Ie.fontFamily,lineHeight:`${Ie.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ie.lineWidth}px ${Ie.lineType} transparent`,borderRadius:Ie.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ie.paginationItemPaddingInline}px`,color:Ie.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${rt}-item-active)`]:{"&:hover":{transition:`all ${Ie.motionDurationMid}`,backgroundColor:Ie.colorBgTextHover},"&:active":{backgroundColor:Ie.colorBgTextActive}},"&-active":{fontWeight:Ie.fontWeightStrong,backgroundColor:Ie.itemActiveBg,borderColor:Ie.colorPrimary,a:{color:Ie.colorPrimary},"&:hover":{borderColor:Ie.colorPrimaryHover},"&:hover a":{color:Ie.colorPrimaryHover}}}}},vt=Ie=>{const{componentCls:rt}=Ie;return{[rt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(Ie)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${rt}-total-text`]:{display:"inline-block",height:Ie.itemSize,marginInlineEnd:Ie.marginXS,lineHeight:`${Ie.itemSize-2}px`,verticalAlign:"middle"}}),Be(Ie)),Me(Ie)),gt(Ie)),An(Ie)),ua(Ie)),{[`@media only screen and (max-width: ${Ie.screenLG}px)`]:{[`${rt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ie.screenSM}px)`]:{[`${rt}-options`]:{display:"none"}}}),[`&${Ie.componentCls}-rtl`]:{direction:"rtl"}}},Ot=Ie=>{const{componentCls:rt}=Ie;return{[`${rt}${rt}-disabled:not(${rt}-mini)`]:{"&, &:hover":{[`${rt}-item-link`]:{borderColor:Ie.colorBorder}},"&:focus-visible":{[`${rt}-item-link`]:{borderColor:Ie.colorBorder}},[`${rt}-item, ${rt}-item-link`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,[`&:hover:not(${rt}-item-active)`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,a:{color:Ie.colorTextDisabled}},[`&${rt}-item-active`]:{backgroundColor:Ie.itemActiveBgDisabled}},[`${rt}-prev, ${rt}-next`]:{"&:hover button":{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,color:Ie.colorTextDisabled},[`${rt}-item-link`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder}}},[`${rt}:not(${rt}-mini)`]:{[`${rt}-prev, ${rt}-next`]:{"&:hover button":{borderColor:Ie.colorPrimaryHover,backgroundColor:Ie.itemBg},[`${rt}-item-link`]:{backgroundColor:Ie.itemLinkBg,borderColor:Ie.colorBorder},[`&:hover ${rt}-item-link`]:{borderColor:Ie.colorPrimary,backgroundColor:Ie.itemBg,color:Ie.colorPrimary},[`&${rt}-disabled`]:{[`${rt}-item-link`]:{borderColor:Ie.colorBorder,color:Ie.colorTextDisabled}}},[`${rt}-item`]:{backgroundColor:Ie.itemBg,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,[`&:hover:not(${rt}-item-active)`]:{borderColor:Ie.colorPrimary,backgroundColor:Ie.itemBg,a:{color:Ie.colorPrimary}},"&-active":{borderColor:Ie.colorPrimary}}}}},jt=Ie=>{const{componentCls:rt}=Ie;return{[`${rt}:not(${rt}-disabled)`]:{[`${rt}-item`]:Object.assign({},(0,Ce.Qy)(Ie)),[`${rt}-jump-prev, ${rt}-jump-next`]:{"&:focus-visible":Object.assign({[`${rt}-item-link-icon`]:{opacity:1},[`${rt}-item-ellipsis`]:{opacity:0}},(0,Ce.oN)(Ie))},[`${rt}-prev, ${rt}-next`]:{[`&:focus-visible ${rt}-item-link`]:Object.assign({},(0,Ce.oN)(Ie))}}}};var sn=(0,rn.Z)("Pagination",Ie=>{const rt=(0,fn.TS)(Ie,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ie.marginXXS/2,paginationMiniQuickJumperInputWidth:Ie.controlHeightLG*1.1,paginationItemPaddingInline:Ie.marginXXS*1.5,paginationEllipsisLetterSpacing:Ie.marginXXS/2,paginationSlashMarginInlineStart:Ie.marginXXS,paginationSlashMarginInlineEnd:Ie.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Lt.e5)(Ie),(0,Lt.TM)(Ie));return[vt(rt),jt(rt),Ie.wireframe&&Ot(rt)]},Ie=>({itemBg:Ie.colorBgContainer,itemSize:Ie.controlHeight,itemSizeSM:Ie.controlHeightSM,itemActiveBg:Ie.colorBgContainer,itemLinkBg:Ie.colorBgContainer,itemActiveColorDisabled:Ie.colorTextDisabled,itemActiveBgDisabled:Ie.controlItemBgActiveDisabled,itemInputBg:Ie.colorBgContainer,miniOptionsSizeChangerTop:0})),On=function(Ie,rt){var Yn={};for(var Dn in Ie)Object.prototype.hasOwnProperty.call(Ie,Dn)&&rt.indexOf(Dn)<0&&(Yn[Dn]=Ie[Dn]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Dn=Object.getOwnPropertySymbols(Ie);lt<Dn.length;lt++)rt.indexOf(Dn[lt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Dn[lt])&&(Yn[Dn[lt]]=Ie[Dn[lt]]);return Yn},bn=Ie=>{const{prefixCls:rt,selectPrefixCls:Yn,className:Dn,rootClassName:lt,style:_t,size:ea,locale:Un,selectComponentClass:ca,responsive:Tn,showSizeChanger:un}=Ie,qn=On(Ie,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:cr}=(0,Ve.Z)(Tn),{getPrefixCls:Ga,direction:za,pagination:Zr={}}=ve.useContext(Jt.E_),Va=Ga("pagination",rt),[Mr,oo]=sn(Va),ko=un!=null?un:Zr.showSizeChanger,Yo=ve.useMemo(()=>{const Pn=ve.createElement("span",{className:`${Va}-item-ellipsis`},"\u2022\u2022\u2022"),Cn=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`}),Pn)),Mn=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`}),Pn));return{prevIcon:Cn,nextIcon:Ja,jumpPrevIcon:Nr,jumpNextIcon:Mn}},[za,Va]),[ti]=(0,Pt.Z)("Pagination",Rt.Z),fi=Object.assign(Object.assign({},ti),Un),Io=(0,an.Z)(ea),bi=Io==="small"||!!(cr&&!Io&&Tn),Hr=Ga("select",Yn),wn=je()({[`${Va}-mini`]:bi,[`${Va}-rtl`]:za==="rtl"},Zr==null?void 0:Zr.className,Dn,lt,oo),Rn=Object.assign(Object.assign({},Zr==null?void 0:Zr.style),_t);return Mr(ve.createElement(mt,Object.assign({},Yo,qn,{style:Rn,prefixCls:Va,selectPrefixCls:Hr,className:wn,selectComponentClass:ca||(bi?En:Ye),locale:fi,showSizeChanger:ko})))},ga=bn},12604:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return Ft}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ge=Te,ke=te(74643),Ze=function(Rt,Jt){return ve.createElement(ke.Z,(0,le.Z)({},Rt,{ref:Jt,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(94184),Ke=te.n(ze),He=te(4942),tt=te(97685),je=te(45987),we=te(21770),ue=te(15105),y=te(64217);function a(mt,Rt){var Jt=mt.disabled,an=mt.prefixCls,Ve=mt.character,Pt=mt.characterRender,kt=mt.index,En=mt.count,Ye=mt.value,Lt=mt.allowHalf,Ce=mt.focused,rn=mt.onHover,fn=mt.onClick,ua=function(sn){rn(sn,kt)},An=function(sn){fn(sn,kt)},gt=function(sn){sn.keyCode===ue.Z.ENTER&&fn(sn,kt)},Me=kt+1,Be=new Set([an]);Ye===0&&kt===0&&Ce?Be.add("".concat(an,"-focused")):Lt&&Ye+.5>=Me&&Ye<Me?(Be.add("".concat(an,"-half")),Be.add("".concat(an,"-active")),Ce&&Be.add("".concat(an,"-focused"))):(Me<=Ye?Be.add("".concat(an,"-full")):Be.add("".concat(an,"-zero")),Me===Ye&&Ce&&Be.add("".concat(an,"-focused")));var vt=typeof Ve=="function"?Ve(mt):Ve,Ot=ve.createElement("li",{className:Ke()(Array.from(Be)),ref:Rt},ve.createElement("div",{onClick:Jt?null:An,onKeyDown:Jt?null:gt,onMouseMove:Jt?null:ua,role:"radio","aria-checked":Ye>kt?"true":"false","aria-posinset":kt+1,"aria-setsize":En,tabIndex:Jt?-1:0},ve.createElement("div",{className:"".concat(an,"-first")},vt),ve.createElement("div",{className:"".concat(an,"-second")},vt)));return Pt&&(Ot=Pt(Ot,mt)),Ot}var x=ve.forwardRef(a);function b(){var mt=ve.useRef({});function Rt(an){return mt.current[an]}function Jt(an){return function(Ve){mt.current[an]=Ve}}return[Rt,Jt]}function E(mt){var Rt=mt.pageXOffset,Jt="scrollLeft";if(typeof Rt!="number"){var an=mt.document;Rt=an.documentElement[Jt],typeof Rt!="number"&&(Rt=an.body[Jt])}return Rt}function z(mt){var Rt,Jt,an=mt.ownerDocument,Ve=an.body,Pt=an&&an.documentElement,kt=mt.getBoundingClientRect();return Rt=kt.left,Jt=kt.top,Rt-=Pt.clientLeft||Ve.clientLeft||0,Jt-=Pt.clientTop||Ve.clientTop||0,{left:Rt,top:Jt}}function ae(mt){var Rt=z(mt),Jt=mt.ownerDocument,an=Jt.defaultView||Jt.parentWindow;return Rt.left+=E(an),Rt.left}var re=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ne(mt,Rt){var Jt,an=mt.prefixCls,Ve=an===void 0?"rc-rate":an,Pt=mt.className,kt=mt.defaultValue,En=mt.value,Ye=mt.count,Lt=Ye===void 0?5:Ye,Ce=mt.allowHalf,rn=Ce===void 0?!1:Ce,fn=mt.allowClear,ua=fn===void 0?!0:fn,An=mt.character,gt=An===void 0?"\u2605":An,Me=mt.characterRender,Be=mt.disabled,vt=mt.direction,Ot=vt===void 0?"ltr":vt,jt=mt.tabIndex,sn=jt===void 0?0:jt,On=mt.autoFocus,Gn=mt.onHoverChange,bn=mt.onChange,ga=mt.onFocus,Ie=mt.onBlur,rt=mt.onKeyDown,Yn=mt.onMouseLeave,Dn=(0,je.Z)(mt,re),lt=b(),_t=(0,tt.Z)(lt,2),ea=_t[0],Un=_t[1],ca=ve.useRef(null),Tn=function(){if(!Be){var mn;(mn=ca.current)===null||mn===void 0||mn.focus()}};ve.useImperativeHandle(Rt,function(){return{focus:Tn,blur:function(){if(!Be){var mn;(mn=ca.current)===null||mn===void 0||mn.blur()}}}});var un=(0,we.Z)(kt||0,{value:En}),qn=(0,tt.Z)(un,2),cr=qn[0],Ga=qn[1],za=(0,we.Z)(null),Zr=(0,tt.Z)(za,2),Va=Zr[0],Mr=Zr[1],oo=function(mn,zn){var La=Ot==="rtl",Jn=mn+1;if(rn){var Ln=ea(mn),va=ae(Ln),fo=Ln.clientWidth;(La&&zn-va>fo/2||!La&&zn-va<fo/2)&&(Jn-=.5)}return Jn},ko=function(mn){Ga(mn),bn==null||bn(mn)},Yo=ve.useState(!1),ti=(0,tt.Z)(Yo,2),fi=ti[0],Io=ti[1],bi=function(){Io(!0),ga==null||ga()},Hr=function(){Io(!1),Ie==null||Ie()},wn=ve.useState(null),Rn=(0,tt.Z)(wn,2),Pn=Rn[0],Cn=Rn[1],Ja=function(mn,zn){var La=oo(zn,mn.pageX);La!==Va&&(Cn(La),Mr(null)),Gn==null||Gn(La)},Nr=function(mn){Be||(Cn(null),Mr(null),Gn==null||Gn(void 0)),mn&&(Yn==null||Yn(mn))},Mn=function(mn,zn){var La=oo(zn,mn.pageX),Jn=!1;ua&&(Jn=La===cr),Nr(),ko(Jn?0:La),Mr(Jn?La:null)},at=function(mn){var zn=mn.keyCode,La=Ot==="rtl",Jn=cr;zn===ue.Z.RIGHT&&Jn<Lt&&!La?(rn?Jn+=.5:Jn+=1,ko(Jn),mn.preventDefault()):zn===ue.Z.LEFT&&Jn>0&&!La||zn===ue.Z.RIGHT&&Jn>0&&La?(rn?Jn-=.5:Jn-=1,ko(Jn),mn.preventDefault()):zn===ue.Z.LEFT&&Jn<Lt&&La&&(rn?Jn+=.5:Jn+=1,ko(Jn),mn.preventDefault()),rt==null||rt(mn)};ve.useEffect(function(){On&&!Be&&Tn()},[]);var st=new Array(Lt).fill(0).map(function(Zt,mn){return ve.createElement(x,{ref:Un(mn),index:mn,count:Lt,disabled:Be,prefixCls:"".concat(Ve,"-star"),allowHalf:rn,value:Pn===null?cr:Pn,onClick:Mn,onHover:Ja,key:Zt||mn,character:gt,characterRender:Me,focused:fi})}),et=Ke()(Ve,Pt,(Jt={},(0,He.Z)(Jt,"".concat(Ve,"-disabled"),Be),(0,He.Z)(Jt,"".concat(Ve,"-rtl"),Ot==="rtl"),Jt));return ve.createElement("ul",(0,le.Z)({className:et,onMouseLeave:Nr,tabIndex:Be?-1:sn,onFocus:Be?null:bi,onBlur:Be?null:Hr,onKeyDown:Be?null:at,ref:ca,role:"radiogroup"},(0,y.Z)(Dn,{aria:!0,data:!0,attr:!0})),st)}var fe=ve.forwardRef(ne),Se=fe,Le=te(53124),be=te(83062),xe=te(14747),pe=te(67968),it=te(45503);const We=mt=>{const{componentCls:Rt}=mt;return{[`${Rt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:mt.marginXS},"> div":{transition:`all ${mt.motionDurationMid}, outline 0s`,"&:hover":{transform:mt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${mt.lineWidth}px dashed ${mt.starColor}`,transform:mt.starHoverScale}},"&-first, &-second":{color:mt.starBg,transition:`all ${mt.motionDurationMid}`,userSelect:"none",[mt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Rt}-star-first, &-half ${Rt}-star-second`]:{opacity:1},[`&-half ${Rt}-star-first, &-full ${Rt}-star-second`]:{color:"inherit"}}}},xt=mt=>({[`&-rtl${mt.componentCls}`]:{direction:"rtl"}}),Je=mt=>{const{componentCls:Rt}=mt;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(mt)),{display:"inline-block",margin:0,padding:0,color:mt.starColor,fontSize:mt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Rt} ${Rt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),We(mt)),{[`+ ${Rt}-text`]:{display:"inline-block",marginInlineStart:mt.marginXS,fontSize:mt.fontSize}}),xt(mt))}};var dt=(0,pe.Z)("Rate",mt=>{const Rt=(0,it.TS)(mt,{});return[Je(Rt)]},mt=>({starColor:mt.yellow6,starSize:mt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:mt.colorFillContent})),Mt=function(mt,Rt){var Jt={};for(var an in mt)Object.prototype.hasOwnProperty.call(mt,an)&&Rt.indexOf(an)<0&&(Jt[an]=mt[an]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,an=Object.getOwnPropertySymbols(mt);Ve<an.length;Ve++)Rt.indexOf(an[Ve])<0&&Object.prototype.propertyIsEnumerable.call(mt,an[Ve])&&(Jt[an[Ve]]=mt[an[Ve]]);return Jt},Ft=ve.forwardRef((mt,Rt)=>{const{prefixCls:Jt,className:an,rootClassName:Ve,style:Pt,tooltips:kt,character:En=ve.createElement(de,null)}=mt,Ye=Mt(mt,["prefixCls","className","rootClassName","style","tooltips","character"]),Lt=(Be,vt)=>{let{index:Ot}=vt;return kt?ve.createElement(be.Z,{title:kt[Ot]},Be):Be},{getPrefixCls:Ce,direction:rn,rate:fn}=ve.useContext(Le.E_),ua=Ce("rate",Jt),[An,gt]=dt(ua),Me=Object.assign(Object.assign({},fn==null?void 0:fn.style),Pt);return An(ve.createElement(Se,Object.assign({ref:Rt,character:En,characterRender:Lt},Ye,{className:Ke()(an,Ve,gt,fn==null?void 0:fn.className),style:Me,prefixCls:ua,direction:rn})))})},46303:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return gt}});var le=te(94184),ve=te.n(le),Te=te(67294),Ge=te(53124),ke=te(10366),de=Me=>{const{prefixCls:Be,className:vt,style:Ot,size:jt,shape:sn}=Me,On=ve()({[`${Be}-lg`]:jt==="large",[`${Be}-sm`]:jt==="small"}),Gn=ve()({[`${Be}-circle`]:sn==="circle",[`${Be}-square`]:sn==="square",[`${Be}-round`]:sn==="round"}),bn=Te.useMemo(()=>typeof jt=="number"?{width:jt,height:jt,lineHeight:`${jt}px`}:{},[jt]);return Te.createElement("span",{className:ve()(Be,On,Gn,vt),style:Object.assign(Object.assign({},bn),Ot)})},ze=te(45930),Ke=te(67968),He=te(45503);const tt=new ze.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),je=Me=>({height:Me,lineHeight:`${Me}px`}),we=Me=>Object.assign({width:Me},je(Me)),ue=Me=>({background:Me.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:tt,animationDuration:Me.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Me=>Object.assign({width:Me*5,minWidth:Me*5},je(Me)),a=Me=>{const{skeletonAvatarCls:Be,gradientFromColor:vt,controlHeight:Ot,controlHeightLG:jt,controlHeightSM:sn}=Me;return{[`${Be}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:vt},we(Ot)),[`${Be}${Be}-circle`]:{borderRadius:"50%"},[`${Be}${Be}-lg`]:Object.assign({},we(jt)),[`${Be}${Be}-sm`]:Object.assign({},we(sn))}},x=Me=>{const{controlHeight:Be,borderRadiusSM:vt,skeletonInputCls:Ot,controlHeightLG:jt,controlHeightSM:sn,gradientFromColor:On}=Me;return{[`${Ot}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:On,borderRadius:vt},y(Be)),[`${Ot}-lg`]:Object.assign({},y(jt)),[`${Ot}-sm`]:Object.assign({},y(sn))}},b=Me=>Object.assign({width:Me},je(Me)),E=Me=>{const{skeletonImageCls:Be,imageSizeBase:vt,gradientFromColor:Ot,borderRadiusSM:jt}=Me;return{[`${Be}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ot,borderRadius:jt},b(vt*2)),{[`${Be}-path`]:{fill:"#bfbfbf"},[`${Be}-svg`]:Object.assign(Object.assign({},b(vt)),{maxWidth:vt*4,maxHeight:vt*4}),[`${Be}-svg${Be}-svg-circle`]:{borderRadius:"50%"}}),[`${Be}${Be}-circle`]:{borderRadius:"50%"}}},z=(Me,Be,vt)=>{const{skeletonButtonCls:Ot}=Me;return{[`${vt}${Ot}-circle`]:{width:Be,minWidth:Be,borderRadius:"50%"},[`${vt}${Ot}-round`]:{borderRadius:Be}}},ae=Me=>Object.assign({width:Me*2,minWidth:Me*2},je(Me)),re=Me=>{const{borderRadiusSM:Be,skeletonButtonCls:vt,controlHeight:Ot,controlHeightLG:jt,controlHeightSM:sn,gradientFromColor:On}=Me;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${vt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:On,borderRadius:Be,width:Ot*2,minWidth:Ot*2},ae(Ot))},z(Me,Ot,vt)),{[`${vt}-lg`]:Object.assign({},ae(jt))}),z(Me,jt,`${vt}-lg`)),{[`${vt}-sm`]:Object.assign({},ae(sn))}),z(Me,sn,`${vt}-sm`))},ne=Me=>{const{componentCls:Be,skeletonAvatarCls:vt,skeletonTitleCls:Ot,skeletonParagraphCls:jt,skeletonButtonCls:sn,skeletonInputCls:On,skeletonImageCls:Gn,controlHeight:bn,controlHeightLG:ga,controlHeightSM:Ie,gradientFromColor:rt,padding:Yn,marginSM:Dn,borderRadius:lt,titleHeight:_t,blockRadius:ea,paragraphLiHeight:Un,controlHeightXS:ca,paragraphMarginTop:Tn}=Me;return{[`${Be}`]:{display:"table",width:"100%",[`${Be}-header`]:{display:"table-cell",paddingInlineEnd:Yn,verticalAlign:"top",[`${vt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:rt},we(bn)),[`${vt}-circle`]:{borderRadius:"50%"},[`${vt}-lg`]:Object.assign({},we(ga)),[`${vt}-sm`]:Object.assign({},we(Ie))},[`${Be}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ot}`]:{width:"100%",height:_t,background:rt,borderRadius:ea,[`+ ${jt}`]:{marginBlockStart:Ie}},[`${jt}`]:{padding:0,"> li":{width:"100%",height:Un,listStyle:"none",background:rt,borderRadius:ea,"+ li":{marginBlockStart:ca}}},[`${jt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Be}-content`]:{[`${Ot}, ${jt} > li`]:{borderRadius:lt}}},[`${Be}-with-avatar ${Be}-content`]:{[`${Ot}`]:{marginBlockStart:Dn,[`+ ${jt}`]:{marginBlockStart:Tn}}},[`${Be}${Be}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},re(Me)),a(Me)),x(Me)),E(Me)),[`${Be}${Be}-block`]:{width:"100%",[`${sn}`]:{width:"100%"},[`${On}`]:{width:"100%"}},[`${Be}${Be}-active`]:{[`
|
|
${Ot},
|
|
${jt} > li,
|
|
${vt},
|
|
${sn},
|
|
${On},
|
|
${Gn}
|
|
`]:Object.assign({},ue(Me))}}};var fe=(0,Ke.Z)("Skeleton",Me=>{const{componentCls:Be}=Me,vt=(0,He.TS)(Me,{skeletonAvatarCls:`${Be}-avatar`,skeletonTitleCls:`${Be}-title`,skeletonParagraphCls:`${Be}-paragraph`,skeletonButtonCls:`${Be}-button`,skeletonInputCls:`${Be}-input`,skeletonImageCls:`${Be}-image`,imageSizeBase:Me.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Me.gradientFromColor} 25%, ${Me.gradientToColor} 37%, ${Me.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ne(vt)]},Me=>{const{colorFillContent:Be,colorFill:vt}=Me,Ot=Be,jt=vt;return{color:Ot,colorGradientEnd:jt,gradientFromColor:Ot,gradientToColor:jt,titleHeight:Me.controlHeight/2,blockRadius:Me.borderRadiusSM,paragraphMarginTop:Me.marginLG+Me.marginXXS,paragraphLiHeight:Me.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Le=Me=>{const{prefixCls:Be,className:vt,rootClassName:Ot,active:jt,shape:sn="circle",size:On="default"}=Me,{getPrefixCls:Gn}=Te.useContext(Ge.E_),bn=Gn("skeleton",Be),[ga,Ie]=fe(bn),rt=(0,ke.Z)(Me,["prefixCls","className"]),Yn=ve()(bn,`${bn}-element`,{[`${bn}-active`]:jt},vt,Ot,Ie);return ga(Te.createElement("div",{className:Yn},Te.createElement(de,Object.assign({prefixCls:`${bn}-avatar`,shape:sn,size:On},rt))))},xe=Me=>{const{prefixCls:Be,className:vt,rootClassName:Ot,active:jt,block:sn=!1,size:On="default"}=Me,{getPrefixCls:Gn}=Te.useContext(Ge.E_),bn=Gn("skeleton",Be),[ga,Ie]=fe(bn),rt=(0,ke.Z)(Me,["prefixCls"]),Yn=ve()(bn,`${bn}-element`,{[`${bn}-active`]:jt,[`${bn}-block`]:sn},vt,Ot,Ie);return ga(Te.createElement("div",{className:Yn},Te.createElement(de,Object.assign({prefixCls:`${bn}-button`,size:On},rt))))};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 We=Me=>{const{prefixCls:Be,className:vt,rootClassName:Ot,style:jt,active:sn}=Me,{getPrefixCls:On}=Te.useContext(Ge.E_),Gn=On("skeleton",Be),[bn,ga]=fe(Gn),Ie=ve()(Gn,`${Gn}-element`,{[`${Gn}-active`]:sn},vt,Ot,ga);return bn(Te.createElement("div",{className:Ie},Te.createElement("div",{className:ve()(`${Gn}-image`,vt),style:jt},Te.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Gn}-image-svg`},Te.createElement("path",{d:pe,className:`${Gn}-image-path`})))))},Je=Me=>{const{prefixCls:Be,className:vt,rootClassName:Ot,active:jt,block:sn,size:On="default"}=Me,{getPrefixCls:Gn}=Te.useContext(Ge.E_),bn=Gn("skeleton",Be),[ga,Ie]=fe(bn),rt=(0,ke.Z)(Me,["prefixCls"]),Yn=ve()(bn,`${bn}-element`,{[`${bn}-active`]:jt,[`${bn}-block`]:sn},vt,Ot,Ie);return ga(Te.createElement("div",{className:Yn},Te.createElement(de,Object.assign({prefixCls:`${bn}-input`,size:On},rt))))},dt=te(87462),Mt={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=Mt,Ft=te(74643),mt=function(Be,vt){return Te.createElement(Ft.Z,(0,dt.Z)({},Be,{ref:vt,icon:Kt}))},Rt=Te.forwardRef(mt),an=Me=>{const{prefixCls:Be,className:vt,rootClassName:Ot,style:jt,active:sn,children:On}=Me,{getPrefixCls:Gn}=Te.useContext(Ge.E_),bn=Gn("skeleton",Be),[ga,Ie]=fe(bn),rt=ve()(bn,`${bn}-element`,{[`${bn}-active`]:sn},Ie,vt,Ot),Yn=On!=null?On:Te.createElement(Rt,null);return ga(Te.createElement("div",{className:rt},Te.createElement("div",{className:ve()(`${bn}-image`,vt),style:jt},Yn)))},Ve=te(74902),kt=Me=>{const Be=Gn=>{const{width:bn,rows:ga=2}=Me;if(Array.isArray(bn))return bn[Gn];if(ga-1===Gn)return bn},{prefixCls:vt,className:Ot,style:jt,rows:sn}=Me,On=(0,Ve.Z)(Array(sn)).map((Gn,bn)=>Te.createElement("li",{key:bn,style:{width:Be(bn)}}));return Te.createElement("ul",{className:ve()(vt,Ot),style:jt},On)},Ye=Me=>{let{prefixCls:Be,className:vt,width:Ot,style:jt}=Me;return Te.createElement("h3",{className:ve()(Be,vt),style:Object.assign({width:Ot},jt)})};function Lt(Me){return Me&&typeof Me=="object"?Me:{}}function Ce(Me,Be){return Me&&!Be?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function rn(Me,Be){return!Me&&Be?{width:"38%"}:Me&&Be?{width:"50%"}:{}}function fn(Me,Be){const vt={};return(!Me||!Be)&&(vt.width="61%"),!Me&&Be?vt.rows=3:vt.rows=2,vt}const ua=Me=>{const{prefixCls:Be,loading:vt,className:Ot,rootClassName:jt,style:sn,children:On,avatar:Gn=!1,title:bn=!0,paragraph:ga=!0,active:Ie,round:rt}=Me,{getPrefixCls:Yn,direction:Dn,skeleton:lt}=Te.useContext(Ge.E_),_t=Yn("skeleton",Be),[ea,Un]=fe(_t);if(vt||!("loading"in Me)){const ca=!!Gn,Tn=!!bn,un=!!ga;let qn;if(ca){const za=Object.assign(Object.assign({prefixCls:`${_t}-avatar`},Ce(Tn,un)),Lt(Gn));qn=Te.createElement("div",{className:`${_t}-header`},Te.createElement(de,Object.assign({},za)))}let cr;if(Tn||un){let za;if(Tn){const Va=Object.assign(Object.assign({prefixCls:`${_t}-title`},rn(ca,un)),Lt(bn));za=Te.createElement(Ye,Object.assign({},Va))}let Zr;if(un){const Va=Object.assign(Object.assign({prefixCls:`${_t}-paragraph`},fn(ca,Tn)),Lt(ga));Zr=Te.createElement(kt,Object.assign({},Va))}cr=Te.createElement("div",{className:`${_t}-content`},za,Zr)}const Ga=ve()(_t,{[`${_t}-with-avatar`]:ca,[`${_t}-active`]:Ie,[`${_t}-rtl`]:Dn==="rtl",[`${_t}-round`]:rt},lt==null?void 0:lt.className,Ot,jt,Un);return ea(Te.createElement("div",{className:Ga,style:Object.assign(Object.assign({},lt==null?void 0:lt.style),sn)},qn,cr))}return typeof On!="undefined"?On:null};ua.Button=xe,ua.Avatar=Le,ua.Input=Je,ua.Image=We,ua.Node=an;var An=ua,gt=An},55054:function(ct,wt,te){"use strict";te.d(wt,{default:function(){return fe}});var le=te(67294),ve=te(57838),Te=te(96159),Ge=te(94184),ke=te.n(Ge),Ze=te(53124),de=te(46303),Ke=Se=>{const{value:Le,formatter:be,precision:xe,decimalSeparator:pe,groupSeparator:it="",prefixCls:We}=Se;let xt;if(typeof be=="function")xt=be(Le);else{const Je=String(Le),dt=Je.match(/^(-?)(\d*)(\.(\d+))?$/);if(!dt||Je==="-")xt=Je;else{const Mt=dt[1];let Kt=dt[2]||"0",Ft=dt[4]||"";Kt=Kt.replace(/\B(?=(\d{3})+(?!\d))/g,it),typeof xe=="number"&&(Ft=Ft.padEnd(xe,"0").slice(0,xe>0?xe:0)),Ft&&(Ft=`${pe}${Ft}`),xt=[le.createElement("span",{key:"int",className:`${We}-content-value-int`},Mt,Kt),Ft&&le.createElement("span",{key:"decimal",className:`${We}-content-value-decimal`},Ft)]}}return le.createElement("span",{className:`${We}-content-value`},xt)},He=te(14747),tt=te(67968),je=te(45503);const we=Se=>{const{componentCls:Le,marginXXS:be,padding:xe,colorTextDescription:pe,titleFontSize:it,colorTextHeading:We,contentFontSize:xt,fontFamily:Je}=Se;return{[`${Le}`]:Object.assign(Object.assign({},(0,He.Wf)(Se)),{[`${Le}-title`]:{marginBottom:be,color:pe,fontSize:it},[`${Le}-skeleton`]:{paddingTop:xe},[`${Le}-content`]:{color:We,fontSize:xt,fontFamily:Je,[`${Le}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Le}-content-prefix, ${Le}-content-suffix`]:{display:"inline-block"},[`${Le}-content-prefix`]:{marginInlineEnd:be},[`${Le}-content-suffix`]:{marginInlineStart:be}}})}};var ue=(0,tt.Z)("Statistic",Se=>{const Le=(0,je.TS)(Se,{});return[we(Le)]},Se=>{const{fontSizeHeading3:Le,fontSize:be}=Se;return{titleFontSize:be,contentFontSize:Le}}),a=Se=>{const{prefixCls:Le,className:be,rootClassName:xe,style:pe,valueStyle:it,value:We=0,title:xt,valueRender:Je,prefix:dt,suffix:Mt,loading:Kt=!1,onMouseEnter:Ft,onMouseLeave:mt,decimalSeparator:Rt=".",groupSeparator:Jt=","}=Se,{getPrefixCls:an,direction:Ve,statistic:Pt}=le.useContext(Ze.E_),kt=an("statistic",Le),[En,Ye]=ue(kt),Lt=le.createElement(Ke,Object.assign({decimalSeparator:Rt,groupSeparator:Jt,prefixCls:kt},Se,{value:We})),Ce=ke()(kt,{[`${kt}-rtl`]:Ve==="rtl"},Pt==null?void 0:Pt.className,be,xe,Ye);return En(le.createElement("div",{className:Ce,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),pe),onMouseEnter:Ft,onMouseLeave:mt},xt&&le.createElement("div",{className:`${kt}-title`},xt),le.createElement(de.Z,{paragraph:!1,loading:Kt,className:`${kt}-skeleton`},le.createElement("div",{style:it,className:`${kt}-content`},dt&&le.createElement("span",{className:`${kt}-content-prefix`},dt),Je?Je(Lt):Lt,Mt&&le.createElement("span",{className:`${kt}-content-suffix`},Mt)))))};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,Le){let be=Se;const xe=/\[[^\]]*]/g,pe=(Le.match(xe)||[]).map(Je=>Je.slice(1,-1)),it=Le.replace(xe,"[]"),We=x.reduce((Je,dt)=>{let[Mt,Kt]=dt;if(Je.includes(Mt)){const Ft=Math.floor(be/Kt);return be-=Ft*Kt,Je.replace(new RegExp(`${Mt}+`,"g"),mt=>{const Rt=mt.length;return Ft.toString().padStart(Rt,"0")})}return Je},it);let xt=0;return We.replace(xe,()=>{const Je=pe[xt];return xt+=1,Je})}function E(Se,Le){const{format:be=""}=Le,xe=new Date(Se).getTime(),pe=Date.now(),it=Math.max(xe-pe,0);return b(it,be)}const z=1e3/30;function ae(Se){return new Date(Se).getTime()}const re=Se=>{const{value:Le,format:be="HH:mm:ss",onChange:xe,onFinish:pe}=Se,it=(0,ve.Z)(),We=le.useRef(null),xt=()=>{pe==null||pe(),We.current&&(clearInterval(We.current),We.current=null)},Je=()=>{const Kt=ae(Le);Kt>=Date.now()&&(We.current=setInterval(()=>{it(),xe==null||xe(Kt-Date.now()),Kt<Date.now()&&xt()},z))};le.useEffect(()=>(Je(),()=>{We.current&&(clearInterval(We.current),We.current=null)}),[Le]);const dt=(Kt,Ft)=>E(Kt,Object.assign(Object.assign({},Ft),{format:be})),Mt=Kt=>(0,Te.Tm)(Kt,{title:void 0});return le.createElement(a,Object.assign({},Se,{valueRender:Mt,formatter:dt}))};var ne=le.memo(re);a.Countdown=ne;var fe=a},49867:function(ct,wt,te){"use strict";te.d(wt,{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,wt,te){"use strict";te.d(wt,{default:function(){return Js}});var le={},ve="rc-table-internal-hook",Te=te(97685),Ge=te(66680),ke=te(8410),Ze=te(91881),de=te(67294),ze=te(73935);function Ke(se){var ce=de.createContext(void 0),he=function(Ne){var Oe=Ne.value,$e=Ne.children,qe=de.useRef(Oe);qe.current=Oe;var Xe=de.useState(function(){return{getValue:function(){return qe.current},listeners:new Set}}),ht=(0,Te.Z)(Xe,1),Bt=ht[0];return(0,ke.Z)(function(){(0,ze.unstable_batchedUpdates)(function(){Bt.listeners.forEach(function(yt){yt(Oe)})})},[Oe]),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(yt){if(ce===void 0)return yt;if(!Array.isArray(ce))return yt[ce];var Ut={};return ce.forEach(function($t){Ut[$t]=yt[$t]}),Ut}),ye=de.useContext(se==null?void 0:se.Context),Ne=ye||{},Oe=Ne.listeners,$e=Ne.getValue,qe=de.useRef();qe.current=he(ye?$e():se==null?void 0:se.defaultValue);var Xe=de.useState({}),ht=(0,Te.Z)(Xe,2),Bt=ht[1];return(0,ke.Z)(function(){if(!ye)return;function yt(Ut){var $t=he(Ut);(0,Ze.Z)(qe.current,$t,!0)||Bt({})}return Oe.add(yt),function(){Oe.delete(yt)}},[ye]),qe.current}var tt=te(87462),je=te(42550);function we(){var se=de.createContext(null);function ce(){return de.useContext(se)}function he(Ne,Oe){var $e=(0,je.Yr)(Ne),qe=function(ht,Bt){var yt=$e?{ref:Bt}:{},Ut=de.useRef(0),$t=de.useRef(ht),en=ce();return en!==null?de.createElement(Ne,(0,tt.Z)({},ht,yt)):((!Oe||Oe($t.current,ht))&&(Ut.current+=1),$t.current=ht,de.createElement(se.Provider,{value:Ut.current},de.createElement(Ne,(0,tt.Z)({},ht,yt))))};return $e?de.forwardRef(qe):qe}function ye(Ne,Oe){var $e=(0,je.Yr)(Ne),qe=function(ht,Bt){var yt=$e?{ref:Bt}:{};return ce(),de.createElement(Ne,(0,tt.Z)({},ht,yt))};return $e?de.memo(de.forwardRef(qe),Oe):de.memo(qe,Oe)}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),Ne=[];Object.keys(se||{}).map(function($e){var qe;(se==null?void 0:se[$e])!==((qe=ye.current)===null||qe===void 0?void 0:qe[$e])&&Ne.push($e)}),ye.current=se;var Oe=de.useRef([]);return Ne.length&&(Oe.current=Ne),de.useDebugValue(he.current),de.useDebugValue(Oe.current.join(", ")),ce&&console.log("".concat(ce,":"),he.current,Oe.current),he.current}var Se=null,Le=de.memo(function(){var se=fe();return de.createElement("h1",null,"Render Times: ",se)});Le.displayName="RenderBlock";var be=te(71002),xe=te(1413),pe=te(4942),it=te(94184),We=te.n(it);function xt(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 Je={},dt=[],Mt=function(ce){dt.push(ce)};function Kt(se,ce){if(0)var he}function Ft(se,ce){if(0)var he}function mt(){Je={}}function Rt(se,ce,he){!ce&&!Je[he]&&(se(!1,he),Je[he]=!0)}function Jt(se,ce){Rt(Kt,se,ce)}function an(se,ce){Rt(Ft,se,ce)}Jt.preMessage=Mt,Jt.resetWarned=mt,Jt.noteOnce=an;var Ve=Jt;function Pt(se,ce){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ye=new Set;function Ne(Oe,$e){var qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Xe=ye.has(Oe);if(Ve(!Xe,"Warning: There may be circular references"),Xe)return!1;if(Oe===$e)return!0;if(he&&qe>1)return!1;ye.add(Oe);var ht=qe+1;if(Array.isArray(Oe)){if(!Array.isArray($e)||Oe.length!==$e.length)return!1;for(var Bt=0;Bt<Oe.length;Bt++)if(!Ne(Oe[Bt],$e[Bt],ht))return!1;return!0}if(Oe&&$e&&(0,be.Z)(Oe)==="object"&&(0,be.Z)($e)==="object"){var yt=Object.keys(Oe);return yt.length!==Object.keys($e).length?!1:yt.every(function(Ut){return Ne(Oe[Ut],$e[Ut],ht)})}return!1}return Ne(se,ce)}var kt=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 Ye=de.createContext({renderWithProps:!1}),Lt=Ye,Ce="RC_TABLE_KEY";function rn(se){return se==null?[]:Array.isArray(se)?se:[se]}function fn(se){var ce=[],he={};return se.forEach(function(ye){for(var Ne=ye||{},Oe=Ne.key,$e=Ne.dataIndex,qe=Oe||rn($e).join("-")||Ce;he[qe];)qe="".concat(qe,"_next");he[qe]=!0,ce.push(qe)}),ce}function ua(se){return se!=null}function An(se){return se&&(0,be.Z)(se)==="object"&&!Array.isArray(se)&&!de.isValidElement(se)}function gt(se,ce,he,ye,Ne,Oe){var $e=de.useContext(Lt),qe=ae(),Xe=xt(function(){if(ua(ye))return[ye];var ht=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],Bt=En(se,ht),yt=Bt,Ut=void 0;if(Ne){var $t=Ne(Bt,se,he);An($t)?(yt=$t.children,Ut=$t.props,$e.renderWithProps=!0):yt=$t}return[yt,Ut]},[qe,se,ye,ce,Ne,he],function(ht,Bt){if(Oe){var yt=(0,Te.Z)(ht,2),Ut=yt[1],$t=(0,Te.Z)(Bt,2),en=$t[1];return Oe(en,Ut)}return $e.renderWithProps?!0:!kt(ht,Bt,!0)});return Xe}function Me(se,ce,he,ye){var Ne=se+ce-1;return se<=ye&&Ne>=he}function Be(se,ce){return He(ne,function(he){var ye=Me(se,ce||1,he.hoverStartRow,he.hoverEndRow);return[ye,he.onHover]})}var vt=function(ce){var he=ce.ellipsis,ye=ce.rowType,Ne=ce.children,Oe,$e=he===!0?{showTitle:!0}:he;return $e&&($e.showTitle||ye==="header")&&(typeof Ne=="string"||typeof Ne=="number"?Oe=Ne.toString():de.isValidElement(Ne)&&typeof Ne.props.children=="string"&&(Oe=Ne.props.children)),Oe};function Ot(se){var ce,he,ye,Ne,Oe,$e,qe,Xe,ht=se.component,Bt=se.children,yt=se.ellipsis,Ut=se.scope,$t=se.prefixCls,en=se.className,xn=se.align,cn=se.record,Bn=se.render,Sn=se.dataIndex,Hn=se.renderIndex,fa=se.shouldCellUpdate,Ea=se.index,da=se.rowType,Ua=se.colSpan,sr=se.rowSpan,_n=se.fixLeft,la=se.fixRight,Vn=se.firstFixLeft,Zn=se.lastFixLeft,sa=se.firstFixRight,ba=se.lastFixRight,Ya=se.appendNode,rr=se.additionalProps,ya=rr===void 0?{}:rr,fr=se.isSticky,pr="".concat($t,"-cell"),to=He(ne,["supportSticky","allColumnsFixedLeft"]),Tr=to.supportSticky,jo=to.allColumnsFixedLeft,Wo=gt(cn,Sn,Hn,Bt,Bn,fa),ur=(0,Te.Z)(Wo,2),di=ur[0],kn=ur[1],Ta={},Pr=typeof _n=="number"&&Tr,so=typeof la=="number"&&Tr;Pr&&(Ta.position="sticky",Ta.left=_n),so&&(Ta.position="sticky",Ta.right=la);var na=(ce=(he=(ye=kn==null?void 0:kn.colSpan)!==null&&ye!==void 0?ye:ya.colSpan)!==null&&he!==void 0?he:Ua)!==null&&ce!==void 0?ce:1,wa=(Ne=(Oe=($e=kn==null?void 0:kn.rowSpan)!==null&&$e!==void 0?$e:ya.rowSpan)!==null&&Oe!==void 0?Oe:sr)!==null&&Ne!==void 0?Ne:1,ka=Be(Ea,wa),Ca=(0,Te.Z)(ka,2),zr=Ca[0],Ia=Ca[1],mr=function(ri){var Ll;cn&&Ia(Ea,Ea+wa-1),ya==null||(Ll=ya.onMouseEnter)===null||Ll===void 0||Ll.call(ya,ri)},Jr=function(ri){var Ll;cn&&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=(qe=ya.title)!==null&&qe!==void 0?qe:vt({rowType:da,ellipsis:yt,children:di}),Sl=We()(pr,en,(Xe={},(0,pe.Z)(Xe,"".concat(pr,"-fix-left"),Pr&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-fix-left-first"),Vn&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-fix-left-last"),Zn&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-fix-left-all"),Zn&&jo&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-fix-right"),so&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-fix-right-first"),sa&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-fix-right-last"),ba&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-ellipsis"),yt),(0,pe.Z)(Xe,"".concat(pr,"-with-append"),Ya),(0,pe.Z)(Xe,"".concat(pr,"-fix-sticky"),(Pr||so)&&fr&&Tr),(0,pe.Z)(Xe,"".concat(pr,"-row-hover"),!kn&&zr),Xe),ya.className,kn==null?void 0:kn.className),al={};xn&&(al.textAlign=xn);var Ms=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ta),ya.style),al),kn==null?void 0:kn.style),Mi=di;return(0,be.Z)(Mi)==="object"&&!Array.isArray(Mi)&&!de.isValidElement(Mi)&&(Mi=null),yt&&(Zn||sa)&&(Mi=de.createElement("span",{className:"".concat(pr,"-content")},Mi)),de.createElement(ht,(0,tt.Z)({},kn,ya,{className:Sl,style:Ms,title:Wr,scope:Ut,onMouseEnter:mr,onMouseLeave:Jr,colSpan:na!==1?na:null,rowSpan:wa!==1?wa:null}),Ya,Mi)}var jt=de.memo(Ot);function sn(se,ce,he,ye,Ne,Oe){var $e=he[se]||{},qe=he[ce]||{},Xe,ht;$e.fixed==="left"?Xe=ye.left[Ne==="rtl"?ce:se]:qe.fixed==="right"&&(ht=ye.right[Ne==="rtl"?se:ce]);var Bt=!1,yt=!1,Ut=!1,$t=!1,en=he[ce+1],xn=he[se-1],cn=!(Oe!=null&&Oe.children);if(Ne==="rtl"){if(Xe!==void 0){var Bn=xn&&xn.fixed==="left";$t=!Bn&&cn}else if(ht!==void 0){var Sn=en&&en.fixed==="right";Ut=!Sn&&cn}}else if(Xe!==void 0){var Hn=en&&en.fixed==="left";Bt=!Hn&&cn}else if(ht!==void 0){var fa=xn&&xn.fixed==="right";yt=!fa&&cn}return{fixLeft:Xe,fixRight:ht,lastFixLeft:Bt,firstFixRight:yt,lastFixRight:Ut,firstFixLeft:$t,isSticky:ye.isSticky}}var On=de.createContext({}),Gn=On;function bn(se){var ce=se.className,he=se.index,ye=se.children,Ne=se.colSpan,Oe=Ne===void 0?1:Ne,$e=se.rowSpan,qe=se.align,Xe=He(ne,["prefixCls","direction"]),ht=Xe.prefixCls,Bt=Xe.direction,yt=de.useContext(Gn),Ut=yt.scrollColumnIndex,$t=yt.stickyOffsets,en=yt.flattenColumns,xn=yt.columns,cn=he+Oe-1,Bn=cn+1===Ut?Oe+1:Oe,Sn=sn(he,he+Bn-1,en,$t,Bt,xn==null?void 0:xn[he]);return de.createElement(jt,(0,tt.Z)({className:ce,index:he,component:"td",prefixCls:ht,record:null,dataIndex:null,align:qe,colSpan:Bn,rowSpan:$e,render:function(){return ye}},Sn))}var ga=te(45987),Ie=["children"];function rt(se){var ce=se.children,he=(0,ga.Z)(se,Ie);return de.createElement("tr",he,ce)}function Yn(se){var ce=se.children;return ce}Yn.Row=rt,Yn.Cell=bn;var Dn=Yn;function lt(se){var ce=se.children,he=se.stickyOffsets,ye=se.flattenColumns,Ne=se.columns,Oe=He(ne,"prefixCls"),$e=ye.length-1,qe=ye[$e],Xe=de.useMemo(function(){return{stickyOffsets:he,flattenColumns:ye,scrollColumnIndex:qe!=null&&qe.scrollbar?$e:null,columns:Ne}},[qe,ye,$e,he,Ne]);return de.createElement(Gn.Provider,{value:Xe},de.createElement("tfoot",{className:"".concat(Oe,"-summary")},ce))}var _t=z(lt),ea=Dn;function Un(se){var ce=de.useRef();ce.current=se;var he=de.useCallback(function(){for(var ye,Ne=arguments.length,Oe=new Array(Ne),$e=0;$e<Ne;$e++)Oe[$e]=arguments[$e];return(ye=ce.current)===null||ye===void 0?void 0:ye.call.apply(ye,[ce].concat(Oe))},[]);return he}function ca(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Tn=ca()?de.useLayoutEffect:de.useEffect,un=function(ce,he){var ye=React.useRef(!0);Tn(function(){return ce(ye.current)},he),Tn(function(){return ye.current=!1,function(){ye.current=!0}},[])},qn=function(ce,he){un(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),Ne=ye[0],Oe=ye[1];React.useEffect(function(){return ce.current=!1,function(){ce.current=!0}},[]);function $e(qe,Xe){Xe&&ce.current||Oe(qe)}return[Ne,$e]}function za(se){return se!==void 0}function Zr(se,ce){var he=ce||{},ye=he.defaultValue,Ne=he.value,Oe=he.onChange,$e=he.postState,qe=useState(function(){return za(Ne)?Ne:za(ye)?typeof ye=="function"?ye():ye:typeof se=="function"?se():se}),Xe=_slicedToArray(qe,2),ht=Xe[0],Bt=Xe[1],yt=Ne!==void 0?Ne:ht,Ut=$e?$e(yt):yt,$t=useEvent(Oe),en=useState([yt]),xn=_slicedToArray(en,2),cn=xn[0],Bn=xn[1];useLayoutUpdateEffect(function(){var Hn=cn[0];ht!==Hn&&$t(ht,Hn)},[cn]),useLayoutUpdateEffect(function(){za(Ne)||Bt(Ne)},[Ne]);var Sn=useEvent(function(Hn,fa){Bt(Hn,fa),Bn([yt],fa)});return[Ut,Sn]}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(Ne){return Ne});return ye.length<=1?ye[0]:function(Ne){ce.forEach(function(Oe){Mr(Oe,Ne)})}}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,Ne){return ye.length!==Ne.length||ye.every(function(Oe,$e){return Oe!==Ne[$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 Ne=_toArray(ce),Oe=Ne[0],$e=Ne.slice(1),qe;return!se&&typeof Oe=="number"?qe=[]:Array.isArray(se)?qe=_toConsumableArray(se):qe=_objectSpread({},se),ye&&he===void 0&&$e.length===1?delete qe[Oe][$e[0]]:qe[Oe]=fi(qe[Oe],$e,he,ye),qe}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 wn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Rn(){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(Ne){function Oe($e,qe){var Xe=new Set(qe),ht=get(Ne,$e),Bt=Array.isArray(ht);if(Bt||bi(ht)){if(!Xe.has(ht)){Xe.add(ht);var yt=get(ye,$e);Bt?ye=Io(ye,$e,[]):(!yt||_typeof(yt)!=="object")&&(ye=Io(ye,$e,Hr(ht))),wn(ht).forEach(function(Ut){Oe([].concat(_toConsumableArray($e),[Ut]),Xe)})}}else ye=Io(ye,$e,ht)}Oe([])}),ye}var Pn=te(48555),Cn=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 Ne=se.getBoundingClientRect(),Oe=Ne.width,$e=Ne.height;if(Oe||$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(Ne){return Ne in ye.style})}return!1},Nr=function(ce,he){if(!Ja(ce))return!1;var ye=document.createElement("div"),Ne=ye.style[ce];return ye.style[ce]=he,ye.style[ce]!==Ne};function Mn(se,ce){return!Array.isArray(se)&&ce!==void 0?Nr(se,ce):Ja(se)}var at;function st(se){if(typeof document=="undefined")return 0;if(se||at===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 Ne=ce.offsetWidth;he.style.overflow="scroll";var Oe=ce.offsetWidth;Ne===Oe&&(Oe=he.clientWidth),document.body.removeChild(he),at=Ne-Oe}return at}function et(se){var ce=se.match(/^(.*)px$/),he=Number(ce==null?void 0:ce[1]);return Number.isNaN(he)?st():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:et(he),height:et(ye)}}var mn=`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`,zn=`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(mn," ").concat(zn).split(/[\s\n]+/),Jn="aria-",Ln="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(Ne){(he.aria&&(Ne==="role"||va(Ne,Jn))||he.data&&va(Ne,Ln)||he.attr&&La.includes(Ne))&&(ye[Ne]=se[Ne])}),ye}function yn(se,ce,he,ye,Ne,Oe,$e){se.push({record:ce,indent:he,index:$e});var qe=Oe(ce),Xe=Ne==null?void 0:Ne.has(qe);if(ce&&Array.isArray(ce[ye])&&Xe)for(var ht=0;ht<ce[ye].length;ht+=1)yn(se,ce[ye][ht],he+1,ye,Ne,Oe,ht)}function $r(se,ce,he,ye){var Ne=de.useMemo(function(){if(he!=null&&he.size){for(var Oe=[],$e=0;$e<(se==null?void 0:se.length);$e+=1){var qe=se[$e];yn(Oe,qe,0,ce,he,ye,$e)}return Oe}return se==null?void 0:se.map(function(Xe,ht){return{record:Xe,indent:0,index:ht}})},[se,ce,he,ye]);return Ne}function Qo(se){var ce=se.prefixCls,he=se.children,ye=se.component,Ne=se.cellComponent,Oe=se.className,$e=se.expanded,qe=se.colSpan,Xe=se.isEmpty,ht=He(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Bt=ht.scrollbarSize,yt=ht.fixHeader,Ut=ht.fixColumn,$t=ht.componentWidth,en=ht.horizonScroll,xn=he;return(Xe?en&&$t:Ut)&&(xn=de.createElement("div",{style:{width:$t-(yt?Bt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ce,"-expanded-row-fixed")},xn)),de.createElement(ye,{className:Oe,style:{display:$e?null:"none"}},de.createElement(jt,{component:Ne,prefixCls:ce,colSpan:qe},xn))}var Qi=Qo;function Jo(se,ce,he,ye){var Ne=He(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Oe=Ne.flattenColumns,$e=Ne.expandableType,qe=Ne.expandedKeys,Xe=Ne.childrenColumnName,ht=Ne.onTriggerExpand,Bt=Ne.rowExpandable,yt=Ne.onRow,Ut=Ne.expandRowByClick,$t=Ne.rowClassName,en=$e==="nest",xn=$e==="row"&&(!Bt||Bt(se)),cn=xn||en,Bn=qe&&qe.has(ce),Sn=Xe&&se&&se[Xe],Hn=Un(ht),fa=yt==null?void 0:yt(se,he),Ea=fa==null?void 0:fa.onClick,da=function(la){Ut&&cn&&ht(se,la);for(var Vn=arguments.length,Zn=new Array(Vn>1?Vn-1:0),sa=1;sa<Vn;sa++)Zn[sa-1]=arguments[sa];Ea==null||Ea.apply(void 0,[la].concat(Zn))},Ua;typeof $t=="string"?Ua=$t:typeof $t=="function"&&(Ua=$t(se,he,ye));var sr=fn(Oe);return(0,xe.Z)((0,xe.Z)({},Ne),{},{columnsKey:sr,nestExpandable:en,expanded:Bn,hasNestChildren:Sn,record:se,onTriggerExpand:Hn,rowSupportExpand:xn,expandable:cn,rowProps:(0,xe.Z)((0,xe.Z)({},fa),{},{className:We()(Ua,fa==null?void 0:fa.className),onClick:da})})}function wo(se,ce,he,ye,Ne){var Oe=se.record,$e=se.prefixCls,qe=se.columnsKey,Xe=se.fixedInfoList,ht=se.expandIconColumnIndex,Bt=se.nestExpandable,yt=se.indentSize,Ut=se.expandIcon,$t=se.expanded,en=se.hasNestChildren,xn=se.onTriggerExpand,cn=qe[he],Bn=Xe[he],Sn;he===(ht||0)&&Bt&&(Sn=de.createElement(de.Fragment,null,de.createElement("span",{style:{paddingLeft:"".concat(yt*ye,"px")},className:"".concat($e,"-row-indent indent-level-").concat(ye)}),Ut({prefixCls:$e,expanded:$t,expandable:en,record:Oe,onExpand:xn})));var Hn;return ce.onCell&&(Hn=ce.onCell(Oe,Ne)),{key:cn,fixedInfo:Bn,appendCellNode:Sn,additionalCellProps:Hn||{}}}function gl(se){var ce=se.className,he=se.style,ye=se.record,Ne=se.index,Oe=se.renderIndex,$e=se.rowKey,qe=se.indent,Xe=qe===void 0?0:qe,ht=se.rowComponent,Bt=se.cellComponent,yt=se.scopeCellComponent,Ut=Jo(ye,$e,Ne,Xe),$t=Ut.prefixCls,en=Ut.flattenColumns,xn=Ut.expandedRowClassName,cn=Ut.expandedRowRender,Bn=Ut.rowProps,Sn=Ut.expanded,Hn=Ut.rowSupportExpand,fa=de.useState(!1),Ea=(0,Te.Z)(fa,2),da=Ea[0],Ua=Ea[1];de.useEffect(function(){Sn&&Ua(!0)},[Sn]);var sr=de.createElement(ht,(0,tt.Z)({},Bn,{"data-row-key":$e,className:We()(ce,"".concat($t,"-row"),"".concat($t,"-row-level-").concat(Xe),Bn==null?void 0:Bn.className),style:(0,xe.Z)((0,xe.Z)({},he),Bn==null?void 0:Bn.style)}),en.map(function(Zn,sa){var ba=Zn.render,Ya=Zn.dataIndex,rr=Zn.className,ya=wo(Ut,Zn,sa,Xe,Ne),fr=ya.key,pr=ya.fixedInfo,to=ya.appendCellNode,Tr=ya.additionalCellProps;return de.createElement(jt,(0,tt.Z)({className:rr,ellipsis:Zn.ellipsis,align:Zn.align,scope:Zn.rowScope,component:Zn.rowScope?yt:Bt,prefixCls:$t,key:fr,record:ye,index:Ne,renderIndex:Oe,dataIndex:Ya,render:ba,shouldCellUpdate:Zn.shouldCellUpdate},pr,{appendNode:to,additionalProps:Tr}))})),_n;if(Hn&&(da||Sn)){var la=cn(ye,Ne,Xe+1,Sn),Vn=xn&&xn(ye,Ne,Xe);_n=de.createElement(Qi,{expanded:Sn,className:We()("".concat($t,"-expanded-row"),"".concat($t,"-expanded-row-level-").concat(Xe+1),Vn),prefixCls:$t,component:ht,cellComponent:Bt,colSpan:en.length,isEmpty:!1},la)}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(Pn.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(Pn.Z.Collection,{onBatchResize:function(Oe){Oe.forEach(function($e){var qe=$e.data,Xe=$e.size;ye(qe,Xe.offsetWidth)})}},he.map(function(Ne){return de.createElement(Pl,{key:Ne,columnKey:Ne,onColumnResize:ye})})))}function Ii(se){var ce=se.data,he=se.measureColumnWidth,ye=He(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ne=ye.prefixCls,Oe=ye.getComponent,$e=ye.onColumnResize,qe=ye.flattenColumns,Xe=ye.getRowKey,ht=ye.expandedKeys,Bt=ye.childrenColumnName,yt=ye.emptyNode,Ut=$r(ce,Bt,ht,Xe),$t=de.useRef({renderWithProps:!1}),en=Oe(["body","wrapper"],"tbody"),xn=Oe(["body","row"],"tr"),cn=Oe(["body","cell"],"td"),Bn=Oe(["body","cell"],"th"),Sn;ce.length?Sn=Ut.map(function(fa,Ea){var da=fa.record,Ua=fa.indent,sr=fa.index,_n=Xe(da,Ea);return de.createElement(br,{key:_n,rowKey:_n,record:da,index:Ea,renderIndex:sr,rowComponent:xn,cellComponent:cn,scopeCellComponent:Bn,getRowKey:Xe,indent:Ua})}):Sn=de.createElement(Qi,{expanded:!0,className:"".concat(Ne,"-placeholder"),prefixCls:Ne,component:xn,cellComponent:cn,colSpan:qe.length,isEmpty:!0},yt);var Hn=fn(qe);return de.createElement(Lt.Provider,{value:$t.current},de.createElement(en,{className:"".concat(Ne,"-tbody")},he&&de.createElement(ol,{prefixCls:Ne,columnsKey:Hn,onColumnResize:$e}),Sn))}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 hn=["columnType"];function Os(se){for(var ce=se.colWidths,he=se.columns,ye=se.columCount,Ne=[],Oe=ye||he.length,$e=!1,qe=Oe-1;qe>=0;qe-=1){var Xe=ce[qe],ht=he&&he[qe],Bt=ht&&ht[fl];if(Xe||Bt||$e){var yt=Bt||{},Ut=yt.columnType,$t=(0,ga.Z)(yt,hn);Ne.unshift(de.createElement("col",(0,tt.Z)({key:qe,style:{width:Xe}},$t))),$e=!0}}return de.createElement("colgroup",null,Ne)}var ml=Os,mo=te(74902),Il=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function In(se,ce){return(0,de.useMemo)(function(){for(var he=[],ye=0;ye<ce;ye+=1){var Ne=se[ye];if(Ne!==void 0)he[ye]=Ne;else return null}return he},[se.join("_"),ce])}var Aa=de.forwardRef(function(se,ce){var he=se.className,ye=se.noData,Ne=se.columns,Oe=se.flattenColumns,$e=se.colWidths,qe=se.columCount,Xe=se.stickyOffsets,ht=se.direction,Bt=se.fixHeader,yt=se.stickyTopOffset,Ut=se.stickyBottomOffset,$t=se.stickyClassName,en=se.onScroll,xn=se.maxContentScroll,cn=se.children,Bn=(0,ga.Z)(se,Il),Sn=He(ne,["prefixCls","scrollbarSize","isSticky"]),Hn=Sn.prefixCls,fa=Sn.scrollbarSize,Ea=Sn.isSticky,da=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 Oe.every(function(rr){return rr.width})},[Oe]),la=Oe[Oe.length-1],Vn={fixed:la?la.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Hn,"-cell-scrollbar")}}},Zn=(0,de.useMemo)(function(){return da?[].concat((0,mo.Z)(Ne),[Vn]):Ne},[da,Ne]),sa=(0,de.useMemo)(function(){return da?[].concat((0,mo.Z)(Oe),[Vn]):Oe},[da,Oe]),ba=(0,de.useMemo)(function(){var rr=Xe.right,ya=Xe.left;return(0,xe.Z)((0,xe.Z)({},Xe),{},{left:ht==="rtl"?[].concat((0,mo.Z)(ya.map(function(fr){return fr+da})),[0]):ya,right:ht==="rtl"?rr:[].concat((0,mo.Z)(rr.map(function(fr){return fr+da})),[0]),isSticky:Ea})},[da,Xe,Ea]),Ya=In($e,qe);return de.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},Ea?{top:yt,bottom:Ut}:{}),ref:sr,className:We()(he,(0,pe.Z)({},$t,!!$t))},de.createElement("table",{style:{tableLayout:"fixed",visibility:ye||Ya?null:"hidden"}},(!ye||!xn||_n)&&de.createElement(ml,{colWidths:Ya?[].concat((0,mo.Z)(Ya),[da]):[],columCount:qe+1,columns:sa}),cn((0,xe.Z)((0,xe.Z)({},Bn),{},{stickyOffsets:ba,columns:Zn,flattenColumns:sa}))))});Aa.displayName="FixedHolder";var vr=de.memo(Aa);function Na(se){var ce=se.cells,he=se.stickyOffsets,ye=se.flattenColumns,Ne=se.rowComponent,Oe=se.cellComponent,$e=se.tdCellComponent,qe=se.onHeaderRow,Xe=se.index,ht=He(ne,["prefixCls","direction"]),Bt=ht.prefixCls,yt=ht.direction,Ut;qe&&(Ut=qe(ce.map(function(en){return en.column}),Xe));var $t=fn(ce.map(function(en){return en.column}));return de.createElement(Ne,Ut,ce.map(function(en,xn){var cn=en.column,Bn=sn(en.colStart,en.colEnd,ye,he,yt,cn),Sn;return cn&&cn.onHeaderCell&&(Sn=en.column.onHeaderCell(cn)),de.createElement(jt,(0,tt.Z)({},en,{scope:cn.title?en.colSpan>1?"colgroup":"col":null,ellipsis:cn.ellipsis,align:cn.align,component:cn.title?Oe:$e,prefixCls:Bt,key:$t[xn]},Bn,{additionalProps:Sn,rowType:"header"}))}))}Na.displayName="HeaderRow";var Lo=Na;function Xo(se){var ce=[];function he($e,qe){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[Xe]=ce[Xe]||[];var ht=qe,Bt=$e.filter(Boolean).map(function(yt){var Ut={key:yt.key,className:yt.className||"",children:yt.title,column:yt,colStart:ht},$t=1,en=yt.children;return en&&en.length>0&&($t=he(en,ht,Xe+1).reduce(function(xn,cn){return xn+cn},0),Ut.hasSubColumns=!0),"colSpan"in yt&&($t=yt.colSpan),"rowSpan"in yt&&(Ut.rowSpan=yt.rowSpan),Ut.colSpan=$t,Ut.colEnd=Ut.colStart+$t-1,ce[Xe].push(Ut),ht+=$t,$t});return Bt}he(se,0);for(var ye=ce.length,Ne=function(qe){ce[qe].forEach(function(Xe){!("rowSpan"in Xe)&&!Xe.hasSubColumns&&(Xe.rowSpan=ye-qe)})},Oe=0;Oe<ye;Oe+=1)Ne(Oe);return ce}function Ai(se){var ce=se.stickyOffsets,he=se.columns,ye=se.flattenColumns,Ne=se.onHeaderRow,Oe=He(ne,["prefixCls","getComponent"]),$e=Oe.prefixCls,qe=Oe.getComponent,Xe=de.useMemo(function(){return Xo(he)},[he]),ht=qe(["header","wrapper"],"thead"),Bt=qe(["header","row"],"tr"),yt=qe(["header","cell"],"th"),Ut=qe(["header","cell"],"td");return de.createElement(ht,{className:"".concat($e,"-thead")},Xe.map(function($t,en){var xn=de.createElement(Lo,{key:en,flattenColumns:ye,cells:$t,stickyOffsets:ce,rowComponent:Bt,cellComponent:yt,tdCellComponent:Ut,onHeaderRow:Ne,index:en});return xn}))}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(ht){var Bt=fs(ce,ht.width);Bt?he+=Bt:ye+=1});var Ne=ce-he,Oe=ye,$e=Ne/ye,qe=0,Xe=se.map(function(ht){var Bt=(0,xe.Z)({},ht),yt=fs(ce,Bt.width);if(yt)Bt.width=yt;else{var Ut=Math.floor($e);Bt.width=Oe===1?Ne:Ut,Ne-=Ut,Oe-=1}return qe+=Bt.width,Bt});return[Xe,qe]}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,Ne=ye.children,Oe=(0,ga.Z)(ye,Ts),$e=(0,xe.Z)({key:he},Oe);return Ne&&($e.children=Ul(Ne)),$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,Ne){var Oe=ye.fixed,$e=Oe===!0?"left":Oe,qe="".concat(ce,"-").concat(Ne),Xe=ye.children;return Xe&&Xe.length>0?[].concat((0,mo.Z)(he),(0,mo.Z)(ms(Xe,qe).map(function(ht){return(0,xe.Z)({fixed:$e},ht)}))):[].concat((0,mo.Z)(he),[(0,xe.Z)((0,xe.Z)({key:qe},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 Ne=!0,Oe=se.length-1;Oe>=0;Oe-=1){var $e=se[Oe];if(Ne&&$e.fixed!=="right")Ne=!1;else if(!Ne&&$e.fixed==="right"){warning(!1,"Index ".concat(Oe+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),Ne=he;return he==="left"?Ne="right":he==="right"&&(Ne="left"),(0,xe.Z)({fixed:Ne},ye)})}function Is(se,ce){var he=se.prefixCls,ye=se.columns,Ne=se.children,Oe=se.expandable,$e=se.expandedKeys,qe=se.columnTitle,Xe=se.getRowKey,ht=se.onTriggerExpand,Bt=se.expandIcon,yt=se.rowExpandable,Ut=se.expandIconColumnIndex,$t=se.direction,en=se.expandRowByClick,xn=se.columnWidth,cn=se.fixed,Bn=se.scrollWidth,Sn=de.useMemo(function(){return ye||Ul(Ne)},[ye,Ne]),Hn=de.useMemo(function(){if(Oe){var la,Vn=Sn.slice();if(!Vn.includes(le)){var Zn=Ut||0;Zn>=0&&Vn.splice(Zn,0,le)}var sa=Vn.indexOf(le);Vn=Vn.filter(function(ya,fr){return ya!==le||fr===sa});var ba=Sn[sa],Ya;(cn==="left"||cn)&&!Ut?Ya="left":(cn==="right"||cn)&&Ut===Sn.length?Ya="right":Ya=ba?ba.fixed:null;var rr=(la={},(0,pe.Z)(la,fl,{className:"".concat(he,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,pe.Z)(la,"title",qe),(0,pe.Z)(la,"fixed",Ya),(0,pe.Z)(la,"className","".concat(he,"-row-expand-icon-cell")),(0,pe.Z)(la,"width",xn),(0,pe.Z)(la,"render",function(fr,pr,to){var Tr=Xe(pr,to),jo=$e.has(Tr),Wo=yt?yt(pr):!0,ur=Bt({prefixCls:he,expanded:jo,expandable:Wo,record:pr,onExpand:ht});return en?de.createElement("span",{onClick:function(kn){return kn.stopPropagation()}},ur):ur}),la);return Vn.map(function(ya){return ya===le?rr:ya})}return Sn.filter(function(ya){return ya!==le})},[Oe,Sn,Xe,$e,Bt,$t]),fa=de.useMemo(function(){var la=Hn;return ce&&(la=ce(la)),la.length||(la=[{render:function(){return null}}]),la},[ce,Hn,$t]),Ea=de.useMemo(function(){return $t==="rtl"?vs(ms(fa)):ms(fa)},[fa,$t,Bn]),da=Zi(Ea,Bn),Ua=(0,Te.Z)(da,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,Ne=se.onExpand,Oe=se.expanded,$e=se.expandable,qe="".concat(he,"-row-expand-icon");if(!$e)return de.createElement("span",{className:We()(qe,"".concat(he,"-row-spaced"))});var Xe=function(Bt){Ne(ye,Bt),Bt.stopPropagation()};return de.createElement("span",{className:We()(qe,(ce={},(0,pe.Z)(ce,"".concat(he,"-row-expanded"),Oe),(0,pe.Z)(ce,"".concat(he,"-row-collapsed"),!Oe),ce)),onClick:Xe})}function Yl(se,ce,he){var ye=[];function Ne(Oe){(Oe||[]).forEach(function($e,qe){ye.push(ce($e,qe)),Ne($e[he])})}return Ne(se),ye}function Ss(se,ce,he){var ye=Es(se),Ne=ye.expandIcon,Oe=ye.expandedRowKeys,$e=ye.defaultExpandedRowKeys,qe=ye.defaultExpandAllRows,Xe=ye.expandedRowRender,ht=ye.onExpand,Bt=ye.onExpandedRowsChange,yt=ye.childrenColumnName,Ut=Ne||hs,$t=yt||"children",en=de.useMemo(function(){return Xe?"row":se.expandable&&se.internalHooks===ve&&se.expandable.__PARENT_RENDER_ICON__||ce.some(function(Ea){return Ea&&(0,be.Z)(Ea)==="object"&&Ea[$t]})?"nest":!1},[!!Xe,ce]),xn=de.useState(function(){return $e||(qe?Yl(ce,he,$t):[])}),cn=(0,Te.Z)(xn,2),Bn=cn[0],Sn=cn[1],Hn=de.useMemo(function(){return new Set(Oe||Bn||[])},[Oe,Bn]),fa=de.useCallback(function(Ea){var da=he(Ea,ce.indexOf(Ea)),Ua,sr=Hn.has(da);sr?(Hn.delete(da),Ua=(0,mo.Z)(Hn)):Ua=[].concat((0,mo.Z)(Hn),[da]),Sn(Ua),ht&&ht(!sr,Ea),Bt&&Bt(Ua)},[he,Hn,ce,ht,Bt]);return[ye,en,Hn,Ut,$t,fa]}function bt(se,ce,he,ye){var Ne=se.map(function(Oe,$e){return sn($e,$e,se,ce,he,ye==null?void 0:ye[$e])});return xt(function(){return Ne},[Ne],function(Oe,$e){return!kt(Oe,$e)})}function Nt(se){var ce=(0,de.useRef)(se),he=(0,de.useState)({}),ye=(0,Te.Z)(he,2),Ne=ye[1],Oe=(0,de.useRef)(null),$e=(0,de.useRef)([]);function qe(Xe){$e.current.push(Xe);var ht=Promise.resolve();Oe.current=ht,ht.then(function(){if(Oe.current===ht){var Bt=$e.current,yt=ce.current;$e.current=[],Bt.forEach(function(Ut){ce.current=Ut(ce.current)}),Oe.current=null,yt!==ce.current&&Ne({})}})}return(0,de.useEffect)(function(){return function(){Oe.current=null}},[]),[ce.current,qe]}function Vt(se){var ce=(0,de.useRef)(se||null),he=(0,de.useRef)();function ye(){window.clearTimeout(he.current)}function Ne($e){ce.current=$e,ye(),he.current=window.setTimeout(function(){ce.current=null,he.current=void 0},100)}function Oe(){return ce.current}return(0,de.useEffect)(function(){return ye},[]),[Ne,Oe]}function De(){var se=de.useState(-1),ce=(0,Te.Z)(se,2),he=ce[0],ye=ce[1],Ne=de.useState(-1),Oe=(0,Te.Z)(Ne,2),$e=Oe[0],qe=Oe[1],Xe=de.useCallback(function(ht,Bt){ye(ht),qe(Bt)},[]);return[he,$e,Xe]}var zt=ca()?window:null;function gn(se,ce){var he=(0,be.Z)(se)==="object"?se:{},ye=he.offsetHeader,Ne=ye===void 0?0:ye,Oe=he.offsetSummary,$e=Oe===void 0?0:Oe,qe=he.offsetScroll,Xe=qe===void 0?0:qe,ht=he.getContainer,Bt=ht===void 0?function(){return zt}:ht,yt=Bt()||zt;return de.useMemo(function(){var Ut=!!se;return{isSticky:Ut,stickyClassName:Ut?"".concat(ce,"-sticky-holder"):"",offsetHeader:Ne,offsetSummary:$e,offsetScroll:Xe,container:yt}},[Xe,Ne,$e,ce,yt])}function vn(se,ce,he){var ye=(0,de.useMemo)(function(){for(var Ne=[],Oe=[],$e=0,qe=0,Xe=0;Xe<ce;Xe+=1)if(he==="rtl"){Oe[Xe]=qe,qe+=se[Xe]||0;var ht=ce-Xe-1;Ne[ht]=$e,$e+=se[ht]||0}else{Ne[Xe]=$e,$e+=se[Xe]||0;var Bt=ce-Xe-1;Oe[Bt]=qe,qe+=se[Bt]||0}return{left:Ne,right:Oe}},[se,ce,he]);return ye}var Dt=vn;function Gt(se){var ce=se.className,he=se.children;return de.createElement("div",{className:ce},he)}var Tt=Gt;function pn(se,ce,he,ye){var Ne=ze.unstable_batchedUpdates?function($e){ze.unstable_batchedUpdates(he,$e)}:he;return se!=null&&se.addEventListener&&se.addEventListener(ce,Ne,ye),{remove:function(){se!=null&&se.removeEventListener&&se.removeEventListener(ce,Ne,ye)}}}var Wn=/margin|padding|width|height|max|min|offset/,ia={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 ia||(ia[ce]=Wn.test(ce)),ia[ce]?parseFloat(he)||0:he}function on(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 Et(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 Ne in ce)ce.hasOwnProperty(Ne)&&Et(se,Ne,ce[Ne]);return pa(se)}function nn(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function ln(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,Ne,Oe=ce.scrollBodyRef,$e=ce.onScroll,qe=ce.offsetScroll,Xe=ce.container,ht=He(ne,"prefixCls"),Bt=((ye=Oe.current)===null||ye===void 0?void 0:ye.scrollWidth)||0,yt=((Ne=Oe.current)===null||Ne===void 0?void 0:Ne.clientWidth)||0,Ut=Bt&&yt*(yt/Bt),$t=de.useRef(),en=Nt({scrollLeft:0,isHiddenScrollBar:!1}),xn=(0,Te.Z)(en,2),cn=xn[0],Bn=xn[1],Sn=de.useRef({delta:0,x:0}),Hn=de.useState(!1),fa=(0,Te.Z)(Hn,2),Ea=fa[0],da=fa[1],Ua=function(){da(!1)},sr=function(sa){sa.persist(),Sn.current.delta=sa.pageX-cn.scrollLeft,Sn.current.x=0,da(!0),sa.preventDefault()},_n=function(sa){var ba,Ya=sa||((ba=window)===null||ba===void 0?void 0:ba.event),rr=Ya.buttons;if(!Ea||rr===0){Ea&&da(!1);return}var ya=Sn.current.x+sa.pageX-Sn.current.x-Sn.current.delta;ya<=0&&(ya=0),ya+Ut>=yt&&(ya=yt-Ut),$e({scrollLeft:ya/yt*(Bt+2)}),Sn.current.x=sa.pageX},la=function(){if(Oe.current){var sa=ar(Oe.current).top,ba=sa+Oe.current.offsetHeight,Ya=Xe===window?document.documentElement.scrollTop+window.innerHeight:ar(Xe).top+Xe.clientHeight;ba-st()<=Ya||sa>=Ya-qe?Bn(function(rr){return(0,xe.Z)((0,xe.Z)({},rr),{},{isHiddenScrollBar:!0})}):Bn(function(rr){return(0,xe.Z)((0,xe.Z)({},rr),{},{isHiddenScrollBar:!1})})}},Vn=function(sa){Bn(function(ba){return(0,xe.Z)((0,xe.Z)({},ba),{},{scrollLeft:sa/Bt*yt||0})})};return de.useImperativeHandle(he,function(){return{setScrollLeft:Vn}}),de.useEffect(function(){var Zn=pn(document.body,"mouseup",Ua,!1),sa=pn(document.body,"mousemove",_n,!1);return la(),function(){Zn.remove(),sa.remove()}},[Ut,Ea]),de.useEffect(function(){var Zn=pn(Xe,"scroll",la,!1),sa=pn(window,"resize",la,!1);return function(){Zn.remove(),sa.remove()}},[Xe]),de.useEffect(function(){cn.isHiddenScrollBar||Bn(function(Zn){var sa=Oe.current;return sa?(0,xe.Z)((0,xe.Z)({},Zn),{},{scrollLeft:sa.scrollLeft/sa.scrollWidth*sa.clientWidth}):Zn})},[cn.isHiddenScrollBar]),Bt<=yt||!Ut||cn.isHiddenScrollBar?null:de.createElement("div",{style:{height:st(),width:yt,bottom:qe},className:"".concat(ht,"-sticky-scroll")},de.createElement("div",{onMouseDown:sr,ref:$t,className:We()("".concat(ht,"-sticky-scroll-bar"),(0,pe.Z)({},"".concat(ht,"-sticky-scroll-bar-active"),Ea)),style:{width:"".concat(Ut,"px"),transform:"translate3d(".concat(cn.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=[],Do={};function Ro(){return"No Data"}function eo(se){var ce,he=(0,xe.Z)({rowKey:"key",prefixCls:vo,emptyText:Ro},se),ye=he.prefixCls,Ne=he.className,Oe=he.rowClassName,$e=he.style,qe=he.data,Xe=he.rowKey,ht=he.scroll,Bt=he.tableLayout,yt=he.direction,Ut=he.title,$t=he.footer,en=he.summary,xn=he.caption,cn=he.id,Bn=he.showHeader,Sn=he.components,Hn=he.emptyText,fa=he.onRow,Ea=he.onHeaderRow,da=he.internalHooks,Ua=he.transformColumns,sr=he.internalRefs,_n=he.tailor,la=he.sticky,Vn=qe||_r,Zn=!!Vn.length,sa=da===ve,ba=de.useCallback(function(nr,ro){return En(Sn,nr)||ro},[Sn]),Ya=de.useMemo(function(){return typeof Xe=="function"?Xe:function(nr){var ro=nr&&nr[Xe];return ro}},[Xe]),rr=ba(["body"]),ya=De(),fr=(0,Te.Z)(ya,3),pr=fr[0],to=fr[1],Tr=fr[2],jo=Ss(he,Vn,Ya),Wo=(0,Te.Z)(jo,6),ur=Wo[0],di=Wo[1],kn=Wo[2],Ta=Wo[3],Pr=Wo[4],so=Wo[5],na=ht==null?void 0:ht.x,wa=de.useState(0),ka=(0,Te.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:kn,getRowKey:Ya,onTriggerExpand:so,expandIcon:Ta,expandIconColumnIndex:ur.expandIconColumnIndex,direction:yt,scrollWidth:sa&&_n&&typeof na=="number"?na:null}),sa?Ua:null),mr=(0,Te.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,Te.Z)(po,2),ee=Co[0],oe=Co[1],ie=de.useState(!1),ge=(0,Te.Z)(ie,2),me=ge[0],Ae=ge[1],Ee=Nt(new Map),Ue=(0,Te.Z)(Ee,2),Qe=Ue[0],ot=Ue[1],It=fn(Wr),ut=It.map(function(nr){return Qe.get(nr)}),ft=de.useMemo(function(){return ut},[ut.join("_")]),St=Dt(ft,Wr.length,yt),Ct=ht&&ua(ht.y),_e=ht&&ua(al)||!!ur.fixed,pt=_e&&Wr.some(function(nr){var ro=nr.fixed;return ro}),Ht=de.useRef(),dn=gn(la,ye),Xt=dn.isSticky,Yt=dn.offsetHeader,Nn=dn.offsetSummary,Wt=dn.offsetScroll,Qt=dn.stickyClassName,ra=dn.container,Fn=de.useMemo(function(){return en==null?void 0:en(Vn)},[en,Vn]),oa=(Ct||Xt)&&de.isValidElement(Fn)&&Fn.type===Dn&&Fn.props.fixed,$n,Ra,or;Ct&&(Ra={overflowY:"scroll",maxHeight:ht.y}),_e&&($n={overflowX:"auto"},Ct||(Ra={overflowY:"hidden"}),or={width:al===!0?"auto":al,minWidth:"100%"});var xr=de.useCallback(function(nr,ro){Cn(Mi.current)&&ot(function(Oo){if(Oo.get(nr)!==ro){var wi=new Map(Oo);return wi.set(nr,ro),wi}return Oo})},[]),Fa=Vt(null),Za=(0,Te.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=yt==="rtl",Eo=typeof Oo=="number"?Oo:ro.scrollLeft,Fi=ro||Do;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),Ae(!1);return}wi?(oe(-Eo<_i-yi),Ae(-Eo>0)):(oe(Eo>0),Ae(Eo<_i-yi))}}),no=function(){_e&&ri.current?ir({currentTarget:ri.current}):(oe(!1),Ae(!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()},[_e,qe,Jr.length]),de.useEffect(function(){xo.current=!0},[]);var ei=de.useState(0),Xr=(0,Te.Z)(ei,2),Go=Xr[0],kr=Xr[1],Ir=de.useState(!0),ao=(0,Te.Z)(Ir,2),Ko=ao[0],Vo=ao[1];de.useEffect(function(){(!_n||!sa)&&(ri.current instanceof Element?kr(Zt(ri.current).width):kr(Zt(Ll.current).width)),Vo(Mn("position","sticky"))},[]),de.useEffect(function(){sa&&sr&&(sr.body.current=ri.current)});var xi=de.useCallback(function(nr){return de.createElement(de.Fragment,null,de.createElement(ji,nr),oa==="top"&&de.createElement(_t,nr,Fn))},[oa,Fn]),Uo=de.useCallback(function(nr){return de.createElement(_t,nr,Fn)},[Fn]),tr=ba(["table"],"table"),co=de.useMemo(function(){return Bt||(pt?al==="max-content"?"auto":"fixed":Ct||Xt||Wr.some(function(nr){var ro=nr.ellipsis;return ro})?"fixed":"auto")},[Ct,pt,Wr,Bt,Xt]),Vr,wr={colWidths:ft,columCount:Wr.length,stickyOffsets:St,onHeaderRow:Ea,fixHeader:Ct,scroll:ht},Ba=de.useMemo(function(){return Zn?null:typeof Hn=="function"?Hn():Hn},[Zn,Hn]),Dr=de.createElement(mi,{data:Vn,measureColumnWidth:Ct||_e||Xt}),Po=de.createElement(ml,{colWidths:Wr.map(function(nr){var ro=nr.width;return ro}),columns:Wr}),ki=xn!=null?de.createElement("caption",{className:"".concat(ye,"-caption")},xn):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:We()("".concat(ye,"-body"))},de.createElement(tr,(0,tt.Z)({style:(0,xe.Z)((0,xe.Z)({},or),{},{tableLayout:co})},Pi),ki,Po,Dr,!oa&&Fn&&de.createElement(_t,{stickyOffsets:St,flattenColumns:Wr,columns:Jr},Fn)));var us=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!Vn.length,maxContentScroll:_e&&al==="max-content"},wr),Ms),{},{direction:yt,stickyClassName:Qt,onScroll:ir});Vr=de.createElement(de.Fragment,null,Bn!==!1&&de.createElement(vr,(0,tt.Z)({},us,{stickyTopOffset:Yt,className:"".concat(ye,"-header"),ref:os}),xi),jl,oa&&oa!=="top"&&de.createElement(vr,(0,tt.Z)({},us,{stickyBottomOffset:Nn,className:"".concat(ye,"-summary"),ref:Cd}),Uo),Xt&&de.createElement(Xa,{ref:Ht,offsetScroll:Wt,scrollBodyRef:ri,onScroll:ir,container:ra}))}else Vr=de.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},$n),Ra),className:We()("".concat(ye,"-content")),onScroll:ir,ref:ri},de.createElement(tr,(0,tt.Z)({style:(0,xe.Z)((0,xe.Z)({},or),{},{tableLayout:co})},Pi),ki,Po,Bn!==!1&&de.createElement(ji,(0,tt.Z)({},wr,Ms)),Dr,Fn&&de.createElement(_t,{stickyOffsets:St,flattenColumns:Wr,columns:Jr},Fn)));var Ui=de.createElement("div",(0,tt.Z)({className:We()(ye,Ne,(ce={},(0,pe.Z)(ce,"".concat(ye,"-rtl"),yt==="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"),pt),(0,pe.Z)(ce,"".concat(ye,"-scroll-horizontal"),_e),(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:cn,ref:Mi},qi),Ut&&de.createElement(Tt,{className:"".concat(ye,"-title")},Ut(Vn)),de.createElement("div",{ref:Ll,className:"".concat(ye,"-container")},Vr),$t&&de.createElement(Tt,{className:"".concat(ye,"-footer")},$t(Vn)));_e&&(Ui=de.createElement(Pn.Z,{onResize:uo},Ui));var Ri=bt(Wr,St,yt,Jr),Ei=de.useMemo(function(){return{scrollX:al,prefixCls:ye,getComponent:ba,scrollbarSize:Go,direction:yt,fixedInfoList:Ri,isSticky:Xt,supportSticky:Ko,componentWidth:Ca,fixHeader:Ct,fixColumn:pt,horizonScroll:_e,tableLayout:co,rowClassName:Oe,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:Ba,columns:Jr,flattenColumns:Wr,onColumnResize:xr,hoverStartRow:pr,hoverEndRow:to,onHover:Tr,rowExpandable:ur.rowExpandable,onRow:fa,getRowKey:Ya,expandedKeys:kn,childrenColumnName:Pr}},[al,ye,ba,Go,yt,Ri,Xt,Ko,Ca,Ct,pt,_e,co,Oe,ur.expandedRowClassName,Ta,di,ur.expandRowByClick,ur.expandedRowRender,so,ur.expandIconColumnIndex,ur.indentSize,Ba,Jr,Wr,xr,pr,to,Tr,ur.rowExpandable,fa,Ya,kn,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 Bl=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,Ne=se.indent,Oe=se.index,$e=se.renderIndex,qe=se.record,Xe=se.style,ht=se.className,Bt=se.inverse,yt=se.getHeight,Ut=he.render,$t=he.dataIndex,en=he.className,xn=he.width,cn=He(ii,["columnsOffset"]),Bn=cn.columnsOffset,Sn=wo(ce,he,ye,Ne,Oe),Hn=Sn.key,fa=Sn.fixedInfo,Ea=Sn.appendCellNode,da=Sn.additionalCellProps,Ua=da.style,sr=da.colSpan,_n=sr===void 0?1:sr,la=da.rowSpan,Vn=la===void 0?1:la,Zn=ye-1,sa=Ql(Zn,_n,Bn),ba=_n>1?xn-sa:0,Ya=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ua),Xe),{},{flex:"0 0 ".concat(sa,"px"),width:"".concat(sa,"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=yt==null?void 0:yt(Vn));var ya=rr?function(){return null}:Ut,fr={};return(Vn===0||_n===0)&&(fr.rowSpan=1,fr.colSpan=1),de.createElement(jt,(0,tt.Z)({className:We()(en,ht),ellipsis:he.ellipsis,align:he.align,scope:he.rowScope,component:"div",prefixCls:ce.prefixCls,key:Hn,record:qe,index:Oe,renderIndex:$e,dataIndex:$t,render:ya,shouldCellUpdate:he.shouldCellUpdate},fa,{appendNode:Ea,additionalProps:(0,xe.Z)((0,xe.Z)({},da),{},{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,Ne=se.className,Oe=se.rowKey,$e=se.style,qe=se.extra,Xe=se.getHeight,ht=(0,ga.Z)(se,Zs),Bt=he.record,yt=he.indent,Ut=he.index,$t=He(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),en=$t.scrollX,xn=$t.flattenColumns,cn=$t.prefixCls,Bn=$t.fixColumn,Sn=$t.componentWidth,Hn=Jo(Bt,Oe,ye,yt),fa=Hn.rowSupportExpand,Ea=Hn.expanded,da=Hn.rowProps,Ua=Hn.expandedRowRender,sr=Hn.expandedRowClassName,_n;if(fa&&Ea){var la=Ua(Bt,ye,yt+1,Ea),Vn=sr==null?void 0:sr(Bt,ye,yt),Zn={};Bn&&(Zn={style:(0,pe.Z)({},"--virtual-width","".concat(Sn,"px"))});var sa="".concat(cn,"-expanded-row-cell");_n=de.createElement("div",{className:We()("".concat(cn,"-expanded-row"),"".concat(cn,"-expanded-row-level-").concat(yt+1),Vn)},de.createElement(jt,{component:"div",prefixCls:cn,className:We()(sa,(0,pe.Z)({},"".concat(sa,"-fixed"),Bn)),additionalProps:Zn},la))}var ba=(0,xe.Z)((0,xe.Z)({},$e),{},{width:en});qe&&(ba.position="absolute",ba.pointerEvents="none");var Ya=de.createElement("div",(0,tt.Z)({},da,ht,{ref:fa?null:ce,className:We()(Ne,"".concat(cn,"-row"),da==null?void 0:da.className,(0,pe.Z)({},"".concat(cn,"-row-extra"),qe)),style:(0,xe.Z)((0,xe.Z)({},ba),da==null?void 0:da.style)}),xn.map(function(rr,ya){return de.createElement(Jl,{key:ya,rowInfo:Hn,column:rr,colIndex:ya,indent:yt,index:ye,renderIndex:Ut,record:Bt,inverse:qe,getHeight:Xe})}));return fa?de.createElement("div",{ref:ce},Ya,_n):Ya}),zs=z(bl),kl=zs,Dd=de.forwardRef(function(se,ce){var he=se.data,ye=se.onScroll,Ne=He(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Oe=Ne.flattenColumns,$e=Ne.onColumnResize,qe=Ne.getRowKey,Xe=Ne.expandedKeys,ht=Ne.prefixCls,Bt=Ne.childrenColumnName,yt=Ne.emptyNode,Ut=Ne.scrollX,$t=He(nl),en=$t.scrollY,xn=$t.listItemHeight,cn=de.useRef(),Bn=$r(he,Bt,Xe,qe),Sn=de.useMemo(function(){var _n=0;return Oe.map(function(la){var Vn=la.width,Zn=la.key;return _n+=Vn,[Zn,Vn,_n]})},[Oe]),Hn=de.useMemo(function(){return Sn.map(function(_n){return _n[2]})},[Sn]);de.useEffect(function(){Sn.forEach(function(_n){var la=(0,Te.Z)(_n,2),Vn=la[0],Zn=la[1];$e(Vn,Zn)})},[Sn]),de.useImperativeHandle(ce,function(){var _n={};return Object.defineProperty(_n,"scrollLeft",{get:function(){var Vn;return((Vn=cn.current)===null||Vn===void 0?void 0:Vn.getScrollInfo().x)||0},set:function(Vn){var Zn;(Zn=cn.current)===null||Zn===void 0||Zn.scrollTo({left:Vn})}}),_n});var fa=function(la,Vn){var Zn,sa=(Zn=Bn[Vn])===null||Zn===void 0?void 0:Zn.record,ba=la.onCell;if(ba){var Ya,rr=ba(sa,Vn);return(Ya=rr==null?void 0:rr.rowSpan)!==null&&Ya!==void 0?Ya:1}return 1},Ea=function(la){var Vn=la.start,Zn=la.end,sa=la.getSize,ba=la.offsetY;if(Zn<0)return null;for(var Ya=Oe.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=Oe.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<Bn.length;Wo+=1){var ur=jo(Wo);if(ur==="break")break}for(var di=[],kn=function(wa){var ka=Bn[wa];if(!ka)return"continue";Oe.some(function(Ca){return fa(Ca,wa)>1})&&di.push(wa)},Ta=rr;Ta<=Tr;Ta+=1)var Pr=kn(Ta);var so=di.map(function(na){var wa=Bn[na],ka=qe(wa.record,na),Ca=function(mr){var Jr=na+mr-1,Wr=qe(Bn[Jr].record,Jr),Sl=sa(ka,Wr);return Sl.bottom-Sl.top},zr=sa(ka);return de.createElement(kl,{key:na,data:wa,rowKey:ka,index:na,style:{top:-ba+zr.top},extra:!0,getHeight:Ca})});return so},da=de.useMemo(function(){return{columnsOffset:Hn}},[Hn]),Ua="".concat(ht,"-tbody"),sr;return Bn.length?sr=de.createElement(yl.Z,{fullHeight:!1,ref:cn,className:We()(Ua,"".concat(Ua,"-virtual")),height:en,itemHeight:xn||24,data:Bn,itemKey:function(la){return qe(la.record)},scrollWidth:Ut,onVirtualScroll:function(la){var Vn=la.x;ye({scrollLeft:Vn})},extraRender:Ea},function(_n,la,Vn){var Zn=qe(_n.record,la);return de.createElement(kl,(0,tt.Z)({data:_n,rowKey:Zn,index:la},Vn))}):sr=de.createElement("div",{className:We()("".concat(ht,"-placeholder"))},de.createElement(jt,{component:"div",prefixCls:ht},yt)),de.createElement(ii.Provider,{value:da},sr)}),Cl=z(Dd),Hs=Cl,ls=function(ce,he){var ye=he.ref,Ne=he.onScroll;return de.createElement(Hs,{ref:ye,data:ce,onScroll:Ne})},nd=100;function ni(se){var ce=se.columns,he=se.scroll,ye=se.prefixCls,Ne=ye===void 0?vo:ye,Oe=se.className,$e=se.listItemHeight,qe=he||{},Xe=qe.x,ht=qe.y;typeof Xe!="number"&&(Xe=((ce||[]).length+1)*nd),typeof ht!="number"&&(ht=500);var Bt=de.useMemo(function(){return{scrollY:ht,listItemHeight:$e}},[ht,$e]);return de.createElement(nl.Provider,{value:Bt},de.createElement(Bl,(0,tt.Z)({},se,{className:We()(Oe,"".concat(Ne,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},he),{},{x:Xe}),components:{body:ls},columns:ce,internalHooks:ve,tailor:!0})))}function li(se){return E(ni,se)}var Wi=li(),ws=null;function Bd(se){return null}var ai=Bd;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:Ne,record:Oe,expanded:$e,expandable:qe}=he;const Xe=`${ye}-row-expand-icon`;return de.createElement("button",{type:"button",onClick:ht=>{Ne(Oe,ht),ht.stopPropagation()},className:We()(Xe,{[`${Xe}-spaced`]:!qe,[`${Xe}-expanded`]:qe&&$e,[`${Xe}-collapsed`]:qe&&!$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,tt.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),Re=te(69677);function Fe(se){let{value:ce,onChange:he,filterSearch:ye,tablePrefixCls:Ne,locale:Oe}=se;return ye?de.createElement("div",{className:`${Ne}-filter-dropdown-search`},de.createElement(Re.default,{prefix:de.createElement(Pe.Z,null),placeholder:Oe.filterSearchPlaceholder,onChange:he,value:ce,htmlSize:1,className:`${Ne}-filter-dropdown-search-input`})):null}var nt=Fe,At=te(92389);const qt=se=>{const{keyCode:ce}=se;ce===At.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:Ne}=he;ce.push(ye),Ne&&(ce=[].concat((0,mo.Z)(ce),(0,mo.Z)(aa(Ne))))}),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:Ne,searchValue:Oe,filterSearch:$e}=se;return ce.map((qe,Xe)=>{const ht=String(qe.value);if(qe.children)return{key:ht||Xe,label:qe.text,popupClassName:`${he}-dropdown-submenu`,children:Xn({filters:qe.children,prefixCls:he,filteredKeys:ye,filterMultiple:Ne,searchValue:Oe,filterSearch:$e})};const Bt=Ne?gd.default:Qd.ZP,yt={key:qe.value!==void 0?ht:Xe,label:de.createElement(de.Fragment,null,de.createElement(Bt,{checked:ye.includes(ht)}),de.createElement("span",null,qe.text))};return Oe.trim()?typeof $e=="function"?$e(Oe,qe)?yt:null:xa(Oe,qe.text)?yt:null:yt})}function Da(se){var ce,he;const{tablePrefixCls:ye,prefixCls:Ne,column:Oe,dropdownPrefixCls:$e,columnKey:qe,filterMultiple:Xe,filterMode:ht="menu",filterSearch:Bt=!1,filterState:yt,triggerFilter:Ut,locale:$t,children:en,getPopupContainer:xn}=se,{filterDropdownOpen:cn,onFilterDropdownOpenChange:Bn,filterResetToDefaultFilteredValue:Sn,defaultFilteredValue:Hn,filterDropdownVisible:fa,onFilterDropdownVisibleChange:Ea}=Oe,[da,Ua]=de.useState(!1),sr=!!(yt&&(!((ce=yt.filteredKeys)===null||ce===void 0)&&ce.length||yt.forceFiltered)),_n=Ia=>{Ua(Ia),Bn==null||Bn(Ia),Ea==null||Ea(Ia)},la=(he=cn!=null?cn:fa)!==null&&he!==void 0?he:da,Vn=yt==null?void 0:yt.filteredKeys,[Zn,sa]=Md(Vn||[]),ba=Ia=>{let{selectedKeys:mr}=Ia;sa(mr)},Ya=(Ia,mr)=>{let{node:Jr,checked:Wr}=mr;ba(Xe?{selectedKeys:Ia}:{selectedKeys:Wr&&Jr.key?[Jr.key]:[]})};de.useEffect(()=>{da&&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(()=>{da||to("")},[da]);const jo=Ia=>{const mr=Ia&&Ia.length?Ia:null;if(mr===null&&(!yt||!yt.filteredKeys)||(0,Yd.Z)(mr,yt==null?void 0:yt.filteredKeys,!0))return null;Ut({column:Oe,key:qe,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(""),sa(Sn?(Hn||[]).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())},kn=Ia=>{Ia&&Vn!==void 0&&sa(Vn||[]),_n(Ia),!Ia&&!Oe.filterDropdown&&Wo()},Ta=We()({[`${$e}-menu-without-submenu`]:!Qn(Oe.filters||[])}),Pr=Ia=>{if(Ia.target.checked){const mr=aa(Oe==null?void 0:Oe.filters).map(Jr=>String(Jr));sa(mr)}else sa([])},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 Oe.filterDropdown=="function")wa=Oe.filterDropdown({prefixCls:`${$e}-custom`,setSelectedKeys:Ia=>ba({selectedKeys:Ia}),selectedKeys:Zn(),confirm:di,clearFilters:ur,filters:Oe.filters,visible:la,close:()=>{_n(!1)}});else if(Oe.filterDropdown)wa=Oe.filterDropdown;else{const Ia=Zn()||[],mr=()=>(Oe.filters||[]).length===0?de.createElement(rd.Z,{image:rd.Z.PRESENTED_IMAGE_SIMPLE,description:$t.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ht==="tree"?de.createElement(de.Fragment,null,de.createElement(nt,{filterSearch:Bt,value:pr,onChange:Tr,tablePrefixCls:ye,locale:$t}),de.createElement("div",{className:`${ye}-filter-dropdown-tree`},Xe?de.createElement(gd.default,{checked:Ia.length===aa(Oe.filters).length,indeterminate:Ia.length>0&&Ia.length<aa(Oe.filters).length,className:`${ye}-filter-dropdown-checkall`,onChange:Pr},$t.filterCheckall):null,de.createElement(Ou.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Xe,checkStrictly:!Xe,className:`${$e}-menu`,onCheck:Ya,checkedKeys:Ia,selectedKeys:Ia,showIcon:!1,treeData:so({filters:Oe.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(nt,{filterSearch:Bt,value:pr,onChange:Tr,tablePrefixCls:ye,locale:$t}),de.createElement(Ns.default,{selectable:!0,multiple:Xe,prefixCls:`${$e}-menu`,className:Ta,onSelect:ba,onDeselect:ba,selectedKeys:Ia,getPopupContainer:xn,openKeys:rr,onOpenChange:fr,items:Xn({filters:Oe.filters||[],filterSearch:Bt,prefixCls:Ne,filteredKeys:Zn(),filterMultiple:Xe,searchValue:pr})})),Jr=()=>Sn?(0,Yd.Z)((Hn||[]).map(Wr=>String(Wr)),Ia,!0):Ia.length===0;wa=de.createElement(de.Fragment,null,mr(),de.createElement("div",{className:`${Ne}-dropdown-btns`},de.createElement(Lu.ZP,{type:"link",size:"small",disabled:Jr(),onClick:()=>ur()},$t.filterReset),de.createElement(Lu.ZP,{type:"primary",size:"small",onClick:Wo},$t.filterConfirm)))}Oe.filterDropdown&&(wa=de.createElement(Nu.J,{selectable:void 0},wa));const ka=()=>de.createElement(Kn,{className:`${Ne}-dropdown`},wa);let Ca;typeof Oe.filterIcon=="function"?Ca=Oe.filterIcon(sr):Oe.filterIcon?Ca=Oe.filterIcon:Ca=de.createElement(wu,null);const{direction:zr}=de.useContext(_l.E_);return de.createElement("div",{className:`${Ne}-column`},de.createElement("span",{className:`${ye}-column-title`},en),de.createElement(Au.Z,{dropdownRender:ka,trigger:["click"],open:la,onOpenChange:kn,getPopupContainer:xn,placement:zr==="rtl"?"bottomLeft":"bottomRight"},de.createElement("span",{role:"button",tabIndex:-1,className:We()(`${Ne}-trigger`,{active:sr}),onClick:Ia=>{Ia.stopPropagation()}},Ca)))}var Pa=Da;function qa(se,ce,he){let ye=[];return(se||[]).forEach((Ne,Oe)=>{var $e;const qe=ud(Oe,he);if(Ne.filters||"filterDropdown"in Ne||"onFilter"in Ne)if("filteredValue"in Ne){let Xe=Ne.filteredValue;"filterDropdown"in Ne||(Xe=($e=Xe==null?void 0:Xe.map(String))!==null&&$e!==void 0?$e:Xe),ye.push({column:Ne,key:js(Ne,qe),filteredKeys:Xe,forceFiltered:Ne.filtered})}else ye.push({column:Ne,key:js(Ne,qe),filteredKeys:ce&&Ne.defaultFilteredValue?Ne.defaultFilteredValue:void 0,forceFiltered:Ne.filtered});"children"in Ne&&(ye=[].concat((0,mo.Z)(ye),(0,mo.Z)(qa(Ne.children,ce,qe))))}),ye}function Fr(se,ce,he,ye,Ne,Oe,$e,qe){return he.map((Xe,ht)=>{const Bt=ud(ht,qe),{filterMultiple:yt=!0,filterMode:Ut,filterSearch:$t}=Xe;let en=Xe;if(en.filters||en.filterDropdown){const xn=js(en,Bt),cn=ye.find(Bn=>{let{key:Sn}=Bn;return xn===Sn});en=Object.assign(Object.assign({},en),{title:Bn=>de.createElement(Pa,{tablePrefixCls:se,prefixCls:`${se}-filter`,dropdownPrefixCls:ce,column:en,columnKey:xn,filterState:cn,filterMultiple:yt,filterMode:Ut,filterSearch:$t,triggerFilter:Oe,locale:Ne,getPopupContainer:$e},cd(Xe.title,Bn))})}return"children"in en&&(en=Object.assign(Object.assign({},en),{children:Fr(se,ce,en.children,ye,Ne,Oe,$e,Bt)})),en})}function Ar(se){const ce={};return se.forEach(he=>{let{key:ye,filteredKeys:Ne,column:Oe}=he;const{filters:$e,filterDropdown:qe}=Oe;if(qe)ce[ye]=Ne||null;else if(Array.isArray(Ne)){const Xe=aa($e);ce[ye]=Xe.filter(ht=>Ne.includes(String(ht)))}else ce[ye]=null}),ce}function Kr(se,ce){return ce.reduce((he,ye)=>{const{column:{onFilter:Ne,filters:Oe},filteredKeys:$e}=ye;return Ne&&$e&&$e.length?he.filter(qe=>$e.some(Xe=>{const ht=aa(Oe),Bt=ht.findIndex(Ut=>String(Ut)===String(Xe)),yt=Bt!==-1?ht[Bt]:Xe;return Ne(yt,qe)})):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:Ne,getPopupContainer:Oe,locale:$e}=se;const qe=de.useMemo(()=>Cr(ye||[]),[ye]),[Xe,ht]=de.useState(()=>qa(qe,!0)),Bt=de.useMemo(()=>{const en=qa(qe,!1);if(en.length===0)return en;let xn=!0,cn=!0;if(en.forEach(Bn=>{let{filteredKeys:Sn}=Bn;Sn!==void 0?xn=!1:cn=!1}),xn){const Bn=(qe||[]).map((Sn,Hn)=>js(Sn,ud(Hn)));return Xe.filter(Sn=>{let{key:Hn}=Sn;return Bn.includes(Hn)}).map(Sn=>{const Hn=qe[Bn.findIndex(fa=>fa===Sn.key)];return Object.assign(Object.assign({},Sn),{column:Object.assign(Object.assign({},Sn.column),Hn),forceFiltered:Hn.filtered})})}return en},[qe,Xe]),yt=de.useMemo(()=>Ar(Bt),[Bt]),Ut=en=>{const xn=Bt.filter(cn=>{let{key:Bn}=cn;return Bn!==en.key});xn.push(en),ht(xn),Ne(Ar(xn),xn)};return[en=>Fr(ce,he,en,Bt,$e,Ut,Oe),Bt,yt]}var Ma=er;function Zo(se,ce,he){const ye=de.useRef({});function Ne(Oe){if(!ye.current||ye.current.data!==se||ye.current.childrenColumnName!==ce||ye.current.getRowKey!==he){let qe=function(Xe){Xe.forEach((ht,Bt)=>{const yt=he(ht,Bt);$e.set(yt,ht),ht&&typeof ht=="object"&&ce in ht&&qe(ht[ce]||[])})};const $e=new Map;qe(se),ye.current={data:se,childrenColumnName:ce,kvMap:$e,getRowKey:he}}return ye.current.kvMap.get(Oe)}return[Ne]}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 Ne=0,ye=Object.getOwnPropertySymbols(se);Ne<ye.length;Ne++)ce.indexOf(ye[Ne])<0&&Object.prototype.propertyIsEnumerable.call(se,ye[Ne])&&(he[ye[Ne]]=se[ye[Ne]]);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(Ne=>{const Oe=se[Ne];typeof Oe!="function"&&(he[Ne]=Oe)}),he}function Ao(se,ce,he){const ye=he&&typeof he=="object"?he:{},{total:Ne=0}=ye,Oe=zo(ye,["total"]),[$e,qe]=(0,de.useState)(()=>({current:"defaultCurrent"in Oe?Oe.defaultCurrent:1,pageSize:"defaultPageSize"in Oe?Oe.defaultPageSize:qo})),Xe=(0,yo.Z)($e,Oe,{total:Ne>0?Ne:se}),ht=Math.ceil((Ne||se)/Xe.pageSize);Xe.current>ht&&(Xe.current=ht||1);const Bt=(Ut,$t)=>{qe({current:Ut!=null?Ut:1,pageSize:$t||Xe.pageSize})},yt=(Ut,$t)=>{var en;he&&((en=he.onChange)===null||en===void 0||en.call(he,Ut,$t)),Bt(Ut,$t),ce(Ut,$t||(Xe==null?void 0:Xe.pageSize))};return he===!1?[{},()=>{}]:[Object.assign(Object.assign({},Xe),{onChange:yt}),Bt]}var jr=Ao,_o=te(42922),ui=te(29873),Bo=te(97153),Or=te(83898),ho=te(5663);const Sr={},hi="SELECT_ALL",io="SELECT_INVERT",Ci="SELECT_NONE",Ji=[],Di=(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)(Di(se,ye[se]))))}),he};var El=(se,ce)=>{const{preserveSelectedRowKeys:he,selectedRowKeys:ye,defaultSelectedRowKeys:Ne,getCheckboxProps:Oe,onChange:$e,onSelect:qe,onSelectAll:Xe,onSelectInvert:ht,onSelectNone:Bt,onSelectMultiple:yt,columnWidth:Ut,type:$t,selections:en,fixed:xn,renderCell:cn,hideSelectAll:Bn,checkStrictly:Sn=!0}=ce||{},{prefixCls:Hn,data:fa,pageData:Ea,getRecordByKey:da,getRowKey:Ua,expandType:sr,childrenColumnName:_n,locale:la,getPopupContainer:Vn}=se,[Zn,sa]=(0,ho.Z)(ye||Ne||Ji,{value:ye}),ba=de.useRef(new Map),Ya=(0,de.useCallback)(na=>{if(he){const wa=new Map;na.forEach(ka=>{let Ca=da(ka);!Ca&&ba.current.has(ka)&&(Ca=ba.current.get(ka)),wa.set(ka,Ca)}),ba.current=wa}},[da,he]);de.useEffect(()=>{Ya(Zn)},[Zn]);const{keyEntities:rr}=(0,de.useMemo)(()=>{if(Sn)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,Sn,_n,he]),ya=(0,de.useMemo)(()=>Di(_n,Ea),[_n,Ea]),fr=(0,de.useMemo)(()=>{const na=new Map;return ya.forEach((wa,ka)=>{const Ca=Ua(wa,ka),zr=(Oe?Oe(wa):null)||{};na.set(Ca,zr)}),na},[ya,Ua,Oe]),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(Sn)return[Zn||[],[]];const{checkedKeys:na,halfCheckedKeys:wa}=(0,Bo.S)(Zn,!0,rr,pr);return[na||[],wa]},[Zn,Sn,rr,pr]),jo=(0,de.useMemo)(()=>{const na=$t==="radio"?to.slice(0,1):to;return new Set(na)},[to,$t]),Wo=(0,de.useMemo)(()=>$t==="radio"?new Set:new Set(Tr),[Tr,$t]),[ur,di]=(0,de.useState)(null);de.useEffect(()=>{ce||sa(Ji)},[!!ce]);const kn=(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=da(zr);Ia!==void 0&&(ka.push(zr),Ca.push(Ia))})),sa(ka),$e==null||$e(ka,Ca,{type:wa})},[sa,da,$e,he]),Ta=(0,de.useCallback)((na,wa,ka,Ca)=>{if(qe){const zr=ka.map(Ia=>da(Ia));qe(da(na),wa,zr,Ca)}kn(ka,"single")},[qe,da,kn]),Pr=(0,de.useMemo)(()=>!en||Bn?null:(en===!0?[hi,io,Ci]:en).map(wa=>wa===hi?{key:"all",text:la.selectionAll,onSelect(){kn(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:la.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);ht&&ht(Ca),kn(Ca,"invert")}}:wa===Ci?{key:"none",text:la.selectNone,onSelect(){Bt==null||Bt(),kn(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,ht,kn]);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);Xe==null||Xe(!Ia,Co.map(ee=>da(ee)),po.map(ee=>da(ee))),kn(Co,"all"),di(null)};let Wr;if($t!=="radio"){let po;if(Pr){const ge={getPopupContainer:Vn,items:Pr.map((me,Ae)=>{const{key:Ee,text:Ue,onSelect:Qe}=me;return{key:Ee!=null?Ee:Ae,onClick:()=>{Qe==null||Qe(zr)},label:Ue}})};po=de.createElement("div",{className:`${Hn}-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 Ae=Ua(ge,me),Ee=fr.get(Ae)||{};return Object.assign({checked:Ca.has(Ae)},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=!Bn&&de.createElement("div",{className:`${Hn}-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;$t==="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),Ae=fr.get(ie);let Ee;return sr==="nest"?Ee=me:Ee=(oe=Ae==null?void 0:Ae.indeterminate)!==null&&oe!==void 0?oe:me,{node:de.createElement(gd.default,Object.assign({},Ae,{indeterminate:Ee,checked:ge,skipGroup:!0,onClick:Ue=>Ue.stopPropagation(),onChange:Ue=>{let{nativeEvent:Qe}=Ue;const{shiftKey:ot}=Qe;let It=-1,ut=-1;if(ot&&Sn){const ft=new Set([ur,ie]);zr.some((St,Ct)=>{if(ft.has(St))if(It===-1)It=Ct;else return ut=Ct,!0;return!1})}if(ut!==-1&&It!==ut&&Sn){const ft=zr.slice(It,ut+1),St=[];ge?ft.forEach(_e=>{Ca.has(_e)&&(St.push(_e),Ca.delete(_e))}):ft.forEach(_e=>{Ca.has(_e)||(St.push(_e),Ca.add(_e))});const Ct=Array.from(Ca);yt==null||yt(!ge,Ct.map(_e=>da(_e)),St.map(_e=>da(_e))),kn(Ct,"multiple")}else{const ft=to;if(Sn){const St=ge?(0,ui._5)(ft,ie):(0,ui.L0)(ft,ie);Ta(ie,!ge,St,Qe)}else{const St=(0,Bo.S)([].concat((0,mo.Z)(ft),[ie]),!0,rr,pr),{checkedKeys:Ct,halfCheckedKeys:_e}=St;let pt=Ct;if(ge){const Ht=new Set(Ct);Ht.delete(ie),pt=(0,Bo.S)(Array.from(Ht),{checked:!1,halfCheckedKeys:_e},rr,pr).checkedKeys}Ta(ie,!ge,pt,Qe)}}di(ge?null:ie)}})),checked:ge}};const al=(po,Co,ee)=>{const{node:oe,checked:ie}=Sl(po,Co,ee);return cn?cn(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=xn;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=We()(`${Hn}-selection-col`,{[`${Hn}-selection-col-with-dropdown`]:en&&$t==="checkbox"}),Cd={fixed:ri,width:Ut,className:`${Hn}-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,Ut,Pr,sr,ur,fr,yt,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 Ne(Oe,$e){ye.push({column:Oe,key:js(Oe,$e),multiplePriority:Xi(Oe),sortOrder:Oe.sortOrder})}return(se||[]).forEach((Oe,$e)=>{const qe=ud($e,he);Oe.children?("sortOrder"in Oe&&Ne(Oe,qe),ye=[].concat((0,mo.Z)(ye),(0,mo.Z)(Vi(Oe.children,ce,qe)))):Oe.sorter&&("sortOrder"in Oe?Ne(Oe,qe):ce&&Oe.defaultSortOrder&&ye.push({column:Oe,key:js(Oe,qe),multiplePriority:Xi(Oe),sortOrder:Oe.defaultSortOrder}))}),ye}function ci(se,ce,he,ye,Ne,Oe,$e,qe){return(ce||[]).map((Xe,ht)=>{const Bt=ud(ht,qe);let yt=Xe;if(yt.sorter){const Ut=yt.sortDirections||Ne,$t=yt.showSorterTooltip===void 0?$e:yt.showSorterTooltip,en=js(yt,Bt),xn=he.find(sr=>{let{key:_n}=sr;return _n===en}),cn=xn?xn.sortOrder:null,Bn=es(Ut,cn);let Sn;if(Xe.sortIcon)Sn=Xe.sortIcon({sortOrder:cn});else{const sr=Ut.includes(So)&&de.createElement(vl.Z,{className:We()(`${se}-column-sorter-up`,{active:cn===So})}),_n=Ut.includes(Ho)&&de.createElement(lo.Z,{className:We()(`${se}-column-sorter-down`,{active:cn===Ho})});Sn=de.createElement("span",{className:We()(`${se}-column-sorter`,{[`${se}-column-sorter-full`]:!!(sr&&_n)})},de.createElement("span",{className:`${se}-column-sorter-inner`,"aria-hidden":"true"},sr,_n))}const{cancelSort:Hn,triggerAsc:fa,triggerDesc:Ea}=Oe||{};let da=Hn;Bn===Ho?da=Ea:Bn===So&&(da=fa);const Ua=typeof $t=="object"?$t:{title:da};yt=Object.assign(Object.assign({},yt),{className:We()(yt.className,{[`${se}-column-sort`]:cn}),title:sr=>{const _n=de.createElement("div",{className:`${se}-column-sorters`},de.createElement("span",{className:`${se}-column-title`},cd(Xe.title,sr)),Sn);return $t?de.createElement(si.Z,Object.assign({},Ua),_n):_n},onHeaderCell:sr=>{const _n=Xe.onHeaderCell&&Xe.onHeaderCell(sr)||{},la=_n.onClick,Vn=_n.onKeyDown;_n.onClick=ba=>{ye({column:Xe,key:en,sortOrder:Bn,multiplePriority:Xi(Xe)}),la==null||la(ba)},_n.onKeyDown=ba=>{ba.keyCode===At.Z.ENTER&&(ye({column:Xe,key:en,sortOrder:Bn,multiplePriority:Xi(Xe)}),Vn==null||Vn(ba))};const Zn=Cu(Xe.title,{}),sa=Zn==null?void 0:Zn.toString();return cn?_n["aria-sort"]=cn==="ascend"?"ascending":"descending":_n["aria-label"]=sa||"",_n.className=We()(_n.className,`${se}-column-has-sorters`),_n.tabIndex=0,Xe.ellipsis&&(_n.title=(Zn!=null?Zn:"").toString()),_n}})}return"children"in yt&&(yt=Object.assign(Object.assign({},yt),{children:ci(se,yt.children,he,ye,Ne,Oe,$e,Bt)})),yt})}function sl(se){const{column:ce,sortOrder:he}=se;return{column:ce,order:he,field:ce.dataIndex,columnKey:ce.key}}function Bi(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,qe)=>qe.multiplePriority-$e.multiplePriority),Ne=se.slice(),Oe=ye.filter($e=>{let{column:{sorter:qe},sortOrder:Xe}=$e;return Rl(qe)&&Xe});return Oe.length?Ne.sort(($e,qe)=>{for(let Xe=0;Xe<Oe.length;Xe+=1){const ht=Oe[Xe],{column:{sorter:Bt},sortOrder:yt}=ht,Ut=Rl(Bt);if(Ut&&yt){const $t=Ut($e,qe,yt);if($t!==0)return yt===So?$t:-$t}}return 0}).map($e=>{const qe=$e[he];return qe?Object.assign(Object.assign({},$e),{[he]:bo(qe,ce,he)}):$e}):Ne}function dr(se){let{prefixCls:ce,mergedColumns:he,onSorterChange:ye,sortDirections:Ne,tableLocale:Oe,showSorterTooltip:$e}=se;const[qe,Xe]=de.useState(Vi(he,!0)),ht=de.useMemo(()=>{let en=!0;const xn=Vi(he,!1);if(!xn.length)return qe;const cn=[];function Bn(Hn){en?cn.push(Hn):cn.push(Object.assign(Object.assign({},Hn),{sortOrder:null}))}let Sn=null;return xn.forEach(Hn=>{Sn===null?(Bn(Hn),Hn.sortOrder&&(Hn.multiplePriority===!1?en=!1:Sn=!0)):(Sn&&Hn.multiplePriority!==!1||(en=!1),Bn(Hn))}),cn},[he,qe]),Bt=de.useMemo(()=>{const en=ht.map(xn=>{let{column:cn,sortOrder:Bn}=xn;return{column:cn,order:Bn}});return{sortColumns:en,sortColumn:en[0]&&en[0].column,sortOrder:en[0]&&en[0].order}},[ht]);function yt(en){let xn;en.multiplePriority===!1||!ht.length||ht[0].multiplePriority===!1?xn=[en]:xn=[].concat((0,mo.Z)(ht.filter(cn=>{let{key:Bn}=cn;return Bn!==en.key})),[en]),Xe(xn),ye(Bi(xn),xn)}return[en=>ci(ce,en,ht,yt,Ne,Oe,$e),ht,Bt,()=>Bi(ht)]}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=(Ne,Oe,$e)=>({[`&${ce}-${Ne}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${Oe}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:Ne,lineWidth:Oe,paddingXS:$e,lineType:qe,tableBorderColor:Xe,tableExpandIconBg:ht,tableExpandColumnWidth:Bt,borderRadius:yt,fontSize:Ut,fontSizeSM:$t,lineHeight:en,tablePaddingVertical:xn,tablePaddingHorizontal:cn,tableExpandedRowBg:Bn,paddingXXS:Sn}=se,Hn=ye/2-Oe,fa=Hn*2+Oe*3,Ea=`${Oe}px ${qe} ${Xe}`,da=Sn-Oe;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:ht,border:Ea,borderRadius:yt,transform:`scale(${ye/fa})`,transition:`all ${Ne}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ne} ease-out`,content:'""'},"&::before":{top:Hn,insetInlineEnd:da,insetInlineStart:da,height:Oe},"&::after":{top:da,bottom:da,insetInlineStart:Hn,width:Oe,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ce}-row-indent + ${ce}-row-expand-icon`]:{marginTop:(Ut*en-Oe*3)/2-Math.ceil(($t*1.4-Oe*3)/2),marginInlineEnd:$e},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Bn}},[`${he}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`-${xn}px -${cn}px`,padding:`${xn}px ${cn}px`}}}},qd=se=>{const{componentCls:ce,antCls:he,iconCls:ye,tableFilterDropdownWidth:Ne,tableFilterDropdownSearchWidth:Oe,paddingXXS:$e,paddingXS:qe,colorText:Xe,lineWidth:ht,lineType:Bt,tableBorderColor:yt,tableHeaderIconColor:Ut,fontSizeSM:$t,tablePaddingHorizontal:en,borderRadius:xn,motionDurationSlow:cn,colorTextDescription:Bn,colorPrimary:Sn,tableHeaderFilterActiveBg:Hn,colorTextDisabled:fa,tableFilterDropdownBg:Ea,tableFilterDropdownHeight:da,controlItemBgHover:Ua,controlItemBgActive:sr,boxShadowSecondary:_n,filterDropdownMenuBg:la}=se,Vn=`${he}-dropdown`,Zn=`${ce}-filter-dropdown`,sa=`${he}-tree`,ba=`${ht}px ${Bt} ${yt}`;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:Ut,fontSize:$t,borderRadius:xn,cursor:"pointer",transition:`all ${cn}`,"&:hover":{color:Bn,background:Hn},"&.active":{color:Sn}}}},{[`${he}-dropdown`]:{[Zn]:Object.assign(Object.assign({},(0,Ws.Wf)(se)),{minWidth:Ne,backgroundColor:Ea,borderRadius:xn,boxShadow:_n,overflow:"hidden",[`${Vn}-menu`]:{maxHeight:da,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:la,"&:empty::after":{display:"block",padding:`${qe}px 0`,color:fa,fontSize:$t,textAlign:"center",content:'"Not Found"'}},[`${Zn}-tree`]:{paddingBlock:`${qe}px 0`,paddingInline:qe,[sa]:{padding:0},[`${sa}-treenode ${sa}-node-content-wrapper:hover`]:{backgroundColor:Ua},[`${sa}-treenode-checkbox-checked ${sa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:sr}}},[`${Zn}-search`]:{padding:qe,borderBottom:ba,"&-input":{input:{minWidth:Oe},[ye]:{color:fa}}},[`${Zn}-checkall`]:{width:"100%",marginBottom:$e,marginInlineStart:$e},[`${Zn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${qe-ht}px ${qe}px`,overflow:"hidden",borderTop:ba}})}},{[`${he}-dropdown ${Zn}, ${Zn}-submenu`]:{[`${he}-checkbox-wrapper + span`]:{paddingInlineStart:qe,color:Xe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},wl=se=>{const{componentCls:ce,lineWidth:he,colorSplit:ye,motionDurationSlow:Ne,zIndexTableFixed:Oe,tableBg:$e,zIndexTableSticky:qe}=se,Xe=ye;return{[`${ce}-wrapper`]:{[`
|
|
${ce}-cell-fix-left,
|
|
${ce}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:Oe,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 ${Ne}`,content:'""',pointerEvents:"none"},[`${ce}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${ce}-cell-fix-right-first::after,
|
|
${ce}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-he,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},[`${ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:qe+1,width:30,transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ce}-ping-left`]:{[`&:not(${ce}-has-fix-left) ${ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Xe}`}},[`
|
|
${ce}-cell-fix-left-first::after,
|
|
${ce}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Xe}`},[`${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 ${Xe}`}},[`
|
|
${ce}-cell-fix-right-first::after,
|
|
${ce}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Xe}`}}}}},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:Ne,padding:Oe,paddingXS:$e,tableHeaderIconColor:qe,tableHeaderIconColorHover:Xe,tableSelectionColumnWidth:ht}=se;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:ht,[`&${ce}-selection-col-with-dropdown`]:{width:ht+Ne+Oe/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:ht+$e*2,[`&${ce}-selection-col-with-dropdown`]:{width:ht+Ne+Oe/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:qe,fontSize:Ne,verticalAlign:"baseline","&:hover":{color:Xe}}}}}},pd=se=>{const{componentCls:ce}=se,he=(ye,Ne,Oe,$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:`${Ne}px ${Oe}px`},[`${ce}-filter-trigger`]:{marginInlineEnd:`-${Oe/2}px`},[`${ce}-expanded-row-fixed`]:{margin:`-${Ne}px -${Oe}px`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:`-${Ne}px`,marginInline:`${se.tableExpandColumnWidth-Oe}px -${Oe}px`}},[`${ce}-selection-column`]:{paddingInlineStart:`${Oe/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:Ne,tableHeaderIconColorHover:Oe}=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:Ne,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:Oe}}}},Bs=se=>{const{componentCls:ce,opacityLoading:he,tableScrollThumbBg:ye,tableScrollThumbBgHover:Ne,tableScrollThumbSize:Oe,tableScrollBg:$e,zIndexTableSticky:qe,stickyScrollBarBorderRadius:Xe}=se,ht=`${se.lineWidth}px ${se.lineType} ${se.tableBorderColor}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:qe,background:se.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Oe}px !important`,zIndex:qe,display:"flex",alignItems:"center",background:$e,borderTop:ht,opacity:he,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Oe,backgroundColor:ye,borderRadius:Xe,transition:`all ${se.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ne}}}}}}},yd=se=>{const{componentCls:ce,lineWidth:he,tableBorderColor:ye}=se,Ne=`${he}px ${se.lineType} ${ye}`;return{[`${ce}-wrapper`]:{[`${ce}-summary`]:{position:"relative",zIndex:se.zIndexTableFixed,background:se.tableBg,"> tr":{"> th, > td":{borderBottom:Ne}}},[`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:Ne,lineWidth:Oe,lineType:$e,tableBorderColor:qe,tableFontSize:Xe,tableBg:ht,tableRadius:Bt,tableHeaderTextColor:yt,motionDurationMid:Ut,tableHeaderBg:$t,tableHeaderCellSplitColor:en,tableRowHoverBg:xn,tableSelectedRowBg:cn,tableSelectedRowHoverBg:Bn,tableFooterTextColor:Sn,tableFooterBg:Hn,paddingContentVerticalLG:fa}=se,Ea=`${Oe}px ${$e} ${qe}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[ce]:Object.assign(Object.assign({},(0,Ws.Wf)(se)),{fontSize:Xe,background:ht,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 ${Ne}px`,overflowWrap:"break-word"},[`${ce}-title`]:{padding:`${ye}px ${Ne}px`},[`${ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:yt,fontWeight:he,textAlign:"start",background:$t,borderBottom:Ea,transition:`background ${Ut} 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 ${Ut}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Ut}, border-color ${Ut}`,borderBottom:Ea,[`
|
|
> ${ce}-wrapper:only-child,
|
|
> ${ce}-expanded-row-fixed > ${ce}-wrapper:only-child
|
|
`]:{[ce]:{marginBlock:`-${ye}px`,marginInline:`${se.tableExpandColumnWidth-Ne}px -${Ne}px`,[`${ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:yt,fontWeight:he,textAlign:"start",background:$t,borderBottom:Ea,transition:`background ${Ut} ease`},[`
|
|
&${ce}-row:hover > th,
|
|
&${ce}-row:hover > td,
|
|
> th${ce}-cell-row-hover,
|
|
> td${ce}-cell-row-hover
|
|
`]:{background:xn},[`&${ce}-row-selected`]:{"> th, > td":{background:cn},"&:hover > th, &:hover > td":{background:Bn}}}},[`${ce}-footer`]:{padding:`${ye}px ${Ne}px`,color:Sn,background:Hn}})}};var Ys=(0,fd.Z)("Table",se=>{const{colorTextHeading:ce,colorSplit:he,colorIcon:ye,colorIconHover:Ne,opacityLoading:Oe,colorBgContainer:$e,controlInteractiveSize:qe,headerBg:Xe,headerColor:ht,headerSortActiveBg:Bt,headerSortHoverBg:yt,bodySortBg:Ut,rowHoverBg:$t,rowSelectedBg:en,rowSelectedHoverBg:xn,rowExpandedBg:cn,cellPaddingBlock:Bn,cellPaddingInline:Sn,cellPaddingBlockMD:Hn,cellPaddingInlineMD:fa,cellPaddingBlockSM:Ea,cellPaddingInlineSM:da,borderColor:Ua,footerBg:sr,footerColor:_n,headerBorderRadius:la,cellFontSize:Vn,cellFontSizeMD:Zn,cellFontSizeSM:sa,headerSplitColor:ba,fixedHeaderSortActiveBg:Ya,headerFilterHoverBg:rr,filterDropdownBg:ya,expandIconBg:fr,selectionColumnWidth:pr,stickyScrollBarBg:to}=se,Tr=new zl.C(ye),jo=new zl.C(Ne),Wo=2,ur=(0,ns.TS)(se,{tableFontSize:Vn,tableBg:$e,tableRadius:la,tablePaddingVertical:Bn,tablePaddingHorizontal:Sn,tablePaddingVerticalMiddle:Hn,tablePaddingHorizontalMiddle:fa,tablePaddingVerticalSmall:Ea,tablePaddingHorizontalSmall:da,tableBorderColor:Ua,tableHeaderTextColor:ht,tableHeaderBg:Xe,tableFooterTextColor:_n,tableFooterBg:sr,tableHeaderCellSplitColor:ba,tableHeaderSortBg:Bt,tableHeaderSortHoverBg:yt,tableHeaderIconColor:Tr.clone().setAlpha(Tr.getAlpha()*Oe).toRgbString(),tableHeaderIconColorHover:jo.clone().setAlpha(jo.getAlpha()*Oe).toRgbString(),tableBodySortBg:Ut,tableFixedHeaderSortActiveBg:Ya,tableHeaderFilterActiveBg:rr,tableFilterDropdownBg:ya,tableRowHoverBg:$t,tableSelectedRowBg:en,tableSelectedRowHoverBg:xn,zIndexTableFixed:Wo,zIndexTableSticky:Wo+1,tableFontSizeMiddle:Zn,tableFontSizeSmall:sa,tableSelectionColumnWidth:pr,tableExpandIconBg:fr,tableExpandColumnWidth:qe+2*se.padding,tableExpandedRowBg:cn,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),Bs(ur),md(ur),pd(ur),Gl(ur),bs(ur)]},se=>{const{colorFillAlter:ce,colorBgContainer:he,colorTextHeading:ye,colorFillSecondary:Ne,colorFillContent:Oe,controlItemBgActive:$e,controlItemBgActiveHover:qe,padding:Xe,paddingSM:ht,paddingXS:Bt,colorBorderSecondary:yt,borderRadiusLG:Ut,fontSize:$t,controlHeight:en,colorTextPlaceholder:xn}=se,cn=new zl.C(Ne).onBackground(he).toHexShortString(),Bn=new zl.C(Oe).onBackground(he).toHexShortString(),Sn=new zl.C(ce).onBackground(he).toHexShortString();return{headerBg:Sn,headerColor:ye,headerSortActiveBg:cn,headerSortHoverBg:Bn,bodySortBg:Sn,rowHoverBg:Sn,rowSelectedBg:$e,rowSelectedHoverBg:qe,rowExpandedBg:ce,cellPaddingBlock:Xe,cellPaddingInline:Xe,cellPaddingBlockMD:ht,cellPaddingInlineMD:Bt,cellPaddingBlockSM:Bt,cellPaddingInlineSM:Bt,borderColor:yt,headerBorderRadius:Ut,footerBg:Sn,footerColor:ye,cellFontSize:$t,cellFontSizeMD:$t,cellFontSizeSM:$t,headerSplitColor:yt,fixedHeaderSortActiveBg:cn,headerFilterHoverBg:Oe,filterDropdownMenuBg:he,filterDropdownBg:he,expandIconBg:he,selectionColumnWidth:en,stickyScrollBarBg:xn,stickyScrollBarBorderRadius:100}});const Qs=[],bd=(se,ce)=>{const{prefixCls:he,className:ye,rootClassName:Ne,style:Oe,size:$e,bordered:qe,dropdownPrefixCls:Xe,dataSource:ht,pagination:Bt,rowSelection:yt,rowKey:Ut="key",rowClassName:$t,columns:en,children:xn,childrenColumnName:cn,onChange:Bn,getPopupContainer:Sn,loading:Hn,expandIcon:fa,expandable:Ea,expandedRowRender:da,expandIconColumnIndex:Ua,indentSize:sr,scroll:_n,sortDirections:la,locale:Vn,showSorterTooltip:Zn=!0,virtual:sa}=se,ba=de.useMemo(()=>en||Ul(xn),[en,xn]),Ya=de.useMemo(()=>ba.some(Wt=>Wt.responsive),[ba]),rr=(0,Ks.Z)(Ya),ya=de.useMemo(()=>{const Wt=new Set(Object.keys(rr).filter(Qt=>rr[Qt]));return ba.filter(Qt=>!Qt.responsive||Qt.responsive.some(ra=>Wt.has(ra)))},[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),kn=Object.assign(Object.assign({},pr.Table),Vn),Ta=ht||Qs,Pr=Wo("table",he),so=Wo("dropdown",Xe),na=Object.assign({childrenColumnName:cn,expandIconColumnIndex:Ua},Ea),{childrenColumnName:wa="children"}=na,ka=de.useMemo(()=>Ta.some(Wt=>Wt==null?void 0:Wt[wa])?"nest":da||Ea&&Ea.expandedRowRender?"row":null,[Ta]),Ca={body:de.useRef()},zr=de.useMemo(()=>typeof Ut=="function"?Ut:Wt=>Wt==null?void 0:Wt[Ut],[Ut]),[Ia]=Zo(Ta,wa,zr),mr={},Jr=function(Wt,Qt){let ra=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Fn,oa,$n;const Ra=Object.assign(Object.assign({},mr),Wt);ra&&((Fn=mr.resetPagination)===null||Fn===void 0||Fn.call(mr),!((oa=Ra.pagination)===null||oa===void 0)&&oa.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}),Bn==null||Bn(Ra.pagination,Ra.filters,Ra.sorter,{currentDataSource:Kr(bo(Ta,Ra.sorterStates,wa),Ra.filterStates),action:Qt})},Wr=(Wt,Qt)=>{Jr({sorter:Wt,sorterStates:Qt},"sort",!1)},[Sl,al,Ms,Mi]=dr({prefixCls:Pr,mergedColumns:ya,onSorterChange:Wr,sortDirections:la||["ascend","descend"],tableLocale:kn,showSorterTooltip:Zn}),os=de.useMemo(()=>bo(Ta,al,wa),[Ta,al]);mr.sorter=Mi(),mr.sorterStates=al;const ri=(Wt,Qt)=>{Jr({filters:Wt,filterStates:Qt},"filter",!0)},[Ll,Cd,po]=Ma({prefixCls:Pr,locale:kn,dropdownPrefixCls:so,mergedColumns:ya,onFilterChange:ri,getPopupContainer:Sn||ur}),Co=Kr(os,Cd);mr.filters=po,mr.filterStates=Cd;const ee=de.useMemo(()=>{const Wt={};return Object.keys(po).forEach(Qt=>{po[Qt]!==null&&(Wt[Qt]=po[Qt])}),Object.assign(Object.assign({},Ms),{filters:Wt})},[Ms,po]),[oe]=hl(ee),ie=(Wt,Qt)=>{Jr({pagination:Object.assign(Object.assign({},mr.pagination),{current:Wt,pageSize:Qt})},"paginate")},[ge,me]=jr(Co.length,ie,Bt);mr.pagination=Bt===!1?{}:Ni(ge,Bt),mr.resetPagination=me;const Ae=de.useMemo(()=>{if(Bt===!1||!ge.pageSize)return Co;const{current:Wt=1,total:Qt,pageSize:ra=qo}=ge;return Co.length<Qt?Co.length>ra?Co.slice((Wt-1)*ra,Wt*ra):Co:Co.slice((Wt-1)*ra,Wt*ra)},[!!Bt,Co,ge&&ge.current,ge&&ge.pageSize,ge&&ge.total]),[Ee,Ue]=El({prefixCls:Pr,data:Co,pageData:Ae,getRowKey:zr,getRecordByKey:Ia,expandType:ka,childrenColumnName:wa,locale:kn,getPopupContainer:Sn||ur},yt),Qe=(Wt,Qt,ra)=>{let Fn;return typeof $t=="function"?Fn=We()($t(Wt,Qt,ra)):Fn=We()($t),We()({[`${Pr}-row-selected`]:Ue.has(zr(Wt,Qt))},Fn)};na.__PARENT_RENDER_ICON__=na.expandIcon,na.expandIcon=na.expandIcon||fa||bu(kn),ka==="nest"&&na.expandIconColumnIndex===void 0?na.expandIconColumnIndex=yt?1:0:na.expandIconColumnIndex>0&&yt&&(na.expandIconColumnIndex-=1),typeof na.indentSize!="number"&&(na.indentSize=typeof sr=="number"?sr:15);const ot=de.useCallback(Wt=>oe(Ee(Ll(Sl(Wt)))),[Sl,Ll,Ee]);let It,ut;if(Bt!==!1&&(ge!=null&&ge.total)){let Wt;ge.size?Wt=ge.size:Wt=di==="small"||di==="middle"?"small":void 0;const Qt=oa=>de.createElement(ad.Z,Object.assign({},ge,{className:We()(`${Pr}-pagination ${Pr}-pagination-${oa}`,ge.className),size:Wt})),ra=to==="rtl"?"left":"right",{position:Fn}=ge;if(Fn!==null&&Array.isArray(Fn)){const oa=Fn.find(or=>or.includes("top")),$n=Fn.find(or=>or.includes("bottom")),Ra=Fn.every(or=>`${or}`=="none");!oa&&!$n&&!Ra&&(ut=Qt(ra)),oa&&(It=Qt(oa.toLowerCase().replace("top",""))),$n&&(ut=Qt($n.toLowerCase().replace("bottom","")))}else ut=Qt(ra)}let ft;typeof Hn=="boolean"?ft={spinning:Hn}:typeof Hn=="object"&&(ft=Object.assign({spinning:!0},Hn));const[St,Ct]=Ys(Pr),[,_e]=(0,yu.Z)(),pt=We()(`${Pr}-wrapper`,Tr==null?void 0:Tr.className,{[`${Pr}-wrapper-rtl`]:to==="rtl"},ye,Ne,Ct),Ht=Object.assign(Object.assign({},Tr==null?void 0:Tr.style),Oe),dn=Vn&&Vn.emptyText||(jo==null?void 0:jo("Table"))||de.createElement(Gs.Z,{componentName:"Table"}),Xt=sa?ps:ts,Yt={},Nn=de.useMemo(()=>{const{fontSize:Wt,lineHeight:Qt,padding:ra,paddingXS:Fn,paddingSM:oa}=_e,$n=Math.floor(Wt*Qt);switch(di){case"large":return ra*2+$n;case"small":return Fn*2+$n;default:return oa*2+$n}},[_e,di]);return sa&&(Yt.listItemHeight=Nn),St(de.createElement("div",{ref:ce,className:pt,style:Ht},de.createElement(As.Z,Object.assign({spinning:!1},ft),It,de.createElement(Xt,Object.assign({},Yt,fr,{columns:ya,direction:to,expandable:na,prefixCls:Pr,className:We()({[`${Pr}-middle`]:di==="middle",[`${Pr}-small`]:di==="small",[`${Pr}-bordered`]:qe,[`${Pr}-empty`]:Ta.length===0}),data:Ae,rowKey:zr,rowClassName:Qe,emptyText:dn,internalHooks:ve,internalRefs:Ca,transformColumns:ot})),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,wt,te){"use strict";te.d(wt,{default:function(){return Ss}});var le=te(87462),ve=te(4942),Te=te(71002),Ge=te(1413),ke=te(74902),Ze=te(15671),de=te(43144),ze=te(97326),Ke=te(60136),He=te(51630),tt=te(94184),je=te.n(tt),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(Nt){var Vt=Nt.keyCode;if(Nt.altKey&&!Nt.ctrlKey||Nt.metaKey||Vt>=we.F1&&Vt<=we.F12)return!1;switch(Vt){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(Nt){if(Nt>=we.ZERO&&Nt<=we.NINE||Nt>=we.NUM_ZERO&&Nt<=we.NUM_MULTIPLY||Nt>=we.A&&Nt<=we.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Nt===0)return!0;switch(Nt){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(bt){var Nt=bt.dropPosition,Vt=bt.dropLevelOffset,De=bt.indent,zt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Nt){case-1:zt.top=0,zt.left=-Vt*De;break;case 1:zt.bottom=0,zt.left=-Vt*De;break;case 0:zt.bottom=0,zt.left=De;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,Le=function(Nt,Vt){var De=React.useRef(!0);fe(function(){if(!De.current)return Nt()},Vt),fe(function(){return De.current=!1,function(){De.current=!0}},[])},be=te(73299),xe=te(73935);function pe(bt){return bt instanceof HTMLElement||bt instanceof SVGElement}function it(bt){return pe(bt)?bt:bt instanceof x.Component?xe.findDOMNode(bt):null}var We=te(28580);function xt(bt,Nt,Vt){var De=React.useRef({});return(!("value"in De.current)||Vt(De.current.condition,Nt))&&(De.current.value=bt(),De.current.condition=Nt),De.current.value}function Je(bt,Nt){typeof bt=="function"?bt(Nt):(0,Te.Z)(bt)==="object"&&bt&&"current"in bt&&(bt.current=Nt)}function dt(){for(var bt=arguments.length,Nt=new Array(bt),Vt=0;Vt<bt;Vt++)Nt[Vt]=arguments[Vt];var De=Nt.filter(function(zt){return zt});return De.length<=1?De[0]:function(zt){Nt.forEach(function(gn){Je(gn,zt)})}}function Mt(){for(var bt=arguments.length,Nt=new Array(bt),Vt=0;Vt<bt;Vt++)Nt[Vt]=arguments[Vt];return useMemo(function(){return dt.apply(void 0,Nt)},Nt,function(De,zt){return De.length===zt.length&&De.every(function(gn,vn){return gn===zt[vn]})})}function Kt(bt){var Nt,Vt,De=(0,We.isMemo)(bt)?bt.type.type:bt.type;return!(typeof De=="function"&&!((Nt=De.prototype)!==null&&Nt!==void 0&&Nt.render)||typeof bt=="function"&&!((Vt=bt.prototype)!==null&&Vt!==void 0&&Vt.render))}function Ft(bt,Nt){var Vt={};return Vt[bt.toLowerCase()]=Nt.toLowerCase(),Vt["Webkit".concat(bt)]="webkit".concat(Nt),Vt["Moz".concat(bt)]="moz".concat(Nt),Vt["ms".concat(bt)]="MS".concat(Nt),Vt["O".concat(bt)]="o".concat(Nt.toLowerCase()),Vt}function mt(bt,Nt){var Vt={animationend:Ft("Animation","AnimationEnd"),transitionend:Ft("Transition","TransitionEnd")};return bt&&("AnimationEvent"in Nt||delete Vt.animationend.animation,"TransitionEvent"in Nt||delete Vt.transitionend.transition),Vt}var Rt=mt(ne(),typeof window!="undefined"?window:{}),Jt={};if(ne()){var an=document.createElement("div");Jt=an.style}var Ve={};function Pt(bt){if(Ve[bt])return Ve[bt];var Nt=Rt[bt];if(Nt)for(var Vt=Object.keys(Nt),De=Vt.length,zt=0;zt<De;zt+=1){var gn=Vt[zt];if(Object.prototype.hasOwnProperty.call(Nt,gn)&&gn in Jt)return Ve[bt]=Nt[gn],Ve[bt]}return""}var kt=Pt("animationend"),En=Pt("transitionend"),Ye=!!(kt&&En),Lt=kt||"animationend",Ce=En||"transitionend";function rn(bt,Nt){if(!bt)return null;if((0,Te.Z)(bt)==="object"){var Vt=Nt.replace(/-\w/g,function(De){return De[1].toUpperCase()});return bt[Vt]}return"".concat(bt,"-").concat(Nt)}var fn="none",ua="appear",An="enter",gt="leave",Me="none",Be="prepare",vt="start",Ot="active",jt="end";function sn(bt){var Nt=x.useRef(!1),Vt=x.useState(bt),De=(0,ae.Z)(Vt,2),zt=De[0],gn=De[1];x.useEffect(function(){return Nt.current=!1,function(){Nt.current=!0}},[]);function vn(Dt,Gt){Gt&&Nt.current||gn(Dt)}return[zt,vn]}var On=function(Nt){return+setTimeout(Nt,16)},Gn=function(Nt){return clearTimeout(Nt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(On=function(Nt){return window.requestAnimationFrame(Nt)},Gn=function(Nt){return window.cancelAnimationFrame(Nt)});var bn=0,ga=new Map;function Ie(bt){ga.delete(bt)}var rt=function(Nt){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;bn+=1;var De=bn;function zt(gn){if(gn===0)Ie(De),Nt();else{var vn=On(function(){zt(gn-1)});ga.set(De,vn)}}return zt(Vt),De};rt.cancel=function(bt){var Nt=ga.get(bt);return Ie(Nt),Gn(Nt)};var Yn=rt,Dn=function(){var bt=x.useRef(null);function Nt(){Yn.cancel(bt.current)}function Vt(De){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Nt();var gn=Yn(function(){zt<=1?De({isCanceled:function(){return gn!==bt.current}}):Vt(De,zt-1)});bt.current=gn}return x.useEffect(function(){return function(){Nt()}},[]),[Vt,Nt]},lt=ne()?x.useLayoutEffect:x.useEffect,_t=lt,ea=[Be,vt,Ot,jt],Un=!1,ca=!0;function Tn(bt){return bt===Ot||bt===jt}var un=function(bt,Nt){var Vt=sn(Me),De=(0,ae.Z)(Vt,2),zt=De[0],gn=De[1],vn=Dn(),Dt=(0,ae.Z)(vn,2),Gt=Dt[0],Tt=Dt[1];function pn(){gn(Be,!0)}return _t(function(){if(zt!==Me&&zt!==jt){var Wn=ea.indexOf(zt),ia=ea[Wn+1],ta=Nt(zt);ta===Un?gn(ia,!0):Gt(function(pa){function Ha(){pa.isCanceled()||gn(ia,!0)}ta===!0?Ha():Promise.resolve(ta).then(Ha)})}},[bt,zt]),x.useEffect(function(){return function(){Tt()}},[]),[pn,zt]},qn=function(bt){var Nt=(0,x.useRef)(),Vt=(0,x.useRef)(bt);Vt.current=bt;var De=x.useCallback(function(vn){Vt.current(vn)},[]);function zt(vn){vn&&(vn.removeEventListener(Ce,De),vn.removeEventListener(Lt,De))}function gn(vn){Nt.current&&Nt.current!==vn&&zt(Nt.current),vn&&vn!==Nt.current&&(vn.addEventListener(Ce,De),vn.addEventListener(Lt,De),Nt.current=vn)}return x.useEffect(function(){return function(){zt(Nt.current)}},[]),[gn,zt]};function cr(bt,Nt,Vt,De){var zt=De.motionEnter,gn=zt===void 0?!0:zt,vn=De.motionAppear,Dt=vn===void 0?!0:vn,Gt=De.motionLeave,Tt=Gt===void 0?!0:Gt,pn=De.motionDeadline,Wn=De.motionLeaveImmediately,ia=De.onAppearPrepare,ta=De.onEnterPrepare,pa=De.onLeavePrepare,Ha=De.onAppearStart,on=De.onEnterStart,Et=De.onLeaveStart,nn=De.onAppearActive,ln=De.onEnterActive,jn=De.onLeaveActive,Sa=De.onAppearEnd,Oa=De.onEnterEnd,ar=De.onLeaveEnd,Ka=De.onVisibleChanged,Xa=sn(),gr=(0,ae.Z)(Xa,2),Wa=gr[0],Yr=gr[1],Gr=sn(fn),vo=(0,ae.Z)(Gr,2),_r=vo[0],Do=vo[1],Ro=sn(null),eo=(0,ae.Z)(Ro,2),vi=eo[0],ll=eo[1],Bl=(0,x.useRef)(!1),yl=(0,x.useRef)(null);function nl(){return Vt()}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===ua&&Wi?ws=Sa==null?void 0:Sa(li,ni):_r===An&&Wi?ws=Oa==null?void 0:Oa(li,ni):_r===gt&&Wi&&(ws=ar==null?void 0:ar(li,ni)),_r!==fn&&Wi&&ws!==!1&&(Do(fn,!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 ua:return ni={},(0,ve.Z)(ni,Be,ia),(0,ve.Z)(ni,vt,Ha),(0,ve.Z)(ni,Ot,nn),ni;case An:return li={},(0,ve.Z)(li,Be,ta),(0,ve.Z)(li,vt,on),(0,ve.Z)(li,Ot,ln),li;case gt:return Wi={},(0,ve.Z)(Wi,Be,pa),(0,ve.Z)(Wi,vt,Et),(0,ve.Z)(Wi,Ot,jn),Wi;default:return{}}},[_r]),zs=un(_r,function(ni){if(ni===Be){var li=bl[Be];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===Ot&&(Zs(nl()),pn>0&&(clearTimeout(yl.current),yl.current=setTimeout(function(){Ql({deadline:!0})},pn))),ca}),kl=(0,ae.Z)(zs,2),Dd=kl[0],Cl=kl[1],Hs=Tn(Cl);ii.current=Hs,_t(function(){Yr(Nt);var ni=Bl.current;if(Bl.current=!0,!!bt){var li;!ni&&Nt&&Dt&&(li=ua),ni&&Nt&&gn&&(li=An),(ni&&!Nt&&Tt||!ni&&Wn&&!Nt&&Tt)&&(li=gt),li&&(Do(li),Dd())}},[Nt]),(0,x.useEffect)(function(){(_r===ua&&!Dt||_r===An&&!gn||_r===gt&&!Tt)&&Do(fn)},[Dt,gn,Tt]),(0,x.useEffect)(function(){return function(){Bl.current=!1,clearTimeout(yl.current)}},[]);var ls=x.useRef(!1);(0,x.useEffect)(function(){Wa&&(ls.current=!0),Wa!==void 0&&_r===fn&&((ls.current||Wa)&&(Ka==null||Ka(Wa)),ls.current=!0)},[Wa,_r]);var nd=vi;return bl[Be]&&Cl===vt&&(nd=(0,Ge.Z)({transition:"none"},nd)),[_r,Cl,nd,Wa!=null?Wa:Nt]}var Ga=function(bt){(0,Ke.Z)(Vt,bt);var Nt=(0,He.Z)(Vt);function Vt(){return(0,Ze.Z)(this,Vt),Nt.apply(this,arguments)}return(0,de.Z)(Vt,[{key:"render",value:function(){return this.props.children}}]),Vt}(x.Component),za=Ga;function Zr(bt){var Nt=bt;(0,Te.Z)(bt)==="object"&&(Nt=bt.transitionSupport);function Vt(zt){return!!(zt.motionName&&Nt)}var De=x.forwardRef(function(zt,gn){var vn=zt.visible,Dt=vn===void 0?!0:vn,Gt=zt.removeOnLeave,Tt=Gt===void 0?!0:Gt,pn=zt.forceRender,Wn=zt.children,ia=zt.motionName,ta=zt.leavedClassName,pa=zt.eventProps,Ha=Vt(zt),on=(0,x.useRef)(),Et=(0,x.useRef)();function nn(){try{return on.current instanceof HTMLElement?on.current:it(Et.current)}catch(Ro){return null}}var ln=cr(Ha,Dt,nn,zt),jn=(0,ae.Z)(ln,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){on.current=Ro,Je(gn,Ro)},[gn]),Wa,Yr=(0,Ge.Z)((0,Ge.Z)({},pa),{},{visible:Dt});if(!Wn)Wa=null;else if(Sa===fn||!Vt(zt))Ka?Wa=Wn((0,Ge.Z)({},Yr),gr):!Tt&&Xa.current&&ta?Wa=Wn((0,Ge.Z)((0,Ge.Z)({},Yr),{},{className:ta}),gr):pn||!Tt&&!ta?Wa=Wn((0,Ge.Z)((0,Ge.Z)({},Yr),{},{style:{display:"none"}}),gr):Wa=null;else{var Gr,vo;Oa===Be?vo="prepare":Tn(Oa)?vo="active":Oa===vt&&(vo="start"),Wa=Wn((0,Ge.Z)((0,Ge.Z)({},Yr),{},{className:je()(rn(ia,Sa),(Gr={},(0,ve.Z)(Gr,rn(ia,"".concat(Sa,"-").concat(vo)),vo),(0,ve.Z)(Gr,ia,typeof ia=="string"),Gr)),style:ar}),gr)}if(x.isValidElement(Wa)&&Kt(Wa)){var _r=Wa,Do=_r.ref;Do||(Wa=x.cloneElement(Wa,{ref:gr}))}return x.createElement(za,{ref:Et},Wa)});return De.displayName="CSSMotion",De}var Va=Zr(Ye),Mr="add",oo="keep",ko="remove",Yo="removed";function ti(bt){var Nt;return bt&&(0,Te.Z)(bt)==="object"&&"key"in bt?Nt=bt:Nt={key:bt},(0,Ge.Z)((0,Ge.Z)({},Nt),{},{key:String(Nt.key)})}function fi(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return bt.map(ti)}function Io(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Vt=[],De=0,zt=Nt.length,gn=fi(bt),vn=fi(Nt);gn.forEach(function(Tt){for(var pn=!1,Wn=De;Wn<zt;Wn+=1){var ia=vn[Wn];if(ia.key===Tt.key){De<Wn&&(Vt=Vt.concat(vn.slice(De,Wn).map(function(ta){return(0,Ge.Z)((0,Ge.Z)({},ta),{},{status:Mr})})),De=Wn),Vt.push((0,Ge.Z)((0,Ge.Z)({},ia),{},{status:oo})),De+=1,pn=!0;break}}pn||Vt.push((0,Ge.Z)((0,Ge.Z)({},Tt),{},{status:ko}))}),De<zt&&(Vt=Vt.concat(vn.slice(De).map(function(Tt){return(0,Ge.Z)((0,Ge.Z)({},Tt),{},{status:Mr})})));var Dt={};Vt.forEach(function(Tt){var pn=Tt.key;Dt[pn]=(Dt[pn]||0)+1});var Gt=Object.keys(Dt).filter(function(Tt){return Dt[Tt]>1});return Gt.forEach(function(Tt){Vt=Vt.filter(function(pn){var Wn=pn.key,ia=pn.status;return Wn!==Tt||ia!==ko}),Vt.forEach(function(pn){pn.key===Tt&&(pn.status=oo)})}),Vt}var bi=["component","children","onVisibleChanged","onAllRemoved"],Hr=["status"],wn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Rn(bt){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Va,Vt=function(De){(0,Ke.Z)(gn,De);var zt=(0,He.Z)(gn);function gn(){var vn;(0,Ze.Z)(this,gn);for(var Dt=arguments.length,Gt=new Array(Dt),Tt=0;Tt<Dt;Tt++)Gt[Tt]=arguments[Tt];return vn=zt.call.apply(zt,[this].concat(Gt)),(0,ve.Z)((0,ze.Z)(vn),"state",{keyEntities:[]}),(0,ve.Z)((0,ze.Z)(vn),"removeKey",function(pn){var Wn=vn.state.keyEntities,ia=Wn.map(function(ta){return ta.key!==pn?ta:(0,Ge.Z)((0,Ge.Z)({},ta),{},{status:Yo})});return vn.setState({keyEntities:ia}),ia.filter(function(ta){var pa=ta.status;return pa!==Yo}).length}),vn}return(0,de.Z)(gn,[{key:"render",value:function(){var Dt=this,Gt=this.state.keyEntities,Tt=this.props,pn=Tt.component,Wn=Tt.children,ia=Tt.onVisibleChanged,ta=Tt.onAllRemoved,pa=(0,re.Z)(Tt,bi),Ha=pn||x.Fragment,on={};return wn.forEach(function(Et){on[Et]=pa[Et],delete pa[Et]}),delete pa.keys,x.createElement(Ha,pa,Gt.map(function(Et){var nn=Et.status,ln=(0,re.Z)(Et,Hr),jn=nn===Mr||nn===oo;return x.createElement(Nt,(0,le.Z)({},on,{key:ln.key,visible:jn,eventProps:ln,onVisibleChanged:function(Oa){if(ia==null||ia(Oa,{key:ln.key}),!Oa){var ar=Dt.removeKey(ln.key);ar===0&&ta&&ta()}}}),Wn)}))}}],[{key:"getDerivedStateFromProps",value:function(Dt,Gt){var Tt=Dt.keys,pn=Gt.keyEntities,Wn=fi(Tt),ia=Io(pn,Wn);return{keyEntities:ia.filter(function(ta){var pa=pn.find(function(Ha){var on=Ha.key;return ta.key===on});return!(pa&&pa.status===Yo&&ta.status===ko)})}}}]),gn}(x.Component);return(0,ve.Z)(Vt,"defaultProps",{component:"div"}),Vt}var Pn=Rn(Ye),Cn=Va,Ja=te(56261);function Nr(bt,Nt){var Vt=x.useState(!1),De=(0,ae.Z)(Vt,2),zt=De[0],gn=De[1];x.useLayoutEffect(function(){if(zt)return bt(),function(){Nt()}},[zt]),x.useLayoutEffect(function(){return gn(!0),function(){gn(!1)}},[])}var Mn=te(83898),at=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],st=function(Nt,Vt){var De=Nt.className,zt=Nt.style,gn=Nt.motion,vn=Nt.motionNodes,Dt=Nt.motionType,Gt=Nt.onMotionStart,Tt=Nt.onMotionEnd,pn=Nt.active,Wn=Nt.treeNodeRequiredProps,ia=(0,re.Z)(Nt,at),ta=x.useState(!0),pa=(0,ae.Z)(ta,2),Ha=pa[0],on=pa[1],Et=x.useContext(b.k),nn=Et.prefixCls,ln=vn&&Dt!=="hide";Se(function(){vn&&ln!==Ha&&on(ln)},[vn]);var jn=function(){vn&&Gt()},Sa=x.useRef(!1),Oa=function(){vn&&!Sa.current&&(Sa.current=!0,Tt())};Nr(jn,Oa);var ar=function(Xa){ln===Xa&&Oa()};return vn?x.createElement(Cn,(0,le.Z)({ref:Vt,visible:Ha},gn,{motionAppear:Dt==="show",onVisibleChanged:ar}),function(Ka,Xa){var gr=Ka.className,Wa=Ka.style;return x.createElement("div",{ref:Xa,className:je()("".concat(nn,"-treenode-motion"),gr),style:Wa},vn.map(function(Yr){var Gr=(0,le.Z)({},((0,z.Z)(Yr.data),Yr.data)),vo=Yr.title,_r=Yr.key,Do=Yr.isStart,Ro=Yr.isEnd;delete Gr.children;var eo=(0,Mn.H8)(_r,Wn);return x.createElement(Ja.Z,(0,le.Z)({},Gr,eo,{title:vo,active:pn,data:Yr.data,key:_r,isStart:Do,isEnd:Ro}))}))}):x.createElement(Ja.Z,(0,le.Z)({domRef:Vt,className:De,style:zt},ia,{active:pn}))};st.displayName="MotionTreeNode";var et=x.forwardRef(st),Zt=et;function mn(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Vt=bt.length,De=Nt.length;if(Math.abs(Vt-De)!==1)return{add:!1,key:null};function zt(gn,vn){var Dt=new Map;gn.forEach(function(Tt){Dt.set(Tt,!0)});var Gt=vn.filter(function(Tt){return!Dt.has(Tt)});return Gt.length===1?Gt[0]:null}return Vt<De?{add:!0,key:zt(bt,Nt)}:{add:!1,key:zt(Nt,bt)}}function zn(bt,Nt,Vt){var De=bt.findIndex(function(Dt){return Dt.key===Vt}),zt=bt[De+1],gn=Nt.findIndex(function(Dt){return Dt.key===Vt});if(zt){var vn=Nt.findIndex(function(Dt){return Dt.key===zt.key});return Nt.slice(gn+1,vn)}return Nt.slice(gn+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},Ln=function(){},va="RC_TREE_MOTION_".concat(Math.random()),fo={key:va},yn={key:va,level:0,index:0,pos:"0",node:fo,nodes:[fo]},$r={parent:null,children:[],pos:yn.pos,data:fo,title:null,key:va,isStart:[],isEnd:[]};function Qo(bt,Nt,Vt,De){return Nt===!1||!Vt?bt:bt.slice(0,Math.ceil(Vt/De)+1)}function Qi(bt){var Nt=bt.key,Vt=bt.pos;return(0,Mn.km)(Nt,Vt)}function Jo(bt){for(var Nt=String(bt.data.key),Vt=bt;Vt.parent;)Vt=Vt.parent,Nt="".concat(Vt.data.key," > ").concat(Nt);return Nt}var wo=x.forwardRef(function(bt,Nt){var Vt=bt.prefixCls,De=bt.data,zt=bt.selectable,gn=bt.checkable,vn=bt.expandedKeys,Dt=bt.selectedKeys,Gt=bt.checkedKeys,Tt=bt.loadedKeys,pn=bt.loadingKeys,Wn=bt.halfCheckedKeys,ia=bt.keyEntities,ta=bt.disabled,pa=bt.dragging,Ha=bt.dragOverNodeKey,on=bt.dropPosition,Et=bt.motion,nn=bt.height,ln=bt.itemHeight,jn=bt.virtual,Sa=bt.focusable,Oa=bt.activeItem,ar=bt.focused,Ka=bt.tabIndex,Xa=bt.onKeyDown,gr=bt.onFocus,Wa=bt.onBlur,Yr=bt.onActiveChange,Gr=bt.onListChangeStart,vo=bt.onListChangeEnd,_r=(0,re.Z)(bt,La),Do=x.useRef(null),Ro=x.useRef(null);x.useImperativeHandle(Nt,function(){return{scrollTo:function(Xl){Do.current.scrollTo(Xl)},getIndentWidth:function(){return Ro.current.offsetWidth}}});var eo=x.useState(vn),vi=(0,ae.Z)(eo,2),ll=vi[0],Bl=vi[1],yl=x.useState(De),nl=(0,ae.Z)(yl,2),ii=nl[0],Ql=nl[1],Ml=x.useState(De),Jl=(0,ae.Z)(Ml,2),Zs=Jl[0],bl=Jl[1],zs=x.useState([]),kl=(0,ae.Z)(zs,2),Dd=kl[0],Cl=kl[1],Hs=x.useState(null),ls=(0,ae.Z)(Hs,2),nd=ls[0],ni=ls[1],li=x.useRef(De);li.current=De;function Wi(){var ai=li.current;Ql(ai),bl(ai),Cl([]),ni(null),vo()}Se(function(){Bl(vn);var ai=mn(ll,vn);if(ai.key!==null)if(ai.add){var Xl=ii.findIndex(function(Ls){var Ks=Ls.key;return Ks===ai.key}),Zl=Qo(zn(ii,De,ai.key),jn,nn,ln),lr=ii.slice();lr.splice(Xl+1,0,$r),bl(lr),Cl(Zl),ni("show")}else{var ql=De.findIndex(function(Ls){var Ks=Ls.key;return Ks===ai.key}),_l=Qo(zn(De,ii,ai.key),jn,nn,ln),Gs=De.slice();Gs.splice(ql+1,0,$r),bl(Gs),Cl(_l),ni("hide")}else ii!==De&&(Ql(De),bl(De))},[vn,De]),x.useEffect(function(){pa||Wi()},[pa]);var ws=Et?Zs:De,Bd={expandedKeys:vn,selectedKeys:Dt,loadedKeys:Tt,loadingKeys:pn,checkedKeys:Gt,halfCheckedKeys:Wn,dragOverNodeKey:Ha,dropPosition:on,keyEntities:ia};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:Ln,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Vt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Vt,"-indent")},x.createElement("div",{ref:Ro,className:"".concat(Vt,"-indent-unit")}))),x.createElement(be.Z,(0,le.Z)({},_r,{data:ws,itemKey:Qi,height:nn,fullHeight:!1,virtual:jn,itemHeight:ln,prefixCls:"".concat(Vt,"-list"),ref:Do,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,Mn.km)(ql,Xl);delete Zl.key,delete Zl.children;var Ks=(0,Mn.H8)(Ls,Bd);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:Et,motionNodes:ql===va?Dd:null,motionType:nd,onMotionStart:Gr,onMotionEnd:Wi,treeNodeRequiredProps:Bd,onMouseMove:function(){Yr(null)}}))}))});wo.displayName="NodeList";var gl=wo,br=te(29873),Pl=te(97153),ol=te(3596),Ii=10,mi=function(bt){(0,Ke.Z)(Vt,bt);var Nt=(0,He.Z)(Vt);function Vt(){var De;(0,Ze.Z)(this,Vt);for(var zt=arguments.length,gn=new Array(zt),vn=0;vn<zt;vn++)gn[vn]=arguments[vn];return De=Nt.call.apply(Nt,[this].concat(gn)),De.destroyed=!1,De.delayedDragEnterLogic=void 0,De.loadingRetryTimes={},De.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,Mn.w$)()},De.dragStartMousePosition=null,De.dragNode=void 0,De.currentMouseOverDroppableNodeKey=null,De.listRef=x.createRef(),De.onNodeDragStart=function(Dt,Gt){var Tt=De.state,pn=Tt.expandedKeys,Wn=Tt.keyEntities,ia=De.props.onDragStart,ta=Gt.props.eventKey;De.dragNode=Gt,De.dragStartMousePosition={x:Dt.clientX,y:Dt.clientY};var pa=(0,br._5)(pn,ta);De.setState({draggingNodeKey:ta,dragChildrenKeys:(0,br.wA)(ta,Wn),indent:De.listRef.current.getIndentWidth()}),De.setExpandedKeys(pa),window.addEventListener("dragend",De.onWindowDragEnd),ia==null||ia({event:Dt,node:(0,Mn.F)(Gt.props)})},De.onNodeDragEnter=function(Dt,Gt){var Tt=De.state,pn=Tt.expandedKeys,Wn=Tt.keyEntities,ia=Tt.dragChildrenKeys,ta=Tt.flattenNodes,pa=Tt.indent,Ha=De.props,on=Ha.onDragEnter,Et=Ha.onExpand,nn=Ha.allowDrop,ln=Ha.direction,jn=Gt.props,Sa=jn.pos,Oa=jn.eventKey,ar=(0,ze.Z)(De),Ka=ar.dragNode;if(De.currentMouseOverDroppableNodeKey!==Oa&&(De.currentMouseOverDroppableNodeKey=Oa),!Ka){De.resetDragState();return}var Xa=(0,br.OM)(Dt,Ka,Gt,pa,De.dragStartMousePosition,nn,ta,Wn,pn,ln),gr=Xa.dropPosition,Wa=Xa.dropLevelOffset,Yr=Xa.dropTargetKey,Gr=Xa.dropContainerKey,vo=Xa.dropTargetPos,_r=Xa.dropAllowed,Do=Xa.dragOverNodeKey;if(ia.indexOf(Yr)!==-1||!_r){De.resetDragState();return}if(De.delayedDragEnterLogic||(De.delayedDragEnterLogic={}),Object.keys(De.delayedDragEnterLogic).forEach(function(Ro){clearTimeout(De.delayedDragEnterLogic[Ro])}),Ka.props.eventKey!==Gt.props.eventKey&&(Dt.persist(),De.delayedDragEnterLogic[Sa]=window.setTimeout(function(){if(De.state.draggingNodeKey!==null){var Ro=(0,ke.Z)(pn),eo=(0,ol.Z)(Wn,Gt.props.eventKey);eo&&(eo.children||[]).length&&(Ro=(0,br.L0)(pn,Gt.props.eventKey)),"expandedKeys"in De.props||De.setExpandedKeys(Ro),Et==null||Et(Ro,{node:(0,Mn.F)(Gt.props),expanded:!0,nativeEvent:Dt.nativeEvent})}},800)),Ka.props.eventKey===Yr&&Wa===0){De.resetDragState();return}De.setState({dragOverNodeKey:Do,dropPosition:gr,dropLevelOffset:Wa,dropTargetKey:Yr,dropContainerKey:Gr,dropTargetPos:vo,dropAllowed:_r}),on==null||on({event:Dt,node:(0,Mn.F)(Gt.props),expandedKeys:pn})},De.onNodeDragOver=function(Dt,Gt){var Tt=De.state,pn=Tt.dragChildrenKeys,Wn=Tt.flattenNodes,ia=Tt.keyEntities,ta=Tt.expandedKeys,pa=Tt.indent,Ha=De.props,on=Ha.onDragOver,Et=Ha.allowDrop,nn=Ha.direction,ln=(0,ze.Z)(De),jn=ln.dragNode;if(jn){var Sa=(0,br.OM)(Dt,jn,Gt,pa,De.dragStartMousePosition,Et,Wn,ia,ta,nn),Oa=Sa.dropPosition,ar=Sa.dropLevelOffset,Ka=Sa.dropTargetKey,Xa=Sa.dropContainerKey,gr=Sa.dropAllowed,Wa=Sa.dropTargetPos,Yr=Sa.dragOverNodeKey;pn.indexOf(Ka)!==-1||!gr||(jn.props.eventKey===Ka&&ar===0?De.state.dropPosition===null&&De.state.dropLevelOffset===null&&De.state.dropTargetKey===null&&De.state.dropContainerKey===null&&De.state.dropTargetPos===null&&De.state.dropAllowed===!1&&De.state.dragOverNodeKey===null||De.resetDragState():Oa===De.state.dropPosition&&ar===De.state.dropLevelOffset&&Ka===De.state.dropTargetKey&&Xa===De.state.dropContainerKey&&Wa===De.state.dropTargetPos&&gr===De.state.dropAllowed&&Yr===De.state.dragOverNodeKey||De.setState({dropPosition:Oa,dropLevelOffset:ar,dropTargetKey:Ka,dropContainerKey:Xa,dropTargetPos:Wa,dropAllowed:gr,dragOverNodeKey:Yr}),on==null||on({event:Dt,node:(0,Mn.F)(Gt.props)}))}},De.onNodeDragLeave=function(Dt,Gt){De.currentMouseOverDroppableNodeKey===Gt.props.eventKey&&!Dt.currentTarget.contains(Dt.relatedTarget)&&(De.resetDragState(),De.currentMouseOverDroppableNodeKey=null);var Tt=De.props.onDragLeave;Tt==null||Tt({event:Dt,node:(0,Mn.F)(Gt.props)})},De.onWindowDragEnd=function(Dt){De.onNodeDragEnd(Dt,null,!0),window.removeEventListener("dragend",De.onWindowDragEnd)},De.onNodeDragEnd=function(Dt,Gt){var Tt=De.props.onDragEnd;De.setState({dragOverNodeKey:null}),De.cleanDragState(),Tt==null||Tt({event:Dt,node:(0,Mn.F)(Gt.props)}),De.dragNode=null,window.removeEventListener("dragend",De.onWindowDragEnd)},De.onNodeDrop=function(Dt,Gt){var Tt,pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Wn=De.state,ia=Wn.dragChildrenKeys,ta=Wn.dropPosition,pa=Wn.dropTargetKey,Ha=Wn.dropTargetPos,on=Wn.dropAllowed;if(on){var Et=De.props.onDrop;if(De.setState({dragOverNodeKey:null}),De.cleanDragState(),pa!==null){var nn=(0,Ge.Z)((0,Ge.Z)({},(0,Mn.H8)(pa,De.getTreeNodeRequiredProps())),{},{active:((Tt=De.getActiveItem())===null||Tt===void 0?void 0:Tt.key)===pa,data:(0,ol.Z)(De.state.keyEntities,pa).node}),ln=ia.indexOf(pa)!==-1;(0,a.ZP)(!ln,"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:Dt,node:(0,Mn.F)(nn),dragNode:De.dragNode?(0,Mn.F)(De.dragNode.props):null,dragNodesKeys:[De.dragNode.props.eventKey].concat(ia),dropToGap:ta!==0,dropPosition:ta+Number(jn[jn.length-1])};pn||Et==null||Et(Sa),De.dragNode=null}}},De.cleanDragState=function(){var Dt=De.state.draggingNodeKey;Dt!==null&&De.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),De.dragStartMousePosition=null,De.currentMouseOverDroppableNodeKey=null},De.triggerExpandActionExpand=function(Dt,Gt){var Tt=De.state,pn=Tt.expandedKeys,Wn=Tt.flattenNodes,ia=Gt.expanded,ta=Gt.key,pa=Gt.isLeaf;if(!(pa||Dt.shiftKey||Dt.metaKey||Dt.ctrlKey)){var Ha=Wn.filter(function(Et){return Et.key===ta})[0],on=(0,Mn.F)((0,Ge.Z)((0,Ge.Z)({},(0,Mn.H8)(ta,De.getTreeNodeRequiredProps())),{},{data:Ha.data}));De.setExpandedKeys(ia?(0,br._5)(pn,ta):(0,br.L0)(pn,ta)),De.onNodeExpand(Dt,on)}},De.onNodeClick=function(Dt,Gt){var Tt=De.props,pn=Tt.onClick,Wn=Tt.expandAction;Wn==="click"&&De.triggerExpandActionExpand(Dt,Gt),pn==null||pn(Dt,Gt)},De.onNodeDoubleClick=function(Dt,Gt){var Tt=De.props,pn=Tt.onDoubleClick,Wn=Tt.expandAction;Wn==="doubleClick"&&De.triggerExpandActionExpand(Dt,Gt),pn==null||pn(Dt,Gt)},De.onNodeSelect=function(Dt,Gt){var Tt=De.state.selectedKeys,pn=De.state,Wn=pn.keyEntities,ia=pn.fieldNames,ta=De.props,pa=ta.onSelect,Ha=ta.multiple,on=Gt.selected,Et=Gt[ia.key],nn=!on;nn?Ha?Tt=(0,br.L0)(Tt,Et):Tt=[Et]:Tt=(0,br._5)(Tt,Et);var ln=Tt.map(function(jn){var Sa=(0,ol.Z)(Wn,jn);return Sa?Sa.node:null}).filter(function(jn){return jn});De.setUncontrolledState({selectedKeys:Tt}),pa==null||pa(Tt,{event:"select",selected:nn,node:Gt,selectedNodes:ln,nativeEvent:Dt.nativeEvent})},De.onNodeCheck=function(Dt,Gt,Tt){var pn=De.state,Wn=pn.keyEntities,ia=pn.checkedKeys,ta=pn.halfCheckedKeys,pa=De.props,Ha=pa.checkStrictly,on=pa.onCheck,Et=Gt.key,nn,ln={event:"check",node:Gt,checked:Tt,nativeEvent:Dt.nativeEvent};if(Ha){var jn=Tt?(0,br.L0)(ia,Et):(0,br._5)(ia,Et),Sa=(0,br._5)(ta,Et);nn={checked:jn,halfChecked:Sa},ln.checkedNodes=jn.map(function(Wa){return(0,ol.Z)(Wn,Wa)}).filter(function(Wa){return Wa}).map(function(Wa){return Wa.node}),De.setUncontrolledState({checkedKeys:jn})}else{var Oa=(0,Pl.S)([].concat((0,ke.Z)(ia),[Et]),!0,Wn),ar=Oa.checkedKeys,Ka=Oa.halfCheckedKeys;if(!Tt){var Xa=new Set(ar);Xa.delete(Et);var gr=(0,Pl.S)(Array.from(Xa),{checked:!1,halfCheckedKeys:Ka},Wn);ar=gr.checkedKeys,Ka=gr.halfCheckedKeys}nn=ar,ln.checkedNodes=[],ln.checkedNodesPositions=[],ln.halfCheckedKeys=Ka,ar.forEach(function(Wa){var Yr=(0,ol.Z)(Wn,Wa);if(Yr){var Gr=Yr.node,vo=Yr.pos;ln.checkedNodes.push(Gr),ln.checkedNodesPositions.push({node:Gr,pos:vo})}}),De.setUncontrolledState({checkedKeys:ar},!1,{halfCheckedKeys:Ka})}on==null||on(nn,ln)},De.onNodeLoad=function(Dt){var Gt=Dt.key,Tt=new Promise(function(pn,Wn){De.setState(function(ia){var ta=ia.loadedKeys,pa=ta===void 0?[]:ta,Ha=ia.loadingKeys,on=Ha===void 0?[]:Ha,Et=De.props,nn=Et.loadData,ln=Et.onLoad;if(!nn||pa.indexOf(Gt)!==-1||on.indexOf(Gt)!==-1)return null;var jn=nn(Dt);return jn.then(function(){var Sa=De.state.loadedKeys,Oa=(0,br.L0)(Sa,Gt);ln==null||ln(Oa,{event:"load",node:Dt}),De.setUncontrolledState({loadedKeys:Oa}),De.setState(function(ar){return{loadingKeys:(0,br._5)(ar.loadingKeys,Gt)}}),pn()}).catch(function(Sa){if(De.setState(function(ar){return{loadingKeys:(0,br._5)(ar.loadingKeys,Gt)}}),De.loadingRetryTimes[Gt]=(De.loadingRetryTimes[Gt]||0)+1,De.loadingRetryTimes[Gt]>=Ii){var Oa=De.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),De.setUncontrolledState({loadedKeys:(0,br.L0)(Oa,Gt)}),pn()}Wn(Sa)}),{loadingKeys:(0,br.L0)(on,Gt)}})});return Tt.catch(function(){}),Tt},De.onNodeMouseEnter=function(Dt,Gt){var Tt=De.props.onMouseEnter;Tt==null||Tt({event:Dt,node:Gt})},De.onNodeMouseLeave=function(Dt,Gt){var Tt=De.props.onMouseLeave;Tt==null||Tt({event:Dt,node:Gt})},De.onNodeContextMenu=function(Dt,Gt){var Tt=De.props.onRightClick;Tt&&(Dt.preventDefault(),Tt({event:Dt,node:Gt}))},De.onFocus=function(){var Dt=De.props.onFocus;De.setState({focused:!0});for(var Gt=arguments.length,Tt=new Array(Gt),pn=0;pn<Gt;pn++)Tt[pn]=arguments[pn];Dt==null||Dt.apply(void 0,Tt)},De.onBlur=function(){var Dt=De.props.onBlur;De.setState({focused:!1}),De.onActiveChange(null);for(var Gt=arguments.length,Tt=new Array(Gt),pn=0;pn<Gt;pn++)Tt[pn]=arguments[pn];Dt==null||Dt.apply(void 0,Tt)},De.getTreeNodeRequiredProps=function(){var Dt=De.state,Gt=Dt.expandedKeys,Tt=Dt.selectedKeys,pn=Dt.loadedKeys,Wn=Dt.loadingKeys,ia=Dt.checkedKeys,ta=Dt.halfCheckedKeys,pa=Dt.dragOverNodeKey,Ha=Dt.dropPosition,on=Dt.keyEntities;return{expandedKeys:Gt||[],selectedKeys:Tt||[],loadedKeys:pn||[],loadingKeys:Wn||[],checkedKeys:ia||[],halfCheckedKeys:ta||[],dragOverNodeKey:pa,dropPosition:Ha,keyEntities:on}},De.setExpandedKeys=function(Dt){var Gt=De.state,Tt=Gt.treeData,pn=Gt.fieldNames,Wn=(0,Mn.oH)(Tt,Dt,pn);De.setUncontrolledState({expandedKeys:Dt,flattenNodes:Wn},!0)},De.onNodeExpand=function(Dt,Gt){var Tt=De.state.expandedKeys,pn=De.state,Wn=pn.listChanging,ia=pn.fieldNames,ta=De.props,pa=ta.onExpand,Ha=ta.loadData,on=Gt.expanded,Et=Gt[ia.key];if(!Wn){var nn=Tt.indexOf(Et),ln=!on;if((0,a.ZP)(on&&nn!==-1||!on&&nn===-1,"Expand state not sync with index check"),ln?Tt=(0,br.L0)(Tt,Et):Tt=(0,br._5)(Tt,Et),De.setExpandedKeys(Tt),pa==null||pa(Tt,{node:Gt,expanded:ln,nativeEvent:Dt.nativeEvent}),ln&&Ha){var jn=De.onNodeLoad(Gt);jn&&jn.then(function(){var Sa=(0,Mn.oH)(De.state.treeData,Tt,ia);De.setUncontrolledState({flattenNodes:Sa})}).catch(function(){var Sa=De.state.expandedKeys,Oa=(0,br._5)(Sa,Et);De.setExpandedKeys(Oa)})}}},De.onListChangeStart=function(){De.setUncontrolledState({listChanging:!0})},De.onListChangeEnd=function(){setTimeout(function(){De.setUncontrolledState({listChanging:!1})})},De.onActiveChange=function(Dt){var Gt=De.state.activeKey,Tt=De.props.onActiveChange;Gt!==Dt&&(De.setState({activeKey:Dt}),Dt!==null&&De.scrollTo({key:Dt}),Tt==null||Tt(Dt))},De.getActiveItem=function(){var Dt=De.state,Gt=Dt.activeKey,Tt=Dt.flattenNodes;return Gt===null?null:Tt.find(function(pn){var Wn=pn.key;return Wn===Gt})||null},De.offsetActiveKey=function(Dt){var Gt=De.state,Tt=Gt.flattenNodes,pn=Gt.activeKey,Wn=Tt.findIndex(function(pa){var Ha=pa.key;return Ha===pn});Wn===-1&&Dt<0&&(Wn=Tt.length),Wn=(Wn+Dt+Tt.length)%Tt.length;var ia=Tt[Wn];if(ia){var ta=ia.key;De.onActiveChange(ta)}else De.onActiveChange(null)},De.onKeyDown=function(Dt){var Gt=De.state,Tt=Gt.activeKey,pn=Gt.expandedKeys,Wn=Gt.checkedKeys,ia=Gt.fieldNames,ta=De.props,pa=ta.onKeyDown,Ha=ta.checkable,on=ta.selectable;switch(Dt.which){case ue.UP:{De.offsetActiveKey(-1),Dt.preventDefault();break}case ue.DOWN:{De.offsetActiveKey(1),Dt.preventDefault();break}}var Et=De.getActiveItem();if(Et&&Et.data){var nn=De.getTreeNodeRequiredProps(),ln=Et.data.isLeaf===!1||!!(Et.data[ia.children]||[]).length,jn=(0,Mn.F)((0,Ge.Z)((0,Ge.Z)({},(0,Mn.H8)(Tt,nn)),{},{data:Et.data,active:!0}));switch(Dt.which){case ue.LEFT:{ln&&pn.includes(Tt)?De.onNodeExpand({},jn):Et.parent&&De.onActiveChange(Et.parent.key),Dt.preventDefault();break}case ue.RIGHT:{ln&&!pn.includes(Tt)?De.onNodeExpand({},jn):Et.children&&Et.children.length&&De.onActiveChange(Et.children[0].key),Dt.preventDefault();break}case ue.ENTER:case ue.SPACE:{Ha&&!jn.disabled&&jn.checkable!==!1&&!jn.disableCheckbox?De.onNodeCheck({},jn,!Wn.includes(Tt)):!Ha&&on&&!jn.disabled&&jn.selectable!==!1&&De.onNodeSelect({},jn);break}}}pa==null||pa(Dt)},De.setUncontrolledState=function(Dt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!De.destroyed){var pn=!1,Wn=!0,ia={};Object.keys(Dt).forEach(function(ta){if(ta in De.props){Wn=!1;return}pn=!0,ia[ta]=Dt[ta]}),pn&&(!Gt||Wn)&&De.setState((0,Ge.Z)((0,Ge.Z)({},ia),Tt))}},De.scrollTo=function(Dt){De.listRef.current.scrollTo(Dt)},De}return(0,de.Z)(Vt,[{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,gn=this.state,vn=gn.focused,Dt=gn.flattenNodes,Gt=gn.keyEntities,Tt=gn.draggingNodeKey,pn=gn.activeKey,Wn=gn.dropLevelOffset,ia=gn.dropContainerKey,ta=gn.dropTargetKey,pa=gn.dropPosition,Ha=gn.dragOverNodeKey,on=gn.indent,Et=this.props,nn=Et.prefixCls,ln=Et.className,jn=Et.style,Sa=Et.showLine,Oa=Et.focusable,ar=Et.tabIndex,Ka=ar===void 0?0:ar,Xa=Et.selectable,gr=Et.showIcon,Wa=Et.icon,Yr=Et.switcherIcon,Gr=Et.draggable,vo=Et.checkable,_r=Et.checkStrictly,Do=Et.disabled,Ro=Et.motion,eo=Et.loadData,vi=Et.filterTreeNode,ll=Et.height,Bl=Et.itemHeight,yl=Et.virtual,nl=Et.titleRender,ii=Et.dropIndicatorRender,Ql=Et.onContextMenu,Ml=Et.onScroll,Jl=Et.direction,Zs=Et.rootClassName,bl=Et.rootStyle,zs=(0,y.Z)(this.props,{aria:!0,data:!0}),kl;return Gr&&((0,Te.Z)(Gr)==="object"?kl=Gr:typeof Gr=="function"?kl={nodeDraggable:Gr}:kl={}),x.createElement(b.k.Provider,{value:{prefixCls:nn,selectable:Xa,showIcon:gr,icon:Wa,switcherIcon:Yr,draggable:kl,draggingNodeKey:Tt,checkable:vo,checkStrictly:_r,disabled:Do,keyEntities:Gt,dropLevelOffset:Wn,dropContainerKey:ia,dropTargetKey:ta,dropPosition:pa,dragOverNodeKey:Ha,indent:on,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()(nn,ln,Zs,(zt={},(0,ve.Z)(zt,"".concat(nn,"-show-line"),Sa),(0,ve.Z)(zt,"".concat(nn,"-focused"),vn),(0,ve.Z)(zt,"".concat(nn,"-active-focused"),pn!==null),zt)),style:bl},x.createElement(gl,(0,le.Z)({ref:this.listRef,prefixCls:nn,style:jn,data:Dt,disabled:Do,selectable:Xa,checkable:!!vo,motion:Ro,dragging:Tt!==null,height:ll,itemHeight:Bl,virtual:yl,focusable:Oa,focused:vn,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,gn){var vn=gn.prevProps,Dt={prevProps:zt};function Gt(Oa){return!vn&&Oa in zt||vn&&vn[Oa]!==zt[Oa]}var Tt,pn=gn.fieldNames;if(Gt("fieldNames")&&(pn=(0,Mn.w$)(zt.fieldNames),Dt.fieldNames=pn),Gt("treeData")?Tt=zt.treeData:Gt("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Tt=(0,Mn.zn)(zt.children)),Tt){Dt.treeData=Tt;var Wn=(0,Mn.I8)(Tt,{fieldNames:pn});Dt.keyEntities=(0,Ge.Z)((0,ve.Z)({},va,yn),Wn.keyEntities)}var ia=Dt.keyEntities||gn.keyEntities;if(Gt("expandedKeys")||vn&&Gt("autoExpandParent"))Dt.expandedKeys=zt.autoExpandParent||!vn&&zt.defaultExpandParent?(0,br.r7)(zt.expandedKeys,ia):zt.expandedKeys;else if(!vn&&zt.defaultExpandAll){var ta=(0,Ge.Z)({},ia);delete ta[va],Dt.expandedKeys=Object.keys(ta).map(function(Oa){return ta[Oa].key})}else!vn&&zt.defaultExpandedKeys&&(Dt.expandedKeys=zt.autoExpandParent||zt.defaultExpandParent?(0,br.r7)(zt.defaultExpandedKeys,ia):zt.defaultExpandedKeys);if(Dt.expandedKeys||delete Dt.expandedKeys,Tt||Dt.expandedKeys){var pa=(0,Mn.oH)(Tt||gn.treeData,Dt.expandedKeys||gn.expandedKeys,pn);Dt.flattenNodes=pa}if(zt.selectable&&(Gt("selectedKeys")?Dt.selectedKeys=(0,br.BT)(zt.selectedKeys,zt):!vn&&zt.defaultSelectedKeys&&(Dt.selectedKeys=(0,br.BT)(zt.defaultSelectedKeys,zt))),zt.checkable){var Ha;if(Gt("checkedKeys")?Ha=(0,br.E6)(zt.checkedKeys)||{}:!vn&&zt.defaultCheckedKeys?Ha=(0,br.E6)(zt.defaultCheckedKeys)||{}:Tt&&(Ha=(0,br.E6)(zt.checkedKeys)||{checkedKeys:gn.checkedKeys,halfCheckedKeys:gn.halfCheckedKeys}),Ha){var on=Ha,Et=on.checkedKeys,nn=Et===void 0?[]:Et,ln=on.halfCheckedKeys,jn=ln===void 0?[]:ln;if(!zt.checkStrictly){var Sa=(0,Pl.S)(nn,!0,ia);nn=Sa.checkedKeys,jn=Sa.halfCheckedKeys}Dt.checkedKeys=nn,Dt.halfCheckedKeys=jn}}return Gt("loadedKeys")&&(Dt.loadedKeys=zt.loadedKeys),Dt}}]),Vt}(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),hn=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(Nt,Vt){return x.createElement(mo.Z,(0,le.Z)({},Nt,{ref:Vt,icon:ml}))},In=x.forwardRef(Il),Aa=te(53124),vr=te(50881),Na=te(33603),Lo=te(32157);const Xo=4;function Ai(bt){const{dropPosition:Nt,dropLevelOffset:Vt,prefixCls:De,indent:zt,direction:gn="ltr"}=bt,vn=gn==="ltr"?"left":"right",Dt=gn==="ltr"?"right":"left",Gt={[vn]:-Vt*zt+Xo,[Dt]:0};switch(Nt){case-1:Gt.top=-3;break;case 1:Gt.bottom=-3;break;default:Gt.bottom=-3,Gt[vn]=zt+Xo;break}return x.createElement("div",{style:Gt,className:`${De}-drop-indicator`})}var ji=te(99184),fs=x.forwardRef((bt,Nt)=>{const{getPrefixCls:Vt,direction:De,virtual:zt,tree:gn}=x.useContext(Aa.E_),{prefixCls:vn,className:Dt,showIcon:Gt=!1,showLine:Tt,switcherIcon:pn,blockNode:Wn=!1,children:ia,checkable:ta=!1,selectable:pa=!0,draggable:Ha,motion:on,style:Et}=bt,nn=Vt("tree",vn),ln=Vt(),jn=on!=null?on:Object.assign(Object.assign({},(0,Na.Z)(ln)),{motionAppear:!1}),Sa=Object.assign(Object.assign({},bt),{checkable:ta,selectable:pa,showIcon:Gt,motion:jn,blockNode:Wn,showLine:!!Tt,dropIndicatorRender:Ai}),[Oa,ar]=(0,Lo.ZP)(nn),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:nn,switcherIcon:pn,treeNodeProps:gr,showLine:Tt});return Oa(x.createElement(fl,Object.assign({itemHeight:20,ref:Nt,virtual:zt},Sa,{style:Object.assign(Object.assign({},gn==null?void 0:gn.style),Et),prefixCls:nn,className:je()({[`${nn}-icon-hide`]:!Gt,[`${nn}-block-node`]:Wn,[`${nn}-unselectable`]:!pa,[`${nn}-rtl`]:De==="rtl"},gn==null?void 0:gn.className,Dt,ar),direction:De,checkable:ta&&x.createElement("span",{className:`${nn}-checkbox-inner`}),selectable:pa,switcherIcon:Xa,draggable:Ka}),ia))}),Zi;(function(bt){bt[bt.None=0]="None",bt[bt.Start=1]="Start",bt[bt.End=2]="End"})(Zi||(Zi={}));function Ts(bt,Nt){function Vt(De){const{key:zt,children:gn}=De;Nt(zt,De)!==!1&&Ts(gn||[],Nt)}bt.forEach(Vt)}function dd(bt){let{treeData:Nt,expandedKeys:Vt,startKey:De,endKey:zt}=bt;const gn=[];let vn=Zi.None;if(De&&De===zt)return[De];if(!De||!zt)return[];function Dt(Gt){return Gt===De||Gt===zt}return Ts(Nt,Gt=>{if(vn===Zi.End)return!1;if(Dt(Gt)){if(gn.push(Gt),vn===Zi.None)vn=Zi.Start;else if(vn===Zi.Start)return vn=Zi.End,!1}else vn===Zi.Start&&gn.push(Gt);return Vt.includes(Gt)}),gn}function Ul(bt,Nt){const Vt=(0,ke.Z)(Nt),De=[];return Ts(bt,(zt,gn)=>{const vn=Vt.indexOf(zt);return vn!==-1&&(De.push(gn),Vt.splice(vn,1)),!!Vt.length}),De}var ms=function(bt,Nt){var Vt={};for(var De in bt)Object.prototype.hasOwnProperty.call(bt,De)&&Nt.indexOf(De)<0&&(Vt[De]=bt[De]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,De=Object.getOwnPropertySymbols(bt);zt<De.length;zt++)Nt.indexOf(De[zt])<0&&Object.prototype.propertyIsEnumerable.call(bt,De[zt])&&(Vt[De[zt]]=bt[De[zt]]);return Vt};function is(bt){const{isLeaf:Nt,expanded:Vt}=bt;return Nt?x.createElement(Es.Z,null):Vt?x.createElement(hn.Z,null):x.createElement(In,null)}function vs(bt){let{treeData:Nt,children:Vt}=bt;return Nt||(0,Mn.zn)(Vt)}const Is=(bt,Nt)=>{var{defaultExpandAll:Vt,defaultExpandParent:De,defaultExpandedKeys:zt}=bt,gn=ms(bt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const vn=x.useRef(),Dt=x.useRef(),Gt=()=>{const{keyEntities:Ka}=(0,Mn.I8)(vs(gn));let Xa;return Vt?Xa=Object.keys(Ka):De?Xa=(0,br.r7)(gn.expandedKeys||zt||[],Ka):Xa=gn.expandedKeys||zt,Xa},[Tt,pn]=x.useState(gn.selectedKeys||gn.defaultSelectedKeys||[]),[Wn,ia]=x.useState(()=>Gt());x.useEffect(()=>{"selectedKeys"in gn&&pn(gn.selectedKeys)},[gn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in gn&&ia(gn.expandedKeys)},[gn.expandedKeys]);const ta=(Ka,Xa)=>{var gr;return"expandedKeys"in gn||ia(Ka),(gr=gn.onExpand)===null||gr===void 0?void 0:gr.call(gn,Ka,Xa)},pa=(Ka,Xa)=>{var gr;const{multiple:Wa}=gn,{node:Yr,nativeEvent:Gr}=Xa,{key:vo=""}=Yr,_r=vs(gn),Do=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,vn.current=vo,Dt.current=vi,Do.selectedNodes=Ul(_r,vi)):Wa&&eo?(vi=Array.from(new Set([].concat((0,ke.Z)(Dt.current||[]),(0,ke.Z)(dd({treeData:_r,expandedKeys:Wn,startKey:vo,endKey:vn.current}))))),Do.selectedNodes=Ul(_r,vi)):(vi=[vo],vn.current=vo,Dt.current=vi,Do.selectedNodes=Ul(_r,vi)),(gr=gn.onSelect)===null||gr===void 0||gr.call(gn,vi,Do),"selectedKeys"in gn||pn(vi)},{getPrefixCls:Ha,direction:on}=x.useContext(Aa.E_),{prefixCls:Et,className:nn,showIcon:ln=!0,expandAction:jn="click"}=gn,Sa=ms(gn,["prefixCls","className","showIcon","expandAction"]),Oa=Ha("tree",Et),ar=je()(`${Oa}-directory`,{[`${Oa}-directory-rtl`]:on==="rtl"},nn);return x.createElement(fs,Object.assign({icon:is,ref:Nt,blockNode:!0},Sa,{showIcon:ln,expandAction:jn,prefixCls:Oa,className:ar,expandedKeys:Wn,selectedKeys:Tt,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,wt,te){"use strict";te.d(wt,{TM:function(){return we},Yk:function(){return je}});var le=te(45930),ve=te(63185),Te=te(14747),Ge=te(33507),ke=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,Te.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Te.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName: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,Te.oN)(y)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},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`}}}}})}},tt=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,ke.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[He(ue,E),tt(E)]},we=ue=>{const{controlHeightSM:y}=ue;return{titleHeight:y,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};wt.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,wt,te){"use strict";te.d(wt,{Z:function(){return a}});var le=te(87462),ve=te(67294),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ge=Te,ke=te(74643),Ze=function(b,E){return ve.createElement(ke.Z,(0,le.Z)({},b,{ref:E,icon:Ge}))},de=ve.forwardRef(Ze),ze=te(73148),Ke=te(3407),He=te(34182),tt=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 Le=`${b}-switcher-icon`,be=typeof E=="function"?E(z):E;return(0,ue.l$)(be)?(0,ue.Tm)(be,{className:we()(be.props.className||"",Le)}):be!==void 0?be:ae?ne?ve.createElement(He.Z,{className:`${b}-switcher-line-icon`}):ve.createElement(tt.Z,{className:`${b}-switcher-line-icon`}):ve.createElement(de,{className:Le})}},97909:function(ct){(function(wt,te){ct.exports=te()})(this,function(){"use strict";var wt=1e3,te=6e4,le=36e5,ve="millisecond",Te="second",Ge="minute",ke="hour",Ze="day",de="week",ze="month",Ke="quarter",He="year",tt="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 it=String(be);return!it||it.length>=xe?be:""+Array(xe+1-it.length).join(pe)+be},x={s:a,z:function(be){var xe=-be.utcOffset(),pe=Math.abs(xe),it=Math.floor(pe/60),We=pe%60;return(xe<=0?"+":"-")+a(it,2,"0")+":"+a(We,2,"0")},m:function be(xe,pe){if(xe.date()<pe.date())return-be(pe,xe);var it=12*(pe.year()-xe.year())+(pe.month()-xe.month()),We=xe.clone().add(it,ze),xt=pe-We<0,Je=xe.clone().add(it+(xt?-1:1),ze);return+(-(it+(pe-We)/(xt?We-Je:Je-We))||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:tt,h:ke,m:Ge,s:Te,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,it){var We;if(!xe)return b;if(typeof xe=="string"){var xt=xe.toLowerCase();E[xt]&&(We=xt),pe&&(E[xt]=pe,We=xt);var Je=xe.split("-");if(!We&&Je.length>1)return be(Je[0])}else{var dt=xe.name;E[dt]=xe,We=dt}return!it&&We&&(b=We),We||!it&&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(it){var We=it.date,xt=it.utc;if(We===null)return new Date(NaN);if(fe.u(We))return new Date;if(We instanceof Date)return new Date(We);if(typeof We=="string"&&!/Z$/i.test(We)){var Je=We.match(we);if(Je){var dt=Je[2]-1||0,Mt=(Je[7]||"0").substring(0,3);return xt?new Date(Date.UTC(Je[1],dt,Je[3]||1,Je[4]||0,Je[5]||0,Je[6]||0,Mt)):new Date(Je[1],dt,Je[3]||1,Je[4]||0,Je[5]||0,Je[6]||0,Mt)}}return new Date(We)}(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,it){var We=ne(pe);return this.startOf(it)<=We&&We<=this.endOf(it)},xe.isAfter=function(pe,it){return ne(pe)<this.startOf(it)},xe.isBefore=function(pe,it){return this.endOf(it)<ne(pe)},xe.$g=function(pe,it,We){return fe.u(pe)?this[it]:this.set(We,pe)},xe.unix=function(){return Math.floor(this.valueOf()/1e3)},xe.valueOf=function(){return this.$d.getTime()},xe.startOf=function(pe,it){var We=this,xt=!!fe.u(it)||it,Je=fe.p(pe),dt=function(Ve,Pt){var kt=fe.w(We.$u?Date.UTC(We.$y,Pt,Ve):new Date(We.$y,Pt,Ve),We);return xt?kt:kt.endOf(Ze)},Mt=function(Ve,Pt){return fe.w(We.toDate()[Ve].apply(We.toDate("s"),(xt?[0,0,0,0]:[23,59,59,999]).slice(Pt)),We)},Kt=this.$W,Ft=this.$M,mt=this.$D,Rt="set"+(this.$u?"UTC":"");switch(Je){case He:return xt?dt(1,0):dt(31,11);case ze:return xt?dt(1,Ft):dt(0,Ft+1);case de:var Jt=this.$locale().weekStart||0,an=(Kt<Jt?Kt+7:Kt)-Jt;return dt(xt?mt-an:mt+(6-an),Ft);case Ze:case tt:return Mt(Rt+"Hours",0);case ke:return Mt(Rt+"Minutes",1);case Ge:return Mt(Rt+"Seconds",2);case Te:return Mt(Rt+"Milliseconds",3);default:return this.clone()}},xe.endOf=function(pe){return this.startOf(pe,!1)},xe.$set=function(pe,it){var We,xt=fe.p(pe),Je="set"+(this.$u?"UTC":""),dt=(We={},We[Ze]=Je+"Date",We[tt]=Je+"Date",We[ze]=Je+"Month",We[He]=Je+"FullYear",We[ke]=Je+"Hours",We[Ge]=Je+"Minutes",We[Te]=Je+"Seconds",We[ve]=Je+"Milliseconds",We)[xt],Mt=xt===Ze?this.$D+(it-this.$W):it;if(xt===ze||xt===He){var Kt=this.clone().set(tt,1);Kt.$d[dt](Mt),Kt.init(),this.$d=Kt.set(tt,Math.min(this.$D,Kt.daysInMonth())).$d}else dt&&this.$d[dt](Mt);return this.init(),this},xe.set=function(pe,it){return this.clone().$set(pe,it)},xe.get=function(pe){return this[fe.p(pe)]()},xe.add=function(pe,it){var We,xt=this;pe=Number(pe);var Je=fe.p(it),dt=function(Ft){var mt=ne(xt);return fe.w(mt.date(mt.date()+Math.round(Ft*pe)),xt)};if(Je===ze)return this.set(ze,this.$M+pe);if(Je===He)return this.set(He,this.$y+pe);if(Je===Ze)return dt(1);if(Je===de)return dt(7);var Mt=(We={},We[Ge]=te,We[ke]=le,We[Te]=wt,We)[Je]||1,Kt=this.$d.getTime()+pe*Mt;return fe.w(Kt,this)},xe.subtract=function(pe,it){return this.add(-1*pe,it)},xe.format=function(pe){var it=this,We=this.$locale();if(!this.isValid())return We.invalidDate||je;var xt=pe||"YYYY-MM-DDTHH:mm:ssZ",Je=fe.z(this),dt=this.$H,Mt=this.$m,Kt=this.$M,Ft=We.weekdays,mt=We.months,Rt=We.meridiem,Jt=function(Pt,kt,En,Ye){return Pt&&(Pt[kt]||Pt(it,xt))||En[kt].slice(0,Ye)},an=function(Pt){return fe.s(dt%12||12,Pt,"0")},Ve=Rt||function(Pt,kt,En){var Ye=Pt<12?"AM":"PM";return En?Ye.toLowerCase():Ye};return xt.replace(ue,function(Pt,kt){return kt||function(En){switch(En){case"YY":return String(it.$y).slice(-2);case"YYYY":return fe.s(it.$y,4,"0");case"M":return Kt+1;case"MM":return fe.s(Kt+1,2,"0");case"MMM":return Jt(We.monthsShort,Kt,mt,3);case"MMMM":return Jt(mt,Kt);case"D":return it.$D;case"DD":return fe.s(it.$D,2,"0");case"d":return String(it.$W);case"dd":return Jt(We.weekdaysMin,it.$W,Ft,2);case"ddd":return Jt(We.weekdaysShort,it.$W,Ft,3);case"dddd":return Ft[it.$W];case"H":return String(dt);case"HH":return fe.s(dt,2,"0");case"h":return an(1);case"hh":return an(2);case"a":return Ve(dt,Mt,!0);case"A":return Ve(dt,Mt,!1);case"m":return String(Mt);case"mm":return fe.s(Mt,2,"0");case"s":return String(it.$s);case"ss":return fe.s(it.$s,2,"0");case"SSS":return fe.s(it.$ms,3,"0");case"Z":return Je}return null}(Pt)||Je.replace(":","")})},xe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},xe.diff=function(pe,it,We){var xt,Je=this,dt=fe.p(it),Mt=ne(pe),Kt=(Mt.utcOffset()-this.utcOffset())*te,Ft=this-Mt,mt=function(){return fe.m(Je,Mt)};switch(dt){case He:xt=mt()/12;break;case ze:xt=mt();break;case Ke:xt=mt()/3;break;case de:xt=(Ft-Kt)/6048e5;break;case Ze:xt=(Ft-Kt)/864e5;break;case ke:xt=Ft/le;break;case Ge:xt=Ft/te;break;case Te:xt=Ft/wt;break;default:xt=Ft}return We?xt:fe.a(xt)},xe.daysInMonth=function(){return this.endOf(ze).$D},xe.$locale=function(){return E[this.$L]},xe.locale=function(pe,it){if(!pe)return this.$L;var We=this.clone(),xt=re(pe,it,!0);return xt&&(We.$L=xt),We},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}(),Le=Se.prototype;return ne.prototype=Le,[["$ms",ve],["$s",Te],["$m",Ge],["$H",ke],["$W",Ze],["$M",ze],["$y",He],["$D",tt]].forEach(function(be){Le[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(wt,te){ct.exports=te()})(this,function(){"use strict";return function(wt,te){var le=te.prototype,ve=le.format;le.format=function(Te){var Ge=this,ke=this.$locale();if(!this.isValid())return ve.bind(this)(Te);var Ze=this.$utils(),de=(Te||"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 ke.ordinal(Ge.$D);case"gggg":return Ge.weekYear();case"GGGG":return Ge.isoWeekYear();case"wo":return ke.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(wt,te){ct.exports=te()})(this,function(){"use strict";var wt={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?/,Te=/\d*[^-_:/,()\s\d]+/,Ge={},ke=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:[Te,function(je){this.afternoon=Ke(je,!1)}],a:[Te,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:[Te,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:[Te,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:[Te,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=ke(je)}],YYYY:[/\d{4}/,Ze("year")],Z:de,ZZ:de};function tt(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]||wt[fe]||ue[Se].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Le,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 Le=y[fe];if(typeof Le=="string")Se+=Le.length;else{var be=Le.regex,xe=Le.parser,pe=re.slice(Se),it=be.exec(pe)[0];xe.call(ne,it),re=re.replace(it,"")}}return function(We){var xt=We.afternoon;if(xt!==void 0){var Je=We.hours;xt?Je<12&&(We.hours+=12):Je===12&&(We.hours=0),delete We.afternoon}}(ne),ne}}return function(je,we,ue){ue.p.customParseFormat=!0,je&&je.parseTwoDigitYear&&(ke=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,it,We){try{if(["x","X"].indexOf(it)>-1)return new Date((it==="X"?1e3:1)*pe);var xt=tt(it)(pe),Je=xt.year,dt=xt.month,Mt=xt.day,Kt=xt.hours,Ft=xt.minutes,mt=xt.seconds,Rt=xt.milliseconds,Jt=xt.zone,an=new Date,Ve=Mt||(Je||dt?1:an.getDate()),Pt=Je||an.getFullYear(),kt=0;Je&&!dt||(kt=dt>0?dt-1:an.getMonth());var En=Kt||0,Ye=Ft||0,Lt=mt||0,Ce=Rt||0;return Jt?new Date(Date.UTC(Pt,kt,Ve,En,Ye,Lt,Ce+60*Jt.offset*1e3)):We?new Date(Date.UTC(Pt,kt,Ve,En,Ye,Lt,Ce)):new Date(Pt,kt,Ve,En,Ye,Lt,Ce)}catch(rn){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 Le=ae.length,be=1;be<=Le;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===Le&&(this.$d=new Date(""))}else a.call(this,x)}}})},26850:function(ct){(function(wt,te){ct.exports=te()})(this,function(){"use strict";return function(wt,te,le){var ve=te.prototype,Te=function(ze){return ze&&(ze.indexOf?ze:ze.s)},Ge=function(ze,Ke,He,tt,je){var we=ze.name?ze:ze.$locale(),ue=Te(we[Ke]),y=Te(we[He]),a=ue||y.map(function(b){return b.slice(0,tt)});if(!je)return a;var x=we.weekStart;return a.map(function(b,E){return a[(E+(x||0))%7]})},ke=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(tt,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=ke();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(ke(),"months")},le.monthsShort=function(){return Ge(ke(),"monthsShort","months",3)},le.weekdays=function(ze){return Ge(ke(),"weekdays",null,null,ze)},le.weekdaysShort=function(ze){return Ge(ke(),"weekdaysShort","weekdays",3,ze)},le.weekdaysMin=function(ze){return Ge(ke(),"weekdaysMin","weekdays",2,ze)}}})},23082:function(ct){(function(wt,te){ct.exports=te()})(this,function(){"use strict";var wt="week",te="year";return function(le,ve,Te){var Ge=ve.prototype;Ge.week=function(ke){if(ke===void 0&&(ke=null),ke!==null)return this.add(7*(ke-this.week()),"day");var Ze=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var de=Te(this).startOf(te).add(1,te).date(Ze),ze=Te(this).endOf(wt);if(de.isBefore(ze))return 1}var Ke=Te(this).startOf(te).date(Ze).startOf(wt).subtract(1,"millisecond"),He=this.diff(Ke,wt,!0);return He<0?Te(this).startOf("week").week():Math.ceil(He)},Ge.weeks=function(ke){return ke===void 0&&(ke=null),this.week(ke)}}})},99873:function(ct){(function(wt,te){ct.exports=te()})(this,function(){"use strict";return function(wt,te){te.prototype.weekYear=function(){var le=this.month(),ve=this.week(),Te=this.year();return ve===1&&le===11?Te+1:le===0&&ve>=52?Te-1:Te}}})},33088:function(ct){(function(wt,te){ct.exports=te()})(this,function(){"use strict";return function(wt,te){te.prototype.weekday=function(le){var ve=this.$locale().weekStart||0,Te=this.$W,Ge=(Te<ve?Te+7:Te)-ve;return this.$utils().u(le)?Ge:this.subtract(Ge,"day").add(le,"day")}}})},62661:function(ct,wt){"use strict";var te;var le=Symbol.for("react.element"),ve=Symbol.for("react.portal"),Te=Symbol.for("react.fragment"),Ge=Symbol.for("react.strict_mode"),ke=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"),tt=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 Te:case ke:case Ge:case He:case tt: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=Te,te=we,te=je,te=ve,te=ke,te=Ge,te=He,te=tt,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)===Te},te=function(x){return a(x)===we},wt.isMemo=function(x){return a(x)===je},te=function(x){return a(x)===ve},te=function(x){return a(x)===ke},te=function(x){return a(x)===Ge},te=function(x){return a(x)===He},te=function(x){return a(x)===tt},te=function(x){return typeof x=="string"||typeof x=="function"||x===Te||x===ke||x===Ge||x===He||x===tt||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,wt,te){"use strict";ct.exports=te(62661)},72665:function(ct,wt){"use strict";var te;var le=typeof Symbol=="function"&&Symbol.for,ve=le?Symbol.for("react.element"):60103,Te=le?Symbol.for("react.portal"):60106,Ge=le?Symbol.for("react.fragment"):60107,ke=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,tt=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 ke:case je:return re;default:switch(re=re&&re.$$typeof,re){case ze:case tt:case y:case ue:case de:return re;default:return ne}}case Te:return ne}}}function ae(re){return z(re)===He}te=Ke,te=He,te=ze,te=de,te=ve,te=tt,te=Ge,te=y,te=ue,te=Te,te=Ze,te=ke,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)===tt},te=function(re){return z(re)===Ge},te=function(re){return z(re)===y},wt.isMemo=function(re){return z(re)===ue},te=function(re){return z(re)===Te},te=function(re){return z(re)===Ze},te=function(re){return z(re)===ke},te=function(re){return z(re)===je},te=function(re){return typeof re=="string"||typeof re=="function"||re===Ge||re===He||re===Ze||re===ke||re===je||re===we||typeof re=="object"&&re!==null&&(re.$$typeof===y||re.$$typeof===ue||re.$$typeof===de||re.$$typeof===ze||re.$$typeof===tt||re.$$typeof===x||re.$$typeof===b||re.$$typeof===E||re.$$typeof===a)},te=z},12060:function(ct,wt,te){"use strict";ct.exports=te(72665)},15633:function(ct,wt){"use strict";var te;var le=typeof Symbol=="function"&&Symbol.for,ve=le?Symbol.for("react.element"):60103,Te=le?Symbol.for("react.portal"):60106,Ge=le?Symbol.for("react.fragment"):60107,ke=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,tt=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 ke:case je:return re;default:switch(re=re&&re.$$typeof,re){case ze:case tt:case y:case ue:case de:return re;default:return ne}}case Te:return ne}}}function ae(re){return z(re)===He}te=Ke,te=He,te=ze,te=de,te=ve,te=tt,te=Ge,te=y,te=ue,te=Te,te=Ze,te=ke,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)===tt},te=function(re){return z(re)===Ge},te=function(re){return z(re)===y},wt.isMemo=function(re){return z(re)===ue},te=function(re){return z(re)===Te},te=function(re){return z(re)===Ze},te=function(re){return z(re)===ke},te=function(re){return z(re)===je},te=function(re){return typeof re=="string"||typeof re=="function"||re===Ge||re===He||re===Ze||re===ke||re===je||re===we||typeof re=="object"&&re!==null&&(re.$$typeof===y||re.$$typeof===ue||re.$$typeof===de||re.$$typeof===ze||re.$$typeof===tt||re.$$typeof===x||re.$$typeof===b||re.$$typeof===E||re.$$typeof===a)},te=z},49286:function(ct,wt,te){"use strict";ct.exports=te(15633)},56261:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return Se}});var le=te(87462),ve=te(4942),Te=te(45987),Ge=te(1413),ke=te(15671),Ze=te(43144),de=te(97326),ze=te(60136),Ke=te(51630),He=te(94184),tt=te.n(He),je=te(34952),we=te(67294),ue=te(69610),y=function(be){for(var xe=be.prefixCls,pe=be.level,it=be.isStart,We=be.isEnd,xt="".concat(xe,"-indent-unit"),Je=[],dt=0;dt<pe;dt+=1){var Mt;Je.push(we.createElement("span",{key:dt,className:tt()(xt,(Mt={},(0,ve.Z)(Mt,"".concat(xt,"-start"),it[dt]),(0,ve.Z)(Mt,"".concat(xt,"-end"),We[dt]),Mt))}))}return we.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},Je)},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(Le){(0,ze.Z)(xe,Le);var be=(0,Ke.Z)(xe);function xe(){var pe;(0,ke.Z)(this,xe);for(var it=arguments.length,We=new Array(it),xt=0;xt<it;xt++)We[xt]=arguments[xt];return pe=be.call.apply(be,[this].concat(We)),pe.state={dragNodeHighlight:!1},pe.selectHandle=void 0,pe.cacheIndent=void 0,pe.onSelectorClick=function(Je){var dt=pe.props.context.onNodeClick;dt(Je,(0,b.F)(pe.props)),pe.isSelectable()?pe.onSelect(Je):pe.onCheck(Je)},pe.onSelectorDoubleClick=function(Je){var dt=pe.props.context.onNodeDoubleClick;dt(Je,(0,b.F)(pe.props))},pe.onSelect=function(Je){if(!pe.isDisabled()){var dt=pe.props.context.onNodeSelect;dt(Je,(0,b.F)(pe.props))}},pe.onCheck=function(Je){if(!pe.isDisabled()){var dt=pe.props,Mt=dt.disableCheckbox,Kt=dt.checked,Ft=pe.props.context.onNodeCheck;if(!(!pe.isCheckable()||Mt)){var mt=!Kt;Ft(Je,(0,b.F)(pe.props),mt)}}},pe.onMouseEnter=function(Je){var dt=pe.props.context.onNodeMouseEnter;dt(Je,(0,b.F)(pe.props))},pe.onMouseLeave=function(Je){var dt=pe.props.context.onNodeMouseLeave;dt(Je,(0,b.F)(pe.props))},pe.onContextMenu=function(Je){var dt=pe.props.context.onNodeContextMenu;dt(Je,(0,b.F)(pe.props))},pe.onDragStart=function(Je){var dt=pe.props.context.onNodeDragStart;Je.stopPropagation(),pe.setState({dragNodeHighlight:!0}),dt(Je,(0,de.Z)(pe));try{Je.dataTransfer.setData("text/plain","")}catch(Mt){}},pe.onDragEnter=function(Je){var dt=pe.props.context.onNodeDragEnter;Je.preventDefault(),Je.stopPropagation(),dt(Je,(0,de.Z)(pe))},pe.onDragOver=function(Je){var dt=pe.props.context.onNodeDragOver;Je.preventDefault(),Je.stopPropagation(),dt(Je,(0,de.Z)(pe))},pe.onDragLeave=function(Je){var dt=pe.props.context.onNodeDragLeave;Je.stopPropagation(),dt(Je,(0,de.Z)(pe))},pe.onDragEnd=function(Je){var dt=pe.props.context.onNodeDragEnd;Je.stopPropagation(),pe.setState({dragNodeHighlight:!1}),dt(Je,(0,de.Z)(pe))},pe.onDrop=function(Je){var dt=pe.props.context.onNodeDrop;Je.preventDefault(),Je.stopPropagation(),pe.setState({dragNodeHighlight:!1}),dt(Je,(0,de.Z)(pe))},pe.onExpand=function(Je){var dt=pe.props,Mt=dt.loading,Kt=dt.context.onNodeExpand;Mt||Kt(Je,(0,b.F)(pe.props))},pe.setSelectHandle=function(Je){pe.selectHandle=Je},pe.getNodeState=function(){var Je=pe.props.expanded;return pe.isLeaf()?null:Je?z:ae},pe.hasChildren=function(){var Je=pe.props.eventKey,dt=pe.props.context.keyEntities,Mt=(0,x.Z)(dt,Je)||{},Kt=Mt.children;return!!(Kt||[]).length},pe.isLeaf=function(){var Je=pe.props,dt=Je.isLeaf,Mt=Je.loaded,Kt=pe.props.context.loadData,Ft=pe.hasChildren();return dt===!1?!1:dt||!Kt&&!Ft||Kt&&Mt&&!Ft},pe.isDisabled=function(){var Je=pe.props.disabled,dt=pe.props.context.disabled;return!!(dt||Je)},pe.isCheckable=function(){var Je=pe.props.checkable,dt=pe.props.context.checkable;return!dt||Je===!1?!1:dt},pe.syncLoadData=function(Je){var dt=Je.expanded,Mt=Je.loading,Kt=Je.loaded,Ft=pe.props.context,mt=Ft.loadData,Rt=Ft.onNodeLoad;Mt||mt&&dt&&!pe.isLeaf()&&!pe.hasChildren()&&!Kt&&Rt((0,b.F)(pe.props))},pe.isDraggable=function(){var Je=pe.props,dt=Je.data,Mt=Je.context.draggable;return!!(Mt&&(!Mt.nodeDraggable||Mt.nodeDraggable(dt)))},pe.renderDragHandler=function(){var Je=pe.props.context,dt=Je.draggable,Mt=Je.prefixCls;return dt!=null&&dt.icon?we.createElement("span",{className:"".concat(Mt,"-draggable-icon")},dt.icon):null},pe.renderSwitcherIconDom=function(Je){var dt=pe.props.switcherIcon,Mt=pe.props.context.switcherIcon,Kt=dt||Mt;return typeof Kt=="function"?Kt((0,Ge.Z)((0,Ge.Z)({},pe.props),{},{isLeaf:Je})):Kt},pe.renderSwitcher=function(){var Je=pe.props.expanded,dt=pe.props.context.prefixCls;if(pe.isLeaf()){var Mt=pe.renderSwitcherIconDom(!0);return Mt!==!1?we.createElement("span",{className:tt()("".concat(dt,"-switcher"),"".concat(dt,"-switcher-noop"))},Mt):null}var Kt=tt()("".concat(dt,"-switcher"),"".concat(dt,"-switcher_").concat(Je?z:ae)),Ft=pe.renderSwitcherIconDom(!1);return Ft!==!1?we.createElement("span",{onClick:pe.onExpand,className:Kt},Ft):null},pe.renderCheckbox=function(){var Je=pe.props,dt=Je.checked,Mt=Je.halfChecked,Kt=Je.disableCheckbox,Ft=pe.props.context.prefixCls,mt=pe.isDisabled(),Rt=pe.isCheckable();if(!Rt)return null;var Jt=typeof Rt!="boolean"?Rt:null;return we.createElement("span",{className:tt()("".concat(Ft,"-checkbox"),dt&&"".concat(Ft,"-checkbox-checked"),!dt&&Mt&&"".concat(Ft,"-checkbox-indeterminate"),(mt||Kt)&&"".concat(Ft,"-checkbox-disabled")),onClick:pe.onCheck},Jt)},pe.renderIcon=function(){var Je=pe.props.loading,dt=pe.props.context.prefixCls;return we.createElement("span",{className:tt()("".concat(dt,"-iconEle"),"".concat(dt,"-icon__").concat(pe.getNodeState()||"docu"),Je&&"".concat(dt,"-icon_loading"))})},pe.renderSelector=function(){var Je=pe.state.dragNodeHighlight,dt=pe.props,Mt=dt.title,Kt=Mt===void 0?re:Mt,Ft=dt.selected,mt=dt.icon,Rt=dt.loading,Jt=dt.data,an=pe.props.context,Ve=an.prefixCls,Pt=an.showIcon,kt=an.icon,En=an.loadData,Ye=an.titleRender,Lt=pe.isDisabled(),Ce="".concat(Ve,"-node-content-wrapper"),rn;if(Pt){var fn=mt||kt;rn=fn?we.createElement("span",{className:tt()("".concat(Ve,"-iconEle"),"".concat(Ve,"-icon__customize"))},typeof fn=="function"?fn(pe.props):fn):pe.renderIcon()}else En&&Rt&&(rn=pe.renderIcon());var ua;typeof Kt=="function"?ua=Kt(Jt):Ye?ua=Ye(Jt):ua=Kt;var An=we.createElement("span",{className:"".concat(Ve,"-title")},ua);return we.createElement("span",{ref:pe.setSelectHandle,title:typeof Kt=="string"?Kt:"",className:tt()("".concat(Ce),"".concat(Ce,"-").concat(pe.getNodeState()||"normal"),!Lt&&(Ft||Je)&&"".concat(Ve,"-node-selected")),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,onContextMenu:pe.onContextMenu,onClick:pe.onSelectorClick,onDoubleClick:pe.onSelectorDoubleClick},rn,An,pe.renderDropIndicator())},pe.renderDropIndicator=function(){var Je=pe.props,dt=Je.disabled,Mt=Je.eventKey,Kt=pe.props.context,Ft=Kt.draggable,mt=Kt.dropLevelOffset,Rt=Kt.dropPosition,Jt=Kt.prefixCls,an=Kt.indent,Ve=Kt.dropIndicatorRender,Pt=Kt.dragOverNodeKey,kt=Kt.direction,En=!!Ft,Ye=!dt&&En&&Pt===Mt,Lt=an!=null?an:pe.cacheIndent;return pe.cacheIndent=an,Ye?Ve({dropPosition:Rt,dropLevelOffset:mt,indent:Lt,prefixCls:Jt,direction:kt}):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 it=this.props.selectable,We=this.props.context.selectable;return typeof it=="boolean"?it:We}},{key:"render",value:function(){var it,We=this.props,xt=We.eventKey,Je=We.className,dt=We.style,Mt=We.dragOver,Kt=We.dragOverGapTop,Ft=We.dragOverGapBottom,mt=We.isLeaf,Rt=We.isStart,Jt=We.isEnd,an=We.expanded,Ve=We.selected,Pt=We.checked,kt=We.halfChecked,En=We.loading,Ye=We.domRef,Lt=We.active,Ce=We.data,rn=We.onMouseMove,fn=We.selectable,ua=(0,Te.Z)(We,E),An=this.props.context,gt=An.prefixCls,Me=An.filterTreeNode,Be=An.keyEntities,vt=An.dropContainerKey,Ot=An.dropTargetKey,jt=An.draggingNodeKey,sn=this.isDisabled(),On=(0,je.Z)(ua,{aria:!0,data:!0}),Gn=(0,x.Z)(Be,xt)||{},bn=Gn.level,ga=Jt[Jt.length-1],Ie=this.isDraggable(),rt=!sn&&Ie,Yn=jt===xt,Dn=fn!==void 0?{"aria-selected":!!fn}:void 0;return we.createElement("div",(0,le.Z)({ref:Ye,className:tt()(Je,"".concat(gt,"-treenode"),(it={},(0,ve.Z)(it,"".concat(gt,"-treenode-disabled"),sn),(0,ve.Z)(it,"".concat(gt,"-treenode-switcher-").concat(an?"open":"close"),!mt),(0,ve.Z)(it,"".concat(gt,"-treenode-checkbox-checked"),Pt),(0,ve.Z)(it,"".concat(gt,"-treenode-checkbox-indeterminate"),kt),(0,ve.Z)(it,"".concat(gt,"-treenode-selected"),Ve),(0,ve.Z)(it,"".concat(gt,"-treenode-loading"),En),(0,ve.Z)(it,"".concat(gt,"-treenode-active"),Lt),(0,ve.Z)(it,"".concat(gt,"-treenode-leaf-last"),ga),(0,ve.Z)(it,"".concat(gt,"-treenode-draggable"),Ie),(0,ve.Z)(it,"dragging",Yn),(0,ve.Z)(it,"drop-target",Ot===xt),(0,ve.Z)(it,"drop-container",vt===xt),(0,ve.Z)(it,"drag-over",!sn&&Mt),(0,ve.Z)(it,"drag-over-gap-top",!sn&&Kt),(0,ve.Z)(it,"drag-over-gap-bottom",!sn&&Ft),(0,ve.Z)(it,"filter-node",Me&&Me((0,b.F)(this.props))),it)),style:dt,draggable:rt,"aria-grabbed":Yn,onDragStart:rt?this.onDragStart:void 0,onDragEnter:Ie?this.onDragEnter:void 0,onDragOver:Ie?this.onDragOver:void 0,onDragLeave:Ie?this.onDragLeave:void 0,onDrop:Ie?this.onDrop:void 0,onDragEnd:Ie?this.onDragEnd:void 0,onMouseMove:rn},Dn,On),we.createElement(a,{prefixCls:gt,level:bn,isStart:Rt,isEnd:Jt}),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,wt,te){"use strict";te.d(wt,{k:function(){return ve}});var le=te(67294),ve=le.createContext(null)},29873:function(ct,wt,te){"use strict";te.d(wt,{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 tt}});var le=te(74902),ve=te(71002),Te=te(72978),Ge=te(67294),ke=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 tt(ae){return ae.split("-")}function je(ae,re){var ne=[],fe=(0,Ze.Z)(re,ae);function Se(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Le.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=tt(ae.pos);return Number(re[re.length-1])===ae.parent.children.length-1}return!1}function ue(ae){var re=tt(ae.pos);return Number(re[re.length-1])===0}function y(ae,re,ne,fe,Se,Le,be,xe,pe,it){var We,xt=ae.clientX,Je=ae.clientY,dt=ae.target.getBoundingClientRect(),Mt=dt.top,Kt=dt.height,Ft=(it==="rtl"?-1:1)*(((Se==null?void 0:Se.x)||0)-xt),mt=(Ft-12)/fe,Rt=(0,Ze.Z)(xe,ne.props.eventKey);if(Je<Mt+Kt/2){var Jt=be.findIndex(function(An){return An.key===Rt.key}),an=Jt<=0?0:Jt-1,Ve=be[an].key;Rt=(0,Ze.Z)(xe,Ve)}var Pt=Rt.key,kt=Rt,En=Rt.key,Ye=0,Lt=0;if(!pe.includes(Pt))for(var Ce=0;Ce<mt&&we(Rt);Ce+=1)Rt=Rt.parent,Lt+=1;var rn=re.props.data,fn=Rt.node,ua=!0;return ue(Rt)&&Rt.level===0&&Je<Mt+Kt/2&&Le({dragNode:rn,dropNode:fn,dropPosition:-1})&&Rt.key===ne.props.eventKey?Ye=-1:(kt.children||[]).length&&pe.includes(En)?Le({dragNode:rn,dropNode:fn,dropPosition:0})?Ye=0:ua=!1:Lt===0?mt>-1.5?Le({dragNode:rn,dropNode:fn,dropPosition:1})?Ye=1:ua=!1:Le({dragNode:rn,dropNode:fn,dropPosition:0})?Ye=0:Le({dragNode:rn,dropNode:fn,dropPosition:1})?Ye=1:ua=!1:Le({dragNode:rn,dropNode:fn,dropPosition:1})?Ye=1:ua=!1,{dropPosition:Ye,dropLevelOffset:Lt,dropTargetKey:Rt.key,dropTargetPos:Rt.pos,dragOverNodeKey:En,dropContainerKey:Ye===0?null:((We=Rt.parent)===null||We===void 0?void 0:We.key)||null,dropAllowed:ua}}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,Le=Array.isArray(ae)?ae:[ae];return Le.map(function(be){var xe=be.children,pe=_objectWithoutProperties(be,ze),it=b(xe,re);return React.createElement(TreeNode,_extends({key:pe.key},Se(pe)),it)})}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,Te.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 Le=(0,Ze.Z)(re,Se);if(Le){ne.add(Se);var be=Le.parent,xe=Le.node;xe.disabled||be&&fe(be.key)}}}return(ae||[]).forEach(function(Se){fe(Se)}),(0,le.Z)(ne)}},97153:function(ct,wt,te){"use strict";te.d(wt,{S:function(){return de}});var le=te(72978),ve=te(3596);function Te(ze,Ke){var He=new Set;return ze.forEach(function(tt){Ke.has(tt)||He.add(tt)}),He}function Ge(ze){var Ke=ze||{},He=Ke.disabled,tt=Ke.disableCheckbox,je=Ke.checkable;return!!(He||tt)||je===!1}function ke(ze,Ke,He,tt){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)&&!tt(ae)&&ne.filter(function(fe){return!tt(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(!(tt(ae)||!E.parent||a.has(E.parent.key))){if(tt(E.parent.node)){a.add(z.key);return}var re=!0,ne=!1;(z.children||[]).filter(function(fe){return!tt(fe.node)}).forEach(function(fe){var Se=fe.key,Le=je.has(Se);re&&!Le&&(re=!1),!ne&&(Le||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(Te(we,je))}}function Ze(ze,Ke,He,tt,je){for(var we=new Set(ze),ue=new Set(Ke),y=0;y<=tt;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=tt;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 Le=Se.key,be=we.has(Le);ne&&!be&&(ne=!1),!fe&&(be||ue.has(Le))&&(fe=!0)}),ne||we.delete(ae.key),fe&&ue.add(ae.key),x.add(ae.key)}})}return{checkedKeys:Array.from(we),halfCheckedKeys:Array.from(Te(ue,we))}}function de(ze,Ke,He,tt){var je=[],we;tt?we=tt: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=ke(ue,y,a,we):x=Ze(ue,Ke.halfCheckedKeys,y,a,we),x}},3596:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return le}});function le(ve,Te){return ve[Te]}},83898:function(ct,wt,te){"use strict";te.d(wt,{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),Te=te(1413),Ge=te(45987),ke=te(67294),Ze=te(28580);function de(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Se=[];return ke.Children.forEach(ne,function(Le){Le==null&&!fe.keepEmpty||(Array.isArray(Le)?Se=Se.concat(de(Le)):(0,Ze.isFragment)(Le)&&Le.props?Se=Se.concat(de(Le.props.children,fe)):Se.push(Le))}),Se}function ze(ne,fe){var Se=(0,Te.Z)({},ne);return Array.isArray(fe)&&fe.forEach(function(Le){delete Se[Le]}),Se}var Ke=te(72978),He=te(3596),tt=["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,Le=fe._title,be=fe.key,xe=fe.children,pe=Se||"title";return{title:pe,_title:Le||[pe],key:be||"key",children:xe||"children"}}function a(ne,fe){var Se=new Map;function Le(be){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(pe){var it=pe[fe.key],We=pe[fe.children];warning(it!=null,"Tree node must have a certain key: [".concat(xe).concat(it,"]"));var xt=String(it);warning(!Se.has(xt)||it===null||it===void 0,"Same 'key' exist in the Tree: ".concat(xt)),Se.set(xt,!0),Le(We,"".concat(xe).concat(xt," > "))})}Le(ne)}function x(ne){function fe(Se){var Le=de(Se);return Le.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,it=pe.children,We=(0,Ge.Z)(pe,tt),xt=(0,Te.Z)({key:xe},We),Je=fe(it);return Je.length&&(xt.children=Je),xt}).filter(function(be){return be})}return fe(ne)}function b(ne,fe,Se){var Le=y(Se),be=Le._title,xe=Le.key,pe=Le.children,it=new Set(fe===!0?[]:fe),We=[];function xt(Je){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Je.map(function(Mt,Kt){for(var Ft=je(dt?dt.pos:"0",Kt),mt=ue(Mt[xe],Ft),Rt,Jt=0;Jt<be.length;Jt+=1){var an=be[Jt];if(Mt[an]!==void 0){Rt=Mt[an];break}}var Ve=(0,Te.Z)((0,Te.Z)({},ze(Mt,[].concat((0,ve.Z)(be),[xe,pe]))),{},{title:Rt,key:mt,parent:dt,pos:Ft,children:null,data:Mt,isStart:[].concat((0,ve.Z)(dt?dt.isStart:[]),[Kt===0]),isEnd:[].concat((0,ve.Z)(dt?dt.isEnd:[]),[Kt===Je.length-1])});return We.push(Ve),fe===!0||it.has(mt)?Ve.children=xt(Mt[pe]||[],Ve):Ve.children=[],Ve})}return xt(ne),We}function E(ne,fe,Se){var Le={};(0,le.Z)(Se)==="object"?Le=Se:Le={externalGetKey:Se},Le=Le||{};var be=Le,xe=be.childrenPropName,pe=be.externalGetKey,it=be.fieldNames,We=y(it),xt=We.key,Je=We.children,dt=xe||Je,Mt;pe?typeof pe=="string"?Mt=function(mt){return mt[pe]}:typeof pe=="function"&&(Mt=function(mt){return pe(mt)}):Mt=function(mt,Rt){return ue(mt[xt],Rt)};function Kt(Ft,mt,Rt,Jt){var an=Ft?Ft[dt]:ne,Ve=Ft?je(Rt.pos,mt):"0",Pt=Ft?[].concat((0,ve.Z)(Jt),[Ft]):[];if(Ft){var kt=Mt(Ft,Ve),En={node:Ft,index:mt,pos:Ve,key:kt,parentPos:Rt.node?Rt.pos:null,level:Rt.level+1,nodes:Pt};fe(En)}an&&an.forEach(function(Ye,Lt){Kt(Ye,Lt,{node:Ft,pos:Ve,level:Rt?Rt.level+1:-1},Pt)})}Kt(null)}function z(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Se=fe.initWrapper,Le=fe.processEntity,be=fe.onProcessFinished,xe=fe.externalGetKey,pe=fe.childrenPropName,it=fe.fieldNames,We=arguments.length>2?arguments[2]:void 0,xt=xe||We,Je={},dt={},Mt={posEntities:Je,keyEntities:dt};return Se&&(Mt=Se(Mt)||Mt),E(ne,function(Kt){var Ft=Kt.node,mt=Kt.index,Rt=Kt.pos,Jt=Kt.key,an=Kt.parentPos,Ve=Kt.level,Pt=Kt.nodes,kt={node:Ft,nodes:Pt,index:mt,key:Jt,pos:Rt,level:Ve},En=ue(Jt,Rt);Je[Rt]=kt,dt[En]=kt,kt.parent=Je[an],kt.parent&&(kt.parent.children=kt.parent.children||[],kt.parent.children.push(kt)),Le&&Le(kt,Mt)},{externalGetKey:xt,childrenPropName:pe,fieldNames:it}),be&&be(Mt),Mt}function ae(ne,fe){var Se=fe.expandedKeys,Le=fe.selectedKeys,be=fe.loadedKeys,xe=fe.loadingKeys,pe=fe.checkedKeys,it=fe.halfCheckedKeys,We=fe.dragOverNodeKey,xt=fe.dropPosition,Je=fe.keyEntities,dt=(0,He.Z)(Je,ne),Mt={eventKey:ne,expanded:Se.indexOf(ne)!==-1,selected:Le.indexOf(ne)!==-1,loaded:be.indexOf(ne)!==-1,loading:xe.indexOf(ne)!==-1,checked:pe.indexOf(ne)!==-1,halfChecked:it.indexOf(ne)!==-1,pos:String(dt?dt.pos:""),dragOver:We===ne&&xt===0,dragOverGapTop:We===ne&&xt===-1,dragOverGapBottom:We===ne&&xt===1};return Mt}function re(ne){var fe=ne.data,Se=ne.expanded,Le=ne.selected,be=ne.checked,xe=ne.loaded,pe=ne.loading,it=ne.halfChecked,We=ne.dragOver,xt=ne.dragOverGapTop,Je=ne.dragOverGapBottom,dt=ne.pos,Mt=ne.active,Kt=ne.eventKey,Ft=(0,Te.Z)((0,Te.Z)({},fe),{},{expanded:Se,selected:Le,checked:be,loaded:xe,loading:pe,halfChecked:it,dragOver:We,dragOverGapTop:xt,dragOverGapBottom:Je,pos:dt,active:Mt,key:Kt});return"props"in Ft||Object.defineProperty(Ft,"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}}),Ft}},34952:function(ct,wt,te){"use strict";te.d(wt,{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`,Te=`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(Te).split(/[\s\n]+/),ke="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,tt;He===!1?tt={aria:!0,data:!0,attr:!0}:He===!0?tt={aria:!0}:tt=(0,le.Z)({},He);var je={};return Object.keys(Ke).forEach(function(we){(tt.aria&&(we==="role"||de(we,ke))||tt.data&&de(we,Ze)||tt.attr&&Ge.includes(we))&&(je[we]=Ke[we])}),je}},72978:function(ct,wt,te){"use strict";var le={};function ve(ze,Ke){}function Te(ze,Ke){}function Ge(){le={}}function ke(ze,Ke,He){!Ke&&!le[He]&&(ze(!1,He),le[He]=!0)}function Ze(ze,Ke){ke(ve,ze,Ke)}function de(ze,Ke){ke(Te,ze,Ke)}wt.ZP=Ze},81533:function(ct,wt){"use strict";var te;var le=typeof Symbol=="function"&&Symbol.for,ve=le?Symbol.for("react.element"):60103,Te=le?Symbol.for("react.portal"):60106,Ge=le?Symbol.for("react.fragment"):60107,ke=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,tt=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 ke:case je:return re;default:switch(re=re&&re.$$typeof,re){case ze:case tt:case y:case ue:case de:return re;default:return ne}}case Te:return ne}}}function ae(re){return z(re)===He}te=Ke,te=He,te=ze,te=de,te=ve,te=tt,te=Ge,te=y,te=ue,te=Te,te=Ze,te=ke,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)===tt},wt.isFragment=function(re){return z(re)===Ge},te=function(re){return z(re)===y},wt.isMemo=function(re){return z(re)===ue},te=function(re){return z(re)===Te},te=function(re){return z(re)===Ze},te=function(re){return z(re)===ke},te=function(re){return z(re)===je},te=function(re){return typeof re=="string"||typeof re=="function"||re===Ge||re===He||re===Ze||re===ke||re===je||re===we||typeof re=="object"&&re!==null&&(re.$$typeof===y||re.$$typeof===ue||re.$$typeof===de||re.$$typeof===ze||re.$$typeof===tt||re.$$typeof===x||re.$$typeof===b||re.$$typeof===E||re.$$typeof===a)},te=z},28580:function(ct,wt,te){"use strict";ct.exports=te(81533)},92389:function(ct,wt){"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 Te=ve.keyCode;if(ve.altKey&&!ve.ctrlKey||ve.metaKey||Te>=te.F1&&Te<=te.F12)return!1;switch(Te){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}}};wt.Z=te},46762:function(ct,wt){"use strict";var te;var le=Symbol.for("react.element"),ve=Symbol.for("react.portal"),Te=Symbol.for("react.fragment"),Ge=Symbol.for("react.strict_mode"),ke=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"),tt=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 Te:case ke:case Ge:case He:case tt: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=Te,te=we,te=je,te=ve,te=ke,te=Ge,te=He,te=tt,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},wt.isFragment=function(x){return a(x)===Te},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)===ke},te=function(x){return a(x)===Ge},te=function(x){return a(x)===He},te=function(x){return a(x)===tt},te=function(x){return typeof x=="string"||typeof x=="function"||x===Te||x===ke||x===Ge||x===He||x===tt||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,wt,te){"use strict";ct.exports=te(46762)},64217:function(ct,wt,te){"use strict";te.d(wt,{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`,Te=`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(Te).split(/[\s\n]+/),ke="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,tt;He===!1?tt={aria:!0,data:!0,attr:!0}:He===!0?tt={aria:!0}:tt=(0,le.Z)({},He);var je={};return Object.keys(Ke).forEach(function(we){(tt.aria&&(we==="role"||de(we,ke))||tt.data&&de(we,Ze)||tt.attr&&Ge.includes(we))&&(je[we]=Ke[we])}),je}},96908:function(ct){"use strict";ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rK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D3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(ct,wt,te){"use strict";te.d(wt,{Z:function(){return le}});function le(ve){if(ve==null)throw new TypeError("Cannot destructure "+ve)}}}]);
|