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.
NewEduCoderBuild/p__Declaration__Research__P...

349 lines
997 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[5301],{33463:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},28575:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},84249:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},81893:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},90674:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},73148:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},56747:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},50881:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},22751:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},34182:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},74664:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},91034:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Ke,He){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:He,icon:ze}))},se=me.forwardRef(Te)},71736:function(ht,Et){"use strict";Et.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},18023:function(){"use strict";function ht(ce,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ce,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ht.prototype,"name",{get:function(){return this._name},set:function(ce){if(typeof ce!="string"||ce==="")throw new Error("Shape name must be a valid string.");this._name=ce}}),Object.defineProperty(ht.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ce){if(typeof ce!="number"||isNaN(ce))throw new Error("The default value must be a real number, not: "+ce);this._defaultValue=ce}}),Object.defineProperty(ht.prototype,"minimum",{get:function(){return this._minimum},set:function(ce){if(typeof ce!="number"||isNaN(ce))throw new Error("Minimum must be a real number, not: "+ce);this._minimum=ce}}),Object.defineProperty(ht.prototype,"maximum",{get:function(){return this._maximum},set:function(ce){if(typeof ce!="number"||isNaN(ce))throw new Error("Maximum must be a real number, not: "+ce);this._maximum=ce}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ce,a){var y=go.Shape._FigureParameters[ce];return y?y[a]:null},go.Shape.setFigureParameter=function(ce,a,y){if(!(y instanceof ht))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ce];x||(x=[],go.Shape._FigureParameters[ce]=x),x[a]=y};var Et=[];function ee(ce,a){var y=Et.pop();return y===void 0?new go.Point(ce,a):(y.x=ce,y.y=a,y)}function ae(){var ce=Et.pop();return ce===void 0?new go.Point:ce}function me(ce){Et.push(ce)}function Re(ce,a,y,x,b,E,z,re,oe){oe||(oe=new go.Point);var ne=ce-y,fe=b-z,pe=NaN,ye=NaN;if(ne===0)if(fe===0)ce===y&&(pe=ce,ye=a);else{var Ce=(E-re)/fe,Ee=E-Ce*b;pe=ce,ye=Ce*pe+Ee}else if(fe===0){var Se=(a-x)/ne,gt=a-Se*ce;pe=b,ye=Se*pe+gt}else{var Se=(a-x)/ne,Ce=(E-re)/fe,gt=a-Se*ce,Ee=E-Ce*b;pe=(Ee-gt)/(Se-Ce),ye=Se*pe+gt}return oe.x=pe,oe.y=ye,oe}function ze(ce,a,y,x,b,E,z,re,oe,ne,fe,pe,ye,Ce){var Ee=1-oe,Se=oe,gt=ce*Ee+y*Se,Ye=a*Ee+x*Se,It=y*Ee+b*Se,Ue=x*Ee+E*Se,ft=b*Ee+z*Se,Tt=E*Ee+re*Se,Qt=gt*Ee+It*Se,wt=Ye*Ee+Ue*Se,dt=It*Ee+ft*Se,Gt=Ue*Ee+Tt*Se,an=Qt*Ee+dt*Se,pn=wt*Ee+Gt*Se;ne.x=gt,ne.y=Ye,fe.x=Qt,fe.y=wt,pe.x=an,pe.y=pn,ye.x=dt,ye.y=Gt,Ce.x=ft,Ce.y=Tt}var Me=new go.Spot(.156,.156),Te=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ht("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*se,E=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ce,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ce,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Me,b.spot2=Te,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,se*a,0,a,(1-se)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,se*y,(1-se)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,se*y,se*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-se)*a,0,0,(1-se)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ht("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.setFigureParameter("Trapezoid1",0,new ht("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ht("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.setFigureParameter("ManualOperation",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}});var Ze=[];function Ke(){var ce=Ze.pop();return ce===void 0?[]:ce}function He(ce){ce.length=0,Ze.push(ce)}function _e(ce){for(var a=Ke(),y=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<ce;z++)E=2*Math.PI/ce*z+b,a[z]=new go.Point(x+y*Math.cos(E),x+y*Math.sin(E));return a.push(a[0]),a}function je(ce){var a=Le(ce),y=Ke();y[0]=a[0];for(var x=1,b=1;x<a.length;x+=2,b+=3)y[b]=a[x],y[b+1]=a[x],y[b+2]=a[x+1];return He(a),y}function Le(ce){for(var a=_e(ce),y=Ke(),x=Math.floor(a.length/2),b=a.length-1,E=ce%2===0?2:1,z=0;z<b;z++){var re=a[z],oe=a[z+1],ne=a[(x+z-1)%b],fe=a[(x+z+E)%b];y[z*2]=re,y[z*2+1]=Re(re.x,re.y,ne.x,ne.y,oe.x,oe.y,fe.x,fe.y,new go.Point)}return y[y.length]=y[0],He(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ce,a,y){var x=_e(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<5;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ce,a,y){var x=_e(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<6;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ce,a,y){var x=_e(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<7;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ce,a,y){var x=_e(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<8;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ce,a,y){var x=_e(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<9;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ce,a,y){var x=_e(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ce,a,y){var x=_e(12),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ce,a,y){var x=Le(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ce,a,y){var x=Le(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ce,a,y){var x=Le(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<14;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ce,a,y){var x=Le(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<16;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ce,a,y){var x=Le(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<18;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ce,a,y){var x=Le(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<20;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ce,a,y){var x=je(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ce,a,y){var x=je(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ce,a,y){var x=je(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ce,a,y){var x=je(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ce,a,y){var x=je(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ce,a,y){var x=je(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new ht("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ht("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ce,a,y){var x=ce?ce.parameter1:NaN,b=ce?ce.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x<a/2&&b<y/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),E.setSpots(0,0,1,1,x,b,-x,-b),E}),go.Shape.setFigureParameter("Ring",0,new ht("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,E=new go.Geometry,z=new go.PathFigure(a,a/2,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var re=Math.max(b-x,0);return re>0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),E.spot1=Me,E.spot2=Te,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ce,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ht("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ht("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ce,a,y){var x=ce?ce.parameter1:NaN,b=ce?ce.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var E=x%360;E<0&&(E+=360);var z=b%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,E,z,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ce,a,y){var x=se/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,E*y,a,(1-x)*y,(b+x)*a,(E+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ce,a,y){var x=ce?ce.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var E=a/2,z=y/2,re=Math.atan2(y,a),oe=x-Math.min(Math.cos(re)*x/2,E),ne=x-Math.min(Math.sin(re)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(oe,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-ne)),fe.add(new go.PathSegment(go.PathSegment.Line,a-oe,y)),fe.add(new go.PathSegment(go.PathSegment.Line,E,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,oe,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ht("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ht("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,se*a,0,a,(.5-se/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+se/2)*y,se*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var E=.2,z=.3,re=0,oe=E*se;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+re)*y,(.5-E+z)*a,(.5+oe+re)*y,(.5-oe+z)*a,(.5+E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+re)*y,(.5+oe+z)*a,(.5+E+re)*y,(.5+E+z)*a,(.5+oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+re)*y,(1-.5+E+z)*a,(.5-oe+re)*y,(.5+oe+z)*a,(.5-E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-oe+z)*a,(.5-E+re)*y,(.5-E+z+.05)*a,(.5-oe+re-.02)*y)),E=.2,z=0,re=-.3,oe=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+re)*y,(.5+oe+z)*a,(.5+E+re)*y,(.5+E+z)*a,(.5+oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+re)*y,(1-.5+E+z)*a,(.5-oe+re)*y,(.5+oe+z)*a,(.5-E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+re)*y,(.5-oe+z)*a,(.5-E+re)*y,(.5-E+z)*a,(.5-oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+z)*a,(.5+E+re)*y,(.5-E+z)*a,(.5+oe+re)*y,(.5-oe+z)*a,(.5+E+re)*y)),E=.2,z=-.3,re=0,oe=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+re)*y,(1-.5+E+z-.05)*a,(.5-oe+re-.02)*y,(.5+oe+z)*a,(.5-E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+re)*y,(.5-oe+z)*a,(.5-E+re)*y,(.5-E+z)*a,(.5-oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+re)*y,(.5-E+z)*a,(.5+oe+re)*y,(.5-oe+z)*a,(.5+E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+oe+z)*a,(.5+E+re)*y,(.5+E+z)*a,(.5+oe+re)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var E=.1,z=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*a,re*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*re,E*a,E*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),re=.75,b=new go.PathFigure((z+E)*a,re*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*re,E*a,E*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ce,a,y){var x=.8535533905932737,b=.5*a,E=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=.5,re=.5,oe=new go.PathFigure(z*a,(re-E)*y);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),E=.4,b=se*.4;var ne=ae(),fe=ae(),pe=ae(),ye=ae();ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.42,ne,fe,pe,ye,ye);var Ce=ae(),Ee=ae(),Se=ae();ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.58,ye,ye,Se,Ce,Ee);var gt=ae(),Ye=ae(),It=ae();ze(z,re+E,z-b,re+E,z-E,re+b,z-E,re,.42,gt,Ye,It,ye,ye);var Ue=ae(),ft=ae(),Tt=ae();return ze(z,re+E,z-b,re+E,z-E,re+b,z-E,re,.58,ye,ye,Tt,Ue,ft),oe.add(new go.PathSegment(go.PathSegment.Move,Tt.x*a,Tt.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,Ue.x*a,Ue.y*y,ft.x*a,ft.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ne.x*a,ne.y*y,fe.x*a,fe.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Tt.x*a,Tt.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,It.x*a,It.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,Ce.x*a,Ce.y*y,Ee.x*a,Ee.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,It.x*a,It.y*y,gt.x*a,gt.y*y,Ye.x*a,Ye.y*y).close()),me(ne),me(fe),me(pe),me(ye),me(Ce),me(Ee),me(Se),me(gt),me(Ye),me(It),me(Ue),me(ft),me(Tt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ce,a,y){var x=new go.Geometry,b=se*.4,E=.4,z=.5,re=.5,oe=ae(),ne=ae(),fe=ae(),pe=ae(),ye=new go.PathFigure((z-E)*a,re*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.44,fe,pe,ne,oe,oe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,fe.x*a,fe.y*y,pe.x*a,pe.y*y));var Ce=ee(ne.x,ne.y);ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.56,oe,oe,ne,fe,pe);var Ee=ee(ne.x,ne.y);ye.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.95*.9)*a,Ce.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,Ce.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,fe.x*a,fe.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),E=.35,b=se*.35;var Se=new go.PathFigure(z*a,(re-E)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y));var gt=new go.PathFigure((z-E)*a,re*y,!1);return x.add(gt),me(oe),me(ne),me(fe),me(pe),me(Ce),me(Ee),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ce,a,y){var x=new go.Geometry,b=.375,E=0,z=-.125,re=b*se,oe=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+re+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-re+z)*y,(.5+re+E)*a,(.5-b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-re+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+re+z)*y,(.5-re+E)*a,(.5+b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,E=0,z=-.125,re=b*se;var oe=new go.PathFigure((1-.5+b+E)*a,(.5+z)*y,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+re+z)*y,(.5+re+E)*a,(.5+b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-re+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-re+z)*y,(.5-re+E)*a,(.5-b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+re+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-re+z)*y));var oe=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);return x.add(oe),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(ce,a,y){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ce,a,y){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ce,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ce,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ce,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ht("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ht("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*a,z=(.5-b/2)*y,re=(.5+b/2)*y,oe=new go.Geometry,ne=new go.PathFigure(0,z,!0);oe.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,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,z/y);var fe=Re(0,re/y,1,re/y,E/a,1,1,.5,ae());return oe.spot2=new go.Spot(fe.x,fe.y),me(fe),oe}),go.Shape.setFigureParameter("Arrow2",0,new ht("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ht("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var E=a-x,z=(y-b)/2,re=z+b,oe=new go.Geometry,ne=new go.PathFigure(0,z,!0);oe.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,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,z/y);var fe=Re(0,re/y,1,re/y,E/a,1,1,.5,ae());return oe.spot2=new go.Spot(fe.x,fe.y),me(fe),oe}),go.Shape.defineFigureGenerator("Chevron",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ht("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=Re(0,.5,.3,0,0,b/y,.1,b/y,ae());return z.spot1=new go.Spot(oe.x,oe.y),oe=Re(.7,1,1,.5,0,E/y,1,E/y,oe),z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ht("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ht("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,re=(y-b)/2,oe=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,re=0,oe=y):(E=0,z=y,re=0,oe=y));var ne=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ne.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var pe=Re(0,.5,.3,re/y,0,E/y,1,E/y,ae());return ne.spot1=new go.Spot(pe.x,pe.y),pe=Re(.7,oe/y,1,.5,0,z/y,1,z/y,pe),ne.spot2=new go.Spot(pe.x,pe.y),me(pe),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new ht("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var oe=Re(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ht("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ht("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,re=(y-b)/2,oe=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,re=0,oe=y):(E=0,z=y,re=0,oe=y));var ne=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ne.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,0,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),ne.spot1=new go.Spot(0,E/y);var pe=Re(.7,oe/y,1,.5,0,z/y,1,z/y,ae());return ne.spot2=new go.Spot(pe.x,pe.y),me(pe),ne}),go.Shape.setFigureParameter("Pointer",0,new ht("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Re(.2,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),me(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ht("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=Re(0,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),me(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ht("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var oe=Re(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ht("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,E=b+x;x>y&&(b=0,E=y);var z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var oe=Re(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("SquareArrow",0,new ht("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var E=new go.PathFigure(0,.9*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var E=new go.PathFigure(.5*a,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var E=new go.PathFigure(0,.3*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+E)*a,0,1*a,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-se*x,(.5+E)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,1*y,0,y-se*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(a,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-se*x,(.5+E)*a,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*a,2*x,0,2*x-se*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+E)*a,0,a,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-se*x,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,y,0,y-se*x));var re=new go.PathFigure(0,y-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-se*x,(.5-E)*a,y-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+E)*a,y-2*x,a,y-x-se*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,se*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+se*x,0,2*x,(.5-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+E)*y,x+se*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,se*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var re=new go.PathFigure(a-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-se*x,0,a-2*x,(.5-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+E)*y,a-x-se*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(.25*a,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(0,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ce,a,y){var x=new go.Geometry,b=.2,E=.1,z=se*b,re=se*E,oe=.5,ne=.1,fe=new go.PathFigure(oe*a,(ne+E)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-b)*a,ne*y,(oe-z)*a,(ne+E)*y,(oe-b)*a,(ne+re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-E)*y,(oe-b)*a,(ne-re)*y,(oe-z)*a,(ne-E)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+b)*a,ne*y,(oe+z)*a,(ne-E)*y,(oe+b)*a,(ne-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+E)*y,(oe+b)*a,(ne+re)*y,(oe+z)*a,(ne+E)*y));var pe=.05,ye=se*pe;oe=.05,ne=.25;var Ce=new go.PathFigure(.5*a,.2*y,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),oe=.95,ne=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+pe)*a,ne*y,(oe+ye)*a,(ne-pe)*y,(oe+pe)*a,(ne-ye)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ye=se*pe,oe=.825,ne=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-ye)*y,(oe+ye)*a,(ne-pe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-ye)*a,(ne-pe)*y,(oe-pe)*a,(ne-ye)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ye=se*pe,oe=.5,ne=.7,Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-ye)*y,(oe+ye)*a,(ne-pe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-ye)*a,(ne-pe)*y,(oe-pe)*a,(ne-ye)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ye=se*pe,oe=.175,ne=.35,Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-ye)*y,(oe+ye)*a,(ne-pe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-ye)*a,(ne-pe)*y,(oe-pe)*a,(ne-ye)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ye=se*pe,oe=.05,ne=.25,Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe-pe)*a,(ne-ye)*y,(oe-ye)*a,(ne-pe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ht("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var E=new go.PathFigure(.5*a,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+E)*y,(.5+b)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+E)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=se*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-E)*y,(.2-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+E)*a,0,a,(.2-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+E)*y,(.8+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-E)*a,y,0,(.8+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var E=new go.PathFigure(.1*a,.4*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(.75*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var E=new go.PathFigure(a,.5*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ce,a,y){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=se*.5,re=.5,oe=new go.PathFigure(a,re*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+z)*y,(re+z)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-z)*a,y,0,(re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-z)*y,(re-z)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+z)*a,0,a,(re-z)*y));var ne=new go.PathFigure((E+b)*a,(E+b)*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,(E+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Line,(E+b)*a,E*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var E=new go.PathFigure(.1*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*a,.9*y,a,(E+b)*y,(E+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var E=new go.PathFigure(.1*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var E=new go.PathFigure(.2*a,.1*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var re=new go.PathFigure(.5*b*a,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var re=new go.PathFigure(a,E*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y));var oe=new go.PathFigure(.8*a,.75*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ce,a,y){var x=new go.Geometry,b=se*.1,E=.1,z=.9,re=.5,oe=new go.PathFigure(.8*a,.5*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ne=new go.PathFigure((z+E)*a,re*y,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re-E)*y,(z+E)*a,(re-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.4,z=se*.1,re=.1,oe=.9,ne=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+E)*y,(.4+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-E)*y));var pe=new go.PathFigure((oe+re)*a,ne*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+re)*y,(oe+re)*a,(ne+z)*y,(oe+z)*a,(ne+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a,ne*y,(oe-z)*a,(ne+re)*y,(oe-re)*a,(ne+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-re)*y,(oe-re)*a,(ne-z)*y,(oe-z)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a,ne*y,(oe+z)*a,(ne-re)*y,(oe+re)*a,(ne-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=0,re=.5,oe=new go.PathFigure(.8*a,.5*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(re-b)*y,.7*a,(re-E)*y)),b=.1,E=se*.1,z=.9,re=.5;var ne=new go.PathFigure((z-b)*a,re*y,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=0,re=.5,oe=new go.PathFigure(0,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E+E)*a,(re-b)*y,.8*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+E)*y,(z+E+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=.2,re=.5,oe=new go.PathFigure(.1*a,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.8*a,.5*y,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(re-b)*y,.7*a,(re-E)*y)),b=.1,E=se*.1,z=.9,re=.5;var fe=new go.PathFigure((z-b)*a,re*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=.2,re=.5,oe=new go.PathFigure(.1*a,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.2*a,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E)*a,(re-b)*y,.9*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ce,a,y){var x=new go.Geometry,b=se*.1,E=.1,z=.1,re=.5,oe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+E)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=.5,re=.5,oe=new go.PathFigure((z-E)*a,re*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re-E)*y,(z+E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*a,re*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*a,re*y,z*a,(re-E)*y,z*a,(re+E)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ce,a,y){var x=new go.Geometry,b=a,E=y;a=a*.38,y=y*.6;var z=se*.8,re=.8,oe=0,ne=.5,fe=(b-a)/2,pe=(E-y)/2,ye=new go.PathFigure(oe*a+fe,(ne+re)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+fe,ne*y+pe,(oe-z)*a+fe,(ne+re)*y+pe,(oe-re)*a+fe,(ne+z)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne-re)*y+pe,(oe-re)*a+fe,(ne-z)*y+pe,(oe-z)*a+fe,(ne-re)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+z*.5)*a+fe,ne*y+pe,oe*a+fe,(ne-re)*y+pe,(oe-re+z*.5)*a+fe,(ne-z)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne+re)*y+pe,(oe-re+z*.5)*a+fe,(ne+z)*y+pe,oe*a+fe,(ne+re)*y+pe).close()),z=se*.4,re=.4,oe=.2,ne=.5;var Ce=new go.PathFigure(oe*a+fe,(ne+re)*y+pe,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+fe,ne*y+pe,(oe-z)*a+fe,(ne+re)*y+pe,(oe-re)*a+fe,(ne+z)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne-re)*y+pe,(oe-re)*a+fe,(ne-z)*y+pe,(oe-z)*a+fe,(ne-re)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+z*.5)*a+fe,ne*y+pe,oe*a+fe,(ne-re)*y+pe,(oe-re+z*.5)*a+fe,(ne-z)*y+pe)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne+re)*y+pe,(oe-re+z*.5)*a+fe,(ne+z)*y+pe,oe*a+fe,(ne+re)*y+pe).close()),z=se*.2,re=.2,oe=.5,ne=.5;var Ee=new go.PathFigure((oe-re)*a+fe,ne*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne-re)*y+pe,(oe-re)*a+fe,(ne-z)*y+pe,(oe-z)*a+fe,(ne-re)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+fe,ne*y+pe,(oe+z)*a+fe,(ne-re)*y+pe,(oe+re)*a+fe,(ne-z)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne+re)*y+pe,(oe+re)*a+fe,(ne+z)*y+pe,(oe+z)*a+fe,(ne+re)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+fe,ne*y+pe,(oe-z)*a+fe,(ne+re)*y+pe,(oe-re)*a+fe,(ne+z)*y+pe)),z=se*.4,re=.4,oe=.8,ne=.5;var Se=new go.PathFigure(oe*a+fe,(ne-re)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+fe,ne*y+pe,(oe+z)*a+fe,(ne-re)*y+pe,(oe+re)*a+fe,(ne-z)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne+re)*y+pe,(oe+re)*a+fe,(ne+z)*y+pe,(oe+z)*a+fe,(ne+re)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-z*.5)*a+fe,ne*y+pe,oe*a+fe,(ne+re)*y+pe,(oe+re-z*.5)*a+fe,(ne+z)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne-re)*y+pe,(oe+re-z*.5)*a+fe,(ne-z)*y+pe,oe*a+fe,(ne-re)*y+pe).close()),z=se*.8,re=.8,oe=1,ne=.5;var gt=new go.PathFigure(oe*a+fe,(ne-re)*y+pe,!0);return x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+fe,ne*y+pe,(oe+z)*a+fe,(ne-re)*y+pe,(oe+re)*a+fe,(ne-z)*y+pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne+re)*y+pe,(oe+re)*a+fe,(ne+z)*y+pe,(oe+z)*a+fe,(ne+re)*y+pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-z*.5)*a+fe,ne*y+pe,oe*a+fe,(ne+re)*y+pe,(oe+re-z*.5)*a+fe,(ne+z)*y+pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+fe,(ne-re)*y+pe,(oe+re-z*.5)*a+fe,(ne-z)*y+pe,oe*a+fe,(ne-re)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var E=new go.PathFigure(.1*a,y,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ce,a,y){var x=new go.Geometry,b=se*.4,E=.4,z=.5,re=.5,oe=ae(),ne=ae(),fe=ae(),pe=ae();ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.5,oe,oe,ne,fe,pe);var ye=ee(ne.x,ne.y),Ce=new go.PathFigure(ne.x*a,ne.y*y,!0);x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,fe.x*a,fe.y*y,pe.x*a,pe.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),ze(z-E,re,z-E,re-b,z-b,re-E,z,re-E,.5,fe,pe,ne,oe,oe),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,fe.x*a,fe.y*y,pe.x*a,pe.y*y)),b=se*.3,E=.3,ze(z-E,re,z-E,re-b,z-b,re-E,z,re-E,.5,fe,pe,ne,oe,oe),Ce.add(new go.PathSegment(go.PathSegment.Line,ne.x*a,ne.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,pe.x*a,pe.y*y,fe.x*a,fe.y*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.5,oe,oe,ne,fe,pe),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,pe.x*a,pe.y*y,fe.x*a,fe.y*y).close());var Ce=new go.PathFigure(.45*a,0,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),me(oe),me(ne),me(fe),me(pe),me(ye),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function E(z,re,oe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+oe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+oe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+oe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+oe)*y).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ce,a,y){var x=new go.Geometry,b=.5,E=0,z=0,re=b*se,oe=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,fe=1,pe=.5,ye=.5,Ce=0,Ee=new go.PathFigure(oe*a,(1-ne)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,pe*y,fe*a,.7*y,fe*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+E)*a,(Ce+E)*y,(.5+b+E)*a,(.5-re+E)*y,(.5+re+E)*a,(.5-b+E)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-re+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-re+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*a,.9*y,(.5-b+E)*a,(.5+re+z)*y,(.5-re+E)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var E=new go.PathFigure(.45*a,.73*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),E.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),E.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),E.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,re=.5,oe=z,ne=Math.PI/4,fe=4*(1-Math.cos(ne))/(3*Math.sin(ne)),pe=fe*.5,ye=z,Ce=z,Ee=fe*ye,Se=fe*Ce;E.add(new go.PathSegment(go.PathSegment.Bezier,(re-ye)*a,oe*y,(re-(Ee+ye)/2)*a,(oe+(Ce+Se)/2)*y,(re-ye)*a,(oe+Se)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(oe-Ce)*y,(re-ye)*a,(oe-Se)*y,(re-Ee)*a,(oe-Ce)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(re+ye)*a,oe*y,(re+Ee)*a,(oe-Ce)*y,(re+ye)*a,(oe-Se)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+ye)*a,(oe+Se)*y,(re+(Ee+ye)/2)*a,(oe+(Ce+Se)/2)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var gt=new go.PathFigure(.2*a,y,!1);x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ye=new go.PathFigure(.8*a,y,!1);return x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var E=new go.PathFigure(.2*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,E*a,E*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var E=new go.PathFigure(.475*a,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+E)*y,(b+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-E)*a,y,0,(b+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-E)*y,(b-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+E)*a,0,a,(b-E)*y));var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(0,.15*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var E=new go.PathFigure(.15*a,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(a,.8*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,re=se*.1,oe=.2,ne=.9,fe=new go.PathFigure((oe-z)*a,ne*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-z)*y,(oe-z)*a,(ne-re)*y,(oe-re)*a,(ne-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*a,ne*y,(oe+re)*a,(ne-z)*y,(oe+z)*a,(ne-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+z)*y,(oe+z)*a,(ne+re)*y,(oe+re)*a,(ne+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*a,ne*y,(oe-re)*a,(ne+z)*y,(oe-z)*a,(ne+re)*y).close()),z=.1,re=se*.1,oe=.8,ne=.9;var pe=new go.PathFigure((oe-z)*a,ne*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-z)*y,(oe-z)*a,(ne-re)*y,(oe-re)*a,(ne-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*a,ne*y,(oe+re)*a,(ne-z)*y,(oe+z)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+z)*y,(oe+z)*a,(ne+re)*y,(oe+re)*a,(ne+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*a,ne*y,(oe-re)*a,(ne+z)*y,(oe-z)*a,(ne+re)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var re=new go.PathFigure(.5*a,.7*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var oe=.1,ne=se*.1,fe=.1,pe=.9,ye=new go.PathFigure((fe-oe)*a,pe*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-oe)*y,(fe-oe)*a,(pe-ne)*y,(fe-ne)*a,(pe-oe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+oe)*a,pe*y,(fe+ne)*a,(pe-oe)*y,(fe+oe)*a,(pe-ne)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe+oe)*y,(fe+oe)*a,(pe+ne)*y,(fe+ne)*a,(pe+oe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-oe)*a,pe*y,(fe-ne)*a,(pe+oe)*y,(fe-oe)*a,(pe+ne)*y)),oe=.1,ne=se*.1,fe=.4,pe=.9;var Ce=new go.PathFigure((fe-oe)*a,pe*y,!0);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-oe)*y,(fe-oe)*a,(pe-ne)*y,(fe-ne)*a,(pe-oe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(fe+oe)*a,pe*y,(fe+ne)*a,(pe-oe)*y,(fe+oe)*a,(pe-ne)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe+oe)*y,(fe+oe)*a,(pe+ne)*y,(fe+ne)*a,(pe+oe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(fe-oe)*a,pe*y,(fe-ne)*a,(pe+oe)*y,(fe-oe)*a,(pe+ne)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var E=new go.PathFigure(.45*a,.7*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,pe=se*.05,ye=.175,Ce=.95,re=new go.PathFigure((ye-fe)*a,Ce*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce-fe)*y,(ye-fe)*a,(Ce-pe)*y,(ye-pe)*a,(Ce-fe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,Ce*y,(ye+pe)*a,(Ce-fe)*y,(ye+fe)*a,(Ce-pe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce+fe)*y,(ye+fe)*a,(Ce+pe)*y,(ye+pe)*a,(Ce+fe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,Ce*y,(ye-pe)*a,(Ce+fe)*y,(ye-fe)*a,(Ce+pe)*y));var fe=.05,pe=se*.05,ye=.375,Ce=.95,oe=new go.PathFigure((ye-fe)*a,Ce*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce-fe)*y,(ye-fe)*a,(Ce-pe)*y,(ye-pe)*a,(Ce-fe)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,Ce*y,(ye+pe)*a,(Ce-fe)*y,(ye+fe)*a,(Ce-pe)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce+fe)*y,(ye+fe)*a,(Ce+pe)*y,(ye+pe)*a,(Ce+fe)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,Ce*y,(ye-pe)*a,(Ce+fe)*y,(ye-fe)*a,(Ce+pe)*y));var fe=.05,pe=se*.05,ye=.625,Ce=.95,ne=new go.PathFigure((ye-fe)*a,Ce*y,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce-fe)*y,(ye-fe)*a,(Ce-pe)*y,(ye-pe)*a,(Ce-fe)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,Ce*y,(ye+pe)*a,(Ce-fe)*y,(ye+fe)*a,(Ce-pe)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce+fe)*y,(ye+fe)*a,(Ce+pe)*y,(ye+pe)*a,(Ce+fe)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,Ce*y,(ye-pe)*a,(Ce+fe)*y,(ye-fe)*a,(Ce+pe)*y));var fe=.05,pe=se*.05,ye=.825,Ce=.95,Ee=new go.PathFigure((ye-fe)*a,Ce*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce-fe)*y,(ye-fe)*a,(Ce-pe)*y,(ye-pe)*a,(Ce-fe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+fe)*a,Ce*y,(ye+pe)*a,(Ce-fe)*y,(ye+fe)*a,(Ce-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(Ce+fe)*y,(ye+fe)*a,(Ce+pe)*y,(ye+pe)*a,(Ce+fe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye-fe)*a,Ce*y,(ye-pe)*a,(Ce+fe)*y,(ye-fe)*a,(Ce+pe)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var re=.05,oe=se*.05,ne=.35,fe=.775,pe=new go.PathFigure((ne-re)*a,fe*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(fe-re)*y,(ne-re)*a,(fe-oe)*y,(ne-oe)*a,(fe-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+re)*a,fe*y,(ne+oe)*a,(fe-re)*y,(ne+re)*a,(fe-oe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(fe+re)*y,(ne+re)*a,(fe+oe)*y,(ne+oe)*a,(fe+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-re)*a,fe*y,(ne-oe)*a,(fe+re)*y,(ne-re)*a,(fe+oe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ce,a,y){var x=new go.Geometry,b=.3,E=se*.3,z=.5,re=.7,oe=new go.PathFigure((z-b)*a,re*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y));var ne=new go.PathFigure(0,.7*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var E=new go.PathFigure(0,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*.5,z=.5,re=.5,oe=new go.PathFigure((z-b)*a,re*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y));var ne=new go.PathFigure(.15*a,.5*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*.5,z=.5,re=.5,oe=new go.PathFigure((z-b)*a,re*y,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y).close()),b=.05,E=se*.05,z=.5,re=.8;var ne=new go.PathFigure((z-b)*a,re*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y).close()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var E=new go.PathFigure(0,y*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var E=new go.PathFigure(.126*a,.85*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var re=new go.PathFigure(.678*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var oe=new go.PathFigure(.5*a,.1*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var E=new go.PathFigure(a*.204,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var re=new go.PathFigure(a*.612,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var oe=new go.PathFigure(a*.816,y,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var E=new go.PathFigure(a*.055,.07*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var re=new go.PathFigure(a*.055,.18*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var oe=new go.PathFigure(a*1,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ce,a,y){var x=new go.Geometry,b=8,E=b*se,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var re=new go.PathFigure(a*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var oe=new go.PathFigure(a*.83,y*1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ne=new go.PathFigure(a*.78,y*.05,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*se,E=y*.8,z=new go.Geometry,re=new go.PathFigure(x,0,!0);return z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-b,a-b,E)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,E)),re.add(new go.PathSegment(go.PathSegment.Line,x,E)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.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(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var E=new go.PathFigure(a*1,y*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var E=new go.PathFigure(a*.1,y*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ce,a,y){var x=new go.Geometry,b=15,E=b*se,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var E=new go.PathFigure(a*.235,y*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),E.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),E.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},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 ht={},Et="5.0",ee={},ae=null,me=!1,Re=!1,ze=null,Me=!1,Te=null,se=null,Ze=0;Ze<arguments.length;Ze++){var Ke=arguments[Ze];if(Ke!==null)switch(typeof Ke){case"number":Et=Ke.toFixed(1);break;case"string":Ke.match(new RegExp("^[0-9]\\.[0-9]+$"))?Et=Ke:ze=Ke;break;case"object":typeof Ke.is3D!="undefined"?ae=Ke:ee=Ke;break;case"boolean":me=Ke,Re=!0;break}}ae===null&&(ae={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!Re&&(me=!0)),ze!==null&&ee.id===void 0&&(ee.id=ze);var He="",_e="",je=!1,Le=null,ce=null,a=null,y=!1,x=null,b=null,E=null,z=null,re=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var oe=function($e){return parseFloat($e)>4?parseFloat($e):5};ht.setHTML5Codebase=function($e,Ct){se=$e,Gt($e,Ct)},ht.setJavaCodebase=ht.setJavaCodebaseVersion=ht.isCompiledInstalled=ht.setPreCompiledScriptPath=ht.setPreCompiledResourcePath=function(){},ht.setHTML5CodebaseVersion=function($e,Ct){var Bt=parseFloat($e);if(Bt!==NaN&&Bt<5){console.log("The GeoGebra HTML5 codebase version "+Bt+" is deprecated. Using version latest instead.");return}Te=$e,dt($e,Ct)},ht.getHTML5CodebaseVersion=function(){return ce},ht.getParameters=function(){return ee},ht.setFontsCSSURL=function($e){z=$e},ht.setGiacJSURL=function($e){},ht.setJNLPFile=function($e){He=$e},ht.setJNLPBaseDir=function($e){},ht.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ct="auto",Bt=ee.id,Tn,it=!1,Mt=0;Mt<arguments.length;Mt++){var xe=arguments[Mt];typeof xe=="string"?(xe=xe.toLowerCase(),xe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ct=xe:Bt=arguments[Mt]):typeof xe=="boolean"?it=xe:xe instanceof HTMLElement&&(Tn=xe)}Sn();function Sn(){if(!Me){setTimeout(Sn,200);return}Ct=Qt(Ct);var Wn=Tn||document.getElementById(Bt);if(!Wn){console.log("possibly bug on ajax loading? ");return}if(ht.removeExistingApplet(Wn,!1),ee.width===void 0&&Wn.clientWidth&&(ee.width=Wn.clientWidth),ee.height===void 0&&Wn.clientHeight&&(ee.height=Wn.clientHeight),!(ee.width&&ee.height)&&Ct==="html5"&&(delete ee.width,delete ee.height),Le=Ct,Ct==="screenshot")Ye(Wn,ee);else{var Ca=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?Ca=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(Ca=(!ne()||$e())&&fe()),Ca?(Le="screenshot",Ue(Wn,ee,it,Ct)):gt(Wn,ee,it)}}};function ne(){try{return window.self!==window.top}catch($e){return!0}}function fe(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ht.getViews=function(){return ae},ht.isJavaInstalled=function(){return!1};var pe=function($e){var Ct=function(Mt){var xe=JSON.parse(Mt),Sn=function(yn){return yn.type=="G"||yn.type=="E"},Wn=xe.elements?xe.elements.filter(Sn)[0]:xe;if(!Wn||!Wn.url){Bt();return}ee.fileName=Wn.url,ye(Wn.settings||{}),ae.is3D=!0;var Ca="https://www.geogebra.org/images/";ht.setPreviewImage(x||Wn.previewUrl,Ca+"GeoGebra_loading.png",Ca+"applet_play.png"),$e()},Bt=function(){ee.onError&&ee.onError(),an("Error: Fetching material (id "+ee.material_id+") failed.",ee)},Tn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",it="/materials/"+ee.material_id+"?scope=basic";Ce("https://"+Tn+"/api/proxy.php?path="+encodeURIComponent(it),Ct,Bt)};function ye($e){var Ct=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Bt){$e[Bt]=!!$e[Bt]}),Ct.forEach(function(Bt){ee[Bt]===void 0&&$e[Bt]!==void 0&&(ee[Bt]=$e[Bt])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function Ce($e,Ct,Bt){var Tn=new XMLHttpRequest;Tn.open("GET",$e),Tn.onload=function(){Ct(Tn.responseText)},Tn.onerror=Bt,Tn.send()}ht.isHTML5Installed=function(){return!0},ht.getLoadedAppletType=function(){return Le},ht.setPreviewImage=function($e,Ct,Bt){x=$e,b=Ct,E=Bt},ht.removeExistingApplet=function($e,Ct){var Bt;typeof $e=="string"&&($e=document.getElementById($e)),Le=null;var Tn=null;for(Bt=0;Bt<$e.childNodes.length;Bt++){var it=$e.childNodes[Bt],Mt=it.className;Mt==="applet_screenshot"?Ct?(it.style.display="block",Le="screenshot"):it.style.display="none":Mt!=="applet_scaler prerender"&&($e.removeChild(it),Tn=Mt&&Mt.indexOf("appletParameters")!=-1?it.id:null,Bt--)}var xe=ee.id!==void 0?ee.id:Tn,Sn=window[xe];Sn&&typeof Sn.getBase64=="function"&&(Sn.remove(),window[xe]=null)},ht.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var $e=ht.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},ht.startAnimation=function(){var $e=ht.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},ht.stopAnimation=function(){var $e=ht.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},ht.getAppletObject=function(){var $e=ee.id!==void 0?ee.id:"ggbApplet";return window[$e]},ht.resize=function(){};var Ee=function($e,Ct,Bt){var Tn=document.createElement("param");Tn.setAttribute("name",Ct),Tn.setAttribute("value",Bt),$e.appendChild(Tn)},Se=function($e){return $e&&$e!=="false"},gt=function($e,Ct,Bt){oe(ce)<=4.2&&(Bt=!0);var Tn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ce||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Tn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var it=document.createElement("div");it.classList.add("appletParameters","notranslate");var Mt=Ct.width,xe=Ct.height;if(Ct.disableAutoScale=Ct.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ct.disableAutoScale,Ct.width!==void 0)if(oe(ce)<=4.4)Se(Ct.showToolBar)&&(Ct.height-=7),Se(Ct.showAlgebraInput)&&(Ct.height-=37),Ct.width<605&&Se(Ct.showToolBar)&&(Ct.width=605,Mt=605);else{var Sn=100;(Se(Ct.showToolBar)||Se(Ct.showMenuBar))&&(Ct.hasOwnProperty("customToolBar")&&(Ct.customToolbar=Ct.customToolBar),Sn=Se(Ct.showMenuBar)?245:155),Mt<Sn&&(Ct.width=Sn,Mt=Sn)}it.style.border="none",it.style.display="inline-block";for(var Wn in Ct)Ct.hasOwnProperty(Wn)&&Wn!=="appletOnLoad"&&it.setAttribute("data-param-"+Wn,Ct[Wn]);z&&it.setAttribute("data-param-fontscssurl",z),ht.resize=function(){GGBAppletUtils.responsiveResize($e,Ct)},window.addEventListener("resize",function(nn){ht.resize()});var Ca=typeof Ct.appletOnLoad=="function"?Ct.appletOnLoad:function(){};if(!Bt&&Ct.width!==void 0){Ct.hasOwnProperty("showSplash")||it.setAttribute("data-param-showSplash","false");var yn=$e.querySelector(".applet_scaler.prerender"),Yt=yn!==null;if(Yt)var Ge=yn.querySelector(".ggb_preview");else{var Ge=Tt(Mt,xe,Ct.borderColor,!1);yn=document.createElement("div"),yn.className="applet_scaler",yn.style.position="relative",yn.style.display="block",yn.style.width=Mt+"px",yn.style.height=xe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(yn,"66%"),oe(ce)>=5?(Ct.appletOnLoad=function(nn){var we=$e.querySelector(".ggb_preview");we&&we.parentNode.removeChild(we),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(yn),window.GGBT_wsf_view&&$(window).trigger("resize"),Ca(nn)},Yt||yn.appendChild(Ge)):it.appendChild(Ge),yn.appendChild(it),Yt||$e.appendChild(yn),setTimeout(function(){ht.resize()},1)}else{var Fe=document.createElement("div");Fe.className="applet_scaler",Fe.style.position="relative",Fe.style.display="block",Fe.appendChild(it),$e.appendChild(Fe),Ct.appletOnLoad=function(nn){ht.resize(),Ca(nn)}}function pt(nn,we){we&&typeof we.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(nn,we.appletOnLoad):renderGGBElement(nn),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",we)}function zt(nn,we){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:nn,params:we}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Qe){pt(Qe.article,Qe.params)}),html5AppletsToProcess=null)},oe(ce)<5&&(nn.className+=" geogebraweb")):pt(nn,we)}if(Tn){scriptLoadStarted=!0;for(var en=0;en<it.childNodes.length;en++){var En=it.childNodes[en].tagName;En==="TABLE"&&(it.removeChild(it.childNodes[en]),en--)}if(ggbHTML5LoadedScript!==null){var kn=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');kn!=null&&kn.parentNode.removeChild(kn)}var _n=document.createElement("script"),Gn=function(){zt(it,Ct)};_n.src=_e+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ce,ggbHTML5LoadedScript=_n.src,an("GeoGebra HTML5 codebase loaded: '"+_e+"'.",Ct),!se&&(!Te||Te=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Gn()):_e.requirejs?__webpack_require__.e(12).then(function(){var nn=[__webpack_require__(12)];Gn.apply(null,nn)}.bind(this)).catch(__webpack_require__.oe):(_n.onload=Gn,$e.appendChild(_n))}else zt(it,Ct);Ct.height=xe,Ct.width=Mt},Ye=function($e,Ct,Bt){var Tn=Tt(Ct.width,Ct.height,Ct.borderColor,Bt),it=document.createElement("div");it.style.position="relative",it.style.display="block",it.style.width=Ct.width+"px",it.style.height=Ct.height+"px",it.className="applet_screenshot applet_scaler"+(Bt?" applet_screenshot_play":""),it.appendChild(Tn);var Mt=GGBAppletUtils.getScale(Ct,$e,Bt);Bt?($e.appendChild(ft()),window.GGBT_wsf_view||($e.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(it,"66%"),$e.appendChild(it),Mt!==1&&!isNaN(Mt)&&(GGBAppletUtils.scaleElement(it,Mt),it.style.width=Ct.width+"px",it.style.height=Ct.height+"px",it.parentNode.style.width=Ct.width*Mt+"px",it.parentNode.style.height=Ct.height*Mt+"px"),ht.resize=function(){It($e,Tn,it,Bt)},window.addEventListener("resize",function(xe){ht.resize()}),ht.resize()};function It($e,Ct,Bt,Tn){if($e.contains(Ct)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if($e.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition($e)}var it=GGBAppletUtils.getScale(ee,$e,Tn);Bt.parentNode!==null&&(!isNaN(it)&&it!==1?(GGBAppletUtils.scaleElement(Bt,it),Bt.parentNode.style.width=ee.width*it+"px",Bt.parentNode.style.height=ee.height*it+"px"):(GGBAppletUtils.scaleElement(Bt,1),Bt.parentNode.style.width=ee.width+"px",Bt.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter($e),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ht.onExitFullscreen=function($e,Ct){Ct.appendChild($e)};var Ue=function($e,Ct,Bt,Tn){Ye($e,Ct,!0);for(var it=function(){var Sn=[];for(xe=0;xe<$e.childNodes.length;xe++)Sn.push($e.childNodes[xe]);if(window.GGBT_wsf_view){var Wn=window.GGBT_wsf_view.renderFullScreen($e,Ct.id),Ca=document.getElementById("fullscreencontainer"),yn=jQuery($e).find(".fullscreencontent");yn.length>0?(Wn.remove(),yn.attr("id","fullscreencontent").show(),jQuery(Ca).append(yn),window.dispatchEvent(new Event("resize"))):gt(Wn,Ct,!1),window.GGBT_wsf_view.launchFullScreen(Ca)}else Le=Tn,gt($e,Ct,!1);if(!window.GGBT_wsf_view)for(xe=0;xe<Sn.length;xe++)$e.removeChild(Sn[xe])},Mt=$e.getElementsByClassName("ggb_preview_play"),xe=0;xe<Mt.length;xe++)Mt[xe].addEventListener("click",it,!1),Mt[xe].addEventListener("ontouchstart",it,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload($e),fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ft=function(){var $e=document.createElement("div");if($e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ct='.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");}',Bt=document.createElement("style");Bt.styleSheet?Bt.styleSheet.cssText=Ct:Bt.appendChild(document.createTextNode(Ct)),document.getElementsByTagName("head")[0].appendChild(Bt)}return $e},Tt=function($e,Ct,Bt,Tn){var it=document.createElement("div");it.className="ggb_preview",it.style.position="absolute",it.style.zIndex="90",it.style.width=$e-2+"px",it.style.height=Ct-2+"px",it.style.top="0px",it.style.left="0px",it.style.overflow="hidden",it.style.backgroundColor="white";var Mt="lightgrey";Bt!==void 0&&(Bt==="none"?Mt="transparent":Mt=Bt),it.style.border="1px solid "+Mt;var xe=document.createElement("img");if(xe.style.position="relative",xe.style.zIndex="1000",xe.style.top="-1px",xe.style.left="-1px",x!==null&&xe.setAttribute("src",x),xe.style.opacity=.7,b!==null){var Sn,Wn,Ca;if(!Tn){Sn=document.createElement("img"),Sn.style.position="absolute",Sn.style.zIndex="1001",Sn.style.opacity=1,xe.style.opacity=.3,Wn=360,Wn>$e/4*3&&(Wn=$e/4*3),Ca=Wn/5.8,Sn.setAttribute("src",b),Sn.setAttribute("width",Wn),Sn.setAttribute("height",Ca);var yn=($e-Wn)/2,Yt=(Ct-Ca)/2;Sn.style.left=yn+"px",Sn.style.top=Yt+"px",it.appendChild(Sn)}}return it.appendChild(xe),it},Qt=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},wt=["web","webSimple","web3d","tablet","tablet3d","phone"],dt=function($e,Ct){if(ce=$e,Ct){Gt(ce,!0);return}var Bt=!me;if(Bt){var Tn=oe(ce);!isNaN(Tn)&&Tn<4.4&&(Bt=!1)}var it,Mt;window.location.protocol.substr(0,4)==="http"?it=window.location.protocol:it="http:";var xe=ce.indexOf("//");xe>0?Mt=ce:xe===0?Mt=it+ce:Mt="https://www.geogebra.org/apps/5.2.814.0/";for(var Sn in wt)if(ce.slice(wt[Sn].length*-1)===wt[Sn]||ce.slice((wt[Sn].length+1)*-1)===wt[Sn]+"/"){Gt(Mt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Bt&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Se(ee.showToolBar)&&!Se(ee.showMenuBar)&&!Se(ee.showAlgebraInput)&&!Se(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Mt+="webSimple/":Mt+="web3d/",Gt(Mt,!1)},Gt=function($e,Ct){if($e.requirejs){_e=$e;return}$e.slice(-1)!=="/"&&($e+="/"),_e=$e,Ct===null&&(Ct=$e.indexOf("http")===-1),je=Ct,a="web.nocache.js",y=!1;var Bt=_e.split("/");Bt.length>1&&(!Ct&&Bt[Bt.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):wt.indexOf(Bt[Bt.length-2])>=0&&(a=Bt[Bt.length-2]+".nocache.js")),Bt=$e.split("/"),ce=Bt[Bt.length-3],ce.substr(0,4)==="test"?ce=ce.substr(4,1)+"."+ce.substr(5,1):(ce.substr(0,3)==="war"||ce.substr(0,4)==="beta")&&(ce="5.0");var Tn=parseFloat(ce);Tn!==NaN&&Tn<5&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Tn+" is deprecated. Using version latest instead."),dt("5.0",Ct))},an=function($e,Ct){window.console&&window.console.log&&(!Ct||typeof Ct.showLogging=="undefined"||Ct.showLogging&&Ct.showLogging!=="false")&&console.log($e)};ee.material_id!==void 0?pe(pn):pn();function pn(){var $e=Et;Te!==null?$e=Te:parseFloat($e)<5&&($e="5.0"),dt($e,!1),se!==null&&Gt(se,je),Me=!0}return ht},GGBAppletUtils=function(){"use strict";function ht(){return window.GGBT_wsf_edit!==void 0}function Et(Me,Te){Te!=1?(Me.style.transformOrigin="0% 0% 0px",Me.style.webkitTransformOrigin="0% 0% 0px",Me.style.transform="scale("+Te+","+Te+")",Me.style.webkitTransform="scale("+Te+","+Te+")",Me.style.maxWidth="initial",Me.querySelector(".ggb_preview")!==null&&(Me.querySelector(".ggb_preview").style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Me.style.transform="none",Me.style.webkitTransform="none")}function ee(Me,Te,se,Ze,Ke,He){var _e=null;if(He!=null&&He!="")for(var je=Me.parentNode;je!=null;)if((" "+je.className+" ").indexOf(" "+He+" ")>-1){_e=je;break}else je=je.parentNode;var Le=0,ce=0,a=0,y=0,x=0,b=0,E=0;if(_e)Le=_e.offsetWidth,ce=Math.max(Ze?_e.offsetWidth:0,_e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Le=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Le):(Le=window.innerWidth,ce=window.innerHeight,a=window.innerWidth),Me){var z=Me.getBoundingClientRect();z.left>0&&z.left<=Le&&(Ke===void 0||!Ke)&&(document.dir==="rtl"?(x=Le-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(Me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,E=40)}}return Me&&((se===void 0||!se)&&Te>0&&Te+y<Le?Le=Te:Le-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(ce-=E)),{width:Le,height:ce}}function ae(Me,Te,se,Ze,Ke){if(Me.isScreenshoGenerator)return 1;var He=Ze!==void 0&&Ze,_e=Me.noScaleMargin!=null&&Me.noScaleMargin,je=function(re){return re&&re!=="false"},Le=je(Me.autoHeight),ce=ee(Te,Me.width,se,Le,He&&window.GGBT_wsf_view||_e,Ke),a=parseInt(ce.width),y=Me.width,x=Me.height;if(y===void 0){var b=Te.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var E=a/y,z=He?1:ce.height/x;return se!==void 0&&!se&&(E=Math.min(1,E),z=Math.min(1,z)),Math.min(E,z)}function me(Me,Te,se){var Ze=1,Ke,He=!1;if(Me.hasOwnProperty("allowUpscale")&&(He=Me.allowUpscale),Me.hasOwnProperty("scale")&&(Ze=parseFloat(Me.scale),(isNaN(Ze)||Ze===null||Ze===0)&&(Ze=1),Ze>1&&(He=!0)),Te&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(He=!0),!(Me.hasOwnProperty("disableAutoScale")&&Me.disableAutoScale))Ke=ae(Me,Te,He,se,Me.scaleContainerClass);else return Ze;return He&&(!Me.hasOwnProperty("scale")||Ze===1)?Ke:Math.min(Ze,Ke)}function Re(Me){var Te=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Ze=Me.getBoundingClientRect(),Ke=(Te-Ze.width)/2,He=(se-Ze.height)/2;He<0&&(He=0),Me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?Me.style.left="40px":Me.style.left=Ke+"px",Me.style.top=He+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He<40?Me.style.top="40px":Me.style.top=He+"px",Me.style.left=Ke+"px")}function ze(Me,Te){var se=Me.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Ze=me(Te,Me);ht()&&se.setAttribute("data-param-scale",Ze);for(var Ke=null,He=0;He<Me.childNodes.length;He++)if(Me.childNodes[He].className!==void 0&&Me.childNodes[He].className.match(/^applet_scaler/)){Ke=Me.childNodes[He];break}if(Ke!==null&&Ke.querySelector(".noscale")!==null)return;var _e=Te.id!==void 0?Te.id:"ggbApplet",je=window[_e];(je==null||!je.recalculateEnvironments)&&Ke!==null&&!Ke.className.match(/fullscreen/)&&(Ke.parentNode.style.transform="",!isNaN(Ze)&&Ze!==1?(Ke.parentNode.style.width=Te.width*Ze+"px",Ke.parentNode.style.height=Te.height*Ze+"px",Et(Ke,Ze)):(Et(Ke,1),Ke.parentNode.style.width=Te.width+"px",Ke.parentNode.style.height=Te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Re(Me),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(se).parents(".content-added-content"))}}return{responsiveResize:ze,isFlexibleWorksheetEditor:ht,positionCenter:Re,getScale:me,scaleElement:Et}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var ht=n.location.search;return ht.indexOf(J)!=-1||ht.indexOf(K)!=-1}function q(ht,Et){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ht){var Et=s[L].bindings;s[L].bindings=function(){for(var ee=Et?Et():{},ae=ht[webModule.__softPermutationId],me=O;me<ae.length;me++){var Re=ae[me];ee[Re[O]]=Re[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var ht=o.createElement(Q);if(ht.id=L,ht.style.cssText=R+S,ht.tabIndex=-1,o.body.appendChild(ht),t=ht.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Et=document.compatMode==U?V:W;t.write(Et+X),t.close()}}}function w(ht){function Et(ae){function me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Re=me();if(Re){ae();return}function ze(){if(!Re){if(!me())return;Re=!0,ae(),o.removeEventListener&&o.removeEventListener(Z,ze,!1),Me&&clearInterval(Me)}}o.addEventListener&&o.addEventListener(Z,ze,!1);var Me=setInterval(function(){ze()},$)}function ee(ae){var me=u(),Re=me.body,ze=me.createElement(_);ze.language=ab,ze.crossOrigin=W,ze.src=ae,webModule.__errFn&&(ze.onerror=function(){webModule.__errFn(L,new Error(bb+ae))}),Re.appendChild(ze)}Et(function(){ee(ht)})}webModule.__startLoadingFragment=function(ht){return C(ht)},webModule.__installRunAsyncCode=function(ht){var Et=u(),ee=Et.body,ae=Et.createElement(_);ae.language=ab,ae.text=ht,ee.appendChild(ae),ee.removeChild(ae)};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(ht){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ht){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ht){var Et=c[ht];return Et==null?null:Et},r=d,webModule.__errFn=e}function B(){function ht(Me){var Te=Me.lastIndexOf(rb);Te==-1&&(Te=Me.length);var se=Me.indexOf(sb);se==-1&&(se=Me.length);var Ze=Me.lastIndexOf(tb,Math.min(se,Te));return Ze>=O?Me.substring(O,Ze+P):W}function Et(Me){if(!Me.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=Me+vb,Me=ht(Te.src)}return Me}function ee(){var Me=__gwt_getMetaProperty(wb);return Me!=null?Me:W}function ae(){for(var Me=o.getElementsByTagName(_),Te=O;Te<Me.length;++Te)if(Me[Te].src.indexOf(xb)!=-1)return ht(Me[Te].src);return W}function me(){var Me=o.getElementsByTagName(yb);return Me.length>O?Me[Me.length-P].href:W}function Re(){var Me=o.location;return Me.href==Me.protocol+zb+Me.host+Me.pathname+Me.search+Me.hash}var ze=ee();return ze==W&&(ze=ae()),ze==W&&(ze=me()),ze==W&&Re()&&(ze=ht(o.location.href)),ze=Et(ze),ze}function C(ht){return ht.match(/^\//)||ht.match(/^[a-zA-Z]+:\/\//)?ht:webModule.__moduleBase+ht}function D(){var ht=[],Et=O,ee=[],ae=[];function me(Me){var Te=ae[Me](),se=ee[Me];if(Te in se)return Te;var Ze=[];for(var Ke in se)Ze[se[Ke]]=Ke;throw r&&r(Me,Ze,Te),null}if(__gwt_isKnownPropertyValue=function(Me,Te){return Te in ee[Me]},webModule.__getPropMap=function(){var Me={};for(var Te in ee)ee.hasOwnProperty(Te)&&(Me[Te]=me(Te));return Me},webModule.__computePropValue=me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Re;try{Re=Cb;var ze=Re.indexOf(Db);ze!=-1&&(Et=parseInt(Re.substring(ze+P),$),Re=Re.substring(O,ze))}catch(Me){}return webModule.__softPermutationId=Et,C(Re+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(ht,Et,ee){"use strict";ee.d(Et,{Ax:function(){return ze},Ds:function(){return Me},KI:function(){return se},SI:function(){return Re},f1:function(){return me}});var ae=ee(11320);function me(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 Re(Ze,Ke=""){let He=[];for(let _e=0;_e<Ze.length;_e++){let je=Ze[_e],Le=Ke?`${Ke}/${je.name}`:`${je.name}`;He.push({title:je.name,type:je.type,isLeaf:je.type!=="tree",key:Le})}return He}function ze(Ze,Ke,He){for(let _e=0;_e<Ze.length;_e++){let je=Ze[_e];if(je.key===Ke){je.children=He;break}je.children&&ze(je.children,Ke,He)}return Ze}function Me(Ze,Ke,He){let _e;return function(){let je=this,Le=arguments,ce=function(){_e=null,He||Ze.apply(je,Le)},a=He&&!_e;clearTimeout(_e),_e=setTimeout(ce,Ke),a&&Ze.apply(je,Le)}}const Te=!0,se=ae.Z.API_SERVER},63205:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return _e}});var ae=ee(67294),me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Re=ee(94184),ze=ee.n(Re),Me=ee(57953),Te=ee(15979),se=ee(33170),Ze=ee(28706),Ke=(je,Le,ce)=>new Promise((a,y)=>{var x=z=>{try{E(ce.next(z))}catch(re){y(re)}},b=z=>{try{E(ce.throw(z))}catch(re){y(re)}},E=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);E((ce=ce.apply(je,Le)).next())}),_e=({data:je,className:Le,fullWidth:ce,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,ae.useRef)(null),re=(0,ae.useRef)(null),oe=(0,ae.useRef)(null),ne=(0,ae.useRef)(null),[fe,pe]=(0,ae.useState)(!1),[ye,Ce]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),je!=null&&je.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",je!=null&&je.src&&Ee()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[je==null?void 0:je.visible]);const Ee=()=>Ke(void 0,null,function*(){pe(!0),Ce("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ue=yield(0,Ze.ZJ)(je==null?void 0:je.src);z.current.src="",z.current.src=Ue,z.current.onload=function(){It()},pe(!1),Ce("")}),Se=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},gt=Ue=>Ke(void 0,null,function*(){pe(!0),Ce("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ft=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:je.title,file:Ue.dataUrl}});ft!=null&&ft.id&&!E?(yield(0,se.ZP)(`/api/attachments/${je.id}/add_subitem.json`,{method:"post",body:{subitem_id:ft==null?void 0:ft.id,settings:JSON.stringify(Ue.state)}})).status===0&&x():ft!=null&&ft.id&&x(ft),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",pe(!1),Ce("")}),Ye=()=>{const Ue=document.querySelector('a[href="https://markerjs.com/"]');Ue&&Ue.parentNode&&(Ue.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(Tt=>{const Qt=document.querySelector(Tt.name);Qt&&Qt.setAttribute("title",Tt.title)})},It=()=>{re.current=new Te.hP(z.current),re.current.targetRoot=ne.current,re.current.addEventListener("render",gt),re.current.addEventListener("beforeclose",Se),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),je!=null&&je.snapshotData&&re.current.restoreState(je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ye()},300)};return ae.createElement(ae.Fragment,null,(je==null?void 0:je.visible)&&ae.createElement(Me.Z,{spinning:fe,tip:ye,style:{position:"absolute"}},ae.createElement("div",{ref:ne,className:ze()(me.imageDimensions,Le,ce?me.fullWidth:""),style:a},ae.createElement("img",{className:me.img,ref:z}))))}},36527:function(ht,Et,ee){"use strict";var ae=ee(67294),me=ee(71230),Re=ee(15746),ze=ee(66368),Me=ee(71577),Te=ee(85725),se=ee(71736),Ze=ee(84279),Ke=ee(67294);const He=(0,ae.forwardRef)(({callback:_e,showSaveButton:je,value:Le=""},ce)=>{const a=(0,ae.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ke.createElement(me.Z,{className:se.Z.lists,gutter:[10,10]},y.map((re,oe)=>Ke.createElement(Re.Z,{flex:"110px",className:se.Z.item},Ke.createElement("div",null,Ke.createElement(Te.Z,{value:`$$${re.value}$$`}),re.name),Ke.createElement("div",{className:se.Z.children},re.children.map((ne,fe)=>Ke.createElement("div",{key:fe},Ke.createElement("h1",null,ne.name),Ke.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,ye)=>Ke.createElement(Re.Z,{key:ye,onClick:()=>b(pe),className:se.Z.diamond},Ke.createElement(Te.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ke.createElement(me.Z,{className:se.Z.lists,gutter:[10,10]},x.map((re,oe)=>Ke.createElement(Re.Z,{flex:"110px",className:se.Z.item},Ke.createElement("div",null,Ke.createElement(Te.Z,{value:"`$$"+re.value+"$$`"}),re.name),Ke.createElement("div",{className:se.Z.children},re.children.map((ne,fe)=>Ke.createElement("div",{key:fe},ne.name&&Ke.createElement("h1",null,ne.name),Ke.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,ye)=>Ke.createElement(Re.Z,{key:ye,onClick:()=>b(pe),className:se.Z.diamond},Ke.createElement(Te.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],z=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var oe=re.innerText;return _e&&_e(oe),oe};return(0,ae.useImperativeHandle)(ce,()=>({getData:z})),Ke.createElement("div",{className:se.Z.mathWrap},Ke.createElement(ze.default,{defaultActiveKey:"1",items:E}),Ke.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},Le||""),je&&Ke.createElement("div",{className:se.Z.button},Ke.createElement(Me.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Et.Z=He},57444:function(ht,Et,ee){"use strict";ee.d(Et,{h:function(){return re}});var ae=ee(67294),me=ee(42563),Re=ee(22150),ze=ee(71577),Me=ee(4631),Te=ee.n(Me),se=ee(71749),Ze=ee(30483),Ke=Object.defineProperty,He=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,a=(oe,ne,fe)=>ne in oe?Ke(oe,ne,{enumerable:!0,configurable:!0,writable:!0,value:fe}):oe[ne]=fe,y=(oe,ne)=>{for(var fe in ne||(ne={}))Le.call(ne,fe)&&a(oe,fe,ne[fe]);if(je)for(var fe of je(ne))ce.call(ne,fe)&&a(oe,fe,ne[fe]);return oe},x=(oe,ne)=>He(oe,_e(ne));const b=me.default.Option,E={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Et.Z=({callback:oe,onCancel:ne})=>{const[fe,pe]=(0,ae.useState)("python");function ye(Ee){pe(z[Ee][1])}function Ce(Ee){oe(Ee)}return ae.createElement(Re.default,x(y({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ce,style:{width:500}}),ae.createElement(Re.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(me.default,{getPopupContainer:Ee=>Ee.parentNode,onChange:ye},Object.keys(z).map(Ee=>ae.createElement(b,{key:Ee,value:Ee},z[Ee][0])))),ae.createElement(Re.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(re,{mode:fe})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ze.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function re({value:oe,onChange:ne,mode:fe,options:pe={}}){const ye=(0,ae.useRef)(),[Ce,Ee]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(Ce){let Se=function(gt){const Ye=gt.getValue();ne&&ne(Ye)};return Ce.on("change",Se),()=>{Ce.off("change",Se)}}},[Ce,ne]),(0,ae.useEffect)(()=>{Ce&&Ce.setOption("mode",fe)},[Ce,fe]),(0,ae.useEffect)(()=>{Ce&&(oe!==Ce.getValue()||oe==="")&&setTimeout(()=>{Ce.setValue(oe||"")},300)},[Ce,oe]),(0,ae.useEffect)(()=>{if(ye.current&&!Ce){const Se=Te().fromTextArea(ye.current,y({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Ee(Se)}},[ye.current,Ce]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:ye}))}},35567:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return zn}});var ae=ee(67294),me=ee(4631),Re=ee.n(me),ze=ee(91033),Me=ee(71749),Te=ee(57341),se=ee(82801),Ze=ee(88386),Ke=ee(49047),He=ee(80785),_e=ee(85725),je=({value:et="",className:st,showTextOnly:Ve,showLines:Kt,style:Cn={}})=>{const Jn=(0,ae.useMemo)(()=>"",[et]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:Jn}}))},Le=ee(67294),ce=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(et,st,Ve)=>st in et?ce(et,st,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):et[st]=Ve,re=(et,st)=>{for(var Ve in st||(st={}))b.call(st,Ve)&&z(et,Ve,st[Ve]);if(x)for(var Ve of x(st))E.call(st,Ve)&&z(et,Ve,st[Ve]);return et},oe=(et,st)=>a(et,y(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:et,title:st,icon:Ve,actionName:Kt,className:Cn="",children:Jn}){function ja(){et(Kt)}return Le.createElement("a",{title:st,className:Cn,onClick:ja},Le.createElement("i",{className:`${Ve}`}),Jn)}var pe=({watch:et,showNullButton:st,showNullProgramButton:Ve,onActionCallback:Kt,fullScreen:Cn,insertTemp:Jn,hidetoolBar:ja,extraUse:ua})=>{const Un=[...ne,{title:`${et?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${et?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Le.createElement("ul",{className:"markdown-toolbar-container"},!ja&&Un.map((Ma,ho)=>Le.createElement("li",{key:ho},Ma.actionName?Le.createElement(fe,oe(re({},Ma),{onActionCallback:Kt})):Le.createElement("span",{className:"v-line"}))),st?Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Kt},Le.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ve?Le.createElement(Le.Fragment,null,Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Kt},Le.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Kt},Le.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Jn&&Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Jn}`,onActionCallback:Kt},Le.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ua&&Le.createElement("li",null,ua),Le.createElement("li",{className:"btn-full-screen"},Le.createElement(fe,{icon:`${Cn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Cn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Kt})))},ye=ee(76621),Ce=ee(22150),Ee=ee(69677),Se=ee(71577),gt=Object.defineProperty,Ye=Object.defineProperties,It=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,Qt=(et,st,Ve)=>st in et?gt(et,st,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):et[st]=Ve,wt=(et,st)=>{for(var Ve in st||(st={}))ft.call(st,Ve)&&Qt(et,Ve,st[Ve]);if(Ue)for(var Ve of Ue(st))Tt.call(st,Ve)&&Qt(et,Ve,st[Ve]);return et},dt=(et,st)=>Ye(et,It(st));const Gt={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:et,onCancel:st})=>{function Ve(Kt){et(Kt)}return ae.createElement(Ce.default,dt(wt({},Gt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ve,style:{width:500}}),ae.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(Ee.default,null)),ae.createElement(Ce.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(Ee.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Se.ZP,{type:"ghost",onClick:st},"\u53D6\u6D88")))},pn=ee(57444),$e=ee(70859),Ct=ee(14446),Bt=ee(71230),Tn=ee(63205),it=ee(67294),Mt=({callback:et,onCancel:st})=>{const Ve=document.createElement("canvas"),Kt=Ve.getContext("2d");Ve.width=1e3,Ve.height=800,Kt.fillStyle="#ffffff",Kt.fillRect(0,0,Ve.width,Ve.height);const Cn=Ve.toDataURL("image/png");return it.createElement(Ct.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},it.createElement(Bt.Z,{style:{height:"100vh"}},it.createElement(Tn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Cn,visible:!0,title:String(Date.now())},onOk:Jn=>{et({src:Jn.url})},onClose:st})))},xe=ee(23495);function Sn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Sn,go.CommandHandler),Sn.prototype.canAlignSelection=function(){var et=this.diagram;return!(et===null||et.isReadOnly||et.isModelReadOnly||et.selection.count<2)},Sn.prototype.alignLeft=function(){var et=this.diagram;et.startTransaction("aligning left");var st=1/0;et.selection.each(function(Ve){Ve instanceof go.Link||(st=Math.min(Ve.position.x,st))}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(st,Ve.position.y))}),et.commitTransaction("aligning left")},Sn.prototype.alignRight=function(){var et=this.diagram;et.startTransaction("aligning right");var st=-1/0;et.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var Kt=Ve.actualBounds.x+Ve.actualBounds.width;st=Math.max(Kt,st)}}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(st-Ve.actualBounds.width,Ve.position.y))}),et.commitTransaction("aligning right")},Sn.prototype.alignTop=function(){var et=this.diagram;et.startTransaction("alignTop");var st=1/0;et.selection.each(function(Ve){Ve instanceof go.Link||(st=Math.min(Ve.position.y,st))}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.position.x,st))}),et.commitTransaction("alignTop")},Sn.prototype.alignBottom=function(){var et=this.diagram;et.startTransaction("aligning bottom");var st=-1/0;et.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var Kt=Ve.actualBounds.y+Ve.actualBounds.height;st=Math.max(Kt,st)}}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.actualBounds.x,st-Ve.actualBounds.height))}),et.commitTransaction("aligning bottom")},Sn.prototype.alignCenterX=function(){var et=this.diagram,st=et.selection.first();if(st){et.startTransaction("aligning Center X");var Ve=st.actualBounds.x+st.actualBounds.width/2;et.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(Ve-Kt.actualBounds.width/2,Kt.actualBounds.y))}),et.commitTransaction("aligning Center X")}},Sn.prototype.alignCenterY=function(){var et=this.diagram,st=et.selection.first();if(st){et.startTransaction("aligning Center Y");var Ve=st.actualBounds.y+st.actualBounds.height/2;et.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(Kt.actualBounds.x,Ve-Kt.actualBounds.height/2))}),et.commitTransaction("aligning Center Y")}},Sn.prototype.alignColumn=function(et){var st=this.diagram;st.startTransaction("align Column"),et===void 0&&(et=0),et=parseFloat(et);var Ve=new Array;st.selection.each(function(ua){ua instanceof go.Link||Ve.push(ua)});for(var Kt=0;Kt<Ve.length-1;Kt++){var Cn=Ve[Kt],Jn=Cn.actualBounds.y+Cn.actualBounds.height+et,ja=Ve[Kt+1];ja.move(new go.Point(Cn.actualBounds.x,Jn))}st.commitTransaction("align Column")},Sn.prototype.alignRow=function(et){et===void 0&&(et=0),et=parseFloat(et);var st=this.diagram;st.startTransaction("align Row");var Ve=new Array;st.selection.each(function(ua){ua instanceof go.Link||Ve.push(ua)});for(var Kt=0;Kt<Ve.length-1;Kt++){var Cn=Ve[Kt],Jn=Cn.actualBounds.x+Cn.actualBounds.width+et,ja=Ve[Kt+1];ja.move(new go.Point(Jn,Cn.actualBounds.y))}st.commitTransaction("align Row")},Sn.prototype.canRotate=function(et){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<1)},Sn.prototype.rotate=function(et){et===void 0&&(et=90);var st=this.diagram;st.startTransaction("rotate "+et.toString());var st=this.diagram;st.selection.each(function(Ve){Ve instanceof go.Link||Ve instanceof go.Group||(Ve.angle+=et)}),st.commitTransaction("rotate "+et.toString())},Sn.prototype.pullToFront=function(){var et=this.diagram;et.startTransaction("pullToFront");var st=new go.Map;et.selection.each(function(Ve){st.set(Ve.layer,0)}),st.iteratorKeys.each(function(Ve){var Kt=0;Ve.parts.each(function(Cn){if(!Cn.isSelected){var Jn=Cn.zOrder;isNaN(Jn)?Cn.zOrder=0:Kt=Math.max(Kt,Jn)}}),st.set(Ve,Kt)}),et.selection.each(function(Ve){Sn._assignZOrder(Ve,st.get(Ve.layer)+1)}),et.commitTransaction("pullToFront")},Sn.prototype.pushToBack=function(){var et=this.diagram;et.startTransaction("pushToBack");var st=new go.Map;et.selection.each(function(Ve){st.set(Ve.layer,0)}),st.iteratorKeys.each(function(Ve){var Kt=0;Ve.parts.each(function(Cn){if(!Cn.isSelected){var Jn=Cn.zOrder;isNaN(Jn)?Cn.zOrder=0:Kt=Math.min(Kt,Jn)}}),st.set(Ve,Kt)}),et.selection.each(function(Ve){Sn._assignZOrder(Ve,st.get(Ve.layer)-1-Sn._findGroupDepth(Ve))}),et.commitTransaction("pushToBack")},Sn._assignZOrder=function(et,st,Ve){Ve===void 0&&(Ve=et),et.layer===Ve.layer&&(et.zOrder=st),et instanceof go.Group&&et.memberParts.each(function(Kt){Sn._assignZOrder(Kt,st+1,Ve)})},Sn._findGroupDepth=function(et){if(et instanceof go.Group){var st=0;return et.memberParts.each(function(Ve){st=Math.max(st,Sn._findGroupDepth(Ve))}),st+1}else return 0},Sn.prototype.doKeyDown=function(){var et=this.diagram;if(et!==null){var st=et.lastInput;if(st.key==="Up"||st.key==="Down"||st.key==="Left"||st.key==="Right"){var Ve=this.arrowKeyBehavior;if(Ve==="none")return;if(Ve==="select"){this._arrowKeySelect();return}else if(Ve==="move"){this._arrowKeyMove();return}else if(Ve==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Sn.prototype._getAllParts=function(){var et=new Array;return this.diagram.nodes.each(function(st){et.push(st)}),this.diagram.parts.each(function(st){et.push(st)}),et},Sn.prototype._arrowKeyMove=function(){var et=this.diagram,st=et.lastInput,Ve=0,Kt=0;if(st.control||st.meta)Ve=1,Kt=1;else if(et.grid!==null){var Cn=et.grid.gridCellSize;Kt=Cn.width,Ve=Cn.height}et.startTransaction("arrowKeyMove"),et.selection.each(function(Jn){st.key==="Up"?Jn.move(new go.Point(Jn.actualBounds.x,Jn.actualBounds.y-Ve)):st.key==="Down"?Jn.move(new go.Point(Jn.actualBounds.x,Jn.actualBounds.y+Ve)):st.key==="Left"?Jn.move(new go.Point(Jn.actualBounds.x-Kt,Jn.actualBounds.y)):st.key==="Right"&&Jn.move(new go.Point(Jn.actualBounds.x+Kt,Jn.actualBounds.y))}),et.commitTransaction("arrowKeyMove")},Sn.prototype._arrowKeySelect=function(){var et=this.diagram,st=et.lastInput,Ve=null;st.key==="Up"?Ve=this._findNearestPartTowards(270):st.key==="Down"?Ve=this._findNearestPartTowards(90):st.key==="Left"?Ve=this._findNearestPartTowards(180):st.key==="Right"&&(Ve=this._findNearestPartTowards(0)),Ve!==null&&(st.shift?Ve.isSelected=!0:st.control||st.meta?Ve.isSelected=!Ve.isSelected:et.select(Ve))},Sn.prototype._findNearestPartTowards=function(et){var st=this.diagram.selection.first();if(st===null)return null;for(var Ve=st.actualBounds.center,Kt=this._getAllParts(),Cn=1/0,Jn=st,ja=0;ja<Kt.length;ja++){var ua=Kt[ja];if(ua!==st&&ua.canSelect()){var Un=ua.actualBounds.center,Ma=Ve.directionPoint(Un),ho=this._angleCloseness(Ma,et);if(ho<=45){var Mn=Ve.distanceSquaredPoint(Un);Mn*=1+Math.sin(ho*Math.PI/180),Mn<Cn&&(Cn=Mn,Jn=ua)}}}return Jn},Sn.prototype._angleCloseness=function(et,st){return Math.min(Math.abs(st-et),Math.min(Math.abs(st+360-et),Math.abs(st-360-et)))},Sn.prototype._arrowKeyTree=function(){var et=this.diagram,st=et.selection.first();if(st instanceof go.Node){var Ve=et.lastInput;if(Ve.key==="Right"){if(!st.isTreeLeaf)if(!st.isTreeExpanded)et.commandHandler.canExpandTree(st)&&et.commandHandler.expandTree(st);else{var Kt=this._sortTreeChildrenByY(st).first();Kt!==null&&et.select(Kt)}}else if(Ve.key==="Left")if(!st.isTreeLeaf&&st.isTreeExpanded)et.commandHandler.canCollapseTree(st)&&et.commandHandler.collapseTree(st);else{var Cn=st.findTreeParentNode();Cn!==null&&et.select(Cn)}else if(Ve.key==="Up"){var Cn=st.findTreeParentNode();if(Cn!==null){var Jn=this._sortTreeChildrenByY(Cn),ja=Jn.indexOf(st);if(ja>0){for(var ua=Jn.elt(ja-1);ua!==null&&ua.isTreeExpanded&&!ua.isTreeLeaf;){var Un=this._sortTreeChildrenByY(ua);ua=Un.last()}ua!==null&&et.select(ua)}else et.select(Cn)}}else if(Ve.key==="Down")if(st.isTreeExpanded&&!st.isTreeLeaf){var Kt=this._sortTreeChildrenByY(st).first();Kt!==null&&et.select(Kt)}else for(;st!==null;){var Cn=st.findTreeParentNode();if(Cn===null)break;var Jn=this._sortTreeChildrenByY(Cn),ja=Jn.indexOf(st);if(ja<Jn.length-1){et.select(Jn.elt(ja+1));break}else st=Cn}var Ma=et.selection.first();Ma!==null&&et.scrollToRect(Ma.actualBounds)}},Sn.prototype._sortTreeChildrenByY=function(et){var st=new go.List().addAll(et.findTreeChildrenNodes());return st.sort(function(Ve,Kt){var Cn=Ve.location,Jn=Kt.location;return Cn.y<Jn.y?-1:Cn.y>Jn.y?1:Cn.x<Jn.x?-1:Cn.x>Jn.x?1:0}),st},Sn.prototype.copyToClipboard=function(et){go.CommandHandler.prototype.copyToClipboard.call(this,et),this._lastPasteOffset.set(this.pasteOffset)},Sn.prototype.pasteFromClipboard=function(){var et=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(et,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),et},Object.defineProperty(Sn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(et){if(et!=="move"&&et!=="select"&&et!=="scroll"&&et!=="tree"&&et!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+et);this._arrowKeyBehavior=et}}),Object.defineProperty(Sn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(et){if(!(et instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+et);this._pasteOffset.set(et)}});var Wn=Sn,Ca=ee(18023),yn=ee(15746),Yt=ee(33170),Ge={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=ee(67294),pt=(et,st,Ve)=>new Promise((Kt,Cn)=>{var Jn=Un=>{try{ua(Ve.next(Un))}catch(Ma){Cn(Ma)}},ja=Un=>{try{ua(Ve.throw(Un))}catch(Ma){Cn(Ma)}},ua=Un=>Un.done?Kt(Un.value):Promise.resolve(Un.value).then(Jn,ja);ua((Ve=Ve.apply(et,st)).next())});function zt({onCancel:et,callback:st}){let Ve=(0,ae.useRef)(),Kt=(0,ae.useRef)(),Cn=(0,ae.useRef)(),Jn=(0,ae.useRef)(!1);const ja=(0,ae.useRef)(!1),[ua,Un]=(0,ae.useState)(0);function Ma(){const Mn=xe.bx.make,no={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"};Ve.current=new xe.S0(Kt.current,{padding:20,grid:Mn(xe.s_,"Grid",Mn(xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Mn(xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:In=>{var va=In.diagram.commandHandler.addTopLevelParts(In.diagram.selection,!0);va||In.diagram.currentTool.doCancel()},commandHandler:Mn(Wn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:In=>{var va=In.subject;va.location=va.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 va=In.subject;setTimeout(()=>{In.diagram.commandHandler.editTextBlock()})},LinkRelinked:In=>{var va=In.parameter.part;va.invalidateConnectedLinks();var Va=In.subject;In.diagram.toolManager.linkingTool.isForwards?Va.toNode.invalidateConnectedLinks():Va.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ve.current.nodeTemplate=Mn(xe.NB,"Auto",{locationSpot:xe.z6.Center,locationObjectName:"SHAPE",desiredSize:new xe.$u(120,60),minSize:new xe.$u(40,40),resizable:!0,resizeCellSize:new xe.$u(10,10),rotatable:!0},new xe.KX("location","loc",xe.E9.parse).makeTwoWay(xe.E9.stringify),new xe.KX("desiredSize","size",xe.$u.parse).makeTwoWay(xe.$u.stringify),Mn(xe.bn,{name:"SHAPE",fill:no.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xe.z6.AllSides,toSpot:xe.z6.AllSides},new xe.KX("figure"),new xe.KX("fill"),new xe.KX("stroke","borderColor"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),Mn(xe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Mn(xe.al,{margin:1,textAlign:"center",overflow:xe.al.OverflowEllipsis,editable:!0},new xe.KX("text").makeTwoWay(),new xe.KX("stroke","color"))),Ve.current.nodeTemplate.toolTip=Mn("ToolTip",Mn(xe.s_,"Vertical",{maxSize:new xe.$u(200,NaN)},Mn(xe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new xe.KX("text")),Mn(xe.al,{font:"10pt sans-serif",textAlign:"center"},new xe.KX("text","details"))));function rt(In,va){var Va=(Vn,Wr)=>{Vn.handled=!0,Vn.diagram.model.commit(_r=>{var ti=Wr.part.adornedPart,ni=new xe.E9().setRectSpot(ti.actualBounds,In);ni.subtract(ti.location),ni.scale(2,2),ni.x+=Math.sign(ni.x)*130,ni.y+=Math.sign(ni.y)*130,ni.add(ti.location),ni.snapToGridPoint(Vn.diagram.grid.gridOrigin,Vn.diagram.grid.gridCellSize);var ai=_r.copyNodeData(ti.data);_r.setGroupKeyForNodeData(ai,_r.getGroupKeyForNodeData(ti.data)),_r.addNodeData(ai);var bl={from:ti.key,to:_r.getKeyForNodeData(ai)};_r.addLinkData(bl);var yi=Vn.diagram.findNodeForData(ai);yi.location=ni,Vn.diagram.select(yi),setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()},20)})};return Mn(xe.bn,{figure:va,alignment:In,alignmentFocus:In.opposite(),width:In.equals(xe.z6.Top)||In.equals(xe.z6.Bottom)?25:18,height:In.equals(xe.z6.Top)||In.equals(xe.z6.Bottom)?18:25,fill:"orange",stroke:no.white,strokeWidth:4,mouseEnter:(Vn,Wr)=>Wr.fill="dodgerblue",mouseLeave:(Vn,Wr)=>Wr.fill="orange",isActionable:!0,click:Va,contextClick:Va})}function qt(In){return Mn(xe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(va,Va)=>Va.fill="dodgerblue",mouseLeave:(va,Va)=>Va.fill="orange",click:(va,Va)=>{va.diagram.commandHandler.showContextMenu(Va.part.adornedPart)}},In||{})}Ve.current.nodeTemplate.selectionAdornmentTemplate=Mn(xe.uz,"Spot",Mn(xe.Vm,{padding:10}),rt(xe.z6.Top,"TriangleUp"),rt(xe.z6.Left,"TriangleLeft"),rt(xe.z6.Right,"TriangleRight"),rt(xe.z6.Bottom,"TriangleDown"),qt({alignment:new xe.z6(.75,0)}));function jt(In,va){return(Va,Vn)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{Wr.set(Vn.part.adornedPart.data,In,va)})}}function Jt(In,va){return va||(va="color"),Mn(xe.bn,{width:16,height:16,stroke:"lightgray",fill:In,margin:1,background:"transparent",mouseEnter:(Va,Vn)=>Vn.stroke="dodgerblue",mouseLeave:(Va,Vn)=>Vn.stroke="lightgray",click:jt(va,In),contextClick:jt(va,In)})}function $n(){return[Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Jt(no.white,"fill"),Jt(no.beige,"fill"),Jt(no.extralightblue,"fill"),Jt(no.extralightred,"fill"))),Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Jt(no.lightgray,"fill"),Jt(no.lightgreen,"fill"),Jt(no.lightblue,"fill"),Jt(no.lightred,"fill")))]}function Wt(){return[Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Jt(no.black),Jt(no.green),Jt(no.blue),Jt(no.red))),Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Jt(no.white),Jt(no.magenta),Jt(no.purple),Jt(no.orange)))]}function Fn(In,va){return va||(va="thickness"),Mn(xe.bn,"LineH",{width:16,height:16,strokeWidth:In,margin:1,background:"transparent",mouseEnter:(Va,Vn)=>Vn.background="dodgerblue",mouseLeave:(Va,Vn)=>Vn.background="transparent",click:jt(va,In),contextClick:jt(va,In)})}function cn(In,va){return va||(va="dash"),Mn(xe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:In,margin:1,background:"transparent",mouseEnter:(Va,Vn)=>Vn.background="dodgerblue",mouseLeave:(Va,Vn)=>Vn.background="transparent",click:jt(va,In),contextClick:jt(va,In)})}function $a(){return[Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Fn(1),Fn(2),Fn(3),Fn(4))),Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",cn(null),cn([2,4]),cn([4,4])))]}function Aa(In,va){return va||(va="figure"),Mn(xe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:In,margin:1,background:"transparent",mouseEnter:(Va,Vn)=>Vn.fill="dodgerblue",mouseLeave:(Va,Vn)=>Vn.fill="lightgray",click:jt(va,In),contextClick:jt(va,In)})}Ve.current.nodeTemplate.contextMenu=Mn("ContextMenu",Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Aa("Rectangle"),Aa("RoundedRectangle"),Aa("Ellipse"),Aa("Diamond"))),Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Aa("Parallelogram2"),Aa("ManualOperation"),Aa("Procedure"),Aa("Cylinder1"))),Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Aa("Terminator"),Aa("CreateRequest"),Aa("Document"),Aa("TriangleDown"))),$n(),Wt(),$a()),Ve.current.groupTemplate=Mn(xe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:xe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(In,va)=>{var Va=va.addMembers(va.diagram.selection,!0);Va||va.diagram.currentTool.doCancel()},avoidable:!1},new xe.KX("location","loc",xe.E9.parse).makeTwoWay(xe.E9.stringify),Mn(xe.s_,"Auto",{name:"BODY"},Mn(xe.bn,{parameter1:10,fill:no.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xe.z6.AllSides,toSpot:xe.z6.AllSides},new xe.KX("fill"),new xe.KX("stroke","color"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),Mn(xe.Vm,{background:"transparent",margin:20})),Mn(xe.al,{alignment:xe.z6.Top,alignmentFocus:xe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new xe.KX("text"),new xe.KX("stroke","color"))),Ve.current.groupTemplate.selectionAdornmentTemplate=Mn(xe.uz,"Spot",Mn(xe.s_,"Auto",Mn(xe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Mn(xe.Vm,{margin:1.5})),qt({alignment:xe.z6.TopRight,alignmentFocus:xe.z6.BottomRight})),Ve.current.groupTemplate.contextMenu=Mn("ContextMenu",$n(),Wt(),$a()),Ve.current.linkTemplate=Mn(xe.rU,{layerName:"Foreground",routing:xe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new xe.KX("fromSpot","fromSpot",xe.z6.parse),new xe.KX("toSpot","toSpot",xe.z6.parse),new xe.KX("fromShortLength","dir",In=>In>=1?10:0),new xe.KX("toShortLength","dir",In=>In>=1?10:0),new xe.KX("points").makeTwoWay(),Mn(xe.bn,{strokeWidth:2},new xe.KX("stroke","color"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),Mn(xe.bn,{segmentIndex:0,segmentOffset:new xe.E9(15,0),segmentOrientation:xe.rU.OrientAlong,alignmentFocus:xe.z6.Right,figure:"circle",width:10,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",In=>In===1)),Mn(xe.bn,{segmentIndex:-1,segmentOffset:new xe.E9(-10,6),segmentOrientation:xe.rU.OrientPlus90,alignmentFocus:xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",In=>In>=1),new xe.KX("width","thickness",In=>7+3*In),new xe.KX("height","thickness",In=>7+3*In),new xe.KX("segmentOffset","thickness",In=>new xe.E9(-15,4+1.5*In))),Mn(xe.bn,{segmentIndex:0,segmentOffset:new xe.E9(15,-6),segmentOrientation:xe.rU.OrientMinus90,alignmentFocus:xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",In=>In===2),new xe.KX("width","thickness",In=>7+3*In),new xe.KX("height","thickness",In=>7+3*In),new xe.KX("segmentOffset","thickness",In=>new xe.E9(-15,4+1.5*In))),Mn(xe.al,{alignmentFocus:new xe.z6(0,1,-4,0),editable:!0},new xe.KX("text").makeTwoWay(),new xe.KX("stroke","color"))),Ve.current.linkTemplate.selectionAdornmentTemplate=Mn(xe.uz,Mn(xe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:cr(2)},new xe.KX("pathPattern","thickness",cr)),qt({alignmentFocus:new xe.z6(0,0,-6,-4)}));function cr(In){return Mn(xe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(In+4).toString()+" H3"})}function zr(In){var va="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return In===0?va="M0 0 M16 16 M0 8 L16 8":In===2&&(va="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Mn(xe.bn,{geometryString:va,margin:2,background:"transparent",mouseEnter:(Va,Vn)=>Vn.background="dodgerblue",mouseLeave:(Va,Vn)=>Vn.background="transparent",click:jt("dir",In),contextClick:jt("dir",In)})}function co(In){var va=(Va,Vn)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{var _r=Vn.part.adornedPart;Wr.set(_r.data,In?"toSpot":"fromSpot",xe.z6.stringify(xe.z6.AllSides)),(In?_r.toNode:_r.fromNode).invalidateConnectedLinks()})};return Mn(xe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Va,Vn)=>Vn.background="dodgerblue",mouseLeave:(Va,Vn)=>Vn.background="transparent",click:va,contextClick:va})}function fn(In,va){var Va=0,Vn=xe.z6.RightSide;In.equals(xe.z6.Top)?(Va=270,Vn=xe.z6.TopSide):In.equals(xe.z6.Left)?(Va=180,Vn=xe.z6.LeftSide):In.equals(xe.z6.Bottom)&&(Va=90,Vn=xe.z6.BottomSide),va||(Va-=180);var Wr=(_r,ti)=>{_r.handled=!0,_r.diagram.model.commit(ni=>{var ai=ti.part.adornedPart;ni.set(ai.data,va?"toSpot":"fromSpot",xe.z6.stringify(Vn)),(va?ai.toNode:ai.fromNode).invalidateConnectedLinks()})};return Mn(xe.bn,{alignment:In,alignmentFocus:In.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Va,background:"transparent",mouseEnter:(_r,ti)=>ti.background="dodgerblue",mouseLeave:(_r,ti)=>ti.background="transparent",click:Wr,contextClick:Wr})}Ve.current.linkTemplate.contextMenu=Mn("ContextMenu",Wt(),$a(),Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",zr(0),zr(1),zr(2))),Mn("ContextMenuButton",Mn(xe.s_,"Horizontal",Mn(xe.s_,"Spot",co(!1),fn(xe.z6.Top,!1),fn(xe.z6.Left,!1),fn(xe.z6.Right,!1),fn(xe.z6.Bottom,!1)),Mn(xe.s_,"Spot",{margin:new xe.Zt(0,0,0,2)},co(!0),fn(xe.z6.Top,!0),fn(xe.z6.Left,!0),fn(xe.z6.Right,!0),fn(xe.z6.Bottom,!0)))));const Bi=`{ "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 ei=["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 qr(In){return console.log("shapeName:",In),ei.indexOf(In)>=0}var Yo=new xe.YI(Cn.current,{maxSelectionCount:1,linkTemplate:Mn(xe.rU,{locationSpot:xe.z6.Center,selectionAdornmentTemplate:Mn(xe.uz,"Link",{locationSpot:xe.z6.Center},Mn(xe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Mn(xe.bn,{toArrow:"Standard",stroke:null}))},{routing:xe.rU.AvoidsNodes,curve:xe.rU.JumpOver,corner:5,toShortLength:4},new xe.KX("points"),Mn(xe.bn,{isPanelMain:!0,strokeWidth:2}),Mn(xe.bn,{toArrow:"Standard",stroke:null})),model:new xe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...xe.bn.getFigureGenerators().toArray().map(In=>({text:"\u672A\u547D\u540D",size:"100 100",figure:In.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ve.current.addDiagramListener("TextEdited",function(In){var va;const Va=In.subject.part;var Vn=(va=document.activeElement)==null?void 0:va.value;typeof Vn=="string"&&Vn.trim()===""&&Ve.current.model.commit(function(Wr){Wr.set(Va.data,"text","\u672A\u547D\u540D"),Ve.current.commandHandler.stopCommand()},"increment")}),Yo.nodeTemplate=Mn(xe.NB,"Auto",{locationSpot:xe.z6.Center},new xe.KX("location","location",xe.E9.parse).makeTwoWay(xe.E9.stringify),Mn(xe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new xe.KX("stroke").makeTwoWay(),new xe.KX("fill").makeTwoWay(),new xe.KX("figure")),Mn(xe.al,{margin:new xe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new xe.$u(16,16),maxSize:new xe.$u(10,NaN),textAlign:"center",editable:!0},new xe.KX("key").makeTwoWay())),setTimeout(()=>{Ve.current.grid=Mn(xe.s_,"Grid",Mn(xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Mn(xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ve.current.grid.visible=!0,Ve.current.grid.gridCellStroke="darkgray",Ve.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ve.current,Ve.current}const ho=()=>pt(this,null,function*(){var Mn=Ve.current.makeImage();const no=yield(0,Yt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Mn.src}});st({src:no.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{Ma()},500),Un(ua+1),()=>{Ve.current=null}),[]),Fe.createElement("div",{ref:ja,className:Jn.current?`${Ge.maxH60} body-overflow-initial`:"body-overflow-initial"},Fe.createElement(Ct.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ua,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Fe.createElement(Bt.Z,null,Fe.createElement(yn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(yn.Z,{onClick:()=>{var Mn,no,rt=Ve.current.selection.first();if(Jn.current=!Jn.current,document.activeElement&&rt){let qt=(no=(Mn=document.activeElement)==null?void 0:Mn.value)==null?void 0:no.trim();typeof qt=="string"&&Ve.current.model.commit(function(jt){jt.set(rt.data,"text",qt||"\u672A\u547D\u540D"),Ve.current.commandHandler.stopCommand()},"increment")}Un(ua+1)}},Fe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:et},Fe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ge.flowChartWrp},Fe.createElement("div",{style:{display:"flex",height:"100%"}},Fe.createElement("div",{style:{width:"300px",height:"100%"}},Fe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Fe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ge.myPaletteDiv,ref:Cn})),Fe.createElement("div",{style:{flex:1,position:"relative"}},Fe.createElement("div",{ref:Kt,style:{height:"80vh"}}))),Fe.createElement("div",{className:"tr"},Fe.createElement(Se.ZP,{size:"large",onClick:ho,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var en=zt,En=ee(78045),kn=ee(31795);const _n=En.ZP.Group,Gn={margin:"0 8px"};var nn=({callback:et,onCancel:st})=>{function Ve(Kt){et(Kt)}return ae.createElement(Ce.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ve},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Gn},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Gn},"\u884C\u6570"),ae.createElement(Ce.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(kn.Z,null)),ae.createElement("span",{style:Gn},"\u5217\u6570"),ae.createElement(Ce.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(kn.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Gn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(Ce.default.Item,{name:"align"},ae.createElement(_n,null,ae.createElement(En.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(En.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(En.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(En.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Se.ZP,{type:"ghost",onClick:st},"\u53D6\u6D88")))},we=ee(47897),Qe=ee(61016),Qn=ee.n(Qe),lt=(0,ae.forwardRef)(({use3d:et,width:st,height:Ve,callback:Kt,showSaveButton:Cn},Jn)=>{const ja=(0,ae.useRef)(),ua=(0,ae.useRef)(),[Un,Ma]=(0,ae.useState)(!1),ho=(0,ae.useRef)({id:ja,appName:"graphing",width:st||1e3,height:Ve||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{ua.current=new(Qn())(ho.current,!0),window.onload=function(){ua.current.inject("applet_container")}},[]);const Mn=()=>{var no=window.ggbApplet.getPNGBase64(1,!0,72);return Kt&&Kt(no),no};return(0,ae.useEffect)(()=>{ho.current.appName=Un?"3D":"graphing",ua.current.inject("applet_container")},[Un]),(0,ae.useEffect)(()=>{Ma(et)},[et]),(0,ae.useImperativeHandle)(Jn,()=>({getImgData:Mn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ja}),ae.createElement(Bt.Z,{align:"middle"},ae.createElement(yn.Z,{flex:1},ae.createElement(we.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Un,onChange:no=>Ma(no)})),ae.createElement(yn.Z,null,ae.createElement(Se.ZP,{size:"large",onClick:Mn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),tn=ee(36527),We=ee(25934),ut=ee(2453);const Ft="link",$t="upload-image",Rt="add-flowchart",bn="draw-image",ra="add-flowchart",Yn="code-block",jn="add-table",Ga="------------",oa={default:Ga,left:`:${Ga}`,center:`:${Ga}:`,right:`${Ga}:`};var Ka=ee(99914),Pr=(et,st,Ve)=>new Promise((Kt,Cn)=>{var Jn=Un=>{try{ua(Ve.next(Un))}catch(Ma){Cn(Ma)}},ja=Un=>{try{ua(Ve.throw(Un))}catch(Ma){Cn(Ma)}},ua=Un=>Un.done?Kt(Un.value):Promise.resolve(Un.value).then(Jn,ja);ua((Ve=Ve.apply(et,st)).next())});function Tr(){}let Xr=0;const Rr=1e4,Br="\u2581",to="@\u2581\u2581@",lo="@\u2581@",gr=`
**\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`,Pn=["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 Zn(et){return/^\d+$/.test(et)?`${et}px`:et}const Nn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Oa={[Nn+"-B"]:"bold",[Nn+"-I"]:"italic"},Ar={[Ft]:"\u6DFB\u52A0\u94FE\u63A5",[Yn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[$t]:"\u6DFB\u52A0\u56FE\u7247",[bn]:"\u6DFB\u52A0\u753B\u56FE",[Rt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[jn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var zn=({defaultValue:et="",onChange:st,width:Ve="100%",height:Kt=400,miniToolbar:Cn=!1,isFocus:Jn=!1,watch:ja,insertTemp:ua,mode:Un="markdown",id:Ma="markdown-editor-id",showResizeBar:ho=!1,noStorage:Mn=!1,showNullButton:no=!1,showNullProgramButton:rt=!1,hidetoolBar:qt=!1,fullScreen:jt=!1,onBlur:Jt,onCMBeforeChange:$n,onFullScreen:Wt,className:Fn="",disablePaste:cn=!1,disabled:$a=!1,disabledFill:Aa=!1,placeholder:cr="",values:zr="",extraUse:co})=>{const[fn,Bi]=(0,ae.useState)(null),[ei,qr]=(0,ae.useState)(et),[Yo,In]=(0,ae.useState)(ja),[va,Va]=(0,ae.useState)(jt),[Vn,Wr]=(0,ae.useState)(""),[_r,ti]=(0,ae.useState)(0),[ni,ai]=(0,ae.useState)(Kt),[bl,yi]=(0,ae.useState)(!1),jl=(0,ae.useRef)((0,We.Z)()),$l=(0,ae.useRef)(!1),wi=(0,ae.useRef)(),[Xo,hl]=(0,ae.useState)(0),[Cl,Fl]=(0,ae.useState)(0),tl=(0,ae.useRef)(),ki=(0,ae.useRef)(),pl=(0,ae.useRef)(),kr=(0,ae.useRef)(),vt=()=>Pr(void 0,null,function*(){var wn;const Dt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:jl.current}});(wn=Dt==null?void 0:Dt.attachments)!=null&&wn.length&&(console.log("cm:",fn,tl),Dt.attachments.map(hn=>{hn.content_type.indexOf("image")>-1?fn.replaceSelection(`![,](/api/attachments/${hn.id}?type=${hn.content_type})`):hn.content_type.indexOf("video")>-1?fn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):hn.content_type.indexOf("pdf")>-1?fn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${hn.id}?type=${hn.content_type}&disposition=inline" target="_blank">${hn.name}</a>`):fn.replaceSelection(`[${hn.name}](${ENV.API_SERVER}/api/attachments/${hn.id}?type=${hn.content_type})`)}))});(0,ae.useEffect)(()=>{const wn=window.scrollY||window.pageYOffset;qr(zr),fn==null||fn.setValue(zr),window.scrollTo(0,wn)},[zr]),(0,ae.useEffect)(()=>{Wt==null||Wt(va)},[va]),(0,ae.useEffect)(()=>{if(tl.current){let wn=function(hn,xn){var ia;if(cn){xn.preventDefault();return}const Fa=xn.clipboardData;if(Fa){const Xa=Fa.types.toString(),yr=Fa.items;if(Xa==="Files"||Fa.types.indexOf("Files")>-1){if(xn.preventDefault(),Un=="stex")return;try{let sr=yr[1];((ia=yr[0])==null?void 0:ia.kind)==="file"&&(sr=yr[0]);const ea=sr.getAsFile(),ya=ea.name.split(".").pop();(0,$e.I)(ea,Sa=>{var Za,dr,Hr;Sa.id?((Za=ea==null?void 0:ea.type)==null?void 0:Za.indexOf("image"))>-1?Dt.replaceSelection(`<img width="100%" src="/api/attachments/${Sa.id}?type=${Sa.content_type})" alt="" />`):((dr=ea==null?void 0:ea.type)==null?void 0:dr.indexOf("video"))>-1?Dt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Sa.id}"></video>`):((Hr=ea==null?void 0:ea.type)==null?void 0:Hr.indexOf("pdf"))>-1?Dt.replaceSelection(`<a href="/api/attachments/${Sa.id}?type=${ea.type}&disposition=inline" target="_blank">${ea.name}</a>`):Pn.includes(ya)?Dt.replaceSelection(`<a href="/api/attachments/${Sa.id}?type=office&disposition=inline" target="_blank">${ea.name}</a>`):Dt.replaceSelection(`[${ea.name}](/api/attachments/${Sa.id}?type=${Sa.content_type})`):(Sa==null?void 0:Sa.status)===401&&(ut.ZP.warning((Sa==null?void 0:Sa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(sr){ut.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Dt=Re().fromTextArea(tl.current,{mode:Un,lineNumbers:!Cn,lineWrapping:!0,value:et,autoCloseTags:!rt,autoCloseBrackets:!0});return Dt.on("keyup",function(hn,xn){xn.keyCode===8&&(hn.getValue()==""?Dt.setOption("placeholder",cr):Dt.setOption("placeholder",null))}),Dt.on("keydown",function(hn,xn){if(xn.keyCode===8){var ia=Xt(hn);ia&&xn.preventDefault()}}),Jn&&Dt.focus(),Dt.on("paste",wn),Dt.on("dragleave",function(hn,xn){ki.current.classList.remove("mouse-hover-md")}),$a&&Dt.on("beforeChange",function(hn,xn){(xn.origin==="paste"||xn.origin==="+input")&&xn.cancel()}),Bi(Dt),()=>{Dt.off("paste",wn)}}},[]);const At=(0,ae.useCallback)(()=>{if(ki.current)try{}catch(wn){console.log(wn,"---- to set md editor body height")}},[ni,ki,va]);(0,ae.useEffect)(()=>{function wn(){let Dt=new ze.Z(hn=>{for(let xn of hn)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&(At(),fn.setSize("100%","100%"),fn.refresh())});return Dt.observe(tl.current.parentElement),Dt}if(fn){const Dt=wn();return()=>{var hn,xn;(hn=tl.current)!=null&&hn.parentElement&&Dt.unobserve((xn=tl.current)==null?void 0:xn.parentElement)}}},[fn,At]),(0,ae.useEffect)(()=>{if(fn){let wn=[];for(const[Dt,hn]of Object.entries(Oa)){let xn={[Dt]:()=>{Ne(hn)}};wn.push(xn),fn.addKeyMap(xn)}return wi.current=setInterval(()=>{$l.current&&vt()},4e3),()=>{clearInterval(wi.current);for(let Dt of wn)fn.removeKeyMap(Dt)}}},[fn]),(0,ae.useEffect)(()=>{jt!==va&&Va(jt)},[jt]),(0,Ka.Z)(()=>{if(!Mn&&_r>0){let wn=new Date().getTime(),Dt=window.sessionStorage.getItem(Ma);wn>=_r+Rr&&(!Dt||Dt!==ei)&&(window.sessionStorage.setItem(Ma,ei),yi(!0))}},Rr),(0,ae.useEffect)(()=>{In(ja)},[fn,ja]),(0,ae.useEffect)(()=>{fn&&Jn&&fn.focus()},[fn,Jn]),(0,ae.useEffect)(()=>{if(Yo&&fn){let wn=function(hn){let xn=hn.target;if(kr.current){let ia=xn.scrollTop/xn.scrollHeight;kr.current.scrollTop=kr.current.scrollHeight*ia}};const Dt=fn.getScrollerElement();return Dt.addEventListener("scroll",wn),()=>{Dt.removeEventListener("scroll",wn)}}},[fn,Yo]),(0,ae.useEffect)(()=>{if(fn&&$n){let wn=function(Dt,hn){$n(Dt,hn)};return fn.on("beforeChange",wn),()=>{fn.off("beforeChange",wn)}}},[fn,$n]),(0,ae.useEffect)(()=>{if(fn&&Jt){let wn=function(){Jt(fn.getValue())};return fn.on("blur",wn),()=>{fn.off("blur",wn)}}},[fn,Jt]);function Xt(wn,Dt){var hn=wn.getDoc(),xn=hn.getCursor(),ia=hn.getLine(xn.line),Fa=ia.charAt(xn.ch-1),Xa=ia.lastIndexOf("@\u2581@",xn.ch),yr=ia.lastIndexOf("@\u2581\u2581@",xn.ch),sr=Xa>yr?Xa:yr,ea=Xa>yr?3:4;if(to.indexOf(Fa)===-1)return null;if(console.log("change1:",Dt,wn,ia,xn,sr,Xa,yr,Fa),sr>=0&&xn.ch-sr<5){var ya=sr+ea;return hn.replaceRange("",{line:xn.line,ch:sr},{line:xn.line,ch:ya}),{line:xn.line,ch:ya}}return null}(0,ae.useEffect)(()=>{if(fn){let wn=function(Dt,hn){const xn=Dt.getValue();qr(xn),ti(new Date().getTime()),Dt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),st&&(rt?st(xn,da(xn)):st(xn))};return fn.on("change",wn),()=>{fn.off("change",wn)}}},[fn,st]),(0,ae.useEffect)(()=>{if(fn)if(et==null)fn.setValue(""),qr("");else{const wn=window.scrollY||window.pageYOffset;et!==fn.getValue()&&(fn.setValue(et),qr(et),fn.setCursor($a?1:fn.lineCount(),0),window.scrollTo(0,wn))}},[fn,et]);const Ne=(0,ae.useCallback)(wn=>{const Dt=fn.getCursor(),hn=fn.getSelection();let xn=hn.split(`
`);switch(wn){case"bold":return fn.replaceSelection("**"+hn+"**"),hn===""&&fn.setCursor(Dt.line,Dt.ch+2),fn.focus();case"italic":return fn.replaceSelection("*"+hn+"*"),hn===""&&fn.setCursor(Dt.line,Dt.ch+1),fn.focus();case"code":return fn.replaceSelection("`"+hn+"`"),hn===""&&fn.setCursor(Dt.line,Dt.ch+1),fn.focus();case"inline-latex":return Wr("inline-latex"),fn.focus();case"latex":return fn.replaceSelection("```latex\n"+hn+"\n```"),fn.setCursor(Dt.line+1,hn.length+1),fn.focus();case"line-break":return fn.replaceSelection(`<br/>
`),fn.focus();case"list-ul":return hn===""?fn.replaceSelection("- "+hn):fn.replaceSelection(xn.map(ia=>ia===""?"":`- ${ia}`).join(`
`)),fn.focus();case"list-ol":return hn===""?fn.replaceSelection("1. "+hn):fn.replaceSelection(xn.map((ia,Fa)=>ia===""?"":`${Fa+1}. ${ia}`).join(`
`)),fn.focus();case"add-null-ch":return hn===""&&fn.setCursor(Dt.line,Dt.ch),fn.replaceSelection(Br),fn.focus();case"add-signal":return hn===""&&fn.setCursor(Dt.line,Dt.ch),fn.replaceSelection(lo),fn.focus();case"add-multiple":return hn===""&&fn.setCursor(Dt.line,Dt.ch),fn.replaceSelection(to),fn.focus();case"inster-template-1":return hn===""&&fn.setCursor(Dt.line,Dt.ch),fn.replaceSelection(gr),fn.focus();case"eraser":return fn.setValue(""),fn.focus();case"trigger-watch":return In(!Yo),fn.focus();case"trigger-full-screen":return Va(!va),fn.focus();case Ft:Wr(Ft);return;case Yn:Wr(Yn);return;case $t:Wr($t);return;case bn:Wr(bn);return;case"maths-latex":Wr("maths-latex");return;case Rt:Wr(Rt);return;case jn:Wr(jn);return;default:throw new Error}},[fn,Yo,va]),Ut=(0,ae.useCallback)((wn,Dt)=>{var hn,xn,ia,Fa,Xa,yr;switch(Wr(""),Vn){case Ft:const{title:Za,link:dr}=wn;return fn.replaceSelection(`[${Za}](${dr})`),fn.focus();case Yn:const{language:Hr,content:ro}=wn;return fn.replaceSelection(["```"+Hr,ro,"```"].join(`
`)),fn.focus();case"maths-latex":for(var sr=atob(wn),ea=new Uint8Array(sr.length),ya=0;ya<sr.length;ya++)ea[ya]=sr.charCodeAt(ya);var Sa=new Blob([ea],{type:"image/png"});(0,$e.I)(Sa,Li=>{Li.id?fn.replaceSelection(`![,](/api/attachments/${Li.id}?type=${Li.content_type})`):(Li==null?void 0:Li.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":fn.replaceSelection("`$$"+wn+"$$`");break;case $t:case bn:case ra:const{src:Eo,alt:wo}=wn,Lo=Dt,Oi=(ia=(xn=(hn=Lo==null?void 0:Lo.name)==null?void 0:hn.split("."))==null?void 0:xn.pop)==null?void 0:ia.call(xn);return((Fa=Lo==null?void 0:Lo.type)==null?void 0:Fa.indexOf("image"))>-1||!(Lo!=null&&Lo.type)?Lo.align||Lo.width?fn.replaceSelection(`<p style="text-align:${Lo.align||"initial"}"><img width="${Lo.width?Lo.width+"%":"initial"}" src="${Eo}" alt="${wo||""}" /></p>`):fn.replaceSelection(`<img width="100%" src="${Eo}" alt="${wo||""}" />`):((Xa=Lo==null?void 0:Lo.type)==null?void 0:Xa.indexOf("video"))>-1?fn.replaceSelection(`<video width="100%" controls src="${Eo}"></video>`):((yr=Lo==null?void 0:Lo.type)==null?void 0:yr.indexOf("pdf"))>-1?fn.replaceSelection(`<a href="${Eo}?type=${Lo.type}&disposition=inline" target="_blank">${Lo.name}</a>`):Pn.includes(Oi)?fn.replaceSelection(`<a href="${Eo}?type=office&disposition=inline" target="_blank">${Lo.name}</a>`):fn.replaceSelection(`[${Lo.name}](${Eo})`),fn.focus();case jn:const{row:xl,col:Wl,align:Rl}=wn;let Sl=`
`;for(let Li=0;Li<xl;Li++){let is=[],Ul=[];for(let ls=0;ls<Wl;ls++)Li===1&&Ul.push(oa[Rl]),is.push(" ");Li===1&&(Sl+=`| ${Ul.join(" | ")} |
`),Sl+=`| ${is.join(Wl===1?"":" | ")} |
`}return fn.replaceSelection(Sl+`
`),fn.focus();default:throw new Error}},[fn,Vn]),Dn=(0,ae.useMemo)(()=>{switch(Vn){case Ft:return ae.createElement(an,{callback:Ut,onCancel:An});case Yn:return ae.createElement(pn.Z,{callback:Ut,onCancel:An});case $t:return ae.createElement($e.Z,{callback:Ut,onCancel:An});case Rt:return ae.createElement(en,{callback:Ut,onCancel:An});case jn:return ae.createElement(nn,{callback:Ut,onCancel:An});case"maths-latex":return ae.createElement(lt,{showSaveButton:!0,callback:Ut});case"inline-latex":return ae.createElement(tn.Z,{showSaveButton:!0,callback:Ut});default:return null}},[Vn]);function An(){Wr("")}(0,ae.useEffect)(()=>{if(pl.current){let wn=function(Xa){ia=!0,Fa=Xa.pageY},Dt=function(){ia=!1},hn=function(Xa){if(ia){let yr=Xa.pageY-Fa;yr<0&&(yr=0),yr>300&&(yr=300);let sr=Kt+yr+"px";ai(sr)}},xn=pl.current,ia=!1,Fa=0;return xn.addEventListener("mousedown",wn),document.addEventListener("mousemove",hn),document.addEventListener("mouseup",Dt),()=>{xn.removeEventListener("mousedown",wn),document.removeEventListener("mousemove",hn),document.removeEventListener("mouseup",Dt)}}},[fn,pl]),(0,ae.useEffect)(()=>{ai(Kt)},[Kt]);const Pt=Zn(Ve),Ht=Zn(ni),kt={width:Pt,height:Ht},On=(0,ae.useMemo)(()=>{if(_r){let wn=new Date(_r),Dt=wn.getHours(),hn=wn.getMinutes(),xn=wn.getSeconds();return Dt=Dt<10?"0"+Dt:Dt,hn=hn<10?"0"+hn:hn,xn=xn<10?"0"+xn:xn,`${Dt}:${hn}:${xn}`}return 0},[_r]),da=wn=>{const Dt=[];if(rt){let hn=-1;wn=wn.replace(/(@▁▁@|@▁@)/g,function(xn,ia,Fa){Dt.push({multiLine:xn!==lo})})}return Dt};function xa(){window.sessionStorage.removeItem(Ma),yi(!1),ti(0)}function pa(){yi(!1),ti(0),fn.setValue(window.sessionStorage.getItem(Ma))}(0,ae.useEffect)(()=>{Ar[Vn]&&Vn!==bn&&Vn!==Rt&&setTimeout(()=>{const wn=document.getElementsByClassName("markdown-popup-form")[0],Dt=window.innerWidth/2-wn.offsetWidth/2,hn=window.innerHeight/2-wn.offsetHeight/2;hl(Dt),Fl(hn)},0)},[Vn]);const Ia=wn=>{wn.preventDefault();const Dt=wn.clientX-Xo,hn=wn.clientY-Cl;document.body.onmousemove=xn=>{let ia=xn.clientX-Dt,Fa=xn.clientY-hn;const Xa=document.getElementsByClassName("markdown-popup-form")[0],yr=window.innerWidth-Xa.offsetWidth,sr=window.innerHeight-Xa.offsetHeight;ia=Math.max(0,Math.min(ia,yr)),Fa=Math.max(0,Math.min(Fa,sr)),rr(xn.clientX,xn.clientY,Dt,hn)&&(hl(ia),Fl(Fa))},document.body.onmouseup=function(){document.body.onmousemove=null}},rr=(wn,Dt,hn,xn)=>{const ia=document.body.clientHeight,Fa=document.body.clientWidth;return wn<20&&hn>wn||wn>Fa-20&&hn<wn||Dt<20&&xn>Dt||Dt>ia-20&&xn<Dt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"markdown-editor-wrapper",ref:ki},ae.createElement("div",{className:`markdown-editor-container ${Fn} ${Yo?"on-preview":""} ${Cn?"mini":""} ${va?"full-screen":""}`,style:kt},ae.createElement(pe,{insertTemp:ua,watch:Yo,fullScreen:va,showNullButton:no,showNullProgramButton:rt,onActionCallback:Ne,hidetoolBar:qt,extraUse:co}),ae.createElement("div",{className:"markdown-editor-body"},ae.createElement("div",{className:"codemirror-container"},ae.createElement("textarea",{ref:tl,placeholder:cr})),Yo?ae.createElement("div",{ref:kr,className:"preview-container"},Un==="stex"&&ae.createElement(je,{value:ei}),Un!=="stex"&&ae.createElement(_e.Z,{disabledFill:Aa,showProgramFill:rt,value:ei})):null))),ho?ae.createElement("a",{ref:pl,className:"editor-resize"}):null,Vn===bn&&ae.createElement(Mt,{callback:Ut,onCancel:An}),Vn===Rt&&ae.createElement(en,{callback:Ut,onCancel:An}),ae.createElement(ye.Z,null,Ar[Vn]&&Vn!==bn&&Vn!==Rt?ae.createElement(Ct.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Xo,top:Cl},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:Ia},Ar[Vn]),open:!0,onCancel:An,footer:null,destroyOnClose:!0,width:Vn===Rt?"1200px":null,height:Vn===Rt?"80vh":null,className:"markdown-popup-form"},Dn):null))}},70859:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return fe},I:function(){return ye}});var ae=ee(22150),me=ee(2453),Re=ee(69677),ze=ee(93421),Me=ee(31795),Te=ee(78045),se=ee(71577),Ze=ee(15476),Ke=ee(67294),He=ee(52262),_e=ee(67294),je=Object.defineProperty,Le=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(Ce,Ee,Se)=>Ee in Ce?je(Ce,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Se}):Ce[Ee]=Se,E=(Ce,Ee)=>{for(var Se in Ee||(Ee={}))y.call(Ee,Se)&&b(Ce,Se,Ee[Se]);if(a)for(var Se of a(Ee))x.call(Ee,Se)&&b(Ce,Se,Ee[Se]);return Ce},z=(Ce,Ee)=>Le(Ce,ce(Ee));const{useForm:re}=ae.default,oe={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var fe=({callback:Ce,onCancel:Ee})=>{const[Se]=re();let gt=(0,Ke.useRef)();function Ye(ft){gt.current.width=Se.getFieldValue("width"),gt.current.align=Se.getFieldValue("align"),Ce(ft,gt.current)}function It(ft,Tt){if(ft.status===-1){me.ZP.error(ft.message);return}Se.setFieldsValue({src:`/api/attachments/${ft.id}`,type:Tt.type})}function Ue(ft){let Tt=ft.target.files[0];gt.current=Tt,ye(Tt,It)}return _e.createElement(ae.default,z(E({form:Se},ne),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),_e.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},_e.createElement("div",{className:"flex-container"},_e.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},_e.createElement(Re.default,{style:oe})),_e.createElement(pe,{onFileChange:Ue}))),_e.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(Re.default,{style:{width:264}})),_e.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(ze.Z,null,_e.createElement(ae.default.Item,{name:"width",style:{margin:0}},_e.createElement(Me.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.createElement(Te.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),_e.createElement("aside",null,_e.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},_e.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),_e.createElement(se.ZP,{type:"default",onClick:Ee},"\u53D6\u6D88"))))};function pe({onFileChange:Ce}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:Ce}))}function ye(Ce,Ee){if(!Ce)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,He.bg)())throw me.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Se=new FormData;Se.append("editormd-image-file",Ce),Se.append("file_param_name","editormd-image-file"),Se.append("byxhr","true");var gt=new window.XMLHttpRequest;gt.withCredentials=!0,gt.addEventListener("load",function(Ye){Ee(JSON.parse(Ye.target.responseText),Ce)},!1),gt.addEventListener("error",function(Ye){console.error(Ye)},!1),gt.open("POST",`${Ze.KI}/api/attachments.json`),gt.send(Se)}},76621:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Re}});var ae=ee(67294),me=ee(73935);class Re extends ae.Component{constructor(Me){super(Me);const Te=window.document;this.node=Te.createElement("div"),Te.body.appendChild(this.node)}render(){const{children:Me}=this.props;return(0,me.createPortal)(Me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(ht,Et,ee){"use strict";ee.d(Et,{i:function(){return oe},Z:function(){return fe}});var ae={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"},me=ee(57953),Re=ee(83062),ze=ee(94184),Me=ee.n(ze),Te=ee(28706),se=ee(26194),Ze=ee(52262),Ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8s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/shEzsoAAAAAElFTkSuQmCC",re=ee(67294);const oe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ke,swimg:He},{name:"101\u8BA1\u5212",ptimg:_e,swimg:je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Le,swimg:ce},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:y},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:E,swimg:z}];var fe=({className:pe,dataSource:ye=[],col:Ce=4,right:Ee,bottom:Se=23,precision:gt=0,wrapWidth:Ye=1200,trackEventItems:It,loading:Ue,onRemove:ft=()=>{},isCurrent:Tt=!0,showAlias:Qt=!1})=>{const wt=Math.floor((Ye-(Ce-1)*Ee)/Ce),dt=[{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(Gt=>(window.ENV==="build"&&(Gt.ptimg=`/react/build${Gt.ptimg}`,Gt.swimg=`/react/build${Gt.swimg}`),Gt));return re.createElement(me.Z,{spinning:Ue},re.createElement("div",{className:Me()(ae.list,pe)},!!(ye!=null&&ye.length)&&(ye==null?void 0:ye.map((Gt,an)=>{var pn;const{name:$e,id:Ct,identifier:Bt,featured:Tn,school_name:it,image_url:Mt,excellent:xe,is_plan:Sn}=Gt;return re.createElement("div",{key:Ct,className:ae.wrap,style:{width:wt,marginRight:(1+an)%Ce===0?0:Ee+gt,marginBottom:Se}},re.createElement("a",{className:ae.li,onClick:Wn=>{Wn.preventDefault(),Wn.stopPropagation(),It&&(0,Te.L9)([It]),(0,Te.xg)(`/paths/${Bt}`)}},re.createElement("div",{className:ae.img},re.createElement("img",{className:ae.cover,src:`${Mt}`}),Tt&&(0,Ze.bg)()&&(Gt==null?void 0:Gt.studying)&&re.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:Wn=>{Wn.stopPropagation(),ft(Gt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(pn=Gt==null?void 0:Gt.subject_tags)==null?void 0:pn.map((Wn,Ca)=>{var yn,Yt;if(Ca===0){const Fe=(yn=dt.find(pt=>pt.name==Wn))==null?void 0:yn.swimg;return re.createElement("img",{className:ae.sign,src:Fe,style:{left:"-4px"}})}const Ge=(Yt=dt.find(Fe=>Fe.name==Wn))==null?void 0:Yt.ptimg;return re.createElement("img",{className:ae.sign,src:Ge,style:{left:`${48+52*(Ca-1)+2*Ca}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Gt==null?void 0:Gt.excellent)&&re.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:ae.name},re.createElement(Re.Z,{title:Qt&&(Gt!=null&&Gt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${$e}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Gt==null?void 0:Gt.excellent_alias_name}`)):$e},re.createElement("span",{className:ae.e},Qt&&(Gt==null?void 0:Gt.excellent_alias_name)||$e))),re.createElement("div",{className:ae.tags},re.createElement("div",null,re.createElement(Re.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,Gt.stages_count))),re.createElement(Re.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,Gt.members_count)))))))})),!ye.length&&re.createElement(se.Z,null)))}},30001:function(ht,Et,ee){"use strict";ee.d(Et,{jL:function(){return Me},w9:function(){return Gt},QD:function(){return tn},cQ:function(){return ft.Z},op:function(){return nn},O5:function(){return gr},_b:function(){return bn},t7:function(){return b},Gi:function(){return Tn},YG:function(){return Ct},qp:function(){return _e},vr:function(){return Ft},qE:function(){return Qn},Je:function(){return re},wb:function(){return Ue},cq:function(){return Ca},tp:function(){return ce}});var ae=ee(67294),me={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzo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DQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Me=({dataSource:Pn=[],img:Zn,imgWidth:Ln=346,title:Nn,sunTitle:Oa,bannerExtraContent:Ar})=>ae.createElement("div",{className:me.banner},ae.createElement("div",{className:me.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,Nn),ae.createElement("span",null,Oa)),Pn.length>0&&ae.createElement("div",{className:me.btns},Pn.map((zn,et)=>ae.createElement("div",{key:et,onClick:zn.click},zn.name,zn.sign?ae.createElement("img",{src:Re,width:39}):null))),Ar),Zn&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:Zn,width:Ln}))),Te={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"},se=ee(94184),Ze=ee.n(se),Ke=ee(96486),_e=({dataSource:Pn=[],value:Zn,onChange:Ln,onTitleChange:Nn,className:Oa,title:Ar,titleWidth:zn=41,style:et={},fontColor:st="#6A7283",showCount:Ve})=>{const[Kt,Cn]=(0,ae.useState)(0),[Jn,ja]=(0,ae.useState)(!1),ua=(0,ae.useRef)(null),Un=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var Ma;Pn.length!==0&&(((Ma=ua==null?void 0:ua.current)==null?void 0:Ma.clientHeight)>97?Cn(1):Cn(0)),Pn.length===0&&Cn(0),ja(!1)},[Pn]),ae.createElement("div",{className:Ze()(Te.row,Oa),style:et},ae.createElement("div",{onClick:(0,Ke.throttle)(()=>Nn==null?void 0:Nn(),2e3),style:{width:zn,marginTop:Jn?12:4},className:`${Te.title} ${Nn?"current":""}`},Ar),ae.createElement("div",{className:Jn?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},ae.createElement("div",{className:Te.bar,ref:Un,style:Kt>0?{height:Kt===1?97:"auto",overflow:Kt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:Te.tag,ref:ua},Pn==null?void 0:Pn.map(Ma=>ae.createElement("span",{onClick:()=>Ln(Ma.id),key:Ma.id,style:{color:st},className:Zn===Ma.id?Te.active:""},ae.createElement("span",{title:Ma.name,className:Te.name},Ma.name),!!Ve&&ae.createElement("span",{className:Te.num},Ma.count))))),!!Kt&&ae.createElement(ae.Fragment,null,Kt===1?ae.createElement("div",{onClick:()=>{var Ma;Cn(2),((Ma=ua==null?void 0:ua.current)==null?void 0:Ma.clientHeight)>245?ja(!0):ja(!1)},className:Te.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Un.current.scrollTop=0,Cn(1),ja(!1)},className:Te.action},"\u6536\u8D77",ae.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"},ce=({dataSource:Pn=[],value:Zn,onChange:Ln,className:Nn,style:Oa={}})=>ae.createElement("div",{style:Oa,className:Ze()(je.tabs,Nn)},Pn.map(Ar=>ae.createElement("span",{onClick:()=>Ln(Ar.id),className:Zn===Ar.id?je.active:"",key:Ar.id},Ar.name))),a={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"},y=ee(69677),b=({dataSource:Pn=[],value:Zn="",onChange:Ln,onInputChange:Nn=()=>{},className:Oa,style:Ar={},placeholder:zn,allowClear:et=!1})=>{var st;const[Ve,Kt]=(0,ae.useState)(""),[Cn,Jn]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Un;let Ma=Zn;(Un=JSON.stringify(Zn))!=null&&Un.includes("{")&&(Kt(Zn.id),Ma=Zn.value||"");try{Jn(decodeURIComponent(Ma||""))}catch(ho){Jn(decodeURIComponent(Ma||""))}},[Zn]);const ja=()=>{Ln(encodeURIComponent(Cn),Ve||null)},ua=Un=>{Un!==Ve&&(Kt(Un),Ln(encodeURIComponent(Cn),Un))};return ae.createElement("div",{className:Ze()(a.input,Oa),style:Ar},!!Pn.length&&ae.createElement("div",{className:a.dropdown},ae.createElement("div",{className:a.text},(st=Pn.find(Un=>Un.id===Ve))==null?void 0:st.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:a.b1}),ae.createElement("b",{className:a.b2})),ae.createElement("div",{className:a.menu},Pn.map((Un,Ma)=>ae.createElement("div",{key:Ma,onClick:()=>ua(Un.id)},Un.name)))),ae.createElement(y.default,{onPressEnter:ja,value:Cn,onChange:Un=>{Jn(Un.target.value),Nn(encodeURIComponent(Un.target.value),Ve||null)},bordered:!1,placeholder:zn}),ae.createElement("i",{onClick:ja,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"},re=({value:Pn,onChange:Zn,className:Ln,total:Nn,pageSize:Oa,style:Ar={}})=>{const zn=Pn<2,et=Pn>=Math.ceil(Nn/Oa);return Nn<=Oa?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:Ze()(E.quickPager,Ln),style:Ar},ae.createElement("div",{onClick:()=>{zn||Zn(Pn-1,"prev")},className:zn?E.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{et||Zn(Pn+1,"next")},className:et?E.disabled:""},"\u4E0B\u4E00\u9875"))},oe={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=ee(57953),fe=ee(83062),pe=ee(12604),ye=ee(11320),Ce=ee(28706),Ee=ee(96908),Se=ee(57177),gt=ee(81378),Ye=ee(26194),Ue=({className:Pn,dataSource:Zn=[],col:Ln=4,right:Nn,bottom:Oa=23,precision:Ar=0,wrapWidth:zn=1200,trackEventItems:et,loading:st})=>{const Ve=Math.floor((zn-(Ln-1)*Nn)/Ln);return ae.createElement(ne.Z,{spinning:st},ae.createElement("div",{className:Ze()(oe.list,Pn)},!!Zn.length&&Zn.map((Kt,Cn)=>{const{name:Jn,id:ja,identifier:ua,power:Un,cover_image_id:Ma,pic:ho}=Kt;return ae.createElement("div",{className:oe.wrap,key:ja,style:{width:Ve,marginRight:(1+Cn)%Ln===0?0:Nn+Ar,marginBottom:Oa}},ae.createElement("a",{target:"_blank",href:`/shixuns/${ua}/challenges`,className:oe.li,onClick:Mn=>{Mn.preventDefault(),et&&(0,Ce.L9)([et]),Un&&(0,Ce.xg)(`/shixuns/${ua}/challenges`)}},ae.createElement("div",{className:oe.img},ae.createElement("img",{className:oe.cover,src:`${ho}`}),Kt.is_jupyter&&ae.createElement("img",{className:oe.sign,src:Ee}),Kt.is_jupyter_lab&&ae.createElement("img",{className:oe.sign,src:Se}),Kt.is_unity_3d&&ae.createElement("img",{className:oe.sign,src:gt})),ae.createElement("div",{className:oe.name},ae.createElement(fe.Z,{title:Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:oe.e},Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:oe.tags},ae.createElement(fe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,Kt.challenges_count))),!!Kt.myshixuns_count&&ae.createElement(fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,Kt.myshixuns_count))),ae.createElement(fe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,Kt.level))),ae.createElement("div",{className:oe.rate},ae.createElement(pe.Z,{allowHalf:!0,disabled:!0,defaultValue:Kt.score_info}),ae.createElement("span",null,"\xA0",Kt.score_info?`${Kt.score_info}\u5206`:"5\u5206")))),!Un&&ae.createElement("div",{className:oe.lockWrap},ae.createElement("img",{src:`${ye.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&ae.createElement(Ye.Z,null)))},ft=ee(9897),Tt={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"},Qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAf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j7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",wt=ee(67294),Gt=({className:Pn,dataSource:Zn=[],col:Ln=4,right:Nn,bottom:Oa=23,precision:Ar=0,wrapWidth:zn=1200,trackEventItems:et,loading:st})=>{const Ve=Math.floor((zn-(Ln-1)*Nn)/Ln);return wt.createElement(ne.Z,{spinning:st},wt.createElement("div",{className:Ze()(Tt.list,Pn)},!!Zn.length&&Zn.map((Kt,Cn)=>{const{subject_identifier:Jn,id:ja,identifier:ua,power:Un}=Kt,Ma=Kt.is_public!=0&&Kt.is_public;return wt.createElement("div",{className:Tt.wrap,key:ja,style:{width:Ve,marginRight:(1+Cn)%Ln===0?0:Nn+Ar,marginBottom:Oa}},wt.createElement("a",{className:Tt.li,onClick:ho=>{ho.preventDefault(),et&&(0,Ce.L9)([et]),(0,Ce.xg)(Kt.first_category_url)}},wt.createElement("div",{className:Tt.top},wt.createElement(fe.Z,{title:Kt.name},wt.createElement("div",{className:Tt.name},Kt.name)),wt.createElement("img",{className:Tt.img,src:ye.Z.IMG_SERVER+"/images/"+Kt.avatar_url}),wt.createElement("div",{className:Tt.text,title:Kt.creator},Kt.creator),Jn&&wt.createElement("div",{className:Tt.btns},wt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),wt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ma&&wt.createElement("div",{className:Tt.sign},"\u516C\u5F00")),wt.createElement("div",{className:Tt.bottom},Kt.visits>0&&wt.createElement(fe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},wt.createElement("span",null,wt.createElement("i",{className:"iconfont icon-liulanyan"}),wt.createElement("span",null,Kt.visits))),Kt.course_members_count>0&&wt.createElement(fe.Z,{title:"\u6210\u5458",placement:"bottom"},wt.createElement("span",null,wt.createElement("i",{className:"iconfont icon-chengyuan"}),Kt.course_members_count)),Kt.tasks_count>0&&wt.createElement(fe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},wt.createElement("span",null,wt.createElement("i",{className:"iconfont icon-zuoye"}),Kt.tasks_count)),Kt.is_end?wt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):wt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Kt.is_accessible&&wt.createElement("div",{className:Tt.lockWrap},wt.createElement("img",{src:`${ye.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),wt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&wt.createElement(Ye.Z,null)))},an={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"},pn=ee(35973),Ct=({dataSource:Pn=[],value:Zn,onChange:Ln,className:Nn,style:Oa={},tabBarExtraContent:Ar})=>ae.createElement("div",{className:Ze()(an.tabs,Nn),style:Oa},ae.createElement("div",{className:an.tabsWrap},Pn.map((zn,et)=>ae.createElement("aside",{className:an.tab,onClick:()=>{Ln(zn.id),zn.link&&pn.history.push(zn.link)},key:et},ae.createElement("div",{className:Zn===zn.id?an.active:""},zn.name),(zn==null?void 0:zn.resetCount)==null&&(zn==null?void 0:zn.total)!==void 0&&ae.createElement("span",null,"\uFF08",zn==null?void 0:zn.total,"\uFF09"),(zn==null?void 0:zn.resetCount)!==void 0&&(zn==null?void 0:zn.total)!==void 0&&ae.createElement(fe.Z,{title:(zn==null?void 0:zn.tip)!=null?zn==null?void 0:zn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},zn==null?void 0:zn.resetCount),"/",ae.createElement("span",null,zn==null?void 0:zn.total),"\uFF09"))))),ae.createElement("div",{className:an.tabBar},Ar)),Tn=({className:Pn,style:Zn={},children:Ln})=>ae.createElement("div",{className:Ze()(Pn),style:Zn},Ln),it={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"},Mt=ee(85418),xe=ee(68508);const Sn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ca=({sortValue:Pn,dropValue:Zn,className:Ln,onSort:Nn,onDrop:Oa,dataSource:Ar=Sn})=>{var zn;return ae.createElement("div",{className:Ze()(it.orderWrap,Ln)},ae.createElement(Mt.Z,{dropdownRender:()=>ae.createElement(xe.default,null,Ar.map((et,st)=>ae.createElement(xe.default.Item,{key:st,onClick:()=>Oa(et.id)},et.name)))},ae.createElement("span",{className:it.orderTextWrap},(zn=Ar.find(et=>Zn===et.id))==null?void 0:zn.name)),ae.createElement("span",{className:it.orderIconWrap},ae.createElement("span",{className:it.orderAsc},ae.createElement("i",{className:Pn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${it.cursorPointer} ${it.active}`:`iconfont icon-sanjiaoxing-up font12 ${it.cursorPointer}`,onClick:()=>Nn(Pn==="asc"?"desc":"asc")})),ae.createElement("span",{className:it.orderDesc},ae.createElement("i",{className:Pn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${it.cursorPointer} ${it.active}`:`iconfont icon-sanjiaoxing-down font12 ${it.cursorPointer}`,onClick:()=>Nn(Pn==="asc"?"desc":"asc")}))))},yn={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"},Yt=ee(71577),Ge=Object.defineProperty,Fe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,en=(Pn,Zn,Ln)=>Zn in Pn?Ge(Pn,Zn,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):Pn[Zn]=Ln,En=(Pn,Zn)=>{for(var Ln in Zn||(Zn={}))pt.call(Zn,Ln)&&en(Pn,Ln,Zn[Ln]);if(Fe)for(var Ln of Fe(Zn))zt.call(Zn,Ln)&&en(Pn,Ln,Zn[Ln]);return Pn},kn=(Pn,Zn)=>{var Ln={};for(var Nn in Pn)pt.call(Pn,Nn)&&Zn.indexOf(Nn)<0&&(Ln[Nn]=Pn[Nn]);if(Pn!=null&&Fe)for(var Nn of Fe(Pn))Zn.indexOf(Nn)<0&&zt.call(Pn,Nn)&&(Ln[Nn]=Pn[Nn]);return Ln},_n=(Pn,Zn,Ln)=>new Promise((Nn,Oa)=>{var Ar=st=>{try{et(Ln.next(st))}catch(Ve){Oa(Ve)}},zn=st=>{try{et(Ln.throw(st))}catch(Ve){Oa(Ve)}},et=st=>st.done?Nn(st.value):Promise.resolve(st.value).then(Ar,zn);et((Ln=Ln.apply(Pn,Zn)).next())}),nn=Pn=>{var Zn=Pn,{className:Ln,style:Nn,children:Oa,loading:Ar=!1,openLoading:zn,onClick:et=()=>{},size:st="middle",shape:Ve="round"}=Zn,Kt=kn(Zn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Cn,Jn]=(0,ae.useState)(!1);return ae.createElement(Yt.ZP,En({onClick:(0,Ke.throttle)(ja=>_n(void 0,null,function*(){zn&&Jn(!0);try{yield et(ja)}catch(ua){console.log("error",ua)}zn&&Jn(!1)}),2e3,{leading:!0,trailing:!1}),className:Ze()(yn.btn,yn[`${st}-${Ve}`],Ln),style:Nn,size:st,shape:Ve,loading:Cn||Ar},Kt),Oa)},we={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"},Qn=({className:Pn,style:Zn,children:Ln=null,onClick:Nn,title:Oa})=>ae.createElement("div",{className:Ze()(we.head,Pn),style:Zn},ae.createElement("span",{className:"primary-hover",onClick:Nn},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:Oa},Oa),ae.createElement("div",{className:we.node},Ln)),Kn={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"},tn=({confirmShow:Pn=!0,confirmTitle:Zn,confirmClick:Ln,cancelShow:Nn=!0,cancelTitle:Oa,cancelClick:Ar,className:zn,style:et,confirmLoading:st=!1})=>ae.createElement("div",{className:Ze()(Kn.btns,zn),style:et},Pn&&ae.createElement(Yt.ZP,{loading:st,onClick:Ln,type:"primary",className:Kn.confirm},Zn),Nn&&ae.createElement(Yt.ZP,{onClick:Ar,className:Kn.cancel},Oa)),We={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"},Ft=({className:Pn,style:Zn={},LeftContent:Ln,children:Nn,RightContent:Oa})=>ae.createElement("div",{className:Ze()(We.fixedBottom,Pn),style:Zn},ae.createElement("div",{className:We.wrap},ae.createElement("div",{className:We.left},Ln),ae.createElement("div",{className:We.center},Nn),ae.createElement("div",{className:We.right},Oa))),$t={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},bn=({className:Pn,style:Zn={},dataSource:Ln=[]})=>ae.createElement("div",{className:Ze()($t.crumbs,Pn),style:Zn},Ln.map((Nn,Oa)=>Oa<Ln.length-1?ae.createElement(ae.Fragment,{key:Oa},Nn.path||Nn.onClick?ae.createElement("span",{className:$t.hover,onClick:Nn!=null&&Nn.onClick?Nn.onClick:()=>pn.history.push(Nn.path)},Nn.name):ae.createElement("span",null,Nn.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:Oa,style:{color:"#5F6368"}},Nn.name))),ra=ee(55054),Yn=Object.defineProperty,jn=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,Ka=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Tr=(Pn,Zn,Ln)=>Zn in Pn?Yn(Pn,Zn,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):Pn[Zn]=Ln,Xr=(Pn,Zn)=>{for(var Ln in Zn||(Zn={}))Ka.call(Zn,Ln)&&Tr(Pn,Ln,Zn[Ln]);if(oa)for(var Ln of oa(Zn))Pr.call(Zn,Ln)&&Tr(Pn,Ln,Zn[Ln]);return Pn},Rr=(Pn,Zn)=>jn(Pn,Ga(Zn)),Br=(Pn,Zn)=>{var Ln={};for(var Nn in Pn)Ka.call(Pn,Nn)&&Zn.indexOf(Nn)<0&&(Ln[Nn]=Pn[Nn]);if(Pn!=null&&oa)for(var Nn of oa(Pn))Zn.indexOf(Nn)<0&&Pr.call(Pn,Nn)&&(Ln[Nn]=Pn[Nn]);return Ln};const{Countdown:to}=ra.default;var gr=Pn=>{var Zn=Pn,{onChange:Ln}=Zn,Nn=Br(Zn,["onChange"]);const[Oa,Ar]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof Oa=="number"&&Oa>=0&&Ln(Oa)},[Oa]);const zn=et=>{const st=Math.floor(et/1e3);Ar(st)};return ae.createElement(to,Rr(Xr({},Nn),{onChange:zn}))}},99914:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return me}});var ae=ee(67294);function me(Re,ze){const Me=(0,ae.useRef)();(0,ae.useEffect)(()=>{Me.current=Re}),(0,ae.useEffect)(()=>{function Te(){Me.current()}if(ze!==null){let se=setInterval(Te,ze);return()=>clearInterval(se)}},[ze])}},63770:function(ht,Et,ee){"use strict";var ae=ee(67294),me=ee(35973),Re=ee(69677),ze=ee(14446),Me=ee(59810),Te=ee(30001),se=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,_e=(x,b,E)=>b in x?se(x,b,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[b]=E,je=(x,b)=>{for(var E in b||(b={}))Ke.call(b,E)&&_e(x,E,b[E]);if(Ze)for(var E of Ze(b))He.call(b,E)&&_e(x,E,b[E]);return x},Le=(x,b)=>{var E={};for(var z in x)Ke.call(x,z)&&b.indexOf(z)<0&&(E[z]=x[z]);if(x!=null&&Ze)for(var z of Ze(x))b.indexOf(z)<0&&He.call(x,z)&&(E[z]=x[z]);return E},ce=(x,b,E)=>new Promise((z,re)=>{var oe=pe=>{try{fe(E.next(pe))}catch(ye){re(ye)}},ne=pe=>{try{fe(E.throw(pe))}catch(ye){re(ye)}},fe=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(oe,ne);fe((E=E.apply(x,b)).next())});const a=Re.default.TextArea,y=x=>{var b=x,{dispatch:E,declaration:z,onClose:re=()=>{},onSuccess:oe=()=>{},exportTemplate:ne=()=>{}}=b,fe=Le(b,["dispatch","declaration","onClose","onSuccess","exportTemplate"]);const[pe,ye]=(0,ae.useState)([]),Ce={name:"file",multiple:!1,fileList:pe,beforeUpload:Ee=>ce(void 0,null,function*(){return ye([je({},Ee)]),!1}),onChange:({fileList:Ee})=>{ye(Ee)}};return(0,ae.useEffect)(()=>{ye([])},[z.actionTabs.key]),ae.createElement(ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:z.actionTabs.key,title:z.actionTabs.key,width:500,onCancel:()=>{re()},onOk:()=>{oe(z.actionTabs.key,pe)}},ae.createElement(Te.op,{className:"mb20",shape:"default",onClick:()=>{ne(z.actionTabs.key)}},ae.createElement("i",{className:"iconfont icon-xiazai5 mr5",style:{color:"#3061D0",fontSize:"14px"}}),"\u4E0B\u8F7D\u6A21\u677F"),ae.createElement(Me.default.Dragger,je({},Ce),ae.createElement(Te.op,{shape:"default",style:{marginTop:"20px"}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("div",{style:{color:"#9096A3",marginTop:"10px",marginBottom:"20px"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u6216\u70B9\u51FB\u4E0A\u4F20")))};Et.Z=(0,me.connect)(({declaration:x})=>({declaration:x}))(y)},11136:function(ht,Et,ee){"use strict";ee.r(Et),ee.d(Et,{default:function(){return Tt}});var ae=ee(67294),me={contWrap:"contWrap___aUPny",header:"header___V1Ub2",headTitle:"headTitle___xE06d",searchWrap:"searchWrap___ZX9C8",wrap1:"wrap1___H0FCy",editBtn:"editBtn___xisKQ"},Re=ee(35973),ze=ee(22150),Me=ee(14446),Te=ee(2453),se=ee(69677),Ze=ee(57953),Ke=ee(85418),He=ee(96074),_e=ee(42563),je=ee(20669),Le=ee(9430),ce=ee(71577),a=ee(30001),y=ee(35567),x=ee(85725),b=ee(42922),E=ee(26194),z=ee(27484),re=ee.n(z),oe=ee(41805),ne=ee(52262),fe=ee(28706),pe=ee(63770),ye=ee(67294),Ce=Object.defineProperty,Ee=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,Ye=(Qt,wt,dt)=>wt in Qt?Ce(Qt,wt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):Qt[wt]=dt,It=(Qt,wt)=>{for(var dt in wt||(wt={}))Se.call(wt,dt)&&Ye(Qt,dt,wt[dt]);if(Ee)for(var dt of Ee(wt))gt.call(wt,dt)&&Ye(Qt,dt,wt[dt]);return Qt},Ue=(Qt,wt,dt)=>new Promise((Gt,an)=>{var pn=Bt=>{try{Ct(dt.next(Bt))}catch(Tn){an(Tn)}},$e=Bt=>{try{Ct(dt.throw(Bt))}catch(Tn){an(Tn)}},Ct=Bt=>Bt.done?Gt(Bt.value):Promise.resolve(Bt.value).then(pn,$e);Ct((dt=dt.apply(Qt,wt)).next())});const ft=({declaration:Qt,user:wt,dispatch:dt,loading:Gt})=>{const[an,pn]=(0,ae.useState)([]),[$e,Ct]=(0,ae.useState)(0),[Bt,Tn]=(0,ae.useState)(!1),[it,Mt]=(0,ae.useState)(!1),[xe,Sn]=(0,ae.useState)(""),[Wn,Ca]=(0,ae.useState)(""),[yn,Yt]=(0,ae.useState)({page:1,limit:10,status:"",keyword:"",start_time:"",end_time:""}),[Ge]=ze.default.useForm(),[Fe,pt]=(0,ae.useState)([]),[zt,en]=(0,ae.useState)(!1),En=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u5DE5\u53F7",align:"left",width:120,ellipsis:!0,dataIndex:"staff_id",render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:nn=>ye.createElement("span",null,nn===-1&&ye.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),nn===0&&ye.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),nn===1&&ye.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),nn===2&&ye.createElement("span",{style:{color:"#E30000"}},"\u9000\u56DE\u4FEE\u6539"))},{title:"\u8BBA\u6587\u7C7B\u578B",align:"left",width:120,ellipsis:!0,dataIndex:"treatise_type",render:nn=>ye.createElement("span",null,nn?nn==1?"\u82F1\u6587\u8BBA\u6587":nn==2?"\u5317\u56FE\u4E2D\u6587\u6838\u5FC3\u671F\u520A\u8BBA\u6587":"\u666E\u901A\u671F\u520A\u8BBA\u6587":"--")},{title:"\u9898\u540D",align:"left",width:120,ellipsis:!0,dataIndex:"title",render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u4F5C\u8005",width:120,align:"left",ellipsis:!0,dataIndex:"author",render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u671F\u520A\u540D\u79F0",align:"left",width:120,ellipsis:!0,dataIndex:"magazine_name",render:nn=>ye.createElement("span",null,nn||"--")},{title:"ISSN/ISBN",align:"left",width:120,ellipsis:!0,dataIndex:"number",render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u5F52\u5C5E\u7C7B\u578B",align:"left",width:120,ellipsis:!0,dataIndex:"belong_to",render:nn=>ye.createElement("span",null,nn?nn==="1"?"SCI":nn==="2"?"SCIE":nn==="3"?"EI":"CPCP-S":"--")},{title:"\u5E74",align:"left",width:100,ellipsis:!0,dataIndex:"year",render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u9875\u7801",align:"left",width:100,ellipsis:!0,dataIndex:"page_number",render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u7B2C\u4E00\u4F5C\u8005\u59D3\u540D",align:"left",ellipsis:!0,width:120,dataIndex:"first_author",render:nn=>ye.createElement("span",null,nn||"--")},{title:"DOI",align:"left",ellipsis:!0,width:120,dataIndex:"doi",render:nn=>ye.createElement("span",null,nn||"--")},{title:"\u53D1\u8868\u65E5\u671F",align:"left",width:120,ellipsis:!0,dataIndex:"publish_date",render:(nn,we)=>ye.createElement("span",null,nn?re()(nn).format("YYYY-MM-DD"):"")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:160,ellipsis:!0,dataIndex:"school_name",render:(nn,we)=>{var Qe,Qn,Kn,lt;return ye.createElement(ye.Fragment,null,((0,ne.Ny)()&&((Qe=wt.userInfo)==null?void 0:Qe.real_name)!==(we==null?void 0:we.user_name)||[0,1].includes(we==null?void 0:we.status))&&ye.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{dt({type:"declaration/changeMode",payload:{mode:"view"}}),Re.history.push(`/declaration/research/paper/view?id=${we==null?void 0:we.id}&type=${we==null?void 0:we.treatise_type}`)}},"\u67E5\u770B"),((Qn=wt==null?void 0:wt.userInfo)==null?void 0:Qn.real_name)===(we==null?void 0:we.user_name)&&[-1,2].includes(we==null?void 0:we.status)&&ye.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{dt({type:"declaration/changeMode",payload:{mode:"edit"}}),Re.history.push(`/declaration/research/paper/edit?id=${we==null?void 0:we.id}&type=${we==null?void 0:we.treatise_type}`)}},"\u7F16\u8F91"),(0,ne.Ny)()&&(we==null?void 0:we.status)===0&&ye.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u901A\u8FC7\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u901A\u8FC7\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){(yield(0,oe.Uk)({declaration_id:we==null?void 0:we.id,verify_status:"agree",reason:""})).status===0&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),kn())})})}},"\u901A\u8FC7"),(0,ne.Ny)()&&(we==null?void 0:we.status)===0&&ye.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ge.setFieldValue("reason",we==null?void 0:we.reason),Me.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:ye.createElement("div",null,ye.createElement(ze.default,{form:Ge,layout:"vertical",onFinish:tn=>Ue(void 0,null,function*(){(yield(0,oe.Uk)(It({declaration_id:we==null?void 0:we.id,verify_status:"reject"},tn))).status===0&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),kn())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:me.formWrap},ye.createElement(ze.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},ye.createElement(se.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"})))),width:500,okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){yield Ge.submit()})})}},"\u9A73\u56DE"),((Kn=wt==null?void 0:wt.userInfo)==null?void 0:Kn.real_name)===(we==null?void 0:we.user_name)&&[-1,2].includes(we==null?void 0:we.status)&&ye.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u63D0\u4EA4\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u63D0\u4EA4\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){(yield(0,oe.xx)({declaration_id:we==null?void 0:we.id})).status===0&&(Te.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),kn())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((lt=wt==null?void 0:wt.userInfo)==null?void 0:lt.real_name)===(we==null?void 0:we.user_name)&&[-1,2].includes(we==null?void 0:we.status)&&ye.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Ue(void 0,null,function*(){(yield(0,oe.UX)({id:we==null?void 0:we.id})).status===0&&(Te.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),kn())})})}},"\u5220\u9664"))}}];(0,ae.useEffect)(()=>{kn(),_n()},[]);const kn=()=>Ue(void 0,null,function*(){var nn,we;Tn(!0);const Qe=yield(0,oe.Dn)(It({declare_type:1},yn));(Qe==null?void 0:Qe.status)===0&&(pn(((nn=Qe==null?void 0:Qe.data)==null?void 0:nn.list)||[]),Ct(((we=Qe==null?void 0:Qe.data)==null?void 0:we.count)||0)),Tn(!1)}),_n=()=>Ue(void 0,null,function*(){var nn,we;const Qe=yield(0,oe.Xi)({declare_type:1});(Qe==null?void 0:Qe.status)===0&&(Sn(((nn=Qe==null?void 0:Qe.data)==null?void 0:nn.content)||"\u6682\u65E0\u6570\u636E"),Ca(((we=Qe==null?void 0:Qe.data)==null?void 0:we.content)||"\u6682\u65E0\u6570\u636E"))}),Gn=()=>Ue(void 0,null,function*(){if((xe==null?void 0:xe.length)>1e3){Te.ZP.info("\u5B57\u6570\u4E0D\u80FD\u8D85\u8FC71000\u5B57\uFF01");return}const nn=yield(0,oe.kF)({declare_type:1,content:xe});(nn==null?void 0:nn.status)===0&&(Mt(!1),Te.ZP.success("\u7F16\u8F91\u6210\u529F!"))});return ye.createElement(Ze.Z,{spinning:Bt},ye.createElement("div",{className:me.contWrap},ye.createElement("div",{className:me.header},ye.createElement("div",{className:me.headTitle},"\u79D1\u7814\u8BBA\u6587\u7533\u62A5"),ye.createElement("div",null,ye.createElement(Ke.Z,{menu:{items:[{key:1,label:ye.createElement("div",{onClick:()=>{Re.history.push("/declaration/research/paper/edit?type=1")}},"\u82F1\u6587\u8BBA\u6587")},{key:2,label:ye.createElement("div",{onClick:()=>{Re.history.push("/declaration/research/paper/edit?type=2")}},"\u5317\u56FE\u4E2D\u6587\u6838\u5FC3\u671F\u520A\u8BBA\u6587")},{key:3,label:ye.createElement("div",{onClick:()=>{Re.history.push("/declaration/research/paper/edit?type=3")}},"\u666E\u901A\u671F\u520A\u8BBA\u6587")}]},trigger:["click"]},ye.createElement(a.op,{shape:"default",onClick:()=>{dt({type:"declaration/changeMode",payload:{mode:"edit"}})}},ye.createElement("span",null,"\u6DFB\u52A0\u8BBA\u6587 ",ye.createElement(b.Z,null)))),ye.createElement(a.op,{className:"ml20",shape:"default",onClick:()=>{dt({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u79D1\u7814\u8BBA\u6587"}})}},"\u5BFC\u5165"),ye.createElement(a.op,{className:"ml20",shape:"default",onClick:()=>{(0,fe.Nd)("","/api/export_excels/down_excel.xlsx?declare_type=1")}},"\u5BFC\u51FA"))),ye.createElement(He.Z,{style:{margin:"12px 0px 20px 0px"}}),ye.createElement("div",{className:me.searchWrap},ye.createElement(_e.default,{size:"large",defaultValue:yn.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:nn=>{yn.status=nn,Yt(It({},yn)),yn.page=1,kn()},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"}]}),ye.createElement(je.default.RangePicker,{size:"large",style:{width:260,borderRadius:2},onChange:nn=>{yn.start_time=nn!=null&&nn[0]?nn[0].format("YYYY-MM-DD"):"",yn.end_time=nn!=null&&nn[1]?nn[1].format("YYYY-MM-DD"):"",Yt(It({},yn)),yn.page=1,console.log(yn),kn()},format:"YYYY-MM-DD"}),ye.createElement(a.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:yn.keyword,onChange:nn=>{yn.page=1,yn.keywords=nn,Yt(It({},yn)),kn()}})),ye.createElement("div",null,ye.createElement(Le.default,{dataSource:an,scroll:{x:1e3},pagination:{total:$e||0,size:"default",onChange:(nn,we)=>{yn.page=nn,yn.limit=we,Yt(It({},yn)),kn()},current:yn==null?void 0:yn.page,pageSize:yn==null?void 0:yn.limit,showTotal:nn=>ye.createElement(ye.Fragment,null,"\u5171",ye.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},nn),"\u6761\u6570\u636E")},columns:En,locale:{emptyText:ye.createElement(E.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),ye.createElement(He.Z,{style:{margin:"30px 0px"}}),it?ye.createElement("div",null,ye.createElement(y.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:xe,id:"editContent",onChange:nn=>{Sn(nn)}}),ye.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},ye.createElement(a.op,{shape:"default",onClick:()=>{Mt(!1),Sn(Wn)}},"\u53D6\u6D88"),ye.createElement(ce.ZP,{className:"ml20",type:"primary",onClick:()=>Ue(void 0,null,function*(){yield Gn()})},"\u63D0\u4EA4"))):ye.createElement("div",{className:me.wrap1},(0,ne.Ny)()&&ye.createElement("div",{className:me.editBtn,onClick:()=>{Mt(!0)}},ye.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),ye.createElement(x.Z,{className:"discuss-content",value:xe,style:{fontSize:"12px",color:"#232B40"}})),ye.createElement(Me.default,{title:"\u5BFC\u5165\u5931\u8D25",open:zt,width:500,centered:!0,destroyOnClose:!0,maskClosable:!1,className:me.optionModal,onCancel:()=>{en(!1)},onOk:()=>{en(!1)}},ye.createElement(Le.default,{columns:[{title:"\u8BBA\u6587\u540D\u79F0",dataIndex:"title",key:"title"},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"",key:"message",render:(nn,we)=>ye.createElement("span",null,`${we==null?void 0:we.what_column}\uFF1A${we==null?void 0:we.message}`)}],dataSource:Fe})),ye.createElement(pe.Z,{exportTemplate:nn=>{(0,fe.Nd)("","/api/declarations/down_template.json")},onSuccess:(nn,we)=>Ue(void 0,null,function*(){var Qe,Qn,Kn;const lt=new FormData;if((we==null?void 0:we.length)==0){Te.ZP.error("\u8BF7\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6");return}lt.append("file",we);const tn=yield(0,oe.t2)(lt);((Qn=(Qe=tn==null?void 0:tn.data)==null?void 0:Qe.fail)==null?void 0:Qn.length)===0?Te.ZP.success("\u4E0A\u4F20\u6210\u529F"):(pt((Kn=tn==null?void 0:tn.data)==null?void 0:Kn.fail),en(!0)),kn()}),onClose:()=>{dt({type:"declaration/setActionTabs",payload:{key:""}})}})))};var Tt=(0,Re.connect)(({declaration:Qt,loading:wt,user:dt})=>({declaration:Qt,loading:wt,user:dt}))(ft)},38780:function(ht,Et){"use strict";function ee(){const ae=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let me=1;me<arguments.length;me++){const Re=me<0||arguments.length<=me?void 0:arguments[me];Re&&Object.keys(Re).forEach(ze=>{const Me=Re[ze];Me!==void 0&&(ae[ze]=Me)})}return ae}Et.Z=ee},66367:function(ht,Et,ee){"use strict";ee.d(Et,{F:function(){return ae},Z:function(){return me}});function ae(Re){return Re!=null&&Re===Re.window}function me(Re,ze){var Me,Te;if(typeof window=="undefined")return 0;const se=ze?"scrollTop":"scrollLeft";let Ze=0;return ae(Re)?Ze=Re[ze?"pageYOffset":"pageXOffset"]:Re instanceof Document?Ze=Re.documentElement[se]:(Re instanceof HTMLElement||Re)&&(Ze=Re[se]),Re&&!ae(Re)&&typeof Ze!="number"&&(Ze=(Te=((Me=Re.ownerDocument)!==null&&Me!==void 0?Me:Re).documentElement)===null||Te===void 0?void 0:Te[se]),Ze}},57838:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return me}});var ae=ee(67294);function me(){const[,Re]=ae.useReducer(ze=>ze+1,0);return Re}},58375:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return ze}});var ae=ee(96523);function me(Me,Te,se,Ze){const Ke=se-Te;return Me/=Ze/2,Me<1?Ke/2*Me*Me*Me+Te:Ke/2*((Me-=2)*Me*Me+2)+Te}var Re=ee(66367);function ze(Me){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:Ze,duration:Ke=450}=Te,He=se(),_e=(0,Re.Z)(He,!0),je=Date.now(),Le=()=>{const a=Date.now()-je,y=me(a>Ke?Ke:a,_e,Me,Ke);(0,Re.F)(He)?He.scrollTo(window.pageXOffset,y):He instanceof Document||He.constructor.name==="HTMLDocument"?He.documentElement.scrollTop=y:He.scrollTop=y,a<Ke?(0,ae.Z)(Le):typeof Ze=="function"&&Ze()};(0,ae.Z)(Le)}},84567:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return fe}});var ae=ee(94184),me=ee.n(ae),Re=ee(95860),ze=ee(67294),Me=ee(53124),Te=ee(98866),se=ee(65223),Ke=ze.createContext(null),He=ee(63185),_e=ee(45353),je=ee(92429),Le=function(pe,ye){var Ce={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&ye.indexOf(Ee)<0&&(Ce[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ee=Object.getOwnPropertySymbols(pe);Se<Ee.length;Se++)ye.indexOf(Ee[Se])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ee[Se])&&(Ce[Ee[Se]]=pe[Ee[Se]]);return Ce};const ce=(pe,ye)=>{var Ce;const{prefixCls:Ee,className:Se,rootClassName:gt,children:Ye,indeterminate:It=!1,style:Ue,onMouseEnter:ft,onMouseLeave:Tt,skipGroup:Qt=!1,disabled:wt}=pe,dt=Le(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Gt,direction:an,checkbox:pn}=ze.useContext(Me.E_),$e=ze.useContext(Ke),{isFormItemInput:Ct}=ze.useContext(se.aM),Bt=ze.useContext(Te.Z),Tn=(Ce=($e==null?void 0:$e.disabled)||wt)!==null&&Ce!==void 0?Ce:Bt,it=ze.useRef(dt.value);ze.useEffect(()=>{$e==null||$e.registerValue(dt.value)},[]),ze.useEffect(()=>{if(!Qt)return dt.value!==it.current&&($e==null||$e.cancelValue(it.current),$e==null||$e.registerValue(dt.value),it.current=dt.value),()=>$e==null?void 0:$e.cancelValue(dt.value)},[dt.value]);const Mt=Gt("checkbox",Ee),[xe,Sn]=(0,He.ZP)(Mt),Wn=Object.assign({},dt);$e&&!Qt&&(Wn.onChange=function(){dt.onChange&&dt.onChange.apply(dt,arguments),$e.toggleOption&&$e.toggleOption({label:Ye,value:dt.value})},Wn.name=$e.name,Wn.checked=$e.value.includes(dt.value));const Ca=me()(`${Mt}-wrapper`,{[`${Mt}-rtl`]:an==="rtl",[`${Mt}-wrapper-checked`]:Wn.checked,[`${Mt}-wrapper-disabled`]:Tn,[`${Mt}-wrapper-in-form-item`]:Ct},pn==null?void 0:pn.className,Se,gt,Sn),yn=me()({[`${Mt}-indeterminate`]:It},je.A,Sn),Yt=It?"mixed":void 0;return xe(ze.createElement(_e.Z,{component:"Checkbox",disabled:Tn},ze.createElement("label",{className:Ca,style:Object.assign(Object.assign({},pn==null?void 0:pn.style),Ue),onMouseEnter:ft,onMouseLeave:Tt},ze.createElement(Re.Z,Object.assign({"aria-checked":Yt},Wn,{prefixCls:Mt,className:yn,disabled:Tn,ref:ye})),Ye!==void 0&&ze.createElement("span",null,Ye))))};var y=ze.forwardRef(ce),x=ee(74902),b=ee(10366),E=function(pe,ye){var Ce={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&ye.indexOf(Ee)<0&&(Ce[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ee=Object.getOwnPropertySymbols(pe);Se<Ee.length;Se++)ye.indexOf(Ee[Se])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ee[Se])&&(Ce[Ee[Se]]=pe[Ee[Se]]);return Ce};const z=(pe,ye)=>{const{defaultValue:Ce,children:Ee,options:Se=[],prefixCls:gt,className:Ye,rootClassName:It,style:Ue,onChange:ft}=pe,Tt=E(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Qt,direction:wt}=ze.useContext(Me.E_),[dt,Gt]=ze.useState(Tt.value||Ce||[]),[an,pn]=ze.useState([]);ze.useEffect(()=>{"value"in Tt&&Gt(Tt.value||[])},[Tt.value]);const $e=ze.useMemo(()=>Se.map(Ge=>typeof Ge=="string"||typeof Ge=="number"?{label:Ge,value:Ge}:Ge),[Se]),Ct=Ge=>{pn(Fe=>Fe.filter(pt=>pt!==Ge))},Bt=Ge=>{pn(Fe=>[].concat((0,x.Z)(Fe),[Ge]))},Tn=Ge=>{const Fe=dt.indexOf(Ge.value),pt=(0,x.Z)(dt);Fe===-1?pt.push(Ge.value):pt.splice(Fe,1),"value"in Tt||Gt(pt),ft==null||ft(pt.filter(zt=>an.includes(zt)).sort((zt,en)=>{const En=$e.findIndex(_n=>_n.value===zt),kn=$e.findIndex(_n=>_n.value===en);return En-kn}))},it=Qt("checkbox",gt),Mt=`${it}-group`,[xe,Sn]=(0,He.ZP)(it),Wn=(0,b.Z)(Tt,["value","disabled"]),Ca=Se.length?$e.map(Ge=>ze.createElement(y,{prefixCls:it,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:Tt.disabled,value:Ge.value,checked:dt.includes(Ge.value),onChange:Ge.onChange,className:`${Mt}-item`,style:Ge.style,title:Ge.title},Ge.label)):Ee,yn={toggleOption:Tn,value:dt,disabled:Tt.disabled,name:Tt.name,registerValue:Bt,cancelValue:Ct},Yt=me()(Mt,{[`${Mt}-rtl`]:wt==="rtl"},Ye,It,Sn);return xe(ze.createElement("div",Object.assign({className:Yt,style:Ue},Wn,{ref:ye}),ze.createElement(Ke.Provider,{value:yn},Ca)))},re=ze.forwardRef(z);var oe=ze.memo(re);const ne=y;ne.Group=oe,ne.__ANT_CHECKBOX=!0;var fe=ne},63185:function(ht,Et,ee){"use strict";ee.d(Et,{C2:function(){return Me}});var ae=ee(14747),me=ee(45503),Re=ee(67968);const ze=Te=>{const{checkboxCls:se}=Te,Ze=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{display:"inline-flex",flexWrap:"wrap",columnGap:Te.marginXS,[`> ${Te.antCls}-row`]:{flex:1}}),[Ze]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{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}}}),[se]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Te.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,ae.oN)(Te))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Te.checkboxSize,height:Te.checkboxSize,direction:"ltr",backgroundColor:Te.colorBgContainer,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadiusSM,borderCollapse:"separate",transition:`all ${Te.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Te.checkboxSize/14*5,height:Te.checkboxSize/14*8,border:`${Te.lineWidthBold}px solid ${Te.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Te.motionDurationFast} ${Te.motionEaseInBack}, opacity ${Te.motionDurationFast}`}},"& + span":{paddingInlineStart:Te.paddingXS,paddingInlineEnd:Te.paddingXS}})},{[`
${Ze}:not(${Ze}-disabled),
${se}:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{borderColor:Te.colorPrimary}},[`${Ze}:not(${Ze}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:Te.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:Te.colorPrimary,borderColor:Te.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Te.motionDurationMid} ${Te.motionEaseOutBack} ${Te.motionDurationFast}`}}},[`
${Ze}-checked:not(${Ze}-disabled),
${se}-checked:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:Te.colorBgContainer,borderColor:Te.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Te.fontSizeLG/2,height:Te.fontSizeLG/2,backgroundColor:Te.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ze}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,"&:after":{borderColor:Te.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Te.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:Te.colorTextDisabled}}}]};function Me(Te,se){const Ze=(0,me.TS)(se,{checkboxCls:`.${Te}`,checkboxSize:se.controlInteractiveSize});return[ze(Ze)]}Et.ZP=(0,Re.Z)("Checkbox",(Te,se)=>{let{prefixCls:Ze}=se;return[Me(Ze,Te)]})},20669:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return Wo}});var ae=ee(97909),me=ee.n(ae),Re=ee(68291),ze=ee(33088),Me=ee.n(ze),Te=ee(26850),se=ee.n(Te),Ze=ee(23082),Ke=ee.n(Ze),He=ee(99873),_e=ee.n(He),je=ee(86625),Le=ee.n(je),ce=ee(40618),a=ee.n(ce);me().extend(a()),me().extend(Le()),me().extend(Me()),me().extend(se()),me().extend(Ke()),me().extend(_e()),me().extend(function(te,ie){var le=ie.prototype,ge=le.format;le.format=function(De){var Ae=(De||"").replace("Wo","wo");return ge.bind(this)(Ae)}});var y={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(ie){var le=y[ie];return le||ie.split("_")[0]},b=function(){(0,Re.ET)(!1,"Not match any format. Please help to fire a issue about this.")},E={getNow:function(){return me()()},getFixedDate:function(ie){return me()(ie,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ie){return ie.endOf("month")},getWeekDay:function(ie){var le=ie.locale("en");return le.weekday()+le.localeData().firstDayOfWeek()},getYear:function(ie){return ie.year()},getMonth:function(ie){return ie.month()},getDate:function(ie){return ie.date()},getHour:function(ie){return ie.hour()},getMinute:function(ie){return ie.minute()},getSecond:function(ie){return ie.second()},addYear:function(ie,le){return ie.add(le,"year")},addMonth:function(ie,le){return ie.add(le,"month")},addDate:function(ie,le){return ie.add(le,"day")},setYear:function(ie,le){return ie.year(le)},setMonth:function(ie,le){return ie.month(le)},setDate:function(ie,le){return ie.date(le)},setHour:function(ie,le){return ie.hour(le)},setMinute:function(ie,le){return ie.minute(le)},setSecond:function(ie,le){return ie.second(le)},isAfter:function(ie,le){return ie.isAfter(le)},isValidate:function(ie){return ie.isValid()},locale:{getWeekFirstDay:function(ie){return me()().locale(x(ie)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ie,le){return le.locale(x(ie)).weekday(0)},getWeek:function(ie,le){return le.locale(x(ie)).week()},getShortWeekDays:function(ie){return me()().locale(x(ie)).localeData().weekdaysMin()},getShortMonths:function(ie){return me()().locale(x(ie)).localeData().monthsShort()},format:function(ie,le,ge){return le.locale(x(ie)).format(ge)},parse:function(ie,le,ge){for(var ve=x(ie),De=0;De<ge.length;De+=1){var Ae=ge[De],Je=le;if(Ae.includes("wo")||Ae.includes("Wo")){for(var qe=Je.split("-")[0],ct=Je.split("-")[1],Vt=me()(qe,"YYYY").startOf("year").locale(ve),mt=0;mt<=52;mt+=1){var St=Vt.add(mt,"week");if(St.format("Wo")===ct)return St}return b(),null}var bt=me()(Je,Ae,!0).locale(ve);if(bt.isValid())return bt}return le&&b(),null}}},z=E,re=ee(8745),oe=ee(87462),ne=ee(67294),fe=ee.t(ne,2),pe={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"},ye=pe,Ce=ee(74643),Ee=function(ie,le){return ne.createElement(Ce.Z,(0,oe.Z)({},ie,{ref:le,icon:ye}))},Se=ne.forwardRef(Ee),gt={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"},Ye=gt,It=function(ie,le){return ne.createElement(Ce.Z,(0,oe.Z)({},ie,{ref:le,icon:Ye}))},Ue=ne.forwardRef(It),ft=ee(16646),Tt={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"},Qt=Tt,wt=function(ie,le){return ne.createElement(Ce.Z,(0,oe.Z)({},ie,{ref:le,icon:Qt}))},dt=ne.forwardRef(wt),Gt=ee(94184),an=ee.n(Gt),pn=ee(15671),$e=ee(43144),Ct=ee(97326),Bt=ee(60136),Tn=ee(51630),it=ee(4942),Mt=ee(1413),xe=ee(97685),Sn=ee(5663),Wn=ee(1337),Ca=ee(92739),yn=ee(7699),Yt=10,Ge=Yt*10,Fe=7;function pt(te,ie){if(!te&&!ie)return!0;if(!te||!ie)return!1}function zt(te,ie,le){var ge=pt(ie,le);if(typeof ge=="boolean")return ge;var ve=Math.floor(te.getYear(ie)/10),De=Math.floor(te.getYear(le)/10);return ve===De}function en(te,ie,le){var ge=pt(ie,le);return typeof ge=="boolean"?ge:te.getYear(ie)===te.getYear(le)}function En(te,ie){var le=Math.floor(te.getMonth(ie)/3);return le+1}function kn(te,ie,le){var ge=pt(ie,le);return typeof ge=="boolean"?ge:en(te,ie,le)&&En(te,ie)===En(te,le)}function _n(te,ie,le){var ge=pt(ie,le);return typeof ge=="boolean"?ge:en(te,ie,le)&&te.getMonth(ie)===te.getMonth(le)}function Gn(te,ie,le){var ge=pt(ie,le);return typeof ge=="boolean"?ge:te.getYear(ie)===te.getYear(le)&&te.getMonth(ie)===te.getMonth(le)&&te.getDate(ie)===te.getDate(le)}function nn(te,ie,le){var ge=pt(ie,le);return typeof ge=="boolean"?ge:te.getHour(ie)===te.getHour(le)&&te.getMinute(ie)===te.getMinute(le)&&te.getSecond(ie)===te.getSecond(le)}function we(te,ie,le,ge){var ve=pt(le,ge);return typeof ve=="boolean"?ve:en(te,le,ge)&&te.locale.getWeek(ie,le)===te.locale.getWeek(ie,ge)}function Qe(te,ie,le){return Gn(te,ie,le)&&nn(te,ie,le)}function Qn(te,ie,le,ge){return!ie||!le||!ge?!1:!Gn(te,ie,ge)&&!Gn(te,le,ge)&&te.isAfter(ge,ie)&&te.isAfter(le,ge)}function Kn(te,ie,le){var ge=ie.locale.getWeekFirstDay(te),ve=ie.setDate(le,1),De=ie.getWeekDay(ve),Ae=ie.addDate(ve,ge-De);return ie.getMonth(Ae)===ie.getMonth(le)&&ie.getDate(Ae)>1&&(Ae=ie.addDate(Ae,-7)),Ae}function lt(te,ie,le){var ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ie){case"year":return le.addYear(te,ge*10);case"quarter":case"month":return le.addYear(te,ge);default:return le.addMonth(te,ge)}}function tn(te,ie){var le=ie.generateConfig,ge=ie.locale,ve=ie.format;return typeof ve=="function"?ve(te):le.locale.format(ge.locale,te,ve)}function We(te,ie){var le=ie.generateConfig,ge=ie.locale,ve=ie.formatList;return!te||typeof ve[0]=="function"?null:le.locale.parse(ge.locale,te,ve)}function ut(te){var ie=te.cellDate,le=te.mode,ge=te.disabledDate,ve=te.generateConfig;if(!ge)return!1;var De=function(Nt,at,xt){for(var _t=at;_t<=xt;){var Bn=void 0;switch(Nt){case"date":{if(Bn=ve.setDate(ie,_t),!ge(Bn))return!1;break}case"month":{if(Bn=ve.setMonth(ie,_t),!ut({cellDate:Bn,mode:"month",generateConfig:ve,disabledDate:ge}))return!1;break}case"year":{if(Bn=ve.setYear(ie,_t),!ut({cellDate:Bn,mode:"year",generateConfig:ve,disabledDate:ge}))return!1;break}}_t+=1}return!0};switch(le){case"date":case"week":return ge(ie);case"month":{var Ae=1,Je=ve.getDate(ve.getEndDate(ie));return De("date",Ae,Je)}case"quarter":{var qe=Math.floor(ve.getMonth(ie)/3)*3,ct=qe+2;return De("month",qe,ct)}case"year":return De("month",0,11);case"decade":{var Vt=ve.getYear(ie),mt=Math.floor(Vt/Yt)*Yt,St=mt+Yt-1;return De("year",mt,St)}}}function Ft(te,ie){var le=ie.formatList,ge=ie.generateConfig,ve=ie.locale;return(0,Ca.Z)(function(){if(!te)return[[""],""];for(var De="",Ae=[],Je=0;Je<le.length;Je+=1){var qe=le[Je],ct=tn(te,{generateConfig:ge,locale:ve,format:qe});Ae.push(ct),Je===0&&(De=ct)}return[Ae,De]},[te,le,ve],function(De,Ae){return!Qe(ge,De[0],Ae[0])||!(0,yn.Z)(De[1],Ae[1],!0)||!(0,yn.Z)(De[2],Ae[2],!0)})}function $t(te,ie){var le=ie.formatList,ge=ie.generateConfig,ve=ie.locale,De=(0,ne.useState)(null),Ae=(0,xe.Z)(De,2),Je=Ae[0],qe=Ae[1],ct=(0,ne.useRef)(null);function Vt(xt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(ct.current),_t){qe(xt);return}ct.current=requestAnimationFrame(function(){qe(xt)})}var mt=Ft(Je,{formatList:le,generateConfig:ge,locale:ve}),St=(0,xe.Z)(mt,2),bt=St[1];function Nt(xt){Vt(xt)}function at(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Vt(null,xt)}return(0,ne.useEffect)(function(){at(!0)},[te]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(ct.current)}},[]),[bt,Nt,at]}var Rt=ee(92389),bn=ee(96523),ra=ee(74902),Yn=ee(48130),jn=new Map;function Ga(te,ie){var le;function ge(){(0,Yn.Z)(te)?ie():le=(0,bn.Z)(function(){ge()})}return ge(),function(){bn.Z.cancel(le)}}function oa(te,ie,le){if(jn.get(te)&&cancelAnimationFrame(jn.get(te)),le<=0){jn.set(te,requestAnimationFrame(function(){te.scrollTop=ie}));return}var ge=ie-te.scrollTop,ve=ge/le*10;jn.set(te,requestAnimationFrame(function(){te.scrollTop+=ve,te.scrollTop!==ie&&oa(te,ie,le-10)}))}function Ka(te,ie){var le=ie.onLeftRight,ge=ie.onCtrlLeftRight,ve=ie.onUpDown,De=ie.onPageUpDown,Ae=ie.onEnter,Je=te.which,qe=te.ctrlKey,ct=te.metaKey;switch(Je){case Rt.Z.LEFT:if(qe||ct){if(ge)return ge(-1),!0}else if(le)return le(-1),!0;break;case Rt.Z.RIGHT:if(qe||ct){if(ge)return ge(1),!0}else if(le)return le(1),!0;break;case Rt.Z.UP:if(ve)return ve(-1),!0;break;case Rt.Z.DOWN:if(ve)return ve(1),!0;break;case Rt.Z.PAGE_UP:if(De)return De(-1),!0;break;case Rt.Z.PAGE_DOWN:if(De)return De(1),!0;break;case Rt.Z.ENTER:if(Ae)return Ae(),!0;break}return!1}function Pr(te,ie,le,ge){var ve=te;if(!ve)switch(ie){case"time":ve=ge?"hh:mm:ss a":"HH:mm:ss";break;case"week":ve="gggg-wo";break;case"month":ve="YYYY-MM";break;case"quarter":ve="YYYY-[Q]Q";break;case"year":ve="YYYY";break;default:ve=le?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return ve}function Tr(te,ie,le){var ge=te==="time"?8:10,ve=typeof ie=="function"?ie(le.getNow()).length:ie.length;return Math.max(ge,ve)+2}var Xr=null,Rr=new Set;function Br(te){return!Xr&&typeof window!="undefined"&&window.addEventListener&&(Xr=function(le){(0,ra.Z)(Rr).forEach(function(ge){ge(le)})},window.addEventListener("mousedown",Xr)),Rr.add(te),function(){Rr.delete(te),Rr.size===0&&(window.removeEventListener("mousedown",Xr),Xr=null)}}function to(te){var ie=te.target;if(te.composed&&ie.shadowRoot){var le;return((le=te.composedPath)===null||le===void 0?void 0:le.call(te)[0])||ie}return ie}var lo=function(ie){return ie==="month"||ie==="date"?"year":ie},gr=function(ie){return ie==="date"?"month":ie},Pn=function(ie){return ie==="month"||ie==="date"?"quarter":ie},Zn=function(ie){return ie==="date"?"week":ie},Ln={year:lo,month:gr,quarter:Pn,week:Zn,time:null,date:null};function Nn(te,ie){return te.some(function(le){return le&&le.contains(ie)})}function Oa(te){var ie=te.open,le=te.value,ge=te.isClickOutside,ve=te.triggerOpen,De=te.forwardKeyDown,Ae=te.onKeyDown,Je=te.blurToCancel,qe=te.onSubmit,ct=te.onCancel,Vt=te.onFocus,mt=te.onBlur,St=te.changeOnBlur,bt=(0,ne.useState)(!1),Nt=(0,xe.Z)(bt,2),at=Nt[0],xt=Nt[1],_t=(0,ne.useState)(!1),Bn=(0,xe.Z)(_t,2),un=Bn[0],sn=Bn[1],qn=(0,ne.useRef)(!1),rn=(0,ne.useRef)(!1),dn=(0,ne.useRef)(!1),wa={onMouseDown:function(){xt(!0),ve(!0)},onKeyDown:function(La){var fa=function(){dn.current=!0};if(Ae(La,fa),!dn.current){switch(La.which){case Rt.Z.ENTER:{ie?qe()!==!1&&xt(!0):ve(!0),La.preventDefault();return}case Rt.Z.TAB:{at&&ie&&!La.shiftKey?(xt(!1),La.preventDefault()):!at&&ie&&!De(La)&&La.shiftKey&&(xt(!0),La.preventDefault());return}case Rt.Z.ESC:{xt(!0),ct();return}}!ie&&![Rt.Z.SHIFT].includes(La.which)?ve(!0):at||De(La)}},onFocus:function(La){xt(!0),sn(!0),Vt&&Vt(La)},onBlur:function(La){if(qn.current||!ge(document.activeElement)){qn.current=!1;return}Je?setTimeout(function(){for(var fa=document,nr=fa.activeElement;nr&&nr.shadowRoot;)nr=nr.shadowRoot.activeElement;ge(nr)&&ct()},0):ie&&(ve(!1),rn.current&&qe()),sn(!1),mt==null||mt(La)}};return(0,ne.useEffect)(function(){rn.current=!1},[ie]),(0,ne.useEffect)(function(){rn.current=!0},[le]),(0,ne.useEffect)(function(){return Br(function(aa){var La=to(aa),fa=ge(La);ie&&(fa?!St&&(!un||fa)&&ve(!1):(qn.current=!0,(0,bn.Z)(function(){qn.current=!1})))})}),[wa,{focused:un,typing:at}]}function Ar(te,ie){return ne.useMemo(function(){return te||(ie?((0,Re.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ie).map(function(le){var ge=(0,xe.Z)(le,2),ve=ge[0],De=ge[1];return{label:ve,value:De}})):[])},[te,ie])}var zn=ee(14075);function et(te){var ie=te.valueTexts,le=te.onTextChange,ge=ne.useState(""),ve=(0,xe.Z)(ge,2),De=ve[0],Ae=ve[1],Je=ne.useRef([]);Je.current=ie;function qe(Vt){Ae(Vt),le(Vt)}function ct(){Ae(Je.current[0])}return(0,zn.Z)(function(){ie.every(function(Vt){return Vt!==De})&&ct()},[ie.join("||")]),[De,qe,ct]}var st=ne.createContext({}),Ve=st,Kt=ee(71002);function Cn(te){var ie=te.cellRender,le=te.monthCellRender,ge=te.dateRender,ve=ne.useMemo(function(){if(ie)return ie;if(!(!le&&!ge))return function(De,Ae){var Je=De;return ge&&Ae.type==="date"?ge(Je,Ae.today):le&&Ae.type==="month"?le(Je,Ae.locale):Ae.originNode}},[ie,le,ge]);return ve}function Jn(te,ie){for(var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",ge=String(te);ge.length<ie;)ge="".concat(le).concat(te);return ge}var ja=function(){for(var ie=arguments.length,le=new Array(ie),ge=0;ge<ie;ge++)le[ge]=arguments[ge];return le};function ua(te){return te==null?[]:Array.isArray(te)?te:[te]}function Un(te,ie){return te?te[ie]:null}function Ma(te,ie,le){var ge=[Un(te,0),Un(te,1)];return ge[le]=typeof ie=="function"?ie(ge[le]):ie,!ge[0]&&!ge[1]?null:ge}function ho(te){return typeof te=="function"?te():te}function Mn(te){var ie=te.cellPrefixCls,le=te.generateConfig,ge=te.rangedValue,ve=te.hoverRangedValue,De=te.isInView,Ae=te.isSameCell,Je=te.offsetCell,qe=te.today,ct=te.value;function Vt(mt){var St,bt=Je(mt,-1),Nt=Je(mt,1),at=Un(ge,0),xt=Un(ge,1),_t=Un(ve,0),Bn=Un(ve,1),un=Qn(le,_t,Bn,mt);function sn(La){return Ae(at,La)}function qn(La){return Ae(xt,La)}var rn=Ae(_t,mt),dn=Ae(Bn,mt),wa=(un||dn)&&(!De(bt)||qn(bt)),aa=(un||rn)&&(!De(Nt)||sn(Nt));return St={},(0,it.Z)(St,"".concat(ie,"-in-view"),De(mt)),(0,it.Z)(St,"".concat(ie,"-in-range"),Qn(le,at,xt,mt)),(0,it.Z)(St,"".concat(ie,"-range-start"),sn(mt)),(0,it.Z)(St,"".concat(ie,"-range-end"),qn(mt)),(0,it.Z)(St,"".concat(ie,"-range-start-single"),sn(mt)&&!xt),(0,it.Z)(St,"".concat(ie,"-range-end-single"),qn(mt)&&!at),(0,it.Z)(St,"".concat(ie,"-range-start-near-hover"),sn(mt)&&(Ae(bt,_t)||Qn(le,_t,Bn,bt))),(0,it.Z)(St,"".concat(ie,"-range-end-near-hover"),qn(mt)&&(Ae(Nt,Bn)||Qn(le,_t,Bn,Nt))),(0,it.Z)(St,"".concat(ie,"-range-hover"),un),(0,it.Z)(St,"".concat(ie,"-range-hover-start"),rn),(0,it.Z)(St,"".concat(ie,"-range-hover-end"),dn),(0,it.Z)(St,"".concat(ie,"-range-hover-edge-start"),wa),(0,it.Z)(St,"".concat(ie,"-range-hover-edge-end"),aa),(0,it.Z)(St,"".concat(ie,"-range-hover-edge-start-near-range"),wa&&Ae(bt,xt)),(0,it.Z)(St,"".concat(ie,"-range-hover-edge-end-near-range"),aa&&Ae(Nt,at)),(0,it.Z)(St,"".concat(ie,"-today"),Ae(qe,mt)),(0,it.Z)(St,"".concat(ie,"-selected"),Ae(ct,mt)),St}return Vt}var no=ne.createContext({}),rt=no;function qt(te,ie,le,ge,ve){var De=te.setHour(ie,le);return De=te.setMinute(De,ge),De=te.setSecond(De,ve),De}function jt(te,ie,le){if(!le)return ie;var ge=ie;return ge=te.setHour(ge,te.getHour(le)),ge=te.setMinute(ge,te.getMinute(le)),ge=te.setSecond(ge,te.getSecond(le)),ge}function Jt(te,ie,le,ge,ve,De){var Ae=Math.floor(te/ge)*ge;if(Ae<te)return[Ae,60-ve,60-De];var Je=Math.floor(ie/ve)*ve;if(Je<ie)return[Ae,Je,60-De];var qe=Math.floor(le/De)*De;return[Ae,Je,qe]}function $n(te,ie){var le=te.getYear(ie),ge=te.getMonth(ie)+1,ve=te.getEndDate(te.getFixedDate("".concat(le,"-").concat(ge,"-01"))),De=te.getDate(ve),Ae=ge<10?"0".concat(ge):"".concat(ge);return"".concat(le,"-").concat(Ae,"-").concat(De)}function Wt(te){for(var ie=te.prefixCls,le=te.disabledDate,ge=te.onSelect,ve=te.picker,De=te.rowNum,Ae=te.colNum,Je=te.prefixColumn,qe=te.rowClassName,ct=te.baseDate,Vt=te.getCellClassName,mt=te.getCellText,St=te.getCellNode,bt=te.getCellDate,Nt=te.generateConfig,at=te.titleCell,xt=te.headerCells,_t=ne.useContext(Ve),Bn=_t.onDateMouseEnter,un=_t.onDateMouseLeave,sn=_t.mode,qn="".concat(ie,"-cell"),rn=[],dn=0;dn<De;dn+=1){for(var wa=[],aa=void 0,La=function(){var wr,Vr=dn*Ae+fa,ar=bt(ct,Vr),lr=ut({cellDate:ar,mode:sn,disabledDate:le,generateConfig:Nt});fa===0&&(aa=ar,Je&&wa.push(Je(aa)));var ka=at&&at(ar),Yr=ne.createElement("div",{className:"".concat(qn,"-inner")},mt(ar));wa.push(ne.createElement("td",{key:fa,title:ka,className:an()(qn,(0,Mt.Z)((wr={},(0,it.Z)(wr,"".concat(qn,"-disabled"),lr),(0,it.Z)(wr,"".concat(qn,"-start"),mt(ar)===1||ve==="year"&&Number(ka)%10===0),(0,it.Z)(wr,"".concat(qn,"-end"),ka===$n(Nt,ar)||ve==="year"&&Number(ka)%10===9),wr),Vt(ar))),onClick:function(){lr||ge(ar)},onMouseEnter:function(){!lr&&Bn&&Bn(ar)},onMouseLeave:function(){!lr&&un&&un(ar)}},St?St(ar,Yr):Yr))},fa=0;fa<Ae;fa+=1)La();rn.push(ne.createElement("tr",{key:dn,className:qe&&qe(aa)},wa))}return ne.createElement("div",{className:"".concat(ie,"-body")},ne.createElement("table",{className:"".concat(ie,"-content")},xt&&ne.createElement("thead",null,ne.createElement("tr",null,xt)),ne.createElement("tbody",null,rn)))}function Fn(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.prefixColumn,ve=te.locale,De=te.rowCount,Ae=te.viewDate,Je=te.value,qe=te.cellRender,ct=te.isSameCell,Vt=ne.useContext(rt),mt=Vt.rangedValue,St=Vt.hoverRangedValue,bt=Kn(ve.locale,le,Ae),Nt="".concat(ie,"-cell"),at=le.locale.getWeekFirstDay(ve.locale),xt=le.getNow(),_t=[],Bn=ve.shortWeekDays||(le.locale.getShortWeekDays?le.locale.getShortWeekDays(ve.locale):[]);ge&&_t.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var un=0;un<Fe;un+=1)_t.push(ne.createElement("th",{key:un},Bn[(un+at)%Fe]));var sn=Mn({cellPrefixCls:Nt,today:xt,value:Je,generateConfig:le,rangedValue:ge?null:mt,hoverRangedValue:ge?null:St,isSameCell:ct||function(rn,dn){return Gn(le,rn,dn)},isInView:function(dn){return _n(le,dn,Ae)},offsetCell:function(dn,wa){return le.addDate(dn,wa)}}),qn=qe?function(rn,dn){return qe(rn,{originNode:dn,today:xt,type:"date",locale:ve})}:void 0;return ne.createElement(Wt,(0,oe.Z)({},te,{rowNum:De,colNum:Fe,baseDate:bt,getCellNode:qn,getCellText:le.getDate,getCellClassName:sn,getCellDate:le.addDate,titleCell:function(dn){return tn(dn,{locale:ve,format:"YYYY-MM-DD",generateConfig:le})},headerCells:_t}))}var cn=Fn,$a={visibility:"hidden"};function Aa(te){var ie=te.prefixCls,le=te.prevIcon,ge=le===void 0?"\u2039":le,ve=te.nextIcon,De=ve===void 0?"\u203A":ve,Ae=te.superPrevIcon,Je=Ae===void 0?"\xAB":Ae,qe=te.superNextIcon,ct=qe===void 0?"\xBB":qe,Vt=te.onSuperPrev,mt=te.onSuperNext,St=te.onPrev,bt=te.onNext,Nt=te.children,at=ne.useContext(Ve),xt=at.hideNextBtn,_t=at.hidePrevBtn;return ne.createElement("div",{className:ie},Vt&&ne.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(ie,"-super-prev-btn"),style:_t?$a:{}},Je),St&&ne.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(ie,"-prev-btn"),style:_t?$a:{}},ge),ne.createElement("div",{className:"".concat(ie,"-view")},Nt),bt&&ne.createElement("button",{type:"button",onClick:bt,tabIndex:-1,className:"".concat(ie,"-next-btn"),style:xt?$a:{}},De),mt&&ne.createElement("button",{type:"button",onClick:mt,tabIndex:-1,className:"".concat(ie,"-super-next-btn"),style:xt?$a:{}},ct))}var cr=Aa;function zr(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.viewDate,De=te.onNextMonth,Ae=te.onPrevMonth,Je=te.onNextYear,qe=te.onPrevYear,ct=te.onYearClick,Vt=te.onMonthClick,mt=ne.useContext(Ve),St=mt.hideHeader;if(St)return null;var bt="".concat(ie,"-header"),Nt=ge.shortMonths||(le.locale.getShortMonths?le.locale.getShortMonths(ge.locale):[]),at=le.getMonth(ve),xt=ne.createElement("button",{type:"button",key:"year",onClick:ct,tabIndex:-1,className:"".concat(ie,"-year-btn")},tn(ve,{locale:ge,format:ge.yearFormat,generateConfig:le})),_t=ne.createElement("button",{type:"button",key:"month",onClick:Vt,tabIndex:-1,className:"".concat(ie,"-month-btn")},ge.monthFormat?tn(ve,{locale:ge,format:ge.monthFormat,generateConfig:le}):Nt[at]),Bn=ge.monthBeforeYear?[_t,xt]:[xt,_t];return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:bt,onSuperPrev:qe,onPrev:Ae,onNext:De,onSuperNext:Je}),Bn)}var co=zr,fn=6;function Bi(te){var ie=te.prefixCls,le=te.panelName,ge=le===void 0?"date":le,ve=te.keyboardConfig,De=te.active,Ae=te.operationRef,Je=te.generateConfig,qe=te.value,ct=te.viewDate,Vt=te.onViewDateChange,mt=te.onPanelChange,St=te.onSelect,bt="".concat(ie,"-").concat(ge,"-panel");Ae.current={onKeyDown:function(_t){return Ka(_t,(0,Mt.Z)({onLeftRight:function(un){St(Je.addDate(qe||ct,un),"key")},onCtrlLeftRight:function(un){St(Je.addYear(qe||ct,un),"key")},onUpDown:function(un){St(Je.addDate(qe||ct,un*Fe),"key")},onPageUpDown:function(un){St(Je.addMonth(qe||ct,un),"key")}},ve))}};var Nt=function(_t){var Bn=Je.addYear(ct,_t);Vt(Bn),mt(null,Bn)},at=function(_t){var Bn=Je.addMonth(ct,_t);Vt(Bn),mt(null,Bn)};return ne.createElement("div",{className:an()(bt,(0,it.Z)({},"".concat(bt,"-active"),De))},ne.createElement(co,(0,oe.Z)({},te,{prefixCls:ie,value:qe,viewDate:ct,onPrevYear:function(){Nt(-1)},onNextYear:function(){Nt(1)},onPrevMonth:function(){at(-1)},onNextMonth:function(){at(1)},onMonthClick:function(){mt("month",ct)},onYearClick:function(){mt("year",ct)}})),ne.createElement(cn,(0,oe.Z)({},te,{onSelect:function(_t){return St(_t,"mouse")},prefixCls:ie,value:qe,viewDate:ct,rowCount:fn})))}var ei=Bi;function qr(te){var ie=ne.useContext(Ve),le=ie.hideHeader;if(le)return null;var ge=te.prefixCls,ve=te.generateConfig,De=te.locale,Ae=te.value,Je=te.format,qe="".concat(ge,"-header");return ne.createElement(cr,{prefixCls:qe},Ae?tn(Ae,{locale:De,format:Je,generateConfig:ve}):"\xA0")}var Yo=qr;function In(te){var ie=te.value,le=te.generateConfig,ge=te.disabledMinutes,ve=te.disabledSeconds,De=te.minutes,Ae=te.seconds,Je=te.use12Hours,qe=function(Vt,mt,St,bt){var Nt=le.getNow(),at=ie||Nt,xt=mt<0?le.getHour(Nt):mt,_t=St<0?le.getMinute(Nt):St,Bn=bt<0?le.getSecond(Nt):bt,un=ge&&ge(xt);if(un!=null&&un.includes(_t)){var sn=De.find(function(dn){return!un.includes(dn.value)});if(sn)_t=sn.value;else return null}var qn=ve&&ve(xt,_t);if(qn!=null&&qn.includes(Bn)){var rn=Ae.find(function(dn){return!qn.includes(dn.value)});if(rn)Bn=rn.value;else return null}return at=qt(le,at,!Je||!Vt?xt:xt+12,_t,Bn),at};return qe}function va(te){var ie=te.prefixCls,le=te.units,ge=te.onSelect,ve=te.value,De=te.active,Ae=te.hideDisabledOptions,Je=te.info,qe=te.type,ct="".concat(ie,"-cell"),Vt=ne.useContext(Ve),mt=Vt.open,St=(0,ne.useRef)(null),bt=(0,ne.useRef)(new Map),Nt=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var at=bt.current.get(ve);at&&mt!==!1&&oa(St.current,at.offsetTop,120)},[ve]),(0,ne.useLayoutEffect)(function(){if(mt){var at=bt.current.get(ve);at&&(Nt.current=Ga(at,function(){oa(St.current,at.offsetTop,0)}))}return function(){var xt;(xt=Nt.current)===null||xt===void 0||xt.call(Nt)}},[mt]),ne.createElement("ul",{className:an()("".concat(ie,"-column"),(0,it.Z)({},"".concat(ie,"-column-active"),De)),ref:St,style:{position:"relative"}},le.map(function(at){var xt;return Ae&&at.disabled?null:ne.createElement("li",{key:at.value,ref:function(Bn){bt.current.set(at.value,Bn)},className:an()(ct,(xt={},(0,it.Z)(xt,"".concat(ct,"-disabled"),at.disabled),(0,it.Z)(xt,"".concat(ct,"-selected"),ve===at.value),xt)),onClick:function(){at.disabled||ge(at.value)}},Je.cellRender?Je.cellRender(at.value,{today:Je.today,locale:Je.locale,originNode:ne.createElement("div",{className:"".concat(ct,"-inner")},at.label),type:"time",subType:qe}):ne.createElement("div",{className:"".concat(ct,"-inner")},at.label))}))}var Va=va;function Vn(te,ie){if(te.length!==ie.length)return!0;for(var le=0;le<te.length;le+=1)if(te[le].disabled!==ie[le].disabled)return!0;return!1}function Wr(te,ie,le,ge){for(var ve=[],De=le>=1?le|0:1,Ae=te;Ae<=ie;Ae+=De)ve.push({label:Jn(Ae,2),value:Ae,disabled:(ge||[]).includes(Ae)});return ve}function _r(te){var ie=te.generateConfig,le=te.prefixCls,ge=te.operationRef,ve=te.activeColumnIndex,De=te.value,Ae=te.showHour,Je=te.showMinute,qe=te.showSecond,ct=te.use12Hours,Vt=te.hourStep,mt=Vt===void 0?1:Vt,St=te.minuteStep,bt=St===void 0?1:St,Nt=te.secondStep,at=Nt===void 0?1:Nt,xt=te.disabledHours,_t=te.disabledMinutes,Bn=te.disabledSeconds,un=te.disabledTime,sn=te.hideDisabledOptions,qn=te.onSelect,rn=te.cellRender,dn=te.locale,wa=[],aa="".concat(le,"-content"),La="".concat(le,"-time-panel"),fa,nr=De?ie.getHour(De):-1,wr=nr,Vr=De?ie.getMinute(De):-1,ar=De?ie.getSecond(De):-1,lr=ie.getNow(),ka=ne.useMemo(function(){if(un){var Cr=un(lr);return[Cr.disabledHours,Cr.disabledMinutes,Cr.disabledSeconds]}return[xt,_t,Bn]},[xt,_t,Bn,un,lr]),Yr=(0,xe.Z)(ka,3),Sr=Yr[0],Lr=Yr[1],Mo=Yr[2],To=Wr(0,23,mt,Sr&&Sr()),Uo=(0,Ca.Z)(function(){return To},To,Vn);ct&&(fa=wr>=12,wr%=12);var Pi=ne.useMemo(function(){if(!ct)return[!1,!1];var Cr=[!0,!0];return Uo.forEach(function(Zo){var bo=Zo.disabled,Qr=Zo.value;bo||(Qr>=12?Cr[1]=!1:Cr[0]=!1)}),Cr},[ct,Uo]),No=(0,xe.Z)(Pi,2),ci=No[0],io=No[1],vo=ne.useMemo(function(){return ct?Uo.filter(fa?function(Cr){return Cr.value>=12}:function(Cr){return Cr.value<12}).map(function(Cr){var Zo=Cr.value%12,bo=Zo===0?"12":Jn(Zo,2);return(0,Mt.Z)((0,Mt.Z)({},Cr),{},{label:bo,value:Zo})}):Uo},[ct,fa,Uo]),Fo=Wr(0,59,bt,Lr&&Lr(nr)),ui=Wr(0,59,at,Mo&&Mo(nr,Vr)),mi=In({value:De,generateConfig:ie,disabledMinutes:Lr,disabledSeconds:Mo,minutes:Fo,seconds:ui,use12Hours:ct});ge.current={onUpDown:function(Zo){var bo=wa[ve];if(bo)for(var Qr=bo.units.findIndex(function(Ji){return Ji.value===bo.value}),_a=bo.units.length,ao=1;ao<_a;ao+=1){var Ko=bo.units[(Qr+Zo*ao+_a)%_a];if(Ko.disabled!==!0){bo.onSelect(Ko.value);break}}}};function Ki(Cr,Zo,bo,Qr,_a){Cr!==!1&&wa.push({node:ne.cloneElement(Zo,{prefixCls:La,value:bo,active:ve===wa.length,onSelect:_a,units:Qr,hideDisabledOptions:sn}),onSelect:_a,value:bo,units:Qr})}Ki(Ae,ne.createElement(Va,{key:"hour",type:"hour",info:{today:lr,locale:dn,cellRender:rn}}),wr,vo,function(Cr){qn(mi(fa,Cr,Vr,ar),"mouse")}),Ki(Je,ne.createElement(Va,{key:"minute",type:"minute",info:{today:lr,locale:dn,cellRender:rn}}),Vr,Fo,function(Cr){qn(mi(fa,wr,Cr,ar),"mouse")}),Ki(qe,ne.createElement(Va,{key:"second",type:"second",info:{today:lr,locale:dn,cellRender:rn}}),ar,ui,function(Cr){qn(mi(fa,wr,Vr,Cr),"mouse")});var vi=-1;return typeof fa=="boolean"&&(vi=fa?1:0),Ki(ct===!0,ne.createElement(Va,{key:"meridiem",type:"meridiem",info:{today:lr,locale:dn,cellRender:rn}}),vi,[{label:"AM",value:0,disabled:ci},{label:"PM",value:1,disabled:io}],function(Cr){qn(mi(!!Cr,wr,Vr,ar),"mouse")}),ne.createElement("div",{className:aa},wa.map(function(Cr){var Zo=Cr.node;return Zo}))}var ti=_r,ni=function(ie){return ie.filter(function(le){return le!==!1}).length};function ai(te){var ie=te.generateConfig,le=te.format,ge=le===void 0?"HH:mm:ss":le,ve=te.prefixCls,De=te.active,Ae=te.operationRef,Je=te.showHour,qe=te.showMinute,ct=te.showSecond,Vt=te.use12Hours,mt=Vt===void 0?!1:Vt,St=te.onSelect,bt=te.value,Nt="".concat(ve,"-time-panel"),at=ne.useRef(),xt=ne.useState(-1),_t=(0,xe.Z)(xt,2),Bn=_t[0],un=_t[1],sn=ni([Je,qe,ct,mt]);return Ae.current={onKeyDown:function(rn){return Ka(rn,{onLeftRight:function(wa){un((Bn+wa+sn)%sn)},onUpDown:function(wa){Bn===-1?un(0):at.current&&at.current.onUpDown(wa)},onEnter:function(){St(bt||ie.getNow(),"key"),un(-1)}})},onBlur:function(){un(-1)}},ne.createElement("div",{className:an()(Nt,(0,it.Z)({},"".concat(Nt,"-active"),De))},ne.createElement(Yo,(0,oe.Z)({},te,{format:ge,prefixCls:ve})),ne.createElement(ti,(0,oe.Z)({},te,{prefixCls:ve,activeColumnIndex:Bn,operationRef:at})))}var bl=ai,yi=ja("date","time");function jl(te){var ie=te.prefixCls,le=te.operationRef,ge=te.generateConfig,ve=te.value,De=te.defaultValue,Ae=te.disabledTime,Je=te.showTime,qe=te.onSelect,ct=te.cellRender,Vt="".concat(ie,"-datetime-panel"),mt=ne.useState(null),St=(0,xe.Z)(mt,2),bt=St[0],Nt=St[1],at=ne.useRef({}),xt=ne.useRef({}),_t=(0,Kt.Z)(Je)==="object"?(0,Mt.Z)({},Je):{};function Bn(rn){var dn=yi.indexOf(bt)+rn,wa=yi[dn]||null;return wa}var un=function(dn){xt.current.onBlur&&xt.current.onBlur(dn),Nt(null)};le.current={onKeyDown:function(dn){if(dn.which===Rt.Z.TAB){var wa=Bn(dn.shiftKey?-1:1);return Nt(wa),wa&&dn.preventDefault(),!0}if(bt){var aa=bt==="date"?at:xt;return aa.current&&aa.current.onKeyDown&&aa.current.onKeyDown(dn),!0}return[Rt.Z.LEFT,Rt.Z.RIGHT,Rt.Z.UP,Rt.Z.DOWN].includes(dn.which)?(Nt("date"),!0):!1},onBlur:un,onClose:un};var sn=function(dn,wa){var aa=dn;wa==="date"&&!ve&&_t.defaultValue?(aa=ge.setHour(aa,ge.getHour(_t.defaultValue)),aa=ge.setMinute(aa,ge.getMinute(_t.defaultValue)),aa=ge.setSecond(aa,ge.getSecond(_t.defaultValue))):wa==="time"&&!ve&&De&&(aa=ge.setYear(aa,ge.getYear(De)),aa=ge.setMonth(aa,ge.getMonth(De)),aa=ge.setDate(aa,ge.getDate(De))),qe&&qe(aa,"mouse")},qn=Ae?Ae(ve||null):{};return ne.createElement("div",{className:an()(Vt,(0,it.Z)({},"".concat(Vt,"-active"),bt))},ne.createElement(ei,(0,oe.Z)({},te,{cellRender:ct,operationRef:at,active:bt==="date",onSelect:function(dn){sn(jt(ge,dn,!ve&&(0,Kt.Z)(Je)==="object"?Je.defaultValue:null),"date")}})),ne.createElement(bl,(0,oe.Z)({},te,{cellRender:ct?function(rn,dn){return ct(rn,(0,Mt.Z)((0,Mt.Z)({},dn),{},{type:"time"}))}:void 0,format:void 0},_t,qn,{disabledTime:null,defaultValue:void 0,operationRef:xt,active:bt==="time",onSelect:function(dn){sn(dn,"time")}})))}var $l=jl;function wi(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.viewDate,ve=te.onPrevDecades,De=te.onNextDecades,Ae=ne.useContext(Ve),Je=Ae.hideHeader;if(Je)return null;var qe="".concat(ie,"-header"),ct=le.getYear(ge),Vt=Math.floor(ct/Ge)*Ge,mt=Vt+Ge-1;return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:qe,onSuperPrev:ve,onSuperNext:De}),Vt,"-",mt)}var Xo=wi,hl=3,Cl=4;function Fl(te){var ie=Yt-1,le=te.prefixCls,ge=te.viewDate,ve=te.generateConfig,De=te.cellRender,Ae=te.locale,Je="".concat(le,"-cell"),qe=ve.getYear(ge),ct=Math.floor(qe/Yt)*Yt,Vt=Math.floor(qe/Ge)*Ge,mt=Vt+Ge-1,St=ve.setYear(ge,Vt-Math.ceil((hl*Cl*Yt-Ge)/2)),bt=function(xt){var _t,Bn=ve.getYear(xt),un=Bn+ie;return _t={},(0,it.Z)(_t,"".concat(Je,"-in-view"),Vt<=Bn&&un<=mt),(0,it.Z)(_t,"".concat(Je,"-selected"),Bn===ct),_t},Nt=De?function(at,xt){return De(at,{originNode:xt,today:ve.getNow(),type:"decade",locale:Ae})}:void 0;return ne.createElement(Wt,(0,oe.Z)({},te,{rowNum:Cl,colNum:hl,baseDate:St,getCellNode:Nt,getCellText:function(xt){var _t=ve.getYear(xt);return"".concat(_t,"-").concat(_t+ie)},getCellClassName:bt,getCellDate:function(xt,_t){return ve.addYear(xt,_t*Yt)}}))}var tl=Fl;function ki(te){var ie=te.prefixCls,le=te.onViewDateChange,ge=te.generateConfig,ve=te.viewDate,De=te.operationRef,Ae=te.onSelect,Je=te.onPanelChange,qe="".concat(ie,"-decade-panel");De.current={onKeyDown:function(St){return Ka(St,{onLeftRight:function(Nt){Ae(ge.addYear(ve,Nt*Yt),"key")},onCtrlLeftRight:function(Nt){Ae(ge.addYear(ve,Nt*Ge),"key")},onUpDown:function(Nt){Ae(ge.addYear(ve,Nt*Yt*hl),"key")},onEnter:function(){Je("year",ve)}})}};var ct=function(St){var bt=ge.addYear(ve,St*Ge);le(bt),Je(null,bt)},Vt=function(St){Ae(St,"mouse"),Je("year",St)};return ne.createElement("div",{className:qe},ne.createElement(Xo,(0,oe.Z)({},te,{prefixCls:ie,onPrevDecades:function(){ct(-1)},onNextDecades:function(){ct(1)}})),ne.createElement(tl,(0,oe.Z)({},te,{prefixCls:ie,onSelect:Vt})))}var pl=ki;function kr(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.viewDate,De=te.onNextYear,Ae=te.onPrevYear,Je=te.onYearClick,qe=ne.useContext(Ve),ct=qe.hideHeader;if(ct)return null;var Vt="".concat(ie,"-header");return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Vt,onSuperPrev:Ae,onSuperNext:De}),ne.createElement("button",{type:"button",onClick:Je,className:"".concat(ie,"-year-btn")},tn(ve,{locale:ge,format:ge.yearFormat,generateConfig:le})))}var vt=kr,At=3,Xt=4;function Ne(te){var ie=te.prefixCls,le=te.locale,ge=te.value,ve=te.viewDate,De=te.generateConfig,Ae=te.cellRender,Je=ne.useContext(rt),qe=Je.rangedValue,ct=Je.hoverRangedValue,Vt="".concat(ie,"-cell"),mt=Mn({cellPrefixCls:Vt,value:ge,generateConfig:De,rangedValue:qe,hoverRangedValue:ct,isSameCell:function(xt,_t){return _n(De,xt,_t)},isInView:function(){return!0},offsetCell:function(xt,_t){return De.addMonth(xt,_t)}}),St=le.shortMonths||(De.locale.getShortMonths?De.locale.getShortMonths(le.locale):[]),bt=De.setMonth(ve,0),Nt=Ae?function(at,xt){return Ae(at,{originNode:xt,locale:le,today:De.getNow(),type:"month"})}:void 0;return ne.createElement(Wt,(0,oe.Z)({},te,{rowNum:Xt,colNum:At,baseDate:bt,getCellNode:Nt,getCellText:function(xt){return le.monthFormat?tn(xt,{locale:le,format:le.monthFormat,generateConfig:De}):St[De.getMonth(xt)]},getCellClassName:mt,getCellDate:De.addMonth,titleCell:function(xt){return tn(xt,{locale:le,format:"YYYY-MM",generateConfig:De})}}))}var Ut=Ne;function Dn(te){var ie=te.prefixCls,le=te.operationRef,ge=te.onViewDateChange,ve=te.generateConfig,De=te.value,Ae=te.viewDate,Je=te.onPanelChange,qe=te.onSelect,ct="".concat(ie,"-month-panel");le.current={onKeyDown:function(St){return Ka(St,{onLeftRight:function(Nt){qe(ve.addMonth(De||Ae,Nt),"key")},onCtrlLeftRight:function(Nt){qe(ve.addYear(De||Ae,Nt),"key")},onUpDown:function(Nt){qe(ve.addMonth(De||Ae,Nt*At),"key")},onEnter:function(){Je("date",De||Ae)}})}};var Vt=function(St){var bt=ve.addYear(Ae,St);ge(bt),Je(null,bt)};return ne.createElement("div",{className:ct},ne.createElement(vt,(0,oe.Z)({},te,{prefixCls:ie,onPrevYear:function(){Vt(-1)},onNextYear:function(){Vt(1)},onYearClick:function(){Je("year",Ae)}})),ne.createElement(Ut,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(St){qe(St,"mouse"),Je("date",St)}})))}var An=Dn;function Pt(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.viewDate,De=te.onNextYear,Ae=te.onPrevYear,Je=te.onYearClick,qe=ne.useContext(Ve),ct=qe.hideHeader;if(ct)return null;var Vt="".concat(ie,"-header");return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Vt,onSuperPrev:Ae,onSuperNext:De}),ne.createElement("button",{type:"button",onClick:Je,className:"".concat(ie,"-year-btn")},tn(ve,{locale:ge,format:ge.yearFormat,generateConfig:le})))}var Ht=Pt,kt=4,On=1;function da(te){var ie=te.prefixCls,le=te.locale,ge=te.value,ve=te.viewDate,De=te.generateConfig,Ae=te.cellRender,Je=ne.useContext(rt),qe=Je.rangedValue,ct=Je.hoverRangedValue,Vt="".concat(ie,"-cell"),mt=Mn({cellPrefixCls:Vt,value:ge,generateConfig:De,rangedValue:qe,hoverRangedValue:ct,isSameCell:function(at,xt){return kn(De,at,xt)},isInView:function(){return!0},offsetCell:function(at,xt){return De.addMonth(at,xt*3)}}),St=De.setDate(De.setMonth(ve,0),1),bt=Ae?function(Nt,at){return Ae(Nt,{originNode:at,locale:le,today:De.getNow(),type:"quarter"})}:void 0;return ne.createElement(Wt,(0,oe.Z)({},te,{rowNum:On,colNum:kt,baseDate:St,getCellNode:bt,getCellText:function(at){return tn(at,{locale:le,format:le.quarterFormat||"[Q]Q",generateConfig:De})},getCellClassName:mt,getCellDate:function(at,xt){return De.addMonth(at,xt*3)},titleCell:function(at){return tn(at,{locale:le,format:"YYYY-[Q]Q",generateConfig:De})}}))}var xa=da;function pa(te){var ie=te.prefixCls,le=te.operationRef,ge=te.onViewDateChange,ve=te.generateConfig,De=te.value,Ae=te.viewDate,Je=te.onPanelChange,qe=te.onSelect,ct="".concat(ie,"-quarter-panel");le.current={onKeyDown:function(St){return Ka(St,{onLeftRight:function(Nt){qe(ve.addMonth(De||Ae,Nt*3),"key")},onCtrlLeftRight:function(Nt){qe(ve.addYear(De||Ae,Nt),"key")},onUpDown:function(Nt){qe(ve.addYear(De||Ae,Nt),"key")}})}};var Vt=function(St){var bt=ve.addYear(Ae,St);ge(bt),Je(null,bt)};return ne.createElement("div",{className:ct},ne.createElement(Ht,(0,oe.Z)({},te,{prefixCls:ie,onPrevYear:function(){Vt(-1)},onNextYear:function(){Vt(1)},onYearClick:function(){Je("year",Ae)}})),ne.createElement(xa,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(St){qe(St,"mouse")}})))}var Ia=pa;function rr(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.value,De=te.disabledDate,Ae=te.onSelect,Je=ne.useContext(rt),qe=Je.rangedValue,ct=Je.hoverRangedValue,Vt=ne.useContext(Ve),mt=Vt.onDateMouseEnter,St=Vt.onDateMouseLeave,bt=(ct==null?void 0:ct[0])||(qe==null?void 0:qe[0]),Nt=(ct==null?void 0:ct[1])||(qe==null?void 0:qe[1]),at="".concat(ie,"-cell"),xt=function(sn){var qn=ut({cellDate:sn,mode:"week",disabledDate:De,generateConfig:le});return ne.createElement("td",{key:"week",className:an()(at,"".concat(at,"-week")),onClick:function(){qn||Ae(sn,"mouse")},onMouseEnter:function(){!qn&&mt&&mt(sn)},onMouseLeave:function(){!qn&&St&&St(sn)}},ne.createElement("div",{className:"".concat(at,"-inner")},le.locale.getWeek(ge.locale,sn)))},_t="".concat(ie,"-week-panel-row"),Bn=function(sn){var qn,rn=we(le,ge.locale,bt,sn),dn=we(le,ge.locale,Nt,sn);return an()(_t,(qn={},(0,it.Z)(qn,"".concat(_t,"-selected"),!qe&&we(le,ge.locale,ve,sn)),(0,it.Z)(qn,"".concat(_t,"-range-start"),rn),(0,it.Z)(qn,"".concat(_t,"-range-end"),dn),(0,it.Z)(qn,"".concat(_t,"-range-hover"),!rn&&!dn&&Qn(le,bt,Nt,sn)),qn))};return ne.createElement(ei,(0,oe.Z)({},te,{panelName:"week",prefixColumn:xt,rowClassName:Bn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var wn=rr,Dt=10;function hn(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.viewDate,ve=te.onPrevDecade,De=te.onNextDecade,Ae=te.onDecadeClick,Je=ne.useContext(Ve),qe=Je.hideHeader;if(qe)return null;var ct="".concat(ie,"-header"),Vt=le.getYear(ge),mt=Math.floor(Vt/Dt)*Dt,St=mt+Dt-1;return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:ct,onSuperPrev:ve,onSuperNext:De}),ne.createElement("button",{type:"button",onClick:Ae,className:"".concat(ie,"-decade-btn")},mt,"-",St))}var xn=hn,ia=3,Fa=4;function Xa(te){var ie=te.prefixCls,le=te.value,ge=te.viewDate,ve=te.locale,De=te.generateConfig,Ae=te.cellRender,Je=ne.useContext(rt),qe=Je.rangedValue,ct=Je.hoverRangedValue,Vt="".concat(ie,"-cell"),mt=De.getYear(ge),St=Math.floor(mt/Dt)*Dt,bt=St+Dt-1,Nt=De.setYear(ge,St-Math.ceil((ia*Fa-Dt)/2)),at=De.getNow(),xt=function(sn){var qn=De.getYear(sn);return St<=qn&&qn<=bt},_t=Mn({cellPrefixCls:Vt,value:le,generateConfig:De,rangedValue:qe,hoverRangedValue:ct,isSameCell:function(sn,qn){return en(De,sn,qn)},isInView:xt,offsetCell:function(sn,qn){return De.addYear(sn,qn)}}),Bn=Ae?function(un,sn){return Ae(un,{originNode:sn,today:at,type:"year",locale:ve})}:void 0;return ne.createElement(Wt,(0,oe.Z)({},te,{rowNum:Fa,colNum:ia,baseDate:Nt,getCellNode:Bn,getCellText:De.getYear,getCellClassName:_t,getCellDate:De.addYear,titleCell:function(sn){return tn(sn,{locale:ve,format:"YYYY",generateConfig:De})}}))}var yr=Xa;function sr(te){var ie=te.prefixCls,le=te.operationRef,ge=te.onViewDateChange,ve=te.generateConfig,De=te.value,Ae=te.viewDate,Je=te.sourceMode,qe=te.onSelect,ct=te.onPanelChange,Vt="".concat(ie,"-year-panel");le.current={onKeyDown:function(bt){return Ka(bt,{onLeftRight:function(at){qe(ve.addYear(De||Ae,at),"key")},onCtrlLeftRight:function(at){qe(ve.addYear(De||Ae,at*Dt),"key")},onUpDown:function(at){qe(ve.addYear(De||Ae,at*ia),"key")},onEnter:function(){ct(Je==="date"?"date":"month",De||Ae)}})}};var mt=function(bt){var Nt=ve.addYear(Ae,bt*10);ge(Nt),ct(null,Nt)};return ne.createElement("div",{className:Vt},ne.createElement(xn,(0,oe.Z)({},te,{prefixCls:ie,onPrevDecade:function(){mt(-1)},onNextDecade:function(){mt(1)},onDecadeClick:function(){ct("decade",Ae)}})),ne.createElement(yr,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(bt){ct(Je==="date"?"date":"month",bt),qe(bt,"mouse")}})))}var ea=sr;function ya(te,ie,le){return le?ne.createElement("div",{className:"".concat(te,"-footer-extra")},le(ie)):null}function Sa(te){var ie=te.prefixCls,le=te.components,ge=le===void 0?{}:le,ve=te.needConfirmButton,De=te.onNow,Ae=te.onOk,Je=te.okDisabled,qe=te.showNow,ct=te.locale,Vt,mt;if(ve){var St=ge.button||"button";De&&qe!==!1&&(Vt=ne.createElement("li",{className:"".concat(ie,"-now")},ne.createElement("a",{className:"".concat(ie,"-now-btn"),onClick:De},ct.now))),mt=ve&&ne.createElement("li",{className:"".concat(ie,"-ok")},ne.createElement(St,{disabled:Je,onClick:Ae},ct.ok))}return!Vt&&!mt?null:ne.createElement("ul",{className:"".concat(ie,"-ranges")},Vt,mt)}var Za=["date","month"];function dr(te){var ie,le=te,ge=le.prefixCls,ve=ge===void 0?"rc-picker":ge,De=le.className,Ae=le.style,Je=le.locale,qe=le.generateConfig,ct=le.value,Vt=le.defaultValue,mt=le.pickerValue,St=le.defaultPickerValue,bt=le.disabledDate,Nt=le.mode,at=le.picker,xt=at===void 0?"date":at,_t=le.tabIndex,Bn=_t===void 0?0:_t,un=le.showNow,sn=le.showTime,qn=le.showToday,rn=le.renderExtraFooter,dn=le.hideHeader,wa=le.onSelect,aa=le.onChange,La=le.onPanelChange,fa=le.onMouseDown,nr=le.onPickerValueChange,wr=le.onOk,Vr=le.components,ar=le.direction,lr=le.hourStep,ka=lr===void 0?1:lr,Yr=le.minuteStep,Sr=Yr===void 0?1:Yr,Lr=le.secondStep,Mo=Lr===void 0?1:Lr,To=le.dateRender,Uo=le.monthCellRender,Pi=le.cellRender,No=xt==="date"&&!!sn||xt==="time",ci=24%ka===0,io=60%Sr===0,vo=60%Mo===0,Fo=ne.useContext(Ve),ui=Fo.operationRef,mi=Fo.onSelect,Ki=Fo.hideRanges,vi=Fo.defaultOpenValue,Cr=ne.useContext(rt),Zo=Cr.inRange,bo=Cr.panelPosition,Qr=Cr.rangedValue,_a=Cr.hoverRangedValue,ao=ne.useRef({}),Ko=ne.useRef(!0),Ji=(0,Sn.Z)(null,{value:ct,defaultValue:Vt,postState:function(Ta){return!Ta&&vi&&xt==="time"?vi:Ta}}),fl=(0,xe.Z)(Ji,2),zi=fl[0],as=fl[1],ys=(0,Sn.Z)(null,{value:mt,defaultValue:St||zi,postState:function(Ta){var oo=qe.getNow();if(!Ta)return oo;if(!zi&&sn){var ii=(0,Kt.Z)(sn)==="object"?sn.defaultValue:Vt;return jt(qe,Array.isArray(Ta)?Ta[0]:Ta,ii||oo)}return Array.isArray(Ta)?Ta[0]:Ta}}),sl=(0,xe.Z)(ys,2),Xi=sl[0],ji=sl[1],xr=function(Ta){ji(Ta),nr&&nr(Ta)},Ro=function(Ta){var oo=Ln[xt];return oo?oo(Ta):Ta},oi=(0,Sn.Z)(function(){return xt==="time"?"time":Ro("date")},{value:Nt}),$i=(0,xe.Z)(oi,2),Vo=$i[0],qi=$i[1];ne.useEffect(function(){qi(xt)},[xt]);var Ri=ne.useState(function(){return Vo}),dl=(0,xe.Z)(Ri,2),ml=dl[0],Hi=dl[1],_i=function(Ta,oo){var ii=Ro(Ta||Vo);Hi(Vo),qi(ii),La&&(Vo!==ii||Qe(qe,Xi,Xi))&&La(oo,ii)},Wi=function(Ta,oo){var ii=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Vo===xt||ii)&&(as(Ta),wa&&wa(Ta),mi&&mi(Ta,oo),aa&&!Qe(qe,Ta,zi)&&!(bt!=null&&bt(Ta))&&aa(Ta))},vl=function(Ta){if(Za.includes(Vo)){var oo,ii,Ll=Vo==="date";switch(Ta===Rt.Z.PAGE_UP||Ta===Rt.Z.PAGE_DOWN?ii=Ll?qe.addMonth:qe.addYear:ii=Ll?qe.addDate:qe.addMonth,Ta){case Rt.Z.LEFT:case Rt.Z.PAGE_UP:oo=ii(Xi,-1);break;case Rt.Z.RIGHT:case Rt.Z.PAGE_DOWN:oo=ii(Xi,1);break;case Rt.Z.UP:case Rt.Z.DOWN:oo=ii(Xi,Number("".concat(Ta===Rt.Z.UP?"-":"").concat(Ll?Fe:At)));break}if(oo)return!(bt!=null&&bt(oo))}return!0},Hl=function(Ta){if(ao.current&&ao.current.onKeyDown){var oo=!0,ii=Ta.which;if([Rt.Z.LEFT,Rt.Z.RIGHT,Rt.Z.UP,Rt.Z.DOWN,Rt.Z.PAGE_UP,Rt.Z.PAGE_DOWN,Rt.Z.ENTER].includes(ii)&&(Ta.preventDefault(),ii!==Rt.Z.ENTER&&Bn===0&&(oo=vl(ii))),oo)return ao.current.onKeyDown(Ta)}return(0,Re.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Co=function(Ta){ao.current&&ao.current.onBlur&&ao.current.onBlur(Ta)};ui&&bo!=="right"&&(ui.current={onKeyDown:Hl,onClose:function(){ao.current&&ao.current.onClose&&ao.current.onClose()}}),ne.useEffect(function(){ct&&!Ko.current&&ji(ct)},[ct]),ne.useEffect(function(){Ko.current=!1},[]);var so,yl=Cn({cellRender:Pi,monthCellRender:Uo,dateRender:To}),Do=(0,Mt.Z)((0,Mt.Z)({},te),{},{cellRender:yl,operationRef:ao,prefixCls:ve,viewDate:Xi,value:zi,onViewDateChange:xr,sourceMode:ml,onPanelChange:_i,disabledDate:bt});switch(delete Do.onChange,delete Do.onSelect,Vo){case"decade":so=ne.createElement(pl,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"year":so=ne.createElement(ea,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"month":so=ne.createElement(An,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"quarter":so=ne.createElement(Ia,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"week":so=ne.createElement(wn,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"time":delete Do.showTime,so=ne.createElement(bl,(0,oe.Z)({},Do,(0,Kt.Z)(sn)==="object"?sn:null,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;default:sn?so=ne.createElement($l,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}})):so=ne.createElement(ei,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}))}var rs,Gl,Kl=function(){var Ta=qe.getNow(),oo=Jt(qe.getHour(Ta),qe.getMinute(Ta),qe.getSecond(Ta),ci?ka:1,io?Sr:1,vo?Mo:1),ii=qt(qe,Ta,oo[0],oo[1],oo[2]);Wi(ii,"submit")};Ki||(rs=ya(ve,Vo,rn),sn&&Vo!=="date"?Gl=null:Gl=Sa({prefixCls:ve,components:Vr,needConfirmButton:No,okDisabled:!zi||bt&&bt(zi),locale:Je,showNow:un,onNow:No&&Kl,onOk:function(){zi&&(Wi(zi,"submit",!0),wr&&wr(zi))}}));var wl;if(qn&&Vo==="date"&&xt==="date"&&!sn){var os=qe.getNow(),qs="".concat(ve,"-today-btn"),bs=bt&&bt(os);wl=ne.createElement("a",{className:an()(qs,bs&&"".concat(qs,"-disabled")),"aria-disabled":bs,onClick:function(){bs||Wi(os,"mouse",!0)}},Je.today)}return ne.createElement(Ve.Provider,{value:(0,Mt.Z)((0,Mt.Z)({},Fo),{},{mode:Vo,hideHeader:"hideHeader"in te?dn:Fo.hideHeader,hidePrevBtn:Zo&&bo==="right",hideNextBtn:Zo&&bo==="left"})},ne.createElement("div",{tabIndex:Bn,className:an()("".concat(ve,"-panel"),De,(ie={},(0,it.Z)(ie,"".concat(ve,"-panel-has-range"),Qr&&Qr[0]&&Qr[1]),(0,it.Z)(ie,"".concat(ve,"-panel-has-range-hover"),_a&&_a[0]&&_a[1]),(0,it.Z)(ie,"".concat(ve,"-panel-rtl"),ar==="rtl"),ie)),style:Ae,onKeyDown:Hl,onBlur:Co,onMouseDown:fa},so,rs||Gl||wl?ne.createElement("div",{className:"".concat(ve,"-footer")},rs,Gl,wl):null))}var Hr=dr,ro=ee(45987),Eo=ee(73935);function wo(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Lo={};function Oi(te,ie){}function xl(te,ie){}function Wl(){Lo={}}function Rl(te,ie,le){!ie&&!Lo[le]&&(te(!1,le),Lo[le]=!0)}function Sl(te,ie){Rl(Oi,te,ie)}function Li(te,ie){Rl(xl,te,ie)}var is=null,Ul=ee(49286);function ls(te,ie,le){var ge=ne.useRef({});return(!("value"in ge.current)||le(ge.current.condition,ie))&&(ge.current.value=te(),ge.current.condition=ie),ge.current.value}function zs(te,ie){typeof te=="function"?te(ie):(0,Kt.Z)(te)==="object"&&te&&"current"in te&&(te.current=ie)}function kl(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];var ge=ie.filter(function(ve){return ve});return ge.length<=1?ge[0]:function(ve){ie.forEach(function(De){zs(De,ve)})}}function Hs(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];return ls(function(){return kl.apply(void 0,ie)},ie,function(ge,ve){return ge.length===ve.length&&ge.every(function(De,Ae){return De===ve[Ae]})})}function Vl(te){var ie,le,ge=(0,Ul.isMemo)(te)?te.type.type:te.type;return!(typeof ge=="function"&&!((ie=ge.prototype)!==null&&ie!==void 0&&ie.render)||typeof te=="function"&&!((le=te.prototype)!==null&&le!==void 0&&le.render))}var Dd=ne.createContext(null),Ol=Dd,Gs=wo()?ne.useLayoutEffect:ne.useEffect,ps=Gs,ad=function(ie,le){var ge=React.useRef(!0);Gs(function(){if(!ge.current)return ie()},le),Gs(function(){return ge.current=!1,function(){ge.current=!0}},[])},bi=[];function Ai(te,ie){var le=ne.useState(function(){if(!wo())return null;var Nt=document.createElement("div");return Nt}),ge=(0,xe.Z)(le,1),ve=ge[0],De=ne.useRef(!1),Ae=ne.useContext(Ol),Je=ne.useState(bi),qe=(0,xe.Z)(Je,2),ct=qe[0],Vt=qe[1],mt=Ae||(De.current?void 0:function(Nt){Vt(function(at){var xt=[Nt].concat((0,ra.Z)(at));return xt})});function St(){ve.parentElement||document.body.appendChild(ve),De.current=!0}function bt(){var Nt;(Nt=ve.parentElement)===null||Nt===void 0||Nt.removeChild(ve),De.current=!1}return ps(function(){return te?Ae?Ae(St):St():bt(),bt},[te]),ps(function(){ct.length&&(ct.forEach(function(Nt){return Nt()}),Vt(bi))},[ct]),[ve,mt]}function il(te,ie){if(!te)return!1;if(te.contains)return te.contains(ie);for(var le=ie;le;){if(le===te)return!0;le=le.parentNode}return!1}var Ds="data-rc-order",Bd="rc-util-key",Ci=new Map;function ss(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=te.mark;return ie?ie.startsWith("data-")?ie:"data-".concat(ie):Bd}function ql(te){if(te.attachTo)return te.attachTo;var ie=document.querySelector("head");return ie||document.body}function Nr(te){return te==="queue"?"prependQueue":te?"prepend":"append"}function ds(te){return Array.from((Ci.get(te)||te).children).filter(function(ie){return ie.tagName==="STYLE"})}function cs(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!wo())return null;var le=ie.csp,ge=ie.prepend,ve=document.createElement("style");ve.setAttribute(Ds,Nr(ge)),le!=null&&le.nonce&&(ve.nonce=le==null?void 0:le.nonce),ve.innerHTML=te;var De=ql(ie),Ae=De.firstChild;if(ge){if(ge==="queue"){var Je=ds(De).filter(function(qe){return["prepend","prependQueue"].includes(qe.getAttribute(Ds))});if(Je.length)return De.insertBefore(ve,Je[Je.length-1].nextSibling),ve}De.insertBefore(ve,Ae)}else De.appendChild(ve);return ve}function Ks(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=ql(ie);return ds(le).find(function(ge){return ge.getAttribute(ss(ie))===te})}function Bs(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=Ks(te,ie);if(le){var ge=ql(ie);ge.removeChild(le)}}function js(te,ie){var le=Ci.get(te);if(!le||!il(document,le)){var ge=cs("",ie),ve=ge.parentNode;Ci.set(te,ve),te.removeChild(ge)}}function Pc(){Ci.clear()}function rd(te,ie){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ge=ql(le);js(ge,le);var ve=Ks(ie,le);if(ve){var De,Ae;if((De=le.csp)!==null&&De!==void 0&&De.nonce&&ve.nonce!==((Ae=le.csp)===null||Ae===void 0?void 0:Ae.nonce)){var Je;ve.nonce=(Je=le.csp)===null||Je===void 0?void 0:Je.nonce}return ve.innerHTML!==te&&(ve.innerHTML=te),ve}var qe=cs(te,le);return qe.setAttribute(ss(le),ie),qe}var Ms;function yc(te){if(typeof document=="undefined")return 0;if(te||Ms===void 0){var ie=document.createElement("div");ie.style.width="100%",ie.style.height="200px";var le=document.createElement("div"),ge=le.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",le.appendChild(ie),document.body.appendChild(le);var ve=ie.offsetWidth;le.style.overflow="scroll";var De=ie.offsetWidth;ve===De&&(De=le.clientWidth),document.body.removeChild(le),Ms=ve-De}return Ms}function ic(te){var ie=te.match(/^(.*)px$/),le=Number(ie==null?void 0:ie[1]);return Number.isNaN(le)?yc():le}function bc(te){if(typeof document=="undefined"||!te||!(te instanceof Element))return{width:0,height:0};var ie=getComputedStyle(te,"::-webkit-scrollbar"),le=ie.width,ge=ie.height;return{width:ic(le),height:ic(ge)}}function $s(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var cd="rc-util-locker-".concat(Date.now()),ud=0;function Cc(te){var ie=!!te,le=ne.useState(function(){return ud+=1,"".concat(cd,"_").concat(ud)}),ge=(0,xe.Z)(le,1),ve=ge[0];ps(function(){if(ie){var De=bc(document.body).width,Ae=$s();rd(`
html body {
overflow-y: hidden;
`.concat(Ae?"width: calc(100% - ".concat(De,"px);"):"",`
}`),ve)}else Bs(ve);return function(){Bs(ve)}},[ie,ve])}var lc=!1;function xc(te){return typeof te=="boolean"&&(lc=te),lc}var sc=function(ie){return ie===!1?!1:!wo()||!ie?null:typeof ie=="string"?document.querySelector(ie):typeof ie=="function"?ie():ie},Ec=ne.forwardRef(function(te,ie){var le=te.open,ge=te.autoLock,ve=te.getContainer,De=te.debug,Ae=te.autoDestroy,Je=Ae===void 0?!0:Ae,qe=te.children,ct=ne.useState(le),Vt=(0,xe.Z)(ct,2),mt=Vt[0],St=Vt[1],bt=mt||le;ne.useEffect(function(){(Je||le)&&St(le)},[le,Je]);var Nt=ne.useState(function(){return sc(ve)}),at=(0,xe.Z)(Nt,2),xt=at[0],_t=at[1];ne.useEffect(function(){var nr=sc(ve);_t(nr!=null?nr:null)});var Bn=Ai(bt&&!xt,De),un=(0,xe.Z)(Bn,2),sn=un[0],qn=un[1],rn=xt!=null?xt:sn;Cc(ge&&le&&wo()&&(rn===sn||rn===document.body));var dn=null;if(qe&&Vl(qe)&&ie){var wa=qe;dn=wa.ref}var aa=Hs(dn,ie);if(!bt||!wo()||xt===void 0)return null;var La=rn===!1||xc(),fa=qe;return ie&&(fa=ne.cloneElement(qe,{ref:aa})),ne.createElement(Ol.Provider,{value:qn},La?fa:(0,Eo.createPortal)(fa,rn))}),wc=Ec,Yd=wc,dc=ee(48555);function Md(te){return te instanceof HTMLElement||te instanceof SVGElement}function Lc(te){return Md(te)?te:te instanceof React.Component?ReactDOM.findDOMNode(te):null}function gd(te){var ie;return te==null||(ie=te.getRootNode)===null||ie===void 0?void 0:ie.call(te)}function Ac(te){return gd(te)instanceof ShadowRoot}function od(te){return Ac(te)?gd(te):null}var Fs=ee(77527);function Nc(){var te=(0,Mt.Z)({},fe);return te.useId}var Qd=0;function Oc(){}var Pe=Nc(),ke=Pe?function(ie){var le=Pe();return ie||le}:function(ie){var le=ne.useState("ssr-id"),ge=(0,xe.Z)(le,2),ve=ge[0],De=ge[1];return ne.useEffect(function(){var Ae=Qd;Qd+=1,De("rc_unique_".concat(Ae))},[]),ie||ve},Oe=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var te=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(te)||/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(te==null?void 0:te.substr(0,4))},ot=ne.createContext(null),Ot=ot;function gn(te){return te?Array.isArray(te)?te:[te]:[]}function vn(te,ie,le,ge){return ne.useMemo(function(){var ve=gn(le!=null?le:ie),De=gn(ge!=null?ge:ie),Ae=new Set(ve),Je=new Set(De);return te&&(Ae.has("hover")&&(Ae.delete("hover"),Ae.add("click")),Je.has("hover")&&(Je.delete("hover"),Je.add("click"))),[Ae,Je]},[te,ie,le,ge])}function ca(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=arguments.length>2?arguments[2]:void 0;return le?te[0]===ie[0]:te[0]===ie[0]&&te[1]===ie[1]}function Ea(te,ie,le,ge){for(var ve=le.points,De=Object.keys(te),Ae=0;Ae<De.length;Ae+=1){var Je,qe=De[Ae];if(ca((Je=te[qe])===null||Je===void 0?void 0:Je.points,ve,ge))return"".concat(ie,"-placement-").concat(qe)}return""}function ma(te,ie,le,ge){return ie||(le?{motionName:"".concat(te,"-").concat(le)}:ge?{motionName:ge}:null)}function Ya(te){return te.ownerDocument.defaultView}function ha(te){for(var ie=[],le=te==null?void 0:te.parentElement,ge=["hidden","scroll","clip","auto"];le;){var ve=Ya(le).getComputedStyle(le),De=ve.overflowX,Ae=ve.overflowY,Je=ve.overflow;[De,Ae,Je].some(function(qe){return ge.includes(qe)})&&ie.push(le),le=le.parentElement}return ie}function qa(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(te)?ie:te}function za(te){return qa(parseFloat(te),0)}function pr(te,ie){var le=(0,Mt.Z)({},te);return(ie||[]).forEach(function(ge){if(!(ge instanceof HTMLBodyElement||ge instanceof HTMLHtmlElement)){var ve=Ya(ge).getComputedStyle(ge),De=ve.overflow,Ae=ve.overflowClipMargin,Je=ve.borderTopWidth,qe=ve.borderBottomWidth,ct=ve.borderLeftWidth,Vt=ve.borderRightWidth,mt=ge.getBoundingClientRect(),St=ge.offsetHeight,bt=ge.clientHeight,Nt=ge.offsetWidth,at=ge.clientWidth,xt=za(Je),_t=za(qe),Bn=za(ct),un=za(Vt),sn=qa(Math.round(mt.width/Nt*1e3)/1e3),qn=qa(Math.round(mt.height/St*1e3)/1e3),rn=(Nt-at-Bn-un)*sn,dn=(St-bt-xt-_t)*qn,wa=xt*qn,aa=_t*qn,La=Bn*sn,fa=un*sn,nr=0,wr=0;if(De==="clip"){var Vr=za(Ae);nr=Vr*sn,wr=Vr*qn}var ar=mt.x+La-nr,lr=mt.y+wa-wr,ka=ar+mt.width+2*nr-La-fa-rn,Yr=lr+mt.height+2*wr-wa-aa-dn;le.left=Math.max(le.left,ar),le.top=Math.max(le.top,lr),le.right=Math.min(le.right,ka),le.bottom=Math.min(le.bottom,Yr)}}),le}function uo(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,le="".concat(ie),ge=le.match(/^(.*)\%$/);return ge?te*(parseFloat(ge[1])/100):parseFloat(le)}function eo(te,ie){var le=ie||[],ge=(0,xe.Z)(le,2),ve=ge[0],De=ge[1];return[uo(te.width,ve),uo(te.height,De)]}function So(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[te[0],te[1]]}function Ur(te,ie){var le=ie[0],ge=ie[1],ve,De;return le==="t"?De=te.y:le==="b"?De=te.y+te.height:De=te.y+te.height/2,ge==="l"?ve=te.x:ge==="r"?ve=te.x+te.width:ve=te.x+te.width/2,{x:ve,y:De}}function br(te,ie){var le={t:"b",b:"t",l:"r",r:"l"};return te.map(function(ge,ve){return ve===ie?le[ge]||"c":ge}).join("")}function er(te,ie,le,ge,ve,De,Ae){var Je=ne.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ve[ge]||{}}),qe=(0,xe.Z)(Je,2),ct=qe[0],Vt=qe[1],mt=ne.useRef(0),St=ne.useMemo(function(){return ie?ha(ie):[]},[ie]),bt=ne.useRef({}),Nt=function(){bt.current={}};te||Nt();var at=(0,Fs.Z)(function(){if(ie&&le&&te){let Xl=function(ac,Nd){var ed=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ao,rc=Sr.x+ac,Kd=Sr.y+Nd,mc=rc+vo,vc=Kd+io,dd=Math.max(rc,ed.left),hc=Math.max(Kd,ed.top),Rc=Math.min(mc,ed.right),mr=Math.min(vc,ed.bottom);return Math.max(0,(Rc-dd)*(mr-hc))},Zs=function(){ii=Sr.y+so,Ll=ii+io,Is=Sr.x+Co,As=Is+vo};var Bn,un,sn=ie,qn=sn.ownerDocument,rn=Ya(sn),dn=rn.getComputedStyle(sn),wa=dn.width,aa=dn.height,La=dn.position,fa=sn.style.left,nr=sn.style.top,wr=sn.style.right,Vr=sn.style.bottom,ar=(0,Mt.Z)((0,Mt.Z)({},ve[ge]),De),lr=qn.createElement("div");(Bn=sn.parentElement)===null||Bn===void 0||Bn.appendChild(lr),lr.style.left="".concat(sn.offsetLeft,"px"),lr.style.top="".concat(sn.offsetTop,"px"),lr.style.position=La,lr.style.height="".concat(sn.offsetHeight,"px"),lr.style.width="".concat(sn.offsetWidth,"px"),sn.style.left="0",sn.style.top="0",sn.style.right="auto",sn.style.bottom="auto";var ka;if(Array.isArray(le))ka={x:le[0],y:le[1],width:0,height:0};else{var Yr=le.getBoundingClientRect();ka={x:Yr.x,y:Yr.y,width:Yr.width,height:Yr.height}}var Sr=sn.getBoundingClientRect(),Lr=qn.documentElement,Mo=Lr.clientWidth,To=Lr.clientHeight,Uo=Lr.scrollWidth,Pi=Lr.scrollHeight,No=Lr.scrollTop,ci=Lr.scrollLeft,io=Sr.height,vo=Sr.width,Fo=ka.height,ui=ka.width,mi={left:0,top:0,right:Mo,bottom:To},Ki={left:-ci,top:-No,right:Uo-ci,bottom:Pi-No},vi=ar.htmlRegion,Cr="visible",Zo="visibleFirst";vi!=="scroll"&&vi!==Zo&&(vi=Cr);var bo=vi===Zo,Qr=pr(Ki,St),_a=pr(mi,St),ao=vi===Cr?_a:Qr,Ko=bo?_a:ao;sn.style.left="auto",sn.style.top="auto",sn.style.right="0",sn.style.bottom="0";var Ji=sn.getBoundingClientRect();sn.style.left=fa,sn.style.top=nr,sn.style.right=wr,sn.style.bottom=Vr,(un=sn.parentElement)===null||un===void 0||un.removeChild(lr);var fl=qa(Math.round(vo/parseFloat(wa)*1e3)/1e3),zi=qa(Math.round(io/parseFloat(aa)*1e3)/1e3);if(fl===0||zi===0||Md(le)&&!(0,Yn.Z)(le))return;var as=ar.offset,ys=ar.targetOffset,sl=eo(Sr,as),Xi=(0,xe.Z)(sl,2),ji=Xi[0],xr=Xi[1],Ro=eo(ka,ys),oi=(0,xe.Z)(Ro,2),$i=oi[0],Vo=oi[1];ka.x-=$i,ka.y-=Vo;var qi=ar.points||[],Ri=(0,xe.Z)(qi,2),dl=Ri[0],ml=Ri[1],Hi=So(ml),_i=So(dl),Wi=Ur(ka,Hi),vl=Ur(Sr,_i),Hl=(0,Mt.Z)({},ar),Co=Wi.x-vl.x+ji,so=Wi.y-vl.y+xr,yl=Xl(Co,so),Do=Xl(Co,so,_a),rs=Ur(ka,["t","l"]),Gl=Ur(Sr,["t","l"]),Kl=Ur(ka,["b","r"]),wl=Ur(Sr,["b","r"]),os=ar.overflow||{},qs=os.adjustX,bs=os.adjustY,Zr=os.shiftX,Ta=os.shiftY,oo=function(Nd){return typeof Nd=="boolean"?Nd:Nd>=0},ii,Ll,Is,As;Zs();var id=oo(bs),_s=_i[0]===Hi[0];if(id&&_i[0]==="t"&&(Ll>Ko.bottom||bt.current.bt)){var Ei=so;_s?Ei-=io-Fo:Ei=rs.y-wl.y-xr;var Jr=Xl(Co,Ei),Ml=Xl(Co,Ei,_a);Jr>yl||Jr===yl&&(!bo||Ml>=Do)?(bt.current.bt=!0,so=Ei,xr=-xr,Hl.points=[br(_i,0),br(Hi,0)]):bt.current.bt=!1}if(id&&_i[0]==="b"&&(ii<Ko.top||bt.current.tb)){var Al=so;_s?Al+=io-Fo:Al=Kl.y-Gl.y-xr;var xd=Xl(Co,Al),_d=Xl(Co,Al,_a);xd>yl||xd===yl&&(!bo||_d>=Do)?(bt.current.tb=!0,so=Al,xr=-xr,Hl.points=[br(_i,0),br(Hi,0)]):bt.current.tb=!1}var Zd=oo(qs),Ed=_i[1]===Hi[1];if(Zd&&_i[1]==="l"&&(As>Ko.right||bt.current.rl)){var Ns=Co;Ed?Ns-=vo-ui:Ns=rs.x-wl.x-ji;var wd=Xl(Ns,so),ec=Xl(Ns,so,_a);wd>yl||wd===yl&&(!bo||ec>=Do)?(bt.current.rl=!0,Co=Ns,ji=-ji,Hl.points=[br(_i,1),br(Hi,1)]):bt.current.rl=!1}if(Zd&&_i[1]==="r"&&(Is<Ko.left||bt.current.lr)){var Ts=Co;Ed?Ts+=vo-ui:Ts=Kl.x-Gl.x-ji;var hi=Xl(Ts,so),hr=Xl(Ts,so,_a);hi>yl||hi===yl&&(!bo||hr>=Do)?(bt.current.lr=!0,Co=Ts,ji=-ji,Hl.points=[br(_i,1),br(Hi,1)]):bt.current.lr=!1}Zs();var nl=Zr===!0?0:Zr;typeof nl=="number"&&(Is<_a.left&&(Co-=Is-_a.left-ji,ka.x+ui<_a.left+nl&&(Co+=ka.x-_a.left+ui-nl)),As>_a.right&&(Co-=As-_a.right-ji,ka.x>_a.right-nl&&(Co+=ka.x-_a.right+nl)));var al=Ta===!0?0:Ta;typeof al=="number"&&(ii<_a.top&&(so-=ii-_a.top-xr,ka.y+Fo<_a.top+al&&(so+=ka.y-_a.top+Fo-al)),Ll>_a.bottom&&(so-=Ll-_a.bottom-xr,ka.y>_a.bottom-al&&(so+=ka.y-_a.bottom+al)));var ld=Sr.x+Co,sd=ld+vo,zd=Sr.y+so,Ld=zd+io,Cs=ka.x,Dc=Cs+ui,cc=ka.y,uc=cc+Fo,Ad=Math.max(ld,Cs),Bc=Math.min(sd,Dc),gc=(Ad+Bc)/2,Mc=gc-ld,Hd=Math.max(zd,cc),Gd=Math.min(Ld,uc),fc=(Hd+Gd)/2,tc=fc-zd;Ae==null||Ae(ie,Hl);var Fc=Ji.right-Sr.x-(Co+Sr.width),nc=Ji.bottom-Sr.y-(so+Sr.height);Vt({ready:!0,offsetX:Co/fl,offsetY:so/zi,offsetR:Fc/fl,offsetB:nc/zi,arrowX:Mc/fl,arrowY:tc/zi,scaleX:fl,scaleY:zi,align:Hl})}}),xt=function(){mt.current+=1;var un=mt.current;Promise.resolve().then(function(){mt.current===un&&at()})},_t=function(){Vt(function(un){return(0,Mt.Z)((0,Mt.Z)({},un),{},{ready:!1})})};return(0,zn.Z)(_t,[ge]),(0,zn.Z)(function(){te||_t()},[te]),[ct.ready,ct.offsetX,ct.offsetY,ct.offsetR,ct.offsetB,ct.arrowX,ct.arrowY,ct.scaleX,ct.scaleY,ct.align,xt]}function li(te,ie,le,ge,ve){(0,zn.Z)(function(){if(te&&ie&&le){let mt=function(){ge(),ve()};var De=ie,Ae=le,Je=ha(De),qe=ha(Ae),ct=Ya(Ae),Vt=new Set([ct].concat((0,ra.Z)(Je),(0,ra.Z)(qe)));return Vt.forEach(function(St){St.addEventListener("scroll",mt,{passive:!0})}),ct.addEventListener("resize",mt,{passive:!0}),ge(),function(){Vt.forEach(function(St){St.removeEventListener("scroll",mt),ct.removeEventListener("resize",mt)})}}},[te,ie,le])}var jo=ee(60276);function si(te,ie,le,ge,ve,De,Ae,Je){var qe=ne.useRef(te),ct=ne.useRef(!1);qe.current!==te&&(ct.current=!0,qe.current=te),ne.useEffect(function(){var Vt=(0,bn.Z)(function(){ct.current=!1});return function(){bn.Z.cancel(Vt)}},[te]),ne.useEffect(function(){if(ie&&ge&&(!ve||De)){var Vt=function(){var La=!1,fa=function(Vr){var ar=Vr.target;La=Ae(ar)},nr=function(Vr){var ar=Vr.target;!ct.current&&qe.current&&!La&&!Ae(ar)&&Je(!1)};return[fa,nr]},mt=Vt(),St=(0,xe.Z)(mt,2),bt=St[0],Nt=St[1],at=Vt(),xt=(0,xe.Z)(at,2),_t=xt[0],Bn=xt[1],un=Ya(ge);un.addEventListener("mousedown",bt,!0),un.addEventListener("click",Nt,!0),un.addEventListener("contextmenu",Nt,!0);var sn=od(le);if(sn&&(sn.addEventListener("mousedown",_t,!0),sn.addEventListener("click",Bn,!0),sn.addEventListener("contextmenu",Bn,!0)),0)var qn,rn,dn,wa;return function(){un.removeEventListener("mousedown",bt,!0),un.removeEventListener("click",Nt,!0),un.removeEventListener("contextmenu",Nt,!0),sn&&(sn.removeEventListener("mousedown",_t,!0),sn.removeEventListener("click",Bn,!0),sn.removeEventListener("contextmenu",Bn,!0))}}},[ie,le,ge,ve,De])}function pi(te){return te instanceof HTMLElement||te instanceof SVGElement}function Ui(te){return pi(te)?te:te instanceof ne.Component?Eo.findDOMNode(te):null}function Qo(te,ie,le){var ge=React.useRef({});return(!("value"in ge.current)||le(ge.current.condition,ie))&&(ge.current.value=te(),ge.current.condition=ie),ge.current.value}function Po(te,ie){typeof te=="function"?te(ie):(0,Kt.Z)(te)==="object"&&te&&"current"in te&&(te.current=ie)}function Si(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];var ge=ie.filter(function(ve){return ve});return ge.length<=1?ge[0]:function(ve){ie.forEach(function(De){Po(De,ve)})}}function Mi(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];return useMemo(function(){return Si.apply(void 0,ie)},ie,function(ge,ve){return ge.length===ve.length&&ge.every(function(De,Ae){return De===ve[Ae]})})}function qo(te){var ie,le,ge=(0,Ul.isMemo)(te)?te.type.type:te.type;return!(typeof ge=="function"&&!((ie=ge.prototype)!==null&&ie!==void 0&&ie.render)||typeof te=="function"&&!((le=te.prototype)!==null&&le!==void 0&&le.render))}function fo(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function zo(te,ie){var le={};return le[te.toLowerCase()]=ie.toLowerCase(),le["Webkit".concat(te)]="webkit".concat(ie),le["Moz".concat(te)]="moz".concat(ie),le["ms".concat(te)]="MS".concat(ie),le["O".concat(te)]="o".concat(ie.toLowerCase()),le}function Gr(te,ie){var le={animationend:zo("Animation","AnimationEnd"),transitionend:zo("Transition","TransitionEnd")};return te&&("AnimationEvent"in ie||delete le.animationend.animation,"TransitionEvent"in ie||delete le.transitionend.transition),le}var Ii=Gr(fo(),typeof window!="undefined"?window:{}),ko={};if(fo()){var Gi=document.createElement("div");ko=Gi.style}var ul={};function Vi(te){if(ul[te])return ul[te];var ie=Ii[te];if(ie)for(var le=Object.keys(ie),ge=le.length,ve=0;ve<ge;ve+=1){var De=le[ve];if(Object.prototype.hasOwnProperty.call(ie,De)&&De in ko)return ul[te]=ie[De],ul[te]}return""}var Il=Vi("animationend"),Tl=Vi("transitionend"),Oo=!!(Il&&Tl),Nl=Il||"animationend",Ni=Tl||"transitionend";function Ho(te,ie){if(!te)return null;if((0,Kt.Z)(te)==="object"){var le=ie.replace(/-\w/g,function(ge){return ge[1].toUpperCase()});return te[le]}return"".concat(te,"-").concat(ie)}var di="none",gl="appear",Yl="enter",us="leave",ll="none",Fi="prepare",El="start",Yi="active",$o="end";function Mr(te){var ie=ne.useRef(!1),le=ne.useState(te),ge=(0,xe.Z)(le,2),ve=ge[0],De=ge[1];ne.useEffect(function(){return ie.current=!1,function(){ie.current=!0}},[]);function Ae(Je,qe){qe&&ie.current||De(Je)}return[ve,Ae]}var Ti=function(ie){return+setTimeout(ie,16)},Dl=function(ie){return clearTimeout(ie)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ti=function(ie){return window.requestAnimationFrame(ie)},Dl=function(ie){return window.cancelAnimationFrame(ie)});var gs=0,xs=new Map;function _l(te){xs.delete(te)}var Ws=function(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;gs+=1;var ge=gs;function ve(De){if(De===0)_l(ge),ie();else{var Ae=Ti(function(){ve(De-1)});xs.set(ge,Ae)}}return ve(le),ge};Ws.cancel=function(te){var ie=xs.get(te);return _l(ie),Dl(ie)};var fd=Ws,fs=function(){var te=ne.useRef(null);function ie(){fd.cancel(te.current)}function le(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ie();var De=fd(function(){ve<=1?ge({isCanceled:function(){return De!==te.current}}):le(ge,ve-1)});te.current=De}return ne.useEffect(function(){return function(){ie()}},[]),[le,ie]},Jd=fo()?ne.useLayoutEffect:ne.useEffect,es=Jd,ms=[Fi,El,Yi,$o],md=!1,Ss=!0;function Fd(te){return te===Yi||te===$o}var Xd=function(te,ie){var le=Mr(ll),ge=(0,xe.Z)(le,2),ve=ge[0],De=ge[1],Ae=fs(),Je=(0,xe.Z)(Ae,2),qe=Je[0],ct=Je[1];function Vt(){De(Fi,!0)}return es(function(){if(ve!==ll&&ve!==$o){var mt=ms.indexOf(ve),St=ms[mt+1],bt=ie(ve);bt===md?De(St,!0):qe(function(Nt){function at(){Nt.isCanceled()||De(St,!0)}bt===!0?at():Promise.resolve(bt).then(at)})}},[te,ve]),ne.useEffect(function(){return function(){ct()}},[]),[Vt,ve]},vd=function(te){var ie=(0,ne.useRef)(),le=(0,ne.useRef)(te);le.current=te;var ge=ne.useCallback(function(Ae){le.current(Ae)},[]);function ve(Ae){Ae&&(Ae.removeEventListener(Ni,ge),Ae.removeEventListener(Nl,ge))}function De(Ae){ie.current&&ie.current!==Ae&&ve(ie.current),Ae&&Ae!==ie.current&&(Ae.addEventListener(Ni,ge),Ae.addEventListener(Nl,ge),ie.current=Ae)}return ne.useEffect(function(){return function(){ve(ie.current)}},[]),[De,ve]};function Ql(te,ie,le,ge){var ve=ge.motionEnter,De=ve===void 0?!0:ve,Ae=ge.motionAppear,Je=Ae===void 0?!0:Ae,qe=ge.motionLeave,ct=qe===void 0?!0:qe,Vt=ge.motionDeadline,mt=ge.motionLeaveImmediately,St=ge.onAppearPrepare,bt=ge.onEnterPrepare,Nt=ge.onLeavePrepare,at=ge.onAppearStart,xt=ge.onEnterStart,_t=ge.onLeaveStart,Bn=ge.onAppearActive,un=ge.onEnterActive,sn=ge.onLeaveActive,qn=ge.onAppearEnd,rn=ge.onEnterEnd,dn=ge.onLeaveEnd,wa=ge.onVisibleChanged,aa=Mr(),La=(0,xe.Z)(aa,2),fa=La[0],nr=La[1],wr=Mr(di),Vr=(0,xe.Z)(wr,2),ar=Vr[0],lr=Vr[1],ka=Mr(null),Yr=(0,xe.Z)(ka,2),Sr=Yr[0],Lr=Yr[1],Mo=(0,ne.useRef)(!1),To=(0,ne.useRef)(null);function Uo(){return le()}var Pi=(0,ne.useRef)(!1);function No(Qr){var _a=Uo();if(!(Qr&&!Qr.deadline&&Qr.target!==_a)){var ao=Pi.current,Ko;ar===gl&&ao?Ko=qn==null?void 0:qn(_a,Qr):ar===Yl&&ao?Ko=rn==null?void 0:rn(_a,Qr):ar===us&&ao&&(Ko=dn==null?void 0:dn(_a,Qr)),ar!==di&&ao&&Ko!==!1&&(lr(di,!0),Lr(null,!0))}}var ci=vd(No),io=(0,xe.Z)(ci,1),vo=io[0],Fo=ne.useMemo(function(){var Qr,_a,ao;switch(ar){case gl:return Qr={},(0,it.Z)(Qr,Fi,St),(0,it.Z)(Qr,El,at),(0,it.Z)(Qr,Yi,Bn),Qr;case Yl:return _a={},(0,it.Z)(_a,Fi,bt),(0,it.Z)(_a,El,xt),(0,it.Z)(_a,Yi,un),_a;case us:return ao={},(0,it.Z)(ao,Fi,Nt),(0,it.Z)(ao,El,_t),(0,it.Z)(ao,Yi,sn),ao;default:return{}}},[ar]),ui=Xd(ar,function(Qr){if(Qr===Fi){var _a=Fo[Fi];return _a?_a(Uo()):md}if(vi in Fo){var ao;Lr(((ao=Fo[vi])===null||ao===void 0?void 0:ao.call(Fo,Uo(),null))||null)}return vi===Yi&&(vo(Uo()),Vt>0&&(clearTimeout(To.current),To.current=setTimeout(function(){No({deadline:!0})},Vt))),Ss}),mi=(0,xe.Z)(ui,2),Ki=mi[0],vi=mi[1],Cr=Fd(vi);Pi.current=Cr,es(function(){nr(ie);var Qr=Mo.current;if(Mo.current=!0,!!te){var _a;!Qr&&ie&&Je&&(_a=gl),Qr&&ie&&De&&(_a=Yl),(Qr&&!ie&&ct||!Qr&&mt&&!ie&&ct)&&(_a=us),_a&&(lr(_a),Ki())}},[ie]),(0,ne.useEffect)(function(){(ar===gl&&!Je||ar===Yl&&!De||ar===us&&!ct)&&lr(di)},[Je,De,ct]),(0,ne.useEffect)(function(){return function(){Mo.current=!1,clearTimeout(To.current)}},[]);var Zo=ne.useRef(!1);(0,ne.useEffect)(function(){fa&&(Zo.current=!0),fa!==void 0&&ar===di&&((Zo.current||fa)&&(wa==null||wa(fa)),Zo.current=!0)},[fa,ar]);var bo=Sr;return Fo[Fi]&&vi===El&&(bo=(0,Mt.Z)({transition:"none"},bo)),[ar,vi,bo,fa!=null?fa:ie]}var Us=function(te){(0,Bt.Z)(le,te);var ie=(0,Tn.Z)(le);function le(){return(0,pn.Z)(this,le),ie.apply(this,arguments)}return(0,$e.Z)(le,[{key:"render",value:function(){return this.props.children}}]),le}(ne.Component),qd=Us;function Rs(te){var ie=te;(0,Kt.Z)(te)==="object"&&(ie=te.transitionSupport);function le(ve){return!!(ve.motionName&&ie)}var ge=ne.forwardRef(function(ve,De){var Ae=ve.visible,Je=Ae===void 0?!0:Ae,qe=ve.removeOnLeave,ct=qe===void 0?!0:qe,Vt=ve.forceRender,mt=ve.children,St=ve.motionName,bt=ve.leavedClassName,Nt=ve.eventProps,at=le(ve),xt=(0,ne.useRef)(),_t=(0,ne.useRef)();function Bn(){try{return xt.current instanceof HTMLElement?xt.current:Ui(_t.current)}catch(ka){return null}}var un=Ql(at,Je,Bn,ve),sn=(0,xe.Z)(un,4),qn=sn[0],rn=sn[1],dn=sn[2],wa=sn[3],aa=ne.useRef(wa);wa&&(aa.current=!0);var La=ne.useCallback(function(ka){xt.current=ka,Po(De,ka)},[De]),fa,nr=(0,Mt.Z)((0,Mt.Z)({},Nt),{},{visible:Je});if(!mt)fa=null;else if(qn===di||!le(ve))wa?fa=mt((0,Mt.Z)({},nr),La):!ct&&aa.current&&bt?fa=mt((0,Mt.Z)((0,Mt.Z)({},nr),{},{className:bt}),La):Vt||!ct&&!bt?fa=mt((0,Mt.Z)((0,Mt.Z)({},nr),{},{style:{display:"none"}}),La):fa=null;else{var wr,Vr;rn===Fi?Vr="prepare":Fd(rn)?Vr="active":rn===El&&(Vr="start"),fa=mt((0,Mt.Z)((0,Mt.Z)({},nr),{},{className:an()(Ho(St,qn),(wr={},(0,it.Z)(wr,Ho(St,"".concat(qn,"-").concat(Vr)),Vr),(0,it.Z)(wr,St,typeof St=="string"),wr)),style:dn}),La)}if(ne.isValidElement(fa)&&qo(fa)){var ar=fa,lr=ar.ref;lr||(fa=ne.cloneElement(fa,{ref:La}))}return ne.createElement(qd,{ref:_t},fa)});return ge.displayName="CSSMotion",ge}var Zl=Rs(Oo),hd="add",Vs="keep",Es="remove",Zi="removed";function ri(te){var ie;return te&&(0,Kt.Z)(te)==="object"&&"key"in te?ie=te:ie={key:te},(0,Mt.Z)((0,Mt.Z)({},ie),{},{key:String(ie.key)})}function ts(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return te.map(ri)}function ws(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=[],ge=0,ve=ie.length,De=ts(te),Ae=ts(ie);De.forEach(function(ct){for(var Vt=!1,mt=ge;mt<ve;mt+=1){var St=Ae[mt];if(St.key===ct.key){ge<mt&&(le=le.concat(Ae.slice(ge,mt).map(function(bt){return(0,Mt.Z)((0,Mt.Z)({},bt),{},{status:hd})})),ge=mt),le.push((0,Mt.Z)((0,Mt.Z)({},St),{},{status:Vs})),ge+=1,Vt=!0;break}}Vt||le.push((0,Mt.Z)((0,Mt.Z)({},ct),{},{status:Es}))}),ge<ve&&(le=le.concat(Ae.slice(ge).map(function(ct){return(0,Mt.Z)((0,Mt.Z)({},ct),{},{status:hd})})));var Je={};le.forEach(function(ct){var Vt=ct.key;Je[Vt]=(Je[Vt]||0)+1});var qe=Object.keys(Je).filter(function(ct){return Je[ct]>1});return qe.forEach(function(ct){le=le.filter(function(Vt){var mt=Vt.key,St=Vt.status;return mt!==ct||St!==Es}),le.forEach(function(Vt){Vt.key===ct&&(Vt.status=Vs)})}),le}var pd=["component","children","onVisibleChanged","onAllRemoved"],Rd=["status"],Sd=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function vs(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zl,le=function(ge){(0,Bt.Z)(De,ge);var ve=(0,Tn.Z)(De);function De(){var Ae;(0,pn.Z)(this,De);for(var Je=arguments.length,qe=new Array(Je),ct=0;ct<Je;ct++)qe[ct]=arguments[ct];return Ae=ve.call.apply(ve,[this].concat(qe)),(0,it.Z)((0,Ct.Z)(Ae),"state",{keyEntities:[]}),(0,it.Z)((0,Ct.Z)(Ae),"removeKey",function(Vt){var mt=Ae.state.keyEntities,St=mt.map(function(bt){return bt.key!==Vt?bt:(0,Mt.Z)((0,Mt.Z)({},bt),{},{status:Zi})});return Ae.setState({keyEntities:St}),St.filter(function(bt){var Nt=bt.status;return Nt!==Zi}).length}),Ae}return(0,$e.Z)(De,[{key:"render",value:function(){var Je=this,qe=this.state.keyEntities,ct=this.props,Vt=ct.component,mt=ct.children,St=ct.onVisibleChanged,bt=ct.onAllRemoved,Nt=(0,ro.Z)(ct,pd),at=Vt||ne.Fragment,xt={};return Sd.forEach(function(_t){xt[_t]=Nt[_t],delete Nt[_t]}),delete Nt.keys,ne.createElement(at,Nt,qe.map(function(_t){var Bn=_t.status,un=(0,ro.Z)(_t,Rd),sn=Bn===hd||Bn===Vs;return ne.createElement(ie,(0,oe.Z)({},xt,{key:un.key,visible:sn,eventProps:un,onVisibleChanged:function(rn){if(St==null||St(rn,{key:un.key}),!rn){var dn=Je.removeKey(un.key);dn===0&&bt&&bt()}}}),mt)}))}}],[{key:"getDerivedStateFromProps",value:function(Je,qe){var ct=Je.keys,Vt=qe.keyEntities,mt=ts(ct),St=ws(Vt,mt);return{keyEntities:St.filter(function(bt){var Nt=Vt.find(function(at){var xt=at.key;return bt.key===xt});return!(Nt&&Nt.status===Zi&&bt.status===Es)})}}}]),De}(ne.Component);return(0,it.Z)(le,"defaultProps",{component:"div"}),le}var Pd=vs(Oo),kd=Zl,ks=ee(17799);function Od(te){var ie=te.prefixCls,le=te.align,ge=te.arrow,ve=te.arrowPos,De=ge||{},Ae=De.className,Je=De.content,qe=ve.x,ct=qe===void 0?0:qe,Vt=ve.y,mt=Vt===void 0?0:Vt,St=ne.useRef();if(!le||!le.points)return null;var bt={position:"absolute"};if(le.autoArrow!==!1){var Nt=le.points[0],at=le.points[1],xt=Nt[0],_t=Nt[1],Bn=at[0],un=at[1];xt===Bn||!["t","b"].includes(xt)?bt.top=mt:xt==="t"?bt.top=0:bt.bottom=0,_t===un||!["l","r"].includes(_t)?bt.left=ct:_t==="l"?bt.left=0:bt.right=0}return ne.createElement("div",{ref:St,className:an()("".concat(ie,"-arrow"),Ae),style:bt},Je)}function yd(te){var ie=te.prefixCls,le=te.open,ge=te.zIndex,ve=te.mask,De=te.motion;return ve?ne.createElement(kd,(0,oe.Z)({},De,{motionAppear:!0,visible:le,removeOnLeave:!0}),function(Ae){var Je=Ae.className;return ne.createElement("div",{style:{zIndex:ge},className:an()("".concat(ie,"-mask"),Je)})}):null}var Id=ne.memo(function(te){var ie=te.children;return ie},function(te,ie){return ie.cache}),Ls=Id,Ys=ne.forwardRef(function(te,ie){var le=te.popup,ge=te.className,ve=te.prefixCls,De=te.style,Ae=te.target,Je=te.onVisibleChanged,qe=te.open,ct=te.keepDom,Vt=te.fresh,mt=te.onClick,St=te.mask,bt=te.arrow,Nt=te.arrowPos,at=te.align,xt=te.motion,_t=te.maskMotion,Bn=te.forceRender,un=te.getPopupContainer,sn=te.autoDestroy,qn=te.portal,rn=te.zIndex,dn=te.onMouseEnter,wa=te.onMouseLeave,aa=te.onPointerEnter,La=te.ready,fa=te.offsetX,nr=te.offsetY,wr=te.offsetR,Vr=te.offsetB,ar=te.onAlign,lr=te.onPrepare,ka=te.stretch,Yr=te.targetWidth,Sr=te.targetHeight,Lr=typeof le=="function"?le():le,Mo=qe||ct,To=(un==null?void 0:un.length)>0,Uo=ne.useState(!un||!To),Pi=(0,xe.Z)(Uo,2),No=Pi[0],ci=Pi[1];if((0,zn.Z)(function(){!No&&To&&Ae&&ci(!0)},[No,To,Ae]),!No)return null;var io="auto",vo={left:"-1000vw",top:"-1000vh",right:io,bottom:io};if(La||!qe){var Fo,ui=at.points,mi=at.dynamicInset||((Fo=at._experimental)===null||Fo===void 0?void 0:Fo.dynamicInset),Ki=mi&&ui[0][1]==="r",vi=mi&&ui[0][0]==="b";Ki?(vo.right=wr,vo.left=io):(vo.left=fa,vo.right=io),vi?(vo.bottom=Vr,vo.top=io):(vo.top=nr,vo.bottom=io)}var Cr={};return ka&&(ka.includes("height")&&Sr?Cr.height=Sr:ka.includes("minHeight")&&Sr&&(Cr.minHeight=Sr),ka.includes("width")&&Yr?Cr.width=Yr:ka.includes("minWidth")&&Yr&&(Cr.minWidth=Yr)),qe||(Cr.pointerEvents="none"),ne.createElement(qn,{open:Bn||Mo,getContainer:un&&function(){return un(Ae)},autoDestroy:sn},ne.createElement(yd,{prefixCls:ve,open:qe,zIndex:rn,mask:St,motion:_t}),ne.createElement(dc.Z,{onResize:ar,disabled:!qe},function(Zo){return ne.createElement(kd,(0,oe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Bn,leavedClassName:"".concat(ve,"-hidden")},xt,{onAppearPrepare:lr,onEnterPrepare:lr,visible:qe,onVisibleChanged:function(Qr){var _a;xt==null||(_a=xt.onVisibleChanged)===null||_a===void 0||_a.call(xt,Qr),Je(Qr)}}),function(bo,Qr){var _a=bo.className,ao=bo.style,Ko=an()(ve,_a,ge);return ne.createElement("div",{ref:(0,ks.sQ)(Zo,ie,Qr),className:Ko,style:(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({"--arrow-x":"".concat(Nt.x||0,"px"),"--arrow-y":"".concat(Nt.y||0,"px")},vo),Cr),ao),{},{boxSizing:"border-box",zIndex:rn},De),onMouseEnter:dn,onMouseLeave:wa,onPointerEnter:aa,onClick:mt},bt&&ne.createElement(Od,{prefixCls:ve,arrow:bt,arrowPos:Nt,align:at}),ne.createElement(Ls,{cache:!qe&&!Vt},Lr))})}))}),Qs=Ys,Js=ne.forwardRef(function(te,ie){var le=te.children,ge=te.getTriggerDOMNode,ve=(0,ks.Yr)(le),De=ne.useCallback(function(Je){(0,ks.mH)(ie,ge?ge(Je):Je)},[ge]),Ae=(0,ks.x1)(De,le.ref);return ve?ne.cloneElement(le,{ref:Ae}):le}),bd=Js,Td=["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 Ps(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Yd,ie=ne.forwardRef(function(le,ge){var ve=le.prefixCls,De=ve===void 0?"rc-trigger-popup":ve,Ae=le.children,Je=le.action,qe=Je===void 0?"hover":Je,ct=le.showAction,Vt=le.hideAction,mt=le.popupVisible,St=le.defaultPopupVisible,bt=le.onPopupVisibleChange,Nt=le.afterPopupVisibleChange,at=le.mouseEnterDelay,xt=le.mouseLeaveDelay,_t=xt===void 0?.1:xt,Bn=le.focusDelay,un=le.blurDelay,sn=le.mask,qn=le.maskClosable,rn=qn===void 0?!0:qn,dn=le.getPopupContainer,wa=le.forceRender,aa=le.autoDestroy,La=le.destroyPopupOnHide,fa=le.popup,nr=le.popupClassName,wr=le.popupStyle,Vr=le.popupPlacement,ar=le.builtinPlacements,lr=ar===void 0?{}:ar,ka=le.popupAlign,Yr=le.zIndex,Sr=le.stretch,Lr=le.getPopupClassNameFromAlign,Mo=le.fresh,To=le.alignPoint,Uo=le.onPopupClick,Pi=le.onPopupAlign,No=le.arrow,ci=le.popupMotion,io=le.maskMotion,vo=le.popupTransitionName,Fo=le.popupAnimation,ui=le.maskTransitionName,mi=le.maskAnimation,Ki=le.className,vi=le.getTriggerDOMNode,Cr=(0,ro.Z)(le,Td),Zo=aa||La||!1,bo=ne.useState(!1),Qr=(0,xe.Z)(bo,2),_a=Qr[0],ao=Qr[1];(0,zn.Z)(function(){ao(Oe())},[]);var Ko=ne.useRef({}),Ji=ne.useContext(Ot),fl=ne.useMemo(function(){return{registerSubPopup:function(xo,rl){Ko.current[xo]=rl,Ji==null||Ji.registerSubPopup(xo,rl)}}},[Ji]),zi=ke(),as=ne.useState(null),ys=(0,xe.Z)(as,2),sl=ys[0],Xi=ys[1],ji=(0,Fs.Z)(function(mr){Md(mr)&&sl!==mr&&Xi(mr),Ji==null||Ji.registerSubPopup(zi,mr)}),xr=ne.useState(null),Ro=(0,xe.Z)(xr,2),oi=Ro[0],$i=Ro[1],Vo=(0,Fs.Z)(function(mr){Md(mr)&&oi!==mr&&$i(mr)}),qi=ne.Children.only(Ae),Ri=(qi==null?void 0:qi.props)||{},dl={},ml=(0,Fs.Z)(function(mr){var xo,rl,cl=oi;return(cl==null?void 0:cl.contains(mr))||((xo=od(cl))===null||xo===void 0?void 0:xo.host)===mr||mr===cl||(sl==null?void 0:sl.contains(mr))||((rl=od(sl))===null||rl===void 0?void 0:rl.host)===mr||mr===sl||Object.values(Ko.current).some(function(ol){return(ol==null?void 0:ol.contains(mr))||mr===ol})}),Hi=ma(De,ci,Fo,vo),_i=ma(De,io,mi,ui),Wi=ne.useState(St||!1),vl=(0,xe.Z)(Wi,2),Hl=vl[0],Co=vl[1],so=mt!=null?mt:Hl,yl=(0,Fs.Z)(function(mr){mt===void 0&&Co(mr)});(0,zn.Z)(function(){Co(mt||!1)},[mt]);var Do=ne.useRef(so);Do.current=so;var rs=(0,Fs.Z)(function(mr){(0,Eo.flushSync)(function(){so!==mr&&(yl(mr),bt==null||bt(mr))})}),Gl=ne.useRef(),Kl=function(){clearTimeout(Gl.current)},wl=function(xo){var rl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Kl(),rl===0?rs(xo):Gl.current=setTimeout(function(){rs(xo)},rl*1e3)};ne.useEffect(function(){return Kl},[]);var os=ne.useState(!1),qs=(0,xe.Z)(os,2),bs=qs[0],Zr=qs[1];(0,zn.Z)(function(mr){(!mr||so)&&Zr(!0)},[so]);var Ta=ne.useState(null),oo=(0,xe.Z)(Ta,2),ii=oo[0],Ll=oo[1],Is=ne.useState([0,0]),As=(0,xe.Z)(Is,2),id=As[0],_s=As[1],Ei=function(xo){_s([xo.clientX,xo.clientY])},Jr=er(so,sl,To?id:oi,Vr,lr,ka,Pi),Ml=(0,xe.Z)(Jr,11),Al=Ml[0],xd=Ml[1],_d=Ml[2],Zd=Ml[3],Ed=Ml[4],Ns=Ml[5],wd=Ml[6],ec=Ml[7],Ts=Ml[8],hi=Ml[9],hr=Ml[10],nl=vn(_a,qe,ct,Vt),al=(0,xe.Z)(nl,2),ld=al[0],sd=al[1],zd=ld.has("click"),Ld=sd.has("click")||sd.has("contextMenu"),Cs=(0,Fs.Z)(function(){bs||hr()}),Dc=function(){Do.current&&To&&Ld&&wl(!1)};li(so,oi,sl,Cs,Dc),(0,zn.Z)(function(){Cs()},[id,Vr]),(0,zn.Z)(function(){so&&!(lr!=null&&lr[Vr])&&Cs()},[JSON.stringify(ka)]);var cc=ne.useMemo(function(){var mr=Ea(lr,De,hi,To);return an()(mr,Lr==null?void 0:Lr(hi))},[hi,Lr,lr,De,To]);ne.useImperativeHandle(ge,function(){return{forceAlign:Cs}});var uc=ne.useState(0),Ad=(0,xe.Z)(uc,2),Bc=Ad[0],gc=Ad[1],Mc=ne.useState(0),Hd=(0,xe.Z)(Mc,2),Gd=Hd[0],fc=Hd[1],tc=function(){if(Sr&&oi){var xo=oi.getBoundingClientRect();gc(xo.width),fc(xo.height)}},Fc=function(){tc(),Cs()},nc=function(xo){Zr(!1),hr(),Nt==null||Nt(xo)},Xl=function(){return new Promise(function(xo){tc(),Ll(function(){return xo})})};(0,zn.Z)(function(){ii&&(hr(),ii(),Ll(null))},[ii]);function Zs(mr,xo,rl,cl){dl[mr]=function(ol){var jd;cl==null||cl(ol),wl(xo,rl);for(var pc=arguments.length,Ic=new Array(pc>1?pc-1:0),$d=1;$d<pc;$d++)Ic[$d-1]=arguments[$d];(jd=Ri[mr])===null||jd===void 0||jd.call.apply(jd,[Ri,ol].concat(Ic))}}(zd||Ld)&&(dl.onClick=function(mr){var xo;Do.current&&Ld?wl(!1):!Do.current&&zd&&(Ei(mr),wl(!0));for(var rl=arguments.length,cl=new Array(rl>1?rl-1:0),ol=1;ol<rl;ol++)cl[ol-1]=arguments[ol];(xo=Ri.onClick)===null||xo===void 0||xo.call.apply(xo,[Ri,mr].concat(cl))}),si(so,Ld,oi,sl,sn,rn,ml,wl);var ac=ld.has("hover"),Nd=sd.has("hover"),ed,rc;ac&&(Zs("onMouseEnter",!0,at,function(mr){Ei(mr)}),Zs("onPointerEnter",!0,at,function(mr){Ei(mr)}),ed=function(){(so||bs)&&wl(!0,at)},To&&(dl.onMouseMove=function(mr){var xo;(xo=Ri.onMouseMove)===null||xo===void 0||xo.call(Ri,mr)})),Nd&&(Zs("onMouseLeave",!1,_t),Zs("onPointerLeave",!1,_t),rc=function(){wl(!1,_t)}),ld.has("focus")&&Zs("onFocus",!0,Bn),sd.has("focus")&&Zs("onBlur",!1,un),ld.has("contextMenu")&&(dl.onContextMenu=function(mr){var xo;Do.current&&sd.has("contextMenu")?wl(!1):(Ei(mr),wl(!0)),mr.preventDefault();for(var rl=arguments.length,cl=new Array(rl>1?rl-1:0),ol=1;ol<rl;ol++)cl[ol-1]=arguments[ol];(xo=Ri.onContextMenu)===null||xo===void 0||xo.call.apply(xo,[Ri,mr].concat(cl))}),Ki&&(dl.className=an()(Ri.className,Ki));var Kd=(0,Mt.Z)((0,Mt.Z)({},Ri),dl),mc={},vc=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];vc.forEach(function(mr){Cr[mr]&&(mc[mr]=function(){for(var xo,rl=arguments.length,cl=new Array(rl),ol=0;ol<rl;ol++)cl[ol]=arguments[ol];(xo=Kd[mr])===null||xo===void 0||xo.call.apply(xo,[Kd].concat(cl)),Cr[mr].apply(Cr,cl)})});var dd=ne.cloneElement(qi,(0,Mt.Z)((0,Mt.Z)({},Kd),mc)),hc={x:Ns,y:wd},Rc=No?(0,Mt.Z)({},No!==!0?No:{}):null;return ne.createElement(ne.Fragment,null,ne.createElement(dc.Z,{disabled:!so,ref:Vo,onResize:Fc},ne.createElement(bd,{getTriggerDOMNode:vi},dd)),ne.createElement(Ot.Provider,{value:fl},ne.createElement(Qs,{portal:te,ref:ji,prefixCls:De,popup:fa,className:an()(nr,cc),style:wr,target:oi,onMouseEnter:ed,onMouseLeave:rc,onPointerEnter:ed,zIndex:Yr,open:so,keepDom:bs,fresh:Mo,onClick:Uo,mask:sn,motion:Hi,maskMotion:_i,onVisibleChanged:nc,onPrepare:Xl,forceRender:wa,autoDestroy:Zo,getPopupContainer:dn,align:hi,arrow:Rc,arrowPos:hc,ready:Al,offsetX:xd,offsetY:_d,offsetR:Zd,offsetB:Ed,onAlign:Cs,stretch:Sr,targetWidth:Bc/ec,targetHeight:Gd/Ts})))});return ie}var ns=Ps(Yd),Jl={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 Xs(te){var ie,le=te.prefixCls,ge=te.popupElement,ve=te.popupStyle,De=te.visible,Ae=te.dropdownClassName,Je=te.dropdownAlign,qe=te.transitionName,ct=te.getPopupContainer,Vt=te.children,mt=te.range,St=te.popupPlacement,bt=te.direction,Nt="".concat(le,"-dropdown"),at=function(){return St!==void 0?St:bt==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(ns,{showAction:[],hideAction:[],popupPlacement:at(),builtinPlacements:Jl,prefixCls:Nt,popupTransitionName:qe,popup:ge,popupAlign:Je,popupVisible:De,popupClassName:an()(Ae,(ie={},(0,it.Z)(ie,"".concat(Nt,"-range"),mt),(0,it.Z)(ie,"".concat(Nt,"-rtl"),bt==="rtl"),ie)),popupStyle:ve,getPopupContainer:ct},Vt)}var de=Xs;function ue(te){var ie=te.prefixCls,le=te.presets,ge=te.onClick,ve=te.onHover;return le.length?ne.createElement("div",{className:"".concat(ie,"-presets")},ne.createElement("ul",null,le.map(function(De,Ae){var Je=De.label,qe=De.value;return ne.createElement("li",{key:Ae,onClick:function(){return ge==null?void 0:ge(ho(qe))},onMouseEnter:function(){return ve==null?void 0:ve(ho(qe))},onMouseLeave:function(){return ve==null?void 0:ve(null)}},Je)}))):null}function he(te){var ie=te.picker,le=te.disabledHours,ge=te.disabledMinutes,ve=te.disabledSeconds;ie==="time"&&(le||ge||ve)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function be(te,ie,le){var ge=(0,Kt.Z)(ie)==="object"?ie.clearIcon:le;return ge||ne.createElement("span",{className:"".concat(te,"-clear-btn")})}function Be(te){var ie,le=te,ge=le.prefixCls,ve=ge===void 0?"rc-picker":ge,De=le.id,Ae=le.name,Je=le.tabIndex,qe=le.style,ct=le.className,Vt=le.dropdownClassName,mt=le.dropdownAlign,St=le.popupStyle,bt=le.transitionName,Nt=le.generateConfig,at=le.locale,xt=le.inputReadOnly,_t=le.allowClear,Bn=le.autoFocus,un=le.showTime,sn=le.picker,qn=sn===void 0?"date":sn,rn=le.format,dn=le.use12Hours,wa=le.value,aa=le.defaultValue,La=le.presets,fa=le.open,nr=le.defaultOpen,wr=le.defaultOpenValue,Vr=le.suffixIcon,ar=le.clearIcon,lr=le.disabled,ka=le.disabledDate,Yr=le.placeholder,Sr=le.getPopupContainer,Lr=le.pickerRef,Mo=le.panelRender,To=le.onChange,Uo=le.onOpenChange,Pi=le.onFocus,No=le.onBlur,ci=le.onMouseDown,io=le.onMouseUp,vo=le.onMouseEnter,Fo=le.onMouseLeave,ui=le.onContextMenu,mi=le.onClick,Ki=le.onKeyDown,vi=le.onSelect,Cr=le.direction,Zo=le.autoComplete,bo=Zo===void 0?"off":Zo,Qr=le.inputRender,_a=le.changeOnBlur,ao=ne.useRef(null),Ko=qn==="date"&&!!un||qn==="time",Ji=Ar(La),fl=ua(Pr(rn,qn,un,dn)),zi=ne.useRef(null),as=ne.useRef(null),ys=ne.useRef(null),sl=(0,Sn.Z)(null,{value:wa,defaultValue:aa}),Xi=(0,xe.Z)(sl,2),ji=Xi[0],xr=Xi[1],Ro=ne.useState(ji),oi=(0,xe.Z)(Ro,2),$i=oi[0],Vo=oi[1],qi=ne.useRef(null),Ri=(0,Sn.Z)(!1,{value:fa,defaultValue:nr,postState:function(hr){return lr?!1:hr},onChange:function(hr){Uo&&Uo(hr),!hr&&qi.current&&qi.current.onClose&&qi.current.onClose()}}),dl=(0,xe.Z)(Ri,2),ml=dl[0],Hi=dl[1],_i=Ft($i,{formatList:fl,generateConfig:Nt,locale:at}),Wi=(0,xe.Z)(_i,2),vl=Wi[0],Hl=Wi[1],Co=et({valueTexts:vl,onTextChange:function(hr){var nl=We(hr,{locale:at,formatList:fl,generateConfig:Nt});nl&&(!ka||!ka(nl))&&Vo(nl)}}),so=(0,xe.Z)(Co,3),yl=so[0],Do=so[1],rs=so[2],Gl=function(hr){Vo(hr),xr(hr),To&&!Qe(Nt,ji,hr)&&To(hr,hr?tn(hr,{generateConfig:Nt,locale:at,format:fl[0]}):"")},Kl=function(hr){lr&&hr||Hi(hr)},wl=function(hr){return ml&&qi.current&&qi.current.onKeyDown?qi.current.onKeyDown(hr):((0,Re.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},os=function(){for(var hr=arguments.length,nl=new Array(hr),al=0;al<hr;al++)nl[al]=arguments[al];mi==null||mi.apply(void 0,nl),ao.current&&(ao.current.focus(),Kl(!0))},qs=function(hr){_a&&Gl($i),No==null||No(hr)},bs=Oa({blurToCancel:Ko,open:ml,value:yl,triggerOpen:Kl,forwardKeyDown:wl,isClickOutside:function(hr){return!Nn([zi.current,as.current,ys.current],hr)},onSubmit:function(){return!$i||ka&&ka($i)?!1:(Gl($i),Kl(!1),rs(),!0)},onCancel:function(){Kl(!1),Vo(ji),rs()},onKeyDown:function(hr,nl){Ki==null||Ki(hr,nl)},onFocus:Pi,onBlur:qs,changeOnBlur:_a}),Zr=(0,xe.Z)(bs,2),Ta=Zr[0],oo=Zr[1],ii=oo.focused,Ll=oo.typing;ne.useEffect(function(){ml||(Vo(ji),!vl.length||vl[0]===""?Do(""):Hl!==yl&&rs())},[ml,vl]),ne.useEffect(function(){ml||rs()},[qn]),ne.useEffect(function(){Vo(ji)},[ji]),Lr&&(Lr.current={focus:function(){var hr;(hr=ao.current)===null||hr===void 0||hr.focus()},blur:function(){var hr;(hr=ao.current)===null||hr===void 0||hr.blur()}});var Is=$t(yl,{formatList:fl,generateConfig:Nt,locale:at}),As=(0,xe.Z)(Is,3),id=As[0],_s=As[1],Ei=As[2],Jr=(0,Mt.Z)((0,Mt.Z)({},te),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Ml=ne.createElement("div",{className:"".concat(ve,"-panel-layout")},ne.createElement(ue,{prefixCls:ve,presets:Ji,onClick:function(hr){Gl(hr),Kl(!1)}}),ne.createElement(Hr,(0,oe.Z)({},Jr,{generateConfig:Nt,className:an()((0,it.Z)({},"".concat(ve,"-panel-focused"),!Ll)),value:$i,locale:at,tabIndex:-1,onSelect:function(hr){vi==null||vi(hr),Vo(hr)},direction:Cr,onPanelChange:function(hr,nl){var al=te.onPanelChange;Ei(!0),al==null||al(hr,nl)}})));Mo&&(Ml=Mo(Ml));var Al=ne.createElement("div",{className:"".concat(ve,"-panel-container"),ref:zi,onMouseDown:function(hr){hr.preventDefault()}},Ml),xd;Vr&&(xd=ne.createElement("span",{className:"".concat(ve,"-suffix"),onMouseDown:function(hr){hr.preventDefault()}},Vr));var _d=be(ve,_t,ar),Zd=ne.createElement("span",{onMouseDown:function(hr){hr.preventDefault(),hr.stopPropagation()},onMouseUp:function(hr){hr.preventDefault(),hr.stopPropagation(),Gl(null),Kl(!1)},className:"".concat(ve,"-clear"),role:"button"},_d),Ed=!!_t&&ji&&!lr,Ns=(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({id:De,tabIndex:Je,disabled:lr,readOnly:xt||typeof fl[0]=="function"||!Ll,value:id||yl,onChange:function(hr){Do(hr.target.value)},autoFocus:Bn,placeholder:Yr,ref:ao,title:yl},Ta),{},{size:Tr(qn,fl[0],Nt),name:Ae},(0,Wn.Z)(te,{aria:!0,data:!0})),{},{autoComplete:bo}),wd=Qr?Qr(Ns):ne.createElement("input",Ns),ec=function(hr,nl){(nl==="submit"||nl!=="key"&&!Ko)&&(Gl(hr),Kl(!1))},Ts=Cr==="rtl"?"bottomRight":"bottomLeft";return ne.createElement(Ve.Provider,{value:{operationRef:qi,hideHeader:qn==="time",onSelect:ec,open:ml,defaultOpenValue:wr,onDateMouseEnter:_s,onDateMouseLeave:Ei}},ne.createElement(de,{visible:ml,popupElement:Al,popupStyle:St,prefixCls:ve,dropdownClassName:Vt,dropdownAlign:mt,getPopupContainer:Sr,transitionName:bt,popupPlacement:Ts,direction:Cr},ne.createElement("div",{ref:ys,className:an()(ve,ct,(ie={},(0,it.Z)(ie,"".concat(ve,"-disabled"),lr),(0,it.Z)(ie,"".concat(ve,"-focused"),ii),(0,it.Z)(ie,"".concat(ve,"-rtl"),Cr==="rtl"),ie)),style:qe,onMouseDown:ci,onMouseUp:io,onMouseEnter:vo,onMouseLeave:Fo,onContextMenu:ui,onClick:os},ne.createElement("div",{className:an()("".concat(ve,"-input"),(0,it.Z)({},"".concat(ve,"-input-placeholder"),!!id)),ref:as},wd,xd,Ed&&Zd))))}var Ie=function(te){(0,Bt.Z)(le,te);var ie=(0,Tn.Z)(le);function le(){var ge;(0,pn.Z)(this,le);for(var ve=arguments.length,De=new Array(ve),Ae=0;Ae<ve;Ae++)De[Ae]=arguments[Ae];return ge=ie.call.apply(ie,[this].concat(De)),(0,it.Z)((0,Ct.Z)(ge),"pickerRef",ne.createRef()),(0,it.Z)((0,Ct.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,it.Z)((0,Ct.Z)(ge),"blur",function(){ge.pickerRef.current&&ge.pickerRef.current.blur()}),ge}return(0,$e.Z)(le,[{key:"render",value:function(){return ne.createElement(Be,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Xe=Ie;function nt(te,ie){var le=te.picker,ge=te.locale,ve=te.selectedValue,De=te.disabledDate,Ae=te.disabled,Je=te.generateConfig,qe=Un(ve,0),ct=Un(ve,1);function Vt(at){return Je.locale.getWeekFirstDate(ge.locale,at)}function mt(at){var xt=Je.getYear(at),_t=Je.getMonth(at);return xt*100+_t}function St(at){var xt=Je.getYear(at),_t=En(Je,at);return xt*10+_t}var bt=ne.useCallback(function(at){if(Ae[0]||De&&De(at))return!0;if(Ae[1]&&ct)return!Gn(Je,at,ct)&&Je.isAfter(at,ct);if(!ie&&ct)switch(le){case"quarter":return St(at)>St(ct);case"month":return mt(at)>mt(ct);case"week":return Vt(at)>Vt(ct);default:return!Gn(Je,at,ct)&&Je.isAfter(at,ct)}return!1},[De,Ae[1],ct,ie]),Nt=ne.useCallback(function(at){if(Ae[1]||De&&De(at))return!0;if(Ae[0]&&qe)return!Gn(Je,at,ct)&&Je.isAfter(qe,at);if(!ie&&qe)switch(le){case"quarter":return St(at)<St(qe);case"month":return mt(at)<mt(qe);case"week":return Vt(at)<Vt(qe);default:return!Gn(Je,at,qe)&&Je.isAfter(qe,at)}return!1},[De,Ae[0],qe,ie]);return[bt,Nt]}function tt(te,ie,le,ge,ve,De,Ae,Je,qe,ct){var Vt=ne.useState(!1),mt=(0,xe.Z)(Vt,2),St=mt[0],bt=mt[1],Nt=(0,jo.useMergedState)(te||!1,{value:ie}),at=(0,xe.Z)(Nt,2),xt=at[0],_t=at[1],Bn=(0,jo.useMergedState)(te||!1,{value:ie,onChange:function(ka){ct==null||ct(ka)}}),un=(0,xe.Z)(Bn,2),sn=un[0],qn=un[1],rn=(0,jo.useMergedState)(0,{value:le}),dn=(0,xe.Z)(rn,2),wa=dn[0],aa=dn[1],La=ne.useState(null),fa=(0,xe.Z)(La,2),nr=fa[0],wr=fa[1];ne.useEffect(function(){sn&&bt(!0)},[sn]);var Vr=function(ka){return ka===0?1:0},ar=(0,Fs.Z)(function(lr,ka,Yr){if(ka===!1)qn(lr);else if(lr){aa(ka),qn(lr);var Sr=Vr(ka);!sn||![Ae,Je][Sr]?wr(Sr):(bt(!1),nr!==null&&wr(null))}else if(Yr==="confirm"||Yr==="blur"&&ge){var Lr=xt?Vr(ka):nr;Lr!==null&&(bt(!1),aa(Lr)),wr(null),Lr!==null&&!qe[Lr]?(0,bn.Z)(function(){var Mo,To=[ve,De][Lr];(Mo=To.current)===null||Mo===void 0||Mo.focus()}):qn(!1)}else qn(!1),_t(!1)});return[sn,wa,St,ar]}function yt(te,ie,le,ge){var ve=lt(te,le,ge,1);function De(Ae){return Ae(te,ie)?"same":Ae(ve,ie)?"closing":"far"}switch(le){case"year":return De(function(Ae,Je){return zt(ge,Ae,Je)});case"quarter":case"month":return De(function(Ae,Je){return en(ge,Ae,Je)});default:return De(function(Ae,Je){return _n(ge,Ae,Je)})}}function Zt(te,ie,le,ge){var ve=Un(te,0),De=Un(te,1);if(ie===0)return ve;if(ve&&De){var Ae=yt(ve,De,le,ge);switch(Ae){case"same":return ve;case"closing":return ve;default:return lt(De,le,ge,-1)}}return ve}function Lt(te){var ie=te.values,le=te.picker,ge=te.defaultDates,ve=te.generateConfig,De=ne.useState(function(){return[Un(ge,0),Un(ge,1)]}),Ae=(0,xe.Z)(De,2),Je=Ae[0],qe=Ae[1],ct=ne.useState(null),Vt=(0,xe.Z)(ct,2),mt=Vt[0],St=Vt[1],bt=Un(ie,0),Nt=Un(ie,1);function at(_t){return Je[_t]?Je[_t]:Un(mt,_t)||Zt(ie,_t,le,ve)||bt||Nt||ve.getNow()}function xt(_t,Bn){if(_t){var un=Ma(mt,_t,Bn);qe(Ma(Je,null,Bn)||[null,null]);var sn=(Bn+1)%2;Un(ie,sn)||(un=Ma(un,_t,sn)),St(un)}else(bt||Nt)&&St(null)}return[at,xt]}function on(te,ie){return te&&te[0]&&te[1]&&ie.isAfter(te[0],te[1])?[te[1],te[0]]:te}function ln(te,ie,le,ge){return!!(te||ge&&ge[ie]||le[(ie+1)%2])}function mn(te){var ie,le,ge,ve=te,De=ve.prefixCls,Ae=De===void 0?"rc-picker":De,Je=ve.id,qe=ve.style,ct=ve.className,Vt=ve.popupStyle,mt=ve.dropdownClassName,St=ve.transitionName,bt=ve.dropdownAlign,Nt=ve.getPopupContainer,at=ve.generateConfig,xt=ve.locale,_t=ve.placeholder,Bn=ve.autoFocus,un=ve.disabled,sn=ve.format,qn=ve.picker,rn=qn===void 0?"date":qn,dn=ve.showTime,wa=ve.use12Hours,aa=ve.separator,La=aa===void 0?"~":aa,fa=ve.value,nr=ve.defaultValue,wr=ve.defaultPickerValue,Vr=ve.open,ar=ve.defaultOpen,lr=ve.disabledDate,ka=ve.disabledTime,Yr=ve.dateRender,Sr=ve.monthCellRender,Lr=ve.cellRender,Mo=ve.panelRender,To=ve.presets,Uo=ve.ranges,Pi=ve.allowEmpty,No=ve.allowClear,ci=ve.suffixIcon,io=ve.clearIcon,vo=ve.pickerRef,Fo=ve.inputReadOnly,ui=ve.mode,mi=ve.renderExtraFooter,Ki=ve.onChange,vi=ve.onOpenChange,Cr=ve.onPanelChange,Zo=ve.onCalendarChange,bo=ve.onFocus,Qr=ve.onBlur,_a=ve.onMouseDown,ao=ve.onMouseUp,Ko=ve.onMouseEnter,Ji=ve.onMouseLeave,fl=ve.onClick,zi=ve.onOk,as=ve.onKeyDown,ys=ve.components,sl=ve.order,Xi=ve.direction,ji=ve.activePickerIndex,xr=ve.autoComplete,Ro=xr===void 0?"off":xr,oi=ve.changeOnBlur,$i=rn==="date"&&!!dn||rn==="time",Vo=(0,ne.useRef)(null),qi=(0,ne.useRef)(null),Ri=(0,ne.useRef)(null),dl=(0,ne.useRef)(null),ml=(0,ne.useRef)(null),Hi=(0,ne.useRef)(null),_i=(0,ne.useRef)(null),Wi=(0,ne.useRef)(null),vl=ua(Pr(sn,rn,dn,wa)),Hl=(0,ne.useRef)(null),Co=ne.useMemo(function(){return Array.isArray(un)?un:[un||!1,un||!1]},[un]),so=(0,Sn.Z)(null,{value:fa,defaultValue:nr,postState:function(ur){return rn==="time"&&!sl?ur:on(ur,at)}}),yl=(0,xe.Z)(so,2),Do=yl[0],rs=yl[1],Gl=Lt({values:Do,picker:rn,defaultDates:wr,generateConfig:at}),Kl=(0,xe.Z)(Gl,2),wl=Kl[0],os=Kl[1],qs=(0,Sn.Z)(Do,{postState:function(ur){var $r=ur;if(Co[0]&&Co[1])return $r;for(var _o=0;_o<2;_o+=1)Co[_o]&&!$r&&!Un($r,_o)&&!Un(Pi,_o)&&($r=Ma($r,at.getNow(),_o));return $r}}),bs=(0,xe.Z)(qs,2),Zr=bs[0],Ta=bs[1],oo=(0,Sn.Z)([rn,rn],{value:ui}),ii=(0,xe.Z)(oo,2),Ll=ii[0],Is=ii[1];(0,ne.useEffect)(function(){Is([rn,rn])},[rn]);var As=function(ur,$r){Is(ur),Cr&&Cr($r,ur)},id=tt(ar,Vr,ji,oi,Hi,_i,Un(Zr,0),Un(Zr,1),Co,vi),_s=(0,xe.Z)(id,4),Ei=_s[0],Jr=_s[1],Ml=_s[2],Al=_s[3],xd=Ei&&Jr===0,_d=Ei&&Jr===1,Zd=nt({picker:rn,selectedValue:Zr,locale:xt,disabled:Co,disabledDate:lr,generateConfig:at},!Ei||Ml),Ed=(0,xe.Z)(Zd,2),Ns=Ed[0],wd=Ed[1],ec=(0,ne.useState)(0),Ts=(0,xe.Z)(ec,2),hi=Ts[0],hr=Ts[1];(0,ne.useEffect)(function(){!Ei&&Vo.current&&hr(Vo.current.offsetWidth)},[Ei]);function nl(Jo){Al(!0,Jo,"open"),(0,bn.Z)(function(){var ur,$r=[Hi,_i][Jo];(ur=$r.current)===null||ur===void 0||ur.focus()},0)}function al(Jo,ur){var $r=Jo,_o=Un($r,0),el=Un($r,1);_o&&el&&at.isAfter(_o,el)&&(rn==="week"&&!we(at,xt.locale,_o,el)||rn==="quarter"&&!kn(at,_o,el)||rn!=="week"&&rn!=="quarter"&&rn!=="time"&&!Gn(at,_o,el)?ur===0?($r=[_o,null],el=null):(_o=null,$r=[null,el]):(rn!=="time"||sl!==!1)&&($r=on($r,at))),Ta($r);var Sc=$r&&$r[0]?tn($r[0],{generateConfig:at,locale:xt,format:vl[0]}):"",td=$r&&$r[1]?tn($r[1],{generateConfig:at,locale:xt,format:vl[0]}):"";if(Zo){var Ud={range:ur===0?"start":"end"};Zo($r,[Sc,td],Ud)}var Vd=ln(_o,0,Co,Pi),kc=ln(el,1,Co,Pi),oc=$r===null||Vd&&kc;oc&&(rs($r),Ki&&(!Qe(at,Un(Do,0),_o)||!Qe(at,Un(Do,1),el))&&Ki($r,[Sc,td]))}var ld=function(ur){return Ei&&Hl.current&&Hl.current.onKeyDown?Hl.current.onKeyDown(ur):((0,Re.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},sd={formatList:vl,generateConfig:at,locale:xt},zd=Ft(Un(Zr,0),sd),Ld=(0,xe.Z)(zd,2),Cs=Ld[0],Dc=Ld[1],cc=Ft(Un(Zr,1),sd),uc=(0,xe.Z)(cc,2),Ad=uc[0],Bc=uc[1],gc=function(ur,$r){var _o=We(ur,{locale:xt,formatList:vl,generateConfig:at}),el=$r===0?Ns:wd;_o&&!el(_o)&&(Ta(Ma(Zr,_o,$r)),os(_o,$r))},Mc=et({valueTexts:Cs,onTextChange:function(ur){return gc(ur,0)}}),Hd=(0,xe.Z)(Mc,3),Gd=Hd[0],fc=Hd[1],tc=Hd[2],Fc=et({valueTexts:Ad,onTextChange:function(ur){return gc(ur,1)}}),nc=(0,xe.Z)(Fc,3),Xl=nc[0],Zs=nc[1],ac=nc[2],Nd=(0,ne.useState)(null),ed=(0,xe.Z)(Nd,2),rc=ed[0],Kd=ed[1],mc=(0,ne.useState)(null),vc=(0,xe.Z)(mc,2),dd=vc[0],hc=vc[1],Rc=$t(Gd,{formatList:vl,generateConfig:at,locale:xt}),mr=(0,xe.Z)(Rc,3),xo=mr[0],rl=mr[1],cl=mr[2],ol=$t(Xl,{formatList:vl,generateConfig:at,locale:xt}),jd=(0,xe.Z)(ol,3),pc=jd[0],Ic=jd[1],$d=jd[2],au=function(ur){hc(Ma(Zr,ur,Jr)),Jr===0?rl(ur):Ic(ur)},ru=function(){hc(Ma(Zr,null,Jr)),Jr===0?cl():$d()},ou=ne.useState(Ei),Gc=(0,xe.Z)(ou,2),iu=Gc[0],lu=Gc[1];ne.useEffect(function(){lu(Ei)},[Ei]);var su=function(ur){if(oi&&iu){var $r=Un(Zr,Jr);$r&&al(Zr,Jr)}return Qr==null?void 0:Qr(ur)},Kc=function(ur,$r){return{blurToCancel:!oi&&$i,forwardKeyDown:ld,onBlur:su,isClickOutside:function(el){return!Nn([qi.current,Ri.current,dl.current,Vo.current],el)},onFocus:function(el){bo&&bo(el)},triggerOpen:function(el){el?Al(el,ur,"open"):Al(el,Un(Zr,ur)?ur:!1,"blur")},onSubmit:function(){if(!Zr||lr&&lr(Zr[ur]))return!1;al(Zr,ur),$r(),Al(!1,Jr,"confirm")},onCancel:function(){Al(!1,ur,"cancel"),Ta(Do),$r()}}},jc={onKeyDown:function(ur,$r){as==null||as(ur,$r)},changeOnBlur:oi},du=Oa((0,Mt.Z)((0,Mt.Z)({},Kc(0,tc)),{},{open:xd,value:Gd},jc)),$c=(0,xe.Z)(du,2),cu=$c[0],Wc=$c[1],Uc=Wc.focused,Vc=Wc.typing,uu=Oa((0,Mt.Z)((0,Mt.Z)({},Kc(1,ac)),{},{open:_d,value:Xl},jc)),Yc=(0,xe.Z)(uu,2),gu=Yc[0],Qc=Yc[1],Jc=Qc.focused,Xc=Qc.typing,fu=function(ur){fl&&fl(ur),!Ei&&!Hi.current.contains(ur.target)&&!_i.current.contains(ur.target)&&(Co[0]?Co[1]||nl(1):nl(0))},mu=function(ur){_a&&_a(ur),Ei&&(Uc||Jc)&&!Hi.current.contains(ur.target)&&!_i.current.contains(ur.target)&&ur.preventDefault()},vu=Do&&Do[0]?tn(Do[0],{locale:xt,format:"YYYYMMDDHHmmss",generateConfig:at}):"",hu=Do&&Do[1]?tn(Do[1],{locale:xt,format:"YYYYMMDDHHmmss",generateConfig:at}):"";(0,ne.useEffect)(function(){Ei||(Ta(Do),!Cs.length||Cs[0]===""?fc(""):Dc!==Gd&&tc(),!Ad.length||Ad[0]===""?Zs(""):Bc!==Xl&&ac())},[Ei,Cs,Ad]),(0,ne.useEffect)(function(){Ta(Do)},[vu,hu]);var Tc=Cn({cellRender:Lr,monthCellRender:Sr,dateRender:Yr}),pu=ne.useMemo(function(){if(Tc)return function(Jo,ur){return Tc(Jo,(0,Mt.Z)((0,Mt.Z)({},ur),{},{range:Jr?"end":"start"}))}},[Jr,Tc]);vo&&(vo.current={focus:function(){Hi.current&&Hi.current.focus()},blur:function(){Hi.current&&Hi.current.blur(),_i.current&&_i.current.blur()}});var Su=Ar(To,Uo);function Zc(){var Jo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$r=null;Ei&&dd&&dd[0]&&dd[1]&&at.isAfter(dd[1],dd[0])&&($r=dd);var _o=dn;if(dn&&(0,Kt.Z)(dn)==="object"&&dn.defaultValue){var el=dn.defaultValue;_o=(0,Mt.Z)((0,Mt.Z)({},dn),{},{defaultValue:Un(el,Jr)||void 0})}return ne.createElement(rt.Provider,{value:{inRange:!0,panelPosition:Jo,rangedValue:rc||Zr,hoverRangedValue:$r}},ne.createElement(Hr,(0,oe.Z)({},te,ur,{cellRender:pu,showTime:_o,mode:Ll[Jr],generateConfig:at,style:void 0,direction:Xi,disabledDate:Jr===0?Ns:wd,disabledTime:function(td){return ka?ka(td,Jr===0?"start":"end"):!1},className:an()((0,it.Z)({},"".concat(Ae,"-panel-focused"),Jr===0?!Vc:!Xc)),value:Un(Zr,Jr),locale:xt,tabIndex:-1,onPanelChange:function(td,Ud){Jr===0&&cl(!0),Jr===1&&$d(!0),As(Ma(Ll,Ud,Jr),Ma(Zr,td,Jr));var Vd=td;Jo==="right"&&Ll[Jr]===Ud&&(Vd=lt(Vd,Ud,at,-1)),os(Vd,Jr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Jr===0?Un(Zr,1):Un(Zr,0)})))}var Wd=0,qc=0;if(Jr&&Ri.current&&ml.current&&qi.current&&Wi.current){Wd=Ri.current.offsetWidth+ml.current.offsetWidth;var Pu=Wi.current.offsetLeft>Wd?Wi.current.offsetLeft-Wd:Wi.current.offsetLeft,_c=qi.current.offsetWidth,eu=Wi.current.offsetWidth;_c&&eu&&Wd>_c-eu-(Xi==="rtl"?0:Pu)&&(qc=Wd)}var yu=Xi==="rtl"?{right:Wd}:{left:Wd};function bu(){var Jo,ur=ya(Ae,Ll[Jr],mi),$r=Sa({prefixCls:Ae,components:ys,needConfirmButton:$i,okDisabled:!Un(Zr,Jr)||lr&&lr(Zr[Jr]),locale:xt,onOk:function(){var nd=Un(Zr,Jr);nd&&(al(Zr,Jr),zi==null||zi(Zr),Al(!1,Jr,"confirm"))}});if(rn!=="time"&&!dn){var _o=wl(Jr),el=lt(_o,rn,at),Sc=Ll[Jr],td=Sc===rn,Ud=Zc(td?"left":!1,{pickerValue:_o,onPickerValueChange:function(nd){os(nd,Jr)}}),Vd=Zc("right",{pickerValue:el,onPickerValueChange:function(nd){os(lt(nd,rn,at,-1),Jr)}});Xi==="rtl"?Jo=ne.createElement(ne.Fragment,null,Vd,td&&Ud):Jo=ne.createElement(ne.Fragment,null,Ud,td&&Vd)}else Jo=Zc();var kc=ne.createElement("div",{className:"".concat(Ae,"-panel-layout")},ne.createElement(ue,{prefixCls:Ae,presets:Su,onClick:function(nd){al(nd,null),Al(!1,Jr,"preset")},onHover:function(nd){Kd(nd)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(Ae,"-panels")},Jo),(ur||$r)&&ne.createElement("div",{className:"".concat(Ae,"-footer")},ur,$r)));return Mo&&(kc=Mo(kc)),ne.createElement("div",{className:"".concat(Ae,"-panel-container"),style:{marginLeft:qc},ref:qi,onMouseDown:function(nd){nd.preventDefault()}},kc)}var Cu=ne.createElement("div",{className:an()("".concat(Ae,"-range-wrapper"),"".concat(Ae,"-").concat(rn,"-range-wrapper")),style:{minWidth:hi}},ne.createElement("div",{ref:Wi,className:"".concat(Ae,"-range-arrow"),style:yu}),bu()),tu;ci&&(tu=ne.createElement("span",{className:"".concat(Ae,"-suffix"),onMouseDown:function(ur){ur.preventDefault()}},ci));var xu=be(Ae,No,io),Eu=ne.createElement("span",{onMouseDown:function(ur){ur.preventDefault(),ur.stopPropagation()},onMouseUp:function(ur){ur.preventDefault(),ur.stopPropagation();var $r=Do;Co[0]||($r=Ma($r,null,0)),Co[1]||($r=Ma($r,null,1)),al($r,null),Al(!1,Jr,"clear")},className:"".concat(Ae,"-clear"),role:"button"},xu),wu=No&&(Un(Do,0)&&!Co[0]||Un(Do,1)&&!Co[1]),nu={size:Tr(rn,vl[0],at)},zc=0,Hc=0;Ri.current&&dl.current&&ml.current&&(Jr===0?Hc=Ri.current.offsetWidth:(zc=Wd,Hc=dl.current.offsetWidth));var Lu=Xi==="rtl"?{right:zc}:{left:zc},Au=function(ur,$r){var _o=Ma(Zr,ur,Jr);if($r==="submit"||$r!=="key"&&!$i){al(_o,Jr),Jr===0?cl():$d();var el=Jr===0?1:0;Co[el]?Al(!1,!1,"confirm"):Al(!1,Jr,"confirm")}else Ta(_o)};return ne.createElement(Ve.Provider,{value:{operationRef:Hl,hideHeader:rn==="time",onDateMouseEnter:au,onDateMouseLeave:ru,hideRanges:!0,onSelect:Au,open:Ei}},ne.createElement(de,{visible:Ei,popupElement:Cu,popupStyle:Vt,prefixCls:Ae,dropdownClassName:mt,dropdownAlign:bt,getPopupContainer:Nt,transitionName:St,range:!0,direction:Xi},ne.createElement("div",(0,oe.Z)({ref:Vo,className:an()(Ae,"".concat(Ae,"-range"),ct,(ie={},(0,it.Z)(ie,"".concat(Ae,"-disabled"),Co[0]&&Co[1]),(0,it.Z)(ie,"".concat(Ae,"-focused"),Jr===0?Uc:Jc),(0,it.Z)(ie,"".concat(Ae,"-rtl"),Xi==="rtl"),ie)),style:qe,onClick:fu,onMouseEnter:Ko,onMouseLeave:Ji,onMouseDown:mu,onMouseUp:ao},(0,Wn.Z)(te,{aria:!0,data:!0})),ne.createElement("div",{className:an()("".concat(Ae,"-input"),(le={},(0,it.Z)(le,"".concat(Ae,"-input-active"),Jr===0),(0,it.Z)(le,"".concat(Ae,"-input-placeholder"),!!xo),le)),ref:Ri},ne.createElement("input",(0,oe.Z)({id:Je,disabled:Co[0],readOnly:Fo||typeof vl[0]=="function"||!Vc,value:xo||Gd,onChange:function(ur){fc(ur.target.value)},autoFocus:Bn,placeholder:Un(_t,0)||"",ref:Hi},cu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Ae,"-range-separator"),ref:ml},La),ne.createElement("div",{className:an()("".concat(Ae,"-input"),(ge={},(0,it.Z)(ge,"".concat(Ae,"-input-active"),Jr===1),(0,it.Z)(ge,"".concat(Ae,"-input-placeholder"),!!pc),ge)),ref:dl},ne.createElement("input",(0,oe.Z)({disabled:Co[1],readOnly:Fo||typeof vl[0]=="function"||!Xc,value:pc||Xl,onChange:function(ur){Zs(ur.target.value)},placeholder:Un(_t,1)||"",ref:_i},gu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Ae,"-active-bar"),style:(0,Mt.Z)((0,Mt.Z)({},Lu),{},{width:Hc,position:"absolute"})}),tu,wu&&Eu)))}var Xn=function(te){(0,Bt.Z)(le,te);var ie=(0,Tn.Z)(le);function le(){var ge;(0,pn.Z)(this,le);for(var ve=arguments.length,De=new Array(ve),Ae=0;Ae<ve;Ae++)De[Ae]=arguments[Ae];return ge=ie.call.apply(ie,[this].concat(De)),(0,it.Z)((0,Ct.Z)(ge),"pickerRef",ne.createRef()),(0,it.Z)((0,Ct.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,it.Z)((0,Ct.Z)(ge),"blur",function(){ge.pickerRef.current&&ge.pickerRef.current.blur()}),ge}return(0,$e.Z)(le,[{key:"render",value:function(){return ne.createElement(mn,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Rn=Xn,ta=Xe,Hn=ee(9708),sa=ee(53124),Ra=ee(98866),Qa=ee(98675),Ba=ee(65223),fr=ee(10110),Dr=ee(4173),Pa=ee(16516),Na=ee(84780),ga=ee(47673),la=ee(14747),Da=ee(79511),Wa=ee(80110),vr=ee(67771),Er=ee(33297),Ha=ee(45503),Or=ee(67968);const Kr=(te,ie,le,ge)=>{const{lineHeight:ve}=te,De=Math.floor(le*ve)+2,Ae=Math.max((ie-De)/2,0),Je=Math.max(ie-De-Ae,0);return{padding:`${Ae}px ${ge}px ${Je}px`}},Bo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:ge,cellHeight:ve,motionDurationSlow:De,borderRadiusSM:Ae,motionDurationMid:Je,cellHoverBg:qe,lineWidth:ct,lineType:Vt,colorPrimary:mt,cellActiveWithRangeBg:St,colorTextLightSolid:bt,controlHeightSM:Nt,cellRangeBorderColor:at,pickerCellBorderGap:xt,cellHoverWithRangeBg:_t,cellWidth:Bn,colorTextDisabled:un,cellBgDisabled:sn}=te;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:ve,transform:"translateY(-50%)",transition:`all ${De}`,content:'""'},[ge]:{position:"relative",zIndex:2,display:"inline-block",minWidth:ve,height:ve,lineHeight:`${ve}px`,borderRadius:Ae,transition:`background ${Je}, border ${Je}`},"&-range-hover-start, &-range-hover-end":{[ge]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${le}-in-view),
&:hover:not(${le}-selected):not(${le}-range-start):not(${le}-range-end):not(${le}-range-hover-start):not(${le}-range-hover-end)`]:{[ge]:{background:qe}},[`&-in-view${le}-today ${ge}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ct}px ${Vt} ${mt}`,borderRadius:Ae,content:'""'}},[`&-in-view${le}-in-range`]:{position:"relative","&::before":{background:St}},[`&-in-view${le}-selected ${ge},
&-in-view${le}-range-start ${ge},
&-in-view${le}-range-end ${ge}`]:{color:bt,background:mt},[`&-in-view${le}-range-start:not(${le}-range-start-single),
&-in-view${le}-range-end:not(${le}-range-end-single)`]:{"&::before":{background:St}},[`&-in-view${le}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${le}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${le}-range-hover-start:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
&-in-view${le}-range-hover-end:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
&-in-view${le}-range-hover-start${le}-range-start-single,
&-in-view${le}-range-hover-start${le}-range-start${le}-range-end${le}-range-end-near-hover,
&-in-view${le}-range-hover-end${le}-range-start${le}-range-end${le}-range-start-near-hover,
&-in-view${le}-range-hover-end${le}-range-end-single,
&-in-view${le}-range-hover:not(${le}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Nt,borderTop:`${ct}px dashed ${at}`,borderBottom:`${ct}px dashed ${at}`,transform:"translateY(-50%)",transition:`all ${De}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:xt},[`&-in-view${le}-in-range${le}-range-hover::before,
&-in-view${le}-in-range${le}-range-hover-start::before,
&-in-view${le}-in-range${le}-range-hover-end::before,
&-in-view${le}-range-start${le}-range-hover::before,
&-in-view${le}-range-end${le}-range-hover::before,
&-in-view${le}-range-start:not(${le}-range-start-single)${le}-range-hover-start::before,
&-in-view${le}-range-end:not(${le}-range-end-single)${le}-range-hover-end::before,
${ie}-panel
> :not(${ie}-date-panel)
&-in-view${le}-in-range${le}-range-hover-start::before,
${ie}-panel
> :not(${ie}-date-panel)
&-in-view${le}-in-range${le}-range-hover-end::before`]:{background:_t},[`&-in-view${le}-range-start:not(${le}-range-start-single):not(${le}-range-end) ${ge}`]:{borderStartStartRadius:Ae,borderEndStartRadius:Ae,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${le}-range-end:not(${le}-range-end-single):not(${le}-range-start) ${ge}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ae,borderEndEndRadius:Ae},[`&-range-hover${le}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${le}-range-hover:first-child::after,
tr > &-in-view${le}-range-hover-end:first-child::after,
&-in-view${le}-start${le}-range-hover-edge-start${le}-range-hover-edge-start-near-range::after,
&-in-view${le}-range-hover-edge-start:not(${le}-range-hover-edge-start-near-range)::after,
&-in-view${le}-range-hover-start::after`]:{insetInlineStart:(Bn-ve)/2,borderInlineStart:`${ct}px dashed ${at}`,borderStartStartRadius:Ae,borderEndStartRadius:Ae},[`tr > &-in-view${le}-range-hover:last-child::after,
tr > &-in-view${le}-range-hover-start:last-child::after,
&-in-view${le}-end${le}-range-hover-edge-end${le}-range-hover-edge-end-near-range::after,
&-in-view${le}-range-hover-edge-end:not(${le}-range-hover-edge-end-near-range)::after,
&-in-view${le}-range-hover-end::after`]:{insetInlineEnd:(Bn-ve)/2,borderInlineEnd:`${ct}px dashed ${at}`,borderStartEndRadius:Ae,borderEndEndRadius:Ae},"&-disabled":{color:un,pointerEvents:"none",[ge]:{background:"transparent"},"&::before":{background:sn}},[`&-disabled${le}-today ${ge}::before`]:{borderColor:un}}},mo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:ge,pickerYearMonthCellWidth:ve,pickerControlIconSize:De,cellWidth:Ae,paddingSM:Je,paddingXS:qe,paddingXXS:ct,colorBgContainer:Vt,lineWidth:mt,lineType:St,borderRadiusLG:bt,colorPrimary:Nt,colorTextHeading:at,colorSplit:xt,pickerControlIconBorderWidth:_t,colorIcon:Bn,textHeight:un,motionDurationMid:sn,colorIconHover:qn,fontWeightStrong:rn,cellHeight:dn,pickerCellPaddingVertical:wa,colorTextDisabled:aa,colorText:La,fontSize:fa,cellHoverWithRangeBg:nr,motionDurationSlow:wr,withoutTimeCellHeight:Vr,pickerQuarterPanelContentHeight:ar,colorLink:lr,colorLinkActive:ka,colorLinkHover:Yr,cellRangeBorderColor:Sr,borderRadiusSM:Lr,colorTextLightSolid:Mo,cellHoverBg:To,timeColumnHeight:Uo,timeColumnWidth:Pi,timeCellHeight:No,controlItemBgActive:ci,marginXXS:io,pickerDatePanelPaddingHorizontal:vo}=te,Fo=Ae*7+vo*2,ui=(Fo-qe*2)/3-ve-Je,mi=(Fo-qe*2)/4-ve;return{[ie]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Vt,border:`${mt}px ${St} ${xt}`,borderRadius:bt,outline:"none","&-focused":{borderColor:Nt},"&-rtl":{direction:"rtl",[`${ie}-prev-icon,
${ie}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ie}-next-icon,
${ie}-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:Fo},"&-header":{display:"flex",padding:`0 ${qe}px`,color:at,borderBottom:`${mt}px ${St} ${xt}`,"> *":{flex:"none"},button:{padding:0,color:Bn,lineHeight:`${un}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${sn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:fa,"&:hover":{color:qn}},"&-view":{flex:"auto",fontWeight:rn,lineHeight:`${un}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:qe},"&:hover":{color:Nt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:De,height:De,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:De,height:De,border:"0 solid currentcolor",borderBlockStartWidth:_t,borderBlockEndWidth:0,borderInlineStartWidth:_t,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(De/2),insetInlineStart:Math.ceil(De/2),display:"inline-block",width:De,height:De,border:"0 solid currentcolor",borderBlockStartWidth:_t,borderBlockEndWidth:0,borderInlineStartWidth:_t,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:dn,fontWeight:"normal"},th:{height:dn+wa*2,color:La,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${wa}px 0`,color:aa,cursor:"pointer","&-in-view":{color:La}},Bo(te)),[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-start ${ge},
&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${ge}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:nr,transition:`all ${wr}`,content:'""'}},[`&-date-panel
${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-start
${ge}::after`]:{insetInlineEnd:-(Ae-dn)/2,insetInlineStart:0},[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${ge}::after`]:{insetInlineEnd:0,insetInlineStart:-(Ae-dn)/2},[`&-range-hover${ie}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-content`]:{height:Vr*4},[ge]:{padding:`0 ${qe}px`}},"&-quarter-panel":{[`${ie}-content`]:{height:ar},[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:mi,borderInlineStart:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:mi,borderInlineEnd:`${mt}px dashed ${Sr}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:mi,borderInlineEnd:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineStart:mi,borderInlineStart:`${mt}px dashed ${Sr}`}}},[`&-panel ${ie}-footer`]:{borderTop:`${mt}px ${St} ${xt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${un-2*mt}px`,textAlign:"center","&-extra":{padding:`0 ${Je}px`,lineHeight:`${un-2*mt}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${mt}px ${St} ${xt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:lr,"&:hover":{color:Yr},"&:active":{color:ka},[`&${ie}-today-btn-disabled`]:{color:aa,cursor:"not-allowed"}},"&-decade-panel":{[ge]:{padding:`0 ${qe/2}px`},[`${ie}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-body`]:{padding:`0 ${qe}px`},[ge]:{width:ve},[`${ie}-cell-range-hover-start::after`]:{borderStartStartRadius:Lr,borderEndStartRadius:Lr,borderStartEndRadius:0,borderEndEndRadius:0,[`${ie}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Lr,borderEndEndRadius:Lr}},[`${ie}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Lr,borderEndEndRadius:Lr,[`${ie}-panel-rtl &`]:{borderStartStartRadius:Lr,borderEndStartRadius:Lr,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:ui,borderInlineStart:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:ui,borderInlineEnd:`${mt}px dashed ${Sr}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:ui,borderInlineEnd:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineStart:ui,borderInlineStart:`${mt}px dashed ${Sr}`}}},"&-week-panel":{[`${ie}-body`]:{padding:`${qe}px ${Je}px`},[`${ie}-cell`]:{[`&:hover ${ge},
&-selected ${ge},
${ge}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${sn}`},"&:first-child:before":{borderStartStartRadius:Lr,borderEndStartRadius:Lr},"&:last-child:before":{borderStartEndRadius:Lr,borderEndEndRadius:Lr}},"&:hover td":{"&:before":{background:To}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${le}`]:{"&:before":{background:Nt},[`&${ie}-cell-week`]:{color:new Na.C(Mo).setAlpha(.5).toHexString()},[ge]:{color:Mo}}},"&-range-hover td:before":{background:ci}}},"&-date-panel":{[`${ie}-body`]:{padding:`${qe}px ${vo}px`},[`${ie}-content`]:{width:Ae*7,th:{width:Ae,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ie}-time-panel`]:{borderInlineStart:`${mt}px ${St} ${xt}`},[`${ie}-date-panel,
${ie}-time-panel`]:{transition:`opacity ${wr}`},"&-active":{[`${ie}-date-panel,
${ie}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ie}-content`]:{display:"flex",flex:"auto",height:Uo},"&-column":{flex:"1 0 auto",width:Pi,margin:`${ct}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${sn}`,overflowX:"hidden","&::after":{display:"block",height:Uo-No,content:'""'},"&:not(:first-child)":{borderInlineStart:`${mt}px ${St} ${xt}`},"&-active":{background:new Na.C(ci).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ie}-time-panel-cell`]:{marginInline:io,[`${ie}-time-panel-cell-inner`]:{display:"block",width:Pi-2*io,height:No,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Pi-No)/2,color:La,lineHeight:`${No}px`,borderRadius:Lr,cursor:"pointer",transition:`background ${sn}`,"&:hover":{background:To}},"&-selected":{[`${ie}-time-panel-cell-inner`]:{background:ci}},"&-disabled":{[`${ie}-time-panel-cell-inner`]:{color:aa,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ie}-time-panel-column:after`]:{height:Uo-No+ct*2}}}},gi=te=>{const{componentCls:ie,colorBgContainer:le,colorError:ge,errorActiveShadow:ve,colorWarning:De,warningActiveShadow:Ae}=te;return{[`${ie}:not(${ie}-disabled)`]:{[`&${ie}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:ge},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ga.M1)((0,Ha.TS)(te,{activeBorderColor:ge,activeShadow:ve}))),[`${ie}-active-bar`]:{background:ge}},[`&${ie}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:De},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ga.M1)((0,Ha.TS)(te,{activeBorderColor:De,activeShadow:Ae}))),[`${ie}-active-bar`]:{background:De}}}}},fi=te=>{const{componentCls:ie,antCls:le,controlHeight:ge,fontSize:ve,paddingInline:De,colorBgContainer:Ae,lineWidth:Je,lineType:qe,colorBorder:ct,borderRadius:Vt,motionDurationMid:mt,colorBgContainerDisabled:St,colorTextDisabled:bt,colorTextPlaceholder:Nt,controlHeightLG:at,fontSizeLG:xt,controlHeightSM:_t,paddingInlineSM:Bn,paddingXS:un,marginXS:sn,colorTextDescription:qn,lineWidthBold:rn,lineHeight:dn,colorPrimary:wa,motionDurationSlow:aa,zIndexPopup:La,paddingXXS:fa,paddingSM:nr,textHeight:wr,cellActiveWithRangeBg:Vr,colorPrimaryBorder:ar,sizePopupArrow:lr,borderRadiusXS:ka,borderRadiusOuter:Yr,colorBgElevated:Sr,borderRadiusLG:Lr,boxShadowSecondary:Mo,borderRadiusSM:To,colorSplit:Uo,cellHoverBg:Pi,presetsWidth:No,presetsMaxWidth:ci,boxShadowPopoverArrow:io,colorTextQuaternary:vo}=te;return[{[ie]:Object.assign(Object.assign(Object.assign({},(0,la.Wf)(te)),Kr(te,ge,ve,De)),{position:"relative",display:"inline-flex",alignItems:"center",background:Ae,lineHeight:1,border:`${Je}px ${qe} ${ct}`,borderRadius:Vt,transition:`border ${mt}, box-shadow ${mt}`,"&:hover, &-focused":Object.assign({},(0,ga.pU)(te)),"&-focused":Object.assign({},(0,ga.M1)(te)),[`&${ie}-disabled`]:{background:St,borderColor:ct,cursor:"not-allowed",[`${ie}-suffix`]:{color:vo}},[`&${ie}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ie}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ga.ik)(te)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ie}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Nt}}},"&-large":Object.assign(Object.assign({},Kr(te,at,xt,De)),{[`${ie}-input > input`]:{fontSize:xt}}),"&-small":Object.assign({},Kr(te,_t,ve,Bn)),[`${ie}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:un/2,color:bt,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:sn}}},[`${ie}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:bt,lineHeight:1,background:Ae,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${mt}, color ${mt}`,"> *":{verticalAlign:"top"},"&:hover":{color:qn}},[`${ie}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:xt,color:bt,fontSize:xt,verticalAlign:"top",cursor:"default",[`${ie}-focused &`]:{color:qn},[`${ie}-range-separator &`]:{[`${ie}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ie}-clear`]:{insetInlineEnd:De},"&:hover":{[`${ie}-clear`]:{opacity:1}},[`${ie}-active-bar`]:{bottom:-Je,height:rn,marginInlineStart:De,background:wa,opacity:0,transition:`all ${aa} ease-out`,pointerEvents:"none"},[`&${ie}-focused`]:{[`${ie}-active-bar`]:{opacity:1}},[`${ie}-range-separator`]:{alignItems:"center",padding:`0 ${un}px`,lineHeight:1},[`&${ie}-small`]:{[`${ie}-clear`]:{insetInlineEnd:Bn},[`${ie}-active-bar`]:{marginInlineStart:Bn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,la.Wf)(te)),mo(te)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:La,[`&${ie}-dropdown-hidden`]:{display:"none"},[`&${ie}-dropdown-placement-bottomLeft`]:{[`${ie}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ie}-dropdown-placement-topLeft`]:{[`${ie}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topLeft,
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topRight,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topLeft,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topRight`]:{animationName:vr.Qt},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomLeft,
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomRight,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomLeft,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomRight`]:{animationName:vr.fJ},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topLeft,
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topRight`]:{animationName:vr.ly},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomLeft,
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomRight`]:{animationName:vr.Uw},[`${ie}-panel > ${ie}-time-panel`]:{paddingTop:fa},[`${ie}-ranges`]:{marginBottom:0,padding:`${fa}px ${nr}px`,overflow:"hidden",lineHeight:`${wr-2*Je-un/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ie}-preset > ${le}-tag-blue`]:{color:wa,background:Vr,borderColor:ar,cursor:"pointer"},[`${ie}-ok`]:{marginInlineStart:"auto"}},[`${ie}-range-wrapper`]:{display:"flex",position:"relative"},[`${ie}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:De*1.5,transition:`left ${aa} ease-out`},(0,Da.r)(lr,ka,Yr,Sr,io)),[`${ie}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Sr,borderRadius:Lr,boxShadow:Mo,transition:`margin ${aa}`,[`${ie}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ie}-presets`]:{display:"flex",flexDirection:"column",minWidth:No,maxWidth:ci,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:un,borderInlineEnd:`${Je}px ${qe} ${Uo}`,li:Object.assign(Object.assign({},la.vS),{borderRadius:To,paddingInline:un,paddingBlock:(_t-Math.round(ve*dn))/2,cursor:"pointer",transition:`all ${aa}`,"+ li":{marginTop:sn},"&:hover":{background:Pi}})}},[`${ie}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ie}-panel`]:{borderWidth:`0 0 ${Je}px`},"&:last-child":{[`${ie}-panel`]:{borderWidth:0}}},[`${ie}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ie}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:ct}}}}),"&-dropdown-range":{padding:`${lr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ie}-separator`]:{transform:"rotate(180deg)"},[`${ie}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,vr.oN)(te,"slide-up"),(0,vr.oN)(te,"slide-down"),(0,Er.Fm)(te,"move-up"),(0,Er.Fm)(te,"move-down")]},Fr=te=>{const{componentCls:ie,controlHeightLG:le,paddingXXS:ge,padding:ve}=te;return{pickerCellCls:`${ie}-cell`,pickerCellInnerCls:`${ie}-cell-inner`,pickerYearMonthCellWidth:le*1.5,pickerQuarterPanelContentHeight:le*1.4,pickerCellPaddingVertical:ge+ge/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ve+ge/2}},Di=te=>({cellHoverBg:te.controlItemBgHover,cellActiveWithRangeBg:te.controlItemBgActive,cellHoverWithRangeBg:new Na.C(te.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Na.C(te.colorPrimary).lighten(20).toHexString(),cellBgDisabled:te.colorBgContainerDisabled,timeColumnWidth:te.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:te.controlHeightSM*1.5,cellHeight:te.controlHeightSM,textHeight:te.controlHeightLG,withoutTimeCellHeight:te.controlHeightLG*1.65});var na=(0,Or.Z)("DatePicker",te=>{const ie=(0,Ha.TS)((0,ga.e5)(te),Fr(te));return[fi(ie),gi(ie),(0,Wa.c)(te,{focusElCls:`${te.componentCls}-focused`})]},te=>Object.assign(Object.assign(Object.assign({},(0,ga.TM)(te)),Di(te)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:te.zIndexPopupBase+50}));function or(te,ie,le){return le!==void 0?le:ie==="year"&&te.lang.yearPlaceholder?te.lang.yearPlaceholder:ie==="quarter"&&te.lang.quarterPlaceholder?te.lang.quarterPlaceholder:ie==="month"&&te.lang.monthPlaceholder?te.lang.monthPlaceholder:ie==="week"&&te.lang.weekPlaceholder?te.lang.weekPlaceholder:ie==="time"&&te.timePickerLocale.placeholder?te.timePickerLocale.placeholder:te.lang.placeholder}function jr(te,ie,le){return le!==void 0?le:ie==="year"&&te.lang.yearPlaceholder?te.lang.rangeYearPlaceholder:ie==="quarter"&&te.lang.quarterPlaceholder?te.lang.rangeQuarterPlaceholder:ie==="month"&&te.lang.monthPlaceholder?te.lang.rangeMonthPlaceholder:ie==="week"&&te.lang.weekPlaceholder?te.lang.rangeWeekPlaceholder:ie==="time"&&te.timePickerLocale.placeholder?te.timePickerLocale.rangePlaceholder:te.lang.rangePlaceholder}function Io(te,ie){const le={adjustX:1,adjustY:1};switch(ie){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:le};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:le};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:le};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:le};default:return{points:te==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:le}}}function ba(te){return te?Array.isArray(te)?te:[te]:[]}function Ja(te){const{format:ie,picker:le,showHour:ge,showMinute:ve,showSecond:De,use12Hours:Ae}=te,Je=ba(ie)[0],qe=Object.assign({},te);return ie&&Array.isArray(ie)&&(qe.format=Je),Je&&typeof Je=="string"&&(!Je.includes("s")&&De===void 0&&(qe.showSecond=!1),!Je.includes("m")&&ve===void 0&&(qe.showMinute=!1),!Je.includes("H")&&!Je.includes("h")&&!Je.includes("K")&&!Je.includes("k")&&ge===void 0&&(qe.showHour=!1),(Je.includes("a")||Je.includes("A"))&&Ae===void 0&&(qe.use12Hours=!0)),le==="time"?qe:(typeof Je=="function"&&delete qe.format,{showTime:qe})}function tr(te,ie,le){if(te===!1)return!1;const ge={clearIcon:ie!=null?ie:le};return typeof te=="object"?Object.assign(Object.assign({},ge),te):ge}var Ua=ee(71577);function po(te){return ne.createElement(Ua.ZP,Object.assign({size:"small",type:"primary"},te))}var Ir={button:po},Ao=function(te,ie){var le={};for(var ge in te)Object.prototype.hasOwnProperty.call(te,ge)&&ie.indexOf(ge)<0&&(le[ge]=te[ge]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ge=Object.getOwnPropertySymbols(te);ve<ge.length;ve++)ie.indexOf(ge[ve])<0&&Object.prototype.propertyIsEnumerable.call(te,ge[ve])&&(le[ge[ve]]=te[ge[ve]]);return le};function yo(te){return(0,ne.forwardRef)((le,ge)=>{const{prefixCls:ve,getPopupContainer:De,className:Ae,placement:Je,size:qe,disabled:ct,bordered:Vt=!0,placeholder:mt,popupClassName:St,dropdownClassName:bt,status:Nt,clearIcon:at,allowClear:xt,rootClassName:_t}=le,Bn=Ao(le,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),un=ne.useRef(null),{getPrefixCls:sn,direction:qn,getPopupContainer:rn}=(0,ne.useContext)(sa.E_),dn=sn("picker",ve),{compactSize:wa,compactItemClassnames:aa}=(0,Dr.ri)(dn,qn),{format:La,showTime:fa,picker:nr}=le,wr=sn(),[Vr,ar]=na(dn),lr=Object.assign(Object.assign({},fa?Ja(Object.assign({format:La,picker:nr},fa)):{}),nr==="time"?Ja(Object.assign(Object.assign({format:La},le),{picker:nr})):{}),ka=(0,Qa.Z)(io=>{var vo;return(vo=qe!=null?qe:wa)!==null&&vo!==void 0?vo:io}),Yr=ne.useContext(Ra.Z),Sr=ct!=null?ct:Yr,Lr=(0,ne.useContext)(Ba.aM),{hasFeedback:Mo,status:To,feedbackIcon:Uo}=Lr,Pi=ne.createElement(ne.Fragment,null,nr==="time"?ne.createElement(Ue,null):ne.createElement(Se,null),Mo&&Uo);(0,ne.useImperativeHandle)(ge,()=>({focus:()=>{var io;return(io=un.current)===null||io===void 0?void 0:io.focus()},blur:()=>{var io;return(io=un.current)===null||io===void 0?void 0:io.blur()}}));const[No]=(0,fr.Z)("Calendar",Pa.Z),ci=Object.assign(Object.assign({},No),le.locale);return Vr(ne.createElement(Rn,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${dn}-separator`},ne.createElement(dt,null)),disabled:Sr,ref:un,dropdownAlign:Io(qn,Je),placeholder:jr(ci,nr,mt),suffixIcon:Pi,prevIcon:ne.createElement("span",{className:`${dn}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${dn}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${dn}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${dn}-super-next-icon`}),transitionName:`${wr}-slide-up`},Bn,lr,{className:an()({[`${dn}-${ka}`]:ka,[`${dn}-borderless`]:!Vt},(0,Hn.Z)(dn,(0,Hn.F)(To,Nt),Mo),ar,aa,Ae,_t),locale:ci.lang,prefixCls:dn,getPopupContainer:De||rn,generateConfig:te,components:Ir,direction:qn,dropdownClassName:an()(ar,St||bt,_t),allowClear:tr(xt,at,ne.createElement(ft.Z,null))})))})}var Bl=function(te,ie){var le={};for(var ge in te)Object.prototype.hasOwnProperty.call(te,ge)&&ie.indexOf(ge)<0&&(le[ge]=te[ge]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ge=Object.getOwnPropertySymbols(te);ve<ge.length;ve++)ie.indexOf(ge[ve])<0&&Object.prototype.propertyIsEnumerable.call(te,ge[ve])&&(le[ge[ve]]=te[ge[ve]]);return le};function Pl(te){function ie(qe,ct){const Vt=ct==="TimePicker"?"timePicker":"datePicker",mt=(0,ne.forwardRef)((St,bt)=>{const{prefixCls:Nt,getPopupContainer:at,style:xt,className:_t,rootClassName:Bn,size:un,bordered:sn=!0,placement:qn,placeholder:rn,popupClassName:dn,dropdownClassName:wa,disabled:aa,status:La,clearIcon:fa,allowClear:nr}=St,wr=Bl(St,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Vr,direction:ar,getPopupContainer:lr,[Vt]:ka}=(0,ne.useContext)(sa.E_),Yr=Vr("picker",Nt),{compactSize:Sr,compactItemClassnames:Lr}=(0,Dr.ri)(Yr,ar),Mo=ne.useRef(null),{format:To,showTime:Uo}=St,[Pi,No]=na(Yr);(0,ne.useImperativeHandle)(bt,()=>({focus:()=>{var Ko;return(Ko=Mo.current)===null||Ko===void 0?void 0:Ko.focus()},blur:()=>{var Ko;return(Ko=Mo.current)===null||Ko===void 0?void 0:Ko.blur()}}));const ci={showToday:!0};let io={};qe&&(io.picker=qe);const vo=qe||St.picker;io=Object.assign(Object.assign(Object.assign({},io),Uo?Ja(Object.assign({format:To,picker:vo},Uo)):{}),vo==="time"?Ja(Object.assign(Object.assign({format:To},St),{picker:vo})):{});const Fo=Vr(),ui=(0,Qa.Z)(Ko=>{var Ji;return(Ji=un!=null?un:Sr)!==null&&Ji!==void 0?Ji:Ko}),mi=ne.useContext(Ra.Z),Ki=aa!=null?aa:mi,vi=(0,ne.useContext)(Ba.aM),{hasFeedback:Cr,status:Zo,feedbackIcon:bo}=vi,Qr=ne.createElement(ne.Fragment,null,vo==="time"?ne.createElement(Ue,null):ne.createElement(Se,null),Cr&&bo),[_a]=(0,fr.Z)("DatePicker",Pa.Z),ao=Object.assign(Object.assign({},_a),St.locale);return Pi(ne.createElement(ta,Object.assign({ref:Mo,placeholder:or(ao,vo,rn),suffixIcon:Qr,dropdownAlign:Io(ar,qn),prevIcon:ne.createElement("span",{className:`${Yr}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Yr}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Yr}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Yr}-super-next-icon`}),transitionName:`${Fo}-slide-up`},ci,wr,io,{locale:ao.lang,className:an()({[`${Yr}-${ui}`]:ui,[`${Yr}-borderless`]:!sn},(0,Hn.Z)(Yr,(0,Hn.F)(Zo,La),Cr),No,Lr,ka==null?void 0:ka.className,_t,Bn),style:Object.assign(Object.assign({},ka==null?void 0:ka.style),xt),prefixCls:Yr,getPopupContainer:at||lr,generateConfig:te,components:Ir,direction:ar,disabled:Ki,dropdownClassName:an()(No,Bn,dn||wa),allowClear:tr(nr,fa,ne.createElement(ft.Z,null))})))});return ct&&(mt.displayName=ct),mt}const le=ie(),ge=ie("week","WeekPicker"),ve=ie("month","MonthPicker"),De=ie("year","YearPicker"),Ae=ie("time","TimePicker"),Je=ie("quarter","QuarterPicker");return{DatePicker:le,WeekPicker:ge,MonthPicker:ve,YearPicker:De,TimePicker:Ae,QuarterPicker:Je}}const Os=null;function Qi(te){const{DatePicker:ie,WeekPicker:le,MonthPicker:ge,YearPicker:ve,TimePicker:De,QuarterPicker:Ae}=Pl(te),Je=yo(te),qe=ie;return qe.WeekPicker=le,qe.MonthPicker=ge,qe.YearPicker=ve,qe.RangePicker=Je,qe.TimePicker=De,qe.QuarterPicker=Ae,qe}var hs=Qi;const xi=hs(z);function zl(te){const ie=Io(te.direction,te.placement);return ie.overflow.adjustY=!1,ie.overflow.adjustX=!1,Object.assign(Object.assign({},te),{dropdownAlign:ie})}const Cd=(0,re.Z)(xi,"picker",null,zl);xi._InternalPanelDoNotUseOrYouWillBeFired=Cd;const Go=(0,re.Z)(xi.RangePicker,"picker",null,zl);xi._InternalRangePanelDoNotUseOrYouWillBeFired=Go,xi.generatePicker=hs;var Wo=xi},96074:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return je}});var ae=ee(94184),me=ee.n(ae),Re=ee(67294),ze=ee(53124),Me=ee(14747),Te=ee(67968),se=ee(45503);const Ze=Le=>{const{componentCls:ce,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=Le;return{[ce]:Object.assign(Object.assign({},(0,Me.Wf)(Le)),{borderBlockStart:`${x}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Le.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ce}-with-text`]:{display:"flex",alignItems:"center",margin:`${Le.dividerHorizontalWithTextGutterMargin}px 0`,color:Le.colorTextHeading,fontWeight:500,fontSize:Le.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ce}-with-text-left`]:{"&::before":{width:`${E*100}%`},"&::after":{width:`${100-E*100}%`}},[`&-horizontal${ce}-with-text-right`]:{"&::before":{width:`${100-E*100}%`},"&::after":{width:`${E*100}%`}},[`${ce}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${ce}-with-text${ce}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ce}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ce}-with-text`]:{color:Le.colorText,fontWeight:"normal",fontSize:Le.fontSize},[`&-horizontal${ce}-with-text-left${ce}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ce}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${ce}-with-text-right${ce}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ce}-inner-text`]:{paddingInlineEnd:a}}})}};var Ke=(0,Te.Z)("Divider",Le=>{const ce=(0,se.TS)(Le,{dividerHorizontalWithTextGutterMargin:Le.margin,dividerHorizontalGutterMargin:Le.marginLG,sizePaddingEdgeHorizontal:0});return[Ze(ce)]},Le=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Le.marginXS})),He=function(Le,ce){var a={};for(var y in Le)Object.prototype.hasOwnProperty.call(Le,y)&&ce.indexOf(y)<0&&(a[y]=Le[y]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(Le);x<y.length;x++)ce.indexOf(y[x])<0&&Object.prototype.propertyIsEnumerable.call(Le,y[x])&&(a[y[x]]=Le[y[x]]);return a},je=Le=>{const{getPrefixCls:ce,direction:a,divider:y}=Re.useContext(ze.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:re,rootClassName:oe,children:ne,dashed:fe,plain:pe,style:ye}=Le,Ce=He(Le,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ee=ce("divider",x),[Se,gt]=Ke(Ee),Ye=E.length>0?`-${E}`:E,It=!!ne,Ue=E==="left"&&z!=null,ft=E==="right"&&z!=null,Tt=me()(Ee,y==null?void 0:y.className,gt,`${Ee}-${b}`,{[`${Ee}-with-text`]:It,[`${Ee}-with-text${Ye}`]:It,[`${Ee}-dashed`]:!!fe,[`${Ee}-plain`]:!!pe,[`${Ee}-rtl`]:a==="rtl",[`${Ee}-no-default-orientation-margin-left`]:Ue,[`${Ee}-no-default-orientation-margin-right`]:ft},re,oe),Qt=Re.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),wt=Object.assign(Object.assign({},Ue&&{marginLeft:Qt}),ft&&{marginRight:Qt});return Se(Re.createElement("div",Object.assign({className:Tt,style:Object.assign(Object.assign({},y==null?void 0:y.style),ye)},Ce,{role:"separator"}),ne&&b!=="vertical"&&Re.createElement("span",{className:`${Ee}-inner-text`,style:wt},ne)))}},56153:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Oc}});var ae=ee(67294),me=ee.t(ae,2),Re=ee(91034),ze=ee(94184),Me=ee.n(ze),Te=ee(87462),se=ee(4942),Ze=ee(97685),Ke=ee(45987),He=ee(1413),_e=ee(73935);function je(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Le={};function ce(Pe,ke){}function a(Pe,ke){}function y(){Le={}}function x(Pe,ke,Oe){!ke&&!Le[Oe]&&(Pe(!1,Oe),Le[Oe]=!0)}function b(Pe,ke){x(ce,Pe,ke)}function E(Pe,ke){x(a,Pe,ke)}var z=null,re=ee(71002),oe=ee(12060);function ne(Pe,ke,Oe){var ot=ae.useRef({});return(!("value"in ot.current)||Oe(ot.current.condition,ke))&&(ot.current.value=Pe(),ot.current.condition=ke),ot.current.value}function fe(Pe,ke){typeof Pe=="function"?Pe(ke):(0,re.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=ke)}function pe(){for(var Pe=arguments.length,ke=new Array(Pe),Oe=0;Oe<Pe;Oe++)ke[Oe]=arguments[Oe];var ot=ke.filter(function(Ot){return Ot});return ot.length<=1?ot[0]:function(Ot){ke.forEach(function(gn){fe(gn,Ot)})}}function ye(){for(var Pe=arguments.length,ke=new Array(Pe),Oe=0;Oe<Pe;Oe++)ke[Oe]=arguments[Oe];return ne(function(){return pe.apply(void 0,ke)},ke,function(ot,Ot){return ot.length===Ot.length&&ot.every(function(gn,vn){return gn===Ot[vn]})})}function Ce(Pe){var ke,Oe,ot=(0,oe.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof ot=="function"&&!((ke=ot.prototype)!==null&&ke!==void 0&&ke.render)||typeof Pe=="function"&&!((Oe=Pe.prototype)!==null&&Oe!==void 0&&Oe.render))}var Ee=ae.createContext(null),Se=Ee,gt=ee(74902),Ye=je()?ae.useLayoutEffect:ae.useEffect,It=Ye,Ue=function(ke,Oe){var ot=React.useRef(!0);Ye(function(){if(!ot.current)return ke()},Oe),Ye(function(){return ot.current=!1,function(){ot.current=!0}},[])},ft=[];function Tt(Pe,ke){var Oe=ae.useState(function(){if(!je())return null;var pr=document.createElement("div");return pr}),ot=(0,Ze.Z)(Oe,1),Ot=ot[0],gn=ae.useRef(!1),vn=ae.useContext(Se),ca=ae.useState(ft),Ea=(0,Ze.Z)(ca,2),ma=Ea[0],Ya=Ea[1],ha=vn||(gn.current?void 0:function(pr){Ya(function(uo){var eo=[pr].concat((0,gt.Z)(uo));return eo})});function qa(){Ot.parentElement||document.body.appendChild(Ot),gn.current=!0}function za(){var pr;(pr=Ot.parentElement)===null||pr===void 0||pr.removeChild(Ot),gn.current=!1}return It(function(){return Pe?vn?vn(qa):qa():za(),za},[Pe]),It(function(){ma.length&&(ma.forEach(function(pr){return pr()}),Ya(ft))},[ma]),[Ot,ha]}function Qt(Pe,ke){if(!Pe)return!1;if(Pe.contains)return Pe.contains(ke);for(var Oe=ke;Oe;){if(Oe===Pe)return!0;Oe=Oe.parentNode}return!1}var wt="data-rc-order",dt="rc-util-key",Gt=new Map;function an(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ke=Pe.mark;return ke?ke.startsWith("data-")?ke:"data-".concat(ke):dt}function pn(Pe){if(Pe.attachTo)return Pe.attachTo;var ke=document.querySelector("head");return ke||document.body}function $e(Pe){return Pe==="queue"?"prependQueue":Pe?"prepend":"append"}function Ct(Pe){return Array.from((Gt.get(Pe)||Pe).children).filter(function(ke){return ke.tagName==="STYLE"})}function Bt(Pe){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!je())return null;var Oe=ke.csp,ot=ke.prepend,Ot=document.createElement("style");Ot.setAttribute(wt,$e(ot)),Oe!=null&&Oe.nonce&&(Ot.nonce=Oe==null?void 0:Oe.nonce),Ot.innerHTML=Pe;var gn=pn(ke),vn=gn.firstChild;if(ot){if(ot==="queue"){var ca=Ct(gn).filter(function(Ea){return["prepend","prependQueue"].includes(Ea.getAttribute(wt))});if(ca.length)return gn.insertBefore(Ot,ca[ca.length-1].nextSibling),Ot}gn.insertBefore(Ot,vn)}else gn.appendChild(Ot);return Ot}function Tn(Pe){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=pn(ke);return Ct(Oe).find(function(ot){return ot.getAttribute(an(ke))===Pe})}function it(Pe){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=Tn(Pe,ke);if(Oe){var ot=pn(ke);ot.removeChild(Oe)}}function Mt(Pe,ke){var Oe=Gt.get(Pe);if(!Oe||!Qt(document,Oe)){var ot=Bt("",ke),Ot=ot.parentNode;Gt.set(Pe,Ot),Pe.removeChild(ot)}}function xe(){Gt.clear()}function Sn(Pe,ke){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ot=pn(Oe);Mt(ot,Oe);var Ot=Tn(ke,Oe);if(Ot){var gn,vn;if((gn=Oe.csp)!==null&&gn!==void 0&&gn.nonce&&Ot.nonce!==((vn=Oe.csp)===null||vn===void 0?void 0:vn.nonce)){var ca;Ot.nonce=(ca=Oe.csp)===null||ca===void 0?void 0:ca.nonce}return Ot.innerHTML!==Pe&&(Ot.innerHTML=Pe),Ot}var Ea=Bt(Pe,Oe);return Ea.setAttribute(an(Oe),ke),Ea}var Wn;function Ca(Pe){if(typeof document=="undefined")return 0;if(Pe||Wn===void 0){var ke=document.createElement("div");ke.style.width="100%",ke.style.height="200px";var Oe=document.createElement("div"),ot=Oe.style;ot.position="absolute",ot.top="0",ot.left="0",ot.pointerEvents="none",ot.visibility="hidden",ot.width="200px",ot.height="150px",ot.overflow="hidden",Oe.appendChild(ke),document.body.appendChild(Oe);var Ot=ke.offsetWidth;Oe.style.overflow="scroll";var gn=ke.offsetWidth;Ot===gn&&(gn=Oe.clientWidth),document.body.removeChild(Oe),Wn=Ot-gn}return Wn}function yn(Pe){var ke=Pe.match(/^(.*)px$/),Oe=Number(ke==null?void 0:ke[1]);return Number.isNaN(Oe)?Ca():Oe}function Yt(Pe){if(typeof document=="undefined"||!Pe||!(Pe instanceof Element))return{width:0,height:0};var ke=getComputedStyle(Pe,"::-webkit-scrollbar"),Oe=ke.width,ot=ke.height;return{width:yn(Oe),height:yn(ot)}}function Ge(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Fe="rc-util-locker-".concat(Date.now()),pt=0;function zt(Pe){var ke=!!Pe,Oe=ae.useState(function(){return pt+=1,"".concat(Fe,"_").concat(pt)}),ot=(0,Ze.Z)(Oe,1),Ot=ot[0];It(function(){if(ke){var gn=Yt(document.body).width,vn=Ge();Sn(`
html body {
overflow-y: hidden;
`.concat(vn?"width: calc(100% - ".concat(gn,"px);"):"",`
}`),Ot)}else it(Ot);return function(){it(Ot)}},[ke,Ot])}var en=!1;function En(Pe){return typeof Pe=="boolean"&&(en=Pe),en}var kn=function(ke){return ke===!1?!1:!je()||!ke?null:typeof ke=="string"?document.querySelector(ke):typeof ke=="function"?ke():ke},_n=ae.forwardRef(function(Pe,ke){var Oe=Pe.open,ot=Pe.autoLock,Ot=Pe.getContainer,gn=Pe.debug,vn=Pe.autoDestroy,ca=vn===void 0?!0:vn,Ea=Pe.children,ma=ae.useState(Oe),Ya=(0,Ze.Z)(ma,2),ha=Ya[0],qa=Ya[1],za=ha||Oe;ae.useEffect(function(){(ca||Oe)&&qa(Oe)},[Oe,ca]);var pr=ae.useState(function(){return kn(Ot)}),uo=(0,Ze.Z)(pr,2),eo=uo[0],So=uo[1];ae.useEffect(function(){var Si=kn(Ot);So(Si!=null?Si:null)});var Ur=Tt(za&&!eo,gn),br=(0,Ze.Z)(Ur,2),er=br[0],li=br[1],jo=eo!=null?eo:er;zt(ot&&Oe&&je()&&(jo===er||jo===document.body));var si=null;if(Ea&&Ce(Ea)&&ke){var pi=Ea;si=pi.ref}var Ui=ye(si,ke);if(!za||!je()||eo===void 0)return null;var Qo=jo===!1||En(),Po=Ea;return ke&&(Po=ae.cloneElement(Ea,{ref:Ui})),ae.createElement(Se.Provider,{value:li},Qo?Po:(0,_e.createPortal)(Po,jo))}),Gn=_n,nn=Gn,we=ee(48555);function Qe(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function Qn(Pe){return Qe(Pe)?Pe:Pe instanceof React.Component?ReactDOM.findDOMNode(Pe):null}function Kn(Pe){var ke;return Pe==null||(ke=Pe.getRootNode)===null||ke===void 0?void 0:ke.call(Pe)}function lt(Pe){return Kn(Pe)instanceof ShadowRoot}function tn(Pe){return lt(Pe)?Kn(Pe):null}function We(Pe){var ke=ae.useRef();ke.current=Pe;var Oe=ae.useCallback(function(){for(var ot,Ot=arguments.length,gn=new Array(Ot),vn=0;vn<Ot;vn++)gn[vn]=arguments[vn];return(ot=ke.current)===null||ot===void 0?void 0:ot.call.apply(ot,[ke].concat(gn))},[]);return Oe}function ut(){var Pe=(0,He.Z)({},me);return Pe.useId}var Ft=0;function $t(){}var Rt=ut(),bn=Rt?function(ke){var Oe=Rt();return ke||Oe}:function(ke){var Oe=ae.useState("ssr-id"),ot=(0,Ze.Z)(Oe,2),Ot=ot[0],gn=ot[1];return ae.useEffect(function(){var vn=Ft;Ft+=1,gn("rc_unique_".concat(vn))},[]),ke||Ot};function ra(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Yn=ra()?ae.useLayoutEffect:ae.useEffect,jn=function(ke,Oe){var ot=ae.useRef(!0);Yn(function(){return ke(ot.current)},Oe),Yn(function(){return ot.current=!1,function(){ot.current=!0}},[])},Ga=function(ke,Oe){jn(function(ot){if(!ot)return ke()},Oe)},oa=jn,Ka=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))},Pr=ae.createContext(null),Tr=Pr;function Xr(Pe){return Pe?Array.isArray(Pe)?Pe:[Pe]:[]}function Rr(Pe,ke,Oe,ot){return ae.useMemo(function(){var Ot=Xr(Oe!=null?Oe:ke),gn=Xr(ot!=null?ot:ke),vn=new Set(Ot),ca=new Set(gn);return Pe&&(vn.has("hover")&&(vn.delete("hover"),vn.add("click")),ca.has("hover")&&(ca.delete("hover"),ca.add("click"))),[vn,ca]},[Pe,ke,Oe,ot])}var Br=function(Pe){if(!Pe)return!1;if(Pe instanceof Element){if(Pe.offsetParent)return!0;if(Pe.getBBox){var ke=Pe.getBBox(),Oe=ke.width,ot=ke.height;if(Oe||ot)return!0}if(Pe.getBoundingClientRect){var Ot=Pe.getBoundingClientRect(),gn=Ot.width,vn=Ot.height;if(gn||vn)return!0}}return!1};function to(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Oe=arguments.length>2?arguments[2]:void 0;return Oe?Pe[0]===ke[0]:Pe[0]===ke[0]&&Pe[1]===ke[1]}function lo(Pe,ke,Oe,ot){for(var Ot=Oe.points,gn=Object.keys(Pe),vn=0;vn<gn.length;vn+=1){var ca,Ea=gn[vn];if(to((ca=Pe[Ea])===null||ca===void 0?void 0:ca.points,Ot,ot))return"".concat(ke,"-placement-").concat(Ea)}return""}function gr(Pe,ke,Oe,ot){return ke||(Oe?{motionName:"".concat(Pe,"-").concat(Oe)}:ot?{motionName:ot}:null)}function Pn(Pe){return Pe.ownerDocument.defaultView}function Zn(Pe){for(var ke=[],Oe=Pe==null?void 0:Pe.parentElement,ot=["hidden","scroll","clip","auto"];Oe;){var Ot=Pn(Oe).getComputedStyle(Oe),gn=Ot.overflowX,vn=Ot.overflowY,ca=Ot.overflow;[gn,vn,ca].some(function(Ea){return ot.includes(Ea)})&&ke.push(Oe),Oe=Oe.parentElement}return ke}function Ln(Pe){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Pe)?ke:Pe}function Nn(Pe){return Ln(parseFloat(Pe),0)}function Oa(Pe,ke){var Oe=(0,He.Z)({},Pe);return(ke||[]).forEach(function(ot){if(!(ot instanceof HTMLBodyElement||ot instanceof HTMLHtmlElement)){var Ot=Pn(ot).getComputedStyle(ot),gn=Ot.overflow,vn=Ot.overflowClipMargin,ca=Ot.borderTopWidth,Ea=Ot.borderBottomWidth,ma=Ot.borderLeftWidth,Ya=Ot.borderRightWidth,ha=ot.getBoundingClientRect(),qa=ot.offsetHeight,za=ot.clientHeight,pr=ot.offsetWidth,uo=ot.clientWidth,eo=Nn(ca),So=Nn(Ea),Ur=Nn(ma),br=Nn(Ya),er=Ln(Math.round(ha.width/pr*1e3)/1e3),li=Ln(Math.round(ha.height/qa*1e3)/1e3),jo=(pr-uo-Ur-br)*er,si=(qa-za-eo-So)*li,pi=eo*li,Ui=So*li,Qo=Ur*er,Po=br*er,Si=0,Mi=0;if(gn==="clip"){var qo=Nn(vn);Si=qo*er,Mi=qo*li}var fo=ha.x+Qo-Si,zo=ha.y+pi-Mi,Gr=fo+ha.width+2*Si-Qo-Po-jo,Ii=zo+ha.height+2*Mi-pi-Ui-si;Oe.left=Math.max(Oe.left,fo),Oe.top=Math.max(Oe.top,zo),Oe.right=Math.min(Oe.right,Gr),Oe.bottom=Math.min(Oe.bottom,Ii)}}),Oe}function Ar(Pe){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Oe="".concat(ke),ot=Oe.match(/^(.*)\%$/);return ot?Pe*(parseFloat(ot[1])/100):parseFloat(Oe)}function zn(Pe,ke){var Oe=ke||[],ot=(0,Ze.Z)(Oe,2),Ot=ot[0],gn=ot[1];return[Ar(Pe.width,Ot),Ar(Pe.height,gn)]}function et(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Pe[0],Pe[1]]}function st(Pe,ke){var Oe=ke[0],ot=ke[1],Ot,gn;return Oe==="t"?gn=Pe.y:Oe==="b"?gn=Pe.y+Pe.height:gn=Pe.y+Pe.height/2,ot==="l"?Ot=Pe.x:ot==="r"?Ot=Pe.x+Pe.width:Ot=Pe.x+Pe.width/2,{x:Ot,y:gn}}function Ve(Pe,ke){var Oe={t:"b",b:"t",l:"r",r:"l"};return Pe.map(function(ot,Ot){return Ot===ke?Oe[ot]||"c":ot}).join("")}function Kt(Pe,ke,Oe,ot,Ot,gn,vn){var ca=ae.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ot[ot]||{}}),Ea=(0,Ze.Z)(ca,2),ma=Ea[0],Ya=Ea[1],ha=ae.useRef(0),qa=ae.useMemo(function(){return ke?Zn(ke):[]},[ke]),za=ae.useRef({}),pr=function(){za.current={}};Pe||pr();var uo=We(function(){if(ke&&Oe&&Pe){let Wa=function(Er,Ha){var Or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ti,Kr=ko.x+Er,Bo=ko.y+Ha,mo=Kr+Ho,gi=Bo+Ni,fi=Math.max(Kr,Or.left),Fr=Math.max(Bo,Or.top),Di=Math.min(mo,Or.right),na=Math.min(gi,Or.bottom);return Math.max(0,(Di-fi)*(na-Fr))},vr=function(){Ls=ko.y+ri,Ys=Ls+Ni,Qs=ko.x+Zi,Js=Qs+Ho};var Ur,br,er=ke,li=er.ownerDocument,jo=Pn(er),si=jo.getComputedStyle(er),pi=si.width,Ui=si.height,Qo=si.position,Po=er.style.left,Si=er.style.top,Mi=er.style.right,qo=er.style.bottom,fo=(0,He.Z)((0,He.Z)({},Ot[ot]),gn),zo=li.createElement("div");(Ur=er.parentElement)===null||Ur===void 0||Ur.appendChild(zo),zo.style.left="".concat(er.offsetLeft,"px"),zo.style.top="".concat(er.offsetTop,"px"),zo.style.position=Qo,zo.style.height="".concat(er.offsetHeight,"px"),zo.style.width="".concat(er.offsetWidth,"px"),er.style.left="0",er.style.top="0",er.style.right="auto",er.style.bottom="auto";var Gr;if(Array.isArray(Oe))Gr={x:Oe[0],y:Oe[1],width:0,height:0};else{var Ii=Oe.getBoundingClientRect();Gr={x:Ii.x,y:Ii.y,width:Ii.width,height:Ii.height}}var ko=er.getBoundingClientRect(),Gi=li.documentElement,ul=Gi.clientWidth,Vi=Gi.clientHeight,Il=Gi.scrollWidth,Tl=Gi.scrollHeight,Oo=Gi.scrollTop,Nl=Gi.scrollLeft,Ni=ko.height,Ho=ko.width,di=Gr.height,gl=Gr.width,Yl={left:0,top:0,right:ul,bottom:Vi},us={left:-Nl,top:-Oo,right:Il-Nl,bottom:Tl-Oo},ll=fo.htmlRegion,Fi="visible",El="visibleFirst";ll!=="scroll"&&ll!==El&&(ll=Fi);var Yi=ll===El,$o=Oa(us,qa),Mr=Oa(Yl,qa),Ti=ll===Fi?Mr:$o,Dl=Yi?Mr:Ti;er.style.left="auto",er.style.top="auto",er.style.right="0",er.style.bottom="0";var gs=er.getBoundingClientRect();er.style.left=Po,er.style.top=Si,er.style.right=Mi,er.style.bottom=qo,(br=er.parentElement)===null||br===void 0||br.removeChild(zo);var xs=Ln(Math.round(Ho/parseFloat(pi)*1e3)/1e3),_l=Ln(Math.round(Ni/parseFloat(Ui)*1e3)/1e3);if(xs===0||_l===0||Qe(Oe)&&!Br(Oe))return;var Ws=fo.offset,fd=fo.targetOffset,fs=zn(ko,Ws),Jd=(0,Ze.Z)(fs,2),es=Jd[0],ms=Jd[1],md=zn(Gr,fd),Ss=(0,Ze.Z)(md,2),Fd=Ss[0],Xd=Ss[1];Gr.x-=Fd,Gr.y-=Xd;var vd=fo.points||[],Ql=(0,Ze.Z)(vd,2),Us=Ql[0],qd=Ql[1],Rs=et(qd),Zl=et(Us),hd=st(Gr,Rs),Vs=st(ko,Zl),Es=(0,He.Z)({},fo),Zi=hd.x-Vs.x+es,ri=hd.y-Vs.y+ms,ts=Wa(Zi,ri),ws=Wa(Zi,ri,Mr),pd=st(Gr,["t","l"]),Rd=st(ko,["t","l"]),Sd=st(Gr,["b","r"]),vs=st(ko,["b","r"]),Pd=fo.overflow||{},kd=Pd.adjustX,ks=Pd.adjustY,Od=Pd.shiftX,yd=Pd.shiftY,Id=function(Ha){return typeof Ha=="boolean"?Ha:Ha>=0},Ls,Ys,Qs,Js;vr();var bd=Id(ks),Td=Zl[0]===Rs[0];if(bd&&Zl[0]==="t"&&(Ys>Dl.bottom||za.current.bt)){var Ps=ri;Td?Ps-=Ni-di:Ps=pd.y-vs.y-ms;var ns=Wa(Zi,Ps),Jl=Wa(Zi,Ps,Mr);ns>ts||ns===ts&&(!Yi||Jl>=ws)?(za.current.bt=!0,ri=Ps,ms=-ms,Es.points=[Ve(Zl,0),Ve(Rs,0)]):za.current.bt=!1}if(bd&&Zl[0]==="b"&&(Ls<Dl.top||za.current.tb)){var Xs=ri;Td?Xs+=Ni-di:Xs=Sd.y-Rd.y-ms;var de=Wa(Zi,Xs),ue=Wa(Zi,Xs,Mr);de>ts||de===ts&&(!Yi||ue>=ws)?(za.current.tb=!0,ri=Xs,ms=-ms,Es.points=[Ve(Zl,0),Ve(Rs,0)]):za.current.tb=!1}var he=Id(kd),be=Zl[1]===Rs[1];if(he&&Zl[1]==="l"&&(Js>Dl.right||za.current.rl)){var Be=Zi;be?Be-=Ho-gl:Be=pd.x-vs.x-es;var Ie=Wa(Be,ri),Xe=Wa(Be,ri,Mr);Ie>ts||Ie===ts&&(!Yi||Xe>=ws)?(za.current.rl=!0,Zi=Be,es=-es,Es.points=[Ve(Zl,1),Ve(Rs,1)]):za.current.rl=!1}if(he&&Zl[1]==="r"&&(Qs<Dl.left||za.current.lr)){var nt=Zi;be?nt+=Ho-gl:nt=Sd.x-Rd.x-es;var tt=Wa(nt,ri),yt=Wa(nt,ri,Mr);tt>ts||tt===ts&&(!Yi||yt>=ws)?(za.current.lr=!0,Zi=nt,es=-es,Es.points=[Ve(Zl,1),Ve(Rs,1)]):za.current.lr=!1}vr();var Zt=Od===!0?0:Od;typeof Zt=="number"&&(Qs<Mr.left&&(Zi-=Qs-Mr.left-es,Gr.x+gl<Mr.left+Zt&&(Zi+=Gr.x-Mr.left+gl-Zt)),Js>Mr.right&&(Zi-=Js-Mr.right-es,Gr.x>Mr.right-Zt&&(Zi+=Gr.x-Mr.right+Zt)));var Lt=yd===!0?0:yd;typeof Lt=="number"&&(Ls<Mr.top&&(ri-=Ls-Mr.top-ms,Gr.y+di<Mr.top+Lt&&(ri+=Gr.y-Mr.top+di-Lt)),Ys>Mr.bottom&&(ri-=Ys-Mr.bottom-ms,Gr.y>Mr.bottom-Lt&&(ri+=Gr.y-Mr.bottom+Lt)));var on=ko.x+Zi,ln=on+Ho,mn=ko.y+ri,Xn=mn+Ni,Rn=Gr.x,ta=Rn+gl,Hn=Gr.y,sa=Hn+di,Ra=Math.max(on,Rn),Qa=Math.min(ln,ta),Ba=(Ra+Qa)/2,fr=Ba-on,Dr=Math.max(mn,Hn),Pa=Math.min(Xn,sa),Na=(Dr+Pa)/2,ga=Na-mn;vn==null||vn(ke,Es);var la=gs.right-ko.x-(Zi+ko.width),Da=gs.bottom-ko.y-(ri+ko.height);Ya({ready:!0,offsetX:Zi/xs,offsetY:ri/_l,offsetR:la/xs,offsetB:Da/_l,arrowX:fr/xs,arrowY:ga/_l,scaleX:xs,scaleY:_l,align:Es})}}),eo=function(){ha.current+=1;var br=ha.current;Promise.resolve().then(function(){ha.current===br&&uo()})},So=function(){Ya(function(br){return(0,He.Z)((0,He.Z)({},br),{},{ready:!1})})};return oa(So,[ot]),oa(function(){Pe||So()},[Pe]),[ma.ready,ma.offsetX,ma.offsetY,ma.offsetR,ma.offsetB,ma.arrowX,ma.arrowY,ma.scaleX,ma.scaleY,ma.align,eo]}function Cn(Pe,ke,Oe,ot,Ot){oa(function(){if(Pe&&ke&&Oe){let ha=function(){ot(),Ot()};var gn=ke,vn=Oe,ca=Zn(gn),Ea=Zn(vn),ma=Pn(vn),Ya=new Set([ma].concat((0,gt.Z)(ca),(0,gt.Z)(Ea)));return Ya.forEach(function(qa){qa.addEventListener("scroll",ha,{passive:!0})}),ma.addEventListener("resize",ha,{passive:!0}),ot(),function(){Ya.forEach(function(qa){qa.removeEventListener("scroll",ha),ma.removeEventListener("resize",ha)})}}},[Pe,ke,Oe])}function Jn(Pe){var ke=React.useRef(!1),Oe=React.useState(Pe),ot=_slicedToArray(Oe,2),Ot=ot[0],gn=ot[1];React.useEffect(function(){return ke.current=!1,function(){ke.current=!0}},[]);function vn(ca,Ea){Ea&&ke.current||gn(ca)}return[Ot,vn]}function ja(Pe){return Pe!==void 0}function ua(Pe,ke){var Oe=ke||{},ot=Oe.defaultValue,Ot=Oe.value,gn=Oe.onChange,vn=Oe.postState,ca=useState(function(){return ja(Ot)?Ot:ja(ot)?typeof ot=="function"?ot():ot:typeof Pe=="function"?Pe():Pe}),Ea=_slicedToArray(ca,2),ma=Ea[0],Ya=Ea[1],ha=Ot!==void 0?Ot:ma,qa=vn?vn(ha):ha,za=useEvent(gn),pr=useState([ha]),uo=_slicedToArray(pr,2),eo=uo[0],So=uo[1];useLayoutUpdateEffect(function(){var br=eo[0];ma!==br&&za(ma,br)},[eo]),useLayoutUpdateEffect(function(){ja(Ot)||Ya(Ot)},[Ot]);var Ur=useEvent(function(br,er){Ya(br,er),So([ha],er)});return[qa,Ur]}var Un=ee(95845);function Ma(Pe,ke,Oe){var ot=ae.useRef({});return(!("value"in ot.current)||Oe(ot.current.condition,ke))&&(ot.current.value=Pe(),ot.current.condition=ke),ot.current.value}function ho(Pe,ke){typeof Pe=="function"?Pe(ke):(0,re.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=ke)}function Mn(){for(var Pe=arguments.length,ke=new Array(Pe),Oe=0;Oe<Pe;Oe++)ke[Oe]=arguments[Oe];var ot=ke.filter(function(Ot){return Ot});return ot.length<=1?ot[0]:function(Ot){ke.forEach(function(gn){ho(gn,Ot)})}}function no(){for(var Pe=arguments.length,ke=new Array(Pe),Oe=0;Oe<Pe;Oe++)ke[Oe]=arguments[Oe];return Ma(function(){return Mn.apply(void 0,ke)},ke,function(ot,Ot){return ot.length!==Ot.length||ot.every(function(gn,vn){return gn!==Ot[vn]})})}function rt(Pe){var ke,Oe,ot=(0,Un.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof ot=="function"&&!((ke=ot.prototype)!==null&&ke!==void 0&&ke.render)||typeof Pe=="function"&&!((Oe=Pe.prototype)!==null&&Oe!==void 0&&Oe.render))}function qt(Pe){return!isValidElement(Pe)||isFragment(Pe)?!1:rt(Pe)}function jt(Pe,ke,Oe,ot){if(!ke.length)return Oe;var Ot=_toArray(ke),gn=Ot[0],vn=Ot.slice(1),ca;return!Pe&&typeof gn=="number"?ca=[]:Array.isArray(Pe)?ca=_toConsumableArray(Pe):ca=_objectSpread({},Pe),ot&&Oe===void 0&&vn.length===1?delete ca[gn][vn[0]]:ca[gn]=jt(ca[gn],vn,Oe,ot),ca}function Jt(Pe,ke,Oe){var ot=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ke.length&&ot&&Oe===void 0&&!get(Pe,ke.slice(0,-1))?Pe:jt(Pe,ke,Oe,ot)}function $n(Pe){return _typeof(Pe)==="object"&&Pe!==null&&Object.getPrototypeOf(Pe)===Object.prototype}function Wt(Pe){return Array.isArray(Pe)?[]:{}}var Fn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function cn(){for(var Pe=arguments.length,ke=new Array(Pe),Oe=0;Oe<Pe;Oe++)ke[Oe]=arguments[Oe];var ot=Wt(ke[0]);return ke.forEach(function(Ot){function gn(vn,ca){var Ea=new Set(ca),ma=get(Ot,vn),Ya=Array.isArray(ma);if(Ya||$n(ma)){if(!Ea.has(ma)){Ea.add(ma);var ha=get(ot,vn);Ya?ot=Jt(ot,vn,[]):(!ha||_typeof(ha)!=="object")&&(ot=Jt(ot,vn,Wt(ma))),Fn(ma).forEach(function(qa){gn([].concat(_toConsumableArray(vn),[qa]),Ea)})}}else ot=Jt(ot,vn,ma)}gn([])}),ot}var $a={},Aa=[],cr=function(ke){Aa.push(ke)};function zr(Pe,ke){if(0)var Oe}function co(Pe,ke){if(0)var Oe}function fn(){$a={}}function Bi(Pe,ke,Oe){!ke&&!$a[Oe]&&(Pe(!1,Oe),$a[Oe]=!0)}function ei(Pe,ke){Bi(zr,Pe,ke)}function qr(Pe,ke){Bi(co,Pe,ke)}ei.preMessage=cr,ei.resetWarned=fn,ei.noteOnce=qr;var Yo=null,In=function(ke){return+setTimeout(ke,16)},va=function(ke){return clearTimeout(ke)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(In=function(ke){return window.requestAnimationFrame(ke)},va=function(ke){return window.cancelAnimationFrame(ke)});var Va=0,Vn=new Map;function Wr(Pe){Vn.delete(Pe)}var _r=function(ke){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Va+=1;var ot=Va;function Ot(gn){if(gn===0)Wr(ot),ke();else{var vn=In(function(){Ot(gn-1)});Vn.set(ot,vn)}}return Ot(Oe),ot};_r.cancel=function(Pe){var ke=Vn.get(Pe);return Wr(ke),va(ke)};var ti=_r;function ni(Pe,ke,Oe,ot,Ot,gn,vn,ca){var Ea=ae.useRef(Pe),ma=ae.useRef(!1);Ea.current!==Pe&&(ma.current=!0,Ea.current=Pe),ae.useEffect(function(){var Ya=ti(function(){ma.current=!1});return function(){ti.cancel(Ya)}},[Pe]),ae.useEffect(function(){if(ke&&ot&&(!Ot||gn)){var Ya=function(){var Qo=!1,Po=function(qo){var fo=qo.target;Qo=vn(fo)},Si=function(qo){var fo=qo.target;!ma.current&&Ea.current&&!Qo&&!vn(fo)&&ca(!1)};return[Po,Si]},ha=Ya(),qa=(0,Ze.Z)(ha,2),za=qa[0],pr=qa[1],uo=Ya(),eo=(0,Ze.Z)(uo,2),So=eo[0],Ur=eo[1],br=Pn(ot);br.addEventListener("mousedown",za,!0),br.addEventListener("click",pr,!0),br.addEventListener("contextmenu",pr,!0);var er=tn(Oe);if(er&&(er.addEventListener("mousedown",So,!0),er.addEventListener("click",Ur,!0),er.addEventListener("contextmenu",Ur,!0)),0)var li,jo,si,pi;return function(){br.removeEventListener("mousedown",za,!0),br.removeEventListener("click",pr,!0),br.removeEventListener("contextmenu",pr,!0),er&&(er.removeEventListener("mousedown",So,!0),er.removeEventListener("click",Ur,!0),er.removeEventListener("contextmenu",Ur,!0))}}},[ke,Oe,ot,Ot,gn])}function ai(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function bl(Pe){return ai(Pe)?Pe:Pe instanceof ae.Component?_e.findDOMNode(Pe):null}function yi(Pe,ke){var Oe={};return Oe[Pe.toLowerCase()]=ke.toLowerCase(),Oe["Webkit".concat(Pe)]="webkit".concat(ke),Oe["Moz".concat(Pe)]="moz".concat(ke),Oe["ms".concat(Pe)]="MS".concat(ke),Oe["O".concat(Pe)]="o".concat(ke.toLowerCase()),Oe}function jl(Pe,ke){var Oe={animationend:yi("Animation","AnimationEnd"),transitionend:yi("Transition","TransitionEnd")};return Pe&&("AnimationEvent"in ke||delete Oe.animationend.animation,"TransitionEvent"in ke||delete Oe.transitionend.transition),Oe}var $l=jl(je(),typeof window!="undefined"?window:{}),wi={};if(je()){var Xo=document.createElement("div");wi=Xo.style}var hl={};function Cl(Pe){if(hl[Pe])return hl[Pe];var ke=$l[Pe];if(ke)for(var Oe=Object.keys(ke),ot=Oe.length,Ot=0;Ot<ot;Ot+=1){var gn=Oe[Ot];if(Object.prototype.hasOwnProperty.call(ke,gn)&&gn in wi)return hl[Pe]=ke[gn],hl[Pe]}return""}var Fl=Cl("animationend"),tl=Cl("transitionend"),ki=!!(Fl&&tl),pl=Fl||"animationend",kr=tl||"transitionend";function vt(Pe,ke){if(!Pe)return null;if((0,re.Z)(Pe)==="object"){var Oe=ke.replace(/-\w/g,function(ot){return ot[1].toUpperCase()});return Pe[Oe]}return"".concat(Pe,"-").concat(ke)}var At="none",Xt="appear",Ne="enter",Ut="leave",Dn="none",An="prepare",Pt="start",Ht="active",kt="end";function On(Pe){var ke=ae.useRef(!1),Oe=ae.useState(Pe),ot=(0,Ze.Z)(Oe,2),Ot=ot[0],gn=ot[1];ae.useEffect(function(){return ke.current=!1,function(){ke.current=!0}},[]);function vn(ca,Ea){Ea&&ke.current||gn(ca)}return[Ot,vn]}var da=function(ke){return+setTimeout(ke,16)},xa=function(ke){return clearTimeout(ke)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(da=function(ke){return window.requestAnimationFrame(ke)},xa=function(ke){return window.cancelAnimationFrame(ke)});var pa=0,Ia=new Map;function rr(Pe){Ia.delete(Pe)}var wn=function(ke){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;pa+=1;var ot=pa;function Ot(gn){if(gn===0)rr(ot),ke();else{var vn=da(function(){Ot(gn-1)});Ia.set(ot,vn)}}return Ot(Oe),ot};wn.cancel=function(Pe){var ke=Ia.get(Pe);return rr(ke),xa(ke)};var Dt=wn,hn=function(){var Pe=ae.useRef(null);function ke(){Dt.cancel(Pe.current)}function Oe(ot){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ke();var gn=Dt(function(){Ot<=1?ot({isCanceled:function(){return gn!==Pe.current}}):Oe(ot,Ot-1)});Pe.current=gn}return ae.useEffect(function(){return function(){ke()}},[]),[Oe,ke]},xn=je()?ae.useLayoutEffect:ae.useEffect,ia=xn,Fa=[An,Pt,Ht,kt],Xa=!1,yr=!0;function sr(Pe){return Pe===Ht||Pe===kt}var ea=function(Pe,ke){var Oe=On(Dn),ot=(0,Ze.Z)(Oe,2),Ot=ot[0],gn=ot[1],vn=hn(),ca=(0,Ze.Z)(vn,2),Ea=ca[0],ma=ca[1];function Ya(){gn(An,!0)}return ia(function(){if(Ot!==Dn&&Ot!==kt){var ha=Fa.indexOf(Ot),qa=Fa[ha+1],za=ke(Ot);za===Xa?gn(qa,!0):Ea(function(pr){function uo(){pr.isCanceled()||gn(qa,!0)}za===!0?uo():Promise.resolve(za).then(uo)})}},[Pe,Ot]),ae.useEffect(function(){return function(){ma()}},[]),[Ya,Ot]},ya=function(Pe){var ke=(0,ae.useRef)(),Oe=(0,ae.useRef)(Pe);Oe.current=Pe;var ot=ae.useCallback(function(vn){Oe.current(vn)},[]);function Ot(vn){vn&&(vn.removeEventListener(kr,ot),vn.removeEventListener(pl,ot))}function gn(vn){ke.current&&ke.current!==vn&&Ot(ke.current),vn&&vn!==ke.current&&(vn.addEventListener(kr,ot),vn.addEventListener(pl,ot),ke.current=vn)}return ae.useEffect(function(){return function(){Ot(ke.current)}},[]),[gn,Ot]};function Sa(Pe,ke,Oe,ot){var Ot=ot.motionEnter,gn=Ot===void 0?!0:Ot,vn=ot.motionAppear,ca=vn===void 0?!0:vn,Ea=ot.motionLeave,ma=Ea===void 0?!0:Ea,Ya=ot.motionDeadline,ha=ot.motionLeaveImmediately,qa=ot.onAppearPrepare,za=ot.onEnterPrepare,pr=ot.onLeavePrepare,uo=ot.onAppearStart,eo=ot.onEnterStart,So=ot.onLeaveStart,Ur=ot.onAppearActive,br=ot.onEnterActive,er=ot.onLeaveActive,li=ot.onAppearEnd,jo=ot.onEnterEnd,si=ot.onLeaveEnd,pi=ot.onVisibleChanged,Ui=On(),Qo=(0,Ze.Z)(Ui,2),Po=Qo[0],Si=Qo[1],Mi=On(At),qo=(0,Ze.Z)(Mi,2),fo=qo[0],zo=qo[1],Gr=On(null),Ii=(0,Ze.Z)(Gr,2),ko=Ii[0],Gi=Ii[1],ul=(0,ae.useRef)(!1),Vi=(0,ae.useRef)(null);function Il(){return Oe()}var Tl=(0,ae.useRef)(!1);function Oo($o){var Mr=Il();if(!($o&&!$o.deadline&&$o.target!==Mr)){var Ti=Tl.current,Dl;fo===Xt&&Ti?Dl=li==null?void 0:li(Mr,$o):fo===Ne&&Ti?Dl=jo==null?void 0:jo(Mr,$o):fo===Ut&&Ti&&(Dl=si==null?void 0:si(Mr,$o)),fo!==At&&Ti&&Dl!==!1&&(zo(At,!0),Gi(null,!0))}}var Nl=ya(Oo),Ni=(0,Ze.Z)(Nl,1),Ho=Ni[0],di=ae.useMemo(function(){var $o,Mr,Ti;switch(fo){case Xt:return $o={},(0,se.Z)($o,An,qa),(0,se.Z)($o,Pt,uo),(0,se.Z)($o,Ht,Ur),$o;case Ne:return Mr={},(0,se.Z)(Mr,An,za),(0,se.Z)(Mr,Pt,eo),(0,se.Z)(Mr,Ht,br),Mr;case Ut:return Ti={},(0,se.Z)(Ti,An,pr),(0,se.Z)(Ti,Pt,So),(0,se.Z)(Ti,Ht,er),Ti;default:return{}}},[fo]),gl=ea(fo,function($o){if($o===An){var Mr=di[An];return Mr?Mr(Il()):Xa}if(ll in di){var Ti;Gi(((Ti=di[ll])===null||Ti===void 0?void 0:Ti.call(di,Il(),null))||null)}return ll===Ht&&(Ho(Il()),Ya>0&&(clearTimeout(Vi.current),Vi.current=setTimeout(function(){Oo({deadline:!0})},Ya))),yr}),Yl=(0,Ze.Z)(gl,2),us=Yl[0],ll=Yl[1],Fi=sr(ll);Tl.current=Fi,ia(function(){Si(ke);var $o=ul.current;if(ul.current=!0,!!Pe){var Mr;!$o&&ke&&ca&&(Mr=Xt),$o&&ke&&gn&&(Mr=Ne),($o&&!ke&&ma||!$o&&ha&&!ke&&ma)&&(Mr=Ut),Mr&&(zo(Mr),us())}},[ke]),(0,ae.useEffect)(function(){(fo===Xt&&!ca||fo===Ne&&!gn||fo===Ut&&!ma)&&zo(At)},[ca,gn,ma]),(0,ae.useEffect)(function(){return function(){ul.current=!1,clearTimeout(Vi.current)}},[]);var El=ae.useRef(!1);(0,ae.useEffect)(function(){Po&&(El.current=!0),Po!==void 0&&fo===At&&((El.current||Po)&&(pi==null||pi(Po)),El.current=!0)},[Po,fo]);var Yi=ko;return di[An]&&ll===Pt&&(Yi=(0,He.Z)({transition:"none"},Yi)),[fo,ll,Yi,Po!=null?Po:ke]}var Za=ee(15671),dr=ee(43144),Hr=ee(60136),ro=ee(51630),Eo=function(Pe){(0,Hr.Z)(Oe,Pe);var ke=(0,ro.Z)(Oe);function Oe(){return(0,Za.Z)(this,Oe),ke.apply(this,arguments)}return(0,dr.Z)(Oe,[{key:"render",value:function(){return this.props.children}}]),Oe}(ae.Component),wo=Eo;function Lo(Pe){var ke=Pe;(0,re.Z)(Pe)==="object"&&(ke=Pe.transitionSupport);function Oe(Ot){return!!(Ot.motionName&&ke)}var ot=ae.forwardRef(function(Ot,gn){var vn=Ot.visible,ca=vn===void 0?!0:vn,Ea=Ot.removeOnLeave,ma=Ea===void 0?!0:Ea,Ya=Ot.forceRender,ha=Ot.children,qa=Ot.motionName,za=Ot.leavedClassName,pr=Ot.eventProps,uo=Oe(Ot),eo=(0,ae.useRef)(),So=(0,ae.useRef)();function Ur(){try{return eo.current instanceof HTMLElement?eo.current:bl(So.current)}catch(Gr){return null}}var br=Sa(uo,ca,Ur,Ot),er=(0,Ze.Z)(br,4),li=er[0],jo=er[1],si=er[2],pi=er[3],Ui=ae.useRef(pi);pi&&(Ui.current=!0);var Qo=ae.useCallback(function(Gr){eo.current=Gr,fe(gn,Gr)},[gn]),Po,Si=(0,He.Z)((0,He.Z)({},pr),{},{visible:ca});if(!ha)Po=null;else if(li===At||!Oe(Ot))pi?Po=ha((0,He.Z)({},Si),Qo):!ma&&Ui.current&&za?Po=ha((0,He.Z)((0,He.Z)({},Si),{},{className:za}),Qo):Ya||!ma&&!za?Po=ha((0,He.Z)((0,He.Z)({},Si),{},{style:{display:"none"}}),Qo):Po=null;else{var Mi,qo;jo===An?qo="prepare":sr(jo)?qo="active":jo===Pt&&(qo="start"),Po=ha((0,He.Z)((0,He.Z)({},Si),{},{className:Me()(vt(qa,li),(Mi={},(0,se.Z)(Mi,vt(qa,"".concat(li,"-").concat(qo)),qo),(0,se.Z)(Mi,qa,typeof qa=="string"),Mi)),style:si}),Qo)}if(ae.isValidElement(Po)&&Ce(Po)){var fo=Po,zo=fo.ref;zo||(Po=ae.cloneElement(Po,{ref:Qo}))}return ae.createElement(wo,{ref:So},Po)});return ot.displayName="CSSMotion",ot}var Oi=Lo(ki),xl=ee(97326),Wl="add",Rl="keep",Sl="remove",Li="removed";function is(Pe){var ke;return Pe&&(0,re.Z)(Pe)==="object"&&"key"in Pe?ke=Pe:ke={key:Pe},(0,He.Z)((0,He.Z)({},ke),{},{key:String(ke.key)})}function Ul(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Pe.map(is)}function ls(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Oe=[],ot=0,Ot=ke.length,gn=Ul(Pe),vn=Ul(ke);gn.forEach(function(ma){for(var Ya=!1,ha=ot;ha<Ot;ha+=1){var qa=vn[ha];if(qa.key===ma.key){ot<ha&&(Oe=Oe.concat(vn.slice(ot,ha).map(function(za){return(0,He.Z)((0,He.Z)({},za),{},{status:Wl})})),ot=ha),Oe.push((0,He.Z)((0,He.Z)({},qa),{},{status:Rl})),ot+=1,Ya=!0;break}}Ya||Oe.push((0,He.Z)((0,He.Z)({},ma),{},{status:Sl}))}),ot<Ot&&(Oe=Oe.concat(vn.slice(ot).map(function(ma){return(0,He.Z)((0,He.Z)({},ma),{},{status:Wl})})));var ca={};Oe.forEach(function(ma){var Ya=ma.key;ca[Ya]=(ca[Ya]||0)+1});var Ea=Object.keys(ca).filter(function(ma){return ca[ma]>1});return Ea.forEach(function(ma){Oe=Oe.filter(function(Ya){var ha=Ya.key,qa=Ya.status;return ha!==ma||qa!==Sl}),Oe.forEach(function(Ya){Ya.key===ma&&(Ya.status=Rl)})}),Oe}var zs=["component","children","onVisibleChanged","onAllRemoved"],kl=["status"],Hs=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Vl(Pe){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oi,Oe=function(ot){(0,Hr.Z)(gn,ot);var Ot=(0,ro.Z)(gn);function gn(){var vn;(0,Za.Z)(this,gn);for(var ca=arguments.length,Ea=new Array(ca),ma=0;ma<ca;ma++)Ea[ma]=arguments[ma];return vn=Ot.call.apply(Ot,[this].concat(Ea)),(0,se.Z)((0,xl.Z)(vn),"state",{keyEntities:[]}),(0,se.Z)((0,xl.Z)(vn),"removeKey",function(Ya){var ha=vn.state.keyEntities,qa=ha.map(function(za){return za.key!==Ya?za:(0,He.Z)((0,He.Z)({},za),{},{status:Li})});return vn.setState({keyEntities:qa}),qa.filter(function(za){var pr=za.status;return pr!==Li}).length}),vn}return(0,dr.Z)(gn,[{key:"render",value:function(){var ca=this,Ea=this.state.keyEntities,ma=this.props,Ya=ma.component,ha=ma.children,qa=ma.onVisibleChanged,za=ma.onAllRemoved,pr=(0,Ke.Z)(ma,zs),uo=Ya||ae.Fragment,eo={};return Hs.forEach(function(So){eo[So]=pr[So],delete pr[So]}),delete pr.keys,ae.createElement(uo,pr,Ea.map(function(So){var Ur=So.status,br=(0,Ke.Z)(So,kl),er=Ur===Wl||Ur===Rl;return ae.createElement(ke,(0,Te.Z)({},eo,{key:br.key,visible:er,eventProps:br,onVisibleChanged:function(jo){if(qa==null||qa(jo,{key:br.key}),!jo){var si=ca.removeKey(br.key);si===0&&za&&za()}}}),ha)}))}}],[{key:"getDerivedStateFromProps",value:function(ca,Ea){var ma=ca.keys,Ya=Ea.keyEntities,ha=Ul(ma),qa=ls(Ya,ha);return{keyEntities:qa.filter(function(za){var pr=Ya.find(function(uo){var eo=uo.key;return za.key===eo});return!(pr&&pr.status===Li&&za.status===Sl)})}}}]),gn}(ae.Component);return(0,se.Z)(Oe,"defaultProps",{component:"div"}),Oe}var Dd=Vl(ki),Ol=Oi;function Gs(Pe){var ke=Pe.prefixCls,Oe=Pe.align,ot=Pe.arrow,Ot=Pe.arrowPos,gn=ot||{},vn=gn.className,ca=gn.content,Ea=Ot.x,ma=Ea===void 0?0:Ea,Ya=Ot.y,ha=Ya===void 0?0:Ya,qa=ae.useRef();if(!Oe||!Oe.points)return null;var za={position:"absolute"};if(Oe.autoArrow!==!1){var pr=Oe.points[0],uo=Oe.points[1],eo=pr[0],So=pr[1],Ur=uo[0],br=uo[1];eo===Ur||!["t","b"].includes(eo)?za.top=ha:eo==="t"?za.top=0:za.bottom=0,So===br||!["l","r"].includes(So)?za.left=ma:So==="l"?za.left=0:za.right=0}return ae.createElement("div",{ref:qa,className:Me()("".concat(ke,"-arrow"),vn),style:za},ca)}function ps(Pe){var ke=Pe.prefixCls,Oe=Pe.open,ot=Pe.zIndex,Ot=Pe.mask,gn=Pe.motion;return Ot?ae.createElement(Ol,(0,Te.Z)({},gn,{motionAppear:!0,visible:Oe,removeOnLeave:!0}),function(vn){var ca=vn.className;return ae.createElement("div",{style:{zIndex:ot},className:Me()("".concat(ke,"-mask"),ca)})}):null}var ad=ae.memo(function(Pe){var ke=Pe.children;return ke},function(Pe,ke){return ke.cache}),bi=ad,Ai=ae.forwardRef(function(Pe,ke){var Oe=Pe.popup,ot=Pe.className,Ot=Pe.prefixCls,gn=Pe.style,vn=Pe.target,ca=Pe.onVisibleChanged,Ea=Pe.open,ma=Pe.keepDom,Ya=Pe.fresh,ha=Pe.onClick,qa=Pe.mask,za=Pe.arrow,pr=Pe.arrowPos,uo=Pe.align,eo=Pe.motion,So=Pe.maskMotion,Ur=Pe.forceRender,br=Pe.getPopupContainer,er=Pe.autoDestroy,li=Pe.portal,jo=Pe.zIndex,si=Pe.onMouseEnter,pi=Pe.onMouseLeave,Ui=Pe.onPointerEnter,Qo=Pe.ready,Po=Pe.offsetX,Si=Pe.offsetY,Mi=Pe.offsetR,qo=Pe.offsetB,fo=Pe.onAlign,zo=Pe.onPrepare,Gr=Pe.stretch,Ii=Pe.targetWidth,ko=Pe.targetHeight,Gi=typeof Oe=="function"?Oe():Oe,ul=Ea||ma,Vi=(br==null?void 0:br.length)>0,Il=ae.useState(!br||!Vi),Tl=(0,Ze.Z)(Il,2),Oo=Tl[0],Nl=Tl[1];if(oa(function(){!Oo&&Vi&&vn&&Nl(!0)},[Oo,Vi,vn]),!Oo)return null;var Ni="auto",Ho={left:"-1000vw",top:"-1000vh",right:Ni,bottom:Ni};if(Qo||!Ea){var di,gl=uo.points,Yl=uo.dynamicInset||((di=uo._experimental)===null||di===void 0?void 0:di.dynamicInset),us=Yl&&gl[0][1]==="r",ll=Yl&&gl[0][0]==="b";us?(Ho.right=Mi,Ho.left=Ni):(Ho.left=Po,Ho.right=Ni),ll?(Ho.bottom=qo,Ho.top=Ni):(Ho.top=Si,Ho.bottom=Ni)}var Fi={};return Gr&&(Gr.includes("height")&&ko?Fi.height=ko:Gr.includes("minHeight")&&ko&&(Fi.minHeight=ko),Gr.includes("width")&&Ii?Fi.width=Ii:Gr.includes("minWidth")&&Ii&&(Fi.minWidth=Ii)),Ea||(Fi.pointerEvents="none"),ae.createElement(li,{open:Ur||ul,getContainer:br&&function(){return br(vn)},autoDestroy:er},ae.createElement(ps,{prefixCls:Ot,open:Ea,zIndex:jo,mask:qa,motion:So}),ae.createElement(we.Z,{onResize:fo,disabled:!Ea},function(El){return ae.createElement(Ol,(0,Te.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ur,leavedClassName:"".concat(Ot,"-hidden")},eo,{onAppearPrepare:zo,onEnterPrepare:zo,visible:Ea,onVisibleChanged:function($o){var Mr;eo==null||(Mr=eo.onVisibleChanged)===null||Mr===void 0||Mr.call(eo,$o),ca($o)}}),function(Yi,$o){var Mr=Yi.className,Ti=Yi.style,Dl=Me()(Ot,Mr,ot);return ae.createElement("div",{ref:Mn(El,ke,$o),className:Dl,style:(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({"--arrow-x":"".concat(pr.x||0,"px"),"--arrow-y":"".concat(pr.y||0,"px")},Ho),Fi),Ti),{},{boxSizing:"border-box",zIndex:jo},gn),onMouseEnter:si,onMouseLeave:pi,onPointerEnter:Ui,onClick:ha},za&&ae.createElement(Gs,{prefixCls:Ot,arrow:za,arrowPos:pr,align:uo}),ae.createElement(bi,{cache:!Ea&&!Ya},Gi))})}))}),il=Ai,Ds=ae.forwardRef(function(Pe,ke){var Oe=Pe.children,ot=Pe.getTriggerDOMNode,Ot=rt(Oe),gn=ae.useCallback(function(ca){ho(ke,ot?ot(ca):ca)},[ot]),vn=no(gn,Oe.ref);return Ot?ae.cloneElement(Oe,{ref:vn}):Oe}),Bd=Ds,Ci=["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 ss(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nn,ke=ae.forwardRef(function(Oe,ot){var Ot=Oe.prefixCls,gn=Ot===void 0?"rc-trigger-popup":Ot,vn=Oe.children,ca=Oe.action,Ea=ca===void 0?"hover":ca,ma=Oe.showAction,Ya=Oe.hideAction,ha=Oe.popupVisible,qa=Oe.defaultPopupVisible,za=Oe.onPopupVisibleChange,pr=Oe.afterPopupVisibleChange,uo=Oe.mouseEnterDelay,eo=Oe.mouseLeaveDelay,So=eo===void 0?.1:eo,Ur=Oe.focusDelay,br=Oe.blurDelay,er=Oe.mask,li=Oe.maskClosable,jo=li===void 0?!0:li,si=Oe.getPopupContainer,pi=Oe.forceRender,Ui=Oe.autoDestroy,Qo=Oe.destroyPopupOnHide,Po=Oe.popup,Si=Oe.popupClassName,Mi=Oe.popupStyle,qo=Oe.popupPlacement,fo=Oe.builtinPlacements,zo=fo===void 0?{}:fo,Gr=Oe.popupAlign,Ii=Oe.zIndex,ko=Oe.stretch,Gi=Oe.getPopupClassNameFromAlign,ul=Oe.fresh,Vi=Oe.alignPoint,Il=Oe.onPopupClick,Tl=Oe.onPopupAlign,Oo=Oe.arrow,Nl=Oe.popupMotion,Ni=Oe.maskMotion,Ho=Oe.popupTransitionName,di=Oe.popupAnimation,gl=Oe.maskTransitionName,Yl=Oe.maskAnimation,us=Oe.className,ll=Oe.getTriggerDOMNode,Fi=(0,Ke.Z)(Oe,Ci),El=Ui||Qo||!1,Yi=ae.useState(!1),$o=(0,Ze.Z)(Yi,2),Mr=$o[0],Ti=$o[1];oa(function(){Ti(Ka())},[]);var Dl=ae.useRef({}),gs=ae.useContext(Tr),xs=ae.useMemo(function(){return{registerSubPopup:function(or,jr){Dl.current[or]=jr,gs==null||gs.registerSubPopup(or,jr)}}},[gs]),_l=bn(),Ws=ae.useState(null),fd=(0,Ze.Z)(Ws,2),fs=fd[0],Jd=fd[1],es=We(function(na){Qe(na)&&fs!==na&&Jd(na),gs==null||gs.registerSubPopup(_l,na)}),ms=ae.useState(null),md=(0,Ze.Z)(ms,2),Ss=md[0],Fd=md[1],Xd=We(function(na){Qe(na)&&Ss!==na&&Fd(na)}),vd=ae.Children.only(vn),Ql=(vd==null?void 0:vd.props)||{},Us={},qd=We(function(na){var or,jr,Io=Ss;return(Io==null?void 0:Io.contains(na))||((or=tn(Io))===null||or===void 0?void 0:or.host)===na||na===Io||(fs==null?void 0:fs.contains(na))||((jr=tn(fs))===null||jr===void 0?void 0:jr.host)===na||na===fs||Object.values(Dl.current).some(function(ba){return(ba==null?void 0:ba.contains(na))||na===ba})}),Rs=gr(gn,Nl,di,Ho),Zl=gr(gn,Ni,Yl,gl),hd=ae.useState(qa||!1),Vs=(0,Ze.Z)(hd,2),Es=Vs[0],Zi=Vs[1],ri=ha!=null?ha:Es,ts=We(function(na){ha===void 0&&Zi(na)});oa(function(){Zi(ha||!1)},[ha]);var ws=ae.useRef(ri);ws.current=ri;var pd=We(function(na){(0,_e.flushSync)(function(){ri!==na&&(ts(na),za==null||za(na))})}),Rd=ae.useRef(),Sd=function(){clearTimeout(Rd.current)},vs=function(or){var jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Sd(),jr===0?pd(or):Rd.current=setTimeout(function(){pd(or)},jr*1e3)};ae.useEffect(function(){return Sd},[]);var Pd=ae.useState(!1),kd=(0,Ze.Z)(Pd,2),ks=kd[0],Od=kd[1];oa(function(na){(!na||ri)&&Od(!0)},[ri]);var yd=ae.useState(null),Id=(0,Ze.Z)(yd,2),Ls=Id[0],Ys=Id[1],Qs=ae.useState([0,0]),Js=(0,Ze.Z)(Qs,2),bd=Js[0],Td=Js[1],Ps=function(or){Td([or.clientX,or.clientY])},ns=Kt(ri,fs,Vi?bd:Ss,qo,zo,Gr,Tl),Jl=(0,Ze.Z)(ns,11),Xs=Jl[0],de=Jl[1],ue=Jl[2],he=Jl[3],be=Jl[4],Be=Jl[5],Ie=Jl[6],Xe=Jl[7],nt=Jl[8],tt=Jl[9],yt=Jl[10],Zt=Rr(Mr,Ea,ma,Ya),Lt=(0,Ze.Z)(Zt,2),on=Lt[0],ln=Lt[1],mn=on.has("click"),Xn=ln.has("click")||ln.has("contextMenu"),Rn=We(function(){ks||yt()}),ta=function(){ws.current&&Vi&&Xn&&vs(!1)};Cn(ri,Ss,fs,Rn,ta),oa(function(){Rn()},[bd,qo]),oa(function(){ri&&!(zo!=null&&zo[qo])&&Rn()},[JSON.stringify(Gr)]);var Hn=ae.useMemo(function(){var na=lo(zo,gn,tt,Vi);return Me()(na,Gi==null?void 0:Gi(tt))},[tt,Gi,zo,gn,Vi]);ae.useImperativeHandle(ot,function(){return{forceAlign:Rn}});var sa=ae.useState(0),Ra=(0,Ze.Z)(sa,2),Qa=Ra[0],Ba=Ra[1],fr=ae.useState(0),Dr=(0,Ze.Z)(fr,2),Pa=Dr[0],Na=Dr[1],ga=function(){if(ko&&Ss){var or=Ss.getBoundingClientRect();Ba(or.width),Na(or.height)}},la=function(){ga(),Rn()},Da=function(or){Od(!1),yt(),pr==null||pr(or)},Wa=function(){return new Promise(function(or){ga(),Ys(function(){return or})})};oa(function(){Ls&&(yt(),Ls(),Ys(null))},[Ls]);function vr(na,or,jr,Io){Us[na]=function(ba){var Ja;Io==null||Io(ba),vs(or,jr);for(var tr=arguments.length,Ua=new Array(tr>1?tr-1:0),po=1;po<tr;po++)Ua[po-1]=arguments[po];(Ja=Ql[na])===null||Ja===void 0||Ja.call.apply(Ja,[Ql,ba].concat(Ua))}}(mn||Xn)&&(Us.onClick=function(na){var or;ws.current&&Xn?vs(!1):!ws.current&&mn&&(Ps(na),vs(!0));for(var jr=arguments.length,Io=new Array(jr>1?jr-1:0),ba=1;ba<jr;ba++)Io[ba-1]=arguments[ba];(or=Ql.onClick)===null||or===void 0||or.call.apply(or,[Ql,na].concat(Io))}),ni(ri,Xn,Ss,fs,er,jo,qd,vs);var Er=on.has("hover"),Ha=ln.has("hover"),Or,Kr;Er&&(vr("onMouseEnter",!0,uo,function(na){Ps(na)}),vr("onPointerEnter",!0,uo,function(na){Ps(na)}),Or=function(){(ri||ks)&&vs(!0,uo)},Vi&&(Us.onMouseMove=function(na){var or;(or=Ql.onMouseMove)===null||or===void 0||or.call(Ql,na)})),Ha&&(vr("onMouseLeave",!1,So),vr("onPointerLeave",!1,So),Kr=function(){vs(!1,So)}),on.has("focus")&&vr("onFocus",!0,Ur),ln.has("focus")&&vr("onBlur",!1,br),on.has("contextMenu")&&(Us.onContextMenu=function(na){var or;ws.current&&ln.has("contextMenu")?vs(!1):(Ps(na),vs(!0)),na.preventDefault();for(var jr=arguments.length,Io=new Array(jr>1?jr-1:0),ba=1;ba<jr;ba++)Io[ba-1]=arguments[ba];(or=Ql.onContextMenu)===null||or===void 0||or.call.apply(or,[Ql,na].concat(Io))}),us&&(Us.className=Me()(Ql.className,us));var Bo=(0,He.Z)((0,He.Z)({},Ql),Us),mo={},gi=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];gi.forEach(function(na){Fi[na]&&(mo[na]=function(){for(var or,jr=arguments.length,Io=new Array(jr),ba=0;ba<jr;ba++)Io[ba]=arguments[ba];(or=Bo[na])===null||or===void 0||or.call.apply(or,[Bo].concat(Io)),Fi[na].apply(Fi,Io)})});var fi=ae.cloneElement(vd,(0,He.Z)((0,He.Z)({},Bo),mo)),Fr={x:Be,y:Ie},Di=Oo?(0,He.Z)({},Oo!==!0?Oo:{}):null;return ae.createElement(ae.Fragment,null,ae.createElement(we.Z,{disabled:!ri,ref:Xd,onResize:la},ae.createElement(Bd,{getTriggerDOMNode:ll},fi)),ae.createElement(Tr.Provider,{value:xs},ae.createElement(il,{portal:Pe,ref:es,prefixCls:gn,popup:Po,className:Me()(Si,Hn),style:Mi,target:Ss,onMouseEnter:Or,onMouseLeave:Kr,onPointerEnter:Or,zIndex:Ii,open:ri,keepDom:ks,fresh:ul,onClick:Il,mask:er,motion:Rs,maskMotion:Zl,onVisibleChanged:Da,onPrepare:Wa,forceRender:pi,autoDestroy:El,getPopupContainer:si,align:tt,arrow:Di,arrowPos:Fr,ready:Xs,offsetX:de,offsetY:ue,offsetR:he,offsetB:be,onAlign:Rn,stretch:ko,targetWidth:Qa/Xe,targetHeight:Pa/nt})))});return ke}var ql=ss(nn),Nr={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(ke){var Oe=ke.keyCode;if(ke.altKey&&!ke.ctrlKey||ke.metaKey||Oe>=Nr.F1&&Oe<=Nr.F12)return!1;switch(Oe){case Nr.ALT:case Nr.CAPS_LOCK:case Nr.CONTEXT_MENU:case Nr.CTRL:case Nr.DOWN:case Nr.END:case Nr.ESC:case Nr.HOME:case Nr.INSERT:case Nr.LEFT:case Nr.MAC_FF_META:case Nr.META:case Nr.NUMLOCK:case Nr.NUM_CENTER:case Nr.PAGE_DOWN:case Nr.PAGE_UP:case Nr.PAUSE:case Nr.PRINT_SCREEN:case Nr.RIGHT:case Nr.SHIFT:case Nr.UP:case Nr.WIN_KEY:case Nr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ke){if(ke>=Nr.ZERO&&ke<=Nr.NINE||ke>=Nr.NUM_ZERO&&ke<=Nr.NUM_MULTIPLY||ke>=Nr.A&&ke<=Nr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ke===0)return!0;switch(ke){case Nr.SPACE:case Nr.QUESTION_MARK:case Nr.NUM_PLUS:case Nr.NUM_MINUS:case Nr.NUM_PERIOD:case Nr.NUM_DIVISION:case Nr.SEMICOLON:case Nr.DASH:case Nr.EQUALS:case Nr.COMMA:case Nr.PERIOD:case Nr.SLASH:case Nr.APOSTROPHE:case Nr.SINGLE_QUOTE:case Nr.OPEN_SQUARE_BRACKET:case Nr.BACKSLASH:case Nr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ds=Nr,cs=ds.ESC,Ks=ds.TAB;function Bs(Pe){var ke=Pe.visible,Oe=Pe.triggerRef,ot=Pe.onVisibleChange,Ot=Pe.autoFocus,gn=Pe.overlayRef,vn=ae.useRef(!1),ca=function(){if(ke){var ha,qa;(ha=Oe.current)===null||ha===void 0||(qa=ha.focus)===null||qa===void 0||qa.call(ha),ot==null||ot(!1)}},Ea=function(){var ha;return(ha=gn.current)!==null&&ha!==void 0&&ha.focus?(gn.current.focus(),vn.current=!0,!0):!1},ma=function(ha){switch(ha.keyCode){case cs:ca();break;case Ks:{var qa=!1;vn.current||(qa=Ea()),qa?ha.preventDefault():ca();break}}};ae.useEffect(function(){return ke?(window.addEventListener("keydown",ma),Ot&&Dt(Ea,3),function(){window.removeEventListener("keydown",ma),vn.current=!1}):function(){vn.current=!1}},[ke])}var js=(0,ae.forwardRef)(function(Pe,ke){var Oe=Pe.overlay,ot=Pe.arrow,Ot=Pe.prefixCls,gn=(0,ae.useMemo)(function(){var ca;return typeof Oe=="function"?ca=Oe():ca=Oe,ca},[Oe]),vn=pe(ke,gn==null?void 0:gn.ref);return ae.createElement(ae.Fragment,null,ot&&ae.createElement("div",{className:"".concat(Ot,"-arrow")}),ae.cloneElement(gn,{ref:Ce(gn)?vn:void 0}))}),Pc=js,rd={adjustX:1,adjustY:1},Ms=[0,0],yc={topLeft:{points:["bl","tl"],overflow:rd,offset:[0,-4],targetOffset:Ms},top:{points:["bc","tc"],overflow:rd,offset:[0,-4],targetOffset:Ms},topRight:{points:["br","tr"],overflow:rd,offset:[0,-4],targetOffset:Ms},bottomLeft:{points:["tl","bl"],overflow:rd,offset:[0,4],targetOffset:Ms},bottom:{points:["tc","bc"],overflow:rd,offset:[0,4],targetOffset:Ms},bottomRight:{points:["tr","br"],overflow:rd,offset:[0,4],targetOffset:Ms}},ic=yc,bc=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function $s(Pe,ke){var Oe,ot=Pe.arrow,Ot=ot===void 0?!1:ot,gn=Pe.prefixCls,vn=gn===void 0?"rc-dropdown":gn,ca=Pe.transitionName,Ea=Pe.animation,ma=Pe.align,Ya=Pe.placement,ha=Ya===void 0?"bottomLeft":Ya,qa=Pe.placements,za=qa===void 0?ic:qa,pr=Pe.getPopupContainer,uo=Pe.showAction,eo=Pe.hideAction,So=Pe.overlayClassName,Ur=Pe.overlayStyle,br=Pe.visible,er=Pe.trigger,li=er===void 0?["hover"]:er,jo=Pe.autoFocus,si=Pe.overlay,pi=Pe.children,Ui=Pe.onVisibleChange,Qo=(0,Ke.Z)(Pe,bc),Po=ae.useState(),Si=(0,Ze.Z)(Po,2),Mi=Si[0],qo=Si[1],fo="visible"in Pe?br:Mi,zo=ae.useRef(null),Gr=ae.useRef(null),Ii=ae.useRef(null);ae.useImperativeHandle(ke,function(){return zo.current});var ko=function(Ho){qo(Ho),Ui==null||Ui(Ho)};Bs({visible:fo,triggerRef:Ii,onVisibleChange:ko,autoFocus:jo,overlayRef:Gr});var Gi=function(Ho){var di=Pe.onOverlayClick;qo(!1),di&&di(Ho)},ul=function(){return ae.createElement(Pc,{ref:Gr,overlay:si,prefixCls:vn,arrow:Ot})},Vi=function(){return typeof si=="function"?ul:ul()},Il=function(){var Ho=Pe.minOverlayWidthMatchTrigger,di=Pe.alignPoint;return"minOverlayWidthMatchTrigger"in Pe?Ho:!di},Tl=function(){var Ho=Pe.openClassName;return Ho!==void 0?Ho:"".concat(vn,"-open")},Oo=ae.cloneElement(pi,{className:Me()((Oe=pi.props)===null||Oe===void 0?void 0:Oe.className,fo&&Tl()),ref:Ce(pi)?pe(Ii,pi.ref):void 0}),Nl=eo;return!Nl&&li.indexOf("contextMenu")!==-1&&(Nl=["click"]),ae.createElement(ql,(0,Te.Z)({builtinPlacements:za},Qo,{prefixCls:vn,ref:zo,popupClassName:Me()(So,(0,se.Z)({},"".concat(vn,"-show-arrow"),Ot)),popupStyle:Ur,action:li,showAction:uo,hideAction:Nl,popupPlacement:ha,popupAlign:ma,popupTransitionName:ca,popupAnimation:Ea,popupVisible:fo,stretch:Il()?"minWidth":"",popup:Vi(),onPopupVisibleChange:ko,onPopupClick:Gi,getPopupContainer:pr}),Oo)}var cd=ae.forwardRef($s),ud=cd,Cc=ee(60276),lc=ee(5663),xc=ee(10366),sc=ee(80636),Ec=ee(8745),wc=ee(96159),Yd=ee(53124),dc=ee(68508),Md=ee(76529),Lc=ee(46605),gd=ee(66748);const Ac=null,od=Pe=>{const{menu:ke,arrow:Oe,prefixCls:ot,children:Ot,trigger:gn,disabled:vn,dropdownRender:ca,getPopupContainer:Ea,overlayClassName:ma,rootClassName:Ya,open:ha,onOpenChange:qa,visible:za,onVisibleChange:pr,mouseEnterDelay:uo=.15,mouseLeaveDelay:eo=.1,autoAdjustOverflow:So=!0,placement:Ur="",overlay:br,transitionName:er}=Pe,{getPopupContainer:li,getPrefixCls:jo,direction:si}=ae.useContext(Yd.E_),pi=ae.useMemo(()=>{const Oo=jo();return er!==void 0?er:Ur.includes("top")?`${Oo}-slide-down`:`${Oo}-slide-up`},[jo,Ur,er]),Ui=ae.useMemo(()=>Ur?Ur.includes("Center")?Ur.slice(0,Ur.indexOf("Center")):Ur:si==="rtl"?"bottomRight":"bottomLeft",[Ur,si]),Qo=jo("dropdown",ot),[Po,Si]=(0,gd.Z)(Qo),[,Mi]=(0,Lc.Z)(),qo=ae.Children.only(Ot),fo=(0,wc.Tm)(qo,{className:Me()(`${Qo}-trigger`,{[`${Qo}-rtl`]:si==="rtl"},qo.props.className),disabled:vn}),zo=vn?[]:gn;let Gr;zo&&zo.includes("contextMenu")&&(Gr=!0);const[Ii,ko]=(0,lc.Z)(!1,{value:ha!=null?ha:za}),Gi=(0,Cc.useEvent)(Oo=>{qa==null||qa(Oo),pr==null||pr(Oo),ko(Oo)}),ul=Me()(ma,Ya,Si,{[`${Qo}-rtl`]:si==="rtl"}),Vi=(0,sc.Z)({arrowPointAtCenter:typeof Oe=="object"&&Oe.pointAtCenter,autoAdjustOverflow:So,offset:Mi.marginXXS,arrowWidth:Oe?Mi.sizePopupArrow:0,borderRadius:Mi.borderRadius}),Il=ae.useCallback(()=>{ko(!1)},[]),Tl=()=>{let Oo;return ke!=null&&ke.items?Oo=ae.createElement(dc.default,Object.assign({},ke)):typeof br=="function"?Oo=br():Oo=br,ca&&(Oo=ca(Oo)),Oo=ae.Children.only(typeof Oo=="string"?ae.createElement("span",null,Oo):Oo),ae.createElement(Md.J,{prefixCls:`${Qo}-menu`,expandIcon:ae.createElement("span",{className:`${Qo}-menu-submenu-arrow`},ae.createElement(Re.Z,{className:`${Qo}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Il,validator:Nl=>{let{mode:Ni}=Nl}},Oo)};return Po(ae.createElement(ud,Object.assign({alignPoint:Gr},(0,xc.Z)(Pe,["rootClassName"]),{mouseEnterDelay:uo,mouseLeaveDelay:eo,visible:Ii,builtinPlacements:Vi,arrow:!!Oe,overlayClassName:ul,prefixCls:Qo,getPopupContainer:Ea||li,transitionName:pi,trigger:zo,overlay:Tl,placement:Ui,onVisibleChange:Gi}),fo))};function Fs(Pe){return Object.assign(Object.assign({},Pe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Nc=(0,Ec.Z)(od,"dropdown",Pe=>Pe,Fs),Qd=Pe=>ae.createElement(Nc,Object.assign({},Pe),ae.createElement("span",null));od._InternalPanelDoNotUseOrYouWillBeFired=Qd;var Oc=od},85418:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return a}});var ae=ee(56153),me=ee(94184),Re=ee.n(me),ze=ee(67294),Me=ee(25877),Te=ee(71577),se=ee(53124),Ze=ee(93421),Ke=ee(4173),He=ee(66748),_e=function(y,x){var b={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&x.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,E=Object.getOwnPropertySymbols(y);z<E.length;z++)x.indexOf(E[z])<0&&Object.prototype.propertyIsEnumerable.call(y,E[z])&&(b[E[z]]=y[E[z]]);return b};const je=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=ze.useContext(se.E_),{prefixCls:z,type:re="default",danger:oe,disabled:ne,loading:fe,onClick:pe,htmlType:ye,children:Ce,className:Ee,menu:Se,arrow:gt,autoFocus:Ye,overlay:It,trigger:Ue,align:ft,open:Tt,onOpenChange:Qt,placement:wt,getPopupContainer:dt,href:Gt,icon:an=ze.createElement(Me.Z,null),title:pn,buttonsRender:$e=Gn=>Gn,mouseEnterDelay:Ct,mouseLeaveDelay:Bt,overlayClassName:Tn,overlayStyle:it,destroyPopupOnHide:Mt,dropdownRender:xe}=y,Sn=_e(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Wn=b("dropdown",z),Ca=`${Wn}-button`,[yn,Yt]=(0,He.Z)(Wn),Ge={menu:Se,arrow:gt,autoFocus:Ye,align:ft,disabled:ne,trigger:ne?[]:Ue,onOpenChange:Qt,getPopupContainer:dt||x,mouseEnterDelay:Ct,mouseLeaveDelay:Bt,overlayClassName:Tn,overlayStyle:it,destroyPopupOnHide:Mt,dropdownRender:xe},{compactSize:Fe,compactItemClassnames:pt}=(0,Ke.ri)(Wn,E),zt=Re()(Ca,pt,Ee,Yt);"overlay"in y&&(Ge.overlay=It),"open"in y&&(Ge.open=Tt),"placement"in y?Ge.placement=wt:Ge.placement=E==="rtl"?"bottomLeft":"bottomRight";const en=ze.createElement(Te.ZP,{type:re,danger:oe,disabled:ne,loading:fe,onClick:pe,htmlType:ye,href:Gt,title:pn},Ce),En=ze.createElement(Te.ZP,{type:re,danger:oe,icon:an}),[kn,_n]=$e([en,En]);return yn(ze.createElement(Ze.Z.Compact,Object.assign({className:zt,size:Fe,block:!0},Sn),kn,ze.createElement(ae.Z,Object.assign({},Ge),_n)))};je.__ANT_BUTTON=!0;var Le=je;const ce=ae.Z;ce.Button=Le;var a=ce},66748:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return _e}});var ae=ee(14747),me=ee(67771),Re=ee(33297),ze=ee(50438),Me=ee(97414),Te=ee(67968),se=ee(45503),Ke=je=>{const{componentCls:Le,menuCls:ce,colorError:a,colorTextLightSolid:y}=je,x=`${ce}-item`;return{[`${Le}, ${Le}-menu-submenu`]:{[`${ce} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const He=je=>{const{componentCls:Le,menuCls:ce,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:re,fontSize:oe,dropdownEdgeChildPadding:ne,colorTextDisabled:fe,fontSizeIcon:pe,controlPaddingHorizontal:ye,colorBgElevated:Ce}=je;return[{[Le]:Object.assign(Object.assign({},(0,ae.Wf)(je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:pe}},[`${Le}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:pe},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${Le}-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${Le}-placement-bottomLeft,
&${b}-slide-down-appear${b}-slide-down-appear-active${Le}-placement-bottomLeft,
&${b}-slide-down-enter${b}-slide-down-enter-active${Le}-placement-bottom,
&${b}-slide-down-appear${b}-slide-down-appear-active${Le}-placement-bottom,
&${b}-slide-down-enter${b}-slide-down-enter-active${Le}-placement-bottomRight,
&${b}-slide-down-appear${b}-slide-down-appear-active${Le}-placement-bottomRight`]:{animationName:me.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Le}-placement-topLeft,
&${b}-slide-up-appear${b}-slide-up-appear-active${Le}-placement-topLeft,
&${b}-slide-up-enter${b}-slide-up-enter-active${Le}-placement-top,
&${b}-slide-up-appear${b}-slide-up-appear-active${Le}-placement-top,
&${b}-slide-up-enter${b}-slide-up-enter-active${Le}-placement-topRight,
&${b}-slide-up-appear${b}-slide-up-appear-active${Le}-placement-topRight`]:{animationName:me.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Le}-placement-bottomLeft,
&${b}-slide-down-leave${b}-slide-down-leave-active${Le}-placement-bottom,
&${b}-slide-down-leave${b}-slide-down-leave-active${Le}-placement-bottomRight`]:{animationName:me.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Le}-placement-topLeft,
&${b}-slide-up-leave${b}-slide-up-leave-active${Le}-placement-top,
&${b}-slide-up-leave${b}-slide-up-leave-active${Le}-placement-topRight`]:{animationName:me.ly}})},(0,Me.ZP)(je,{colorBg:Ce,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Le} ${ce}`]:{position:"relative",margin:0},[`${ce}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Le}, ${Le}-menu-submenu`]:{[ce]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:Ce,backgroundClip:"padding-box",borderRadius:je.borderRadiusLG,outline:"none",boxShadow:je.boxShadowSecondary},(0,ae.Qy)(je)),{[`${ce}-item-group-title`]:{padding:`${re}px ${ye}px`,color:je.colorTextDescription,transition:`all ${z}`},[`${ce}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ce}-item-icon`]:{minWidth:oe,marginInlineEnd:je.marginXS,fontSize:je.fontSizeSM},[`${ce}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ce}-item, ${ce}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${ye}px`,color:je.colorText,fontWeight:"normal",fontSize:oe,lineHeight:je.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:je.borderRadiusSM,"&:hover, &-active":{backgroundColor:je.controlItemBgHover}},(0,ae.Qy)(je)),{"&-selected":{color:je.colorPrimary,backgroundColor:je.controlItemBgActive,"&:hover, &-active":{backgroundColor:je.controlItemBgActiveHover}},"&-disabled":{color:fe,cursor:"not-allowed","&:hover":{color:fe,backgroundColor:Ce,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:je.colorSplit},[`${Le}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:je.paddingXS,[`${Le}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:je.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${ce}-item-group-list`]:{margin:`0 ${je.marginXS}px`,padding:0,listStyle:"none"},[`${ce}-submenu-title`]:{paddingInlineEnd:ye+je.fontSizeSM},[`${ce}-submenu-vertical`]:{position:"relative"},[`${ce}-submenu${ce}-submenu-disabled ${Le}-menu-submenu-title`]:{[`&, ${Le}-menu-submenu-arrow-icon`]:{color:fe,backgroundColor:Ce,cursor:"not-allowed"}},[`${ce}-submenu-selected ${Le}-menu-submenu-title`]:{color:je.colorPrimary}})}},[(0,me.oN)(je,"slide-up"),(0,me.oN)(je,"slide-down"),(0,Re.Fm)(je,"move-up"),(0,Re.Fm)(je,"move-down"),(0,ze._y)(je,"zoom-big")]]};var _e=(0,Te.Z)("Dropdown",(je,Le)=>{let{rootPrefixCls:ce}=Le;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:re,borderRadiusLG:oe}=je,ne=(x-b*E)/2,{dropdownArrowOffset:fe}=(0,Me.fS)({contentRadius:oe}),pe=(0,se.TS)(je,{menuCls:`${re}-menu`,rootPrefixCls:ce,dropdownArrowDistance:y/2+a,dropdownArrowOffset:fe,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:z});return[He(pe),Ke(pe)]},je=>({zIndexPopup:je.zIndexPopupBase+50}))},25378:function(ht,Et,ee){"use strict";var ae=ee(67294),me=ee(14075),Re=ee(57838),ze=ee(74443);function Me(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,ae.useRef)({}),Ze=(0,Re.Z)(),Ke=(0,ze.ZP)();return(0,me.Z)(()=>{const He=Ke.subscribe(_e=>{se.current=_e,Te&&Ze()});return()=>Ke.unsubscribe(He)},[]),se.current}Et.Z=Me},71322:function(ht,Et,ee){"use strict";ee.d(Et,{D:function(){return E},Z:function(){return oe}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(fe,pe){return me.createElement(Me.Z,(0,ae.Z)({},fe,{ref:pe,icon:ze}))},se=me.forwardRef(Te),Ze=ee(22751),Ke=ee(91034),He=ee(94184),_e=ee.n(He),je=ee(10366),ce=ne=>!isNaN(parseFloat(ne))&&isFinite(ne),a=ee(53124),y=ee(84321),x=function(ne,fe){var pe={};for(var ye in ne)Object.prototype.hasOwnProperty.call(ne,ye)&&fe.indexOf(ye)<0&&(pe[ye]=ne[ye]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ye=Object.getOwnPropertySymbols(ne);Ce<ye.length;Ce++)fe.indexOf(ye[Ce])<0&&Object.prototype.propertyIsEnumerable.call(ne,ye[Ce])&&(pe[ye[Ce]]=ne[ye[Ce]]);return pe};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},E=me.createContext({}),z=(()=>{let ne=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${fe}${ne}`}})();var oe=me.forwardRef((ne,fe)=>{const{prefixCls:pe,className:ye,trigger:Ce,children:Ee,defaultCollapsed:Se=!1,theme:gt="dark",style:Ye={},collapsible:It=!1,reverseArrow:Ue=!1,width:ft=200,collapsedWidth:Tt=80,zeroWidthTriggerStyle:Qt,breakpoint:wt,onCollapse:dt,onBreakpoint:Gt}=ne,an=x(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:pn}=(0,me.useContext)(y.Gs),[$e,Ct]=(0,me.useState)("collapsed"in ne?ne.collapsed:Se),[Bt,Tn]=(0,me.useState)(!1);(0,me.useEffect)(()=>{"collapsed"in ne&&Ct(ne.collapsed)},[ne.collapsed]);const it=(yn,Yt)=>{"collapsed"in ne||Ct(yn),dt==null||dt(yn,Yt)},Mt=(0,me.useRef)();Mt.current=yn=>{Tn(yn.matches),Gt==null||Gt(yn.matches),$e!==yn.matches&&it(yn.matches,"responsive")},(0,me.useEffect)(()=>{function yn(Ge){return Mt.current(Ge)}let Yt;if(typeof window!="undefined"){const{matchMedia:Ge}=window;if(Ge&&wt&&wt in b){Yt=Ge(`(max-width: ${b[wt]})`);try{Yt.addEventListener("change",yn)}catch(Fe){Yt.addListener(yn)}yn(Yt)}}return()=>{try{Yt==null||Yt.removeEventListener("change",yn)}catch(Ge){Yt==null||Yt.removeListener(yn)}}},[wt]),(0,me.useEffect)(()=>{const yn=z("ant-sider-");return pn.addSider(yn),()=>pn.removeSider(yn)},[]);const xe=()=>{it(!$e,"clickTrigger")},{getPrefixCls:Sn}=(0,me.useContext)(a.E_),Wn=()=>{const yn=Sn("layout-sider",pe),Yt=(0,je.Z)(an,["collapsed"]),Ge=$e?Tt:ft,Fe=ce(Ge)?`${Ge}px`:String(Ge),pt=parseFloat(String(Tt||0))===0?me.createElement("span",{onClick:xe,className:_e()(`${yn}-zero-width-trigger`,`${yn}-zero-width-trigger-${Ue?"right":"left"}`),style:Qt},Ce||me.createElement(se,null)):null,En={expanded:Ue?me.createElement(Ke.Z,null):me.createElement(Ze.Z,null),collapsed:Ue?me.createElement(Ze.Z,null):me.createElement(Ke.Z,null)}[$e?"collapsed":"expanded"],kn=Ce!==null?pt||me.createElement("div",{className:`${yn}-trigger`,onClick:xe,style:{width:Fe}},Ce||En):null,_n=Object.assign(Object.assign({},Ye),{flex:`0 0 ${Fe}`,maxWidth:Fe,minWidth:Fe,width:Fe}),Gn=_e()(yn,`${yn}-${gt}`,{[`${yn}-collapsed`]:!!$e,[`${yn}-has-trigger`]:It&&Ce!==null&&!pt,[`${yn}-below`]:!!Bt,[`${yn}-zero-width`]:parseFloat(Fe)===0},ye);return me.createElement("aside",Object.assign({className:Gn},Yt,{style:_n,ref:fe}),me.createElement("div",{className:`${yn}-children`},Ee),It||Bt&&pt?kn:null)},Ca=me.useMemo(()=>({siderCollapsed:$e}),[$e]);return me.createElement(E.Provider,{value:Ca},Wn())})},84321:function(ht,Et,ee){"use strict";ee.d(Et,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return Le},ZP:function(){return re}});var ae=ee(74902),me=ee(94184),Re=ee.n(me),ze=ee(10366),Me=ee(67294),Te=ee(53124),se=ee(67968),Ke=oe=>{const{componentCls:ne,bodyBg:fe,lightSiderBg:pe,lightTriggerBg:ye,lightTriggerColor:Ce}=oe;return{[`${ne}-sider-light`]:{background:pe,[`${ne}-sider-trigger`]:{color:Ce,background:ye},[`${ne}-sider-zero-width-trigger`]:{color:Ce,background:ye,border:`1px solid ${fe}`,borderInlineStart:0}}}};const He=oe=>{const{antCls:ne,componentCls:fe,colorText:pe,triggerColor:ye,footerBg:Ce,triggerBg:Ee,headerHeight:Se,headerPadding:gt,headerColor:Ye,footerPadding:It,triggerHeight:Ue,zeroTriggerHeight:ft,zeroTriggerWidth:Tt,motionDurationMid:Qt,motionDurationSlow:wt,fontSize:dt,borderRadius:Gt,bodyBg:an,headerBg:pn,siderBg:$e}=oe;return{[fe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{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:$e,transition:`all ${Qt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ue},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ue,color:ye,lineHeight:`${Ue}px`,textAlign:"center",background:Ee,cursor:"pointer",transition:`all ${Qt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Se,insetInlineEnd:-Tt,zIndex:1,width:Tt,height:ft,color:ye,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:Gt,borderEndEndRadius:Gt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${wt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${wt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Tt,borderStartStartRadius:Gt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Gt}}}}},Ke(oe)),{"&-rtl":{direction:"rtl"}}),[`${fe}-header`]:{height:Se,padding:gt,color:Ye,lineHeight:`${Se}px`,background:pn,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:It,color:pe,fontSize:dt,background:Ce},[`${fe}-content`]:{flex:"auto",minHeight:0}}};var _e=(0,se.Z)("Layout",oe=>[He(oe)],oe=>{const{colorBgLayout:ne,controlHeight:fe,controlHeightLG:pe,colorText:ye,controlHeightSM:Ce,marginXXS:Ee,colorTextLightSolid:Se,colorBgContainer:gt}=oe,Ye=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${Ye}px`,headerColor:ye,footerPadding:`${Ce}px ${Ye}px`,footerBg:ne,siderBg:"#001529",triggerHeight:pe+Ee*2,triggerBg:"#002140",triggerColor:Se,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:gt,lightTriggerBg:gt,lightTriggerColor:ye}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),je=function(oe,ne){var fe={};for(var pe in oe)Object.prototype.hasOwnProperty.call(oe,pe)&&ne.indexOf(pe)<0&&(fe[pe]=oe[pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,pe=Object.getOwnPropertySymbols(oe);ye<pe.length;ye++)ne.indexOf(pe[ye])<0&&Object.prototype.propertyIsEnumerable.call(oe,pe[ye])&&(fe[pe[ye]]=oe[pe[ye]]);return fe};const Le=Me.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ce(oe){let{suffixCls:ne,tagName:fe,displayName:pe}=oe;return ye=>Me.forwardRef((Ee,Se)=>Me.createElement(ye,Object.assign({ref:Se,suffixCls:ne,tagName:fe},Ee)))}const a=Me.forwardRef((oe,ne)=>{const{prefixCls:fe,suffixCls:pe,className:ye,tagName:Ce}=oe,Ee=je(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=Me.useContext(Te.E_),gt=Se("layout",fe),[Ye,It]=_e(gt),Ue=pe?`${gt}-${pe}`:gt;return Ye(Me.createElement(Ce,Object.assign({className:Re()(fe||Ue,ye,It),ref:ne},Ee)))}),y=Me.forwardRef((oe,ne)=>{const{direction:fe}=Me.useContext(Te.E_),[pe,ye]=Me.useState([]),{prefixCls:Ce,className:Ee,rootClassName:Se,children:gt,hasSider:Ye,tagName:It,style:Ue}=oe,ft=je(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Tt=(0,ze.Z)(ft,["suffixCls"]),{getPrefixCls:Qt,layout:wt}=Me.useContext(Te.E_),dt=Qt("layout",Ce),[Gt,an]=_e(dt),pn=Re()(dt,{[`${dt}-has-sider`]:typeof Ye=="boolean"?Ye:pe.length>0,[`${dt}-rtl`]:fe==="rtl"},wt==null?void 0:wt.className,Ee,Se,an),$e=Me.useMemo(()=>({siderHook:{addSider:Ct=>{ye(Bt=>[].concat((0,ae.Z)(Bt),[Ct]))},removeSider:Ct=>{ye(Bt=>Bt.filter(Tn=>Tn!==Ct))}}}),[]);return Gt(Me.createElement(Le.Provider,{value:$e},Me.createElement(It,Object.assign({ref:ne,className:pn,style:Object.assign(Object.assign({},wt==null?void 0:wt.style),Ue)},Tt),gt)))}),x=ce({tagName:"div",displayName:"Layout"})(y),b=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(a),E=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),z=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=x},76529:function(ht,Et,ee){"use strict";ee.d(Et,{J:function(){return Te}});var ae=ee(67294),me=ee(4173),Re=ee(60276),ze=function(se,Ze){var Ke={};for(var He in se)Object.prototype.hasOwnProperty.call(se,He)&&Ze.indexOf(He)<0&&(Ke[He]=se[He]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(se);_e<He.length;_e++)Ze.indexOf(He[_e])<0&&Object.prototype.propertyIsEnumerable.call(se,He[_e])&&(Ke[He[_e]]=se[He[_e]]);return Ke};const Me=ae.createContext(null),Te=ae.forwardRef((se,Ze)=>{const{children:Ke}=se,He=ze(se,["children"]),_e=ae.useContext(Me),je=ae.useMemo(()=>Object.assign(Object.assign({},_e),He),[_e,He.prefixCls,He.mode,He.selectable]);return ae.createElement(Me.Provider,{value:je},ae.createElement(me.BR,null,(0,Re.supportNodeRef)(Ke)?ae.cloneElement(Ke,{ref:Ze}):Ke))});Et.Z=Me},68508:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return yn}});var ae=ee(52073),me=ee(67294),Re=ee(71322),ze=ee(94184),Me=ee.n(ze),Te=ee(53124),se=function(Yt,Ge){var Fe={};for(var pt in Yt)Object.prototype.hasOwnProperty.call(Yt,pt)&&Ge.indexOf(pt)<0&&(Fe[pt]=Yt[pt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,pt=Object.getOwnPropertySymbols(Yt);zt<pt.length;zt++)Ge.indexOf(pt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Yt,pt[zt])&&(Fe[pt[zt]]=Yt[pt[zt]]);return Fe},Ke=Yt=>{const{prefixCls:Ge,className:Fe,dashed:pt}=Yt,zt=se(Yt,["prefixCls","className","dashed"]),{getPrefixCls:en}=me.useContext(Te.E_),En=en("menu",Ge),kn=Me()({[`${En}-item-divider-dashed`]:!!pt},Fe);return me.createElement(ae.iz,Object.assign({className:kn},zt))},He=ee(37419),_e=ee(10366),je=ee(83062),Le=ee(96159),a=(0,me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Yt=>{var Ge;const{className:Fe,children:pt,icon:zt,title:en,danger:En}=Yt,{prefixCls:kn,firstLevel:_n,direction:Gn,disableMenuItemTitleTooltip:nn,inlineCollapsed:we}=me.useContext(a),Qe=ut=>{const Ft=me.createElement("span",{className:`${kn}-title-content`},pt);return(!zt||(0,Le.l$)(pt)&&pt.type==="span")&&pt&&ut&&_n&&typeof pt=="string"?me.createElement("div",{className:`${kn}-inline-collapsed-noicon`},pt.charAt(0)):Ft},{siderCollapsed:Qn}=me.useContext(Re.D);let Kn=en;typeof en=="undefined"?Kn=_n?pt:"":en===!1&&(Kn="");const lt={title:Kn};!Qn&&!we&&(lt.title=null,lt.open=!1);const tn=(0,He.Z)(pt).length;let We=me.createElement(ae.ck,Object.assign({},(0,_e.Z)(Yt,["title","icon","danger"]),{className:Me()({[`${kn}-item-danger`]:En,[`${kn}-item-only-child`]:(zt?tn+1:tn)===1},Fe),title:typeof en=="string"?en:void 0}),(0,Le.Tm)(zt,{className:Me()((0,Le.l$)(zt)?(Ge=zt.props)===null||Ge===void 0?void 0:Ge.className:"",`${kn}-item-icon`)}),Qe(we));return nn||(We=me.createElement(je.Z,Object.assign({},lt,{placement:Gn==="rtl"?"left":"right",overlayClassName:`${kn}-inline-collapsed-tooltip`}),We)),We},E=Yt=>{var Ge;const{popupClassName:Fe,icon:pt,title:zt,theme:en}=Yt,En=me.useContext(a),{prefixCls:kn,inlineCollapsed:_n,theme:Gn}=En,nn=(0,ae.Xl)();let we;if(!pt)we=_n&&!nn.length&&zt&&typeof zt=="string"?me.createElement("div",{className:`${kn}-inline-collapsed-noicon`},zt.charAt(0)):me.createElement("span",{className:`${kn}-title-content`},zt);else{const Qn=(0,Le.l$)(zt)&&zt.type==="span";we=me.createElement(me.Fragment,null,(0,Le.Tm)(pt,{className:Me()((0,Le.l$)(pt)?(Ge=pt.props)===null||Ge===void 0?void 0:Ge.className:"",`${kn}-item-icon`)}),Qn?zt:me.createElement("span",{className:`${kn}-title-content`},zt))}const Qe=me.useMemo(()=>Object.assign(Object.assign({},En),{firstLevel:!1}),[En]);return me.createElement(a.Provider,{value:Qe},me.createElement(ae.Wd,Object.assign({},(0,_e.Z)(Yt,["icon"]),{title:we,popupClassName:Me()(kn,Fe,`${kn}-${en||Gn}`)})))},z=ee(25877),re=ee(60276),oe=ee(33603),ne=ee(76529),fe=function(Yt,Ge){var Fe={};for(var pt in Yt)Object.prototype.hasOwnProperty.call(Yt,pt)&&Ge.indexOf(pt)<0&&(Fe[pt]=Yt[pt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,pt=Object.getOwnPropertySymbols(Yt);zt<pt.length;zt++)Ge.indexOf(pt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Yt,pt[zt])&&(Fe[pt[zt]]=Yt[pt[zt]]);return Fe};function pe(Yt){return(Yt||[]).map((Ge,Fe)=>{if(Ge&&typeof Ge=="object"){const pt=Ge,{label:zt,children:en,key:En,type:kn}=pt,_n=fe(pt,["label","children","key","type"]),Gn=En!=null?En:`tmp-${Fe}`;return en||kn==="group"?kn==="group"?me.createElement(ae.BW,Object.assign({key:Gn},_n,{title:zt}),pe(en)):me.createElement(E,Object.assign({key:Gn},_n,{title:zt}),pe(en)):kn==="divider"?me.createElement(Ke,Object.assign({key:Gn},_n)):me.createElement(x,Object.assign({key:Gn},_n),zt)}return null}).filter(Ge=>Ge)}function ye(Yt){return me.useMemo(()=>Yt&&pe(Yt),[Yt])}var Ce=ee(84780),Ee=ee(14747),Se=ee(33507),gt=ee(67771),Ye=ee(50438),It=ee(67968),Ue=ee(45503),Tt=Yt=>{const{componentCls:Ge,motionDurationSlow:Fe,horizontalLineHeight:pt,colorSplit:zt,lineWidth:en,lineType:En,itemPaddingInline:kn}=Yt;return{[`${Ge}-horizontal`]:{lineHeight:pt,border:0,borderBottom:`${en}px ${En} ${zt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ge}-item, ${Ge}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:kn},[`> ${Ge}-item:hover,
> ${Ge}-item-active,
> ${Ge}-submenu ${Ge}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ge}-item, ${Ge}-submenu-title`]:{transition:[`border-color ${Fe}`,`background ${Fe}`].join(",")},[`${Ge}-submenu-arrow`]:{display:"none"}}}},wt=Yt=>{let{componentCls:Ge,menuArrowOffset:Fe}=Yt;return{[`${Ge}-rtl`]:{direction:"rtl"},[`${Ge}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ge}-rtl${Ge}-vertical,
${Ge}-submenu-rtl ${Ge}-vertical`]:{[`${Ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(45deg) translateY(${Fe})`}}}}};const dt=Yt=>Object.assign({},(0,Ee.oN)(Yt));var an=(Yt,Ge)=>{const{componentCls:Fe,itemColor:pt,itemSelectedColor:zt,groupTitleColor:en,itemBg:En,subMenuItemBg:kn,itemSelectedBg:_n,activeBarHeight:Gn,activeBarWidth:nn,activeBarBorderWidth:we,motionDurationSlow:Qe,motionEaseInOut:Qn,motionEaseOut:Kn,itemPaddingInline:lt,motionDurationMid:tn,itemHoverColor:We,lineType:ut,colorSplit:Ft,itemDisabledColor:$t,dangerItemColor:Rt,dangerItemHoverColor:bn,dangerItemSelectedColor:ra,dangerItemActiveBg:Yn,dangerItemSelectedBg:jn,itemHoverBg:Ga,itemActiveBg:oa,menuSubMenuBg:Ka,horizontalItemSelectedColor:Pr,horizontalItemSelectedBg:Tr,horizontalItemBorderRadius:Xr,horizontalItemHoverBg:Rr,popupBg:Br}=Yt;return{[`${Fe}-${Ge}, ${Fe}-${Ge} > ${Fe}`]:{color:pt,background:En,[`&${Fe}-root:focus-visible`]:Object.assign({},dt(Yt)),[`${Fe}-item-group-title`]:{color:en},[`${Fe}-submenu-selected`]:{[`> ${Fe}-submenu-title`]:{color:zt}},[`${Fe}-item-disabled, ${Fe}-submenu-disabled`]:{color:`${$t} !important`},[`${Fe}-item:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{[`&:hover, > ${Fe}-submenu-title:hover`]:{color:We}},[`&:not(${Fe}-horizontal)`]:{[`${Fe}-item:not(${Fe}-item-selected)`]:{"&:hover":{backgroundColor:Ga},"&:active":{backgroundColor:oa}},[`${Fe}-submenu-title`]:{"&:hover":{backgroundColor:Ga},"&:active":{backgroundColor:oa}}},[`${Fe}-item-danger`]:{color:Rt,[`&${Fe}-item:hover`]:{[`&:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{color:bn}},[`&${Fe}-item:active`]:{background:Yn}},[`${Fe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Fe}-item-selected`]:{color:zt,[`&${Fe}-item-danger`]:{color:ra},"a, a:hover":{color:"inherit"}},[`& ${Fe}-item-selected`]:{backgroundColor:_n,[`&${Fe}-item-danger`]:{backgroundColor:jn}},[`${Fe}-item, ${Fe}-submenu-title`]:{[`&:not(${Fe}-item-disabled):focus-visible`]:Object.assign({},dt(Yt))},[`&${Fe}-submenu > ${Fe}`]:{backgroundColor:Ka},[`&${Fe}-popup > ${Fe}`]:{backgroundColor:Br},[`&${Fe}-horizontal`]:Object.assign(Object.assign({},Ge==="dark"?{borderBottom:0}:{}),{[`> ${Fe}-item, > ${Fe}-submenu`]:{top:we,marginTop:-we,marginBottom:0,borderRadius:Xr,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${Gn}px solid transparent`,transition:`border-color ${Qe} ${Qn}`,content:'""'},"&:hover, &-active, &-open":{background:Rr,"&::after":{borderBottomWidth:Gn,borderBottomColor:Pr}},"&-selected":{color:Pr,backgroundColor:Tr,"&:hover":{backgroundColor:Tr},"&::after":{borderBottomWidth:Gn,borderBottomColor:Pr}}}}),[`&${Fe}-root`]:{[`&${Fe}-inline, &${Fe}-vertical`]:{borderInlineEnd:`${we}px ${ut} ${Ft}`}},[`&${Fe}-inline`]:{[`${Fe}-sub${Fe}-inline`]:{background:kn},[`${Fe}-item, ${Fe}-submenu-title`]:we&&nn?{width:`calc(100% + ${we}px)`}:{},[`${Fe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${nn}px solid ${zt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${tn} ${Kn}`,`opacity ${tn} ${Kn}`].join(","),content:'""'},[`&${Fe}-item-danger`]:{"&::after":{borderInlineEndColor:ra}}},[`${Fe}-selected, ${Fe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${tn} ${Qn}`,`opacity ${tn} ${Qn}`].join(",")}}}}}};const pn=Yt=>{const{componentCls:Ge,itemHeight:Fe,itemMarginInline:pt,padding:zt,menuArrowSize:en,marginXS:En,itemMarginBlock:kn}=Yt,_n=zt+en+En;return{[`${Ge}-item`]:{position:"relative",overflow:"hidden"},[`${Ge}-item, ${Ge}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`,paddingInline:zt,overflow:"hidden",textOverflow:"ellipsis",marginInline:pt,marginBlock:kn,width:`calc(100% - ${pt*2}px)`},[`> ${Ge}-item,
> ${Ge}-submenu > ${Ge}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`},[`${Ge}-item-group-list ${Ge}-submenu-title,
${Ge}-submenu-title`]:{paddingInlineEnd:_n}}};var Ct=Yt=>{const{componentCls:Ge,iconCls:Fe,itemHeight:pt,colorTextLightSolid:zt,dropdownWidth:en,controlHeightLG:En,motionDurationMid:kn,motionEaseOut:_n,paddingXL:Gn,itemMarginInline:nn,fontSizeLG:we,motionDurationSlow:Qe,paddingXS:Qn,boxShadowSecondary:Kn,collapsedWidth:lt,collapsedIconSize:tn}=Yt,We={height:pt,lineHeight:`${pt}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ge]:{"&-inline, &-vertical":Object.assign({[`&${Ge}-root`]:{boxShadow:"none"}},pn(Yt))},[`${Ge}-submenu-popup`]:{[`${Ge}-vertical`]:Object.assign(Object.assign({},pn(Yt)),{boxShadow:Kn})}},{[`${Ge}-submenu-popup ${Ge}-vertical${Ge}-sub`]:{minWidth:en,maxHeight:`calc(100vh - ${En*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ge}-inline`]:{width:"100%",[`&${Ge}-root`]:{[`${Ge}-item, ${Ge}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Qe}`,`background ${Qe}`,`padding ${kn} ${_n}`].join(","),[`> ${Ge}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ge}-sub${Ge}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ge}-submenu > ${Ge}-submenu-title`]:We,[`& ${Ge}-item-group-title`]:{paddingInlineStart:Gn}},[`${Ge}-item`]:We}},{[`${Ge}-inline-collapsed`]:{width:lt,[`&${Ge}-root`]:{[`${Ge}-item, ${Ge}-submenu ${Ge}-submenu-title`]:{[`> ${Ge}-inline-collapsed-noicon`]:{fontSize:we,textAlign:"center"}}},[`> ${Ge}-item,
> ${Ge}-item-group > ${Ge}-item-group-list > ${Ge}-item,
> ${Ge}-item-group > ${Ge}-item-group-list > ${Ge}-submenu > ${Ge}-submenu-title,
> ${Ge}-submenu > ${Ge}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${we/2}px - ${nn}px)`,textOverflow:"clip",[`
${Ge}-submenu-arrow,
${Ge}-submenu-expand-icon
`]:{opacity:0},[`${Ge}-item-icon, ${Fe}`]:{margin:0,fontSize:tn,lineHeight:`${pt}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ge}-item-icon, ${Fe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ge}-item-icon, ${Fe}`]:{display:"none"},"a, a:hover":{color:zt}},[`${Ge}-item-group-title`]:Object.assign(Object.assign({},Ee.vS),{paddingInline:Qn})}}]};const Bt=Yt=>{const{componentCls:Ge,motionDurationSlow:Fe,motionDurationMid:pt,motionEaseInOut:zt,motionEaseOut:en,iconCls:En,iconSize:kn,iconMarginInlineEnd:_n}=Yt;return{[`${Ge}-item, ${Ge}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Fe}`,`background ${Fe}`,`padding ${Fe} ${zt}`].join(","),[`${Ge}-item-icon, ${En}`]:{minWidth:kn,fontSize:kn,transition:[`font-size ${pt} ${en}`,`margin ${Fe} ${zt}`,`color ${Fe}`].join(","),"+ span":{marginInlineStart:_n,opacity:1,transition:[`opacity ${Fe} ${zt}`,`margin ${Fe}`,`color ${Fe}`].join(",")}},[`${Ge}-item-icon`]:Object.assign({},(0,Ee.Ro)()),[`&${Ge}-item-only-child`]:{[`> ${En}, > ${Ge}-item-icon`]:{marginInlineEnd:0}}},[`${Ge}-item-disabled, ${Ge}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ge}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Tn=Yt=>{const{componentCls:Ge,motionDurationSlow:Fe,motionEaseInOut:pt,borderRadius:zt,menuArrowSize:en,menuArrowOffset:En}=Yt;return{[`${Ge}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Yt.margin,width:en,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Fe} ${pt}, opacity ${Fe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:en*.6,height:en*.15,backgroundColor:"currentcolor",borderRadius:zt,transition:[`background ${Fe} ${pt}`,`transform ${Fe} ${pt}`,`top ${Fe} ${pt}`,`color ${Fe} ${pt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${En})`},"&::after":{transform:`rotate(-45deg) translateY(${En})`}}}}},it=Yt=>{const{antCls:Ge,componentCls:Fe,fontSize:pt,motionDurationSlow:zt,motionDurationMid:en,motionEaseInOut:En,paddingXS:kn,padding:_n,colorSplit:Gn,lineWidth:nn,zIndexPopup:we,borderRadiusLG:Qe,subMenuItemBorderRadius:Qn,menuArrowSize:Kn,menuArrowOffset:lt,lineType:tn,menuPanelMaskInset:We,groupTitleLineHeight:ut,groupTitleFontSize:Ft}=Yt;return[{"":{[`${Fe}`]:Object.assign(Object.assign({},(0,Ee.dF)()),{"&-hidden":{display:"none"}})},[`${Fe}-submenu-hidden`]:{display:"none"}},{[Fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(Yt)),(0,Ee.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:pt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${zt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Fe}-item`]:{flex:"none"}},[`${Fe}-item, ${Fe}-submenu, ${Fe}-submenu-title`]:{borderRadius:Yt.itemBorderRadius},[`${Fe}-item-group-title`]:{padding:`${kn}px ${_n}px`,fontSize:Ft,lineHeight:ut,transition:`all ${zt}`},[`&-horizontal ${Fe}-submenu`]:{transition:[`border-color ${zt} ${En}`,`background ${zt} ${En}`].join(",")},[`${Fe}-submenu, ${Fe}-submenu-inline`]:{transition:[`border-color ${zt} ${En}`,`background ${zt} ${En}`,`padding ${en} ${En}`].join(",")},[`${Fe}-submenu ${Fe}-sub`]:{cursor:"initial",transition:[`background ${zt} ${En}`,`padding ${zt} ${En}`].join(",")},[`${Fe}-title-content`]:{transition:`color ${zt}`},[`${Fe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Fe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Gn,borderStyle:tn,borderWidth:0,borderTopWidth:nn,marginBlock:nn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Bt(Yt)),{[`${Fe}-item-group`]:{[`${Fe}-item-group-list`]:{margin:0,padding:0,[`${Fe}-item, ${Fe}-submenu-title`]:{paddingInline:`${pt*2}px ${_n}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:we,borderRadius:Qe,boxShadow:"none",transformOrigin:"0 0",[`&${Fe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${We}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:We},"\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:Yt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Yt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Yt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Yt.paddingXS},[`> ${Fe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Qe},Bt(Yt)),Tn(Yt)),{[`${Fe}-item, ${Fe}-submenu > ${Fe}-submenu-title`]:{borderRadius:Qn},[`${Fe}-submenu-title::after`]:{transition:`transform ${zt} ${En}`}})}}),Tn(Yt)),{[`&-inline-collapsed ${Fe}-submenu-arrow,
&-inline ${Fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${lt})`},"&::after":{transform:`rotate(45deg) translateX(-${lt})`}},[`${Fe}-submenu-open${Fe}-submenu-inline > ${Fe}-submenu-title > ${Fe}-submenu-arrow`]:{transform:`translateY(-${Kn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${lt})`},"&::before":{transform:`rotate(45deg) translateX(${lt})`}}})},{[`${Ge}-layout-header`]:{[Fe]:{lineHeight:"inherit"}}}]};var Mt=(Yt,Ge)=>(0,It.Z)("Menu",pt=>{if(Ge===!1)return[];const{colorBgElevated:zt,colorPrimary:en,colorTextLightSolid:En,controlHeightLG:kn,fontSize:_n,darkItemColor:Gn,darkDangerItemColor:nn,darkItemBg:we,darkSubMenuItemBg:Qe,darkItemSelectedColor:Qn,darkItemSelectedBg:Kn,darkDangerItemSelectedBg:lt,darkItemHoverBg:tn,darkGroupTitleColor:We,darkItemHoverColor:ut,darkItemDisabledColor:Ft,darkDangerItemHoverColor:$t,darkDangerItemSelectedColor:Rt,darkDangerItemActiveBg:bn}=pt,ra=_n/7*5,Yn=(0,Ue.TS)(pt,{menuArrowSize:ra,menuHorizontalHeight:kn*1.15,menuArrowOffset:`${ra*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:zt}),jn=(0,Ue.TS)(Yn,{itemColor:Gn,itemHoverColor:ut,groupTitleColor:We,itemSelectedColor:Qn,itemBg:we,popupBg:we,subMenuItemBg:Qe,itemActiveBg:"transparent",itemSelectedBg:Kn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:tn,itemDisabledColor:Ft,dangerItemColor:nn,dangerItemHoverColor:$t,dangerItemSelectedColor:Rt,dangerItemActiveBg:bn,dangerItemSelectedBg:lt,menuSubMenuBg:Qe,horizontalItemSelectedColor:En,horizontalItemSelectedBg:en});return[it(Yn),Tt(Yn),Ct(Yn),an(Yn,"light"),an(jn,"dark"),wt(Yn),(0,Se.Z)(Yn),(0,gt.oN)(Yn,"slide-up"),(0,gt.oN)(Yn,"slide-down"),(0,Ye._y)(Yn,"zoom-big")]},pt=>{const{colorPrimary:zt,colorError:en,colorTextDisabled:En,colorErrorBg:kn,colorText:_n,colorTextDescription:Gn,colorBgContainer:nn,colorFillAlter:we,colorFillContent:Qe,lineWidth:Qn,lineWidthBold:Kn,controlItemBgActive:lt,colorBgTextHover:tn,controlHeightLG:We,lineHeight:ut,colorBgElevated:Ft,marginXXS:$t,padding:Rt,fontSize:bn,controlHeightSM:ra,fontSizeLG:Yn,colorTextLightSolid:jn,colorErrorHover:Ga}=pt,oa=new Ce.C(jn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:pt.zIndexPopupBase+50,radiusItem:pt.borderRadiusLG,itemBorderRadius:pt.borderRadiusLG,radiusSubMenuItem:pt.borderRadiusSM,subMenuItemBorderRadius:pt.borderRadiusSM,colorItemText:_n,itemColor:_n,colorItemTextHover:_n,itemHoverColor:_n,colorItemTextHoverHorizontal:zt,horizontalItemHoverColor:zt,colorGroupTitle:Gn,groupTitleColor:Gn,colorItemTextSelected:zt,itemSelectedColor:zt,colorItemTextSelectedHorizontal:zt,horizontalItemSelectedColor:zt,colorItemBg:nn,itemBg:nn,colorItemBgHover:tn,itemHoverBg:tn,colorItemBgActive:Qe,itemActiveBg:lt,colorSubItemBg:we,subMenuItemBg:we,colorItemBgSelected:lt,itemSelectedBg:lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Kn,activeBarHeight:Kn,colorActiveBarBorderSize:Qn,activeBarBorderWidth:Qn,colorItemTextDisabled:En,itemDisabledColor:En,colorDangerItemText:en,dangerItemColor:en,colorDangerItemTextHover:en,dangerItemHoverColor:en,colorDangerItemTextSelected:en,dangerItemSelectedColor:en,colorDangerItemBgActive:kn,dangerItemActiveBg:kn,colorDangerItemBgSelected:kn,dangerItemSelectedBg:kn,itemMarginInline:pt.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:We,groupTitleLineHeight:ut,collapsedWidth:We*2,popupBg:Ft,itemMarginBlock:$t,itemPaddingInline:Rt,horizontalLineHeight:`${We*1.15}px`,iconSize:bn,iconMarginInlineEnd:ra-bn,collapsedIconSize:Yn,groupTitleFontSize:bn,darkItemDisabledColor:new Ce.C(jn).setAlpha(.25).toRgbString(),darkItemColor:oa,darkDangerItemColor:en,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:jn,darkItemSelectedBg:zt,darkDangerItemSelectedBg:en,darkItemHoverBg:"transparent",darkGroupTitleColor:oa,darkItemHoverColor:jn,darkDangerItemHoverColor:Ga,darkDangerItemSelectedColor:jn,darkDangerItemActiveBg:en}},{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"]]})(Yt),xe=function(Yt,Ge){var Fe={};for(var pt in Yt)Object.prototype.hasOwnProperty.call(Yt,pt)&&Ge.indexOf(pt)<0&&(Fe[pt]=Yt[pt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,pt=Object.getOwnPropertySymbols(Yt);zt<pt.length;zt++)Ge.indexOf(pt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Yt,pt[zt])&&(Fe[pt[zt]]=Yt[pt[zt]]);return Fe},Wn=(0,me.forwardRef)((Yt,Ge)=>{var Fe,pt;const zt=me.useContext(ne.Z),en=zt||{},{getPrefixCls:En,getPopupContainer:kn,direction:_n,menu:Gn}=me.useContext(Te.E_),nn=En(),{prefixCls:we,className:Qe,style:Qn,theme:Kn="light",expandIcon:lt,_internalDisableMenuItemTitleTooltip:tn,inlineCollapsed:We,siderCollapsed:ut,items:Ft,children:$t,rootClassName:Rt,mode:bn,selectable:ra,onClick:Yn,overflowedIndicatorPopupClassName:jn}=Yt,Ga=xe(Yt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),oa=(0,_e.Z)(Ga,["collapsedWidth"]),Ka=ye(Ft)||$t;(Fe=en.validator)===null||Fe===void 0||Fe.call(en,{mode:bn});const Pr=(0,re.useEvent)(function(){var Nn;Yn==null||Yn.apply(void 0,arguments),(Nn=en.onClick)===null||Nn===void 0||Nn.call(en)}),Tr=en.mode||bn,Xr=ra!=null?ra:en.selectable,Rr=me.useMemo(()=>ut!==void 0?ut:We,[We,ut]),Br={horizontal:{motionName:`${nn}-slide-up`},inline:(0,oe.Z)(nn),other:{motionName:`${nn}-zoom-big`}},to=En("menu",we||en.prefixCls),[lo,gr]=Mt(to,!zt),Pn=Me()(`${to}-${Kn}`,Gn==null?void 0:Gn.className,Qe);let Zn;if(typeof lt=="function")Zn=lt;else if(lt===null||lt===!1)Zn=null;else if(en.expandIcon===null||en.expandIcon===!1)Zn=null;else{const Nn=lt!=null?lt:en.expandIcon;Zn=(0,Le.Tm)(Nn,{className:Me()(`${to}-submenu-expand-icon`,(0,Le.l$)(Nn)?(pt=Nn.props)===null||pt===void 0?void 0:pt.className:"")})}const Ln=me.useMemo(()=>({prefixCls:to,inlineCollapsed:Rr||!1,direction:_n,firstLevel:!0,theme:Kn,mode:Tr,disableMenuItemTitleTooltip:tn}),[to,Rr,_n,tn,Kn]);return lo(me.createElement(ne.Z.Provider,{value:null},me.createElement(a.Provider,{value:Ln},me.createElement(ae.ZP,Object.assign({getPopupContainer:kn,overflowedIndicator:me.createElement(z.Z,null),overflowedIndicatorPopupClassName:Me()(to,`${to}-${Kn}`,jn),mode:Tr,selectable:Xr,onClick:Pr},oa,{inlineCollapsed:Rr,style:Object.assign(Object.assign({},Gn==null?void 0:Gn.style),Qn),className:Pn,prefixCls:to,direction:_n,defaultMotions:Br,expandIcon:Zn,ref:Ge,rootClassName:Me()(Rt,gr)}),Ka))))});const Ca=(0,me.forwardRef)((Yt,Ge)=>{const Fe=(0,me.useRef)(null),pt=me.useContext(Re.D);return(0,me.useImperativeHandle)(Ge,()=>({menu:Fe.current,focus:zt=>{var en;(en=Fe.current)===null||en===void 0||en.focus(zt)}})),me.createElement(Wn,Object.assign({ref:Fe},Yt,pt))});Ca.Item=x,Ca.SubMenu=E,Ca.Divider=Ke,Ca.ItemGroup=ae.BW;var yn=Ca},28452:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return nn}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ze=Re,Me=ee(74643),Te=function(Qe,Qn){return me.createElement(Me.Z,(0,ae.Z)({},Qe,{ref:Qn,icon:ze}))},se=me.forwardRef(Te),Ze=ee(81893),Ke=ee(22751),He=ee(91034),_e=ee(94184),je=ee.n(_e),Le=ee(4942),ce=ee(1413),a=ee(15671),y=ee(43144),x=ee(60136),b=ee(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`,re="".concat(E," ").concat(z).split(/[\s\n]+/),oe="aria-",ne="data-";function fe(we,Qe){return we.indexOf(Qe)===0}function pe(we){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qn;Qe===!1?Qn={aria:!0,data:!0,attr:!0}:Qe===!0?Qn={aria:!0}:Qn=(0,ce.Z)({},Qe);var Kn={};return Object.keys(we).forEach(function(lt){(Qn.aria&&(lt==="role"||fe(lt,oe))||Qn.data&&fe(lt,ne)||Qn.attr&&re.includes(lt))&&(Kn[lt]=we[lt])}),Kn}var ye={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ce=ye,Ee=ee(81626),Se=function(we){(0,x.Z)(Qn,we);var Qe=(0,b.Z)(Qn);function Qn(){var Kn;(0,a.Z)(this,Qn);for(var lt=arguments.length,tn=new Array(lt),We=0;We<lt;We++)tn[We]=arguments[We];return Kn=Qe.call.apply(Qe,[this].concat(tn)),Kn.state={goInputText:""},Kn.getValidValue=function(){var ut=Kn.state.goInputText;return!ut||Number.isNaN(ut)?void 0:Number(ut)},Kn.buildOptionText=function(ut){return"".concat(ut," ").concat(Kn.props.locale.items_per_page)},Kn.changeSize=function(ut){Kn.props.changeSize(Number(ut))},Kn.handleChange=function(ut){Kn.setState({goInputText:ut.target.value})},Kn.handleBlur=function(ut){var Ft=Kn.props,$t=Ft.goButton,Rt=Ft.quickGo,bn=Ft.rootPrefixCls,ra=Kn.state.goInputText;$t||ra===""||(Kn.setState({goInputText:""}),!(ut.relatedTarget&&(ut.relatedTarget.className.indexOf("".concat(bn,"-item-link"))>=0||ut.relatedTarget.className.indexOf("".concat(bn,"-item"))>=0))&&Rt(Kn.getValidValue()))},Kn.go=function(ut){var Ft=Kn.state.goInputText;Ft!==""&&(ut.keyCode===Ce.ENTER||ut.type==="click")&&(Kn.setState({goInputText:""}),Kn.props.quickGo(Kn.getValidValue()))},Kn}return(0,y.Z)(Qn,[{key:"getPageSizeOptions",value:function(){var lt=this.props,tn=lt.pageSize,We=lt.pageSizeOptions;return We.some(function(ut){return ut.toString()===tn.toString()})?We:We.concat([tn.toString()]).sort(function(ut,Ft){var $t=Number.isNaN(Number(ut))?0:Number(ut),Rt=Number.isNaN(Number(Ft))?0:Number(Ft);return $t-Rt})}},{key:"render",value:function(){var lt=this,tn=this.props,We=tn.pageSize,ut=tn.locale,Ft=tn.rootPrefixCls,$t=tn.changeSize,Rt=tn.quickGo,bn=tn.goButton,ra=tn.selectComponentClass,Yn=tn.buildOptionText,jn=tn.selectPrefixCls,Ga=tn.disabled,oa=this.state.goInputText,Ka="".concat(Ft,"-options"),Pr=ra,Tr=null,Xr=null,Rr=null;if(!$t&&!Rt)return null;var Br=this.getPageSizeOptions();if($t&&Pr){var to=Br.map(function(lo,gr){return me.createElement(Pr.Option,{key:gr,value:lo.toString()},(Yn||lt.buildOptionText)(lo))});Tr=me.createElement(Pr,{disabled:Ga,prefixCls:jn,showSearch:!1,className:"".concat(Ka,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(We||Br[0]).toString(),onChange:this.changeSize,getPopupContainer:function(gr){return gr.parentNode},"aria-label":ut.page_size,defaultOpen:!1},to)}return Rt&&(bn&&(Rr=typeof bn=="boolean"?me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ga,className:"".concat(Ka,"-quick-jumper-button")},ut.jump_to_confirm):me.createElement("span",{onClick:this.go,onKeyUp:this.go},bn)),Xr=me.createElement("div",{className:"".concat(Ka,"-quick-jumper")},ut.jump_to,me.createElement("input",{disabled:Ga,type:"text",value:oa,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ut.page}),ut.page,Rr)),me.createElement("li",{className:"".concat(Ka)},Tr,Xr)}}]),Qn}(me.Component);Se.defaultProps={pageSizeOptions:["10","20","50","100"]};var gt=Se,Ye=function(Qe){var Qn,Kn=Qe.rootPrefixCls,lt=Qe.page,tn=Qe.active,We=Qe.className,ut=Qe.showTitle,Ft=Qe.onClick,$t=Qe.onKeyPress,Rt=Qe.itemRender,bn="".concat(Kn,"-item"),ra=je()(bn,"".concat(bn,"-").concat(lt),(Qn={},(0,Le.Z)(Qn,"".concat(bn,"-active"),tn),(0,Le.Z)(Qn,"".concat(bn,"-disabled"),!lt),(0,Le.Z)(Qn,Qe.className,We),Qn)),Yn=function(){Ft(lt)},jn=function(Ka){$t(Ka,Ft,lt)},Ga=Rt(lt,"page",me.createElement("a",{rel:"nofollow"},lt));return Ga?me.createElement("li",{title:ut?lt.toString():null,className:ra,onClick:Yn,onKeyPress:jn,tabIndex:0},Ga):null},It=Ye;function Ue(){}function ft(we){var Qe=Number(we);return typeof Qe=="number"&&!Number.isNaN(Qe)&&isFinite(Qe)&&Math.floor(Qe)===Qe}var Tt=function(Qe,Qn,Kn){return Kn};function Qt(we,Qe,Qn){var Kn=typeof we=="undefined"?Qe.pageSize:we;return Math.floor((Qn.total-1)/Kn)+1}var wt=function(we){(0,x.Z)(Qn,we);var Qe=(0,b.Z)(Qn);function Qn(Kn){var lt;(0,a.Z)(this,Qn),lt=Qe.call(this,Kn),lt.paginationNode=me.createRef(),lt.getJumpPrevPage=function(){return Math.max(1,lt.state.current-(lt.props.showLessItems?3:5))},lt.getJumpNextPage=function(){return Math.min(Qt(void 0,lt.state,lt.props),lt.state.current+(lt.props.showLessItems?3:5))},lt.getItemIcon=function($t,Rt){var bn=lt.props.prefixCls,ra=$t||me.createElement("button",{type:"button","aria-label":Rt,className:"".concat(bn,"-item-link")});return typeof $t=="function"&&(ra=me.createElement($t,(0,ce.Z)({},lt.props))),ra},lt.isValid=function($t){var Rt=lt.props.total;return ft($t)&&$t!==lt.state.current&&ft(Rt)&&Rt>0},lt.shouldDisplayQuickJumper=function(){var $t=lt.props,Rt=$t.showQuickJumper,bn=$t.total,ra=lt.state.pageSize;return bn<=ra?!1:Rt},lt.handleKeyDown=function($t){($t.keyCode===Ce.ARROW_UP||$t.keyCode===Ce.ARROW_DOWN)&&$t.preventDefault()},lt.handleKeyUp=function($t){var Rt=lt.getValidValue($t),bn=lt.state.currentInputValue;Rt!==bn&&lt.setState({currentInputValue:Rt}),$t.keyCode===Ce.ENTER?lt.handleChange(Rt):$t.keyCode===Ce.ARROW_UP?lt.handleChange(Rt-1):$t.keyCode===Ce.ARROW_DOWN&&lt.handleChange(Rt+1)},lt.handleBlur=function($t){var Rt=lt.getValidValue($t);lt.handleChange(Rt)},lt.changePageSize=function($t){var Rt=lt.state.current,bn=Qt($t,lt.state,lt.props);Rt=Rt>bn?bn:Rt,bn===0&&(Rt=lt.state.current),typeof $t=="number"&&("pageSize"in lt.props||lt.setState({pageSize:$t}),"current"in lt.props||lt.setState({current:Rt,currentInputValue:Rt})),lt.props.onShowSizeChange(Rt,$t),"onChange"in lt.props&&lt.props.onChange&&lt.props.onChange(Rt,$t)},lt.handleChange=function($t){var Rt=lt.props,bn=Rt.disabled,ra=Rt.onChange,Yn=lt.state,jn=Yn.pageSize,Ga=Yn.current,oa=Yn.currentInputValue;if(lt.isValid($t)&&!bn){var Ka=Qt(void 0,lt.state,lt.props),Pr=$t;return $t>Ka?Pr=Ka:$t<1&&(Pr=1),"current"in lt.props||lt.setState({current:Pr}),Pr!==oa&&lt.setState({currentInputValue:Pr}),ra(Pr,jn),Pr}return Ga},lt.prev=function(){lt.hasPrev()&&lt.handleChange(lt.state.current-1)},lt.next=function(){lt.hasNext()&&lt.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<Qt(void 0,lt.state,lt.props)},lt.runIfEnter=function($t,Rt){if($t.key==="Enter"||$t.charCode===13){for(var bn=arguments.length,ra=new Array(bn>2?bn-2:0),Yn=2;Yn<bn;Yn++)ra[Yn-2]=arguments[Yn];Rt.apply(void 0,ra)}},lt.runIfEnterPrev=function($t){lt.runIfEnter($t,lt.prev)},lt.runIfEnterNext=function($t){lt.runIfEnter($t,lt.next)},lt.runIfEnterJumpPrev=function($t){lt.runIfEnter($t,lt.jumpPrev)},lt.runIfEnterJumpNext=function($t){lt.runIfEnter($t,lt.jumpNext)},lt.handleGoTO=function($t){($t.keyCode===Ce.ENTER||$t.type==="click")&&lt.handleChange(lt.state.currentInputValue)},lt.renderPrev=function($t){var Rt=lt.props,bn=Rt.prevIcon,ra=Rt.itemRender,Yn=ra($t,"prev",lt.getItemIcon(bn,"prev page")),jn=!lt.hasPrev();return(0,me.isValidElement)(Yn)?(0,me.cloneElement)(Yn,{disabled:jn}):Yn},lt.renderNext=function($t){var Rt=lt.props,bn=Rt.nextIcon,ra=Rt.itemRender,Yn=ra($t,"next",lt.getItemIcon(bn,"next page")),jn=!lt.hasNext();return(0,me.isValidElement)(Yn)?(0,me.cloneElement)(Yn,{disabled:jn}):Yn};var tn=Kn.onChange!==Ue,We="current"in Kn;We&&!tn&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ut=Kn.defaultCurrent;"current"in Kn&&(ut=Kn.current);var Ft=Kn.defaultPageSize;return"pageSize"in Kn&&(Ft=Kn.pageSize),ut=Math.min(ut,Qt(Ft,void 0,Kn)),lt.state={current:ut,currentInputValue:ut,pageSize:Ft},lt}return(0,y.Z)(Qn,[{key:"componentDidUpdate",value:function(lt,tn){var We=this.props.prefixCls;if(tn.current!==this.state.current&&this.paginationNode.current){var ut=this.paginationNode.current.querySelector(".".concat(We,"-item-").concat(tn.current));if(ut&&document.activeElement===ut){var Ft;ut==null||(Ft=ut.blur)===null||Ft===void 0||Ft.call(ut)}}}},{key:"getValidValue",value:function(lt){var tn=lt.target.value,We=Qt(void 0,this.state,this.props),ut=this.state.currentInputValue,Ft;return tn===""?Ft=tn:Number.isNaN(Number(tn))?Ft=ut:tn>=We?Ft=We:Ft=Number(tn),Ft}},{key:"getShowSizeChanger",value:function(){var lt=this.props,tn=lt.showSizeChanger,We=lt.total,ut=lt.totalBoundaryShowSizeChanger;return typeof tn!="undefined"?tn:We>ut}},{key:"render",value:function(){var lt=this.props,tn=lt.prefixCls,We=lt.className,ut=lt.style,Ft=lt.disabled,$t=lt.hideOnSinglePage,Rt=lt.total,bn=lt.locale,ra=lt.showQuickJumper,Yn=lt.showLessItems,jn=lt.showTitle,Ga=lt.showTotal,oa=lt.simple,Ka=lt.itemRender,Pr=lt.showPrevNextJumpers,Tr=lt.jumpPrevIcon,Xr=lt.jumpNextIcon,Rr=lt.selectComponentClass,Br=lt.selectPrefixCls,to=lt.pageSizeOptions,lo=this.state,gr=lo.current,Pn=lo.pageSize,Zn=lo.currentInputValue;if($t===!0&&Rt<=Pn)return null;var Ln=Qt(void 0,this.state,this.props),Nn=[],Oa=null,Ar=null,zn=null,et=null,st=null,Ve=ra&&ra.goButton,Kt=Yn?1:2,Cn=gr-1>0?gr-1:0,Jn=gr+1<Ln?gr+1:Ln,ja=pe(this.props,{aria:!0,data:!0}),ua=Ga&&me.createElement("li",{className:"".concat(tn,"-total-text")},Ga(Rt,[Rt===0?0:(gr-1)*Pn+1,gr*Pn>Rt?Rt:gr*Pn]));if(oa){Ve&&(typeof Ve=="boolean"?st=me.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},bn.jump_to_confirm):st=me.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ve),st=me.createElement("li",{title:jn?"".concat(bn.jump_to).concat(gr,"/").concat(Ln):null,className:"".concat(tn,"-simple-pager")},st));var Un=this.renderPrev(Cn);return me.createElement("ul",(0,ae.Z)({className:je()(tn,"".concat(tn,"-simple"),(0,Le.Z)({},"".concat(tn,"-disabled"),Ft),We),style:ut,ref:this.paginationNode},ja),ua,Un?me.createElement("li",{title:jn?bn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:je()("".concat(tn,"-prev"),(0,Le.Z)({},"".concat(tn,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Un):null,me.createElement("li",{title:jn?"".concat(gr,"/").concat(Ln):null,className:"".concat(tn,"-simple-pager")},me.createElement("input",{type:"text",value:Zn,disabled:Ft,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),me.createElement("span",{className:"".concat(tn,"-slash")},"/"),Ln),me.createElement("li",{title:jn?bn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:je()("".concat(tn,"-next"),(0,Le.Z)({},"".concat(tn,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Jn)),st)}if(Ln<=3+Kt*2){var Ma={locale:bn,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:jn,itemRender:Ka};Ln||Nn.push(me.createElement(It,(0,ae.Z)({},Ma,{key:"noPager",page:1,className:"".concat(tn,"-item-disabled")})));for(var ho=1;ho<=Ln;ho+=1){var Mn=gr===ho;Nn.push(me.createElement(It,(0,ae.Z)({},Ma,{key:ho,page:ho,active:Mn})))}}else{var no=Yn?bn.prev_3:bn.prev_5,rt=Yn?bn.next_3:bn.next_5,qt=Ka(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Tr,"prev page")),jt=Ka(this.getJumpNextPage(),"jump-next",this.getItemIcon(Xr,"next page"));Pr&&(Oa=qt?me.createElement("li",{title:jn?no:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:je()("".concat(tn,"-jump-prev"),(0,Le.Z)({},"".concat(tn,"-jump-prev-custom-icon"),!!Tr))},qt):null,Ar=jt?me.createElement("li",{title:jn?rt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:je()("".concat(tn,"-jump-next"),(0,Le.Z)({},"".concat(tn,"-jump-next-custom-icon"),!!Xr))},jt):null),et=me.createElement(It,{locale:bn,last:!0,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ln,page:Ln,active:!1,showTitle:jn,itemRender:Ka}),zn=me.createElement(It,{locale:bn,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:jn,itemRender:Ka});var Jt=Math.max(1,gr-Kt),$n=Math.min(gr+Kt,Ln);gr-1<=Kt&&($n=1+Kt*2),Ln-gr<=Kt&&(Jt=Ln-Kt*2);for(var Wt=Jt;Wt<=$n;Wt+=1){var Fn=gr===Wt;Nn.push(me.createElement(It,{locale:bn,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Wt,page:Wt,active:Fn,showTitle:jn,itemRender:Ka}))}gr-1>=Kt*2&&gr!==3&&(Nn[0]=(0,me.cloneElement)(Nn[0],{className:"".concat(tn,"-item-after-jump-prev")}),Nn.unshift(Oa)),Ln-gr>=Kt*2&&gr!==Ln-2&&(Nn[Nn.length-1]=(0,me.cloneElement)(Nn[Nn.length-1],{className:"".concat(tn,"-item-before-jump-next")}),Nn.push(Ar)),Jt!==1&&Nn.unshift(zn),$n!==Ln&&Nn.push(et)}var cn=!this.hasPrev()||!Ln,$a=!this.hasNext()||!Ln,Aa=this.renderPrev(Cn),cr=this.renderNext(Jn);return me.createElement("ul",(0,ae.Z)({className:je()(tn,We,(0,Le.Z)({},"".concat(tn,"-disabled"),Ft)),style:ut,ref:this.paginationNode},ja),ua,Aa?me.createElement("li",{title:jn?bn.prev_page:null,onClick:this.prev,tabIndex:cn?null:0,onKeyPress:this.runIfEnterPrev,className:je()("".concat(tn,"-prev"),(0,Le.Z)({},"".concat(tn,"-disabled"),cn)),"aria-disabled":cn},Aa):null,Nn,cr?me.createElement("li",{title:jn?bn.next_page:null,onClick:this.next,tabIndex:$a?null:0,onKeyPress:this.runIfEnterNext,className:je()("".concat(tn,"-next"),(0,Le.Z)({},"".concat(tn,"-disabled"),$a)),"aria-disabled":$a},cr):null,me.createElement(gt,{disabled:Ft,locale:bn,rootPrefixCls:tn,selectComponentClass:Rr,selectPrefixCls:Br,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:gr,pageSize:Pn,pageSizeOptions:to,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ve}))}}],[{key:"getDerivedStateFromProps",value:function(lt,tn){var We={};if("current"in lt&&(We.current=lt.current,lt.current!==tn.current&&(We.currentInputValue=We.current)),"pageSize"in lt&&lt.pageSize!==tn.pageSize){var ut=tn.current,Ft=Qt(lt.pageSize,tn,lt);ut=ut>Ft?Ft:ut,"current"in lt||(We.current=ut,We.currentInputValue=ut),We.pageSize=lt.pageSize}return We}}]),Qn}(me.Component);wt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ue,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ue,locale:Ee.Z,style:{},itemRender:Tt,totalBoundaryShowSizeChanger:50};var dt=wt,Gt=ee(62906),an=ee(53124),pn=ee(98675),$e=ee(25378),Ct=ee(10110),Bt=ee(42563);const Tn=we=>me.createElement(Bt.default,Object.assign({},we,{showSearch:!0,size:"small"})),it=we=>me.createElement(Bt.default,Object.assign({},we,{showSearch:!0,size:"middle"}));Tn.Option=Bt.default.Option,it.Option=Bt.default.Option;var Mt=ee(47673),xe=ee(14747),Sn=ee(67968),Wn=ee(45503);const Ca=we=>{const{componentCls:Qe}=we;return{[`${Qe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Qe}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Qe}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}}},[`&${Qe}-disabled`]:{cursor:"not-allowed",[`${Qe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:we.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:we.colorBorder,backgroundColor:we.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:we.itemActiveBgDisabled},a:{color:we.itemActiveColorDisabled}}},[`${Qe}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Qe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Qe}-simple-pager`]:{color:we.colorTextDisabled},[`${Qe}-jump-prev, ${Qe}-jump-next`]:{[`${Qe}-item-link-icon`]:{opacity:0},[`${Qe}-item-ellipsis`]:{opacity:1}}},[`&${Qe}-simple`]:{[`${Qe}-prev, ${Qe}-next`]:{[`&${Qe}-disabled ${Qe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},yn=we=>{const{componentCls:Qe}=we;return{[`&${Qe}-mini ${Qe}-total-text, &${Qe}-mini ${Qe}-simple-pager`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`},[`&${Qe}-mini ${Qe}-item`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM-2}px`},[`&${Qe}-mini:not(${Qe}-disabled) ${Qe}-item:not(${Qe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},[`&${Qe}-mini ${Qe}-prev, &${Qe}-mini ${Qe}-next`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM}px`},[`&${Qe}-mini:not(${Qe}-disabled)`]:{[`${Qe}-prev, ${Qe}-next`]:{[`&:hover ${Qe}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Qe}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Qe}-disabled:hover ${Qe}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Qe}-mini ${Qe}-prev ${Qe}-item-link,
&${Qe}-mini ${Qe}-next ${Qe}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}},[`&${Qe}-mini ${Qe}-jump-prev, &${Qe}-mini ${Qe}-jump-next`]:{height:we.itemSizeSM,marginInlineEnd:0,lineHeight:`${we.itemSizeSM}px`},[`&${Qe}-mini ${Qe}-options`]:{marginInlineStart:we.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:we.miniOptionsSizeChangerTop},"&-quick-jumper":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Mt.x0)(we)),{width:we.paginationMiniQuickJumperInputWidth,height:we.controlHeightSM})}}}},Yt=we=>{const{componentCls:Qe}=we;return{[`
&${Qe}-simple ${Qe}-prev,
&${Qe}-simple ${Qe}-next
`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,verticalAlign:"top",[`${Qe}-item-link`]:{height:we.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive},"&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}}},[`&${Qe}-simple ${Qe}-simple-pager`]:{display:"inline-block",height:we.itemSizeSM,marginInlineEnd:we.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:we.marginXS,padding:`0 ${we.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:we.itemInputBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadius,outline:"none",transition:`border-color ${we.motionDurationMid}`,color:"inherit","&:hover":{borderColor:we.colorPrimary},"&:focus":{borderColor:we.colorPrimaryHover,boxShadow:`${we.inputOutlineOffset}px 0 ${we.controlOutlineWidth}px ${we.controlOutline}`},"&[disabled]":{color:we.colorTextDisabled,backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,cursor:"not-allowed"}}}}},Ge=we=>{const{componentCls:Qe}=we;return{[`${Qe}-jump-prev, ${Qe}-jump-next`]:{outline:0,[`${Qe}-item-container`]:{position:"relative",[`${Qe}-item-link-icon`]:{color:we.colorPrimary,fontSize:we.fontSizeSM,opacity:0,transition:`all ${we.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Qe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:we.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:we.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:we.paginationEllipsisTextIndent,opacity:1,transition:`all ${we.motionDurationMid}`}},"&:hover":{[`${Qe}-item-link-icon`]:{opacity:1},[`${Qe}-item-ellipsis`]:{opacity:0}}},[`
${Qe}-prev,
${Qe}-jump-prev,
${Qe}-jump-next
`]:{marginInlineEnd:we.marginXS},[`
${Qe}-prev,
${Qe}-next,
${Qe}-jump-prev,
${Qe}-jump-next
`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,color:we.colorText,fontFamily:we.fontFamily,lineHeight:`${we.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}`},[`${Qe}-prev, ${Qe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:we.colorText,cursor:"pointer",userSelect:"none"},[`${Qe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:we.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:"none",transition:`all ${we.motionDurationMid}`},[`&:hover ${Qe}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Qe}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Qe}-disabled:hover`]:{[`${Qe}-item-link`]:{backgroundColor:"transparent"}}},[`${Qe}-slash`]:{marginInlineEnd:we.paginationSlashMarginInlineEnd,marginInlineStart:we.paginationSlashMarginInlineStart},[`${Qe}-options`]:{display:"inline-block",marginInlineStart:we.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:we.controlHeight,marginInlineStart:we.marginXS,lineHeight:`${we.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Mt.ik)(we)),{width:we.controlHeightLG*1.25,height:we.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:we.marginXS,marginInlineEnd:we.marginXS})}}}},Fe=we=>{const{componentCls:Qe}=we;return{[`${Qe}-item`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,marginInlineEnd:we.marginXS,fontFamily:we.fontFamily,lineHeight:`${we.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${we.paginationItemPaddingInline}px`,color:we.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Qe}-item-active)`]:{"&:hover":{transition:`all ${we.motionDurationMid}`,backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},"&-active":{fontWeight:we.fontWeightStrong,backgroundColor:we.itemActiveBg,borderColor:we.colorPrimary,a:{color:we.colorPrimary},"&:hover":{borderColor:we.colorPrimaryHover},"&:hover a":{color:we.colorPrimaryHover}}}}},pt=we=>{const{componentCls:Qe}=we;return{[Qe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(we)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Qe}-total-text`]:{display:"inline-block",height:we.itemSize,marginInlineEnd:we.marginXS,lineHeight:`${we.itemSize-2}px`,verticalAlign:"middle"}}),Fe(we)),Ge(we)),Yt(we)),yn(we)),Ca(we)),{[`@media only screen and (max-width: ${we.screenLG}px)`]:{[`${Qe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${we.screenSM}px)`]:{[`${Qe}-options`]:{display:"none"}}}),[`&${we.componentCls}-rtl`]:{direction:"rtl"}}},zt=we=>{const{componentCls:Qe}=we;return{[`${Qe}${Qe}-disabled:not(${Qe}-mini)`]:{"&, &:hover":{[`${Qe}-item-link`]:{borderColor:we.colorBorder}},"&:focus-visible":{[`${Qe}-item-link`]:{borderColor:we.colorBorder}},[`${Qe}-item, ${Qe}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,[`&:hover:not(${Qe}-item-active)`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,a:{color:we.colorTextDisabled}},[`&${Qe}-item-active`]:{backgroundColor:we.itemActiveBgDisabled}},[`${Qe}-prev, ${Qe}-next`]:{"&:hover button":{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,color:we.colorTextDisabled},[`${Qe}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder}}},[`${Qe}:not(${Qe}-mini)`]:{[`${Qe}-prev, ${Qe}-next`]:{"&:hover button":{borderColor:we.colorPrimaryHover,backgroundColor:we.itemBg},[`${Qe}-item-link`]:{backgroundColor:we.itemLinkBg,borderColor:we.colorBorder},[`&:hover ${Qe}-item-link`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,color:we.colorPrimary},[`&${Qe}-disabled`]:{[`${Qe}-item-link`]:{borderColor:we.colorBorder,color:we.colorTextDisabled}}},[`${Qe}-item`]:{backgroundColor:we.itemBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,[`&:hover:not(${Qe}-item-active)`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,a:{color:we.colorPrimary}},"&-active":{borderColor:we.colorPrimary}}}}},en=we=>{const{componentCls:Qe}=we;return{[`${Qe}:not(${Qe}-disabled)`]:{[`${Qe}-item`]:Object.assign({},(0,xe.Qy)(we)),[`${Qe}-jump-prev, ${Qe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Qe}-item-link-icon`]:{opacity:1},[`${Qe}-item-ellipsis`]:{opacity:0}},(0,xe.oN)(we))},[`${Qe}-prev, ${Qe}-next`]:{[`&:focus-visible ${Qe}-item-link`]:Object.assign({},(0,xe.oN)(we))}}}};var En=(0,Sn.Z)("Pagination",we=>{const Qe=(0,Wn.TS)(we,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:we.marginXXS/2,paginationMiniQuickJumperInputWidth:we.controlHeightLG*1.1,paginationItemPaddingInline:we.marginXXS*1.5,paginationEllipsisLetterSpacing:we.marginXXS/2,paginationSlashMarginInlineStart:we.marginXXS,paginationSlashMarginInlineEnd:we.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Mt.e5)(we),(0,Mt.TM)(we));return[pt(Qe),en(Qe),we.wireframe&&zt(Qe)]},we=>({itemBg:we.colorBgContainer,itemSize:we.controlHeight,itemSizeSM:we.controlHeightSM,itemActiveBg:we.colorBgContainer,itemLinkBg:we.colorBgContainer,itemActiveColorDisabled:we.colorTextDisabled,itemActiveBgDisabled:we.controlItemBgActiveDisabled,itemInputBg:we.colorBgContainer,miniOptionsSizeChangerTop:0})),kn=function(we,Qe){var Qn={};for(var Kn in we)Object.prototype.hasOwnProperty.call(we,Kn)&&Qe.indexOf(Kn)<0&&(Qn[Kn]=we[Kn]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Kn=Object.getOwnPropertySymbols(we);lt<Kn.length;lt++)Qe.indexOf(Kn[lt])<0&&Object.prototype.propertyIsEnumerable.call(we,Kn[lt])&&(Qn[Kn[lt]]=we[Kn[lt]]);return Qn},Gn=we=>{const{prefixCls:Qe,selectPrefixCls:Qn,className:Kn,rootClassName:lt,style:tn,size:We,locale:ut,selectComponentClass:Ft,responsive:$t,showSizeChanger:Rt}=we,bn=kn(we,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:ra}=(0,$e.Z)($t),{getPrefixCls:Yn,direction:jn,pagination:Ga={}}=me.useContext(an.E_),oa=Yn("pagination",Qe),[Ka,Pr]=En(oa),Tr=Rt!=null?Rt:Ga.showSizeChanger,Xr=me.useMemo(()=>{const Ln=me.createElement("span",{className:`${oa}-item-ellipsis`},"\u2022\u2022\u2022"),Nn=me.createElement("button",{className:`${oa}-item-link`,type:"button",tabIndex:-1},jn==="rtl"?me.createElement(He.Z,null):me.createElement(Ke.Z,null)),Oa=me.createElement("button",{className:`${oa}-item-link`,type:"button",tabIndex:-1},jn==="rtl"?me.createElement(Ke.Z,null):me.createElement(He.Z,null)),Ar=me.createElement("a",{className:`${oa}-item-link`},me.createElement("div",{className:`${oa}-item-container`},jn==="rtl"?me.createElement(Ze.Z,{className:`${oa}-item-link-icon`}):me.createElement(se,{className:`${oa}-item-link-icon`}),Ln)),zn=me.createElement("a",{className:`${oa}-item-link`},me.createElement("div",{className:`${oa}-item-container`},jn==="rtl"?me.createElement(se,{className:`${oa}-item-link-icon`}):me.createElement(Ze.Z,{className:`${oa}-item-link-icon`}),Ln));return{prevIcon:Nn,nextIcon:Oa,jumpPrevIcon:Ar,jumpNextIcon:zn}},[jn,oa]),[Rr]=(0,Ct.Z)("Pagination",Gt.Z),Br=Object.assign(Object.assign({},Rr),ut),to=(0,pn.Z)(We),lo=to==="small"||!!(ra&&!to&&$t),gr=Yn("select",Qn),Pn=je()({[`${oa}-mini`]:lo,[`${oa}-rtl`]:jn==="rtl"},Ga==null?void 0:Ga.className,Kn,lt,Pr),Zn=Object.assign(Object.assign({},Ga==null?void 0:Ga.style),tn);return Ka(me.createElement(dt,Object.assign({},Xr,bn,{style:Zn,prefixCls:oa,selectPrefixCls:gr,className:Pn,selectComponentClass:Ft||(lo?Tn:it),locale:Br,showSizeChanger:Tr})))},nn=Gn},38703:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return tn}});var ae=ee(67294),me=ee(87725),Re=ee(18299),ze=ee(16646),Me=ee(73475),Te=ee(94184),se=ee.n(Te),Ze=ee(10366),Ke=ee(53124),He=ee(87462),_e=ee(1413),je=ee(45987),Le={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ce=function(){var ut=(0,ae.useRef)([]),Ft=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var $t=Date.now(),Rt=!1;ut.current.forEach(function(bn){if(bn){Rt=!0;var ra=bn.style;ra.transitionDuration=".3s, .3s, .3s, .06s",Ft.current&&$t-Ft.current<100&&(ra.transitionDuration="0s, 0s")}}),Rt&&(Ft.current=Date.now())}),ut.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(ut){var Ft=(0,_e.Z)((0,_e.Z)({},Le),ut),$t=Ft.className,Rt=Ft.percent,bn=Ft.prefixCls,ra=Ft.strokeColor,Yn=Ft.strokeLinecap,jn=Ft.strokeWidth,Ga=Ft.style,oa=Ft.trailColor,Ka=Ft.trailWidth,Pr=Ft.transition,Tr=(0,je.Z)(Ft,a);delete Tr.gapPosition;var Xr=Array.isArray(Rt)?Rt:[Rt],Rr=Array.isArray(ra)?ra:[ra],Br=ce(),to=jn/2,lo=100-jn/2,gr="M ".concat(Yn==="round"?to:0,",").concat(to,`
L `).concat(Yn==="round"?lo:100,",").concat(to),Pn="0 0 100 ".concat(jn),Zn=0;return ae.createElement("svg",(0,He.Z)({className:se()("".concat(bn,"-line"),$t),viewBox:Pn,preserveAspectRatio:"none",style:Ga},Tr),ae.createElement("path",{className:"".concat(bn,"-line-trail"),d:gr,strokeLinecap:Yn,stroke:oa,strokeWidth:Ka||jn,fillOpacity:"0"}),Xr.map(function(Ln,Nn){var Oa=1;switch(Yn){case"round":Oa=1-jn/100;break;case"square":Oa=1-jn/2/100;break;default:Oa=1;break}var Ar={strokeDasharray:"".concat(Ln*Oa,"px, 100px"),strokeDashoffset:"-".concat(Zn,"px"),transition:Pr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},zn=Rr[Nn]||Rr[Rr.length-1];return Zn+=Ln,ae.createElement("path",{key:Nn,className:"".concat(bn,"-line-path"),d:gr,strokeLinecap:Yn,stroke:zn,strokeWidth:jn,fillOpacity:"0",ref:function(st){Br[Nn]=st},style:Ar})}))},x=y,b=ee(71002),E=ee(97685),z=ee(98924),re=0,oe=(0,z.Z)();function ne(){var We;return oe?(We=re,re+=1):We="TEST_OR_SSR",We}var fe=function(We){var ut=ae.useState(),Ft=(0,E.Z)(ut,2),$t=Ft[0],Rt=Ft[1];return ae.useEffect(function(){Rt("rc_progress_".concat(ne()))},[]),We||$t},pe=function(ut){var Ft=ut.bg,$t=ut.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:Ft}},$t)};function ye(We,ut){return Object.keys(We).map(function(Ft){var $t=parseFloat(Ft),Rt="".concat(Math.floor($t*ut),"%");return"".concat(We[Ft]," ").concat(Rt)})}var Ce=ae.forwardRef(function(We,ut){var Ft=We.prefixCls,$t=We.color,Rt=We.gradientId,bn=We.radius,ra=We.style,Yn=We.ptg,jn=We.strokeLinecap,Ga=We.strokeWidth,oa=We.size,Ka=We.gapDegree,Pr=$t&&(0,b.Z)($t)==="object",Tr=Pr?"#FFF":void 0,Xr=oa/2,Rr=ae.createElement("circle",{className:"".concat(Ft,"-circle-path"),r:bn,cx:Xr,cy:Xr,stroke:Tr,strokeLinecap:jn,strokeWidth:Ga,opacity:Yn===0?0:1,style:ra,ref:ut});if(!Pr)return Rr;var Br="".concat(Rt,"-conic"),to=Ka?"".concat(180+Ka/2,"deg"):"0deg",lo=ye($t,(360-Ka)/360),gr=ye($t,1),Pn="conic-gradient(from ".concat(to,", ").concat(lo.join(", "),")"),Zn="linear-gradient(to ".concat(Ka?"bottom":"top",", ").concat(gr.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:Br},Rr),ae.createElement("foreignObject",{x:0,y:0,width:oa,height:oa,mask:"url(#".concat(Br,")")},ae.createElement(pe,{bg:Zn},ae.createElement(pe,{bg:Pn}))))}),Ee=Ce,Se=100,gt=function(ut,Ft,$t,Rt,bn,ra,Yn,jn,Ga,oa){var Ka=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Pr=$t/100*360*((360-ra)/360),Tr=ra===0?0:{bottom:0,top:180,left:90,right:-90}[Yn],Xr=(100-Rt)/100*Ft;Ga==="round"&&Rt!==100&&(Xr+=oa/2,Xr>=Ft&&(Xr=Ft-.01));var Rr=Se/2;return{stroke:typeof jn=="string"?jn:void 0,strokeDasharray:"".concat(Ft,"px ").concat(ut),strokeDashoffset:Xr+Ka,transform:"rotate(".concat(bn+Pr+Tr,"deg)"),transformOrigin:"".concat(Rr,"px ").concat(Rr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ye=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function It(We){var ut=We!=null?We:[];return Array.isArray(ut)?ut:[ut]}var Ue=function(ut){var Ft=(0,_e.Z)((0,_e.Z)({},Le),ut),$t=Ft.id,Rt=Ft.prefixCls,bn=Ft.steps,ra=Ft.strokeWidth,Yn=Ft.trailWidth,jn=Ft.gapDegree,Ga=jn===void 0?0:jn,oa=Ft.gapPosition,Ka=Ft.trailColor,Pr=Ft.strokeLinecap,Tr=Ft.style,Xr=Ft.className,Rr=Ft.strokeColor,Br=Ft.percent,to=(0,je.Z)(Ft,Ye),lo=Se/2,gr=fe($t),Pn="".concat(gr,"-gradient"),Zn=lo-ra/2,Ln=Math.PI*2*Zn,Nn=Ga>0?90+Ga/2:-90,Oa=Ln*((360-Ga)/360),Ar=(0,b.Z)(bn)==="object"?bn:{count:bn,space:2},zn=Ar.count,et=Ar.space,st=It(Br),Ve=It(Rr),Kt=Ve.find(function(ho){return ho&&(0,b.Z)(ho)==="object"}),Cn=Kt&&(0,b.Z)(Kt)==="object",Jn=Cn?"butt":Pr,ja=gt(Ln,Oa,0,100,Nn,Ga,oa,Ka,Jn,ra),ua=ce(),Un=function(){var Mn=0;return st.map(function(no,rt){var qt=Ve[rt]||Ve[Ve.length-1],jt=gt(Ln,Oa,Mn,no,Nn,Ga,oa,qt,Jn,ra);return Mn+=no,ae.createElement(Ee,{key:rt,color:qt,ptg:no,radius:Zn,prefixCls:Rt,gradientId:Pn,style:jt,strokeLinecap:Jn,strokeWidth:ra,gapDegree:Ga,ref:function($n){ua[rt]=$n},size:Se})}).reverse()},Ma=function(){var Mn=Math.round(zn*(st[0]/100)),no=100/zn,rt=0;return new Array(zn).fill(null).map(function(qt,jt){var Jt=jt<=Mn-1?Ve[0]:Ka,$n=Jt&&(0,b.Z)(Jt)==="object"?"url(#".concat(Pn,")"):void 0,Wt=gt(Ln,Oa,rt,no,Nn,Ga,oa,Jt,"butt",ra,et);return rt+=(Oa-Wt.strokeDashoffset+et)*100/Oa,ae.createElement("circle",{key:jt,className:"".concat(Rt,"-circle-path"),r:Zn,cx:lo,cy:lo,stroke:$n,strokeWidth:ra,opacity:1,style:Wt,ref:function(cn){ua[jt]=cn}})})};return ae.createElement("svg",(0,He.Z)({className:se()("".concat(Rt,"-circle"),Xr),viewBox:"0 0 ".concat(Se," ").concat(Se),style:Tr,id:$t,role:"presentation"},to),!zn&&ae.createElement("circle",{className:"".concat(Rt,"-circle-trail"),r:Zn,cx:lo,cy:lo,stroke:Ka,strokeLinecap:Jn,strokeWidth:Yn||ra,style:ja}),zn?Ma():Un())},ft=Ue,Tt={Line:x,Circle:ft},Qt=ee(83062),wt=ee(47448);function dt(We){return!We||We<0?0:We>100?100:We}function Gt(We){let{success:ut,successPercent:Ft}=We,$t=Ft;return ut&&"progress"in ut&&($t=ut.progress),ut&&"percent"in ut&&($t=ut.percent),$t}const an=We=>{let{percent:ut,success:Ft,successPercent:$t}=We;const Rt=dt(Gt({success:Ft,successPercent:$t}));return[Rt,dt(dt(ut)-Rt)]},pn=We=>{let{success:ut={},strokeColor:Ft}=We;const{strokeColor:$t}=ut;return[$t||wt.presetPrimaryColors.green,Ft||null]},$e=(We,ut,Ft)=>{var $t,Rt,bn,ra;let Yn=-1,jn=-1;if(ut==="step"){const Ga=Ft.steps,oa=Ft.strokeWidth;typeof We=="string"||typeof We=="undefined"?(Yn=We==="small"?2:14,jn=oa!=null?oa:8):typeof We=="number"?[Yn,jn]=[We,We]:[Yn=14,jn=8]=We,Yn*=Ga}else if(ut==="line"){const Ga=Ft==null?void 0:Ft.strokeWidth;typeof We=="string"||typeof We=="undefined"?jn=Ga||(We==="small"?6:8):typeof We=="number"?[Yn,jn]=[We,We]:[Yn=-1,jn=8]=We}else(ut==="circle"||ut==="dashboard")&&(typeof We=="string"||typeof We=="undefined"?[Yn,jn]=We==="small"?[60,60]:[120,120]:typeof We=="number"?[Yn,jn]=[We,We]:(Yn=(Rt=($t=We[0])!==null&&$t!==void 0?$t:We[1])!==null&&Rt!==void 0?Rt:120,jn=(ra=(bn=We[0])!==null&&bn!==void 0?bn:We[1])!==null&&ra!==void 0?ra:120));return[Yn,jn]},Ct=3,Bt=We=>Ct/We*100;var it=We=>{const{prefixCls:ut,trailColor:Ft=null,strokeLinecap:$t="round",gapPosition:Rt,gapDegree:bn,width:ra=120,type:Yn,children:jn,success:Ga,size:oa=ra}=We,[Ka,Pr]=$e(oa,"circle");let{strokeWidth:Tr}=We;Tr===void 0&&(Tr=Math.max(Bt(Ka),6));const Xr={width:Ka,height:Pr,fontSize:Ka*.15+6},Rr=ae.useMemo(()=>{if(bn||bn===0)return bn;if(Yn==="dashboard")return 75},[bn,Yn]),Br=Rt||Yn==="dashboard"&&"bottom"||void 0,to=Object.prototype.toString.call(We.strokeColor)==="[object Object]",lo=pn({success:Ga,strokeColor:We.strokeColor}),gr=se()(`${ut}-inner`,{[`${ut}-circle-gradient`]:to}),Pn=ae.createElement(ft,{percent:an(We),strokeWidth:Tr,trailWidth:Tr,strokeColor:lo,strokeLinecap:$t,trailColor:Ft,prefixCls:ut,gapDegree:Rr,gapPosition:Br});return ae.createElement("div",{className:gr,style:Xr},Ka<=20?ae.createElement(Qt.Z,{title:jn},ae.createElement("span",null,Pn)):ae.createElement(ae.Fragment,null,Pn,jn))},Mt=function(We,ut){var Ft={};for(var $t in We)Object.prototype.hasOwnProperty.call(We,$t)&&ut.indexOf($t)<0&&(Ft[$t]=We[$t]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,$t=Object.getOwnPropertySymbols(We);Rt<$t.length;Rt++)ut.indexOf($t[Rt])<0&&Object.prototype.propertyIsEnumerable.call(We,$t[Rt])&&(Ft[$t[Rt]]=We[$t[Rt]]);return Ft};const xe=We=>{let ut=[];return Object.keys(We).forEach(Ft=>{const $t=parseFloat(Ft.replace(/%/g,""));isNaN($t)||ut.push({key:$t,value:We[Ft]})}),ut=ut.sort((Ft,$t)=>Ft.key-$t.key),ut.map(Ft=>{let{key:$t,value:Rt}=Ft;return`${Rt} ${$t}%`}).join(", ")},Sn=(We,ut)=>{const{from:Ft=wt.presetPrimaryColors.blue,to:$t=wt.presetPrimaryColors.blue,direction:Rt=ut==="rtl"?"to left":"to right"}=We,bn=Mt(We,["from","to","direction"]);if(Object.keys(bn).length!==0){const ra=xe(bn);return{backgroundImage:`linear-gradient(${Rt}, ${ra})`}}return{backgroundImage:`linear-gradient(${Rt}, ${Ft}, ${$t})`}};var Ca=We=>{const{prefixCls:ut,direction:Ft,percent:$t,size:Rt,strokeWidth:bn,strokeColor:ra,strokeLinecap:Yn="round",children:jn,trailColor:Ga=null,success:oa}=We,Ka=ra&&typeof ra!="string"?Sn(ra,Ft):{backgroundColor:ra},Pr=Yn==="square"||Yn==="butt"?0:void 0,Tr={backgroundColor:Ga||void 0,borderRadius:Pr},Xr=Rt!=null?Rt:[-1,bn||(Rt==="small"?6:8)],[Rr,Br]=$e(Xr,"line",{strokeWidth:bn}),to=Object.assign({width:`${dt($t)}%`,height:Br,borderRadius:Pr},Ka),lo=Gt(We),gr={width:`${dt(lo)}%`,height:Br,borderRadius:Pr,backgroundColor:oa==null?void 0:oa.strokeColor},Pn={width:Rr<0?"100%":Rr,height:Br};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${ut}-outer`,style:Pn},ae.createElement("div",{className:`${ut}-inner`,style:Tr},ae.createElement("div",{className:`${ut}-bg`,style:to}),lo!==void 0?ae.createElement("div",{className:`${ut}-success-bg`,style:gr}):null)),jn)},Yt=We=>{const{size:ut,steps:Ft,percent:$t=0,strokeWidth:Rt=8,strokeColor:bn,trailColor:ra=null,prefixCls:Yn,children:jn}=We,Ga=Math.round(Ft*($t/100)),oa=ut==="small"?2:14,Ka=ut!=null?ut:[oa,Rt],[Pr,Tr]=$e(Ka,"step",{steps:Ft,strokeWidth:Rt}),Xr=Pr/Ft,Rr=new Array(Ft);for(let Br=0;Br<Ft;Br++){const to=Array.isArray(bn)?bn[Br]:bn;Rr[Br]=ae.createElement("div",{key:Br,className:se()(`${Yn}-steps-item`,{[`${Yn}-steps-item-active`]:Br<=Ga-1}),style:{backgroundColor:Br<=Ga-1?to:ra,width:Xr,height:Tr}})}return ae.createElement("div",{className:`${Yn}-steps-outer`},Rr,jn)},Ge=ee(45930),Fe=ee(14747),pt=ee(67968),zt=ee(45503);const en=We=>{const ut=We?"100%":"-100%";return new Ge.Keyframes(`antProgress${We?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ut}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ut}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},En=We=>{const{componentCls:ut,iconCls:Ft}=We;return{[ut]:Object.assign(Object.assign({},(0,Fe.Wf)(We)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:We.fontSize,marginInlineEnd:We.marginXS,marginBottom:We.marginXS},[`${ut}-outer`]:{display:"inline-block",width:"100%"},[`&${ut}-show-info`]:{[`${ut}-outer`]:{marginInlineEnd:`calc(-2em - ${We.marginXS}px)`,paddingInlineEnd:`calc(2em + ${We.paddingXS}px)`}},[`${ut}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:We.remainingColor,borderRadius:We.lineBorderRadius},[`${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:We.defaultColor}},[`${ut}-success-bg, ${ut}-bg`]:{position:"relative",backgroundColor:We.defaultColor,borderRadius:We.lineBorderRadius,transition:`all ${We.motionDurationSlow} ${We.motionEaseInOutCirc}`},[`${ut}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:We.colorSuccess},[`${ut}-text`]:{display:"inline-block",width:"2em",marginInlineStart:We.marginXS,color:We.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ft]:{fontSize:We.fontSize}},[`&${ut}-status-active`]:{[`${ut}-bg::before`]:{position:"absolute",inset:0,backgroundColor:We.colorBgContainer,borderRadius:We.lineBorderRadius,opacity:0,animationName:en(),animationDuration:We.progressActiveMotionDuration,animationTimingFunction:We.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ut}-rtl${ut}-status-active`]:{[`${ut}-bg::before`]:{animationName:en(!0)}},[`&${ut}-status-exception`]:{[`${ut}-bg`]:{backgroundColor:We.colorError},[`${ut}-text`]:{color:We.colorError}},[`&${ut}-status-exception ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:We.colorError}},[`&${ut}-status-success`]:{[`${ut}-bg`]:{backgroundColor:We.colorSuccess},[`${ut}-text`]:{color:We.colorSuccess}},[`&${ut}-status-success ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:We.colorSuccess}}})}},kn=We=>{const{componentCls:ut,iconCls:Ft}=We;return{[ut]:{[`${ut}-circle-trail`]:{stroke:We.remainingColor},[`&${ut}-circle ${ut}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ut}-circle ${ut}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:We.circleTextColor,fontSize:We.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ft]:{fontSize:`${We.fontSize/We.fontSizeSM}em`}},[`${ut}-circle&-status-exception`]:{[`${ut}-text`]:{color:We.colorError}},[`${ut}-circle&-status-success`]:{[`${ut}-text`]:{color:We.colorSuccess}}},[`${ut}-inline-circle`]:{lineHeight:1,[`${ut}-inner`]:{verticalAlign:"bottom"}}}},_n=We=>{const{componentCls:ut}=We;return{[ut]:{[`${ut}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:We.progressStepMinWidth,marginInlineEnd:We.progressStepMarginInlineEnd,backgroundColor:We.remainingColor,transition:`all ${We.motionDurationSlow}`,"&-active":{backgroundColor:We.defaultColor}}}}}},Gn=We=>{const{componentCls:ut,iconCls:Ft}=We;return{[ut]:{[`${ut}-small&-line, ${ut}-small&-line ${ut}-text ${Ft}`]:{fontSize:We.fontSizeSM}}}};var nn=(0,pt.Z)("Progress",We=>{const ut=We.marginXXS/2,Ft=(0,zt.TS)(We,{progressStepMarginInlineEnd:ut,progressStepMinWidth:ut,progressActiveMotionDuration:"2.4s"});return[En(Ft),kn(Ft),_n(Ft),Gn(Ft)]},We=>({circleTextColor:We.colorText,defaultColor:We.colorInfo,remainingColor:We.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),we=function(We,ut){var Ft={};for(var $t in We)Object.prototype.hasOwnProperty.call(We,$t)&&ut.indexOf($t)<0&&(Ft[$t]=We[$t]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,$t=Object.getOwnPropertySymbols(We);Rt<$t.length;Rt++)ut.indexOf($t[Rt])<0&&Object.prototype.propertyIsEnumerable.call(We,$t[Rt])&&(Ft[$t[Rt]]=We[$t[Rt]]);return Ft};const Qe=null,Qn=["normal","exception","active","success"];var lt=ae.forwardRef((We,ut)=>{const{prefixCls:Ft,className:$t,rootClassName:Rt,steps:bn,strokeColor:ra,percent:Yn=0,size:jn="default",showInfo:Ga=!0,type:oa="line",status:Ka,format:Pr,style:Tr}=We,Xr=we(We,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Rr=ae.useMemo(()=>{var st,Ve;const Kt=Gt(We);return parseInt(Kt!==void 0?(st=Kt!=null?Kt:0)===null||st===void 0?void 0:st.toString():(Ve=Yn!=null?Yn:0)===null||Ve===void 0?void 0:Ve.toString(),10)},[Yn,We.success,We.successPercent]),Br=ae.useMemo(()=>!Qn.includes(Ka)&&Rr>=100?"success":Ka||"normal",[Ka,Rr]),{getPrefixCls:to,direction:lo,progress:gr}=ae.useContext(Ke.E_),Pn=to("progress",Ft),[Zn,Ln]=nn(Pn),Nn=ae.useMemo(()=>{if(!Ga)return null;const st=Gt(We);let Ve;const Kt=Pr||(Jn=>`${Jn}%`),Cn=oa==="line";return Pr||Br!=="exception"&&Br!=="success"?Ve=Kt(dt(Yn),dt(st)):Br==="exception"?Ve=Cn?ae.createElement(ze.Z,null):ae.createElement(Me.Z,null):Br==="success"&&(Ve=Cn?ae.createElement(me.Z,null):ae.createElement(Re.Z,null)),ae.createElement("span",{className:`${Pn}-text`,title:typeof Ve=="string"?Ve:void 0},Ve)},[Ga,Yn,Rr,Br,oa,Pn,Pr]),Oa=Array.isArray(ra)?ra[0]:ra,Ar=typeof ra=="string"||Array.isArray(ra)?ra:void 0;let zn;oa==="line"?zn=bn?ae.createElement(Yt,Object.assign({},We,{strokeColor:Ar,prefixCls:Pn,steps:bn}),Nn):ae.createElement(Ca,Object.assign({},We,{strokeColor:Oa,prefixCls:Pn,direction:lo}),Nn):(oa==="circle"||oa==="dashboard")&&(zn=ae.createElement(it,Object.assign({},We,{strokeColor:Oa,prefixCls:Pn,progressStatus:Br}),Nn));const et=se()(Pn,`${Pn}-status-${Br}`,`${Pn}-${oa==="dashboard"&&"circle"||bn&&"steps"||oa}`,{[`${Pn}-inline-circle`]:oa==="circle"&&$e(jn,"circle")[0]<=20,[`${Pn}-show-info`]:Ga,[`${Pn}-${jn}`]:typeof jn=="string",[`${Pn}-rtl`]:lo==="rtl"},gr==null?void 0:gr.className,$t,Rt,Ln);return Zn(ae.createElement("div",Object.assign({ref:ut,style:Object.assign(Object.assign({},gr==null?void 0:gr.style),Tr),className:et,role:"progressbar","aria-valuenow":Rr},(0,Ze.Z)(Xr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),zn))}),tn=lt},12604:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return wt}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ze=Re,Me=ee(74643),Te=function(Gt,an){return me.createElement(Me.Z,(0,ae.Z)({},Gt,{ref:an,icon:ze}))},se=me.forwardRef(Te),Ze=ee(94184),Ke=ee.n(Ze),He=ee(4942),_e=ee(97685),je=ee(45987),Le=ee(21770),ce=ee(15105),a=ee(64217);function y(dt,Gt){var an=dt.disabled,pn=dt.prefixCls,$e=dt.character,Ct=dt.characterRender,Bt=dt.index,Tn=dt.count,it=dt.value,Mt=dt.allowHalf,xe=dt.focused,Sn=dt.onHover,Wn=dt.onClick,Ca=function(En){Sn(En,Bt)},yn=function(En){Wn(En,Bt)},Yt=function(En){En.keyCode===ce.Z.ENTER&&Wn(En,Bt)},Ge=Bt+1,Fe=new Set([pn]);it===0&&Bt===0&&xe?Fe.add("".concat(pn,"-focused")):Mt&&it+.5>=Ge&&it<Ge?(Fe.add("".concat(pn,"-half")),Fe.add("".concat(pn,"-active")),xe&&Fe.add("".concat(pn,"-focused"))):(Ge<=it?Fe.add("".concat(pn,"-full")):Fe.add("".concat(pn,"-zero")),Ge===it&&xe&&Fe.add("".concat(pn,"-focused")));var pt=typeof $e=="function"?$e(dt):$e,zt=me.createElement("li",{className:Ke()(Array.from(Fe)),ref:Gt},me.createElement("div",{onClick:an?null:yn,onKeyDown:an?null:Yt,onMouseMove:an?null:Ca,role:"radio","aria-checked":it>Bt?"true":"false","aria-posinset":Bt+1,"aria-setsize":Tn,tabIndex:an?-1:0},me.createElement("div",{className:"".concat(pn,"-first")},pt),me.createElement("div",{className:"".concat(pn,"-second")},pt)));return Ct&&(zt=Ct(zt,dt)),zt}var x=me.forwardRef(y);function b(){var dt=me.useRef({});function Gt(pn){return dt.current[pn]}function an(pn){return function($e){dt.current[pn]=$e}}return[Gt,an]}function E(dt){var Gt=dt.pageXOffset,an="scrollLeft";if(typeof Gt!="number"){var pn=dt.document;Gt=pn.documentElement[an],typeof Gt!="number"&&(Gt=pn.body[an])}return Gt}function z(dt){var Gt,an,pn=dt.ownerDocument,$e=pn.body,Ct=pn&&pn.documentElement,Bt=dt.getBoundingClientRect();return Gt=Bt.left,an=Bt.top,Gt-=Ct.clientLeft||$e.clientLeft||0,an-=Ct.clientTop||$e.clientTop||0,{left:Gt,top:an}}function re(dt){var Gt=z(dt),an=dt.ownerDocument,pn=an.defaultView||an.parentWindow;return Gt.left+=E(pn),Gt.left}var oe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ne(dt,Gt){var an,pn=dt.prefixCls,$e=pn===void 0?"rc-rate":pn,Ct=dt.className,Bt=dt.defaultValue,Tn=dt.value,it=dt.count,Mt=it===void 0?5:it,xe=dt.allowHalf,Sn=xe===void 0?!1:xe,Wn=dt.allowClear,Ca=Wn===void 0?!0:Wn,yn=dt.character,Yt=yn===void 0?"\u2605":yn,Ge=dt.characterRender,Fe=dt.disabled,pt=dt.direction,zt=pt===void 0?"ltr":pt,en=dt.tabIndex,En=en===void 0?0:en,kn=dt.autoFocus,_n=dt.onHoverChange,Gn=dt.onChange,nn=dt.onFocus,we=dt.onBlur,Qe=dt.onKeyDown,Qn=dt.onMouseLeave,Kn=(0,je.Z)(dt,oe),lt=b(),tn=(0,_e.Z)(lt,2),We=tn[0],ut=tn[1],Ft=me.useRef(null),$t=function(){if(!Fe){var Cn;(Cn=Ft.current)===null||Cn===void 0||Cn.focus()}};me.useImperativeHandle(Gt,function(){return{focus:$t,blur:function(){if(!Fe){var Cn;(Cn=Ft.current)===null||Cn===void 0||Cn.blur()}}}});var Rt=(0,Le.Z)(Bt||0,{value:Tn}),bn=(0,_e.Z)(Rt,2),ra=bn[0],Yn=bn[1],jn=(0,Le.Z)(null),Ga=(0,_e.Z)(jn,2),oa=Ga[0],Ka=Ga[1],Pr=function(Cn,Jn){var ja=zt==="rtl",ua=Cn+1;if(Sn){var Un=We(Cn),Ma=re(Un),ho=Un.clientWidth;(ja&&Jn-Ma>ho/2||!ja&&Jn-Ma<ho/2)&&(ua-=.5)}return ua},Tr=function(Cn){Yn(Cn),Gn==null||Gn(Cn)},Xr=me.useState(!1),Rr=(0,_e.Z)(Xr,2),Br=Rr[0],to=Rr[1],lo=function(){to(!0),nn==null||nn()},gr=function(){to(!1),we==null||we()},Pn=me.useState(null),Zn=(0,_e.Z)(Pn,2),Ln=Zn[0],Nn=Zn[1],Oa=function(Cn,Jn){var ja=Pr(Jn,Cn.pageX);ja!==oa&&(Nn(ja),Ka(null)),_n==null||_n(ja)},Ar=function(Cn){Fe||(Nn(null),Ka(null),_n==null||_n(void 0)),Cn&&(Qn==null||Qn(Cn))},zn=function(Cn,Jn){var ja=Pr(Jn,Cn.pageX),ua=!1;Ca&&(ua=ja===ra),Ar(),Tr(ua?0:ja),Ka(ua?ja:null)},et=function(Cn){var Jn=Cn.keyCode,ja=zt==="rtl",ua=ra;Jn===ce.Z.RIGHT&&ua<Mt&&!ja?(Sn?ua+=.5:ua+=1,Tr(ua),Cn.preventDefault()):Jn===ce.Z.LEFT&&ua>0&&!ja||Jn===ce.Z.RIGHT&&ua>0&&ja?(Sn?ua-=.5:ua-=1,Tr(ua),Cn.preventDefault()):Jn===ce.Z.LEFT&&ua<Mt&&ja&&(Sn?ua+=.5:ua+=1,Tr(ua),Cn.preventDefault()),Qe==null||Qe(Cn)};me.useEffect(function(){kn&&!Fe&&$t()},[]);var st=new Array(Mt).fill(0).map(function(Kt,Cn){return me.createElement(x,{ref:ut(Cn),index:Cn,count:Mt,disabled:Fe,prefixCls:"".concat($e,"-star"),allowHalf:Sn,value:Ln===null?ra:Ln,onClick:zn,onHover:Oa,key:Kt||Cn,character:Yt,characterRender:Ge,focused:Br})}),Ve=Ke()($e,Ct,(an={},(0,He.Z)(an,"".concat($e,"-disabled"),Fe),(0,He.Z)(an,"".concat($e,"-rtl"),zt==="rtl"),an));return me.createElement("ul",(0,ae.Z)({className:Ve,onMouseLeave:Ar,tabIndex:Fe?-1:En,onFocus:Fe?null:lo,onBlur:Fe?null:gr,onKeyDown:Fe?null:et,ref:Ft,role:"radiogroup"},(0,a.Z)(Kn,{aria:!0,data:!0,attr:!0})),st)}var fe=me.forwardRef(ne),pe=fe,ye=ee(53124),Ce=ee(83062),Ee=ee(14747),Se=ee(67968),gt=ee(45503);const Ye=dt=>{const{componentCls:Gt}=dt;return{[`${Gt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:dt.marginXS},"> div":{transition:`all ${dt.motionDurationMid}, outline 0s`,"&:hover":{transform:dt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${dt.lineWidth}px dashed ${dt.starColor}`,transform:dt.starHoverScale}},"&-first, &-second":{color:dt.starBg,transition:`all ${dt.motionDurationMid}`,userSelect:"none",[dt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Gt}-star-first, &-half ${Gt}-star-second`]:{opacity:1},[`&-half ${Gt}-star-first, &-full ${Gt}-star-second`]:{color:"inherit"}}}},It=dt=>({[`&-rtl${dt.componentCls}`]:{direction:"rtl"}}),Ue=dt=>{const{componentCls:Gt}=dt;return{[Gt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(dt)),{display:"inline-block",margin:0,padding:0,color:dt.starColor,fontSize:dt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Gt} ${Gt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ye(dt)),{[`+ ${Gt}-text`]:{display:"inline-block",marginInlineStart:dt.marginXS,fontSize:dt.fontSize}}),It(dt))}};var ft=(0,Se.Z)("Rate",dt=>{const Gt=(0,gt.TS)(dt,{});return[Ue(Gt)]},dt=>({starColor:dt.yellow6,starSize:dt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:dt.colorFillContent})),Tt=function(dt,Gt){var an={};for(var pn in dt)Object.prototype.hasOwnProperty.call(dt,pn)&&Gt.indexOf(pn)<0&&(an[pn]=dt[pn]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,pn=Object.getOwnPropertySymbols(dt);$e<pn.length;$e++)Gt.indexOf(pn[$e])<0&&Object.prototype.propertyIsEnumerable.call(dt,pn[$e])&&(an[pn[$e]]=dt[pn[$e]]);return an},wt=me.forwardRef((dt,Gt)=>{const{prefixCls:an,className:pn,rootClassName:$e,style:Ct,tooltips:Bt,character:Tn=me.createElement(se,null)}=dt,it=Tt(dt,["prefixCls","className","rootClassName","style","tooltips","character"]),Mt=(Fe,pt)=>{let{index:zt}=pt;return Bt?me.createElement(Ce.Z,{title:Bt[zt]},Fe):Fe},{getPrefixCls:xe,direction:Sn,rate:Wn}=me.useContext(ye.E_),Ca=xe("rate",an),[yn,Yt]=ft(Ca),Ge=Object.assign(Object.assign({},Wn==null?void 0:Wn.style),Ct);return yn(me.createElement(pe,Object.assign({ref:Gt,character:Tn,characterRender:Mt},it,{className:Ke()(pn,$e,Yt,Wn==null?void 0:Wn.className),style:Ge,prefixCls:Ca,direction:Sn})))})},46303:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Yt}});var ae=ee(94184),me=ee.n(ae),Re=ee(67294),ze=ee(53124),Me=ee(10366),se=Ge=>{const{prefixCls:Fe,className:pt,style:zt,size:en,shape:En}=Ge,kn=me()({[`${Fe}-lg`]:en==="large",[`${Fe}-sm`]:en==="small"}),_n=me()({[`${Fe}-circle`]:En==="circle",[`${Fe}-square`]:En==="square",[`${Fe}-round`]:En==="round"}),Gn=Re.useMemo(()=>typeof en=="number"?{width:en,height:en,lineHeight:`${en}px`}:{},[en]);return Re.createElement("span",{className:me()(Fe,kn,_n,pt),style:Object.assign(Object.assign({},Gn),zt)})},Ze=ee(45930),Ke=ee(67968),He=ee(45503);const _e=new Ze.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),je=Ge=>({height:Ge,lineHeight:`${Ge}px`}),Le=Ge=>Object.assign({width:Ge},je(Ge)),ce=Ge=>({background:Ge.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:_e,animationDuration:Ge.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=Ge=>Object.assign({width:Ge*5,minWidth:Ge*5},je(Ge)),y=Ge=>{const{skeletonAvatarCls:Fe,gradientFromColor:pt,controlHeight:zt,controlHeightLG:en,controlHeightSM:En}=Ge;return{[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:pt},Le(zt)),[`${Fe}${Fe}-circle`]:{borderRadius:"50%"},[`${Fe}${Fe}-lg`]:Object.assign({},Le(en)),[`${Fe}${Fe}-sm`]:Object.assign({},Le(En))}},x=Ge=>{const{controlHeight:Fe,borderRadiusSM:pt,skeletonInputCls:zt,controlHeightLG:en,controlHeightSM:En,gradientFromColor:kn}=Ge;return{[`${zt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kn,borderRadius:pt},a(Fe)),[`${zt}-lg`]:Object.assign({},a(en)),[`${zt}-sm`]:Object.assign({},a(En))}},b=Ge=>Object.assign({width:Ge},je(Ge)),E=Ge=>{const{skeletonImageCls:Fe,imageSizeBase:pt,gradientFromColor:zt,borderRadiusSM:en}=Ge;return{[`${Fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:zt,borderRadius:en},b(pt*2)),{[`${Fe}-path`]:{fill:"#bfbfbf"},[`${Fe}-svg`]:Object.assign(Object.assign({},b(pt)),{maxWidth:pt*4,maxHeight:pt*4}),[`${Fe}-svg${Fe}-svg-circle`]:{borderRadius:"50%"}}),[`${Fe}${Fe}-circle`]:{borderRadius:"50%"}}},z=(Ge,Fe,pt)=>{const{skeletonButtonCls:zt}=Ge;return{[`${pt}${zt}-circle`]:{width:Fe,minWidth:Fe,borderRadius:"50%"},[`${pt}${zt}-round`]:{borderRadius:Fe}}},re=Ge=>Object.assign({width:Ge*2,minWidth:Ge*2},je(Ge)),oe=Ge=>{const{borderRadiusSM:Fe,skeletonButtonCls:pt,controlHeight:zt,controlHeightLG:en,controlHeightSM:En,gradientFromColor:kn}=Ge;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:kn,borderRadius:Fe,width:zt*2,minWidth:zt*2},re(zt))},z(Ge,zt,pt)),{[`${pt}-lg`]:Object.assign({},re(en))}),z(Ge,en,`${pt}-lg`)),{[`${pt}-sm`]:Object.assign({},re(En))}),z(Ge,En,`${pt}-sm`))},ne=Ge=>{const{componentCls:Fe,skeletonAvatarCls:pt,skeletonTitleCls:zt,skeletonParagraphCls:en,skeletonButtonCls:En,skeletonInputCls:kn,skeletonImageCls:_n,controlHeight:Gn,controlHeightLG:nn,controlHeightSM:we,gradientFromColor:Qe,padding:Qn,marginSM:Kn,borderRadius:lt,titleHeight:tn,blockRadius:We,paragraphLiHeight:ut,controlHeightXS:Ft,paragraphMarginTop:$t}=Ge;return{[`${Fe}`]:{display:"table",width:"100%",[`${Fe}-header`]:{display:"table-cell",paddingInlineEnd:Qn,verticalAlign:"top",[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Qe},Le(Gn)),[`${pt}-circle`]:{borderRadius:"50%"},[`${pt}-lg`]:Object.assign({},Le(nn)),[`${pt}-sm`]:Object.assign({},Le(we))},[`${Fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${zt}`]:{width:"100%",height:tn,background:Qe,borderRadius:We,[`+ ${en}`]:{marginBlockStart:we}},[`${en}`]:{padding:0,"> li":{width:"100%",height:ut,listStyle:"none",background:Qe,borderRadius:We,"+ li":{marginBlockStart:Ft}}},[`${en}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Fe}-content`]:{[`${zt}, ${en} > li`]:{borderRadius:lt}}},[`${Fe}-with-avatar ${Fe}-content`]:{[`${zt}`]:{marginBlockStart:Kn,[`+ ${en}`]:{marginBlockStart:$t}}},[`${Fe}${Fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},oe(Ge)),y(Ge)),x(Ge)),E(Ge)),[`${Fe}${Fe}-block`]:{width:"100%",[`${En}`]:{width:"100%"},[`${kn}`]:{width:"100%"}},[`${Fe}${Fe}-active`]:{[`
${zt},
${en} > li,
${pt},
${En},
${kn},
${_n}
`]:Object.assign({},ce(Ge))}}};var fe=(0,Ke.Z)("Skeleton",Ge=>{const{componentCls:Fe}=Ge,pt=(0,He.TS)(Ge,{skeletonAvatarCls:`${Fe}-avatar`,skeletonTitleCls:`${Fe}-title`,skeletonParagraphCls:`${Fe}-paragraph`,skeletonButtonCls:`${Fe}-button`,skeletonInputCls:`${Fe}-input`,skeletonImageCls:`${Fe}-image`,imageSizeBase:Ge.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ge.gradientFromColor} 25%, ${Ge.gradientToColor} 37%, ${Ge.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ne(pt)]},Ge=>{const{colorFillContent:Fe,colorFill:pt}=Ge,zt=Fe,en=pt;return{color:zt,colorGradientEnd:en,gradientFromColor:zt,gradientToColor:en,titleHeight:Ge.controlHeight/2,blockRadius:Ge.borderRadiusSM,paragraphMarginTop:Ge.marginLG+Ge.marginXXS,paragraphLiHeight:Ge.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ye=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:zt,active:en,shape:En="circle",size:kn="default"}=Ge,{getPrefixCls:_n}=Re.useContext(ze.E_),Gn=_n("skeleton",Fe),[nn,we]=fe(Gn),Qe=(0,Me.Z)(Ge,["prefixCls","className"]),Qn=me()(Gn,`${Gn}-element`,{[`${Gn}-active`]:en},pt,zt,we);return nn(Re.createElement("div",{className:Qn},Re.createElement(se,Object.assign({prefixCls:`${Gn}-avatar`,shape:En,size:kn},Qe))))},Ee=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:zt,active:en,block:En=!1,size:kn="default"}=Ge,{getPrefixCls:_n}=Re.useContext(ze.E_),Gn=_n("skeleton",Fe),[nn,we]=fe(Gn),Qe=(0,Me.Z)(Ge,["prefixCls"]),Qn=me()(Gn,`${Gn}-element`,{[`${Gn}-active`]:en,[`${Gn}-block`]:En},pt,zt,we);return nn(Re.createElement("div",{className:Qn},Re.createElement(se,Object.assign({prefixCls:`${Gn}-button`,size:kn},Qe))))};const Se="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 Ye=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:zt,style:en,active:En}=Ge,{getPrefixCls:kn}=Re.useContext(ze.E_),_n=kn("skeleton",Fe),[Gn,nn]=fe(_n),we=me()(_n,`${_n}-element`,{[`${_n}-active`]:En},pt,zt,nn);return Gn(Re.createElement("div",{className:we},Re.createElement("div",{className:me()(`${_n}-image`,pt),style:en},Re.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${_n}-image-svg`},Re.createElement("path",{d:Se,className:`${_n}-image-path`})))))},Ue=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:zt,active:en,block:En,size:kn="default"}=Ge,{getPrefixCls:_n}=Re.useContext(ze.E_),Gn=_n("skeleton",Fe),[nn,we]=fe(Gn),Qe=(0,Me.Z)(Ge,["prefixCls"]),Qn=me()(Gn,`${Gn}-element`,{[`${Gn}-active`]:en,[`${Gn}-block`]:En},pt,zt,we);return nn(Re.createElement("div",{className:Qn},Re.createElement(se,Object.assign({prefixCls:`${Gn}-input`,size:kn},Qe))))},ft=ee(87462),Tt={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"},Qt=Tt,wt=ee(74643),dt=function(Fe,pt){return Re.createElement(wt.Z,(0,ft.Z)({},Fe,{ref:pt,icon:Qt}))},Gt=Re.forwardRef(dt),pn=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:zt,style:en,active:En,children:kn}=Ge,{getPrefixCls:_n}=Re.useContext(ze.E_),Gn=_n("skeleton",Fe),[nn,we]=fe(Gn),Qe=me()(Gn,`${Gn}-element`,{[`${Gn}-active`]:En},we,pt,zt),Qn=kn!=null?kn:Re.createElement(Gt,null);return nn(Re.createElement("div",{className:Qe},Re.createElement("div",{className:me()(`${Gn}-image`,pt),style:en},Qn)))},$e=ee(74902),Bt=Ge=>{const Fe=_n=>{const{width:Gn,rows:nn=2}=Ge;if(Array.isArray(Gn))return Gn[_n];if(nn-1===_n)return Gn},{prefixCls:pt,className:zt,style:en,rows:En}=Ge,kn=(0,$e.Z)(Array(En)).map((_n,Gn)=>Re.createElement("li",{key:Gn,style:{width:Fe(Gn)}}));return Re.createElement("ul",{className:me()(pt,zt),style:en},kn)},it=Ge=>{let{prefixCls:Fe,className:pt,width:zt,style:en}=Ge;return Re.createElement("h3",{className:me()(Fe,pt),style:Object.assign({width:zt},en)})};function Mt(Ge){return Ge&&typeof Ge=="object"?Ge:{}}function xe(Ge,Fe){return Ge&&!Fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Sn(Ge,Fe){return!Ge&&Fe?{width:"38%"}:Ge&&Fe?{width:"50%"}:{}}function Wn(Ge,Fe){const pt={};return(!Ge||!Fe)&&(pt.width="61%"),!Ge&&Fe?pt.rows=3:pt.rows=2,pt}const Ca=Ge=>{const{prefixCls:Fe,loading:pt,className:zt,rootClassName:en,style:En,children:kn,avatar:_n=!1,title:Gn=!0,paragraph:nn=!0,active:we,round:Qe}=Ge,{getPrefixCls:Qn,direction:Kn,skeleton:lt}=Re.useContext(ze.E_),tn=Qn("skeleton",Fe),[We,ut]=fe(tn);if(pt||!("loading"in Ge)){const Ft=!!_n,$t=!!Gn,Rt=!!nn;let bn;if(Ft){const jn=Object.assign(Object.assign({prefixCls:`${tn}-avatar`},xe($t,Rt)),Mt(_n));bn=Re.createElement("div",{className:`${tn}-header`},Re.createElement(se,Object.assign({},jn)))}let ra;if($t||Rt){let jn;if($t){const oa=Object.assign(Object.assign({prefixCls:`${tn}-title`},Sn(Ft,Rt)),Mt(Gn));jn=Re.createElement(it,Object.assign({},oa))}let Ga;if(Rt){const oa=Object.assign(Object.assign({prefixCls:`${tn}-paragraph`},Wn(Ft,$t)),Mt(nn));Ga=Re.createElement(Bt,Object.assign({},oa))}ra=Re.createElement("div",{className:`${tn}-content`},jn,Ga)}const Yn=me()(tn,{[`${tn}-with-avatar`]:Ft,[`${tn}-active`]:we,[`${tn}-rtl`]:Kn==="rtl",[`${tn}-round`]:Qe},lt==null?void 0:lt.className,zt,en,ut);return We(Re.createElement("div",{className:Yn,style:Object.assign(Object.assign({},lt==null?void 0:lt.style),En)},bn,ra))}return typeof kn!="undefined"?kn:null};Ca.Button=Ee,Ca.Avatar=ye,Ca.Input=Ue,Ca.Image=Ye,Ca.Node=pn;var yn=Ca,Yt=yn},55054:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return fe}});var ae=ee(67294),me=ee(57838),Re=ee(96159),ze=ee(94184),Me=ee.n(ze),Te=ee(53124),se=ee(46303),Ke=pe=>{const{value:ye,formatter:Ce,precision:Ee,decimalSeparator:Se,groupSeparator:gt="",prefixCls:Ye}=pe;let It;if(typeof Ce=="function")It=Ce(ye);else{const Ue=String(ye),ft=Ue.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ft||Ue==="-")It=Ue;else{const Tt=ft[1];let Qt=ft[2]||"0",wt=ft[4]||"";Qt=Qt.replace(/\B(?=(\d{3})+(?!\d))/g,gt),typeof Ee=="number"&&(wt=wt.padEnd(Ee,"0").slice(0,Ee>0?Ee:0)),wt&&(wt=`${Se}${wt}`),It=[ae.createElement("span",{key:"int",className:`${Ye}-content-value-int`},Tt,Qt),wt&&ae.createElement("span",{key:"decimal",className:`${Ye}-content-value-decimal`},wt)]}}return ae.createElement("span",{className:`${Ye}-content-value`},It)},He=ee(14747),_e=ee(67968),je=ee(45503);const Le=pe=>{const{componentCls:ye,marginXXS:Ce,padding:Ee,colorTextDescription:Se,titleFontSize:gt,colorTextHeading:Ye,contentFontSize:It,fontFamily:Ue}=pe;return{[`${ye}`]:Object.assign(Object.assign({},(0,He.Wf)(pe)),{[`${ye}-title`]:{marginBottom:Ce,color:Se,fontSize:gt},[`${ye}-skeleton`]:{paddingTop:Ee},[`${ye}-content`]:{color:Ye,fontSize:It,fontFamily:Ue,[`${ye}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ye}-content-prefix, ${ye}-content-suffix`]:{display:"inline-block"},[`${ye}-content-prefix`]:{marginInlineEnd:Ce},[`${ye}-content-suffix`]:{marginInlineStart:Ce}}})}};var ce=(0,_e.Z)("Statistic",pe=>{const ye=(0,je.TS)(pe,{});return[Le(ye)]},pe=>{const{fontSizeHeading3:ye,fontSize:Ce}=pe;return{titleFontSize:Ce,contentFontSize:ye}}),y=pe=>{const{prefixCls:ye,className:Ce,rootClassName:Ee,style:Se,valueStyle:gt,value:Ye=0,title:It,valueRender:Ue,prefix:ft,suffix:Tt,loading:Qt=!1,onMouseEnter:wt,onMouseLeave:dt,decimalSeparator:Gt=".",groupSeparator:an=","}=pe,{getPrefixCls:pn,direction:$e,statistic:Ct}=ae.useContext(Te.E_),Bt=pn("statistic",ye),[Tn,it]=ce(Bt),Mt=ae.createElement(Ke,Object.assign({decimalSeparator:Gt,groupSeparator:an,prefixCls:Bt},pe,{value:Ye})),xe=Me()(Bt,{[`${Bt}-rtl`]:$e==="rtl"},Ct==null?void 0:Ct.className,Ce,Ee,it);return Tn(ae.createElement("div",{className:xe,style:Object.assign(Object.assign({},Ct==null?void 0:Ct.style),Se),onMouseEnter:wt,onMouseLeave:dt},It&&ae.createElement("div",{className:`${Bt}-title`},It),ae.createElement(se.Z,{paragraph:!1,loading:Qt,className:`${Bt}-skeleton`},ae.createElement("div",{style:gt,className:`${Bt}-content`},ft&&ae.createElement("span",{className:`${Bt}-content-prefix`},ft),Ue?Ue(Mt):Mt,Tt&&ae.createElement("span",{className:`${Bt}-content-suffix`},Tt)))))};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(pe,ye){let Ce=pe;const Ee=/\[[^\]]*]/g,Se=(ye.match(Ee)||[]).map(Ue=>Ue.slice(1,-1)),gt=ye.replace(Ee,"[]"),Ye=x.reduce((Ue,ft)=>{let[Tt,Qt]=ft;if(Ue.includes(Tt)){const wt=Math.floor(Ce/Qt);return Ce-=wt*Qt,Ue.replace(new RegExp(`${Tt}+`,"g"),dt=>{const Gt=dt.length;return wt.toString().padStart(Gt,"0")})}return Ue},gt);let It=0;return Ye.replace(Ee,()=>{const Ue=Se[It];return It+=1,Ue})}function E(pe,ye){const{format:Ce=""}=ye,Ee=new Date(pe).getTime(),Se=Date.now(),gt=Math.max(Ee-Se,0);return b(gt,Ce)}const z=1e3/30;function re(pe){return new Date(pe).getTime()}const oe=pe=>{const{value:ye,format:Ce="HH:mm:ss",onChange:Ee,onFinish:Se}=pe,gt=(0,me.Z)(),Ye=ae.useRef(null),It=()=>{Se==null||Se(),Ye.current&&(clearInterval(Ye.current),Ye.current=null)},Ue=()=>{const Qt=re(ye);Qt>=Date.now()&&(Ye.current=setInterval(()=>{gt(),Ee==null||Ee(Qt-Date.now()),Qt<Date.now()&&It()},z))};ae.useEffect(()=>(Ue(),()=>{Ye.current&&(clearInterval(Ye.current),Ye.current=null)}),[ye]);const ft=(Qt,wt)=>E(Qt,Object.assign(Object.assign({},wt),{format:Ce})),Tt=Qt=>(0,Re.Tm)(Qt,{title:void 0});return ae.createElement(y,Object.assign({},pe,{valueRender:Tt,formatter:ft}))};var ne=ae.memo(oe);y.Countdown=ne;var fe=y},49867:function(ht,Et,ee){"use strict";ee.d(Et,{N:function(){return ae}});const ae=me=>({color:me.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${me.motionDurationSlow}`,"&:focus, &:hover":{color:me.colorLinkHover},"&:active":{color:me.colorLinkActive}})},9430:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return Xs}});var ae={},me="rc-table-internal-hook",Re=ee(97685),ze=ee(66680),Me=ee(8410),Te=ee(91881),se=ee(67294),Ze=ee(73935);function Ke(de){var ue=se.createContext(void 0),he=function(Be){var Ie=Be.value,Xe=Be.children,nt=se.useRef(Ie);nt.current=Ie;var tt=se.useState(function(){return{getValue:function(){return nt.current},listeners:new Set}}),yt=(0,Re.Z)(tt,1),Zt=yt[0];return(0,Me.Z)(function(){(0,Ze.unstable_batchedUpdates)(function(){Zt.listeners.forEach(function(Lt){Lt(Ie)})})},[Ie]),se.createElement(ue.Provider,{value:Zt},Xe)};return{Context:ue,Provider:he,defaultValue:de}}function He(de,ue){var he=(0,ze.Z)(typeof ue=="function"?ue:function(Lt){if(ue===void 0)return Lt;if(!Array.isArray(ue))return Lt[ue];var on={};return ue.forEach(function(ln){on[ln]=Lt[ln]}),on}),be=se.useContext(de==null?void 0:de.Context),Be=be||{},Ie=Be.listeners,Xe=Be.getValue,nt=se.useRef();nt.current=he(be?Xe():de==null?void 0:de.defaultValue);var tt=se.useState({}),yt=(0,Re.Z)(tt,2),Zt=yt[1];return(0,Me.Z)(function(){if(!be)return;function Lt(on){var ln=he(on);(0,Te.Z)(nt.current,ln,!0)||Zt({})}return Ie.add(Lt),function(){Ie.delete(Lt)}},[be]),nt.current}var _e=ee(87462),je=ee(42550);function Le(){var de=se.createContext(null);function ue(){return se.useContext(de)}function he(Be,Ie){var Xe=(0,je.Yr)(Be),nt=function(yt,Zt){var Lt=Xe?{ref:Zt}:{},on=se.useRef(0),ln=se.useRef(yt),mn=ue();return mn!==null?se.createElement(Be,(0,_e.Z)({},yt,Lt)):((!Ie||Ie(ln.current,yt))&&(on.current+=1),ln.current=yt,se.createElement(de.Provider,{value:on.current},se.createElement(Be,(0,_e.Z)({},yt,Lt))))};return Xe?se.forwardRef(nt):nt}function be(Be,Ie){var Xe=(0,je.Yr)(Be),nt=function(yt,Zt){var Lt=Xe?{ref:Zt}:{};return ue(),se.createElement(Be,(0,_e.Z)({},yt,Lt))};return Xe?se.memo(se.forwardRef(nt),Ie):se.memo(nt,Ie)}return{makeImmutable:he,responseImmutable:be,useImmutableMark:ue}}var ce=Le(),a=ce.makeImmutable,y=ce.responseImmutable,x=ce.useImmutableMark,b=Le(),E=b.makeImmutable,z=b.responseImmutable,re=b.useImmutableMark,oe=Ke(),ne=oe;function fe(de,ue){var he=se.useRef(0);he.current+=1;var be=se.useRef(de),Be=[];Object.keys(de||{}).map(function(Xe){var nt;(de==null?void 0:de[Xe])!==((nt=be.current)===null||nt===void 0?void 0:nt[Xe])&&Be.push(Xe)}),be.current=de;var Ie=se.useRef([]);return Be.length&&(Ie.current=Be),se.useDebugValue(he.current),se.useDebugValue(Ie.current.join(", ")),ue&&console.log("".concat(ue,":"),he.current,Ie.current),he.current}var pe=null,ye=se.memo(function(){var de=fe();return se.createElement("h1",null,"Render Times: ",de)});ye.displayName="RenderBlock";var Ce=ee(71002),Ee=ee(1413),Se=ee(4942),gt=ee(94184),Ye=ee.n(gt);function It(de,ue,he){var be=se.useRef({});return(!("value"in be.current)||he(be.current.condition,ue))&&(be.current.value=de(),be.current.condition=ue),be.current.value}var Ue={},ft=[],Tt=function(ue){ft.push(ue)};function Qt(de,ue){if(0)var he}function wt(de,ue){if(0)var he}function dt(){Ue={}}function Gt(de,ue,he){!ue&&!Ue[he]&&(de(!1,he),Ue[he]=!0)}function an(de,ue){Gt(Qt,de,ue)}function pn(de,ue){Gt(wt,de,ue)}an.preMessage=Tt,an.resetWarned=dt,an.noteOnce=pn;var $e=an;function Ct(de,ue){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,be=new Set;function Be(Ie,Xe){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,tt=be.has(Ie);if($e(!tt,"Warning: There may be circular references"),tt)return!1;if(Ie===Xe)return!0;if(he&&nt>1)return!1;be.add(Ie);var yt=nt+1;if(Array.isArray(Ie)){if(!Array.isArray(Xe)||Ie.length!==Xe.length)return!1;for(var Zt=0;Zt<Ie.length;Zt++)if(!Be(Ie[Zt],Xe[Zt],yt))return!1;return!0}if(Ie&&Xe&&(0,Ce.Z)(Ie)==="object"&&(0,Ce.Z)(Xe)==="object"){var Lt=Object.keys(Ie);return Lt.length!==Object.keys(Xe).length?!1:Lt.every(function(on){return Be(Ie[on],Xe[on],yt)})}return!1}return Be(de,ue)}var Bt=Ct;function Tn(de,ue){for(var he=de,be=0;be<ue.length;be+=1){if(he==null)return;he=he[ue[be]]}return he}var it=se.createContext({renderWithProps:!1}),Mt=it,xe="RC_TABLE_KEY";function Sn(de){return de==null?[]:Array.isArray(de)?de:[de]}function Wn(de){var ue=[],he={};return de.forEach(function(be){for(var Be=be||{},Ie=Be.key,Xe=Be.dataIndex,nt=Ie||Sn(Xe).join("-")||xe;he[nt];)nt="".concat(nt,"_next");he[nt]=!0,ue.push(nt)}),ue}function Ca(de){return de!=null}function yn(de){return de&&(0,Ce.Z)(de)==="object"&&!Array.isArray(de)&&!se.isValidElement(de)}function Yt(de,ue,he,be,Be,Ie){var Xe=se.useContext(Mt),nt=re(),tt=It(function(){if(Ca(be))return[be];var yt=ue==null||ue===""?[]:Array.isArray(ue)?ue:[ue],Zt=Tn(de,yt),Lt=Zt,on=void 0;if(Be){var ln=Be(Zt,de,he);yn(ln)?(Lt=ln.children,on=ln.props,Xe.renderWithProps=!0):Lt=ln}return[Lt,on]},[nt,de,be,ue,Be,he],function(yt,Zt){if(Ie){var Lt=(0,Re.Z)(yt,2),on=Lt[1],ln=(0,Re.Z)(Zt,2),mn=ln[1];return Ie(mn,on)}return Xe.renderWithProps?!0:!Bt(yt,Zt,!0)});return tt}function Ge(de,ue,he,be){var Be=de+ue-1;return de<=be&&Be>=he}function Fe(de,ue){return He(ne,function(he){var be=Ge(de,ue||1,he.hoverStartRow,he.hoverEndRow);return[be,he.onHover]})}var pt=function(ue){var he=ue.ellipsis,be=ue.rowType,Be=ue.children,Ie,Xe=he===!0?{showTitle:!0}:he;return Xe&&(Xe.showTitle||be==="header")&&(typeof Be=="string"||typeof Be=="number"?Ie=Be.toString():se.isValidElement(Be)&&typeof Be.props.children=="string"&&(Ie=Be.props.children)),Ie};function zt(de){var ue,he,be,Be,Ie,Xe,nt,tt,yt=de.component,Zt=de.children,Lt=de.ellipsis,on=de.scope,ln=de.prefixCls,mn=de.className,Xn=de.align,Rn=de.record,ta=de.render,Hn=de.dataIndex,sa=de.renderIndex,Ra=de.shouldCellUpdate,Qa=de.index,Ba=de.rowType,fr=de.colSpan,Dr=de.rowSpan,Pa=de.fixLeft,Na=de.fixRight,ga=de.firstFixLeft,la=de.lastFixLeft,Da=de.firstFixRight,Wa=de.lastFixRight,vr=de.appendNode,Er=de.additionalProps,Ha=Er===void 0?{}:Er,Or=de.isSticky,Kr="".concat(ln,"-cell"),Bo=He(ne,["supportSticky","allColumnsFixedLeft"]),mo=Bo.supportSticky,gi=Bo.allColumnsFixedLeft,fi=Yt(Rn,Hn,sa,Zt,ta,Ra),Fr=(0,Re.Z)(fi,2),Di=Fr[0],na=Fr[1],or={},jr=typeof Pa=="number"&&mo,Io=typeof Na=="number"&&mo;jr&&(or.position="sticky",or.left=Pa),Io&&(or.position="sticky",or.right=Na);var ba=(ue=(he=(be=na==null?void 0:na.colSpan)!==null&&be!==void 0?be:Ha.colSpan)!==null&&he!==void 0?he:fr)!==null&&ue!==void 0?ue:1,Ja=(Be=(Ie=(Xe=na==null?void 0:na.rowSpan)!==null&&Xe!==void 0?Xe:Ha.rowSpan)!==null&&Ie!==void 0?Ie:Dr)!==null&&Be!==void 0?Be:1,tr=Fe(Qa,Ja),Ua=(0,Re.Z)(tr,2),po=Ua[0],ir=Ua[1],Ir=function(xi){var zl;Rn&&ir(Qa,Qa+Ja-1),Ha==null||(zl=Ha.onMouseEnter)===null||zl===void 0||zl.call(Ha,xi)},Ao=function(xi){var zl;Rn&&ir(-1,-1),Ha==null||(zl=Ha.onMouseLeave)===null||zl===void 0||zl.call(Ha,xi)};if(ba===0||Ja===0)return null;var yo=(nt=Ha.title)!==null&&nt!==void 0?nt:pt({rowType:Ba,ellipsis:Lt,children:Di}),Bl=Ye()(Kr,mn,(tt={},(0,Se.Z)(tt,"".concat(Kr,"-fix-left"),jr&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-left-first"),ga&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-left-last"),la&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-left-all"),la&&gi&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-right"),Io&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-right-first"),Da&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-right-last"),Wa&&mo),(0,Se.Z)(tt,"".concat(Kr,"-ellipsis"),Lt),(0,Se.Z)(tt,"".concat(Kr,"-with-append"),vr),(0,Se.Z)(tt,"".concat(Kr,"-fix-sticky"),(jr||Io)&&Or&&mo),(0,Se.Z)(tt,"".concat(Kr,"-row-hover"),!na&&po),tt),Ha.className,na==null?void 0:na.className),Pl={};Xn&&(Pl.textAlign=Xn);var Os=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},or),Ha.style),Pl),na==null?void 0:na.style),Qi=Di;return(0,Ce.Z)(Qi)==="object"&&!Array.isArray(Qi)&&!se.isValidElement(Qi)&&(Qi=null),Lt&&(la||Da)&&(Qi=se.createElement("span",{className:"".concat(Kr,"-content")},Qi)),se.createElement(yt,(0,_e.Z)({},na,Ha,{className:Bl,style:Os,title:yo,scope:on,onMouseEnter:Ir,onMouseLeave:Ao,colSpan:ba!==1?ba:null,rowSpan:Ja!==1?Ja:null}),vr,Qi)}var en=se.memo(zt);function En(de,ue,he,be,Be,Ie){var Xe=he[de]||{},nt=he[ue]||{},tt,yt;Xe.fixed==="left"?tt=be.left[Be==="rtl"?ue:de]:nt.fixed==="right"&&(yt=be.right[Be==="rtl"?de:ue]);var Zt=!1,Lt=!1,on=!1,ln=!1,mn=he[ue+1],Xn=he[de-1],Rn=!(Ie!=null&&Ie.children);if(Be==="rtl"){if(tt!==void 0){var ta=Xn&&Xn.fixed==="left";ln=!ta&&Rn}else if(yt!==void 0){var Hn=mn&&mn.fixed==="right";on=!Hn&&Rn}}else if(tt!==void 0){var sa=mn&&mn.fixed==="left";Zt=!sa&&Rn}else if(yt!==void 0){var Ra=Xn&&Xn.fixed==="right";Lt=!Ra&&Rn}return{fixLeft:tt,fixRight:yt,lastFixLeft:Zt,firstFixRight:Lt,lastFixRight:on,firstFixLeft:ln,isSticky:be.isSticky}}var kn=se.createContext({}),_n=kn;function Gn(de){var ue=de.className,he=de.index,be=de.children,Be=de.colSpan,Ie=Be===void 0?1:Be,Xe=de.rowSpan,nt=de.align,tt=He(ne,["prefixCls","direction"]),yt=tt.prefixCls,Zt=tt.direction,Lt=se.useContext(_n),on=Lt.scrollColumnIndex,ln=Lt.stickyOffsets,mn=Lt.flattenColumns,Xn=Lt.columns,Rn=he+Ie-1,ta=Rn+1===on?Ie+1:Ie,Hn=En(he,he+ta-1,mn,ln,Zt,Xn==null?void 0:Xn[he]);return se.createElement(en,(0,_e.Z)({className:ue,index:he,component:"td",prefixCls:yt,record:null,dataIndex:null,align:nt,colSpan:ta,rowSpan:Xe,render:function(){return be}},Hn))}var nn=ee(45987),we=["children"];function Qe(de){var ue=de.children,he=(0,nn.Z)(de,we);return se.createElement("tr",he,ue)}function Qn(de){var ue=de.children;return ue}Qn.Row=Qe,Qn.Cell=Gn;var Kn=Qn;function lt(de){var ue=de.children,he=de.stickyOffsets,be=de.flattenColumns,Be=de.columns,Ie=He(ne,"prefixCls"),Xe=be.length-1,nt=be[Xe],tt=se.useMemo(function(){return{stickyOffsets:he,flattenColumns:be,scrollColumnIndex:nt!=null&&nt.scrollbar?Xe:null,columns:Be}},[nt,be,Xe,he,Be]);return se.createElement(_n.Provider,{value:tt},se.createElement("tfoot",{className:"".concat(Ie,"-summary")},ue))}var tn=z(lt),We=Kn;function ut(de){var ue=se.useRef();ue.current=de;var he=se.useCallback(function(){for(var be,Be=arguments.length,Ie=new Array(Be),Xe=0;Xe<Be;Xe++)Ie[Xe]=arguments[Xe];return(be=ue.current)===null||be===void 0?void 0:be.call.apply(be,[ue].concat(Ie))},[]);return he}function Ft(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var $t=Ft()?se.useLayoutEffect:se.useEffect,Rt=function(ue,he){var be=React.useRef(!0);$t(function(){return ue(be.current)},he),$t(function(){return be.current=!1,function(){be.current=!0}},[])},bn=function(ue,he){Rt(function(be){if(!be)return ue()},he)},ra=null;function Yn(de){var ue=React.useRef(!1),he=React.useState(de),be=_slicedToArray(he,2),Be=be[0],Ie=be[1];React.useEffect(function(){return ue.current=!1,function(){ue.current=!0}},[]);function Xe(nt,tt){tt&&ue.current||Ie(nt)}return[Be,Xe]}function jn(de){return de!==void 0}function Ga(de,ue){var he=ue||{},be=he.defaultValue,Be=he.value,Ie=he.onChange,Xe=he.postState,nt=useState(function(){return jn(Be)?Be:jn(be)?typeof be=="function"?be():be:typeof de=="function"?de():de}),tt=_slicedToArray(nt,2),yt=tt[0],Zt=tt[1],Lt=Be!==void 0?Be:yt,on=Xe?Xe(Lt):Lt,ln=useEvent(Ie),mn=useState([Lt]),Xn=_slicedToArray(mn,2),Rn=Xn[0],ta=Xn[1];useLayoutUpdateEffect(function(){var sa=Rn[0];yt!==sa&&ln(yt,sa)},[Rn]),useLayoutUpdateEffect(function(){jn(Be)||Zt(Be)},[Be]);var Hn=useEvent(function(sa,Ra){Zt(sa,Ra),ta([Lt],Ra)});return[on,Hn]}var oa=ee(35110);function Ka(de,ue){typeof de=="function"?de(ue):(0,Ce.Z)(de)==="object"&&de&&"current"in de&&(de.current=ue)}function Pr(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];var be=ue.filter(function(Be){return Be});return be.length<=1?be[0]:function(Be){ue.forEach(function(Ie){Ka(Ie,Be)})}}function Tr(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];return useMemo(function(){return Pr.apply(void 0,ue)},ue,function(be,Be){return be.length!==Be.length||be.every(function(Ie,Xe){return Ie!==Be[Xe]})})}function Xr(de){var ue,he,be=isMemo(de)?de.type.type:de.type;return!(typeof be=="function"&&!((ue=be.prototype)!==null&&ue!==void 0&&ue.render)||typeof de=="function"&&!((he=de.prototype)!==null&&he!==void 0&&he.render))}function Rr(de){return!isValidElement(de)||isFragment(de)?!1:Xr(de)}function Br(de,ue,he,be){if(!ue.length)return he;var Be=_toArray(ue),Ie=Be[0],Xe=Be.slice(1),nt;return!de&&typeof Ie=="number"?nt=[]:Array.isArray(de)?nt=_toConsumableArray(de):nt=_objectSpread({},de),be&&he===void 0&&Xe.length===1?delete nt[Ie][Xe[0]]:nt[Ie]=Br(nt[Ie],Xe,he,be),nt}function to(de,ue,he){var be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ue.length&&be&&he===void 0&&!get(de,ue.slice(0,-1))?de:Br(de,ue,he,be)}function lo(de){return _typeof(de)==="object"&&de!==null&&Object.getPrototypeOf(de)===Object.prototype}function gr(de){return Array.isArray(de)?[]:{}}var Pn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Zn(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];var be=gr(ue[0]);return ue.forEach(function(Be){function Ie(Xe,nt){var tt=new Set(nt),yt=get(Be,Xe),Zt=Array.isArray(yt);if(Zt||lo(yt)){if(!tt.has(yt)){tt.add(yt);var Lt=get(be,Xe);Zt?be=to(be,Xe,[]):(!Lt||_typeof(Lt)!=="object")&&(be=to(be,Xe,gr(yt))),Pn(yt).forEach(function(on){Ie([].concat(_toConsumableArray(Xe),[on]),tt)})}}else be=to(be,Xe,yt)}Ie([])}),be}var Ln=ee(48555),Nn=function(de){if(!de)return!1;if(de instanceof Element){if(de.offsetParent)return!0;if(de.getBBox){var ue=de.getBBox(),he=ue.width,be=ue.height;if(he||be)return!0}if(de.getBoundingClientRect){var Be=de.getBoundingClientRect(),Ie=Be.width,Xe=Be.height;if(Ie||Xe)return!0}}return!1},Oa=function(ue){if(Ft()&&window.document.documentElement){var he=Array.isArray(ue)?ue:[ue],be=window.document.documentElement;return he.some(function(Be){return Be in be.style})}return!1},Ar=function(ue,he){if(!Oa(ue))return!1;var be=document.createElement("div"),Be=be.style[ue];return be.style[ue]=he,be.style[ue]!==Be};function zn(de,ue){return!Array.isArray(de)&&ue!==void 0?Ar(de,ue):Oa(de)}var et;function st(de){if(typeof document=="undefined")return 0;if(de||et===void 0){var ue=document.createElement("div");ue.style.width="100%",ue.style.height="200px";var he=document.createElement("div"),be=he.style;be.position="absolute",be.top="0",be.left="0",be.pointerEvents="none",be.visibility="hidden",be.width="200px",be.height="150px",be.overflow="hidden",he.appendChild(ue),document.body.appendChild(he);var Be=ue.offsetWidth;he.style.overflow="scroll";var Ie=ue.offsetWidth;Be===Ie&&(Ie=he.clientWidth),document.body.removeChild(he),et=Be-Ie}return et}function Ve(de){var ue=de.match(/^(.*)px$/),he=Number(ue==null?void 0:ue[1]);return Number.isNaN(he)?st():he}function Kt(de){if(typeof document=="undefined"||!de||!(de instanceof Element))return{width:0,height:0};var ue=getComputedStyle(de,"::-webkit-scrollbar"),he=ue.width,be=ue.height;return{width:Ve(he),height:Ve(be)}}var Cn=`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`,Jn=`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`,ja="".concat(Cn," ").concat(Jn).split(/[\s\n]+/),ua="aria-",Un="data-";function Ma(de,ue){return de.indexOf(ue)===0}function ho(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he;ue===!1?he={aria:!0,data:!0,attr:!0}:ue===!0?he={aria:!0}:he=(0,Ee.Z)({},ue);var be={};return Object.keys(de).forEach(function(Be){(he.aria&&(Be==="role"||Ma(Be,ua))||he.data&&Ma(Be,Un)||he.attr&&ja.includes(Be))&&(be[Be]=de[Be])}),be}function Mn(de,ue,he,be,Be,Ie,Xe){de.push({record:ue,indent:he,index:Xe});var nt=Ie(ue),tt=Be==null?void 0:Be.has(nt);if(ue&&Array.isArray(ue[be])&&tt)for(var yt=0;yt<ue[be].length;yt+=1)Mn(de,ue[be][yt],he+1,be,Be,Ie,yt)}function no(de,ue,he,be){var Be=se.useMemo(function(){if(he!=null&&he.size){for(var Ie=[],Xe=0;Xe<(de==null?void 0:de.length);Xe+=1){var nt=de[Xe];Mn(Ie,nt,0,ue,he,be,Xe)}return Ie}return de==null?void 0:de.map(function(tt,yt){return{record:tt,indent:0,index:yt}})},[de,ue,he,be]);return Be}function rt(de){var ue=de.prefixCls,he=de.children,be=de.component,Be=de.cellComponent,Ie=de.className,Xe=de.expanded,nt=de.colSpan,tt=de.isEmpty,yt=He(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Zt=yt.scrollbarSize,Lt=yt.fixHeader,on=yt.fixColumn,ln=yt.componentWidth,mn=yt.horizonScroll,Xn=he;return(tt?mn&&ln:on)&&(Xn=se.createElement("div",{style:{width:ln-(Lt?Zt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ue,"-expanded-row-fixed")},Xn)),se.createElement(be,{className:Ie,style:{display:Xe?null:"none"}},se.createElement(en,{component:Be,prefixCls:ue,colSpan:nt},Xn))}var qt=rt;function jt(de,ue,he,be){var Be=He(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Ie=Be.flattenColumns,Xe=Be.expandableType,nt=Be.expandedKeys,tt=Be.childrenColumnName,yt=Be.onTriggerExpand,Zt=Be.rowExpandable,Lt=Be.onRow,on=Be.expandRowByClick,ln=Be.rowClassName,mn=Xe==="nest",Xn=Xe==="row"&&(!Zt||Zt(de)),Rn=Xn||mn,ta=nt&&nt.has(ue),Hn=tt&&de&&de[tt],sa=ut(yt),Ra=Lt==null?void 0:Lt(de,he),Qa=Ra==null?void 0:Ra.onClick,Ba=function(Na){on&&Rn&&yt(de,Na);for(var ga=arguments.length,la=new Array(ga>1?ga-1:0),Da=1;Da<ga;Da++)la[Da-1]=arguments[Da];Qa==null||Qa.apply(void 0,[Na].concat(la))},fr;typeof ln=="string"?fr=ln:typeof ln=="function"&&(fr=ln(de,he,be));var Dr=Wn(Ie);return(0,Ee.Z)((0,Ee.Z)({},Be),{},{columnsKey:Dr,nestExpandable:mn,expanded:ta,hasNestChildren:Hn,record:de,onTriggerExpand:sa,rowSupportExpand:Xn,expandable:Rn,rowProps:(0,Ee.Z)((0,Ee.Z)({},Ra),{},{className:Ye()(fr,Ra==null?void 0:Ra.className),onClick:Ba})})}function Jt(de,ue,he,be,Be){var Ie=de.record,Xe=de.prefixCls,nt=de.columnsKey,tt=de.fixedInfoList,yt=de.expandIconColumnIndex,Zt=de.nestExpandable,Lt=de.indentSize,on=de.expandIcon,ln=de.expanded,mn=de.hasNestChildren,Xn=de.onTriggerExpand,Rn=nt[he],ta=tt[he],Hn;he===(yt||0)&&Zt&&(Hn=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(Lt*be,"px")},className:"".concat(Xe,"-row-indent indent-level-").concat(be)}),on({prefixCls:Xe,expanded:ln,expandable:mn,record:Ie,onExpand:Xn})));var sa;return ue.onCell&&(sa=ue.onCell(Ie,Be)),{key:Rn,fixedInfo:ta,appendCellNode:Hn,additionalCellProps:sa||{}}}function $n(de){var ue=de.className,he=de.style,be=de.record,Be=de.index,Ie=de.renderIndex,Xe=de.rowKey,nt=de.indent,tt=nt===void 0?0:nt,yt=de.rowComponent,Zt=de.cellComponent,Lt=de.scopeCellComponent,on=jt(be,Xe,Be,tt),ln=on.prefixCls,mn=on.flattenColumns,Xn=on.expandedRowClassName,Rn=on.expandedRowRender,ta=on.rowProps,Hn=on.expanded,sa=on.rowSupportExpand,Ra=se.useState(!1),Qa=(0,Re.Z)(Ra,2),Ba=Qa[0],fr=Qa[1];se.useEffect(function(){Hn&&fr(!0)},[Hn]);var Dr=se.createElement(yt,(0,_e.Z)({},ta,{"data-row-key":Xe,className:Ye()(ue,"".concat(ln,"-row"),"".concat(ln,"-row-level-").concat(tt),ta==null?void 0:ta.className),style:(0,Ee.Z)((0,Ee.Z)({},he),ta==null?void 0:ta.style)}),mn.map(function(la,Da){var Wa=la.render,vr=la.dataIndex,Er=la.className,Ha=Jt(on,la,Da,tt,Be),Or=Ha.key,Kr=Ha.fixedInfo,Bo=Ha.appendCellNode,mo=Ha.additionalCellProps;return se.createElement(en,(0,_e.Z)({className:Er,ellipsis:la.ellipsis,align:la.align,scope:la.rowScope,component:la.rowScope?Lt:Zt,prefixCls:ln,key:Or,record:be,index:Be,renderIndex:Ie,dataIndex:vr,render:Wa,shouldCellUpdate:la.shouldCellUpdate},Kr,{appendNode:Bo,additionalProps:mo}))})),Pa;if(sa&&(Ba||Hn)){var Na=Rn(be,Be,tt+1,Hn),ga=Xn&&Xn(be,Be,tt);Pa=se.createElement(qt,{expanded:Hn,className:Ye()("".concat(ln,"-expanded-row"),"".concat(ln,"-expanded-row-level-").concat(tt+1),ga),prefixCls:ln,component:yt,cellComponent:Zt,colSpan:mn.length,isEmpty:!1},Na)}return se.createElement(se.Fragment,null,Dr,Pa)}$n.displayName="BodyRow";var Wt=z($n);function Fn(de){var ue=de.columnKey,he=de.onColumnResize,be=se.useRef();return se.useEffect(function(){be.current&&he(ue,be.current.offsetWidth)},[]),se.createElement(Ln.Z,{data:ue},se.createElement("td",{ref:be,style:{padding:0,border:0,height:0}},se.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function cn(de){var ue=de.prefixCls,he=de.columnsKey,be=de.onColumnResize;return se.createElement("tr",{"aria-hidden":"true",className:"".concat(ue,"-measure-row"),style:{height:0,fontSize:0}},se.createElement(Ln.Z.Collection,{onBatchResize:function(Ie){Ie.forEach(function(Xe){var nt=Xe.data,tt=Xe.size;be(nt,tt.offsetWidth)})}},he.map(function(Be){return se.createElement(Fn,{key:Be,columnKey:Be,onColumnResize:be})})))}function $a(de){var ue=de.data,he=de.measureColumnWidth,be=He(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Be=be.prefixCls,Ie=be.getComponent,Xe=be.onColumnResize,nt=be.flattenColumns,tt=be.getRowKey,yt=be.expandedKeys,Zt=be.childrenColumnName,Lt=be.emptyNode,on=no(ue,Zt,yt,tt),ln=se.useRef({renderWithProps:!1}),mn=Ie(["body","wrapper"],"tbody"),Xn=Ie(["body","row"],"tr"),Rn=Ie(["body","cell"],"td"),ta=Ie(["body","cell"],"th"),Hn;ue.length?Hn=on.map(function(Ra,Qa){var Ba=Ra.record,fr=Ra.indent,Dr=Ra.index,Pa=tt(Ba,Qa);return se.createElement(Wt,{key:Pa,rowKey:Pa,record:Ba,index:Qa,renderIndex:Dr,rowComponent:Xn,cellComponent:Rn,scopeCellComponent:ta,getRowKey:tt,indent:fr})}):Hn=se.createElement(qt,{expanded:!0,className:"".concat(Be,"-placeholder"),prefixCls:Be,component:Xn,cellComponent:Rn,colSpan:nt.length,isEmpty:!0},Lt);var sa=Wn(nt);return se.createElement(Mt.Provider,{value:ln.current},se.createElement(mn,{className:"".concat(Be,"-tbody")},he&&se.createElement(cn,{prefixCls:Be,columnsKey:sa,onColumnResize:Xe}),Hn))}$a.displayName="Body";var Aa=z($a),cr=["expandable"],zr="RC_TABLE_INTERNAL_COL_DEFINE";function co(de){var ue=de.expandable,he=(0,nn.Z)(de,cr),be;return"expandable"in de?be=(0,Ee.Z)((0,Ee.Z)({},he),ue):be=he,be.showExpandColumn===!1&&(be.expandIconColumnIndex=-1),be}var fn=["columnType"];function Bi(de){for(var ue=de.colWidths,he=de.columns,be=de.columCount,Be=[],Ie=be||he.length,Xe=!1,nt=Ie-1;nt>=0;nt-=1){var tt=ue[nt],yt=he&&he[nt],Zt=yt&&yt[zr];if(tt||Zt||Xe){var Lt=Zt||{},on=Lt.columnType,ln=(0,nn.Z)(Lt,fn);Be.unshift(se.createElement("col",(0,_e.Z)({key:nt,style:{width:tt}},ln))),Xe=!0}}return se.createElement("colgroup",null,Be)}var ei=Bi,qr=ee(74902),Yo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function In(de,ue){return(0,se.useMemo)(function(){for(var he=[],be=0;be<ue;be+=1){var Be=de[be];if(Be!==void 0)he[be]=Be;else return null}return he},[de.join("_"),ue])}var va=se.forwardRef(function(de,ue){var he=de.className,be=de.noData,Be=de.columns,Ie=de.flattenColumns,Xe=de.colWidths,nt=de.columCount,tt=de.stickyOffsets,yt=de.direction,Zt=de.fixHeader,Lt=de.stickyTopOffset,on=de.stickyBottomOffset,ln=de.stickyClassName,mn=de.onScroll,Xn=de.maxContentScroll,Rn=de.children,ta=(0,nn.Z)(de,Yo),Hn=He(ne,["prefixCls","scrollbarSize","isSticky"]),sa=Hn.prefixCls,Ra=Hn.scrollbarSize,Qa=Hn.isSticky,Ba=Qa&&!Zt?0:Ra,fr=se.useRef(null),Dr=se.useCallback(function(Er){Ka(ue,Er),Ka(fr,Er)},[]);se.useEffect(function(){var Er;function Ha(Or){var Kr=Or,Bo=Kr.currentTarget,mo=Kr.deltaX;mo&&(mn({currentTarget:Bo,scrollLeft:Bo.scrollLeft+mo}),Or.preventDefault())}return(Er=fr.current)===null||Er===void 0||Er.addEventListener("wheel",Ha),function(){var Or;(Or=fr.current)===null||Or===void 0||Or.removeEventListener("wheel",Ha)}},[]);var Pa=se.useMemo(function(){return Ie.every(function(Er){return Er.width})},[Ie]),Na=Ie[Ie.length-1],ga={fixed:Na?Na.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(sa,"-cell-scrollbar")}}},la=(0,se.useMemo)(function(){return Ba?[].concat((0,qr.Z)(Be),[ga]):Be},[Ba,Be]),Da=(0,se.useMemo)(function(){return Ba?[].concat((0,qr.Z)(Ie),[ga]):Ie},[Ba,Ie]),Wa=(0,se.useMemo)(function(){var Er=tt.right,Ha=tt.left;return(0,Ee.Z)((0,Ee.Z)({},tt),{},{left:yt==="rtl"?[].concat((0,qr.Z)(Ha.map(function(Or){return Or+Ba})),[0]):Ha,right:yt==="rtl"?Er:[].concat((0,qr.Z)(Er.map(function(Or){return Or+Ba})),[0]),isSticky:Qa})},[Ba,tt,Qa]),vr=In(Xe,nt);return se.createElement("div",{style:(0,Ee.Z)({overflow:"hidden"},Qa?{top:Lt,bottom:on}:{}),ref:Dr,className:Ye()(he,(0,Se.Z)({},ln,!!ln))},se.createElement("table",{style:{tableLayout:"fixed",visibility:be||vr?null:"hidden"}},(!be||!Xn||Pa)&&se.createElement(ei,{colWidths:vr?[].concat((0,qr.Z)(vr),[Ba]):[],columCount:nt+1,columns:Da}),Rn((0,Ee.Z)((0,Ee.Z)({},ta),{},{stickyOffsets:Wa,columns:la,flattenColumns:Da}))))});va.displayName="FixedHolder";var Va=se.memo(va);function Vn(de){var ue=de.cells,he=de.stickyOffsets,be=de.flattenColumns,Be=de.rowComponent,Ie=de.cellComponent,Xe=de.tdCellComponent,nt=de.onHeaderRow,tt=de.index,yt=He(ne,["prefixCls","direction"]),Zt=yt.prefixCls,Lt=yt.direction,on;nt&&(on=nt(ue.map(function(mn){return mn.column}),tt));var ln=Wn(ue.map(function(mn){return mn.column}));return se.createElement(Be,on,ue.map(function(mn,Xn){var Rn=mn.column,ta=En(mn.colStart,mn.colEnd,be,he,Lt,Rn),Hn;return Rn&&Rn.onHeaderCell&&(Hn=mn.column.onHeaderCell(Rn)),se.createElement(en,(0,_e.Z)({},mn,{scope:Rn.title?mn.colSpan>1?"colgroup":"col":null,ellipsis:Rn.ellipsis,align:Rn.align,component:Rn.title?Ie:Xe,prefixCls:Zt,key:ln[Xn]},ta,{additionalProps:Hn,rowType:"header"}))}))}Vn.displayName="HeaderRow";var Wr=Vn;function _r(de){var ue=[];function he(Xe,nt){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ue[tt]=ue[tt]||[];var yt=nt,Zt=Xe.filter(Boolean).map(function(Lt){var on={key:Lt.key,className:Lt.className||"",children:Lt.title,column:Lt,colStart:yt},ln=1,mn=Lt.children;return mn&&mn.length>0&&(ln=he(mn,yt,tt+1).reduce(function(Xn,Rn){return Xn+Rn},0),on.hasSubColumns=!0),"colSpan"in Lt&&(ln=Lt.colSpan),"rowSpan"in Lt&&(on.rowSpan=Lt.rowSpan),on.colSpan=ln,on.colEnd=on.colStart+ln-1,ue[tt].push(on),yt+=ln,ln});return Zt}he(de,0);for(var be=ue.length,Be=function(nt){ue[nt].forEach(function(tt){!("rowSpan"in tt)&&!tt.hasSubColumns&&(tt.rowSpan=be-nt)})},Ie=0;Ie<be;Ie+=1)Be(Ie);return ue}function ti(de){var ue=de.stickyOffsets,he=de.columns,be=de.flattenColumns,Be=de.onHeaderRow,Ie=He(ne,["prefixCls","getComponent"]),Xe=Ie.prefixCls,nt=Ie.getComponent,tt=se.useMemo(function(){return _r(he)},[he]),yt=nt(["header","wrapper"],"thead"),Zt=nt(["header","row"],"tr"),Lt=nt(["header","cell"],"th"),on=nt(["header","cell"],"td");return se.createElement(yt,{className:"".concat(Xe,"-thead")},tt.map(function(ln,mn){var Xn=se.createElement(Wr,{key:mn,flattenColumns:be,cells:ln,stickyOffsets:ue,rowComponent:Zt,cellComponent:Lt,tdCellComponent:on,onHeaderRow:Be,index:mn});return Xn}))}var ni=z(ti);function ai(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[];return se.Children.forEach(de,function(be){be==null&&!ue.keepEmpty||(Array.isArray(be)?he=he.concat(ai(be)):(0,oa.isFragment)(be)&&be.props?he=he.concat(ai(be.props.children,ue)):he.push(be))}),he}function bl(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ue=="number"?ue:ue.endsWith("%")?de*parseFloat(ue)/100:null}function yi(de,ue){return se.useMemo(function(){if(ue&&ue>0){var he=0,be=0;de.forEach(function(yt){var Zt=bl(ue,yt.width);Zt?he+=Zt:be+=1});var Be=ue-he,Ie=be,Xe=Be/be,nt=0,tt=de.map(function(yt){var Zt=(0,Ee.Z)({},yt),Lt=bl(ue,Zt.width);if(Lt)Zt.width=Lt;else{var on=Math.floor(Xe);Zt.width=Ie===1?Be:on,Be-=on,Ie-=1}return nt+=Zt.width,Zt});return[tt,nt]}return[de,ue]},[de,ue])}var jl=["children"],$l=["fixed"];function wi(de){return ai(de).filter(function(ue){return se.isValidElement(ue)}).map(function(ue){var he=ue.key,be=ue.props,Be=be.children,Ie=(0,nn.Z)(be,jl),Xe=(0,Ee.Z)({key:he},Ie);return Be&&(Xe.children=wi(Be)),Xe})}function Xo(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return de.filter(function(he){return he&&(0,Ce.Z)(he)==="object"}).reduce(function(he,be,Be){var Ie=be.fixed,Xe=Ie===!0?"left":Ie,nt="".concat(ue,"-").concat(Be),tt=be.children;return tt&&tt.length>0?[].concat((0,qr.Z)(he),(0,qr.Z)(Xo(tt,nt).map(function(yt){return(0,Ee.Z)({fixed:Xe},yt)}))):[].concat((0,qr.Z)(he),[(0,Ee.Z)((0,Ee.Z)({key:nt},be),{},{fixed:Xe})])},[])}function hl(de){for(var ue=!0,he=0;he<de.length;he+=1){var be=de[he];if(ue&&be.fixed!=="left")ue=!1;else if(!ue&&be.fixed==="left"){warning(!1,"Index ".concat(he-1," of `columns` missing `fixed='left'` prop."));break}}for(var Be=!0,Ie=de.length-1;Ie>=0;Ie-=1){var Xe=de[Ie];if(Be&&Xe.fixed!=="right")Be=!1;else if(!Be&&Xe.fixed==="right"){warning(!1,"Index ".concat(Ie+1," of `columns` missing `fixed='right'` prop."));break}}}function Cl(de){return de.map(function(ue){var he=ue.fixed,be=(0,nn.Z)(ue,$l),Be=he;return he==="left"?Be="right":he==="right"&&(Be="left"),(0,Ee.Z)({fixed:Be},be)})}function Fl(de,ue){var he=de.prefixCls,be=de.columns,Be=de.children,Ie=de.expandable,Xe=de.expandedKeys,nt=de.columnTitle,tt=de.getRowKey,yt=de.onTriggerExpand,Zt=de.expandIcon,Lt=de.rowExpandable,on=de.expandIconColumnIndex,ln=de.direction,mn=de.expandRowByClick,Xn=de.columnWidth,Rn=de.fixed,ta=de.scrollWidth,Hn=se.useMemo(function(){return be||wi(Be)},[be,Be]),sa=se.useMemo(function(){if(Ie){var Na,ga=Hn.slice();if(!ga.includes(ae)){var la=on||0;la>=0&&ga.splice(la,0,ae)}var Da=ga.indexOf(ae);ga=ga.filter(function(Ha,Or){return Ha!==ae||Or===Da});var Wa=Hn[Da],vr;(Rn==="left"||Rn)&&!on?vr="left":(Rn==="right"||Rn)&&on===Hn.length?vr="right":vr=Wa?Wa.fixed:null;var Er=(Na={},(0,Se.Z)(Na,zr,{className:"".concat(he,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Se.Z)(Na,"title",nt),(0,Se.Z)(Na,"fixed",vr),(0,Se.Z)(Na,"className","".concat(he,"-row-expand-icon-cell")),(0,Se.Z)(Na,"width",Xn),(0,Se.Z)(Na,"render",function(Or,Kr,Bo){var mo=tt(Kr,Bo),gi=Xe.has(mo),fi=Lt?Lt(Kr):!0,Fr=Zt({prefixCls:he,expanded:gi,expandable:fi,record:Kr,onExpand:yt});return mn?se.createElement("span",{onClick:function(na){return na.stopPropagation()}},Fr):Fr}),Na);return ga.map(function(Ha){return Ha===ae?Er:Ha})}return Hn.filter(function(Ha){return Ha!==ae})},[Ie,Hn,tt,Xe,Zt,ln]),Ra=se.useMemo(function(){var Na=sa;return ue&&(Na=ue(Na)),Na.length||(Na=[{render:function(){return null}}]),Na},[ue,sa,ln]),Qa=se.useMemo(function(){return ln==="rtl"?Cl(Xo(Ra)):Xo(Ra)},[Ra,ln,ta]),Ba=yi(Qa,ta),fr=(0,Re.Z)(Ba,2),Dr=fr[0],Pa=fr[1];return[Ra,Dr,Pa]}var tl=Fl;function ki(de){var ue,he=de.prefixCls,be=de.record,Be=de.onExpand,Ie=de.expanded,Xe=de.expandable,nt="".concat(he,"-row-expand-icon");if(!Xe)return se.createElement("span",{className:Ye()(nt,"".concat(he,"-row-spaced"))});var tt=function(Zt){Be(be,Zt),Zt.stopPropagation()};return se.createElement("span",{className:Ye()(nt,(ue={},(0,Se.Z)(ue,"".concat(he,"-row-expanded"),Ie),(0,Se.Z)(ue,"".concat(he,"-row-collapsed"),!Ie),ue)),onClick:tt})}function pl(de,ue,he){var be=[];function Be(Ie){(Ie||[]).forEach(function(Xe,nt){be.push(ue(Xe,nt)),Be(Xe[he])})}return Be(de),be}function kr(de,ue,he){var be=co(de),Be=be.expandIcon,Ie=be.expandedRowKeys,Xe=be.defaultExpandedRowKeys,nt=be.defaultExpandAllRows,tt=be.expandedRowRender,yt=be.onExpand,Zt=be.onExpandedRowsChange,Lt=be.childrenColumnName,on=Be||ki,ln=Lt||"children",mn=se.useMemo(function(){return tt?"row":de.expandable&&de.internalHooks===me&&de.expandable.__PARENT_RENDER_ICON__||ue.some(function(Qa){return Qa&&(0,Ce.Z)(Qa)==="object"&&Qa[ln]})?"nest":!1},[!!tt,ue]),Xn=se.useState(function(){return Xe||(nt?pl(ue,he,ln):[])}),Rn=(0,Re.Z)(Xn,2),ta=Rn[0],Hn=Rn[1],sa=se.useMemo(function(){return new Set(Ie||ta||[])},[Ie,ta]),Ra=se.useCallback(function(Qa){var Ba=he(Qa,ue.indexOf(Qa)),fr,Dr=sa.has(Ba);Dr?(sa.delete(Ba),fr=(0,qr.Z)(sa)):fr=[].concat((0,qr.Z)(sa),[Ba]),Hn(fr),yt&&yt(!Dr,Qa),Zt&&Zt(fr)},[he,sa,ue,yt,Zt]);return[be,mn,sa,on,ln,Ra]}function vt(de,ue,he,be){var Be=de.map(function(Ie,Xe){return En(Xe,Xe,de,ue,he,be==null?void 0:be[Xe])});return It(function(){return Be},[Be],function(Ie,Xe){return!Bt(Ie,Xe)})}function At(de){var ue=(0,se.useRef)(de),he=(0,se.useState)({}),be=(0,Re.Z)(he,2),Be=be[1],Ie=(0,se.useRef)(null),Xe=(0,se.useRef)([]);function nt(tt){Xe.current.push(tt);var yt=Promise.resolve();Ie.current=yt,yt.then(function(){if(Ie.current===yt){var Zt=Xe.current,Lt=ue.current;Xe.current=[],Zt.forEach(function(on){ue.current=on(ue.current)}),Ie.current=null,Lt!==ue.current&&Be({})}})}return(0,se.useEffect)(function(){return function(){Ie.current=null}},[]),[ue.current,nt]}function Xt(de){var ue=(0,se.useRef)(de||null),he=(0,se.useRef)();function be(){window.clearTimeout(he.current)}function Be(Xe){ue.current=Xe,be(),he.current=window.setTimeout(function(){ue.current=null,he.current=void 0},100)}function Ie(){return ue.current}return(0,se.useEffect)(function(){return be},[]),[Be,Ie]}function Ne(){var de=se.useState(-1),ue=(0,Re.Z)(de,2),he=ue[0],be=ue[1],Be=se.useState(-1),Ie=(0,Re.Z)(Be,2),Xe=Ie[0],nt=Ie[1],tt=se.useCallback(function(yt,Zt){be(yt),nt(Zt)},[]);return[he,Xe,tt]}var Ut=Ft()?window:null;function Dn(de,ue){var he=(0,Ce.Z)(de)==="object"?de:{},be=he.offsetHeader,Be=be===void 0?0:be,Ie=he.offsetSummary,Xe=Ie===void 0?0:Ie,nt=he.offsetScroll,tt=nt===void 0?0:nt,yt=he.getContainer,Zt=yt===void 0?function(){return Ut}:yt,Lt=Zt()||Ut;return se.useMemo(function(){var on=!!de;return{isSticky:on,stickyClassName:on?"".concat(ue,"-sticky-holder"):"",offsetHeader:Be,offsetSummary:Xe,offsetScroll:tt,container:Lt}},[tt,Be,Xe,ue,Lt])}function An(de,ue,he){var be=(0,se.useMemo)(function(){for(var Be=[],Ie=[],Xe=0,nt=0,tt=0;tt<ue;tt+=1)if(he==="rtl"){Ie[tt]=nt,nt+=de[tt]||0;var yt=ue-tt-1;Be[yt]=Xe,Xe+=de[yt]||0}else{Be[tt]=Xe,Xe+=de[tt]||0;var Zt=ue-tt-1;Ie[Zt]=nt,nt+=de[Zt]||0}return{left:Be,right:Ie}},[de,ue,he]);return be}var Pt=An;function Ht(de){var ue=de.className,he=de.children;return se.createElement("div",{className:ue},he)}var kt=Ht;function On(de,ue,he,be){var Be=Ze.unstable_batchedUpdates?function(Xe){Ze.unstable_batchedUpdates(he,Xe)}:he;return de!=null&&de.addEventListener&&de.addEventListener(ue,Be,be),{remove:function(){de!=null&&de.removeEventListener&&de.removeEventListener(ue,Be,be)}}}var da=/margin|padding|width|height|max|min|offset/,xa={left:!0,top:!0},pa={cssFloat:1,styleFloat:1,float:1};function Ia(de){return de.nodeType===1?de.ownerDocument.defaultView.getComputedStyle(de,null):{}}function rr(de,ue,he){if(ue=ue.toLowerCase(),he==="auto"){if(ue==="height")return de.offsetHeight;if(ue==="width")return de.offsetWidth}return ue in xa||(xa[ue]=da.test(ue)),xa[ue]?parseFloat(he)||0:he}function wn(de,ue){var he=arguments.length,be=Ia(de);return ue=pa[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,he===1?be:rr(de,ue,be[ue]||de.style[ue])}function Dt(de,ue,he){var be=arguments.length;if(ue=pa[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,be===3)return typeof he=="number"&&da.test(ue)&&(he="".concat(he,"px")),de.style[ue]=he,he;for(var Be in ue)ue.hasOwnProperty(Be)&&Dt(de,Be,ue[Be]);return Ia(de)}function hn(de){return de===document.body?document.documentElement.clientWidth:de.offsetWidth}function xn(de){return de===document.body?window.innerHeight||document.documentElement.clientHeight:de.offsetHeight}function ia(){var de=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ue=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:de,height:ue}}function Fa(){var de=document.documentElement.clientWidth,ue=window.innerHeight||document.documentElement.clientHeight;return{width:de,height:ue}}function Xa(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function yr(de){var ue=de.getBoundingClientRect(),he=document.documentElement;return{left:ue.left+(window.pageXOffset||he.scrollLeft)-(he.clientLeft||document.body.clientLeft||0),top:ue.top+(window.pageYOffset||he.scrollTop)-(he.clientTop||document.body.clientTop||0)}}var sr=function(ue,he){var be,Be,Ie=ue.scrollBodyRef,Xe=ue.onScroll,nt=ue.offsetScroll,tt=ue.container,yt=He(ne,"prefixCls"),Zt=((be=Ie.current)===null||be===void 0?void 0:be.scrollWidth)||0,Lt=((Be=Ie.current)===null||Be===void 0?void 0:Be.clientWidth)||0,on=Zt&&Lt*(Lt/Zt),ln=se.useRef(),mn=At({scrollLeft:0,isHiddenScrollBar:!1}),Xn=(0,Re.Z)(mn,2),Rn=Xn[0],ta=Xn[1],Hn=se.useRef({delta:0,x:0}),sa=se.useState(!1),Ra=(0,Re.Z)(sa,2),Qa=Ra[0],Ba=Ra[1],fr=function(){Ba(!1)},Dr=function(Da){Da.persist(),Hn.current.delta=Da.pageX-Rn.scrollLeft,Hn.current.x=0,Ba(!0),Da.preventDefault()},Pa=function(Da){var Wa,vr=Da||((Wa=window)===null||Wa===void 0?void 0:Wa.event),Er=vr.buttons;if(!Qa||Er===0){Qa&&Ba(!1);return}var Ha=Hn.current.x+Da.pageX-Hn.current.x-Hn.current.delta;Ha<=0&&(Ha=0),Ha+on>=Lt&&(Ha=Lt-on),Xe({scrollLeft:Ha/Lt*(Zt+2)}),Hn.current.x=Da.pageX},Na=function(){if(Ie.current){var Da=yr(Ie.current).top,Wa=Da+Ie.current.offsetHeight,vr=tt===window?document.documentElement.scrollTop+window.innerHeight:yr(tt).top+tt.clientHeight;Wa-st()<=vr||Da>=vr-nt?ta(function(Er){return(0,Ee.Z)((0,Ee.Z)({},Er),{},{isHiddenScrollBar:!0})}):ta(function(Er){return(0,Ee.Z)((0,Ee.Z)({},Er),{},{isHiddenScrollBar:!1})})}},ga=function(Da){ta(function(Wa){return(0,Ee.Z)((0,Ee.Z)({},Wa),{},{scrollLeft:Da/Zt*Lt||0})})};return se.useImperativeHandle(he,function(){return{setScrollLeft:ga}}),se.useEffect(function(){var la=On(document.body,"mouseup",fr,!1),Da=On(document.body,"mousemove",Pa,!1);return Na(),function(){la.remove(),Da.remove()}},[on,Qa]),se.useEffect(function(){var la=On(tt,"scroll",Na,!1),Da=On(window,"resize",Na,!1);return function(){la.remove(),Da.remove()}},[tt]),se.useEffect(function(){Rn.isHiddenScrollBar||ta(function(la){var Da=Ie.current;return Da?(0,Ee.Z)((0,Ee.Z)({},la),{},{scrollLeft:Da.scrollLeft/Da.scrollWidth*Da.clientWidth}):la})},[Rn.isHiddenScrollBar]),Zt<=Lt||!on||Rn.isHiddenScrollBar?null:se.createElement("div",{style:{height:st(),width:Lt,bottom:nt},className:"".concat(yt,"-sticky-scroll")},se.createElement("div",{onMouseDown:Dr,ref:ln,className:Ye()("".concat(yt,"-sticky-scroll-bar"),(0,Se.Z)({},"".concat(yt,"-sticky-scroll-bar-active"),Qa)),style:{width:"".concat(on,"px"),transform:"translate3d(".concat(Rn.scrollLeft,"px, 0, 0)")}}))},ea=se.forwardRef(sr);function ya(de){return null}var Sa=ya;function Za(de){return null}var dr=Za,Hr="rc-table",ro=[],Eo={};function wo(){return"No Data"}function Lo(de){var ue,he=(0,Ee.Z)({rowKey:"key",prefixCls:Hr,emptyText:wo},de),be=he.prefixCls,Be=he.className,Ie=he.rowClassName,Xe=he.style,nt=he.data,tt=he.rowKey,yt=he.scroll,Zt=he.tableLayout,Lt=he.direction,on=he.title,ln=he.footer,mn=he.summary,Xn=he.caption,Rn=he.id,ta=he.showHeader,Hn=he.components,sa=he.emptyText,Ra=he.onRow,Qa=he.onHeaderRow,Ba=he.internalHooks,fr=he.transformColumns,Dr=he.internalRefs,Pa=he.tailor,Na=he.sticky,ga=nt||ro,la=!!ga.length,Da=Ba===me,Wa=se.useCallback(function(xr,Ro){return Tn(Hn,xr)||Ro},[Hn]),vr=se.useMemo(function(){return typeof tt=="function"?tt:function(xr){var Ro=xr&&xr[tt];return Ro}},[tt]),Er=Wa(["body"]),Ha=Ne(),Or=(0,Re.Z)(Ha,3),Kr=Or[0],Bo=Or[1],mo=Or[2],gi=kr(he,ga,vr),fi=(0,Re.Z)(gi,6),Fr=fi[0],Di=fi[1],na=fi[2],or=fi[3],jr=fi[4],Io=fi[5],ba=yt==null?void 0:yt.x,Ja=se.useState(0),tr=(0,Re.Z)(Ja,2),Ua=tr[0],po=tr[1],ir=tl((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},he),Fr),{},{expandable:!!Fr.expandedRowRender,columnTitle:Fr.columnTitle,expandedKeys:na,getRowKey:vr,onTriggerExpand:Io,expandIcon:or,expandIconColumnIndex:Fr.expandIconColumnIndex,direction:Lt,scrollWidth:Da&&Pa&&typeof ba=="number"?ba:null}),Da?fr:null),Ir=(0,Re.Z)(ir,3),Ao=Ir[0],yo=Ir[1],Bl=Ir[2],Pl=Bl!=null?Bl:ba,Os=se.useMemo(function(){return{columns:Ao,flattenColumns:yo}},[Ao,yo]),Qi=se.useRef(),hs=se.useRef(),xi=se.useRef(),zl=se.useRef(),Cd=se.useRef(),Go=se.useState(!1),Wo=(0,Re.Z)(Go,2),te=Wo[0],ie=Wo[1],le=se.useState(!1),ge=(0,Re.Z)(le,2),ve=ge[0],De=ge[1],Ae=At(new Map),Je=(0,Re.Z)(Ae,2),qe=Je[0],ct=Je[1],Vt=Wn(yo),mt=Vt.map(function(xr){return qe.get(xr)}),St=se.useMemo(function(){return mt},[mt.join("_")]),bt=Pt(St,yo.length,Lt),Nt=yt&&Ca(yt.y),at=yt&&Ca(Pl)||!!Fr.fixed,xt=at&&yo.some(function(xr){var Ro=xr.fixed;return Ro}),_t=se.useRef(),Bn=Dn(Na,be),un=Bn.isSticky,sn=Bn.offsetHeader,qn=Bn.offsetSummary,rn=Bn.offsetScroll,dn=Bn.stickyClassName,wa=Bn.container,aa=se.useMemo(function(){return mn==null?void 0:mn(ga)},[mn,ga]),La=(Nt||un)&&se.isValidElement(aa)&&aa.type===Kn&&aa.props.fixed,fa,nr,wr;Nt&&(nr={overflowY:"scroll",maxHeight:yt.y}),at&&(fa={overflowX:"auto"},Nt||(nr={overflowY:"hidden"}),wr={width:Pl===!0?"auto":Pl,minWidth:"100%"});var Vr=se.useCallback(function(xr,Ro){Nn(Qi.current)&&ct(function(oi){if(oi.get(xr)!==Ro){var $i=new Map(oi);return $i.set(xr,Ro),$i}return oi})},[]),ar=Xt(null),lr=(0,Re.Z)(ar,2),ka=lr[0],Yr=lr[1];function Sr(xr,Ro){Ro&&(typeof Ro=="function"?Ro(xr):Ro.scrollLeft!==xr&&(Ro.scrollLeft=xr,Ro.scrollLeft!==xr&&setTimeout(function(){Ro.scrollLeft=xr},0)))}var Lr=ut(function(xr){var Ro=xr.currentTarget,oi=xr.scrollLeft,$i=Lt==="rtl",Vo=typeof oi=="number"?oi:Ro.scrollLeft,qi=Ro||Eo;if(!Yr()||Yr()===qi){var Ri;ka(qi),Sr(Vo,hs.current),Sr(Vo,xi.current),Sr(Vo,Cd.current),Sr(Vo,(Ri=_t.current)===null||Ri===void 0?void 0:Ri.setScrollLeft)}var dl=Ro||hs.current;if(dl){var ml=dl.scrollWidth,Hi=dl.clientWidth;if(ml===Hi){ie(!1),De(!1);return}$i?(ie(-Vo<ml-Hi),De(-Vo>0)):(ie(Vo>0),De(Vo<ml-Hi))}}),Mo=function(){at&&xi.current?Lr({currentTarget:xi.current}):(ie(!1),De(!1))},To=function(Ro){var oi=Ro.width;oi!==Ua&&(Mo(),po(Qi.current?Qi.current.offsetWidth:oi))},Uo=se.useRef(!1);se.useEffect(function(){Uo.current&&Mo()},[at,nt,Ao.length]),se.useEffect(function(){Uo.current=!0},[]);var Pi=se.useState(0),No=(0,Re.Z)(Pi,2),ci=No[0],io=No[1],vo=se.useState(!0),Fo=(0,Re.Z)(vo,2),ui=Fo[0],mi=Fo[1];se.useEffect(function(){(!Pa||!Da)&&(xi.current instanceof Element?io(Kt(xi.current).width):io(Kt(zl.current).width)),mi(zn("position","sticky"))},[]),se.useEffect(function(){Da&&Dr&&(Dr.body.current=xi.current)});var Ki=se.useCallback(function(xr){return se.createElement(se.Fragment,null,se.createElement(ni,xr),La==="top"&&se.createElement(tn,xr,aa))},[La,aa]),vi=se.useCallback(function(xr){return se.createElement(tn,xr,aa)},[aa]),Cr=Wa(["table"],"table"),Zo=se.useMemo(function(){return Zt||(xt?Pl==="max-content"?"auto":"fixed":Nt||un||yo.some(function(xr){var Ro=xr.ellipsis;return Ro})?"fixed":"auto")},[Nt,xt,yo,Zt,un]),bo,Qr={colWidths:St,columCount:yo.length,stickyOffsets:bt,onHeaderRow:Qa,fixHeader:Nt,scroll:yt},_a=se.useMemo(function(){return la?null:typeof sa=="function"?sa():sa},[la,sa]),ao=se.createElement(Aa,{data:ga,measureColumnWidth:Nt||at||un}),Ko=se.createElement(ei,{colWidths:yo.map(function(xr){var Ro=xr.width;return Ro}),columns:yo}),Ji=Xn!=null?se.createElement("caption",{className:"".concat(be,"-caption")},Xn):void 0,fl=ho(he,{data:!0}),zi=ho(he,{aria:!0});if(Nt||un){var as;typeof Er=="function"?(as=Er(ga,{scrollbarSize:ci,ref:xi,onScroll:Lr}),Qr.colWidths=yo.map(function(xr,Ro){var oi=xr.width,$i=Ro===yo.length-1?oi-ci:oi;return typeof $i=="number"&&!Number.isNaN($i)?$i:0})):as=se.createElement("div",{style:(0,Ee.Z)((0,Ee.Z)({},fa),nr),onScroll:Lr,ref:xi,className:Ye()("".concat(be,"-body"))},se.createElement(Cr,(0,_e.Z)({style:(0,Ee.Z)((0,Ee.Z)({},wr),{},{tableLayout:Zo})},zi),Ji,Ko,ao,!La&&aa&&se.createElement(tn,{stickyOffsets:bt,flattenColumns:yo,columns:Ao},aa)));var ys=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({noData:!ga.length,maxContentScroll:at&&Pl==="max-content"},Qr),Os),{},{direction:Lt,stickyClassName:dn,onScroll:Lr});bo=se.createElement(se.Fragment,null,ta!==!1&&se.createElement(Va,(0,_e.Z)({},ys,{stickyTopOffset:sn,className:"".concat(be,"-header"),ref:hs}),Ki),as,La&&La!=="top"&&se.createElement(Va,(0,_e.Z)({},ys,{stickyBottomOffset:qn,className:"".concat(be,"-summary"),ref:Cd}),vi),un&&se.createElement(ea,{ref:_t,offsetScroll:rn,scrollBodyRef:xi,onScroll:Lr,container:wa}))}else bo=se.createElement("div",{style:(0,Ee.Z)((0,Ee.Z)({},fa),nr),className:Ye()("".concat(be,"-content")),onScroll:Lr,ref:xi},se.createElement(Cr,(0,_e.Z)({style:(0,Ee.Z)((0,Ee.Z)({},wr),{},{tableLayout:Zo})},zi),Ji,Ko,ta!==!1&&se.createElement(ni,(0,_e.Z)({},Qr,Os)),ao,aa&&se.createElement(tn,{stickyOffsets:bt,flattenColumns:yo,columns:Ao},aa)));var sl=se.createElement("div",(0,_e.Z)({className:Ye()(be,Be,(ue={},(0,Se.Z)(ue,"".concat(be,"-rtl"),Lt==="rtl"),(0,Se.Z)(ue,"".concat(be,"-ping-left"),te),(0,Se.Z)(ue,"".concat(be,"-ping-right"),ve),(0,Se.Z)(ue,"".concat(be,"-layout-fixed"),Zt==="fixed"),(0,Se.Z)(ue,"".concat(be,"-fixed-header"),Nt),(0,Se.Z)(ue,"".concat(be,"-fixed-column"),xt),(0,Se.Z)(ue,"".concat(be,"-scroll-horizontal"),at),(0,Se.Z)(ue,"".concat(be,"-has-fix-left"),yo[0]&&yo[0].fixed),(0,Se.Z)(ue,"".concat(be,"-has-fix-right"),yo[yo.length-1]&&yo[yo.length-1].fixed==="right"),ue)),style:Xe,id:Rn,ref:Qi},fl),on&&se.createElement(kt,{className:"".concat(be,"-title")},on(ga)),se.createElement("div",{ref:zl,className:"".concat(be,"-container")},bo),ln&&se.createElement(kt,{className:"".concat(be,"-footer")},ln(ga)));at&&(sl=se.createElement(Ln.Z,{onResize:To},sl));var Xi=vt(yo,bt,Lt,Ao),ji=se.useMemo(function(){return{scrollX:Pl,prefixCls:be,getComponent:Wa,scrollbarSize:ci,direction:Lt,fixedInfoList:Xi,isSticky:un,supportSticky:ui,componentWidth:Ua,fixHeader:Nt,fixColumn:xt,horizonScroll:at,tableLayout:Zo,rowClassName:Ie,expandedRowClassName:Fr.expandedRowClassName,expandIcon:or,expandableType:Di,expandRowByClick:Fr.expandRowByClick,expandedRowRender:Fr.expandedRowRender,onTriggerExpand:Io,expandIconColumnIndex:Fr.expandIconColumnIndex,indentSize:Fr.indentSize,allColumnsFixedLeft:yo.every(function(xr){return xr.fixed==="left"}),emptyNode:_a,columns:Ao,flattenColumns:yo,onColumnResize:Vr,hoverStartRow:Kr,hoverEndRow:Bo,onHover:mo,rowExpandable:Fr.rowExpandable,onRow:Ra,getRowKey:vr,expandedKeys:na,childrenColumnName:jr}},[Pl,be,Wa,ci,Lt,Xi,un,ui,Ua,Nt,xt,at,Zo,Ie,Fr.expandedRowClassName,or,Di,Fr.expandRowByClick,Fr.expandedRowRender,Io,Fr.expandIconColumnIndex,Fr.indentSize,_a,Ao,yo,Vr,Kr,Bo,mo,Fr.rowExpandable,Ra,vr,na,jr]);return se.createElement(ne.Provider,{value:ji},sl)}function Oi(de){return E(Lo,de)}var xl=Oi();xl.EXPAND_COLUMN=ae,xl.INTERNAL_HOOKS=me,xl.Column=Sa,xl.ColumnGroup=dr,xl.Summary=We;var Wl=xl,Rl=ee(73299),Sl=Ke(null),Li=Ke(null);function is(de,ue,he){var be=ue||1;return he[de+be]-(he[de]||0)}function Ul(de){var ue=de.rowInfo,he=de.column,be=de.colIndex,Be=de.indent,Ie=de.index,Xe=de.renderIndex,nt=de.record,tt=de.style,yt=de.className,Zt=de.inverse,Lt=de.getHeight,on=he.render,ln=he.dataIndex,mn=he.className,Xn=he.width,Rn=He(Li,["columnsOffset"]),ta=Rn.columnsOffset,Hn=Jt(ue,he,be,Be,Ie),sa=Hn.key,Ra=Hn.fixedInfo,Qa=Hn.appendCellNode,Ba=Hn.additionalCellProps,fr=Ba.style,Dr=Ba.colSpan,Pa=Dr===void 0?1:Dr,Na=Ba.rowSpan,ga=Na===void 0?1:Na,la=be-1,Da=is(la,Pa,ta),Wa=Pa>1?Xn-Da:0,vr=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},fr),tt),{},{flex:"0 0 ".concat(Da,"px"),width:"".concat(Da,"px"),marginRight:Wa,pointerEvents:"auto"}),Er=se.useMemo(function(){return Zt?ga<=1:Pa===0||ga===0||ga>1},[ga,Pa,Zt]);Er?vr.visibility="hidden":Zt&&(vr.height=Lt==null?void 0:Lt(ga));var Ha=Er?function(){return null}:on,Or={};return(ga===0||Pa===0)&&(Or.rowSpan=1,Or.colSpan=1),se.createElement(en,(0,_e.Z)({className:Ye()(mn,yt),ellipsis:he.ellipsis,align:he.align,scope:he.rowScope,component:"div",prefixCls:ue.prefixCls,key:sa,record:nt,index:Ie,renderIndex:Xe,dataIndex:ln,render:Ha,shouldCellUpdate:he.shouldCellUpdate},Ra,{appendNode:Qa,additionalProps:(0,Ee.Z)((0,Ee.Z)({},Ba),{},{style:vr},Or)}))}var ls=Ul,zs=["data","index","className","rowKey","style","extra","getHeight"],kl=se.forwardRef(function(de,ue){var he=de.data,be=de.index,Be=de.className,Ie=de.rowKey,Xe=de.style,nt=de.extra,tt=de.getHeight,yt=(0,nn.Z)(de,zs),Zt=he.record,Lt=he.indent,on=he.index,ln=He(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),mn=ln.scrollX,Xn=ln.flattenColumns,Rn=ln.prefixCls,ta=ln.fixColumn,Hn=ln.componentWidth,sa=jt(Zt,Ie,be,Lt),Ra=sa.rowSupportExpand,Qa=sa.expanded,Ba=sa.rowProps,fr=sa.expandedRowRender,Dr=sa.expandedRowClassName,Pa;if(Ra&&Qa){var Na=fr(Zt,be,Lt+1,Qa),ga=Dr==null?void 0:Dr(Zt,be,Lt),la={};ta&&(la={style:(0,Se.Z)({},"--virtual-width","".concat(Hn,"px"))});var Da="".concat(Rn,"-expanded-row-cell");Pa=se.createElement("div",{className:Ye()("".concat(Rn,"-expanded-row"),"".concat(Rn,"-expanded-row-level-").concat(Lt+1),ga)},se.createElement(en,{component:"div",prefixCls:Rn,className:Ye()(Da,(0,Se.Z)({},"".concat(Da,"-fixed"),ta)),additionalProps:la},Na))}var Wa=(0,Ee.Z)((0,Ee.Z)({},Xe),{},{width:mn});nt&&(Wa.position="absolute",Wa.pointerEvents="none");var vr=se.createElement("div",(0,_e.Z)({},Ba,yt,{ref:Ra?null:ue,className:Ye()(Be,"".concat(Rn,"-row"),Ba==null?void 0:Ba.className,(0,Se.Z)({},"".concat(Rn,"-row-extra"),nt)),style:(0,Ee.Z)((0,Ee.Z)({},Wa),Ba==null?void 0:Ba.style)}),Xn.map(function(Er,Ha){return se.createElement(ls,{key:Ha,rowInfo:sa,column:Er,colIndex:Ha,indent:Lt,index:be,renderIndex:on,record:Zt,inverse:nt,getHeight:tt})}));return Ra?se.createElement("div",{ref:ue},vr,Pa):vr}),Hs=z(kl),Vl=Hs,Dd=se.forwardRef(function(de,ue){var he=de.data,be=de.onScroll,Be=He(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Ie=Be.flattenColumns,Xe=Be.onColumnResize,nt=Be.getRowKey,tt=Be.expandedKeys,yt=Be.prefixCls,Zt=Be.childrenColumnName,Lt=Be.emptyNode,on=Be.scrollX,ln=He(Sl),mn=ln.scrollY,Xn=ln.listItemHeight,Rn=se.useRef(),ta=no(he,Zt,tt,nt),Hn=se.useMemo(function(){var Pa=0;return Ie.map(function(Na){var ga=Na.width,la=Na.key;return Pa+=ga,[la,ga,Pa]})},[Ie]),sa=se.useMemo(function(){return Hn.map(function(Pa){return Pa[2]})},[Hn]);se.useEffect(function(){Hn.forEach(function(Pa){var Na=(0,Re.Z)(Pa,2),ga=Na[0],la=Na[1];Xe(ga,la)})},[Hn]),se.useImperativeHandle(ue,function(){var Pa={};return Object.defineProperty(Pa,"scrollLeft",{get:function(){var ga;return((ga=Rn.current)===null||ga===void 0?void 0:ga.getScrollInfo().x)||0},set:function(ga){var la;(la=Rn.current)===null||la===void 0||la.scrollTo({left:ga})}}),Pa});var Ra=function(Na,ga){var la,Da=(la=ta[ga])===null||la===void 0?void 0:la.record,Wa=Na.onCell;if(Wa){var vr,Er=Wa(Da,ga);return(vr=Er==null?void 0:Er.rowSpan)!==null&&vr!==void 0?vr:1}return 1},Qa=function(Na){var ga=Na.start,la=Na.end,Da=Na.getSize,Wa=Na.offsetY;if(la<0)return null;for(var vr=Ie.filter(function(ba){return Ra(ba,ga)===0}),Er=ga,Ha=function(Ja){if(vr=vr.filter(function(tr){return Ra(tr,Ja)===0}),!vr.length)return Er=Ja,"break"},Or=ga;Or>=0;Or-=1){var Kr=Ha(Or);if(Kr==="break")break}for(var Bo=Ie.filter(function(ba){return Ra(ba,la)!==1}),mo=la,gi=function(Ja){if(Bo=Bo.filter(function(tr){return Ra(tr,Ja)!==1}),!Bo.length)return mo=Math.max(Ja-1,la),"break"},fi=la;fi<ta.length;fi+=1){var Fr=gi(fi);if(Fr==="break")break}for(var Di=[],na=function(Ja){var tr=ta[Ja];if(!tr)return"continue";Ie.some(function(Ua){return Ra(Ua,Ja)>1})&&Di.push(Ja)},or=Er;or<=mo;or+=1)var jr=na(or);var Io=Di.map(function(ba){var Ja=ta[ba],tr=nt(Ja.record,ba),Ua=function(Ir){var Ao=ba+Ir-1,yo=nt(ta[Ao].record,Ao),Bl=Da(tr,yo);return Bl.bottom-Bl.top},po=Da(tr);return se.createElement(Vl,{key:ba,data:Ja,rowKey:tr,index:ba,style:{top:-Wa+po.top},extra:!0,getHeight:Ua})});return Io},Ba=se.useMemo(function(){return{columnsOffset:sa}},[sa]),fr="".concat(yt,"-tbody"),Dr;return ta.length?Dr=se.createElement(Rl.Z,{fullHeight:!1,ref:Rn,className:Ye()(fr,"".concat(fr,"-virtual")),height:mn,itemHeight:Xn||24,data:ta,itemKey:function(Na){return nt(Na.record)},scrollWidth:on,onVirtualScroll:function(Na){var ga=Na.x;be({scrollLeft:ga})},extraRender:Qa},function(Pa,Na,ga){var la=nt(Pa.record,Na);return se.createElement(Vl,(0,_e.Z)({data:Pa,rowKey:la,index:Na},ga))}):Dr=se.createElement("div",{className:Ye()("".concat(yt,"-placeholder"))},se.createElement(en,{component:"div",prefixCls:yt},Lt)),se.createElement(Li.Provider,{value:Ba},Dr)}),Ol=z(Dd),Gs=Ol,ps=function(ue,he){var be=he.ref,Be=he.onScroll;return se.createElement(Gs,{ref:be,data:ue,onScroll:Be})},ad=100;function bi(de){var ue=de.columns,he=de.scroll,be=de.prefixCls,Be=be===void 0?Hr:be,Ie=de.className,Xe=de.listItemHeight,nt=he||{},tt=nt.x,yt=nt.y;typeof tt!="number"&&(tt=((ue||[]).length+1)*ad),typeof yt!="number"&&(yt=500);var Zt=se.useMemo(function(){return{scrollY:yt,listItemHeight:Xe}},[yt,Xe]);return se.createElement(Sl.Provider,{value:Zt},se.createElement(Wl,(0,_e.Z)({},de,{className:Ye()(Ie,"".concat(Be,"-virtual")),scroll:(0,Ee.Z)((0,Ee.Z)({},he),{},{x:tt}),components:{body:ps},columns:ue,internalHooks:me,tailor:!0})))}function Ai(de){return E(bi,de)}var il=Ai(),Ds=null;function Bd(de){return null}var Ci=Bd;function ss(de){return null}var ql=ss,Nr=ee(10366),ds=ee(58375),cs=ee(53124),Ks=ee(88258),Bs=ee(98675),js=ee(25378),Pc=ee(24457),rd=ee(28452),Ms=ee(57953),yc=ee(46605);function ic(de){return function(he){let{prefixCls:be,onExpand:Be,record:Ie,expanded:Xe,expandable:nt}=he;const tt=`${be}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:yt=>{Be(Ie,yt),yt.stopPropagation()},className:Ye()(tt,{[`${tt}-spaced`]:!nt,[`${tt}-expanded`]:nt&&Xe,[`${tt}-collapsed`]:nt&&!Xe}),"aria-label":Xe?de.collapse:de.expand,"aria-expanded":Xe})}}var bc=ic;function $s(de,ue){return"key"in de&&de.key!==void 0&&de.key!==null?de.key:de.dataIndex?Array.isArray(de.dataIndex)?de.dataIndex.join("."):de.dataIndex:ue}function cd(de,ue){return ue?`${ue}-${de}`:`${de}`}function ud(de,ue){return typeof de=="function"?de(ue):de}function Cc(de,ue){const he=ud(de,ue);return Object.prototype.toString.call(he)==="[object Object]"?"":he}var lc={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"},xc=lc,sc=ee(74643),Ec=function(ue,he){return se.createElement(sc.Z,(0,_e.Z)({},ue,{ref:he,icon:xc}))},wc=se.forwardRef(Ec),Yd=ee(7699),dc=ee(57838);function Md(de){const ue=se.useRef(de),he=(0,dc.Z)();return[()=>ue.current,be=>{ue.current=be,he()}]}var Lc=ee(71577),gd=ee(84567),Ac=ee(85418),od=ee(32983),Fs=ee(68508),Nc=ee(76529),Qd=ee(78045),Oc=ee(79870),Pe=ee(72395),ke=ee(69677);function Oe(de){let{value:ue,onChange:he,filterSearch:be,tablePrefixCls:Be,locale:Ie}=de;return be?se.createElement("div",{className:`${Be}-filter-dropdown-search`},se.createElement(ke.default,{prefix:se.createElement(Pe.Z,null),placeholder:Ie.filterSearchPlaceholder,onChange:he,value:ue,htmlSize:1,className:`${Be}-filter-dropdown-search-input`})):null}var ot=Oe,Ot=ee(92389);const gn=de=>{const{keyCode:ue}=de;ue===Ot.Z.ENTER&&de.stopPropagation()};var ca=se.forwardRef((de,ue)=>se.createElement("div",{className:de.className,onClick:he=>he.stopPropagation(),onKeyDown:gn,ref:ue},de.children));function Ea(de){let ue=[];return(de||[]).forEach(he=>{let{value:be,children:Be}=he;ue.push(be),Be&&(ue=[].concat((0,qr.Z)(ue),(0,qr.Z)(Ea(Be))))}),ue}function ma(de){return de.some(ue=>{let{children:he}=ue;return he})}function Ya(de,ue){return typeof ue=="string"||typeof ue=="number"?ue==null?void 0:ue.toString().toLowerCase().includes(de.trim().toLowerCase()):!1}function ha(de){let{filters:ue,prefixCls:he,filteredKeys:be,filterMultiple:Be,searchValue:Ie,filterSearch:Xe}=de;return ue.map((nt,tt)=>{const yt=String(nt.value);if(nt.children)return{key:yt||tt,label:nt.text,popupClassName:`${he}-dropdown-submenu`,children:ha({filters:nt.children,prefixCls:he,filteredKeys:be,filterMultiple:Be,searchValue:Ie,filterSearch:Xe})};const Zt=Be?gd.default:Qd.ZP,Lt={key:nt.value!==void 0?yt:tt,label:se.createElement(se.Fragment,null,se.createElement(Zt,{checked:be.includes(yt)}),se.createElement("span",null,nt.text))};return Ie.trim()?typeof Xe=="function"?Xe(Ie,nt)?Lt:null:Ya(Ie,nt.text)?Lt:null:Lt})}function qa(de){var ue,he;const{tablePrefixCls:be,prefixCls:Be,column:Ie,dropdownPrefixCls:Xe,columnKey:nt,filterMultiple:tt,filterMode:yt="menu",filterSearch:Zt=!1,filterState:Lt,triggerFilter:on,locale:ln,children:mn,getPopupContainer:Xn}=de,{filterDropdownOpen:Rn,onFilterDropdownOpenChange:ta,filterResetToDefaultFilteredValue:Hn,defaultFilteredValue:sa,filterDropdownVisible:Ra,onFilterDropdownVisibleChange:Qa}=Ie,[Ba,fr]=se.useState(!1),Dr=!!(Lt&&(!((ue=Lt.filteredKeys)===null||ue===void 0)&&ue.length||Lt.forceFiltered)),Pa=ir=>{fr(ir),ta==null||ta(ir),Qa==null||Qa(ir)},Na=(he=Rn!=null?Rn:Ra)!==null&&he!==void 0?he:Ba,ga=Lt==null?void 0:Lt.filteredKeys,[la,Da]=Md(ga||[]),Wa=ir=>{let{selectedKeys:Ir}=ir;Da(Ir)},vr=(ir,Ir)=>{let{node:Ao,checked:yo}=Ir;Wa(tt?{selectedKeys:ir}:{selectedKeys:yo&&Ao.key?[Ao.key]:[]})};se.useEffect(()=>{Ba&&Wa({selectedKeys:ga||[]})},[ga]);const[Er,Ha]=se.useState([]),Or=ir=>{Ha(ir)},[Kr,Bo]=se.useState(""),mo=ir=>{const{value:Ir}=ir.target;Bo(Ir)};se.useEffect(()=>{Ba||Bo("")},[Ba]);const gi=ir=>{const Ir=ir&&ir.length?ir:null;if(Ir===null&&(!Lt||!Lt.filteredKeys)||(0,Yd.Z)(Ir,Lt==null?void 0:Lt.filteredKeys,!0))return null;on({column:Ie,key:nt,filteredKeys:Ir})},fi=()=>{Pa(!1),gi(la())},Fr=function(){let{confirm:ir,closeDropdown:Ir}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ir&&gi([]),Ir&&Pa(!1),Bo(""),Da(Hn?(sa||[]).map(Ao=>String(Ao)):[])},Di=function(){let{closeDropdown:ir}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ir&&Pa(!1),gi(la())},na=ir=>{ir&&ga!==void 0&&Da(ga||[]),Pa(ir),!ir&&!Ie.filterDropdown&&fi()},or=Ye()({[`${Xe}-menu-without-submenu`]:!ma(Ie.filters||[])}),jr=ir=>{if(ir.target.checked){const Ir=Ea(Ie==null?void 0:Ie.filters).map(Ao=>String(Ao));Da(Ir)}else Da([])},Io=ir=>{let{filters:Ir}=ir;return(Ir||[]).map((Ao,yo)=>{const Bl=String(Ao.value),Pl={title:Ao.text,key:Ao.value!==void 0?Bl:yo};return Ao.children&&(Pl.children=Io({filters:Ao.children})),Pl})},ba=ir=>{var Ir;return Object.assign(Object.assign({},ir),{text:ir.title,value:ir.key,children:((Ir=ir.children)===null||Ir===void 0?void 0:Ir.map(Ao=>ba(Ao)))||[]})};let Ja;if(typeof Ie.filterDropdown=="function")Ja=Ie.filterDropdown({prefixCls:`${Xe}-custom`,setSelectedKeys:ir=>Wa({selectedKeys:ir}),selectedKeys:la(),confirm:Di,clearFilters:Fr,filters:Ie.filters,visible:Na,close:()=>{Pa(!1)}});else if(Ie.filterDropdown)Ja=Ie.filterDropdown;else{const ir=la()||[],Ir=()=>(Ie.filters||[]).length===0?se.createElement(od.Z,{image:od.Z.PRESENTED_IMAGE_SIMPLE,description:ln.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):yt==="tree"?se.createElement(se.Fragment,null,se.createElement(ot,{filterSearch:Zt,value:Kr,onChange:mo,tablePrefixCls:be,locale:ln}),se.createElement("div",{className:`${be}-filter-dropdown-tree`},tt?se.createElement(gd.default,{checked:ir.length===Ea(Ie.filters).length,indeterminate:ir.length>0&&ir.length<Ea(Ie.filters).length,className:`${be}-filter-dropdown-checkall`,onChange:jr},ln.filterCheckall):null,se.createElement(Oc.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:tt,checkStrictly:!tt,className:`${Xe}-menu`,onCheck:vr,checkedKeys:ir,selectedKeys:ir,showIcon:!1,treeData:Io({filters:Ie.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Kr.trim()?yo=>typeof Zt=="function"?Zt(Kr,ba(yo)):Ya(Kr,yo.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(ot,{filterSearch:Zt,value:Kr,onChange:mo,tablePrefixCls:be,locale:ln}),se.createElement(Fs.default,{selectable:!0,multiple:tt,prefixCls:`${Xe}-menu`,className:or,onSelect:Wa,onDeselect:Wa,selectedKeys:ir,getPopupContainer:Xn,openKeys:Er,onOpenChange:Or,items:ha({filters:Ie.filters||[],filterSearch:Zt,prefixCls:Be,filteredKeys:la(),filterMultiple:tt,searchValue:Kr})})),Ao=()=>Hn?(0,Yd.Z)((sa||[]).map(yo=>String(yo)),ir,!0):ir.length===0;Ja=se.createElement(se.Fragment,null,Ir(),se.createElement("div",{className:`${Be}-dropdown-btns`},se.createElement(Lc.ZP,{type:"link",size:"small",disabled:Ao(),onClick:()=>Fr()},ln.filterReset),se.createElement(Lc.ZP,{type:"primary",size:"small",onClick:fi},ln.filterConfirm)))}Ie.filterDropdown&&(Ja=se.createElement(Nc.J,{selectable:void 0},Ja));const tr=()=>se.createElement(ca,{className:`${Be}-dropdown`},Ja);let Ua;typeof Ie.filterIcon=="function"?Ua=Ie.filterIcon(Dr):Ie.filterIcon?Ua=Ie.filterIcon:Ua=se.createElement(wc,null);const{direction:po}=se.useContext(cs.E_);return se.createElement("div",{className:`${Be}-column`},se.createElement("span",{className:`${be}-column-title`},mn),se.createElement(Ac.Z,{dropdownRender:tr,trigger:["click"],open:Na,onOpenChange:na,getPopupContainer:Xn,placement:po==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Ye()(`${Be}-trigger`,{active:Dr}),onClick:ir=>{ir.stopPropagation()}},Ua)))}var za=qa;function pr(de,ue,he){let be=[];return(de||[]).forEach((Be,Ie)=>{var Xe;const nt=cd(Ie,he);if(Be.filters||"filterDropdown"in Be||"onFilter"in Be)if("filteredValue"in Be){let tt=Be.filteredValue;"filterDropdown"in Be||(tt=(Xe=tt==null?void 0:tt.map(String))!==null&&Xe!==void 0?Xe:tt),be.push({column:Be,key:$s(Be,nt),filteredKeys:tt,forceFiltered:Be.filtered})}else be.push({column:Be,key:$s(Be,nt),filteredKeys:ue&&Be.defaultFilteredValue?Be.defaultFilteredValue:void 0,forceFiltered:Be.filtered});"children"in Be&&(be=[].concat((0,qr.Z)(be),(0,qr.Z)(pr(Be.children,ue,nt))))}),be}function uo(de,ue,he,be,Be,Ie,Xe,nt){return he.map((tt,yt)=>{const Zt=cd(yt,nt),{filterMultiple:Lt=!0,filterMode:on,filterSearch:ln}=tt;let mn=tt;if(mn.filters||mn.filterDropdown){const Xn=$s(mn,Zt),Rn=be.find(ta=>{let{key:Hn}=ta;return Xn===Hn});mn=Object.assign(Object.assign({},mn),{title:ta=>se.createElement(za,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ue,column:mn,columnKey:Xn,filterState:Rn,filterMultiple:Lt,filterMode:on,filterSearch:ln,triggerFilter:Ie,locale:Be,getPopupContainer:Xe},ud(tt.title,ta))})}return"children"in mn&&(mn=Object.assign(Object.assign({},mn),{children:uo(de,ue,mn.children,be,Be,Ie,Xe,Zt)})),mn})}function eo(de){const ue={};return de.forEach(he=>{let{key:be,filteredKeys:Be,column:Ie}=he;const{filters:Xe,filterDropdown:nt}=Ie;if(nt)ue[be]=Be||null;else if(Array.isArray(Be)){const tt=Ea(Xe);ue[be]=tt.filter(yt=>Be.includes(String(yt)))}else ue[be]=null}),ue}function So(de,ue){return ue.reduce((he,be)=>{const{column:{onFilter:Be,filters:Ie},filteredKeys:Xe}=be;return Be&&Xe&&Xe.length?he.filter(nt=>Xe.some(tt=>{const yt=Ea(Ie),Zt=yt.findIndex(on=>String(on)===String(tt)),Lt=Zt!==-1?yt[Zt]:tt;return Be(Lt,nt)})):he},de)}const Ur=de=>de.flatMap(ue=>"children"in ue?[ue].concat((0,qr.Z)(Ur(ue.children||[]))):[ue]);function br(de){let{prefixCls:ue,dropdownPrefixCls:he,mergedColumns:be,onFilterChange:Be,getPopupContainer:Ie,locale:Xe}=de;const nt=se.useMemo(()=>Ur(be||[]),[be]),[tt,yt]=se.useState(()=>pr(nt,!0)),Zt=se.useMemo(()=>{const mn=pr(nt,!1);if(mn.length===0)return mn;let Xn=!0,Rn=!0;if(mn.forEach(ta=>{let{filteredKeys:Hn}=ta;Hn!==void 0?Xn=!1:Rn=!1}),Xn){const ta=(nt||[]).map((Hn,sa)=>$s(Hn,cd(sa)));return tt.filter(Hn=>{let{key:sa}=Hn;return ta.includes(sa)}).map(Hn=>{const sa=nt[ta.findIndex(Ra=>Ra===Hn.key)];return Object.assign(Object.assign({},Hn),{column:Object.assign(Object.assign({},Hn.column),sa),forceFiltered:sa.filtered})})}return mn},[nt,tt]),Lt=se.useMemo(()=>eo(Zt),[Zt]),on=mn=>{const Xn=Zt.filter(Rn=>{let{key:ta}=Rn;return ta!==mn.key});Xn.push(mn),yt(Xn),Be(eo(Xn),Xn)};return[mn=>uo(ue,he,mn,Zt,Xe,on,Ie),Zt,Lt]}var er=br;function li(de,ue,he){const be=se.useRef({});function Be(Ie){if(!be.current||be.current.data!==de||be.current.childrenColumnName!==ue||be.current.getRowKey!==he){let nt=function(tt){tt.forEach((yt,Zt)=>{const Lt=he(yt,Zt);Xe.set(Lt,yt),yt&&typeof yt=="object"&&ue in yt&&nt(yt[ue]||[])})};const Xe=new Map;nt(de),be.current={data:de,childrenColumnName:ue,kvMap:Xe,getRowKey:he}}return be.current.kvMap.get(Ie)}return[Be]}var jo=ee(38780),si=function(de,ue){var he={};for(var be in de)Object.prototype.hasOwnProperty.call(de,be)&&ue.indexOf(be)<0&&(he[be]=de[be]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,be=Object.getOwnPropertySymbols(de);Be<be.length;Be++)ue.indexOf(be[Be])<0&&Object.prototype.propertyIsEnumerable.call(de,be[Be])&&(he[be[Be]]=de[be[Be]]);return he};const pi=10;function Ui(de,ue){const he={current:de.current,pageSize:de.pageSize};return Object.keys(ue&&typeof ue=="object"?ue:{}).forEach(Be=>{const Ie=de[Be];typeof Ie!="function"&&(he[Be]=Ie)}),he}function Qo(de,ue,he){const be=he&&typeof he=="object"?he:{},{total:Be=0}=be,Ie=si(be,["total"]),[Xe,nt]=(0,se.useState)(()=>({current:"defaultCurrent"in Ie?Ie.defaultCurrent:1,pageSize:"defaultPageSize"in Ie?Ie.defaultPageSize:pi})),tt=(0,jo.Z)(Xe,Ie,{total:Be>0?Be:de}),yt=Math.ceil((Be||de)/tt.pageSize);tt.current>yt&&(tt.current=yt||1);const Zt=(on,ln)=>{nt({current:on!=null?on:1,pageSize:ln||tt.pageSize})},Lt=(on,ln)=>{var mn;he&&((mn=he.onChange)===null||mn===void 0||mn.call(he,on,ln)),Zt(on,ln),ue(on,ln||(tt==null?void 0:tt.pageSize))};return he===!1?[{},()=>{}]:[Object.assign(Object.assign({},tt),{onChange:Lt}),Zt]}var Po=Qo,Si=ee(42922),Mi=ee(29873),qo=ee(97153),fo=ee(83898),zo=ee(5663);const Gr={},Ii="SELECT_ALL",ko="SELECT_INVERT",Gi="SELECT_NONE",ul=[],Vi=(de,ue)=>{let he=[];return(ue||[]).forEach(be=>{he.push(be),be&&typeof be=="object"&&de in be&&(he=[].concat((0,qr.Z)(he),(0,qr.Z)(Vi(de,be[de]))))}),he};var Tl=(de,ue)=>{const{preserveSelectedRowKeys:he,selectedRowKeys:be,defaultSelectedRowKeys:Be,getCheckboxProps:Ie,onChange:Xe,onSelect:nt,onSelectAll:tt,onSelectInvert:yt,onSelectNone:Zt,onSelectMultiple:Lt,columnWidth:on,type:ln,selections:mn,fixed:Xn,renderCell:Rn,hideSelectAll:ta,checkStrictly:Hn=!0}=ue||{},{prefixCls:sa,data:Ra,pageData:Qa,getRecordByKey:Ba,getRowKey:fr,expandType:Dr,childrenColumnName:Pa,locale:Na,getPopupContainer:ga}=de,[la,Da]=(0,zo.Z)(be||Be||ul,{value:be}),Wa=se.useRef(new Map),vr=(0,se.useCallback)(ba=>{if(he){const Ja=new Map;ba.forEach(tr=>{let Ua=Ba(tr);!Ua&&Wa.current.has(tr)&&(Ua=Wa.current.get(tr)),Ja.set(tr,Ua)}),Wa.current=Ja}},[Ba,he]);se.useEffect(()=>{vr(la)},[la]);const{keyEntities:Er}=(0,se.useMemo)(()=>{if(Hn)return{keyEntities:null};let ba=Ra;if(he){const Ja=new Set(Ra.map((Ua,po)=>fr(Ua,po))),tr=Array.from(Wa.current).reduce((Ua,po)=>{let[ir,Ir]=po;return Ja.has(ir)?Ua:Ua.concat(Ir)},[]);ba=[].concat((0,qr.Z)(ba),(0,qr.Z)(tr))}return(0,fo.I8)(ba,{externalGetKey:fr,childrenPropName:Pa})},[Ra,fr,Hn,Pa,he]),Ha=(0,se.useMemo)(()=>Vi(Pa,Qa),[Pa,Qa]),Or=(0,se.useMemo)(()=>{const ba=new Map;return Ha.forEach((Ja,tr)=>{const Ua=fr(Ja,tr),po=(Ie?Ie(Ja):null)||{};ba.set(Ua,po)}),ba},[Ha,fr,Ie]),Kr=(0,se.useCallback)(ba=>{var Ja;return!!(!((Ja=Or.get(fr(ba)))===null||Ja===void 0)&&Ja.disabled)},[Or,fr]),[Bo,mo]=(0,se.useMemo)(()=>{if(Hn)return[la||[],[]];const{checkedKeys:ba,halfCheckedKeys:Ja}=(0,qo.S)(la,!0,Er,Kr);return[ba||[],Ja]},[la,Hn,Er,Kr]),gi=(0,se.useMemo)(()=>{const ba=ln==="radio"?Bo.slice(0,1):Bo;return new Set(ba)},[Bo,ln]),fi=(0,se.useMemo)(()=>ln==="radio"?new Set:new Set(mo),[mo,ln]),[Fr,Di]=(0,se.useState)(null);se.useEffect(()=>{ue||Da(ul)},[!!ue]);const na=(0,se.useCallback)((ba,Ja)=>{let tr,Ua;vr(ba),he?(tr=ba,Ua=ba.map(po=>Wa.current.get(po))):(tr=[],Ua=[],ba.forEach(po=>{const ir=Ba(po);ir!==void 0&&(tr.push(po),Ua.push(ir))})),Da(tr),Xe==null||Xe(tr,Ua,{type:Ja})},[Da,Ba,Xe,he]),or=(0,se.useCallback)((ba,Ja,tr,Ua)=>{if(nt){const po=tr.map(ir=>Ba(ir));nt(Ba(ba),Ja,po,Ua)}na(tr,"single")},[nt,Ba,na]),jr=(0,se.useMemo)(()=>!mn||ta?null:(mn===!0?[Ii,ko,Gi]:mn).map(Ja=>Ja===Ii?{key:"all",text:Na.selectionAll,onSelect(){na(Ra.map((tr,Ua)=>fr(tr,Ua)).filter(tr=>{const Ua=Or.get(tr);return!(Ua!=null&&Ua.disabled)||gi.has(tr)}),"all")}}:Ja===ko?{key:"invert",text:Na.selectInvert,onSelect(){const tr=new Set(gi);Qa.forEach((po,ir)=>{const Ir=fr(po,ir),Ao=Or.get(Ir);Ao!=null&&Ao.disabled||(tr.has(Ir)?tr.delete(Ir):tr.add(Ir))});const Ua=Array.from(tr);yt&&yt(Ua),na(Ua,"invert")}}:Ja===Gi?{key:"none",text:Na.selectNone,onSelect(){Zt==null||Zt(),na(Array.from(gi).filter(tr=>{const Ua=Or.get(tr);return Ua==null?void 0:Ua.disabled}),"none")}}:Ja).map(Ja=>Object.assign(Object.assign({},Ja),{onSelect:function(){for(var tr,Ua,po=arguments.length,ir=new Array(po),Ir=0;Ir<po;Ir++)ir[Ir]=arguments[Ir];(Ua=Ja.onSelect)===null||Ua===void 0||(tr=Ua).call.apply(tr,[Ja].concat(ir)),Di(null)}})),[mn,gi,Qa,fr,yt,na]);return[(0,se.useCallback)(ba=>{var Ja;if(!ue)return ba.filter(Go=>Go!==Gr);let tr=(0,qr.Z)(ba);const Ua=new Set(gi),po=Ha.map(fr).filter(Go=>!Or.get(Go).disabled),ir=po.every(Go=>Ua.has(Go)),Ir=po.some(Go=>Ua.has(Go)),Ao=()=>{const Go=[];ir?po.forEach(te=>{Ua.delete(te),Go.push(te)}):po.forEach(te=>{Ua.has(te)||(Ua.add(te),Go.push(te))});const Wo=Array.from(Ua);tt==null||tt(!ir,Wo.map(te=>Ba(te)),Go.map(te=>Ba(te))),na(Wo,"all"),Di(null)};let yo;if(ln!=="radio"){let Go;if(jr){const ge={getPopupContainer:ga,items:jr.map((ve,De)=>{const{key:Ae,text:Je,onSelect:qe}=ve;return{key:Ae!=null?Ae:De,onClick:()=>{qe==null||qe(po)},label:Je}})};Go=se.createElement("div",{className:`${sa}-selection-extra`},se.createElement(Ac.Z,{menu:ge,getPopupContainer:ga},se.createElement("span",null,se.createElement(Si.Z,null))))}const Wo=Ha.map((ge,ve)=>{const De=fr(ge,ve),Ae=Or.get(De)||{};return Object.assign({checked:Ua.has(De)},Ae)}).filter(ge=>{let{disabled:ve}=ge;return ve}),te=!!Wo.length&&Wo.length===Ha.length,ie=te&&Wo.every(ge=>{let{checked:ve}=ge;return ve}),le=te&&Wo.some(ge=>{let{checked:ve}=ge;return ve});yo=!ta&&se.createElement("div",{className:`${sa}-selection`},se.createElement(gd.default,{checked:te?ie:!!Ha.length&&ir,indeterminate:te?!ie&&le:!ir&&Ir,onChange:Ao,disabled:Ha.length===0||te,"aria-label":Go?"Custom selection":"Select all",skipGroup:!0}),Go)}let Bl;ln==="radio"?Bl=(Go,Wo,te)=>{const ie=fr(Wo,te),le=Ua.has(ie);return{node:se.createElement(Qd.ZP,Object.assign({},Or.get(ie),{checked:le,onClick:ge=>ge.stopPropagation(),onChange:ge=>{Ua.has(ie)||or(ie,!0,[ie],ge.nativeEvent)}})),checked:le}}:Bl=(Go,Wo,te)=>{var ie;const le=fr(Wo,te),ge=Ua.has(le),ve=fi.has(le),De=Or.get(le);let Ae;return Dr==="nest"?Ae=ve:Ae=(ie=De==null?void 0:De.indeterminate)!==null&&ie!==void 0?ie:ve,{node:se.createElement(gd.default,Object.assign({},De,{indeterminate:Ae,checked:ge,skipGroup:!0,onClick:Je=>Je.stopPropagation(),onChange:Je=>{let{nativeEvent:qe}=Je;const{shiftKey:ct}=qe;let Vt=-1,mt=-1;if(ct&&Hn){const St=new Set([Fr,le]);po.some((bt,Nt)=>{if(St.has(bt))if(Vt===-1)Vt=Nt;else return mt=Nt,!0;return!1})}if(mt!==-1&&Vt!==mt&&Hn){const St=po.slice(Vt,mt+1),bt=[];ge?St.forEach(at=>{Ua.has(at)&&(bt.push(at),Ua.delete(at))}):St.forEach(at=>{Ua.has(at)||(bt.push(at),Ua.add(at))});const Nt=Array.from(Ua);Lt==null||Lt(!ge,Nt.map(at=>Ba(at)),bt.map(at=>Ba(at))),na(Nt,"multiple")}else{const St=Bo;if(Hn){const bt=ge?(0,Mi._5)(St,le):(0,Mi.L0)(St,le);or(le,!ge,bt,qe)}else{const bt=(0,qo.S)([].concat((0,qr.Z)(St),[le]),!0,Er,Kr),{checkedKeys:Nt,halfCheckedKeys:at}=bt;let xt=Nt;if(ge){const _t=new Set(Nt);_t.delete(le),xt=(0,qo.S)(Array.from(_t),{checked:!1,halfCheckedKeys:at},Er,Kr).checkedKeys}or(le,!ge,xt,qe)}}Di(ge?null:le)}})),checked:ge}};const Pl=(Go,Wo,te)=>{const{node:ie,checked:le}=Bl(Go,Wo,te);return Rn?Rn(le,Wo,te,ie):ie};if(!tr.includes(Gr))if(tr.findIndex(Go=>{var Wo;return((Wo=Go[zr])===null||Wo===void 0?void 0:Wo.columnType)==="EXPAND_COLUMN"})===0){const[Go,...Wo]=tr;tr=[Go,Gr].concat((0,qr.Z)(Wo))}else tr=[Gr].concat((0,qr.Z)(tr));const Os=tr.indexOf(Gr);tr=tr.filter((Go,Wo)=>Go!==Gr||Wo===Os);const Qi=tr[Os-1],hs=tr[Os+1];let xi=Xn;xi===void 0&&((hs==null?void 0:hs.fixed)!==void 0?xi=hs.fixed:(Qi==null?void 0:Qi.fixed)!==void 0&&(xi=Qi.fixed)),xi&&Qi&&((Ja=Qi[zr])===null||Ja===void 0?void 0:Ja.columnType)==="EXPAND_COLUMN"&&Qi.fixed===void 0&&(Qi.fixed=xi);const zl=Ye()(`${sa}-selection-col`,{[`${sa}-selection-col-with-dropdown`]:mn&&ln==="checkbox"}),Cd={fixed:xi,width:on,className:`${sa}-selection-column`,title:ue.columnTitle||yo,render:Pl,onCell:ue.onCell,[zr]:{className:zl}};return tr.map(Go=>Go===Gr?Cd:Go)},[fr,Ha,ue,Bo,gi,fi,on,jr,Dr,Fr,Or,Lt,or,Kr]),gi]},Oo=ee(33463),Nl=ee(28575),Ni=ee(83062);const Ho="ascend",di="descend";function gl(de){return typeof de.sorter=="object"&&typeof de.sorter.multiple=="number"?de.sorter.multiple:!1}function Yl(de){return typeof de=="function"?de:de&&typeof de=="object"&&de.compare?de.compare:!1}function us(de,ue){return ue?de[de.indexOf(ue)+1]:de[0]}function ll(de,ue,he){let be=[];function Be(Ie,Xe){be.push({column:Ie,key:$s(Ie,Xe),multiplePriority:gl(Ie),sortOrder:Ie.sortOrder})}return(de||[]).forEach((Ie,Xe)=>{const nt=cd(Xe,he);Ie.children?("sortOrder"in Ie&&Be(Ie,nt),be=[].concat((0,qr.Z)(be),(0,qr.Z)(ll(Ie.children,ue,nt)))):Ie.sorter&&("sortOrder"in Ie?Be(Ie,nt):ue&&Ie.defaultSortOrder&&be.push({column:Ie,key:$s(Ie,nt),multiplePriority:gl(Ie),sortOrder:Ie.defaultSortOrder}))}),be}function Fi(de,ue,he,be,Be,Ie,Xe,nt){return(ue||[]).map((tt,yt)=>{const Zt=cd(yt,nt);let Lt=tt;if(Lt.sorter){const on=Lt.sortDirections||Be,ln=Lt.showSorterTooltip===void 0?Xe:Lt.showSorterTooltip,mn=$s(Lt,Zt),Xn=he.find(Dr=>{let{key:Pa}=Dr;return Pa===mn}),Rn=Xn?Xn.sortOrder:null,ta=us(on,Rn);let Hn;if(tt.sortIcon)Hn=tt.sortIcon({sortOrder:Rn});else{const Dr=on.includes(Ho)&&se.createElement(Nl.Z,{className:Ye()(`${de}-column-sorter-up`,{active:Rn===Ho})}),Pa=on.includes(di)&&se.createElement(Oo.Z,{className:Ye()(`${de}-column-sorter-down`,{active:Rn===di})});Hn=se.createElement("span",{className:Ye()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(Dr&&Pa)})},se.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},Dr,Pa))}const{cancelSort:sa,triggerAsc:Ra,triggerDesc:Qa}=Ie||{};let Ba=sa;ta===di?Ba=Qa:ta===Ho&&(Ba=Ra);const fr=typeof ln=="object"?ln:{title:Ba};Lt=Object.assign(Object.assign({},Lt),{className:Ye()(Lt.className,{[`${de}-column-sort`]:Rn}),title:Dr=>{const Pa=se.createElement("div",{className:`${de}-column-sorters`},se.createElement("span",{className:`${de}-column-title`},ud(tt.title,Dr)),Hn);return ln?se.createElement(Ni.Z,Object.assign({},fr),Pa):Pa},onHeaderCell:Dr=>{const Pa=tt.onHeaderCell&&tt.onHeaderCell(Dr)||{},Na=Pa.onClick,ga=Pa.onKeyDown;Pa.onClick=Wa=>{be({column:tt,key:mn,sortOrder:ta,multiplePriority:gl(tt)}),Na==null||Na(Wa)},Pa.onKeyDown=Wa=>{Wa.keyCode===Ot.Z.ENTER&&(be({column:tt,key:mn,sortOrder:ta,multiplePriority:gl(tt)}),ga==null||ga(Wa))};const la=Cc(tt.title,{}),Da=la==null?void 0:la.toString();return Rn?Pa["aria-sort"]=Rn==="ascend"?"ascending":"descending":Pa["aria-label"]=Da||"",Pa.className=Ye()(Pa.className,`${de}-column-has-sorters`),Pa.tabIndex=0,tt.ellipsis&&(Pa.title=(la!=null?la:"").toString()),Pa}})}return"children"in Lt&&(Lt=Object.assign(Object.assign({},Lt),{children:Fi(de,Lt.children,he,be,Be,Ie,Xe,Zt)})),Lt})}function El(de){const{column:ue,sortOrder:he}=de;return{column:ue,order:he,field:ue.dataIndex,columnKey:ue.key}}function Yi(de){const ue=de.filter(he=>{let{sortOrder:be}=he;return be}).map(El);return ue.length===0&&de.length?Object.assign(Object.assign({},El(de[de.length-1])),{column:void 0}):ue.length<=1?ue[0]||{}:ue}function $o(de,ue,he){const be=ue.slice().sort((Xe,nt)=>nt.multiplePriority-Xe.multiplePriority),Be=de.slice(),Ie=be.filter(Xe=>{let{column:{sorter:nt},sortOrder:tt}=Xe;return Yl(nt)&&tt});return Ie.length?Be.sort((Xe,nt)=>{for(let tt=0;tt<Ie.length;tt+=1){const yt=Ie[tt],{column:{sorter:Zt},sortOrder:Lt}=yt,on=Yl(Zt);if(on&&Lt){const ln=on(Xe,nt,Lt);if(ln!==0)return Lt===Ho?ln:-ln}}return 0}).map(Xe=>{const nt=Xe[he];return nt?Object.assign(Object.assign({},Xe),{[he]:$o(nt,ue,he)}):Xe}):Be}function Mr(de){let{prefixCls:ue,mergedColumns:he,onSorterChange:be,sortDirections:Be,tableLocale:Ie,showSorterTooltip:Xe}=de;const[nt,tt]=se.useState(ll(he,!0)),yt=se.useMemo(()=>{let mn=!0;const Xn=ll(he,!1);if(!Xn.length)return nt;const Rn=[];function ta(sa){mn?Rn.push(sa):Rn.push(Object.assign(Object.assign({},sa),{sortOrder:null}))}let Hn=null;return Xn.forEach(sa=>{Hn===null?(ta(sa),sa.sortOrder&&(sa.multiplePriority===!1?mn=!1:Hn=!0)):(Hn&&sa.multiplePriority!==!1||(mn=!1),ta(sa))}),Rn},[he,nt]),Zt=se.useMemo(()=>{const mn=yt.map(Xn=>{let{column:Rn,sortOrder:ta}=Xn;return{column:Rn,order:ta}});return{sortColumns:mn,sortColumn:mn[0]&&mn[0].column,sortOrder:mn[0]&&mn[0].order}},[yt]);function Lt(mn){let Xn;mn.multiplePriority===!1||!yt.length||yt[0].multiplePriority===!1?Xn=[mn]:Xn=[].concat((0,qr.Z)(yt.filter(Rn=>{let{key:ta}=Rn;return ta!==mn.key})),[mn]),tt(Xn),be(Yi(Xn),Xn)}return[mn=>Fi(ue,mn,yt,Lt,Be,Ie,Xe),yt,Zt,()=>Yi(yt)]}function Ti(de,ue){return de.map(he=>{const be=Object.assign({},he);return be.title=ud(he.title,ue),"children"in be&&(be.children=Ti(be.children,ue)),be})}function Dl(de){return[se.useCallback(he=>Ti(he,de),[de])]}var gs=Oi((de,ue)=>{const{_renderTimes:he}=de,{_renderTimes:be}=ue;return he!==be}),xs=Ai((de,ue)=>{const{_renderTimes:he}=de,{_renderTimes:be}=ue;return he!==be}),_l=ee(84780),Ws=ee(14747),fd=ee(67968),fs=ee(45503),es=de=>{const{componentCls:ue}=de,he=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,be=(Be,Ie,Xe)=>({[`&${ue}-${Be}`]:{[`> ${ue}-container`]:{[`> ${ue}-content, > ${ue}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`-${Ie}px -${Xe+de.lineWidth}px`}}}}}});return{[`${ue}-wrapper`]:{[`${ue}${ue}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ue}-title`]:{border:he,borderBottom:0},[`> ${ue}-container`]:{borderInlineStart:he,borderTop:he,[`
> ${ue}-content,
> ${ue}-header,
> ${ue}-body,
> ${ue}-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 ":{[`> ${ue}-cell-fix-right-first::after`]:{borderInlineEnd:he}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`-${de.tablePaddingVertical}px -${de.tablePaddingHorizontal+de.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:de.lineWidth,bottom:0,borderInlineEnd:he,content:'""'}}}}}},[`&${ue}-scroll-horizontal`]:{[`> ${ue}-container > ${ue}-body`]:{"> table > tbody":{[`
> tr${ue}-expanded-row,
> tr${ue}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},be("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle)),be("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall)),{[`> ${ue}-footer`]:{border:he,borderTop:0}}),[`${ue}-cell`]:{[`${ue}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${de.lineWidth}px 0 ${de.lineWidth}px ${de.tableHeaderBg}`}},[`${ue}-bordered ${ue}-cell-scrollbar`]:{borderInlineEnd:he}}}},md=de=>{const{componentCls:ue}=de;return{[`${ue}-wrapper`]:{[`${ue}-cell-ellipsis`]:Object.assign(Object.assign({},Ws.vS),{wordBreak:"keep-all",[`
&${ue}-cell-fix-left-last,
&${ue}-cell-fix-right-first
`]:{overflow:"visible",[`${ue}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ue}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Fd=de=>{const{componentCls:ue}=de;return{[`${ue}-wrapper`]:{[`${ue}-tbody > tr${ue}-placeholder`]:{textAlign:"center",color:de.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:de.colorBgContainer}}}}},Xd=ee(49867),Ql=de=>{const{componentCls:ue,antCls:he,controlInteractiveSize:be,motionDurationSlow:Be,lineWidth:Ie,paddingXS:Xe,lineType:nt,tableBorderColor:tt,tableExpandIconBg:yt,tableExpandColumnWidth:Zt,borderRadius:Lt,fontSize:on,fontSizeSM:ln,lineHeight:mn,tablePaddingVertical:Xn,tablePaddingHorizontal:Rn,tableExpandedRowBg:ta,paddingXXS:Hn}=de,sa=be/2-Ie,Ra=sa*2+Ie*3,Qa=`${Ie}px ${nt} ${tt}`,Ba=Hn-Ie;return{[`${ue}-wrapper`]:{[`${ue}-expand-icon-col`]:{width:Zt},[`${ue}-row-expand-icon-cell`]:{textAlign:"center",[`${ue}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ue}-row-indent`]:{height:1,float:"left"},[`${ue}-row-expand-icon`]:Object.assign(Object.assign({},(0,Xd.N)(de)),{position:"relative",float:"left",boxSizing:"border-box",width:Ra,height:Ra,padding:0,color:"inherit",lineHeight:`${Ra}px`,background:yt,border:Qa,borderRadius:Lt,transform:`scale(${be/Ra})`,transition:`all ${Be}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Be} ease-out`,content:'""'},"&::before":{top:sa,insetInlineEnd:Ba,insetInlineStart:Ba,height:Ie},"&::after":{top:Ba,bottom:Ba,insetInlineStart:sa,width:Ie,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"}}),[`${ue}-row-indent + ${ue}-row-expand-icon`]:{marginTop:(on*mn-Ie*3)/2-Math.ceil((ln*1.4-Ie*3)/2),marginInlineEnd:Xe},[`tr${ue}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ta}},[`${he}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ue}-expanded-row-fixed`]:{position:"relative",margin:`-${Xn}px -${Rn}px`,padding:`${Xn}px ${Rn}px`}}}},qd=de=>{const{componentCls:ue,antCls:he,iconCls:be,tableFilterDropdownWidth:Be,tableFilterDropdownSearchWidth:Ie,paddingXXS:Xe,paddingXS:nt,colorText:tt,lineWidth:yt,lineType:Zt,tableBorderColor:Lt,tableHeaderIconColor:on,fontSizeSM:ln,tablePaddingHorizontal:mn,borderRadius:Xn,motionDurationSlow:Rn,colorTextDescription:ta,colorPrimary:Hn,tableHeaderFilterActiveBg:sa,colorTextDisabled:Ra,tableFilterDropdownBg:Qa,tableFilterDropdownHeight:Ba,controlItemBgHover:fr,controlItemBgActive:Dr,boxShadowSecondary:Pa,filterDropdownMenuBg:Na}=de,ga=`${he}-dropdown`,la=`${ue}-filter-dropdown`,Da=`${he}-tree`,Wa=`${yt}px ${Zt} ${Lt}`;return[{[`${ue}-wrapper`]:{[`${ue}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ue}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Xe,marginInline:`${Xe}px ${-mn/2}px`,padding:`0 ${Xe}px`,color:on,fontSize:ln,borderRadius:Xn,cursor:"pointer",transition:`all ${Rn}`,"&:hover":{color:ta,background:sa},"&.active":{color:Hn}}}},{[`${he}-dropdown`]:{[la]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{minWidth:Be,backgroundColor:Qa,borderRadius:Xn,boxShadow:Pa,overflow:"hidden",[`${ga}-menu`]:{maxHeight:Ba,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Na,"&:empty::after":{display:"block",padding:`${nt}px 0`,color:Ra,fontSize:ln,textAlign:"center",content:'"Not Found"'}},[`${la}-tree`]:{paddingBlock:`${nt}px 0`,paddingInline:nt,[Da]:{padding:0},[`${Da}-treenode ${Da}-node-content-wrapper:hover`]:{backgroundColor:fr},[`${Da}-treenode-checkbox-checked ${Da}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Dr}}},[`${la}-search`]:{padding:nt,borderBottom:Wa,"&-input":{input:{minWidth:Ie},[be]:{color:Ra}}},[`${la}-checkall`]:{width:"100%",marginBottom:Xe,marginInlineStart:Xe},[`${la}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${nt-yt}px ${nt}px`,overflow:"hidden",borderTop:Wa}})}},{[`${he}-dropdown ${la}, ${la}-submenu`]:{[`${he}-checkbox-wrapper + span`]:{paddingInlineStart:nt,color:tt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Zl=de=>{const{componentCls:ue,lineWidth:he,colorSplit:be,motionDurationSlow:Be,zIndexTableFixed:Ie,tableBg:Xe,zIndexTableSticky:nt}=de,tt=be;return{[`${ue}-wrapper`]:{[`
${ue}-cell-fix-left,
${ue}-cell-fix-right
`]:{position:"sticky !important",zIndex:Ie,background:Xe},[`
${ue}-cell-fix-left-first::after,
${ue}-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 ${Be}`,content:'""',pointerEvents:"none"},[`${ue}-cell-fix-left-all::after`]:{display:"none"},[`
${ue}-cell-fix-right-first::after,
${ue}-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 ${Be}`,content:'""',pointerEvents:"none"},[`${ue}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:nt+1,width:30,transition:`box-shadow ${Be}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ue}-ping-left`]:{[`&:not(${ue}-has-fix-left) ${ue}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${tt}`}},[`
${ue}-cell-fix-left-first::after,
${ue}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${tt}`},[`${ue}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ue}-ping-right`]:{[`&:not(${ue}-has-fix-right) ${ue}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${tt}`}},[`
${ue}-cell-fix-right-first::after,
${ue}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${tt}`}}}}},Vs=de=>{const{componentCls:ue,antCls:he}=de;return{[`${ue}-wrapper`]:{[`${ue}-pagination${he}-pagination`]:{margin:`${de.margin}px 0`},[`${ue}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:de.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Zi=de=>{const{componentCls:ue,tableRadius:he}=de;return{[`${ue}-wrapper`]:{[ue]:{[`${ue}-title, ${ue}-header`]:{borderRadius:`${he}px ${he}px 0 0`},[`${ue}-title + ${ue}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ue}-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`}}}}},ts=de=>{const{componentCls:ue}=de;return{[`${ue}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ue}-pagination-left`]:{justifyContent:"flex-end"},[`${ue}-pagination-right`]:{justifyContent:"flex-start"},[`${ue}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ue}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ue}-row-indent`]:{float:"right"}}}}},pd=de=>{const{componentCls:ue,antCls:he,iconCls:be,fontSizeIcon:Be,padding:Ie,paddingXS:Xe,tableHeaderIconColor:nt,tableHeaderIconColorHover:tt,tableSelectionColumnWidth:yt}=de;return{[`${ue}-wrapper`]:{[`${ue}-selection-col`]:{width:yt,[`&${ue}-selection-col-with-dropdown`]:{width:yt+Be+Ie/4}},[`${ue}-bordered ${ue}-selection-col`]:{width:yt+Xe*2,[`&${ue}-selection-col-with-dropdown`]:{width:yt+Be+Ie/4+Xe*2}},[`
table tr th${ue}-selection-column,
table tr td${ue}-selection-column
`]:{paddingInlineEnd:de.paddingXS,paddingInlineStart:de.paddingXS,textAlign:"center",[`${he}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ue}-selection-column${ue}-cell-fix-left`]:{zIndex:de.zIndexTableFixed+1},[`table tr th${ue}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ue}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ue}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${de.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${de.tablePaddingHorizontal/4}px`,[be]:{color:nt,fontSize:Be,verticalAlign:"baseline","&:hover":{color:tt}}}}}},Sd=de=>{const{componentCls:ue}=de,he=(be,Be,Ie,Xe)=>({[`${ue}${ue}-${be}`]:{fontSize:Xe,[`
${ue}-title,
${ue}-footer,
${ue}-cell,
${ue}-thead > tr > th,
${ue}-tbody > tr > th,
${ue}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Be}px ${Ie}px`},[`${ue}-filter-trigger`]:{marginInlineEnd:`-${Ie/2}px`},[`${ue}-expanded-row-fixed`]:{margin:`-${Be}px -${Ie}px`},[`${ue}-tbody`]:{[`${ue}-wrapper:only-child ${ue}`]:{marginBlock:`-${Be}px`,marginInline:`${de.tableExpandColumnWidth-Ie}px -${Ie}px`}},[`${ue}-selection-column`]:{paddingInlineStart:`${Ie/4}px`}}});return{[`${ue}-wrapper`]:Object.assign(Object.assign({},he("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle,de.tableFontSizeMiddle)),he("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall,de.tableFontSizeSmall))}},Pd=de=>{const{componentCls:ue,marginXXS:he,fontSizeIcon:be,tableHeaderIconColor:Be,tableHeaderIconColorHover:Ie}=de;return{[`${ue}-wrapper`]:{[`${ue}-thead th${ue}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${de.motionDurationSlow}`,"&:hover":{background:de.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:de.colorPrimary},[`
&${ue}-cell-fix-left:hover,
&${ue}-cell-fix-right:hover
`]:{background:de.tableFixedHeaderSortActiveBg}},[`${ue}-thead th${ue}-column-sort`]:{background:de.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ue}-column-sort`]:{background:de.tableBodySortBg},[`${ue}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ue}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ue}-column-sorter`]:{marginInlineStart:he,color:Be,fontSize:0,transition:`color ${de.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:be,"&.active":{color:de.colorPrimary}},[`${ue}-column-sorter-up + ${ue}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ue}-column-sorters:hover ${ue}-column-sorter`]:{color:Ie}}}},ks=de=>{const{componentCls:ue,opacityLoading:he,tableScrollThumbBg:be,tableScrollThumbBgHover:Be,tableScrollThumbSize:Ie,tableScrollBg:Xe,zIndexTableSticky:nt,stickyScrollBarBorderRadius:tt}=de,yt=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`;return{[`${ue}-wrapper`]:{[`${ue}-sticky`]:{"&-holder":{position:"sticky",zIndex:nt,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Ie}px !important`,zIndex:nt,display:"flex",alignItems:"center",background:Xe,borderTop:yt,opacity:he,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Ie,backgroundColor:be,borderRadius:tt,transition:`all ${de.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Be}}}}}}},yd=de=>{const{componentCls:ue,lineWidth:he,tableBorderColor:be}=de,Be=`${he}px ${de.lineType} ${be}`;return{[`${ue}-wrapper`]:{[`${ue}-summary`]:{position:"relative",zIndex:de.zIndexTableFixed,background:de.tableBg,"> tr":{"> th, > td":{borderBottom:Be}}},[`div${ue}-summary`]:{boxShadow:`0 -${he}px 0 ${be}`}}}},Ls=de=>{const{componentCls:ue}=de,he=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,be=`${ue}-expanded-row-cell`;return{[`${ue}-wrapper`]:{[`${ue}-tbody-virtual`]:{[`${ue}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ue}-cell`]:{borderBottom:he},[`${ue}-expanded-row`]:{[`${be}${be}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${de.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ue}-bordered`]:{[`${ue}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:he,position:"absolute"},[`${ue}-cell`]:{borderInlineEnd:he,[`&${ue}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-de.lineWidth,borderInlineStart:he}}}}}}};const Ys=de=>{const{componentCls:ue,fontWeightStrong:he,tablePaddingVertical:be,tablePaddingHorizontal:Be,lineWidth:Ie,lineType:Xe,tableBorderColor:nt,tableFontSize:tt,tableBg:yt,tableRadius:Zt,tableHeaderTextColor:Lt,motionDurationMid:on,tableHeaderBg:ln,tableHeaderCellSplitColor:mn,tableRowHoverBg:Xn,tableSelectedRowBg:Rn,tableSelectedRowHoverBg:ta,tableFooterTextColor:Hn,tableFooterBg:sa,paddingContentVerticalLG:Ra}=de,Qa=`${Ie}px ${Xe} ${nt}`;return{[`${ue}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[ue]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{fontSize:tt,background:yt,borderRadius:`${Zt}px ${Zt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Zt}px ${Zt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ue}-cell,
${ue}-thead > tr > th,
${ue}-tbody > tr > th,
${ue}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ra}px ${Be}px`,overflowWrap:"break-word"},[`${ue}-title`]:{padding:`${be}px ${Be}px`},[`${ue}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Lt,fontWeight:he,textAlign:"start",background:ln,borderBottom:Qa,transition:`background ${on} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ue}-selection-column):not(${ue}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:mn,transform:"translateY(-50%)",transition:`background-color ${on}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ue}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${on}, border-color ${on}`,borderBottom:Qa,[`
> ${ue}-wrapper:only-child,
> ${ue}-expanded-row-fixed > ${ue}-wrapper:only-child
`]:{[ue]:{marginBlock:`-${be}px`,marginInline:`${de.tableExpandColumnWidth-Be}px -${Be}px`,[`${ue}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Lt,fontWeight:he,textAlign:"start",background:ln,borderBottom:Qa,transition:`background ${on} ease`},[`
&${ue}-row:hover > th,
&${ue}-row:hover > td,
> th${ue}-cell-row-hover,
> td${ue}-cell-row-hover
`]:{background:Xn},[`&${ue}-row-selected`]:{"> th, > td":{background:Rn},"&:hover > th, &:hover > td":{background:ta}}}},[`${ue}-footer`]:{padding:`${be}px ${Be}px`,color:Hn,background:sa}})}};var Qs=(0,fd.Z)("Table",de=>{const{colorTextHeading:ue,colorSplit:he,colorIcon:be,colorIconHover:Be,opacityLoading:Ie,colorBgContainer:Xe,controlInteractiveSize:nt,headerBg:tt,headerColor:yt,headerSortActiveBg:Zt,headerSortHoverBg:Lt,bodySortBg:on,rowHoverBg:ln,rowSelectedBg:mn,rowSelectedHoverBg:Xn,rowExpandedBg:Rn,cellPaddingBlock:ta,cellPaddingInline:Hn,cellPaddingBlockMD:sa,cellPaddingInlineMD:Ra,cellPaddingBlockSM:Qa,cellPaddingInlineSM:Ba,borderColor:fr,footerBg:Dr,footerColor:Pa,headerBorderRadius:Na,cellFontSize:ga,cellFontSizeMD:la,cellFontSizeSM:Da,headerSplitColor:Wa,fixedHeaderSortActiveBg:vr,headerFilterHoverBg:Er,filterDropdownBg:Ha,expandIconBg:Or,selectionColumnWidth:Kr,stickyScrollBarBg:Bo}=de,mo=new _l.C(be),gi=new _l.C(Be),fi=2,Fr=(0,fs.TS)(de,{tableFontSize:ga,tableBg:Xe,tableRadius:Na,tablePaddingVertical:ta,tablePaddingHorizontal:Hn,tablePaddingVerticalMiddle:sa,tablePaddingHorizontalMiddle:Ra,tablePaddingVerticalSmall:Qa,tablePaddingHorizontalSmall:Ba,tableBorderColor:fr,tableHeaderTextColor:yt,tableHeaderBg:tt,tableFooterTextColor:Pa,tableFooterBg:Dr,tableHeaderCellSplitColor:Wa,tableHeaderSortBg:Zt,tableHeaderSortHoverBg:Lt,tableHeaderIconColor:mo.clone().setAlpha(mo.getAlpha()*Ie).toRgbString(),tableHeaderIconColorHover:gi.clone().setAlpha(gi.getAlpha()*Ie).toRgbString(),tableBodySortBg:on,tableFixedHeaderSortActiveBg:vr,tableHeaderFilterActiveBg:Er,tableFilterDropdownBg:Ha,tableRowHoverBg:ln,tableSelectedRowBg:mn,tableSelectedRowHoverBg:Xn,zIndexTableFixed:fi,zIndexTableSticky:fi+1,tableFontSizeMiddle:la,tableFontSizeSmall:Da,tableSelectionColumnWidth:Kr,tableExpandIconBg:Or,tableExpandColumnWidth:nt+2*de.padding,tableExpandedRowBg:Rn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Bo,tableScrollThumbBgHover:ue,tableScrollBg:he});return[Ys(Fr),Vs(Fr),yd(Fr),Pd(Fr),qd(Fr),es(Fr),Zi(Fr),Ql(Fr),yd(Fr),Fd(Fr),pd(Fr),Zl(Fr),ks(Fr),md(Fr),Sd(Fr),ts(Fr),Ls(Fr)]},de=>{const{colorFillAlter:ue,colorBgContainer:he,colorTextHeading:be,colorFillSecondary:Be,colorFillContent:Ie,controlItemBgActive:Xe,controlItemBgActiveHover:nt,padding:tt,paddingSM:yt,paddingXS:Zt,colorBorderSecondary:Lt,borderRadiusLG:on,fontSize:ln,controlHeight:mn,colorTextPlaceholder:Xn}=de,Rn=new _l.C(Be).onBackground(he).toHexShortString(),ta=new _l.C(Ie).onBackground(he).toHexShortString(),Hn=new _l.C(ue).onBackground(he).toHexShortString();return{headerBg:Hn,headerColor:be,headerSortActiveBg:Rn,headerSortHoverBg:ta,bodySortBg:Hn,rowHoverBg:Hn,rowSelectedBg:Xe,rowSelectedHoverBg:nt,rowExpandedBg:ue,cellPaddingBlock:tt,cellPaddingInline:tt,cellPaddingBlockMD:yt,cellPaddingInlineMD:Zt,cellPaddingBlockSM:Zt,cellPaddingInlineSM:Zt,borderColor:Lt,headerBorderRadius:on,footerBg:Hn,footerColor:be,cellFontSize:ln,cellFontSizeMD:ln,cellFontSizeSM:ln,headerSplitColor:Lt,fixedHeaderSortActiveBg:Rn,headerFilterHoverBg:Ie,filterDropdownMenuBg:he,filterDropdownBg:he,expandIconBg:he,selectionColumnWidth:mn,stickyScrollBarBg:Xn,stickyScrollBarBorderRadius:100}});const Js=[],bd=(de,ue)=>{const{prefixCls:he,className:be,rootClassName:Be,style:Ie,size:Xe,bordered:nt,dropdownPrefixCls:tt,dataSource:yt,pagination:Zt,rowSelection:Lt,rowKey:on="key",rowClassName:ln,columns:mn,children:Xn,childrenColumnName:Rn,onChange:ta,getPopupContainer:Hn,loading:sa,expandIcon:Ra,expandable:Qa,expandedRowRender:Ba,expandIconColumnIndex:fr,indentSize:Dr,scroll:Pa,sortDirections:Na,locale:ga,showSorterTooltip:la=!0,virtual:Da}=de,Wa=se.useMemo(()=>mn||wi(Xn),[mn,Xn]),vr=se.useMemo(()=>Wa.some(rn=>rn.responsive),[Wa]),Er=(0,js.Z)(vr),Ha=se.useMemo(()=>{const rn=new Set(Object.keys(Er).filter(dn=>Er[dn]));return Wa.filter(dn=>!dn.responsive||dn.responsive.some(wa=>rn.has(wa)))},[Wa,Er]),Or=(0,Nr.Z)(de,["className","style","columns"]),{locale:Kr=Pc.Z,direction:Bo,table:mo,renderEmpty:gi,getPrefixCls:fi,getPopupContainer:Fr}=se.useContext(cs.E_),Di=(0,Bs.Z)(Xe),na=Object.assign(Object.assign({},Kr.Table),ga),or=yt||Js,jr=fi("table",he),Io=fi("dropdown",tt),ba=Object.assign({childrenColumnName:Rn,expandIconColumnIndex:fr},Qa),{childrenColumnName:Ja="children"}=ba,tr=se.useMemo(()=>or.some(rn=>rn==null?void 0:rn[Ja])?"nest":Ba||Qa&&Qa.expandedRowRender?"row":null,[or]),Ua={body:se.useRef()},po=se.useMemo(()=>typeof on=="function"?on:rn=>rn==null?void 0:rn[on],[on]),[ir]=li(or,Ja,po),Ir={},Ao=function(rn,dn){let wa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var aa,La,fa;const nr=Object.assign(Object.assign({},Ir),rn);wa&&((aa=Ir.resetPagination)===null||aa===void 0||aa.call(Ir),!((La=nr.pagination)===null||La===void 0)&&La.current&&(nr.pagination.current=1),Zt&&Zt.onChange&&Zt.onChange(1,(fa=nr.pagination)===null||fa===void 0?void 0:fa.pageSize)),Pa&&Pa.scrollToFirstRowOnChange!==!1&&Ua.body.current&&(0,ds.Z)(0,{getContainer:()=>Ua.body.current}),ta==null||ta(nr.pagination,nr.filters,nr.sorter,{currentDataSource:So($o(or,nr.sorterStates,Ja),nr.filterStates),action:dn})},yo=(rn,dn)=>{Ao({sorter:rn,sorterStates:dn},"sort",!1)},[Bl,Pl,Os,Qi]=Mr({prefixCls:jr,mergedColumns:Ha,onSorterChange:yo,sortDirections:Na||["ascend","descend"],tableLocale:na,showSorterTooltip:la}),hs=se.useMemo(()=>$o(or,Pl,Ja),[or,Pl]);Ir.sorter=Qi(),Ir.sorterStates=Pl;const xi=(rn,dn)=>{Ao({filters:rn,filterStates:dn},"filter",!0)},[zl,Cd,Go]=er({prefixCls:jr,locale:na,dropdownPrefixCls:Io,mergedColumns:Ha,onFilterChange:xi,getPopupContainer:Hn||Fr}),Wo=So(hs,Cd);Ir.filters=Go,Ir.filterStates=Cd;const te=se.useMemo(()=>{const rn={};return Object.keys(Go).forEach(dn=>{Go[dn]!==null&&(rn[dn]=Go[dn])}),Object.assign(Object.assign({},Os),{filters:rn})},[Os,Go]),[ie]=Dl(te),le=(rn,dn)=>{Ao({pagination:Object.assign(Object.assign({},Ir.pagination),{current:rn,pageSize:dn})},"paginate")},[ge,ve]=Po(Wo.length,le,Zt);Ir.pagination=Zt===!1?{}:Ui(ge,Zt),Ir.resetPagination=ve;const De=se.useMemo(()=>{if(Zt===!1||!ge.pageSize)return Wo;const{current:rn=1,total:dn,pageSize:wa=pi}=ge;return Wo.length<dn?Wo.length>wa?Wo.slice((rn-1)*wa,rn*wa):Wo:Wo.slice((rn-1)*wa,rn*wa)},[!!Zt,Wo,ge&&ge.current,ge&&ge.pageSize,ge&&ge.total]),[Ae,Je]=Tl({prefixCls:jr,data:Wo,pageData:De,getRowKey:po,getRecordByKey:ir,expandType:tr,childrenColumnName:Ja,locale:na,getPopupContainer:Hn||Fr},Lt),qe=(rn,dn,wa)=>{let aa;return typeof ln=="function"?aa=Ye()(ln(rn,dn,wa)):aa=Ye()(ln),Ye()({[`${jr}-row-selected`]:Je.has(po(rn,dn))},aa)};ba.__PARENT_RENDER_ICON__=ba.expandIcon,ba.expandIcon=ba.expandIcon||Ra||bc(na),tr==="nest"&&ba.expandIconColumnIndex===void 0?ba.expandIconColumnIndex=Lt?1:0:ba.expandIconColumnIndex>0&&Lt&&(ba.expandIconColumnIndex-=1),typeof ba.indentSize!="number"&&(ba.indentSize=typeof Dr=="number"?Dr:15);const ct=se.useCallback(rn=>ie(Ae(zl(Bl(rn)))),[Bl,zl,Ae]);let Vt,mt;if(Zt!==!1&&(ge!=null&&ge.total)){let rn;ge.size?rn=ge.size:rn=Di==="small"||Di==="middle"?"small":void 0;const dn=La=>se.createElement(rd.Z,Object.assign({},ge,{className:Ye()(`${jr}-pagination ${jr}-pagination-${La}`,ge.className),size:rn})),wa=Bo==="rtl"?"left":"right",{position:aa}=ge;if(aa!==null&&Array.isArray(aa)){const La=aa.find(wr=>wr.includes("top")),fa=aa.find(wr=>wr.includes("bottom")),nr=aa.every(wr=>`${wr}`=="none");!La&&!fa&&!nr&&(mt=dn(wa)),La&&(Vt=dn(La.toLowerCase().replace("top",""))),fa&&(mt=dn(fa.toLowerCase().replace("bottom","")))}else mt=dn(wa)}let St;typeof sa=="boolean"?St={spinning:sa}:typeof sa=="object"&&(St=Object.assign({spinning:!0},sa));const[bt,Nt]=Qs(jr),[,at]=(0,yc.Z)(),xt=Ye()(`${jr}-wrapper`,mo==null?void 0:mo.className,{[`${jr}-wrapper-rtl`]:Bo==="rtl"},be,Be,Nt),_t=Object.assign(Object.assign({},mo==null?void 0:mo.style),Ie),Bn=ga&&ga.emptyText||(gi==null?void 0:gi("Table"))||se.createElement(Ks.Z,{componentName:"Table"}),un=Da?xs:gs,sn={},qn=se.useMemo(()=>{const{fontSize:rn,lineHeight:dn,padding:wa,paddingXS:aa,paddingSM:La}=at,fa=Math.floor(rn*dn);switch(Di){case"large":return wa*2+fa;case"small":return aa*2+fa;default:return La*2+fa}},[at,Di]);return Da&&(sn.listItemHeight=qn),bt(se.createElement("div",{ref:ue,className:xt,style:_t},se.createElement(Ms.Z,Object.assign({spinning:!1},St),Vt,se.createElement(un,Object.assign({},sn,Or,{columns:Ha,direction:Bo,expandable:ba,prefixCls:jr,className:Ye()({[`${jr}-middle`]:Di==="middle",[`${jr}-small`]:Di==="small",[`${jr}-bordered`]:nt,[`${jr}-empty`]:or.length===0}),data:De,rowKey:po,rowClassName:qe,emptyText:Bn,internalHooks:me,internalRefs:Ua,transformColumns:ct})),mt)))};var Td=se.forwardRef(bd);const Ps=(de,ue)=>{const he=se.useRef(0);return he.current+=1,se.createElement(Td,Object.assign({},de,{ref:ue,_renderTimes:he.current}))},ns=se.forwardRef(Ps);ns.SELECTION_COLUMN=Gr,ns.EXPAND_COLUMN=ae,ns.SELECTION_ALL=Ii,ns.SELECTION_INVERT=ko,ns.SELECTION_NONE=Gi,ns.Column=Ci,ns.ColumnGroup=ql,ns.Summary=We;var Jl=ns,Xs=Jl},79870:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return kr}});var ae=ee(87462),me=ee(4942),Re=ee(71002),ze=ee(1413),Me=ee(74902),Te=ee(15671),se=ee(43144),Ze=ee(97326),Ke=ee(60136),He=ee(51630),_e=ee(94184),je=ee.n(_e),Le={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(At){var Xt=At.keyCode;if(At.altKey&&!At.ctrlKey||At.metaKey||Xt>=Le.F1&&Xt<=Le.F12)return!1;switch(Xt){case Le.ALT:case Le.CAPS_LOCK:case Le.CONTEXT_MENU:case Le.CTRL:case Le.DOWN:case Le.END:case Le.ESC:case Le.HOME:case Le.INSERT:case Le.LEFT:case Le.MAC_FF_META:case Le.META:case Le.NUMLOCK:case Le.NUM_CENTER:case Le.PAGE_DOWN:case Le.PAGE_UP:case Le.PAUSE:case Le.PRINT_SCREEN:case Le.RIGHT:case Le.SHIFT:case Le.UP:case Le.WIN_KEY:case Le.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(At){if(At>=Le.ZERO&&At<=Le.NINE||At>=Le.NUM_ZERO&&At<=Le.NUM_MULTIPLY||At>=Le.A&&At<=Le.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&At===0)return!0;switch(At){case Le.SPACE:case Le.QUESTION_MARK:case Le.NUM_PLUS:case Le.NUM_MINUS:case Le.NUM_PERIOD:case Le.NUM_DIVISION:case Le.SEMICOLON:case Le.DASH:case Le.EQUALS:case Le.COMMA:case Le.PERIOD:case Le.SLASH:case Le.APOSTROPHE:case Le.SINGLE_QUOTE:case Le.OPEN_SQUARE_BRACKET:case Le.BACKSLASH:case Le.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ce=Le,a=ee(34952),y=ee(72978),x=ee(67294),b=ee(69610);function E(vt){var At=vt.dropPosition,Xt=vt.dropLevelOffset,Ne=vt.indent,Ut={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(At){case-1:Ut.top=0,Ut.left=-Xt*Ne;break;case 1:Ut.bottom=0,Ut.left=-Xt*Ne;break;case 0:Ut.bottom=0,Ut.left=Ne;break}return x.createElement("div",{style:Ut})}var z=ee(36459),re=ee(97685),oe=ee(45987);function ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var fe=ne()?x.useLayoutEffect:x.useEffect,pe=fe,ye=function(At,Xt){var Ne=React.useRef(!0);fe(function(){if(!Ne.current)return At()},Xt),fe(function(){return Ne.current=!1,function(){Ne.current=!0}},[])},Ce=ee(73299),Ee=ee(73935);function Se(vt){return vt instanceof HTMLElement||vt instanceof SVGElement}function gt(vt){return Se(vt)?vt:vt instanceof x.Component?Ee.findDOMNode(vt):null}var Ye=ee(28580);function It(vt,At,Xt){var Ne=React.useRef({});return(!("value"in Ne.current)||Xt(Ne.current.condition,At))&&(Ne.current.value=vt(),Ne.current.condition=At),Ne.current.value}function Ue(vt,At){typeof vt=="function"?vt(At):(0,Re.Z)(vt)==="object"&&vt&&"current"in vt&&(vt.current=At)}function ft(){for(var vt=arguments.length,At=new Array(vt),Xt=0;Xt<vt;Xt++)At[Xt]=arguments[Xt];var Ne=At.filter(function(Ut){return Ut});return Ne.length<=1?Ne[0]:function(Ut){At.forEach(function(Dn){Ue(Dn,Ut)})}}function Tt(){for(var vt=arguments.length,At=new Array(vt),Xt=0;Xt<vt;Xt++)At[Xt]=arguments[Xt];return useMemo(function(){return ft.apply(void 0,At)},At,function(Ne,Ut){return Ne.length===Ut.length&&Ne.every(function(Dn,An){return Dn===Ut[An]})})}function Qt(vt){var At,Xt,Ne=(0,Ye.isMemo)(vt)?vt.type.type:vt.type;return!(typeof Ne=="function"&&!((At=Ne.prototype)!==null&&At!==void 0&&At.render)||typeof vt=="function"&&!((Xt=vt.prototype)!==null&&Xt!==void 0&&Xt.render))}function wt(vt,At){var Xt={};return Xt[vt.toLowerCase()]=At.toLowerCase(),Xt["Webkit".concat(vt)]="webkit".concat(At),Xt["Moz".concat(vt)]="moz".concat(At),Xt["ms".concat(vt)]="MS".concat(At),Xt["O".concat(vt)]="o".concat(At.toLowerCase()),Xt}function dt(vt,At){var Xt={animationend:wt("Animation","AnimationEnd"),transitionend:wt("Transition","TransitionEnd")};return vt&&("AnimationEvent"in At||delete Xt.animationend.animation,"TransitionEvent"in At||delete Xt.transitionend.transition),Xt}var Gt=dt(ne(),typeof window!="undefined"?window:{}),an={};if(ne()){var pn=document.createElement("div");an=pn.style}var $e={};function Ct(vt){if($e[vt])return $e[vt];var At=Gt[vt];if(At)for(var Xt=Object.keys(At),Ne=Xt.length,Ut=0;Ut<Ne;Ut+=1){var Dn=Xt[Ut];if(Object.prototype.hasOwnProperty.call(At,Dn)&&Dn in an)return $e[vt]=At[Dn],$e[vt]}return""}var Bt=Ct("animationend"),Tn=Ct("transitionend"),it=!!(Bt&&Tn),Mt=Bt||"animationend",xe=Tn||"transitionend";function Sn(vt,At){if(!vt)return null;if((0,Re.Z)(vt)==="object"){var Xt=At.replace(/-\w/g,function(Ne){return Ne[1].toUpperCase()});return vt[Xt]}return"".concat(vt,"-").concat(At)}var Wn="none",Ca="appear",yn="enter",Yt="leave",Ge="none",Fe="prepare",pt="start",zt="active",en="end";function En(vt){var At=x.useRef(!1),Xt=x.useState(vt),Ne=(0,re.Z)(Xt,2),Ut=Ne[0],Dn=Ne[1];x.useEffect(function(){return At.current=!1,function(){At.current=!0}},[]);function An(Pt,Ht){Ht&&At.current||Dn(Pt)}return[Ut,An]}var kn=function(At){return+setTimeout(At,16)},_n=function(At){return clearTimeout(At)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(kn=function(At){return window.requestAnimationFrame(At)},_n=function(At){return window.cancelAnimationFrame(At)});var Gn=0,nn=new Map;function we(vt){nn.delete(vt)}var Qe=function(At){var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Gn+=1;var Ne=Gn;function Ut(Dn){if(Dn===0)we(Ne),At();else{var An=kn(function(){Ut(Dn-1)});nn.set(Ne,An)}}return Ut(Xt),Ne};Qe.cancel=function(vt){var At=nn.get(vt);return we(At),_n(At)};var Qn=Qe,Kn=function(){var vt=x.useRef(null);function At(){Qn.cancel(vt.current)}function Xt(Ne){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;At();var Dn=Qn(function(){Ut<=1?Ne({isCanceled:function(){return Dn!==vt.current}}):Xt(Ne,Ut-1)});vt.current=Dn}return x.useEffect(function(){return function(){At()}},[]),[Xt,At]},lt=ne()?x.useLayoutEffect:x.useEffect,tn=lt,We=[Fe,pt,zt,en],ut=!1,Ft=!0;function $t(vt){return vt===zt||vt===en}var Rt=function(vt,At){var Xt=En(Ge),Ne=(0,re.Z)(Xt,2),Ut=Ne[0],Dn=Ne[1],An=Kn(),Pt=(0,re.Z)(An,2),Ht=Pt[0],kt=Pt[1];function On(){Dn(Fe,!0)}return tn(function(){if(Ut!==Ge&&Ut!==en){var da=We.indexOf(Ut),xa=We[da+1],pa=At(Ut);pa===ut?Dn(xa,!0):Ht(function(Ia){function rr(){Ia.isCanceled()||Dn(xa,!0)}pa===!0?rr():Promise.resolve(pa).then(rr)})}},[vt,Ut]),x.useEffect(function(){return function(){kt()}},[]),[On,Ut]},bn=function(vt){var At=(0,x.useRef)(),Xt=(0,x.useRef)(vt);Xt.current=vt;var Ne=x.useCallback(function(An){Xt.current(An)},[]);function Ut(An){An&&(An.removeEventListener(xe,Ne),An.removeEventListener(Mt,Ne))}function Dn(An){At.current&&At.current!==An&&Ut(At.current),An&&An!==At.current&&(An.addEventListener(xe,Ne),An.addEventListener(Mt,Ne),At.current=An)}return x.useEffect(function(){return function(){Ut(At.current)}},[]),[Dn,Ut]};function ra(vt,At,Xt,Ne){var Ut=Ne.motionEnter,Dn=Ut===void 0?!0:Ut,An=Ne.motionAppear,Pt=An===void 0?!0:An,Ht=Ne.motionLeave,kt=Ht===void 0?!0:Ht,On=Ne.motionDeadline,da=Ne.motionLeaveImmediately,xa=Ne.onAppearPrepare,pa=Ne.onEnterPrepare,Ia=Ne.onLeavePrepare,rr=Ne.onAppearStart,wn=Ne.onEnterStart,Dt=Ne.onLeaveStart,hn=Ne.onAppearActive,xn=Ne.onEnterActive,ia=Ne.onLeaveActive,Fa=Ne.onAppearEnd,Xa=Ne.onEnterEnd,yr=Ne.onLeaveEnd,sr=Ne.onVisibleChanged,ea=En(),ya=(0,re.Z)(ea,2),Sa=ya[0],Za=ya[1],dr=En(Wn),Hr=(0,re.Z)(dr,2),ro=Hr[0],Eo=Hr[1],wo=En(null),Lo=(0,re.Z)(wo,2),Oi=Lo[0],xl=Lo[1],Wl=(0,x.useRef)(!1),Rl=(0,x.useRef)(null);function Sl(){return Xt()}var Li=(0,x.useRef)(!1);function is(bi){var Ai=Sl();if(!(bi&&!bi.deadline&&bi.target!==Ai)){var il=Li.current,Ds;ro===Ca&&il?Ds=Fa==null?void 0:Fa(Ai,bi):ro===yn&&il?Ds=Xa==null?void 0:Xa(Ai,bi):ro===Yt&&il&&(Ds=yr==null?void 0:yr(Ai,bi)),ro!==Wn&&il&&Ds!==!1&&(Eo(Wn,!0),xl(null,!0))}}var Ul=bn(is),ls=(0,re.Z)(Ul,1),zs=ls[0],kl=x.useMemo(function(){var bi,Ai,il;switch(ro){case Ca:return bi={},(0,me.Z)(bi,Fe,xa),(0,me.Z)(bi,pt,rr),(0,me.Z)(bi,zt,hn),bi;case yn:return Ai={},(0,me.Z)(Ai,Fe,pa),(0,me.Z)(Ai,pt,wn),(0,me.Z)(Ai,zt,xn),Ai;case Yt:return il={},(0,me.Z)(il,Fe,Ia),(0,me.Z)(il,pt,Dt),(0,me.Z)(il,zt,ia),il;default:return{}}},[ro]),Hs=Rt(ro,function(bi){if(bi===Fe){var Ai=kl[Fe];return Ai?Ai(Sl()):ut}if(Ol in kl){var il;xl(((il=kl[Ol])===null||il===void 0?void 0:il.call(kl,Sl(),null))||null)}return Ol===zt&&(zs(Sl()),On>0&&(clearTimeout(Rl.current),Rl.current=setTimeout(function(){is({deadline:!0})},On))),Ft}),Vl=(0,re.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=$t(Ol);Li.current=Gs,tn(function(){Za(At);var bi=Wl.current;if(Wl.current=!0,!!vt){var Ai;!bi&&At&&Pt&&(Ai=Ca),bi&&At&&Dn&&(Ai=yn),(bi&&!At&&kt||!bi&&da&&!At&&kt)&&(Ai=Yt),Ai&&(Eo(Ai),Dd())}},[At]),(0,x.useEffect)(function(){(ro===Ca&&!Pt||ro===yn&&!Dn||ro===Yt&&!kt)&&Eo(Wn)},[Pt,Dn,kt]),(0,x.useEffect)(function(){return function(){Wl.current=!1,clearTimeout(Rl.current)}},[]);var ps=x.useRef(!1);(0,x.useEffect)(function(){Sa&&(ps.current=!0),Sa!==void 0&&ro===Wn&&((ps.current||Sa)&&(sr==null||sr(Sa)),ps.current=!0)},[Sa,ro]);var ad=Oi;return kl[Fe]&&Ol===pt&&(ad=(0,ze.Z)({transition:"none"},ad)),[ro,Ol,ad,Sa!=null?Sa:At]}var Yn=function(vt){(0,Ke.Z)(Xt,vt);var At=(0,He.Z)(Xt);function Xt(){return(0,Te.Z)(this,Xt),At.apply(this,arguments)}return(0,se.Z)(Xt,[{key:"render",value:function(){return this.props.children}}]),Xt}(x.Component),jn=Yn;function Ga(vt){var At=vt;(0,Re.Z)(vt)==="object"&&(At=vt.transitionSupport);function Xt(Ut){return!!(Ut.motionName&&At)}var Ne=x.forwardRef(function(Ut,Dn){var An=Ut.visible,Pt=An===void 0?!0:An,Ht=Ut.removeOnLeave,kt=Ht===void 0?!0:Ht,On=Ut.forceRender,da=Ut.children,xa=Ut.motionName,pa=Ut.leavedClassName,Ia=Ut.eventProps,rr=Xt(Ut),wn=(0,x.useRef)(),Dt=(0,x.useRef)();function hn(){try{return wn.current instanceof HTMLElement?wn.current:gt(Dt.current)}catch(wo){return null}}var xn=ra(rr,Pt,hn,Ut),ia=(0,re.Z)(xn,4),Fa=ia[0],Xa=ia[1],yr=ia[2],sr=ia[3],ea=x.useRef(sr);sr&&(ea.current=!0);var ya=x.useCallback(function(wo){wn.current=wo,Ue(Dn,wo)},[Dn]),Sa,Za=(0,ze.Z)((0,ze.Z)({},Ia),{},{visible:Pt});if(!da)Sa=null;else if(Fa===Wn||!Xt(Ut))sr?Sa=da((0,ze.Z)({},Za),ya):!kt&&ea.current&&pa?Sa=da((0,ze.Z)((0,ze.Z)({},Za),{},{className:pa}),ya):On||!kt&&!pa?Sa=da((0,ze.Z)((0,ze.Z)({},Za),{},{style:{display:"none"}}),ya):Sa=null;else{var dr,Hr;Xa===Fe?Hr="prepare":$t(Xa)?Hr="active":Xa===pt&&(Hr="start"),Sa=da((0,ze.Z)((0,ze.Z)({},Za),{},{className:je()(Sn(xa,Fa),(dr={},(0,me.Z)(dr,Sn(xa,"".concat(Fa,"-").concat(Hr)),Hr),(0,me.Z)(dr,xa,typeof xa=="string"),dr)),style:yr}),ya)}if(x.isValidElement(Sa)&&Qt(Sa)){var ro=Sa,Eo=ro.ref;Eo||(Sa=x.cloneElement(Sa,{ref:ya}))}return x.createElement(jn,{ref:Dt},Sa)});return Ne.displayName="CSSMotion",Ne}var oa=Ga(it),Ka="add",Pr="keep",Tr="remove",Xr="removed";function Rr(vt){var At;return vt&&(0,Re.Z)(vt)==="object"&&"key"in vt?At=vt:At={key:vt},(0,ze.Z)((0,ze.Z)({},At),{},{key:String(At.key)})}function Br(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return vt.map(Rr)}function to(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Xt=[],Ne=0,Ut=At.length,Dn=Br(vt),An=Br(At);Dn.forEach(function(kt){for(var On=!1,da=Ne;da<Ut;da+=1){var xa=An[da];if(xa.key===kt.key){Ne<da&&(Xt=Xt.concat(An.slice(Ne,da).map(function(pa){return(0,ze.Z)((0,ze.Z)({},pa),{},{status:Ka})})),Ne=da),Xt.push((0,ze.Z)((0,ze.Z)({},xa),{},{status:Pr})),Ne+=1,On=!0;break}}On||Xt.push((0,ze.Z)((0,ze.Z)({},kt),{},{status:Tr}))}),Ne<Ut&&(Xt=Xt.concat(An.slice(Ne).map(function(kt){return(0,ze.Z)((0,ze.Z)({},kt),{},{status:Ka})})));var Pt={};Xt.forEach(function(kt){var On=kt.key;Pt[On]=(Pt[On]||0)+1});var Ht=Object.keys(Pt).filter(function(kt){return Pt[kt]>1});return Ht.forEach(function(kt){Xt=Xt.filter(function(On){var da=On.key,xa=On.status;return da!==kt||xa!==Tr}),Xt.forEach(function(On){On.key===kt&&(On.status=Pr)})}),Xt}var lo=["component","children","onVisibleChanged","onAllRemoved"],gr=["status"],Pn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Zn(vt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oa,Xt=function(Ne){(0,Ke.Z)(Dn,Ne);var Ut=(0,He.Z)(Dn);function Dn(){var An;(0,Te.Z)(this,Dn);for(var Pt=arguments.length,Ht=new Array(Pt),kt=0;kt<Pt;kt++)Ht[kt]=arguments[kt];return An=Ut.call.apply(Ut,[this].concat(Ht)),(0,me.Z)((0,Ze.Z)(An),"state",{keyEntities:[]}),(0,me.Z)((0,Ze.Z)(An),"removeKey",function(On){var da=An.state.keyEntities,xa=da.map(function(pa){return pa.key!==On?pa:(0,ze.Z)((0,ze.Z)({},pa),{},{status:Xr})});return An.setState({keyEntities:xa}),xa.filter(function(pa){var Ia=pa.status;return Ia!==Xr}).length}),An}return(0,se.Z)(Dn,[{key:"render",value:function(){var Pt=this,Ht=this.state.keyEntities,kt=this.props,On=kt.component,da=kt.children,xa=kt.onVisibleChanged,pa=kt.onAllRemoved,Ia=(0,oe.Z)(kt,lo),rr=On||x.Fragment,wn={};return Pn.forEach(function(Dt){wn[Dt]=Ia[Dt],delete Ia[Dt]}),delete Ia.keys,x.createElement(rr,Ia,Ht.map(function(Dt){var hn=Dt.status,xn=(0,oe.Z)(Dt,gr),ia=hn===Ka||hn===Pr;return x.createElement(At,(0,ae.Z)({},wn,{key:xn.key,visible:ia,eventProps:xn,onVisibleChanged:function(Xa){if(xa==null||xa(Xa,{key:xn.key}),!Xa){var yr=Pt.removeKey(xn.key);yr===0&&pa&&pa()}}}),da)}))}}],[{key:"getDerivedStateFromProps",value:function(Pt,Ht){var kt=Pt.keys,On=Ht.keyEntities,da=Br(kt),xa=to(On,da);return{keyEntities:xa.filter(function(pa){var Ia=On.find(function(rr){var wn=rr.key;return pa.key===wn});return!(Ia&&Ia.status===Xr&&pa.status===Tr)})}}}]),Dn}(x.Component);return(0,me.Z)(Xt,"defaultProps",{component:"div"}),Xt}var Ln=Zn(it),Nn=oa,Oa=ee(56261);function Ar(vt,At){var Xt=x.useState(!1),Ne=(0,re.Z)(Xt,2),Ut=Ne[0],Dn=Ne[1];x.useLayoutEffect(function(){if(Ut)return vt(),function(){At()}},[Ut]),x.useLayoutEffect(function(){return Dn(!0),function(){Dn(!1)}},[])}var zn=ee(83898),et=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],st=function(At,Xt){var Ne=At.className,Ut=At.style,Dn=At.motion,An=At.motionNodes,Pt=At.motionType,Ht=At.onMotionStart,kt=At.onMotionEnd,On=At.active,da=At.treeNodeRequiredProps,xa=(0,oe.Z)(At,et),pa=x.useState(!0),Ia=(0,re.Z)(pa,2),rr=Ia[0],wn=Ia[1],Dt=x.useContext(b.k),hn=Dt.prefixCls,xn=An&&Pt!=="hide";pe(function(){An&&xn!==rr&&wn(xn)},[An]);var ia=function(){An&&Ht()},Fa=x.useRef(!1),Xa=function(){An&&!Fa.current&&(Fa.current=!0,kt())};Ar(ia,Xa);var yr=function(ea){xn===ea&&Xa()};return An?x.createElement(Nn,(0,ae.Z)({ref:Xt,visible:rr},Dn,{motionAppear:Pt==="show",onVisibleChanged:yr}),function(sr,ea){var ya=sr.className,Sa=sr.style;return x.createElement("div",{ref:ea,className:je()("".concat(hn,"-treenode-motion"),ya),style:Sa},An.map(function(Za){var dr=(0,ae.Z)({},((0,z.Z)(Za.data),Za.data)),Hr=Za.title,ro=Za.key,Eo=Za.isStart,wo=Za.isEnd;delete dr.children;var Lo=(0,zn.H8)(ro,da);return x.createElement(Oa.Z,(0,ae.Z)({},dr,Lo,{title:Hr,active:On,data:Za.data,key:ro,isStart:Eo,isEnd:wo}))}))}):x.createElement(Oa.Z,(0,ae.Z)({domRef:Xt,className:Ne,style:Ut},xa,{active:On}))};st.displayName="MotionTreeNode";var Ve=x.forwardRef(st),Kt=Ve;function Cn(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Xt=vt.length,Ne=At.length;if(Math.abs(Xt-Ne)!==1)return{add:!1,key:null};function Ut(Dn,An){var Pt=new Map;Dn.forEach(function(kt){Pt.set(kt,!0)});var Ht=An.filter(function(kt){return!Pt.has(kt)});return Ht.length===1?Ht[0]:null}return Xt<Ne?{add:!0,key:Ut(vt,At)}:{add:!1,key:Ut(At,vt)}}function Jn(vt,At,Xt){var Ne=vt.findIndex(function(Pt){return Pt.key===Xt}),Ut=vt[Ne+1],Dn=At.findIndex(function(Pt){return Pt.key===Xt});if(Ut){var An=At.findIndex(function(Pt){return Pt.key===Ut.key});return At.slice(Dn+1,An)}return At.slice(Dn+1)}var ja=["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"],ua={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Un=function(){},Ma="RC_TREE_MOTION_".concat(Math.random()),ho={key:Ma},Mn={key:Ma,level:0,index:0,pos:"0",node:ho,nodes:[ho]},no={parent:null,children:[],pos:Mn.pos,data:ho,title:null,key:Ma,isStart:[],isEnd:[]};function rt(vt,At,Xt,Ne){return At===!1||!Xt?vt:vt.slice(0,Math.ceil(Xt/Ne)+1)}function qt(vt){var At=vt.key,Xt=vt.pos;return(0,zn.km)(At,Xt)}function jt(vt){for(var At=String(vt.data.key),Xt=vt;Xt.parent;)Xt=Xt.parent,At="".concat(Xt.data.key," > ").concat(At);return At}var Jt=x.forwardRef(function(vt,At){var Xt=vt.prefixCls,Ne=vt.data,Ut=vt.selectable,Dn=vt.checkable,An=vt.expandedKeys,Pt=vt.selectedKeys,Ht=vt.checkedKeys,kt=vt.loadedKeys,On=vt.loadingKeys,da=vt.halfCheckedKeys,xa=vt.keyEntities,pa=vt.disabled,Ia=vt.dragging,rr=vt.dragOverNodeKey,wn=vt.dropPosition,Dt=vt.motion,hn=vt.height,xn=vt.itemHeight,ia=vt.virtual,Fa=vt.focusable,Xa=vt.activeItem,yr=vt.focused,sr=vt.tabIndex,ea=vt.onKeyDown,ya=vt.onFocus,Sa=vt.onBlur,Za=vt.onActiveChange,dr=vt.onListChangeStart,Hr=vt.onListChangeEnd,ro=(0,oe.Z)(vt,ja),Eo=x.useRef(null),wo=x.useRef(null);x.useImperativeHandle(At,function(){return{scrollTo:function(ss){Eo.current.scrollTo(ss)},getIndentWidth:function(){return wo.current.offsetWidth}}});var Lo=x.useState(An),Oi=(0,re.Z)(Lo,2),xl=Oi[0],Wl=Oi[1],Rl=x.useState(Ne),Sl=(0,re.Z)(Rl,2),Li=Sl[0],is=Sl[1],Ul=x.useState(Ne),ls=(0,re.Z)(Ul,2),zs=ls[0],kl=ls[1],Hs=x.useState([]),Vl=(0,re.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=x.useState(null),ps=(0,re.Z)(Gs,2),ad=ps[0],bi=ps[1],Ai=x.useRef(Ne);Ai.current=Ne;function il(){var Ci=Ai.current;is(Ci),kl(Ci),Ol([]),bi(null),Hr()}pe(function(){Wl(An);var Ci=Cn(xl,An);if(Ci.key!==null)if(Ci.add){var ss=Li.findIndex(function(Bs){var js=Bs.key;return js===Ci.key}),ql=rt(Jn(Li,Ne,Ci.key),ia,hn,xn),Nr=Li.slice();Nr.splice(ss+1,0,no),kl(Nr),Ol(ql),bi("show")}else{var ds=Ne.findIndex(function(Bs){var js=Bs.key;return js===Ci.key}),cs=rt(Jn(Ne,Li,Ci.key),ia,hn,xn),Ks=Ne.slice();Ks.splice(ds+1,0,no),kl(Ks),Ol(cs),bi("hide")}else Li!==Ne&&(is(Ne),kl(Ne))},[An,Ne]),x.useEffect(function(){Ia||il()},[Ia]);var Ds=Dt?zs:Ne,Bd={expandedKeys:An,selectedKeys:Pt,loadedKeys:kt,loadingKeys:On,checkedKeys:Ht,halfCheckedKeys:da,dragOverNodeKey:rr,dropPosition:wn,keyEntities:xa};return x.createElement(x.Fragment,null,yr&&Xa&&x.createElement("span",{style:ua,"aria-live":"assertive"},jt(Xa)),x.createElement("div",null,x.createElement("input",{style:ua,disabled:Fa===!1||pa,tabIndex:Fa!==!1?sr:null,onKeyDown:ea,onFocus:ya,onBlur:Sa,value:"",onChange:Un,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Xt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Xt,"-indent")},x.createElement("div",{ref:wo,className:"".concat(Xt,"-indent-unit")}))),x.createElement(Ce.Z,(0,ae.Z)({},ro,{data:Ds,itemKey:qt,height:hn,fullHeight:!1,virtual:ia,itemHeight:xn,prefixCls:"".concat(Xt,"-list"),ref:Eo,onVisibleChange:function(ss,ql){var Nr=new Set(ss),ds=ql.filter(function(cs){return!Nr.has(cs)});ds.some(function(cs){return qt(cs)===Ma})&&il()}}),function(Ci){var ss=Ci.pos,ql=(0,ae.Z)({},((0,z.Z)(Ci.data),Ci.data)),Nr=Ci.title,ds=Ci.key,cs=Ci.isStart,Ks=Ci.isEnd,Bs=(0,zn.km)(ds,ss);delete ql.key,delete ql.children;var js=(0,zn.H8)(Bs,Bd);return x.createElement(Kt,(0,ae.Z)({},ql,js,{title:Nr,active:!!Xa&&ds===Xa.key,pos:ss,data:Ci.data,isStart:cs,isEnd:Ks,motion:Dt,motionNodes:ds===Ma?Dd:null,motionType:ad,onMotionStart:dr,onMotionEnd:il,treeNodeRequiredProps:Bd,onMouseMove:function(){Za(null)}}))}))});Jt.displayName="NodeList";var $n=Jt,Wt=ee(29873),Fn=ee(97153),cn=ee(3596),$a=10,Aa=function(vt){(0,Ke.Z)(Xt,vt);var At=(0,He.Z)(Xt);function Xt(){var Ne;(0,Te.Z)(this,Xt);for(var Ut=arguments.length,Dn=new Array(Ut),An=0;An<Ut;An++)Dn[An]=arguments[An];return Ne=At.call.apply(At,[this].concat(Dn)),Ne.destroyed=!1,Ne.delayedDragEnterLogic=void 0,Ne.loadingRetryTimes={},Ne.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,zn.w$)()},Ne.dragStartMousePosition=null,Ne.dragNode=void 0,Ne.currentMouseOverDroppableNodeKey=null,Ne.listRef=x.createRef(),Ne.onNodeDragStart=function(Pt,Ht){var kt=Ne.state,On=kt.expandedKeys,da=kt.keyEntities,xa=Ne.props.onDragStart,pa=Ht.props.eventKey;Ne.dragNode=Ht,Ne.dragStartMousePosition={x:Pt.clientX,y:Pt.clientY};var Ia=(0,Wt._5)(On,pa);Ne.setState({draggingNodeKey:pa,dragChildrenKeys:(0,Wt.wA)(pa,da),indent:Ne.listRef.current.getIndentWidth()}),Ne.setExpandedKeys(Ia),window.addEventListener("dragend",Ne.onWindowDragEnd),xa==null||xa({event:Pt,node:(0,zn.F)(Ht.props)})},Ne.onNodeDragEnter=function(Pt,Ht){var kt=Ne.state,On=kt.expandedKeys,da=kt.keyEntities,xa=kt.dragChildrenKeys,pa=kt.flattenNodes,Ia=kt.indent,rr=Ne.props,wn=rr.onDragEnter,Dt=rr.onExpand,hn=rr.allowDrop,xn=rr.direction,ia=Ht.props,Fa=ia.pos,Xa=ia.eventKey,yr=(0,Ze.Z)(Ne),sr=yr.dragNode;if(Ne.currentMouseOverDroppableNodeKey!==Xa&&(Ne.currentMouseOverDroppableNodeKey=Xa),!sr){Ne.resetDragState();return}var ea=(0,Wt.OM)(Pt,sr,Ht,Ia,Ne.dragStartMousePosition,hn,pa,da,On,xn),ya=ea.dropPosition,Sa=ea.dropLevelOffset,Za=ea.dropTargetKey,dr=ea.dropContainerKey,Hr=ea.dropTargetPos,ro=ea.dropAllowed,Eo=ea.dragOverNodeKey;if(xa.indexOf(Za)!==-1||!ro){Ne.resetDragState();return}if(Ne.delayedDragEnterLogic||(Ne.delayedDragEnterLogic={}),Object.keys(Ne.delayedDragEnterLogic).forEach(function(wo){clearTimeout(Ne.delayedDragEnterLogic[wo])}),sr.props.eventKey!==Ht.props.eventKey&&(Pt.persist(),Ne.delayedDragEnterLogic[Fa]=window.setTimeout(function(){if(Ne.state.draggingNodeKey!==null){var wo=(0,Me.Z)(On),Lo=(0,cn.Z)(da,Ht.props.eventKey);Lo&&(Lo.children||[]).length&&(wo=(0,Wt.L0)(On,Ht.props.eventKey)),"expandedKeys"in Ne.props||Ne.setExpandedKeys(wo),Dt==null||Dt(wo,{node:(0,zn.F)(Ht.props),expanded:!0,nativeEvent:Pt.nativeEvent})}},800)),sr.props.eventKey===Za&&Sa===0){Ne.resetDragState();return}Ne.setState({dragOverNodeKey:Eo,dropPosition:ya,dropLevelOffset:Sa,dropTargetKey:Za,dropContainerKey:dr,dropTargetPos:Hr,dropAllowed:ro}),wn==null||wn({event:Pt,node:(0,zn.F)(Ht.props),expandedKeys:On})},Ne.onNodeDragOver=function(Pt,Ht){var kt=Ne.state,On=kt.dragChildrenKeys,da=kt.flattenNodes,xa=kt.keyEntities,pa=kt.expandedKeys,Ia=kt.indent,rr=Ne.props,wn=rr.onDragOver,Dt=rr.allowDrop,hn=rr.direction,xn=(0,Ze.Z)(Ne),ia=xn.dragNode;if(ia){var Fa=(0,Wt.OM)(Pt,ia,Ht,Ia,Ne.dragStartMousePosition,Dt,da,xa,pa,hn),Xa=Fa.dropPosition,yr=Fa.dropLevelOffset,sr=Fa.dropTargetKey,ea=Fa.dropContainerKey,ya=Fa.dropAllowed,Sa=Fa.dropTargetPos,Za=Fa.dragOverNodeKey;On.indexOf(sr)!==-1||!ya||(ia.props.eventKey===sr&&yr===0?Ne.state.dropPosition===null&&Ne.state.dropLevelOffset===null&&Ne.state.dropTargetKey===null&&Ne.state.dropContainerKey===null&&Ne.state.dropTargetPos===null&&Ne.state.dropAllowed===!1&&Ne.state.dragOverNodeKey===null||Ne.resetDragState():Xa===Ne.state.dropPosition&&yr===Ne.state.dropLevelOffset&&sr===Ne.state.dropTargetKey&&ea===Ne.state.dropContainerKey&&Sa===Ne.state.dropTargetPos&&ya===Ne.state.dropAllowed&&Za===Ne.state.dragOverNodeKey||Ne.setState({dropPosition:Xa,dropLevelOffset:yr,dropTargetKey:sr,dropContainerKey:ea,dropTargetPos:Sa,dropAllowed:ya,dragOverNodeKey:Za}),wn==null||wn({event:Pt,node:(0,zn.F)(Ht.props)}))}},Ne.onNodeDragLeave=function(Pt,Ht){Ne.currentMouseOverDroppableNodeKey===Ht.props.eventKey&&!Pt.currentTarget.contains(Pt.relatedTarget)&&(Ne.resetDragState(),Ne.currentMouseOverDroppableNodeKey=null);var kt=Ne.props.onDragLeave;kt==null||kt({event:Pt,node:(0,zn.F)(Ht.props)})},Ne.onWindowDragEnd=function(Pt){Ne.onNodeDragEnd(Pt,null,!0),window.removeEventListener("dragend",Ne.onWindowDragEnd)},Ne.onNodeDragEnd=function(Pt,Ht){var kt=Ne.props.onDragEnd;Ne.setState({dragOverNodeKey:null}),Ne.cleanDragState(),kt==null||kt({event:Pt,node:(0,zn.F)(Ht.props)}),Ne.dragNode=null,window.removeEventListener("dragend",Ne.onWindowDragEnd)},Ne.onNodeDrop=function(Pt,Ht){var kt,On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,da=Ne.state,xa=da.dragChildrenKeys,pa=da.dropPosition,Ia=da.dropTargetKey,rr=da.dropTargetPos,wn=da.dropAllowed;if(wn){var Dt=Ne.props.onDrop;if(Ne.setState({dragOverNodeKey:null}),Ne.cleanDragState(),Ia!==null){var hn=(0,ze.Z)((0,ze.Z)({},(0,zn.H8)(Ia,Ne.getTreeNodeRequiredProps())),{},{active:((kt=Ne.getActiveItem())===null||kt===void 0?void 0:kt.key)===Ia,data:(0,cn.Z)(Ne.state.keyEntities,Ia).node}),xn=xa.indexOf(Ia)!==-1;(0,y.ZP)(!xn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ia=(0,Wt.yx)(rr),Fa={event:Pt,node:(0,zn.F)(hn),dragNode:Ne.dragNode?(0,zn.F)(Ne.dragNode.props):null,dragNodesKeys:[Ne.dragNode.props.eventKey].concat(xa),dropToGap:pa!==0,dropPosition:pa+Number(ia[ia.length-1])};On||Dt==null||Dt(Fa),Ne.dragNode=null}}},Ne.cleanDragState=function(){var Pt=Ne.state.draggingNodeKey;Pt!==null&&Ne.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Ne.dragStartMousePosition=null,Ne.currentMouseOverDroppableNodeKey=null},Ne.triggerExpandActionExpand=function(Pt,Ht){var kt=Ne.state,On=kt.expandedKeys,da=kt.flattenNodes,xa=Ht.expanded,pa=Ht.key,Ia=Ht.isLeaf;if(!(Ia||Pt.shiftKey||Pt.metaKey||Pt.ctrlKey)){var rr=da.filter(function(Dt){return Dt.key===pa})[0],wn=(0,zn.F)((0,ze.Z)((0,ze.Z)({},(0,zn.H8)(pa,Ne.getTreeNodeRequiredProps())),{},{data:rr.data}));Ne.setExpandedKeys(xa?(0,Wt._5)(On,pa):(0,Wt.L0)(On,pa)),Ne.onNodeExpand(Pt,wn)}},Ne.onNodeClick=function(Pt,Ht){var kt=Ne.props,On=kt.onClick,da=kt.expandAction;da==="click"&&Ne.triggerExpandActionExpand(Pt,Ht),On==null||On(Pt,Ht)},Ne.onNodeDoubleClick=function(Pt,Ht){var kt=Ne.props,On=kt.onDoubleClick,da=kt.expandAction;da==="doubleClick"&&Ne.triggerExpandActionExpand(Pt,Ht),On==null||On(Pt,Ht)},Ne.onNodeSelect=function(Pt,Ht){var kt=Ne.state.selectedKeys,On=Ne.state,da=On.keyEntities,xa=On.fieldNames,pa=Ne.props,Ia=pa.onSelect,rr=pa.multiple,wn=Ht.selected,Dt=Ht[xa.key],hn=!wn;hn?rr?kt=(0,Wt.L0)(kt,Dt):kt=[Dt]:kt=(0,Wt._5)(kt,Dt);var xn=kt.map(function(ia){var Fa=(0,cn.Z)(da,ia);return Fa?Fa.node:null}).filter(function(ia){return ia});Ne.setUncontrolledState({selectedKeys:kt}),Ia==null||Ia(kt,{event:"select",selected:hn,node:Ht,selectedNodes:xn,nativeEvent:Pt.nativeEvent})},Ne.onNodeCheck=function(Pt,Ht,kt){var On=Ne.state,da=On.keyEntities,xa=On.checkedKeys,pa=On.halfCheckedKeys,Ia=Ne.props,rr=Ia.checkStrictly,wn=Ia.onCheck,Dt=Ht.key,hn,xn={event:"check",node:Ht,checked:kt,nativeEvent:Pt.nativeEvent};if(rr){var ia=kt?(0,Wt.L0)(xa,Dt):(0,Wt._5)(xa,Dt),Fa=(0,Wt._5)(pa,Dt);hn={checked:ia,halfChecked:Fa},xn.checkedNodes=ia.map(function(Sa){return(0,cn.Z)(da,Sa)}).filter(function(Sa){return Sa}).map(function(Sa){return Sa.node}),Ne.setUncontrolledState({checkedKeys:ia})}else{var Xa=(0,Fn.S)([].concat((0,Me.Z)(xa),[Dt]),!0,da),yr=Xa.checkedKeys,sr=Xa.halfCheckedKeys;if(!kt){var ea=new Set(yr);ea.delete(Dt);var ya=(0,Fn.S)(Array.from(ea),{checked:!1,halfCheckedKeys:sr},da);yr=ya.checkedKeys,sr=ya.halfCheckedKeys}hn=yr,xn.checkedNodes=[],xn.checkedNodesPositions=[],xn.halfCheckedKeys=sr,yr.forEach(function(Sa){var Za=(0,cn.Z)(da,Sa);if(Za){var dr=Za.node,Hr=Za.pos;xn.checkedNodes.push(dr),xn.checkedNodesPositions.push({node:dr,pos:Hr})}}),Ne.setUncontrolledState({checkedKeys:yr},!1,{halfCheckedKeys:sr})}wn==null||wn(hn,xn)},Ne.onNodeLoad=function(Pt){var Ht=Pt.key,kt=new Promise(function(On,da){Ne.setState(function(xa){var pa=xa.loadedKeys,Ia=pa===void 0?[]:pa,rr=xa.loadingKeys,wn=rr===void 0?[]:rr,Dt=Ne.props,hn=Dt.loadData,xn=Dt.onLoad;if(!hn||Ia.indexOf(Ht)!==-1||wn.indexOf(Ht)!==-1)return null;var ia=hn(Pt);return ia.then(function(){var Fa=Ne.state.loadedKeys,Xa=(0,Wt.L0)(Fa,Ht);xn==null||xn(Xa,{event:"load",node:Pt}),Ne.setUncontrolledState({loadedKeys:Xa}),Ne.setState(function(yr){return{loadingKeys:(0,Wt._5)(yr.loadingKeys,Ht)}}),On()}).catch(function(Fa){if(Ne.setState(function(yr){return{loadingKeys:(0,Wt._5)(yr.loadingKeys,Ht)}}),Ne.loadingRetryTimes[Ht]=(Ne.loadingRetryTimes[Ht]||0)+1,Ne.loadingRetryTimes[Ht]>=$a){var Xa=Ne.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ne.setUncontrolledState({loadedKeys:(0,Wt.L0)(Xa,Ht)}),On()}da(Fa)}),{loadingKeys:(0,Wt.L0)(wn,Ht)}})});return kt.catch(function(){}),kt},Ne.onNodeMouseEnter=function(Pt,Ht){var kt=Ne.props.onMouseEnter;kt==null||kt({event:Pt,node:Ht})},Ne.onNodeMouseLeave=function(Pt,Ht){var kt=Ne.props.onMouseLeave;kt==null||kt({event:Pt,node:Ht})},Ne.onNodeContextMenu=function(Pt,Ht){var kt=Ne.props.onRightClick;kt&&(Pt.preventDefault(),kt({event:Pt,node:Ht}))},Ne.onFocus=function(){var Pt=Ne.props.onFocus;Ne.setState({focused:!0});for(var Ht=arguments.length,kt=new Array(Ht),On=0;On<Ht;On++)kt[On]=arguments[On];Pt==null||Pt.apply(void 0,kt)},Ne.onBlur=function(){var Pt=Ne.props.onBlur;Ne.setState({focused:!1}),Ne.onActiveChange(null);for(var Ht=arguments.length,kt=new Array(Ht),On=0;On<Ht;On++)kt[On]=arguments[On];Pt==null||Pt.apply(void 0,kt)},Ne.getTreeNodeRequiredProps=function(){var Pt=Ne.state,Ht=Pt.expandedKeys,kt=Pt.selectedKeys,On=Pt.loadedKeys,da=Pt.loadingKeys,xa=Pt.checkedKeys,pa=Pt.halfCheckedKeys,Ia=Pt.dragOverNodeKey,rr=Pt.dropPosition,wn=Pt.keyEntities;return{expandedKeys:Ht||[],selectedKeys:kt||[],loadedKeys:On||[],loadingKeys:da||[],checkedKeys:xa||[],halfCheckedKeys:pa||[],dragOverNodeKey:Ia,dropPosition:rr,keyEntities:wn}},Ne.setExpandedKeys=function(Pt){var Ht=Ne.state,kt=Ht.treeData,On=Ht.fieldNames,da=(0,zn.oH)(kt,Pt,On);Ne.setUncontrolledState({expandedKeys:Pt,flattenNodes:da},!0)},Ne.onNodeExpand=function(Pt,Ht){var kt=Ne.state.expandedKeys,On=Ne.state,da=On.listChanging,xa=On.fieldNames,pa=Ne.props,Ia=pa.onExpand,rr=pa.loadData,wn=Ht.expanded,Dt=Ht[xa.key];if(!da){var hn=kt.indexOf(Dt),xn=!wn;if((0,y.ZP)(wn&&hn!==-1||!wn&&hn===-1,"Expand state not sync with index check"),xn?kt=(0,Wt.L0)(kt,Dt):kt=(0,Wt._5)(kt,Dt),Ne.setExpandedKeys(kt),Ia==null||Ia(kt,{node:Ht,expanded:xn,nativeEvent:Pt.nativeEvent}),xn&&rr){var ia=Ne.onNodeLoad(Ht);ia&&ia.then(function(){var Fa=(0,zn.oH)(Ne.state.treeData,kt,xa);Ne.setUncontrolledState({flattenNodes:Fa})}).catch(function(){var Fa=Ne.state.expandedKeys,Xa=(0,Wt._5)(Fa,Dt);Ne.setExpandedKeys(Xa)})}}},Ne.onListChangeStart=function(){Ne.setUncontrolledState({listChanging:!0})},Ne.onListChangeEnd=function(){setTimeout(function(){Ne.setUncontrolledState({listChanging:!1})})},Ne.onActiveChange=function(Pt){var Ht=Ne.state.activeKey,kt=Ne.props.onActiveChange;Ht!==Pt&&(Ne.setState({activeKey:Pt}),Pt!==null&&Ne.scrollTo({key:Pt}),kt==null||kt(Pt))},Ne.getActiveItem=function(){var Pt=Ne.state,Ht=Pt.activeKey,kt=Pt.flattenNodes;return Ht===null?null:kt.find(function(On){var da=On.key;return da===Ht})||null},Ne.offsetActiveKey=function(Pt){var Ht=Ne.state,kt=Ht.flattenNodes,On=Ht.activeKey,da=kt.findIndex(function(Ia){var rr=Ia.key;return rr===On});da===-1&&Pt<0&&(da=kt.length),da=(da+Pt+kt.length)%kt.length;var xa=kt[da];if(xa){var pa=xa.key;Ne.onActiveChange(pa)}else Ne.onActiveChange(null)},Ne.onKeyDown=function(Pt){var Ht=Ne.state,kt=Ht.activeKey,On=Ht.expandedKeys,da=Ht.checkedKeys,xa=Ht.fieldNames,pa=Ne.props,Ia=pa.onKeyDown,rr=pa.checkable,wn=pa.selectable;switch(Pt.which){case ce.UP:{Ne.offsetActiveKey(-1),Pt.preventDefault();break}case ce.DOWN:{Ne.offsetActiveKey(1),Pt.preventDefault();break}}var Dt=Ne.getActiveItem();if(Dt&&Dt.data){var hn=Ne.getTreeNodeRequiredProps(),xn=Dt.data.isLeaf===!1||!!(Dt.data[xa.children]||[]).length,ia=(0,zn.F)((0,ze.Z)((0,ze.Z)({},(0,zn.H8)(kt,hn)),{},{data:Dt.data,active:!0}));switch(Pt.which){case ce.LEFT:{xn&&On.includes(kt)?Ne.onNodeExpand({},ia):Dt.parent&&Ne.onActiveChange(Dt.parent.key),Pt.preventDefault();break}case ce.RIGHT:{xn&&!On.includes(kt)?Ne.onNodeExpand({},ia):Dt.children&&Dt.children.length&&Ne.onActiveChange(Dt.children[0].key),Pt.preventDefault();break}case ce.ENTER:case ce.SPACE:{rr&&!ia.disabled&&ia.checkable!==!1&&!ia.disableCheckbox?Ne.onNodeCheck({},ia,!da.includes(kt)):!rr&&wn&&!ia.disabled&&ia.selectable!==!1&&Ne.onNodeSelect({},ia);break}}}Ia==null||Ia(Pt)},Ne.setUncontrolledState=function(Pt){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ne.destroyed){var On=!1,da=!0,xa={};Object.keys(Pt).forEach(function(pa){if(pa in Ne.props){da=!1;return}On=!0,xa[pa]=Pt[pa]}),On&&(!Ht||da)&&Ne.setState((0,ze.Z)((0,ze.Z)({},xa),kt))}},Ne.scrollTo=function(Pt){Ne.listRef.current.scrollTo(Pt)},Ne}return(0,se.Z)(Xt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ut=this.props.activeKey;Ut!==void 0&&Ut!==this.state.activeKey&&(this.setState({activeKey:Ut}),Ut!==null&&this.scrollTo({key:Ut}))}},{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 Ut,Dn=this.state,An=Dn.focused,Pt=Dn.flattenNodes,Ht=Dn.keyEntities,kt=Dn.draggingNodeKey,On=Dn.activeKey,da=Dn.dropLevelOffset,xa=Dn.dropContainerKey,pa=Dn.dropTargetKey,Ia=Dn.dropPosition,rr=Dn.dragOverNodeKey,wn=Dn.indent,Dt=this.props,hn=Dt.prefixCls,xn=Dt.className,ia=Dt.style,Fa=Dt.showLine,Xa=Dt.focusable,yr=Dt.tabIndex,sr=yr===void 0?0:yr,ea=Dt.selectable,ya=Dt.showIcon,Sa=Dt.icon,Za=Dt.switcherIcon,dr=Dt.draggable,Hr=Dt.checkable,ro=Dt.checkStrictly,Eo=Dt.disabled,wo=Dt.motion,Lo=Dt.loadData,Oi=Dt.filterTreeNode,xl=Dt.height,Wl=Dt.itemHeight,Rl=Dt.virtual,Sl=Dt.titleRender,Li=Dt.dropIndicatorRender,is=Dt.onContextMenu,Ul=Dt.onScroll,ls=Dt.direction,zs=Dt.rootClassName,kl=Dt.rootStyle,Hs=(0,a.Z)(this.props,{aria:!0,data:!0}),Vl;return dr&&((0,Re.Z)(dr)==="object"?Vl=dr:typeof dr=="function"?Vl={nodeDraggable:dr}:Vl={}),x.createElement(b.k.Provider,{value:{prefixCls:hn,selectable:ea,showIcon:ya,icon:Sa,switcherIcon:Za,draggable:Vl,draggingNodeKey:kt,checkable:Hr,checkStrictly:ro,disabled:Eo,keyEntities:Ht,dropLevelOffset:da,dropContainerKey:xa,dropTargetKey:pa,dropPosition:Ia,dragOverNodeKey:rr,indent:wn,direction:ls,dropIndicatorRender:Li,loadData:Lo,filterTreeNode:Oi,titleRender:Sl,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()(hn,xn,zs,(Ut={},(0,me.Z)(Ut,"".concat(hn,"-show-line"),Fa),(0,me.Z)(Ut,"".concat(hn,"-focused"),An),(0,me.Z)(Ut,"".concat(hn,"-active-focused"),On!==null),Ut)),style:kl},x.createElement($n,(0,ae.Z)({ref:this.listRef,prefixCls:hn,style:ia,data:Pt,disabled:Eo,selectable:ea,checkable:!!Hr,motion:wo,dragging:kt!==null,height:xl,itemHeight:Wl,virtual:Rl,focusable:Xa,focused:An,tabIndex:sr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:is,onScroll:Ul},this.getTreeNodeRequiredProps(),Hs))))}}],[{key:"getDerivedStateFromProps",value:function(Ut,Dn){var An=Dn.prevProps,Pt={prevProps:Ut};function Ht(Xa){return!An&&Xa in Ut||An&&An[Xa]!==Ut[Xa]}var kt,On=Dn.fieldNames;if(Ht("fieldNames")&&(On=(0,zn.w$)(Ut.fieldNames),Pt.fieldNames=On),Ht("treeData")?kt=Ut.treeData:Ht("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),kt=(0,zn.zn)(Ut.children)),kt){Pt.treeData=kt;var da=(0,zn.I8)(kt,{fieldNames:On});Pt.keyEntities=(0,ze.Z)((0,me.Z)({},Ma,Mn),da.keyEntities)}var xa=Pt.keyEntities||Dn.keyEntities;if(Ht("expandedKeys")||An&&Ht("autoExpandParent"))Pt.expandedKeys=Ut.autoExpandParent||!An&&Ut.defaultExpandParent?(0,Wt.r7)(Ut.expandedKeys,xa):Ut.expandedKeys;else if(!An&&Ut.defaultExpandAll){var pa=(0,ze.Z)({},xa);delete pa[Ma],Pt.expandedKeys=Object.keys(pa).map(function(Xa){return pa[Xa].key})}else!An&&Ut.defaultExpandedKeys&&(Pt.expandedKeys=Ut.autoExpandParent||Ut.defaultExpandParent?(0,Wt.r7)(Ut.defaultExpandedKeys,xa):Ut.defaultExpandedKeys);if(Pt.expandedKeys||delete Pt.expandedKeys,kt||Pt.expandedKeys){var Ia=(0,zn.oH)(kt||Dn.treeData,Pt.expandedKeys||Dn.expandedKeys,On);Pt.flattenNodes=Ia}if(Ut.selectable&&(Ht("selectedKeys")?Pt.selectedKeys=(0,Wt.BT)(Ut.selectedKeys,Ut):!An&&Ut.defaultSelectedKeys&&(Pt.selectedKeys=(0,Wt.BT)(Ut.defaultSelectedKeys,Ut))),Ut.checkable){var rr;if(Ht("checkedKeys")?rr=(0,Wt.E6)(Ut.checkedKeys)||{}:!An&&Ut.defaultCheckedKeys?rr=(0,Wt.E6)(Ut.defaultCheckedKeys)||{}:kt&&(rr=(0,Wt.E6)(Ut.checkedKeys)||{checkedKeys:Dn.checkedKeys,halfCheckedKeys:Dn.halfCheckedKeys}),rr){var wn=rr,Dt=wn.checkedKeys,hn=Dt===void 0?[]:Dt,xn=wn.halfCheckedKeys,ia=xn===void 0?[]:xn;if(!Ut.checkStrictly){var Fa=(0,Fn.S)(hn,!0,xa);hn=Fa.checkedKeys,ia=Fa.halfCheckedKeys}Pt.checkedKeys=hn,Pt.halfCheckedKeys=ia}}return Ht("loadedKeys")&&(Pt.loadedKeys=Ut.loadedKeys),Pt}}]),Xt}(x.Component);Aa.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},Aa.TreeNode=Oa.Z;var cr=Aa,zr=cr,co=ee(73148),fn=ee(56747),Bi={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"},ei=Bi,qr=ee(74643),Yo=function(At,Xt){return x.createElement(qr.Z,(0,ae.Z)({},At,{ref:Xt,icon:ei}))},In=x.forwardRef(Yo),va=ee(53124),Va=ee(50881),Vn=ee(33603),Wr=ee(32157);const _r=4;function ti(vt){const{dropPosition:At,dropLevelOffset:Xt,prefixCls:Ne,indent:Ut,direction:Dn="ltr"}=vt,An=Dn==="ltr"?"left":"right",Pt=Dn==="ltr"?"right":"left",Ht={[An]:-Xt*Ut+_r,[Pt]:0};switch(At){case-1:Ht.top=-3;break;case 1:Ht.bottom=-3;break;default:Ht.bottom=-3,Ht[An]=Ut+_r;break}return x.createElement("div",{style:Ht,className:`${Ne}-drop-indicator`})}var ni=ee(99184),bl=x.forwardRef((vt,At)=>{const{getPrefixCls:Xt,direction:Ne,virtual:Ut,tree:Dn}=x.useContext(va.E_),{prefixCls:An,className:Pt,showIcon:Ht=!1,showLine:kt,switcherIcon:On,blockNode:da=!1,children:xa,checkable:pa=!1,selectable:Ia=!0,draggable:rr,motion:wn,style:Dt}=vt,hn=Xt("tree",An),xn=Xt(),ia=wn!=null?wn:Object.assign(Object.assign({},(0,Vn.Z)(xn)),{motionAppear:!1}),Fa=Object.assign(Object.assign({},vt),{checkable:pa,selectable:Ia,showIcon:Ht,motion:ia,blockNode:da,showLine:!!kt,dropIndicatorRender:ti}),[Xa,yr]=(0,Wr.ZP)(hn),sr=x.useMemo(()=>{if(!rr)return!1;let ya={};switch(typeof rr){case"function":ya.nodeDraggable=rr;break;case"object":ya=Object.assign({},rr);break;default:break}return ya.icon!==!1&&(ya.icon=ya.icon||x.createElement(Va.Z,null)),ya},[rr]),ea=ya=>x.createElement(ni.Z,{prefixCls:hn,switcherIcon:On,treeNodeProps:ya,showLine:kt});return Xa(x.createElement(zr,Object.assign({itemHeight:20,ref:At,virtual:Ut},Fa,{style:Object.assign(Object.assign({},Dn==null?void 0:Dn.style),Dt),prefixCls:hn,className:je()({[`${hn}-icon-hide`]:!Ht,[`${hn}-block-node`]:da,[`${hn}-unselectable`]:!Ia,[`${hn}-rtl`]:Ne==="rtl"},Dn==null?void 0:Dn.className,Pt,yr),direction:Ne,checkable:pa&&x.createElement("span",{className:`${hn}-checkbox-inner`}),selectable:Ia,switcherIcon:ea,draggable:sr}),xa))}),yi;(function(vt){vt[vt.None=0]="None",vt[vt.Start=1]="Start",vt[vt.End=2]="End"})(yi||(yi={}));function jl(vt,At){function Xt(Ne){const{key:Ut,children:Dn}=Ne;At(Ut,Ne)!==!1&&jl(Dn||[],At)}vt.forEach(Xt)}function $l(vt){let{treeData:At,expandedKeys:Xt,startKey:Ne,endKey:Ut}=vt;const Dn=[];let An=yi.None;if(Ne&&Ne===Ut)return[Ne];if(!Ne||!Ut)return[];function Pt(Ht){return Ht===Ne||Ht===Ut}return jl(At,Ht=>{if(An===yi.End)return!1;if(Pt(Ht)){if(Dn.push(Ht),An===yi.None)An=yi.Start;else if(An===yi.Start)return An=yi.End,!1}else An===yi.Start&&Dn.push(Ht);return Xt.includes(Ht)}),Dn}function wi(vt,At){const Xt=(0,Me.Z)(At),Ne=[];return jl(vt,(Ut,Dn)=>{const An=Xt.indexOf(Ut);return An!==-1&&(Ne.push(Dn),Xt.splice(An,1)),!!Xt.length}),Ne}var Xo=function(vt,At){var Xt={};for(var Ne in vt)Object.prototype.hasOwnProperty.call(vt,Ne)&&At.indexOf(Ne)<0&&(Xt[Ne]=vt[Ne]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Ne=Object.getOwnPropertySymbols(vt);Ut<Ne.length;Ut++)At.indexOf(Ne[Ut])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ne[Ut])&&(Xt[Ne[Ut]]=vt[Ne[Ut]]);return Xt};function hl(vt){const{isLeaf:At,expanded:Xt}=vt;return At?x.createElement(co.Z,null):Xt?x.createElement(fn.Z,null):x.createElement(In,null)}function Cl(vt){let{treeData:At,children:Xt}=vt;return At||(0,zn.zn)(Xt)}const Fl=(vt,At)=>{var{defaultExpandAll:Xt,defaultExpandParent:Ne,defaultExpandedKeys:Ut}=vt,Dn=Xo(vt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const An=x.useRef(),Pt=x.useRef(),Ht=()=>{const{keyEntities:sr}=(0,zn.I8)(Cl(Dn));let ea;return Xt?ea=Object.keys(sr):Ne?ea=(0,Wt.r7)(Dn.expandedKeys||Ut||[],sr):ea=Dn.expandedKeys||Ut,ea},[kt,On]=x.useState(Dn.selectedKeys||Dn.defaultSelectedKeys||[]),[da,xa]=x.useState(()=>Ht());x.useEffect(()=>{"selectedKeys"in Dn&&On(Dn.selectedKeys)},[Dn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in Dn&&xa(Dn.expandedKeys)},[Dn.expandedKeys]);const pa=(sr,ea)=>{var ya;return"expandedKeys"in Dn||xa(sr),(ya=Dn.onExpand)===null||ya===void 0?void 0:ya.call(Dn,sr,ea)},Ia=(sr,ea)=>{var ya;const{multiple:Sa}=Dn,{node:Za,nativeEvent:dr}=ea,{key:Hr=""}=Za,ro=Cl(Dn),Eo=Object.assign(Object.assign({},ea),{selected:!0}),wo=(dr==null?void 0:dr.ctrlKey)||(dr==null?void 0:dr.metaKey),Lo=dr==null?void 0:dr.shiftKey;let Oi;Sa&&wo?(Oi=sr,An.current=Hr,Pt.current=Oi,Eo.selectedNodes=wi(ro,Oi)):Sa&&Lo?(Oi=Array.from(new Set([].concat((0,Me.Z)(Pt.current||[]),(0,Me.Z)($l({treeData:ro,expandedKeys:da,startKey:Hr,endKey:An.current}))))),Eo.selectedNodes=wi(ro,Oi)):(Oi=[Hr],An.current=Hr,Pt.current=Oi,Eo.selectedNodes=wi(ro,Oi)),(ya=Dn.onSelect)===null||ya===void 0||ya.call(Dn,Oi,Eo),"selectedKeys"in Dn||On(Oi)},{getPrefixCls:rr,direction:wn}=x.useContext(va.E_),{prefixCls:Dt,className:hn,showIcon:xn=!0,expandAction:ia="click"}=Dn,Fa=Xo(Dn,["prefixCls","className","showIcon","expandAction"]),Xa=rr("tree",Dt),yr=je()(`${Xa}-directory`,{[`${Xa}-directory-rtl`]:wn==="rtl"},hn);return x.createElement(bl,Object.assign({icon:hl,ref:At,blockNode:!0},Fa,{showIcon:xn,expandAction:ia,prefixCls:Xa,className:yr,expandedKeys:da,selectedKeys:kt,onSelect:Ia,onExpand:pa}))};var ki=x.forwardRef(Fl);const pl=bl;pl.DirectoryTree=ki,pl.TreeNode=Oa.Z;var kr=pl},32157:function(ht,Et,ee){"use strict";ee.d(Et,{TM:function(){return Le},Yk:function(){return je}});var ae=ee(45930),me=ee(63185),Re=ee(14747),ze=ee(33507),Me=ee(45503),Te=ee(67968);const se=new ae.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ze=(ce,a)=>({[`.${ce}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),Ke=(ce,a)=>({[`.${ce}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),He=(ce,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:re}=a,oe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,Re.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,Re.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:se,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,Re.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},Ze(ce,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:E,margin:0,lineHeight:`${E}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:E/2*.8,height:E/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:E,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${E}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:z},[`${y}-iconEle`]:{display:"inline-block",width:E,height:E,lineHeight:`${E}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${E}px`,userSelect:"none"},Ke(ce,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${E/2}px !important`}}}}})}},_e=ce=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=ce;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ce.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ce.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ce.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:E,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:E},[`${a}-node-content-wrapper`]:{color:E,background:"transparent"}}}}}},je=(ce,a)=>{const y=`.${ce}`,x=`${y}-treenode`,b=a.paddingXS/2,E=(0,Me.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[He(ce,E),_e(E)]},Le=ce=>{const{controlHeightSM:a}=ce;return{titleHeight:a,nodeHoverBg:ce.controlItemBgHover,nodeSelectedBg:ce.controlItemBgActive}};Et.ZP=(0,Te.Z)("Tree",(ce,a)=>{let{prefixCls:y}=a;return[{[ce.componentCls]:(0,me.C2)(`${y}-checkbox`,ce)},je(y,ce),(0,ze.Z)(ce)]},ce=>{const{colorTextLightSolid:a,colorPrimary:y}=ce;return Object.assign(Object.assign({},Le(ce)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return y}});var ae=ee(87462),me=ee(67294),Re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},ze=Re,Me=ee(74643),Te=function(b,E){return me.createElement(Me.Z,(0,ae.Z)({},b,{ref:E,icon:ze}))},se=me.forwardRef(Te),Ze=ee(73148),Ke=ee(3407),He=ee(34182),_e=ee(74664),je=ee(94184),Le=ee.n(je),ce=ee(96159),y=x=>{const{prefixCls:b,switcherIcon:E,treeNodeProps:z,showLine:re}=x,{isLeaf:oe,expanded:ne,loading:fe}=z;if(fe)return me.createElement(Ke.Z,{className:`${b}-switcher-loading-icon`});let pe;if(re&&typeof re=="object"&&(pe=re.showLeafIcon),oe){if(!re)return null;if(typeof pe!="boolean"&&pe){const Ee=typeof pe=="function"?pe(z):pe,Se=`${b}-switcher-line-custom-icon`;return(0,ce.l$)(Ee)?(0,ce.Tm)(Ee,{className:Le()(Ee.props.className||"",Se)}):Ee}return pe?me.createElement(Ze.Z,{className:`${b}-switcher-line-icon`}):me.createElement("span",{className:`${b}-switcher-leaf-line`})}const ye=`${b}-switcher-icon`,Ce=typeof E=="function"?E(z):E;return(0,ce.l$)(Ce)?(0,ce.Tm)(Ce,{className:Le()(Ce.props.className||"",ye)}):Ce!==void 0?Ce:re?ne?me.createElement(He.Z,{className:`${b}-switcher-line-icon`}):me.createElement(_e.Z,{className:`${b}-switcher-line-icon`}):me.createElement(se,{className:ye})}},59810:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return no}});var ae=ee(67294),me=ee(74902),Re=ee(94184),ze=ee.n(Re),Me=ee(87462),Te=ee(15671),se=ee(43144),Ze=ee(60136),Ke=ee(51630),He=ee(4942),_e=ee(45987),je=ee(74165),Le=ee(71002),ce=ee(15861),a=ee(64217);function y(rt,qt){var jt="cannot ".concat(rt.method," ").concat(rt.action," ").concat(qt.status,"'"),Jt=new Error(jt);return Jt.status=qt.status,Jt.method=rt.method,Jt.url=rt.action,Jt}function x(rt){var qt=rt.responseText||rt.response;if(!qt)return qt;try{return JSON.parse(qt)}catch(jt){return qt}}function b(rt){var qt=new XMLHttpRequest;rt.onProgress&&qt.upload&&(qt.upload.onprogress=function(Wt){Wt.total>0&&(Wt.percent=Wt.loaded/Wt.total*100),rt.onProgress(Wt)});var jt=new FormData;rt.data&&Object.keys(rt.data).forEach(function($n){var Wt=rt.data[$n];if(Array.isArray(Wt)){Wt.forEach(function(Fn){jt.append("".concat($n,"[]"),Fn)});return}jt.append($n,Wt)}),rt.file instanceof Blob?jt.append(rt.filename,rt.file,rt.file.name):jt.append(rt.filename,rt.file),qt.onerror=function(Wt){rt.onError(Wt)},qt.onload=function(){return qt.status<200||qt.status>=300?rt.onError(y(rt,qt),x(qt)):rt.onSuccess(x(qt),qt)},qt.open(rt.method,rt.action,!0),rt.withCredentials&&"withCredentials"in qt&&(qt.withCredentials=!0);var Jt=rt.headers||{};return Jt["X-Requested-With"]!==null&&qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Jt).forEach(function($n){Jt[$n]!==null&&qt.setRequestHeader($n,Jt[$n])}),qt.send(jt),{abort:function(){qt.abort()}}}var E=+new Date,z=0;function re(){return"rc-upload-".concat(E,"-").concat(++z)}var oe=ee(80334),ne=function(rt,qt){if(rt&&qt){var jt=Array.isArray(qt)?qt:qt.split(","),Jt=rt.name||"",$n=rt.type||"",Wt=$n.replace(/\/.*$/,"");return jt.some(function(Fn){var cn=Fn.trim();if(/^\*(\/\*)?$/.test(Fn))return!0;if(cn.charAt(0)==="."){var $a=Jt.toLowerCase(),Aa=cn.toLowerCase(),cr=[Aa];return(Aa===".jpg"||Aa===".jpeg")&&(cr=[".jpg",".jpeg"]),cr.some(function(zr){return $a.endsWith(zr)})}return/\/\*$/.test(cn)?Wt===cn.replace(/\/.*$/,""):$n===cn?!0:/^\w+$/.test(cn)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(cn,"'.Skip for check.")),!0):!1})}return!0};function fe(rt,qt){var jt=rt.createReader(),Jt=[];function $n(){jt.readEntries(function(Wt){var Fn=Array.prototype.slice.apply(Wt);Jt=Jt.concat(Fn);var cn=!Fn.length;cn?qt(Jt):$n()})}$n()}var pe=function(qt,jt,Jt){var $n=function Wt(Fn,cn){Fn&&(Fn.path=cn||"",Fn.isFile?Fn.file(function($a){Jt($a)&&(Fn.fullPath&&!$a.webkitRelativePath&&(Object.defineProperties($a,{webkitRelativePath:{writable:!0}}),$a.webkitRelativePath=Fn.fullPath.replace(/^\//,""),Object.defineProperties($a,{webkitRelativePath:{writable:!1}})),jt([$a]))}):Fn.isDirectory&&fe(Fn,function($a){$a.forEach(function(Aa){Wt(Aa,"".concat(cn).concat(Fn.name,"/"))})}))};qt.forEach(function(Wt){$n(Wt.webkitGetAsEntry())})},ye=pe,Ce=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ee=function(rt){(0,Ze.Z)(jt,rt);var qt=(0,Ke.Z)(jt);function jt(){var Jt;(0,Te.Z)(this,jt);for(var $n=arguments.length,Wt=new Array($n),Fn=0;Fn<$n;Fn++)Wt[Fn]=arguments[Fn];return Jt=qt.call.apply(qt,[this].concat(Wt)),Jt.state={uid:re()},Jt.reqs={},Jt.fileInput=void 0,Jt._isMounted=void 0,Jt.onChange=function(cn){var $a=Jt.props,Aa=$a.accept,cr=$a.directory,zr=cn.target.files,co=(0,me.Z)(zr).filter(function(fn){return!cr||ne(fn,Aa)});Jt.uploadFiles(co),Jt.reset()},Jt.onClick=function(cn){var $a=Jt.fileInput;if($a){var Aa=Jt.props,cr=Aa.children,zr=Aa.onClick;if(cr&&cr.type==="button"){var co=$a.parentNode;co.focus(),co.querySelector("button").blur()}$a.click(),zr&&zr(cn)}},Jt.onKeyDown=function(cn){cn.key==="Enter"&&Jt.onClick(cn)},Jt.onFileDrop=function(cn){var $a=Jt.props.multiple;if(cn.preventDefault(),cn.type!=="dragover")if(Jt.props.directory)ye(Array.prototype.slice.call(cn.dataTransfer.items),Jt.uploadFiles,function(cr){return ne(cr,Jt.props.accept)});else{var Aa=(0,me.Z)(cn.dataTransfer.files).filter(function(cr){return ne(cr,Jt.props.accept)});$a===!1&&(Aa=Aa.slice(0,1)),Jt.uploadFiles(Aa)}},Jt.uploadFiles=function(cn){var $a=(0,me.Z)(cn),Aa=$a.map(function(cr){return cr.uid=re(),Jt.processFile(cr,$a)});Promise.all(Aa).then(function(cr){var zr=Jt.props.onBatchStart;zr==null||zr(cr.map(function(co){var fn=co.origin,Bi=co.parsedFile;return{file:fn,parsedFile:Bi}})),cr.filter(function(co){return co.parsedFile!==null}).forEach(function(co){Jt.post(co)})})},Jt.processFile=function(){var cn=(0,ce.Z)((0,je.Z)().mark(function $a(Aa,cr){var zr,co,fn,Bi,ei,qr,Yo,In,va;return(0,je.Z)().wrap(function(Vn){for(;;)switch(Vn.prev=Vn.next){case 0:if(zr=Jt.props.beforeUpload,co=Aa,!zr){Vn.next=14;break}return Vn.prev=3,Vn.next=6,zr(Aa,cr);case 6:co=Vn.sent,Vn.next=12;break;case 9:Vn.prev=9,Vn.t0=Vn.catch(3),co=!1;case 12:if(co!==!1){Vn.next=14;break}return Vn.abrupt("return",{origin:Aa,parsedFile:null,action:null,data:null});case 14:if(fn=Jt.props.action,typeof fn!="function"){Vn.next=21;break}return Vn.next=18,fn(Aa);case 18:Bi=Vn.sent,Vn.next=22;break;case 21:Bi=fn;case 22:if(ei=Jt.props.data,typeof ei!="function"){Vn.next=29;break}return Vn.next=26,ei(Aa);case 26:qr=Vn.sent,Vn.next=30;break;case 29:qr=ei;case 30:return Yo=((0,Le.Z)(co)==="object"||typeof co=="string")&&co?co:Aa,Yo instanceof File?In=Yo:In=new File([Yo],Aa.name,{type:Aa.type}),va=In,va.uid=Aa.uid,Vn.abrupt("return",{origin:Aa,data:qr,parsedFile:va,action:Bi});case 35:case"end":return Vn.stop()}},$a,null,[[3,9]])}));return function($a,Aa){return cn.apply(this,arguments)}}(),Jt.saveFileInput=function(cn){Jt.fileInput=cn},Jt}return(0,se.Z)(jt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function($n){var Wt=this,Fn=$n.data,cn=$n.origin,$a=$n.action,Aa=$n.parsedFile;if(this._isMounted){var cr=this.props,zr=cr.onStart,co=cr.customRequest,fn=cr.name,Bi=cr.headers,ei=cr.withCredentials,qr=cr.method,Yo=cn.uid,In=co||b,va={action:$a,filename:fn,data:Fn,file:Aa,headers:Bi,withCredentials:ei,method:qr||"post",onProgress:function(Vn){var Wr=Wt.props.onProgress;Wr==null||Wr(Vn,Aa)},onSuccess:function(Vn,Wr){var _r=Wt.props.onSuccess;_r==null||_r(Vn,Aa,Wr),delete Wt.reqs[Yo]},onError:function(Vn,Wr){var _r=Wt.props.onError;_r==null||_r(Vn,Wr,Aa),delete Wt.reqs[Yo]}};zr(cn),this.reqs[Yo]=In(va)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function($n){var Wt=this.reqs;if($n){var Fn=$n.uid?$n.uid:$n;Wt[Fn]&&Wt[Fn].abort&&Wt[Fn].abort(),delete Wt[Fn]}else Object.keys(Wt).forEach(function(cn){Wt[cn]&&Wt[cn].abort&&Wt[cn].abort(),delete Wt[cn]})}},{key:"render",value:function(){var $n,Wt=this.props,Fn=Wt.component,cn=Wt.prefixCls,$a=Wt.className,Aa=Wt.disabled,cr=Wt.id,zr=Wt.style,co=Wt.multiple,fn=Wt.accept,Bi=Wt.capture,ei=Wt.children,qr=Wt.directory,Yo=Wt.openFileDialogOnClick,In=Wt.onMouseEnter,va=Wt.onMouseLeave,Va=(0,_e.Z)(Wt,Ce),Vn=ze()(($n={},(0,He.Z)($n,cn,!0),(0,He.Z)($n,"".concat(cn,"-disabled"),Aa),(0,He.Z)($n,$a,$a),$n)),Wr=qr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},_r=Aa?{}:{onClick:Yo?this.onClick:function(){},onKeyDown:Yo?this.onKeyDown:function(){},onMouseEnter:In,onMouseLeave:va,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ae.createElement(Fn,(0,Me.Z)({},_r,{className:Vn,role:"button",style:zr}),ae.createElement("input",(0,Me.Z)({},(0,a.Z)(Va,{aria:!0,data:!0}),{id:cr,disabled:Aa,type:"file",ref:this.saveFileInput,onClick:function(ni){return ni.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:fn},Wr,{multiple:co,onChange:this.onChange},Bi!=null?{capture:Bi}:{})),ei)}}]),jt}(ae.Component),Se=Ee;function gt(){}var Ye=function(rt){(0,Ze.Z)(jt,rt);var qt=(0,Ke.Z)(jt);function jt(){var Jt;(0,Te.Z)(this,jt);for(var $n=arguments.length,Wt=new Array($n),Fn=0;Fn<$n;Fn++)Wt[Fn]=arguments[Fn];return Jt=qt.call.apply(qt,[this].concat(Wt)),Jt.uploader=void 0,Jt.saveUploader=function(cn){Jt.uploader=cn},Jt}return(0,se.Z)(jt,[{key:"abort",value:function($n){this.uploader.abort($n)}},{key:"render",value:function(){return ae.createElement(Se,(0,Me.Z)({},this.props,{ref:this.saveUploader}))}}]),jt}(ae.Component);Ye.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:gt,onError:gt,onSuccess:gt,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var It=Ye,Ue=It,ft=ee(5663),Tt=ee(73935),Qt=ee(53124),wt=ee(98866),dt=ee(10110),Gt=ee(24457),an={icon:function(qt,jt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:jt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:qt}}]}},name:"file",theme:"twotone"},pn=an,$e=ee(74643),Ct=function(qt,jt){return ae.createElement($e.Z,(0,Me.Z)({},qt,{ref:jt,icon:pn}))},Bt=ae.forwardRef(Ct),Tn=ee(3407),it={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Mt=it,xe=function(qt,jt){return ae.createElement($e.Z,(0,Me.Z)({},qt,{ref:jt,icon:Mt}))},Sn=ae.forwardRef(xe),Wn={icon:function(qt,jt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:qt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:jt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:jt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:jt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:qt}}]}},name:"picture",theme:"twotone"},Ca=Wn,yn=function(qt,jt){return ae.createElement($e.Z,(0,Me.Z)({},qt,{ref:jt,icon:Ca}))},Yt=ae.forwardRef(yn),Ge=ee(38379),Fe=ee(57838),pt=ee(33603),zt=ee(96159),en=ee(71577);function En(rt){return Object.assign(Object.assign({},rt),{lastModified:rt.lastModified,lastModifiedDate:rt.lastModifiedDate,name:rt.name,size:rt.size,type:rt.type,uid:rt.uid,percent:0,originFileObj:rt})}function kn(rt,qt){const jt=(0,me.Z)(qt),Jt=jt.findIndex($n=>{let{uid:Wt}=$n;return Wt===rt.uid});return Jt===-1?jt.push(rt):jt[Jt]=rt,jt}function _n(rt,qt){const jt=rt.uid!==void 0?"uid":"name";return qt.filter(Jt=>Jt[jt]===rt[jt])[0]}function Gn(rt,qt){const jt=rt.uid!==void 0?"uid":"name",Jt=qt.filter($n=>$n[jt]!==rt[jt]);return Jt.length===qt.length?null:Jt}const nn=function(){const qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Jt=qt[qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Jt)||[""])[0]},we=rt=>rt.indexOf("image/")===0,Qe=rt=>{if(rt.type&&!rt.thumbUrl)return we(rt.type);const qt=rt.thumbUrl||rt.url||"",jt=nn(qt);return/^data:image\//.test(qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(jt)?!0:!(/^data:/.test(qt)||jt)},Qn=200;function Kn(rt){return new Promise(qt=>{if(!rt.type||!we(rt.type)){qt("");return}const jt=document.createElement("canvas");jt.width=Qn,jt.height=Qn,jt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Qn}px; height: ${Qn}px; z-index: 9999; display: none;`,document.body.appendChild(jt);const Jt=jt.getContext("2d"),$n=new Image;if($n.onload=()=>{const{width:Wt,height:Fn}=$n;let cn=Qn,$a=Qn,Aa=0,cr=0;Wt>Fn?($a=Fn*(Qn/Wt),cr=-($a-cn)/2):(cn=Wt*(Qn/Fn),Aa=-(cn-$a)/2),Jt.drawImage($n,Aa,cr,cn,$a);const zr=jt.toDataURL();document.body.removeChild(jt),window.URL.revokeObjectURL($n.src),qt(zr)},$n.crossOrigin="anonymous",rt.type.startsWith("image/svg+xml")){const Wt=new FileReader;Wt.onload=()=>{Wt.result&&($n.src=Wt.result)},Wt.readAsDataURL(rt)}else if(rt.type.startsWith("image/gif")){const Wt=new FileReader;Wt.onload=()=>{Wt.result&&qt(Wt.result)},Wt.readAsDataURL(rt)}else $n.src=window.URL.createObjectURL(rt)})}var lt=ee(84249),tn=ee(90674),We=ee(99569),ut=ee(38703),Ft=ee(83062),Rt=ae.forwardRef((rt,qt)=>{let{prefixCls:jt,className:Jt,style:$n,locale:Wt,listType:Fn,file:cn,items:$a,progress:Aa,iconRender:cr,actionIconRender:zr,itemRender:co,isImgUrl:fn,showPreviewIcon:Bi,showRemoveIcon:ei,showDownloadIcon:qr,previewIcon:Yo,removeIcon:In,downloadIcon:va,onPreview:Va,onDownload:Vn,onClose:Wr}=rt;var _r,ti;const{status:ni}=cn,[ai,bl]=ae.useState(ni);ae.useEffect(()=>{ni!=="removed"&&bl(ni)},[ni]);const[yi,jl]=ae.useState(!1);ae.useEffect(()=>{const Pt=setTimeout(()=>{jl(!0)},300);return()=>{clearTimeout(Pt)}},[]);const $l=cr(cn);let wi=ae.createElement("div",{className:`${jt}-icon`},$l);if(Fn==="picture"||Fn==="picture-card"||Fn==="picture-circle")if(ai==="uploading"||!cn.thumbUrl&&!cn.url){const Pt=ze()(`${jt}-list-item-thumbnail`,{[`${jt}-list-item-file`]:ai!=="uploading"});wi=ae.createElement("div",{className:Pt},$l)}else{const Pt=fn!=null&&fn(cn)?ae.createElement("img",{src:cn.thumbUrl||cn.url,alt:cn.name,className:`${jt}-list-item-image`,crossOrigin:cn.crossOrigin}):$l,Ht=ze()(`${jt}-list-item-thumbnail`,{[`${jt}-list-item-file`]:fn&&!fn(cn)});wi=ae.createElement("a",{className:Ht,onClick:kt=>Va(cn,kt),href:cn.url||cn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pt)}const Xo=ze()(`${jt}-list-item`,`${jt}-list-item-${ai}`),hl=typeof cn.linkProps=="string"?JSON.parse(cn.linkProps):cn.linkProps,Cl=ei?zr((typeof In=="function"?In(cn):In)||ae.createElement(lt.Z,null),()=>Wr(cn),jt,Wt.removeFile):null,Fl=qr&&ai==="done"?zr((typeof va=="function"?va(cn):va)||ae.createElement(tn.Z,null),()=>Vn(cn),jt,Wt.downloadFile):null,tl=Fn!=="picture-card"&&Fn!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:ze()(`${jt}-list-item-actions`,{picture:Fn==="picture"})},Fl,Cl),ki=ze()(`${jt}-list-item-name`),pl=cn.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ki,title:cn.name},hl,{href:cn.url,onClick:Pt=>Va(cn,Pt)}),cn.name),tl]:[ae.createElement("span",{key:"view",className:ki,onClick:Pt=>Va(cn,Pt),title:cn.name},cn.name),tl],kr={pointerEvents:"none",opacity:.5},vt=Bi?ae.createElement("a",{href:cn.url||cn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:cn.url||cn.thumbUrl?void 0:kr,onClick:Pt=>Va(cn,Pt),title:Wt.previewFile},typeof Yo=="function"?Yo(cn):Yo||ae.createElement(We.Z,null)):null,At=(Fn==="picture-card"||Fn==="picture-circle")&&ai!=="uploading"&&ae.createElement("span",{className:`${jt}-list-item-actions`},vt,ai==="done"&&Fl,Cl),{getPrefixCls:Xt}=ae.useContext(Qt.E_),Ne=Xt(),Ut=ae.createElement("div",{className:Xo},wi,pl,At,yi&&ae.createElement(Ge.default,{motionName:`${Ne}-fade`,visible:ai==="uploading",motionDeadline:2e3},Pt=>{let{className:Ht}=Pt;const kt="percent"in cn?ae.createElement(ut.Z,Object.assign({},Aa,{type:"line",percent:cn.percent,"aria-label":cn["aria-label"],"aria-labelledby":cn["aria-labelledby"]})):null;return ae.createElement("div",{className:ze()(`${jt}-list-item-progress`,Ht)},kt)})),Dn=cn.response&&typeof cn.response=="string"?cn.response:((_r=cn.error)===null||_r===void 0?void 0:_r.statusText)||((ti=cn.error)===null||ti===void 0?void 0:ti.message)||Wt.uploadError,An=ai==="error"?ae.createElement(Ft.Z,{title:Dn,getPopupContainer:Pt=>Pt.parentNode},Ut):Ut;return ae.createElement("div",{className:ze()(`${jt}-list-item-container`,Jt),style:$n,ref:qt},co?co(An,cn,$a,{download:Vn.bind(null,cn),preview:Va.bind(null,cn),remove:Wr.bind(null,cn)}):An)});const bn=(rt,qt)=>{const{listType:jt="text",previewFile:Jt=Kn,onPreview:$n,onDownload:Wt,onRemove:Fn,locale:cn,iconRender:$a,isImageUrl:Aa=Qe,prefixCls:cr,items:zr=[],showPreviewIcon:co=!0,showRemoveIcon:fn=!0,showDownloadIcon:Bi=!1,removeIcon:ei,previewIcon:qr,downloadIcon:Yo,progress:In={size:[-1,2],showInfo:!1},appendAction:va,appendActionVisible:Va=!0,itemRender:Vn,disabled:Wr}=rt,_r=(0,Fe.Z)(),[ti,ni]=ae.useState(!1);ae.useEffect(()=>{jt!=="picture"&&jt!=="picture-card"&&jt!=="picture-circle"||(zr||[]).forEach(kr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(kr.originFileObj instanceof File||kr.originFileObj instanceof Blob)||kr.thumbUrl!==void 0||(kr.thumbUrl="",Jt&&Jt(kr.originFileObj).then(vt=>{kr.thumbUrl=vt||"",_r()}))})},[jt,zr,Jt]),ae.useEffect(()=>{ni(!0)},[]);const ai=(kr,vt)=>{if($n)return vt==null||vt.preventDefault(),$n(kr)},bl=kr=>{typeof Wt=="function"?Wt(kr):kr.url&&window.open(kr.url)},yi=kr=>{Fn==null||Fn(kr)},jl=kr=>{if($a)return $a(kr,jt);const vt=kr.status==="uploading",At=Aa&&Aa(kr)?ae.createElement(Yt,null):ae.createElement(Bt,null);let Xt=vt?ae.createElement(Tn.Z,null):ae.createElement(Sn,null);return jt==="picture"?Xt=vt?ae.createElement(Tn.Z,null):At:(jt==="picture-card"||jt==="picture-circle")&&(Xt=vt?cn.uploading:At),Xt},$l=(kr,vt,At,Xt)=>{const Ne={type:"text",size:"small",title:Xt,onClick:Ut=>{vt(),(0,zt.l$)(kr)&&kr.props.onClick&&kr.props.onClick(Ut)},className:`${At}-list-item-action`,disabled:Wr};if((0,zt.l$)(kr)){const Ut=(0,zt.Tm)(kr,Object.assign(Object.assign({},kr.props),{onClick:()=>{}}));return ae.createElement(en.ZP,Object.assign({},Ne,{icon:Ut}))}return ae.createElement(en.ZP,Object.assign({},Ne),ae.createElement("span",null,kr))};ae.useImperativeHandle(qt,()=>({handlePreview:ai,handleDownload:bl}));const{getPrefixCls:wi}=ae.useContext(Qt.E_),Xo=wi("upload",cr),hl=wi(),Cl=ze()(`${Xo}-list`,`${Xo}-list-${jt}`),Fl=(0,me.Z)(zr.map(kr=>({key:kr.uid,file:kr})));let ki={motionDeadline:2e3,motionName:`${Xo}-${jt==="picture-card"||jt==="picture-circle"?"animate-inline":"animate"}`,keys:Fl,motionAppear:ti};const pl=ae.useMemo(()=>{const kr=Object.assign({},(0,pt.Z)(hl));return delete kr.onAppearEnd,delete kr.onEnterEnd,delete kr.onLeaveEnd,kr},[hl]);return jt!=="picture-card"&&jt!=="picture-circle"&&(ki=Object.assign(Object.assign({},pl),ki)),ae.createElement("div",{className:Cl},ae.createElement(Ge.CSSMotionList,Object.assign({},ki,{component:!1}),kr=>{let{key:vt,file:At,className:Xt,style:Ne}=kr;return ae.createElement(Rt,{key:vt,locale:cn,prefixCls:Xo,className:Xt,style:Ne,file:At,items:zr,progress:In,listType:jt,isImgUrl:Aa,showPreviewIcon:co,showRemoveIcon:fn,showDownloadIcon:Bi,removeIcon:ei,previewIcon:qr,downloadIcon:Yo,iconRender:jl,actionIconRender:$l,itemRender:Vn,onPreview:ai,onDownload:bl,onClose:yi})}),va&&ae.createElement(Ge.default,Object.assign({},ki,{visible:Va,forceRender:!0}),kr=>{let{className:vt,style:At}=kr;return(0,zt.Tm)(va,Xt=>({className:ze()(Xt.className,vt),style:Object.assign(Object.assign(Object.assign({},At),{pointerEvents:vt?"none":void 0}),Xt.style)}))}))};var Yn=ae.forwardRef(bn),jn=ee(14747),Ga=ee(33507),oa=ee(67968),Ka=ee(45503),Tr=rt=>{const{componentCls:qt,iconCls:jt}=rt;return{[`${qt}-wrapper`]:{[`${qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:rt.colorFillAlter,border:`${rt.lineWidth}px dashed ${rt.colorBorder}`,borderRadius:rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${rt.motionDurationSlow}`,[qt]:{padding:`${rt.padding}px 0`},[`${qt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${qt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${qt}-disabled):hover`]:{borderColor:rt.colorPrimaryHover},[`p${qt}-drag-icon`]:{marginBottom:rt.margin,[jt]:{color:rt.colorPrimary,fontSize:rt.uploadThumbnailSize}},[`p${qt}-text`]:{margin:`0 0 ${rt.marginXXS}px`,color:rt.colorTextHeading,fontSize:rt.fontSizeLG},[`p${qt}-hint`]:{color:rt.colorTextDescription,fontSize:rt.fontSize},[`&${qt}-disabled`]:{cursor:"not-allowed",[`p${qt}-drag-icon ${jt},
p${qt}-text,
p${qt}-hint
`]:{color:rt.colorTextDisabled}}}}}},Rr=rt=>{const{componentCls:qt,antCls:jt,iconCls:Jt,fontSize:$n,lineHeight:Wt}=rt,Fn=`${qt}-list-item`,cn=`${Fn}-actions`,$a=`${Fn}-action`,Aa=Math.round($n*Wt);return{[`${qt}-wrapper`]:{[`${qt}-list`]:Object.assign(Object.assign({},(0,jn.dF)()),{lineHeight:rt.lineHeight,[Fn]:{position:"relative",height:rt.lineHeight*$n,marginTop:rt.marginXS,fontSize:$n,display:"flex",alignItems:"center",transition:`background-color ${rt.motionDurationSlow}`,"&:hover":{backgroundColor:rt.controlItemBgHover},[`${Fn}-name`]:Object.assign(Object.assign({},jn.vS),{padding:`0 ${rt.paddingXS}px`,lineHeight:Wt,flex:"auto",transition:`all ${rt.motionDurationSlow}`}),[cn]:{[$a]:{opacity:0},[`${$a}${jt}-btn-sm`]:{height:Aa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${$a}:focus-visible,
&.picture ${$a}
`]:{opacity:1},[Jt]:{color:rt.actionsColor,transition:`all ${rt.motionDurationSlow}`},[`&:hover ${Jt}`]:{color:rt.colorText}},[`${qt}-icon ${Jt}`]:{color:rt.colorTextDescription,fontSize:$n},[`${Fn}-progress`]:{position:"absolute",bottom:-rt.uploadProgressOffset,width:"100%",paddingInlineStart:$n+rt.paddingXS,fontSize:$n,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Fn}:hover ${$a}`]:{opacity:1,color:rt.colorText},[`${Fn}-error`]:{color:rt.colorError,[`${Fn}-name, ${qt}-icon ${Jt}`]:{color:rt.colorError},[cn]:{[`${Jt}, ${Jt}:hover`]:{color:rt.colorError},[$a]:{opacity:1}}},[`${qt}-list-item-container`]:{transition:`opacity ${rt.motionDurationSlow}, height ${rt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Br=ee(45930),to=ee(16932);const lo=new Br.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),gr=new Br.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Zn=rt=>{const{componentCls:qt}=rt,jt=`${qt}-animate-inline`;return[{[`${qt}-wrapper`]:{[`${jt}-appear, ${jt}-enter, ${jt}-leave`]:{animationDuration:rt.motionDurationSlow,animationTimingFunction:rt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${jt}-appear, ${jt}-enter`]:{animationName:lo},[`${jt}-leave`]:{animationName:gr}}},{[`${qt}-wrapper`]:(0,to.J$)(rt)},lo,gr]},Ln=ee(47448),Nn=ee(84780);const Oa=rt=>{const{componentCls:qt,iconCls:jt,uploadThumbnailSize:Jt,uploadProgressOffset:$n}=rt,Wt=`${qt}-list`,Fn=`${Wt}-item`;return{[`${qt}-wrapper`]:{[`
${Wt}${Wt}-picture,
${Wt}${Wt}-picture-card,
${Wt}${Wt}-picture-circle
`]:{[Fn]:{position:"relative",height:Jt+rt.lineWidth*2+rt.paddingXS*2,padding:rt.paddingXS,border:`${rt.lineWidth}px ${rt.lineType} ${rt.colorBorder}`,borderRadius:rt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Fn}-thumbnail`]:Object.assign(Object.assign({},jn.vS),{width:Jt,height:Jt,lineHeight:`${Jt+rt.paddingSM}px`,textAlign:"center",flex:"none",[jt]:{fontSize:rt.fontSizeHeading2,color:rt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Fn}-progress`]:{bottom:$n,width:`calc(100% - ${rt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Jt+rt.paddingXS}},[`${Fn}-error`]:{borderColor:rt.colorError,[`${Fn}-thumbnail ${jt}`]:{[`svg path[fill='${Ln.blue[0]}']`]:{fill:rt.colorErrorBg},[`svg path[fill='${Ln.blue.primary}']`]:{fill:rt.colorError}}},[`${Fn}-uploading`]:{borderStyle:"dashed",[`${Fn}-name`]:{marginBottom:$n}}},[`${Wt}${Wt}-picture-circle ${Fn}`]:{[`&, &::before, ${Fn}-thumbnail`]:{borderRadius:"50%"}}}}},Ar=rt=>{const{componentCls:qt,iconCls:jt,fontSizeLG:Jt,colorTextLightSolid:$n}=rt,Wt=`${qt}-list`,Fn=`${Wt}-item`,cn=rt.uploadPicCardSize;return{[`
${qt}-wrapper${qt}-picture-card-wrapper,
${qt}-wrapper${qt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,jn.dF)()),{display:"inline-block",width:"100%",[`${qt}${qt}-select`]:{width:cn,height:cn,marginInlineEnd:rt.marginXS,marginBottom:rt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:rt.colorFillAlter,border:`${rt.lineWidth}px dashed ${rt.colorBorder}`,borderRadius:rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${rt.motionDurationSlow}`,[`> ${qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${qt}-disabled):hover`]:{borderColor:rt.colorPrimary}},[`${Wt}${Wt}-picture-card, ${Wt}${Wt}-picture-circle`]:{[`${Wt}-item-container`]:{display:"inline-block",width:cn,height:cn,marginBlock:`0 ${rt.marginXS}px`,marginInline:`0 ${rt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Fn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${rt.paddingXS*2}px)`,height:`calc(100% - ${rt.paddingXS*2}px)`,backgroundColor:rt.colorBgMask,opacity:0,transition:`all ${rt.motionDurationSlow}`,content:'" "'}},[`${Fn}:hover`]:{[`&::before, ${Fn}-actions`]:{opacity:1}},[`${Fn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${rt.motionDurationSlow}`,[`${jt}-eye, ${jt}-download, ${jt}-delete`]:{zIndex:10,width:Jt,margin:`0 ${rt.marginXXS}px`,fontSize:Jt,cursor:"pointer",transition:`all ${rt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Fn}-actions, ${Fn}-actions:hover`]:{[`${jt}-eye, ${jt}-download, ${jt}-delete`]:{color:new Nn.C($n).setAlpha(.65).toRgbString(),"&:hover":{color:$n}}},[`${Fn}-thumbnail, ${Fn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Fn}-name`]:{display:"none",textAlign:"center"},[`${Fn}-file + ${Fn}-name`]:{position:"absolute",bottom:rt.margin,display:"block",width:`calc(100% - ${rt.paddingXS*2}px)`},[`${Fn}-uploading`]:{[`&${Fn}`]:{backgroundColor:rt.colorFillAlter},[`&::before, ${jt}-eye, ${jt}-download, ${jt}-delete`]:{display:"none"}},[`${Fn}-progress`]:{bottom:rt.marginXL,width:`calc(100% - ${rt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${qt}-wrapper${qt}-picture-circle-wrapper`]:{[`${qt}${qt}-select`]:{borderRadius:"50%"}}}};var et=rt=>{const{componentCls:qt}=rt;return{[`${qt}-rtl`]:{direction:"rtl"}}};const st=rt=>{const{componentCls:qt,colorTextDisabled:jt}=rt;return{[`${qt}-wrapper`]:Object.assign(Object.assign({},(0,jn.Wf)(rt)),{[qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${qt}-select`]:{display:"inline-block"},[`${qt}-disabled`]:{color:jt,cursor:"not-allowed"}})}};var Ve=(0,oa.Z)("Upload",rt=>{const{fontSizeHeading3:qt,fontSize:jt,lineHeight:Jt,lineWidth:$n,controlHeightLG:Wt}=rt,Fn=Math.round(jt*Jt),cn=(0,Ka.TS)(rt,{uploadThumbnailSize:qt*2,uploadProgressOffset:Fn/2+$n,uploadPicCardSize:Wt*2.55});return[st(cn),Tr(cn),Oa(cn),Ar(cn),Rr(cn),Zn(cn),et(cn),(0,Ga.Z)(cn)]},rt=>({actionsColor:rt.colorTextDescription})),Kt=function(rt,qt,jt,Jt){function $n(Wt){return Wt instanceof jt?Wt:new jt(function(Fn){Fn(Wt)})}return new(jt||(jt=Promise))(function(Wt,Fn){function cn(cr){try{Aa(Jt.next(cr))}catch(zr){Fn(zr)}}function $a(cr){try{Aa(Jt.throw(cr))}catch(zr){Fn(zr)}}function Aa(cr){cr.done?Wt(cr.value):$n(cr.value).then(cn,$a)}Aa((Jt=Jt.apply(rt,qt||[])).next())})};const Cn=`__LIST_IGNORE_${Date.now()}__`,Jn=(rt,qt)=>{const{fileList:jt,defaultFileList:Jt,onRemove:$n,showUploadList:Wt=!0,listType:Fn="text",onPreview:cn,onDownload:$a,onChange:Aa,onDrop:cr,previewFile:zr,disabled:co,locale:fn,iconRender:Bi,isImageUrl:ei,progress:qr,prefixCls:Yo,className:In,type:va="select",children:Va,style:Vn,itemRender:Wr,maxCount:_r,data:ti={},multiple:ni=!1,action:ai="",accept:bl="",supportServerRender:yi=!0,rootClassName:jl}=rt,$l=ae.useContext(wt.Z),wi=co!=null?co:$l,[Xo,hl]=(0,ft.Z)(Jt||[],{value:jt,postState:ea=>ea!=null?ea:[]}),[Cl,Fl]=ae.useState("drop"),tl=ae.useRef(null);ae.useMemo(()=>{const ea=Date.now();(jt||[]).forEach((ya,Sa)=>{!ya.uid&&!Object.isFrozen(ya)&&(ya.uid=`__AUTO__${ea}_${Sa}__`)})},[jt]);const ki=(ea,ya,Sa)=>{let Za=(0,me.Z)(ya),dr=!1;_r===1?Za=Za.slice(-1):_r&&(dr=Za.length>_r,Za=Za.slice(0,_r)),(0,Tt.flushSync)(()=>{hl(Za)});const Hr={file:ea,fileList:Za};Sa&&(Hr.event=Sa),(!dr||Za.some(ro=>ro.uid===ea.uid))&&(0,Tt.flushSync)(()=>{Aa==null||Aa(Hr)})},pl=(ea,ya)=>Kt(void 0,void 0,void 0,function*(){const{beforeUpload:Sa,transformFile:Za}=rt;let dr=ea;if(Sa){const Hr=yield Sa(ea,ya);if(Hr===!1)return!1;if(delete ea[Cn],Hr===Cn)return Object.defineProperty(ea,Cn,{value:!0,configurable:!0}),!1;typeof Hr=="object"&&Hr&&(dr=Hr)}return Za&&(dr=yield Za(dr)),dr}),kr=ea=>{const ya=ea.filter(dr=>!dr.file[Cn]);if(!ya.length)return;const Sa=ya.map(dr=>En(dr.file));let Za=(0,me.Z)(Xo);Sa.forEach(dr=>{Za=kn(dr,Za)}),Sa.forEach((dr,Hr)=>{let ro=dr;if(ya[Hr].parsedFile)dr.status="uploading";else{const{originFileObj:Eo}=dr;let wo;try{wo=new File([Eo],Eo.name,{type:Eo.type})}catch(Lo){wo=new Blob([Eo],{type:Eo.type}),wo.name=Eo.name,wo.lastModifiedDate=new Date,wo.lastModified=new Date().getTime()}wo.uid=dr.uid,ro=wo}ki(ro,Za)})},vt=(ea,ya,Sa)=>{try{typeof ea=="string"&&(ea=JSON.parse(ea))}catch(Hr){}if(!_n(ya,Xo))return;const Za=En(ya);Za.status="done",Za.percent=100,Za.response=ea,Za.xhr=Sa;const dr=kn(Za,Xo);ki(Za,dr)},At=(ea,ya)=>{if(!_n(ya,Xo))return;const Sa=En(ya);Sa.status="uploading",Sa.percent=ea.percent;const Za=kn(Sa,Xo);ki(Sa,Za,ea)},Xt=(ea,ya,Sa)=>{if(!_n(Sa,Xo))return;const Za=En(Sa);Za.error=ea,Za.response=ya,Za.status="error";const dr=kn(Za,Xo);ki(Za,dr)},Ne=ea=>{let ya;Promise.resolve(typeof $n=="function"?$n(ea):$n).then(Sa=>{var Za;if(Sa===!1)return;const dr=Gn(ea,Xo);dr&&(ya=Object.assign(Object.assign({},ea),{status:"removed"}),Xo==null||Xo.forEach(Hr=>{const ro=ya.uid!==void 0?"uid":"name";Hr[ro]===ya[ro]&&!Object.isFrozen(Hr)&&(Hr.status="removed")}),(Za=tl.current)===null||Za===void 0||Za.abort(ya),ki(ya,dr))})},Ut=ea=>{Fl(ea.type),ea.type==="drop"&&(cr==null||cr(ea))};ae.useImperativeHandle(qt,()=>({onBatchStart:kr,onSuccess:vt,onProgress:At,onError:Xt,fileList:Xo,upload:tl.current}));const{getPrefixCls:Dn,direction:An,upload:Pt}=ae.useContext(Qt.E_),Ht=Dn("upload",Yo),kt=Object.assign(Object.assign({onBatchStart:kr,onError:Xt,onProgress:At,onSuccess:vt},rt),{data:ti,multiple:ni,action:ai,accept:bl,supportServerRender:yi,prefixCls:Ht,disabled:wi,beforeUpload:pl,onChange:void 0});delete kt.className,delete kt.style,(!Va||wi)&&delete kt.id;const[On,da]=Ve(Ht),[xa]=(0,dt.Z)("Upload",Gt.Z.Upload),{showRemoveIcon:pa,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:wn,previewIcon:Dt,downloadIcon:hn}=typeof Wt=="boolean"?{}:Wt,xn=(ea,ya)=>Wt?ae.createElement(Yn,{prefixCls:Ht,listType:Fn,items:Xo,previewFile:zr,onPreview:cn,onDownload:$a,onRemove:Ne,showRemoveIcon:!wi&&pa,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:wn,previewIcon:Dt,downloadIcon:hn,iconRender:Bi,locale:Object.assign(Object.assign({},xa),fn),isImageUrl:ei,progress:qr,appendAction:ea,appendActionVisible:ya,itemRender:Wr,disabled:wi}):ea,ia=ze()(`${Ht}-wrapper`,In,jl,da,Pt==null?void 0:Pt.className,{[`${Ht}-rtl`]:An==="rtl",[`${Ht}-picture-card-wrapper`]:Fn==="picture-card",[`${Ht}-picture-circle-wrapper`]:Fn==="picture-circle"}),Fa=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),Vn);if(va==="drag"){const ea=ze()(da,Ht,`${Ht}-drag`,{[`${Ht}-drag-uploading`]:Xo.some(ya=>ya.status==="uploading"),[`${Ht}-drag-hover`]:Cl==="dragover",[`${Ht}-disabled`]:wi,[`${Ht}-rtl`]:An==="rtl"});return On(ae.createElement("span",{className:ia},ae.createElement("div",{className:ea,style:Fa,onDrop:Ut,onDragOver:Ut,onDragLeave:Ut},ae.createElement(Ue,Object.assign({},kt,{ref:tl,className:`${Ht}-btn`}),ae.createElement("div",{className:`${Ht}-drag-container`},Va))),xn()))}const Xa=ze()(Ht,`${Ht}-select`,{[`${Ht}-disabled`]:wi}),sr=(ea=>ae.createElement("div",{className:Xa,style:ea},ae.createElement(Ue,Object.assign({},kt,{ref:tl}))))(Va?void 0:{display:"none"});return On(Fn==="picture-card"||Fn==="picture-circle"?ae.createElement("span",{className:ia},xn(sr,!!Va)):ae.createElement("span",{className:ia},sr,xn()))};var ua=ae.forwardRef(Jn),Un=function(rt,qt){var jt={};for(var Jt in rt)Object.prototype.hasOwnProperty.call(rt,Jt)&&qt.indexOf(Jt)<0&&(jt[Jt]=rt[Jt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $n=0,Jt=Object.getOwnPropertySymbols(rt);$n<Jt.length;$n++)qt.indexOf(Jt[$n])<0&&Object.prototype.propertyIsEnumerable.call(rt,Jt[$n])&&(jt[Jt[$n]]=rt[Jt[$n]]);return jt},ho=ae.forwardRef((rt,qt)=>{var{style:jt,height:Jt}=rt,$n=Un(rt,["style","height"]);return ae.createElement(ua,Object.assign({ref:qt},$n,{type:"drag",style:Object.assign(Object.assign({},jt),{height:Jt})}))});const Mn=ua;Mn.Dragger=ho,Mn.LIST_IGNORE=Cn;var no=Mn},97909:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";var Et=1e3,ee=6e4,ae=36e5,me="millisecond",Re="second",ze="minute",Me="hour",Te="day",se="week",Ze="month",Ke="quarter",He="year",_e="date",je="Invalid Date",Le=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ce=/\[([^\]]+)]|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,a={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(Ce){var Ee=["th","st","nd","rd"],Se=Ce%100;return"["+Ce+(Ee[(Se-20)%10]||Ee[Se]||Ee[0])+"]"}},y=function(Ce,Ee,Se){var gt=String(Ce);return!gt||gt.length>=Ee?Ce:""+Array(Ee+1-gt.length).join(Se)+Ce},x={s:y,z:function(Ce){var Ee=-Ce.utcOffset(),Se=Math.abs(Ee),gt=Math.floor(Se/60),Ye=Se%60;return(Ee<=0?"+":"-")+y(gt,2,"0")+":"+y(Ye,2,"0")},m:function Ce(Ee,Se){if(Ee.date()<Se.date())return-Ce(Se,Ee);var gt=12*(Se.year()-Ee.year())+(Se.month()-Ee.month()),Ye=Ee.clone().add(gt,Ze),It=Se-Ye<0,Ue=Ee.clone().add(gt+(It?-1:1),Ze);return+(-(gt+(Se-Ye)/(It?Ye-Ue:Ue-Ye))||0)},a:function(Ce){return Ce<0?Math.ceil(Ce)||0:Math.floor(Ce)},p:function(Ce){return{M:Ze,y:He,w:se,d:Te,D:_e,h:Me,m:ze,s:Re,ms:me,Q:Ke}[Ce]||String(Ce||"").toLowerCase().replace(/s$/,"")},u:function(Ce){return Ce===void 0}},b="en",E={};E[b]=a;var z="$isDayjsObject",re=function(Ce){return Ce instanceof pe||!(!Ce||!Ce[z])},oe=function Ce(Ee,Se,gt){var Ye;if(!Ee)return b;if(typeof Ee=="string"){var It=Ee.toLowerCase();E[It]&&(Ye=It),Se&&(E[It]=Se,Ye=It);var Ue=Ee.split("-");if(!Ye&&Ue.length>1)return Ce(Ue[0])}else{var ft=Ee.name;E[ft]=Ee,Ye=ft}return!gt&&Ye&&(b=Ye),Ye||!gt&&b},ne=function(Ce,Ee){if(re(Ce))return Ce.clone();var Se=typeof Ee=="object"?Ee:{};return Se.date=Ce,Se.args=arguments,new pe(Se)},fe=x;fe.l=oe,fe.i=re,fe.w=function(Ce,Ee){return ne(Ce,{locale:Ee.$L,utc:Ee.$u,x:Ee.$x,$offset:Ee.$offset})};var pe=function(){function Ce(Se){this.$L=oe(Se.locale,null,!0),this.parse(Se),this.$x=this.$x||Se.x||{},this[z]=!0}var Ee=Ce.prototype;return Ee.parse=function(Se){this.$d=function(gt){var Ye=gt.date,It=gt.utc;if(Ye===null)return new Date(NaN);if(fe.u(Ye))return new Date;if(Ye instanceof Date)return new Date(Ye);if(typeof Ye=="string"&&!/Z$/i.test(Ye)){var Ue=Ye.match(Le);if(Ue){var ft=Ue[2]-1||0,Tt=(Ue[7]||"0").substring(0,3);return It?new Date(Date.UTC(Ue[1],ft,Ue[3]||1,Ue[4]||0,Ue[5]||0,Ue[6]||0,Tt)):new Date(Ue[1],ft,Ue[3]||1,Ue[4]||0,Ue[5]||0,Ue[6]||0,Tt)}}return new Date(Ye)}(Se),this.init()},Ee.init=function(){var Se=this.$d;this.$y=Se.getFullYear(),this.$M=Se.getMonth(),this.$D=Se.getDate(),this.$W=Se.getDay(),this.$H=Se.getHours(),this.$m=Se.getMinutes(),this.$s=Se.getSeconds(),this.$ms=Se.getMilliseconds()},Ee.$utils=function(){return fe},Ee.isValid=function(){return this.$d.toString()!==je},Ee.isSame=function(Se,gt){var Ye=ne(Se);return this.startOf(gt)<=Ye&&Ye<=this.endOf(gt)},Ee.isAfter=function(Se,gt){return ne(Se)<this.startOf(gt)},Ee.isBefore=function(Se,gt){return this.endOf(gt)<ne(Se)},Ee.$g=function(Se,gt,Ye){return fe.u(Se)?this[gt]:this.set(Ye,Se)},Ee.unix=function(){return Math.floor(this.valueOf()/1e3)},Ee.valueOf=function(){return this.$d.getTime()},Ee.startOf=function(Se,gt){var Ye=this,It=!!fe.u(gt)||gt,Ue=fe.p(Se),ft=function($e,Ct){var Bt=fe.w(Ye.$u?Date.UTC(Ye.$y,Ct,$e):new Date(Ye.$y,Ct,$e),Ye);return It?Bt:Bt.endOf(Te)},Tt=function($e,Ct){return fe.w(Ye.toDate()[$e].apply(Ye.toDate("s"),(It?[0,0,0,0]:[23,59,59,999]).slice(Ct)),Ye)},Qt=this.$W,wt=this.$M,dt=this.$D,Gt="set"+(this.$u?"UTC":"");switch(Ue){case He:return It?ft(1,0):ft(31,11);case Ze:return It?ft(1,wt):ft(0,wt+1);case se:var an=this.$locale().weekStart||0,pn=(Qt<an?Qt+7:Qt)-an;return ft(It?dt-pn:dt+(6-pn),wt);case Te:case _e:return Tt(Gt+"Hours",0);case Me:return Tt(Gt+"Minutes",1);case ze:return Tt(Gt+"Seconds",2);case Re:return Tt(Gt+"Milliseconds",3);default:return this.clone()}},Ee.endOf=function(Se){return this.startOf(Se,!1)},Ee.$set=function(Se,gt){var Ye,It=fe.p(Se),Ue="set"+(this.$u?"UTC":""),ft=(Ye={},Ye[Te]=Ue+"Date",Ye[_e]=Ue+"Date",Ye[Ze]=Ue+"Month",Ye[He]=Ue+"FullYear",Ye[Me]=Ue+"Hours",Ye[ze]=Ue+"Minutes",Ye[Re]=Ue+"Seconds",Ye[me]=Ue+"Milliseconds",Ye)[It],Tt=It===Te?this.$D+(gt-this.$W):gt;if(It===Ze||It===He){var Qt=this.clone().set(_e,1);Qt.$d[ft](Tt),Qt.init(),this.$d=Qt.set(_e,Math.min(this.$D,Qt.daysInMonth())).$d}else ft&&this.$d[ft](Tt);return this.init(),this},Ee.set=function(Se,gt){return this.clone().$set(Se,gt)},Ee.get=function(Se){return this[fe.p(Se)]()},Ee.add=function(Se,gt){var Ye,It=this;Se=Number(Se);var Ue=fe.p(gt),ft=function(wt){var dt=ne(It);return fe.w(dt.date(dt.date()+Math.round(wt*Se)),It)};if(Ue===Ze)return this.set(Ze,this.$M+Se);if(Ue===He)return this.set(He,this.$y+Se);if(Ue===Te)return ft(1);if(Ue===se)return ft(7);var Tt=(Ye={},Ye[ze]=ee,Ye[Me]=ae,Ye[Re]=Et,Ye)[Ue]||1,Qt=this.$d.getTime()+Se*Tt;return fe.w(Qt,this)},Ee.subtract=function(Se,gt){return this.add(-1*Se,gt)},Ee.format=function(Se){var gt=this,Ye=this.$locale();if(!this.isValid())return Ye.invalidDate||je;var It=Se||"YYYY-MM-DDTHH:mm:ssZ",Ue=fe.z(this),ft=this.$H,Tt=this.$m,Qt=this.$M,wt=Ye.weekdays,dt=Ye.months,Gt=Ye.meridiem,an=function(Ct,Bt,Tn,it){return Ct&&(Ct[Bt]||Ct(gt,It))||Tn[Bt].slice(0,it)},pn=function(Ct){return fe.s(ft%12||12,Ct,"0")},$e=Gt||function(Ct,Bt,Tn){var it=Ct<12?"AM":"PM";return Tn?it.toLowerCase():it};return It.replace(ce,function(Ct,Bt){return Bt||function(Tn){switch(Tn){case"YY":return String(gt.$y).slice(-2);case"YYYY":return fe.s(gt.$y,4,"0");case"M":return Qt+1;case"MM":return fe.s(Qt+1,2,"0");case"MMM":return an(Ye.monthsShort,Qt,dt,3);case"MMMM":return an(dt,Qt);case"D":return gt.$D;case"DD":return fe.s(gt.$D,2,"0");case"d":return String(gt.$W);case"dd":return an(Ye.weekdaysMin,gt.$W,wt,2);case"ddd":return an(Ye.weekdaysShort,gt.$W,wt,3);case"dddd":return wt[gt.$W];case"H":return String(ft);case"HH":return fe.s(ft,2,"0");case"h":return pn(1);case"hh":return pn(2);case"a":return $e(ft,Tt,!0);case"A":return $e(ft,Tt,!1);case"m":return String(Tt);case"mm":return fe.s(Tt,2,"0");case"s":return String(gt.$s);case"ss":return fe.s(gt.$s,2,"0");case"SSS":return fe.s(gt.$ms,3,"0");case"Z":return Ue}return null}(Ct)||Ue.replace(":","")})},Ee.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ee.diff=function(Se,gt,Ye){var It,Ue=this,ft=fe.p(gt),Tt=ne(Se),Qt=(Tt.utcOffset()-this.utcOffset())*ee,wt=this-Tt,dt=function(){return fe.m(Ue,Tt)};switch(ft){case He:It=dt()/12;break;case Ze:It=dt();break;case Ke:It=dt()/3;break;case se:It=(wt-Qt)/6048e5;break;case Te:It=(wt-Qt)/864e5;break;case Me:It=wt/ae;break;case ze:It=wt/ee;break;case Re:It=wt/Et;break;default:It=wt}return Ye?It:fe.a(It)},Ee.daysInMonth=function(){return this.endOf(Ze).$D},Ee.$locale=function(){return E[this.$L]},Ee.locale=function(Se,gt){if(!Se)return this.$L;var Ye=this.clone(),It=oe(Se,gt,!0);return It&&(Ye.$L=It),Ye},Ee.clone=function(){return fe.w(this.$d,this)},Ee.toDate=function(){return new Date(this.valueOf())},Ee.toJSON=function(){return this.isValid()?this.toISOString():null},Ee.toISOString=function(){return this.$d.toISOString()},Ee.toString=function(){return this.$d.toUTCString()},Ce}(),ye=pe.prototype;return ne.prototype=ye,[["$ms",me],["$s",Re],["$m",ze],["$H",Me],["$W",Te],["$M",Ze],["$y",He],["$D",_e]].forEach(function(Ce){ye[Ce[1]]=function(Ee){return this.$g(Ee,Ce[0],Ce[1])}}),ne.extend=function(Ce,Ee){return Ce.$i||(Ce(Ee,pe,ne),Ce.$i=!0),ne},ne.locale=oe,ne.isDayjs=re,ne.unix=function(Ce){return ne(1e3*Ce)},ne.en=E[b],ne.Ls=E,ne.p={},ne})},86625:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";return function(Et,ee){var ae=ee.prototype,me=ae.format;ae.format=function(Re){var ze=this,Me=this.$locale();if(!this.isValid())return me.bind(this)(Re);var Te=this.$utils(),se=(Re||"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((ze.$M+1)/3);case"Do":return Me.ordinal(ze.$D);case"gggg":return ze.weekYear();case"GGGG":return ze.isoWeekYear();case"wo":return Me.ordinal(ze.week(),"W");case"w":case"ww":return Te.s(ze.week(),Ze==="w"?1:2,"0");case"W":case"WW":return Te.s(ze.isoWeek(),Ze==="W"?1:2,"0");case"k":case"kk":return Te.s(String(ze.$H===0?24:ze.$H),Ze==="k"?1:2,"0");case"X":return Math.floor(ze.$d.getTime()/1e3);case"x":return ze.$d.getTime();case"z":return"["+ze.offsetName()+"]";case"zzz":return"["+ze.offsetName("long")+"]";default:return Ze}});return me.bind(this)(se)}}})},40618:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";var Et={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ee=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ae=/\d\d/,me=/\d\d?/,Re=/\d*[^-_:/,()\s\d]+/,ze={},Me=function(je){return(je=+je)+(je>68?1900:2e3)},Te=function(je){return function(Le){this[je]=+Le}},se=[/[+-]\d\d:?(\d\d)?|Z/,function(je){(this.zone||(this.zone={})).offset=function(Le){if(!Le||Le==="Z")return 0;var ce=Le.match(/([+-]|\d\d)/g),a=60*ce[1]+(+ce[2]||0);return a===0?0:ce[0]==="+"?-a:a}(je)}],Ze=function(je){var Le=ze[je];return Le&&(Le.indexOf?Le:Le.s.concat(Le.f))},Ke=function(je,Le){var ce,a=ze.meridiem;if(a){for(var y=1;y<=24;y+=1)if(je.indexOf(a(y,0,Le))>-1){ce=y>12;break}}else ce=je===(Le?"pm":"PM");return ce},He={A:[Re,function(je){this.afternoon=Ke(je,!1)}],a:[Re,function(je){this.afternoon=Ke(je,!0)}],S:[/\d/,function(je){this.milliseconds=100*+je}],SS:[ae,function(je){this.milliseconds=10*+je}],SSS:[/\d{3}/,function(je){this.milliseconds=+je}],s:[me,Te("seconds")],ss:[me,Te("seconds")],m:[me,Te("minutes")],mm:[me,Te("minutes")],H:[me,Te("hours")],h:[me,Te("hours")],HH:[me,Te("hours")],hh:[me,Te("hours")],D:[me,Te("day")],DD:[ae,Te("day")],Do:[Re,function(je){var Le=ze.ordinal,ce=je.match(/\d+/);if(this.day=ce[0],Le)for(var a=1;a<=31;a+=1)Le(a).replace(/\[|\]/g,"")===je&&(this.day=a)}],M:[me,Te("month")],MM:[ae,Te("month")],MMM:[Re,function(je){var Le=Ze("months"),ce=(Ze("monthsShort")||Le.map(function(a){return a.slice(0,3)})).indexOf(je)+1;if(ce<1)throw new Error;this.month=ce%12||ce}],MMMM:[Re,function(je){var Le=Ze("months").indexOf(je)+1;if(Le<1)throw new Error;this.month=Le%12||Le}],Y:[/[+-]?\d+/,Te("year")],YY:[ae,function(je){this.year=Me(je)}],YYYY:[/\d{4}/,Te("year")],Z:se,ZZ:se};function _e(je){var Le,ce;Le=je,ce=ze&&ze.formats;for(var a=(je=Le.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(oe,ne,fe){var pe=fe&&fe.toUpperCase();return ne||ce[fe]||Et[fe]||ce[pe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ye,Ce,Ee){return Ce||Ee.slice(1)})})).match(ee),y=a.length,x=0;x<y;x+=1){var b=a[x],E=He[b],z=E&&E[0],re=E&&E[1];a[x]=re?{regex:z,parser:re}:b.replace(/^\[|\]$/g,"")}return function(oe){for(var ne={},fe=0,pe=0;fe<y;fe+=1){var ye=a[fe];if(typeof ye=="string")pe+=ye.length;else{var Ce=ye.regex,Ee=ye.parser,Se=oe.slice(pe),gt=Ce.exec(Se)[0];Ee.call(ne,gt),oe=oe.replace(gt,"")}}return function(Ye){var It=Ye.afternoon;if(It!==void 0){var Ue=Ye.hours;It?Ue<12&&(Ye.hours+=12):Ue===12&&(Ye.hours=0),delete Ye.afternoon}}(ne),ne}}return function(je,Le,ce){ce.p.customParseFormat=!0,je&&je.parseTwoDigitYear&&(Me=je.parseTwoDigitYear);var a=Le.prototype,y=a.parse;a.parse=function(x){var b=x.date,E=x.utc,z=x.args;this.$u=E;var re=z[1];if(typeof re=="string"){var oe=z[2]===!0,ne=z[3]===!0,fe=oe||ne,pe=z[2];ne&&(pe=z[2]),ze=this.$locale(),!oe&&pe&&(ze=ce.Ls[pe]),this.$d=function(Se,gt,Ye){try{if(["x","X"].indexOf(gt)>-1)return new Date((gt==="X"?1e3:1)*Se);var It=_e(gt)(Se),Ue=It.year,ft=It.month,Tt=It.day,Qt=It.hours,wt=It.minutes,dt=It.seconds,Gt=It.milliseconds,an=It.zone,pn=new Date,$e=Tt||(Ue||ft?1:pn.getDate()),Ct=Ue||pn.getFullYear(),Bt=0;Ue&&!ft||(Bt=ft>0?ft-1:pn.getMonth());var Tn=Qt||0,it=wt||0,Mt=dt||0,xe=Gt||0;return an?new Date(Date.UTC(Ct,Bt,$e,Tn,it,Mt,xe+60*an.offset*1e3)):Ye?new Date(Date.UTC(Ct,Bt,$e,Tn,it,Mt,xe)):new Date(Ct,Bt,$e,Tn,it,Mt,xe)}catch(Sn){return new Date("")}}(b,re,E),this.init(),pe&&pe!==!0&&(this.$L=this.locale(pe).$L),fe&&b!=this.format(re)&&(this.$d=new Date("")),ze={}}else if(re instanceof Array)for(var ye=re.length,Ce=1;Ce<=ye;Ce+=1){z[1]=re[Ce-1];var Ee=ce.apply(this,z);if(Ee.isValid()){this.$d=Ee.$d,this.$L=Ee.$L,this.init();break}Ce===ye&&(this.$d=new Date(""))}else y.call(this,x)}}})},26850:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";return function(Et,ee,ae){var me=ee.prototype,Re=function(Ze){return Ze&&(Ze.indexOf?Ze:Ze.s)},ze=function(Ze,Ke,He,_e,je){var Le=Ze.name?Ze:Ze.$locale(),ce=Re(Le[Ke]),a=Re(Le[He]),y=ce||a.map(function(b){return b.slice(0,_e)});if(!je)return y;var x=Le.weekStart;return y.map(function(b,E){return y[(E+(x||0))%7]})},Me=function(){return ae.Ls[ae.locale()]},Te=function(Ze,Ke){return Ze.formats[Ke]||function(He){return He.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(_e,je,Le){return je||Le.slice(1)})}(Ze.formats[Ke.toUpperCase()])},se=function(){var Ze=this;return{months:function(Ke){return Ke?Ke.format("MMMM"):ze(Ze,"months")},monthsShort:function(Ke){return Ke?Ke.format("MMM"):ze(Ze,"monthsShort","months",3)},firstDayOfWeek:function(){return Ze.$locale().weekStart||0},weekdays:function(Ke){return Ke?Ke.format("dddd"):ze(Ze,"weekdays")},weekdaysMin:function(Ke){return Ke?Ke.format("dd"):ze(Ze,"weekdaysMin","weekdays",2)},weekdaysShort:function(Ke){return Ke?Ke.format("ddd"):ze(Ze,"weekdaysShort","weekdays",3)},longDateFormat:function(Ke){return Te(Ze.$locale(),Ke)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};me.localeData=function(){return se.bind(this)()},ae.localeData=function(){var Ze=Me();return{firstDayOfWeek:function(){return Ze.weekStart||0},weekdays:function(){return ae.weekdays()},weekdaysShort:function(){return ae.weekdaysShort()},weekdaysMin:function(){return ae.weekdaysMin()},months:function(){return ae.months()},monthsShort:function(){return ae.monthsShort()},longDateFormat:function(Ke){return Te(Ze,Ke)},meridiem:Ze.meridiem,ordinal:Ze.ordinal}},ae.months=function(){return ze(Me(),"months")},ae.monthsShort=function(){return ze(Me(),"monthsShort","months",3)},ae.weekdays=function(Ze){return ze(Me(),"weekdays",null,null,Ze)},ae.weekdaysShort=function(Ze){return ze(Me(),"weekdaysShort","weekdays",3,Ze)},ae.weekdaysMin=function(Ze){return ze(Me(),"weekdaysMin","weekdays",2,Ze)}}})},23082:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";var Et="week",ee="year";return function(ae,me,Re){var ze=me.prototype;ze.week=function(Me){if(Me===void 0&&(Me=null),Me!==null)return this.add(7*(Me-this.week()),"day");var Te=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var se=Re(this).startOf(ee).add(1,ee).date(Te),Ze=Re(this).endOf(Et);if(se.isBefore(Ze))return 1}var Ke=Re(this).startOf(ee).date(Te).startOf(Et).subtract(1,"millisecond"),He=this.diff(Ke,Et,!0);return He<0?Re(this).startOf("week").week():Math.ceil(He)},ze.weeks=function(Me){return Me===void 0&&(Me=null),this.week(Me)}}})},99873:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";return function(Et,ee){ee.prototype.weekYear=function(){var ae=this.month(),me=this.week(),Re=this.year();return me===1&&ae===11?Re+1:ae===0&&me>=52?Re-1:Re}}})},33088:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";return function(Et,ee){ee.prototype.weekday=function(ae){var me=this.$locale().weekStart||0,Re=this.$W,ze=(Re<me?Re+7:Re)-me;return this.$utils().u(ae)?ze:this.subtract(ze,"day").add(ae,"day")}}})},62661:function(ht,Et){"use strict";var ee;var ae=Symbol.for("react.element"),me=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),se=Symbol.for("react.context"),Ze=Symbol.for("react.server_context"),Ke=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),je=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case ae:switch(x=x.type,x){case Re:case Me:case ze:case He:case _e:return x;default:switch(x=x&&x.$$typeof,x){case Ze:case se:case Ke:case Le:case je:case Te:return x;default:return b}}case me:return b}}}ee=se,ee=Te,ee=ae,ee=Ke,ee=Re,ee=Le,ee=je,ee=me,ee=Me,ee=ze,ee=He,ee=_e,ee=function(){return!1},ee=function(){return!1},ee=function(x){return y(x)===se},ee=function(x){return y(x)===Te},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===ae},ee=function(x){return y(x)===Ke},ee=function(x){return y(x)===Re},ee=function(x){return y(x)===Le},Et.isMemo=function(x){return y(x)===je},ee=function(x){return y(x)===me},ee=function(x){return y(x)===Me},ee=function(x){return y(x)===ze},ee=function(x){return y(x)===He},ee=function(x){return y(x)===_e},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Re||x===Me||x===ze||x===He||x===_e||x===ce||typeof x=="object"&&x!==null&&(x.$$typeof===Le||x.$$typeof===je||x.$$typeof===Te||x.$$typeof===se||x.$$typeof===Ke||x.$$typeof===a||x.getModuleId!==void 0)},ee=y},95845:function(ht,Et,ee){"use strict";ht.exports=ee(62661)},72665:function(ht,Et){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Re=ae?Symbol.for("react.portal"):60106,ze=ae?Symbol.for("react.fragment"):60107,Me=ae?Symbol.for("react.strict_mode"):60108,Te=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Ze=ae?Symbol.for("react.context"):60110,Ke=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,_e=ae?Symbol.for("react.forward_ref"):60112,je=ae?Symbol.for("react.suspense"):60113,Le=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,a=ae?Symbol.for("react.lazy"):60116,y=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case Ke:case He:case ze:case Te:case Me:case je:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Ze:case _e:case a:case ce:case se:return oe;default:return ne}}case Re:return ne}}}function re(oe){return z(oe)===He}ee=Ke,ee=He,ee=Ze,ee=se,ee=me,ee=_e,ee=ze,ee=a,ee=ce,ee=Re,ee=Te,ee=Me,ee=je,ee=function(oe){return re(oe)||z(oe)===Ke},ee=re,ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===_e},ee=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===a},Et.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Re},ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===Me},ee=function(oe){return z(oe)===je},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===ze||oe===He||oe===Te||oe===Me||oe===je||oe===Le||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Ze||oe.$$typeof===_e||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===y)},ee=z},12060:function(ht,Et,ee){"use strict";ht.exports=ee(72665)},15633:function(ht,Et){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Re=ae?Symbol.for("react.portal"):60106,ze=ae?Symbol.for("react.fragment"):60107,Me=ae?Symbol.for("react.strict_mode"):60108,Te=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Ze=ae?Symbol.for("react.context"):60110,Ke=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,_e=ae?Symbol.for("react.forward_ref"):60112,je=ae?Symbol.for("react.suspense"):60113,Le=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,a=ae?Symbol.for("react.lazy"):60116,y=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case Ke:case He:case ze:case Te:case Me:case je:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Ze:case _e:case a:case ce:case se:return oe;default:return ne}}case Re:return ne}}}function re(oe){return z(oe)===He}ee=Ke,ee=He,ee=Ze,ee=se,ee=me,ee=_e,ee=ze,ee=a,ee=ce,ee=Re,ee=Te,ee=Me,ee=je,ee=function(oe){return re(oe)||z(oe)===Ke},ee=re,ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===_e},ee=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===a},Et.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Re},ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===Me},ee=function(oe){return z(oe)===je},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===ze||oe===He||oe===Te||oe===Me||oe===je||oe===Le||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Ze||oe.$$typeof===_e||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===y)},ee=z},49286:function(ht,Et,ee){"use strict";ht.exports=ee(15633)},56261:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return pe}});var ae=ee(87462),me=ee(4942),Re=ee(45987),ze=ee(1413),Me=ee(15671),Te=ee(43144),se=ee(97326),Ze=ee(60136),Ke=ee(51630),He=ee(94184),_e=ee.n(He),je=ee(34952),Le=ee(67294),ce=ee(69610),a=function(Ce){for(var Ee=Ce.prefixCls,Se=Ce.level,gt=Ce.isStart,Ye=Ce.isEnd,It="".concat(Ee,"-indent-unit"),Ue=[],ft=0;ft<Se;ft+=1){var Tt;Ue.push(Le.createElement("span",{key:ft,className:_e()(It,(Tt={},(0,me.Z)(Tt,"".concat(It,"-start"),gt[ft]),(0,me.Z)(Tt,"".concat(It,"-end"),Ye[ft]),Tt))}))}return Le.createElement("span",{"aria-hidden":"true",className:"".concat(Ee,"-indent")},Ue)},y=Le.memo(a),x=ee(3596),b=ee(83898),E=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",re="close",oe="---",ne=function(ye){(0,Ze.Z)(Ee,ye);var Ce=(0,Ke.Z)(Ee);function Ee(){var Se;(0,Me.Z)(this,Ee);for(var gt=arguments.length,Ye=new Array(gt),It=0;It<gt;It++)Ye[It]=arguments[It];return Se=Ce.call.apply(Ce,[this].concat(Ye)),Se.state={dragNodeHighlight:!1},Se.selectHandle=void 0,Se.cacheIndent=void 0,Se.onSelectorClick=function(Ue){var ft=Se.props.context.onNodeClick;ft(Ue,(0,b.F)(Se.props)),Se.isSelectable()?Se.onSelect(Ue):Se.onCheck(Ue)},Se.onSelectorDoubleClick=function(Ue){var ft=Se.props.context.onNodeDoubleClick;ft(Ue,(0,b.F)(Se.props))},Se.onSelect=function(Ue){if(!Se.isDisabled()){var ft=Se.props.context.onNodeSelect;ft(Ue,(0,b.F)(Se.props))}},Se.onCheck=function(Ue){if(!Se.isDisabled()){var ft=Se.props,Tt=ft.disableCheckbox,Qt=ft.checked,wt=Se.props.context.onNodeCheck;if(!(!Se.isCheckable()||Tt)){var dt=!Qt;wt(Ue,(0,b.F)(Se.props),dt)}}},Se.onMouseEnter=function(Ue){var ft=Se.props.context.onNodeMouseEnter;ft(Ue,(0,b.F)(Se.props))},Se.onMouseLeave=function(Ue){var ft=Se.props.context.onNodeMouseLeave;ft(Ue,(0,b.F)(Se.props))},Se.onContextMenu=function(Ue){var ft=Se.props.context.onNodeContextMenu;ft(Ue,(0,b.F)(Se.props))},Se.onDragStart=function(Ue){var ft=Se.props.context.onNodeDragStart;Ue.stopPropagation(),Se.setState({dragNodeHighlight:!0}),ft(Ue,(0,se.Z)(Se));try{Ue.dataTransfer.setData("text/plain","")}catch(Tt){}},Se.onDragEnter=function(Ue){var ft=Se.props.context.onNodeDragEnter;Ue.preventDefault(),Ue.stopPropagation(),ft(Ue,(0,se.Z)(Se))},Se.onDragOver=function(Ue){var ft=Se.props.context.onNodeDragOver;Ue.preventDefault(),Ue.stopPropagation(),ft(Ue,(0,se.Z)(Se))},Se.onDragLeave=function(Ue){var ft=Se.props.context.onNodeDragLeave;Ue.stopPropagation(),ft(Ue,(0,se.Z)(Se))},Se.onDragEnd=function(Ue){var ft=Se.props.context.onNodeDragEnd;Ue.stopPropagation(),Se.setState({dragNodeHighlight:!1}),ft(Ue,(0,se.Z)(Se))},Se.onDrop=function(Ue){var ft=Se.props.context.onNodeDrop;Ue.preventDefault(),Ue.stopPropagation(),Se.setState({dragNodeHighlight:!1}),ft(Ue,(0,se.Z)(Se))},Se.onExpand=function(Ue){var ft=Se.props,Tt=ft.loading,Qt=ft.context.onNodeExpand;Tt||Qt(Ue,(0,b.F)(Se.props))},Se.setSelectHandle=function(Ue){Se.selectHandle=Ue},Se.getNodeState=function(){var Ue=Se.props.expanded;return Se.isLeaf()?null:Ue?z:re},Se.hasChildren=function(){var Ue=Se.props.eventKey,ft=Se.props.context.keyEntities,Tt=(0,x.Z)(ft,Ue)||{},Qt=Tt.children;return!!(Qt||[]).length},Se.isLeaf=function(){var Ue=Se.props,ft=Ue.isLeaf,Tt=Ue.loaded,Qt=Se.props.context.loadData,wt=Se.hasChildren();return ft===!1?!1:ft||!Qt&&!wt||Qt&&Tt&&!wt},Se.isDisabled=function(){var Ue=Se.props.disabled,ft=Se.props.context.disabled;return!!(ft||Ue)},Se.isCheckable=function(){var Ue=Se.props.checkable,ft=Se.props.context.checkable;return!ft||Ue===!1?!1:ft},Se.syncLoadData=function(Ue){var ft=Ue.expanded,Tt=Ue.loading,Qt=Ue.loaded,wt=Se.props.context,dt=wt.loadData,Gt=wt.onNodeLoad;Tt||dt&&ft&&!Se.isLeaf()&&!Se.hasChildren()&&!Qt&&Gt((0,b.F)(Se.props))},Se.isDraggable=function(){var Ue=Se.props,ft=Ue.data,Tt=Ue.context.draggable;return!!(Tt&&(!Tt.nodeDraggable||Tt.nodeDraggable(ft)))},Se.renderDragHandler=function(){var Ue=Se.props.context,ft=Ue.draggable,Tt=Ue.prefixCls;return ft!=null&&ft.icon?Le.createElement("span",{className:"".concat(Tt,"-draggable-icon")},ft.icon):null},Se.renderSwitcherIconDom=function(Ue){var ft=Se.props.switcherIcon,Tt=Se.props.context.switcherIcon,Qt=ft||Tt;return typeof Qt=="function"?Qt((0,ze.Z)((0,ze.Z)({},Se.props),{},{isLeaf:Ue})):Qt},Se.renderSwitcher=function(){var Ue=Se.props.expanded,ft=Se.props.context.prefixCls;if(Se.isLeaf()){var Tt=Se.renderSwitcherIconDom(!0);return Tt!==!1?Le.createElement("span",{className:_e()("".concat(ft,"-switcher"),"".concat(ft,"-switcher-noop"))},Tt):null}var Qt=_e()("".concat(ft,"-switcher"),"".concat(ft,"-switcher_").concat(Ue?z:re)),wt=Se.renderSwitcherIconDom(!1);return wt!==!1?Le.createElement("span",{onClick:Se.onExpand,className:Qt},wt):null},Se.renderCheckbox=function(){var Ue=Se.props,ft=Ue.checked,Tt=Ue.halfChecked,Qt=Ue.disableCheckbox,wt=Se.props.context.prefixCls,dt=Se.isDisabled(),Gt=Se.isCheckable();if(!Gt)return null;var an=typeof Gt!="boolean"?Gt:null;return Le.createElement("span",{className:_e()("".concat(wt,"-checkbox"),ft&&"".concat(wt,"-checkbox-checked"),!ft&&Tt&&"".concat(wt,"-checkbox-indeterminate"),(dt||Qt)&&"".concat(wt,"-checkbox-disabled")),onClick:Se.onCheck},an)},Se.renderIcon=function(){var Ue=Se.props.loading,ft=Se.props.context.prefixCls;return Le.createElement("span",{className:_e()("".concat(ft,"-iconEle"),"".concat(ft,"-icon__").concat(Se.getNodeState()||"docu"),Ue&&"".concat(ft,"-icon_loading"))})},Se.renderSelector=function(){var Ue=Se.state.dragNodeHighlight,ft=Se.props,Tt=ft.title,Qt=Tt===void 0?oe:Tt,wt=ft.selected,dt=ft.icon,Gt=ft.loading,an=ft.data,pn=Se.props.context,$e=pn.prefixCls,Ct=pn.showIcon,Bt=pn.icon,Tn=pn.loadData,it=pn.titleRender,Mt=Se.isDisabled(),xe="".concat($e,"-node-content-wrapper"),Sn;if(Ct){var Wn=dt||Bt;Sn=Wn?Le.createElement("span",{className:_e()("".concat($e,"-iconEle"),"".concat($e,"-icon__customize"))},typeof Wn=="function"?Wn(Se.props):Wn):Se.renderIcon()}else Tn&&Gt&&(Sn=Se.renderIcon());var Ca;typeof Qt=="function"?Ca=Qt(an):it?Ca=it(an):Ca=Qt;var yn=Le.createElement("span",{className:"".concat($e,"-title")},Ca);return Le.createElement("span",{ref:Se.setSelectHandle,title:typeof Qt=="string"?Qt:"",className:_e()("".concat(xe),"".concat(xe,"-").concat(Se.getNodeState()||"normal"),!Mt&&(wt||Ue)&&"".concat($e,"-node-selected")),onMouseEnter:Se.onMouseEnter,onMouseLeave:Se.onMouseLeave,onContextMenu:Se.onContextMenu,onClick:Se.onSelectorClick,onDoubleClick:Se.onSelectorDoubleClick},Sn,yn,Se.renderDropIndicator())},Se.renderDropIndicator=function(){var Ue=Se.props,ft=Ue.disabled,Tt=Ue.eventKey,Qt=Se.props.context,wt=Qt.draggable,dt=Qt.dropLevelOffset,Gt=Qt.dropPosition,an=Qt.prefixCls,pn=Qt.indent,$e=Qt.dropIndicatorRender,Ct=Qt.dragOverNodeKey,Bt=Qt.direction,Tn=!!wt,it=!ft&&Tn&&Ct===Tt,Mt=pn!=null?pn:Se.cacheIndent;return Se.cacheIndent=pn,it?$e({dropPosition:Gt,dropLevelOffset:dt,indent:Mt,prefixCls:an,direction:Bt}):null},Se}return(0,Te.Z)(Ee,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var gt=this.props.selectable,Ye=this.props.context.selectable;return typeof gt=="boolean"?gt:Ye}},{key:"render",value:function(){var gt,Ye=this.props,It=Ye.eventKey,Ue=Ye.className,ft=Ye.style,Tt=Ye.dragOver,Qt=Ye.dragOverGapTop,wt=Ye.dragOverGapBottom,dt=Ye.isLeaf,Gt=Ye.isStart,an=Ye.isEnd,pn=Ye.expanded,$e=Ye.selected,Ct=Ye.checked,Bt=Ye.halfChecked,Tn=Ye.loading,it=Ye.domRef,Mt=Ye.active,xe=Ye.data,Sn=Ye.onMouseMove,Wn=Ye.selectable,Ca=(0,Re.Z)(Ye,E),yn=this.props.context,Yt=yn.prefixCls,Ge=yn.filterTreeNode,Fe=yn.keyEntities,pt=yn.dropContainerKey,zt=yn.dropTargetKey,en=yn.draggingNodeKey,En=this.isDisabled(),kn=(0,je.Z)(Ca,{aria:!0,data:!0}),_n=(0,x.Z)(Fe,It)||{},Gn=_n.level,nn=an[an.length-1],we=this.isDraggable(),Qe=!En&&we,Qn=en===It,Kn=Wn!==void 0?{"aria-selected":!!Wn}:void 0;return Le.createElement("div",(0,ae.Z)({ref:it,className:_e()(Ue,"".concat(Yt,"-treenode"),(gt={},(0,me.Z)(gt,"".concat(Yt,"-treenode-disabled"),En),(0,me.Z)(gt,"".concat(Yt,"-treenode-switcher-").concat(pn?"open":"close"),!dt),(0,me.Z)(gt,"".concat(Yt,"-treenode-checkbox-checked"),Ct),(0,me.Z)(gt,"".concat(Yt,"-treenode-checkbox-indeterminate"),Bt),(0,me.Z)(gt,"".concat(Yt,"-treenode-selected"),$e),(0,me.Z)(gt,"".concat(Yt,"-treenode-loading"),Tn),(0,me.Z)(gt,"".concat(Yt,"-treenode-active"),Mt),(0,me.Z)(gt,"".concat(Yt,"-treenode-leaf-last"),nn),(0,me.Z)(gt,"".concat(Yt,"-treenode-draggable"),we),(0,me.Z)(gt,"dragging",Qn),(0,me.Z)(gt,"drop-target",zt===It),(0,me.Z)(gt,"drop-container",pt===It),(0,me.Z)(gt,"drag-over",!En&&Tt),(0,me.Z)(gt,"drag-over-gap-top",!En&&Qt),(0,me.Z)(gt,"drag-over-gap-bottom",!En&&wt),(0,me.Z)(gt,"filter-node",Ge&&Ge((0,b.F)(this.props))),gt)),style:ft,draggable:Qe,"aria-grabbed":Qn,onDragStart:Qe?this.onDragStart:void 0,onDragEnter:we?this.onDragEnter:void 0,onDragOver:we?this.onDragOver:void 0,onDragLeave:we?this.onDragLeave:void 0,onDrop:we?this.onDrop:void 0,onDragEnd:we?this.onDragEnd:void 0,onMouseMove:Sn},Kn,kn),Le.createElement(y,{prefixCls:Yt,level:Gn,isStart:Gt,isEnd:an}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ee}(Le.Component),fe=function(Ce){return Le.createElement(ce.k.Consumer,null,function(Ee){return Le.createElement(ne,(0,ae.Z)({},Ce,{context:Ee}))})};fe.displayName="TreeNode",fe.isTreeNode=1;var pe=fe},69610:function(ht,Et,ee){"use strict";ee.d(Et,{k:function(){return me}});var ae=ee(67294),me=ae.createContext(null)},29873:function(ht,Et,ee){"use strict";ee.d(Et,{BT:function(){return y},E6:function(){return E},L0:function(){return He},OM:function(){return a},_5:function(){return Ke},r7:function(){return z},wA:function(){return je},yx:function(){return _e}});var ae=ee(74902),me=ee(71002),Re=ee(72978),ze=ee(67294),Me=ee(56261),Te=ee(3596),se=ee(83898),Ze=null;function Ke(re,oe){if(!re)return[];var ne=re.slice(),fe=ne.indexOf(oe);return fe>=0&&ne.splice(fe,1),ne}function He(re,oe){var ne=(re||[]).slice();return ne.indexOf(oe)===-1&&ne.push(oe),ne}function _e(re){return re.split("-")}function je(re,oe){var ne=[],fe=(0,Te.Z)(oe,re);function pe(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ye.forEach(function(Ce){var Ee=Ce.key,Se=Ce.children;ne.push(Ee),pe(Se)})}return pe(fe.children),ne}function Le(re){if(re.parent){var oe=_e(re.pos);return Number(oe[oe.length-1])===re.parent.children.length-1}return!1}function ce(re){var oe=_e(re.pos);return Number(oe[oe.length-1])===0}function a(re,oe,ne,fe,pe,ye,Ce,Ee,Se,gt){var Ye,It=re.clientX,Ue=re.clientY,ft=re.target.getBoundingClientRect(),Tt=ft.top,Qt=ft.height,wt=(gt==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-It),dt=(wt-12)/fe,Gt=(0,Te.Z)(Ee,ne.props.eventKey);if(Ue<Tt+Qt/2){var an=Ce.findIndex(function(yn){return yn.key===Gt.key}),pn=an<=0?0:an-1,$e=Ce[pn].key;Gt=(0,Te.Z)(Ee,$e)}var Ct=Gt.key,Bt=Gt,Tn=Gt.key,it=0,Mt=0;if(!Se.includes(Ct))for(var xe=0;xe<dt&&Le(Gt);xe+=1)Gt=Gt.parent,Mt+=1;var Sn=oe.props.data,Wn=Gt.node,Ca=!0;return ce(Gt)&&Gt.level===0&&Ue<Tt+Qt/2&&ye({dragNode:Sn,dropNode:Wn,dropPosition:-1})&&Gt.key===ne.props.eventKey?it=-1:(Bt.children||[]).length&&Se.includes(Tn)?ye({dragNode:Sn,dropNode:Wn,dropPosition:0})?it=0:Ca=!1:Mt===0?dt>-1.5?ye({dragNode:Sn,dropNode:Wn,dropPosition:1})?it=1:Ca=!1:ye({dragNode:Sn,dropNode:Wn,dropPosition:0})?it=0:ye({dragNode:Sn,dropNode:Wn,dropPosition:1})?it=1:Ca=!1:ye({dragNode:Sn,dropNode:Wn,dropPosition:1})?it=1:Ca=!1,{dropPosition:it,dropLevelOffset:Mt,dropTargetKey:Gt.key,dropTargetPos:Gt.pos,dragOverNodeKey:Tn,dropContainerKey:it===0?null:((Ye=Gt.parent)===null||Ye===void 0?void 0:Ye.key)||null,dropAllowed:Ca}}function y(re,oe){if(re){var ne=oe.multiple;return ne?re.slice():re.length?[re[0]]:re}}var x=function(oe){return oe};function b(re,oe){if(!re)return[];var ne=oe||{},fe=ne.processProps,pe=fe===void 0?x:fe,ye=Array.isArray(re)?re:[re];return ye.map(function(Ce){var Ee=Ce.children,Se=_objectWithoutProperties(Ce,Ze),gt=b(Ee,oe);return React.createElement(TreeNode,_extends({key:Se.key},pe(Se)),gt)})}function E(re){if(!re)return null;var oe;if(Array.isArray(re))oe={checkedKeys:re,halfCheckedKeys:void 0};else if((0,me.Z)(re)==="object")oe={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Re.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function z(re,oe){var ne=new Set;function fe(pe){if(!ne.has(pe)){var ye=(0,Te.Z)(oe,pe);if(ye){ne.add(pe);var Ce=ye.parent,Ee=ye.node;Ee.disabled||Ce&&fe(Ce.key)}}}return(re||[]).forEach(function(pe){fe(pe)}),(0,ae.Z)(ne)}},97153:function(ht,Et,ee){"use strict";ee.d(Et,{S:function(){return se}});var ae=ee(72978),me=ee(3596);function Re(Ze,Ke){var He=new Set;return Ze.forEach(function(_e){Ke.has(_e)||He.add(_e)}),He}function ze(Ze){var Ke=Ze||{},He=Ke.disabled,_e=Ke.disableCheckbox,je=Ke.checkable;return!!(He||_e)||je===!1}function Me(Ze,Ke,He,_e){for(var je=new Set(Ze),Le=new Set,ce=0;ce<=He;ce+=1){var a=Ke.get(ce)||new Set;a.forEach(function(E){var z=E.key,re=E.node,oe=E.children,ne=oe===void 0?[]:oe;je.has(z)&&!_e(re)&&ne.filter(function(fe){return!_e(fe.node)}).forEach(function(fe){je.add(fe.key)})})}for(var y=new Set,x=He;x>=0;x-=1){var b=Ke.get(x)||new Set;b.forEach(function(E){var z=E.parent,re=E.node;if(!(_e(re)||!E.parent||y.has(E.parent.key))){if(_e(E.parent.node)){y.add(z.key);return}var oe=!0,ne=!1;(z.children||[]).filter(function(fe){return!_e(fe.node)}).forEach(function(fe){var pe=fe.key,ye=je.has(pe);oe&&!ye&&(oe=!1),!ne&&(ye||Le.has(pe))&&(ne=!0)}),oe&&je.add(z.key),ne&&Le.add(z.key),y.add(z.key)}})}return{checkedKeys:Array.from(je),halfCheckedKeys:Array.from(Re(Le,je))}}function Te(Ze,Ke,He,_e,je){for(var Le=new Set(Ze),ce=new Set(Ke),a=0;a<=_e;a+=1){var y=He.get(a)||new Set;y.forEach(function(z){var re=z.key,oe=z.node,ne=z.children,fe=ne===void 0?[]:ne;!Le.has(re)&&!ce.has(re)&&!je(oe)&&fe.filter(function(pe){return!je(pe.node)}).forEach(function(pe){Le.delete(pe.key)})})}ce=new Set;for(var x=new Set,b=_e;b>=0;b-=1){var E=He.get(b)||new Set;E.forEach(function(z){var re=z.parent,oe=z.node;if(!(je(oe)||!z.parent||x.has(z.parent.key))){if(je(z.parent.node)){x.add(re.key);return}var ne=!0,fe=!1;(re.children||[]).filter(function(pe){return!je(pe.node)}).forEach(function(pe){var ye=pe.key,Ce=Le.has(ye);ne&&!Ce&&(ne=!1),!fe&&(Ce||ce.has(ye))&&(fe=!0)}),ne||Le.delete(re.key),fe&&ce.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Le),halfCheckedKeys:Array.from(Re(ce,Le))}}function se(Ze,Ke,He,_e){var je=[],Le;_e?Le=_e:Le=ze;var ce=new Set(Ze.filter(function(b){var E=!!(0,me.Z)(He,b);return E||je.push(b),E})),a=new Map,y=0;Object.keys(He).forEach(function(b){var E=He[b],z=E.level,re=a.get(z);re||(re=new Set,a.set(z,re)),re.add(E),y=Math.max(y,z)}),(0,ae.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=Me(ce,a,y,Le):x=Te(ce,Ke.halfCheckedKeys,a,y,Le),x}},3596:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return ae}});function ae(me,Re){return me[Re]}},83898:function(ht,Et,ee){"use strict";ee.d(Et,{I8:function(){return z},F:function(){return oe},zn:function(){return x},w$:function(){return a},oH:function(){return b},km:function(){return ce},H8:function(){return re}});var ae=ee(71002),me=ee(74902),Re=ee(1413),ze=ee(45987),Me=ee(67294),Te=ee(28580);function se(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return Me.Children.forEach(ne,function(ye){ye==null&&!fe.keepEmpty||(Array.isArray(ye)?pe=pe.concat(se(ye)):(0,Te.isFragment)(ye)&&ye.props?pe=pe.concat(se(ye.props.children,fe)):pe.push(ye))}),pe}function Ze(ne,fe){var pe=(0,Re.Z)({},ne);return Array.isArray(fe)&&fe.forEach(function(ye){delete pe[ye]}),pe}var Ke=ee(72978),He=ee(3596),_e=["children"];function je(ne,fe){return"".concat(ne,"-").concat(fe)}function Le(ne){return ne&&ne.type&&ne.type.isTreeNode}function ce(ne,fe){return ne!=null?ne:fe}function a(ne){var fe=ne||{},pe=fe.title,ye=fe._title,Ce=fe.key,Ee=fe.children,Se=pe||"title";return{title:Se,_title:ye||[Se],key:Ce||"key",children:Ee||"children"}}function y(ne,fe){var pe=new Map;function ye(Ce){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ce||[]).forEach(function(Se){var gt=Se[fe.key],Ye=Se[fe.children];warning(gt!=null,"Tree node must have a certain key: [".concat(Ee).concat(gt,"]"));var It=String(gt);warning(!pe.has(It)||gt===null||gt===void 0,"Same 'key' exist in the Tree: ".concat(It)),pe.set(It,!0),ye(Ye,"".concat(Ee).concat(It," > "))})}ye(ne)}function x(ne){function fe(pe){var ye=se(pe);return ye.map(function(Ce){if(!Le(Ce))return(0,Ke.ZP)(!Ce,"Tree/TreeNode can only accept TreeNode as children."),null;var Ee=Ce.key,Se=Ce.props,gt=Se.children,Ye=(0,ze.Z)(Se,_e),It=(0,Re.Z)({key:Ee},Ye),Ue=fe(gt);return Ue.length&&(It.children=Ue),It}).filter(function(Ce){return Ce})}return fe(ne)}function b(ne,fe,pe){var ye=a(pe),Ce=ye._title,Ee=ye.key,Se=ye.children,gt=new Set(fe===!0?[]:fe),Ye=[];function It(Ue){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ue.map(function(Tt,Qt){for(var wt=je(ft?ft.pos:"0",Qt),dt=ce(Tt[Ee],wt),Gt,an=0;an<Ce.length;an+=1){var pn=Ce[an];if(Tt[pn]!==void 0){Gt=Tt[pn];break}}var $e=(0,Re.Z)((0,Re.Z)({},Ze(Tt,[].concat((0,me.Z)(Ce),[Ee,Se]))),{},{title:Gt,key:dt,parent:ft,pos:wt,children:null,data:Tt,isStart:[].concat((0,me.Z)(ft?ft.isStart:[]),[Qt===0]),isEnd:[].concat((0,me.Z)(ft?ft.isEnd:[]),[Qt===Ue.length-1])});return Ye.push($e),fe===!0||gt.has(dt)?$e.children=It(Tt[Se]||[],$e):$e.children=[],$e})}return It(ne),Ye}function E(ne,fe,pe){var ye={};(0,ae.Z)(pe)==="object"?ye=pe:ye={externalGetKey:pe},ye=ye||{};var Ce=ye,Ee=Ce.childrenPropName,Se=Ce.externalGetKey,gt=Ce.fieldNames,Ye=a(gt),It=Ye.key,Ue=Ye.children,ft=Ee||Ue,Tt;Se?typeof Se=="string"?Tt=function(dt){return dt[Se]}:typeof Se=="function"&&(Tt=function(dt){return Se(dt)}):Tt=function(dt,Gt){return ce(dt[It],Gt)};function Qt(wt,dt,Gt,an){var pn=wt?wt[ft]:ne,$e=wt?je(Gt.pos,dt):"0",Ct=wt?[].concat((0,me.Z)(an),[wt]):[];if(wt){var Bt=Tt(wt,$e),Tn={node:wt,index:dt,pos:$e,key:Bt,parentPos:Gt.node?Gt.pos:null,level:Gt.level+1,nodes:Ct};fe(Tn)}pn&&pn.forEach(function(it,Mt){Qt(it,Mt,{node:wt,pos:$e,level:Gt?Gt.level+1:-1},Ct)})}Qt(null)}function z(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=fe.initWrapper,ye=fe.processEntity,Ce=fe.onProcessFinished,Ee=fe.externalGetKey,Se=fe.childrenPropName,gt=fe.fieldNames,Ye=arguments.length>2?arguments[2]:void 0,It=Ee||Ye,Ue={},ft={},Tt={posEntities:Ue,keyEntities:ft};return pe&&(Tt=pe(Tt)||Tt),E(ne,function(Qt){var wt=Qt.node,dt=Qt.index,Gt=Qt.pos,an=Qt.key,pn=Qt.parentPos,$e=Qt.level,Ct=Qt.nodes,Bt={node:wt,nodes:Ct,index:dt,key:an,pos:Gt,level:$e},Tn=ce(an,Gt);Ue[Gt]=Bt,ft[Tn]=Bt,Bt.parent=Ue[pn],Bt.parent&&(Bt.parent.children=Bt.parent.children||[],Bt.parent.children.push(Bt)),ye&&ye(Bt,Tt)},{externalGetKey:It,childrenPropName:Se,fieldNames:gt}),Ce&&Ce(Tt),Tt}function re(ne,fe){var pe=fe.expandedKeys,ye=fe.selectedKeys,Ce=fe.loadedKeys,Ee=fe.loadingKeys,Se=fe.checkedKeys,gt=fe.halfCheckedKeys,Ye=fe.dragOverNodeKey,It=fe.dropPosition,Ue=fe.keyEntities,ft=(0,He.Z)(Ue,ne),Tt={eventKey:ne,expanded:pe.indexOf(ne)!==-1,selected:ye.indexOf(ne)!==-1,loaded:Ce.indexOf(ne)!==-1,loading:Ee.indexOf(ne)!==-1,checked:Se.indexOf(ne)!==-1,halfChecked:gt.indexOf(ne)!==-1,pos:String(ft?ft.pos:""),dragOver:Ye===ne&&It===0,dragOverGapTop:Ye===ne&&It===-1,dragOverGapBottom:Ye===ne&&It===1};return Tt}function oe(ne){var fe=ne.data,pe=ne.expanded,ye=ne.selected,Ce=ne.checked,Ee=ne.loaded,Se=ne.loading,gt=ne.halfChecked,Ye=ne.dragOver,It=ne.dragOverGapTop,Ue=ne.dragOverGapBottom,ft=ne.pos,Tt=ne.active,Qt=ne.eventKey,wt=(0,Re.Z)((0,Re.Z)({},fe),{},{expanded:pe,selected:ye,checked:Ce,loaded:Ee,loading:Se,halfChecked:gt,dragOver:Ye,dragOverGapTop:It,dragOverGapBottom:Ue,pos:ft,active:Tt,key:Qt});return"props"in wt||Object.defineProperty(wt,"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}}),wt}},34952:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Ze}});var ae=ee(1413),me=`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`,Re=`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`,ze="".concat(me," ").concat(Re).split(/[\s\n]+/),Me="aria-",Te="data-";function se(Ke,He){return Ke.indexOf(He)===0}function Ze(Ke){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_e;He===!1?_e={aria:!0,data:!0,attr:!0}:He===!0?_e={aria:!0}:_e=(0,ae.Z)({},He);var je={};return Object.keys(Ke).forEach(function(Le){(_e.aria&&(Le==="role"||se(Le,Me))||_e.data&&se(Le,Te)||_e.attr&&ze.includes(Le))&&(je[Le]=Ke[Le])}),je}},72978:function(ht,Et,ee){"use strict";var ae={};function me(Ze,Ke){}function Re(Ze,Ke){}function ze(){ae={}}function Me(Ze,Ke,He){!Ke&&!ae[He]&&(Ze(!1,He),ae[He]=!0)}function Te(Ze,Ke){Me(me,Ze,Ke)}function se(Ze,Ke){Me(Re,Ze,Ke)}Et.ZP=Te},81533:function(ht,Et){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Re=ae?Symbol.for("react.portal"):60106,ze=ae?Symbol.for("react.fragment"):60107,Me=ae?Symbol.for("react.strict_mode"):60108,Te=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Ze=ae?Symbol.for("react.context"):60110,Ke=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,_e=ae?Symbol.for("react.forward_ref"):60112,je=ae?Symbol.for("react.suspense"):60113,Le=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,a=ae?Symbol.for("react.lazy"):60116,y=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case Ke:case He:case ze:case Te:case Me:case je:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Ze:case _e:case a:case ce:case se:return oe;default:return ne}}case Re:return ne}}}function re(oe){return z(oe)===He}ee=Ke,ee=He,ee=Ze,ee=se,ee=me,ee=_e,ee=ze,ee=a,ee=ce,ee=Re,ee=Te,ee=Me,ee=je,ee=function(oe){return re(oe)||z(oe)===Ke},ee=re,ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===_e},Et.isFragment=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===a},Et.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Re},ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===Me},ee=function(oe){return z(oe)===je},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===ze||oe===He||oe===Te||oe===Me||oe===je||oe===Le||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Ze||oe.$$typeof===_e||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===y)},ee=z},28580:function(ht,Et,ee){"use strict";ht.exports=ee(81533)},92389:function(ht,Et){"use strict";var ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(me){var Re=me.keyCode;if(me.altKey&&!me.ctrlKey||me.metaKey||Re>=ee.F1&&Re<=ee.F12)return!1;switch(Re){case ee.ALT:case ee.CAPS_LOCK:case ee.CONTEXT_MENU:case ee.CTRL:case ee.DOWN:case ee.END:case ee.ESC:case ee.HOME:case ee.INSERT:case ee.LEFT:case ee.MAC_FF_META:case ee.META:case ee.NUMLOCK:case ee.NUM_CENTER:case ee.PAGE_DOWN:case ee.PAGE_UP:case ee.PAUSE:case ee.PRINT_SCREEN:case ee.RIGHT:case ee.SHIFT:case ee.UP:case ee.WIN_KEY:case ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(me){if(me>=ee.ZERO&&me<=ee.NINE||me>=ee.NUM_ZERO&&me<=ee.NUM_MULTIPLY||me>=ee.A&&me<=ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&me===0)return!0;switch(me){case ee.SPACE:case ee.QUESTION_MARK:case ee.NUM_PLUS:case ee.NUM_MINUS:case ee.NUM_PERIOD:case ee.NUM_DIVISION:case ee.SEMICOLON:case ee.DASH:case ee.EQUALS:case ee.COMMA:case ee.PERIOD:case ee.SLASH:case ee.APOSTROPHE:case ee.SINGLE_QUOTE:case ee.OPEN_SQUARE_BRACKET:case ee.BACKSLASH:case ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};Et.Z=ee},46762:function(ht,Et){"use strict";var ee;var ae=Symbol.for("react.element"),me=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),se=Symbol.for("react.context"),Ze=Symbol.for("react.server_context"),Ke=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),je=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case ae:switch(x=x.type,x){case Re:case Me:case ze:case He:case _e:return x;default:switch(x=x&&x.$$typeof,x){case Ze:case se:case Ke:case Le:case je:case Te:return x;default:return b}}case me:return b}}}ee=se,ee=Te,ee=ae,ee=Ke,ee=Re,ee=Le,ee=je,ee=me,ee=Me,ee=ze,ee=He,ee=_e,ee=function(){return!1},ee=function(){return!1},ee=function(x){return y(x)===se},ee=function(x){return y(x)===Te},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===ae},ee=function(x){return y(x)===Ke},Et.isFragment=function(x){return y(x)===Re},ee=function(x){return y(x)===Le},ee=function(x){return y(x)===je},ee=function(x){return y(x)===me},ee=function(x){return y(x)===Me},ee=function(x){return y(x)===ze},ee=function(x){return y(x)===He},ee=function(x){return y(x)===_e},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Re||x===Me||x===ze||x===He||x===_e||x===ce||typeof x=="object"&&x!==null&&(x.$$typeof===Le||x.$$typeof===je||x.$$typeof===Te||x.$$typeof===se||x.$$typeof===Ke||x.$$typeof===a||x.getModuleId!==void 0)},ee=y},35110:function(ht,Et,ee){"use strict";ht.exports=ee(46762)},64217:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Ze}});var ae=ee(1413),me=`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`,Re=`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`,ze="".concat(me," ").concat(Re).split(/[\s\n]+/),Me="aria-",Te="data-";function se(Ke,He){return Ke.indexOf(He)===0}function Ze(Ke){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_e;He===!1?_e={aria:!0,data:!0,attr:!0}:He===!0?_e={aria:!0}:_e=(0,ae.Z)({},He);var je={};return Object.keys(Ke).forEach(function(Le){(_e.aria&&(Le==="role"||se(Le,Me))||_e.data&&se(Le,Te)||_e.attr&&ze.includes(Le))&&(je[Le]=Ke[Le])}),je}},96908:function(ht){"use strict";ht.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/SEY9bb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OW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return ae}});function ae(me){if(me==null)throw new TypeError("Cannot destructure "+me)}}}]);