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__T...

349 lines
996 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[8205],{33463:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},28575:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},84249:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={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=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},81893:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},90674:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={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=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},73148:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},56747:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},50881:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},22751:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},34182:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},74664:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},91034:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return se}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,re.Z)({},je,{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,y,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ce,this._defaultValue=y,this._minimum=a,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,y){var a=go.Shape._FigureParameters[ce];return a?a[y]:null},go.Shape.setFigureParameter=function(ce,y,a){if(!(a instanceof ht))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[ce];x||(x=[],go.Shape._FigureParameters[ce]=x),x[y]=a};var Et=[];function ee(ce,y){var a=Et.pop();return a===void 0?new go.Point(ce,y):(a.x=ce,a.y=y,a)}function re(){var ce=Et.pop();return ce===void 0?new go.Point:ce}function me(ce){Et.push(ce)}function Oe(ce,y,a,x,b,E,z,oe,ae){ae||(ae=new go.Point);var ne=ce-a,fe=b-z,pe=NaN,we=NaN;if(ne===0)if(fe===0)ce===a&&(pe=ce,we=y);else{var be=(E-oe)/fe,xe=E-be*b;pe=ce,we=be*pe+xe}else if(fe===0){var Se=(y-x)/ne,gt=y-Se*ce;pe=b,we=Se*pe+gt}else{var Se=(y-x)/ne,be=(E-oe)/fe,gt=y-Se*ce,xe=E-be*b;pe=(xe-gt)/(Se-be),we=Se*pe+gt}return ae.x=pe,ae.y=we,ae}function ze(ce,y,a,x,b,E,z,oe,ae,ne,fe,pe,we,be){var xe=1-ae,Se=ae,gt=ce*xe+a*Se,Qe=y*xe+x*Se,Dt=a*xe+b*Se,$e=x*xe+E*Se,et=b*xe+z*Se,Tt=E*xe+oe*Se,tn=gt*xe+Dt*Se,jt=Qe*xe+$e*Se,pt=Dt*xe+et*Se,Zt=$e*xe+Tt*Se,nn=tn*xe+pt*Se,hn=jt*xe+Zt*Se;ne.x=gt,ne.y=Qe,fe.x=tn,fe.y=jt,pe.x=nn,pe.y=hn,we.x=pt,we.y=Zt,be.x=et,be.y=Tt}var Be=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,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*se,E=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=y,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y/2,x.startY=0,x.endX=y/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ce,y,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*y,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ce,y,a){var x=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Be,b.spot2=Te,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,se*y,0,y,(1-se)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,se*a,(1-se)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,se*a,se*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-se)*y,0,0,(1-se)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ht("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y:x>y&&(x=y);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("Trapezoid1",0,new ht("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ht("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=20:x<-y?x=-y/2:x>y&&(x=y/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("ManualOperation",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y/2:x>y&&(x=y/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}});var Ze=[];function je(){var ce=Ze.pop();return ce===void 0?[]:ce}function He(ce){ce.length=0,Ze.push(ce)}function qe(ce){for(var y=je(),a=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<ce;z++)E=2*Math.PI/ce*z+b,y[z]=new go.Point(x+a*Math.cos(E),x+a*Math.sin(E));return y.push(y[0]),y}function Ke(ce){var y=Ee(ce),a=je();a[0]=y[0];for(var x=1,b=1;x<y.length;x+=2,b+=3)a[b]=y[x],a[b+1]=y[x],a[b+2]=y[x+1];return He(y),a}function Ee(ce){for(var y=qe(ce),a=je(),x=Math.floor(y.length/2),b=y.length-1,E=ce%2===0?2:1,z=0;z<b;z++){var oe=y[z],ae=y[z+1],ne=y[(x+z-1)%b],fe=y[(x+z+E)%b];a[z*2]=oe,a[z*2+1]=Oe(oe.x,oe.y,ne.x,ne.y,ae.x,ae.y,fe.x,fe.y,new go.Point)}return a[a.length]=a[0],He(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ce,y,a){var x=qe(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<5;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ce,y,a){var x=qe(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<6;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ce,y,a){var x=qe(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<7;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ce,y,a){var x=qe(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<8;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ce,y,a){var x=qe(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<9;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ce,y,a){var x=qe(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ce,y,a){var x=qe(12),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ce,y,a){var x=Ee(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ce,y,a){var x=Ee(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ce,y,a){var x=Ee(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<14;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ce,y,a){var x=Ee(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<16;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ce,y,a){var x=Ee(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<18;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ce,y,a){var x=Ee(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<20;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ce,y,a){var x=Ke(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ce,y,a){var x=Ke(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ce,y,a){var x=Ke(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ce,y,a){var x=Ke(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ce,y,a){var x=Ke(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ce,y,a){var x=Ke(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new ht("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ht("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ce,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<y/2&&b<a/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,b).close())),E.setSpots(0,0,1,1,x,b,-x,-b),E}),go.Shape.setFigureParameter("Ring",0,new ht("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=y/2,E=new go.Geometry,z=new go.PathFigure(y,y/2,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var oe=Math.max(b-x,0);return oe>0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+oe,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,oe,oe).close())),E.spot1=Be,E.spot2=Te,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ce,y,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ht("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ht("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ce,y,a){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,oe=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,E,z,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ce,y,a){var x=se/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,E*a,y,(1-x)*a,(b+x)*y,(E+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,y)/2,E=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,y)/2,E=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ce,y,a){var x=ce?ce.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var E=y/2,z=a/2,oe=Math.atan2(a,y),ae=x-Math.min(Math.cos(oe)*x/2,E),ne=x-Math.min(Math.sin(oe)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(ae,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),fe.add(new go.PathSegment(go.PathSegment.Line,y-ae,0)),fe.add(new go.PathSegment(go.PathSegment.Line,y,ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,y,a-ne)),fe.add(new go.PathSegment(go.PathSegment.Line,y-ae,a)),fe.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),fe.add(new go.PathSegment(go.PathSegment.Line,ae,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a-ne)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ht("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ht("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-x)*y,.25*a,Math.abs(1-x)*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,se*y,0,y,(.5-se/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+se/2)*a,se*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var E=.2,z=.3,oe=0,ae=E*se;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+oe)*a,(.5-E+z)*y,(.5+ae+oe)*a,(.5-ae+z)*y,(.5+E+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+oe)*a,(.5+ae+z)*y,(.5+E+oe)*a,(.5+E+z)*y,(.5+ae+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+oe)*a,(1-.5+E+z)*y,(.5-ae+oe)*a,(.5+ae+z)*y,(.5-E+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ae+z)*y,(.5-E+oe)*a,(.5-E+z+.05)*y,(.5-ae+oe-.02)*a)),E=.2,z=0,oe=-.3,ae=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+oe)*a,(.5+ae+z)*y,(.5+E+oe)*a,(.5+E+z)*y,(.5+ae+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+oe)*a,(1-.5+E+z)*y,(.5-ae+oe)*a,(.5+ae+z)*y,(.5-E+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+oe)*a,(.5-ae+z)*y,(.5-E+oe)*a,(.5-E+z)*y,(.5-ae+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+z)*y,(.5+E+oe)*a,(.5-E+z)*y,(.5+ae+oe)*a,(.5-ae+z)*y,(.5+E+oe)*a)),E=.2,z=-.3,oe=0,ae=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+oe)*a,(1-.5+E+z-.05)*y,(.5-ae+oe-.02)*a,(.5+ae+z)*y,(.5-E+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+oe)*a,(.5-ae+z)*y,(.5-E+oe)*a,(.5-E+z)*y,(.5-ae+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+oe)*a,(.5-E+z)*y,(.5+ae+oe)*a,(.5-ae+z)*y,(.5+E+oe)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ae+z)*y,(.5+E+oe)*a,(.5+E+z)*y,(.5+ae+oe)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var E=.1,z=.5,oe=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*y,oe*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*oe,E*y,E*y).close()),b=new go.PathFigure(y*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),oe=.75,b=new go.PathFigure((z+E)*y,oe*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*oe,E*y,E*y).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ce,y,a){var x=.8535533905932737,b=.5*y,E=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=.5,oe=.5,ae=new go.PathFigure(z*y,(oe-E)*a);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-E)*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a)),E=.4,b=se*.4;var ne=re(),fe=re(),pe=re(),we=re();ze(z,oe-E,z+b,oe-E,z+E,oe-b,z+E,oe,.42,ne,fe,pe,we,we);var be=re(),xe=re(),Se=re();ze(z,oe-E,z+b,oe-E,z+E,oe-b,z+E,oe,.58,we,we,Se,be,xe);var gt=re(),Qe=re(),Dt=re();ze(z,oe+E,z-b,oe+E,z-E,oe+b,z-E,oe,.42,gt,Qe,Dt,we,we);var $e=re(),et=re(),Tt=re();return ze(z,oe+E,z-b,oe+E,z-E,oe+b,z-E,oe,.58,we,we,Tt,$e,et),ae.add(new go.PathSegment(go.PathSegment.Move,Tt.x*y,Tt.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,$e.x*y,$e.y*a,et.x*y,et.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-E)*a,(z-E)*y,(oe-b)*a,(z-b)*y,(oe-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*y,pe.y*a,ne.x*y,ne.y*a,fe.x*y,fe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,Tt.x*y,Tt.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Dt.x*y,Dt.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,Se.x*y,Se.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,be.x*y,be.y*a,xe.x*y,xe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z+E)*y,(oe+b)*a,(z+b)*y,(oe+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Dt.x*y,Dt.y*a,gt.x*y,gt.y*a,Qe.x*y,Qe.y*a).close()),me(ne),me(fe),me(pe),me(we),me(be),me(xe),me(Se),me(gt),me(Qe),me(Dt),me($e),me(et),me(Tt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>y&&(x=y);var b=(y-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ce,y,a){var x=new go.Geometry,b=se*.4,E=.4,z=.5,oe=.5,ae=re(),ne=re(),fe=re(),pe=re(),we=new go.PathFigure((z-E)*y,oe*a,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-E)*a,(z-E)*y,(oe-b)*a,(z-b)*y,(oe-E)*a)),ze(z,oe-E,z+b,oe-E,z+E,oe-b,z+E,oe,.44,fe,pe,ne,ae,ae),we.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,fe.x*y,fe.y*a,pe.x*y,pe.y*a));var be=ee(ne.x,ne.y);ze(z,oe-E,z+b,oe-E,z+E,oe-b,z+E,oe,.56,ae,ae,ne,fe,pe);var xe=ee(ne.x,ne.y);we.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*y,be.y*.1*a)),we.add(new go.PathSegment(go.PathSegment.Line,.85*y,be.y*.1*a)),we.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),we.add(new go.PathSegment(go.PathSegment.Line,y,0)),we.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),we.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,.15*a)),we.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,(xe.y*.1+.05*.9)*a)),we.add(new go.PathSegment(go.PathSegment.Line,xe.x*y,xe.y*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,fe.x*y,fe.y*a,pe.x*y,pe.y*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z+E)*y,(oe+b)*a,(z+b)*y,(oe+E)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,(z-b)*y,(oe+E)*a,(z-E)*y,(oe+b)*a)),E=.35,b=se*.35;var Se=new go.PathFigure(z*y,(oe-E)*a,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-E)*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a));var gt=new go.PathFigure((z-E)*y,oe*a,!1);return x.add(gt),me(ae),me(ne),me(fe),me(pe),me(be),me(xe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ce,y,a){var x=new go.Geometry,b=.375,E=0,z=-.125,oe=b*se,ae=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+oe+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+oe+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-oe+z)*a,(.5+oe+E)*y,(.5-b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-oe+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-oe+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+oe+z)*a,(.5-oe+E)*y,(.5+b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,E=0,z=-.125,oe=b*se;var ae=new go.PathFigure((1-.5+b+E)*y,(.5+z)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+oe+z)*a,(.5+oe+E)*y,(.5+b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-oe+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+oe+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-oe+z)*a,(.5-oe+E)*y,(.5-b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+oe+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-oe+z)*a));var ae=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);return x.add(ae),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ce,y,a){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ce,y,a){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ce,y,a){var x=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ce,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ce,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ht("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ht("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*y,z=(.5-b/2)*a,oe=(.5+b/2)*a,ae=new go.Geometry,ne=new go.PathFigure(0,z,!0);ae.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,oe)),ne.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ae.spot1=new go.Spot(0,z/a);var fe=Oe(0,oe/a,1,oe/a,E/y,1,1,.5,re());return ae.spot2=new go.Spot(fe.x,fe.y),me(fe),ae}),go.Shape.setFigureParameter("Arrow2",0,new ht("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ht("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=30),x>y&&(x=y);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var E=y-x,z=(a-b)/2,oe=z+b,ae=new go.Geometry,ne=new go.PathFigure(0,z,!0);ae.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,oe)),ne.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),ae.spot1=new go.Spot(0,z/a);var fe=Oe(0,oe/a,1,oe/a,E/y,1,1,.5,re());return ae.spot2=new go.Spot(fe.x,fe.y),me(fe),ae}),go.Shape.defineFigureGenerator("Chevron",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ht("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);z.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ae=Oe(0,.5,.3,0,0,b/a,.1,b/a,re());return z.spot1=new go.Spot(ae.x,ae.y),ae=Oe(.7,1,1,.5,0,E/a,1,E/a,ae),z.spot2=new go.Spot(ae.x,ae.y),me(ae),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,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,oe=(a-b)/2,ae=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,oe=0,ae=a):(E=0,z=a,oe=0,ae=a));var ne=new go.Geometry,fe=new go.PathFigure(y,.5*a,!0);ne.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close());var pe=Oe(0,.5,.3,oe/a,0,E/a,1,E/a,re());return ne.spot1=new go.Spot(pe.x,pe.y),pe=Oe(.7,ae/a,1,.5,0,z/a,1,z/a,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,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);z.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var ae=Oe(.7,1,1,.5,0,E/a,1,E/a,re());return z.spot2=new go.Spot(ae.x,ae.y),me(ae),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,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,oe=(a-b)/2,ae=oe+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,oe=0,ae=a):(E=0,z=a,oe=0,ae=a));var ne=new go.Geometry,fe=new go.PathFigure(y,.5*a,!0);ne.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ae)),fe.add(new go.PathSegment(go.PathSegment.Line,0,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close()),ne.spot1=new go.Spot(0,E/a);var pe=Oe(.7,ae/a,1,.5,0,z/a,1,z/a,re());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,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Oe(.2,.65,1,.65,0,1,1,.5,re());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,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b.spot1=new go.Spot(x,.35);var z=Oe(0,.65,1,.65,0,1,1,.5,re());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,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);z.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var ae=Oe(.7,1,1,.5,0,E/a,1,E/a,re());return z.spot2=new go.Spot(ae.x,ae.y),me(ae),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ht("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,E=b+x;x>a&&(b=0,E=a);var z=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);z.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var ae=Oe(.7,1,1,.5,0,E/a,1,E/a,re());return z.spot2=new go.Spot(ae.x,ae.y),me(ae),z}),go.Shape.setFigureParameter("SquareArrow",0,new ht("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(0,.9*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var E=new go.PathFigure(0,.9*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var E=new go.PathFigure(0,.3*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ce,y,a){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(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,x,(.5+E)*y,0,1*y,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-se*x,(.5+E)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,1*a,0,a-se*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var oe=new go.PathFigure(y,x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*x,1*y,2*x-se*x,(.5+E)*y,2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*y,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,y,a){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(0,a-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x,(.5+E)*y,0,y,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-se*x,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,a,0,a-se*x));var oe=new go.PathFigure(0,a-x,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*x,0,a-x-se*x,(.5-E)*y,a-2*x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,a-x,(.5+E)*y,a-2*x,y,a-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,y,a){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(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-se*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,se*x,0));var oe=new go.PathFigure(x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+se*x,0,2*x,(.5-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+E)*a,x+se*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ce,y,a){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(y-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-se*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,se*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0));var oe=new go.PathFigure(y-x,0,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-2*x,.5*a,y-x-se*x,0,y-2*x,(.5-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y-2*x,(.5+E)*a,y-x-se*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.25*y,.25*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ce,y,a){var x=new go.Geometry,b=.2,E=.1,z=se*b,oe=se*E,ae=.5,ne=.1,fe=new go.PathFigure(ae*y,(ne+E)*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-b)*y,ne*a,(ae-z)*y,(ne+E)*a,(ae-b)*y,(ne+oe)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-E)*a,(ae-b)*y,(ne-oe)*a,(ae-z)*y,(ne-E)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+b)*y,ne*a,(ae+z)*y,(ne-E)*a,(ae+b)*y,(ne-oe)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+E)*a,(ae+b)*y,(ne+oe)*a,(ae+z)*y,(ne+E)*a));var pe=.05,we=se*pe;ae=.05,ne=.25;var be=new go.PathFigure(.5*y,.2*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ae=.95,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(ae+pe)*y,ne*a,(ae+we)*y,(ne-pe)*a,(ae+pe)*y,(ne-we)*a)),be.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),pe=.025,we=se*pe,ae=.825,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-pe)*a,(ae+pe)*y,(ne-we)*a,(ae+we)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-pe)*y,ne*a,(ae-we)*y,(ne-pe)*a,(ae-pe)*y,(ne-we)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),pe=.05,we=se*pe,ae=.5,ne=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-pe)*a,(ae+pe)*y,(ne-we)*a,(ae+we)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-pe)*y,ne*a,(ae-we)*y,(ne-pe)*a,(ae-pe)*y,(ne-we)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),pe=.025,we=se*pe,ae=.175,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-pe)*a,(ae+pe)*y,(ne-we)*a,(ae+we)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-pe)*y,ne*a,(ae-we)*y,(ne-pe)*a,(ae-pe)*y,(ne-we)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),pe=.05,we=se*pe,ae=.05,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-pe)*a,(ae-pe)*y,(ne-we)*a,(ae-we)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ht("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var E=new go.PathFigure(.5*y,.5*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var oe=new go.PathFigure(y,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+E)*a,(.5+b)*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+E)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var oe=new go.PathFigure(y,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ce,y,a){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*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-E)*a,(.2-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+E)*y,0,y,(.2-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+E)*a,(.8+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-E)*y,a,0,(.8+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var oe=new go.PathFigure(0,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(.1*y,.4*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.75*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var E=new go.PathFigure(y,.5*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ce,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var oe=new go.PathFigure(b*y,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ce,y,a){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=se*.5,oe=.5,ae=new go.PathFigure(y,oe*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,a,y,(oe+z)*a,(oe+z)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*a,(oe-z)*y,a,0,(oe+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,0,0,(oe-z)*a,(oe-z)*y,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,oe*a,(oe+z)*y,0,y,(oe-z)*a));var ne=new go.PathFigure((E+b)*y,(E+b)*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,(E+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(E+b)*y,E*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var E=new go.PathFigure(.1*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(.5*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*y,.9*a,y,(E+b)*a,(E+b)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ce,y,a){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*y,b*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var E=new go.PathFigure(.1*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var E=new go.PathFigure(.2*y,.1*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ce,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var oe=new go.PathFigure(.5*b*y,b*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var oe=new go.PathFigure(y,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ce,y,a){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,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ce,y,a){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)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-b)*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x}),go.Shape.defineFigureGenerator("Process",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(0,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ce,y,a){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,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ce,y,a){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*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var oe=new go.PathFigure(y,E*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,E*a));var ae=new go.PathFigure(.8*y,.75*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(ce,y,a){var x=new go.Geometry,b=se*.1,E=.1,z=.9,oe=.5,ae=new go.PathFigure(.8*y,.5*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ne=new go.PathFigure((z+E)*y,oe*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z+E)*y,(oe+b)*a,(z+b)*y,(oe+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,(z-b)*y,(oe+E)*a,(z-E)*y,(oe+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-E)*a,(z-E)*y,(oe-b)*a,(z-b)*y,(oe-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,(z+b)*y,(oe-E)*a,(z+E)*y,(oe-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.4,z=se*.1,oe=.1,ae=.9,ne=.5,fe=new go.PathFigure(.8*y,.5*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+E)*a,(.4+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-E)*a));var pe=new go.PathFigure((ae+oe)*y,ne*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+oe)*a,(ae+oe)*y,(ne+z)*a,(ae+z)*y,(ne+oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-oe)*y,ne*a,(ae-z)*y,(ne+oe)*a,(ae-oe)*y,(ne+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-oe)*a,(ae-oe)*y,(ne-z)*a,(ae-z)*y,(ne-oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+oe)*y,ne*a,(ae+z)*y,(ne-oe)*a,(ae+oe)*y,(ne-z)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=0,oe=.5,ae=new go.PathFigure(.8*y,.5*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(oe-b)*a,.7*y,(oe-E)*a)),b=.1,E=se*.1,z=.9,oe=.5;var ne=new go.PathFigure((z-b)*y,oe*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-b)*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,oe*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+b)*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,oe*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=0,oe=.5,ae=new go.PathFigure(0,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E+E)*y,(oe-b)*a,.8*y,(oe-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(oe+E)*a,(z+E+E)*y,(oe+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=.2,oe=.5,ae=new go.PathFigure(.1*y,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.8*y,.5*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(oe-b)*a,.7*y,(oe-E)*a)),b=.1,E=se*.1,z=.9,oe=.5;var fe=new go.PathFigure((z-b)*y,oe*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-b)*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,oe*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+b)*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,oe*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=.2,oe=.5,ae=new go.PathFigure(.1*y,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.2*y,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E)*y,(oe-b)*a,.9*y,(oe-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(ce,y,a){var x=new go.Geometry,b=se*.1,E=.1,z=.1,oe=.5,ae=new go.PathFigure((z-b*.5)*y,a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*y,a,(z+E)*y,0,(z+b)*y,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=.5,oe=.5,ae=new go.PathFigure((z-E)*y,oe*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-E)*a,(z-E)*y,(oe-b)*a,(z-b)*y,(oe-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,(z+b)*y,(oe-E)*a,(z+E)*y,(oe-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z+E)*y,(oe+b)*a,(z+b)*y,(oe+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,(z-b)*y,(oe+E)*a,(z-E)*y,(oe+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*y,oe*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*y,oe*a,z*y,(oe-E)*a,z*y,(oe+E)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Diode",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ce,y,a){var x=new go.Geometry,b=y,E=a;y=y*.38,a=a*.6;var z=se*.8,oe=.8,ae=0,ne=.5,fe=(b-y)/2,pe=(E-a)/2,we=new go.PathFigure(ae*y+fe,(ne+oe)*a+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ae-oe)*y+fe,ne*a+pe,(ae-z)*y+fe,(ne+oe)*a+pe,(ae-oe)*y+fe,(ne+z)*a+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne-oe)*a+pe,(ae-oe)*y+fe,(ne-z)*a+pe,(ae-z)*y+fe,(ne-oe)*a+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ae-oe+z*.5)*y+fe,ne*a+pe,ae*y+fe,(ne-oe)*a+pe,(ae-oe+z*.5)*y+fe,(ne-z)*a+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne+oe)*a+pe,(ae-oe+z*.5)*y+fe,(ne+z)*a+pe,ae*y+fe,(ne+oe)*a+pe).close()),z=se*.4,oe=.4,ae=.2,ne=.5;var be=new go.PathFigure(ae*y+fe,(ne+oe)*a+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-oe)*y+fe,ne*a+pe,(ae-z)*y+fe,(ne+oe)*a+pe,(ae-oe)*y+fe,(ne+z)*a+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne-oe)*a+pe,(ae-oe)*y+fe,(ne-z)*a+pe,(ae-z)*y+fe,(ne-oe)*a+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-oe+z*.5)*y+fe,ne*a+pe,ae*y+fe,(ne-oe)*a+pe,(ae-oe+z*.5)*y+fe,(ne-z)*a+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne+oe)*a+pe,(ae-oe+z*.5)*y+fe,(ne+z)*a+pe,ae*y+fe,(ne+oe)*a+pe).close()),z=se*.2,oe=.2,ae=.5,ne=.5;var xe=new go.PathFigure((ae-oe)*y+fe,ne*a+pe,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne-oe)*a+pe,(ae-oe)*y+fe,(ne-z)*a+pe,(ae-z)*y+fe,(ne-oe)*a+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+oe)*y+fe,ne*a+pe,(ae+z)*y+fe,(ne-oe)*a+pe,(ae+oe)*y+fe,(ne-z)*a+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne+oe)*a+pe,(ae+oe)*y+fe,(ne+z)*a+pe,(ae+z)*y+fe,(ne+oe)*a+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-oe)*y+fe,ne*a+pe,(ae-z)*y+fe,(ne+oe)*a+pe,(ae-oe)*y+fe,(ne+z)*a+pe)),z=se*.4,oe=.4,ae=.8,ne=.5;var Se=new go.PathFigure(ae*y+fe,(ne-oe)*a+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+oe)*y+fe,ne*a+pe,(ae+z)*y+fe,(ne-oe)*a+pe,(ae+oe)*y+fe,(ne-z)*a+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne+oe)*a+pe,(ae+oe)*y+fe,(ne+z)*a+pe,(ae+z)*y+fe,(ne+oe)*a+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ae+oe-z*.5)*y+fe,ne*a+pe,ae*y+fe,(ne+oe)*a+pe,(ae+oe-z*.5)*y+fe,(ne+z)*a+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne-oe)*a+pe,(ae+oe-z*.5)*y+fe,(ne-z)*a+pe,ae*y+fe,(ne-oe)*a+pe).close()),z=se*.8,oe=.8,ae=1,ne=.5;var gt=new go.PathFigure(ae*y+fe,(ne-oe)*a+pe,!0);return x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+oe)*y+fe,ne*a+pe,(ae+z)*y+fe,(ne-oe)*a+pe,(ae+oe)*y+fe,(ne-z)*a+pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne+oe)*a+pe,(ae+oe)*y+fe,(ne+z)*a+pe,(ae+z)*y+fe,(ne+oe)*a+pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+oe-z*.5)*y+fe,ne*a+pe,ae*y+fe,(ne+oe)*a+pe,(ae+oe-z*.5)*y+fe,(ne+z)*a+pe)),gt.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+fe,(ne-oe)*a+pe,(ae+oe-z*.5)*y+fe,(ne-z)*a+pe,ae*y+fe,(ne-oe)*a+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var E=new go.PathFigure(.1*y,a,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var oe=new go.PathFigure(0,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ce,y,a){var x=new go.Geometry,b=se*.4,E=.4,z=.5,oe=.5,ae=re(),ne=re(),fe=re(),pe=re();ze(z,oe-E,z+b,oe-E,z+E,oe-b,z+E,oe,.5,ae,ae,ne,fe,pe);var we=ee(ne.x,ne.y),be=new go.PathFigure(ne.x*y,ne.y*a,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,fe.x*y,fe.y*a,pe.x*y,pe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z+E)*y,(oe+b)*a,(z+b)*y,(oe+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,(z-b)*y,(oe+E)*a,(z-E)*y,(oe+b)*a)),ze(z-E,oe,z-E,oe-b,z-b,oe-E,z,oe-E,.5,fe,pe,ne,ae,ae),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,fe.x*y,fe.y*a,pe.x*y,pe.y*a)),b=se*.3,E=.3,ze(z-E,oe,z-E,oe-b,z-b,oe-E,z,oe-E,.5,fe,pe,ne,ae,ae),be.add(new go.PathSegment(go.PathSegment.Line,ne.x*y,ne.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,oe*a,pe.x*y,pe.y*a,fe.x*y,fe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+E)*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,oe*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ze(z,oe-E,z+b,oe-E,z+E,oe-b,z+E,oe,.5,ae,ae,ne,fe,pe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,pe.x*y,pe.y*a,fe.x*y,fe.y*a).close());var be=new go.PathFigure(.45*y,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),me(ae),me(ne),me(fe),me(pe),me(we),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function E(z,oe,ae){z.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*y,(.8+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*y,(.8+ae)*a).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ce,y,a){var x=new go.Geometry,b=.5,E=0,z=0,oe=b*se,ae=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,fe=1,pe=.5,we=.5,be=0,xe=new go.PathFigure(ae*y,(1-ne)*a,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,pe*a,fe*y,.7*a,fe*y,pe*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(we+E)*y,(be+E)*a,(.5+b+E)*y,(.5-oe+E)*a,(.5+oe+E)*y,(.5-b+E)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-oe+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-oe+z)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*y,.9*a,(.5-b+E)*y,(.5+oe+z)*a,(.5-oe+E)*y,.9*a)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*y,.8*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*y,.9*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*y,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var E=new go.PathFigure(.45*y,.73*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),E.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),E.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*y,(1-.555)*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),E.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,oe=.5,ae=z,ne=Math.PI/4,fe=4*(1-Math.cos(ne))/(3*Math.sin(ne)),pe=fe*.5,we=z,be=z,xe=fe*we,Se=fe*be;E.add(new go.PathSegment(go.PathSegment.Bezier,(oe-we)*y,ae*a,(oe-(xe+we)/2)*y,(ae+(be+Se)/2)*a,(oe-we)*y,(ae+Se)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ae-be)*a,(oe-we)*y,(ae-Se)*a,(oe-xe)*y,(ae-be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(oe+we)*y,ae*a,(oe+xe)*y,(ae-be)*a,(oe+we)*y,(ae-Se)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(oe+we)*y,(ae+Se)*a,(oe+(xe+we)/2)*y,(ae+(be+Se)/2)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var gt=new go.PathFigure(.2*y,a,!1);x.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Qe=new go.PathFigure(.8*y,a,!1);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var E=new go.PathFigure(.2*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(.1*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,E*y,E*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var E=new go.PathFigure(.475*y,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*.5,z=new go.PathFigure(y,b*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+E)*a,(b+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-E)*y,a,0,(b+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-E)*a,(b-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+E)*y,0,y,(b-E)*a));var oe=new go.PathFigure(b*y,0,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),oe.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,.15*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var E=new go.PathFigure(0,.2*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var E=new go.PathFigure(.15*y,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(y,.8*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,oe=se*.1,ae=.2,ne=.9,fe=new go.PathFigure((ae-z)*y,ne*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-z)*a,(ae-z)*y,(ne-oe)*a,(ae-oe)*y,(ne-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,ne*a,(ae+oe)*y,(ne-z)*a,(ae+z)*y,(ne-oe)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+z)*a,(ae+z)*y,(ne+oe)*a,(ae+oe)*y,(ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,ne*a,(ae-oe)*y,(ne+z)*a,(ae-z)*y,(ne+oe)*a).close()),z=.1,oe=se*.1,ae=.8,ne=.9;var pe=new go.PathFigure((ae-z)*y,ne*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-z)*a,(ae-z)*y,(ne-oe)*a,(ae-oe)*y,(ne-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,ne*a,(ae+oe)*y,(ne-z)*a,(ae+z)*y,(ne-oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+z)*a,(ae+z)*y,(ne+oe)*a,(ae+oe)*y,(ne+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,ne*a,(ae-oe)*y,(ne+z)*a,(ae-z)*y,(ne+oe)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var E=new go.PathFigure(0,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var oe=new go.PathFigure(.5*y,.7*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ae=.1,ne=se*.1,fe=.1,pe=.9,we=new go.PathFigure((fe-ae)*y,pe*a,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(pe-ae)*a,(fe-ae)*y,(pe-ne)*a,(fe-ne)*y,(pe-ae)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae)*y,pe*a,(fe+ne)*y,(pe-ae)*a,(fe+ae)*y,(pe-ne)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(pe+ae)*a,(fe+ae)*y,(pe+ne)*a,(fe+ne)*y,(pe+ae)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae)*y,pe*a,(fe-ne)*y,(pe+ae)*a,(fe-ae)*y,(pe+ne)*a)),ae=.1,ne=se*.1,fe=.4,pe=.9;var be=new go.PathFigure((fe-ae)*y,pe*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(pe-ae)*a,(fe-ae)*y,(pe-ne)*a,(fe-ne)*y,(pe-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae)*y,pe*a,(fe+ne)*y,(pe-ae)*a,(fe+ae)*y,(pe-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(pe+ae)*a,(fe+ae)*y,(pe+ne)*a,(fe+ne)*y,(pe+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae)*y,pe*a,(fe-ne)*y,(pe+ae)*a,(fe-ae)*y,(pe+ne)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var E=new go.PathFigure(.45*y,.7*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var fe=.05,pe=se*.05,we=.175,be=.95,oe=new go.PathFigure((we-fe)*y,be*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be-fe)*a,(we-fe)*y,(be-pe)*a,(we-pe)*y,(be-fe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(we+fe)*y,be*a,(we+pe)*y,(be-fe)*a,(we+fe)*y,(be-pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be+fe)*a,(we+fe)*y,(be+pe)*a,(we+pe)*y,(be+fe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(we-fe)*y,be*a,(we-pe)*y,(be+fe)*a,(we-fe)*y,(be+pe)*a));var fe=.05,pe=se*.05,we=.375,be=.95,ae=new go.PathFigure((we-fe)*y,be*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be-fe)*a,(we-fe)*y,(be-pe)*a,(we-pe)*y,(be-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(we+fe)*y,be*a,(we+pe)*y,(be-fe)*a,(we+fe)*y,(be-pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be+fe)*a,(we+fe)*y,(be+pe)*a,(we+pe)*y,(be+fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(we-fe)*y,be*a,(we-pe)*y,(be+fe)*a,(we-fe)*y,(be+pe)*a));var fe=.05,pe=se*.05,we=.625,be=.95,ne=new go.PathFigure((we-fe)*y,be*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be-fe)*a,(we-fe)*y,(be-pe)*a,(we-pe)*y,(be-fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(we+fe)*y,be*a,(we+pe)*y,(be-fe)*a,(we+fe)*y,(be-pe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be+fe)*a,(we+fe)*y,(be+pe)*a,(we+pe)*y,(be+fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(we-fe)*y,be*a,(we-pe)*y,(be+fe)*a,(we-fe)*y,(be+pe)*a));var fe=.05,pe=se*.05,we=.825,be=.95,xe=new go.PathFigure((we-fe)*y,be*a,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be-fe)*a,(we-fe)*y,(be-pe)*a,(we-pe)*y,(be-fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(we+fe)*y,be*a,(we+pe)*y,(be-fe)*a,(we+fe)*y,(be-pe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,we*y,(be+fe)*a,(we+fe)*y,(be+pe)*a,(we+pe)*y,(be+fe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(we-fe)*y,be*a,(we-pe)*y,(be+fe)*a,(we-fe)*y,(be+pe)*a).close());var Se=new go.PathFigure(0,a,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var oe=.05,ae=se*.05,ne=.35,fe=.775,pe=new go.PathFigure((ne-oe)*y,fe*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(fe-oe)*a,(ne-oe)*y,(fe-ae)*a,(ne-ae)*y,(fe-oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+oe)*y,fe*a,(ne+ae)*y,(fe-oe)*a,(ne+oe)*y,(fe-ae)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(fe+oe)*a,(ne+oe)*y,(fe+ae)*a,(ne+ae)*y,(fe+oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-oe)*y,fe*a,(ne-ae)*y,(fe+oe)*a,(ne-oe)*y,(fe+ae)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(ce,y,a){var x=new go.Geometry,b=.3,E=se*.3,z=.5,oe=.7,ae=new go.PathFigure((z-b)*y,oe*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-b)*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,oe*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+b)*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,oe*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a));var ne=new go.PathFigure(0,.7*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var E=new go.PathFigure(0,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*.5,z=.5,oe=.5,ae=new go.PathFigure((z-b)*y,oe*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-b)*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,oe*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+b)*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,oe*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a));var ne=new go.PathFigure(.15*y,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*.5,z=.5,oe=.5,ae=new go.PathFigure((z-b)*y,oe*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-b)*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,oe*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+b)*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,oe*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a).close()),b=.05,E=se*.05,z=.5,oe=.8;var ne=new go.PathFigure((z-b)*y,oe*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe-b)*a,(z-b)*y,(oe-E)*a,(z-E)*y,(oe-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,oe*a,(z+E)*y,(oe-b)*a,(z+b)*y,(oe-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(oe+b)*a,(z+b)*y,(oe+E)*a,(z+E)*y,(oe+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,oe*a,(z-E)*y,(oe+b)*a,(z-b)*y,(oe+E)*a).close()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var E=new go.PathFigure(0,a*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var E=new go.PathFigure(.126*y,.85*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var oe=new go.PathFigure(.678*y,.85*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ae=new go.PathFigure(.5*y,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var E=new go.PathFigure(y*.204,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var oe=new go.PathFigure(y*.612,a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ae=new go.PathFigure(y*.816,a,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var E=new go.PathFigure(y*.055,.07*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var oe=new go.PathFigure(y*.055,.18*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ae=new go.PathFigure(y*1,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var oe=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ce,y,a){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,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var oe=new go.PathFigure(y*.83,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ae=new go.PathFigure(y*.83,a*1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ne=new go.PathFigure(y*.78,a*.05,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*se,E=a*.8,z=new go.Geometry,oe=new go.PathFigure(x,0,!0);return z.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)),oe.add(new go.PathSegment(go.PathSegment.Line,y,E-x)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-x,E,y,E-b,y-b,E)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,E)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.55,E)),oe.add(new go.PathSegment(go.PathSegment.Line,x,E)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),oe.add(new go.PathSegment(go.PathSegment.Line,0,x)),oe.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,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var E=new go.PathFigure(y*1,a*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var E=new go.PathFigure(y*.1,a*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ce,y,a){var x=new go.Geometry,b=15,E=b*se,z=new go.PathFigure(y*.62,a*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.4,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.5,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var E=new go.PathFigure(y*.235,a*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),E.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),E.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ht={},Et="5.0",ee={},re=null,me=!1,Oe=!1,ze=null,Be=!1,Te=null,se=null,Ze=0;Ze<arguments.length;Ze++){var je=arguments[Ze];if(je!==null)switch(typeof je){case"number":Et=je.toFixed(1);break;case"string":je.match(new RegExp("^[0-9]\\.[0-9]+$"))?Et=je:ze=je;break;case"object":typeof je.is3D!="undefined"?re=je:ee=je;break;case"boolean":me=je,Oe=!0;break}}re===null&&(re={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&&!Oe&&(me=!0)),ze!==null&&ee.id===void 0&&(ee.id=ze);var He="",qe="",Ke=!1,Ee=null,ce=null,y=null,a=!1,x=null,b=null,E=null,z=null,oe=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var ae=function(We){return parseFloat(We)>4?parseFloat(We):5};ht.setHTML5Codebase=function(We,Ct){se=We,Zt(We,Ct)},ht.setJavaCodebase=ht.setJavaCodebaseVersion=ht.isCompiledInstalled=ht.setPreCompiledScriptPath=ht.setPreCompiledResourcePath=function(){},ht.setHTML5CodebaseVersion=function(We,Ct){var Bt=parseFloat(We);if(Bt!==NaN&&Bt<5){console.log("The GeoGebra HTML5 codebase version "+Bt+" is deprecated. Using version latest instead.");return}Te=We,pt(We,Ct)},ht.getHTML5CodebaseVersion=function(){return ce},ht.getParameters=function(){return ee},ht.setFontsCSSURL=function(We){z=We},ht.setGiacJSURL=function(We){},ht.setJNLPFile=function(We){He=We},ht.setJNLPBaseDir=function(We){},ht.inject=function(){function We(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ct="auto",Bt=ee.id,Kn,lt=!1,Mt=0;Mt<arguments.length;Mt++){var Ce=arguments[Mt];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ct=Ce:Bt=arguments[Mt]):typeof Ce=="boolean"?lt=Ce:Ce instanceof HTMLElement&&(Kn=Ce)}Pn();function Pn(){if(!Be){setTimeout(Pn,200);return}Ct=tn(Ct);var Hn=Kn||document.getElementById(Bt);if(!Hn){console.log("possibly bug on ajax loading? ");return}if(ht.removeExistingApplet(Hn,!1),ee.width===void 0&&Hn.clientWidth&&(ee.width=Hn.clientWidth),ee.height===void 0&&Hn.clientHeight&&(ee.height=Hn.clientHeight),!(ee.width&&ee.height)&&Ct==="html5"&&(delete ee.width,delete ee.height),Ee=Ct,Ct==="screenshot")Qe(Hn,ee);else{var Ca=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?Ca=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(Ca=(!ne()||We())&&fe()),Ca?(Ee="screenshot",$e(Hn,ee,lt,Ct)):gt(Hn,ee,lt)}}};function ne(){try{return window.self!==window.top}catch(We){return!0}}function fe(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ht.getViews=function(){return re},ht.isJavaInstalled=function(){return!1};var pe=function(We){var Ct=function(Mt){var Ce=JSON.parse(Mt),Pn=function(Yn){return Yn.type=="G"||Yn.type=="E"},Hn=Ce.elements?Ce.elements.filter(Pn)[0]:Ce;if(!Hn||!Hn.url){Bt();return}ee.fileName=Hn.url,we(Hn.settings||{}),re.is3D=!0;var Ca="https://www.geogebra.org/images/";ht.setPreviewImage(x||Hn.previewUrl,Ca+"GeoGebra_loading.png",Ca+"applet_play.png"),We()},Bt=function(){ee.onError&&ee.onError(),nn("Error: Fetching material (id "+ee.material_id+") failed.",ee)},Kn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",lt="/materials/"+ee.material_id+"?scope=basic";be("https://"+Kn+"/api/proxy.php?path="+encodeURIComponent(lt),Ct,Bt)};function we(We){var Ct=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Bt){We[Bt]=!!We[Bt]}),Ct.forEach(function(Bt){ee[Bt]===void 0&&We[Bt]!==void 0&&(ee[Bt]=We[Bt])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function be(We,Ct,Bt){var Kn=new XMLHttpRequest;Kn.open("GET",We),Kn.onload=function(){Ct(Kn.responseText)},Kn.onerror=Bt,Kn.send()}ht.isHTML5Installed=function(){return!0},ht.getLoadedAppletType=function(){return Ee},ht.setPreviewImage=function(We,Ct,Bt){x=We,b=Ct,E=Bt},ht.removeExistingApplet=function(We,Ct){var Bt;typeof We=="string"&&(We=document.getElementById(We)),Ee=null;var Kn=null;for(Bt=0;Bt<We.childNodes.length;Bt++){var lt=We.childNodes[Bt],Mt=lt.className;Mt==="applet_screenshot"?Ct?(lt.style.display="block",Ee="screenshot"):lt.style.display="none":Mt!=="applet_scaler prerender"&&(We.removeChild(lt),Kn=Mt&&Mt.indexOf("appletParameters")!=-1?lt.id:null,Bt--)}var Ce=ee.id!==void 0?ee.id:Kn,Pn=window[Ce];Pn&&typeof Pn.getBase64=="function"&&(Pn.remove(),window[Ce]=null)},ht.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var We=ht.getAppletObject();return We&&typeof We.recalculateEnvironments=="function"?(We.recalculateEnvironments(),!0):!1},ht.startAnimation=function(){var We=ht.getAppletObject();return We&&typeof We.startAnimation=="function"?(We.startAnimation(),!0):!1},ht.stopAnimation=function(){var We=ht.getAppletObject();return We&&typeof We.stopAnimation=="function"?(We.stopAnimation(),!0):!1},ht.getAppletObject=function(){var We=ee.id!==void 0?ee.id:"ggbApplet";return window[We]},ht.resize=function(){};var xe=function(We,Ct,Bt){var Kn=document.createElement("param");Kn.setAttribute("name",Ct),Kn.setAttribute("value",Bt),We.appendChild(Kn)},Se=function(We){return We&&We!=="false"},gt=function(We,Ct,Bt){ae(ce)<=4.2&&(Bt=!0);var Kn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ce||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Kn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var lt=document.createElement("div");lt.classList.add("appletParameters","notranslate");var Mt=Ct.width,Ce=Ct.height;if(Ct.disableAutoScale=Ct.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ct.disableAutoScale,Ct.width!==void 0)if(ae(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 Pn=100;(Se(Ct.showToolBar)||Se(Ct.showMenuBar))&&(Ct.hasOwnProperty("customToolBar")&&(Ct.customToolbar=Ct.customToolBar),Pn=Se(Ct.showMenuBar)?245:155),Mt<Pn&&(Ct.width=Pn,Mt=Pn)}lt.style.border="none",lt.style.display="inline-block";for(var Hn in Ct)Ct.hasOwnProperty(Hn)&&Hn!=="appletOnLoad"&&lt.setAttribute("data-param-"+Hn,Ct[Hn]);z&&lt.setAttribute("data-param-fontscssurl",z),ht.resize=function(){GGBAppletUtils.responsiveResize(We,Ct)},window.addEventListener("resize",function(ma){ht.resize()});var Ca=typeof Ct.appletOnLoad=="function"?Ct.appletOnLoad:function(){};if(!Bt&&Ct.width!==void 0){Ct.hasOwnProperty("showSplash")||lt.setAttribute("data-param-showSplash","false");var Yn=We.querySelector(".applet_scaler.prerender"),Qt=Yn!==null;if(Qt)var Ge=Yn.querySelector(".ggb_preview");else{var Ge=Tt(Mt,Ce,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=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Yn,"66%"),ae(ce)>=5?(Ct.appletOnLoad=function(ma){var Ie=We.querySelector(".ggb_preview");Ie&&Ie.parentNode.removeChild(Ie),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Yn),window.GGBT_wsf_view&&$(window).trigger("resize"),Ca(ma)},Qt||Yn.appendChild(Ge)):lt.appendChild(Ge),Yn.appendChild(lt),Qt||We.appendChild(Yn),setTimeout(function(){ht.resize()},1)}else{var Me=document.createElement("div");Me.className="applet_scaler",Me.style.position="relative",Me.style.display="block",Me.appendChild(lt),We.appendChild(Me),Ct.appletOnLoad=function(ma){ht.resize(),Ca(ma)}}function ft(ma,Ie){Ie&&typeof Ie.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ma,Ie.appletOnLoad):renderGGBElement(ma),nn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ie)}function Ht(ma,Ie){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ma,params:Ie}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(_e){ft(_e.article,_e.params)}),html5AppletsToProcess=null)},ae(ce)<5&&(ma.className+=" geogebraweb")):ft(ma,Ie)}if(Kn){scriptLoadStarted=!0;for(var an=0;an<lt.childNodes.length;an++){var Rt=lt.childNodes[an].tagName;Rt==="TABLE"&&(lt.removeChild(lt.childNodes[an]),an--)}if(ggbHTML5LoadedScript!==null){var Jt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Jt!=null&&Jt.parentNode.removeChild(Jt)}var An=document.createElement("script"),kn=function(){Ht(lt,Ct)};An.src=qe+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ce,ggbHTML5LoadedScript=An.src,nn("GeoGebra HTML5 codebase loaded: '"+qe+"'.",Ct),!se&&(!Te||Te=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),kn()):qe.requirejs?__webpack_require__.e(12).then(function(){var ma=[__webpack_require__(12)];kn.apply(null,ma)}.bind(this)).catch(__webpack_require__.oe):(An.onload=kn,We.appendChild(An))}else Ht(lt,Ct);Ct.height=Ce,Ct.width=Mt},Qe=function(We,Ct,Bt){var Kn=Tt(Ct.width,Ct.height,Ct.borderColor,Bt),lt=document.createElement("div");lt.style.position="relative",lt.style.display="block",lt.style.width=Ct.width+"px",lt.style.height=Ct.height+"px",lt.className="applet_screenshot applet_scaler"+(Bt?" applet_screenshot_play":""),lt.appendChild(Kn);var Mt=GGBAppletUtils.getScale(Ct,We,Bt);Bt?(We.appendChild(et()),window.GGBT_wsf_view||(We.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(lt,"66%"),We.appendChild(lt),Mt!==1&&!isNaN(Mt)&&(GGBAppletUtils.scaleElement(lt,Mt),lt.style.width=Ct.width+"px",lt.style.height=Ct.height+"px",lt.parentNode.style.width=Ct.width*Mt+"px",lt.parentNode.style.height=Ct.height*Mt+"px"),ht.resize=function(){Dt(We,Kn,lt,Bt)},window.addEventListener("resize",function(Ce){ht.resize()}),ht.resize()};function Dt(We,Ct,Bt,Kn){if(We.contains(Ct)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(We.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(We)}var lt=GGBAppletUtils.getScale(ee,We,Kn);Bt.parentNode!==null&&(!isNaN(lt)&&lt!==1?(GGBAppletUtils.scaleElement(Bt,lt),Bt.parentNode.style.width=ee.width*lt+"px",Bt.parentNode.style.height=ee.height*lt+"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(We),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ht.onExitFullscreen=function(We,Ct){Ct.appendChild(We)};var $e=function(We,Ct,Bt,Kn){Qe(We,Ct,!0);for(var lt=function(){var Pn=[];for(Ce=0;Ce<We.childNodes.length;Ce++)Pn.push(We.childNodes[Ce]);if(window.GGBT_wsf_view){var Hn=window.GGBT_wsf_view.renderFullScreen(We,Ct.id),Ca=document.getElementById("fullscreencontainer"),Yn=jQuery(We).find(".fullscreencontent");Yn.length>0?(Hn.remove(),Yn.attr("id","fullscreencontent").show(),jQuery(Ca).append(Yn),window.dispatchEvent(new Event("resize"))):gt(Hn,Ct,!1),window.GGBT_wsf_view.launchFullScreen(Ca)}else Ee=Kn,gt(We,Ct,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<Pn.length;Ce++)We.removeChild(Pn[Ce])},Mt=We.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<Mt.length;Ce++)Mt[Ce].addEventListener("click",lt,!1),Mt[Ce].addEventListener("ontouchstart",lt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(We),fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},et=function(){var We=document.createElement("div");if(We.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 We},Tt=function(We,Ct,Bt,Kn){var lt=document.createElement("div");lt.className="ggb_preview",lt.style.position="absolute",lt.style.zIndex="90",lt.style.width=We-2+"px",lt.style.height=Ct-2+"px",lt.style.top="0px",lt.style.left="0px",lt.style.overflow="hidden",lt.style.backgroundColor="white";var Mt="lightgrey";Bt!==void 0&&(Bt==="none"?Mt="transparent":Mt=Bt),lt.style.border="1px solid "+Mt;var Ce=document.createElement("img");if(Ce.style.position="relative",Ce.style.zIndex="1000",Ce.style.top="-1px",Ce.style.left="-1px",x!==null&&Ce.setAttribute("src",x),Ce.style.opacity=.7,b!==null){var Pn,Hn,Ca;if(!Kn){Pn=document.createElement("img"),Pn.style.position="absolute",Pn.style.zIndex="1001",Pn.style.opacity=1,Ce.style.opacity=.3,Hn=360,Hn>We/4*3&&(Hn=We/4*3),Ca=Hn/5.8,Pn.setAttribute("src",b),Pn.setAttribute("width",Hn),Pn.setAttribute("height",Ca);var Yn=(We-Hn)/2,Qt=(Ct-Ca)/2;Pn.style.left=Yn+"px",Pn.style.top=Qt+"px",lt.appendChild(Pn)}}return lt.appendChild(Ce),lt},tn=function(We){return We=We.toLowerCase(),We==="html5"||We==="screenshot"?We:"html5"},jt=["web","webSimple","web3d","tablet","tablet3d","phone"],pt=function(We,Ct){if(ce=We,Ct){Zt(ce,!0);return}var Bt=!me;if(Bt){var Kn=ae(ce);!isNaN(Kn)&&Kn<4.4&&(Bt=!1)}var lt,Mt;window.location.protocol.substr(0,4)==="http"?lt=window.location.protocol:lt="http:";var Ce=ce.indexOf("//");Ce>0?Mt=ce:Ce===0?Mt=lt+ce:Mt="https://www.geogebra.org/apps/5.2.814.0/";for(var Pn in jt)if(ce.slice(jt[Pn].length*-1)===jt[Pn]||ce.slice((jt[Pn].length+1)*-1)===jt[Pn]+"/"){Zt(Mt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Bt&&!re.is3D&&!re.AV&&!re.SV&&!re.CV&&!re.EV2&&!re.CP&&!re.PC&&!re.DA&&!re.FI&&!re.PV&&!Se(ee.showToolBar)&&!Se(ee.showMenuBar)&&!Se(ee.showAlgebraInput)&&!Se(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Mt+="webSimple/":Mt+="web3d/",Zt(Mt,!1)},Zt=function(We,Ct){if(We.requirejs){qe=We;return}We.slice(-1)!=="/"&&(We+="/"),qe=We,Ct===null&&(Ct=We.indexOf("http")===-1),Ke=Ct,y="web.nocache.js",a=!1;var Bt=qe.split("/");Bt.length>1&&(!Ct&&Bt[Bt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):jt.indexOf(Bt[Bt.length-2])>=0&&(y=Bt[Bt.length-2]+".nocache.js")),Bt=We.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 Kn=parseFloat(ce);Kn!==NaN&&Kn<5&&We.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Kn+" is deprecated. Using version latest instead."),pt("5.0",Ct))},nn=function(We,Ct){window.console&&window.console.log&&(!Ct||typeof Ct.showLogging=="undefined"||Ct.showLogging&&Ct.showLogging!=="false")&&console.log(We)};ee.material_id!==void 0?pe(hn):hn();function hn(){var We=Et;Te!==null?We=Te:parseFloat(We)<5&&(We="5.0"),pt(We,!1),se!==null&&Zt(se,Ke),Be=!0}return ht},GGBAppletUtils=function(){"use strict";function ht(){return window.GGBT_wsf_edit!==void 0}function Et(Be,Te){Te!=1?(Be.style.transformOrigin="0% 0% 0px",Be.style.webkitTransformOrigin="0% 0% 0px",Be.style.transform="scale("+Te+","+Te+")",Be.style.webkitTransform="scale("+Te+","+Te+")",Be.style.maxWidth="initial",Be.querySelector(".ggb_preview")!==null&&(Be.querySelector(".ggb_preview").style.maxWidth="initial"),Be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Be.style.transform="none",Be.style.webkitTransform="none")}function ee(Be,Te,se,Ze,je,He){var qe=null;if(He!=null&&He!="")for(var Ke=Be.parentNode;Ke!=null;)if((" "+Ke.className+" ").indexOf(" "+He+" ")>-1){qe=Ke;break}else Ke=Ke.parentNode;var Ee=0,ce=0,y=0,a=0,x=0,b=0,E=0;if(qe)Ee=qe.offsetWidth,ce=Math.max(Ze?qe.offsetWidth:0,qe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ee):(Ee=window.innerWidth,ce=window.innerHeight,y=window.innerWidth),Be){var z=Be.getBoundingClientRect();z.left>0&&z.left<=Ee&&(je===void 0||!je)&&(document.dir==="rtl"?(x=Ee-z.width-z.left,b=y<=480?10:30):(b=z.left,x=y<=480?10:30),a=b+x)}if(Be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=Be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,E=40)}}return Be&&((se===void 0||!se)&&Te>0&&Te+a<Ee?Ee=Te:Ee-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(ce-=E)),{width:Ee,height:ce}}function re(Be,Te,se,Ze,je){if(Be.isScreenshoGenerator)return 1;var He=Ze!==void 0&&Ze,qe=Be.noScaleMargin!=null&&Be.noScaleMargin,Ke=function(oe){return oe&&oe!=="false"},Ee=Ke(Be.autoHeight),ce=ee(Te,Be.width,se,Ee,He&&window.GGBT_wsf_view||qe,je),y=parseInt(ce.width),a=Be.width,x=Be.height;if(a===void 0){var b=Te.querySelector(".appletParameters");b&&(a=b.offsetWidth,x=b.offsetHeight)}var E=y/a,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(Be,Te,se){var Ze=1,je,He=!1;if(Be.hasOwnProperty("allowUpscale")&&(He=Be.allowUpscale),Be.hasOwnProperty("scale")&&(Ze=parseFloat(Be.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),!(Be.hasOwnProperty("disableAutoScale")&&Be.disableAutoScale))je=re(Be,Te,He,se,Be.scaleContainerClass);else return Ze;return He&&(!Be.hasOwnProperty("scale")||Ze===1)?je:Math.min(Ze,je)}function Oe(Be){var Te=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Ze=Be.getBoundingClientRect(),je=(Te-Ze.width)/2,He=(se-Ze.height)/2;He<0&&(He=0),Be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je<40?Be.style.left="40px":Be.style.left=je+"px",Be.style.top=He+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He<40?Be.style.top="40px":Be.style.top=He+"px",Be.style.left=je+"px")}function ze(Be,Te){var se=Be.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(Be)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Ze=me(Te,Be);ht()&&se.setAttribute("data-param-scale",Ze);for(var je=null,He=0;He<Be.childNodes.length;He++)if(Be.childNodes[He].className!==void 0&&Be.childNodes[He].className.match(/^applet_scaler/)){je=Be.childNodes[He];break}if(je!==null&&je.querySelector(".noscale")!==null)return;var qe=Te.id!==void 0?Te.id:"ggbApplet",Ke=window[qe];(Ke==null||!Ke.recalculateEnvironments)&&je!==null&&!je.className.match(/fullscreen/)&&(je.parentNode.style.transform="",!isNaN(Ze)&&Ze!==1?(je.parentNode.style.width=Te.width*Ze+"px",je.parentNode.style.height=Te.height*Ze+"px",Et(je,Ze)):(Et(je,1),je.parentNode.style.width=Te.width+"px",je.parentNode.style.height=Te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Oe(Be),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:Oe,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():{},re=ht[webModule.__softPermutationId],me=O;me<re.length;me++){var Oe=re[me];ee[Oe[O]]=Oe[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(re){function me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Oe=me();if(Oe){re();return}function ze(){if(!Oe){if(!me())return;Oe=!0,re(),o.removeEventListener&&o.removeEventListener(Z,ze,!1),Be&&clearInterval(Be)}}o.addEventListener&&o.addEventListener(Z,ze,!1);var Be=setInterval(function(){ze()},$)}function ee(re){var me=u(),Oe=me.body,ze=me.createElement(_);ze.language=ab,ze.crossOrigin=W,ze.src=re,webModule.__errFn&&(ze.onerror=function(){webModule.__errFn(L,new Error(bb+re))}),Oe.appendChild(ze)}Et(function(){ee(ht)})}webModule.__startLoadingFragment=function(ht){return C(ht)},webModule.__installRunAsyncCode=function(ht){var Et=u(),ee=Et.body,re=Et.createElement(_);re.language=ab,re.text=ht,ee.appendChild(re),ee.removeChild(re)};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(Be){var Te=Be.lastIndexOf(rb);Te==-1&&(Te=Be.length);var se=Be.indexOf(sb);se==-1&&(se=Be.length);var Ze=Be.lastIndexOf(tb,Math.min(se,Te));return Ze>=O?Be.substring(O,Ze+P):W}function Et(Be){if(!Be.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=Be+vb,Be=ht(Te.src)}return Be}function ee(){var Be=__gwt_getMetaProperty(wb);return Be!=null?Be:W}function re(){for(var Be=o.getElementsByTagName(_),Te=O;Te<Be.length;++Te)if(Be[Te].src.indexOf(xb)!=-1)return ht(Be[Te].src);return W}function me(){var Be=o.getElementsByTagName(yb);return Be.length>O?Be[Be.length-P].href:W}function Oe(){var Be=o.location;return Be.href==Be.protocol+zb+Be.host+Be.pathname+Be.search+Be.hash}var ze=ee();return ze==W&&(ze=re()),ze==W&&(ze=me()),ze==W&&Oe()&&(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=[],re=[];function me(Be){var Te=re[Be](),se=ee[Be];if(Te in se)return Te;var Ze=[];for(var je in se)Ze[se[je]]=je;throw r&&r(Be,Ze,Te),null}if(__gwt_isKnownPropertyValue=function(Be,Te){return Te in ee[Be]},webModule.__getPropMap=function(){var Be={};for(var Te in ee)ee.hasOwnProperty(Te)&&(Be[Te]=me(Te));return Be},webModule.__computePropValue=me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Oe;try{Oe=Cb;var ze=Oe.indexOf(Db);ze!=-1&&(Et=parseInt(Oe.substring(ze+P),$),Oe=Oe.substring(O,ze))}catch(Be){}return webModule.__softPermutationId=Et,C(Oe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(ht,Et,ee){"use strict";ee.d(Et,{Ax:function(){return ze},Ds:function(){return Be},KI:function(){return se},SI:function(){return Oe},f1:function(){return me}});var re=ee(11320);function me(Ze){let je=!0;if(Ze.length>0){for(let He=0;He<Ze.length;He++)if(Ze[He].compile_success==0||!Ze[He].compile_success){je=!1;break}}else je=!1;return je}function Oe(Ze,je=""){let He=[];for(let qe=0;qe<Ze.length;qe++){let Ke=Ze[qe],Ee=je?`${je}/${Ke.name}`:`${Ke.name}`;He.push({title:Ke.name,type:Ke.type,isLeaf:Ke.type!=="tree",key:Ee})}return He}function ze(Ze,je,He){for(let qe=0;qe<Ze.length;qe++){let Ke=Ze[qe];if(Ke.key===je){Ke.children=He;break}Ke.children&&ze(Ke.children,je,He)}return Ze}function Be(Ze,je,He){let qe;return function(){let Ke=this,Ee=arguments,ce=function(){qe=null,He||Ze.apply(Ke,Ee)},y=He&&!qe;clearTimeout(qe),qe=setTimeout(ce,je),y&&Ze.apply(Ke,Ee)}}const Te=!0,se=re.Z.API_SERVER},63205:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return qe}});var re=ee(67294),me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Oe=ee(94184),ze=ee.n(Oe),Be=ee(57953),Te=ee(15979),se=ee(33170),Ze=ee(28706),je=(Ke,Ee,ce)=>new Promise((y,a)=>{var x=z=>{try{E(ce.next(z))}catch(oe){a(oe)}},b=z=>{try{E(ce.throw(z))}catch(oe){a(oe)}},E=z=>z.done?y(z.value):Promise.resolve(z.value).then(x,b);E((ce=ce.apply(Ke,Ee)).next())}),qe=({data:Ke,className:Ee,fullWidth:ce,style:y={},onClose:a,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,re.useRef)(null),oe=(0,re.useRef)(null),ae=(0,re.useRef)(null),ne=(0,re.useRef)(null),[fe,pe]=(0,re.useState)(!1),[we,be]=(0,re.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,re.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),Ke!=null&&Ke.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",Ke!=null&&Ke.src&&xe()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[Ke==null?void 0:Ke.visible]);const xe=()=>je(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const $e=yield(0,Ze.ZJ)(Ke==null?void 0:Ke.src);z.current.src="",z.current.src=$e,z.current.onload=function(){Dt()},pe(!1),be("")}),Se=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},gt=$e=>je(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const et=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ke.title,file:$e.dataUrl}});et!=null&&et.id&&!E?(yield(0,se.ZP)(`/api/attachments/${Ke.id}/add_subitem.json`,{method:"post",body:{subitem_id:et==null?void 0:et.id,settings:JSON.stringify($e.state)}})).status===0&&x():et!=null&&et.id&&x(et),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",pe(!1),be("")}),Qe=()=>{const $e=document.querySelector('a[href="https://markerjs.com/"]');$e&&$e.parentNode&&($e.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 tn=document.querySelector(Tt.name);tn&&tn.setAttribute("title",Tt.title)})},Dt=()=>{oe.current=new Te.hP(z.current),oe.current.targetRoot=ne.current,oe.current.addEventListener("render",gt),oe.current.addEventListener("beforeclose",Se),b&&(oe.current.availableMarkerTypes=oe.current.ALL_MARKER_TYPES,oe.current.uiStyleSettings.redoButtonVisible=!0,oe.current.uiStyleSettings.notesButtonVisible=!0,oe.current.uiStyleSettings.zoomButtonVisible=!0,oe.current.uiStyleSettings.zoomOutButtonVisible=!0,oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=oe.current.uiStyleSettings,oe.current.show(),Ke!=null&&Ke.snapshotData&&oe.current.restoreState(Ke.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Qe()},300)};return re.createElement(re.Fragment,null,(Ke==null?void 0:Ke.visible)&&re.createElement(Be.Z,{spinning:fe,tip:we,style:{position:"absolute"}},re.createElement("div",{ref:ne,className:ze()(me.imageDimensions,Ee,ce?me.fullWidth:""),style:y},re.createElement("img",{className:me.img,ref:z}))))}},36527:function(ht,Et,ee){"use strict";var re=ee(67294),me=ee(71230),Oe=ee(15746),ze=ee(66368),Be=ee(71577),Te=ee(85725),se=ee(71736),Ze=ee(84279),je=ee(67294);const He=(0,re.forwardRef)(({callback:qe,showSaveButton:Ke,value:Ee=""},ce)=>{const y=(0,re.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],b=oe=>{y.current.setValue(y.current.getValue()+" "+oe.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(me.Z,{className:se.Z.lists,gutter:[10,10]},a.map((oe,ae)=>je.createElement(Oe.Z,{flex:"110px",className:se.Z.item},je.createElement("div",null,je.createElement(Te.Z,{value:`$$${oe.value}$$`}),oe.name),je.createElement("div",{className:se.Z.children},oe.children.map((ne,fe)=>je.createElement("div",{key:fe},je.createElement("h1",null,ne.name),je.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,we)=>je.createElement(Oe.Z,{key:we,onClick:()=>b(pe),className:se.Z.diamond},je.createElement(Te.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:je.createElement(me.Z,{className:se.Z.lists,gutter:[10,10]},x.map((oe,ae)=>je.createElement(Oe.Z,{flex:"110px",className:se.Z.item},je.createElement("div",null,je.createElement(Te.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),je.createElement("div",{className:se.Z.children},oe.children.map((ne,fe)=>je.createElement("div",{key:fe},ne.name&&je.createElement("h1",null,ne.name),je.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,we)=>je.createElement(Oe.Z,{key:we,onClick:()=>b(pe),className:se.Z.diamond},je.createElement(Te.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],z=()=>{var oe=document.createElement("div");oe.innerHTML=y.current.getValue();var ae=oe.innerText;return qe&&qe(ae),ae};return(0,re.useImperativeHandle)(ce,()=>({getData:z})),je.createElement("div",{className:se.Z.mathWrap},je.createElement(ze.default,{defaultActiveKey:"1",items:E}),je.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ee||""),Ke&&je.createElement("div",{className:se.Z.button},je.createElement(Be.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 oe}});var re=ee(67294),me=ee(42563),Oe=ee(22150),ze=ee(71577),Be=ee(4631),Te=ee.n(Be),se=ee(71749),Ze=ee(30483),je=Object.defineProperty,He=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,y=(ae,ne,fe)=>ne in ae?je(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ae[ne]=fe,a=(ae,ne)=>{for(var fe in ne||(ne={}))Ee.call(ne,fe)&&y(ae,fe,ne[fe]);if(Ke)for(var fe of Ke(ne))ce.call(ne,fe)&&y(ae,fe,ne[fe]);return ae},x=(ae,ne)=>He(ae,qe(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:ae,onCancel:ne})=>{const[fe,pe]=(0,re.useState)("python");function we(xe){pe(z[xe][1])}function be(xe){ae(xe)}return re.createElement(Oe.default,x(a({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),re.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},re.createElement(me.default,{getPopupContainer:xe=>xe.parentNode,onChange:we},Object.keys(z).map(xe=>re.createElement(b,{key:xe,value:xe},z[xe][0])))),re.createElement(Oe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},re.createElement(oe,{mode:fe})),re.createElement("div",{className:"flex-container flex-end"},re.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(ze.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function oe({value:ae,onChange:ne,mode:fe,options:pe={}}){const we=(0,re.useRef)(),[be,xe]=(0,re.useState)();return(0,re.useEffect)(()=>{if(be){let Se=function(gt){const Qe=gt.getValue();ne&&ne(Qe)};return be.on("change",Se),()=>{be.off("change",Se)}}},[be,ne]),(0,re.useEffect)(()=>{be&&be.setOption("mode",fe)},[be,fe]),(0,re.useEffect)(()=>{be&&(ae!==be.getValue()||ae==="")&&setTimeout(()=>{be.setValue(ae||"")},300)},[be,ae]),(0,re.useEffect)(()=>{if(we.current&&!be){const Se=Te().fromTextArea(we.current,a({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));xe(Se)}},[we.current,be]),re.createElement("div",{className:"my-codemirror-container"},re.createElement("textarea",{ref:we}))}},35567:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Zn}});var re=ee(67294),me=ee(4631),Oe=ee.n(me),ze=ee(91033),Be=ee(71749),Te=ee(57341),se=ee(82801),Ze=ee(88386),je=ee(49047),He=ee(80785),qe=ee(85725),Ke=({value:tt="",className:st,showTextOnly:Ve,showLines:Kt,style:Cn={}})=>{const Qn=(0,re.useMemo)(()=>"",[tt]);return re.createElement(re.Fragment,null,re.createElement("div",{dangerouslySetInnerHTML:{__html:Qn}}))},Ee=ee(67294),ce=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(tt,st,Ve)=>st in tt?ce(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[st]=Ve,oe=(tt,st)=>{for(var Ve in st||(st={}))b.call(st,Ve)&&z(tt,Ve,st[Ve]);if(x)for(var Ve of x(st))E.call(st,Ve)&&z(tt,Ve,st[Ve]);return tt},ae=(tt,st)=>y(tt,a(st));let ne=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function fe({onActionCallback:tt,title:st,icon:Ve,actionName:Kt,className:Cn="",children:Qn}){function Ka(){tt(Kt)}return Ee.createElement("a",{title:st,className:Cn,onClick:Ka},Ee.createElement("i",{className:`${Ve}`}),Qn)}var pe=({watch:tt,showNullButton:st,showNullProgramButton:Ve,onActionCallback:Kt,fullScreen:Cn,insertTemp:Qn,hidetoolBar:Ka,extraUse:ca})=>{const Wn=[...ne,{title:`${tt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${tt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ee.createElement("ul",{className:"markdown-toolbar-container"},!Ka&&Wn.map((Ma,ho)=>Ee.createElement("li",{key:ho},Ma.actionName?Ee.createElement(fe,ae(oe({},Ma),{onActionCallback:Kt})):Ee.createElement("span",{className:"v-line"}))),st?Ee.createElement("li",null,Ee.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Kt},Ee.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ve?Ee.createElement(Ee.Fragment,null,Ee.createElement("li",null,Ee.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Kt},Ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ee.createElement("li",null,Ee.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Kt},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Qn&&Ee.createElement("li",null,Ee.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qn}`,onActionCallback:Kt},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ca&&Ee.createElement("li",null,ca),Ee.createElement("li",{className:"btn-full-screen"},Ee.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})))},we=ee(76621),be=ee(22150),xe=ee(69677),Se=ee(71577),gt=Object.defineProperty,Qe=Object.defineProperties,Dt=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,tn=(tt,st,Ve)=>st in tt?gt(tt,st,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):tt[st]=Ve,jt=(tt,st)=>{for(var Ve in st||(st={}))et.call(st,Ve)&&tn(tt,Ve,st[Ve]);if($e)for(var Ve of $e(st))Tt.call(st,Ve)&&tn(tt,Ve,st[Ve]);return tt},pt=(tt,st)=>Qe(tt,Dt(st));const Zt={labelCol:{span:4},wrapperCol:{span:20}};var nn=({callback:tt,onCancel:st})=>{function Ve(Kt){tt(Kt)}return re.createElement(be.default,pt(jt({},Zt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ve,style:{width:500}}),re.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},re.createElement(xe.default,null)),re.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},re.createElement(xe.default,null)),re.createElement("div",{className:"flex-container flex-end"},re.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(Se.ZP,{type:"ghost",onClick:st},"\u53D6\u6D88")))},hn=ee(57444),We=ee(70859),Ct=ee(14446),Bt=ee(71230),Kn=ee(63205),lt=ee(67294),Mt=({callback:tt,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 lt.createElement(Ct.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},lt.createElement(Bt.Z,{style:{height:"100vh"}},lt.createElement(Kn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Cn,visible:!0,title:String(Date.now())},onOk:Qn=>{tt({src:Qn.url})},onClose:st})))},Ce=ee(23495);function Pn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Pn,go.CommandHandler),Pn.prototype.canAlignSelection=function(){var tt=this.diagram;return!(tt===null||tt.isReadOnly||tt.isModelReadOnly||tt.selection.count<2)},Pn.prototype.alignLeft=function(){var tt=this.diagram;tt.startTransaction("aligning left");var st=1/0;tt.selection.each(function(Ve){Ve instanceof go.Link||(st=Math.min(Ve.position.x,st))}),tt.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(st,Ve.position.y))}),tt.commitTransaction("aligning left")},Pn.prototype.alignRight=function(){var tt=this.diagram;tt.startTransaction("aligning right");var st=-1/0;tt.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var Kt=Ve.actualBounds.x+Ve.actualBounds.width;st=Math.max(Kt,st)}}),tt.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(st-Ve.actualBounds.width,Ve.position.y))}),tt.commitTransaction("aligning right")},Pn.prototype.alignTop=function(){var tt=this.diagram;tt.startTransaction("alignTop");var st=1/0;tt.selection.each(function(Ve){Ve instanceof go.Link||(st=Math.min(Ve.position.y,st))}),tt.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.position.x,st))}),tt.commitTransaction("alignTop")},Pn.prototype.alignBottom=function(){var tt=this.diagram;tt.startTransaction("aligning bottom");var st=-1/0;tt.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var Kt=Ve.actualBounds.y+Ve.actualBounds.height;st=Math.max(Kt,st)}}),tt.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.actualBounds.x,st-Ve.actualBounds.height))}),tt.commitTransaction("aligning bottom")},Pn.prototype.alignCenterX=function(){var tt=this.diagram,st=tt.selection.first();if(st){tt.startTransaction("aligning Center X");var Ve=st.actualBounds.x+st.actualBounds.width/2;tt.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(Ve-Kt.actualBounds.width/2,Kt.actualBounds.y))}),tt.commitTransaction("aligning Center X")}},Pn.prototype.alignCenterY=function(){var tt=this.diagram,st=tt.selection.first();if(st){tt.startTransaction("aligning Center Y");var Ve=st.actualBounds.y+st.actualBounds.height/2;tt.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(Kt.actualBounds.x,Ve-Kt.actualBounds.height/2))}),tt.commitTransaction("aligning Center Y")}},Pn.prototype.alignColumn=function(tt){var st=this.diagram;st.startTransaction("align Column"),tt===void 0&&(tt=0),tt=parseFloat(tt);var Ve=new Array;st.selection.each(function(ca){ca instanceof go.Link||Ve.push(ca)});for(var Kt=0;Kt<Ve.length-1;Kt++){var Cn=Ve[Kt],Qn=Cn.actualBounds.y+Cn.actualBounds.height+tt,Ka=Ve[Kt+1];Ka.move(new go.Point(Cn.actualBounds.x,Qn))}st.commitTransaction("align Column")},Pn.prototype.alignRow=function(tt){tt===void 0&&(tt=0),tt=parseFloat(tt);var st=this.diagram;st.startTransaction("align Row");var Ve=new Array;st.selection.each(function(ca){ca instanceof go.Link||Ve.push(ca)});for(var Kt=0;Kt<Ve.length-1;Kt++){var Cn=Ve[Kt],Qn=Cn.actualBounds.x+Cn.actualBounds.width+tt,Ka=Ve[Kt+1];Ka.move(new go.Point(Qn,Cn.actualBounds.y))}st.commitTransaction("align Row")},Pn.prototype.canRotate=function(tt){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<1)},Pn.prototype.rotate=function(tt){tt===void 0&&(tt=90);var st=this.diagram;st.startTransaction("rotate "+tt.toString());var st=this.diagram;st.selection.each(function(Ve){Ve instanceof go.Link||Ve instanceof go.Group||(Ve.angle+=tt)}),st.commitTransaction("rotate "+tt.toString())},Pn.prototype.pullToFront=function(){var tt=this.diagram;tt.startTransaction("pullToFront");var st=new go.Map;tt.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 Qn=Cn.zOrder;isNaN(Qn)?Cn.zOrder=0:Kt=Math.max(Kt,Qn)}}),st.set(Ve,Kt)}),tt.selection.each(function(Ve){Pn._assignZOrder(Ve,st.get(Ve.layer)+1)}),tt.commitTransaction("pullToFront")},Pn.prototype.pushToBack=function(){var tt=this.diagram;tt.startTransaction("pushToBack");var st=new go.Map;tt.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 Qn=Cn.zOrder;isNaN(Qn)?Cn.zOrder=0:Kt=Math.min(Kt,Qn)}}),st.set(Ve,Kt)}),tt.selection.each(function(Ve){Pn._assignZOrder(Ve,st.get(Ve.layer)-1-Pn._findGroupDepth(Ve))}),tt.commitTransaction("pushToBack")},Pn._assignZOrder=function(tt,st,Ve){Ve===void 0&&(Ve=tt),tt.layer===Ve.layer&&(tt.zOrder=st),tt instanceof go.Group&&tt.memberParts.each(function(Kt){Pn._assignZOrder(Kt,st+1,Ve)})},Pn._findGroupDepth=function(tt){if(tt instanceof go.Group){var st=0;return tt.memberParts.each(function(Ve){st=Math.max(st,Pn._findGroupDepth(Ve))}),st+1}else return 0},Pn.prototype.doKeyDown=function(){var tt=this.diagram;if(tt!==null){var st=tt.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)}},Pn.prototype._getAllParts=function(){var tt=new Array;return this.diagram.nodes.each(function(st){tt.push(st)}),this.diagram.parts.each(function(st){tt.push(st)}),tt},Pn.prototype._arrowKeyMove=function(){var tt=this.diagram,st=tt.lastInput,Ve=0,Kt=0;if(st.control||st.meta)Ve=1,Kt=1;else if(tt.grid!==null){var Cn=tt.grid.gridCellSize;Kt=Cn.width,Ve=Cn.height}tt.startTransaction("arrowKeyMove"),tt.selection.each(function(Qn){st.key==="Up"?Qn.move(new go.Point(Qn.actualBounds.x,Qn.actualBounds.y-Ve)):st.key==="Down"?Qn.move(new go.Point(Qn.actualBounds.x,Qn.actualBounds.y+Ve)):st.key==="Left"?Qn.move(new go.Point(Qn.actualBounds.x-Kt,Qn.actualBounds.y)):st.key==="Right"&&Qn.move(new go.Point(Qn.actualBounds.x+Kt,Qn.actualBounds.y))}),tt.commitTransaction("arrowKeyMove")},Pn.prototype._arrowKeySelect=function(){var tt=this.diagram,st=tt.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:tt.select(Ve))},Pn.prototype._findNearestPartTowards=function(tt){var st=this.diagram.selection.first();if(st===null)return null;for(var Ve=st.actualBounds.center,Kt=this._getAllParts(),Cn=1/0,Qn=st,Ka=0;Ka<Kt.length;Ka++){var ca=Kt[Ka];if(ca!==st&&ca.canSelect()){var Wn=ca.actualBounds.center,Ma=Ve.directionPoint(Wn),ho=this._angleCloseness(Ma,tt);if(ho<=45){var Mn=Ve.distanceSquaredPoint(Wn);Mn*=1+Math.sin(ho*Math.PI/180),Mn<Cn&&(Cn=Mn,Qn=ca)}}}return Qn},Pn.prototype._angleCloseness=function(tt,st){return Math.min(Math.abs(st-tt),Math.min(Math.abs(st+360-tt),Math.abs(st-360-tt)))},Pn.prototype._arrowKeyTree=function(){var tt=this.diagram,st=tt.selection.first();if(st instanceof go.Node){var Ve=tt.lastInput;if(Ve.key==="Right"){if(!st.isTreeLeaf)if(!st.isTreeExpanded)tt.commandHandler.canExpandTree(st)&&tt.commandHandler.expandTree(st);else{var Kt=this._sortTreeChildrenByY(st).first();Kt!==null&&tt.select(Kt)}}else if(Ve.key==="Left")if(!st.isTreeLeaf&&st.isTreeExpanded)tt.commandHandler.canCollapseTree(st)&&tt.commandHandler.collapseTree(st);else{var Cn=st.findTreeParentNode();Cn!==null&&tt.select(Cn)}else if(Ve.key==="Up"){var Cn=st.findTreeParentNode();if(Cn!==null){var Qn=this._sortTreeChildrenByY(Cn),Ka=Qn.indexOf(st);if(Ka>0){for(var ca=Qn.elt(Ka-1);ca!==null&&ca.isTreeExpanded&&!ca.isTreeLeaf;){var Wn=this._sortTreeChildrenByY(ca);ca=Wn.last()}ca!==null&&tt.select(ca)}else tt.select(Cn)}}else if(Ve.key==="Down")if(st.isTreeExpanded&&!st.isTreeLeaf){var Kt=this._sortTreeChildrenByY(st).first();Kt!==null&&tt.select(Kt)}else for(;st!==null;){var Cn=st.findTreeParentNode();if(Cn===null)break;var Qn=this._sortTreeChildrenByY(Cn),Ka=Qn.indexOf(st);if(Ka<Qn.length-1){tt.select(Qn.elt(Ka+1));break}else st=Cn}var Ma=tt.selection.first();Ma!==null&&tt.scrollToRect(Ma.actualBounds)}},Pn.prototype._sortTreeChildrenByY=function(tt){var st=new go.List().addAll(tt.findTreeChildrenNodes());return st.sort(function(Ve,Kt){var Cn=Ve.location,Qn=Kt.location;return Cn.y<Qn.y?-1:Cn.y>Qn.y?1:Cn.x<Qn.x?-1:Cn.x>Qn.x?1:0}),st},Pn.prototype.copyToClipboard=function(tt){go.CommandHandler.prototype.copyToClipboard.call(this,tt),this._lastPasteOffset.set(this.pasteOffset)},Pn.prototype.pasteFromClipboard=function(){var tt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(tt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),tt},Object.defineProperty(Pn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(tt){if(tt!=="move"&&tt!=="select"&&tt!=="scroll"&&tt!=="tree"&&tt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+tt);this._arrowKeyBehavior=tt}}),Object.defineProperty(Pn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(tt){if(!(tt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+tt);this._pasteOffset.set(tt)}});var Hn=Pn,Ca=ee(18023),Yn=ee(15746),Qt=ee(33170),Ge={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Me=ee(67294),ft=(tt,st,Ve)=>new Promise((Kt,Cn)=>{var Qn=Wn=>{try{ca(Ve.next(Wn))}catch(Ma){Cn(Ma)}},Ka=Wn=>{try{ca(Ve.throw(Wn))}catch(Ma){Cn(Ma)}},ca=Wn=>Wn.done?Kt(Wn.value):Promise.resolve(Wn.value).then(Qn,Ka);ca((Ve=Ve.apply(tt,st)).next())});function Ht({onCancel:tt,callback:st}){let Ve=(0,re.useRef)(),Kt=(0,re.useRef)(),Cn=(0,re.useRef)(),Qn=(0,re.useRef)(!1);const Ka=(0,re.useRef)(!1),[ca,Wn]=(0,re.useState)(0);function Ma(){const Mn=Ce.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 Ce.S0(Kt.current,{padding:20,grid:Mn(Ce.s_,"Grid",Mn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Mn(Ce.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(Hn),"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(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),Mn(Ce.bn,{name:"SHAPE",fill:no.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Mn(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Mn(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ve.current.nodeTemplate.toolTip=Mn("ToolTip",Mn(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},Mn(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),Mn(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function ot(In,va){var Va=(Un,Wr)=>{Un.handled=!0,Un.diagram.model.commit(_r=>{var ti=Wr.part.adornedPart,ni=new Ce.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(Un.diagram.grid.gridOrigin,Un.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=Un.diagram.findNodeForData(ai);yi.location=ni,Un.diagram.select(yi),setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()},20)})};return Mn(Ce.bn,{figure:va,alignment:In,alignmentFocus:In.opposite(),width:In.equals(Ce.z6.Top)||In.equals(Ce.z6.Bottom)?25:18,height:In.equals(Ce.z6.Top)||In.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:no.white,strokeWidth:4,mouseEnter:(Un,Wr)=>Wr.fill="dodgerblue",mouseLeave:(Un,Wr)=>Wr.fill="orange",isActionable:!0,click:Va,contextClick:Va})}function _t(In){return Mn(Ce.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(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(Ce.uz,"Spot",Mn(Ce.Vm,{padding:10}),ot(Ce.z6.Top,"TriangleUp"),ot(Ce.z6.Left,"TriangleLeft"),ot(Ce.z6.Right,"TriangleRight"),ot(Ce.z6.Bottom,"TriangleDown"),_t({alignment:new Ce.z6(.75,0)}));function $t(In,va){return(Va,Un)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{Wr.set(Un.part.adornedPart.data,In,va)})}}function Xt(In,va){return va||(va="color"),Mn(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:In,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.stroke="dodgerblue",mouseLeave:(Va,Un)=>Un.stroke="lightgray",click:$t(va,In),contextClick:$t(va,In)})}function jn(){return[Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Xt(no.white,"fill"),Xt(no.beige,"fill"),Xt(no.extralightblue,"fill"),Xt(no.extralightred,"fill"))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Xt(no.lightgray,"fill"),Xt(no.lightgreen,"fill"),Xt(no.lightblue,"fill"),Xt(no.lightred,"fill")))]}function Ut(){return[Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Xt(no.black),Xt(no.green),Xt(no.blue),Xt(no.red))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Xt(no.white),Xt(no.magenta),Xt(no.purple),Xt(no.orange)))]}function Fn(In,va){return va||(va="thickness"),Mn(Ce.bn,"LineH",{width:16,height:16,strokeWidth:In,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t(va,In),contextClick:$t(va,In)})}function un(In,va){return va||(va="dash"),Mn(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:In,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t(va,In),contextClick:$t(va,In)})}function $a(){return[Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Fn(1),Fn(2),Fn(3),Fn(4))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",un(null),un([2,4]),un([4,4])))]}function Aa(In,va){return va||(va="figure"),Mn(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:In,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.fill="dodgerblue",mouseLeave:(Va,Un)=>Un.fill="lightgray",click:$t(va,In),contextClick:$t(va,In)})}Ve.current.nodeTemplate.contextMenu=Mn("ContextMenu",Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Aa("Rectangle"),Aa("RoundedRectangle"),Aa("Ellipse"),Aa("Diamond"))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Aa("Parallelogram2"),Aa("ManualOperation"),Aa("Procedure"),Aa("Cylinder1"))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Aa("Terminator"),Aa("CreateRequest"),Aa("Document"),Aa("TriangleDown"))),jn(),Ut(),$a()),Ve.current.groupTemplate=Mn(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.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 Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Mn(Ce.s_,"Auto",{name:"BODY"},Mn(Ce.bn,{parameter1:10,fill:no.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Mn(Ce.Vm,{background:"transparent",margin:20})),Mn(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),Ve.current.groupTemplate.selectionAdornmentTemplate=Mn(Ce.uz,"Spot",Mn(Ce.s_,"Auto",Mn(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Mn(Ce.Vm,{margin:1.5})),_t({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Ve.current.groupTemplate.contextMenu=Mn("ContextMenu",jn(),Ut(),$a()),Ve.current.linkTemplate=Mn(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",In=>In>=1?10:0),new Ce.KX("toShortLength","dir",In=>In>=1?10:0),new Ce.KX("points").makeTwoWay(),Mn(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Mn(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",In=>In===1)),Mn(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",In=>In>=1),new Ce.KX("width","thickness",In=>7+3*In),new Ce.KX("height","thickness",In=>7+3*In),new Ce.KX("segmentOffset","thickness",In=>new Ce.E9(-15,4+1.5*In))),Mn(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",In=>In===2),new Ce.KX("width","thickness",In=>7+3*In),new Ce.KX("height","thickness",In=>7+3*In),new Ce.KX("segmentOffset","thickness",In=>new Ce.E9(-15,4+1.5*In))),Mn(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ve.current.linkTemplate.selectionAdornmentTemplate=Mn(Ce.uz,Mn(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:cr(2)},new Ce.KX("pathPattern","thickness",cr)),_t({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function cr(In){return Mn(Ce.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(Ce.bn,{geometryString:va,margin:2,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t("dir",In),contextClick:$t("dir",In)})}function co(In){var va=(Va,Un)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{var _r=Un.part.adornedPart;Wr.set(_r.data,In?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(In?_r.toNode:_r.fromNode).invalidateConnectedLinks()})};return Mn(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:va,contextClick:va})}function mn(In,va){var Va=0,Un=Ce.z6.RightSide;In.equals(Ce.z6.Top)?(Va=270,Un=Ce.z6.TopSide):In.equals(Ce.z6.Left)?(Va=180,Un=Ce.z6.LeftSide):In.equals(Ce.z6.Bottom)&&(Va=90,Un=Ce.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",Ce.z6.stringify(Un)),(va?ai.toNode:ai.fromNode).invalidateConnectedLinks()})};return Mn(Ce.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",Ut(),$a(),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",zr(0),zr(1),zr(2))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Mn(Ce.s_,"Spot",co(!1),mn(Ce.z6.Top,!1),mn(Ce.z6.Left,!1),mn(Ce.z6.Right,!1),mn(Ce.z6.Bottom,!1)),Mn(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},co(!0),mn(Ce.z6.Top,!0),mn(Ce.z6.Left,!0),mn(Ce.z6.Right,!0),mn(Ce.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 Ce.YI(Cn.current,{maxSelectionCount:1,linkTemplate:Mn(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:Mn(Ce.uz,"Link",{locationSpot:Ce.z6.Center},Mn(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Mn(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),Mn(Ce.bn,{isPanelMain:!0,strokeWidth:2}),Mn(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(In=>({text:"\u672A\u547D\u540D",size:"100 100",figure:In.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ve.current.addDiagramListener("TextEdited",function(In){var va;const Va=In.subject.part;var Un=(va=document.activeElement)==null?void 0:va.value;typeof Un=="string"&&Un.trim()===""&&Ve.current.model.commit(function(Wr){Wr.set(Va.data,"text","\u672A\u547D\u540D"),Ve.current.commandHandler.stopCommand()},"increment")}),Yo.nodeTemplate=Mn(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Mn(Ce.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),Mn(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{Ve.current.grid=Mn(Ce.s_,"Grid",Mn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Mn(Ce.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=()=>ft(this,null,function*(){var Mn=Ve.current.makeImage();const no=yield(0,Qt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Mn.src}});st({src:no.url})});return(0,re.useEffect)(()=>(setTimeout(()=>{Ma()},500),Wn(ca+1),()=>{Ve.current=null}),[]),Me.createElement("div",{ref:Ka,className:Qn.current?`${Ge.maxH60} body-overflow-initial`:"body-overflow-initial"},Me.createElement(Ct.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ca,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Me.createElement(Bt.Z,null,Me.createElement(Yn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Me.createElement(Yn.Z,{onClick:()=>{var Mn,no,ot=Ve.current.selection.first();if(Qn.current=!Qn.current,document.activeElement&&ot){let _t=(no=(Mn=document.activeElement)==null?void 0:Mn.value)==null?void 0:no.trim();typeof _t=="string"&&Ve.current.model.commit(function($t){$t.set(ot.data,"text",_t||"\u672A\u547D\u540D"),Ve.current.commandHandler.stopCommand()},"increment")}Wn(ca+1)}},Me.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:tt},Me.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ge.flowChartWrp},Me.createElement("div",{style:{display:"flex",height:"100%"}},Me.createElement("div",{style:{width:"300px",height:"100%"}},Me.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Me.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ge.myPaletteDiv,ref:Cn})),Me.createElement("div",{style:{flex:1,position:"relative"}},Me.createElement("div",{ref:Kt,style:{height:"80vh"}}))),Me.createElement("div",{className:"tr"},Me.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 an=Ht,Rt=ee(78045),Jt=ee(31795);const An=Rt.ZP.Group,kn={margin:"0 8px"};var ma=({callback:tt,onCancel:st})=>{function Ve(Kt){tt(Kt)}return re.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ve},re.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},re.createElement("span",{style:kn},"\u5355\u5143\u683C\u6570\uFF1A"),re.createElement("span",{style:kn},"\u884C\u6570"),re.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},re.createElement(Jt.Z,null)),re.createElement("span",{style:kn},"\u5217\u6570"),re.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},re.createElement(Jt.Z,null))),re.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},re.createElement("span",{style:kn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),re.createElement(be.default.Item,{name:"align"},re.createElement(An,null,re.createElement(Rt.ZP,{value:"default"},re.createElement("i",{className:"fa fa-align-justify"})),re.createElement(Rt.ZP,{value:"left"},re.createElement("i",{className:"fa fa-align-left"})),re.createElement(Rt.ZP,{value:"center"},re.createElement("i",{className:"fa fa-align-center"})),re.createElement(Rt.ZP,{value:"right"},re.createElement("i",{className:"fa fa-align-right"}))))),re.createElement("div",{className:"flex-container flex-end"},re.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),re.createElement(Se.ZP,{type:"ghost",onClick:st},"\u53D6\u6D88")))},Ie=ee(47897),_e=ee(61016),Xn=ee.n(_e),ct=(0,re.forwardRef)(({use3d:tt,width:st,height:Ve,callback:Kt,showSaveButton:Cn},Qn)=>{const Ka=(0,re.useRef)(),ca=(0,re.useRef)(),[Wn,Ma]=(0,re.useState)(!1),ho=(0,re.useRef)({id:Ka,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,re.useEffect)(()=>{ca.current=new(Xn())(ho.current,!0),window.onload=function(){ca.current.inject("applet_container")}},[]);const Mn=()=>{var no=window.ggbApplet.getPNGBase64(1,!0,72);return Kt&&Kt(no),no};return(0,re.useEffect)(()=>{ho.current.appName=Wn?"3D":"graphing",ca.current.inject("applet_container")},[Wn]),(0,re.useEffect)(()=>{Ma(tt)},[tt]),(0,re.useImperativeHandle)(Qn,()=>({getImgData:Mn})),re.createElement(re.Fragment,null,re.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ka}),re.createElement(Bt.Z,{align:"middle"},re.createElement(Yn.Z,{flex:1},re.createElement(Ie.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Wn,onChange:no=>Ma(no)})),re.createElement(Yn.Z,null,re.createElement(Se.ZP,{size:"large",onClick:Mn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),dn=ee(36527),Ue=ee(25934),ut=ee(2453);const Ft="link",Wt="upload-image",kt="add-flowchart",bn="draw-image",aa="add-flowchart",Vn="code-block",Gn="add-table",Ga="------------",ra={default:Ga,left:`:${Ga}`,center:`:${Ga}:`,right:`${Ga}:`};var ja=ee(99914),Pr=(tt,st,Ve)=>new Promise((Kt,Cn)=>{var Qn=Wn=>{try{ca(Ve.next(Wn))}catch(Ma){Cn(Ma)}},Ka=Wn=>{try{ca(Ve.throw(Wn))}catch(Ma){Cn(Ma)}},ca=Wn=>Wn.done?Kt(Wn.value):Promise.resolve(Wn.value).then(Qn,Ka);ca((Ve=Ve.apply(tt,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`,yn=["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 Tn(tt){return/^\d+$/.test(tt)?`${tt}px`:tt}const Nn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Oa={[Nn+"-B"]:"bold",[Nn+"-I"]:"italic"},Ar={[Ft]:"\u6DFB\u52A0\u94FE\u63A5",[Vn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Wt]:"\u6DFB\u52A0\u56FE\u7247",[bn]:"\u6DFB\u52A0\u753B\u56FE",[kt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Gn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Zn=({defaultValue:tt="",onChange:st,width:Ve="100%",height:Kt=400,miniToolbar:Cn=!1,isFocus:Qn=!1,watch:Ka,insertTemp:ca,mode:Wn="markdown",id:Ma="markdown-editor-id",showResizeBar:ho=!1,noStorage:Mn=!1,showNullButton:no=!1,showNullProgramButton:ot=!1,hidetoolBar:_t=!1,fullScreen:$t=!1,onBlur:Xt,onCMBeforeChange:jn,onFullScreen:Ut,className:Fn="",disablePaste:un=!1,disabled:$a=!1,disabledFill:Aa=!1,placeholder:cr="",values:zr="",extraUse:co})=>{const[mn,Bi]=(0,re.useState)(null),[ei,qr]=(0,re.useState)(tt),[Yo,In]=(0,re.useState)(Ka),[va,Va]=(0,re.useState)($t),[Un,Wr]=(0,re.useState)(""),[_r,ti]=(0,re.useState)(0),[ni,ai]=(0,re.useState)(Kt),[bl,yi]=(0,re.useState)(!1),Kl=(0,re.useRef)((0,Ue.Z)()),$l=(0,re.useRef)(!1),wi=(0,re.useRef)(),[Xo,hl]=(0,re.useState)(0),[Cl,Fl]=(0,re.useState)(0),tl=(0,re.useRef)(),ki=(0,re.useRef)(),pl=(0,re.useRef)(),kr=(0,re.useRef)(),vt=()=>Pr(void 0,null,function*(){var En;const Nt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Kl.current}});(En=Nt==null?void 0:Nt.attachments)!=null&&En.length&&(console.log("cm:",mn,tl),Nt.attachments.map(Sn=>{Sn.content_type.indexOf("image")>-1?mn.replaceSelection(`![,](/api/attachments/${Sn.id}?type=${Sn.content_type})`):Sn.content_type.indexOf("video")>-1?mn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Sn.content_type.indexOf("pdf")>-1?mn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Sn.id}?type=${Sn.content_type}&disposition=inline" target="_blank">${Sn.name}</a>`):mn.replaceSelection(`[${Sn.name}](${ENV.API_SERVER}/api/attachments/${Sn.id}?type=${Sn.content_type})`)}))});(0,re.useEffect)(()=>{const En=window.scrollY||window.pageYOffset;qr(zr),mn==null||mn.setValue(zr),window.scrollTo(0,En)},[zr]),(0,re.useEffect)(()=>{Ut==null||Ut(va)},[va]),(0,re.useEffect)(()=>{if(tl.current){let En=function(Sn,xn){var oa;if(un){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(),Wn=="stex")return;try{let sr=yr[1];((oa=yr[0])==null?void 0:oa.kind)==="file"&&(sr=yr[0]);const _n=sr.getAsFile(),ya=_n.name.split(".").pop();(0,We.I)(_n,Sa=>{var Za,dr,Hr;Sa.id?((Za=_n==null?void 0:_n.type)==null?void 0:Za.indexOf("image"))>-1?Nt.replaceSelection(`<img width="100%" src="/api/attachments/${Sa.id}?type=${Sa.content_type})" alt="" />`):((dr=_n==null?void 0:_n.type)==null?void 0:dr.indexOf("video"))>-1?Nt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Sa.id}"></video>`):((Hr=_n==null?void 0:_n.type)==null?void 0:Hr.indexOf("pdf"))>-1?Nt.replaceSelection(`<a href="/api/attachments/${Sa.id}?type=${_n.type}&disposition=inline" target="_blank">${_n.name}</a>`):yn.includes(ya)?Nt.replaceSelection(`<a href="/api/attachments/${Sa.id}?type=office&disposition=inline" target="_blank">${_n.name}</a>`):Nt.replaceSelection(`[${_n.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 Nt=Oe().fromTextArea(tl.current,{mode:Wn,lineNumbers:!Cn,lineWrapping:!0,value:tt,autoCloseTags:!ot,autoCloseBrackets:!0});return Nt.on("keyup",function(Sn,xn){xn.keyCode===8&&(Sn.getValue()==""?Nt.setOption("placeholder",cr):Nt.setOption("placeholder",null))}),Nt.on("keydown",function(Sn,xn){if(xn.keyCode===8){var oa=qt(Sn);oa&&xn.preventDefault()}}),Qn&&Nt.focus(),Nt.on("paste",En),Nt.on("dragleave",function(Sn,xn){ki.current.classList.remove("mouse-hover-md")}),$a&&Nt.on("beforeChange",function(Sn,xn){(xn.origin==="paste"||xn.origin==="+input")&&xn.cancel()}),Bi(Nt),()=>{Nt.off("paste",En)}}},[]);const Lt=(0,re.useCallback)(()=>{if(ki.current)try{}catch(En){console.log(En,"---- to set md editor body height")}},[ni,ki,va]);(0,re.useEffect)(()=>{function En(){let Nt=new ze.Z(Sn=>{for(let xn of Sn)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&(Lt(),mn.setSize("100%","100%"),mn.refresh())});return Nt.observe(tl.current.parentElement),Nt}if(mn){const Nt=En();return()=>{var Sn,xn;(Sn=tl.current)!=null&&Sn.parentElement&&Nt.unobserve((xn=tl.current)==null?void 0:xn.parentElement)}}},[mn,Lt]),(0,re.useEffect)(()=>{if(mn){let En=[];for(const[Nt,Sn]of Object.entries(Oa)){let xn={[Nt]:()=>{Ae(Sn)}};En.push(xn),mn.addKeyMap(xn)}return wi.current=setInterval(()=>{$l.current&&vt()},4e3),()=>{clearInterval(wi.current);for(let Nt of En)mn.removeKeyMap(Nt)}}},[mn]),(0,re.useEffect)(()=>{$t!==va&&Va($t)},[$t]),(0,ja.Z)(()=>{if(!Mn&&_r>0){let En=new Date().getTime(),Nt=window.sessionStorage.getItem(Ma);En>=_r+Rr&&(!Nt||Nt!==ei)&&(window.sessionStorage.setItem(Ma,ei),yi(!0))}},Rr),(0,re.useEffect)(()=>{In(Ka)},[mn,Ka]),(0,re.useEffect)(()=>{mn&&Qn&&mn.focus()},[mn,Qn]),(0,re.useEffect)(()=>{if(Yo&&mn){let En=function(Sn){let xn=Sn.target;if(kr.current){let oa=xn.scrollTop/xn.scrollHeight;kr.current.scrollTop=kr.current.scrollHeight*oa}};const Nt=mn.getScrollerElement();return Nt.addEventListener("scroll",En),()=>{Nt.removeEventListener("scroll",En)}}},[mn,Yo]),(0,re.useEffect)(()=>{if(mn&&jn){let En=function(Nt,Sn){jn(Nt,Sn)};return mn.on("beforeChange",En),()=>{mn.off("beforeChange",En)}}},[mn,jn]),(0,re.useEffect)(()=>{if(mn&&Xt){let En=function(){Xt(mn.getValue())};return mn.on("blur",En),()=>{mn.off("blur",En)}}},[mn,Xt]);function qt(En,Nt){var Sn=En.getDoc(),xn=Sn.getCursor(),oa=Sn.getLine(xn.line),Fa=oa.charAt(xn.ch-1),Xa=oa.lastIndexOf("@\u2581@",xn.ch),yr=oa.lastIndexOf("@\u2581\u2581@",xn.ch),sr=Xa>yr?Xa:yr,_n=Xa>yr?3:4;if(to.indexOf(Fa)===-1)return null;if(console.log("change1:",Nt,En,oa,xn,sr,Xa,yr,Fa),sr>=0&&xn.ch-sr<5){var ya=sr+_n;return Sn.replaceRange("",{line:xn.line,ch:sr},{line:xn.line,ch:ya}),{line:xn.line,ch:ya}}return null}(0,re.useEffect)(()=>{if(mn){let En=function(Nt,Sn){const xn=Nt.getValue();qr(xn),ti(new Date().getTime()),Nt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),st&&(ot?st(xn,sa(xn)):st(xn))};return mn.on("change",En),()=>{mn.off("change",En)}}},[mn,st]),(0,re.useEffect)(()=>{if(mn)if(tt==null)mn.setValue(""),qr("");else{const En=window.scrollY||window.pageYOffset;tt!==mn.getValue()&&(mn.setValue(tt),qr(tt),mn.setCursor($a?1:mn.lineCount(),0),window.scrollTo(0,En))}},[mn,tt]);const Ae=(0,re.useCallback)(En=>{const Nt=mn.getCursor(),Sn=mn.getSelection();let xn=Sn.split(`
`);switch(En){case"bold":return mn.replaceSelection("**"+Sn+"**"),Sn===""&&mn.setCursor(Nt.line,Nt.ch+2),mn.focus();case"italic":return mn.replaceSelection("*"+Sn+"*"),Sn===""&&mn.setCursor(Nt.line,Nt.ch+1),mn.focus();case"code":return mn.replaceSelection("`"+Sn+"`"),Sn===""&&mn.setCursor(Nt.line,Nt.ch+1),mn.focus();case"inline-latex":return Wr("inline-latex"),mn.focus();case"latex":return mn.replaceSelection("```latex\n"+Sn+"\n```"),mn.setCursor(Nt.line+1,Sn.length+1),mn.focus();case"line-break":return mn.replaceSelection(`<br/>
`),mn.focus();case"list-ul":return Sn===""?mn.replaceSelection("- "+Sn):mn.replaceSelection(xn.map(oa=>oa===""?"":`- ${oa}`).join(`
`)),mn.focus();case"list-ol":return Sn===""?mn.replaceSelection("1. "+Sn):mn.replaceSelection(xn.map((oa,Fa)=>oa===""?"":`${Fa+1}. ${oa}`).join(`
`)),mn.focus();case"add-null-ch":return Sn===""&&mn.setCursor(Nt.line,Nt.ch),mn.replaceSelection(Br),mn.focus();case"add-signal":return Sn===""&&mn.setCursor(Nt.line,Nt.ch),mn.replaceSelection(lo),mn.focus();case"add-multiple":return Sn===""&&mn.setCursor(Nt.line,Nt.ch),mn.replaceSelection(to),mn.focus();case"inster-template-1":return Sn===""&&mn.setCursor(Nt.line,Nt.ch),mn.replaceSelection(gr),mn.focus();case"eraser":return mn.setValue(""),mn.focus();case"trigger-watch":return In(!Yo),mn.focus();case"trigger-full-screen":return Va(!va),mn.focus();case Ft:Wr(Ft);return;case Vn:Wr(Vn);return;case Wt:Wr(Wt);return;case bn:Wr(bn);return;case"maths-latex":Wr("maths-latex");return;case kt:Wr(kt);return;case Gn:Wr(Gn);return;default:throw new Error}},[mn,Yo,va]),Vt=(0,re.useCallback)((En,Nt)=>{var Sn,xn,oa,Fa,Xa,yr;switch(Wr(""),Un){case Ft:const{title:Za,link:dr}=En;return mn.replaceSelection(`[${Za}](${dr})`),mn.focus();case Vn:const{language:Hr,content:ro}=En;return mn.replaceSelection(["```"+Hr,ro,"```"].join(`
`)),mn.focus();case"maths-latex":for(var sr=atob(En),_n=new Uint8Array(sr.length),ya=0;ya<sr.length;ya++)_n[ya]=sr.charCodeAt(ya);var Sa=new Blob([_n],{type:"image/png"});(0,We.I)(Sa,Li=>{Li.id?mn.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":mn.replaceSelection("`$$"+En+"$$`");break;case Wt:case bn:case aa:const{src:Eo,alt:wo}=En,Lo=Nt,Oi=(oa=(xn=(Sn=Lo==null?void 0:Lo.name)==null?void 0:Sn.split("."))==null?void 0:xn.pop)==null?void 0:oa.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?mn.replaceSelection(`<p style="text-align:${Lo.align||"initial"}"><img width="${Lo.width?Lo.width+"%":"initial"}" src="${Eo}" alt="${wo||""}" /></p>`):mn.replaceSelection(`<img width="100%" src="${Eo}" alt="${wo||""}" />`):((Xa=Lo==null?void 0:Lo.type)==null?void 0:Xa.indexOf("video"))>-1?mn.replaceSelection(`<video width="100%" controls src="${Eo}"></video>`):((yr=Lo==null?void 0:Lo.type)==null?void 0:yr.indexOf("pdf"))>-1?mn.replaceSelection(`<a href="${Eo}?type=${Lo.type}&disposition=inline" target="_blank">${Lo.name}</a>`):yn.includes(Oi)?mn.replaceSelection(`<a href="${Eo}?type=office&disposition=inline" target="_blank">${Lo.name}</a>`):mn.replaceSelection(`[${Lo.name}](${Eo})`),mn.focus();case Gn:const{row:xl,col:Wl,align:Rl}=En;let Sl=`
`;for(let Li=0;Li<xl;Li++){let is=[],Ul=[];for(let ls=0;ls<Wl;ls++)Li===1&&Ul.push(ra[Rl]),is.push(" ");Li===1&&(Sl+=`| ${Ul.join(" | ")} |
`),Sl+=`| ${is.join(Wl===1?"":" | ")} |
`}return mn.replaceSelection(Sl+`
`),mn.focus();default:throw new Error}},[mn,Un]),Dn=(0,re.useMemo)(()=>{switch(Un){case Ft:return re.createElement(nn,{callback:Vt,onCancel:Ln});case Vn:return re.createElement(hn.Z,{callback:Vt,onCancel:Ln});case Wt:return re.createElement(We.Z,{callback:Vt,onCancel:Ln});case kt:return re.createElement(an,{callback:Vt,onCancel:Ln});case Gn:return re.createElement(ma,{callback:Vt,onCancel:Ln});case"maths-latex":return re.createElement(ct,{showSaveButton:!0,callback:Vt});case"inline-latex":return re.createElement(dn.Z,{showSaveButton:!0,callback:Vt});default:return null}},[Un]);function Ln(){Wr("")}(0,re.useEffect)(()=>{if(pl.current){let En=function(Xa){oa=!0,Fa=Xa.pageY},Nt=function(){oa=!1},Sn=function(Xa){if(oa){let yr=Xa.pageY-Fa;yr<0&&(yr=0),yr>300&&(yr=300);let sr=Kt+yr+"px";ai(sr)}},xn=pl.current,oa=!1,Fa=0;return xn.addEventListener("mousedown",En),document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",Nt),()=>{xn.removeEventListener("mousedown",En),document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",Nt)}}},[mn,pl]),(0,re.useEffect)(()=>{ai(Kt)},[Kt]);const Pt=Tn(Ve),Gt=Tn(ni),Ot={width:Pt,height:Gt},On=(0,re.useMemo)(()=>{if(_r){let En=new Date(_r),Nt=En.getHours(),Sn=En.getMinutes(),xn=En.getSeconds();return Nt=Nt<10?"0"+Nt:Nt,Sn=Sn<10?"0"+Sn:Sn,xn=xn<10?"0"+xn:xn,`${Nt}:${Sn}:${xn}`}return 0},[_r]),sa=En=>{const Nt=[];if(ot){let Sn=-1;En=En.replace(/(@▁▁@|@▁@)/g,function(xn,oa,Fa){Nt.push({multiLine:xn!==lo})})}return Nt};function xa(){window.sessionStorage.removeItem(Ma),yi(!1),ti(0)}function pa(){yi(!1),ti(0),mn.setValue(window.sessionStorage.getItem(Ma))}(0,re.useEffect)(()=>{Ar[Un]&&Un!==bn&&Un!==kt&&setTimeout(()=>{const En=document.getElementsByClassName("markdown-popup-form")[0],Nt=window.innerWidth/2-En.offsetWidth/2,Sn=window.innerHeight/2-En.offsetHeight/2;hl(Nt),Fl(Sn)},0)},[Un]);const Ia=En=>{En.preventDefault();const Nt=En.clientX-Xo,Sn=En.clientY-Cl;document.body.onmousemove=xn=>{let oa=xn.clientX-Nt,Fa=xn.clientY-Sn;const Xa=document.getElementsByClassName("markdown-popup-form")[0],yr=window.innerWidth-Xa.offsetWidth,sr=window.innerHeight-Xa.offsetHeight;oa=Math.max(0,Math.min(oa,yr)),Fa=Math.max(0,Math.min(Fa,sr)),rr(xn.clientX,xn.clientY,Nt,Sn)&&(hl(oa),Fl(Fa))},document.body.onmouseup=function(){document.body.onmousemove=null}},rr=(En,Nt,Sn,xn)=>{const oa=document.body.clientHeight,Fa=document.body.clientWidth;return En<20&&Sn>En||En>Fa-20&&Sn<En||Nt<20&&xn>Nt||Nt>oa-20&&xn<Nt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return re.createElement(re.Fragment,null,re.createElement("div",{className:"markdown-editor-wrapper",ref:ki},re.createElement("div",{className:`markdown-editor-container ${Fn} ${Yo?"on-preview":""} ${Cn?"mini":""} ${va?"full-screen":""}`,style:Ot},re.createElement(pe,{insertTemp:ca,watch:Yo,fullScreen:va,showNullButton:no,showNullProgramButton:ot,onActionCallback:Ae,hidetoolBar:_t,extraUse:co}),re.createElement("div",{className:"markdown-editor-body"},re.createElement("div",{className:"codemirror-container"},re.createElement("textarea",{ref:tl,placeholder:cr})),Yo?re.createElement("div",{ref:kr,className:"preview-container"},Wn==="stex"&&re.createElement(Ke,{value:ei}),Wn!=="stex"&&re.createElement(qe.Z,{disabledFill:Aa,showProgramFill:ot,value:ei})):null))),ho?re.createElement("a",{ref:pl,className:"editor-resize"}):null,Un===bn&&re.createElement(Mt,{callback:Vt,onCancel:Ln}),Un===kt&&re.createElement(an,{callback:Vt,onCancel:Ln}),re.createElement(we.Z,null,Ar[Un]&&Un!==bn&&Un!==kt?re.createElement(Ct.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Xo,top:Cl},title:re.createElement("div",{style:{cursor:"move"},onMouseDown:Ia},Ar[Un]),open:!0,onCancel:Ln,footer:null,destroyOnClose:!0,width:Un===kt?"1200px":null,height:Un===kt?"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 we}});var re=ee(22150),me=ee(2453),Oe=ee(69677),ze=ee(93421),Be=ee(31795),Te=ee(78045),se=ee(71577),Ze=ee(15476),je=ee(67294),He=ee(52262),qe=ee(67294),Ke=Object.defineProperty,Ee=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(be,xe,Se)=>xe in be?Ke(be,xe,{enumerable:!0,configurable:!0,writable:!0,value:Se}):be[xe]=Se,E=(be,xe)=>{for(var Se in xe||(xe={}))a.call(xe,Se)&&b(be,Se,xe[Se]);if(y)for(var Se of y(xe))x.call(xe,Se)&&b(be,Se,xe[Se]);return be},z=(be,xe)=>Ee(be,ce(xe));const{useForm:oe}=re.default,ae={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var fe=({callback:be,onCancel:xe})=>{const[Se]=oe();let gt=(0,je.useRef)();function Qe(et){gt.current.width=Se.getFieldValue("width"),gt.current.align=Se.getFieldValue("align"),be(et,gt.current)}function Dt(et,Tt){if(et.status===-1){me.ZP.error(et.message);return}Se.setFieldsValue({src:`/api/attachments/${et.id}`,type:Tt.type})}function $e(et){let Tt=et.target.files[0];gt.current=Tt,we(Tt,Dt)}return qe.createElement(re.default,z(E({form:Se},ne),{className:"upload-image-panel",onFinish:Qe,style:{width:470,overflow:"hidden"}}),qe.createElement(re.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},qe.createElement("div",{className:"flex-container"},qe.createElement(re.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},qe.createElement(Oe.default,{style:ae})),qe.createElement(pe,{onFileChange:$e}))),qe.createElement(re.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},qe.createElement(Oe.default,{style:{width:264}})),qe.createElement(re.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},qe.createElement(ze.Z,null,qe.createElement(re.default.Item,{name:"width",style:{margin:0}},qe.createElement(Be.Z,{style:{width:264}})),qe.createElement("span",{className:"ml8"},"%"))),qe.createElement(re.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},qe.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"}]})),qe.createElement("aside",null,qe.createElement(re.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},qe.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),qe.createElement(se.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function pe({onFileChange:be}){return qe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",qe.createElement("input",{type:"file",onChange:be}))}function we(be,xe){if(!be)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",be),Se.append("file_param_name","editormd-image-file"),Se.append("byxhr","true");var gt=new window.XMLHttpRequest;gt.withCredentials=!0,gt.addEventListener("load",function(Qe){xe(JSON.parse(Qe.target.responseText),be)},!1),gt.addEventListener("error",function(Qe){console.error(Qe)},!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 Oe}});var re=ee(67294),me=ee(73935);class Oe extends re.Component{constructor(Be){super(Be);const Te=window.document;this.node=Te.createElement("div"),Te.body.appendChild(this.node)}render(){const{children:Be}=this.props;return(0,me.createPortal)(Be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(ht,Et,ee){"use strict";ee.d(Et,{i:function(){return ae},Z:function(){return fe}});var re={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),Oe=ee(83062),ze=ee(94184),Be=ee.n(ze),Te=ee(28706),se=ee(26194),Ze=ee(52262),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EH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T/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",oe=ee(67294);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:je,swimg:He},{name:"101\u8BA1\u5212",ptimg:qe,swimg:Ke},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ee,swimg:ce},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:E,swimg:z}];var fe=({className:pe,dataSource:we=[],col:be=4,right:xe,bottom:Se=23,precision:gt=0,wrapWidth:Qe=1200,trackEventItems:Dt,loading:$e,onRemove:et=()=>{},isCurrent:Tt=!0,showAlias:tn=!1})=>{const jt=Math.floor((Qe-(be-1)*xe)/be),pt=[{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(Zt=>(window.ENV==="build"&&(Zt.ptimg=`/react/build${Zt.ptimg}`,Zt.swimg=`/react/build${Zt.swimg}`),Zt));return oe.createElement(me.Z,{spinning:$e},oe.createElement("div",{className:Be()(re.list,pe)},!!(we!=null&&we.length)&&(we==null?void 0:we.map((Zt,nn)=>{var hn;const{name:We,id:Ct,identifier:Bt,featured:Kn,school_name:lt,image_url:Mt,excellent:Ce,is_plan:Pn}=Zt;return oe.createElement("div",{key:Ct,className:re.wrap,style:{width:jt,marginRight:(1+nn)%be===0?0:xe+gt,marginBottom:Se}},oe.createElement("a",{className:re.li,onClick:Hn=>{Hn.preventDefault(),Hn.stopPropagation(),Dt&&(0,Te.L9)([Dt]),(0,Te.xg)(`/paths/${Bt}`)}},oe.createElement("div",{className:re.img},oe.createElement("img",{className:re.cover,src:`${Mt}`}),Tt&&(0,Ze.bg)()&&(Zt==null?void 0:Zt.studying)&&oe.createElement("div",{className:`${re.movebq} user-path-items`,onClick:Hn=>{Hn.stopPropagation(),et(Zt)}},oe.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),oe.createElement("span",{className:"c-red"},"\u79FB\u9664")),(hn=Zt==null?void 0:Zt.subject_tags)==null?void 0:hn.map((Hn,Ca)=>{var Yn,Qt;if(Ca===0){const Me=(Yn=pt.find(ft=>ft.name==Hn))==null?void 0:Yn.swimg;return oe.createElement("img",{className:re.sign,src:Me,style:{left:"-4px"}})}const Ge=(Qt=pt.find(Me=>Me.name==Hn))==null?void 0:Qt.ptimg;return oe.createElement("img",{className:re.sign,src:Ge,style:{left:`${48+52*(Ca-1)+2*Ca}px`}})}),oe.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Zt==null?void 0:Zt.excellent)&&oe.createElement("div",{className:re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),oe.createElement("div",{className:re.name},oe.createElement(Oe.Z,{title:tn&&(Zt!=null&&Zt.excellent_alias_name)?oe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${We}`,oe.createElement("br",null),oe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Zt==null?void 0:Zt.excellent_alias_name}`)):We},oe.createElement("span",{className:re.e},tn&&(Zt==null?void 0:Zt.excellent_alias_name)||We))),oe.createElement("div",{className:re.tags},oe.createElement("div",null,oe.createElement(Oe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),oe.createElement("span",null,Zt.stages_count))),oe.createElement(Oe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),oe.createElement("span",null,Zt.members_count)))))))})),!we.length&&oe.createElement(se.Z,null)))}},30001:function(ht,Et,ee){"use strict";ee.d(Et,{jL:function(){return Be},w9:function(){return Zt},QD:function(){return dn},cQ:function(){return et.Z},op:function(){return ma},O5:function(){return gr},_b:function(){return bn},t7:function(){return b},Gi:function(){return Kn},YG:function(){return Ct},qp:function(){return qe},vr:function(){return Ft},qE:function(){return Xn},Je:function(){return oe},wb:function(){return $e},cq:function(){return Ca},tp:function(){return ce}});var re=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"},Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7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7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Be=({dataSource:yn=[],img:Tn,imgWidth:wn=346,title:Nn,sunTitle:Oa,bannerExtraContent:Ar})=>re.createElement("div",{className:me.banner},re.createElement("div",{className:me.content},re.createElement("aside",null,re.createElement("p",null,re.createElement("b",null,Nn),re.createElement("span",null,Oa)),yn.length>0&&re.createElement("div",{className:me.btns},yn.map((Zn,tt)=>re.createElement("div",{key:tt,onClick:Zn.click},Zn.name,Zn.sign?re.createElement("img",{src:Oe,width:39}):null))),Ar),Tn&&re.createElement("img",{style:{marginTop:33,marginRight:38},src:Tn,width:wn}))),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),je=ee(96486),qe=({dataSource:yn=[],value:Tn,onChange:wn,onTitleChange:Nn,className:Oa,title:Ar,titleWidth:Zn=41,style:tt={},fontColor:st="#6A7283",showCount:Ve})=>{const[Kt,Cn]=(0,re.useState)(0),[Qn,Ka]=(0,re.useState)(!1),ca=(0,re.useRef)(null),Wn=(0,re.useRef)(null);return(0,re.useEffect)(()=>{var Ma;yn.length!==0&&(((Ma=ca==null?void 0:ca.current)==null?void 0:Ma.clientHeight)>97?Cn(1):Cn(0)),yn.length===0&&Cn(0),Ka(!1)},[yn]),re.createElement("div",{className:Ze()(Te.row,Oa),style:tt},re.createElement("div",{onClick:(0,je.throttle)(()=>Nn==null?void 0:Nn(),2e3),style:{width:Zn,marginTop:Qn?12:4},className:`${Te.title} ${Nn?"current":""}`},Ar),re.createElement("div",{className:Qn?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},re.createElement("div",{className:Te.bar,ref:Wn,style:Kt>0?{height:Kt===1?97:"auto",overflow:Kt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},re.createElement("div",{className:Te.tag,ref:ca},yn==null?void 0:yn.map(Ma=>re.createElement("span",{onClick:()=>wn(Ma.id),key:Ma.id,style:{color:st},className:Tn===Ma.id?Te.active:""},re.createElement("span",{title:Ma.name,className:Te.name},Ma.name),!!Ve&&re.createElement("span",{className:Te.num},Ma.count))))),!!Kt&&re.createElement(re.Fragment,null,Kt===1?re.createElement("div",{onClick:()=>{var Ma;Cn(2),((Ma=ca==null?void 0:ca.current)==null?void 0:Ma.clientHeight)>245?Ka(!0):Ka(!1)},className:Te.action},"\u5C55\u5F00",re.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):re.createElement("div",{onClick:()=>{Wn.current.scrollTop=0,Cn(1),Ka(!1)},className:Te.action},"\u6536\u8D77",re.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ke={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:yn=[],value:Tn,onChange:wn,className:Nn,style:Oa={}})=>re.createElement("div",{style:Oa,className:Ze()(Ke.tabs,Nn)},yn.map(Ar=>re.createElement("span",{onClick:()=>wn(Ar.id),className:Tn===Ar.id?Ke.active:"",key:Ar.id},Ar.name))),y={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=ee(69677),b=({dataSource:yn=[],value:Tn="",onChange:wn,onInputChange:Nn=()=>{},className:Oa,style:Ar={},placeholder:Zn,allowClear:tt=!1})=>{var st;const[Ve,Kt]=(0,re.useState)(""),[Cn,Qn]=(0,re.useState)("");(0,re.useEffect)(()=>{var Wn;let Ma=Tn;(Wn=JSON.stringify(Tn))!=null&&Wn.includes("{")&&(Kt(Tn.id),Ma=Tn.value||"");try{Qn(decodeURIComponent(Ma||""))}catch(ho){Qn(decodeURIComponent(Ma||""))}},[Tn]);const Ka=()=>{wn(encodeURIComponent(Cn),Ve||null)},ca=Wn=>{Wn!==Ve&&(Kt(Wn),wn(encodeURIComponent(Cn),Wn))};return re.createElement("div",{className:Ze()(y.input,Oa),style:Ar},!!yn.length&&re.createElement("div",{className:y.dropdown},re.createElement("div",{className:y.text},(st=yn.find(Wn=>Wn.id===Ve))==null?void 0:st.name,re.createElement("i",{className:"iconfont icon-zhankai4"}),re.createElement("b",{className:y.b1}),re.createElement("b",{className:y.b2})),re.createElement("div",{className:y.menu},yn.map((Wn,Ma)=>re.createElement("div",{key:Ma,onClick:()=>ca(Wn.id)},Wn.name)))),re.createElement(a.default,{onPressEnter:Ka,value:Cn,onChange:Wn=>{Qn(Wn.target.value),Nn(encodeURIComponent(Wn.target.value),Ve||null)},bordered:!1,placeholder:Zn}),re.createElement("i",{onClick:Ka,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"},oe=({value:yn,onChange:Tn,className:wn,total:Nn,pageSize:Oa,style:Ar={}})=>{const Zn=yn<2,tt=yn>=Math.ceil(Nn/Oa);return Nn<=Oa?re.createElement(re.Fragment,null):re.createElement("div",{className:Ze()(E.quickPager,wn),style:Ar},re.createElement("div",{onClick:()=>{Zn||Tn(yn-1,"prev")},className:Zn?E.disabled:""},"\u4E0A\u4E00\u9875"),re.createElement("div",{onClick:()=>{tt||Tn(yn+1,"next")},className:tt?E.disabled:""},"\u4E0B\u4E00\u9875"))},ae={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ne=ee(57953),fe=ee(83062),pe=ee(12604),we=ee(11320),be=ee(28706),xe=ee(96908),Se=ee(57177),gt=ee(81378),Qe=ee(26194),$e=({className:yn,dataSource:Tn=[],col:wn=4,right:Nn,bottom:Oa=23,precision:Ar=0,wrapWidth:Zn=1200,trackEventItems:tt,loading:st})=>{const Ve=Math.floor((Zn-(wn-1)*Nn)/wn);return re.createElement(ne.Z,{spinning:st},re.createElement("div",{className:Ze()(ae.list,yn)},!!Tn.length&&Tn.map((Kt,Cn)=>{const{name:Qn,id:Ka,identifier:ca,power:Wn,cover_image_id:Ma,pic:ho}=Kt;return re.createElement("div",{className:ae.wrap,key:Ka,style:{width:Ve,marginRight:(1+Cn)%wn===0?0:Nn+Ar,marginBottom:Oa}},re.createElement("a",{target:"_blank",href:`/shixuns/${ca}/challenges`,className:ae.li,onClick:Mn=>{Mn.preventDefault(),tt&&(0,be.L9)([tt]),Wn&&(0,be.xg)(`/shixuns/${ca}/challenges`)}},re.createElement("div",{className:ae.img},re.createElement("img",{className:ae.cover,src:`${ho}`}),Kt.is_jupyter&&re.createElement("img",{className:ae.sign,src:xe}),Kt.is_jupyter_lab&&re.createElement("img",{className:ae.sign,src:Se}),Kt.is_unity_3d&&re.createElement("img",{className:ae.sign,src:gt})),re.createElement("div",{className:ae.name},re.createElement(fe.Z,{title:Qn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},re.createElement("span",{className:ae.e},Qn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),re.createElement("div",{className:ae.tags},re.createElement(fe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),re.createElement("span",null,Kt.challenges_count))),!!Kt.myshixuns_count&&re.createElement(fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),re.createElement("span",null,Kt.myshixuns_count))),re.createElement(fe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},re.createElement("span",null,re.createElement("span",null,Kt.level))),re.createElement("div",{className:ae.rate},re.createElement(pe.Z,{allowHalf:!0,disabled:!0,defaultValue:Kt.score_info}),re.createElement("span",null,"\xA0",Kt.score_info?`${Kt.score_info}\u5206`:"5\u5206")))),!Wn&&re.createElement("div",{className:ae.lockWrap},re.createElement("img",{src:`${we.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),re.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Tn.length&&re.createElement(Qe.Z,null)))},et=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"},tn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJ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FQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",jt=ee(67294),Zt=({className:yn,dataSource:Tn=[],col:wn=4,right:Nn,bottom:Oa=23,precision:Ar=0,wrapWidth:Zn=1200,trackEventItems:tt,loading:st})=>{const Ve=Math.floor((Zn-(wn-1)*Nn)/wn);return jt.createElement(ne.Z,{spinning:st},jt.createElement("div",{className:Ze()(Tt.list,yn)},!!Tn.length&&Tn.map((Kt,Cn)=>{const{subject_identifier:Qn,id:Ka,identifier:ca,power:Wn}=Kt,Ma=Kt.is_public!=0&&Kt.is_public;return jt.createElement("div",{className:Tt.wrap,key:Ka,style:{width:Ve,marginRight:(1+Cn)%wn===0?0:Nn+Ar,marginBottom:Oa}},jt.createElement("a",{className:Tt.li,onClick:ho=>{ho.preventDefault(),tt&&(0,be.L9)([tt]),(0,be.xg)(Kt.first_category_url)}},jt.createElement("div",{className:Tt.top},jt.createElement(fe.Z,{title:Kt.name},jt.createElement("div",{className:Tt.name},Kt.name)),jt.createElement("img",{className:Tt.img,src:we.Z.IMG_SERVER+"/images/"+Kt.avatar_url}),jt.createElement("div",{className:Tt.text,title:Kt.creator},Kt.creator),Qn&&jt.createElement("div",{className:Tt.btns},jt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),jt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ma&&jt.createElement("div",{className:Tt.sign},"\u516C\u5F00")),jt.createElement("div",{className:Tt.bottom},Kt.visits>0&&jt.createElement(fe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},jt.createElement("span",null,jt.createElement("i",{className:"iconfont icon-liulanyan"}),jt.createElement("span",null,Kt.visits))),Kt.course_members_count>0&&jt.createElement(fe.Z,{title:"\u6210\u5458",placement:"bottom"},jt.createElement("span",null,jt.createElement("i",{className:"iconfont icon-chengyuan"}),Kt.course_members_count)),Kt.tasks_count>0&&jt.createElement(fe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},jt.createElement("span",null,jt.createElement("i",{className:"iconfont icon-zuoye"}),Kt.tasks_count)),Kt.is_end?jt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):jt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Kt.is_accessible&&jt.createElement("div",{className:Tt.lockWrap},jt.createElement("img",{src:`${we.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),jt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Tn.length&&jt.createElement(Qe.Z,null)))},nn={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"},hn=ee(35973),Ct=({dataSource:yn=[],value:Tn,onChange:wn,className:Nn,style:Oa={},tabBarExtraContent:Ar})=>re.createElement("div",{className:Ze()(nn.tabs,Nn),style:Oa},re.createElement("div",{className:nn.tabsWrap},yn.map((Zn,tt)=>re.createElement("aside",{className:nn.tab,onClick:()=>{wn(Zn.id),Zn.link&&hn.history.push(Zn.link)},key:tt},re.createElement("div",{className:Tn===Zn.id?nn.active:""},Zn.name),(Zn==null?void 0:Zn.resetCount)==null&&(Zn==null?void 0:Zn.total)!==void 0&&re.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&&re.createElement(fe.Z,{title:(Zn==null?void 0:Zn.tip)!=null?Zn==null?void 0:Zn.tip:""},re.createElement("span",{style:{color:"#9096A3"}},"\uFF08",re.createElement("span",{style:{color:"#000"}},Zn==null?void 0:Zn.resetCount),"/",re.createElement("span",null,Zn==null?void 0:Zn.total),"\uFF09"))))),re.createElement("div",{className:nn.tabBar},Ar)),Kn=({className:yn,style:Tn={},children:wn})=>re.createElement("div",{className:Ze()(yn),style:Tn},wn),lt={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),Ce=ee(68508);const Pn=[{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:yn,dropValue:Tn,className:wn,onSort:Nn,onDrop:Oa,dataSource:Ar=Pn})=>{var Zn;return re.createElement("div",{className:Ze()(lt.orderWrap,wn)},re.createElement(Mt.Z,{dropdownRender:()=>re.createElement(Ce.default,null,Ar.map((tt,st)=>re.createElement(Ce.default.Item,{key:st,onClick:()=>Oa(tt.id)},tt.name)))},re.createElement("span",{className:lt.orderTextWrap},(Zn=Ar.find(tt=>Tn===tt.id))==null?void 0:Zn.name)),re.createElement("span",{className:lt.orderIconWrap},re.createElement("span",{className:lt.orderAsc},re.createElement("i",{className:yn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${lt.cursorPointer} ${lt.active}`:`iconfont icon-sanjiaoxing-up font12 ${lt.cursorPointer}`,onClick:()=>Nn(yn==="asc"?"desc":"asc")})),re.createElement("span",{className:lt.orderDesc},re.createElement("i",{className:yn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${lt.cursorPointer} ${lt.active}`:`iconfont icon-sanjiaoxing-down font12 ${lt.cursorPointer}`,onClick:()=>Nn(yn==="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"},Qt=ee(71577),Ge=Object.defineProperty,Me=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,an=(yn,Tn,wn)=>Tn in yn?Ge(yn,Tn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):yn[Tn]=wn,Rt=(yn,Tn)=>{for(var wn in Tn||(Tn={}))ft.call(Tn,wn)&&an(yn,wn,Tn[wn]);if(Me)for(var wn of Me(Tn))Ht.call(Tn,wn)&&an(yn,wn,Tn[wn]);return yn},Jt=(yn,Tn)=>{var wn={};for(var Nn in yn)ft.call(yn,Nn)&&Tn.indexOf(Nn)<0&&(wn[Nn]=yn[Nn]);if(yn!=null&&Me)for(var Nn of Me(yn))Tn.indexOf(Nn)<0&&Ht.call(yn,Nn)&&(wn[Nn]=yn[Nn]);return wn},An=(yn,Tn,wn)=>new Promise((Nn,Oa)=>{var Ar=st=>{try{tt(wn.next(st))}catch(Ve){Oa(Ve)}},Zn=st=>{try{tt(wn.throw(st))}catch(Ve){Oa(Ve)}},tt=st=>st.done?Nn(st.value):Promise.resolve(st.value).then(Ar,Zn);tt((wn=wn.apply(yn,Tn)).next())}),ma=yn=>{var Tn=yn,{className:wn,style:Nn,children:Oa,loading:Ar=!1,openLoading:Zn,onClick:tt=()=>{},size:st="middle",shape:Ve="round"}=Tn,Kt=Jt(Tn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Cn,Qn]=(0,re.useState)(!1);return re.createElement(Qt.ZP,Rt({onClick:(0,je.throttle)(Ka=>An(void 0,null,function*(){Zn&&Qn(!0);try{yield tt(Ka)}catch(ca){console.log("error",ca)}Zn&&Qn(!1)}),2e3,{leading:!0,trailing:!1}),className:Ze()(Yn.btn,Yn[`${st}-${Ve}`],wn),style:Nn,size:st,shape:Ve,loading:Cn||Ar},Kt),Oa)},Ie={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Xn=({className:yn,style:Tn,children:wn=null,onClick:Nn,title:Oa})=>re.createElement("div",{className:Ze()(Ie.head,yn),style:Tn},re.createElement("span",{className:"primary-hover",onClick:Nn},re.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),re.createElement("b",{title:Oa},Oa),re.createElement("div",{className:Ie.node},wn)),$n={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"},dn=({confirmShow:yn=!0,confirmTitle:Tn,confirmClick:wn,cancelShow:Nn=!0,cancelTitle:Oa,cancelClick:Ar,className:Zn,style:tt,confirmLoading:st=!1})=>re.createElement("div",{className:Ze()($n.btns,Zn),style:tt},yn&&re.createElement(Qt.ZP,{loading:st,onClick:wn,type:"primary",className:$n.confirm},Tn),Nn&&re.createElement(Qt.ZP,{onClick:Ar,className:$n.cancel},Oa)),Ue={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:yn,style:Tn={},LeftContent:wn,children:Nn,RightContent:Oa})=>re.createElement("div",{className:Ze()(Ue.fixedBottom,yn),style:Tn},re.createElement("div",{className:Ue.wrap},re.createElement("div",{className:Ue.left},wn),re.createElement("div",{className:Ue.center},Nn),re.createElement("div",{className:Ue.right},Oa))),Wt={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:yn,style:Tn={},dataSource:wn=[]})=>re.createElement("div",{className:Ze()(Wt.crumbs,yn),style:Tn},wn.map((Nn,Oa)=>Oa<wn.length-1?re.createElement(re.Fragment,{key:Oa},Nn.path||Nn.onClick?re.createElement("span",{className:Wt.hover,onClick:Nn!=null&&Nn.onClick?Nn.onClick:()=>hn.history.push(Nn.path)},Nn.name):re.createElement("span",null,Nn.name),re.createElement("span",null,"\xA0",">","\xA0")):re.createElement("span",{key:Oa,style:{color:"#5F6368"}},Nn.name))),aa=ee(55054),Vn=Object.defineProperty,Gn=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,ra=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Tr=(yn,Tn,wn)=>Tn in yn?Vn(yn,Tn,{enumerable:!0,configurable:!0,writable:!0,value:wn}):yn[Tn]=wn,Xr=(yn,Tn)=>{for(var wn in Tn||(Tn={}))ja.call(Tn,wn)&&Tr(yn,wn,Tn[wn]);if(ra)for(var wn of ra(Tn))Pr.call(Tn,wn)&&Tr(yn,wn,Tn[wn]);return yn},Rr=(yn,Tn)=>Gn(yn,Ga(Tn)),Br=(yn,Tn)=>{var wn={};for(var Nn in yn)ja.call(yn,Nn)&&Tn.indexOf(Nn)<0&&(wn[Nn]=yn[Nn]);if(yn!=null&&ra)for(var Nn of ra(yn))Tn.indexOf(Nn)<0&&Pr.call(yn,Nn)&&(wn[Nn]=yn[Nn]);return wn};const{Countdown:to}=aa.default;var gr=yn=>{var Tn=yn,{onChange:wn}=Tn,Nn=Br(Tn,["onChange"]);const[Oa,Ar]=(0,re.useState)(null);(0,re.useEffect)(()=>{typeof Oa=="number"&&Oa>=0&&wn(Oa)},[Oa]);const Zn=tt=>{const st=Math.floor(tt/1e3);Ar(st)};return re.createElement(to,Rr(Xr({},Nn),{onChange:Zn}))}},99914:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return me}});var re=ee(67294);function me(Oe,ze){const Be=(0,re.useRef)();(0,re.useEffect)(()=>{Be.current=Oe}),(0,re.useEffect)(()=>{function Te(){Be.current()}if(ze!==null){let se=setInterval(Te,ze);return()=>clearInterval(se)}},[ze])}},63770:function(ht,Et,ee){"use strict";var re=ee(67294),me=ee(35973),Oe=ee(69677),ze=ee(14446),Be=ee(59810),Te=ee(30001),se=Object.defineProperty,Ze=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,qe=(x,b,E)=>b in x?se(x,b,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[b]=E,Ke=(x,b)=>{for(var E in b||(b={}))je.call(b,E)&&qe(x,E,b[E]);if(Ze)for(var E of Ze(b))He.call(b,E)&&qe(x,E,b[E]);return x},Ee=(x,b)=>{var E={};for(var z in x)je.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,oe)=>{var ae=pe=>{try{fe(E.next(pe))}catch(we){oe(we)}},ne=pe=>{try{fe(E.throw(pe))}catch(we){oe(we)}},fe=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(ae,ne);fe((E=E.apply(x,b)).next())});const y=Oe.default.TextArea,a=x=>{var b=x,{dispatch:E,declaration:z,onClose:oe=()=>{},onSuccess:ae=()=>{},exportTemplate:ne=()=>{}}=b,fe=Ee(b,["dispatch","declaration","onClose","onSuccess","exportTemplate"]);const[pe,we]=(0,re.useState)([]),be={name:"file",multiple:!1,fileList:pe,beforeUpload:xe=>ce(void 0,null,function*(){return we([Ke({},xe)]),!1}),onChange:({fileList:xe})=>{we(xe)}};return(0,re.useEffect)(()=>{we([])},[z.actionTabs.key]),re.createElement(ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:z.actionTabs.key,title:z.actionTabs.key,width:500,onCancel:()=>{oe()},onOk:()=>{ae(z.actionTabs.key,pe)}},re.createElement(Te.op,{className:"mb20",shape:"default",onClick:()=>{ne(z.actionTabs.key)}},re.createElement("i",{className:"iconfont icon-xiazai5 mr5",style:{color:"#3061D0",fontSize:"14px"}}),"\u4E0B\u8F7D\u6A21\u677F"),re.createElement(Be.default.Dragger,Ke({},be),re.createElement(Te.op,{shape:"default",style:{marginTop:"20px"}},"\u9009\u62E9\u6587\u4EF6"),re.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}))(a)},90344:function(ht,Et,ee){"use strict";ee.r(Et),ee.d(Et,{default:function(){return Qe}});var re=ee(67294),me={contWrap:"contWrap___EoPiS",header:"header___uVltN",headTitle:"headTitle___GZEqu",searchWrap:"searchWrap___d4Ynh",wrap1:"wrap1___vFV2L",editBtn:"editBtn___aednz"},Oe=ee(35973),ze=ee(22150),Be=ee(14446),Te=ee(2453),se=ee(69677),Ze=ee(57953),je=ee(96074),He=ee(42563),qe=ee(20669),Ke=ee(9430),Ee=ee(71577),ce=ee(30001),y=ee(35567),a=ee(85725),x=ee(26194),b=ee(41805),E=ee(52262),z=ee(63770),oe=ee(28706),ae=ee(67294),ne=Object.defineProperty,fe=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,be=(Dt,$e,et)=>$e in Dt?ne(Dt,$e,{enumerable:!0,configurable:!0,writable:!0,value:et}):Dt[$e]=et,xe=(Dt,$e)=>{for(var et in $e||($e={}))pe.call($e,et)&&be(Dt,et,$e[et]);if(fe)for(var et of fe($e))we.call($e,et)&&be(Dt,et,$e[et]);return Dt},Se=(Dt,$e,et)=>new Promise((Tt,tn)=>{var jt=nn=>{try{Zt(et.next(nn))}catch(hn){tn(hn)}},pt=nn=>{try{Zt(et.throw(nn))}catch(hn){tn(hn)}},Zt=nn=>nn.done?Tt(nn.value):Promise.resolve(nn.value).then(jt,pt);Zt((et=et.apply(Dt,$e)).next())});const gt=({declaration:Dt,user:$e,dispatch:et,loading:Tt})=>{const[tn,jt]=(0,re.useState)([{}]),[pt,Zt]=(0,re.useState)(0),[nn,hn]=(0,re.useState)(!1),[We,Ct]=(0,re.useState)(!1),[Bt,Kn]=(0,re.useState)(""),[lt,Mt]=(0,re.useState)(""),[Ce,Pn]=(0,re.useState)({page:1,limit:10,status:"",keyword:"",start_time:"",end_time:""}),[Hn]=ze.default.useForm(),[Ca,Yn]=(0,re.useState)([]),[Qt,Ge]=(0,re.useState)(!1),Me=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u5DE5\u53F7",align:"left",ellipsis:!0,dataIndex:"staff_id",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:Rt=>ae.createElement("span",null,Rt===-1&&ae.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),Rt===0&&ae.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),Rt===1&&ae.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),Rt===2&&ae.createElement("span",{style:{color:"#E30000"}},"\u9000\u56DE\u4FEE\u6539"))},{title:"\u9879\u76EE\u540D\u79F0",align:"left",ellipsis:!0,dataIndex:"title",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u9879\u76EE\u9898\u76EE",align:"left",ellipsis:!0,dataIndex:"topic",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u9879\u76EE\u8D1F\u8D23\u4EBA",align:"left",ellipsis:!0,dataIndex:"director",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u53D1\u6587\u6587\u53F7",align:"left",ellipsis:!0,dataIndex:"document_number",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u9879\u76EE\u5BF9\u8C61",align:"left",ellipsis:!0,dataIndex:"project_object",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u9879\u76EE\u7C7B\u522B",align:"left",ellipsis:!0,dataIndex:"teach_project_type_name",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u7EA7\u522B",align:"left",ellipsis:!0,dataIndex:"teach_project_level_name",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u7B49\u7B2C",align:"left",ellipsis:!0,dataIndex:"teach_project_rank_name",render:Rt=>ae.createElement("span",null,Rt||"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:160,ellipsis:!0,dataIndex:"school_name",render:(Rt,Jt)=>{var An,kn,ma,Ie;return ae.createElement(ae.Fragment,null,((0,E.Ny)()&&((An=$e.userInfo)==null?void 0:An.real_name)!==(Jt==null?void 0:Jt.user_name)||[0,1].includes(Jt==null?void 0:Jt.status))&&ae.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{et({type:"declaration/changeMode",payload:{mode:"view"}}),Oe.history.push(`/declaration/research/teachProject/view?id=${Jt==null?void 0:Jt.id}`)}},"\u67E5\u770B"),((kn=$e==null?void 0:$e.userInfo)==null?void 0:kn.real_name)===(Jt==null?void 0:Jt.user_name)&&[-1,2].includes(Jt==null?void 0:Jt.status)&&ae.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{et({type:"declaration/changeMode",payload:{mode:"edit"}}),Oe.history.push(`/declaration/research/teachProject/edit?id=${Jt==null?void 0:Jt.id}`)}},"\u7F16\u8F91"),(0,E.Ny)()&&(Jt==null?void 0:Jt.status)===0&&ae.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Be.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:()=>Se(void 0,null,function*(){(yield(0,b.Uk)({declaration_id:Jt==null?void 0:Jt.id,verify_status:"agree",reason:""})).status===0&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),ft())})})}},"\u901A\u8FC7"),(0,E.Ny)()&&(Jt==null?void 0:Jt.status)===0&&ae.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Hn.setFieldValue("reason",Jt==null?void 0:Jt.reason),Be.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:ae.createElement("div",null,ae.createElement(ze.default,{form:Hn,layout:"vertical",onFinish:_e=>Se(void 0,null,function*(){(yield(0,b.Uk)(xe({declaration_id:Jt==null?void 0:Jt.id,verify_status:"reject"},_e))).status===0&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),ft())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:me.formWrap},ae.createElement(ze.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},ae.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:()=>Se(void 0,null,function*(){yield Hn.submit()})})}},"\u9A73\u56DE"),((ma=$e==null?void 0:$e.userInfo)==null?void 0:ma.real_name)===(Jt==null?void 0:Jt.user_name)&&[-1,2].includes(Jt==null?void 0:Jt.status)&&ae.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Be.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:()=>Se(void 0,null,function*(){(yield(0,b.xx)({declaration_id:Jt==null?void 0:Jt.id})).status===0&&(Te.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),ft())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((Ie=$e==null?void 0:$e.userInfo)==null?void 0:Ie.real_name)===(Jt==null?void 0:Jt.user_name)&&[-1,2].includes(Jt==null?void 0:Jt.status)&&ae.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Be.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>Se(void 0,null,function*(){(yield(0,b.UX)({id:Jt==null?void 0:Jt.id})).status===0&&(Te.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),ft())})})}},"\u5220\u9664"))}}];(0,re.useEffect)(()=>{ft(),Ht()},[]);const ft=()=>Se(void 0,null,function*(){var Rt,Jt;hn(!0);const An=yield(0,b.Dn)(xe({declare_type:9},Ce));(An==null?void 0:An.status)===0&&(jt(((Rt=An==null?void 0:An.data)==null?void 0:Rt.list)||[]),Zt(((Jt=An==null?void 0:An.data)==null?void 0:Jt.count)||0)),hn(!1)}),Ht=()=>Se(void 0,null,function*(){var Rt,Jt;const An=yield(0,b.Xi)({declare_type:9});(An==null?void 0:An.status)===0&&(Kn(((Rt=An==null?void 0:An.data)==null?void 0:Rt.content)||"\u6682\u65E0\u6570\u636E"),Mt(((Jt=An==null?void 0:An.data)==null?void 0:Jt.content)||"\u6682\u65E0\u6570\u636E"))}),an=()=>Se(void 0,null,function*(){if((Bt==null?void 0:Bt.length)>1e3){Te.ZP.info("\u5B57\u6570\u4E0D\u80FD\u8D85\u8FC71000\u5B57\uFF01");return}const Rt=yield(0,b.kF)({declare_type:9,content:Bt});(Rt==null?void 0:Rt.status)===0&&(Ct(!1),Te.ZP.success("\u7F16\u8F91\u6210\u529F!"))});return ae.createElement(Ze.Z,{spinning:nn},ae.createElement("div",{className:me.contWrap},ae.createElement("div",{className:me.header},ae.createElement("div",{className:me.headTitle},"\u6559\u5B66\u9879\u76EE\u7533\u62A5"),ae.createElement("div",null,ae.createElement(ce.op,{shape:"default",onClick:()=>{et({type:"declaration/changeMode",payload:{mode:"edit"}}),Oe.history.push("/declaration/research/teachProject/edit")}},"\u6DFB\u52A0\u6559\u5B66\u7C7B\u9879\u76EE"),ae.createElement(ce.op,{className:"ml20",shape:"default",onClick:()=>{et({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u6559\u5B66\u9879\u76EE"}})}},"\u5BFC\u5165"),ae.createElement(ce.op,{className:"ml20",shape:"default",onClick:()=>{(0,oe.Nd)("","/api/export_excels/down_excel.xlsx?declare_type=9")}},"\u5BFC\u51FA"))),ae.createElement(je.Z,{style:{margin:"12px 0px 20px 0px"}}),ae.createElement("div",{className:me.searchWrap},ae.createElement(He.default,{size:"large",defaultValue:Ce.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:Rt=>{Ce.status=Rt,Pn(xe({},Ce)),Ce.page=1,ft()},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"}]}),ae.createElement(qe.default.RangePicker,{size:"large",style:{width:260,borderRadius:2},onChange:Rt=>{Ce.start_time=Rt!=null&&Rt[0]?Rt[0].format("YYYY-MM-DD"):"",Ce.end_time=Rt!=null&&Rt[1]?Rt[1].format("YYYY-MM-DD"):"",Pn(xe({},Ce)),Ce.page=1,console.log(Ce),ft()},format:"YYYY-MM-DD"}),ae.createElement(ce.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:Ce.keyword,onChange:Rt=>{Ce.page=1,Ce.keywords=Rt,Pn(xe({},Ce)),ft()}})),ae.createElement("div",null,ae.createElement(Ke.default,{dataSource:tn,scroll:{x:1500},pagination:{total:pt||0,size:"default",onChange:(Rt,Jt)=>{Ce.page=Rt,Ce.limit=Jt,Pn(xe({},Ce)),ft()},current:Ce==null?void 0:Ce.page,pageSize:Ce==null?void 0:Ce.limit,showTotal:Rt=>ae.createElement(ae.Fragment,null,"\u5171",ae.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Rt),"\u6761\u6570\u636E")},columns:Me,locale:{emptyText:ae.createElement(x.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),ae.createElement(je.Z,{style:{margin:"30px 0px"}}),We?ae.createElement("div",null,ae.createElement(y.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:Bt,id:"editContent",onChange:Rt=>{Kn(Rt)}}),ae.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},ae.createElement(ce.op,{shape:"default",onClick:()=>{Ct(!1),Kn(lt)}},"\u53D6\u6D88"),ae.createElement(Ee.ZP,{className:"ml20",type:"primary",onClick:()=>Se(void 0,null,function*(){yield an()})},"\u63D0\u4EA4"))):ae.createElement("div",{className:me.wrap1},(0,E.Ny)()&&ae.createElement("div",{className:me.editBtn,onClick:()=>{Ct(!0)}},ae.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),ae.createElement(a.Z,{className:"discuss-content",value:Bt,style:{fontSize:"12px",color:"#232B40"}})),ae.createElement(Be.default,{title:"\u5BFC\u5165\u5931\u8D25",open:Qt,width:500,centered:!0,destroyOnClose:!0,maskClosable:!1,className:me.optionModal,cancelButtonProps:{style:{display:"none"}},onCancel:()=>{Ge(!1)},onOk:()=>{Ge(!1)}},ae.createElement(Ke.default,{columns:[{title:"\u8BBA\u6587\u540D\u79F0",dataIndex:"title",key:"title",render:(Rt,Jt)=>ae.createElement("span",null,"\u7B2C",`${Jt==null?void 0:Jt.index}`,"\u5217")},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"",key:"message",render:(Rt,Jt)=>ae.createElement("span",null,`${Jt==null?void 0:Jt.what_column}\uFF1A${Jt==null?void 0:Jt.message}`)}],pagination:!1,dataSource:Ca})),ae.createElement(z.Z,{exportTemplate:Rt=>{(0,oe.Nd)("","/api/export_excels/down_template.xlsx?declare_type=9")},onSuccess:(Rt,Jt)=>Se(void 0,null,function*(){var An,kn,ma,Ie;const _e=new FormData;if((Jt==null?void 0:Jt.length)==0){Te.ZP.error("\u8BF7\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6");return}const Xn=(An=Jt[0])==null?void 0:An.originFileObj;if(!Xn){Te.ZP.error("\u6587\u4EF6\u83B7\u53D6\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");return}_e.append("file",Xn),_e.append("declare_type","9");const $n=yield(0,b.kq)(_e);((ma=(kn=$n==null?void 0:$n.data)==null?void 0:kn.fail)==null?void 0:ma.length)===0?(Te.ZP.success("\u4E0A\u4F20\u6210\u529F"),et({type:"declaration/setActionTabs",payload:{key:""}})):(Yn((Ie=$n==null?void 0:$n.data)==null?void 0:Ie.fail),Ge(!0)),ft()}),onClose:()=>{et({type:"declaration/setActionTabs",payload:{key:""}})}})))};var Qe=(0,Oe.connect)(({declaration:Dt,loading:$e,user:et})=>({declaration:Dt,loading:$e,user:et}))(gt)},38780:function(ht,Et){"use strict";function ee(){const re=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let me=1;me<arguments.length;me++){const Oe=me<0||arguments.length<=me?void 0:arguments[me];Oe&&Object.keys(Oe).forEach(ze=>{const Be=Oe[ze];Be!==void 0&&(re[ze]=Be)})}return re}Et.Z=ee},66367:function(ht,Et,ee){"use strict";ee.d(Et,{F:function(){return re},Z:function(){return me}});function re(Oe){return Oe!=null&&Oe===Oe.window}function me(Oe,ze){var Be,Te;if(typeof window=="undefined")return 0;const se=ze?"scrollTop":"scrollLeft";let Ze=0;return re(Oe)?Ze=Oe[ze?"pageYOffset":"pageXOffset"]:Oe instanceof Document?Ze=Oe.documentElement[se]:(Oe instanceof HTMLElement||Oe)&&(Ze=Oe[se]),Oe&&!re(Oe)&&typeof Ze!="number"&&(Ze=(Te=((Be=Oe.ownerDocument)!==null&&Be!==void 0?Be:Oe).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 re=ee(67294);function me(){const[,Oe]=re.useReducer(ze=>ze+1,0);return Oe}},58375:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return ze}});var re=ee(96523);function me(Be,Te,se,Ze){const je=se-Te;return Be/=Ze/2,Be<1?je/2*Be*Be*Be+Te:je/2*((Be-=2)*Be*Be+2)+Te}var Oe=ee(66367);function ze(Be){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:Ze,duration:je=450}=Te,He=se(),qe=(0,Oe.Z)(He,!0),Ke=Date.now(),Ee=()=>{const y=Date.now()-Ke,a=me(y>je?je:y,qe,Be,je);(0,Oe.F)(He)?He.scrollTo(window.pageXOffset,a):He instanceof Document||He.constructor.name==="HTMLDocument"?He.documentElement.scrollTop=a:He.scrollTop=a,y<je?(0,re.Z)(Ee):typeof Ze=="function"&&Ze()};(0,re.Z)(Ee)}},84567:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return fe}});var re=ee(94184),me=ee.n(re),Oe=ee(95860),ze=ee(67294),Be=ee(53124),Te=ee(98866),se=ee(65223),je=ze.createContext(null),He=ee(63185),qe=ee(45353),Ke=ee(92429),Ee=function(pe,we){var be={};for(var xe in pe)Object.prototype.hasOwnProperty.call(pe,xe)&&we.indexOf(xe)<0&&(be[xe]=pe[xe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,xe=Object.getOwnPropertySymbols(pe);Se<xe.length;Se++)we.indexOf(xe[Se])<0&&Object.prototype.propertyIsEnumerable.call(pe,xe[Se])&&(be[xe[Se]]=pe[xe[Se]]);return be};const ce=(pe,we)=>{var be;const{prefixCls:xe,className:Se,rootClassName:gt,children:Qe,indeterminate:Dt=!1,style:$e,onMouseEnter:et,onMouseLeave:Tt,skipGroup:tn=!1,disabled:jt}=pe,pt=Ee(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Zt,direction:nn,checkbox:hn}=ze.useContext(Be.E_),We=ze.useContext(je),{isFormItemInput:Ct}=ze.useContext(se.aM),Bt=ze.useContext(Te.Z),Kn=(be=(We==null?void 0:We.disabled)||jt)!==null&&be!==void 0?be:Bt,lt=ze.useRef(pt.value);ze.useEffect(()=>{We==null||We.registerValue(pt.value)},[]),ze.useEffect(()=>{if(!tn)return pt.value!==lt.current&&(We==null||We.cancelValue(lt.current),We==null||We.registerValue(pt.value),lt.current=pt.value),()=>We==null?void 0:We.cancelValue(pt.value)},[pt.value]);const Mt=Zt("checkbox",xe),[Ce,Pn]=(0,He.ZP)(Mt),Hn=Object.assign({},pt);We&&!tn&&(Hn.onChange=function(){pt.onChange&&pt.onChange.apply(pt,arguments),We.toggleOption&&We.toggleOption({label:Qe,value:pt.value})},Hn.name=We.name,Hn.checked=We.value.includes(pt.value));const Ca=me()(`${Mt}-wrapper`,{[`${Mt}-rtl`]:nn==="rtl",[`${Mt}-wrapper-checked`]:Hn.checked,[`${Mt}-wrapper-disabled`]:Kn,[`${Mt}-wrapper-in-form-item`]:Ct},hn==null?void 0:hn.className,Se,gt,Pn),Yn=me()({[`${Mt}-indeterminate`]:Dt},Ke.A,Pn),Qt=Dt?"mixed":void 0;return Ce(ze.createElement(qe.Z,{component:"Checkbox",disabled:Kn},ze.createElement("label",{className:Ca,style:Object.assign(Object.assign({},hn==null?void 0:hn.style),$e),onMouseEnter:et,onMouseLeave:Tt},ze.createElement(Oe.Z,Object.assign({"aria-checked":Qt},Hn,{prefixCls:Mt,className:Yn,disabled:Kn,ref:we})),Qe!==void 0&&ze.createElement("span",null,Qe))))};var a=ze.forwardRef(ce),x=ee(74902),b=ee(10366),E=function(pe,we){var be={};for(var xe in pe)Object.prototype.hasOwnProperty.call(pe,xe)&&we.indexOf(xe)<0&&(be[xe]=pe[xe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,xe=Object.getOwnPropertySymbols(pe);Se<xe.length;Se++)we.indexOf(xe[Se])<0&&Object.prototype.propertyIsEnumerable.call(pe,xe[Se])&&(be[xe[Se]]=pe[xe[Se]]);return be};const z=(pe,we)=>{const{defaultValue:be,children:xe,options:Se=[],prefixCls:gt,className:Qe,rootClassName:Dt,style:$e,onChange:et}=pe,Tt=E(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:tn,direction:jt}=ze.useContext(Be.E_),[pt,Zt]=ze.useState(Tt.value||be||[]),[nn,hn]=ze.useState([]);ze.useEffect(()=>{"value"in Tt&&Zt(Tt.value||[])},[Tt.value]);const We=ze.useMemo(()=>Se.map(Ge=>typeof Ge=="string"||typeof Ge=="number"?{label:Ge,value:Ge}:Ge),[Se]),Ct=Ge=>{hn(Me=>Me.filter(ft=>ft!==Ge))},Bt=Ge=>{hn(Me=>[].concat((0,x.Z)(Me),[Ge]))},Kn=Ge=>{const Me=pt.indexOf(Ge.value),ft=(0,x.Z)(pt);Me===-1?ft.push(Ge.value):ft.splice(Me,1),"value"in Tt||Zt(ft),et==null||et(ft.filter(Ht=>nn.includes(Ht)).sort((Ht,an)=>{const Rt=We.findIndex(An=>An.value===Ht),Jt=We.findIndex(An=>An.value===an);return Rt-Jt}))},lt=tn("checkbox",gt),Mt=`${lt}-group`,[Ce,Pn]=(0,He.ZP)(lt),Hn=(0,b.Z)(Tt,["value","disabled"]),Ca=Se.length?We.map(Ge=>ze.createElement(a,{prefixCls:lt,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:Tt.disabled,value:Ge.value,checked:pt.includes(Ge.value),onChange:Ge.onChange,className:`${Mt}-item`,style:Ge.style,title:Ge.title},Ge.label)):xe,Yn={toggleOption:Kn,value:pt,disabled:Tt.disabled,name:Tt.name,registerValue:Bt,cancelValue:Ct},Qt=me()(Mt,{[`${Mt}-rtl`]:jt==="rtl"},Qe,Dt,Pn);return Ce(ze.createElement("div",Object.assign({className:Qt,style:$e},Hn,{ref:we}),ze.createElement(je.Provider,{value:Yn},Ca)))},oe=ze.forwardRef(z);var ae=ze.memo(oe);const ne=a;ne.Group=ae,ne.__ANT_CHECKBOX=!0;var fe=ne},63185:function(ht,Et,ee){"use strict";ee.d(Et,{C2:function(){return Be}});var re=ee(14747),me=ee(45503),Oe=ee(67968);const ze=Te=>{const{checkboxCls:se}=Te,Ze=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,re.Wf)(Te)),{display:"inline-flex",flexWrap:"wrap",columnGap:Te.marginXS,[`> ${Te.antCls}-row`]:{flex:1}}),[Ze]:Object.assign(Object.assign({},(0,re.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,re.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,re.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 Be(Te,se){const Ze=(0,me.TS)(se,{checkboxCls:`.${Te}`,checkboxSize:se.controlInteractiveSize});return[ze(Ze)]}Et.ZP=(0,Oe.Z)("Checkbox",(Te,se)=>{let{prefixCls:Ze}=se;return[Be(Ze,Te)]})},20669:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return Wo}});var re=ee(97909),me=ee.n(re),Oe=ee(68291),ze=ee(33088),Be=ee.n(ze),Te=ee(26850),se=ee.n(Te),Ze=ee(23082),je=ee.n(Ze),He=ee(99873),qe=ee.n(He),Ke=ee(86625),Ee=ee.n(Ke),ce=ee(40618),y=ee.n(ce);me().extend(y()),me().extend(Ee()),me().extend(Be()),me().extend(se()),me().extend(je()),me().extend(qe()),me().extend(function(te,ie){var le=ie.prototype,ge=le.format;le.format=function(Ne){var Le=(Ne||"").replace("Wo","wo");return ge.bind(this)(Le)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ie){var le=a[ie];return le||ie.split("_")[0]},b=function(){(0,Oe.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),Ne=0;Ne<ge.length;Ne+=1){var Le=ge[Ne],Ye=le;if(Le.includes("wo")||Le.includes("Wo")){for(var Xe=Ye.split("-")[0],dt=Ye.split("-")[1],Yt=me()(Xe,"YYYY").startOf("year").locale(ve),mt=0;mt<=52;mt+=1){var St=Yt.add(mt,"week");if(St.format("Wo")===dt)return St}return b(),null}var bt=me()(Ye,Le,!0).locale(ve);if(bt.isValid())return bt}return le&&b(),null}}},z=E,oe=ee(8745),ae=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"},we=pe,be=ee(74643),xe=function(ie,le){return ne.createElement(be.Z,(0,ae.Z)({},ie,{ref:le,icon:we}))},Se=ne.forwardRef(xe),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"},Qe=gt,Dt=function(ie,le){return ne.createElement(be.Z,(0,ae.Z)({},ie,{ref:le,icon:Qe}))},$e=ne.forwardRef(Dt),et=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"},tn=Tt,jt=function(ie,le){return ne.createElement(be.Z,(0,ae.Z)({},ie,{ref:le,icon:tn}))},pt=ne.forwardRef(jt),Zt=ee(94184),nn=ee.n(Zt),hn=ee(15671),We=ee(43144),Ct=ee(97326),Bt=ee(60136),Kn=ee(51630),lt=ee(4942),Mt=ee(1413),Ce=ee(97685),Pn=ee(5663),Hn=ee(1337),Ca=ee(92739),Yn=ee(7699),Qt=10,Ge=Qt*10,Me=7;function ft(te,ie){if(!te&&!ie)return!0;if(!te||!ie)return!1}function Ht(te,ie,le){var ge=ft(ie,le);if(typeof ge=="boolean")return ge;var ve=Math.floor(te.getYear(ie)/10),Ne=Math.floor(te.getYear(le)/10);return ve===Ne}function an(te,ie,le){var ge=ft(ie,le);return typeof ge=="boolean"?ge:te.getYear(ie)===te.getYear(le)}function Rt(te,ie){var le=Math.floor(te.getMonth(ie)/3);return le+1}function Jt(te,ie,le){var ge=ft(ie,le);return typeof ge=="boolean"?ge:an(te,ie,le)&&Rt(te,ie)===Rt(te,le)}function An(te,ie,le){var ge=ft(ie,le);return typeof ge=="boolean"?ge:an(te,ie,le)&&te.getMonth(ie)===te.getMonth(le)}function kn(te,ie,le){var ge=ft(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 ma(te,ie,le){var ge=ft(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 Ie(te,ie,le,ge){var ve=ft(le,ge);return typeof ve=="boolean"?ve:an(te,le,ge)&&te.locale.getWeek(ie,le)===te.locale.getWeek(ie,ge)}function _e(te,ie,le){return kn(te,ie,le)&&ma(te,ie,le)}function Xn(te,ie,le,ge){return!ie||!le||!ge?!1:!kn(te,ie,ge)&&!kn(te,le,ge)&&te.isAfter(ge,ie)&&te.isAfter(le,ge)}function $n(te,ie,le){var ge=ie.locale.getWeekFirstDay(te),ve=ie.setDate(le,1),Ne=ie.getWeekDay(ve),Le=ie.addDate(ve,ge-Ne);return ie.getMonth(Le)===ie.getMonth(le)&&ie.getDate(Le)>1&&(Le=ie.addDate(Le,-7)),Le}function ct(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 dn(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 Ue(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 Ne=function(At,rt,xt){for(var en=rt;en<=xt;){var Bn=void 0;switch(At){case"date":{if(Bn=ve.setDate(ie,en),!ge(Bn))return!1;break}case"month":{if(Bn=ve.setMonth(ie,en),!ut({cellDate:Bn,mode:"month",generateConfig:ve,disabledDate:ge}))return!1;break}case"year":{if(Bn=ve.setYear(ie,en),!ut({cellDate:Bn,mode:"year",generateConfig:ve,disabledDate:ge}))return!1;break}}en+=1}return!0};switch(le){case"date":case"week":return ge(ie);case"month":{var Le=1,Ye=ve.getDate(ve.getEndDate(ie));return Ne("date",Le,Ye)}case"quarter":{var Xe=Math.floor(ve.getMonth(ie)/3)*3,dt=Xe+2;return Ne("month",Xe,dt)}case"year":return Ne("month",0,11);case"decade":{var Yt=ve.getYear(ie),mt=Math.floor(Yt/Qt)*Qt,St=mt+Qt-1;return Ne("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 Ne="",Le=[],Ye=0;Ye<le.length;Ye+=1){var Xe=le[Ye],dt=dn(te,{generateConfig:ge,locale:ve,format:Xe});Le.push(dt),Ye===0&&(Ne=dt)}return[Le,Ne]},[te,le,ve],function(Ne,Le){return!_e(ge,Ne[0],Le[0])||!(0,Yn.Z)(Ne[1],Le[1],!0)||!(0,Yn.Z)(Ne[2],Le[2],!0)})}function Wt(te,ie){var le=ie.formatList,ge=ie.generateConfig,ve=ie.locale,Ne=(0,ne.useState)(null),Le=(0,Ce.Z)(Ne,2),Ye=Le[0],Xe=Le[1],dt=(0,ne.useRef)(null);function Yt(xt){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(dt.current),en){Xe(xt);return}dt.current=requestAnimationFrame(function(){Xe(xt)})}var mt=Ft(Ye,{formatList:le,generateConfig:ge,locale:ve}),St=(0,Ce.Z)(mt,2),bt=St[1];function At(xt){Yt(xt)}function rt(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Yt(null,xt)}return(0,ne.useEffect)(function(){rt(!0)},[te]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(dt.current)}},[]),[bt,At,rt]}var kt=ee(92389),bn=ee(96523),aa=ee(74902),Vn=ee(48130),Gn=new Map;function Ga(te,ie){var le;function ge(){(0,Vn.Z)(te)?ie():le=(0,bn.Z)(function(){ge()})}return ge(),function(){bn.Z.cancel(le)}}function ra(te,ie,le){if(Gn.get(te)&&cancelAnimationFrame(Gn.get(te)),le<=0){Gn.set(te,requestAnimationFrame(function(){te.scrollTop=ie}));return}var ge=ie-te.scrollTop,ve=ge/le*10;Gn.set(te,requestAnimationFrame(function(){te.scrollTop+=ve,te.scrollTop!==ie&&ra(te,ie,le-10)}))}function ja(te,ie){var le=ie.onLeftRight,ge=ie.onCtrlLeftRight,ve=ie.onUpDown,Ne=ie.onPageUpDown,Le=ie.onEnter,Ye=te.which,Xe=te.ctrlKey,dt=te.metaKey;switch(Ye){case kt.Z.LEFT:if(Xe||dt){if(ge)return ge(-1),!0}else if(le)return le(-1),!0;break;case kt.Z.RIGHT:if(Xe||dt){if(ge)return ge(1),!0}else if(le)return le(1),!0;break;case kt.Z.UP:if(ve)return ve(-1),!0;break;case kt.Z.DOWN:if(ve)return ve(1),!0;break;case kt.Z.PAGE_UP:if(Ne)return Ne(-1),!0;break;case kt.Z.PAGE_DOWN:if(Ne)return Ne(1),!0;break;case kt.Z.ENTER:if(Le)return Le(),!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,aa.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},yn=function(ie){return ie==="month"||ie==="date"?"quarter":ie},Tn=function(ie){return ie==="date"?"week":ie},wn={year:lo,month:gr,quarter:yn,week:Tn,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,Ne=te.forwardKeyDown,Le=te.onKeyDown,Ye=te.blurToCancel,Xe=te.onSubmit,dt=te.onCancel,Yt=te.onFocus,mt=te.onBlur,St=te.changeOnBlur,bt=(0,ne.useState)(!1),At=(0,Ce.Z)(bt,2),rt=At[0],xt=At[1],en=(0,ne.useState)(!1),Bn=(0,Ce.Z)(en,2),gn=Bn[0],sn=Bn[1],qn=(0,ne.useRef)(!1),rn=(0,ne.useRef)(!1),cn=(0,ne.useRef)(!1),wa={onMouseDown:function(){xt(!0),ve(!0)},onKeyDown:function(La){var ga=function(){cn.current=!0};if(Le(La,ga),!cn.current){switch(La.which){case kt.Z.ENTER:{ie?Xe()!==!1&&xt(!0):ve(!0),La.preventDefault();return}case kt.Z.TAB:{rt&&ie&&!La.shiftKey?(xt(!1),La.preventDefault()):!rt&&ie&&!Ne(La)&&La.shiftKey&&(xt(!0),La.preventDefault());return}case kt.Z.ESC:{xt(!0),dt();return}}!ie&&![kt.Z.SHIFT].includes(La.which)?ve(!0):rt||Ne(La)}},onFocus:function(La){xt(!0),sn(!0),Yt&&Yt(La)},onBlur:function(La){if(qn.current||!ge(document.activeElement)){qn.current=!1;return}Ye?setTimeout(function(){for(var ga=document,nr=ga.activeElement;nr&&nr.shadowRoot;)nr=nr.shadowRoot.activeElement;ge(nr)&&dt()},0):ie&&(ve(!1),rn.current&&Xe()),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(na){var La=to(na),ga=ge(La);ie&&(ga?!St&&(!gn||ga)&&ve(!1):(qn.current=!0,(0,bn.Z)(function(){qn.current=!1})))})}),[wa,{focused:gn,typing:rt}]}function Ar(te,ie){return ne.useMemo(function(){return te||(ie?((0,Oe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ie).map(function(le){var ge=(0,Ce.Z)(le,2),ve=ge[0],Ne=ge[1];return{label:ve,value:Ne}})):[])},[te,ie])}var Zn=ee(14075);function tt(te){var ie=te.valueTexts,le=te.onTextChange,ge=ne.useState(""),ve=(0,Ce.Z)(ge,2),Ne=ve[0],Le=ve[1],Ye=ne.useRef([]);Ye.current=ie;function Xe(Yt){Le(Yt),le(Yt)}function dt(){Le(Ye.current[0])}return(0,Zn.Z)(function(){ie.every(function(Yt){return Yt!==Ne})&&dt()},[ie.join("||")]),[Ne,Xe,dt]}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(Ne,Le){var Ye=Ne;return ge&&Le.type==="date"?ge(Ye,Le.today):le&&Le.type==="month"?le(Ye,Le.locale):Le.originNode}},[ie,le,ge]);return ve}function Qn(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 Ka=function(){for(var ie=arguments.length,le=new Array(ie),ge=0;ge<ie;ge++)le[ge]=arguments[ge];return le};function ca(te){return te==null?[]:Array.isArray(te)?te:[te]}function Wn(te,ie){return te?te[ie]:null}function Ma(te,ie,le){var ge=[Wn(te,0),Wn(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,Ne=te.isInView,Le=te.isSameCell,Ye=te.offsetCell,Xe=te.today,dt=te.value;function Yt(mt){var St,bt=Ye(mt,-1),At=Ye(mt,1),rt=Wn(ge,0),xt=Wn(ge,1),en=Wn(ve,0),Bn=Wn(ve,1),gn=Xn(le,en,Bn,mt);function sn(La){return Le(rt,La)}function qn(La){return Le(xt,La)}var rn=Le(en,mt),cn=Le(Bn,mt),wa=(gn||cn)&&(!Ne(bt)||qn(bt)),na=(gn||rn)&&(!Ne(At)||sn(At));return St={},(0,lt.Z)(St,"".concat(ie,"-in-view"),Ne(mt)),(0,lt.Z)(St,"".concat(ie,"-in-range"),Xn(le,rt,xt,mt)),(0,lt.Z)(St,"".concat(ie,"-range-start"),sn(mt)),(0,lt.Z)(St,"".concat(ie,"-range-end"),qn(mt)),(0,lt.Z)(St,"".concat(ie,"-range-start-single"),sn(mt)&&!xt),(0,lt.Z)(St,"".concat(ie,"-range-end-single"),qn(mt)&&!rt),(0,lt.Z)(St,"".concat(ie,"-range-start-near-hover"),sn(mt)&&(Le(bt,en)||Xn(le,en,Bn,bt))),(0,lt.Z)(St,"".concat(ie,"-range-end-near-hover"),qn(mt)&&(Le(At,Bn)||Xn(le,en,Bn,At))),(0,lt.Z)(St,"".concat(ie,"-range-hover"),gn),(0,lt.Z)(St,"".concat(ie,"-range-hover-start"),rn),(0,lt.Z)(St,"".concat(ie,"-range-hover-end"),cn),(0,lt.Z)(St,"".concat(ie,"-range-hover-edge-start"),wa),(0,lt.Z)(St,"".concat(ie,"-range-hover-edge-end"),na),(0,lt.Z)(St,"".concat(ie,"-range-hover-edge-start-near-range"),wa&&Le(bt,xt)),(0,lt.Z)(St,"".concat(ie,"-range-hover-edge-end-near-range"),na&&Le(At,rt)),(0,lt.Z)(St,"".concat(ie,"-today"),Le(Xe,mt)),(0,lt.Z)(St,"".concat(ie,"-selected"),Le(dt,mt)),St}return Yt}var no=ne.createContext({}),ot=no;function _t(te,ie,le,ge,ve){var Ne=te.setHour(ie,le);return Ne=te.setMinute(Ne,ge),Ne=te.setSecond(Ne,ve),Ne}function $t(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 Xt(te,ie,le,ge,ve,Ne){var Le=Math.floor(te/ge)*ge;if(Le<te)return[Le,60-ve,60-Ne];var Ye=Math.floor(ie/ve)*ve;if(Ye<ie)return[Le,Ye,60-Ne];var Xe=Math.floor(le/Ne)*Ne;return[Le,Ye,Xe]}function jn(te,ie){var le=te.getYear(ie),ge=te.getMonth(ie)+1,ve=te.getEndDate(te.getFixedDate("".concat(le,"-").concat(ge,"-01"))),Ne=te.getDate(ve),Le=ge<10?"0".concat(ge):"".concat(ge);return"".concat(le,"-").concat(Le,"-").concat(Ne)}function Ut(te){for(var ie=te.prefixCls,le=te.disabledDate,ge=te.onSelect,ve=te.picker,Ne=te.rowNum,Le=te.colNum,Ye=te.prefixColumn,Xe=te.rowClassName,dt=te.baseDate,Yt=te.getCellClassName,mt=te.getCellText,St=te.getCellNode,bt=te.getCellDate,At=te.generateConfig,rt=te.titleCell,xt=te.headerCells,en=ne.useContext(Ve),Bn=en.onDateMouseEnter,gn=en.onDateMouseLeave,sn=en.mode,qn="".concat(ie,"-cell"),rn=[],cn=0;cn<Ne;cn+=1){for(var wa=[],na=void 0,La=function(){var wr,Vr=cn*Le+ga,ar=bt(dt,Vr),lr=ut({cellDate:ar,mode:sn,disabledDate:le,generateConfig:At});ga===0&&(na=ar,Ye&&wa.push(Ye(na)));var ka=rt&&rt(ar),Yr=ne.createElement("div",{className:"".concat(qn,"-inner")},mt(ar));wa.push(ne.createElement("td",{key:ga,title:ka,className:nn()(qn,(0,Mt.Z)((wr={},(0,lt.Z)(wr,"".concat(qn,"-disabled"),lr),(0,lt.Z)(wr,"".concat(qn,"-start"),mt(ar)===1||ve==="year"&&Number(ka)%10===0),(0,lt.Z)(wr,"".concat(qn,"-end"),ka===jn(At,ar)||ve==="year"&&Number(ka)%10===9),wr),Yt(ar))),onClick:function(){lr||ge(ar)},onMouseEnter:function(){!lr&&Bn&&Bn(ar)},onMouseLeave:function(){!lr&&gn&&gn(ar)}},St?St(ar,Yr):Yr))},ga=0;ga<Le;ga+=1)La();rn.push(ne.createElement("tr",{key:cn,className:Xe&&Xe(na)},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,Ne=te.rowCount,Le=te.viewDate,Ye=te.value,Xe=te.cellRender,dt=te.isSameCell,Yt=ne.useContext(ot),mt=Yt.rangedValue,St=Yt.hoverRangedValue,bt=$n(ve.locale,le,Le),At="".concat(ie,"-cell"),rt=le.locale.getWeekFirstDay(ve.locale),xt=le.getNow(),en=[],Bn=ve.shortWeekDays||(le.locale.getShortWeekDays?le.locale.getShortWeekDays(ve.locale):[]);ge&&en.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var gn=0;gn<Me;gn+=1)en.push(ne.createElement("th",{key:gn},Bn[(gn+rt)%Me]));var sn=Mn({cellPrefixCls:At,today:xt,value:Ye,generateConfig:le,rangedValue:ge?null:mt,hoverRangedValue:ge?null:St,isSameCell:dt||function(rn,cn){return kn(le,rn,cn)},isInView:function(cn){return An(le,cn,Le)},offsetCell:function(cn,wa){return le.addDate(cn,wa)}}),qn=Xe?function(rn,cn){return Xe(rn,{originNode:cn,today:xt,type:"date",locale:ve})}:void 0;return ne.createElement(Ut,(0,ae.Z)({},te,{rowNum:Ne,colNum:Me,baseDate:bt,getCellNode:qn,getCellText:le.getDate,getCellClassName:sn,getCellDate:le.addDate,titleCell:function(cn){return dn(cn,{locale:ve,format:"YYYY-MM-DD",generateConfig:le})},headerCells:en}))}var un=Fn,$a={visibility:"hidden"};function Aa(te){var ie=te.prefixCls,le=te.prevIcon,ge=le===void 0?"\u2039":le,ve=te.nextIcon,Ne=ve===void 0?"\u203A":ve,Le=te.superPrevIcon,Ye=Le===void 0?"\xAB":Le,Xe=te.superNextIcon,dt=Xe===void 0?"\xBB":Xe,Yt=te.onSuperPrev,mt=te.onSuperNext,St=te.onPrev,bt=te.onNext,At=te.children,rt=ne.useContext(Ve),xt=rt.hideNextBtn,en=rt.hidePrevBtn;return ne.createElement("div",{className:ie},Yt&&ne.createElement("button",{type:"button",onClick:Yt,tabIndex:-1,className:"".concat(ie,"-super-prev-btn"),style:en?$a:{}},Ye),St&&ne.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(ie,"-prev-btn"),style:en?$a:{}},ge),ne.createElement("div",{className:"".concat(ie,"-view")},At),bt&&ne.createElement("button",{type:"button",onClick:bt,tabIndex:-1,className:"".concat(ie,"-next-btn"),style:xt?$a:{}},Ne),mt&&ne.createElement("button",{type:"button",onClick:mt,tabIndex:-1,className:"".concat(ie,"-super-next-btn"),style:xt?$a:{}},dt))}var cr=Aa;function zr(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.viewDate,Ne=te.onNextMonth,Le=te.onPrevMonth,Ye=te.onNextYear,Xe=te.onPrevYear,dt=te.onYearClick,Yt=te.onMonthClick,mt=ne.useContext(Ve),St=mt.hideHeader;if(St)return null;var bt="".concat(ie,"-header"),At=ge.shortMonths||(le.locale.getShortMonths?le.locale.getShortMonths(ge.locale):[]),rt=le.getMonth(ve),xt=ne.createElement("button",{type:"button",key:"year",onClick:dt,tabIndex:-1,className:"".concat(ie,"-year-btn")},dn(ve,{locale:ge,format:ge.yearFormat,generateConfig:le})),en=ne.createElement("button",{type:"button",key:"month",onClick:Yt,tabIndex:-1,className:"".concat(ie,"-month-btn")},ge.monthFormat?dn(ve,{locale:ge,format:ge.monthFormat,generateConfig:le}):At[rt]),Bn=ge.monthBeforeYear?[en,xt]:[xt,en];return ne.createElement(cr,(0,ae.Z)({},te,{prefixCls:bt,onSuperPrev:Xe,onPrev:Le,onNext:Ne,onSuperNext:Ye}),Bn)}var co=zr,mn=6;function Bi(te){var ie=te.prefixCls,le=te.panelName,ge=le===void 0?"date":le,ve=te.keyboardConfig,Ne=te.active,Le=te.operationRef,Ye=te.generateConfig,Xe=te.value,dt=te.viewDate,Yt=te.onViewDateChange,mt=te.onPanelChange,St=te.onSelect,bt="".concat(ie,"-").concat(ge,"-panel");Le.current={onKeyDown:function(en){return ja(en,(0,Mt.Z)({onLeftRight:function(gn){St(Ye.addDate(Xe||dt,gn),"key")},onCtrlLeftRight:function(gn){St(Ye.addYear(Xe||dt,gn),"key")},onUpDown:function(gn){St(Ye.addDate(Xe||dt,gn*Me),"key")},onPageUpDown:function(gn){St(Ye.addMonth(Xe||dt,gn),"key")}},ve))}};var At=function(en){var Bn=Ye.addYear(dt,en);Yt(Bn),mt(null,Bn)},rt=function(en){var Bn=Ye.addMonth(dt,en);Yt(Bn),mt(null,Bn)};return ne.createElement("div",{className:nn()(bt,(0,lt.Z)({},"".concat(bt,"-active"),Ne))},ne.createElement(co,(0,ae.Z)({},te,{prefixCls:ie,value:Xe,viewDate:dt,onPrevYear:function(){At(-1)},onNextYear:function(){At(1)},onPrevMonth:function(){rt(-1)},onNextMonth:function(){rt(1)},onMonthClick:function(){mt("month",dt)},onYearClick:function(){mt("year",dt)}})),ne.createElement(un,(0,ae.Z)({},te,{onSelect:function(en){return St(en,"mouse")},prefixCls:ie,value:Xe,viewDate:dt,rowCount:mn})))}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,Ne=te.locale,Le=te.value,Ye=te.format,Xe="".concat(ge,"-header");return ne.createElement(cr,{prefixCls:Xe},Le?dn(Le,{locale:Ne,format:Ye,generateConfig:ve}):"\xA0")}var Yo=qr;function In(te){var ie=te.value,le=te.generateConfig,ge=te.disabledMinutes,ve=te.disabledSeconds,Ne=te.minutes,Le=te.seconds,Ye=te.use12Hours,Xe=function(Yt,mt,St,bt){var At=le.getNow(),rt=ie||At,xt=mt<0?le.getHour(At):mt,en=St<0?le.getMinute(At):St,Bn=bt<0?le.getSecond(At):bt,gn=ge&&ge(xt);if(gn!=null&&gn.includes(en)){var sn=Ne.find(function(cn){return!gn.includes(cn.value)});if(sn)en=sn.value;else return null}var qn=ve&&ve(xt,en);if(qn!=null&&qn.includes(Bn)){var rn=Le.find(function(cn){return!qn.includes(cn.value)});if(rn)Bn=rn.value;else return null}return rt=_t(le,rt,!Ye||!Yt?xt:xt+12,en,Bn),rt};return Xe}function va(te){var ie=te.prefixCls,le=te.units,ge=te.onSelect,ve=te.value,Ne=te.active,Le=te.hideDisabledOptions,Ye=te.info,Xe=te.type,dt="".concat(ie,"-cell"),Yt=ne.useContext(Ve),mt=Yt.open,St=(0,ne.useRef)(null),bt=(0,ne.useRef)(new Map),At=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var rt=bt.current.get(ve);rt&&mt!==!1&&ra(St.current,rt.offsetTop,120)},[ve]),(0,ne.useLayoutEffect)(function(){if(mt){var rt=bt.current.get(ve);rt&&(At.current=Ga(rt,function(){ra(St.current,rt.offsetTop,0)}))}return function(){var xt;(xt=At.current)===null||xt===void 0||xt.call(At)}},[mt]),ne.createElement("ul",{className:nn()("".concat(ie,"-column"),(0,lt.Z)({},"".concat(ie,"-column-active"),Ne)),ref:St,style:{position:"relative"}},le.map(function(rt){var xt;return Le&&rt.disabled?null:ne.createElement("li",{key:rt.value,ref:function(Bn){bt.current.set(rt.value,Bn)},className:nn()(dt,(xt={},(0,lt.Z)(xt,"".concat(dt,"-disabled"),rt.disabled),(0,lt.Z)(xt,"".concat(dt,"-selected"),ve===rt.value),xt)),onClick:function(){rt.disabled||ge(rt.value)}},Ye.cellRender?Ye.cellRender(rt.value,{today:Ye.today,locale:Ye.locale,originNode:ne.createElement("div",{className:"".concat(dt,"-inner")},rt.label),type:"time",subType:Xe}):ne.createElement("div",{className:"".concat(dt,"-inner")},rt.label))}))}var Va=va;function Un(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=[],Ne=le>=1?le|0:1,Le=te;Le<=ie;Le+=Ne)ve.push({label:Qn(Le,2),value:Le,disabled:(ge||[]).includes(Le)});return ve}function _r(te){var ie=te.generateConfig,le=te.prefixCls,ge=te.operationRef,ve=te.activeColumnIndex,Ne=te.value,Le=te.showHour,Ye=te.showMinute,Xe=te.showSecond,dt=te.use12Hours,Yt=te.hourStep,mt=Yt===void 0?1:Yt,St=te.minuteStep,bt=St===void 0?1:St,At=te.secondStep,rt=At===void 0?1:At,xt=te.disabledHours,en=te.disabledMinutes,Bn=te.disabledSeconds,gn=te.disabledTime,sn=te.hideDisabledOptions,qn=te.onSelect,rn=te.cellRender,cn=te.locale,wa=[],na="".concat(le,"-content"),La="".concat(le,"-time-panel"),ga,nr=Ne?ie.getHour(Ne):-1,wr=nr,Vr=Ne?ie.getMinute(Ne):-1,ar=Ne?ie.getSecond(Ne):-1,lr=ie.getNow(),ka=ne.useMemo(function(){if(gn){var Cr=gn(lr);return[Cr.disabledHours,Cr.disabledMinutes,Cr.disabledSeconds]}return[xt,en,Bn]},[xt,en,Bn,gn,lr]),Yr=(0,Ce.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,Un);dt&&(ga=wr>=12,wr%=12);var Pi=ne.useMemo(function(){if(!dt)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},[dt,Uo]),No=(0,Ce.Z)(Pi,2),ci=No[0],io=No[1],vo=ne.useMemo(function(){return dt?Uo.filter(ga?function(Cr){return Cr.value>=12}:function(Cr){return Cr.value<12}).map(function(Cr){var Zo=Cr.value%12,bo=Zo===0?"12":Qn(Zo,2);return(0,Mt.Z)((0,Mt.Z)({},Cr),{},{label:bo,value:Zo})}):Uo},[dt,ga,Uo]),Fo=Wr(0,59,bt,Lr&&Lr(nr)),ui=Wr(0,59,rt,Mo&&Mo(nr,Vr)),mi=In({value:Ne,generateConfig:ie,disabledMinutes:Lr,disabledSeconds:Mo,minutes:Fo,seconds:ui,use12Hours:dt});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 jo=bo.units[(Qr+Zo*ao+_a)%_a];if(jo.disabled!==!0){bo.onSelect(jo.value);break}}}};function ji(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})}ji(Le,ne.createElement(Va,{key:"hour",type:"hour",info:{today:lr,locale:cn,cellRender:rn}}),wr,vo,function(Cr){qn(mi(ga,Cr,Vr,ar),"mouse")}),ji(Ye,ne.createElement(Va,{key:"minute",type:"minute",info:{today:lr,locale:cn,cellRender:rn}}),Vr,Fo,function(Cr){qn(mi(ga,wr,Cr,ar),"mouse")}),ji(Xe,ne.createElement(Va,{key:"second",type:"second",info:{today:lr,locale:cn,cellRender:rn}}),ar,ui,function(Cr){qn(mi(ga,wr,Vr,Cr),"mouse")});var vi=-1;return typeof ga=="boolean"&&(vi=ga?1:0),ji(dt===!0,ne.createElement(Va,{key:"meridiem",type:"meridiem",info:{today:lr,locale:cn,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:na},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,Ne=te.active,Le=te.operationRef,Ye=te.showHour,Xe=te.showMinute,dt=te.showSecond,Yt=te.use12Hours,mt=Yt===void 0?!1:Yt,St=te.onSelect,bt=te.value,At="".concat(ve,"-time-panel"),rt=ne.useRef(),xt=ne.useState(-1),en=(0,Ce.Z)(xt,2),Bn=en[0],gn=en[1],sn=ni([Ye,Xe,dt,mt]);return Le.current={onKeyDown:function(rn){return ja(rn,{onLeftRight:function(wa){gn((Bn+wa+sn)%sn)},onUpDown:function(wa){Bn===-1?gn(0):rt.current&&rt.current.onUpDown(wa)},onEnter:function(){St(bt||ie.getNow(),"key"),gn(-1)}})},onBlur:function(){gn(-1)}},ne.createElement("div",{className:nn()(At,(0,lt.Z)({},"".concat(At,"-active"),Ne))},ne.createElement(Yo,(0,ae.Z)({},te,{format:ge,prefixCls:ve})),ne.createElement(ti,(0,ae.Z)({},te,{prefixCls:ve,activeColumnIndex:Bn,operationRef:rt})))}var bl=ai,yi=Ka("date","time");function Kl(te){var ie=te.prefixCls,le=te.operationRef,ge=te.generateConfig,ve=te.value,Ne=te.defaultValue,Le=te.disabledTime,Ye=te.showTime,Xe=te.onSelect,dt=te.cellRender,Yt="".concat(ie,"-datetime-panel"),mt=ne.useState(null),St=(0,Ce.Z)(mt,2),bt=St[0],At=St[1],rt=ne.useRef({}),xt=ne.useRef({}),en=(0,Kt.Z)(Ye)==="object"?(0,Mt.Z)({},Ye):{};function Bn(rn){var cn=yi.indexOf(bt)+rn,wa=yi[cn]||null;return wa}var gn=function(cn){xt.current.onBlur&&xt.current.onBlur(cn),At(null)};le.current={onKeyDown:function(cn){if(cn.which===kt.Z.TAB){var wa=Bn(cn.shiftKey?-1:1);return At(wa),wa&&cn.preventDefault(),!0}if(bt){var na=bt==="date"?rt:xt;return na.current&&na.current.onKeyDown&&na.current.onKeyDown(cn),!0}return[kt.Z.LEFT,kt.Z.RIGHT,kt.Z.UP,kt.Z.DOWN].includes(cn.which)?(At("date"),!0):!1},onBlur:gn,onClose:gn};var sn=function(cn,wa){var na=cn;wa==="date"&&!ve&&en.defaultValue?(na=ge.setHour(na,ge.getHour(en.defaultValue)),na=ge.setMinute(na,ge.getMinute(en.defaultValue)),na=ge.setSecond(na,ge.getSecond(en.defaultValue))):wa==="time"&&!ve&&Ne&&(na=ge.setYear(na,ge.getYear(Ne)),na=ge.setMonth(na,ge.getMonth(Ne)),na=ge.setDate(na,ge.getDate(Ne))),Xe&&Xe(na,"mouse")},qn=Le?Le(ve||null):{};return ne.createElement("div",{className:nn()(Yt,(0,lt.Z)({},"".concat(Yt,"-active"),bt))},ne.createElement(ei,(0,ae.Z)({},te,{cellRender:dt,operationRef:rt,active:bt==="date",onSelect:function(cn){sn($t(ge,cn,!ve&&(0,Kt.Z)(Ye)==="object"?Ye.defaultValue:null),"date")}})),ne.createElement(bl,(0,ae.Z)({},te,{cellRender:dt?function(rn,cn){return dt(rn,(0,Mt.Z)((0,Mt.Z)({},cn),{},{type:"time"}))}:void 0,format:void 0},en,qn,{disabledTime:null,defaultValue:void 0,operationRef:xt,active:bt==="time",onSelect:function(cn){sn(cn,"time")}})))}var $l=Kl;function wi(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.viewDate,ve=te.onPrevDecades,Ne=te.onNextDecades,Le=ne.useContext(Ve),Ye=Le.hideHeader;if(Ye)return null;var Xe="".concat(ie,"-header"),dt=le.getYear(ge),Yt=Math.floor(dt/Ge)*Ge,mt=Yt+Ge-1;return ne.createElement(cr,(0,ae.Z)({},te,{prefixCls:Xe,onSuperPrev:ve,onSuperNext:Ne}),Yt,"-",mt)}var Xo=wi,hl=3,Cl=4;function Fl(te){var ie=Qt-1,le=te.prefixCls,ge=te.viewDate,ve=te.generateConfig,Ne=te.cellRender,Le=te.locale,Ye="".concat(le,"-cell"),Xe=ve.getYear(ge),dt=Math.floor(Xe/Qt)*Qt,Yt=Math.floor(Xe/Ge)*Ge,mt=Yt+Ge-1,St=ve.setYear(ge,Yt-Math.ceil((hl*Cl*Qt-Ge)/2)),bt=function(xt){var en,Bn=ve.getYear(xt),gn=Bn+ie;return en={},(0,lt.Z)(en,"".concat(Ye,"-in-view"),Yt<=Bn&&gn<=mt),(0,lt.Z)(en,"".concat(Ye,"-selected"),Bn===dt),en},At=Ne?function(rt,xt){return Ne(rt,{originNode:xt,today:ve.getNow(),type:"decade",locale:Le})}:void 0;return ne.createElement(Ut,(0,ae.Z)({},te,{rowNum:Cl,colNum:hl,baseDate:St,getCellNode:At,getCellText:function(xt){var en=ve.getYear(xt);return"".concat(en,"-").concat(en+ie)},getCellClassName:bt,getCellDate:function(xt,en){return ve.addYear(xt,en*Qt)}}))}var tl=Fl;function ki(te){var ie=te.prefixCls,le=te.onViewDateChange,ge=te.generateConfig,ve=te.viewDate,Ne=te.operationRef,Le=te.onSelect,Ye=te.onPanelChange,Xe="".concat(ie,"-decade-panel");Ne.current={onKeyDown:function(St){return ja(St,{onLeftRight:function(At){Le(ge.addYear(ve,At*Qt),"key")},onCtrlLeftRight:function(At){Le(ge.addYear(ve,At*Ge),"key")},onUpDown:function(At){Le(ge.addYear(ve,At*Qt*hl),"key")},onEnter:function(){Ye("year",ve)}})}};var dt=function(St){var bt=ge.addYear(ve,St*Ge);le(bt),Ye(null,bt)},Yt=function(St){Le(St,"mouse"),Ye("year",St)};return ne.createElement("div",{className:Xe},ne.createElement(Xo,(0,ae.Z)({},te,{prefixCls:ie,onPrevDecades:function(){dt(-1)},onNextDecades:function(){dt(1)}})),ne.createElement(tl,(0,ae.Z)({},te,{prefixCls:ie,onSelect:Yt})))}var pl=ki;function kr(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.viewDate,Ne=te.onNextYear,Le=te.onPrevYear,Ye=te.onYearClick,Xe=ne.useContext(Ve),dt=Xe.hideHeader;if(dt)return null;var Yt="".concat(ie,"-header");return ne.createElement(cr,(0,ae.Z)({},te,{prefixCls:Yt,onSuperPrev:Le,onSuperNext:Ne}),ne.createElement("button",{type:"button",onClick:Ye,className:"".concat(ie,"-year-btn")},dn(ve,{locale:ge,format:ge.yearFormat,generateConfig:le})))}var vt=kr,Lt=3,qt=4;function Ae(te){var ie=te.prefixCls,le=te.locale,ge=te.value,ve=te.viewDate,Ne=te.generateConfig,Le=te.cellRender,Ye=ne.useContext(ot),Xe=Ye.rangedValue,dt=Ye.hoverRangedValue,Yt="".concat(ie,"-cell"),mt=Mn({cellPrefixCls:Yt,value:ge,generateConfig:Ne,rangedValue:Xe,hoverRangedValue:dt,isSameCell:function(xt,en){return An(Ne,xt,en)},isInView:function(){return!0},offsetCell:function(xt,en){return Ne.addMonth(xt,en)}}),St=le.shortMonths||(Ne.locale.getShortMonths?Ne.locale.getShortMonths(le.locale):[]),bt=Ne.setMonth(ve,0),At=Le?function(rt,xt){return Le(rt,{originNode:xt,locale:le,today:Ne.getNow(),type:"month"})}:void 0;return ne.createElement(Ut,(0,ae.Z)({},te,{rowNum:qt,colNum:Lt,baseDate:bt,getCellNode:At,getCellText:function(xt){return le.monthFormat?dn(xt,{locale:le,format:le.monthFormat,generateConfig:Ne}):St[Ne.getMonth(xt)]},getCellClassName:mt,getCellDate:Ne.addMonth,titleCell:function(xt){return dn(xt,{locale:le,format:"YYYY-MM",generateConfig:Ne})}}))}var Vt=Ae;function Dn(te){var ie=te.prefixCls,le=te.operationRef,ge=te.onViewDateChange,ve=te.generateConfig,Ne=te.value,Le=te.viewDate,Ye=te.onPanelChange,Xe=te.onSelect,dt="".concat(ie,"-month-panel");le.current={onKeyDown:function(St){return ja(St,{onLeftRight:function(At){Xe(ve.addMonth(Ne||Le,At),"key")},onCtrlLeftRight:function(At){Xe(ve.addYear(Ne||Le,At),"key")},onUpDown:function(At){Xe(ve.addMonth(Ne||Le,At*Lt),"key")},onEnter:function(){Ye("date",Ne||Le)}})}};var Yt=function(St){var bt=ve.addYear(Le,St);ge(bt),Ye(null,bt)};return ne.createElement("div",{className:dt},ne.createElement(vt,(0,ae.Z)({},te,{prefixCls:ie,onPrevYear:function(){Yt(-1)},onNextYear:function(){Yt(1)},onYearClick:function(){Ye("year",Le)}})),ne.createElement(Vt,(0,ae.Z)({},te,{prefixCls:ie,onSelect:function(St){Xe(St,"mouse"),Ye("date",St)}})))}var Ln=Dn;function Pt(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.viewDate,Ne=te.onNextYear,Le=te.onPrevYear,Ye=te.onYearClick,Xe=ne.useContext(Ve),dt=Xe.hideHeader;if(dt)return null;var Yt="".concat(ie,"-header");return ne.createElement(cr,(0,ae.Z)({},te,{prefixCls:Yt,onSuperPrev:Le,onSuperNext:Ne}),ne.createElement("button",{type:"button",onClick:Ye,className:"".concat(ie,"-year-btn")},dn(ve,{locale:ge,format:ge.yearFormat,generateConfig:le})))}var Gt=Pt,Ot=4,On=1;function sa(te){var ie=te.prefixCls,le=te.locale,ge=te.value,ve=te.viewDate,Ne=te.generateConfig,Le=te.cellRender,Ye=ne.useContext(ot),Xe=Ye.rangedValue,dt=Ye.hoverRangedValue,Yt="".concat(ie,"-cell"),mt=Mn({cellPrefixCls:Yt,value:ge,generateConfig:Ne,rangedValue:Xe,hoverRangedValue:dt,isSameCell:function(rt,xt){return Jt(Ne,rt,xt)},isInView:function(){return!0},offsetCell:function(rt,xt){return Ne.addMonth(rt,xt*3)}}),St=Ne.setDate(Ne.setMonth(ve,0),1),bt=Le?function(At,rt){return Le(At,{originNode:rt,locale:le,today:Ne.getNow(),type:"quarter"})}:void 0;return ne.createElement(Ut,(0,ae.Z)({},te,{rowNum:On,colNum:Ot,baseDate:St,getCellNode:bt,getCellText:function(rt){return dn(rt,{locale:le,format:le.quarterFormat||"[Q]Q",generateConfig:Ne})},getCellClassName:mt,getCellDate:function(rt,xt){return Ne.addMonth(rt,xt*3)},titleCell:function(rt){return dn(rt,{locale:le,format:"YYYY-[Q]Q",generateConfig:Ne})}}))}var xa=sa;function pa(te){var ie=te.prefixCls,le=te.operationRef,ge=te.onViewDateChange,ve=te.generateConfig,Ne=te.value,Le=te.viewDate,Ye=te.onPanelChange,Xe=te.onSelect,dt="".concat(ie,"-quarter-panel");le.current={onKeyDown:function(St){return ja(St,{onLeftRight:function(At){Xe(ve.addMonth(Ne||Le,At*3),"key")},onCtrlLeftRight:function(At){Xe(ve.addYear(Ne||Le,At),"key")},onUpDown:function(At){Xe(ve.addYear(Ne||Le,At),"key")}})}};var Yt=function(St){var bt=ve.addYear(Le,St);ge(bt),Ye(null,bt)};return ne.createElement("div",{className:dt},ne.createElement(Gt,(0,ae.Z)({},te,{prefixCls:ie,onPrevYear:function(){Yt(-1)},onNextYear:function(){Yt(1)},onYearClick:function(){Ye("year",Le)}})),ne.createElement(xa,(0,ae.Z)({},te,{prefixCls:ie,onSelect:function(St){Xe(St,"mouse")}})))}var Ia=pa;function rr(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.locale,ve=te.value,Ne=te.disabledDate,Le=te.onSelect,Ye=ne.useContext(ot),Xe=Ye.rangedValue,dt=Ye.hoverRangedValue,Yt=ne.useContext(Ve),mt=Yt.onDateMouseEnter,St=Yt.onDateMouseLeave,bt=(dt==null?void 0:dt[0])||(Xe==null?void 0:Xe[0]),At=(dt==null?void 0:dt[1])||(Xe==null?void 0:Xe[1]),rt="".concat(ie,"-cell"),xt=function(sn){var qn=ut({cellDate:sn,mode:"week",disabledDate:Ne,generateConfig:le});return ne.createElement("td",{key:"week",className:nn()(rt,"".concat(rt,"-week")),onClick:function(){qn||Le(sn,"mouse")},onMouseEnter:function(){!qn&&mt&&mt(sn)},onMouseLeave:function(){!qn&&St&&St(sn)}},ne.createElement("div",{className:"".concat(rt,"-inner")},le.locale.getWeek(ge.locale,sn)))},en="".concat(ie,"-week-panel-row"),Bn=function(sn){var qn,rn=Ie(le,ge.locale,bt,sn),cn=Ie(le,ge.locale,At,sn);return nn()(en,(qn={},(0,lt.Z)(qn,"".concat(en,"-selected"),!Xe&&Ie(le,ge.locale,ve,sn)),(0,lt.Z)(qn,"".concat(en,"-range-start"),rn),(0,lt.Z)(qn,"".concat(en,"-range-end"),cn),(0,lt.Z)(qn,"".concat(en,"-range-hover"),!rn&&!cn&&Xn(le,bt,At,sn)),qn))};return ne.createElement(ei,(0,ae.Z)({},te,{panelName:"week",prefixColumn:xt,rowClassName:Bn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var En=rr,Nt=10;function Sn(te){var ie=te.prefixCls,le=te.generateConfig,ge=te.viewDate,ve=te.onPrevDecade,Ne=te.onNextDecade,Le=te.onDecadeClick,Ye=ne.useContext(Ve),Xe=Ye.hideHeader;if(Xe)return null;var dt="".concat(ie,"-header"),Yt=le.getYear(ge),mt=Math.floor(Yt/Nt)*Nt,St=mt+Nt-1;return ne.createElement(cr,(0,ae.Z)({},te,{prefixCls:dt,onSuperPrev:ve,onSuperNext:Ne}),ne.createElement("button",{type:"button",onClick:Le,className:"".concat(ie,"-decade-btn")},mt,"-",St))}var xn=Sn,oa=3,Fa=4;function Xa(te){var ie=te.prefixCls,le=te.value,ge=te.viewDate,ve=te.locale,Ne=te.generateConfig,Le=te.cellRender,Ye=ne.useContext(ot),Xe=Ye.rangedValue,dt=Ye.hoverRangedValue,Yt="".concat(ie,"-cell"),mt=Ne.getYear(ge),St=Math.floor(mt/Nt)*Nt,bt=St+Nt-1,At=Ne.setYear(ge,St-Math.ceil((oa*Fa-Nt)/2)),rt=Ne.getNow(),xt=function(sn){var qn=Ne.getYear(sn);return St<=qn&&qn<=bt},en=Mn({cellPrefixCls:Yt,value:le,generateConfig:Ne,rangedValue:Xe,hoverRangedValue:dt,isSameCell:function(sn,qn){return an(Ne,sn,qn)},isInView:xt,offsetCell:function(sn,qn){return Ne.addYear(sn,qn)}}),Bn=Le?function(gn,sn){return Le(gn,{originNode:sn,today:rt,type:"year",locale:ve})}:void 0;return ne.createElement(Ut,(0,ae.Z)({},te,{rowNum:Fa,colNum:oa,baseDate:At,getCellNode:Bn,getCellText:Ne.getYear,getCellClassName:en,getCellDate:Ne.addYear,titleCell:function(sn){return dn(sn,{locale:ve,format:"YYYY",generateConfig:Ne})}}))}var yr=Xa;function sr(te){var ie=te.prefixCls,le=te.operationRef,ge=te.onViewDateChange,ve=te.generateConfig,Ne=te.value,Le=te.viewDate,Ye=te.sourceMode,Xe=te.onSelect,dt=te.onPanelChange,Yt="".concat(ie,"-year-panel");le.current={onKeyDown:function(bt){return ja(bt,{onLeftRight:function(rt){Xe(ve.addYear(Ne||Le,rt),"key")},onCtrlLeftRight:function(rt){Xe(ve.addYear(Ne||Le,rt*Nt),"key")},onUpDown:function(rt){Xe(ve.addYear(Ne||Le,rt*oa),"key")},onEnter:function(){dt(Ye==="date"?"date":"month",Ne||Le)}})}};var mt=function(bt){var At=ve.addYear(Le,bt*10);ge(At),dt(null,At)};return ne.createElement("div",{className:Yt},ne.createElement(xn,(0,ae.Z)({},te,{prefixCls:ie,onPrevDecade:function(){mt(-1)},onNextDecade:function(){mt(1)},onDecadeClick:function(){dt("decade",Le)}})),ne.createElement(yr,(0,ae.Z)({},te,{prefixCls:ie,onSelect:function(bt){dt(Ye==="date"?"date":"month",bt),Xe(bt,"mouse")}})))}var _n=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,Ne=te.onNow,Le=te.onOk,Ye=te.okDisabled,Xe=te.showNow,dt=te.locale,Yt,mt;if(ve){var St=ge.button||"button";Ne&&Xe!==!1&&(Yt=ne.createElement("li",{className:"".concat(ie,"-now")},ne.createElement("a",{className:"".concat(ie,"-now-btn"),onClick:Ne},dt.now))),mt=ve&&ne.createElement("li",{className:"".concat(ie,"-ok")},ne.createElement(St,{disabled:Ye,onClick:Le},dt.ok))}return!Yt&&!mt?null:ne.createElement("ul",{className:"".concat(ie,"-ranges")},Yt,mt)}var Za=["date","month"];function dr(te){var ie,le=te,ge=le.prefixCls,ve=ge===void 0?"rc-picker":ge,Ne=le.className,Le=le.style,Ye=le.locale,Xe=le.generateConfig,dt=le.value,Yt=le.defaultValue,mt=le.pickerValue,St=le.defaultPickerValue,bt=le.disabledDate,At=le.mode,rt=le.picker,xt=rt===void 0?"date":rt,en=le.tabIndex,Bn=en===void 0?0:en,gn=le.showNow,sn=le.showTime,qn=le.showToday,rn=le.renderExtraFooter,cn=le.hideHeader,wa=le.onSelect,na=le.onChange,La=le.onPanelChange,ga=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,ji=Fo.hideRanges,vi=Fo.defaultOpenValue,Cr=ne.useContext(ot),Zo=Cr.inRange,bo=Cr.panelPosition,Qr=Cr.rangedValue,_a=Cr.hoverRangedValue,ao=ne.useRef({}),jo=ne.useRef(!0),Ji=(0,Pn.Z)(null,{value:dt,defaultValue:Yt,postState:function(Ta){return!Ta&&vi&&xt==="time"?vi:Ta}}),fl=(0,Ce.Z)(Ji,2),zi=fl[0],as=fl[1],ys=(0,Pn.Z)(null,{value:mt,defaultValue:St||zi,postState:function(Ta){var oo=Xe.getNow();if(!Ta)return oo;if(!zi&&sn){var ii=(0,Kt.Z)(sn)==="object"?sn.defaultValue:Yt;return $t(Xe,Array.isArray(Ta)?Ta[0]:Ta,ii||oo)}return Array.isArray(Ta)?Ta[0]:Ta}}),sl=(0,Ce.Z)(ys,2),Xi=sl[0],Ki=sl[1],xr=function(Ta){Ki(Ta),nr&&nr(Ta)},Ro=function(Ta){var oo=wn[xt];return oo?oo(Ta):Ta},oi=(0,Pn.Z)(function(){return xt==="time"?"time":Ro("date")},{value:At}),$i=(0,Ce.Z)(oi,2),Vo=$i[0],qi=$i[1];ne.useEffect(function(){qi(xt)},[xt]);var Ri=ne.useState(function(){return Vo}),dl=(0,Ce.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||_e(Xe,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),na&&!_e(Xe,Ta,zi)&&!(bt!=null&&bt(Ta))&&na(Ta))},vl=function(Ta){if(Za.includes(Vo)){var oo,ii,Ll=Vo==="date";switch(Ta===kt.Z.PAGE_UP||Ta===kt.Z.PAGE_DOWN?ii=Ll?Xe.addMonth:Xe.addYear:ii=Ll?Xe.addDate:Xe.addMonth,Ta){case kt.Z.LEFT:case kt.Z.PAGE_UP:oo=ii(Xi,-1);break;case kt.Z.RIGHT:case kt.Z.PAGE_DOWN:oo=ii(Xi,1);break;case kt.Z.UP:case kt.Z.DOWN:oo=ii(Xi,Number("".concat(Ta===kt.Z.UP?"-":"").concat(Ll?Me:Lt)));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([kt.Z.LEFT,kt.Z.RIGHT,kt.Z.UP,kt.Z.DOWN,kt.Z.PAGE_UP,kt.Z.PAGE_DOWN,kt.Z.ENTER].includes(ii)&&(Ta.preventDefault(),ii!==kt.Z.ENTER&&Bn===0&&(oo=vl(ii))),oo)return ao.current.onKeyDown(Ta)}return(0,Oe.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(){dt&&!jo.current&&Ki(dt)},[dt]),ne.useEffect(function(){jo.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,ae.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"year":so=ne.createElement(_n,(0,ae.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"month":so=ne.createElement(Ln,(0,ae.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"quarter":so=ne.createElement(Ia,(0,ae.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"week":so=ne.createElement(En,(0,ae.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"time":delete Do.showTime,so=ne.createElement(bl,(0,ae.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,ae.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}})):so=ne.createElement(ei,(0,ae.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}))}var rs,Gl,jl=function(){var Ta=Xe.getNow(),oo=Xt(Xe.getHour(Ta),Xe.getMinute(Ta),Xe.getSecond(Ta),ci?ka:1,io?Sr:1,vo?Mo:1),ii=_t(Xe,Ta,oo[0],oo[1],oo[2]);Wi(ii,"submit")};ji||(rs=ya(ve,Vo,rn),sn&&Vo!=="date"?Gl=null:Gl=Sa({prefixCls:ve,components:Vr,needConfirmButton:No,okDisabled:!zi||bt&&bt(zi),locale:Ye,showNow:gn,onNow:No&&jl,onOk:function(){zi&&(Wi(zi,"submit",!0),wr&&wr(zi))}}));var wl;if(qn&&Vo==="date"&&xt==="date"&&!sn){var os=Xe.getNow(),qs="".concat(ve,"-today-btn"),bs=bt&&bt(os);wl=ne.createElement("a",{className:nn()(qs,bs&&"".concat(qs,"-disabled")),"aria-disabled":bs,onClick:function(){bs||Wi(os,"mouse",!0)}},Ye.today)}return ne.createElement(Ve.Provider,{value:(0,Mt.Z)((0,Mt.Z)({},Fo),{},{mode:Vo,hideHeader:"hideHeader"in te?cn:Fo.hideHeader,hidePrevBtn:Zo&&bo==="right",hideNextBtn:Zo&&bo==="left"})},ne.createElement("div",{tabIndex:Bn,className:nn()("".concat(ve,"-panel"),Ne,(ie={},(0,lt.Z)(ie,"".concat(ve,"-panel-has-range"),Qr&&Qr[0]&&Qr[1]),(0,lt.Z)(ie,"".concat(ve,"-panel-has-range-hover"),_a&&_a[0]&&_a[1]),(0,lt.Z)(ie,"".concat(ve,"-panel-rtl"),ar==="rtl"),ie)),style:Le,onKeyDown:Hl,onBlur:Co,onMouseDown:ga},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(Ne){zs(Ne,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(Ne,Le){return Ne===ve[Le]})})}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 At=document.createElement("div");return At}),ge=(0,Ce.Z)(le,1),ve=ge[0],Ne=ne.useRef(!1),Le=ne.useContext(Ol),Ye=ne.useState(bi),Xe=(0,Ce.Z)(Ye,2),dt=Xe[0],Yt=Xe[1],mt=Le||(Ne.current?void 0:function(At){Yt(function(rt){var xt=[At].concat((0,aa.Z)(rt));return xt})});function St(){ve.parentElement||document.body.appendChild(ve),Ne.current=!0}function bt(){var At;(At=ve.parentElement)===null||At===void 0||At.removeChild(ve),Ne.current=!1}return ps(function(){return te?Le?Le(St):St():bt(),bt},[te]),ps(function(){dt.length&&(dt.forEach(function(At){return At()}),Yt(bi))},[dt]),[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 Ne=ql(ie),Le=Ne.firstChild;if(ge){if(ge==="queue"){var Ye=ds(Ne).filter(function(Xe){return["prepend","prependQueue"].includes(Xe.getAttribute(Ds))});if(Ye.length)return Ne.insertBefore(ve,Ye[Ye.length-1].nextSibling),ve}Ne.insertBefore(ve,Le)}else Ne.appendChild(ve);return ve}function js(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=js(te,ie);if(le){var ge=ql(ie);ge.removeChild(le)}}function Ks(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);Ks(ge,le);var ve=js(ie,le);if(ve){var Ne,Le;if((Ne=le.csp)!==null&&Ne!==void 0&&Ne.nonce&&ve.nonce!==((Le=le.csp)===null||Le===void 0?void 0:Le.nonce)){var Ye;ve.nonce=(Ye=le.csp)===null||Ye===void 0?void 0:Ye.nonce}return ve.innerHTML!==te&&(ve.innerHTML=te),ve}var Xe=cs(te,le);return Xe.setAttribute(ss(le),ie),Xe}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 Ne=ie.offsetWidth;ve===Ne&&(Ne=le.clientWidth),document.body.removeChild(le),Ms=ve-Ne}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,Ce.Z)(le,1),ve=ge[0];ps(function(){if(ie){var Ne=bc(document.body).width,Le=$s();rd(`
html body {
overflow-y: hidden;
`.concat(Le?"width: calc(100% - ".concat(Ne,"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,Ne=te.debug,Le=te.autoDestroy,Ye=Le===void 0?!0:Le,Xe=te.children,dt=ne.useState(le),Yt=(0,Ce.Z)(dt,2),mt=Yt[0],St=Yt[1],bt=mt||le;ne.useEffect(function(){(Ye||le)&&St(le)},[le,Ye]);var At=ne.useState(function(){return sc(ve)}),rt=(0,Ce.Z)(At,2),xt=rt[0],en=rt[1];ne.useEffect(function(){var nr=sc(ve);en(nr!=null?nr:null)});var Bn=Ai(bt&&!xt,Ne),gn=(0,Ce.Z)(Bn,2),sn=gn[0],qn=gn[1],rn=xt!=null?xt:sn;Cc(ge&&le&&wo()&&(rn===sn||rn===document.body));var cn=null;if(Xe&&Vl(Xe)&&ie){var wa=Xe;cn=wa.ref}var na=Hs(cn,ie);if(!bt||!wo()||xt===void 0)return null;var La=rn===!1||xc(),ga=Xe;return ie&&(ga=ne.cloneElement(Xe,{ref:na})),ne.createElement(Ol.Provider,{value:qn},La?ga:(0,Eo.createPortal)(ga,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(),Fe=Pe?function(ie){var le=Pe();return ie||le}:function(ie){var le=ne.useState("ssr-id"),ge=(0,Ce.Z)(le,2),ve=ge[0],Ne=ge[1];return ne.useEffect(function(){var Le=Qd;Qd+=1,Ne("rc_unique_".concat(Le))},[]),ie||ve},Re=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))},it=ne.createContext(null),It=it;function fn(te){return te?Array.isArray(te)?te:[te]:[]}function pn(te,ie,le,ge){return ne.useMemo(function(){var ve=fn(le!=null?le:ie),Ne=fn(ge!=null?ge:ie),Le=new Set(ve),Ye=new Set(Ne);return te&&(Le.has("hover")&&(Le.delete("hover"),Le.add("click")),Ye.has("hover")&&(Ye.delete("hover"),Ye.add("click"))),[Le,Ye]},[te,ie,le,ge])}function da(){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,Ne=Object.keys(te),Le=0;Le<Ne.length;Le+=1){var Ye,Xe=Ne[Le];if(da((Ye=te[Xe])===null||Ye===void 0?void 0:Ye.points,ve,ge))return"".concat(ie,"-placement-").concat(Xe)}return""}function fa(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),Ne=ve.overflowX,Le=ve.overflowY,Ye=ve.overflow;[Ne,Le,Ye].some(function(Xe){return ge.includes(Xe)})&&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),Ne=ve.overflow,Le=ve.overflowClipMargin,Ye=ve.borderTopWidth,Xe=ve.borderBottomWidth,dt=ve.borderLeftWidth,Yt=ve.borderRightWidth,mt=ge.getBoundingClientRect(),St=ge.offsetHeight,bt=ge.clientHeight,At=ge.offsetWidth,rt=ge.clientWidth,xt=za(Ye),en=za(Xe),Bn=za(dt),gn=za(Yt),sn=qa(Math.round(mt.width/At*1e3)/1e3),qn=qa(Math.round(mt.height/St*1e3)/1e3),rn=(At-rt-Bn-gn)*sn,cn=(St-bt-xt-en)*qn,wa=xt*qn,na=en*qn,La=Bn*sn,ga=gn*sn,nr=0,wr=0;if(Ne==="clip"){var Vr=za(Le);nr=Vr*sn,wr=Vr*qn}var ar=mt.x+La-nr,lr=mt.y+wa-wr,ka=ar+mt.width+2*nr-La-ga-rn,Yr=lr+mt.height+2*wr-wa-na-cn;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,Ce.Z)(le,2),ve=ge[0],Ne=ge[1];return[uo(te.width,ve),uo(te.height,Ne)]}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,Ne;return le==="t"?Ne=te.y:le==="b"?Ne=te.y+te.height:Ne=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:Ne}}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,Ne,Le){var Ye=ne.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ve[ge]||{}}),Xe=(0,Ce.Z)(Ye,2),dt=Xe[0],Yt=Xe[1],mt=ne.useRef(0),St=ne.useMemo(function(){return ie?ha(ie):[]},[ie]),bt=ne.useRef({}),At=function(){bt.current={}};te||At();var rt=(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,jd=Sr.y+Nd,mc=rc+vo,vc=jd+io,dd=Math.max(rc,ed.left),hc=Math.max(jd,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,gn,sn=ie,qn=sn.ownerDocument,rn=Ya(sn),cn=rn.getComputedStyle(sn),wa=cn.width,na=cn.height,La=cn.position,ga=sn.style.left,nr=sn.style.top,wr=sn.style.right,Vr=sn.style.bottom,ar=(0,Mt.Z)((0,Mt.Z)({},ve[ge]),Ne),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},ji={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(ji,St),_a=pr(mi,St),ao=vi===Cr?_a:Qr,jo=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=ga,sn.style.top=nr,sn.style.right=wr,sn.style.bottom=Vr,(gn=sn.parentElement)===null||gn===void 0||gn.removeChild(lr);var fl=qa(Math.round(vo/parseFloat(wa)*1e3)/1e3),zi=qa(Math.round(io/parseFloat(na)*1e3)/1e3);if(fl===0||zi===0||Md(le)&&!(0,Vn.Z)(le))return;var as=ar.offset,ys=ar.targetOffset,sl=eo(Sr,as),Xi=(0,Ce.Z)(sl,2),Ki=Xi[0],xr=Xi[1],Ro=eo(ka,ys),oi=(0,Ce.Z)(Ro,2),$i=oi[0],Vo=oi[1];ka.x-=$i,ka.y-=Vo;var qi=ar.points||[],Ri=(0,Ce.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+Ki,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"]),jl=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>jo.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<jo.top||bt.current.tb)){var Al=so;_s?Al+=io-Fo:Al=jl.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>jo.right||bt.current.rl)){var Ns=Co;Ed?Ns-=vo-ui:Ns=rs.x-wl.x-Ki;var wd=Xl(Ns,so),ec=Xl(Ns,so,_a);wd>yl||wd===yl&&(!bo||ec>=Do)?(bt.current.rl=!0,Co=Ns,Ki=-Ki,Hl.points=[br(_i,1),br(Hi,1)]):bt.current.rl=!1}if(Zd&&_i[1]==="r"&&(Is<jo.left||bt.current.lr)){var Ts=Co;Ed?Ts+=vo-ui:Ts=jl.x-Gl.x-Ki;var hi=Xl(Ts,so),hr=Xl(Ts,so,_a);hi>yl||hi===yl&&(!bo||hr>=Do)?(bt.current.lr=!0,Co=Ts,Ki=-Ki,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-Ki,ka.x+ui<_a.left+nl&&(Co+=ka.x-_a.left+ui-nl)),As>_a.right&&(Co-=As-_a.right-Ki,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;Le==null||Le(ie,Hl);var Fc=Ji.right-Sr.x-(Co+Sr.width),nc=Ji.bottom-Sr.y-(so+Sr.height);Yt({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 gn=mt.current;Promise.resolve().then(function(){mt.current===gn&&rt()})},en=function(){Yt(function(gn){return(0,Mt.Z)((0,Mt.Z)({},gn),{},{ready:!1})})};return(0,Zn.Z)(en,[ge]),(0,Zn.Z)(function(){te||en()},[te]),[dt.ready,dt.offsetX,dt.offsetY,dt.offsetR,dt.offsetB,dt.arrowX,dt.arrowY,dt.scaleX,dt.scaleY,dt.align,xt]}function li(te,ie,le,ge,ve){(0,Zn.Z)(function(){if(te&&ie&&le){let mt=function(){ge(),ve()};var Ne=ie,Le=le,Ye=ha(Ne),Xe=ha(Le),dt=Ya(Le),Yt=new Set([dt].concat((0,aa.Z)(Ye),(0,aa.Z)(Xe)));return Yt.forEach(function(St){St.addEventListener("scroll",mt,{passive:!0})}),dt.addEventListener("resize",mt,{passive:!0}),ge(),function(){Yt.forEach(function(St){St.removeEventListener("scroll",mt),dt.removeEventListener("resize",mt)})}}},[te,ie,le])}var Ko=ee(60276);function si(te,ie,le,ge,ve,Ne,Le,Ye){var Xe=ne.useRef(te),dt=ne.useRef(!1);Xe.current!==te&&(dt.current=!0,Xe.current=te),ne.useEffect(function(){var Yt=(0,bn.Z)(function(){dt.current=!1});return function(){bn.Z.cancel(Yt)}},[te]),ne.useEffect(function(){if(ie&&ge&&(!ve||Ne)){var Yt=function(){var La=!1,ga=function(Vr){var ar=Vr.target;La=Le(ar)},nr=function(Vr){var ar=Vr.target;!dt.current&&Xe.current&&!La&&!Le(ar)&&Ye(!1)};return[ga,nr]},mt=Yt(),St=(0,Ce.Z)(mt,2),bt=St[0],At=St[1],rt=Yt(),xt=(0,Ce.Z)(rt,2),en=xt[0],Bn=xt[1],gn=Ya(ge);gn.addEventListener("mousedown",bt,!0),gn.addEventListener("click",At,!0),gn.addEventListener("contextmenu",At,!0);var sn=od(le);if(sn&&(sn.addEventListener("mousedown",en,!0),sn.addEventListener("click",Bn,!0),sn.addEventListener("contextmenu",Bn,!0)),0)var qn,rn,cn,wa;return function(){gn.removeEventListener("mousedown",bt,!0),gn.removeEventListener("click",At,!0),gn.removeEventListener("contextmenu",At,!0),sn&&(sn.removeEventListener("mousedown",en,!0),sn.removeEventListener("click",Bn,!0),sn.removeEventListener("contextmenu",Bn,!0))}}},[ie,le,ge,ve,Ne])}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(Ne){Po(Ne,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(Ne,Le){return Ne===ve[Le]})})}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 Ne=le[ve];if(Object.prototype.hasOwnProperty.call(ie,Ne)&&Ne in ko)return ul[te]=ie[Ne],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,Ce.Z)(le,2),ve=ge[0],Ne=ge[1];ne.useEffect(function(){return ie.current=!1,function(){ie.current=!0}},[]);function Le(Ye,Xe){Xe&&ie.current||Ne(Ye)}return[ve,Le]}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(Ne){if(Ne===0)_l(ge),ie();else{var Le=Ti(function(){ve(Ne-1)});xs.set(ge,Le)}}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 Ne=fd(function(){ve<=1?ge({isCanceled:function(){return Ne!==te.current}}):le(ge,ve-1)});te.current=Ne}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,Ce.Z)(le,2),ve=ge[0],Ne=ge[1],Le=fs(),Ye=(0,Ce.Z)(Le,2),Xe=Ye[0],dt=Ye[1];function Yt(){Ne(Fi,!0)}return es(function(){if(ve!==ll&&ve!==$o){var mt=ms.indexOf(ve),St=ms[mt+1],bt=ie(ve);bt===md?Ne(St,!0):Xe(function(At){function rt(){At.isCanceled()||Ne(St,!0)}bt===!0?rt():Promise.resolve(bt).then(rt)})}},[te,ve]),ne.useEffect(function(){return function(){dt()}},[]),[Yt,ve]},vd=function(te){var ie=(0,ne.useRef)(),le=(0,ne.useRef)(te);le.current=te;var ge=ne.useCallback(function(Le){le.current(Le)},[]);function ve(Le){Le&&(Le.removeEventListener(Ni,ge),Le.removeEventListener(Nl,ge))}function Ne(Le){ie.current&&ie.current!==Le&&ve(ie.current),Le&&Le!==ie.current&&(Le.addEventListener(Ni,ge),Le.addEventListener(Nl,ge),ie.current=Le)}return ne.useEffect(function(){return function(){ve(ie.current)}},[]),[Ne,ve]};function Ql(te,ie,le,ge){var ve=ge.motionEnter,Ne=ve===void 0?!0:ve,Le=ge.motionAppear,Ye=Le===void 0?!0:Le,Xe=ge.motionLeave,dt=Xe===void 0?!0:Xe,Yt=ge.motionDeadline,mt=ge.motionLeaveImmediately,St=ge.onAppearPrepare,bt=ge.onEnterPrepare,At=ge.onLeavePrepare,rt=ge.onAppearStart,xt=ge.onEnterStart,en=ge.onLeaveStart,Bn=ge.onAppearActive,gn=ge.onEnterActive,sn=ge.onLeaveActive,qn=ge.onAppearEnd,rn=ge.onEnterEnd,cn=ge.onLeaveEnd,wa=ge.onVisibleChanged,na=Mr(),La=(0,Ce.Z)(na,2),ga=La[0],nr=La[1],wr=Mr(di),Vr=(0,Ce.Z)(wr,2),ar=Vr[0],lr=Vr[1],ka=Mr(null),Yr=(0,Ce.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,jo;ar===gl&&ao?jo=qn==null?void 0:qn(_a,Qr):ar===Yl&&ao?jo=rn==null?void 0:rn(_a,Qr):ar===us&&ao&&(jo=cn==null?void 0:cn(_a,Qr)),ar!==di&&ao&&jo!==!1&&(lr(di,!0),Lr(null,!0))}}var ci=vd(No),io=(0,Ce.Z)(ci,1),vo=io[0],Fo=ne.useMemo(function(){var Qr,_a,ao;switch(ar){case gl:return Qr={},(0,lt.Z)(Qr,Fi,St),(0,lt.Z)(Qr,El,rt),(0,lt.Z)(Qr,Yi,Bn),Qr;case Yl:return _a={},(0,lt.Z)(_a,Fi,bt),(0,lt.Z)(_a,El,xt),(0,lt.Z)(_a,Yi,gn),_a;case us:return ao={},(0,lt.Z)(ao,Fi,At),(0,lt.Z)(ao,El,en),(0,lt.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()),Yt>0&&(clearTimeout(To.current),To.current=setTimeout(function(){No({deadline:!0})},Yt))),Ss}),mi=(0,Ce.Z)(ui,2),ji=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&&Ye&&(_a=gl),Qr&&ie&&Ne&&(_a=Yl),(Qr&&!ie&&dt||!Qr&&mt&&!ie&&dt)&&(_a=us),_a&&(lr(_a),ji())}},[ie]),(0,ne.useEffect)(function(){(ar===gl&&!Ye||ar===Yl&&!Ne||ar===us&&!dt)&&lr(di)},[Ye,Ne,dt]),(0,ne.useEffect)(function(){return function(){Mo.current=!1,clearTimeout(To.current)}},[]);var Zo=ne.useRef(!1);(0,ne.useEffect)(function(){ga&&(Zo.current=!0),ga!==void 0&&ar===di&&((Zo.current||ga)&&(wa==null||wa(ga)),Zo.current=!0)},[ga,ar]);var bo=Sr;return Fo[Fi]&&vi===El&&(bo=(0,Mt.Z)({transition:"none"},bo)),[ar,vi,bo,ga!=null?ga:ie]}var Us=function(te){(0,Bt.Z)(le,te);var ie=(0,Kn.Z)(le);function le(){return(0,hn.Z)(this,le),ie.apply(this,arguments)}return(0,We.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,Ne){var Le=ve.visible,Ye=Le===void 0?!0:Le,Xe=ve.removeOnLeave,dt=Xe===void 0?!0:Xe,Yt=ve.forceRender,mt=ve.children,St=ve.motionName,bt=ve.leavedClassName,At=ve.eventProps,rt=le(ve),xt=(0,ne.useRef)(),en=(0,ne.useRef)();function Bn(){try{return xt.current instanceof HTMLElement?xt.current:Ui(en.current)}catch(ka){return null}}var gn=Ql(rt,Ye,Bn,ve),sn=(0,Ce.Z)(gn,4),qn=sn[0],rn=sn[1],cn=sn[2],wa=sn[3],na=ne.useRef(wa);wa&&(na.current=!0);var La=ne.useCallback(function(ka){xt.current=ka,Po(Ne,ka)},[Ne]),ga,nr=(0,Mt.Z)((0,Mt.Z)({},At),{},{visible:Ye});if(!mt)ga=null;else if(qn===di||!le(ve))wa?ga=mt((0,Mt.Z)({},nr),La):!dt&&na.current&&bt?ga=mt((0,Mt.Z)((0,Mt.Z)({},nr),{},{className:bt}),La):Yt||!dt&&!bt?ga=mt((0,Mt.Z)((0,Mt.Z)({},nr),{},{style:{display:"none"}}),La):ga=null;else{var wr,Vr;rn===Fi?Vr="prepare":Fd(rn)?Vr="active":rn===El&&(Vr="start"),ga=mt((0,Mt.Z)((0,Mt.Z)({},nr),{},{className:nn()(Ho(St,qn),(wr={},(0,lt.Z)(wr,Ho(St,"".concat(qn,"-").concat(Vr)),Vr),(0,lt.Z)(wr,St,typeof St=="string"),wr)),style:cn}),La)}if(ne.isValidElement(ga)&&qo(ga)){var ar=ga,lr=ar.ref;lr||(ga=ne.cloneElement(ga,{ref:La}))}return ne.createElement(qd,{ref:en},ga)});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,Ne=ts(te),Le=ts(ie);Ne.forEach(function(dt){for(var Yt=!1,mt=ge;mt<ve;mt+=1){var St=Le[mt];if(St.key===dt.key){ge<mt&&(le=le.concat(Le.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,Yt=!0;break}}Yt||le.push((0,Mt.Z)((0,Mt.Z)({},dt),{},{status:Es}))}),ge<ve&&(le=le.concat(Le.slice(ge).map(function(dt){return(0,Mt.Z)((0,Mt.Z)({},dt),{},{status:hd})})));var Ye={};le.forEach(function(dt){var Yt=dt.key;Ye[Yt]=(Ye[Yt]||0)+1});var Xe=Object.keys(Ye).filter(function(dt){return Ye[dt]>1});return Xe.forEach(function(dt){le=le.filter(function(Yt){var mt=Yt.key,St=Yt.status;return mt!==dt||St!==Es}),le.forEach(function(Yt){Yt.key===dt&&(Yt.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)(Ne,ge);var ve=(0,Kn.Z)(Ne);function Ne(){var Le;(0,hn.Z)(this,Ne);for(var Ye=arguments.length,Xe=new Array(Ye),dt=0;dt<Ye;dt++)Xe[dt]=arguments[dt];return Le=ve.call.apply(ve,[this].concat(Xe)),(0,lt.Z)((0,Ct.Z)(Le),"state",{keyEntities:[]}),(0,lt.Z)((0,Ct.Z)(Le),"removeKey",function(Yt){var mt=Le.state.keyEntities,St=mt.map(function(bt){return bt.key!==Yt?bt:(0,Mt.Z)((0,Mt.Z)({},bt),{},{status:Zi})});return Le.setState({keyEntities:St}),St.filter(function(bt){var At=bt.status;return At!==Zi}).length}),Le}return(0,We.Z)(Ne,[{key:"render",value:function(){var Ye=this,Xe=this.state.keyEntities,dt=this.props,Yt=dt.component,mt=dt.children,St=dt.onVisibleChanged,bt=dt.onAllRemoved,At=(0,ro.Z)(dt,pd),rt=Yt||ne.Fragment,xt={};return Sd.forEach(function(en){xt[en]=At[en],delete At[en]}),delete At.keys,ne.createElement(rt,At,Xe.map(function(en){var Bn=en.status,gn=(0,ro.Z)(en,Rd),sn=Bn===hd||Bn===Vs;return ne.createElement(ie,(0,ae.Z)({},xt,{key:gn.key,visible:sn,eventProps:gn,onVisibleChanged:function(rn){if(St==null||St(rn,{key:gn.key}),!rn){var cn=Ye.removeKey(gn.key);cn===0&&bt&&bt()}}}),mt)}))}}],[{key:"getDerivedStateFromProps",value:function(Ye,Xe){var dt=Ye.keys,Yt=Xe.keyEntities,mt=ts(dt),St=ws(Yt,mt);return{keyEntities:St.filter(function(bt){var At=Yt.find(function(rt){var xt=rt.key;return bt.key===xt});return!(At&&At.status===Zi&&bt.status===Es)})}}}]),Ne}(ne.Component);return(0,lt.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,Ne=ge||{},Le=Ne.className,Ye=Ne.content,Xe=ve.x,dt=Xe===void 0?0:Xe,Yt=ve.y,mt=Yt===void 0?0:Yt,St=ne.useRef();if(!le||!le.points)return null;var bt={position:"absolute"};if(le.autoArrow!==!1){var At=le.points[0],rt=le.points[1],xt=At[0],en=At[1],Bn=rt[0],gn=rt[1];xt===Bn||!["t","b"].includes(xt)?bt.top=mt:xt==="t"?bt.top=0:bt.bottom=0,en===gn||!["l","r"].includes(en)?bt.left=dt:en==="l"?bt.left=0:bt.right=0}return ne.createElement("div",{ref:St,className:nn()("".concat(ie,"-arrow"),Le),style:bt},Ye)}function yd(te){var ie=te.prefixCls,le=te.open,ge=te.zIndex,ve=te.mask,Ne=te.motion;return ve?ne.createElement(kd,(0,ae.Z)({},Ne,{motionAppear:!0,visible:le,removeOnLeave:!0}),function(Le){var Ye=Le.className;return ne.createElement("div",{style:{zIndex:ge},className:nn()("".concat(ie,"-mask"),Ye)})}):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,Ne=te.style,Le=te.target,Ye=te.onVisibleChanged,Xe=te.open,dt=te.keepDom,Yt=te.fresh,mt=te.onClick,St=te.mask,bt=te.arrow,At=te.arrowPos,rt=te.align,xt=te.motion,en=te.maskMotion,Bn=te.forceRender,gn=te.getPopupContainer,sn=te.autoDestroy,qn=te.portal,rn=te.zIndex,cn=te.onMouseEnter,wa=te.onMouseLeave,na=te.onPointerEnter,La=te.ready,ga=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=Xe||dt,To=(gn==null?void 0:gn.length)>0,Uo=ne.useState(!gn||!To),Pi=(0,Ce.Z)(Uo,2),No=Pi[0],ci=Pi[1];if((0,Zn.Z)(function(){!No&&To&&Le&&ci(!0)},[No,To,Le]),!No)return null;var io="auto",vo={left:"-1000vw",top:"-1000vh",right:io,bottom:io};if(La||!Xe){var Fo,ui=rt.points,mi=rt.dynamicInset||((Fo=rt._experimental)===null||Fo===void 0?void 0:Fo.dynamicInset),ji=mi&&ui[0][1]==="r",vi=mi&&ui[0][0]==="b";ji?(vo.right=wr,vo.left=io):(vo.left=ga,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)),Xe||(Cr.pointerEvents="none"),ne.createElement(qn,{open:Bn||Mo,getContainer:gn&&function(){return gn(Le)},autoDestroy:sn},ne.createElement(yd,{prefixCls:ve,open:Xe,zIndex:rn,mask:St,motion:en}),ne.createElement(dc.Z,{onResize:ar,disabled:!Xe},function(Zo){return ne.createElement(kd,(0,ae.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Bn,leavedClassName:"".concat(ve,"-hidden")},xt,{onAppearPrepare:lr,onEnterPrepare:lr,visible:Xe,onVisibleChanged:function(Qr){var _a;xt==null||(_a=xt.onVisibleChanged)===null||_a===void 0||_a.call(xt,Qr),Ye(Qr)}}),function(bo,Qr){var _a=bo.className,ao=bo.style,jo=nn()(ve,_a,ge);return ne.createElement("div",{ref:(0,ks.sQ)(Zo,ie,Qr),className:jo,style:(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({"--arrow-x":"".concat(At.x||0,"px"),"--arrow-y":"".concat(At.y||0,"px")},vo),Cr),ao),{},{boxSizing:"border-box",zIndex:rn},Ne),onMouseEnter:cn,onMouseLeave:wa,onPointerEnter:na,onClick:mt},bt&&ne.createElement(Od,{prefixCls:ve,arrow:bt,arrowPos:At,align:rt}),ne.createElement(Ls,{cache:!Xe&&!Yt},Lr))})}))}),Qs=Ys,Js=ne.forwardRef(function(te,ie){var le=te.children,ge=te.getTriggerDOMNode,ve=(0,ks.Yr)(le),Ne=ne.useCallback(function(Ye){(0,ks.mH)(ie,ge?ge(Ye):Ye)},[ge]),Le=(0,ks.x1)(Ne,le.ref);return ve?ne.cloneElement(le,{ref:Le}):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,Ne=ve===void 0?"rc-trigger-popup":ve,Le=le.children,Ye=le.action,Xe=Ye===void 0?"hover":Ye,dt=le.showAction,Yt=le.hideAction,mt=le.popupVisible,St=le.defaultPopupVisible,bt=le.onPopupVisibleChange,At=le.afterPopupVisibleChange,rt=le.mouseEnterDelay,xt=le.mouseLeaveDelay,en=xt===void 0?.1:xt,Bn=le.focusDelay,gn=le.blurDelay,sn=le.mask,qn=le.maskClosable,rn=qn===void 0?!0:qn,cn=le.getPopupContainer,wa=le.forceRender,na=le.autoDestroy,La=le.destroyPopupOnHide,ga=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,ji=le.className,vi=le.getTriggerDOMNode,Cr=(0,ro.Z)(le,Td),Zo=na||La||!1,bo=ne.useState(!1),Qr=(0,Ce.Z)(bo,2),_a=Qr[0],ao=Qr[1];(0,Zn.Z)(function(){ao(Re())},[]);var jo=ne.useRef({}),Ji=ne.useContext(It),fl=ne.useMemo(function(){return{registerSubPopup:function(xo,rl){jo.current[xo]=rl,Ji==null||Ji.registerSubPopup(xo,rl)}}},[Ji]),zi=Fe(),as=ne.useState(null),ys=(0,Ce.Z)(as,2),sl=ys[0],Xi=ys[1],Ki=(0,Fs.Z)(function(mr){Md(mr)&&sl!==mr&&Xi(mr),Ji==null||Ji.registerSubPopup(zi,mr)}),xr=ne.useState(null),Ro=(0,Ce.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(Le),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(jo.current).some(function(ol){return(ol==null?void 0:ol.contains(mr))||mr===ol})}),Hi=fa(Ne,ci,Fo,vo),_i=fa(Ne,io,mi,ui),Wi=ne.useState(St||!1),vl=(0,Ce.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(),jl=function(){clearTimeout(Gl.current)},wl=function(xo){var rl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;jl(),rl===0?rs(xo):Gl.current=setTimeout(function(){rs(xo)},rl*1e3)};ne.useEffect(function(){return jl},[]);var os=ne.useState(!1),qs=(0,Ce.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,Ce.Z)(Ta,2),ii=oo[0],Ll=oo[1],Is=ne.useState([0,0]),As=(0,Ce.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,Ce.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=pn(_a,Xe,dt,Yt),al=(0,Ce.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,Ne,hi,To);return nn()(mr,Lr==null?void 0:Lr(hi))},[hi,Lr,lr,Ne,To]);ne.useImperativeHandle(ge,function(){return{forceAlign:Cs}});var uc=ne.useState(0),Ad=(0,Ce.Z)(uc,2),Bc=Ad[0],gc=Ad[1],Mc=ne.useState(0),Hd=(0,Ce.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(),At==null||At(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 Kd;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];(Kd=Ri[mr])===null||Kd===void 0||Kd.call.apply(Kd,[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,rt,function(mr){Ei(mr)}),Zs("onPointerEnter",!0,rt,function(mr){Ei(mr)}),ed=function(){(so||bs)&&wl(!0,rt)},To&&(dl.onMouseMove=function(mr){var xo;(xo=Ri.onMouseMove)===null||xo===void 0||xo.call(Ri,mr)})),Nd&&(Zs("onMouseLeave",!1,en),Zs("onPointerLeave",!1,en),rc=function(){wl(!1,en)}),ld.has("focus")&&Zs("onFocus",!0,Bn),sd.has("focus")&&Zs("onBlur",!1,gn),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))}),ji&&(dl.className=nn()(Ri.className,ji));var jd=(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=jd[mr])===null||xo===void 0||xo.call.apply(xo,[jd].concat(cl)),Cr[mr].apply(Cr,cl)})});var dd=ne.cloneElement(qi,(0,Mt.Z)((0,Mt.Z)({},jd),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(It.Provider,{value:fl},ne.createElement(Qs,{portal:te,ref:Ki,prefixCls:Ne,popup:ga,className:nn()(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:cn,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,Ne=te.visible,Le=te.dropdownClassName,Ye=te.dropdownAlign,Xe=te.transitionName,dt=te.getPopupContainer,Yt=te.children,mt=te.range,St=te.popupPlacement,bt=te.direction,At="".concat(le,"-dropdown"),rt=function(){return St!==void 0?St:bt==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(ns,{showAction:[],hideAction:[],popupPlacement:rt(),builtinPlacements:Jl,prefixCls:At,popupTransitionName:Xe,popup:ge,popupAlign:Ye,popupVisible:Ne,popupClassName:nn()(Le,(ie={},(0,lt.Z)(ie,"".concat(At,"-range"),mt),(0,lt.Z)(ie,"".concat(At,"-rtl"),bt==="rtl"),ie)),popupStyle:ve,getPopupContainer:dt},Yt)}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(Ne,Le){var Ye=Ne.label,Xe=Ne.value;return ne.createElement("li",{key:Le,onClick:function(){return ge==null?void 0:ge(ho(Xe))},onMouseEnter:function(){return ve==null?void 0:ve(ho(Xe))},onMouseLeave:function(){return ve==null?void 0:ve(null)}},Ye)}))):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 ye(te,ie,le){var ge=(0,Kt.Z)(ie)==="object"?ie.clearIcon:le;return ge||ne.createElement("span",{className:"".concat(te,"-clear-btn")})}function De(te){var ie,le=te,ge=le.prefixCls,ve=ge===void 0?"rc-picker":ge,Ne=le.id,Le=le.name,Ye=le.tabIndex,Xe=le.style,dt=le.className,Yt=le.dropdownClassName,mt=le.dropdownAlign,St=le.popupStyle,bt=le.transitionName,At=le.generateConfig,rt=le.locale,xt=le.inputReadOnly,en=le.allowClear,Bn=le.autoFocus,gn=le.showTime,sn=le.picker,qn=sn===void 0?"date":sn,rn=le.format,cn=le.use12Hours,wa=le.value,na=le.defaultValue,La=le.presets,ga=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,ji=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),jo=qn==="date"&&!!gn||qn==="time",Ji=Ar(La),fl=ca(Pr(rn,qn,gn,cn)),zi=ne.useRef(null),as=ne.useRef(null),ys=ne.useRef(null),sl=(0,Pn.Z)(null,{value:wa,defaultValue:na}),Xi=(0,Ce.Z)(sl,2),Ki=Xi[0],xr=Xi[1],Ro=ne.useState(Ki),oi=(0,Ce.Z)(Ro,2),$i=oi[0],Vo=oi[1],qi=ne.useRef(null),Ri=(0,Pn.Z)(!1,{value:ga,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,Ce.Z)(Ri,2),ml=dl[0],Hi=dl[1],_i=Ft($i,{formatList:fl,generateConfig:At,locale:rt}),Wi=(0,Ce.Z)(_i,2),vl=Wi[0],Hl=Wi[1],Co=tt({valueTexts:vl,onTextChange:function(hr){var nl=Ue(hr,{locale:rt,formatList:fl,generateConfig:At});nl&&(!ka||!ka(nl))&&Vo(nl)}}),so=(0,Ce.Z)(Co,3),yl=so[0],Do=so[1],rs=so[2],Gl=function(hr){Vo(hr),xr(hr),To&&!_e(At,Ki,hr)&&To(hr,hr?dn(hr,{generateConfig:At,locale:rt,format:fl[0]}):"")},jl=function(hr){lr&&hr||Hi(hr)},wl=function(hr){return ml&&qi.current&&qi.current.onKeyDown?qi.current.onKeyDown(hr):((0,Oe.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(),jl(!0))},qs=function(hr){_a&&Gl($i),No==null||No(hr)},bs=Oa({blurToCancel:jo,open:ml,value:yl,triggerOpen:jl,forwardKeyDown:wl,isClickOutside:function(hr){return!Nn([zi.current,as.current,ys.current],hr)},onSubmit:function(){return!$i||ka&&ka($i)?!1:(Gl($i),jl(!1),rs(),!0)},onCancel:function(){jl(!1),Vo(Ki),rs()},onKeyDown:function(hr,nl){ji==null||ji(hr,nl)},onFocus:Pi,onBlur:qs,changeOnBlur:_a}),Zr=(0,Ce.Z)(bs,2),Ta=Zr[0],oo=Zr[1],ii=oo.focused,Ll=oo.typing;ne.useEffect(function(){ml||(Vo(Ki),!vl.length||vl[0]===""?Do(""):Hl!==yl&&rs())},[ml,vl]),ne.useEffect(function(){ml||rs()},[qn]),ne.useEffect(function(){Vo(Ki)},[Ki]),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=Wt(yl,{formatList:fl,generateConfig:At,locale:rt}),As=(0,Ce.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),jl(!1)}}),ne.createElement(Hr,(0,ae.Z)({},Jr,{generateConfig:At,className:nn()((0,lt.Z)({},"".concat(ve,"-panel-focused"),!Ll)),value:$i,locale:rt,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=ye(ve,en,ar),Zd=ne.createElement("span",{onMouseDown:function(hr){hr.preventDefault(),hr.stopPropagation()},onMouseUp:function(hr){hr.preventDefault(),hr.stopPropagation(),Gl(null),jl(!1)},className:"".concat(ve,"-clear"),role:"button"},_d),Ed=!!en&&Ki&&!lr,Ns=(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({id:Ne,tabIndex:Ye,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],At),name:Le},(0,Hn.Z)(te,{aria:!0,data:!0})),{},{autoComplete:bo}),wd=Qr?Qr(Ns):ne.createElement("input",Ns),ec=function(hr,nl){(nl==="submit"||nl!=="key"&&!jo)&&(Gl(hr),jl(!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:Yt,dropdownAlign:mt,getPopupContainer:Sr,transitionName:bt,popupPlacement:Ts,direction:Cr},ne.createElement("div",{ref:ys,className:nn()(ve,dt,(ie={},(0,lt.Z)(ie,"".concat(ve,"-disabled"),lr),(0,lt.Z)(ie,"".concat(ve,"-focused"),ii),(0,lt.Z)(ie,"".concat(ve,"-rtl"),Cr==="rtl"),ie)),style:Xe,onMouseDown:ci,onMouseUp:io,onMouseEnter:vo,onMouseLeave:Fo,onContextMenu:ui,onClick:os},ne.createElement("div",{className:nn()("".concat(ve,"-input"),(0,lt.Z)({},"".concat(ve,"-input-placeholder"),!!id)),ref:as},wd,xd,Ed&&Zd))))}var ke=function(te){(0,Bt.Z)(le,te);var ie=(0,Kn.Z)(le);function le(){var ge;(0,hn.Z)(this,le);for(var ve=arguments.length,Ne=new Array(ve),Le=0;Le<ve;Le++)Ne[Le]=arguments[Le];return ge=ie.call.apply(ie,[this].concat(Ne)),(0,lt.Z)((0,Ct.Z)(ge),"pickerRef",ne.createRef()),(0,lt.Z)((0,Ct.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,lt.Z)((0,Ct.Z)(ge),"blur",function(){ge.pickerRef.current&&ge.pickerRef.current.blur()}),ge}return(0,We.Z)(le,[{key:"render",value:function(){return ne.createElement(De,(0,ae.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Je=ke;function at(te,ie){var le=te.picker,ge=te.locale,ve=te.selectedValue,Ne=te.disabledDate,Le=te.disabled,Ye=te.generateConfig,Xe=Wn(ve,0),dt=Wn(ve,1);function Yt(rt){return Ye.locale.getWeekFirstDate(ge.locale,rt)}function mt(rt){var xt=Ye.getYear(rt),en=Ye.getMonth(rt);return xt*100+en}function St(rt){var xt=Ye.getYear(rt),en=Rt(Ye,rt);return xt*10+en}var bt=ne.useCallback(function(rt){if(Le[0]||Ne&&Ne(rt))return!0;if(Le[1]&&dt)return!kn(Ye,rt,dt)&&Ye.isAfter(rt,dt);if(!ie&&dt)switch(le){case"quarter":return St(rt)>St(dt);case"month":return mt(rt)>mt(dt);case"week":return Yt(rt)>Yt(dt);default:return!kn(Ye,rt,dt)&&Ye.isAfter(rt,dt)}return!1},[Ne,Le[1],dt,ie]),At=ne.useCallback(function(rt){if(Le[1]||Ne&&Ne(rt))return!0;if(Le[0]&&Xe)return!kn(Ye,rt,dt)&&Ye.isAfter(Xe,rt);if(!ie&&Xe)switch(le){case"quarter":return St(rt)<St(Xe);case"month":return mt(rt)<mt(Xe);case"week":return Yt(rt)<Yt(Xe);default:return!kn(Ye,rt,Xe)&&Ye.isAfter(Xe,rt)}return!1},[Ne,Le[0],Xe,ie]);return[bt,At]}function nt(te,ie,le,ge,ve,Ne,Le,Ye,Xe,dt){var Yt=ne.useState(!1),mt=(0,Ce.Z)(Yt,2),St=mt[0],bt=mt[1],At=(0,Ko.useMergedState)(te||!1,{value:ie}),rt=(0,Ce.Z)(At,2),xt=rt[0],en=rt[1],Bn=(0,Ko.useMergedState)(te||!1,{value:ie,onChange:function(ka){dt==null||dt(ka)}}),gn=(0,Ce.Z)(Bn,2),sn=gn[0],qn=gn[1],rn=(0,Ko.useMergedState)(0,{value:le}),cn=(0,Ce.Z)(rn,2),wa=cn[0],na=cn[1],La=ne.useState(null),ga=(0,Ce.Z)(La,2),nr=ga[0],wr=ga[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){na(ka),qn(lr);var Sr=Vr(ka);!sn||![Le,Ye][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),na(Lr)),wr(null),Lr!==null&&!Xe[Lr]?(0,bn.Z)(function(){var Mo,To=[ve,Ne][Lr];(Mo=To.current)===null||Mo===void 0||Mo.focus()}):qn(!1)}else qn(!1),en(!1)});return[sn,wa,St,ar]}function yt(te,ie,le,ge){var ve=ct(te,le,ge,1);function Ne(Le){return Le(te,ie)?"same":Le(ve,ie)?"closing":"far"}switch(le){case"year":return Ne(function(Le,Ye){return Ht(ge,Le,Ye)});case"quarter":case"month":return Ne(function(Le,Ye){return an(ge,Le,Ye)});default:return Ne(function(Le,Ye){return An(ge,Le,Ye)})}}function zt(te,ie,le,ge){var ve=Wn(te,0),Ne=Wn(te,1);if(ie===0)return ve;if(ve&&Ne){var Le=yt(ve,Ne,le,ge);switch(Le){case"same":return ve;case"closing":return ve;default:return ct(Ne,le,ge,-1)}}return ve}function wt(te){var ie=te.values,le=te.picker,ge=te.defaultDates,ve=te.generateConfig,Ne=ne.useState(function(){return[Wn(ge,0),Wn(ge,1)]}),Le=(0,Ce.Z)(Ne,2),Ye=Le[0],Xe=Le[1],dt=ne.useState(null),Yt=(0,Ce.Z)(dt,2),mt=Yt[0],St=Yt[1],bt=Wn(ie,0),At=Wn(ie,1);function rt(en){return Ye[en]?Ye[en]:Wn(mt,en)||zt(ie,en,le,ve)||bt||At||ve.getNow()}function xt(en,Bn){if(en){var gn=Ma(mt,en,Bn);Xe(Ma(Ye,null,Bn)||[null,null]);var sn=(Bn+1)%2;Wn(ie,sn)||(gn=Ma(gn,en,sn)),St(gn)}else(bt||At)&&St(null)}return[rt,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 vn(te){var ie,le,ge,ve=te,Ne=ve.prefixCls,Le=Ne===void 0?"rc-picker":Ne,Ye=ve.id,Xe=ve.style,dt=ve.className,Yt=ve.popupStyle,mt=ve.dropdownClassName,St=ve.transitionName,bt=ve.dropdownAlign,At=ve.getPopupContainer,rt=ve.generateConfig,xt=ve.locale,en=ve.placeholder,Bn=ve.autoFocus,gn=ve.disabled,sn=ve.format,qn=ve.picker,rn=qn===void 0?"date":qn,cn=ve.showTime,wa=ve.use12Hours,na=ve.separator,La=na===void 0?"~":na,ga=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,ji=ve.onChange,vi=ve.onOpenChange,Cr=ve.onPanelChange,Zo=ve.onCalendarChange,bo=ve.onFocus,Qr=ve.onBlur,_a=ve.onMouseDown,ao=ve.onMouseUp,jo=ve.onMouseEnter,Ji=ve.onMouseLeave,fl=ve.onClick,zi=ve.onOk,as=ve.onKeyDown,ys=ve.components,sl=ve.order,Xi=ve.direction,Ki=ve.activePickerIndex,xr=ve.autoComplete,Ro=xr===void 0?"off":xr,oi=ve.changeOnBlur,$i=rn==="date"&&!!cn||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=ca(Pr(sn,rn,cn,wa)),Hl=(0,ne.useRef)(null),Co=ne.useMemo(function(){return Array.isArray(gn)?gn:[gn||!1,gn||!1]},[gn]),so=(0,Pn.Z)(null,{value:ga,defaultValue:nr,postState:function(ur){return rn==="time"&&!sl?ur:on(ur,rt)}}),yl=(0,Ce.Z)(so,2),Do=yl[0],rs=yl[1],Gl=wt({values:Do,picker:rn,defaultDates:wr,generateConfig:rt}),jl=(0,Ce.Z)(Gl,2),wl=jl[0],os=jl[1],qs=(0,Pn.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&&!Wn($r,_o)&&!Wn(Pi,_o)&&($r=Ma($r,rt.getNow(),_o));return $r}}),bs=(0,Ce.Z)(qs,2),Zr=bs[0],Ta=bs[1],oo=(0,Pn.Z)([rn,rn],{value:ui}),ii=(0,Ce.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=nt(ar,Vr,Ki,oi,Hi,_i,Wn(Zr,0),Wn(Zr,1),Co,vi),_s=(0,Ce.Z)(id,4),Ei=_s[0],Jr=_s[1],Ml=_s[2],Al=_s[3],xd=Ei&&Jr===0,_d=Ei&&Jr===1,Zd=at({picker:rn,selectedValue:Zr,locale:xt,disabled:Co,disabledDate:lr,generateConfig:rt},!Ei||Ml),Ed=(0,Ce.Z)(Zd,2),Ns=Ed[0],wd=Ed[1],ec=(0,ne.useState)(0),Ts=(0,Ce.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=Wn($r,0),el=Wn($r,1);_o&&el&&rt.isAfter(_o,el)&&(rn==="week"&&!Ie(rt,xt.locale,_o,el)||rn==="quarter"&&!Jt(rt,_o,el)||rn!=="week"&&rn!=="quarter"&&rn!=="time"&&!kn(rt,_o,el)?ur===0?($r=[_o,null],el=null):(_o=null,$r=[null,el]):(rn!=="time"||sl!==!1)&&($r=on($r,rt))),Ta($r);var Sc=$r&&$r[0]?dn($r[0],{generateConfig:rt,locale:xt,format:vl[0]}):"",td=$r&&$r[1]?dn($r[1],{generateConfig:rt,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),ji&&(!_e(rt,Wn(Do,0),_o)||!_e(rt,Wn(Do,1),el))&&ji($r,[Sc,td]))}var ld=function(ur){return Ei&&Hl.current&&Hl.current.onKeyDown?Hl.current.onKeyDown(ur):((0,Oe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},sd={formatList:vl,generateConfig:rt,locale:xt},zd=Ft(Wn(Zr,0),sd),Ld=(0,Ce.Z)(zd,2),Cs=Ld[0],Dc=Ld[1],cc=Ft(Wn(Zr,1),sd),uc=(0,Ce.Z)(cc,2),Ad=uc[0],Bc=uc[1],gc=function(ur,$r){var _o=Ue(ur,{locale:xt,formatList:vl,generateConfig:rt}),el=$r===0?Ns:wd;_o&&!el(_o)&&(Ta(Ma(Zr,_o,$r)),os(_o,$r))},Mc=tt({valueTexts:Cs,onTextChange:function(ur){return gc(ur,0)}}),Hd=(0,Ce.Z)(Mc,3),Gd=Hd[0],fc=Hd[1],tc=Hd[2],Fc=tt({valueTexts:Ad,onTextChange:function(ur){return gc(ur,1)}}),nc=(0,Ce.Z)(Fc,3),Xl=nc[0],Zs=nc[1],ac=nc[2],Nd=(0,ne.useState)(null),ed=(0,Ce.Z)(Nd,2),rc=ed[0],jd=ed[1],mc=(0,ne.useState)(null),vc=(0,Ce.Z)(mc,2),dd=vc[0],hc=vc[1],Rc=Wt(Gd,{formatList:vl,generateConfig:rt,locale:xt}),mr=(0,Ce.Z)(Rc,3),xo=mr[0],rl=mr[1],cl=mr[2],ol=Wt(Xl,{formatList:vl,generateConfig:rt,locale:xt}),Kd=(0,Ce.Z)(ol,3),pc=Kd[0],Ic=Kd[1],$d=Kd[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,Ce.Z)(ou,2),iu=Gc[0],lu=Gc[1];ne.useEffect(function(){lu(Ei)},[Ei]);var su=function(ur){if(oi&&iu){var $r=Wn(Zr,Jr);$r&&al(Zr,Jr)}return Qr==null?void 0:Qr(ur)},jc=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,Wn(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()}}},Kc={onKeyDown:function(ur,$r){as==null||as(ur,$r)},changeOnBlur:oi},du=Oa((0,Mt.Z)((0,Mt.Z)({},jc(0,tc)),{},{open:xd,value:Gd},Kc)),$c=(0,Ce.Z)(du,2),cu=$c[0],Wc=$c[1],Uc=Wc.focused,Vc=Wc.typing,uu=Oa((0,Mt.Z)((0,Mt.Z)({},jc(1,ac)),{},{open:_d,value:Xl},Kc)),Yc=(0,Ce.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]?dn(Do[0],{locale:xt,format:"YYYYMMDDHHmmss",generateConfig:rt}):"",hu=Do&&Do[1]?dn(Do[1],{locale:xt,format:"YYYYMMDDHHmmss",generateConfig:rt}):"";(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]&&rt.isAfter(dd[1],dd[0])&&($r=dd);var _o=cn;if(cn&&(0,Kt.Z)(cn)==="object"&&cn.defaultValue){var el=cn.defaultValue;_o=(0,Mt.Z)((0,Mt.Z)({},cn),{},{defaultValue:Wn(el,Jr)||void 0})}return ne.createElement(ot.Provider,{value:{inRange:!0,panelPosition:Jo,rangedValue:rc||Zr,hoverRangedValue:$r}},ne.createElement(Hr,(0,ae.Z)({},te,ur,{cellRender:pu,showTime:_o,mode:Ll[Jr],generateConfig:rt,style:void 0,direction:Xi,disabledDate:Jr===0?Ns:wd,disabledTime:function(td){return ka?ka(td,Jr===0?"start":"end"):!1},className:nn()((0,lt.Z)({},"".concat(Le,"-panel-focused"),Jr===0?!Vc:!Xc)),value:Wn(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=ct(Vd,Ud,rt,-1)),os(Vd,Jr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Jr===0?Wn(Zr,1):Wn(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(Le,Ll[Jr],mi),$r=Sa({prefixCls:Le,components:ys,needConfirmButton:$i,okDisabled:!Wn(Zr,Jr)||lr&&lr(Zr[Jr]),locale:xt,onOk:function(){var nd=Wn(Zr,Jr);nd&&(al(Zr,Jr),zi==null||zi(Zr),Al(!1,Jr,"confirm"))}});if(rn!=="time"&&!cn){var _o=wl(Jr),el=ct(_o,rn,rt),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(ct(nd,rn,rt,-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(Le,"-panel-layout")},ne.createElement(ue,{prefixCls:Le,presets:Su,onClick:function(nd){al(nd,null),Al(!1,Jr,"preset")},onHover:function(nd){jd(nd)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(Le,"-panels")},Jo),(ur||$r)&&ne.createElement("div",{className:"".concat(Le,"-footer")},ur,$r)));return Mo&&(kc=Mo(kc)),ne.createElement("div",{className:"".concat(Le,"-panel-container"),style:{marginLeft:qc},ref:qi,onMouseDown:function(nd){nd.preventDefault()}},kc)}var Cu=ne.createElement("div",{className:nn()("".concat(Le,"-range-wrapper"),"".concat(Le,"-").concat(rn,"-range-wrapper")),style:{minWidth:hi}},ne.createElement("div",{ref:Wi,className:"".concat(Le,"-range-arrow"),style:yu}),bu()),tu;ci&&(tu=ne.createElement("span",{className:"".concat(Le,"-suffix"),onMouseDown:function(ur){ur.preventDefault()}},ci));var xu=ye(Le,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(Le,"-clear"),role:"button"},xu),wu=No&&(Wn(Do,0)&&!Co[0]||Wn(Do,1)&&!Co[1]),nu={size:Tr(rn,vl[0],rt)},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:Yt,prefixCls:Le,dropdownClassName:mt,dropdownAlign:bt,getPopupContainer:At,transitionName:St,range:!0,direction:Xi},ne.createElement("div",(0,ae.Z)({ref:Vo,className:nn()(Le,"".concat(Le,"-range"),dt,(ie={},(0,lt.Z)(ie,"".concat(Le,"-disabled"),Co[0]&&Co[1]),(0,lt.Z)(ie,"".concat(Le,"-focused"),Jr===0?Uc:Jc),(0,lt.Z)(ie,"".concat(Le,"-rtl"),Xi==="rtl"),ie)),style:Xe,onClick:fu,onMouseEnter:jo,onMouseLeave:Ji,onMouseDown:mu,onMouseUp:ao},(0,Hn.Z)(te,{aria:!0,data:!0})),ne.createElement("div",{className:nn()("".concat(Le,"-input"),(le={},(0,lt.Z)(le,"".concat(Le,"-input-active"),Jr===0),(0,lt.Z)(le,"".concat(Le,"-input-placeholder"),!!xo),le)),ref:Ri},ne.createElement("input",(0,ae.Z)({id:Ye,disabled:Co[0],readOnly:Fo||typeof vl[0]=="function"||!Vc,value:xo||Gd,onChange:function(ur){fc(ur.target.value)},autoFocus:Bn,placeholder:Wn(en,0)||"",ref:Hi},cu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Le,"-range-separator"),ref:ml},La),ne.createElement("div",{className:nn()("".concat(Le,"-input"),(ge={},(0,lt.Z)(ge,"".concat(Le,"-input-active"),Jr===1),(0,lt.Z)(ge,"".concat(Le,"-input-placeholder"),!!pc),ge)),ref:dl},ne.createElement("input",(0,ae.Z)({disabled:Co[1],readOnly:Fo||typeof vl[0]=="function"||!Xc,value:pc||Xl,onChange:function(ur){Zs(ur.target.value)},placeholder:Wn(en,1)||"",ref:_i},gu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Le,"-active-bar"),style:(0,Mt.Z)((0,Mt.Z)({},Lu),{},{width:Hc,position:"absolute"})}),tu,wu&&Eu)))}var Jn=function(te){(0,Bt.Z)(le,te);var ie=(0,Kn.Z)(le);function le(){var ge;(0,hn.Z)(this,le);for(var ve=arguments.length,Ne=new Array(ve),Le=0;Le<ve;Le++)Ne[Le]=arguments[Le];return ge=ie.call.apply(ie,[this].concat(Ne)),(0,lt.Z)((0,Ct.Z)(ge),"pickerRef",ne.createRef()),(0,lt.Z)((0,Ct.Z)(ge),"focus",function(){ge.pickerRef.current&&ge.pickerRef.current.focus()}),(0,lt.Z)((0,Ct.Z)(ge),"blur",function(){ge.pickerRef.current&&ge.pickerRef.current.blur()}),ge}return(0,We.Z)(le,[{key:"render",value:function(){return ne.createElement(vn,(0,ae.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Rn=Jn,ea=Je,zn=ee(9708),la=ee(53124),Ra=ee(98866),Qa=ee(98675),Ba=ee(65223),fr=ee(10110),Dr=ee(4173),Pa=ee(16516),Na=ee(84780),ua=ee(47673),ia=ee(14747),Da=ee(79511),Wa=ee(80110),vr=ee(67771),Er=ee(33297),Ha=ee(45503),Or=ee(67968);const jr=(te,ie,le,ge)=>{const{lineHeight:ve}=te,Ne=Math.floor(le*ve)+2,Le=Math.max((ie-Ne)/2,0),Ye=Math.max(ie-Ne-Le,0);return{padding:`${Le}px ${ge}px ${Ye}px`}},Bo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:ge,cellHeight:ve,motionDurationSlow:Ne,borderRadiusSM:Le,motionDurationMid:Ye,cellHoverBg:Xe,lineWidth:dt,lineType:Yt,colorPrimary:mt,cellActiveWithRangeBg:St,colorTextLightSolid:bt,controlHeightSM:At,cellRangeBorderColor:rt,pickerCellBorderGap:xt,cellHoverWithRangeBg:en,cellWidth:Bn,colorTextDisabled:gn,cellBgDisabled:sn}=te;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:ve,transform:"translateY(-50%)",transition:`all ${Ne}`,content:'""'},[ge]:{position:"relative",zIndex:2,display:"inline-block",minWidth:ve,height:ve,lineHeight:`${ve}px`,borderRadius:Le,transition:`background ${Ye}, border ${Ye}`},"&-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:Xe}},[`&-in-view${le}-today ${ge}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${dt}px ${Yt} ${mt}`,borderRadius:Le,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:At,borderTop:`${dt}px dashed ${rt}`,borderBottom:`${dt}px dashed ${rt}`,transform:"translateY(-50%)",transition:`all ${Ne}`,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:en},[`&-in-view${le}-range-start:not(${le}-range-start-single):not(${le}-range-end) ${ge}`]:{borderStartStartRadius:Le,borderEndStartRadius:Le,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${le}-range-end:not(${le}-range-end-single):not(${le}-range-start) ${ge}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Le,borderEndEndRadius:Le},[`&-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:`${dt}px dashed ${rt}`,borderStartStartRadius:Le,borderEndStartRadius:Le},[`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:`${dt}px dashed ${rt}`,borderStartEndRadius:Le,borderEndEndRadius:Le},"&-disabled":{color:gn,pointerEvents:"none",[ge]:{background:"transparent"},"&::before":{background:sn}},[`&-disabled${le}-today ${ge}::before`]:{borderColor:gn}}},mo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:ge,pickerYearMonthCellWidth:ve,pickerControlIconSize:Ne,cellWidth:Le,paddingSM:Ye,paddingXS:Xe,paddingXXS:dt,colorBgContainer:Yt,lineWidth:mt,lineType:St,borderRadiusLG:bt,colorPrimary:At,colorTextHeading:rt,colorSplit:xt,pickerControlIconBorderWidth:en,colorIcon:Bn,textHeight:gn,motionDurationMid:sn,colorIconHover:qn,fontWeightStrong:rn,cellHeight:cn,pickerCellPaddingVertical:wa,colorTextDisabled:na,colorText:La,fontSize:ga,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=Le*7+vo*2,ui=(Fo-Xe*2)/3-ve-Ye,mi=(Fo-Xe*2)/4-ve;return{[ie]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Yt,border:`${mt}px ${St} ${xt}`,borderRadius:bt,outline:"none","&-focused":{borderColor:At},"&-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 ${Xe}px`,color:rt,borderBottom:`${mt}px ${St} ${xt}`,"> *":{flex:"none"},button:{padding:0,color:Bn,lineHeight:`${gn}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${sn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:ga,"&:hover":{color:qn}},"&-view":{flex:"auto",fontWeight:rn,lineHeight:`${gn}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Xe},"&:hover":{color:At}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Ne,height:Ne,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Ne,height:Ne,border:"0 solid currentcolor",borderBlockStartWidth:en,borderBlockEndWidth:0,borderInlineStartWidth:en,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Ne/2),insetInlineStart:Math.ceil(Ne/2),display:"inline-block",width:Ne,height:Ne,border:"0 solid currentcolor",borderBlockStartWidth:en,borderBlockEndWidth:0,borderInlineStartWidth:en,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:cn,fontWeight:"normal"},th:{height:cn+wa*2,color:La,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${wa}px 0`,color:na,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:-(Le-cn)/2,insetInlineStart:0},[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${ge}::after`]:{insetInlineEnd:0,insetInlineStart:-(Le-cn)/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 ${Xe}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:`${gn-2*mt}px`,textAlign:"center","&-extra":{padding:`0 ${Ye}px`,lineHeight:`${gn-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:na,cursor:"not-allowed"}},"&-decade-panel":{[ge]:{padding:`0 ${Xe/2}px`},[`${ie}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-body`]:{padding:`0 ${Xe}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:`${Xe}px ${Ye}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:At},[`&${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:`${Xe}px ${vo}px`},[`${ie}-content`]:{width:Le*7,th:{width:Le,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:`${dt}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:na,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ie}-time-panel-column:after`]:{height:Uo-No+dt*2}}}},gi=te=>{const{componentCls:ie,colorBgContainer:le,colorError:ge,errorActiveShadow:ve,colorWarning:Ne,warningActiveShadow:Le}=te;return{[`${ie}:not(${ie}-disabled)`]:{[`&${ie}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:ge},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ua.M1)((0,Ha.TS)(te,{activeBorderColor:ge,activeShadow:ve}))),[`${ie}-active-bar`]:{background:ge}},[`&${ie}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:Ne},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ua.M1)((0,Ha.TS)(te,{activeBorderColor:Ne,activeShadow:Le}))),[`${ie}-active-bar`]:{background:Ne}}}}},fi=te=>{const{componentCls:ie,antCls:le,controlHeight:ge,fontSize:ve,paddingInline:Ne,colorBgContainer:Le,lineWidth:Ye,lineType:Xe,colorBorder:dt,borderRadius:Yt,motionDurationMid:mt,colorBgContainerDisabled:St,colorTextDisabled:bt,colorTextPlaceholder:At,controlHeightLG:rt,fontSizeLG:xt,controlHeightSM:en,paddingInlineSM:Bn,paddingXS:gn,marginXS:sn,colorTextDescription:qn,lineWidthBold:rn,lineHeight:cn,colorPrimary:wa,motionDurationSlow:na,zIndexPopup:La,paddingXXS:ga,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,ia.Wf)(te)),jr(te,ge,ve,Ne)),{position:"relative",display:"inline-flex",alignItems:"center",background:Le,lineHeight:1,border:`${Ye}px ${Xe} ${dt}`,borderRadius:Yt,transition:`border ${mt}, box-shadow ${mt}`,"&:hover, &-focused":Object.assign({},(0,ua.pU)(te)),"&-focused":Object.assign({},(0,ua.M1)(te)),[`&${ie}-disabled`]:{background:St,borderColor:dt,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,ua.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:At}}},"&-large":Object.assign(Object.assign({},jr(te,rt,xt,Ne)),{[`${ie}-input > input`]:{fontSize:xt}}),"&-small":Object.assign({},jr(te,en,ve,Bn)),[`${ie}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:gn/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:Le,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:Ne},"&:hover":{[`${ie}-clear`]:{opacity:1}},[`${ie}-active-bar`]:{bottom:-Ye,height:rn,marginInlineStart:Ne,background:wa,opacity:0,transition:`all ${na} ease-out`,pointerEvents:"none"},[`&${ie}-focused`]:{[`${ie}-active-bar`]:{opacity:1}},[`${ie}-range-separator`]:{alignItems:"center",padding:`0 ${gn}px`,lineHeight:1},[`&${ie}-small`]:{[`${ie}-clear`]:{insetInlineEnd:Bn},[`${ie}-active-bar`]:{marginInlineStart:Bn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ia.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:ga},[`${ie}-ranges`]:{marginBottom:0,padding:`${ga}px ${nr}px`,overflow:"hidden",lineHeight:`${wr-2*Ye-gn/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:Ne*1.5,transition:`left ${na} 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 ${na}`,[`${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:gn,borderInlineEnd:`${Ye}px ${Xe} ${Uo}`,li:Object.assign(Object.assign({},ia.vS),{borderRadius:To,paddingInline:gn,paddingBlock:(en-Math.round(ve*cn))/2,cursor:"pointer",transition:`all ${na}`,"+ li":{marginTop:sn},"&:hover":{background:Pi}})}},[`${ie}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ie}-panel`]:{borderWidth:`0 0 ${Ye}px`},"&:last-child":{[`${ie}-panel`]:{borderWidth:0}}},[`${ie}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ie}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:dt}}}}),"&-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 ta=(0,Or.Z)("DatePicker",te=>{const ie=(0,Ha.TS)((0,ua.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,ua.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 Kr(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:Ne,use12Hours:Le}=te,Ye=ba(ie)[0],Xe=Object.assign({},te);return ie&&Array.isArray(ie)&&(Xe.format=Ye),Ye&&typeof Ye=="string"&&(!Ye.includes("s")&&Ne===void 0&&(Xe.showSecond=!1),!Ye.includes("m")&&ve===void 0&&(Xe.showMinute=!1),!Ye.includes("H")&&!Ye.includes("h")&&!Ye.includes("K")&&!Ye.includes("k")&&ge===void 0&&(Xe.showHour=!1),(Ye.includes("a")||Ye.includes("A"))&&Le===void 0&&(Xe.use12Hours=!0)),le==="time"?Xe:(typeof Ye=="function"&&delete Xe.format,{showTime:Xe})}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:Ne,className:Le,placement:Ye,size:Xe,disabled:dt,bordered:Yt=!0,placeholder:mt,popupClassName:St,dropdownClassName:bt,status:At,clearIcon:rt,allowClear:xt,rootClassName:en}=le,Bn=Ao(le,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),gn=ne.useRef(null),{getPrefixCls:sn,direction:qn,getPopupContainer:rn}=(0,ne.useContext)(la.E_),cn=sn("picker",ve),{compactSize:wa,compactItemClassnames:na}=(0,Dr.ri)(cn,qn),{format:La,showTime:ga,picker:nr}=le,wr=sn(),[Vr,ar]=ta(cn),lr=Object.assign(Object.assign({},ga?Ja(Object.assign({format:La,picker:nr},ga)):{}),nr==="time"?Ja(Object.assign(Object.assign({format:La},le),{picker:nr})):{}),ka=(0,Qa.Z)(io=>{var vo;return(vo=Xe!=null?Xe:wa)!==null&&vo!==void 0?vo:io}),Yr=ne.useContext(Ra.Z),Sr=dt!=null?dt:Yr,Lr=(0,ne.useContext)(Ba.aM),{hasFeedback:Mo,status:To,feedbackIcon:Uo}=Lr,Pi=ne.createElement(ne.Fragment,null,nr==="time"?ne.createElement($e,null):ne.createElement(Se,null),Mo&&Uo);(0,ne.useImperativeHandle)(ge,()=>({focus:()=>{var io;return(io=gn.current)===null||io===void 0?void 0:io.focus()},blur:()=>{var io;return(io=gn.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:`${cn}-separator`},ne.createElement(pt,null)),disabled:Sr,ref:gn,dropdownAlign:Io(qn,Ye),placeholder:Kr(ci,nr,mt),suffixIcon:Pi,prevIcon:ne.createElement("span",{className:`${cn}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${cn}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${cn}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${cn}-super-next-icon`}),transitionName:`${wr}-slide-up`},Bn,lr,{className:nn()({[`${cn}-${ka}`]:ka,[`${cn}-borderless`]:!Yt},(0,zn.Z)(cn,(0,zn.F)(To,At),Mo),ar,na,Le,en),locale:ci.lang,prefixCls:cn,getPopupContainer:Ne||rn,generateConfig:te,components:Ir,direction:qn,dropdownClassName:nn()(ar,St||bt,en),allowClear:tr(xt,rt,ne.createElement(et.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(Xe,dt){const Yt=dt==="TimePicker"?"timePicker":"datePicker",mt=(0,ne.forwardRef)((St,bt)=>{const{prefixCls:At,getPopupContainer:rt,style:xt,className:en,rootClassName:Bn,size:gn,bordered:sn=!0,placement:qn,placeholder:rn,popupClassName:cn,dropdownClassName:wa,disabled:na,status:La,clearIcon:ga,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,[Yt]:ka}=(0,ne.useContext)(la.E_),Yr=Vr("picker",At),{compactSize:Sr,compactItemClassnames:Lr}=(0,Dr.ri)(Yr,ar),Mo=ne.useRef(null),{format:To,showTime:Uo}=St,[Pi,No]=ta(Yr);(0,ne.useImperativeHandle)(bt,()=>({focus:()=>{var jo;return(jo=Mo.current)===null||jo===void 0?void 0:jo.focus()},blur:()=>{var jo;return(jo=Mo.current)===null||jo===void 0?void 0:jo.blur()}}));const ci={showToday:!0};let io={};Xe&&(io.picker=Xe);const vo=Xe||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)(jo=>{var Ji;return(Ji=gn!=null?gn:Sr)!==null&&Ji!==void 0?Ji:jo}),mi=ne.useContext(Ra.Z),ji=na!=null?na:mi,vi=(0,ne.useContext)(Ba.aM),{hasFeedback:Cr,status:Zo,feedbackIcon:bo}=vi,Qr=ne.createElement(ne.Fragment,null,vo==="time"?ne.createElement($e,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(ea,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:nn()({[`${Yr}-${ui}`]:ui,[`${Yr}-borderless`]:!sn},(0,zn.Z)(Yr,(0,zn.F)(Zo,La),Cr),No,Lr,ka==null?void 0:ka.className,en,Bn),style:Object.assign(Object.assign({},ka==null?void 0:ka.style),xt),prefixCls:Yr,getPopupContainer:rt||lr,generateConfig:te,components:Ir,direction:ar,disabled:ji,dropdownClassName:nn()(No,Bn,cn||wa),allowClear:tr(nr,ga,ne.createElement(et.Z,null))})))});return dt&&(mt.displayName=dt),mt}const le=ie(),ge=ie("week","WeekPicker"),ve=ie("month","MonthPicker"),Ne=ie("year","YearPicker"),Le=ie("time","TimePicker"),Ye=ie("quarter","QuarterPicker");return{DatePicker:le,WeekPicker:ge,MonthPicker:ve,YearPicker:Ne,TimePicker:Le,QuarterPicker:Ye}}const Os=null;function Qi(te){const{DatePicker:ie,WeekPicker:le,MonthPicker:ge,YearPicker:ve,TimePicker:Ne,QuarterPicker:Le}=Pl(te),Ye=yo(te),Xe=ie;return Xe.WeekPicker=le,Xe.MonthPicker=ge,Xe.YearPicker=ve,Xe.RangePicker=Ye,Xe.TimePicker=Ne,Xe.QuarterPicker=Le,Xe}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,oe.Z)(xi,"picker",null,zl);xi._InternalPanelDoNotUseOrYouWillBeFired=Cd;const Go=(0,oe.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 Ke}});var re=ee(94184),me=ee.n(re),Oe=ee(67294),ze=ee(53124),Be=ee(14747),Te=ee(67968),se=ee(45503);const Ze=Ee=>{const{componentCls:ce,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=Ee;return{[ce]:Object.assign(Object.assign({},(0,Be.Wf)(Ee)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ee.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ce}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ee.dividerHorizontalWithTextGutterMargin}px 0`,color:Ee.colorTextHeading,fontWeight:500,fontSize:Ee.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${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:a,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:Ee.colorText,fontWeight:"normal",fontSize:Ee.fontSize},[`&-horizontal${ce}-with-text-left${ce}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ce}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ce}-with-text-right${ce}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ce}-inner-text`]:{paddingInlineEnd:y}}})}};var je=(0,Te.Z)("Divider",Ee=>{const ce=(0,se.TS)(Ee,{dividerHorizontalWithTextGutterMargin:Ee.margin,dividerHorizontalGutterMargin:Ee.marginLG,sizePaddingEdgeHorizontal:0});return[Ze(ce)]},Ee=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ee.marginXS})),He=function(Ee,ce){var y={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&ce.indexOf(a)<0&&(y[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ee);x<a.length;x++)ce.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Ee,a[x])&&(y[a[x]]=Ee[a[x]]);return y},Ke=Ee=>{const{getPrefixCls:ce,direction:y,divider:a}=Oe.useContext(ze.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:oe,rootClassName:ae,children:ne,dashed:fe,plain:pe,style:we}=Ee,be=He(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=ce("divider",x),[Se,gt]=je(xe),Qe=E.length>0?`-${E}`:E,Dt=!!ne,$e=E==="left"&&z!=null,et=E==="right"&&z!=null,Tt=me()(xe,a==null?void 0:a.className,gt,`${xe}-${b}`,{[`${xe}-with-text`]:Dt,[`${xe}-with-text${Qe}`]:Dt,[`${xe}-dashed`]:!!fe,[`${xe}-plain`]:!!pe,[`${xe}-rtl`]:y==="rtl",[`${xe}-no-default-orientation-margin-left`]:$e,[`${xe}-no-default-orientation-margin-right`]:et},oe,ae),tn=Oe.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),jt=Object.assign(Object.assign({},$e&&{marginLeft:tn}),et&&{marginRight:tn});return Se(Oe.createElement("div",Object.assign({className:Tt,style:Object.assign(Object.assign({},a==null?void 0:a.style),we)},be,{role:"separator"}),ne&&b!=="vertical"&&Oe.createElement("span",{className:`${xe}-inner-text`,style:jt},ne)))}},56153:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Oc}});var re=ee(67294),me=ee.t(re,2),Oe=ee(91034),ze=ee(94184),Be=ee.n(ze),Te=ee(87462),se=ee(4942),Ze=ee(97685),je=ee(45987),He=ee(1413),qe=ee(73935);function Ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ee={};function ce(Pe,Fe){}function y(Pe,Fe){}function a(){Ee={}}function x(Pe,Fe,Re){!Fe&&!Ee[Re]&&(Pe(!1,Re),Ee[Re]=!0)}function b(Pe,Fe){x(ce,Pe,Fe)}function E(Pe,Fe){x(y,Pe,Fe)}var z=null,oe=ee(71002),ae=ee(12060);function ne(Pe,Fe,Re){var it=re.useRef({});return(!("value"in it.current)||Re(it.current.condition,Fe))&&(it.current.value=Pe(),it.current.condition=Fe),it.current.value}function fe(Pe,Fe){typeof Pe=="function"?Pe(Fe):(0,oe.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Fe)}function pe(){for(var Pe=arguments.length,Fe=new Array(Pe),Re=0;Re<Pe;Re++)Fe[Re]=arguments[Re];var it=Fe.filter(function(It){return It});return it.length<=1?it[0]:function(It){Fe.forEach(function(fn){fe(fn,It)})}}function we(){for(var Pe=arguments.length,Fe=new Array(Pe),Re=0;Re<Pe;Re++)Fe[Re]=arguments[Re];return ne(function(){return pe.apply(void 0,Fe)},Fe,function(it,It){return it.length===It.length&&it.every(function(fn,pn){return fn===It[pn]})})}function be(Pe){var Fe,Re,it=(0,ae.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof it=="function"&&!((Fe=it.prototype)!==null&&Fe!==void 0&&Fe.render)||typeof Pe=="function"&&!((Re=Pe.prototype)!==null&&Re!==void 0&&Re.render))}var xe=re.createContext(null),Se=xe,gt=ee(74902),Qe=Ke()?re.useLayoutEffect:re.useEffect,Dt=Qe,$e=function(Fe,Re){var it=React.useRef(!0);Qe(function(){if(!it.current)return Fe()},Re),Qe(function(){return it.current=!1,function(){it.current=!0}},[])},et=[];function Tt(Pe,Fe){var Re=re.useState(function(){if(!Ke())return null;var pr=document.createElement("div");return pr}),it=(0,Ze.Z)(Re,1),It=it[0],fn=re.useRef(!1),pn=re.useContext(Se),da=re.useState(et),Ea=(0,Ze.Z)(da,2),fa=Ea[0],Ya=Ea[1],ha=pn||(fn.current?void 0:function(pr){Ya(function(uo){var eo=[pr].concat((0,gt.Z)(uo));return eo})});function qa(){It.parentElement||document.body.appendChild(It),fn.current=!0}function za(){var pr;(pr=It.parentElement)===null||pr===void 0||pr.removeChild(It),fn.current=!1}return Dt(function(){return Pe?pn?pn(qa):qa():za(),za},[Pe]),Dt(function(){fa.length&&(fa.forEach(function(pr){return pr()}),Ya(et))},[fa]),[It,ha]}function tn(Pe,Fe){if(!Pe)return!1;if(Pe.contains)return Pe.contains(Fe);for(var Re=Fe;Re;){if(Re===Pe)return!0;Re=Re.parentNode}return!1}var jt="data-rc-order",pt="rc-util-key",Zt=new Map;function nn(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Fe=Pe.mark;return Fe?Fe.startsWith("data-")?Fe:"data-".concat(Fe):pt}function hn(Pe){if(Pe.attachTo)return Pe.attachTo;var Fe=document.querySelector("head");return Fe||document.body}function We(Pe){return Pe==="queue"?"prependQueue":Pe?"prepend":"append"}function Ct(Pe){return Array.from((Zt.get(Pe)||Pe).children).filter(function(Fe){return Fe.tagName==="STYLE"})}function Bt(Pe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ke())return null;var Re=Fe.csp,it=Fe.prepend,It=document.createElement("style");It.setAttribute(jt,We(it)),Re!=null&&Re.nonce&&(It.nonce=Re==null?void 0:Re.nonce),It.innerHTML=Pe;var fn=hn(Fe),pn=fn.firstChild;if(it){if(it==="queue"){var da=Ct(fn).filter(function(Ea){return["prepend","prependQueue"].includes(Ea.getAttribute(jt))});if(da.length)return fn.insertBefore(It,da[da.length-1].nextSibling),It}fn.insertBefore(It,pn)}else fn.appendChild(It);return It}function Kn(Pe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Re=hn(Fe);return Ct(Re).find(function(it){return it.getAttribute(nn(Fe))===Pe})}function lt(Pe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Re=Kn(Pe,Fe);if(Re){var it=hn(Fe);it.removeChild(Re)}}function Mt(Pe,Fe){var Re=Zt.get(Pe);if(!Re||!tn(document,Re)){var it=Bt("",Fe),It=it.parentNode;Zt.set(Pe,It),Pe.removeChild(it)}}function Ce(){Zt.clear()}function Pn(Pe,Fe){var Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},it=hn(Re);Mt(it,Re);var It=Kn(Fe,Re);if(It){var fn,pn;if((fn=Re.csp)!==null&&fn!==void 0&&fn.nonce&&It.nonce!==((pn=Re.csp)===null||pn===void 0?void 0:pn.nonce)){var da;It.nonce=(da=Re.csp)===null||da===void 0?void 0:da.nonce}return It.innerHTML!==Pe&&(It.innerHTML=Pe),It}var Ea=Bt(Pe,Re);return Ea.setAttribute(nn(Re),Fe),Ea}var Hn;function Ca(Pe){if(typeof document=="undefined")return 0;if(Pe||Hn===void 0){var Fe=document.createElement("div");Fe.style.width="100%",Fe.style.height="200px";var Re=document.createElement("div"),it=Re.style;it.position="absolute",it.top="0",it.left="0",it.pointerEvents="none",it.visibility="hidden",it.width="200px",it.height="150px",it.overflow="hidden",Re.appendChild(Fe),document.body.appendChild(Re);var It=Fe.offsetWidth;Re.style.overflow="scroll";var fn=Fe.offsetWidth;It===fn&&(fn=Re.clientWidth),document.body.removeChild(Re),Hn=It-fn}return Hn}function Yn(Pe){var Fe=Pe.match(/^(.*)px$/),Re=Number(Fe==null?void 0:Fe[1]);return Number.isNaN(Re)?Ca():Re}function Qt(Pe){if(typeof document=="undefined"||!Pe||!(Pe instanceof Element))return{width:0,height:0};var Fe=getComputedStyle(Pe,"::-webkit-scrollbar"),Re=Fe.width,it=Fe.height;return{width:Yn(Re),height:Yn(it)}}function Ge(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Me="rc-util-locker-".concat(Date.now()),ft=0;function Ht(Pe){var Fe=!!Pe,Re=re.useState(function(){return ft+=1,"".concat(Me,"_").concat(ft)}),it=(0,Ze.Z)(Re,1),It=it[0];Dt(function(){if(Fe){var fn=Qt(document.body).width,pn=Ge();Pn(`
html body {
overflow-y: hidden;
`.concat(pn?"width: calc(100% - ".concat(fn,"px);"):"",`
}`),It)}else lt(It);return function(){lt(It)}},[Fe,It])}var an=!1;function Rt(Pe){return typeof Pe=="boolean"&&(an=Pe),an}var Jt=function(Fe){return Fe===!1?!1:!Ke()||!Fe?null:typeof Fe=="string"?document.querySelector(Fe):typeof Fe=="function"?Fe():Fe},An=re.forwardRef(function(Pe,Fe){var Re=Pe.open,it=Pe.autoLock,It=Pe.getContainer,fn=Pe.debug,pn=Pe.autoDestroy,da=pn===void 0?!0:pn,Ea=Pe.children,fa=re.useState(Re),Ya=(0,Ze.Z)(fa,2),ha=Ya[0],qa=Ya[1],za=ha||Re;re.useEffect(function(){(da||Re)&&qa(Re)},[Re,da]);var pr=re.useState(function(){return Jt(It)}),uo=(0,Ze.Z)(pr,2),eo=uo[0],So=uo[1];re.useEffect(function(){var Si=Jt(It);So(Si!=null?Si:null)});var Ur=Tt(za&&!eo,fn),br=(0,Ze.Z)(Ur,2),er=br[0],li=br[1],Ko=eo!=null?eo:er;Ht(it&&Re&&Ke()&&(Ko===er||Ko===document.body));var si=null;if(Ea&&be(Ea)&&Fe){var pi=Ea;si=pi.ref}var Ui=we(si,Fe);if(!za||!Ke()||eo===void 0)return null;var Qo=Ko===!1||Rt(),Po=Ea;return Fe&&(Po=re.cloneElement(Ea,{ref:Ui})),re.createElement(Se.Provider,{value:li},Qo?Po:(0,qe.createPortal)(Po,Ko))}),kn=An,ma=kn,Ie=ee(48555);function _e(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function Xn(Pe){return _e(Pe)?Pe:Pe instanceof React.Component?ReactDOM.findDOMNode(Pe):null}function $n(Pe){var Fe;return Pe==null||(Fe=Pe.getRootNode)===null||Fe===void 0?void 0:Fe.call(Pe)}function ct(Pe){return $n(Pe)instanceof ShadowRoot}function dn(Pe){return ct(Pe)?$n(Pe):null}function Ue(Pe){var Fe=re.useRef();Fe.current=Pe;var Re=re.useCallback(function(){for(var it,It=arguments.length,fn=new Array(It),pn=0;pn<It;pn++)fn[pn]=arguments[pn];return(it=Fe.current)===null||it===void 0?void 0:it.call.apply(it,[Fe].concat(fn))},[]);return Re}function ut(){var Pe=(0,He.Z)({},me);return Pe.useId}var Ft=0;function Wt(){}var kt=ut(),bn=kt?function(Fe){var Re=kt();return Fe||Re}:function(Fe){var Re=re.useState("ssr-id"),it=(0,Ze.Z)(Re,2),It=it[0],fn=it[1];return re.useEffect(function(){var pn=Ft;Ft+=1,fn("rc_unique_".concat(pn))},[]),Fe||It};function aa(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Vn=aa()?re.useLayoutEffect:re.useEffect,Gn=function(Fe,Re){var it=re.useRef(!0);Vn(function(){return Fe(it.current)},Re),Vn(function(){return it.current=!1,function(){it.current=!0}},[])},Ga=function(Fe,Re){Gn(function(it){if(!it)return Fe()},Re)},ra=Gn,ja=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=re.createContext(null),Tr=Pr;function Xr(Pe){return Pe?Array.isArray(Pe)?Pe:[Pe]:[]}function Rr(Pe,Fe,Re,it){return re.useMemo(function(){var It=Xr(Re!=null?Re:Fe),fn=Xr(it!=null?it:Fe),pn=new Set(It),da=new Set(fn);return Pe&&(pn.has("hover")&&(pn.delete("hover"),pn.add("click")),da.has("hover")&&(da.delete("hover"),da.add("click"))),[pn,da]},[Pe,Fe,Re,it])}var Br=function(Pe){if(!Pe)return!1;if(Pe instanceof Element){if(Pe.offsetParent)return!0;if(Pe.getBBox){var Fe=Pe.getBBox(),Re=Fe.width,it=Fe.height;if(Re||it)return!0}if(Pe.getBoundingClientRect){var It=Pe.getBoundingClientRect(),fn=It.width,pn=It.height;if(fn||pn)return!0}}return!1};function to(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Re=arguments.length>2?arguments[2]:void 0;return Re?Pe[0]===Fe[0]:Pe[0]===Fe[0]&&Pe[1]===Fe[1]}function lo(Pe,Fe,Re,it){for(var It=Re.points,fn=Object.keys(Pe),pn=0;pn<fn.length;pn+=1){var da,Ea=fn[pn];if(to((da=Pe[Ea])===null||da===void 0?void 0:da.points,It,it))return"".concat(Fe,"-placement-").concat(Ea)}return""}function gr(Pe,Fe,Re,it){return Fe||(Re?{motionName:"".concat(Pe,"-").concat(Re)}:it?{motionName:it}:null)}function yn(Pe){return Pe.ownerDocument.defaultView}function Tn(Pe){for(var Fe=[],Re=Pe==null?void 0:Pe.parentElement,it=["hidden","scroll","clip","auto"];Re;){var It=yn(Re).getComputedStyle(Re),fn=It.overflowX,pn=It.overflowY,da=It.overflow;[fn,pn,da].some(function(Ea){return it.includes(Ea)})&&Fe.push(Re),Re=Re.parentElement}return Fe}function wn(Pe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Pe)?Fe:Pe}function Nn(Pe){return wn(parseFloat(Pe),0)}function Oa(Pe,Fe){var Re=(0,He.Z)({},Pe);return(Fe||[]).forEach(function(it){if(!(it instanceof HTMLBodyElement||it instanceof HTMLHtmlElement)){var It=yn(it).getComputedStyle(it),fn=It.overflow,pn=It.overflowClipMargin,da=It.borderTopWidth,Ea=It.borderBottomWidth,fa=It.borderLeftWidth,Ya=It.borderRightWidth,ha=it.getBoundingClientRect(),qa=it.offsetHeight,za=it.clientHeight,pr=it.offsetWidth,uo=it.clientWidth,eo=Nn(da),So=Nn(Ea),Ur=Nn(fa),br=Nn(Ya),er=wn(Math.round(ha.width/pr*1e3)/1e3),li=wn(Math.round(ha.height/qa*1e3)/1e3),Ko=(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(fn==="clip"){var qo=Nn(pn);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-Ko,Ii=zo+ha.height+2*Mi-pi-Ui-si;Re.left=Math.max(Re.left,fo),Re.top=Math.max(Re.top,zo),Re.right=Math.min(Re.right,Gr),Re.bottom=Math.min(Re.bottom,Ii)}}),Re}function Ar(Pe){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Re="".concat(Fe),it=Re.match(/^(.*)\%$/);return it?Pe*(parseFloat(it[1])/100):parseFloat(Re)}function Zn(Pe,Fe){var Re=Fe||[],it=(0,Ze.Z)(Re,2),It=it[0],fn=it[1];return[Ar(Pe.width,It),Ar(Pe.height,fn)]}function tt(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Pe[0],Pe[1]]}function st(Pe,Fe){var Re=Fe[0],it=Fe[1],It,fn;return Re==="t"?fn=Pe.y:Re==="b"?fn=Pe.y+Pe.height:fn=Pe.y+Pe.height/2,it==="l"?It=Pe.x:it==="r"?It=Pe.x+Pe.width:It=Pe.x+Pe.width/2,{x:It,y:fn}}function Ve(Pe,Fe){var Re={t:"b",b:"t",l:"r",r:"l"};return Pe.map(function(it,It){return It===Fe?Re[it]||"c":it}).join("")}function Kt(Pe,Fe,Re,it,It,fn,pn){var da=re.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:It[it]||{}}),Ea=(0,Ze.Z)(da,2),fa=Ea[0],Ya=Ea[1],ha=re.useRef(0),qa=re.useMemo(function(){return Fe?Tn(Fe):[]},[Fe]),za=re.useRef({}),pr=function(){za.current={}};Pe||pr();var uo=Ue(function(){if(Fe&&Re&&Pe){let Wa=function(Er,Ha){var Or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ti,jr=ko.x+Er,Bo=ko.y+Ha,mo=jr+Ho,gi=Bo+Ni,fi=Math.max(jr,Or.left),Fr=Math.max(Bo,Or.top),Di=Math.min(mo,Or.right),ta=Math.min(gi,Or.bottom);return Math.max(0,(Di-fi)*(ta-Fr))},vr=function(){Ls=ko.y+ri,Ys=Ls+Ni,Qs=ko.x+Zi,Js=Qs+Ho};var Ur,br,er=Fe,li=er.ownerDocument,Ko=yn(er),si=Ko.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)({},It[it]),fn),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(Re))Gr={x:Re[0],y:Re[1],width:0,height:0};else{var Ii=Re.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=wn(Math.round(Ho/parseFloat(pi)*1e3)/1e3),_l=wn(Math.round(Ni/parseFloat(Ui)*1e3)/1e3);if(xs===0||_l===0||_e(Re)&&!Br(Re))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=tt(qd),Zl=tt(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),ye=Zl[1]===Rs[1];if(he&&Zl[1]==="l"&&(Js>Dl.right||za.current.rl)){var De=Zi;ye?De-=Ho-gl:De=pd.x-vs.x-es;var ke=Wa(De,ri),Je=Wa(De,ri,Mr);ke>ts||ke===ts&&(!Yi||Je>=ws)?(za.current.rl=!0,Zi=De,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 at=Zi;ye?at+=Ho-gl:at=Sd.x-Rd.x-es;var nt=Wa(at,ri),yt=Wa(at,ri,Mr);nt>ts||nt===ts&&(!Yi||yt>=ws)?(za.current.lr=!0,Zi=at,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 wt=yd===!0?0:yd;typeof wt=="number"&&(Ls<Mr.top&&(ri-=Ls-Mr.top-ms,Gr.y+di<Mr.top+wt&&(ri+=Gr.y-Mr.top+di-wt)),Ys>Mr.bottom&&(ri-=Ys-Mr.bottom-ms,Gr.y>Mr.bottom-wt&&(ri+=Gr.y-Mr.bottom+wt)));var on=ko.x+Zi,ln=on+Ho,vn=ko.y+ri,Jn=vn+Ni,Rn=Gr.x,ea=Rn+gl,zn=Gr.y,la=zn+di,Ra=Math.max(on,Rn),Qa=Math.min(ln,ea),Ba=(Ra+Qa)/2,fr=Ba-on,Dr=Math.max(vn,zn),Pa=Math.min(Jn,la),Na=(Dr+Pa)/2,ua=Na-vn;pn==null||pn(Fe,Es);var ia=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:ia/xs,offsetB:Da/_l,arrowX:fr/xs,arrowY:ua/_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 ra(So,[it]),ra(function(){Pe||So()},[Pe]),[fa.ready,fa.offsetX,fa.offsetY,fa.offsetR,fa.offsetB,fa.arrowX,fa.arrowY,fa.scaleX,fa.scaleY,fa.align,eo]}function Cn(Pe,Fe,Re,it,It){ra(function(){if(Pe&&Fe&&Re){let ha=function(){it(),It()};var fn=Fe,pn=Re,da=Tn(fn),Ea=Tn(pn),fa=yn(pn),Ya=new Set([fa].concat((0,gt.Z)(da),(0,gt.Z)(Ea)));return Ya.forEach(function(qa){qa.addEventListener("scroll",ha,{passive:!0})}),fa.addEventListener("resize",ha,{passive:!0}),it(),function(){Ya.forEach(function(qa){qa.removeEventListener("scroll",ha),fa.removeEventListener("resize",ha)})}}},[Pe,Fe,Re])}function Qn(Pe){var Fe=React.useRef(!1),Re=React.useState(Pe),it=_slicedToArray(Re,2),It=it[0],fn=it[1];React.useEffect(function(){return Fe.current=!1,function(){Fe.current=!0}},[]);function pn(da,Ea){Ea&&Fe.current||fn(da)}return[It,pn]}function Ka(Pe){return Pe!==void 0}function ca(Pe,Fe){var Re=Fe||{},it=Re.defaultValue,It=Re.value,fn=Re.onChange,pn=Re.postState,da=useState(function(){return Ka(It)?It:Ka(it)?typeof it=="function"?it():it:typeof Pe=="function"?Pe():Pe}),Ea=_slicedToArray(da,2),fa=Ea[0],Ya=Ea[1],ha=It!==void 0?It:fa,qa=pn?pn(ha):ha,za=useEvent(fn),pr=useState([ha]),uo=_slicedToArray(pr,2),eo=uo[0],So=uo[1];useLayoutUpdateEffect(function(){var br=eo[0];fa!==br&&za(fa,br)},[eo]),useLayoutUpdateEffect(function(){Ka(It)||Ya(It)},[It]);var Ur=useEvent(function(br,er){Ya(br,er),So([ha],er)});return[qa,Ur]}var Wn=ee(95845);function Ma(Pe,Fe,Re){var it=re.useRef({});return(!("value"in it.current)||Re(it.current.condition,Fe))&&(it.current.value=Pe(),it.current.condition=Fe),it.current.value}function ho(Pe,Fe){typeof Pe=="function"?Pe(Fe):(0,oe.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Fe)}function Mn(){for(var Pe=arguments.length,Fe=new Array(Pe),Re=0;Re<Pe;Re++)Fe[Re]=arguments[Re];var it=Fe.filter(function(It){return It});return it.length<=1?it[0]:function(It){Fe.forEach(function(fn){ho(fn,It)})}}function no(){for(var Pe=arguments.length,Fe=new Array(Pe),Re=0;Re<Pe;Re++)Fe[Re]=arguments[Re];return Ma(function(){return Mn.apply(void 0,Fe)},Fe,function(it,It){return it.length!==It.length||it.every(function(fn,pn){return fn!==It[pn]})})}function ot(Pe){var Fe,Re,it=(0,Wn.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof it=="function"&&!((Fe=it.prototype)!==null&&Fe!==void 0&&Fe.render)||typeof Pe=="function"&&!((Re=Pe.prototype)!==null&&Re!==void 0&&Re.render))}function _t(Pe){return!isValidElement(Pe)||isFragment(Pe)?!1:ot(Pe)}function $t(Pe,Fe,Re,it){if(!Fe.length)return Re;var It=_toArray(Fe),fn=It[0],pn=It.slice(1),da;return!Pe&&typeof fn=="number"?da=[]:Array.isArray(Pe)?da=_toConsumableArray(Pe):da=_objectSpread({},Pe),it&&Re===void 0&&pn.length===1?delete da[fn][pn[0]]:da[fn]=$t(da[fn],pn,Re,it),da}function Xt(Pe,Fe,Re){var it=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Fe.length&&it&&Re===void 0&&!get(Pe,Fe.slice(0,-1))?Pe:$t(Pe,Fe,Re,it)}function jn(Pe){return _typeof(Pe)==="object"&&Pe!==null&&Object.getPrototypeOf(Pe)===Object.prototype}function Ut(Pe){return Array.isArray(Pe)?[]:{}}var Fn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function un(){for(var Pe=arguments.length,Fe=new Array(Pe),Re=0;Re<Pe;Re++)Fe[Re]=arguments[Re];var it=Ut(Fe[0]);return Fe.forEach(function(It){function fn(pn,da){var Ea=new Set(da),fa=get(It,pn),Ya=Array.isArray(fa);if(Ya||jn(fa)){if(!Ea.has(fa)){Ea.add(fa);var ha=get(it,pn);Ya?it=Xt(it,pn,[]):(!ha||_typeof(ha)!=="object")&&(it=Xt(it,pn,Ut(fa))),Fn(fa).forEach(function(qa){fn([].concat(_toConsumableArray(pn),[qa]),Ea)})}}else it=Xt(it,pn,fa)}fn([])}),it}var $a={},Aa=[],cr=function(Fe){Aa.push(Fe)};function zr(Pe,Fe){if(0)var Re}function co(Pe,Fe){if(0)var Re}function mn(){$a={}}function Bi(Pe,Fe,Re){!Fe&&!$a[Re]&&(Pe(!1,Re),$a[Re]=!0)}function ei(Pe,Fe){Bi(zr,Pe,Fe)}function qr(Pe,Fe){Bi(co,Pe,Fe)}ei.preMessage=cr,ei.resetWarned=mn,ei.noteOnce=qr;var Yo=null,In=function(Fe){return+setTimeout(Fe,16)},va=function(Fe){return clearTimeout(Fe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(In=function(Fe){return window.requestAnimationFrame(Fe)},va=function(Fe){return window.cancelAnimationFrame(Fe)});var Va=0,Un=new Map;function Wr(Pe){Un.delete(Pe)}var _r=function(Fe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Va+=1;var it=Va;function It(fn){if(fn===0)Wr(it),Fe();else{var pn=In(function(){It(fn-1)});Un.set(it,pn)}}return It(Re),it};_r.cancel=function(Pe){var Fe=Un.get(Pe);return Wr(Fe),va(Fe)};var ti=_r;function ni(Pe,Fe,Re,it,It,fn,pn,da){var Ea=re.useRef(Pe),fa=re.useRef(!1);Ea.current!==Pe&&(fa.current=!0,Ea.current=Pe),re.useEffect(function(){var Ya=ti(function(){fa.current=!1});return function(){ti.cancel(Ya)}},[Pe]),re.useEffect(function(){if(Fe&&it&&(!It||fn)){var Ya=function(){var Qo=!1,Po=function(qo){var fo=qo.target;Qo=pn(fo)},Si=function(qo){var fo=qo.target;!fa.current&&Ea.current&&!Qo&&!pn(fo)&&da(!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=yn(it);br.addEventListener("mousedown",za,!0),br.addEventListener("click",pr,!0),br.addEventListener("contextmenu",pr,!0);var er=dn(Re);if(er&&(er.addEventListener("mousedown",So,!0),er.addEventListener("click",Ur,!0),er.addEventListener("contextmenu",Ur,!0)),0)var li,Ko,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))}}},[Fe,Re,it,It,fn])}function ai(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function bl(Pe){return ai(Pe)?Pe:Pe instanceof re.Component?qe.findDOMNode(Pe):null}function yi(Pe,Fe){var Re={};return Re[Pe.toLowerCase()]=Fe.toLowerCase(),Re["Webkit".concat(Pe)]="webkit".concat(Fe),Re["Moz".concat(Pe)]="moz".concat(Fe),Re["ms".concat(Pe)]="MS".concat(Fe),Re["O".concat(Pe)]="o".concat(Fe.toLowerCase()),Re}function Kl(Pe,Fe){var Re={animationend:yi("Animation","AnimationEnd"),transitionend:yi("Transition","TransitionEnd")};return Pe&&("AnimationEvent"in Fe||delete Re.animationend.animation,"TransitionEvent"in Fe||delete Re.transitionend.transition),Re}var $l=Kl(Ke(),typeof window!="undefined"?window:{}),wi={};if(Ke()){var Xo=document.createElement("div");wi=Xo.style}var hl={};function Cl(Pe){if(hl[Pe])return hl[Pe];var Fe=$l[Pe];if(Fe)for(var Re=Object.keys(Fe),it=Re.length,It=0;It<it;It+=1){var fn=Re[It];if(Object.prototype.hasOwnProperty.call(Fe,fn)&&fn in wi)return hl[Pe]=Fe[fn],hl[Pe]}return""}var Fl=Cl("animationend"),tl=Cl("transitionend"),ki=!!(Fl&&tl),pl=Fl||"animationend",kr=tl||"transitionend";function vt(Pe,Fe){if(!Pe)return null;if((0,oe.Z)(Pe)==="object"){var Re=Fe.replace(/-\w/g,function(it){return it[1].toUpperCase()});return Pe[Re]}return"".concat(Pe,"-").concat(Fe)}var Lt="none",qt="appear",Ae="enter",Vt="leave",Dn="none",Ln="prepare",Pt="start",Gt="active",Ot="end";function On(Pe){var Fe=re.useRef(!1),Re=re.useState(Pe),it=(0,Ze.Z)(Re,2),It=it[0],fn=it[1];re.useEffect(function(){return Fe.current=!1,function(){Fe.current=!0}},[]);function pn(da,Ea){Ea&&Fe.current||fn(da)}return[It,pn]}var sa=function(Fe){return+setTimeout(Fe,16)},xa=function(Fe){return clearTimeout(Fe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(sa=function(Fe){return window.requestAnimationFrame(Fe)},xa=function(Fe){return window.cancelAnimationFrame(Fe)});var pa=0,Ia=new Map;function rr(Pe){Ia.delete(Pe)}var En=function(Fe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;pa+=1;var it=pa;function It(fn){if(fn===0)rr(it),Fe();else{var pn=sa(function(){It(fn-1)});Ia.set(it,pn)}}return It(Re),it};En.cancel=function(Pe){var Fe=Ia.get(Pe);return rr(Fe),xa(Fe)};var Nt=En,Sn=function(){var Pe=re.useRef(null);function Fe(){Nt.cancel(Pe.current)}function Re(it){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Fe();var fn=Nt(function(){It<=1?it({isCanceled:function(){return fn!==Pe.current}}):Re(it,It-1)});Pe.current=fn}return re.useEffect(function(){return function(){Fe()}},[]),[Re,Fe]},xn=Ke()?re.useLayoutEffect:re.useEffect,oa=xn,Fa=[Ln,Pt,Gt,Ot],Xa=!1,yr=!0;function sr(Pe){return Pe===Gt||Pe===Ot}var _n=function(Pe,Fe){var Re=On(Dn),it=(0,Ze.Z)(Re,2),It=it[0],fn=it[1],pn=Sn(),da=(0,Ze.Z)(pn,2),Ea=da[0],fa=da[1];function Ya(){fn(Ln,!0)}return oa(function(){if(It!==Dn&&It!==Ot){var ha=Fa.indexOf(It),qa=Fa[ha+1],za=Fe(It);za===Xa?fn(qa,!0):Ea(function(pr){function uo(){pr.isCanceled()||fn(qa,!0)}za===!0?uo():Promise.resolve(za).then(uo)})}},[Pe,It]),re.useEffect(function(){return function(){fa()}},[]),[Ya,It]},ya=function(Pe){var Fe=(0,re.useRef)(),Re=(0,re.useRef)(Pe);Re.current=Pe;var it=re.useCallback(function(pn){Re.current(pn)},[]);function It(pn){pn&&(pn.removeEventListener(kr,it),pn.removeEventListener(pl,it))}function fn(pn){Fe.current&&Fe.current!==pn&&It(Fe.current),pn&&pn!==Fe.current&&(pn.addEventListener(kr,it),pn.addEventListener(pl,it),Fe.current=pn)}return re.useEffect(function(){return function(){It(Fe.current)}},[]),[fn,It]};function Sa(Pe,Fe,Re,it){var It=it.motionEnter,fn=It===void 0?!0:It,pn=it.motionAppear,da=pn===void 0?!0:pn,Ea=it.motionLeave,fa=Ea===void 0?!0:Ea,Ya=it.motionDeadline,ha=it.motionLeaveImmediately,qa=it.onAppearPrepare,za=it.onEnterPrepare,pr=it.onLeavePrepare,uo=it.onAppearStart,eo=it.onEnterStart,So=it.onLeaveStart,Ur=it.onAppearActive,br=it.onEnterActive,er=it.onLeaveActive,li=it.onAppearEnd,Ko=it.onEnterEnd,si=it.onLeaveEnd,pi=it.onVisibleChanged,Ui=On(),Qo=(0,Ze.Z)(Ui,2),Po=Qo[0],Si=Qo[1],Mi=On(Lt),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,re.useRef)(!1),Vi=(0,re.useRef)(null);function Il(){return Re()}var Tl=(0,re.useRef)(!1);function Oo($o){var Mr=Il();if(!($o&&!$o.deadline&&$o.target!==Mr)){var Ti=Tl.current,Dl;fo===qt&&Ti?Dl=li==null?void 0:li(Mr,$o):fo===Ae&&Ti?Dl=Ko==null?void 0:Ko(Mr,$o):fo===Vt&&Ti&&(Dl=si==null?void 0:si(Mr,$o)),fo!==Lt&&Ti&&Dl!==!1&&(zo(Lt,!0),Gi(null,!0))}}var Nl=ya(Oo),Ni=(0,Ze.Z)(Nl,1),Ho=Ni[0],di=re.useMemo(function(){var $o,Mr,Ti;switch(fo){case qt:return $o={},(0,se.Z)($o,Ln,qa),(0,se.Z)($o,Pt,uo),(0,se.Z)($o,Gt,Ur),$o;case Ae:return Mr={},(0,se.Z)(Mr,Ln,za),(0,se.Z)(Mr,Pt,eo),(0,se.Z)(Mr,Gt,br),Mr;case Vt:return Ti={},(0,se.Z)(Ti,Ln,pr),(0,se.Z)(Ti,Pt,So),(0,se.Z)(Ti,Gt,er),Ti;default:return{}}},[fo]),gl=_n(fo,function($o){if($o===Ln){var Mr=di[Ln];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===Gt&&(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,oa(function(){Si(Fe);var $o=ul.current;if(ul.current=!0,!!Pe){var Mr;!$o&&Fe&&da&&(Mr=qt),$o&&Fe&&fn&&(Mr=Ae),($o&&!Fe&&fa||!$o&&ha&&!Fe&&fa)&&(Mr=Vt),Mr&&(zo(Mr),us())}},[Fe]),(0,re.useEffect)(function(){(fo===qt&&!da||fo===Ae&&!fn||fo===Vt&&!fa)&&zo(Lt)},[da,fn,fa]),(0,re.useEffect)(function(){return function(){ul.current=!1,clearTimeout(Vi.current)}},[]);var El=re.useRef(!1);(0,re.useEffect)(function(){Po&&(El.current=!0),Po!==void 0&&fo===Lt&&((El.current||Po)&&(pi==null||pi(Po)),El.current=!0)},[Po,fo]);var Yi=ko;return di[Ln]&&ll===Pt&&(Yi=(0,He.Z)({transition:"none"},Yi)),[fo,ll,Yi,Po!=null?Po:Fe]}var Za=ee(15671),dr=ee(43144),Hr=ee(60136),ro=ee(51630),Eo=function(Pe){(0,Hr.Z)(Re,Pe);var Fe=(0,ro.Z)(Re);function Re(){return(0,Za.Z)(this,Re),Fe.apply(this,arguments)}return(0,dr.Z)(Re,[{key:"render",value:function(){return this.props.children}}]),Re}(re.Component),wo=Eo;function Lo(Pe){var Fe=Pe;(0,oe.Z)(Pe)==="object"&&(Fe=Pe.transitionSupport);function Re(It){return!!(It.motionName&&Fe)}var it=re.forwardRef(function(It,fn){var pn=It.visible,da=pn===void 0?!0:pn,Ea=It.removeOnLeave,fa=Ea===void 0?!0:Ea,Ya=It.forceRender,ha=It.children,qa=It.motionName,za=It.leavedClassName,pr=It.eventProps,uo=Re(It),eo=(0,re.useRef)(),So=(0,re.useRef)();function Ur(){try{return eo.current instanceof HTMLElement?eo.current:bl(So.current)}catch(Gr){return null}}var br=Sa(uo,da,Ur,It),er=(0,Ze.Z)(br,4),li=er[0],Ko=er[1],si=er[2],pi=er[3],Ui=re.useRef(pi);pi&&(Ui.current=!0);var Qo=re.useCallback(function(Gr){eo.current=Gr,fe(fn,Gr)},[fn]),Po,Si=(0,He.Z)((0,He.Z)({},pr),{},{visible:da});if(!ha)Po=null;else if(li===Lt||!Re(It))pi?Po=ha((0,He.Z)({},Si),Qo):!fa&&Ui.current&&za?Po=ha((0,He.Z)((0,He.Z)({},Si),{},{className:za}),Qo):Ya||!fa&&!za?Po=ha((0,He.Z)((0,He.Z)({},Si),{},{style:{display:"none"}}),Qo):Po=null;else{var Mi,qo;Ko===Ln?qo="prepare":sr(Ko)?qo="active":Ko===Pt&&(qo="start"),Po=ha((0,He.Z)((0,He.Z)({},Si),{},{className:Be()(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(re.isValidElement(Po)&&be(Po)){var fo=Po,zo=fo.ref;zo||(Po=re.cloneElement(Po,{ref:Qo}))}return re.createElement(wo,{ref:So},Po)});return it.displayName="CSSMotion",it}var Oi=Lo(ki),xl=ee(97326),Wl="add",Rl="keep",Sl="remove",Li="removed";function is(Pe){var Fe;return Pe&&(0,oe.Z)(Pe)==="object"&&"key"in Pe?Fe=Pe:Fe={key:Pe},(0,He.Z)((0,He.Z)({},Fe),{},{key:String(Fe.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]:[],Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Re=[],it=0,It=Fe.length,fn=Ul(Pe),pn=Ul(Fe);fn.forEach(function(fa){for(var Ya=!1,ha=it;ha<It;ha+=1){var qa=pn[ha];if(qa.key===fa.key){it<ha&&(Re=Re.concat(pn.slice(it,ha).map(function(za){return(0,He.Z)((0,He.Z)({},za),{},{status:Wl})})),it=ha),Re.push((0,He.Z)((0,He.Z)({},qa),{},{status:Rl})),it+=1,Ya=!0;break}}Ya||Re.push((0,He.Z)((0,He.Z)({},fa),{},{status:Sl}))}),it<It&&(Re=Re.concat(pn.slice(it).map(function(fa){return(0,He.Z)((0,He.Z)({},fa),{},{status:Wl})})));var da={};Re.forEach(function(fa){var Ya=fa.key;da[Ya]=(da[Ya]||0)+1});var Ea=Object.keys(da).filter(function(fa){return da[fa]>1});return Ea.forEach(function(fa){Re=Re.filter(function(Ya){var ha=Ya.key,qa=Ya.status;return ha!==fa||qa!==Sl}),Re.forEach(function(Ya){Ya.key===fa&&(Ya.status=Rl)})}),Re}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 Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oi,Re=function(it){(0,Hr.Z)(fn,it);var It=(0,ro.Z)(fn);function fn(){var pn;(0,Za.Z)(this,fn);for(var da=arguments.length,Ea=new Array(da),fa=0;fa<da;fa++)Ea[fa]=arguments[fa];return pn=It.call.apply(It,[this].concat(Ea)),(0,se.Z)((0,xl.Z)(pn),"state",{keyEntities:[]}),(0,se.Z)((0,xl.Z)(pn),"removeKey",function(Ya){var ha=pn.state.keyEntities,qa=ha.map(function(za){return za.key!==Ya?za:(0,He.Z)((0,He.Z)({},za),{},{status:Li})});return pn.setState({keyEntities:qa}),qa.filter(function(za){var pr=za.status;return pr!==Li}).length}),pn}return(0,dr.Z)(fn,[{key:"render",value:function(){var da=this,Ea=this.state.keyEntities,fa=this.props,Ya=fa.component,ha=fa.children,qa=fa.onVisibleChanged,za=fa.onAllRemoved,pr=(0,je.Z)(fa,zs),uo=Ya||re.Fragment,eo={};return Hs.forEach(function(So){eo[So]=pr[So],delete pr[So]}),delete pr.keys,re.createElement(uo,pr,Ea.map(function(So){var Ur=So.status,br=(0,je.Z)(So,kl),er=Ur===Wl||Ur===Rl;return re.createElement(Fe,(0,Te.Z)({},eo,{key:br.key,visible:er,eventProps:br,onVisibleChanged:function(Ko){if(qa==null||qa(Ko,{key:br.key}),!Ko){var si=da.removeKey(br.key);si===0&&za&&za()}}}),ha)}))}}],[{key:"getDerivedStateFromProps",value:function(da,Ea){var fa=da.keys,Ya=Ea.keyEntities,ha=Ul(fa),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)})}}}]),fn}(re.Component);return(0,se.Z)(Re,"defaultProps",{component:"div"}),Re}var Dd=Vl(ki),Ol=Oi;function Gs(Pe){var Fe=Pe.prefixCls,Re=Pe.align,it=Pe.arrow,It=Pe.arrowPos,fn=it||{},pn=fn.className,da=fn.content,Ea=It.x,fa=Ea===void 0?0:Ea,Ya=It.y,ha=Ya===void 0?0:Ya,qa=re.useRef();if(!Re||!Re.points)return null;var za={position:"absolute"};if(Re.autoArrow!==!1){var pr=Re.points[0],uo=Re.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=fa:So==="l"?za.left=0:za.right=0}return re.createElement("div",{ref:qa,className:Be()("".concat(Fe,"-arrow"),pn),style:za},da)}function ps(Pe){var Fe=Pe.prefixCls,Re=Pe.open,it=Pe.zIndex,It=Pe.mask,fn=Pe.motion;return It?re.createElement(Ol,(0,Te.Z)({},fn,{motionAppear:!0,visible:Re,removeOnLeave:!0}),function(pn){var da=pn.className;return re.createElement("div",{style:{zIndex:it},className:Be()("".concat(Fe,"-mask"),da)})}):null}var ad=re.memo(function(Pe){var Fe=Pe.children;return Fe},function(Pe,Fe){return Fe.cache}),bi=ad,Ai=re.forwardRef(function(Pe,Fe){var Re=Pe.popup,it=Pe.className,It=Pe.prefixCls,fn=Pe.style,pn=Pe.target,da=Pe.onVisibleChanged,Ea=Pe.open,fa=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,Ko=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 Re=="function"?Re():Re,ul=Ea||fa,Vi=(br==null?void 0:br.length)>0,Il=re.useState(!br||!Vi),Tl=(0,Ze.Z)(Il,2),Oo=Tl[0],Nl=Tl[1];if(ra(function(){!Oo&&Vi&&pn&&Nl(!0)},[Oo,Vi,pn]),!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"),re.createElement(li,{open:Ur||ul,getContainer:br&&function(){return br(pn)},autoDestroy:er},re.createElement(ps,{prefixCls:It,open:Ea,zIndex:Ko,mask:qa,motion:So}),re.createElement(Ie.Z,{onResize:fo,disabled:!Ea},function(El){return re.createElement(Ol,(0,Te.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ur,leavedClassName:"".concat(It,"-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),da($o)}}),function(Yi,$o){var Mr=Yi.className,Ti=Yi.style,Dl=Be()(It,Mr,it);return re.createElement("div",{ref:Mn(El,Fe,$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:Ko},fn),onMouseEnter:si,onMouseLeave:pi,onPointerEnter:Ui,onClick:ha},za&&re.createElement(Gs,{prefixCls:It,arrow:za,arrowPos:pr,align:uo}),re.createElement(bi,{cache:!Ea&&!Ya},Gi))})}))}),il=Ai,Ds=re.forwardRef(function(Pe,Fe){var Re=Pe.children,it=Pe.getTriggerDOMNode,It=ot(Re),fn=re.useCallback(function(da){ho(Fe,it?it(da):da)},[it]),pn=no(fn,Re.ref);return It?re.cloneElement(Re,{ref:pn}):Re}),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]:ma,Fe=re.forwardRef(function(Re,it){var It=Re.prefixCls,fn=It===void 0?"rc-trigger-popup":It,pn=Re.children,da=Re.action,Ea=da===void 0?"hover":da,fa=Re.showAction,Ya=Re.hideAction,ha=Re.popupVisible,qa=Re.defaultPopupVisible,za=Re.onPopupVisibleChange,pr=Re.afterPopupVisibleChange,uo=Re.mouseEnterDelay,eo=Re.mouseLeaveDelay,So=eo===void 0?.1:eo,Ur=Re.focusDelay,br=Re.blurDelay,er=Re.mask,li=Re.maskClosable,Ko=li===void 0?!0:li,si=Re.getPopupContainer,pi=Re.forceRender,Ui=Re.autoDestroy,Qo=Re.destroyPopupOnHide,Po=Re.popup,Si=Re.popupClassName,Mi=Re.popupStyle,qo=Re.popupPlacement,fo=Re.builtinPlacements,zo=fo===void 0?{}:fo,Gr=Re.popupAlign,Ii=Re.zIndex,ko=Re.stretch,Gi=Re.getPopupClassNameFromAlign,ul=Re.fresh,Vi=Re.alignPoint,Il=Re.onPopupClick,Tl=Re.onPopupAlign,Oo=Re.arrow,Nl=Re.popupMotion,Ni=Re.maskMotion,Ho=Re.popupTransitionName,di=Re.popupAnimation,gl=Re.maskTransitionName,Yl=Re.maskAnimation,us=Re.className,ll=Re.getTriggerDOMNode,Fi=(0,je.Z)(Re,Ci),El=Ui||Qo||!1,Yi=re.useState(!1),$o=(0,Ze.Z)(Yi,2),Mr=$o[0],Ti=$o[1];ra(function(){Ti(ja())},[]);var Dl=re.useRef({}),gs=re.useContext(Tr),xs=re.useMemo(function(){return{registerSubPopup:function(or,Kr){Dl.current[or]=Kr,gs==null||gs.registerSubPopup(or,Kr)}}},[gs]),_l=bn(),Ws=re.useState(null),fd=(0,Ze.Z)(Ws,2),fs=fd[0],Jd=fd[1],es=Ue(function(ta){_e(ta)&&fs!==ta&&Jd(ta),gs==null||gs.registerSubPopup(_l,ta)}),ms=re.useState(null),md=(0,Ze.Z)(ms,2),Ss=md[0],Fd=md[1],Xd=Ue(function(ta){_e(ta)&&Ss!==ta&&Fd(ta)}),vd=re.Children.only(pn),Ql=(vd==null?void 0:vd.props)||{},Us={},qd=Ue(function(ta){var or,Kr,Io=Ss;return(Io==null?void 0:Io.contains(ta))||((or=dn(Io))===null||or===void 0?void 0:or.host)===ta||ta===Io||(fs==null?void 0:fs.contains(ta))||((Kr=dn(fs))===null||Kr===void 0?void 0:Kr.host)===ta||ta===fs||Object.values(Dl.current).some(function(ba){return(ba==null?void 0:ba.contains(ta))||ta===ba})}),Rs=gr(fn,Nl,di,Ho),Zl=gr(fn,Ni,Yl,gl),hd=re.useState(qa||!1),Vs=(0,Ze.Z)(hd,2),Es=Vs[0],Zi=Vs[1],ri=ha!=null?ha:Es,ts=Ue(function(ta){ha===void 0&&Zi(ta)});ra(function(){Zi(ha||!1)},[ha]);var ws=re.useRef(ri);ws.current=ri;var pd=Ue(function(ta){(0,qe.flushSync)(function(){ri!==ta&&(ts(ta),za==null||za(ta))})}),Rd=re.useRef(),Sd=function(){clearTimeout(Rd.current)},vs=function(or){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Sd(),Kr===0?pd(or):Rd.current=setTimeout(function(){pd(or)},Kr*1e3)};re.useEffect(function(){return Sd},[]);var Pd=re.useState(!1),kd=(0,Ze.Z)(Pd,2),ks=kd[0],Od=kd[1];ra(function(ta){(!ta||ri)&&Od(!0)},[ri]);var yd=re.useState(null),Id=(0,Ze.Z)(yd,2),Ls=Id[0],Ys=Id[1],Qs=re.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],ye=Jl[4],De=Jl[5],ke=Jl[6],Je=Jl[7],at=Jl[8],nt=Jl[9],yt=Jl[10],zt=Rr(Mr,Ea,fa,Ya),wt=(0,Ze.Z)(zt,2),on=wt[0],ln=wt[1],vn=on.has("click"),Jn=ln.has("click")||ln.has("contextMenu"),Rn=Ue(function(){ks||yt()}),ea=function(){ws.current&&Vi&&Jn&&vs(!1)};Cn(ri,Ss,fs,Rn,ea),ra(function(){Rn()},[bd,qo]),ra(function(){ri&&!(zo!=null&&zo[qo])&&Rn()},[JSON.stringify(Gr)]);var zn=re.useMemo(function(){var ta=lo(zo,fn,nt,Vi);return Be()(ta,Gi==null?void 0:Gi(nt))},[nt,Gi,zo,fn,Vi]);re.useImperativeHandle(it,function(){return{forceAlign:Rn}});var la=re.useState(0),Ra=(0,Ze.Z)(la,2),Qa=Ra[0],Ba=Ra[1],fr=re.useState(0),Dr=(0,Ze.Z)(fr,2),Pa=Dr[0],Na=Dr[1],ua=function(){if(ko&&Ss){var or=Ss.getBoundingClientRect();Ba(or.width),Na(or.height)}},ia=function(){ua(),Rn()},Da=function(or){Od(!1),yt(),pr==null||pr(or)},Wa=function(){return new Promise(function(or){ua(),Ys(function(){return or})})};ra(function(){Ls&&(yt(),Ls(),Ys(null))},[Ls]);function vr(ta,or,Kr,Io){Us[ta]=function(ba){var Ja;Io==null||Io(ba),vs(or,Kr);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[ta])===null||Ja===void 0||Ja.call.apply(Ja,[Ql,ba].concat(Ua))}}(vn||Jn)&&(Us.onClick=function(ta){var or;ws.current&&Jn?vs(!1):!ws.current&&vn&&(Ps(ta),vs(!0));for(var Kr=arguments.length,Io=new Array(Kr>1?Kr-1:0),ba=1;ba<Kr;ba++)Io[ba-1]=arguments[ba];(or=Ql.onClick)===null||or===void 0||or.call.apply(or,[Ql,ta].concat(Io))}),ni(ri,Jn,Ss,fs,er,Ko,qd,vs);var Er=on.has("hover"),Ha=ln.has("hover"),Or,jr;Er&&(vr("onMouseEnter",!0,uo,function(ta){Ps(ta)}),vr("onPointerEnter",!0,uo,function(ta){Ps(ta)}),Or=function(){(ri||ks)&&vs(!0,uo)},Vi&&(Us.onMouseMove=function(ta){var or;(or=Ql.onMouseMove)===null||or===void 0||or.call(Ql,ta)})),Ha&&(vr("onMouseLeave",!1,So),vr("onPointerLeave",!1,So),jr=function(){vs(!1,So)}),on.has("focus")&&vr("onFocus",!0,Ur),ln.has("focus")&&vr("onBlur",!1,br),on.has("contextMenu")&&(Us.onContextMenu=function(ta){var or;ws.current&&ln.has("contextMenu")?vs(!1):(Ps(ta),vs(!0)),ta.preventDefault();for(var Kr=arguments.length,Io=new Array(Kr>1?Kr-1:0),ba=1;ba<Kr;ba++)Io[ba-1]=arguments[ba];(or=Ql.onContextMenu)===null||or===void 0||or.call.apply(or,[Ql,ta].concat(Io))}),us&&(Us.className=Be()(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(ta){Fi[ta]&&(mo[ta]=function(){for(var or,Kr=arguments.length,Io=new Array(Kr),ba=0;ba<Kr;ba++)Io[ba]=arguments[ba];(or=Bo[ta])===null||or===void 0||or.call.apply(or,[Bo].concat(Io)),Fi[ta].apply(Fi,Io)})});var fi=re.cloneElement(vd,(0,He.Z)((0,He.Z)({},Bo),mo)),Fr={x:De,y:ke},Di=Oo?(0,He.Z)({},Oo!==!0?Oo:{}):null;return re.createElement(re.Fragment,null,re.createElement(Ie.Z,{disabled:!ri,ref:Xd,onResize:ia},re.createElement(Bd,{getTriggerDOMNode:ll},fi)),re.createElement(Tr.Provider,{value:xs},re.createElement(il,{portal:Pe,ref:es,prefixCls:fn,popup:Po,className:Be()(Si,zn),style:Mi,target:Ss,onMouseEnter:Or,onMouseLeave:jr,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:nt,arrow:Di,arrowPos:Fr,ready:Xs,offsetX:de,offsetY:ue,offsetR:he,offsetB:ye,onAlign:Rn,stretch:ko,targetWidth:Qa/Je,targetHeight:Pa/at})))});return Fe}var ql=ss(ma),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(Fe){var Re=Fe.keyCode;if(Fe.altKey&&!Fe.ctrlKey||Fe.metaKey||Re>=Nr.F1&&Re<=Nr.F12)return!1;switch(Re){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(Fe){if(Fe>=Nr.ZERO&&Fe<=Nr.NINE||Fe>=Nr.NUM_ZERO&&Fe<=Nr.NUM_MULTIPLY||Fe>=Nr.A&&Fe<=Nr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Fe===0)return!0;switch(Fe){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,js=ds.TAB;function Bs(Pe){var Fe=Pe.visible,Re=Pe.triggerRef,it=Pe.onVisibleChange,It=Pe.autoFocus,fn=Pe.overlayRef,pn=re.useRef(!1),da=function(){if(Fe){var ha,qa;(ha=Re.current)===null||ha===void 0||(qa=ha.focus)===null||qa===void 0||qa.call(ha),it==null||it(!1)}},Ea=function(){var ha;return(ha=fn.current)!==null&&ha!==void 0&&ha.focus?(fn.current.focus(),pn.current=!0,!0):!1},fa=function(ha){switch(ha.keyCode){case cs:da();break;case js:{var qa=!1;pn.current||(qa=Ea()),qa?ha.preventDefault():da();break}}};re.useEffect(function(){return Fe?(window.addEventListener("keydown",fa),It&&Nt(Ea,3),function(){window.removeEventListener("keydown",fa),pn.current=!1}):function(){pn.current=!1}},[Fe])}var Ks=(0,re.forwardRef)(function(Pe,Fe){var Re=Pe.overlay,it=Pe.arrow,It=Pe.prefixCls,fn=(0,re.useMemo)(function(){var da;return typeof Re=="function"?da=Re():da=Re,da},[Re]),pn=pe(Fe,fn==null?void 0:fn.ref);return re.createElement(re.Fragment,null,it&&re.createElement("div",{className:"".concat(It,"-arrow")}),re.cloneElement(fn,{ref:be(fn)?pn:void 0}))}),Pc=Ks,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,Fe){var Re,it=Pe.arrow,It=it===void 0?!1:it,fn=Pe.prefixCls,pn=fn===void 0?"rc-dropdown":fn,da=Pe.transitionName,Ea=Pe.animation,fa=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,Ko=Pe.autoFocus,si=Pe.overlay,pi=Pe.children,Ui=Pe.onVisibleChange,Qo=(0,je.Z)(Pe,bc),Po=re.useState(),Si=(0,Ze.Z)(Po,2),Mi=Si[0],qo=Si[1],fo="visible"in Pe?br:Mi,zo=re.useRef(null),Gr=re.useRef(null),Ii=re.useRef(null);re.useImperativeHandle(Fe,function(){return zo.current});var ko=function(Ho){qo(Ho),Ui==null||Ui(Ho)};Bs({visible:fo,triggerRef:Ii,onVisibleChange:ko,autoFocus:Ko,overlayRef:Gr});var Gi=function(Ho){var di=Pe.onOverlayClick;qo(!1),di&&di(Ho)},ul=function(){return re.createElement(Pc,{ref:Gr,overlay:si,prefixCls:pn,arrow:It})},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(pn,"-open")},Oo=re.cloneElement(pi,{className:Be()((Re=pi.props)===null||Re===void 0?void 0:Re.className,fo&&Tl()),ref:be(pi)?pe(Ii,pi.ref):void 0}),Nl=eo;return!Nl&&li.indexOf("contextMenu")!==-1&&(Nl=["click"]),re.createElement(ql,(0,Te.Z)({builtinPlacements:za},Qo,{prefixCls:pn,ref:zo,popupClassName:Be()(So,(0,se.Z)({},"".concat(pn,"-show-arrow"),It)),popupStyle:Ur,action:li,showAction:uo,hideAction:Nl,popupPlacement:ha,popupAlign:fa,popupTransitionName:da,popupAnimation:Ea,popupVisible:fo,stretch:Il()?"minWidth":"",popup:Vi(),onPopupVisibleChange:ko,onPopupClick:Gi,getPopupContainer:pr}),Oo)}var cd=re.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:Fe,arrow:Re,prefixCls:it,children:It,trigger:fn,disabled:pn,dropdownRender:da,getPopupContainer:Ea,overlayClassName:fa,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:Ko,direction:si}=re.useContext(Yd.E_),pi=re.useMemo(()=>{const Oo=Ko();return er!==void 0?er:Ur.includes("top")?`${Oo}-slide-down`:`${Oo}-slide-up`},[Ko,Ur,er]),Ui=re.useMemo(()=>Ur?Ur.includes("Center")?Ur.slice(0,Ur.indexOf("Center")):Ur:si==="rtl"?"bottomRight":"bottomLeft",[Ur,si]),Qo=Ko("dropdown",it),[Po,Si]=(0,gd.Z)(Qo),[,Mi]=(0,Lc.Z)(),qo=re.Children.only(It),fo=(0,wc.Tm)(qo,{className:Be()(`${Qo}-trigger`,{[`${Qo}-rtl`]:si==="rtl"},qo.props.className),disabled:pn}),zo=pn?[]:fn;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=Be()(fa,Ya,Si,{[`${Qo}-rtl`]:si==="rtl"}),Vi=(0,sc.Z)({arrowPointAtCenter:typeof Re=="object"&&Re.pointAtCenter,autoAdjustOverflow:So,offset:Mi.marginXXS,arrowWidth:Re?Mi.sizePopupArrow:0,borderRadius:Mi.borderRadius}),Il=re.useCallback(()=>{ko(!1)},[]),Tl=()=>{let Oo;return Fe!=null&&Fe.items?Oo=re.createElement(dc.default,Object.assign({},Fe)):typeof br=="function"?Oo=br():Oo=br,da&&(Oo=da(Oo)),Oo=re.Children.only(typeof Oo=="string"?re.createElement("span",null,Oo):Oo),re.createElement(Md.J,{prefixCls:`${Qo}-menu`,expandIcon:re.createElement("span",{className:`${Qo}-menu-submenu-arrow`},re.createElement(Oe.Z,{className:`${Qo}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Il,validator:Nl=>{let{mode:Ni}=Nl}},Oo)};return Po(re.createElement(ud,Object.assign({alignPoint:Gr},(0,xc.Z)(Pe,["rootClassName"]),{mouseEnterDelay:uo,mouseLeaveDelay:eo,visible:Ii,builtinPlacements:Vi,arrow:!!Re,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=>re.createElement(Nc,Object.assign({},Pe),re.createElement("span",null));od._InternalPanelDoNotUseOrYouWillBeFired=Qd;var Oc=od},85418:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return y}});var re=ee(56153),me=ee(94184),Oe=ee.n(me),ze=ee(67294),Be=ee(25877),Te=ee(71577),se=ee(53124),Ze=ee(93421),je=ee(4173),He=ee(66748),qe=function(a,x){var b={};for(var E in a)Object.prototype.hasOwnProperty.call(a,E)&&x.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,E=Object.getOwnPropertySymbols(a);z<E.length;z++)x.indexOf(E[z])<0&&Object.prototype.propertyIsEnumerable.call(a,E[z])&&(b[E[z]]=a[E[z]]);return b};const Ke=a=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=ze.useContext(se.E_),{prefixCls:z,type:oe="default",danger:ae,disabled:ne,loading:fe,onClick:pe,htmlType:we,children:be,className:xe,menu:Se,arrow:gt,autoFocus:Qe,overlay:Dt,trigger:$e,align:et,open:Tt,onOpenChange:tn,placement:jt,getPopupContainer:pt,href:Zt,icon:nn=ze.createElement(Be.Z,null),title:hn,buttonsRender:We=kn=>kn,mouseEnterDelay:Ct,mouseLeaveDelay:Bt,overlayClassName:Kn,overlayStyle:lt,destroyPopupOnHide:Mt,dropdownRender:Ce}=a,Pn=qe(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Hn=b("dropdown",z),Ca=`${Hn}-button`,[Yn,Qt]=(0,He.Z)(Hn),Ge={menu:Se,arrow:gt,autoFocus:Qe,align:et,disabled:ne,trigger:ne?[]:$e,onOpenChange:tn,getPopupContainer:pt||x,mouseEnterDelay:Ct,mouseLeaveDelay:Bt,overlayClassName:Kn,overlayStyle:lt,destroyPopupOnHide:Mt,dropdownRender:Ce},{compactSize:Me,compactItemClassnames:ft}=(0,je.ri)(Hn,E),Ht=Oe()(Ca,ft,xe,Qt);"overlay"in a&&(Ge.overlay=Dt),"open"in a&&(Ge.open=Tt),"placement"in a?Ge.placement=jt:Ge.placement=E==="rtl"?"bottomLeft":"bottomRight";const an=ze.createElement(Te.ZP,{type:oe,danger:ae,disabled:ne,loading:fe,onClick:pe,htmlType:we,href:Zt,title:hn},be),Rt=ze.createElement(Te.ZP,{type:oe,danger:ae,icon:nn}),[Jt,An]=We([an,Rt]);return Yn(ze.createElement(Ze.Z.Compact,Object.assign({className:Ht,size:Me,block:!0},Pn),Jt,ze.createElement(re.Z,Object.assign({},Ge),An)))};Ke.__ANT_BUTTON=!0;var Ee=Ke;const ce=re.Z;ce.Button=Ee;var y=ce},66748:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return qe}});var re=ee(14747),me=ee(67771),Oe=ee(33297),ze=ee(50438),Be=ee(97414),Te=ee(67968),se=ee(45503),je=Ke=>{const{componentCls:Ee,menuCls:ce,colorError:y,colorTextLightSolid:a}=Ke,x=`${ce}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${ce} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const He=Ke=>{const{componentCls:Ee,menuCls:ce,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:oe,fontSize:ae,dropdownEdgeChildPadding:ne,colorTextDisabled:fe,fontSizeIcon:pe,controlPaddingHorizontal:we,colorBgElevated:be}=Ke;return[{[Ee]:Object.assign(Object.assign({},(0,re.Wf)(Ke)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:pe}},[`${Ee}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:pe},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${Ee}-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${Ee}-placement-bottomLeft,
&${b}-slide-down-appear${b}-slide-down-appear-active${Ee}-placement-bottomLeft,
&${b}-slide-down-enter${b}-slide-down-enter-active${Ee}-placement-bottom,
&${b}-slide-down-appear${b}-slide-down-appear-active${Ee}-placement-bottom,
&${b}-slide-down-enter${b}-slide-down-enter-active${Ee}-placement-bottomRight,
&${b}-slide-down-appear${b}-slide-down-appear-active${Ee}-placement-bottomRight`]:{animationName:me.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Ee}-placement-topLeft,
&${b}-slide-up-appear${b}-slide-up-appear-active${Ee}-placement-topLeft,
&${b}-slide-up-enter${b}-slide-up-enter-active${Ee}-placement-top,
&${b}-slide-up-appear${b}-slide-up-appear-active${Ee}-placement-top,
&${b}-slide-up-enter${b}-slide-up-enter-active${Ee}-placement-topRight,
&${b}-slide-up-appear${b}-slide-up-appear-active${Ee}-placement-topRight`]:{animationName:me.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Ee}-placement-bottomLeft,
&${b}-slide-down-leave${b}-slide-down-leave-active${Ee}-placement-bottom,
&${b}-slide-down-leave${b}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:me.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Ee}-placement-topLeft,
&${b}-slide-up-leave${b}-slide-up-leave-active${Ee}-placement-top,
&${b}-slide-up-leave${b}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:me.ly}})},(0,Be.ZP)(Ke,{colorBg:be,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${ce}`]:{position:"relative",margin:0},[`${ce}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ee}, ${Ee}-menu-submenu`]:{[ce]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:be,backgroundClip:"padding-box",borderRadius:Ke.borderRadiusLG,outline:"none",boxShadow:Ke.boxShadowSecondary},(0,re.Qy)(Ke)),{[`${ce}-item-group-title`]:{padding:`${oe}px ${we}px`,color:Ke.colorTextDescription,transition:`all ${z}`},[`${ce}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ce}-item-icon`]:{minWidth:ae,marginInlineEnd:Ke.marginXS,fontSize:Ke.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:`${oe}px ${we}px`,color:Ke.colorText,fontWeight:"normal",fontSize:ae,lineHeight:Ke.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Ke.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ke.controlItemBgHover}},(0,re.Qy)(Ke)),{"&-selected":{color:Ke.colorPrimary,backgroundColor:Ke.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ke.controlItemBgActiveHover}},"&-disabled":{color:fe,cursor:"not-allowed","&:hover":{color:fe,backgroundColor:be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ke.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Ke.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Ke.paddingXS,[`${Ee}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Ke.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${ce}-item-group-list`]:{margin:`0 ${Ke.marginXS}px`,padding:0,listStyle:"none"},[`${ce}-submenu-title`]:{paddingInlineEnd:we+Ke.fontSizeSM},[`${ce}-submenu-vertical`]:{position:"relative"},[`${ce}-submenu${ce}-submenu-disabled ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:fe,backgroundColor:be,cursor:"not-allowed"}},[`${ce}-submenu-selected ${Ee}-menu-submenu-title`]:{color:Ke.colorPrimary}})}},[(0,me.oN)(Ke,"slide-up"),(0,me.oN)(Ke,"slide-down"),(0,Oe.Fm)(Ke,"move-up"),(0,Oe.Fm)(Ke,"move-down"),(0,ze._y)(Ke,"zoom-big")]]};var qe=(0,Te.Z)("Dropdown",(Ke,Ee)=>{let{rootPrefixCls:ce}=Ee;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:oe,borderRadiusLG:ae}=Ke,ne=(x-b*E)/2,{dropdownArrowOffset:fe}=(0,Be.fS)({contentRadius:ae}),pe=(0,se.TS)(Ke,{menuCls:`${oe}-menu`,rootPrefixCls:ce,dropdownArrowDistance:a/2+y,dropdownArrowOffset:fe,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:z});return[He(pe),je(pe)]},Ke=>({zIndexPopup:Ke.zIndexPopupBase+50}))},25378:function(ht,Et,ee){"use strict";var re=ee(67294),me=ee(14075),Oe=ee(57838),ze=ee(74443);function Be(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,re.useRef)({}),Ze=(0,Oe.Z)(),je=(0,ze.ZP)();return(0,me.Z)(()=>{const He=je.subscribe(qe=>{se.current=qe,Te&&Ze()});return()=>je.unsubscribe(He)},[]),se.current}Et.Z=Be},71322:function(ht,Et,ee){"use strict";ee.d(Et,{D:function(){return E},Z:function(){return ae}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(fe,pe){return me.createElement(Be.Z,(0,re.Z)({},fe,{ref:pe,icon:ze}))},se=me.forwardRef(Te),Ze=ee(22751),je=ee(91034),He=ee(94184),qe=ee.n(He),Ke=ee(10366),ce=ne=>!isNaN(parseFloat(ne))&&isFinite(ne),y=ee(53124),a=ee(84321),x=function(ne,fe){var pe={};for(var we in ne)Object.prototype.hasOwnProperty.call(ne,we)&&fe.indexOf(we)<0&&(pe[we]=ne[we]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,we=Object.getOwnPropertySymbols(ne);be<we.length;be++)fe.indexOf(we[be])<0&&Object.prototype.propertyIsEnumerable.call(ne,we[be])&&(pe[we[be]]=ne[we[be]]);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 ae=me.forwardRef((ne,fe)=>{const{prefixCls:pe,className:we,trigger:be,children:xe,defaultCollapsed:Se=!1,theme:gt="dark",style:Qe={},collapsible:Dt=!1,reverseArrow:$e=!1,width:et=200,collapsedWidth:Tt=80,zeroWidthTriggerStyle:tn,breakpoint:jt,onCollapse:pt,onBreakpoint:Zt}=ne,nn=x(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:hn}=(0,me.useContext)(a.Gs),[We,Ct]=(0,me.useState)("collapsed"in ne?ne.collapsed:Se),[Bt,Kn]=(0,me.useState)(!1);(0,me.useEffect)(()=>{"collapsed"in ne&&Ct(ne.collapsed)},[ne.collapsed]);const lt=(Yn,Qt)=>{"collapsed"in ne||Ct(Yn),pt==null||pt(Yn,Qt)},Mt=(0,me.useRef)();Mt.current=Yn=>{Kn(Yn.matches),Zt==null||Zt(Yn.matches),We!==Yn.matches&&lt(Yn.matches,"responsive")},(0,me.useEffect)(()=>{function Yn(Ge){return Mt.current(Ge)}let Qt;if(typeof window!="undefined"){const{matchMedia:Ge}=window;if(Ge&&jt&&jt in b){Qt=Ge(`(max-width: ${b[jt]})`);try{Qt.addEventListener("change",Yn)}catch(Me){Qt.addListener(Yn)}Yn(Qt)}}return()=>{try{Qt==null||Qt.removeEventListener("change",Yn)}catch(Ge){Qt==null||Qt.removeListener(Yn)}}},[jt]),(0,me.useEffect)(()=>{const Yn=z("ant-sider-");return hn.addSider(Yn),()=>hn.removeSider(Yn)},[]);const Ce=()=>{lt(!We,"clickTrigger")},{getPrefixCls:Pn}=(0,me.useContext)(y.E_),Hn=()=>{const Yn=Pn("layout-sider",pe),Qt=(0,Ke.Z)(nn,["collapsed"]),Ge=We?Tt:et,Me=ce(Ge)?`${Ge}px`:String(Ge),ft=parseFloat(String(Tt||0))===0?me.createElement("span",{onClick:Ce,className:qe()(`${Yn}-zero-width-trigger`,`${Yn}-zero-width-trigger-${$e?"right":"left"}`),style:tn},be||me.createElement(se,null)):null,Rt={expanded:$e?me.createElement(je.Z,null):me.createElement(Ze.Z,null),collapsed:$e?me.createElement(Ze.Z,null):me.createElement(je.Z,null)}[We?"collapsed":"expanded"],Jt=be!==null?ft||me.createElement("div",{className:`${Yn}-trigger`,onClick:Ce,style:{width:Me}},be||Rt):null,An=Object.assign(Object.assign({},Qe),{flex:`0 0 ${Me}`,maxWidth:Me,minWidth:Me,width:Me}),kn=qe()(Yn,`${Yn}-${gt}`,{[`${Yn}-collapsed`]:!!We,[`${Yn}-has-trigger`]:Dt&&be!==null&&!ft,[`${Yn}-below`]:!!Bt,[`${Yn}-zero-width`]:parseFloat(Me)===0},we);return me.createElement("aside",Object.assign({className:kn},Qt,{style:An,ref:fe}),me.createElement("div",{className:`${Yn}-children`},xe),Dt||Bt&&ft?Jt:null)},Ca=me.useMemo(()=>({siderCollapsed:We}),[We]);return me.createElement(E.Provider,{value:Ca},Hn())})},84321:function(ht,Et,ee){"use strict";ee.d(Et,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return Ee},ZP:function(){return oe}});var re=ee(74902),me=ee(94184),Oe=ee.n(me),ze=ee(10366),Be=ee(67294),Te=ee(53124),se=ee(67968),je=ae=>{const{componentCls:ne,bodyBg:fe,lightSiderBg:pe,lightTriggerBg:we,lightTriggerColor:be}=ae;return{[`${ne}-sider-light`]:{background:pe,[`${ne}-sider-trigger`]:{color:be,background:we},[`${ne}-sider-zero-width-trigger`]:{color:be,background:we,border:`1px solid ${fe}`,borderInlineStart:0}}}};const He=ae=>{const{antCls:ne,componentCls:fe,colorText:pe,triggerColor:we,footerBg:be,triggerBg:xe,headerHeight:Se,headerPadding:gt,headerColor:Qe,footerPadding:Dt,triggerHeight:$e,zeroTriggerHeight:et,zeroTriggerWidth:Tt,motionDurationMid:tn,motionDurationSlow:jt,fontSize:pt,borderRadius:Zt,bodyBg:nn,headerBg:hn,siderBg:We}=ae;return{[fe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:nn,"&, *":{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:We,transition:`all ${tn}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:$e},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:$e,color:we,lineHeight:`${$e}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${tn}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Se,insetInlineEnd:-Tt,zIndex:1,width:Tt,height:et,color:we,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:We,borderStartStartRadius:0,borderStartEndRadius:Zt,borderEndEndRadius:Zt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${jt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${jt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Tt,borderStartStartRadius:Zt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Zt}}}}},je(ae)),{"&-rtl":{direction:"rtl"}}),[`${fe}-header`]:{height:Se,padding:gt,color:Qe,lineHeight:`${Se}px`,background:hn,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:Dt,color:pe,fontSize:pt,background:be},[`${fe}-content`]:{flex:"auto",minHeight:0}}};var qe=(0,se.Z)("Layout",ae=>[He(ae)],ae=>{const{colorBgLayout:ne,controlHeight:fe,controlHeightLG:pe,colorText:we,controlHeightSM:be,marginXXS:xe,colorTextLightSolid:Se,colorBgContainer:gt}=ae,Qe=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${Qe}px`,headerColor:we,footerPadding:`${be}px ${Qe}px`,footerBg:ne,siderBg:"#001529",triggerHeight:pe+xe*2,triggerBg:"#002140",triggerColor:Se,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:gt,lightTriggerBg:gt,lightTriggerColor:we}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ke=function(ae,ne){var fe={};for(var pe in ae)Object.prototype.hasOwnProperty.call(ae,pe)&&ne.indexOf(pe)<0&&(fe[pe]=ae[pe]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,pe=Object.getOwnPropertySymbols(ae);we<pe.length;we++)ne.indexOf(pe[we])<0&&Object.prototype.propertyIsEnumerable.call(ae,pe[we])&&(fe[pe[we]]=ae[pe[we]]);return fe};const Ee=Be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ce(ae){let{suffixCls:ne,tagName:fe,displayName:pe}=ae;return we=>Be.forwardRef((xe,Se)=>Be.createElement(we,Object.assign({ref:Se,suffixCls:ne,tagName:fe},xe)))}const y=Be.forwardRef((ae,ne)=>{const{prefixCls:fe,suffixCls:pe,className:we,tagName:be}=ae,xe=Ke(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=Be.useContext(Te.E_),gt=Se("layout",fe),[Qe,Dt]=qe(gt),$e=pe?`${gt}-${pe}`:gt;return Qe(Be.createElement(be,Object.assign({className:Oe()(fe||$e,we,Dt),ref:ne},xe)))}),a=Be.forwardRef((ae,ne)=>{const{direction:fe}=Be.useContext(Te.E_),[pe,we]=Be.useState([]),{prefixCls:be,className:xe,rootClassName:Se,children:gt,hasSider:Qe,tagName:Dt,style:$e}=ae,et=Ke(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Tt=(0,ze.Z)(et,["suffixCls"]),{getPrefixCls:tn,layout:jt}=Be.useContext(Te.E_),pt=tn("layout",be),[Zt,nn]=qe(pt),hn=Oe()(pt,{[`${pt}-has-sider`]:typeof Qe=="boolean"?Qe:pe.length>0,[`${pt}-rtl`]:fe==="rtl"},jt==null?void 0:jt.className,xe,Se,nn),We=Be.useMemo(()=>({siderHook:{addSider:Ct=>{we(Bt=>[].concat((0,re.Z)(Bt),[Ct]))},removeSider:Ct=>{we(Bt=>Bt.filter(Kn=>Kn!==Ct))}}}),[]);return Zt(Be.createElement(Ee.Provider,{value:We},Be.createElement(Dt,Object.assign({ref:ne,className:hn,style:Object.assign(Object.assign({},jt==null?void 0:jt.style),$e)},Tt),gt)))}),x=ce({tagName:"div",displayName:"Layout"})(a),b=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(y),E=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var oe=x},76529:function(ht,Et,ee){"use strict";ee.d(Et,{J:function(){return Te}});var re=ee(67294),me=ee(4173),Oe=ee(60276),ze=function(se,Ze){var je={};for(var He in se)Object.prototype.hasOwnProperty.call(se,He)&&Ze.indexOf(He)<0&&(je[He]=se[He]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,He=Object.getOwnPropertySymbols(se);qe<He.length;qe++)Ze.indexOf(He[qe])<0&&Object.prototype.propertyIsEnumerable.call(se,He[qe])&&(je[He[qe]]=se[He[qe]]);return je};const Be=re.createContext(null),Te=re.forwardRef((se,Ze)=>{const{children:je}=se,He=ze(se,["children"]),qe=re.useContext(Be),Ke=re.useMemo(()=>Object.assign(Object.assign({},qe),He),[qe,He.prefixCls,He.mode,He.selectable]);return re.createElement(Be.Provider,{value:Ke},re.createElement(me.BR,null,(0,Oe.supportNodeRef)(je)?re.cloneElement(je,{ref:Ze}):je))});Et.Z=Be},68508:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return Yn}});var re=ee(52073),me=ee(67294),Oe=ee(71322),ze=ee(94184),Be=ee.n(ze),Te=ee(53124),se=function(Qt,Ge){var Me={};for(var ft in Qt)Object.prototype.hasOwnProperty.call(Qt,ft)&&Ge.indexOf(ft)<0&&(Me[ft]=Qt[ft]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,ft=Object.getOwnPropertySymbols(Qt);Ht<ft.length;Ht++)Ge.indexOf(ft[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Qt,ft[Ht])&&(Me[ft[Ht]]=Qt[ft[Ht]]);return Me},je=Qt=>{const{prefixCls:Ge,className:Me,dashed:ft}=Qt,Ht=se(Qt,["prefixCls","className","dashed"]),{getPrefixCls:an}=me.useContext(Te.E_),Rt=an("menu",Ge),Jt=Be()({[`${Rt}-item-divider-dashed`]:!!ft},Me);return me.createElement(re.iz,Object.assign({className:Jt},Ht))},He=ee(37419),qe=ee(10366),Ke=ee(83062),Ee=ee(96159),y=(0,me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Qt=>{var Ge;const{className:Me,children:ft,icon:Ht,title:an,danger:Rt}=Qt,{prefixCls:Jt,firstLevel:An,direction:kn,disableMenuItemTitleTooltip:ma,inlineCollapsed:Ie}=me.useContext(y),_e=ut=>{const Ft=me.createElement("span",{className:`${Jt}-title-content`},ft);return(!Ht||(0,Ee.l$)(ft)&&ft.type==="span")&&ft&&ut&&An&&typeof ft=="string"?me.createElement("div",{className:`${Jt}-inline-collapsed-noicon`},ft.charAt(0)):Ft},{siderCollapsed:Xn}=me.useContext(Oe.D);let $n=an;typeof an=="undefined"?$n=An?ft:"":an===!1&&($n="");const ct={title:$n};!Xn&&!Ie&&(ct.title=null,ct.open=!1);const dn=(0,He.Z)(ft).length;let Ue=me.createElement(re.ck,Object.assign({},(0,qe.Z)(Qt,["title","icon","danger"]),{className:Be()({[`${Jt}-item-danger`]:Rt,[`${Jt}-item-only-child`]:(Ht?dn+1:dn)===1},Me),title:typeof an=="string"?an:void 0}),(0,Ee.Tm)(Ht,{className:Be()((0,Ee.l$)(Ht)?(Ge=Ht.props)===null||Ge===void 0?void 0:Ge.className:"",`${Jt}-item-icon`)}),_e(Ie));return ma||(Ue=me.createElement(Ke.Z,Object.assign({},ct,{placement:kn==="rtl"?"left":"right",overlayClassName:`${Jt}-inline-collapsed-tooltip`}),Ue)),Ue},E=Qt=>{var Ge;const{popupClassName:Me,icon:ft,title:Ht,theme:an}=Qt,Rt=me.useContext(y),{prefixCls:Jt,inlineCollapsed:An,theme:kn}=Rt,ma=(0,re.Xl)();let Ie;if(!ft)Ie=An&&!ma.length&&Ht&&typeof Ht=="string"?me.createElement("div",{className:`${Jt}-inline-collapsed-noicon`},Ht.charAt(0)):me.createElement("span",{className:`${Jt}-title-content`},Ht);else{const Xn=(0,Ee.l$)(Ht)&&Ht.type==="span";Ie=me.createElement(me.Fragment,null,(0,Ee.Tm)(ft,{className:Be()((0,Ee.l$)(ft)?(Ge=ft.props)===null||Ge===void 0?void 0:Ge.className:"",`${Jt}-item-icon`)}),Xn?Ht:me.createElement("span",{className:`${Jt}-title-content`},Ht))}const _e=me.useMemo(()=>Object.assign(Object.assign({},Rt),{firstLevel:!1}),[Rt]);return me.createElement(y.Provider,{value:_e},me.createElement(re.Wd,Object.assign({},(0,qe.Z)(Qt,["icon"]),{title:Ie,popupClassName:Be()(Jt,Me,`${Jt}-${an||kn}`)})))},z=ee(25877),oe=ee(60276),ae=ee(33603),ne=ee(76529),fe=function(Qt,Ge){var Me={};for(var ft in Qt)Object.prototype.hasOwnProperty.call(Qt,ft)&&Ge.indexOf(ft)<0&&(Me[ft]=Qt[ft]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,ft=Object.getOwnPropertySymbols(Qt);Ht<ft.length;Ht++)Ge.indexOf(ft[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Qt,ft[Ht])&&(Me[ft[Ht]]=Qt[ft[Ht]]);return Me};function pe(Qt){return(Qt||[]).map((Ge,Me)=>{if(Ge&&typeof Ge=="object"){const ft=Ge,{label:Ht,children:an,key:Rt,type:Jt}=ft,An=fe(ft,["label","children","key","type"]),kn=Rt!=null?Rt:`tmp-${Me}`;return an||Jt==="group"?Jt==="group"?me.createElement(re.BW,Object.assign({key:kn},An,{title:Ht}),pe(an)):me.createElement(E,Object.assign({key:kn},An,{title:Ht}),pe(an)):Jt==="divider"?me.createElement(je,Object.assign({key:kn},An)):me.createElement(x,Object.assign({key:kn},An),Ht)}return null}).filter(Ge=>Ge)}function we(Qt){return me.useMemo(()=>Qt&&pe(Qt),[Qt])}var be=ee(84780),xe=ee(14747),Se=ee(33507),gt=ee(67771),Qe=ee(50438),Dt=ee(67968),$e=ee(45503),Tt=Qt=>{const{componentCls:Ge,motionDurationSlow:Me,horizontalLineHeight:ft,colorSplit:Ht,lineWidth:an,lineType:Rt,itemPaddingInline:Jt}=Qt;return{[`${Ge}-horizontal`]:{lineHeight:ft,border:0,borderBottom:`${an}px ${Rt} ${Ht}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ge}-item, ${Ge}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Jt},[`> ${Ge}-item:hover,
> ${Ge}-item-active,
> ${Ge}-submenu ${Ge}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ge}-item, ${Ge}-submenu-title`]:{transition:[`border-color ${Me}`,`background ${Me}`].join(",")},[`${Ge}-submenu-arrow`]:{display:"none"}}}},jt=Qt=>{let{componentCls:Ge,menuArrowOffset:Me}=Qt;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(-${Me})`},"&::after":{transform:`rotate(45deg) translateY(${Me})`}}}}};const pt=Qt=>Object.assign({},(0,xe.oN)(Qt));var nn=(Qt,Ge)=>{const{componentCls:Me,itemColor:ft,itemSelectedColor:Ht,groupTitleColor:an,itemBg:Rt,subMenuItemBg:Jt,itemSelectedBg:An,activeBarHeight:kn,activeBarWidth:ma,activeBarBorderWidth:Ie,motionDurationSlow:_e,motionEaseInOut:Xn,motionEaseOut:$n,itemPaddingInline:ct,motionDurationMid:dn,itemHoverColor:Ue,lineType:ut,colorSplit:Ft,itemDisabledColor:Wt,dangerItemColor:kt,dangerItemHoverColor:bn,dangerItemSelectedColor:aa,dangerItemActiveBg:Vn,dangerItemSelectedBg:Gn,itemHoverBg:Ga,itemActiveBg:ra,menuSubMenuBg:ja,horizontalItemSelectedColor:Pr,horizontalItemSelectedBg:Tr,horizontalItemBorderRadius:Xr,horizontalItemHoverBg:Rr,popupBg:Br}=Qt;return{[`${Me}-${Ge}, ${Me}-${Ge} > ${Me}`]:{color:ft,background:Rt,[`&${Me}-root:focus-visible`]:Object.assign({},pt(Qt)),[`${Me}-item-group-title`]:{color:an},[`${Me}-submenu-selected`]:{[`> ${Me}-submenu-title`]:{color:Ht}},[`${Me}-item-disabled, ${Me}-submenu-disabled`]:{color:`${Wt} !important`},[`${Me}-item:not(${Me}-item-selected):not(${Me}-submenu-selected)`]:{[`&:hover, > ${Me}-submenu-title:hover`]:{color:Ue}},[`&:not(${Me}-horizontal)`]:{[`${Me}-item:not(${Me}-item-selected)`]:{"&:hover":{backgroundColor:Ga},"&:active":{backgroundColor:ra}},[`${Me}-submenu-title`]:{"&:hover":{backgroundColor:Ga},"&:active":{backgroundColor:ra}}},[`${Me}-item-danger`]:{color:kt,[`&${Me}-item:hover`]:{[`&:not(${Me}-item-selected):not(${Me}-submenu-selected)`]:{color:bn}},[`&${Me}-item:active`]:{background:Vn}},[`${Me}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Me}-item-selected`]:{color:Ht,[`&${Me}-item-danger`]:{color:aa},"a, a:hover":{color:"inherit"}},[`& ${Me}-item-selected`]:{backgroundColor:An,[`&${Me}-item-danger`]:{backgroundColor:Gn}},[`${Me}-item, ${Me}-submenu-title`]:{[`&:not(${Me}-item-disabled):focus-visible`]:Object.assign({},pt(Qt))},[`&${Me}-submenu > ${Me}`]:{backgroundColor:ja},[`&${Me}-popup > ${Me}`]:{backgroundColor:Br},[`&${Me}-horizontal`]:Object.assign(Object.assign({},Ge==="dark"?{borderBottom:0}:{}),{[`> ${Me}-item, > ${Me}-submenu`]:{top:Ie,marginTop:-Ie,marginBottom:0,borderRadius:Xr,"&::after":{position:"absolute",insetInline:ct,bottom:0,borderBottom:`${kn}px solid transparent`,transition:`border-color ${_e} ${Xn}`,content:'""'},"&:hover, &-active, &-open":{background:Rr,"&::after":{borderBottomWidth:kn,borderBottomColor:Pr}},"&-selected":{color:Pr,backgroundColor:Tr,"&:hover":{backgroundColor:Tr},"&::after":{borderBottomWidth:kn,borderBottomColor:Pr}}}}),[`&${Me}-root`]:{[`&${Me}-inline, &${Me}-vertical`]:{borderInlineEnd:`${Ie}px ${ut} ${Ft}`}},[`&${Me}-inline`]:{[`${Me}-sub${Me}-inline`]:{background:Jt},[`${Me}-item, ${Me}-submenu-title`]:Ie&&ma?{width:`calc(100% + ${Ie}px)`}:{},[`${Me}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ma}px solid ${Ht}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${dn} ${$n}`,`opacity ${dn} ${$n}`].join(","),content:'""'},[`&${Me}-item-danger`]:{"&::after":{borderInlineEndColor:aa}}},[`${Me}-selected, ${Me}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${dn} ${Xn}`,`opacity ${dn} ${Xn}`].join(",")}}}}}};const hn=Qt=>{const{componentCls:Ge,itemHeight:Me,itemMarginInline:ft,padding:Ht,menuArrowSize:an,marginXS:Rt,itemMarginBlock:Jt}=Qt,An=Ht+an+Rt;return{[`${Ge}-item`]:{position:"relative",overflow:"hidden"},[`${Ge}-item, ${Ge}-submenu-title`]:{height:Me,lineHeight:`${Me}px`,paddingInline:Ht,overflow:"hidden",textOverflow:"ellipsis",marginInline:ft,marginBlock:Jt,width:`calc(100% - ${ft*2}px)`},[`> ${Ge}-item,
> ${Ge}-submenu > ${Ge}-submenu-title`]:{height:Me,lineHeight:`${Me}px`},[`${Ge}-item-group-list ${Ge}-submenu-title,
${Ge}-submenu-title`]:{paddingInlineEnd:An}}};var Ct=Qt=>{const{componentCls:Ge,iconCls:Me,itemHeight:ft,colorTextLightSolid:Ht,dropdownWidth:an,controlHeightLG:Rt,motionDurationMid:Jt,motionEaseOut:An,paddingXL:kn,itemMarginInline:ma,fontSizeLG:Ie,motionDurationSlow:_e,paddingXS:Xn,boxShadowSecondary:$n,collapsedWidth:ct,collapsedIconSize:dn}=Qt,Ue={height:ft,lineHeight:`${ft}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ge]:{"&-inline, &-vertical":Object.assign({[`&${Ge}-root`]:{boxShadow:"none"}},hn(Qt))},[`${Ge}-submenu-popup`]:{[`${Ge}-vertical`]:Object.assign(Object.assign({},hn(Qt)),{boxShadow:$n})}},{[`${Ge}-submenu-popup ${Ge}-vertical${Ge}-sub`]:{minWidth:an,maxHeight:`calc(100vh - ${Rt*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 ${_e}`,`background ${_e}`,`padding ${Jt} ${An}`].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`]:Ue,[`& ${Ge}-item-group-title`]:{paddingInlineStart:kn}},[`${Ge}-item`]:Ue}},{[`${Ge}-inline-collapsed`]:{width:ct,[`&${Ge}-root`]:{[`${Ge}-item, ${Ge}-submenu ${Ge}-submenu-title`]:{[`> ${Ge}-inline-collapsed-noicon`]:{fontSize:Ie,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% - ${Ie/2}px - ${ma}px)`,textOverflow:"clip",[`
${Ge}-submenu-arrow,
${Ge}-submenu-expand-icon
`]:{opacity:0},[`${Ge}-item-icon, ${Me}`]:{margin:0,fontSize:dn,lineHeight:`${ft}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ge}-item-icon, ${Me}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ge}-item-icon, ${Me}`]:{display:"none"},"a, a:hover":{color:Ht}},[`${Ge}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Xn})}}]};const Bt=Qt=>{const{componentCls:Ge,motionDurationSlow:Me,motionDurationMid:ft,motionEaseInOut:Ht,motionEaseOut:an,iconCls:Rt,iconSize:Jt,iconMarginInlineEnd:An}=Qt;return{[`${Ge}-item, ${Ge}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Me}`,`background ${Me}`,`padding ${Me} ${Ht}`].join(","),[`${Ge}-item-icon, ${Rt}`]:{minWidth:Jt,fontSize:Jt,transition:[`font-size ${ft} ${an}`,`margin ${Me} ${Ht}`,`color ${Me}`].join(","),"+ span":{marginInlineStart:An,opacity:1,transition:[`opacity ${Me} ${Ht}`,`margin ${Me}`,`color ${Me}`].join(",")}},[`${Ge}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${Ge}-item-only-child`]:{[`> ${Rt}, > ${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"}}}},Kn=Qt=>{const{componentCls:Ge,motionDurationSlow:Me,motionEaseInOut:ft,borderRadius:Ht,menuArrowSize:an,menuArrowOffset:Rt}=Qt;return{[`${Ge}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Qt.margin,width:an,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Me} ${ft}, opacity ${Me}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:an*.6,height:an*.15,backgroundColor:"currentcolor",borderRadius:Ht,transition:[`background ${Me} ${ft}`,`transform ${Me} ${ft}`,`top ${Me} ${ft}`,`color ${Me} ${ft}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Rt})`},"&::after":{transform:`rotate(-45deg) translateY(${Rt})`}}}}},lt=Qt=>{const{antCls:Ge,componentCls:Me,fontSize:ft,motionDurationSlow:Ht,motionDurationMid:an,motionEaseInOut:Rt,paddingXS:Jt,padding:An,colorSplit:kn,lineWidth:ma,zIndexPopup:Ie,borderRadiusLG:_e,subMenuItemBorderRadius:Xn,menuArrowSize:$n,menuArrowOffset:ct,lineType:dn,menuPanelMaskInset:Ue,groupTitleLineHeight:ut,groupTitleFontSize:Ft}=Qt;return[{"":{[`${Me}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${Me}-submenu-hidden`]:{display:"none"}},{[Me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(Qt)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ft,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ht} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Me}-item`]:{flex:"none"}},[`${Me}-item, ${Me}-submenu, ${Me}-submenu-title`]:{borderRadius:Qt.itemBorderRadius},[`${Me}-item-group-title`]:{padding:`${Jt}px ${An}px`,fontSize:Ft,lineHeight:ut,transition:`all ${Ht}`},[`&-horizontal ${Me}-submenu`]:{transition:[`border-color ${Ht} ${Rt}`,`background ${Ht} ${Rt}`].join(",")},[`${Me}-submenu, ${Me}-submenu-inline`]:{transition:[`border-color ${Ht} ${Rt}`,`background ${Ht} ${Rt}`,`padding ${an} ${Rt}`].join(",")},[`${Me}-submenu ${Me}-sub`]:{cursor:"initial",transition:[`background ${Ht} ${Rt}`,`padding ${Ht} ${Rt}`].join(",")},[`${Me}-title-content`]:{transition:`color ${Ht}`},[`${Me}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Me}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:kn,borderStyle:dn,borderWidth:0,borderTopWidth:ma,marginBlock:ma,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Bt(Qt)),{[`${Me}-item-group`]:{[`${Me}-item-group-list`]:{margin:0,padding:0,[`${Me}-item, ${Me}-submenu-title`]:{paddingInline:`${ft*2}px ${An}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ie,borderRadius:_e,boxShadow:"none",transformOrigin:"0 0",[`&${Me}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ue}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ue},"\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:Qt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Qt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Qt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Qt.paddingXS},[`> ${Me}`]:Object.assign(Object.assign(Object.assign({borderRadius:_e},Bt(Qt)),Kn(Qt)),{[`${Me}-item, ${Me}-submenu > ${Me}-submenu-title`]:{borderRadius:Xn},[`${Me}-submenu-title::after`]:{transition:`transform ${Ht} ${Rt}`}})}}),Kn(Qt)),{[`&-inline-collapsed ${Me}-submenu-arrow,
&-inline ${Me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ct})`},"&::after":{transform:`rotate(45deg) translateX(-${ct})`}},[`${Me}-submenu-open${Me}-submenu-inline > ${Me}-submenu-title > ${Me}-submenu-arrow`]:{transform:`translateY(-${$n*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ct})`},"&::before":{transform:`rotate(45deg) translateX(${ct})`}}})},{[`${Ge}-layout-header`]:{[Me]:{lineHeight:"inherit"}}}]};var Mt=(Qt,Ge)=>(0,Dt.Z)("Menu",ft=>{if(Ge===!1)return[];const{colorBgElevated:Ht,colorPrimary:an,colorTextLightSolid:Rt,controlHeightLG:Jt,fontSize:An,darkItemColor:kn,darkDangerItemColor:ma,darkItemBg:Ie,darkSubMenuItemBg:_e,darkItemSelectedColor:Xn,darkItemSelectedBg:$n,darkDangerItemSelectedBg:ct,darkItemHoverBg:dn,darkGroupTitleColor:Ue,darkItemHoverColor:ut,darkItemDisabledColor:Ft,darkDangerItemHoverColor:Wt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:bn}=ft,aa=An/7*5,Vn=(0,$e.TS)(ft,{menuArrowSize:aa,menuHorizontalHeight:Jt*1.15,menuArrowOffset:`${aa*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ht}),Gn=(0,$e.TS)(Vn,{itemColor:kn,itemHoverColor:ut,groupTitleColor:Ue,itemSelectedColor:Xn,itemBg:Ie,popupBg:Ie,subMenuItemBg:_e,itemActiveBg:"transparent",itemSelectedBg:$n,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:dn,itemDisabledColor:Ft,dangerItemColor:ma,dangerItemHoverColor:Wt,dangerItemSelectedColor:kt,dangerItemActiveBg:bn,dangerItemSelectedBg:ct,menuSubMenuBg:_e,horizontalItemSelectedColor:Rt,horizontalItemSelectedBg:an});return[lt(Vn),Tt(Vn),Ct(Vn),nn(Vn,"light"),nn(Gn,"dark"),jt(Vn),(0,Se.Z)(Vn),(0,gt.oN)(Vn,"slide-up"),(0,gt.oN)(Vn,"slide-down"),(0,Qe._y)(Vn,"zoom-big")]},ft=>{const{colorPrimary:Ht,colorError:an,colorTextDisabled:Rt,colorErrorBg:Jt,colorText:An,colorTextDescription:kn,colorBgContainer:ma,colorFillAlter:Ie,colorFillContent:_e,lineWidth:Xn,lineWidthBold:$n,controlItemBgActive:ct,colorBgTextHover:dn,controlHeightLG:Ue,lineHeight:ut,colorBgElevated:Ft,marginXXS:Wt,padding:kt,fontSize:bn,controlHeightSM:aa,fontSizeLG:Vn,colorTextLightSolid:Gn,colorErrorHover:Ga}=ft,ra=new be.C(Gn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ft.zIndexPopupBase+50,radiusItem:ft.borderRadiusLG,itemBorderRadius:ft.borderRadiusLG,radiusSubMenuItem:ft.borderRadiusSM,subMenuItemBorderRadius:ft.borderRadiusSM,colorItemText:An,itemColor:An,colorItemTextHover:An,itemHoverColor:An,colorItemTextHoverHorizontal:Ht,horizontalItemHoverColor:Ht,colorGroupTitle:kn,groupTitleColor:kn,colorItemTextSelected:Ht,itemSelectedColor:Ht,colorItemTextSelectedHorizontal:Ht,horizontalItemSelectedColor:Ht,colorItemBg:ma,itemBg:ma,colorItemBgHover:dn,itemHoverBg:dn,colorItemBgActive:_e,itemActiveBg:ct,colorSubItemBg:Ie,subMenuItemBg:Ie,colorItemBgSelected:ct,itemSelectedBg:ct,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:$n,activeBarHeight:$n,colorActiveBarBorderSize:Xn,activeBarBorderWidth:Xn,colorItemTextDisabled:Rt,itemDisabledColor:Rt,colorDangerItemText:an,dangerItemColor:an,colorDangerItemTextHover:an,dangerItemHoverColor:an,colorDangerItemTextSelected:an,dangerItemSelectedColor:an,colorDangerItemBgActive:Jt,dangerItemActiveBg:Jt,colorDangerItemBgSelected:Jt,dangerItemSelectedBg:Jt,itemMarginInline:ft.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ue,groupTitleLineHeight:ut,collapsedWidth:Ue*2,popupBg:Ft,itemMarginBlock:Wt,itemPaddingInline:kt,horizontalLineHeight:`${Ue*1.15}px`,iconSize:bn,iconMarginInlineEnd:aa-bn,collapsedIconSize:Vn,groupTitleFontSize:bn,darkItemDisabledColor:new be.C(Gn).setAlpha(.25).toRgbString(),darkItemColor:ra,darkDangerItemColor:an,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Gn,darkItemSelectedBg:Ht,darkDangerItemSelectedBg:an,darkItemHoverBg:"transparent",darkGroupTitleColor:ra,darkItemHoverColor:Gn,darkDangerItemHoverColor:Ga,darkDangerItemSelectedColor:Gn,darkDangerItemActiveBg:an}},{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"]]})(Qt),Ce=function(Qt,Ge){var Me={};for(var ft in Qt)Object.prototype.hasOwnProperty.call(Qt,ft)&&Ge.indexOf(ft)<0&&(Me[ft]=Qt[ft]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,ft=Object.getOwnPropertySymbols(Qt);Ht<ft.length;Ht++)Ge.indexOf(ft[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Qt,ft[Ht])&&(Me[ft[Ht]]=Qt[ft[Ht]]);return Me},Hn=(0,me.forwardRef)((Qt,Ge)=>{var Me,ft;const Ht=me.useContext(ne.Z),an=Ht||{},{getPrefixCls:Rt,getPopupContainer:Jt,direction:An,menu:kn}=me.useContext(Te.E_),ma=Rt(),{prefixCls:Ie,className:_e,style:Xn,theme:$n="light",expandIcon:ct,_internalDisableMenuItemTitleTooltip:dn,inlineCollapsed:Ue,siderCollapsed:ut,items:Ft,children:Wt,rootClassName:kt,mode:bn,selectable:aa,onClick:Vn,overflowedIndicatorPopupClassName:Gn}=Qt,Ga=Ce(Qt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ra=(0,qe.Z)(Ga,["collapsedWidth"]),ja=we(Ft)||Wt;(Me=an.validator)===null||Me===void 0||Me.call(an,{mode:bn});const Pr=(0,oe.useEvent)(function(){var Nn;Vn==null||Vn.apply(void 0,arguments),(Nn=an.onClick)===null||Nn===void 0||Nn.call(an)}),Tr=an.mode||bn,Xr=aa!=null?aa:an.selectable,Rr=me.useMemo(()=>ut!==void 0?ut:Ue,[Ue,ut]),Br={horizontal:{motionName:`${ma}-slide-up`},inline:(0,ae.Z)(ma),other:{motionName:`${ma}-zoom-big`}},to=Rt("menu",Ie||an.prefixCls),[lo,gr]=Mt(to,!Ht),yn=Be()(`${to}-${$n}`,kn==null?void 0:kn.className,_e);let Tn;if(typeof ct=="function")Tn=ct;else if(ct===null||ct===!1)Tn=null;else if(an.expandIcon===null||an.expandIcon===!1)Tn=null;else{const Nn=ct!=null?ct:an.expandIcon;Tn=(0,Ee.Tm)(Nn,{className:Be()(`${to}-submenu-expand-icon`,(0,Ee.l$)(Nn)?(ft=Nn.props)===null||ft===void 0?void 0:ft.className:"")})}const wn=me.useMemo(()=>({prefixCls:to,inlineCollapsed:Rr||!1,direction:An,firstLevel:!0,theme:$n,mode:Tr,disableMenuItemTitleTooltip:dn}),[to,Rr,An,dn,$n]);return lo(me.createElement(ne.Z.Provider,{value:null},me.createElement(y.Provider,{value:wn},me.createElement(re.ZP,Object.assign({getPopupContainer:Jt,overflowedIndicator:me.createElement(z.Z,null),overflowedIndicatorPopupClassName:Be()(to,`${to}-${$n}`,Gn),mode:Tr,selectable:Xr,onClick:Pr},ra,{inlineCollapsed:Rr,style:Object.assign(Object.assign({},kn==null?void 0:kn.style),Xn),className:yn,prefixCls:to,direction:An,defaultMotions:Br,expandIcon:Tn,ref:Ge,rootClassName:Be()(kt,gr)}),ja))))});const Ca=(0,me.forwardRef)((Qt,Ge)=>{const Me=(0,me.useRef)(null),ft=me.useContext(Oe.D);return(0,me.useImperativeHandle)(Ge,()=>({menu:Me.current,focus:Ht=>{var an;(an=Me.current)===null||an===void 0||an.focus(Ht)}})),me.createElement(Hn,Object.assign({ref:Me},Qt,ft))});Ca.Item=x,Ca.SubMenu=E,Ca.Divider=je,Ca.ItemGroup=re.BW;var Yn=Ca},28452:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return ma}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ze=Oe,Be=ee(74643),Te=function(_e,Xn){return me.createElement(Be.Z,(0,re.Z)({},_e,{ref:Xn,icon:ze}))},se=me.forwardRef(Te),Ze=ee(81893),je=ee(22751),He=ee(91034),qe=ee(94184),Ke=ee.n(qe),Ee=ee(4942),ce=ee(1413),y=ee(15671),a=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`,oe="".concat(E," ").concat(z).split(/[\s\n]+/),ae="aria-",ne="data-";function fe(Ie,_e){return Ie.indexOf(_e)===0}function pe(Ie){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xn;_e===!1?Xn={aria:!0,data:!0,attr:!0}:_e===!0?Xn={aria:!0}:Xn=(0,ce.Z)({},_e);var $n={};return Object.keys(Ie).forEach(function(ct){(Xn.aria&&(ct==="role"||fe(ct,ae))||Xn.data&&fe(ct,ne)||Xn.attr&&oe.includes(ct))&&($n[ct]=Ie[ct])}),$n}var we={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},be=we,xe=ee(81626),Se=function(Ie){(0,x.Z)(Xn,Ie);var _e=(0,b.Z)(Xn);function Xn(){var $n;(0,y.Z)(this,Xn);for(var ct=arguments.length,dn=new Array(ct),Ue=0;Ue<ct;Ue++)dn[Ue]=arguments[Ue];return $n=_e.call.apply(_e,[this].concat(dn)),$n.state={goInputText:""},$n.getValidValue=function(){var ut=$n.state.goInputText;return!ut||Number.isNaN(ut)?void 0:Number(ut)},$n.buildOptionText=function(ut){return"".concat(ut," ").concat($n.props.locale.items_per_page)},$n.changeSize=function(ut){$n.props.changeSize(Number(ut))},$n.handleChange=function(ut){$n.setState({goInputText:ut.target.value})},$n.handleBlur=function(ut){var Ft=$n.props,Wt=Ft.goButton,kt=Ft.quickGo,bn=Ft.rootPrefixCls,aa=$n.state.goInputText;Wt||aa===""||($n.setState({goInputText:""}),!(ut.relatedTarget&&(ut.relatedTarget.className.indexOf("".concat(bn,"-item-link"))>=0||ut.relatedTarget.className.indexOf("".concat(bn,"-item"))>=0))&&kt($n.getValidValue()))},$n.go=function(ut){var Ft=$n.state.goInputText;Ft!==""&&(ut.keyCode===be.ENTER||ut.type==="click")&&($n.setState({goInputText:""}),$n.props.quickGo($n.getValidValue()))},$n}return(0,a.Z)(Xn,[{key:"getPageSizeOptions",value:function(){var ct=this.props,dn=ct.pageSize,Ue=ct.pageSizeOptions;return Ue.some(function(ut){return ut.toString()===dn.toString()})?Ue:Ue.concat([dn.toString()]).sort(function(ut,Ft){var Wt=Number.isNaN(Number(ut))?0:Number(ut),kt=Number.isNaN(Number(Ft))?0:Number(Ft);return Wt-kt})}},{key:"render",value:function(){var ct=this,dn=this.props,Ue=dn.pageSize,ut=dn.locale,Ft=dn.rootPrefixCls,Wt=dn.changeSize,kt=dn.quickGo,bn=dn.goButton,aa=dn.selectComponentClass,Vn=dn.buildOptionText,Gn=dn.selectPrefixCls,Ga=dn.disabled,ra=this.state.goInputText,ja="".concat(Ft,"-options"),Pr=aa,Tr=null,Xr=null,Rr=null;if(!Wt&&!kt)return null;var Br=this.getPageSizeOptions();if(Wt&&Pr){var to=Br.map(function(lo,gr){return me.createElement(Pr.Option,{key:gr,value:lo.toString()},(Vn||ct.buildOptionText)(lo))});Tr=me.createElement(Pr,{disabled:Ga,prefixCls:Gn,showSearch:!1,className:"".concat(ja,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ue||Br[0]).toString(),onChange:this.changeSize,getPopupContainer:function(gr){return gr.parentNode},"aria-label":ut.page_size,defaultOpen:!1},to)}return kt&&(bn&&(Rr=typeof bn=="boolean"?me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ga,className:"".concat(ja,"-quick-jumper-button")},ut.jump_to_confirm):me.createElement("span",{onClick:this.go,onKeyUp:this.go},bn)),Xr=me.createElement("div",{className:"".concat(ja,"-quick-jumper")},ut.jump_to,me.createElement("input",{disabled:Ga,type:"text",value:ra,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ut.page}),ut.page,Rr)),me.createElement("li",{className:"".concat(ja)},Tr,Xr)}}]),Xn}(me.Component);Se.defaultProps={pageSizeOptions:["10","20","50","100"]};var gt=Se,Qe=function(_e){var Xn,$n=_e.rootPrefixCls,ct=_e.page,dn=_e.active,Ue=_e.className,ut=_e.showTitle,Ft=_e.onClick,Wt=_e.onKeyPress,kt=_e.itemRender,bn="".concat($n,"-item"),aa=Ke()(bn,"".concat(bn,"-").concat(ct),(Xn={},(0,Ee.Z)(Xn,"".concat(bn,"-active"),dn),(0,Ee.Z)(Xn,"".concat(bn,"-disabled"),!ct),(0,Ee.Z)(Xn,_e.className,Ue),Xn)),Vn=function(){Ft(ct)},Gn=function(ja){Wt(ja,Ft,ct)},Ga=kt(ct,"page",me.createElement("a",{rel:"nofollow"},ct));return Ga?me.createElement("li",{title:ut?ct.toString():null,className:aa,onClick:Vn,onKeyPress:Gn,tabIndex:0},Ga):null},Dt=Qe;function $e(){}function et(Ie){var _e=Number(Ie);return typeof _e=="number"&&!Number.isNaN(_e)&&isFinite(_e)&&Math.floor(_e)===_e}var Tt=function(_e,Xn,$n){return $n};function tn(Ie,_e,Xn){var $n=typeof Ie=="undefined"?_e.pageSize:Ie;return Math.floor((Xn.total-1)/$n)+1}var jt=function(Ie){(0,x.Z)(Xn,Ie);var _e=(0,b.Z)(Xn);function Xn($n){var ct;(0,y.Z)(this,Xn),ct=_e.call(this,$n),ct.paginationNode=me.createRef(),ct.getJumpPrevPage=function(){return Math.max(1,ct.state.current-(ct.props.showLessItems?3:5))},ct.getJumpNextPage=function(){return Math.min(tn(void 0,ct.state,ct.props),ct.state.current+(ct.props.showLessItems?3:5))},ct.getItemIcon=function(Wt,kt){var bn=ct.props.prefixCls,aa=Wt||me.createElement("button",{type:"button","aria-label":kt,className:"".concat(bn,"-item-link")});return typeof Wt=="function"&&(aa=me.createElement(Wt,(0,ce.Z)({},ct.props))),aa},ct.isValid=function(Wt){var kt=ct.props.total;return et(Wt)&&Wt!==ct.state.current&&et(kt)&&kt>0},ct.shouldDisplayQuickJumper=function(){var Wt=ct.props,kt=Wt.showQuickJumper,bn=Wt.total,aa=ct.state.pageSize;return bn<=aa?!1:kt},ct.handleKeyDown=function(Wt){(Wt.keyCode===be.ARROW_UP||Wt.keyCode===be.ARROW_DOWN)&&Wt.preventDefault()},ct.handleKeyUp=function(Wt){var kt=ct.getValidValue(Wt),bn=ct.state.currentInputValue;kt!==bn&&ct.setState({currentInputValue:kt}),Wt.keyCode===be.ENTER?ct.handleChange(kt):Wt.keyCode===be.ARROW_UP?ct.handleChange(kt-1):Wt.keyCode===be.ARROW_DOWN&&ct.handleChange(kt+1)},ct.handleBlur=function(Wt){var kt=ct.getValidValue(Wt);ct.handleChange(kt)},ct.changePageSize=function(Wt){var kt=ct.state.current,bn=tn(Wt,ct.state,ct.props);kt=kt>bn?bn:kt,bn===0&&(kt=ct.state.current),typeof Wt=="number"&&("pageSize"in ct.props||ct.setState({pageSize:Wt}),"current"in ct.props||ct.setState({current:kt,currentInputValue:kt})),ct.props.onShowSizeChange(kt,Wt),"onChange"in ct.props&&ct.props.onChange&&ct.props.onChange(kt,Wt)},ct.handleChange=function(Wt){var kt=ct.props,bn=kt.disabled,aa=kt.onChange,Vn=ct.state,Gn=Vn.pageSize,Ga=Vn.current,ra=Vn.currentInputValue;if(ct.isValid(Wt)&&!bn){var ja=tn(void 0,ct.state,ct.props),Pr=Wt;return Wt>ja?Pr=ja:Wt<1&&(Pr=1),"current"in ct.props||ct.setState({current:Pr}),Pr!==ra&&ct.setState({currentInputValue:Pr}),aa(Pr,Gn),Pr}return Ga},ct.prev=function(){ct.hasPrev()&&ct.handleChange(ct.state.current-1)},ct.next=function(){ct.hasNext()&&ct.handleChange(ct.state.current+1)},ct.jumpPrev=function(){ct.handleChange(ct.getJumpPrevPage())},ct.jumpNext=function(){ct.handleChange(ct.getJumpNextPage())},ct.hasPrev=function(){return ct.state.current>1},ct.hasNext=function(){return ct.state.current<tn(void 0,ct.state,ct.props)},ct.runIfEnter=function(Wt,kt){if(Wt.key==="Enter"||Wt.charCode===13){for(var bn=arguments.length,aa=new Array(bn>2?bn-2:0),Vn=2;Vn<bn;Vn++)aa[Vn-2]=arguments[Vn];kt.apply(void 0,aa)}},ct.runIfEnterPrev=function(Wt){ct.runIfEnter(Wt,ct.prev)},ct.runIfEnterNext=function(Wt){ct.runIfEnter(Wt,ct.next)},ct.runIfEnterJumpPrev=function(Wt){ct.runIfEnter(Wt,ct.jumpPrev)},ct.runIfEnterJumpNext=function(Wt){ct.runIfEnter(Wt,ct.jumpNext)},ct.handleGoTO=function(Wt){(Wt.keyCode===be.ENTER||Wt.type==="click")&&ct.handleChange(ct.state.currentInputValue)},ct.renderPrev=function(Wt){var kt=ct.props,bn=kt.prevIcon,aa=kt.itemRender,Vn=aa(Wt,"prev",ct.getItemIcon(bn,"prev page")),Gn=!ct.hasPrev();return(0,me.isValidElement)(Vn)?(0,me.cloneElement)(Vn,{disabled:Gn}):Vn},ct.renderNext=function(Wt){var kt=ct.props,bn=kt.nextIcon,aa=kt.itemRender,Vn=aa(Wt,"next",ct.getItemIcon(bn,"next page")),Gn=!ct.hasNext();return(0,me.isValidElement)(Vn)?(0,me.cloneElement)(Vn,{disabled:Gn}):Vn};var dn=$n.onChange!==$e,Ue="current"in $n;Ue&&!dn&&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=$n.defaultCurrent;"current"in $n&&(ut=$n.current);var Ft=$n.defaultPageSize;return"pageSize"in $n&&(Ft=$n.pageSize),ut=Math.min(ut,tn(Ft,void 0,$n)),ct.state={current:ut,currentInputValue:ut,pageSize:Ft},ct}return(0,a.Z)(Xn,[{key:"componentDidUpdate",value:function(ct,dn){var Ue=this.props.prefixCls;if(dn.current!==this.state.current&&this.paginationNode.current){var ut=this.paginationNode.current.querySelector(".".concat(Ue,"-item-").concat(dn.current));if(ut&&document.activeElement===ut){var Ft;ut==null||(Ft=ut.blur)===null||Ft===void 0||Ft.call(ut)}}}},{key:"getValidValue",value:function(ct){var dn=ct.target.value,Ue=tn(void 0,this.state,this.props),ut=this.state.currentInputValue,Ft;return dn===""?Ft=dn:Number.isNaN(Number(dn))?Ft=ut:dn>=Ue?Ft=Ue:Ft=Number(dn),Ft}},{key:"getShowSizeChanger",value:function(){var ct=this.props,dn=ct.showSizeChanger,Ue=ct.total,ut=ct.totalBoundaryShowSizeChanger;return typeof dn!="undefined"?dn:Ue>ut}},{key:"render",value:function(){var ct=this.props,dn=ct.prefixCls,Ue=ct.className,ut=ct.style,Ft=ct.disabled,Wt=ct.hideOnSinglePage,kt=ct.total,bn=ct.locale,aa=ct.showQuickJumper,Vn=ct.showLessItems,Gn=ct.showTitle,Ga=ct.showTotal,ra=ct.simple,ja=ct.itemRender,Pr=ct.showPrevNextJumpers,Tr=ct.jumpPrevIcon,Xr=ct.jumpNextIcon,Rr=ct.selectComponentClass,Br=ct.selectPrefixCls,to=ct.pageSizeOptions,lo=this.state,gr=lo.current,yn=lo.pageSize,Tn=lo.currentInputValue;if(Wt===!0&&kt<=yn)return null;var wn=tn(void 0,this.state,this.props),Nn=[],Oa=null,Ar=null,Zn=null,tt=null,st=null,Ve=aa&&aa.goButton,Kt=Vn?1:2,Cn=gr-1>0?gr-1:0,Qn=gr+1<wn?gr+1:wn,Ka=pe(this.props,{aria:!0,data:!0}),ca=Ga&&me.createElement("li",{className:"".concat(dn,"-total-text")},Ga(kt,[kt===0?0:(gr-1)*yn+1,gr*yn>kt?kt:gr*yn]));if(ra){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:Gn?"".concat(bn.jump_to).concat(gr,"/").concat(wn):null,className:"".concat(dn,"-simple-pager")},st));var Wn=this.renderPrev(Cn);return me.createElement("ul",(0,re.Z)({className:Ke()(dn,"".concat(dn,"-simple"),(0,Ee.Z)({},"".concat(dn,"-disabled"),Ft),Ue),style:ut,ref:this.paginationNode},Ka),ca,Wn?me.createElement("li",{title:Gn?bn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ke()("".concat(dn,"-prev"),(0,Ee.Z)({},"".concat(dn,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Wn):null,me.createElement("li",{title:Gn?"".concat(gr,"/").concat(wn):null,className:"".concat(dn,"-simple-pager")},me.createElement("input",{type:"text",value:Tn,disabled:Ft,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),me.createElement("span",{className:"".concat(dn,"-slash")},"/"),wn),me.createElement("li",{title:Gn?bn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ke()("".concat(dn,"-next"),(0,Ee.Z)({},"".concat(dn,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Qn)),st)}if(wn<=3+Kt*2){var Ma={locale:bn,rootPrefixCls:dn,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Gn,itemRender:ja};wn||Nn.push(me.createElement(Dt,(0,re.Z)({},Ma,{key:"noPager",page:1,className:"".concat(dn,"-item-disabled")})));for(var ho=1;ho<=wn;ho+=1){var Mn=gr===ho;Nn.push(me.createElement(Dt,(0,re.Z)({},Ma,{key:ho,page:ho,active:Mn})))}}else{var no=Vn?bn.prev_3:bn.prev_5,ot=Vn?bn.next_3:bn.next_5,_t=ja(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Tr,"prev page")),$t=ja(this.getJumpNextPage(),"jump-next",this.getItemIcon(Xr,"next page"));Pr&&(Oa=_t?me.createElement("li",{title:Gn?no:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ke()("".concat(dn,"-jump-prev"),(0,Ee.Z)({},"".concat(dn,"-jump-prev-custom-icon"),!!Tr))},_t):null,Ar=$t?me.createElement("li",{title:Gn?ot:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ke()("".concat(dn,"-jump-next"),(0,Ee.Z)({},"".concat(dn,"-jump-next-custom-icon"),!!Xr))},$t):null),tt=me.createElement(Dt,{locale:bn,last:!0,rootPrefixCls:dn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:wn,page:wn,active:!1,showTitle:Gn,itemRender:ja}),Zn=me.createElement(Dt,{locale:bn,rootPrefixCls:dn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Gn,itemRender:ja});var Xt=Math.max(1,gr-Kt),jn=Math.min(gr+Kt,wn);gr-1<=Kt&&(jn=1+Kt*2),wn-gr<=Kt&&(Xt=wn-Kt*2);for(var Ut=Xt;Ut<=jn;Ut+=1){var Fn=gr===Ut;Nn.push(me.createElement(Dt,{locale:bn,rootPrefixCls:dn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ut,page:Ut,active:Fn,showTitle:Gn,itemRender:ja}))}gr-1>=Kt*2&&gr!==3&&(Nn[0]=(0,me.cloneElement)(Nn[0],{className:"".concat(dn,"-item-after-jump-prev")}),Nn.unshift(Oa)),wn-gr>=Kt*2&&gr!==wn-2&&(Nn[Nn.length-1]=(0,me.cloneElement)(Nn[Nn.length-1],{className:"".concat(dn,"-item-before-jump-next")}),Nn.push(Ar)),Xt!==1&&Nn.unshift(Zn),jn!==wn&&Nn.push(tt)}var un=!this.hasPrev()||!wn,$a=!this.hasNext()||!wn,Aa=this.renderPrev(Cn),cr=this.renderNext(Qn);return me.createElement("ul",(0,re.Z)({className:Ke()(dn,Ue,(0,Ee.Z)({},"".concat(dn,"-disabled"),Ft)),style:ut,ref:this.paginationNode},Ka),ca,Aa?me.createElement("li",{title:Gn?bn.prev_page:null,onClick:this.prev,tabIndex:un?null:0,onKeyPress:this.runIfEnterPrev,className:Ke()("".concat(dn,"-prev"),(0,Ee.Z)({},"".concat(dn,"-disabled"),un)),"aria-disabled":un},Aa):null,Nn,cr?me.createElement("li",{title:Gn?bn.next_page:null,onClick:this.next,tabIndex:$a?null:0,onKeyPress:this.runIfEnterNext,className:Ke()("".concat(dn,"-next"),(0,Ee.Z)({},"".concat(dn,"-disabled"),$a)),"aria-disabled":$a},cr):null,me.createElement(gt,{disabled:Ft,locale:bn,rootPrefixCls:dn,selectComponentClass:Rr,selectPrefixCls:Br,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:gr,pageSize:yn,pageSizeOptions:to,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ve}))}}],[{key:"getDerivedStateFromProps",value:function(ct,dn){var Ue={};if("current"in ct&&(Ue.current=ct.current,ct.current!==dn.current&&(Ue.currentInputValue=Ue.current)),"pageSize"in ct&&ct.pageSize!==dn.pageSize){var ut=dn.current,Ft=tn(ct.pageSize,dn,ct);ut=ut>Ft?Ft:ut,"current"in ct||(Ue.current=ut,Ue.currentInputValue=ut),Ue.pageSize=ct.pageSize}return Ue}}]),Xn}(me.Component);jt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:$e,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:$e,locale:xe.Z,style:{},itemRender:Tt,totalBoundaryShowSizeChanger:50};var pt=jt,Zt=ee(62906),nn=ee(53124),hn=ee(98675),We=ee(25378),Ct=ee(10110),Bt=ee(42563);const Kn=Ie=>me.createElement(Bt.default,Object.assign({},Ie,{showSearch:!0,size:"small"})),lt=Ie=>me.createElement(Bt.default,Object.assign({},Ie,{showSearch:!0,size:"middle"}));Kn.Option=Bt.default.Option,lt.Option=Bt.default.Option;var Mt=ee(47673),Ce=ee(14747),Pn=ee(67968),Hn=ee(45503);const Ca=Ie=>{const{componentCls:_e}=Ie;return{[`${_e}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${_e}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${_e}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"}}},[`&${_e}-disabled`]:{cursor:"not-allowed",[`${_e}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ie.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ie.colorBorder,backgroundColor:Ie.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ie.itemActiveBgDisabled},a:{color:Ie.itemActiveColorDisabled}}},[`${_e}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${_e}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${_e}-simple-pager`]:{color:Ie.colorTextDisabled},[`${_e}-jump-prev, ${_e}-jump-next`]:{[`${_e}-item-link-icon`]:{opacity:0},[`${_e}-item-ellipsis`]:{opacity:1}}},[`&${_e}-simple`]:{[`${_e}-prev, ${_e}-next`]:{[`&${_e}-disabled ${_e}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Yn=Ie=>{const{componentCls:_e}=Ie;return{[`&${_e}-mini ${_e}-total-text, &${_e}-mini ${_e}-simple-pager`]:{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`},[`&${_e}-mini ${_e}-item`]:{minWidth:Ie.itemSizeSM,height:Ie.itemSizeSM,margin:0,lineHeight:`${Ie.itemSizeSM-2}px`},[`&${_e}-mini:not(${_e}-disabled) ${_e}-item:not(${_e}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ie.colorBgTextHover},"&:active":{backgroundColor:Ie.colorBgTextActive}},[`&${_e}-mini ${_e}-prev, &${_e}-mini ${_e}-next`]:{minWidth:Ie.itemSizeSM,height:Ie.itemSizeSM,margin:0,lineHeight:`${Ie.itemSizeSM}px`},[`&${_e}-mini:not(${_e}-disabled)`]:{[`${_e}-prev, ${_e}-next`]:{[`&:hover ${_e}-item-link`]:{backgroundColor:Ie.colorBgTextHover},[`&:active ${_e}-item-link`]:{backgroundColor:Ie.colorBgTextActive},[`&${_e}-disabled:hover ${_e}-item-link`]:{backgroundColor:"transparent"}}},[`
&${_e}-mini ${_e}-prev ${_e}-item-link,
&${_e}-mini ${_e}-next ${_e}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`}},[`&${_e}-mini ${_e}-jump-prev, &${_e}-mini ${_e}-jump-next`]:{height:Ie.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ie.itemSizeSM}px`},[`&${_e}-mini ${_e}-options`]:{marginInlineStart:Ie.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ie.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Mt.x0)(Ie)),{width:Ie.paginationMiniQuickJumperInputWidth,height:Ie.controlHeightSM})}}}},Qt=Ie=>{const{componentCls:_e}=Ie;return{[`
&${_e}-simple ${_e}-prev,
&${_e}-simple ${_e}-next
`]:{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`,verticalAlign:"top",[`${_e}-item-link`]:{height:Ie.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ie.colorBgTextHover},"&:active":{backgroundColor:Ie.colorBgTextActive},"&::after":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`}}},[`&${_e}-simple ${_e}-simple-pager`]:{display:"inline-block",height:Ie.itemSizeSM,marginInlineEnd:Ie.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ie.marginXS,padding:`0 ${Ie.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ie.itemInputBg,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,borderRadius:Ie.borderRadius,outline:"none",transition:`border-color ${Ie.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ie.colorPrimary},"&:focus":{borderColor:Ie.colorPrimaryHover,boxShadow:`${Ie.inputOutlineOffset}px 0 ${Ie.controlOutlineWidth}px ${Ie.controlOutline}`},"&[disabled]":{color:Ie.colorTextDisabled,backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,cursor:"not-allowed"}}}}},Ge=Ie=>{const{componentCls:_e}=Ie;return{[`${_e}-jump-prev, ${_e}-jump-next`]:{outline:0,[`${_e}-item-container`]:{position:"relative",[`${_e}-item-link-icon`]:{color:Ie.colorPrimary,fontSize:Ie.fontSizeSM,opacity:0,transition:`all ${Ie.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${_e}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ie.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ie.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ie.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ie.motionDurationMid}`}},"&:hover":{[`${_e}-item-link-icon`]:{opacity:1},[`${_e}-item-ellipsis`]:{opacity:0}}},[`
${_e}-prev,
${_e}-jump-prev,
${_e}-jump-next
`]:{marginInlineEnd:Ie.marginXS},[`
${_e}-prev,
${_e}-next,
${_e}-jump-prev,
${_e}-jump-next
`]:{display:"inline-block",minWidth:Ie.itemSize,height:Ie.itemSize,color:Ie.colorText,fontFamily:Ie.fontFamily,lineHeight:`${Ie.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ie.borderRadius,cursor:"pointer",transition:`all ${Ie.motionDurationMid}`},[`${_e}-prev, ${_e}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ie.colorText,cursor:"pointer",userSelect:"none"},[`${_e}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ie.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ie.lineWidth}px ${Ie.lineType} transparent`,borderRadius:Ie.borderRadius,outline:"none",transition:`all ${Ie.motionDurationMid}`},[`&:hover ${_e}-item-link`]:{backgroundColor:Ie.colorBgTextHover},[`&:active ${_e}-item-link`]:{backgroundColor:Ie.colorBgTextActive},[`&${_e}-disabled:hover`]:{[`${_e}-item-link`]:{backgroundColor:"transparent"}}},[`${_e}-slash`]:{marginInlineEnd:Ie.paginationSlashMarginInlineEnd,marginInlineStart:Ie.paginationSlashMarginInlineStart},[`${_e}-options`]:{display:"inline-block",marginInlineStart:Ie.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ie.controlHeight,marginInlineStart:Ie.marginXS,lineHeight:`${Ie.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Mt.ik)(Ie)),{width:Ie.controlHeightLG*1.25,height:Ie.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ie.marginXS,marginInlineEnd:Ie.marginXS})}}}},Me=Ie=>{const{componentCls:_e}=Ie;return{[`${_e}-item`]:{display:"inline-block",minWidth:Ie.itemSize,height:Ie.itemSize,marginInlineEnd:Ie.marginXS,fontFamily:Ie.fontFamily,lineHeight:`${Ie.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ie.lineWidth}px ${Ie.lineType} transparent`,borderRadius:Ie.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ie.paginationItemPaddingInline}px`,color:Ie.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${_e}-item-active)`]:{"&:hover":{transition:`all ${Ie.motionDurationMid}`,backgroundColor:Ie.colorBgTextHover},"&:active":{backgroundColor:Ie.colorBgTextActive}},"&-active":{fontWeight:Ie.fontWeightStrong,backgroundColor:Ie.itemActiveBg,borderColor:Ie.colorPrimary,a:{color:Ie.colorPrimary},"&:hover":{borderColor:Ie.colorPrimaryHover},"&:hover a":{color:Ie.colorPrimaryHover}}}}},ft=Ie=>{const{componentCls:_e}=Ie;return{[_e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(Ie)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${_e}-total-text`]:{display:"inline-block",height:Ie.itemSize,marginInlineEnd:Ie.marginXS,lineHeight:`${Ie.itemSize-2}px`,verticalAlign:"middle"}}),Me(Ie)),Ge(Ie)),Qt(Ie)),Yn(Ie)),Ca(Ie)),{[`@media only screen and (max-width: ${Ie.screenLG}px)`]:{[`${_e}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ie.screenSM}px)`]:{[`${_e}-options`]:{display:"none"}}}),[`&${Ie.componentCls}-rtl`]:{direction:"rtl"}}},Ht=Ie=>{const{componentCls:_e}=Ie;return{[`${_e}${_e}-disabled:not(${_e}-mini)`]:{"&, &:hover":{[`${_e}-item-link`]:{borderColor:Ie.colorBorder}},"&:focus-visible":{[`${_e}-item-link`]:{borderColor:Ie.colorBorder}},[`${_e}-item, ${_e}-item-link`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,[`&:hover:not(${_e}-item-active)`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,a:{color:Ie.colorTextDisabled}},[`&${_e}-item-active`]:{backgroundColor:Ie.itemActiveBgDisabled}},[`${_e}-prev, ${_e}-next`]:{"&:hover button":{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,color:Ie.colorTextDisabled},[`${_e}-item-link`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder}}},[`${_e}:not(${_e}-mini)`]:{[`${_e}-prev, ${_e}-next`]:{"&:hover button":{borderColor:Ie.colorPrimaryHover,backgroundColor:Ie.itemBg},[`${_e}-item-link`]:{backgroundColor:Ie.itemLinkBg,borderColor:Ie.colorBorder},[`&:hover ${_e}-item-link`]:{borderColor:Ie.colorPrimary,backgroundColor:Ie.itemBg,color:Ie.colorPrimary},[`&${_e}-disabled`]:{[`${_e}-item-link`]:{borderColor:Ie.colorBorder,color:Ie.colorTextDisabled}}},[`${_e}-item`]:{backgroundColor:Ie.itemBg,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,[`&:hover:not(${_e}-item-active)`]:{borderColor:Ie.colorPrimary,backgroundColor:Ie.itemBg,a:{color:Ie.colorPrimary}},"&-active":{borderColor:Ie.colorPrimary}}}}},an=Ie=>{const{componentCls:_e}=Ie;return{[`${_e}:not(${_e}-disabled)`]:{[`${_e}-item`]:Object.assign({},(0,Ce.Qy)(Ie)),[`${_e}-jump-prev, ${_e}-jump-next`]:{"&:focus-visible":Object.assign({[`${_e}-item-link-icon`]:{opacity:1},[`${_e}-item-ellipsis`]:{opacity:0}},(0,Ce.oN)(Ie))},[`${_e}-prev, ${_e}-next`]:{[`&:focus-visible ${_e}-item-link`]:Object.assign({},(0,Ce.oN)(Ie))}}}};var Rt=(0,Pn.Z)("Pagination",Ie=>{const _e=(0,Hn.TS)(Ie,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ie.marginXXS/2,paginationMiniQuickJumperInputWidth:Ie.controlHeightLG*1.1,paginationItemPaddingInline:Ie.marginXXS*1.5,paginationEllipsisLetterSpacing:Ie.marginXXS/2,paginationSlashMarginInlineStart:Ie.marginXXS,paginationSlashMarginInlineEnd:Ie.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Mt.e5)(Ie),(0,Mt.TM)(Ie));return[ft(_e),an(_e),Ie.wireframe&&Ht(_e)]},Ie=>({itemBg:Ie.colorBgContainer,itemSize:Ie.controlHeight,itemSizeSM:Ie.controlHeightSM,itemActiveBg:Ie.colorBgContainer,itemLinkBg:Ie.colorBgContainer,itemActiveColorDisabled:Ie.colorTextDisabled,itemActiveBgDisabled:Ie.controlItemBgActiveDisabled,itemInputBg:Ie.colorBgContainer,miniOptionsSizeChangerTop:0})),Jt=function(Ie,_e){var Xn={};for(var $n in Ie)Object.prototype.hasOwnProperty.call(Ie,$n)&&_e.indexOf($n)<0&&(Xn[$n]=Ie[$n]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,$n=Object.getOwnPropertySymbols(Ie);ct<$n.length;ct++)_e.indexOf($n[ct])<0&&Object.prototype.propertyIsEnumerable.call(Ie,$n[ct])&&(Xn[$n[ct]]=Ie[$n[ct]]);return Xn},kn=Ie=>{const{prefixCls:_e,selectPrefixCls:Xn,className:$n,rootClassName:ct,style:dn,size:Ue,locale:ut,selectComponentClass:Ft,responsive:Wt,showSizeChanger:kt}=Ie,bn=Jt(Ie,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:aa}=(0,We.Z)(Wt),{getPrefixCls:Vn,direction:Gn,pagination:Ga={}}=me.useContext(nn.E_),ra=Vn("pagination",_e),[ja,Pr]=Rt(ra),Tr=kt!=null?kt:Ga.showSizeChanger,Xr=me.useMemo(()=>{const wn=me.createElement("span",{className:`${ra}-item-ellipsis`},"\u2022\u2022\u2022"),Nn=me.createElement("button",{className:`${ra}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?me.createElement(He.Z,null):me.createElement(je.Z,null)),Oa=me.createElement("button",{className:`${ra}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?me.createElement(je.Z,null):me.createElement(He.Z,null)),Ar=me.createElement("a",{className:`${ra}-item-link`},me.createElement("div",{className:`${ra}-item-container`},Gn==="rtl"?me.createElement(Ze.Z,{className:`${ra}-item-link-icon`}):me.createElement(se,{className:`${ra}-item-link-icon`}),wn)),Zn=me.createElement("a",{className:`${ra}-item-link`},me.createElement("div",{className:`${ra}-item-container`},Gn==="rtl"?me.createElement(se,{className:`${ra}-item-link-icon`}):me.createElement(Ze.Z,{className:`${ra}-item-link-icon`}),wn));return{prevIcon:Nn,nextIcon:Oa,jumpPrevIcon:Ar,jumpNextIcon:Zn}},[Gn,ra]),[Rr]=(0,Ct.Z)("Pagination",Zt.Z),Br=Object.assign(Object.assign({},Rr),ut),to=(0,hn.Z)(Ue),lo=to==="small"||!!(aa&&!to&&Wt),gr=Vn("select",Xn),yn=Ke()({[`${ra}-mini`]:lo,[`${ra}-rtl`]:Gn==="rtl"},Ga==null?void 0:Ga.className,$n,ct,Pr),Tn=Object.assign(Object.assign({},Ga==null?void 0:Ga.style),dn);return ja(me.createElement(pt,Object.assign({},Xr,bn,{style:Tn,prefixCls:ra,selectPrefixCls:gr,className:yn,selectComponentClass:Ft||(lo?Kn:lt),locale:Br,showSizeChanger:Tr})))},ma=kn},38703:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return dn}});var re=ee(67294),me=ee(87725),Oe=ee(18299),ze=ee(16646),Be=ee(73475),Te=ee(94184),se=ee.n(Te),Ze=ee(10366),je=ee(53124),He=ee(87462),qe=ee(1413),Ke=ee(45987),Ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ce=function(){var ut=(0,re.useRef)([]),Ft=(0,re.useRef)(null);return(0,re.useEffect)(function(){var Wt=Date.now(),kt=!1;ut.current.forEach(function(bn){if(bn){kt=!0;var aa=bn.style;aa.transitionDuration=".3s, .3s, .3s, .06s",Ft.current&&Wt-Ft.current<100&&(aa.transitionDuration="0s, 0s")}}),kt&&(Ft.current=Date.now())}),ut.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(ut){var Ft=(0,qe.Z)((0,qe.Z)({},Ee),ut),Wt=Ft.className,kt=Ft.percent,bn=Ft.prefixCls,aa=Ft.strokeColor,Vn=Ft.strokeLinecap,Gn=Ft.strokeWidth,Ga=Ft.style,ra=Ft.trailColor,ja=Ft.trailWidth,Pr=Ft.transition,Tr=(0,Ke.Z)(Ft,y);delete Tr.gapPosition;var Xr=Array.isArray(kt)?kt:[kt],Rr=Array.isArray(aa)?aa:[aa],Br=ce(),to=Gn/2,lo=100-Gn/2,gr="M ".concat(Vn==="round"?to:0,",").concat(to,`
L `).concat(Vn==="round"?lo:100,",").concat(to),yn="0 0 100 ".concat(Gn),Tn=0;return re.createElement("svg",(0,He.Z)({className:se()("".concat(bn,"-line"),Wt),viewBox:yn,preserveAspectRatio:"none",style:Ga},Tr),re.createElement("path",{className:"".concat(bn,"-line-trail"),d:gr,strokeLinecap:Vn,stroke:ra,strokeWidth:ja||Gn,fillOpacity:"0"}),Xr.map(function(wn,Nn){var Oa=1;switch(Vn){case"round":Oa=1-Gn/100;break;case"square":Oa=1-Gn/2/100;break;default:Oa=1;break}var Ar={strokeDasharray:"".concat(wn*Oa,"px, 100px"),strokeDashoffset:"-".concat(Tn,"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 Tn+=wn,re.createElement("path",{key:Nn,className:"".concat(bn,"-line-path"),d:gr,strokeLinecap:Vn,stroke:Zn,strokeWidth:Gn,fillOpacity:"0",ref:function(st){Br[Nn]=st},style:Ar})}))},x=a,b=ee(71002),E=ee(97685),z=ee(98924),oe=0,ae=(0,z.Z)();function ne(){var Ue;return ae?(Ue=oe,oe+=1):Ue="TEST_OR_SSR",Ue}var fe=function(Ue){var ut=re.useState(),Ft=(0,E.Z)(ut,2),Wt=Ft[0],kt=Ft[1];return re.useEffect(function(){kt("rc_progress_".concat(ne()))},[]),Ue||Wt},pe=function(ut){var Ft=ut.bg,Wt=ut.children;return re.createElement("div",{style:{width:"100%",height:"100%",background:Ft}},Wt)};function we(Ue,ut){return Object.keys(Ue).map(function(Ft){var Wt=parseFloat(Ft),kt="".concat(Math.floor(Wt*ut),"%");return"".concat(Ue[Ft]," ").concat(kt)})}var be=re.forwardRef(function(Ue,ut){var Ft=Ue.prefixCls,Wt=Ue.color,kt=Ue.gradientId,bn=Ue.radius,aa=Ue.style,Vn=Ue.ptg,Gn=Ue.strokeLinecap,Ga=Ue.strokeWidth,ra=Ue.size,ja=Ue.gapDegree,Pr=Wt&&(0,b.Z)(Wt)==="object",Tr=Pr?"#FFF":void 0,Xr=ra/2,Rr=re.createElement("circle",{className:"".concat(Ft,"-circle-path"),r:bn,cx:Xr,cy:Xr,stroke:Tr,strokeLinecap:Gn,strokeWidth:Ga,opacity:Vn===0?0:1,style:aa,ref:ut});if(!Pr)return Rr;var Br="".concat(kt,"-conic"),to=ja?"".concat(180+ja/2,"deg"):"0deg",lo=we(Wt,(360-ja)/360),gr=we(Wt,1),yn="conic-gradient(from ".concat(to,", ").concat(lo.join(", "),")"),Tn="linear-gradient(to ".concat(ja?"bottom":"top",", ").concat(gr.join(", "),")");return re.createElement(re.Fragment,null,re.createElement("mask",{id:Br},Rr),re.createElement("foreignObject",{x:0,y:0,width:ra,height:ra,mask:"url(#".concat(Br,")")},re.createElement(pe,{bg:Tn},re.createElement(pe,{bg:yn}))))}),xe=be,Se=100,gt=function(ut,Ft,Wt,kt,bn,aa,Vn,Gn,Ga,ra){var ja=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Pr=Wt/100*360*((360-aa)/360),Tr=aa===0?0:{bottom:0,top:180,left:90,right:-90}[Vn],Xr=(100-kt)/100*Ft;Ga==="round"&&kt!==100&&(Xr+=ra/2,Xr>=Ft&&(Xr=Ft-.01));var Rr=Se/2;return{stroke:typeof Gn=="string"?Gn:void 0,strokeDasharray:"".concat(Ft,"px ").concat(ut),strokeDashoffset:Xr+ja,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}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Dt(Ue){var ut=Ue!=null?Ue:[];return Array.isArray(ut)?ut:[ut]}var $e=function(ut){var Ft=(0,qe.Z)((0,qe.Z)({},Ee),ut),Wt=Ft.id,kt=Ft.prefixCls,bn=Ft.steps,aa=Ft.strokeWidth,Vn=Ft.trailWidth,Gn=Ft.gapDegree,Ga=Gn===void 0?0:Gn,ra=Ft.gapPosition,ja=Ft.trailColor,Pr=Ft.strokeLinecap,Tr=Ft.style,Xr=Ft.className,Rr=Ft.strokeColor,Br=Ft.percent,to=(0,Ke.Z)(Ft,Qe),lo=Se/2,gr=fe(Wt),yn="".concat(gr,"-gradient"),Tn=lo-aa/2,wn=Math.PI*2*Tn,Nn=Ga>0?90+Ga/2:-90,Oa=wn*((360-Ga)/360),Ar=(0,b.Z)(bn)==="object"?bn:{count:bn,space:2},Zn=Ar.count,tt=Ar.space,st=Dt(Br),Ve=Dt(Rr),Kt=Ve.find(function(ho){return ho&&(0,b.Z)(ho)==="object"}),Cn=Kt&&(0,b.Z)(Kt)==="object",Qn=Cn?"butt":Pr,Ka=gt(wn,Oa,0,100,Nn,Ga,ra,ja,Qn,aa),ca=ce(),Wn=function(){var Mn=0;return st.map(function(no,ot){var _t=Ve[ot]||Ve[Ve.length-1],$t=gt(wn,Oa,Mn,no,Nn,Ga,ra,_t,Qn,aa);return Mn+=no,re.createElement(xe,{key:ot,color:_t,ptg:no,radius:Tn,prefixCls:kt,gradientId:yn,style:$t,strokeLinecap:Qn,strokeWidth:aa,gapDegree:Ga,ref:function(jn){ca[ot]=jn},size:Se})}).reverse()},Ma=function(){var Mn=Math.round(Zn*(st[0]/100)),no=100/Zn,ot=0;return new Array(Zn).fill(null).map(function(_t,$t){var Xt=$t<=Mn-1?Ve[0]:ja,jn=Xt&&(0,b.Z)(Xt)==="object"?"url(#".concat(yn,")"):void 0,Ut=gt(wn,Oa,ot,no,Nn,Ga,ra,Xt,"butt",aa,tt);return ot+=(Oa-Ut.strokeDashoffset+tt)*100/Oa,re.createElement("circle",{key:$t,className:"".concat(kt,"-circle-path"),r:Tn,cx:lo,cy:lo,stroke:jn,strokeWidth:aa,opacity:1,style:Ut,ref:function(un){ca[$t]=un}})})};return re.createElement("svg",(0,He.Z)({className:se()("".concat(kt,"-circle"),Xr),viewBox:"0 0 ".concat(Se," ").concat(Se),style:Tr,id:Wt,role:"presentation"},to),!Zn&&re.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:Tn,cx:lo,cy:lo,stroke:ja,strokeLinecap:Qn,strokeWidth:Vn||aa,style:Ka}),Zn?Ma():Wn())},et=$e,Tt={Line:x,Circle:et},tn=ee(83062),jt=ee(47448);function pt(Ue){return!Ue||Ue<0?0:Ue>100?100:Ue}function Zt(Ue){let{success:ut,successPercent:Ft}=Ue,Wt=Ft;return ut&&"progress"in ut&&(Wt=ut.progress),ut&&"percent"in ut&&(Wt=ut.percent),Wt}const nn=Ue=>{let{percent:ut,success:Ft,successPercent:Wt}=Ue;const kt=pt(Zt({success:Ft,successPercent:Wt}));return[kt,pt(pt(ut)-kt)]},hn=Ue=>{let{success:ut={},strokeColor:Ft}=Ue;const{strokeColor:Wt}=ut;return[Wt||jt.presetPrimaryColors.green,Ft||null]},We=(Ue,ut,Ft)=>{var Wt,kt,bn,aa;let Vn=-1,Gn=-1;if(ut==="step"){const Ga=Ft.steps,ra=Ft.strokeWidth;typeof Ue=="string"||typeof Ue=="undefined"?(Vn=Ue==="small"?2:14,Gn=ra!=null?ra:8):typeof Ue=="number"?[Vn,Gn]=[Ue,Ue]:[Vn=14,Gn=8]=Ue,Vn*=Ga}else if(ut==="line"){const Ga=Ft==null?void 0:Ft.strokeWidth;typeof Ue=="string"||typeof Ue=="undefined"?Gn=Ga||(Ue==="small"?6:8):typeof Ue=="number"?[Vn,Gn]=[Ue,Ue]:[Vn=-1,Gn=8]=Ue}else(ut==="circle"||ut==="dashboard")&&(typeof Ue=="string"||typeof Ue=="undefined"?[Vn,Gn]=Ue==="small"?[60,60]:[120,120]:typeof Ue=="number"?[Vn,Gn]=[Ue,Ue]:(Vn=(kt=(Wt=Ue[0])!==null&&Wt!==void 0?Wt:Ue[1])!==null&&kt!==void 0?kt:120,Gn=(aa=(bn=Ue[0])!==null&&bn!==void 0?bn:Ue[1])!==null&&aa!==void 0?aa:120));return[Vn,Gn]},Ct=3,Bt=Ue=>Ct/Ue*100;var lt=Ue=>{const{prefixCls:ut,trailColor:Ft=null,strokeLinecap:Wt="round",gapPosition:kt,gapDegree:bn,width:aa=120,type:Vn,children:Gn,success:Ga,size:ra=aa}=Ue,[ja,Pr]=We(ra,"circle");let{strokeWidth:Tr}=Ue;Tr===void 0&&(Tr=Math.max(Bt(ja),6));const Xr={width:ja,height:Pr,fontSize:ja*.15+6},Rr=re.useMemo(()=>{if(bn||bn===0)return bn;if(Vn==="dashboard")return 75},[bn,Vn]),Br=kt||Vn==="dashboard"&&"bottom"||void 0,to=Object.prototype.toString.call(Ue.strokeColor)==="[object Object]",lo=hn({success:Ga,strokeColor:Ue.strokeColor}),gr=se()(`${ut}-inner`,{[`${ut}-circle-gradient`]:to}),yn=re.createElement(et,{percent:nn(Ue),strokeWidth:Tr,trailWidth:Tr,strokeColor:lo,strokeLinecap:Wt,trailColor:Ft,prefixCls:ut,gapDegree:Rr,gapPosition:Br});return re.createElement("div",{className:gr,style:Xr},ja<=20?re.createElement(tn.Z,{title:Gn},re.createElement("span",null,yn)):re.createElement(re.Fragment,null,yn,Gn))},Mt=function(Ue,ut){var Ft={};for(var Wt in Ue)Object.prototype.hasOwnProperty.call(Ue,Wt)&&ut.indexOf(Wt)<0&&(Ft[Wt]=Ue[Wt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,Wt=Object.getOwnPropertySymbols(Ue);kt<Wt.length;kt++)ut.indexOf(Wt[kt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Wt[kt])&&(Ft[Wt[kt]]=Ue[Wt[kt]]);return Ft};const Ce=Ue=>{let ut=[];return Object.keys(Ue).forEach(Ft=>{const Wt=parseFloat(Ft.replace(/%/g,""));isNaN(Wt)||ut.push({key:Wt,value:Ue[Ft]})}),ut=ut.sort((Ft,Wt)=>Ft.key-Wt.key),ut.map(Ft=>{let{key:Wt,value:kt}=Ft;return`${kt} ${Wt}%`}).join(", ")},Pn=(Ue,ut)=>{const{from:Ft=jt.presetPrimaryColors.blue,to:Wt=jt.presetPrimaryColors.blue,direction:kt=ut==="rtl"?"to left":"to right"}=Ue,bn=Mt(Ue,["from","to","direction"]);if(Object.keys(bn).length!==0){const aa=Ce(bn);return{backgroundImage:`linear-gradient(${kt}, ${aa})`}}return{backgroundImage:`linear-gradient(${kt}, ${Ft}, ${Wt})`}};var Ca=Ue=>{const{prefixCls:ut,direction:Ft,percent:Wt,size:kt,strokeWidth:bn,strokeColor:aa,strokeLinecap:Vn="round",children:Gn,trailColor:Ga=null,success:ra}=Ue,ja=aa&&typeof aa!="string"?Pn(aa,Ft):{backgroundColor:aa},Pr=Vn==="square"||Vn==="butt"?0:void 0,Tr={backgroundColor:Ga||void 0,borderRadius:Pr},Xr=kt!=null?kt:[-1,bn||(kt==="small"?6:8)],[Rr,Br]=We(Xr,"line",{strokeWidth:bn}),to=Object.assign({width:`${pt(Wt)}%`,height:Br,borderRadius:Pr},ja),lo=Zt(Ue),gr={width:`${pt(lo)}%`,height:Br,borderRadius:Pr,backgroundColor:ra==null?void 0:ra.strokeColor},yn={width:Rr<0?"100%":Rr,height:Br};return re.createElement(re.Fragment,null,re.createElement("div",{className:`${ut}-outer`,style:yn},re.createElement("div",{className:`${ut}-inner`,style:Tr},re.createElement("div",{className:`${ut}-bg`,style:to}),lo!==void 0?re.createElement("div",{className:`${ut}-success-bg`,style:gr}):null)),Gn)},Qt=Ue=>{const{size:ut,steps:Ft,percent:Wt=0,strokeWidth:kt=8,strokeColor:bn,trailColor:aa=null,prefixCls:Vn,children:Gn}=Ue,Ga=Math.round(Ft*(Wt/100)),ra=ut==="small"?2:14,ja=ut!=null?ut:[ra,kt],[Pr,Tr]=We(ja,"step",{steps:Ft,strokeWidth:kt}),Xr=Pr/Ft,Rr=new Array(Ft);for(let Br=0;Br<Ft;Br++){const to=Array.isArray(bn)?bn[Br]:bn;Rr[Br]=re.createElement("div",{key:Br,className:se()(`${Vn}-steps-item`,{[`${Vn}-steps-item-active`]:Br<=Ga-1}),style:{backgroundColor:Br<=Ga-1?to:aa,width:Xr,height:Tr}})}return re.createElement("div",{className:`${Vn}-steps-outer`},Rr,Gn)},Ge=ee(45930),Me=ee(14747),ft=ee(67968),Ht=ee(45503);const an=Ue=>{const ut=Ue?"100%":"-100%";return new Ge.Keyframes(`antProgress${Ue?"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}})},Rt=Ue=>{const{componentCls:ut,iconCls:Ft}=Ue;return{[ut]:Object.assign(Object.assign({},(0,Me.Wf)(Ue)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ue.fontSize,marginInlineEnd:Ue.marginXS,marginBottom:Ue.marginXS},[`${ut}-outer`]:{display:"inline-block",width:"100%"},[`&${ut}-show-info`]:{[`${ut}-outer`]:{marginInlineEnd:`calc(-2em - ${Ue.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ue.paddingXS}px)`}},[`${ut}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ue.remainingColor,borderRadius:Ue.lineBorderRadius},[`${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:Ue.defaultColor}},[`${ut}-success-bg, ${ut}-bg`]:{position:"relative",backgroundColor:Ue.defaultColor,borderRadius:Ue.lineBorderRadius,transition:`all ${Ue.motionDurationSlow} ${Ue.motionEaseInOutCirc}`},[`${ut}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ue.colorSuccess},[`${ut}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ue.marginXS,color:Ue.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ft]:{fontSize:Ue.fontSize}},[`&${ut}-status-active`]:{[`${ut}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ue.colorBgContainer,borderRadius:Ue.lineBorderRadius,opacity:0,animationName:an(),animationDuration:Ue.progressActiveMotionDuration,animationTimingFunction:Ue.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ut}-rtl${ut}-status-active`]:{[`${ut}-bg::before`]:{animationName:an(!0)}},[`&${ut}-status-exception`]:{[`${ut}-bg`]:{backgroundColor:Ue.colorError},[`${ut}-text`]:{color:Ue.colorError}},[`&${ut}-status-exception ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:Ue.colorError}},[`&${ut}-status-success`]:{[`${ut}-bg`]:{backgroundColor:Ue.colorSuccess},[`${ut}-text`]:{color:Ue.colorSuccess}},[`&${ut}-status-success ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:Ue.colorSuccess}}})}},Jt=Ue=>{const{componentCls:ut,iconCls:Ft}=Ue;return{[ut]:{[`${ut}-circle-trail`]:{stroke:Ue.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:Ue.circleTextColor,fontSize:Ue.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ft]:{fontSize:`${Ue.fontSize/Ue.fontSizeSM}em`}},[`${ut}-circle&-status-exception`]:{[`${ut}-text`]:{color:Ue.colorError}},[`${ut}-circle&-status-success`]:{[`${ut}-text`]:{color:Ue.colorSuccess}}},[`${ut}-inline-circle`]:{lineHeight:1,[`${ut}-inner`]:{verticalAlign:"bottom"}}}},An=Ue=>{const{componentCls:ut}=Ue;return{[ut]:{[`${ut}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ue.progressStepMinWidth,marginInlineEnd:Ue.progressStepMarginInlineEnd,backgroundColor:Ue.remainingColor,transition:`all ${Ue.motionDurationSlow}`,"&-active":{backgroundColor:Ue.defaultColor}}}}}},kn=Ue=>{const{componentCls:ut,iconCls:Ft}=Ue;return{[ut]:{[`${ut}-small&-line, ${ut}-small&-line ${ut}-text ${Ft}`]:{fontSize:Ue.fontSizeSM}}}};var ma=(0,ft.Z)("Progress",Ue=>{const ut=Ue.marginXXS/2,Ft=(0,Ht.TS)(Ue,{progressStepMarginInlineEnd:ut,progressStepMinWidth:ut,progressActiveMotionDuration:"2.4s"});return[Rt(Ft),Jt(Ft),An(Ft),kn(Ft)]},Ue=>({circleTextColor:Ue.colorText,defaultColor:Ue.colorInfo,remainingColor:Ue.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ie=function(Ue,ut){var Ft={};for(var Wt in Ue)Object.prototype.hasOwnProperty.call(Ue,Wt)&&ut.indexOf(Wt)<0&&(Ft[Wt]=Ue[Wt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,Wt=Object.getOwnPropertySymbols(Ue);kt<Wt.length;kt++)ut.indexOf(Wt[kt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Wt[kt])&&(Ft[Wt[kt]]=Ue[Wt[kt]]);return Ft};const _e=null,Xn=["normal","exception","active","success"];var ct=re.forwardRef((Ue,ut)=>{const{prefixCls:Ft,className:Wt,rootClassName:kt,steps:bn,strokeColor:aa,percent:Vn=0,size:Gn="default",showInfo:Ga=!0,type:ra="line",status:ja,format:Pr,style:Tr}=Ue,Xr=Ie(Ue,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Rr=re.useMemo(()=>{var st,Ve;const Kt=Zt(Ue);return parseInt(Kt!==void 0?(st=Kt!=null?Kt:0)===null||st===void 0?void 0:st.toString():(Ve=Vn!=null?Vn:0)===null||Ve===void 0?void 0:Ve.toString(),10)},[Vn,Ue.success,Ue.successPercent]),Br=re.useMemo(()=>!Xn.includes(ja)&&Rr>=100?"success":ja||"normal",[ja,Rr]),{getPrefixCls:to,direction:lo,progress:gr}=re.useContext(je.E_),yn=to("progress",Ft),[Tn,wn]=ma(yn),Nn=re.useMemo(()=>{if(!Ga)return null;const st=Zt(Ue);let Ve;const Kt=Pr||(Qn=>`${Qn}%`),Cn=ra==="line";return Pr||Br!=="exception"&&Br!=="success"?Ve=Kt(pt(Vn),pt(st)):Br==="exception"?Ve=Cn?re.createElement(ze.Z,null):re.createElement(Be.Z,null):Br==="success"&&(Ve=Cn?re.createElement(me.Z,null):re.createElement(Oe.Z,null)),re.createElement("span",{className:`${yn}-text`,title:typeof Ve=="string"?Ve:void 0},Ve)},[Ga,Vn,Rr,Br,ra,yn,Pr]),Oa=Array.isArray(aa)?aa[0]:aa,Ar=typeof aa=="string"||Array.isArray(aa)?aa:void 0;let Zn;ra==="line"?Zn=bn?re.createElement(Qt,Object.assign({},Ue,{strokeColor:Ar,prefixCls:yn,steps:bn}),Nn):re.createElement(Ca,Object.assign({},Ue,{strokeColor:Oa,prefixCls:yn,direction:lo}),Nn):(ra==="circle"||ra==="dashboard")&&(Zn=re.createElement(lt,Object.assign({},Ue,{strokeColor:Oa,prefixCls:yn,progressStatus:Br}),Nn));const tt=se()(yn,`${yn}-status-${Br}`,`${yn}-${ra==="dashboard"&&"circle"||bn&&"steps"||ra}`,{[`${yn}-inline-circle`]:ra==="circle"&&We(Gn,"circle")[0]<=20,[`${yn}-show-info`]:Ga,[`${yn}-${Gn}`]:typeof Gn=="string",[`${yn}-rtl`]:lo==="rtl"},gr==null?void 0:gr.className,Wt,kt,wn);return Tn(re.createElement("div",Object.assign({ref:ut,style:Object.assign(Object.assign({},gr==null?void 0:gr.style),Tr),className:tt,role:"progressbar","aria-valuenow":Rr},(0,Ze.Z)(Xr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Zn))}),dn=ct},12604:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return jt}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ze=Oe,Be=ee(74643),Te=function(Zt,nn){return me.createElement(Be.Z,(0,re.Z)({},Zt,{ref:nn,icon:ze}))},se=me.forwardRef(Te),Ze=ee(94184),je=ee.n(Ze),He=ee(4942),qe=ee(97685),Ke=ee(45987),Ee=ee(21770),ce=ee(15105),y=ee(64217);function a(pt,Zt){var nn=pt.disabled,hn=pt.prefixCls,We=pt.character,Ct=pt.characterRender,Bt=pt.index,Kn=pt.count,lt=pt.value,Mt=pt.allowHalf,Ce=pt.focused,Pn=pt.onHover,Hn=pt.onClick,Ca=function(Rt){Pn(Rt,Bt)},Yn=function(Rt){Hn(Rt,Bt)},Qt=function(Rt){Rt.keyCode===ce.Z.ENTER&&Hn(Rt,Bt)},Ge=Bt+1,Me=new Set([hn]);lt===0&&Bt===0&&Ce?Me.add("".concat(hn,"-focused")):Mt&&lt+.5>=Ge&&lt<Ge?(Me.add("".concat(hn,"-half")),Me.add("".concat(hn,"-active")),Ce&&Me.add("".concat(hn,"-focused"))):(Ge<=lt?Me.add("".concat(hn,"-full")):Me.add("".concat(hn,"-zero")),Ge===lt&&Ce&&Me.add("".concat(hn,"-focused")));var ft=typeof We=="function"?We(pt):We,Ht=me.createElement("li",{className:je()(Array.from(Me)),ref:Zt},me.createElement("div",{onClick:nn?null:Yn,onKeyDown:nn?null:Qt,onMouseMove:nn?null:Ca,role:"radio","aria-checked":lt>Bt?"true":"false","aria-posinset":Bt+1,"aria-setsize":Kn,tabIndex:nn?-1:0},me.createElement("div",{className:"".concat(hn,"-first")},ft),me.createElement("div",{className:"".concat(hn,"-second")},ft)));return Ct&&(Ht=Ct(Ht,pt)),Ht}var x=me.forwardRef(a);function b(){var pt=me.useRef({});function Zt(hn){return pt.current[hn]}function nn(hn){return function(We){pt.current[hn]=We}}return[Zt,nn]}function E(pt){var Zt=pt.pageXOffset,nn="scrollLeft";if(typeof Zt!="number"){var hn=pt.document;Zt=hn.documentElement[nn],typeof Zt!="number"&&(Zt=hn.body[nn])}return Zt}function z(pt){var Zt,nn,hn=pt.ownerDocument,We=hn.body,Ct=hn&&hn.documentElement,Bt=pt.getBoundingClientRect();return Zt=Bt.left,nn=Bt.top,Zt-=Ct.clientLeft||We.clientLeft||0,nn-=Ct.clientTop||We.clientTop||0,{left:Zt,top:nn}}function oe(pt){var Zt=z(pt),nn=pt.ownerDocument,hn=nn.defaultView||nn.parentWindow;return Zt.left+=E(hn),Zt.left}var ae=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ne(pt,Zt){var nn,hn=pt.prefixCls,We=hn===void 0?"rc-rate":hn,Ct=pt.className,Bt=pt.defaultValue,Kn=pt.value,lt=pt.count,Mt=lt===void 0?5:lt,Ce=pt.allowHalf,Pn=Ce===void 0?!1:Ce,Hn=pt.allowClear,Ca=Hn===void 0?!0:Hn,Yn=pt.character,Qt=Yn===void 0?"\u2605":Yn,Ge=pt.characterRender,Me=pt.disabled,ft=pt.direction,Ht=ft===void 0?"ltr":ft,an=pt.tabIndex,Rt=an===void 0?0:an,Jt=pt.autoFocus,An=pt.onHoverChange,kn=pt.onChange,ma=pt.onFocus,Ie=pt.onBlur,_e=pt.onKeyDown,Xn=pt.onMouseLeave,$n=(0,Ke.Z)(pt,ae),ct=b(),dn=(0,qe.Z)(ct,2),Ue=dn[0],ut=dn[1],Ft=me.useRef(null),Wt=function(){if(!Me){var Cn;(Cn=Ft.current)===null||Cn===void 0||Cn.focus()}};me.useImperativeHandle(Zt,function(){return{focus:Wt,blur:function(){if(!Me){var Cn;(Cn=Ft.current)===null||Cn===void 0||Cn.blur()}}}});var kt=(0,Ee.Z)(Bt||0,{value:Kn}),bn=(0,qe.Z)(kt,2),aa=bn[0],Vn=bn[1],Gn=(0,Ee.Z)(null),Ga=(0,qe.Z)(Gn,2),ra=Ga[0],ja=Ga[1],Pr=function(Cn,Qn){var Ka=Ht==="rtl",ca=Cn+1;if(Pn){var Wn=Ue(Cn),Ma=oe(Wn),ho=Wn.clientWidth;(Ka&&Qn-Ma>ho/2||!Ka&&Qn-Ma<ho/2)&&(ca-=.5)}return ca},Tr=function(Cn){Vn(Cn),kn==null||kn(Cn)},Xr=me.useState(!1),Rr=(0,qe.Z)(Xr,2),Br=Rr[0],to=Rr[1],lo=function(){to(!0),ma==null||ma()},gr=function(){to(!1),Ie==null||Ie()},yn=me.useState(null),Tn=(0,qe.Z)(yn,2),wn=Tn[0],Nn=Tn[1],Oa=function(Cn,Qn){var Ka=Pr(Qn,Cn.pageX);Ka!==ra&&(Nn(Ka),ja(null)),An==null||An(Ka)},Ar=function(Cn){Me||(Nn(null),ja(null),An==null||An(void 0)),Cn&&(Xn==null||Xn(Cn))},Zn=function(Cn,Qn){var Ka=Pr(Qn,Cn.pageX),ca=!1;Ca&&(ca=Ka===aa),Ar(),Tr(ca?0:Ka),ja(ca?Ka:null)},tt=function(Cn){var Qn=Cn.keyCode,Ka=Ht==="rtl",ca=aa;Qn===ce.Z.RIGHT&&ca<Mt&&!Ka?(Pn?ca+=.5:ca+=1,Tr(ca),Cn.preventDefault()):Qn===ce.Z.LEFT&&ca>0&&!Ka||Qn===ce.Z.RIGHT&&ca>0&&Ka?(Pn?ca-=.5:ca-=1,Tr(ca),Cn.preventDefault()):Qn===ce.Z.LEFT&&ca<Mt&&Ka&&(Pn?ca+=.5:ca+=1,Tr(ca),Cn.preventDefault()),_e==null||_e(Cn)};me.useEffect(function(){Jt&&!Me&&Wt()},[]);var st=new Array(Mt).fill(0).map(function(Kt,Cn){return me.createElement(x,{ref:ut(Cn),index:Cn,count:Mt,disabled:Me,prefixCls:"".concat(We,"-star"),allowHalf:Pn,value:wn===null?aa:wn,onClick:Zn,onHover:Oa,key:Kt||Cn,character:Qt,characterRender:Ge,focused:Br})}),Ve=je()(We,Ct,(nn={},(0,He.Z)(nn,"".concat(We,"-disabled"),Me),(0,He.Z)(nn,"".concat(We,"-rtl"),Ht==="rtl"),nn));return me.createElement("ul",(0,re.Z)({className:Ve,onMouseLeave:Ar,tabIndex:Me?-1:Rt,onFocus:Me?null:lo,onBlur:Me?null:gr,onKeyDown:Me?null:tt,ref:Ft,role:"radiogroup"},(0,y.Z)($n,{aria:!0,data:!0,attr:!0})),st)}var fe=me.forwardRef(ne),pe=fe,we=ee(53124),be=ee(83062),xe=ee(14747),Se=ee(67968),gt=ee(45503);const Qe=pt=>{const{componentCls:Zt}=pt;return{[`${Zt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:pt.marginXS},"> div":{transition:`all ${pt.motionDurationMid}, outline 0s`,"&:hover":{transform:pt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${pt.lineWidth}px dashed ${pt.starColor}`,transform:pt.starHoverScale}},"&-first, &-second":{color:pt.starBg,transition:`all ${pt.motionDurationMid}`,userSelect:"none",[pt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Zt}-star-first, &-half ${Zt}-star-second`]:{opacity:1},[`&-half ${Zt}-star-first, &-full ${Zt}-star-second`]:{color:"inherit"}}}},Dt=pt=>({[`&-rtl${pt.componentCls}`]:{direction:"rtl"}}),$e=pt=>{const{componentCls:Zt}=pt;return{[Zt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(pt)),{display:"inline-block",margin:0,padding:0,color:pt.starColor,fontSize:pt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Zt} ${Zt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Qe(pt)),{[`+ ${Zt}-text`]:{display:"inline-block",marginInlineStart:pt.marginXS,fontSize:pt.fontSize}}),Dt(pt))}};var et=(0,Se.Z)("Rate",pt=>{const Zt=(0,gt.TS)(pt,{});return[$e(Zt)]},pt=>({starColor:pt.yellow6,starSize:pt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:pt.colorFillContent})),Tt=function(pt,Zt){var nn={};for(var hn in pt)Object.prototype.hasOwnProperty.call(pt,hn)&&Zt.indexOf(hn)<0&&(nn[hn]=pt[hn]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,hn=Object.getOwnPropertySymbols(pt);We<hn.length;We++)Zt.indexOf(hn[We])<0&&Object.prototype.propertyIsEnumerable.call(pt,hn[We])&&(nn[hn[We]]=pt[hn[We]]);return nn},jt=me.forwardRef((pt,Zt)=>{const{prefixCls:nn,className:hn,rootClassName:We,style:Ct,tooltips:Bt,character:Kn=me.createElement(se,null)}=pt,lt=Tt(pt,["prefixCls","className","rootClassName","style","tooltips","character"]),Mt=(Me,ft)=>{let{index:Ht}=ft;return Bt?me.createElement(be.Z,{title:Bt[Ht]},Me):Me},{getPrefixCls:Ce,direction:Pn,rate:Hn}=me.useContext(we.E_),Ca=Ce("rate",nn),[Yn,Qt]=et(Ca),Ge=Object.assign(Object.assign({},Hn==null?void 0:Hn.style),Ct);return Yn(me.createElement(pe,Object.assign({ref:Zt,character:Kn,characterRender:Mt},lt,{className:je()(hn,We,Qt,Hn==null?void 0:Hn.className),style:Ge,prefixCls:Ca,direction:Pn})))})},46303:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Qt}});var re=ee(94184),me=ee.n(re),Oe=ee(67294),ze=ee(53124),Be=ee(10366),se=Ge=>{const{prefixCls:Me,className:ft,style:Ht,size:an,shape:Rt}=Ge,Jt=me()({[`${Me}-lg`]:an==="large",[`${Me}-sm`]:an==="small"}),An=me()({[`${Me}-circle`]:Rt==="circle",[`${Me}-square`]:Rt==="square",[`${Me}-round`]:Rt==="round"}),kn=Oe.useMemo(()=>typeof an=="number"?{width:an,height:an,lineHeight:`${an}px`}:{},[an]);return Oe.createElement("span",{className:me()(Me,Jt,An,ft),style:Object.assign(Object.assign({},kn),Ht)})},Ze=ee(45930),je=ee(67968),He=ee(45503);const qe=new Ze.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ke=Ge=>({height:Ge,lineHeight:`${Ge}px`}),Ee=Ge=>Object.assign({width:Ge},Ke(Ge)),ce=Ge=>({background:Ge.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:qe,animationDuration:Ge.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Ge=>Object.assign({width:Ge*5,minWidth:Ge*5},Ke(Ge)),a=Ge=>{const{skeletonAvatarCls:Me,gradientFromColor:ft,controlHeight:Ht,controlHeightLG:an,controlHeightSM:Rt}=Ge;return{[`${Me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ft},Ee(Ht)),[`${Me}${Me}-circle`]:{borderRadius:"50%"},[`${Me}${Me}-lg`]:Object.assign({},Ee(an)),[`${Me}${Me}-sm`]:Object.assign({},Ee(Rt))}},x=Ge=>{const{controlHeight:Me,borderRadiusSM:ft,skeletonInputCls:Ht,controlHeightLG:an,controlHeightSM:Rt,gradientFromColor:Jt}=Ge;return{[`${Ht}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Jt,borderRadius:ft},y(Me)),[`${Ht}-lg`]:Object.assign({},y(an)),[`${Ht}-sm`]:Object.assign({},y(Rt))}},b=Ge=>Object.assign({width:Ge},Ke(Ge)),E=Ge=>{const{skeletonImageCls:Me,imageSizeBase:ft,gradientFromColor:Ht,borderRadiusSM:an}=Ge;return{[`${Me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ht,borderRadius:an},b(ft*2)),{[`${Me}-path`]:{fill:"#bfbfbf"},[`${Me}-svg`]:Object.assign(Object.assign({},b(ft)),{maxWidth:ft*4,maxHeight:ft*4}),[`${Me}-svg${Me}-svg-circle`]:{borderRadius:"50%"}}),[`${Me}${Me}-circle`]:{borderRadius:"50%"}}},z=(Ge,Me,ft)=>{const{skeletonButtonCls:Ht}=Ge;return{[`${ft}${Ht}-circle`]:{width:Me,minWidth:Me,borderRadius:"50%"},[`${ft}${Ht}-round`]:{borderRadius:Me}}},oe=Ge=>Object.assign({width:Ge*2,minWidth:Ge*2},Ke(Ge)),ae=Ge=>{const{borderRadiusSM:Me,skeletonButtonCls:ft,controlHeight:Ht,controlHeightLG:an,controlHeightSM:Rt,gradientFromColor:Jt}=Ge;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ft}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Jt,borderRadius:Me,width:Ht*2,minWidth:Ht*2},oe(Ht))},z(Ge,Ht,ft)),{[`${ft}-lg`]:Object.assign({},oe(an))}),z(Ge,an,`${ft}-lg`)),{[`${ft}-sm`]:Object.assign({},oe(Rt))}),z(Ge,Rt,`${ft}-sm`))},ne=Ge=>{const{componentCls:Me,skeletonAvatarCls:ft,skeletonTitleCls:Ht,skeletonParagraphCls:an,skeletonButtonCls:Rt,skeletonInputCls:Jt,skeletonImageCls:An,controlHeight:kn,controlHeightLG:ma,controlHeightSM:Ie,gradientFromColor:_e,padding:Xn,marginSM:$n,borderRadius:ct,titleHeight:dn,blockRadius:Ue,paragraphLiHeight:ut,controlHeightXS:Ft,paragraphMarginTop:Wt}=Ge;return{[`${Me}`]:{display:"table",width:"100%",[`${Me}-header`]:{display:"table-cell",paddingInlineEnd:Xn,verticalAlign:"top",[`${ft}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_e},Ee(kn)),[`${ft}-circle`]:{borderRadius:"50%"},[`${ft}-lg`]:Object.assign({},Ee(ma)),[`${ft}-sm`]:Object.assign({},Ee(Ie))},[`${Me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ht}`]:{width:"100%",height:dn,background:_e,borderRadius:Ue,[`+ ${an}`]:{marginBlockStart:Ie}},[`${an}`]:{padding:0,"> li":{width:"100%",height:ut,listStyle:"none",background:_e,borderRadius:Ue,"+ li":{marginBlockStart:Ft}}},[`${an}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Me}-content`]:{[`${Ht}, ${an} > li`]:{borderRadius:ct}}},[`${Me}-with-avatar ${Me}-content`]:{[`${Ht}`]:{marginBlockStart:$n,[`+ ${an}`]:{marginBlockStart:Wt}}},[`${Me}${Me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(Ge)),a(Ge)),x(Ge)),E(Ge)),[`${Me}${Me}-block`]:{width:"100%",[`${Rt}`]:{width:"100%"},[`${Jt}`]:{width:"100%"}},[`${Me}${Me}-active`]:{[`
${Ht},
${an} > li,
${ft},
${Rt},
${Jt},
${An}
`]:Object.assign({},ce(Ge))}}};var fe=(0,je.Z)("Skeleton",Ge=>{const{componentCls:Me}=Ge,ft=(0,He.TS)(Ge,{skeletonAvatarCls:`${Me}-avatar`,skeletonTitleCls:`${Me}-title`,skeletonParagraphCls:`${Me}-paragraph`,skeletonButtonCls:`${Me}-button`,skeletonInputCls:`${Me}-input`,skeletonImageCls:`${Me}-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(ft)]},Ge=>{const{colorFillContent:Me,colorFill:ft}=Ge,Ht=Me,an=ft;return{color:Ht,colorGradientEnd:an,gradientFromColor:Ht,gradientToColor:an,titleHeight:Ge.controlHeight/2,blockRadius:Ge.borderRadiusSM,paragraphMarginTop:Ge.marginLG+Ge.marginXXS,paragraphLiHeight:Ge.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),we=Ge=>{const{prefixCls:Me,className:ft,rootClassName:Ht,active:an,shape:Rt="circle",size:Jt="default"}=Ge,{getPrefixCls:An}=Oe.useContext(ze.E_),kn=An("skeleton",Me),[ma,Ie]=fe(kn),_e=(0,Be.Z)(Ge,["prefixCls","className"]),Xn=me()(kn,`${kn}-element`,{[`${kn}-active`]:an},ft,Ht,Ie);return ma(Oe.createElement("div",{className:Xn},Oe.createElement(se,Object.assign({prefixCls:`${kn}-avatar`,shape:Rt,size:Jt},_e))))},xe=Ge=>{const{prefixCls:Me,className:ft,rootClassName:Ht,active:an,block:Rt=!1,size:Jt="default"}=Ge,{getPrefixCls:An}=Oe.useContext(ze.E_),kn=An("skeleton",Me),[ma,Ie]=fe(kn),_e=(0,Be.Z)(Ge,["prefixCls"]),Xn=me()(kn,`${kn}-element`,{[`${kn}-active`]:an,[`${kn}-block`]:Rt},ft,Ht,Ie);return ma(Oe.createElement("div",{className:Xn},Oe.createElement(se,Object.assign({prefixCls:`${kn}-button`,size:Jt},_e))))};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 Qe=Ge=>{const{prefixCls:Me,className:ft,rootClassName:Ht,style:an,active:Rt}=Ge,{getPrefixCls:Jt}=Oe.useContext(ze.E_),An=Jt("skeleton",Me),[kn,ma]=fe(An),Ie=me()(An,`${An}-element`,{[`${An}-active`]:Rt},ft,Ht,ma);return kn(Oe.createElement("div",{className:Ie},Oe.createElement("div",{className:me()(`${An}-image`,ft),style:an},Oe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${An}-image-svg`},Oe.createElement("path",{d:Se,className:`${An}-image-path`})))))},$e=Ge=>{const{prefixCls:Me,className:ft,rootClassName:Ht,active:an,block:Rt,size:Jt="default"}=Ge,{getPrefixCls:An}=Oe.useContext(ze.E_),kn=An("skeleton",Me),[ma,Ie]=fe(kn),_e=(0,Be.Z)(Ge,["prefixCls"]),Xn=me()(kn,`${kn}-element`,{[`${kn}-active`]:an,[`${kn}-block`]:Rt},ft,Ht,Ie);return ma(Oe.createElement("div",{className:Xn},Oe.createElement(se,Object.assign({prefixCls:`${kn}-input`,size:Jt},_e))))},et=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"},tn=Tt,jt=ee(74643),pt=function(Me,ft){return Oe.createElement(jt.Z,(0,et.Z)({},Me,{ref:ft,icon:tn}))},Zt=Oe.forwardRef(pt),hn=Ge=>{const{prefixCls:Me,className:ft,rootClassName:Ht,style:an,active:Rt,children:Jt}=Ge,{getPrefixCls:An}=Oe.useContext(ze.E_),kn=An("skeleton",Me),[ma,Ie]=fe(kn),_e=me()(kn,`${kn}-element`,{[`${kn}-active`]:Rt},Ie,ft,Ht),Xn=Jt!=null?Jt:Oe.createElement(Zt,null);return ma(Oe.createElement("div",{className:_e},Oe.createElement("div",{className:me()(`${kn}-image`,ft),style:an},Xn)))},We=ee(74902),Bt=Ge=>{const Me=An=>{const{width:kn,rows:ma=2}=Ge;if(Array.isArray(kn))return kn[An];if(ma-1===An)return kn},{prefixCls:ft,className:Ht,style:an,rows:Rt}=Ge,Jt=(0,We.Z)(Array(Rt)).map((An,kn)=>Oe.createElement("li",{key:kn,style:{width:Me(kn)}}));return Oe.createElement("ul",{className:me()(ft,Ht),style:an},Jt)},lt=Ge=>{let{prefixCls:Me,className:ft,width:Ht,style:an}=Ge;return Oe.createElement("h3",{className:me()(Me,ft),style:Object.assign({width:Ht},an)})};function Mt(Ge){return Ge&&typeof Ge=="object"?Ge:{}}function Ce(Ge,Me){return Ge&&!Me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Pn(Ge,Me){return!Ge&&Me?{width:"38%"}:Ge&&Me?{width:"50%"}:{}}function Hn(Ge,Me){const ft={};return(!Ge||!Me)&&(ft.width="61%"),!Ge&&Me?ft.rows=3:ft.rows=2,ft}const Ca=Ge=>{const{prefixCls:Me,loading:ft,className:Ht,rootClassName:an,style:Rt,children:Jt,avatar:An=!1,title:kn=!0,paragraph:ma=!0,active:Ie,round:_e}=Ge,{getPrefixCls:Xn,direction:$n,skeleton:ct}=Oe.useContext(ze.E_),dn=Xn("skeleton",Me),[Ue,ut]=fe(dn);if(ft||!("loading"in Ge)){const Ft=!!An,Wt=!!kn,kt=!!ma;let bn;if(Ft){const Gn=Object.assign(Object.assign({prefixCls:`${dn}-avatar`},Ce(Wt,kt)),Mt(An));bn=Oe.createElement("div",{className:`${dn}-header`},Oe.createElement(se,Object.assign({},Gn)))}let aa;if(Wt||kt){let Gn;if(Wt){const ra=Object.assign(Object.assign({prefixCls:`${dn}-title`},Pn(Ft,kt)),Mt(kn));Gn=Oe.createElement(lt,Object.assign({},ra))}let Ga;if(kt){const ra=Object.assign(Object.assign({prefixCls:`${dn}-paragraph`},Hn(Ft,Wt)),Mt(ma));Ga=Oe.createElement(Bt,Object.assign({},ra))}aa=Oe.createElement("div",{className:`${dn}-content`},Gn,Ga)}const Vn=me()(dn,{[`${dn}-with-avatar`]:Ft,[`${dn}-active`]:Ie,[`${dn}-rtl`]:$n==="rtl",[`${dn}-round`]:_e},ct==null?void 0:ct.className,Ht,an,ut);return Ue(Oe.createElement("div",{className:Vn,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),Rt)},bn,aa))}return typeof Jt!="undefined"?Jt:null};Ca.Button=xe,Ca.Avatar=we,Ca.Input=$e,Ca.Image=Qe,Ca.Node=hn;var Yn=Ca,Qt=Yn},55054:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return fe}});var re=ee(67294),me=ee(57838),Oe=ee(96159),ze=ee(94184),Be=ee.n(ze),Te=ee(53124),se=ee(46303),je=pe=>{const{value:we,formatter:be,precision:xe,decimalSeparator:Se,groupSeparator:gt="",prefixCls:Qe}=pe;let Dt;if(typeof be=="function")Dt=be(we);else{const $e=String(we),et=$e.match(/^(-?)(\d*)(\.(\d+))?$/);if(!et||$e==="-")Dt=$e;else{const Tt=et[1];let tn=et[2]||"0",jt=et[4]||"";tn=tn.replace(/\B(?=(\d{3})+(?!\d))/g,gt),typeof xe=="number"&&(jt=jt.padEnd(xe,"0").slice(0,xe>0?xe:0)),jt&&(jt=`${Se}${jt}`),Dt=[re.createElement("span",{key:"int",className:`${Qe}-content-value-int`},Tt,tn),jt&&re.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},jt)]}}return re.createElement("span",{className:`${Qe}-content-value`},Dt)},He=ee(14747),qe=ee(67968),Ke=ee(45503);const Ee=pe=>{const{componentCls:we,marginXXS:be,padding:xe,colorTextDescription:Se,titleFontSize:gt,colorTextHeading:Qe,contentFontSize:Dt,fontFamily:$e}=pe;return{[`${we}`]:Object.assign(Object.assign({},(0,He.Wf)(pe)),{[`${we}-title`]:{marginBottom:be,color:Se,fontSize:gt},[`${we}-skeleton`]:{paddingTop:xe},[`${we}-content`]:{color:Qe,fontSize:Dt,fontFamily:$e,[`${we}-content-value`]:{display:"inline-block",direction:"ltr"},[`${we}-content-prefix, ${we}-content-suffix`]:{display:"inline-block"},[`${we}-content-prefix`]:{marginInlineEnd:be},[`${we}-content-suffix`]:{marginInlineStart:be}}})}};var ce=(0,qe.Z)("Statistic",pe=>{const we=(0,Ke.TS)(pe,{});return[Ee(we)]},pe=>{const{fontSizeHeading3:we,fontSize:be}=pe;return{titleFontSize:be,contentFontSize:we}}),a=pe=>{const{prefixCls:we,className:be,rootClassName:xe,style:Se,valueStyle:gt,value:Qe=0,title:Dt,valueRender:$e,prefix:et,suffix:Tt,loading:tn=!1,onMouseEnter:jt,onMouseLeave:pt,decimalSeparator:Zt=".",groupSeparator:nn=","}=pe,{getPrefixCls:hn,direction:We,statistic:Ct}=re.useContext(Te.E_),Bt=hn("statistic",we),[Kn,lt]=ce(Bt),Mt=re.createElement(je,Object.assign({decimalSeparator:Zt,groupSeparator:nn,prefixCls:Bt},pe,{value:Qe})),Ce=Be()(Bt,{[`${Bt}-rtl`]:We==="rtl"},Ct==null?void 0:Ct.className,be,xe,lt);return Kn(re.createElement("div",{className:Ce,style:Object.assign(Object.assign({},Ct==null?void 0:Ct.style),Se),onMouseEnter:jt,onMouseLeave:pt},Dt&&re.createElement("div",{className:`${Bt}-title`},Dt),re.createElement(se.Z,{paragraph:!1,loading:tn,className:`${Bt}-skeleton`},re.createElement("div",{style:gt,className:`${Bt}-content`},et&&re.createElement("span",{className:`${Bt}-content-prefix`},et),$e?$e(Mt):Mt,Tt&&re.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,we){let be=pe;const xe=/\[[^\]]*]/g,Se=(we.match(xe)||[]).map($e=>$e.slice(1,-1)),gt=we.replace(xe,"[]"),Qe=x.reduce(($e,et)=>{let[Tt,tn]=et;if($e.includes(Tt)){const jt=Math.floor(be/tn);return be-=jt*tn,$e.replace(new RegExp(`${Tt}+`,"g"),pt=>{const Zt=pt.length;return jt.toString().padStart(Zt,"0")})}return $e},gt);let Dt=0;return Qe.replace(xe,()=>{const $e=Se[Dt];return Dt+=1,$e})}function E(pe,we){const{format:be=""}=we,xe=new Date(pe).getTime(),Se=Date.now(),gt=Math.max(xe-Se,0);return b(gt,be)}const z=1e3/30;function oe(pe){return new Date(pe).getTime()}const ae=pe=>{const{value:we,format:be="HH:mm:ss",onChange:xe,onFinish:Se}=pe,gt=(0,me.Z)(),Qe=re.useRef(null),Dt=()=>{Se==null||Se(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},$e=()=>{const tn=oe(we);tn>=Date.now()&&(Qe.current=setInterval(()=>{gt(),xe==null||xe(tn-Date.now()),tn<Date.now()&&Dt()},z))};re.useEffect(()=>($e(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[we]);const et=(tn,jt)=>E(tn,Object.assign(Object.assign({},jt),{format:be})),Tt=tn=>(0,Oe.Tm)(tn,{title:void 0});return re.createElement(a,Object.assign({},pe,{valueRender:Tt,formatter:et}))};var ne=re.memo(ae);a.Countdown=ne;var fe=a},49867:function(ht,Et,ee){"use strict";ee.d(Et,{N:function(){return re}});const re=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 re={},me="rc-table-internal-hook",Oe=ee(97685),ze=ee(66680),Be=ee(8410),Te=ee(91881),se=ee(67294),Ze=ee(73935);function je(de){var ue=se.createContext(void 0),he=function(De){var ke=De.value,Je=De.children,at=se.useRef(ke);at.current=ke;var nt=se.useState(function(){return{getValue:function(){return at.current},listeners:new Set}}),yt=(0,Oe.Z)(nt,1),zt=yt[0];return(0,Be.Z)(function(){(0,Ze.unstable_batchedUpdates)(function(){zt.listeners.forEach(function(wt){wt(ke)})})},[ke]),se.createElement(ue.Provider,{value:zt},Je)};return{Context:ue,Provider:he,defaultValue:de}}function He(de,ue){var he=(0,ze.Z)(typeof ue=="function"?ue:function(wt){if(ue===void 0)return wt;if(!Array.isArray(ue))return wt[ue];var on={};return ue.forEach(function(ln){on[ln]=wt[ln]}),on}),ye=se.useContext(de==null?void 0:de.Context),De=ye||{},ke=De.listeners,Je=De.getValue,at=se.useRef();at.current=he(ye?Je():de==null?void 0:de.defaultValue);var nt=se.useState({}),yt=(0,Oe.Z)(nt,2),zt=yt[1];return(0,Be.Z)(function(){if(!ye)return;function wt(on){var ln=he(on);(0,Te.Z)(at.current,ln,!0)||zt({})}return ke.add(wt),function(){ke.delete(wt)}},[ye]),at.current}var qe=ee(87462),Ke=ee(42550);function Ee(){var de=se.createContext(null);function ue(){return se.useContext(de)}function he(De,ke){var Je=(0,Ke.Yr)(De),at=function(yt,zt){var wt=Je?{ref:zt}:{},on=se.useRef(0),ln=se.useRef(yt),vn=ue();return vn!==null?se.createElement(De,(0,qe.Z)({},yt,wt)):((!ke||ke(ln.current,yt))&&(on.current+=1),ln.current=yt,se.createElement(de.Provider,{value:on.current},se.createElement(De,(0,qe.Z)({},yt,wt))))};return Je?se.forwardRef(at):at}function ye(De,ke){var Je=(0,Ke.Yr)(De),at=function(yt,zt){var wt=Je?{ref:zt}:{};return ue(),se.createElement(De,(0,qe.Z)({},yt,wt))};return Je?se.memo(se.forwardRef(at),ke):se.memo(at,ke)}return{makeImmutable:he,responseImmutable:ye,useImmutableMark:ue}}var ce=Ee(),y=ce.makeImmutable,a=ce.responseImmutable,x=ce.useImmutableMark,b=Ee(),E=b.makeImmutable,z=b.responseImmutable,oe=b.useImmutableMark,ae=je(),ne=ae;function fe(de,ue){var he=se.useRef(0);he.current+=1;var ye=se.useRef(de),De=[];Object.keys(de||{}).map(function(Je){var at;(de==null?void 0:de[Je])!==((at=ye.current)===null||at===void 0?void 0:at[Je])&&De.push(Je)}),ye.current=de;var ke=se.useRef([]);return De.length&&(ke.current=De),se.useDebugValue(he.current),se.useDebugValue(ke.current.join(", ")),ue&&console.log("".concat(ue,":"),he.current,ke.current),he.current}var pe=null,we=se.memo(function(){var de=fe();return se.createElement("h1",null,"Render Times: ",de)});we.displayName="RenderBlock";var be=ee(71002),xe=ee(1413),Se=ee(4942),gt=ee(94184),Qe=ee.n(gt);function Dt(de,ue,he){var ye=se.useRef({});return(!("value"in ye.current)||he(ye.current.condition,ue))&&(ye.current.value=de(),ye.current.condition=ue),ye.current.value}var $e={},et=[],Tt=function(ue){et.push(ue)};function tn(de,ue){if(0)var he}function jt(de,ue){if(0)var he}function pt(){$e={}}function Zt(de,ue,he){!ue&&!$e[he]&&(de(!1,he),$e[he]=!0)}function nn(de,ue){Zt(tn,de,ue)}function hn(de,ue){Zt(jt,de,ue)}nn.preMessage=Tt,nn.resetWarned=pt,nn.noteOnce=hn;var We=nn;function Ct(de,ue){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ye=new Set;function De(ke,Je){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,nt=ye.has(ke);if(We(!nt,"Warning: There may be circular references"),nt)return!1;if(ke===Je)return!0;if(he&&at>1)return!1;ye.add(ke);var yt=at+1;if(Array.isArray(ke)){if(!Array.isArray(Je)||ke.length!==Je.length)return!1;for(var zt=0;zt<ke.length;zt++)if(!De(ke[zt],Je[zt],yt))return!1;return!0}if(ke&&Je&&(0,be.Z)(ke)==="object"&&(0,be.Z)(Je)==="object"){var wt=Object.keys(ke);return wt.length!==Object.keys(Je).length?!1:wt.every(function(on){return De(ke[on],Je[on],yt)})}return!1}return De(de,ue)}var Bt=Ct;function Kn(de,ue){for(var he=de,ye=0;ye<ue.length;ye+=1){if(he==null)return;he=he[ue[ye]]}return he}var lt=se.createContext({renderWithProps:!1}),Mt=lt,Ce="RC_TABLE_KEY";function Pn(de){return de==null?[]:Array.isArray(de)?de:[de]}function Hn(de){var ue=[],he={};return de.forEach(function(ye){for(var De=ye||{},ke=De.key,Je=De.dataIndex,at=ke||Pn(Je).join("-")||Ce;he[at];)at="".concat(at,"_next");he[at]=!0,ue.push(at)}),ue}function Ca(de){return de!=null}function Yn(de){return de&&(0,be.Z)(de)==="object"&&!Array.isArray(de)&&!se.isValidElement(de)}function Qt(de,ue,he,ye,De,ke){var Je=se.useContext(Mt),at=oe(),nt=Dt(function(){if(Ca(ye))return[ye];var yt=ue==null||ue===""?[]:Array.isArray(ue)?ue:[ue],zt=Kn(de,yt),wt=zt,on=void 0;if(De){var ln=De(zt,de,he);Yn(ln)?(wt=ln.children,on=ln.props,Je.renderWithProps=!0):wt=ln}return[wt,on]},[at,de,ye,ue,De,he],function(yt,zt){if(ke){var wt=(0,Oe.Z)(yt,2),on=wt[1],ln=(0,Oe.Z)(zt,2),vn=ln[1];return ke(vn,on)}return Je.renderWithProps?!0:!Bt(yt,zt,!0)});return nt}function Ge(de,ue,he,ye){var De=de+ue-1;return de<=ye&&De>=he}function Me(de,ue){return He(ne,function(he){var ye=Ge(de,ue||1,he.hoverStartRow,he.hoverEndRow);return[ye,he.onHover]})}var ft=function(ue){var he=ue.ellipsis,ye=ue.rowType,De=ue.children,ke,Je=he===!0?{showTitle:!0}:he;return Je&&(Je.showTitle||ye==="header")&&(typeof De=="string"||typeof De=="number"?ke=De.toString():se.isValidElement(De)&&typeof De.props.children=="string"&&(ke=De.props.children)),ke};function Ht(de){var ue,he,ye,De,ke,Je,at,nt,yt=de.component,zt=de.children,wt=de.ellipsis,on=de.scope,ln=de.prefixCls,vn=de.className,Jn=de.align,Rn=de.record,ea=de.render,zn=de.dataIndex,la=de.renderIndex,Ra=de.shouldCellUpdate,Qa=de.index,Ba=de.rowType,fr=de.colSpan,Dr=de.rowSpan,Pa=de.fixLeft,Na=de.fixRight,ua=de.firstFixLeft,ia=de.lastFixLeft,Da=de.firstFixRight,Wa=de.lastFixRight,vr=de.appendNode,Er=de.additionalProps,Ha=Er===void 0?{}:Er,Or=de.isSticky,jr="".concat(ln,"-cell"),Bo=He(ne,["supportSticky","allColumnsFixedLeft"]),mo=Bo.supportSticky,gi=Bo.allColumnsFixedLeft,fi=Qt(Rn,zn,la,zt,ea,Ra),Fr=(0,Oe.Z)(fi,2),Di=Fr[0],ta=Fr[1],or={},Kr=typeof Pa=="number"&&mo,Io=typeof Na=="number"&&mo;Kr&&(or.position="sticky",or.left=Pa),Io&&(or.position="sticky",or.right=Na);var ba=(ue=(he=(ye=ta==null?void 0:ta.colSpan)!==null&&ye!==void 0?ye:Ha.colSpan)!==null&&he!==void 0?he:fr)!==null&&ue!==void 0?ue:1,Ja=(De=(ke=(Je=ta==null?void 0:ta.rowSpan)!==null&&Je!==void 0?Je:Ha.rowSpan)!==null&&ke!==void 0?ke:Dr)!==null&&De!==void 0?De:1,tr=Me(Qa,Ja),Ua=(0,Oe.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=(at=Ha.title)!==null&&at!==void 0?at:ft({rowType:Ba,ellipsis:wt,children:Di}),Bl=Qe()(jr,vn,(nt={},(0,Se.Z)(nt,"".concat(jr,"-fix-left"),Kr&&mo),(0,Se.Z)(nt,"".concat(jr,"-fix-left-first"),ua&&mo),(0,Se.Z)(nt,"".concat(jr,"-fix-left-last"),ia&&mo),(0,Se.Z)(nt,"".concat(jr,"-fix-left-all"),ia&&gi&&mo),(0,Se.Z)(nt,"".concat(jr,"-fix-right"),Io&&mo),(0,Se.Z)(nt,"".concat(jr,"-fix-right-first"),Da&&mo),(0,Se.Z)(nt,"".concat(jr,"-fix-right-last"),Wa&&mo),(0,Se.Z)(nt,"".concat(jr,"-ellipsis"),wt),(0,Se.Z)(nt,"".concat(jr,"-with-append"),vr),(0,Se.Z)(nt,"".concat(jr,"-fix-sticky"),(Kr||Io)&&Or&&mo),(0,Se.Z)(nt,"".concat(jr,"-row-hover"),!ta&&po),nt),Ha.className,ta==null?void 0:ta.className),Pl={};Jn&&(Pl.textAlign=Jn);var Os=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},or),Ha.style),Pl),ta==null?void 0:ta.style),Qi=Di;return(0,be.Z)(Qi)==="object"&&!Array.isArray(Qi)&&!se.isValidElement(Qi)&&(Qi=null),wt&&(ia||Da)&&(Qi=se.createElement("span",{className:"".concat(jr,"-content")},Qi)),se.createElement(yt,(0,qe.Z)({},ta,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 an=se.memo(Ht);function Rt(de,ue,he,ye,De,ke){var Je=he[de]||{},at=he[ue]||{},nt,yt;Je.fixed==="left"?nt=ye.left[De==="rtl"?ue:de]:at.fixed==="right"&&(yt=ye.right[De==="rtl"?de:ue]);var zt=!1,wt=!1,on=!1,ln=!1,vn=he[ue+1],Jn=he[de-1],Rn=!(ke!=null&&ke.children);if(De==="rtl"){if(nt!==void 0){var ea=Jn&&Jn.fixed==="left";ln=!ea&&Rn}else if(yt!==void 0){var zn=vn&&vn.fixed==="right";on=!zn&&Rn}}else if(nt!==void 0){var la=vn&&vn.fixed==="left";zt=!la&&Rn}else if(yt!==void 0){var Ra=Jn&&Jn.fixed==="right";wt=!Ra&&Rn}return{fixLeft:nt,fixRight:yt,lastFixLeft:zt,firstFixRight:wt,lastFixRight:on,firstFixLeft:ln,isSticky:ye.isSticky}}var Jt=se.createContext({}),An=Jt;function kn(de){var ue=de.className,he=de.index,ye=de.children,De=de.colSpan,ke=De===void 0?1:De,Je=de.rowSpan,at=de.align,nt=He(ne,["prefixCls","direction"]),yt=nt.prefixCls,zt=nt.direction,wt=se.useContext(An),on=wt.scrollColumnIndex,ln=wt.stickyOffsets,vn=wt.flattenColumns,Jn=wt.columns,Rn=he+ke-1,ea=Rn+1===on?ke+1:ke,zn=Rt(he,he+ea-1,vn,ln,zt,Jn==null?void 0:Jn[he]);return se.createElement(an,(0,qe.Z)({className:ue,index:he,component:"td",prefixCls:yt,record:null,dataIndex:null,align:at,colSpan:ea,rowSpan:Je,render:function(){return ye}},zn))}var ma=ee(45987),Ie=["children"];function _e(de){var ue=de.children,he=(0,ma.Z)(de,Ie);return se.createElement("tr",he,ue)}function Xn(de){var ue=de.children;return ue}Xn.Row=_e,Xn.Cell=kn;var $n=Xn;function ct(de){var ue=de.children,he=de.stickyOffsets,ye=de.flattenColumns,De=de.columns,ke=He(ne,"prefixCls"),Je=ye.length-1,at=ye[Je],nt=se.useMemo(function(){return{stickyOffsets:he,flattenColumns:ye,scrollColumnIndex:at!=null&&at.scrollbar?Je:null,columns:De}},[at,ye,Je,he,De]);return se.createElement(An.Provider,{value:nt},se.createElement("tfoot",{className:"".concat(ke,"-summary")},ue))}var dn=z(ct),Ue=$n;function ut(de){var ue=se.useRef();ue.current=de;var he=se.useCallback(function(){for(var ye,De=arguments.length,ke=new Array(De),Je=0;Je<De;Je++)ke[Je]=arguments[Je];return(ye=ue.current)===null||ye===void 0?void 0:ye.call.apply(ye,[ue].concat(ke))},[]);return he}function Ft(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Wt=Ft()?se.useLayoutEffect:se.useEffect,kt=function(ue,he){var ye=React.useRef(!0);Wt(function(){return ue(ye.current)},he),Wt(function(){return ye.current=!1,function(){ye.current=!0}},[])},bn=function(ue,he){kt(function(ye){if(!ye)return ue()},he)},aa=null;function Vn(de){var ue=React.useRef(!1),he=React.useState(de),ye=_slicedToArray(he,2),De=ye[0],ke=ye[1];React.useEffect(function(){return ue.current=!1,function(){ue.current=!0}},[]);function Je(at,nt){nt&&ue.current||ke(at)}return[De,Je]}function Gn(de){return de!==void 0}function Ga(de,ue){var he=ue||{},ye=he.defaultValue,De=he.value,ke=he.onChange,Je=he.postState,at=useState(function(){return Gn(De)?De:Gn(ye)?typeof ye=="function"?ye():ye:typeof de=="function"?de():de}),nt=_slicedToArray(at,2),yt=nt[0],zt=nt[1],wt=De!==void 0?De:yt,on=Je?Je(wt):wt,ln=useEvent(ke),vn=useState([wt]),Jn=_slicedToArray(vn,2),Rn=Jn[0],ea=Jn[1];useLayoutUpdateEffect(function(){var la=Rn[0];yt!==la&&ln(yt,la)},[Rn]),useLayoutUpdateEffect(function(){Gn(De)||zt(De)},[De]);var zn=useEvent(function(la,Ra){zt(la,Ra),ea([wt],Ra)});return[on,zn]}var ra=ee(35110);function ja(de,ue){typeof de=="function"?de(ue):(0,be.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 ye=ue.filter(function(De){return De});return ye.length<=1?ye[0]:function(De){ue.forEach(function(ke){ja(ke,De)})}}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(ye,De){return ye.length!==De.length||ye.every(function(ke,Je){return ke!==De[Je]})})}function Xr(de){var ue,he,ye=isMemo(de)?de.type.type:de.type;return!(typeof ye=="function"&&!((ue=ye.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,ye){if(!ue.length)return he;var De=_toArray(ue),ke=De[0],Je=De.slice(1),at;return!de&&typeof ke=="number"?at=[]:Array.isArray(de)?at=_toConsumableArray(de):at=_objectSpread({},de),ye&&he===void 0&&Je.length===1?delete at[ke][Je[0]]:at[ke]=Br(at[ke],Je,he,ye),at}function to(de,ue,he){var ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ue.length&&ye&&he===void 0&&!get(de,ue.slice(0,-1))?de:Br(de,ue,he,ye)}function lo(de){return _typeof(de)==="object"&&de!==null&&Object.getPrototypeOf(de)===Object.prototype}function gr(de){return Array.isArray(de)?[]:{}}var yn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Tn(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];var ye=gr(ue[0]);return ue.forEach(function(De){function ke(Je,at){var nt=new Set(at),yt=get(De,Je),zt=Array.isArray(yt);if(zt||lo(yt)){if(!nt.has(yt)){nt.add(yt);var wt=get(ye,Je);zt?ye=to(ye,Je,[]):(!wt||_typeof(wt)!=="object")&&(ye=to(ye,Je,gr(yt))),yn(yt).forEach(function(on){ke([].concat(_toConsumableArray(Je),[on]),nt)})}}else ye=to(ye,Je,yt)}ke([])}),ye}var wn=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,ye=ue.height;if(he||ye)return!0}if(de.getBoundingClientRect){var De=de.getBoundingClientRect(),ke=De.width,Je=De.height;if(ke||Je)return!0}}return!1},Oa=function(ue){if(Ft()&&window.document.documentElement){var he=Array.isArray(ue)?ue:[ue],ye=window.document.documentElement;return he.some(function(De){return De in ye.style})}return!1},Ar=function(ue,he){if(!Oa(ue))return!1;var ye=document.createElement("div"),De=ye.style[ue];return ye.style[ue]=he,ye.style[ue]!==De};function Zn(de,ue){return!Array.isArray(de)&&ue!==void 0?Ar(de,ue):Oa(de)}var tt;function st(de){if(typeof document=="undefined")return 0;if(de||tt===void 0){var ue=document.createElement("div");ue.style.width="100%",ue.style.height="200px";var he=document.createElement("div"),ye=he.style;ye.position="absolute",ye.top="0",ye.left="0",ye.pointerEvents="none",ye.visibility="hidden",ye.width="200px",ye.height="150px",ye.overflow="hidden",he.appendChild(ue),document.body.appendChild(he);var De=ue.offsetWidth;he.style.overflow="scroll";var ke=ue.offsetWidth;De===ke&&(ke=he.clientWidth),document.body.removeChild(he),tt=De-ke}return tt}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,ye=ue.height;return{width:Ve(he),height:Ve(ye)}}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`,Qn=`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`,Ka="".concat(Cn," ").concat(Qn).split(/[\s\n]+/),ca="aria-",Wn="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,xe.Z)({},ue);var ye={};return Object.keys(de).forEach(function(De){(he.aria&&(De==="role"||Ma(De,ca))||he.data&&Ma(De,Wn)||he.attr&&Ka.includes(De))&&(ye[De]=de[De])}),ye}function Mn(de,ue,he,ye,De,ke,Je){de.push({record:ue,indent:he,index:Je});var at=ke(ue),nt=De==null?void 0:De.has(at);if(ue&&Array.isArray(ue[ye])&&nt)for(var yt=0;yt<ue[ye].length;yt+=1)Mn(de,ue[ye][yt],he+1,ye,De,ke,yt)}function no(de,ue,he,ye){var De=se.useMemo(function(){if(he!=null&&he.size){for(var ke=[],Je=0;Je<(de==null?void 0:de.length);Je+=1){var at=de[Je];Mn(ke,at,0,ue,he,ye,Je)}return ke}return de==null?void 0:de.map(function(nt,yt){return{record:nt,indent:0,index:yt}})},[de,ue,he,ye]);return De}function ot(de){var ue=de.prefixCls,he=de.children,ye=de.component,De=de.cellComponent,ke=de.className,Je=de.expanded,at=de.colSpan,nt=de.isEmpty,yt=He(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),zt=yt.scrollbarSize,wt=yt.fixHeader,on=yt.fixColumn,ln=yt.componentWidth,vn=yt.horizonScroll,Jn=he;return(nt?vn&&ln:on)&&(Jn=se.createElement("div",{style:{width:ln-(wt?zt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ue,"-expanded-row-fixed")},Jn)),se.createElement(ye,{className:ke,style:{display:Je?null:"none"}},se.createElement(an,{component:De,prefixCls:ue,colSpan:at},Jn))}var _t=ot;function $t(de,ue,he,ye){var De=He(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ke=De.flattenColumns,Je=De.expandableType,at=De.expandedKeys,nt=De.childrenColumnName,yt=De.onTriggerExpand,zt=De.rowExpandable,wt=De.onRow,on=De.expandRowByClick,ln=De.rowClassName,vn=Je==="nest",Jn=Je==="row"&&(!zt||zt(de)),Rn=Jn||vn,ea=at&&at.has(ue),zn=nt&&de&&de[nt],la=ut(yt),Ra=wt==null?void 0:wt(de,he),Qa=Ra==null?void 0:Ra.onClick,Ba=function(Na){on&&Rn&&yt(de,Na);for(var ua=arguments.length,ia=new Array(ua>1?ua-1:0),Da=1;Da<ua;Da++)ia[Da-1]=arguments[Da];Qa==null||Qa.apply(void 0,[Na].concat(ia))},fr;typeof ln=="string"?fr=ln:typeof ln=="function"&&(fr=ln(de,he,ye));var Dr=Hn(ke);return(0,xe.Z)((0,xe.Z)({},De),{},{columnsKey:Dr,nestExpandable:vn,expanded:ea,hasNestChildren:zn,record:de,onTriggerExpand:la,rowSupportExpand:Jn,expandable:Rn,rowProps:(0,xe.Z)((0,xe.Z)({},Ra),{},{className:Qe()(fr,Ra==null?void 0:Ra.className),onClick:Ba})})}function Xt(de,ue,he,ye,De){var ke=de.record,Je=de.prefixCls,at=de.columnsKey,nt=de.fixedInfoList,yt=de.expandIconColumnIndex,zt=de.nestExpandable,wt=de.indentSize,on=de.expandIcon,ln=de.expanded,vn=de.hasNestChildren,Jn=de.onTriggerExpand,Rn=at[he],ea=nt[he],zn;he===(yt||0)&&zt&&(zn=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(wt*ye,"px")},className:"".concat(Je,"-row-indent indent-level-").concat(ye)}),on({prefixCls:Je,expanded:ln,expandable:vn,record:ke,onExpand:Jn})));var la;return ue.onCell&&(la=ue.onCell(ke,De)),{key:Rn,fixedInfo:ea,appendCellNode:zn,additionalCellProps:la||{}}}function jn(de){var ue=de.className,he=de.style,ye=de.record,De=de.index,ke=de.renderIndex,Je=de.rowKey,at=de.indent,nt=at===void 0?0:at,yt=de.rowComponent,zt=de.cellComponent,wt=de.scopeCellComponent,on=$t(ye,Je,De,nt),ln=on.prefixCls,vn=on.flattenColumns,Jn=on.expandedRowClassName,Rn=on.expandedRowRender,ea=on.rowProps,zn=on.expanded,la=on.rowSupportExpand,Ra=se.useState(!1),Qa=(0,Oe.Z)(Ra,2),Ba=Qa[0],fr=Qa[1];se.useEffect(function(){zn&&fr(!0)},[zn]);var Dr=se.createElement(yt,(0,qe.Z)({},ea,{"data-row-key":Je,className:Qe()(ue,"".concat(ln,"-row"),"".concat(ln,"-row-level-").concat(nt),ea==null?void 0:ea.className),style:(0,xe.Z)((0,xe.Z)({},he),ea==null?void 0:ea.style)}),vn.map(function(ia,Da){var Wa=ia.render,vr=ia.dataIndex,Er=ia.className,Ha=Xt(on,ia,Da,nt,De),Or=Ha.key,jr=Ha.fixedInfo,Bo=Ha.appendCellNode,mo=Ha.additionalCellProps;return se.createElement(an,(0,qe.Z)({className:Er,ellipsis:ia.ellipsis,align:ia.align,scope:ia.rowScope,component:ia.rowScope?wt:zt,prefixCls:ln,key:Or,record:ye,index:De,renderIndex:ke,dataIndex:vr,render:Wa,shouldCellUpdate:ia.shouldCellUpdate},jr,{appendNode:Bo,additionalProps:mo}))})),Pa;if(la&&(Ba||zn)){var Na=Rn(ye,De,nt+1,zn),ua=Jn&&Jn(ye,De,nt);Pa=se.createElement(_t,{expanded:zn,className:Qe()("".concat(ln,"-expanded-row"),"".concat(ln,"-expanded-row-level-").concat(nt+1),ua),prefixCls:ln,component:yt,cellComponent:zt,colSpan:vn.length,isEmpty:!1},Na)}return se.createElement(se.Fragment,null,Dr,Pa)}jn.displayName="BodyRow";var Ut=z(jn);function Fn(de){var ue=de.columnKey,he=de.onColumnResize,ye=se.useRef();return se.useEffect(function(){ye.current&&he(ue,ye.current.offsetWidth)},[]),se.createElement(wn.Z,{data:ue},se.createElement("td",{ref:ye,style:{padding:0,border:0,height:0}},se.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function un(de){var ue=de.prefixCls,he=de.columnsKey,ye=de.onColumnResize;return se.createElement("tr",{"aria-hidden":"true",className:"".concat(ue,"-measure-row"),style:{height:0,fontSize:0}},se.createElement(wn.Z.Collection,{onBatchResize:function(ke){ke.forEach(function(Je){var at=Je.data,nt=Je.size;ye(at,nt.offsetWidth)})}},he.map(function(De){return se.createElement(Fn,{key:De,columnKey:De,onColumnResize:ye})})))}function $a(de){var ue=de.data,he=de.measureColumnWidth,ye=He(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),De=ye.prefixCls,ke=ye.getComponent,Je=ye.onColumnResize,at=ye.flattenColumns,nt=ye.getRowKey,yt=ye.expandedKeys,zt=ye.childrenColumnName,wt=ye.emptyNode,on=no(ue,zt,yt,nt),ln=se.useRef({renderWithProps:!1}),vn=ke(["body","wrapper"],"tbody"),Jn=ke(["body","row"],"tr"),Rn=ke(["body","cell"],"td"),ea=ke(["body","cell"],"th"),zn;ue.length?zn=on.map(function(Ra,Qa){var Ba=Ra.record,fr=Ra.indent,Dr=Ra.index,Pa=nt(Ba,Qa);return se.createElement(Ut,{key:Pa,rowKey:Pa,record:Ba,index:Qa,renderIndex:Dr,rowComponent:Jn,cellComponent:Rn,scopeCellComponent:ea,getRowKey:nt,indent:fr})}):zn=se.createElement(_t,{expanded:!0,className:"".concat(De,"-placeholder"),prefixCls:De,component:Jn,cellComponent:Rn,colSpan:at.length,isEmpty:!0},wt);var la=Hn(at);return se.createElement(Mt.Provider,{value:ln.current},se.createElement(vn,{className:"".concat(De,"-tbody")},he&&se.createElement(un,{prefixCls:De,columnsKey:la,onColumnResize:Je}),zn))}$a.displayName="Body";var Aa=z($a),cr=["expandable"],zr="RC_TABLE_INTERNAL_COL_DEFINE";function co(de){var ue=de.expandable,he=(0,ma.Z)(de,cr),ye;return"expandable"in de?ye=(0,xe.Z)((0,xe.Z)({},he),ue):ye=he,ye.showExpandColumn===!1&&(ye.expandIconColumnIndex=-1),ye}var mn=["columnType"];function Bi(de){for(var ue=de.colWidths,he=de.columns,ye=de.columCount,De=[],ke=ye||he.length,Je=!1,at=ke-1;at>=0;at-=1){var nt=ue[at],yt=he&&he[at],zt=yt&&yt[zr];if(nt||zt||Je){var wt=zt||{},on=wt.columnType,ln=(0,ma.Z)(wt,mn);De.unshift(se.createElement("col",(0,qe.Z)({key:at,style:{width:nt}},ln))),Je=!0}}return se.createElement("colgroup",null,De)}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=[],ye=0;ye<ue;ye+=1){var De=de[ye];if(De!==void 0)he[ye]=De;else return null}return he},[de.join("_"),ue])}var va=se.forwardRef(function(de,ue){var he=de.className,ye=de.noData,De=de.columns,ke=de.flattenColumns,Je=de.colWidths,at=de.columCount,nt=de.stickyOffsets,yt=de.direction,zt=de.fixHeader,wt=de.stickyTopOffset,on=de.stickyBottomOffset,ln=de.stickyClassName,vn=de.onScroll,Jn=de.maxContentScroll,Rn=de.children,ea=(0,ma.Z)(de,Yo),zn=He(ne,["prefixCls","scrollbarSize","isSticky"]),la=zn.prefixCls,Ra=zn.scrollbarSize,Qa=zn.isSticky,Ba=Qa&&!zt?0:Ra,fr=se.useRef(null),Dr=se.useCallback(function(Er){ja(ue,Er),ja(fr,Er)},[]);se.useEffect(function(){var Er;function Ha(Or){var jr=Or,Bo=jr.currentTarget,mo=jr.deltaX;mo&&(vn({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 ke.every(function(Er){return Er.width})},[ke]),Na=ke[ke.length-1],ua={fixed:Na?Na.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(la,"-cell-scrollbar")}}},ia=(0,se.useMemo)(function(){return Ba?[].concat((0,qr.Z)(De),[ua]):De},[Ba,De]),Da=(0,se.useMemo)(function(){return Ba?[].concat((0,qr.Z)(ke),[ua]):ke},[Ba,ke]),Wa=(0,se.useMemo)(function(){var Er=nt.right,Ha=nt.left;return(0,xe.Z)((0,xe.Z)({},nt),{},{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,nt,Qa]),vr=In(Je,at);return se.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},Qa?{top:wt,bottom:on}:{}),ref:Dr,className:Qe()(he,(0,Se.Z)({},ln,!!ln))},se.createElement("table",{style:{tableLayout:"fixed",visibility:ye||vr?null:"hidden"}},(!ye||!Jn||Pa)&&se.createElement(ei,{colWidths:vr?[].concat((0,qr.Z)(vr),[Ba]):[],columCount:at+1,columns:Da}),Rn((0,xe.Z)((0,xe.Z)({},ea),{},{stickyOffsets:Wa,columns:ia,flattenColumns:Da}))))});va.displayName="FixedHolder";var Va=se.memo(va);function Un(de){var ue=de.cells,he=de.stickyOffsets,ye=de.flattenColumns,De=de.rowComponent,ke=de.cellComponent,Je=de.tdCellComponent,at=de.onHeaderRow,nt=de.index,yt=He(ne,["prefixCls","direction"]),zt=yt.prefixCls,wt=yt.direction,on;at&&(on=at(ue.map(function(vn){return vn.column}),nt));var ln=Hn(ue.map(function(vn){return vn.column}));return se.createElement(De,on,ue.map(function(vn,Jn){var Rn=vn.column,ea=Rt(vn.colStart,vn.colEnd,ye,he,wt,Rn),zn;return Rn&&Rn.onHeaderCell&&(zn=vn.column.onHeaderCell(Rn)),se.createElement(an,(0,qe.Z)({},vn,{scope:Rn.title?vn.colSpan>1?"colgroup":"col":null,ellipsis:Rn.ellipsis,align:Rn.align,component:Rn.title?ke:Je,prefixCls:zt,key:ln[Jn]},ea,{additionalProps:zn,rowType:"header"}))}))}Un.displayName="HeaderRow";var Wr=Un;function _r(de){var ue=[];function he(Je,at){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ue[nt]=ue[nt]||[];var yt=at,zt=Je.filter(Boolean).map(function(wt){var on={key:wt.key,className:wt.className||"",children:wt.title,column:wt,colStart:yt},ln=1,vn=wt.children;return vn&&vn.length>0&&(ln=he(vn,yt,nt+1).reduce(function(Jn,Rn){return Jn+Rn},0),on.hasSubColumns=!0),"colSpan"in wt&&(ln=wt.colSpan),"rowSpan"in wt&&(on.rowSpan=wt.rowSpan),on.colSpan=ln,on.colEnd=on.colStart+ln-1,ue[nt].push(on),yt+=ln,ln});return zt}he(de,0);for(var ye=ue.length,De=function(at){ue[at].forEach(function(nt){!("rowSpan"in nt)&&!nt.hasSubColumns&&(nt.rowSpan=ye-at)})},ke=0;ke<ye;ke+=1)De(ke);return ue}function ti(de){var ue=de.stickyOffsets,he=de.columns,ye=de.flattenColumns,De=de.onHeaderRow,ke=He(ne,["prefixCls","getComponent"]),Je=ke.prefixCls,at=ke.getComponent,nt=se.useMemo(function(){return _r(he)},[he]),yt=at(["header","wrapper"],"thead"),zt=at(["header","row"],"tr"),wt=at(["header","cell"],"th"),on=at(["header","cell"],"td");return se.createElement(yt,{className:"".concat(Je,"-thead")},nt.map(function(ln,vn){var Jn=se.createElement(Wr,{key:vn,flattenColumns:ye,cells:ln,stickyOffsets:ue,rowComponent:zt,cellComponent:wt,tdCellComponent:on,onHeaderRow:De,index:vn});return Jn}))}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(ye){ye==null&&!ue.keepEmpty||(Array.isArray(ye)?he=he.concat(ai(ye)):(0,ra.isFragment)(ye)&&ye.props?he=he.concat(ai(ye.props.children,ue)):he.push(ye))}),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,ye=0;de.forEach(function(yt){var zt=bl(ue,yt.width);zt?he+=zt:ye+=1});var De=ue-he,ke=ye,Je=De/ye,at=0,nt=de.map(function(yt){var zt=(0,xe.Z)({},yt),wt=bl(ue,zt.width);if(wt)zt.width=wt;else{var on=Math.floor(Je);zt.width=ke===1?De:on,De-=on,ke-=1}return at+=zt.width,zt});return[nt,at]}return[de,ue]},[de,ue])}var Kl=["children"],$l=["fixed"];function wi(de){return ai(de).filter(function(ue){return se.isValidElement(ue)}).map(function(ue){var he=ue.key,ye=ue.props,De=ye.children,ke=(0,ma.Z)(ye,Kl),Je=(0,xe.Z)({key:he},ke);return De&&(Je.children=wi(De)),Je})}function Xo(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return de.filter(function(he){return he&&(0,be.Z)(he)==="object"}).reduce(function(he,ye,De){var ke=ye.fixed,Je=ke===!0?"left":ke,at="".concat(ue,"-").concat(De),nt=ye.children;return nt&&nt.length>0?[].concat((0,qr.Z)(he),(0,qr.Z)(Xo(nt,at).map(function(yt){return(0,xe.Z)({fixed:Je},yt)}))):[].concat((0,qr.Z)(he),[(0,xe.Z)((0,xe.Z)({key:at},ye),{},{fixed:Je})])},[])}function hl(de){for(var ue=!0,he=0;he<de.length;he+=1){var ye=de[he];if(ue&&ye.fixed!=="left")ue=!1;else if(!ue&&ye.fixed==="left"){warning(!1,"Index ".concat(he-1," of `columns` missing `fixed='left'` prop."));break}}for(var De=!0,ke=de.length-1;ke>=0;ke-=1){var Je=de[ke];if(De&&Je.fixed!=="right")De=!1;else if(!De&&Je.fixed==="right"){warning(!1,"Index ".concat(ke+1," of `columns` missing `fixed='right'` prop."));break}}}function Cl(de){return de.map(function(ue){var he=ue.fixed,ye=(0,ma.Z)(ue,$l),De=he;return he==="left"?De="right":he==="right"&&(De="left"),(0,xe.Z)({fixed:De},ye)})}function Fl(de,ue){var he=de.prefixCls,ye=de.columns,De=de.children,ke=de.expandable,Je=de.expandedKeys,at=de.columnTitle,nt=de.getRowKey,yt=de.onTriggerExpand,zt=de.expandIcon,wt=de.rowExpandable,on=de.expandIconColumnIndex,ln=de.direction,vn=de.expandRowByClick,Jn=de.columnWidth,Rn=de.fixed,ea=de.scrollWidth,zn=se.useMemo(function(){return ye||wi(De)},[ye,De]),la=se.useMemo(function(){if(ke){var Na,ua=zn.slice();if(!ua.includes(re)){var ia=on||0;ia>=0&&ua.splice(ia,0,re)}var Da=ua.indexOf(re);ua=ua.filter(function(Ha,Or){return Ha!==re||Or===Da});var Wa=zn[Da],vr;(Rn==="left"||Rn)&&!on?vr="left":(Rn==="right"||Rn)&&on===zn.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",at),(0,Se.Z)(Na,"fixed",vr),(0,Se.Z)(Na,"className","".concat(he,"-row-expand-icon-cell")),(0,Se.Z)(Na,"width",Jn),(0,Se.Z)(Na,"render",function(Or,jr,Bo){var mo=nt(jr,Bo),gi=Je.has(mo),fi=wt?wt(jr):!0,Fr=zt({prefixCls:he,expanded:gi,expandable:fi,record:jr,onExpand:yt});return vn?se.createElement("span",{onClick:function(ta){return ta.stopPropagation()}},Fr):Fr}),Na);return ua.map(function(Ha){return Ha===re?Er:Ha})}return zn.filter(function(Ha){return Ha!==re})},[ke,zn,nt,Je,zt,ln]),Ra=se.useMemo(function(){var Na=la;return ue&&(Na=ue(Na)),Na.length||(Na=[{render:function(){return null}}]),Na},[ue,la,ln]),Qa=se.useMemo(function(){return ln==="rtl"?Cl(Xo(Ra)):Xo(Ra)},[Ra,ln,ea]),Ba=yi(Qa,ea),fr=(0,Oe.Z)(Ba,2),Dr=fr[0],Pa=fr[1];return[Ra,Dr,Pa]}var tl=Fl;function ki(de){var ue,he=de.prefixCls,ye=de.record,De=de.onExpand,ke=de.expanded,Je=de.expandable,at="".concat(he,"-row-expand-icon");if(!Je)return se.createElement("span",{className:Qe()(at,"".concat(he,"-row-spaced"))});var nt=function(zt){De(ye,zt),zt.stopPropagation()};return se.createElement("span",{className:Qe()(at,(ue={},(0,Se.Z)(ue,"".concat(he,"-row-expanded"),ke),(0,Se.Z)(ue,"".concat(he,"-row-collapsed"),!ke),ue)),onClick:nt})}function pl(de,ue,he){var ye=[];function De(ke){(ke||[]).forEach(function(Je,at){ye.push(ue(Je,at)),De(Je[he])})}return De(de),ye}function kr(de,ue,he){var ye=co(de),De=ye.expandIcon,ke=ye.expandedRowKeys,Je=ye.defaultExpandedRowKeys,at=ye.defaultExpandAllRows,nt=ye.expandedRowRender,yt=ye.onExpand,zt=ye.onExpandedRowsChange,wt=ye.childrenColumnName,on=De||ki,ln=wt||"children",vn=se.useMemo(function(){return nt?"row":de.expandable&&de.internalHooks===me&&de.expandable.__PARENT_RENDER_ICON__||ue.some(function(Qa){return Qa&&(0,be.Z)(Qa)==="object"&&Qa[ln]})?"nest":!1},[!!nt,ue]),Jn=se.useState(function(){return Je||(at?pl(ue,he,ln):[])}),Rn=(0,Oe.Z)(Jn,2),ea=Rn[0],zn=Rn[1],la=se.useMemo(function(){return new Set(ke||ea||[])},[ke,ea]),Ra=se.useCallback(function(Qa){var Ba=he(Qa,ue.indexOf(Qa)),fr,Dr=la.has(Ba);Dr?(la.delete(Ba),fr=(0,qr.Z)(la)):fr=[].concat((0,qr.Z)(la),[Ba]),zn(fr),yt&&yt(!Dr,Qa),zt&&zt(fr)},[he,la,ue,yt,zt]);return[ye,vn,la,on,ln,Ra]}function vt(de,ue,he,ye){var De=de.map(function(ke,Je){return Rt(Je,Je,de,ue,he,ye==null?void 0:ye[Je])});return Dt(function(){return De},[De],function(ke,Je){return!Bt(ke,Je)})}function Lt(de){var ue=(0,se.useRef)(de),he=(0,se.useState)({}),ye=(0,Oe.Z)(he,2),De=ye[1],ke=(0,se.useRef)(null),Je=(0,se.useRef)([]);function at(nt){Je.current.push(nt);var yt=Promise.resolve();ke.current=yt,yt.then(function(){if(ke.current===yt){var zt=Je.current,wt=ue.current;Je.current=[],zt.forEach(function(on){ue.current=on(ue.current)}),ke.current=null,wt!==ue.current&&De({})}})}return(0,se.useEffect)(function(){return function(){ke.current=null}},[]),[ue.current,at]}function qt(de){var ue=(0,se.useRef)(de||null),he=(0,se.useRef)();function ye(){window.clearTimeout(he.current)}function De(Je){ue.current=Je,ye(),he.current=window.setTimeout(function(){ue.current=null,he.current=void 0},100)}function ke(){return ue.current}return(0,se.useEffect)(function(){return ye},[]),[De,ke]}function Ae(){var de=se.useState(-1),ue=(0,Oe.Z)(de,2),he=ue[0],ye=ue[1],De=se.useState(-1),ke=(0,Oe.Z)(De,2),Je=ke[0],at=ke[1],nt=se.useCallback(function(yt,zt){ye(yt),at(zt)},[]);return[he,Je,nt]}var Vt=Ft()?window:null;function Dn(de,ue){var he=(0,be.Z)(de)==="object"?de:{},ye=he.offsetHeader,De=ye===void 0?0:ye,ke=he.offsetSummary,Je=ke===void 0?0:ke,at=he.offsetScroll,nt=at===void 0?0:at,yt=he.getContainer,zt=yt===void 0?function(){return Vt}:yt,wt=zt()||Vt;return se.useMemo(function(){var on=!!de;return{isSticky:on,stickyClassName:on?"".concat(ue,"-sticky-holder"):"",offsetHeader:De,offsetSummary:Je,offsetScroll:nt,container:wt}},[nt,De,Je,ue,wt])}function Ln(de,ue,he){var ye=(0,se.useMemo)(function(){for(var De=[],ke=[],Je=0,at=0,nt=0;nt<ue;nt+=1)if(he==="rtl"){ke[nt]=at,at+=de[nt]||0;var yt=ue-nt-1;De[yt]=Je,Je+=de[yt]||0}else{De[nt]=Je,Je+=de[nt]||0;var zt=ue-nt-1;ke[zt]=at,at+=de[zt]||0}return{left:De,right:ke}},[de,ue,he]);return ye}var Pt=Ln;function Gt(de){var ue=de.className,he=de.children;return se.createElement("div",{className:ue},he)}var Ot=Gt;function On(de,ue,he,ye){var De=Ze.unstable_batchedUpdates?function(Je){Ze.unstable_batchedUpdates(he,Je)}:he;return de!=null&&de.addEventListener&&de.addEventListener(ue,De,ye),{remove:function(){de!=null&&de.removeEventListener&&de.removeEventListener(ue,De,ye)}}}var sa=/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]=sa.test(ue)),xa[ue]?parseFloat(he)||0:he}function En(de,ue){var he=arguments.length,ye=Ia(de);return ue=pa[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,he===1?ye:rr(de,ue,ye[ue]||de.style[ue])}function Nt(de,ue,he){var ye=arguments.length;if(ue=pa[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,ye===3)return typeof he=="number"&&sa.test(ue)&&(he="".concat(he,"px")),de.style[ue]=he,he;for(var De in ue)ue.hasOwnProperty(De)&&Nt(de,De,ue[De]);return Ia(de)}function Sn(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 oa(){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 ye,De,ke=ue.scrollBodyRef,Je=ue.onScroll,at=ue.offsetScroll,nt=ue.container,yt=He(ne,"prefixCls"),zt=((ye=ke.current)===null||ye===void 0?void 0:ye.scrollWidth)||0,wt=((De=ke.current)===null||De===void 0?void 0:De.clientWidth)||0,on=zt&&wt*(wt/zt),ln=se.useRef(),vn=Lt({scrollLeft:0,isHiddenScrollBar:!1}),Jn=(0,Oe.Z)(vn,2),Rn=Jn[0],ea=Jn[1],zn=se.useRef({delta:0,x:0}),la=se.useState(!1),Ra=(0,Oe.Z)(la,2),Qa=Ra[0],Ba=Ra[1],fr=function(){Ba(!1)},Dr=function(Da){Da.persist(),zn.current.delta=Da.pageX-Rn.scrollLeft,zn.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=zn.current.x+Da.pageX-zn.current.x-zn.current.delta;Ha<=0&&(Ha=0),Ha+on>=wt&&(Ha=wt-on),Je({scrollLeft:Ha/wt*(zt+2)}),zn.current.x=Da.pageX},Na=function(){if(ke.current){var Da=yr(ke.current).top,Wa=Da+ke.current.offsetHeight,vr=nt===window?document.documentElement.scrollTop+window.innerHeight:yr(nt).top+nt.clientHeight;Wa-st()<=vr||Da>=vr-at?ea(function(Er){return(0,xe.Z)((0,xe.Z)({},Er),{},{isHiddenScrollBar:!0})}):ea(function(Er){return(0,xe.Z)((0,xe.Z)({},Er),{},{isHiddenScrollBar:!1})})}},ua=function(Da){ea(function(Wa){return(0,xe.Z)((0,xe.Z)({},Wa),{},{scrollLeft:Da/zt*wt||0})})};return se.useImperativeHandle(he,function(){return{setScrollLeft:ua}}),se.useEffect(function(){var ia=On(document.body,"mouseup",fr,!1),Da=On(document.body,"mousemove",Pa,!1);return Na(),function(){ia.remove(),Da.remove()}},[on,Qa]),se.useEffect(function(){var ia=On(nt,"scroll",Na,!1),Da=On(window,"resize",Na,!1);return function(){ia.remove(),Da.remove()}},[nt]),se.useEffect(function(){Rn.isHiddenScrollBar||ea(function(ia){var Da=ke.current;return Da?(0,xe.Z)((0,xe.Z)({},ia),{},{scrollLeft:Da.scrollLeft/Da.scrollWidth*Da.clientWidth}):ia})},[Rn.isHiddenScrollBar]),zt<=wt||!on||Rn.isHiddenScrollBar?null:se.createElement("div",{style:{height:st(),width:wt,bottom:at},className:"".concat(yt,"-sticky-scroll")},se.createElement("div",{onMouseDown:Dr,ref:ln,className:Qe()("".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)")}}))},_n=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,xe.Z)({rowKey:"key",prefixCls:Hr,emptyText:wo},de),ye=he.prefixCls,De=he.className,ke=he.rowClassName,Je=he.style,at=he.data,nt=he.rowKey,yt=he.scroll,zt=he.tableLayout,wt=he.direction,on=he.title,ln=he.footer,vn=he.summary,Jn=he.caption,Rn=he.id,ea=he.showHeader,zn=he.components,la=he.emptyText,Ra=he.onRow,Qa=he.onHeaderRow,Ba=he.internalHooks,fr=he.transformColumns,Dr=he.internalRefs,Pa=he.tailor,Na=he.sticky,ua=at||ro,ia=!!ua.length,Da=Ba===me,Wa=se.useCallback(function(xr,Ro){return Kn(zn,xr)||Ro},[zn]),vr=se.useMemo(function(){return typeof nt=="function"?nt:function(xr){var Ro=xr&&xr[nt];return Ro}},[nt]),Er=Wa(["body"]),Ha=Ae(),Or=(0,Oe.Z)(Ha,3),jr=Or[0],Bo=Or[1],mo=Or[2],gi=kr(he,ua,vr),fi=(0,Oe.Z)(gi,6),Fr=fi[0],Di=fi[1],ta=fi[2],or=fi[3],Kr=fi[4],Io=fi[5],ba=yt==null?void 0:yt.x,Ja=se.useState(0),tr=(0,Oe.Z)(Ja,2),Ua=tr[0],po=tr[1],ir=tl((0,xe.Z)((0,xe.Z)((0,xe.Z)({},he),Fr),{},{expandable:!!Fr.expandedRowRender,columnTitle:Fr.columnTitle,expandedKeys:ta,getRowKey:vr,onTriggerExpand:Io,expandIcon:or,expandIconColumnIndex:Fr.expandIconColumnIndex,direction:wt,scrollWidth:Da&&Pa&&typeof ba=="number"?ba:null}),Da?fr:null),Ir=(0,Oe.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,Oe.Z)(Go,2),te=Wo[0],ie=Wo[1],le=se.useState(!1),ge=(0,Oe.Z)(le,2),ve=ge[0],Ne=ge[1],Le=Lt(new Map),Ye=(0,Oe.Z)(Le,2),Xe=Ye[0],dt=Ye[1],Yt=Hn(yo),mt=Yt.map(function(xr){return Xe.get(xr)}),St=se.useMemo(function(){return mt},[mt.join("_")]),bt=Pt(St,yo.length,wt),At=yt&&Ca(yt.y),rt=yt&&Ca(Pl)||!!Fr.fixed,xt=rt&&yo.some(function(xr){var Ro=xr.fixed;return Ro}),en=se.useRef(),Bn=Dn(Na,ye),gn=Bn.isSticky,sn=Bn.offsetHeader,qn=Bn.offsetSummary,rn=Bn.offsetScroll,cn=Bn.stickyClassName,wa=Bn.container,na=se.useMemo(function(){return vn==null?void 0:vn(ua)},[vn,ua]),La=(At||gn)&&se.isValidElement(na)&&na.type===$n&&na.props.fixed,ga,nr,wr;At&&(nr={overflowY:"scroll",maxHeight:yt.y}),rt&&(ga={overflowX:"auto"},At||(nr={overflowY:"hidden"}),wr={width:Pl===!0?"auto":Pl,minWidth:"100%"});var Vr=se.useCallback(function(xr,Ro){Nn(Qi.current)&&dt(function(oi){if(oi.get(xr)!==Ro){var $i=new Map(oi);return $i.set(xr,Ro),$i}return oi})},[]),ar=qt(null),lr=(0,Oe.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=wt==="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=en.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),Ne(!1);return}$i?(ie(-Vo<ml-Hi),Ne(-Vo>0)):(ie(Vo>0),Ne(Vo<ml-Hi))}}),Mo=function(){rt&&xi.current?Lr({currentTarget:xi.current}):(ie(!1),Ne(!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()},[rt,at,Ao.length]),se.useEffect(function(){Uo.current=!0},[]);var Pi=se.useState(0),No=(0,Oe.Z)(Pi,2),ci=No[0],io=No[1],vo=se.useState(!0),Fo=(0,Oe.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 ji=se.useCallback(function(xr){return se.createElement(se.Fragment,null,se.createElement(ni,xr),La==="top"&&se.createElement(dn,xr,na))},[La,na]),vi=se.useCallback(function(xr){return se.createElement(dn,xr,na)},[na]),Cr=Wa(["table"],"table"),Zo=se.useMemo(function(){return zt||(xt?Pl==="max-content"?"auto":"fixed":At||gn||yo.some(function(xr){var Ro=xr.ellipsis;return Ro})?"fixed":"auto")},[At,xt,yo,zt,gn]),bo,Qr={colWidths:St,columCount:yo.length,stickyOffsets:bt,onHeaderRow:Qa,fixHeader:At,scroll:yt},_a=se.useMemo(function(){return ia?null:typeof la=="function"?la():la},[ia,la]),ao=se.createElement(Aa,{data:ua,measureColumnWidth:At||rt||gn}),jo=se.createElement(ei,{colWidths:yo.map(function(xr){var Ro=xr.width;return Ro}),columns:yo}),Ji=Jn!=null?se.createElement("caption",{className:"".concat(ye,"-caption")},Jn):void 0,fl=ho(he,{data:!0}),zi=ho(he,{aria:!0});if(At||gn){var as;typeof Er=="function"?(as=Er(ua,{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,xe.Z)((0,xe.Z)({},ga),nr),onScroll:Lr,ref:xi,className:Qe()("".concat(ye,"-body"))},se.createElement(Cr,(0,qe.Z)({style:(0,xe.Z)((0,xe.Z)({},wr),{},{tableLayout:Zo})},zi),Ji,jo,ao,!La&&na&&se.createElement(dn,{stickyOffsets:bt,flattenColumns:yo,columns:Ao},na)));var ys=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!ua.length,maxContentScroll:rt&&Pl==="max-content"},Qr),Os),{},{direction:wt,stickyClassName:cn,onScroll:Lr});bo=se.createElement(se.Fragment,null,ea!==!1&&se.createElement(Va,(0,qe.Z)({},ys,{stickyTopOffset:sn,className:"".concat(ye,"-header"),ref:hs}),ji),as,La&&La!=="top"&&se.createElement(Va,(0,qe.Z)({},ys,{stickyBottomOffset:qn,className:"".concat(ye,"-summary"),ref:Cd}),vi),gn&&se.createElement(_n,{ref:en,offsetScroll:rn,scrollBodyRef:xi,onScroll:Lr,container:wa}))}else bo=se.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},ga),nr),className:Qe()("".concat(ye,"-content")),onScroll:Lr,ref:xi},se.createElement(Cr,(0,qe.Z)({style:(0,xe.Z)((0,xe.Z)({},wr),{},{tableLayout:Zo})},zi),Ji,jo,ea!==!1&&se.createElement(ni,(0,qe.Z)({},Qr,Os)),ao,na&&se.createElement(dn,{stickyOffsets:bt,flattenColumns:yo,columns:Ao},na)));var sl=se.createElement("div",(0,qe.Z)({className:Qe()(ye,De,(ue={},(0,Se.Z)(ue,"".concat(ye,"-rtl"),wt==="rtl"),(0,Se.Z)(ue,"".concat(ye,"-ping-left"),te),(0,Se.Z)(ue,"".concat(ye,"-ping-right"),ve),(0,Se.Z)(ue,"".concat(ye,"-layout-fixed"),zt==="fixed"),(0,Se.Z)(ue,"".concat(ye,"-fixed-header"),At),(0,Se.Z)(ue,"".concat(ye,"-fixed-column"),xt),(0,Se.Z)(ue,"".concat(ye,"-scroll-horizontal"),rt),(0,Se.Z)(ue,"".concat(ye,"-has-fix-left"),yo[0]&&yo[0].fixed),(0,Se.Z)(ue,"".concat(ye,"-has-fix-right"),yo[yo.length-1]&&yo[yo.length-1].fixed==="right"),ue)),style:Je,id:Rn,ref:Qi},fl),on&&se.createElement(Ot,{className:"".concat(ye,"-title")},on(ua)),se.createElement("div",{ref:zl,className:"".concat(ye,"-container")},bo),ln&&se.createElement(Ot,{className:"".concat(ye,"-footer")},ln(ua)));rt&&(sl=se.createElement(wn.Z,{onResize:To},sl));var Xi=vt(yo,bt,wt,Ao),Ki=se.useMemo(function(){return{scrollX:Pl,prefixCls:ye,getComponent:Wa,scrollbarSize:ci,direction:wt,fixedInfoList:Xi,isSticky:gn,supportSticky:ui,componentWidth:Ua,fixHeader:At,fixColumn:xt,horizonScroll:rt,tableLayout:Zo,rowClassName:ke,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:jr,hoverEndRow:Bo,onHover:mo,rowExpandable:Fr.rowExpandable,onRow:Ra,getRowKey:vr,expandedKeys:ta,childrenColumnName:Kr}},[Pl,ye,Wa,ci,wt,Xi,gn,ui,Ua,At,xt,rt,Zo,ke,Fr.expandedRowClassName,or,Di,Fr.expandRowByClick,Fr.expandedRowRender,Io,Fr.expandIconColumnIndex,Fr.indentSize,_a,Ao,yo,Vr,jr,Bo,mo,Fr.rowExpandable,Ra,vr,ta,Kr]);return se.createElement(ne.Provider,{value:Ki},sl)}function Oi(de){return E(Lo,de)}var xl=Oi();xl.EXPAND_COLUMN=re,xl.INTERNAL_HOOKS=me,xl.Column=Sa,xl.ColumnGroup=dr,xl.Summary=Ue;var Wl=xl,Rl=ee(73299),Sl=je(null),Li=je(null);function is(de,ue,he){var ye=ue||1;return he[de+ye]-(he[de]||0)}function Ul(de){var ue=de.rowInfo,he=de.column,ye=de.colIndex,De=de.indent,ke=de.index,Je=de.renderIndex,at=de.record,nt=de.style,yt=de.className,zt=de.inverse,wt=de.getHeight,on=he.render,ln=he.dataIndex,vn=he.className,Jn=he.width,Rn=He(Li,["columnsOffset"]),ea=Rn.columnsOffset,zn=Xt(ue,he,ye,De,ke),la=zn.key,Ra=zn.fixedInfo,Qa=zn.appendCellNode,Ba=zn.additionalCellProps,fr=Ba.style,Dr=Ba.colSpan,Pa=Dr===void 0?1:Dr,Na=Ba.rowSpan,ua=Na===void 0?1:Na,ia=ye-1,Da=is(ia,Pa,ea),Wa=Pa>1?Jn-Da:0,vr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},fr),nt),{},{flex:"0 0 ".concat(Da,"px"),width:"".concat(Da,"px"),marginRight:Wa,pointerEvents:"auto"}),Er=se.useMemo(function(){return zt?ua<=1:Pa===0||ua===0||ua>1},[ua,Pa,zt]);Er?vr.visibility="hidden":zt&&(vr.height=wt==null?void 0:wt(ua));var Ha=Er?function(){return null}:on,Or={};return(ua===0||Pa===0)&&(Or.rowSpan=1,Or.colSpan=1),se.createElement(an,(0,qe.Z)({className:Qe()(vn,yt),ellipsis:he.ellipsis,align:he.align,scope:he.rowScope,component:"div",prefixCls:ue.prefixCls,key:la,record:at,index:ke,renderIndex:Je,dataIndex:ln,render:Ha,shouldCellUpdate:he.shouldCellUpdate},Ra,{appendNode:Qa,additionalProps:(0,xe.Z)((0,xe.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,ye=de.index,De=de.className,ke=de.rowKey,Je=de.style,at=de.extra,nt=de.getHeight,yt=(0,ma.Z)(de,zs),zt=he.record,wt=he.indent,on=he.index,ln=He(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),vn=ln.scrollX,Jn=ln.flattenColumns,Rn=ln.prefixCls,ea=ln.fixColumn,zn=ln.componentWidth,la=$t(zt,ke,ye,wt),Ra=la.rowSupportExpand,Qa=la.expanded,Ba=la.rowProps,fr=la.expandedRowRender,Dr=la.expandedRowClassName,Pa;if(Ra&&Qa){var Na=fr(zt,ye,wt+1,Qa),ua=Dr==null?void 0:Dr(zt,ye,wt),ia={};ea&&(ia={style:(0,Se.Z)({},"--virtual-width","".concat(zn,"px"))});var Da="".concat(Rn,"-expanded-row-cell");Pa=se.createElement("div",{className:Qe()("".concat(Rn,"-expanded-row"),"".concat(Rn,"-expanded-row-level-").concat(wt+1),ua)},se.createElement(an,{component:"div",prefixCls:Rn,className:Qe()(Da,(0,Se.Z)({},"".concat(Da,"-fixed"),ea)),additionalProps:ia},Na))}var Wa=(0,xe.Z)((0,xe.Z)({},Je),{},{width:vn});at&&(Wa.position="absolute",Wa.pointerEvents="none");var vr=se.createElement("div",(0,qe.Z)({},Ba,yt,{ref:Ra?null:ue,className:Qe()(De,"".concat(Rn,"-row"),Ba==null?void 0:Ba.className,(0,Se.Z)({},"".concat(Rn,"-row-extra"),at)),style:(0,xe.Z)((0,xe.Z)({},Wa),Ba==null?void 0:Ba.style)}),Jn.map(function(Er,Ha){return se.createElement(ls,{key:Ha,rowInfo:la,column:Er,colIndex:Ha,indent:wt,index:ye,renderIndex:on,record:zt,inverse:at,getHeight:nt})}));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,ye=de.onScroll,De=He(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),ke=De.flattenColumns,Je=De.onColumnResize,at=De.getRowKey,nt=De.expandedKeys,yt=De.prefixCls,zt=De.childrenColumnName,wt=De.emptyNode,on=De.scrollX,ln=He(Sl),vn=ln.scrollY,Jn=ln.listItemHeight,Rn=se.useRef(),ea=no(he,zt,nt,at),zn=se.useMemo(function(){var Pa=0;return ke.map(function(Na){var ua=Na.width,ia=Na.key;return Pa+=ua,[ia,ua,Pa]})},[ke]),la=se.useMemo(function(){return zn.map(function(Pa){return Pa[2]})},[zn]);se.useEffect(function(){zn.forEach(function(Pa){var Na=(0,Oe.Z)(Pa,2),ua=Na[0],ia=Na[1];Je(ua,ia)})},[zn]),se.useImperativeHandle(ue,function(){var Pa={};return Object.defineProperty(Pa,"scrollLeft",{get:function(){var ua;return((ua=Rn.current)===null||ua===void 0?void 0:ua.getScrollInfo().x)||0},set:function(ua){var ia;(ia=Rn.current)===null||ia===void 0||ia.scrollTo({left:ua})}}),Pa});var Ra=function(Na,ua){var ia,Da=(ia=ea[ua])===null||ia===void 0?void 0:ia.record,Wa=Na.onCell;if(Wa){var vr,Er=Wa(Da,ua);return(vr=Er==null?void 0:Er.rowSpan)!==null&&vr!==void 0?vr:1}return 1},Qa=function(Na){var ua=Na.start,ia=Na.end,Da=Na.getSize,Wa=Na.offsetY;if(ia<0)return null;for(var vr=ke.filter(function(ba){return Ra(ba,ua)===0}),Er=ua,Ha=function(Ja){if(vr=vr.filter(function(tr){return Ra(tr,Ja)===0}),!vr.length)return Er=Ja,"break"},Or=ua;Or>=0;Or-=1){var jr=Ha(Or);if(jr==="break")break}for(var Bo=ke.filter(function(ba){return Ra(ba,ia)!==1}),mo=ia,gi=function(Ja){if(Bo=Bo.filter(function(tr){return Ra(tr,Ja)!==1}),!Bo.length)return mo=Math.max(Ja-1,ia),"break"},fi=ia;fi<ea.length;fi+=1){var Fr=gi(fi);if(Fr==="break")break}for(var Di=[],ta=function(Ja){var tr=ea[Ja];if(!tr)return"continue";ke.some(function(Ua){return Ra(Ua,Ja)>1})&&Di.push(Ja)},or=Er;or<=mo;or+=1)var Kr=ta(or);var Io=Di.map(function(ba){var Ja=ea[ba],tr=at(Ja.record,ba),Ua=function(Ir){var Ao=ba+Ir-1,yo=at(ea[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:la}},[la]),fr="".concat(yt,"-tbody"),Dr;return ea.length?Dr=se.createElement(Rl.Z,{fullHeight:!1,ref:Rn,className:Qe()(fr,"".concat(fr,"-virtual")),height:vn,itemHeight:Jn||24,data:ea,itemKey:function(Na){return at(Na.record)},scrollWidth:on,onVirtualScroll:function(Na){var ua=Na.x;ye({scrollLeft:ua})},extraRender:Qa},function(Pa,Na,ua){var ia=at(Pa.record,Na);return se.createElement(Vl,(0,qe.Z)({data:Pa,rowKey:ia,index:Na},ua))}):Dr=se.createElement("div",{className:Qe()("".concat(yt,"-placeholder"))},se.createElement(an,{component:"div",prefixCls:yt},wt)),se.createElement(Li.Provider,{value:Ba},Dr)}),Ol=z(Dd),Gs=Ol,ps=function(ue,he){var ye=he.ref,De=he.onScroll;return se.createElement(Gs,{ref:ye,data:ue,onScroll:De})},ad=100;function bi(de){var ue=de.columns,he=de.scroll,ye=de.prefixCls,De=ye===void 0?Hr:ye,ke=de.className,Je=de.listItemHeight,at=he||{},nt=at.x,yt=at.y;typeof nt!="number"&&(nt=((ue||[]).length+1)*ad),typeof yt!="number"&&(yt=500);var zt=se.useMemo(function(){return{scrollY:yt,listItemHeight:Je}},[yt,Je]);return se.createElement(Sl.Provider,{value:zt},se.createElement(Wl,(0,qe.Z)({},de,{className:Qe()(ke,"".concat(De,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},he),{},{x:nt}),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),js=ee(88258),Bs=ee(98675),Ks=ee(25378),Pc=ee(24457),rd=ee(28452),Ms=ee(57953),yc=ee(46605);function ic(de){return function(he){let{prefixCls:ye,onExpand:De,record:ke,expanded:Je,expandable:at}=he;const nt=`${ye}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:yt=>{De(ke,yt),yt.stopPropagation()},className:Qe()(nt,{[`${nt}-spaced`]:!at,[`${nt}-expanded`]:at&&Je,[`${nt}-collapsed`]:at&&!Je}),"aria-label":Je?de.collapse:de.expand,"aria-expanded":Je})}}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,qe.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,ye=>{ue.current=ye,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),Fe=ee(69677);function Re(de){let{value:ue,onChange:he,filterSearch:ye,tablePrefixCls:De,locale:ke}=de;return ye?se.createElement("div",{className:`${De}-filter-dropdown-search`},se.createElement(Fe.default,{prefix:se.createElement(Pe.Z,null),placeholder:ke.filterSearchPlaceholder,onChange:he,value:ue,htmlSize:1,className:`${De}-filter-dropdown-search-input`})):null}var it=Re,It=ee(92389);const fn=de=>{const{keyCode:ue}=de;ue===It.Z.ENTER&&de.stopPropagation()};var da=se.forwardRef((de,ue)=>se.createElement("div",{className:de.className,onClick:he=>he.stopPropagation(),onKeyDown:fn,ref:ue},de.children));function Ea(de){let ue=[];return(de||[]).forEach(he=>{let{value:ye,children:De}=he;ue.push(ye),De&&(ue=[].concat((0,qr.Z)(ue),(0,qr.Z)(Ea(De))))}),ue}function fa(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:ye,filterMultiple:De,searchValue:ke,filterSearch:Je}=de;return ue.map((at,nt)=>{const yt=String(at.value);if(at.children)return{key:yt||nt,label:at.text,popupClassName:`${he}-dropdown-submenu`,children:ha({filters:at.children,prefixCls:he,filteredKeys:ye,filterMultiple:De,searchValue:ke,filterSearch:Je})};const zt=De?gd.default:Qd.ZP,wt={key:at.value!==void 0?yt:nt,label:se.createElement(se.Fragment,null,se.createElement(zt,{checked:ye.includes(yt)}),se.createElement("span",null,at.text))};return ke.trim()?typeof Je=="function"?Je(ke,at)?wt:null:Ya(ke,at.text)?wt:null:wt})}function qa(de){var ue,he;const{tablePrefixCls:ye,prefixCls:De,column:ke,dropdownPrefixCls:Je,columnKey:at,filterMultiple:nt,filterMode:yt="menu",filterSearch:zt=!1,filterState:wt,triggerFilter:on,locale:ln,children:vn,getPopupContainer:Jn}=de,{filterDropdownOpen:Rn,onFilterDropdownOpenChange:ea,filterResetToDefaultFilteredValue:zn,defaultFilteredValue:la,filterDropdownVisible:Ra,onFilterDropdownVisibleChange:Qa}=ke,[Ba,fr]=se.useState(!1),Dr=!!(wt&&(!((ue=wt.filteredKeys)===null||ue===void 0)&&ue.length||wt.forceFiltered)),Pa=ir=>{fr(ir),ea==null||ea(ir),Qa==null||Qa(ir)},Na=(he=Rn!=null?Rn:Ra)!==null&&he!==void 0?he:Ba,ua=wt==null?void 0:wt.filteredKeys,[ia,Da]=Md(ua||[]),Wa=ir=>{let{selectedKeys:Ir}=ir;Da(Ir)},vr=(ir,Ir)=>{let{node:Ao,checked:yo}=Ir;Wa(nt?{selectedKeys:ir}:{selectedKeys:yo&&Ao.key?[Ao.key]:[]})};se.useEffect(()=>{Ba&&Wa({selectedKeys:ua||[]})},[ua]);const[Er,Ha]=se.useState([]),Or=ir=>{Ha(ir)},[jr,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&&(!wt||!wt.filteredKeys)||(0,Yd.Z)(Ir,wt==null?void 0:wt.filteredKeys,!0))return null;on({column:ke,key:at,filteredKeys:Ir})},fi=()=>{Pa(!1),gi(ia())},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(zn?(la||[]).map(Ao=>String(Ao)):[])},Di=function(){let{closeDropdown:ir}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ir&&Pa(!1),gi(ia())},ta=ir=>{ir&&ua!==void 0&&Da(ua||[]),Pa(ir),!ir&&!ke.filterDropdown&&fi()},or=Qe()({[`${Je}-menu-without-submenu`]:!fa(ke.filters||[])}),Kr=ir=>{if(ir.target.checked){const Ir=Ea(ke==null?void 0:ke.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 ke.filterDropdown=="function")Ja=ke.filterDropdown({prefixCls:`${Je}-custom`,setSelectedKeys:ir=>Wa({selectedKeys:ir}),selectedKeys:ia(),confirm:Di,clearFilters:Fr,filters:ke.filters,visible:Na,close:()=>{Pa(!1)}});else if(ke.filterDropdown)Ja=ke.filterDropdown;else{const ir=ia()||[],Ir=()=>(ke.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(it,{filterSearch:zt,value:jr,onChange:mo,tablePrefixCls:ye,locale:ln}),se.createElement("div",{className:`${ye}-filter-dropdown-tree`},nt?se.createElement(gd.default,{checked:ir.length===Ea(ke.filters).length,indeterminate:ir.length>0&&ir.length<Ea(ke.filters).length,className:`${ye}-filter-dropdown-checkall`,onChange:Kr},ln.filterCheckall):null,se.createElement(Oc.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:nt,checkStrictly:!nt,className:`${Je}-menu`,onCheck:vr,checkedKeys:ir,selectedKeys:ir,showIcon:!1,treeData:Io({filters:ke.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:jr.trim()?yo=>typeof zt=="function"?zt(jr,ba(yo)):Ya(jr,yo.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(it,{filterSearch:zt,value:jr,onChange:mo,tablePrefixCls:ye,locale:ln}),se.createElement(Fs.default,{selectable:!0,multiple:nt,prefixCls:`${Je}-menu`,className:or,onSelect:Wa,onDeselect:Wa,selectedKeys:ir,getPopupContainer:Jn,openKeys:Er,onOpenChange:Or,items:ha({filters:ke.filters||[],filterSearch:zt,prefixCls:De,filteredKeys:ia(),filterMultiple:nt,searchValue:jr})})),Ao=()=>zn?(0,Yd.Z)((la||[]).map(yo=>String(yo)),ir,!0):ir.length===0;Ja=se.createElement(se.Fragment,null,Ir(),se.createElement("div",{className:`${De}-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)))}ke.filterDropdown&&(Ja=se.createElement(Nc.J,{selectable:void 0},Ja));const tr=()=>se.createElement(da,{className:`${De}-dropdown`},Ja);let Ua;typeof ke.filterIcon=="function"?Ua=ke.filterIcon(Dr):ke.filterIcon?Ua=ke.filterIcon:Ua=se.createElement(wc,null);const{direction:po}=se.useContext(cs.E_);return se.createElement("div",{className:`${De}-column`},se.createElement("span",{className:`${ye}-column-title`},vn),se.createElement(Ac.Z,{dropdownRender:tr,trigger:["click"],open:Na,onOpenChange:ta,getPopupContainer:Jn,placement:po==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${De}-trigger`,{active:Dr}),onClick:ir=>{ir.stopPropagation()}},Ua)))}var za=qa;function pr(de,ue,he){let ye=[];return(de||[]).forEach((De,ke)=>{var Je;const at=cd(ke,he);if(De.filters||"filterDropdown"in De||"onFilter"in De)if("filteredValue"in De){let nt=De.filteredValue;"filterDropdown"in De||(nt=(Je=nt==null?void 0:nt.map(String))!==null&&Je!==void 0?Je:nt),ye.push({column:De,key:$s(De,at),filteredKeys:nt,forceFiltered:De.filtered})}else ye.push({column:De,key:$s(De,at),filteredKeys:ue&&De.defaultFilteredValue?De.defaultFilteredValue:void 0,forceFiltered:De.filtered});"children"in De&&(ye=[].concat((0,qr.Z)(ye),(0,qr.Z)(pr(De.children,ue,at))))}),ye}function uo(de,ue,he,ye,De,ke,Je,at){return he.map((nt,yt)=>{const zt=cd(yt,at),{filterMultiple:wt=!0,filterMode:on,filterSearch:ln}=nt;let vn=nt;if(vn.filters||vn.filterDropdown){const Jn=$s(vn,zt),Rn=ye.find(ea=>{let{key:zn}=ea;return Jn===zn});vn=Object.assign(Object.assign({},vn),{title:ea=>se.createElement(za,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ue,column:vn,columnKey:Jn,filterState:Rn,filterMultiple:wt,filterMode:on,filterSearch:ln,triggerFilter:ke,locale:De,getPopupContainer:Je},ud(nt.title,ea))})}return"children"in vn&&(vn=Object.assign(Object.assign({},vn),{children:uo(de,ue,vn.children,ye,De,ke,Je,zt)})),vn})}function eo(de){const ue={};return de.forEach(he=>{let{key:ye,filteredKeys:De,column:ke}=he;const{filters:Je,filterDropdown:at}=ke;if(at)ue[ye]=De||null;else if(Array.isArray(De)){const nt=Ea(Je);ue[ye]=nt.filter(yt=>De.includes(String(yt)))}else ue[ye]=null}),ue}function So(de,ue){return ue.reduce((he,ye)=>{const{column:{onFilter:De,filters:ke},filteredKeys:Je}=ye;return De&&Je&&Je.length?he.filter(at=>Je.some(nt=>{const yt=Ea(ke),zt=yt.findIndex(on=>String(on)===String(nt)),wt=zt!==-1?yt[zt]:nt;return De(wt,at)})):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:ye,onFilterChange:De,getPopupContainer:ke,locale:Je}=de;const at=se.useMemo(()=>Ur(ye||[]),[ye]),[nt,yt]=se.useState(()=>pr(at,!0)),zt=se.useMemo(()=>{const vn=pr(at,!1);if(vn.length===0)return vn;let Jn=!0,Rn=!0;if(vn.forEach(ea=>{let{filteredKeys:zn}=ea;zn!==void 0?Jn=!1:Rn=!1}),Jn){const ea=(at||[]).map((zn,la)=>$s(zn,cd(la)));return nt.filter(zn=>{let{key:la}=zn;return ea.includes(la)}).map(zn=>{const la=at[ea.findIndex(Ra=>Ra===zn.key)];return Object.assign(Object.assign({},zn),{column:Object.assign(Object.assign({},zn.column),la),forceFiltered:la.filtered})})}return vn},[at,nt]),wt=se.useMemo(()=>eo(zt),[zt]),on=vn=>{const Jn=zt.filter(Rn=>{let{key:ea}=Rn;return ea!==vn.key});Jn.push(vn),yt(Jn),De(eo(Jn),Jn)};return[vn=>uo(ue,he,vn,zt,Je,on,ke),zt,wt]}var er=br;function li(de,ue,he){const ye=se.useRef({});function De(ke){if(!ye.current||ye.current.data!==de||ye.current.childrenColumnName!==ue||ye.current.getRowKey!==he){let at=function(nt){nt.forEach((yt,zt)=>{const wt=he(yt,zt);Je.set(wt,yt),yt&&typeof yt=="object"&&ue in yt&&at(yt[ue]||[])})};const Je=new Map;at(de),ye.current={data:de,childrenColumnName:ue,kvMap:Je,getRowKey:he}}return ye.current.kvMap.get(ke)}return[De]}var Ko=ee(38780),si=function(de,ue){var he={};for(var ye in de)Object.prototype.hasOwnProperty.call(de,ye)&&ue.indexOf(ye)<0&&(he[ye]=de[ye]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ye=Object.getOwnPropertySymbols(de);De<ye.length;De++)ue.indexOf(ye[De])<0&&Object.prototype.propertyIsEnumerable.call(de,ye[De])&&(he[ye[De]]=de[ye[De]]);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(De=>{const ke=de[De];typeof ke!="function"&&(he[De]=ke)}),he}function Qo(de,ue,he){const ye=he&&typeof he=="object"?he:{},{total:De=0}=ye,ke=si(ye,["total"]),[Je,at]=(0,se.useState)(()=>({current:"defaultCurrent"in ke?ke.defaultCurrent:1,pageSize:"defaultPageSize"in ke?ke.defaultPageSize:pi})),nt=(0,Ko.Z)(Je,ke,{total:De>0?De:de}),yt=Math.ceil((De||de)/nt.pageSize);nt.current>yt&&(nt.current=yt||1);const zt=(on,ln)=>{at({current:on!=null?on:1,pageSize:ln||nt.pageSize})},wt=(on,ln)=>{var vn;he&&((vn=he.onChange)===null||vn===void 0||vn.call(he,on,ln)),zt(on,ln),ue(on,ln||(nt==null?void 0:nt.pageSize))};return he===!1?[{},()=>{}]:[Object.assign(Object.assign({},nt),{onChange:wt}),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(ye=>{he.push(ye),ye&&typeof ye=="object"&&de in ye&&(he=[].concat((0,qr.Z)(he),(0,qr.Z)(Vi(de,ye[de]))))}),he};var Tl=(de,ue)=>{const{preserveSelectedRowKeys:he,selectedRowKeys:ye,defaultSelectedRowKeys:De,getCheckboxProps:ke,onChange:Je,onSelect:at,onSelectAll:nt,onSelectInvert:yt,onSelectNone:zt,onSelectMultiple:wt,columnWidth:on,type:ln,selections:vn,fixed:Jn,renderCell:Rn,hideSelectAll:ea,checkStrictly:zn=!0}=ue||{},{prefixCls:la,data:Ra,pageData:Qa,getRecordByKey:Ba,getRowKey:fr,expandType:Dr,childrenColumnName:Pa,locale:Na,getPopupContainer:ua}=de,[ia,Da]=(0,zo.Z)(ye||De||ul,{value:ye}),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(ia)},[ia]);const{keyEntities:Er}=(0,se.useMemo)(()=>{if(zn)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,zn,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=(ke?ke(Ja):null)||{};ba.set(Ua,po)}),ba},[Ha,fr,ke]),jr=(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(zn)return[ia||[],[]];const{checkedKeys:ba,halfCheckedKeys:Ja}=(0,qo.S)(ia,!0,Er,jr);return[ba||[],Ja]},[ia,zn,Er,jr]),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 ta=(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),Je==null||Je(tr,Ua,{type:Ja})},[Da,Ba,Je,he]),or=(0,se.useCallback)((ba,Ja,tr,Ua)=>{if(at){const po=tr.map(ir=>Ba(ir));at(Ba(ba),Ja,po,Ua)}ta(tr,"single")},[at,Ba,ta]),Kr=(0,se.useMemo)(()=>!vn||ea?null:(vn===!0?[Ii,ko,Gi]:vn).map(Ja=>Ja===Ii?{key:"all",text:Na.selectionAll,onSelect(){ta(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),ta(Ua,"invert")}}:Ja===Gi?{key:"none",text:Na.selectNone,onSelect(){zt==null||zt(),ta(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)}})),[vn,gi,Qa,fr,yt,ta]);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);nt==null||nt(!ir,Wo.map(te=>Ba(te)),Go.map(te=>Ba(te))),ta(Wo,"all"),Di(null)};let yo;if(ln!=="radio"){let Go;if(Kr){const ge={getPopupContainer:ua,items:Kr.map((ve,Ne)=>{const{key:Le,text:Ye,onSelect:Xe}=ve;return{key:Le!=null?Le:Ne,onClick:()=>{Xe==null||Xe(po)},label:Ye}})};Go=se.createElement("div",{className:`${la}-selection-extra`},se.createElement(Ac.Z,{menu:ge,getPopupContainer:ua},se.createElement("span",null,se.createElement(Si.Z,null))))}const Wo=Ha.map((ge,ve)=>{const Ne=fr(ge,ve),Le=Or.get(Ne)||{};return Object.assign({checked:Ua.has(Ne)},Le)}).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=!ea&&se.createElement("div",{className:`${la}-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),Ne=Or.get(le);let Le;return Dr==="nest"?Le=ve:Le=(ie=Ne==null?void 0:Ne.indeterminate)!==null&&ie!==void 0?ie:ve,{node:se.createElement(gd.default,Object.assign({},Ne,{indeterminate:Le,checked:ge,skipGroup:!0,onClick:Ye=>Ye.stopPropagation(),onChange:Ye=>{let{nativeEvent:Xe}=Ye;const{shiftKey:dt}=Xe;let Yt=-1,mt=-1;if(dt&&zn){const St=new Set([Fr,le]);po.some((bt,At)=>{if(St.has(bt))if(Yt===-1)Yt=At;else return mt=At,!0;return!1})}if(mt!==-1&&Yt!==mt&&zn){const St=po.slice(Yt,mt+1),bt=[];ge?St.forEach(rt=>{Ua.has(rt)&&(bt.push(rt),Ua.delete(rt))}):St.forEach(rt=>{Ua.has(rt)||(bt.push(rt),Ua.add(rt))});const At=Array.from(Ua);wt==null||wt(!ge,At.map(rt=>Ba(rt)),bt.map(rt=>Ba(rt))),ta(At,"multiple")}else{const St=Bo;if(zn){const bt=ge?(0,Mi._5)(St,le):(0,Mi.L0)(St,le);or(le,!ge,bt,Xe)}else{const bt=(0,qo.S)([].concat((0,qr.Z)(St),[le]),!0,Er,jr),{checkedKeys:At,halfCheckedKeys:rt}=bt;let xt=At;if(ge){const en=new Set(At);en.delete(le),xt=(0,qo.S)(Array.from(en),{checked:!1,halfCheckedKeys:rt},Er,jr).checkedKeys}or(le,!ge,xt,Xe)}}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=Jn;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=Qe()(`${la}-selection-col`,{[`${la}-selection-col-with-dropdown`]:vn&&ln==="checkbox"}),Cd={fixed:xi,width:on,className:`${la}-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,Kr,Dr,Fr,Or,wt,or,jr]),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 ye=[];function De(ke,Je){ye.push({column:ke,key:$s(ke,Je),multiplePriority:gl(ke),sortOrder:ke.sortOrder})}return(de||[]).forEach((ke,Je)=>{const at=cd(Je,he);ke.children?("sortOrder"in ke&&De(ke,at),ye=[].concat((0,qr.Z)(ye),(0,qr.Z)(ll(ke.children,ue,at)))):ke.sorter&&("sortOrder"in ke?De(ke,at):ue&&ke.defaultSortOrder&&ye.push({column:ke,key:$s(ke,at),multiplePriority:gl(ke),sortOrder:ke.defaultSortOrder}))}),ye}function Fi(de,ue,he,ye,De,ke,Je,at){return(ue||[]).map((nt,yt)=>{const zt=cd(yt,at);let wt=nt;if(wt.sorter){const on=wt.sortDirections||De,ln=wt.showSorterTooltip===void 0?Je:wt.showSorterTooltip,vn=$s(wt,zt),Jn=he.find(Dr=>{let{key:Pa}=Dr;return Pa===vn}),Rn=Jn?Jn.sortOrder:null,ea=us(on,Rn);let zn;if(nt.sortIcon)zn=nt.sortIcon({sortOrder:Rn});else{const Dr=on.includes(Ho)&&se.createElement(Nl.Z,{className:Qe()(`${de}-column-sorter-up`,{active:Rn===Ho})}),Pa=on.includes(di)&&se.createElement(Oo.Z,{className:Qe()(`${de}-column-sorter-down`,{active:Rn===di})});zn=se.createElement("span",{className:Qe()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(Dr&&Pa)})},se.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},Dr,Pa))}const{cancelSort:la,triggerAsc:Ra,triggerDesc:Qa}=ke||{};let Ba=la;ea===di?Ba=Qa:ea===Ho&&(Ba=Ra);const fr=typeof ln=="object"?ln:{title:Ba};wt=Object.assign(Object.assign({},wt),{className:Qe()(wt.className,{[`${de}-column-sort`]:Rn}),title:Dr=>{const Pa=se.createElement("div",{className:`${de}-column-sorters`},se.createElement("span",{className:`${de}-column-title`},ud(nt.title,Dr)),zn);return ln?se.createElement(Ni.Z,Object.assign({},fr),Pa):Pa},onHeaderCell:Dr=>{const Pa=nt.onHeaderCell&&nt.onHeaderCell(Dr)||{},Na=Pa.onClick,ua=Pa.onKeyDown;Pa.onClick=Wa=>{ye({column:nt,key:vn,sortOrder:ea,multiplePriority:gl(nt)}),Na==null||Na(Wa)},Pa.onKeyDown=Wa=>{Wa.keyCode===It.Z.ENTER&&(ye({column:nt,key:vn,sortOrder:ea,multiplePriority:gl(nt)}),ua==null||ua(Wa))};const ia=Cc(nt.title,{}),Da=ia==null?void 0:ia.toString();return Rn?Pa["aria-sort"]=Rn==="ascend"?"ascending":"descending":Pa["aria-label"]=Da||"",Pa.className=Qe()(Pa.className,`${de}-column-has-sorters`),Pa.tabIndex=0,nt.ellipsis&&(Pa.title=(ia!=null?ia:"").toString()),Pa}})}return"children"in wt&&(wt=Object.assign(Object.assign({},wt),{children:Fi(de,wt.children,he,ye,De,ke,Je,zt)})),wt})}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:ye}=he;return ye}).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 ye=ue.slice().sort((Je,at)=>at.multiplePriority-Je.multiplePriority),De=de.slice(),ke=ye.filter(Je=>{let{column:{sorter:at},sortOrder:nt}=Je;return Yl(at)&&nt});return ke.length?De.sort((Je,at)=>{for(let nt=0;nt<ke.length;nt+=1){const yt=ke[nt],{column:{sorter:zt},sortOrder:wt}=yt,on=Yl(zt);if(on&&wt){const ln=on(Je,at,wt);if(ln!==0)return wt===Ho?ln:-ln}}return 0}).map(Je=>{const at=Je[he];return at?Object.assign(Object.assign({},Je),{[he]:$o(at,ue,he)}):Je}):De}function Mr(de){let{prefixCls:ue,mergedColumns:he,onSorterChange:ye,sortDirections:De,tableLocale:ke,showSorterTooltip:Je}=de;const[at,nt]=se.useState(ll(he,!0)),yt=se.useMemo(()=>{let vn=!0;const Jn=ll(he,!1);if(!Jn.length)return at;const Rn=[];function ea(la){vn?Rn.push(la):Rn.push(Object.assign(Object.assign({},la),{sortOrder:null}))}let zn=null;return Jn.forEach(la=>{zn===null?(ea(la),la.sortOrder&&(la.multiplePriority===!1?vn=!1:zn=!0)):(zn&&la.multiplePriority!==!1||(vn=!1),ea(la))}),Rn},[he,at]),zt=se.useMemo(()=>{const vn=yt.map(Jn=>{let{column:Rn,sortOrder:ea}=Jn;return{column:Rn,order:ea}});return{sortColumns:vn,sortColumn:vn[0]&&vn[0].column,sortOrder:vn[0]&&vn[0].order}},[yt]);function wt(vn){let Jn;vn.multiplePriority===!1||!yt.length||yt[0].multiplePriority===!1?Jn=[vn]:Jn=[].concat((0,qr.Z)(yt.filter(Rn=>{let{key:ea}=Rn;return ea!==vn.key})),[vn]),nt(Jn),ye(Yi(Jn),Jn)}return[vn=>Fi(ue,vn,yt,wt,De,ke,Je),yt,zt,()=>Yi(yt)]}function Ti(de,ue){return de.map(he=>{const ye=Object.assign({},he);return ye.title=ud(he.title,ue),"children"in ye&&(ye.children=Ti(ye.children,ue)),ye})}function Dl(de){return[se.useCallback(he=>Ti(he,de),[de])]}var gs=Oi((de,ue)=>{const{_renderTimes:he}=de,{_renderTimes:ye}=ue;return he!==ye}),xs=Ai((de,ue)=>{const{_renderTimes:he}=de,{_renderTimes:ye}=ue;return he!==ye}),_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}`,ye=(De,ke,Je)=>({[`&${ue}-${De}`]:{[`> ${ue}-container`]:{[`> ${ue}-content, > ${ue}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`-${ke}px -${Je+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}}}}}},ye("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle)),ye("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:ye,motionDurationSlow:De,lineWidth:ke,paddingXS:Je,lineType:at,tableBorderColor:nt,tableExpandIconBg:yt,tableExpandColumnWidth:zt,borderRadius:wt,fontSize:on,fontSizeSM:ln,lineHeight:vn,tablePaddingVertical:Jn,tablePaddingHorizontal:Rn,tableExpandedRowBg:ea,paddingXXS:zn}=de,la=ye/2-ke,Ra=la*2+ke*3,Qa=`${ke}px ${at} ${nt}`,Ba=zn-ke;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:wt,transform:`scale(${ye/Ra})`,transition:`all ${De}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${De} ease-out`,content:'""'},"&::before":{top:la,insetInlineEnd:Ba,insetInlineStart:Ba,height:ke},"&::after":{top:Ba,bottom:Ba,insetInlineStart:la,width:ke,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*vn-ke*3)/2-Math.ceil((ln*1.4-ke*3)/2),marginInlineEnd:Je},[`tr${ue}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ea}},[`${he}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ue}-expanded-row-fixed`]:{position:"relative",margin:`-${Jn}px -${Rn}px`,padding:`${Jn}px ${Rn}px`}}}},qd=de=>{const{componentCls:ue,antCls:he,iconCls:ye,tableFilterDropdownWidth:De,tableFilterDropdownSearchWidth:ke,paddingXXS:Je,paddingXS:at,colorText:nt,lineWidth:yt,lineType:zt,tableBorderColor:wt,tableHeaderIconColor:on,fontSizeSM:ln,tablePaddingHorizontal:vn,borderRadius:Jn,motionDurationSlow:Rn,colorTextDescription:ea,colorPrimary:zn,tableHeaderFilterActiveBg:la,colorTextDisabled:Ra,tableFilterDropdownBg:Qa,tableFilterDropdownHeight:Ba,controlItemBgHover:fr,controlItemBgActive:Dr,boxShadowSecondary:Pa,filterDropdownMenuBg:Na}=de,ua=`${he}-dropdown`,ia=`${ue}-filter-dropdown`,Da=`${he}-tree`,Wa=`${yt}px ${zt} ${wt}`;return[{[`${ue}-wrapper`]:{[`${ue}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ue}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Je,marginInline:`${Je}px ${-vn/2}px`,padding:`0 ${Je}px`,color:on,fontSize:ln,borderRadius:Jn,cursor:"pointer",transition:`all ${Rn}`,"&:hover":{color:ea,background:la},"&.active":{color:zn}}}},{[`${he}-dropdown`]:{[ia]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{minWidth:De,backgroundColor:Qa,borderRadius:Jn,boxShadow:Pa,overflow:"hidden",[`${ua}-menu`]:{maxHeight:Ba,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Na,"&:empty::after":{display:"block",padding:`${at}px 0`,color:Ra,fontSize:ln,textAlign:"center",content:'"Not Found"'}},[`${ia}-tree`]:{paddingBlock:`${at}px 0`,paddingInline:at,[Da]:{padding:0},[`${Da}-treenode ${Da}-node-content-wrapper:hover`]:{backgroundColor:fr},[`${Da}-treenode-checkbox-checked ${Da}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Dr}}},[`${ia}-search`]:{padding:at,borderBottom:Wa,"&-input":{input:{minWidth:ke},[ye]:{color:Ra}}},[`${ia}-checkall`]:{width:"100%",marginBottom:Je,marginInlineStart:Je},[`${ia}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${at-yt}px ${at}px`,overflow:"hidden",borderTop:Wa}})}},{[`${he}-dropdown ${ia}, ${ia}-submenu`]:{[`${he}-checkbox-wrapper + span`]:{paddingInlineStart:at,color:nt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Zl=de=>{const{componentCls:ue,lineWidth:he,colorSplit:ye,motionDurationSlow:De,zIndexTableFixed:ke,tableBg:Je,zIndexTableSticky:at}=de,nt=ye;return{[`${ue}-wrapper`]:{[`
${ue}-cell-fix-left,
${ue}-cell-fix-right
`]:{position:"sticky !important",zIndex:ke,background:Je},[`
${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 ${De}`,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 ${De}`,content:'""',pointerEvents:"none"},[`${ue}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:at+1,width:30,transition:`box-shadow ${De}`,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 ${nt}`}},[`
${ue}-cell-fix-left-first::after,
${ue}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${nt}`},[`${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 ${nt}`}},[`
${ue}-cell-fix-right-first::after,
${ue}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${nt}`}}}}},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:ye,fontSizeIcon:De,padding:ke,paddingXS:Je,tableHeaderIconColor:at,tableHeaderIconColorHover:nt,tableSelectionColumnWidth:yt}=de;return{[`${ue}-wrapper`]:{[`${ue}-selection-col`]:{width:yt,[`&${ue}-selection-col-with-dropdown`]:{width:yt+De+ke/4}},[`${ue}-bordered ${ue}-selection-col`]:{width:yt+Je*2,[`&${ue}-selection-col-with-dropdown`]:{width:yt+De+ke/4+Je*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`,[ye]:{color:at,fontSize:De,verticalAlign:"baseline","&:hover":{color:nt}}}}}},Sd=de=>{const{componentCls:ue}=de,he=(ye,De,ke,Je)=>({[`${ue}${ue}-${ye}`]:{fontSize:Je,[`
${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:`${De}px ${ke}px`},[`${ue}-filter-trigger`]:{marginInlineEnd:`-${ke/2}px`},[`${ue}-expanded-row-fixed`]:{margin:`-${De}px -${ke}px`},[`${ue}-tbody`]:{[`${ue}-wrapper:only-child ${ue}`]:{marginBlock:`-${De}px`,marginInline:`${de.tableExpandColumnWidth-ke}px -${ke}px`}},[`${ue}-selection-column`]:{paddingInlineStart:`${ke/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:ye,tableHeaderIconColor:De,tableHeaderIconColorHover:ke}=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:De,fontSize:0,transition:`color ${de.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ye,"&.active":{color:de.colorPrimary}},[`${ue}-column-sorter-up + ${ue}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ue}-column-sorters:hover ${ue}-column-sorter`]:{color:ke}}}},ks=de=>{const{componentCls:ue,opacityLoading:he,tableScrollThumbBg:ye,tableScrollThumbBgHover:De,tableScrollThumbSize:ke,tableScrollBg:Je,zIndexTableSticky:at,stickyScrollBarBorderRadius:nt}=de,yt=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`;return{[`${ue}-wrapper`]:{[`${ue}-sticky`]:{"&-holder":{position:"sticky",zIndex:at,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ke}px !important`,zIndex:at,display:"flex",alignItems:"center",background:Je,borderTop:yt,opacity:he,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ke,backgroundColor:ye,borderRadius:nt,transition:`all ${de.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:De}}}}}}},yd=de=>{const{componentCls:ue,lineWidth:he,tableBorderColor:ye}=de,De=`${he}px ${de.lineType} ${ye}`;return{[`${ue}-wrapper`]:{[`${ue}-summary`]:{position:"relative",zIndex:de.zIndexTableFixed,background:de.tableBg,"> tr":{"> th, > td":{borderBottom:De}}},[`div${ue}-summary`]:{boxShadow:`0 -${he}px 0 ${ye}`}}}},Ls=de=>{const{componentCls:ue}=de,he=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,ye=`${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`]:{[`${ye}${ye}-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:ye,tablePaddingHorizontal:De,lineWidth:ke,lineType:Je,tableBorderColor:at,tableFontSize:nt,tableBg:yt,tableRadius:zt,tableHeaderTextColor:wt,motionDurationMid:on,tableHeaderBg:ln,tableHeaderCellSplitColor:vn,tableRowHoverBg:Jn,tableSelectedRowBg:Rn,tableSelectedRowHoverBg:ea,tableFooterTextColor:zn,tableFooterBg:la,paddingContentVerticalLG:Ra}=de,Qa=`${ke}px ${Je} ${at}`;return{[`${ue}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[ue]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{fontSize:nt,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 ${De}px`,overflowWrap:"break-word"},[`${ue}-title`]:{padding:`${ye}px ${De}px`},[`${ue}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:wt,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:vn,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:`-${ye}px`,marginInline:`${de.tableExpandColumnWidth-De}px -${De}px`,[`${ue}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:wt,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:Jn},[`&${ue}-row-selected`]:{"> th, > td":{background:Rn},"&:hover > th, &:hover > td":{background:ea}}}},[`${ue}-footer`]:{padding:`${ye}px ${De}px`,color:zn,background:la}})}};var Qs=(0,fd.Z)("Table",de=>{const{colorTextHeading:ue,colorSplit:he,colorIcon:ye,colorIconHover:De,opacityLoading:ke,colorBgContainer:Je,controlInteractiveSize:at,headerBg:nt,headerColor:yt,headerSortActiveBg:zt,headerSortHoverBg:wt,bodySortBg:on,rowHoverBg:ln,rowSelectedBg:vn,rowSelectedHoverBg:Jn,rowExpandedBg:Rn,cellPaddingBlock:ea,cellPaddingInline:zn,cellPaddingBlockMD:la,cellPaddingInlineMD:Ra,cellPaddingBlockSM:Qa,cellPaddingInlineSM:Ba,borderColor:fr,footerBg:Dr,footerColor:Pa,headerBorderRadius:Na,cellFontSize:ua,cellFontSizeMD:ia,cellFontSizeSM:Da,headerSplitColor:Wa,fixedHeaderSortActiveBg:vr,headerFilterHoverBg:Er,filterDropdownBg:Ha,expandIconBg:Or,selectionColumnWidth:jr,stickyScrollBarBg:Bo}=de,mo=new _l.C(ye),gi=new _l.C(De),fi=2,Fr=(0,fs.TS)(de,{tableFontSize:ua,tableBg:Je,tableRadius:Na,tablePaddingVertical:ea,tablePaddingHorizontal:zn,tablePaddingVerticalMiddle:la,tablePaddingHorizontalMiddle:Ra,tablePaddingVerticalSmall:Qa,tablePaddingHorizontalSmall:Ba,tableBorderColor:fr,tableHeaderTextColor:yt,tableHeaderBg:nt,tableFooterTextColor:Pa,tableFooterBg:Dr,tableHeaderCellSplitColor:Wa,tableHeaderSortBg:zt,tableHeaderSortHoverBg:wt,tableHeaderIconColor:mo.clone().setAlpha(mo.getAlpha()*ke).toRgbString(),tableHeaderIconColorHover:gi.clone().setAlpha(gi.getAlpha()*ke).toRgbString(),tableBodySortBg:on,tableFixedHeaderSortActiveBg:vr,tableHeaderFilterActiveBg:Er,tableFilterDropdownBg:Ha,tableRowHoverBg:ln,tableSelectedRowBg:vn,tableSelectedRowHoverBg:Jn,zIndexTableFixed:fi,zIndexTableSticky:fi+1,tableFontSizeMiddle:ia,tableFontSizeSmall:Da,tableSelectionColumnWidth:jr,tableExpandIconBg:Or,tableExpandColumnWidth:at+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:ye,colorFillSecondary:De,colorFillContent:ke,controlItemBgActive:Je,controlItemBgActiveHover:at,padding:nt,paddingSM:yt,paddingXS:zt,colorBorderSecondary:wt,borderRadiusLG:on,fontSize:ln,controlHeight:vn,colorTextPlaceholder:Jn}=de,Rn=new _l.C(De).onBackground(he).toHexShortString(),ea=new _l.C(ke).onBackground(he).toHexShortString(),zn=new _l.C(ue).onBackground(he).toHexShortString();return{headerBg:zn,headerColor:ye,headerSortActiveBg:Rn,headerSortHoverBg:ea,bodySortBg:zn,rowHoverBg:zn,rowSelectedBg:Je,rowSelectedHoverBg:at,rowExpandedBg:ue,cellPaddingBlock:nt,cellPaddingInline:nt,cellPaddingBlockMD:yt,cellPaddingInlineMD:zt,cellPaddingBlockSM:zt,cellPaddingInlineSM:zt,borderColor:wt,headerBorderRadius:on,footerBg:zn,footerColor:ye,cellFontSize:ln,cellFontSizeMD:ln,cellFontSizeSM:ln,headerSplitColor:wt,fixedHeaderSortActiveBg:Rn,headerFilterHoverBg:ke,filterDropdownMenuBg:he,filterDropdownBg:he,expandIconBg:he,selectionColumnWidth:vn,stickyScrollBarBg:Jn,stickyScrollBarBorderRadius:100}});const Js=[],bd=(de,ue)=>{const{prefixCls:he,className:ye,rootClassName:De,style:ke,size:Je,bordered:at,dropdownPrefixCls:nt,dataSource:yt,pagination:zt,rowSelection:wt,rowKey:on="key",rowClassName:ln,columns:vn,children:Jn,childrenColumnName:Rn,onChange:ea,getPopupContainer:zn,loading:la,expandIcon:Ra,expandable:Qa,expandedRowRender:Ba,expandIconColumnIndex:fr,indentSize:Dr,scroll:Pa,sortDirections:Na,locale:ua,showSorterTooltip:ia=!0,virtual:Da}=de,Wa=se.useMemo(()=>vn||wi(Jn),[vn,Jn]),vr=se.useMemo(()=>Wa.some(rn=>rn.responsive),[Wa]),Er=(0,Ks.Z)(vr),Ha=se.useMemo(()=>{const rn=new Set(Object.keys(Er).filter(cn=>Er[cn]));return Wa.filter(cn=>!cn.responsive||cn.responsive.some(wa=>rn.has(wa)))},[Wa,Er]),Or=(0,Nr.Z)(de,["className","style","columns"]),{locale:jr=Pc.Z,direction:Bo,table:mo,renderEmpty:gi,getPrefixCls:fi,getPopupContainer:Fr}=se.useContext(cs.E_),Di=(0,Bs.Z)(Je),ta=Object.assign(Object.assign({},jr.Table),ua),or=yt||Js,Kr=fi("table",he),Io=fi("dropdown",nt),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,cn){let wa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var na,La,ga;const nr=Object.assign(Object.assign({},Ir),rn);wa&&((na=Ir.resetPagination)===null||na===void 0||na.call(Ir),!((La=nr.pagination)===null||La===void 0)&&La.current&&(nr.pagination.current=1),zt&&zt.onChange&&zt.onChange(1,(ga=nr.pagination)===null||ga===void 0?void 0:ga.pageSize)),Pa&&Pa.scrollToFirstRowOnChange!==!1&&Ua.body.current&&(0,ds.Z)(0,{getContainer:()=>Ua.body.current}),ea==null||ea(nr.pagination,nr.filters,nr.sorter,{currentDataSource:So($o(or,nr.sorterStates,Ja),nr.filterStates),action:cn})},yo=(rn,cn)=>{Ao({sorter:rn,sorterStates:cn},"sort",!1)},[Bl,Pl,Os,Qi]=Mr({prefixCls:Kr,mergedColumns:Ha,onSorterChange:yo,sortDirections:Na||["ascend","descend"],tableLocale:ta,showSorterTooltip:ia}),hs=se.useMemo(()=>$o(or,Pl,Ja),[or,Pl]);Ir.sorter=Qi(),Ir.sorterStates=Pl;const xi=(rn,cn)=>{Ao({filters:rn,filterStates:cn},"filter",!0)},[zl,Cd,Go]=er({prefixCls:Kr,locale:ta,dropdownPrefixCls:Io,mergedColumns:Ha,onFilterChange:xi,getPopupContainer:zn||Fr}),Wo=So(hs,Cd);Ir.filters=Go,Ir.filterStates=Cd;const te=se.useMemo(()=>{const rn={};return Object.keys(Go).forEach(cn=>{Go[cn]!==null&&(rn[cn]=Go[cn])}),Object.assign(Object.assign({},Os),{filters:rn})},[Os,Go]),[ie]=Dl(te),le=(rn,cn)=>{Ao({pagination:Object.assign(Object.assign({},Ir.pagination),{current:rn,pageSize:cn})},"paginate")},[ge,ve]=Po(Wo.length,le,zt);Ir.pagination=zt===!1?{}:Ui(ge,zt),Ir.resetPagination=ve;const Ne=se.useMemo(()=>{if(zt===!1||!ge.pageSize)return Wo;const{current:rn=1,total:cn,pageSize:wa=pi}=ge;return Wo.length<cn?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]),[Le,Ye]=Tl({prefixCls:Kr,data:Wo,pageData:Ne,getRowKey:po,getRecordByKey:ir,expandType:tr,childrenColumnName:Ja,locale:ta,getPopupContainer:zn||Fr},wt),Xe=(rn,cn,wa)=>{let na;return typeof ln=="function"?na=Qe()(ln(rn,cn,wa)):na=Qe()(ln),Qe()({[`${Kr}-row-selected`]:Ye.has(po(rn,cn))},na)};ba.__PARENT_RENDER_ICON__=ba.expandIcon,ba.expandIcon=ba.expandIcon||Ra||bc(ta),tr==="nest"&&ba.expandIconColumnIndex===void 0?ba.expandIconColumnIndex=wt?1:0:ba.expandIconColumnIndex>0&&wt&&(ba.expandIconColumnIndex-=1),typeof ba.indentSize!="number"&&(ba.indentSize=typeof Dr=="number"?Dr:15);const dt=se.useCallback(rn=>ie(Le(zl(Bl(rn)))),[Bl,zl,Le]);let Yt,mt;if(zt!==!1&&(ge!=null&&ge.total)){let rn;ge.size?rn=ge.size:rn=Di==="small"||Di==="middle"?"small":void 0;const cn=La=>se.createElement(rd.Z,Object.assign({},ge,{className:Qe()(`${Kr}-pagination ${Kr}-pagination-${La}`,ge.className),size:rn})),wa=Bo==="rtl"?"left":"right",{position:na}=ge;if(na!==null&&Array.isArray(na)){const La=na.find(wr=>wr.includes("top")),ga=na.find(wr=>wr.includes("bottom")),nr=na.every(wr=>`${wr}`=="none");!La&&!ga&&!nr&&(mt=cn(wa)),La&&(Yt=cn(La.toLowerCase().replace("top",""))),ga&&(mt=cn(ga.toLowerCase().replace("bottom","")))}else mt=cn(wa)}let St;typeof la=="boolean"?St={spinning:la}:typeof la=="object"&&(St=Object.assign({spinning:!0},la));const[bt,At]=Qs(Kr),[,rt]=(0,yc.Z)(),xt=Qe()(`${Kr}-wrapper`,mo==null?void 0:mo.className,{[`${Kr}-wrapper-rtl`]:Bo==="rtl"},ye,De,At),en=Object.assign(Object.assign({},mo==null?void 0:mo.style),ke),Bn=ua&&ua.emptyText||(gi==null?void 0:gi("Table"))||se.createElement(js.Z,{componentName:"Table"}),gn=Da?xs:gs,sn={},qn=se.useMemo(()=>{const{fontSize:rn,lineHeight:cn,padding:wa,paddingXS:na,paddingSM:La}=rt,ga=Math.floor(rn*cn);switch(Di){case"large":return wa*2+ga;case"small":return na*2+ga;default:return La*2+ga}},[rt,Di]);return Da&&(sn.listItemHeight=qn),bt(se.createElement("div",{ref:ue,className:xt,style:en},se.createElement(Ms.Z,Object.assign({spinning:!1},St),Yt,se.createElement(gn,Object.assign({},sn,Or,{columns:Ha,direction:Bo,expandable:ba,prefixCls:Kr,className:Qe()({[`${Kr}-middle`]:Di==="middle",[`${Kr}-small`]:Di==="small",[`${Kr}-bordered`]:at,[`${Kr}-empty`]:or.length===0}),data:Ne,rowKey:po,rowClassName:Xe,emptyText:Bn,internalHooks:me,internalRefs:Ua,transformColumns:dt})),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=re,ns.SELECTION_ALL=Ii,ns.SELECTION_INVERT=ko,ns.SELECTION_NONE=Gi,ns.Column=Ci,ns.ColumnGroup=ql,ns.Summary=Ue;var Jl=ns,Xs=Jl},79870:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return kr}});var re=ee(87462),me=ee(4942),Oe=ee(71002),ze=ee(1413),Be=ee(74902),Te=ee(15671),se=ee(43144),Ze=ee(97326),je=ee(60136),He=ee(51630),qe=ee(94184),Ke=ee.n(qe),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(Lt){var qt=Lt.keyCode;if(Lt.altKey&&!Lt.ctrlKey||Lt.metaKey||qt>=Ee.F1&&qt<=Ee.F12)return!1;switch(qt){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(Lt){if(Lt>=Ee.ZERO&&Lt<=Ee.NINE||Lt>=Ee.NUM_ZERO&&Lt<=Ee.NUM_MULTIPLY||Lt>=Ee.A&&Lt<=Ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Lt===0)return!0;switch(Lt){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}}},ce=Ee,y=ee(34952),a=ee(72978),x=ee(67294),b=ee(69610);function E(vt){var Lt=vt.dropPosition,qt=vt.dropLevelOffset,Ae=vt.indent,Vt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Lt){case-1:Vt.top=0,Vt.left=-qt*Ae;break;case 1:Vt.bottom=0,Vt.left=-qt*Ae;break;case 0:Vt.bottom=0,Vt.left=Ae;break}return x.createElement("div",{style:Vt})}var z=ee(36459),oe=ee(97685),ae=ee(45987);function ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var fe=ne()?x.useLayoutEffect:x.useEffect,pe=fe,we=function(Lt,qt){var Ae=React.useRef(!0);fe(function(){if(!Ae.current)return Lt()},qt),fe(function(){return Ae.current=!1,function(){Ae.current=!0}},[])},be=ee(73299),xe=ee(73935);function Se(vt){return vt instanceof HTMLElement||vt instanceof SVGElement}function gt(vt){return Se(vt)?vt:vt instanceof x.Component?xe.findDOMNode(vt):null}var Qe=ee(28580);function Dt(vt,Lt,qt){var Ae=React.useRef({});return(!("value"in Ae.current)||qt(Ae.current.condition,Lt))&&(Ae.current.value=vt(),Ae.current.condition=Lt),Ae.current.value}function $e(vt,Lt){typeof vt=="function"?vt(Lt):(0,Oe.Z)(vt)==="object"&&vt&&"current"in vt&&(vt.current=Lt)}function et(){for(var vt=arguments.length,Lt=new Array(vt),qt=0;qt<vt;qt++)Lt[qt]=arguments[qt];var Ae=Lt.filter(function(Vt){return Vt});return Ae.length<=1?Ae[0]:function(Vt){Lt.forEach(function(Dn){$e(Dn,Vt)})}}function Tt(){for(var vt=arguments.length,Lt=new Array(vt),qt=0;qt<vt;qt++)Lt[qt]=arguments[qt];return useMemo(function(){return et.apply(void 0,Lt)},Lt,function(Ae,Vt){return Ae.length===Vt.length&&Ae.every(function(Dn,Ln){return Dn===Vt[Ln]})})}function tn(vt){var Lt,qt,Ae=(0,Qe.isMemo)(vt)?vt.type.type:vt.type;return!(typeof Ae=="function"&&!((Lt=Ae.prototype)!==null&&Lt!==void 0&&Lt.render)||typeof vt=="function"&&!((qt=vt.prototype)!==null&&qt!==void 0&&qt.render))}function jt(vt,Lt){var qt={};return qt[vt.toLowerCase()]=Lt.toLowerCase(),qt["Webkit".concat(vt)]="webkit".concat(Lt),qt["Moz".concat(vt)]="moz".concat(Lt),qt["ms".concat(vt)]="MS".concat(Lt),qt["O".concat(vt)]="o".concat(Lt.toLowerCase()),qt}function pt(vt,Lt){var qt={animationend:jt("Animation","AnimationEnd"),transitionend:jt("Transition","TransitionEnd")};return vt&&("AnimationEvent"in Lt||delete qt.animationend.animation,"TransitionEvent"in Lt||delete qt.transitionend.transition),qt}var Zt=pt(ne(),typeof window!="undefined"?window:{}),nn={};if(ne()){var hn=document.createElement("div");nn=hn.style}var We={};function Ct(vt){if(We[vt])return We[vt];var Lt=Zt[vt];if(Lt)for(var qt=Object.keys(Lt),Ae=qt.length,Vt=0;Vt<Ae;Vt+=1){var Dn=qt[Vt];if(Object.prototype.hasOwnProperty.call(Lt,Dn)&&Dn in nn)return We[vt]=Lt[Dn],We[vt]}return""}var Bt=Ct("animationend"),Kn=Ct("transitionend"),lt=!!(Bt&&Kn),Mt=Bt||"animationend",Ce=Kn||"transitionend";function Pn(vt,Lt){if(!vt)return null;if((0,Oe.Z)(vt)==="object"){var qt=Lt.replace(/-\w/g,function(Ae){return Ae[1].toUpperCase()});return vt[qt]}return"".concat(vt,"-").concat(Lt)}var Hn="none",Ca="appear",Yn="enter",Qt="leave",Ge="none",Me="prepare",ft="start",Ht="active",an="end";function Rt(vt){var Lt=x.useRef(!1),qt=x.useState(vt),Ae=(0,oe.Z)(qt,2),Vt=Ae[0],Dn=Ae[1];x.useEffect(function(){return Lt.current=!1,function(){Lt.current=!0}},[]);function Ln(Pt,Gt){Gt&&Lt.current||Dn(Pt)}return[Vt,Ln]}var Jt=function(Lt){return+setTimeout(Lt,16)},An=function(Lt){return clearTimeout(Lt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Jt=function(Lt){return window.requestAnimationFrame(Lt)},An=function(Lt){return window.cancelAnimationFrame(Lt)});var kn=0,ma=new Map;function Ie(vt){ma.delete(vt)}var _e=function(Lt){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;kn+=1;var Ae=kn;function Vt(Dn){if(Dn===0)Ie(Ae),Lt();else{var Ln=Jt(function(){Vt(Dn-1)});ma.set(Ae,Ln)}}return Vt(qt),Ae};_e.cancel=function(vt){var Lt=ma.get(vt);return Ie(Lt),An(Lt)};var Xn=_e,$n=function(){var vt=x.useRef(null);function Lt(){Xn.cancel(vt.current)}function qt(Ae){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Lt();var Dn=Xn(function(){Vt<=1?Ae({isCanceled:function(){return Dn!==vt.current}}):qt(Ae,Vt-1)});vt.current=Dn}return x.useEffect(function(){return function(){Lt()}},[]),[qt,Lt]},ct=ne()?x.useLayoutEffect:x.useEffect,dn=ct,Ue=[Me,ft,Ht,an],ut=!1,Ft=!0;function Wt(vt){return vt===Ht||vt===an}var kt=function(vt,Lt){var qt=Rt(Ge),Ae=(0,oe.Z)(qt,2),Vt=Ae[0],Dn=Ae[1],Ln=$n(),Pt=(0,oe.Z)(Ln,2),Gt=Pt[0],Ot=Pt[1];function On(){Dn(Me,!0)}return dn(function(){if(Vt!==Ge&&Vt!==an){var sa=Ue.indexOf(Vt),xa=Ue[sa+1],pa=Lt(Vt);pa===ut?Dn(xa,!0):Gt(function(Ia){function rr(){Ia.isCanceled()||Dn(xa,!0)}pa===!0?rr():Promise.resolve(pa).then(rr)})}},[vt,Vt]),x.useEffect(function(){return function(){Ot()}},[]),[On,Vt]},bn=function(vt){var Lt=(0,x.useRef)(),qt=(0,x.useRef)(vt);qt.current=vt;var Ae=x.useCallback(function(Ln){qt.current(Ln)},[]);function Vt(Ln){Ln&&(Ln.removeEventListener(Ce,Ae),Ln.removeEventListener(Mt,Ae))}function Dn(Ln){Lt.current&&Lt.current!==Ln&&Vt(Lt.current),Ln&&Ln!==Lt.current&&(Ln.addEventListener(Ce,Ae),Ln.addEventListener(Mt,Ae),Lt.current=Ln)}return x.useEffect(function(){return function(){Vt(Lt.current)}},[]),[Dn,Vt]};function aa(vt,Lt,qt,Ae){var Vt=Ae.motionEnter,Dn=Vt===void 0?!0:Vt,Ln=Ae.motionAppear,Pt=Ln===void 0?!0:Ln,Gt=Ae.motionLeave,Ot=Gt===void 0?!0:Gt,On=Ae.motionDeadline,sa=Ae.motionLeaveImmediately,xa=Ae.onAppearPrepare,pa=Ae.onEnterPrepare,Ia=Ae.onLeavePrepare,rr=Ae.onAppearStart,En=Ae.onEnterStart,Nt=Ae.onLeaveStart,Sn=Ae.onAppearActive,xn=Ae.onEnterActive,oa=Ae.onLeaveActive,Fa=Ae.onAppearEnd,Xa=Ae.onEnterEnd,yr=Ae.onLeaveEnd,sr=Ae.onVisibleChanged,_n=Rt(),ya=(0,oe.Z)(_n,2),Sa=ya[0],Za=ya[1],dr=Rt(Hn),Hr=(0,oe.Z)(dr,2),ro=Hr[0],Eo=Hr[1],wo=Rt(null),Lo=(0,oe.Z)(wo,2),Oi=Lo[0],xl=Lo[1],Wl=(0,x.useRef)(!1),Rl=(0,x.useRef)(null);function Sl(){return qt()}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===Qt&&il&&(Ds=yr==null?void 0:yr(Ai,bi)),ro!==Hn&&il&&Ds!==!1&&(Eo(Hn,!0),xl(null,!0))}}var Ul=bn(is),ls=(0,oe.Z)(Ul,1),zs=ls[0],kl=x.useMemo(function(){var bi,Ai,il;switch(ro){case Ca:return bi={},(0,me.Z)(bi,Me,xa),(0,me.Z)(bi,ft,rr),(0,me.Z)(bi,Ht,Sn),bi;case Yn:return Ai={},(0,me.Z)(Ai,Me,pa),(0,me.Z)(Ai,ft,En),(0,me.Z)(Ai,Ht,xn),Ai;case Qt:return il={},(0,me.Z)(il,Me,Ia),(0,me.Z)(il,ft,Nt),(0,me.Z)(il,Ht,oa),il;default:return{}}},[ro]),Hs=kt(ro,function(bi){if(bi===Me){var Ai=kl[Me];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===Ht&&(zs(Sl()),On>0&&(clearTimeout(Rl.current),Rl.current=setTimeout(function(){is({deadline:!0})},On))),Ft}),Vl=(0,oe.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=Wt(Ol);Li.current=Gs,dn(function(){Za(Lt);var bi=Wl.current;if(Wl.current=!0,!!vt){var Ai;!bi&&Lt&&Pt&&(Ai=Ca),bi&&Lt&&Dn&&(Ai=Yn),(bi&&!Lt&&Ot||!bi&&sa&&!Lt&&Ot)&&(Ai=Qt),Ai&&(Eo(Ai),Dd())}},[Lt]),(0,x.useEffect)(function(){(ro===Ca&&!Pt||ro===Yn&&!Dn||ro===Qt&&!Ot)&&Eo(Hn)},[Pt,Dn,Ot]),(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===Hn&&((ps.current||Sa)&&(sr==null||sr(Sa)),ps.current=!0)},[Sa,ro]);var ad=Oi;return kl[Me]&&Ol===ft&&(ad=(0,ze.Z)({transition:"none"},ad)),[ro,Ol,ad,Sa!=null?Sa:Lt]}var Vn=function(vt){(0,je.Z)(qt,vt);var Lt=(0,He.Z)(qt);function qt(){return(0,Te.Z)(this,qt),Lt.apply(this,arguments)}return(0,se.Z)(qt,[{key:"render",value:function(){return this.props.children}}]),qt}(x.Component),Gn=Vn;function Ga(vt){var Lt=vt;(0,Oe.Z)(vt)==="object"&&(Lt=vt.transitionSupport);function qt(Vt){return!!(Vt.motionName&&Lt)}var Ae=x.forwardRef(function(Vt,Dn){var Ln=Vt.visible,Pt=Ln===void 0?!0:Ln,Gt=Vt.removeOnLeave,Ot=Gt===void 0?!0:Gt,On=Vt.forceRender,sa=Vt.children,xa=Vt.motionName,pa=Vt.leavedClassName,Ia=Vt.eventProps,rr=qt(Vt),En=(0,x.useRef)(),Nt=(0,x.useRef)();function Sn(){try{return En.current instanceof HTMLElement?En.current:gt(Nt.current)}catch(wo){return null}}var xn=aa(rr,Pt,Sn,Vt),oa=(0,oe.Z)(xn,4),Fa=oa[0],Xa=oa[1],yr=oa[2],sr=oa[3],_n=x.useRef(sr);sr&&(_n.current=!0);var ya=x.useCallback(function(wo){En.current=wo,$e(Dn,wo)},[Dn]),Sa,Za=(0,ze.Z)((0,ze.Z)({},Ia),{},{visible:Pt});if(!sa)Sa=null;else if(Fa===Hn||!qt(Vt))sr?Sa=sa((0,ze.Z)({},Za),ya):!Ot&&_n.current&&pa?Sa=sa((0,ze.Z)((0,ze.Z)({},Za),{},{className:pa}),ya):On||!Ot&&!pa?Sa=sa((0,ze.Z)((0,ze.Z)({},Za),{},{style:{display:"none"}}),ya):Sa=null;else{var dr,Hr;Xa===Me?Hr="prepare":Wt(Xa)?Hr="active":Xa===ft&&(Hr="start"),Sa=sa((0,ze.Z)((0,ze.Z)({},Za),{},{className:Ke()(Pn(xa,Fa),(dr={},(0,me.Z)(dr,Pn(xa,"".concat(Fa,"-").concat(Hr)),Hr),(0,me.Z)(dr,xa,typeof xa=="string"),dr)),style:yr}),ya)}if(x.isValidElement(Sa)&&tn(Sa)){var ro=Sa,Eo=ro.ref;Eo||(Sa=x.cloneElement(Sa,{ref:ya}))}return x.createElement(Gn,{ref:Nt},Sa)});return Ae.displayName="CSSMotion",Ae}var ra=Ga(lt),ja="add",Pr="keep",Tr="remove",Xr="removed";function Rr(vt){var Lt;return vt&&(0,Oe.Z)(vt)==="object"&&"key"in vt?Lt=vt:Lt={key:vt},(0,ze.Z)((0,ze.Z)({},Lt),{},{key:String(Lt.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]:[],Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],qt=[],Ae=0,Vt=Lt.length,Dn=Br(vt),Ln=Br(Lt);Dn.forEach(function(Ot){for(var On=!1,sa=Ae;sa<Vt;sa+=1){var xa=Ln[sa];if(xa.key===Ot.key){Ae<sa&&(qt=qt.concat(Ln.slice(Ae,sa).map(function(pa){return(0,ze.Z)((0,ze.Z)({},pa),{},{status:ja})})),Ae=sa),qt.push((0,ze.Z)((0,ze.Z)({},xa),{},{status:Pr})),Ae+=1,On=!0;break}}On||qt.push((0,ze.Z)((0,ze.Z)({},Ot),{},{status:Tr}))}),Ae<Vt&&(qt=qt.concat(Ln.slice(Ae).map(function(Ot){return(0,ze.Z)((0,ze.Z)({},Ot),{},{status:ja})})));var Pt={};qt.forEach(function(Ot){var On=Ot.key;Pt[On]=(Pt[On]||0)+1});var Gt=Object.keys(Pt).filter(function(Ot){return Pt[Ot]>1});return Gt.forEach(function(Ot){qt=qt.filter(function(On){var sa=On.key,xa=On.status;return sa!==Ot||xa!==Tr}),qt.forEach(function(On){On.key===Ot&&(On.status=Pr)})}),qt}var lo=["component","children","onVisibleChanged","onAllRemoved"],gr=["status"],yn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Tn(vt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ra,qt=function(Ae){(0,je.Z)(Dn,Ae);var Vt=(0,He.Z)(Dn);function Dn(){var Ln;(0,Te.Z)(this,Dn);for(var Pt=arguments.length,Gt=new Array(Pt),Ot=0;Ot<Pt;Ot++)Gt[Ot]=arguments[Ot];return Ln=Vt.call.apply(Vt,[this].concat(Gt)),(0,me.Z)((0,Ze.Z)(Ln),"state",{keyEntities:[]}),(0,me.Z)((0,Ze.Z)(Ln),"removeKey",function(On){var sa=Ln.state.keyEntities,xa=sa.map(function(pa){return pa.key!==On?pa:(0,ze.Z)((0,ze.Z)({},pa),{},{status:Xr})});return Ln.setState({keyEntities:xa}),xa.filter(function(pa){var Ia=pa.status;return Ia!==Xr}).length}),Ln}return(0,se.Z)(Dn,[{key:"render",value:function(){var Pt=this,Gt=this.state.keyEntities,Ot=this.props,On=Ot.component,sa=Ot.children,xa=Ot.onVisibleChanged,pa=Ot.onAllRemoved,Ia=(0,ae.Z)(Ot,lo),rr=On||x.Fragment,En={};return yn.forEach(function(Nt){En[Nt]=Ia[Nt],delete Ia[Nt]}),delete Ia.keys,x.createElement(rr,Ia,Gt.map(function(Nt){var Sn=Nt.status,xn=(0,ae.Z)(Nt,gr),oa=Sn===ja||Sn===Pr;return x.createElement(Lt,(0,re.Z)({},En,{key:xn.key,visible:oa,eventProps:xn,onVisibleChanged:function(Xa){if(xa==null||xa(Xa,{key:xn.key}),!Xa){var yr=Pt.removeKey(xn.key);yr===0&&pa&&pa()}}}),sa)}))}}],[{key:"getDerivedStateFromProps",value:function(Pt,Gt){var Ot=Pt.keys,On=Gt.keyEntities,sa=Br(Ot),xa=to(On,sa);return{keyEntities:xa.filter(function(pa){var Ia=On.find(function(rr){var En=rr.key;return pa.key===En});return!(Ia&&Ia.status===Xr&&pa.status===Tr)})}}}]),Dn}(x.Component);return(0,me.Z)(qt,"defaultProps",{component:"div"}),qt}var wn=Tn(lt),Nn=ra,Oa=ee(56261);function Ar(vt,Lt){var qt=x.useState(!1),Ae=(0,oe.Z)(qt,2),Vt=Ae[0],Dn=Ae[1];x.useLayoutEffect(function(){if(Vt)return vt(),function(){Lt()}},[Vt]),x.useLayoutEffect(function(){return Dn(!0),function(){Dn(!1)}},[])}var Zn=ee(83898),tt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],st=function(Lt,qt){var Ae=Lt.className,Vt=Lt.style,Dn=Lt.motion,Ln=Lt.motionNodes,Pt=Lt.motionType,Gt=Lt.onMotionStart,Ot=Lt.onMotionEnd,On=Lt.active,sa=Lt.treeNodeRequiredProps,xa=(0,ae.Z)(Lt,tt),pa=x.useState(!0),Ia=(0,oe.Z)(pa,2),rr=Ia[0],En=Ia[1],Nt=x.useContext(b.k),Sn=Nt.prefixCls,xn=Ln&&Pt!=="hide";pe(function(){Ln&&xn!==rr&&En(xn)},[Ln]);var oa=function(){Ln&&Gt()},Fa=x.useRef(!1),Xa=function(){Ln&&!Fa.current&&(Fa.current=!0,Ot())};Ar(oa,Xa);var yr=function(_n){xn===_n&&Xa()};return Ln?x.createElement(Nn,(0,re.Z)({ref:qt,visible:rr},Dn,{motionAppear:Pt==="show",onVisibleChanged:yr}),function(sr,_n){var ya=sr.className,Sa=sr.style;return x.createElement("div",{ref:_n,className:Ke()("".concat(Sn,"-treenode-motion"),ya),style:Sa},Ln.map(function(Za){var dr=(0,re.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,sa);return x.createElement(Oa.Z,(0,re.Z)({},dr,Lo,{title:Hr,active:On,data:Za.data,key:ro,isStart:Eo,isEnd:wo}))}))}):x.createElement(Oa.Z,(0,re.Z)({domRef:qt,className:Ae,style:Vt},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]:[],Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],qt=vt.length,Ae=Lt.length;if(Math.abs(qt-Ae)!==1)return{add:!1,key:null};function Vt(Dn,Ln){var Pt=new Map;Dn.forEach(function(Ot){Pt.set(Ot,!0)});var Gt=Ln.filter(function(Ot){return!Pt.has(Ot)});return Gt.length===1?Gt[0]:null}return qt<Ae?{add:!0,key:Vt(vt,Lt)}:{add:!1,key:Vt(Lt,vt)}}function Qn(vt,Lt,qt){var Ae=vt.findIndex(function(Pt){return Pt.key===qt}),Vt=vt[Ae+1],Dn=Lt.findIndex(function(Pt){return Pt.key===qt});if(Vt){var Ln=Lt.findIndex(function(Pt){return Pt.key===Vt.key});return Lt.slice(Dn+1,Ln)}return Lt.slice(Dn+1)}var Ka=["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"],ca={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Wn=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 ot(vt,Lt,qt,Ae){return Lt===!1||!qt?vt:vt.slice(0,Math.ceil(qt/Ae)+1)}function _t(vt){var Lt=vt.key,qt=vt.pos;return(0,Zn.km)(Lt,qt)}function $t(vt){for(var Lt=String(vt.data.key),qt=vt;qt.parent;)qt=qt.parent,Lt="".concat(qt.data.key," > ").concat(Lt);return Lt}var Xt=x.forwardRef(function(vt,Lt){var qt=vt.prefixCls,Ae=vt.data,Vt=vt.selectable,Dn=vt.checkable,Ln=vt.expandedKeys,Pt=vt.selectedKeys,Gt=vt.checkedKeys,Ot=vt.loadedKeys,On=vt.loadingKeys,sa=vt.halfCheckedKeys,xa=vt.keyEntities,pa=vt.disabled,Ia=vt.dragging,rr=vt.dragOverNodeKey,En=vt.dropPosition,Nt=vt.motion,Sn=vt.height,xn=vt.itemHeight,oa=vt.virtual,Fa=vt.focusable,Xa=vt.activeItem,yr=vt.focused,sr=vt.tabIndex,_n=vt.onKeyDown,ya=vt.onFocus,Sa=vt.onBlur,Za=vt.onActiveChange,dr=vt.onListChangeStart,Hr=vt.onListChangeEnd,ro=(0,ae.Z)(vt,Ka),Eo=x.useRef(null),wo=x.useRef(null);x.useImperativeHandle(Lt,function(){return{scrollTo:function(ss){Eo.current.scrollTo(ss)},getIndentWidth:function(){return wo.current.offsetWidth}}});var Lo=x.useState(Ln),Oi=(0,oe.Z)(Lo,2),xl=Oi[0],Wl=Oi[1],Rl=x.useState(Ae),Sl=(0,oe.Z)(Rl,2),Li=Sl[0],is=Sl[1],Ul=x.useState(Ae),ls=(0,oe.Z)(Ul,2),zs=ls[0],kl=ls[1],Hs=x.useState([]),Vl=(0,oe.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=x.useState(null),ps=(0,oe.Z)(Gs,2),ad=ps[0],bi=ps[1],Ai=x.useRef(Ae);Ai.current=Ae;function il(){var Ci=Ai.current;is(Ci),kl(Ci),Ol([]),bi(null),Hr()}pe(function(){Wl(Ln);var Ci=Cn(xl,Ln);if(Ci.key!==null)if(Ci.add){var ss=Li.findIndex(function(Bs){var Ks=Bs.key;return Ks===Ci.key}),ql=ot(Qn(Li,Ae,Ci.key),oa,Sn,xn),Nr=Li.slice();Nr.splice(ss+1,0,no),kl(Nr),Ol(ql),bi("show")}else{var ds=Ae.findIndex(function(Bs){var Ks=Bs.key;return Ks===Ci.key}),cs=ot(Qn(Ae,Li,Ci.key),oa,Sn,xn),js=Ae.slice();js.splice(ds+1,0,no),kl(js),Ol(cs),bi("hide")}else Li!==Ae&&(is(Ae),kl(Ae))},[Ln,Ae]),x.useEffect(function(){Ia||il()},[Ia]);var Ds=Nt?zs:Ae,Bd={expandedKeys:Ln,selectedKeys:Pt,loadedKeys:Ot,loadingKeys:On,checkedKeys:Gt,halfCheckedKeys:sa,dragOverNodeKey:rr,dropPosition:En,keyEntities:xa};return x.createElement(x.Fragment,null,yr&&Xa&&x.createElement("span",{style:ca,"aria-live":"assertive"},$t(Xa)),x.createElement("div",null,x.createElement("input",{style:ca,disabled:Fa===!1||pa,tabIndex:Fa!==!1?sr:null,onKeyDown:_n,onFocus:ya,onBlur:Sa,value:"",onChange:Wn,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(qt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(qt,"-indent")},x.createElement("div",{ref:wo,className:"".concat(qt,"-indent-unit")}))),x.createElement(be.Z,(0,re.Z)({},ro,{data:Ds,itemKey:_t,height:Sn,fullHeight:!1,virtual:oa,itemHeight:xn,prefixCls:"".concat(qt,"-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 _t(cs)===Ma})&&il()}}),function(Ci){var ss=Ci.pos,ql=(0,re.Z)({},((0,z.Z)(Ci.data),Ci.data)),Nr=Ci.title,ds=Ci.key,cs=Ci.isStart,js=Ci.isEnd,Bs=(0,Zn.km)(ds,ss);delete ql.key,delete ql.children;var Ks=(0,Zn.H8)(Bs,Bd);return x.createElement(Kt,(0,re.Z)({},ql,Ks,{title:Nr,active:!!Xa&&ds===Xa.key,pos:ss,data:Ci.data,isStart:cs,isEnd:js,motion:Nt,motionNodes:ds===Ma?Dd:null,motionType:ad,onMotionStart:dr,onMotionEnd:il,treeNodeRequiredProps:Bd,onMouseMove:function(){Za(null)}}))}))});Xt.displayName="NodeList";var jn=Xt,Ut=ee(29873),Fn=ee(97153),un=ee(3596),$a=10,Aa=function(vt){(0,je.Z)(qt,vt);var Lt=(0,He.Z)(qt);function qt(){var Ae;(0,Te.Z)(this,qt);for(var Vt=arguments.length,Dn=new Array(Vt),Ln=0;Ln<Vt;Ln++)Dn[Ln]=arguments[Ln];return Ae=Lt.call.apply(Lt,[this].concat(Dn)),Ae.destroyed=!1,Ae.delayedDragEnterLogic=void 0,Ae.loadingRetryTimes={},Ae.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$)()},Ae.dragStartMousePosition=null,Ae.dragNode=void 0,Ae.currentMouseOverDroppableNodeKey=null,Ae.listRef=x.createRef(),Ae.onNodeDragStart=function(Pt,Gt){var Ot=Ae.state,On=Ot.expandedKeys,sa=Ot.keyEntities,xa=Ae.props.onDragStart,pa=Gt.props.eventKey;Ae.dragNode=Gt,Ae.dragStartMousePosition={x:Pt.clientX,y:Pt.clientY};var Ia=(0,Ut._5)(On,pa);Ae.setState({draggingNodeKey:pa,dragChildrenKeys:(0,Ut.wA)(pa,sa),indent:Ae.listRef.current.getIndentWidth()}),Ae.setExpandedKeys(Ia),window.addEventListener("dragend",Ae.onWindowDragEnd),xa==null||xa({event:Pt,node:(0,Zn.F)(Gt.props)})},Ae.onNodeDragEnter=function(Pt,Gt){var Ot=Ae.state,On=Ot.expandedKeys,sa=Ot.keyEntities,xa=Ot.dragChildrenKeys,pa=Ot.flattenNodes,Ia=Ot.indent,rr=Ae.props,En=rr.onDragEnter,Nt=rr.onExpand,Sn=rr.allowDrop,xn=rr.direction,oa=Gt.props,Fa=oa.pos,Xa=oa.eventKey,yr=(0,Ze.Z)(Ae),sr=yr.dragNode;if(Ae.currentMouseOverDroppableNodeKey!==Xa&&(Ae.currentMouseOverDroppableNodeKey=Xa),!sr){Ae.resetDragState();return}var _n=(0,Ut.OM)(Pt,sr,Gt,Ia,Ae.dragStartMousePosition,Sn,pa,sa,On,xn),ya=_n.dropPosition,Sa=_n.dropLevelOffset,Za=_n.dropTargetKey,dr=_n.dropContainerKey,Hr=_n.dropTargetPos,ro=_n.dropAllowed,Eo=_n.dragOverNodeKey;if(xa.indexOf(Za)!==-1||!ro){Ae.resetDragState();return}if(Ae.delayedDragEnterLogic||(Ae.delayedDragEnterLogic={}),Object.keys(Ae.delayedDragEnterLogic).forEach(function(wo){clearTimeout(Ae.delayedDragEnterLogic[wo])}),sr.props.eventKey!==Gt.props.eventKey&&(Pt.persist(),Ae.delayedDragEnterLogic[Fa]=window.setTimeout(function(){if(Ae.state.draggingNodeKey!==null){var wo=(0,Be.Z)(On),Lo=(0,un.Z)(sa,Gt.props.eventKey);Lo&&(Lo.children||[]).length&&(wo=(0,Ut.L0)(On,Gt.props.eventKey)),"expandedKeys"in Ae.props||Ae.setExpandedKeys(wo),Nt==null||Nt(wo,{node:(0,Zn.F)(Gt.props),expanded:!0,nativeEvent:Pt.nativeEvent})}},800)),sr.props.eventKey===Za&&Sa===0){Ae.resetDragState();return}Ae.setState({dragOverNodeKey:Eo,dropPosition:ya,dropLevelOffset:Sa,dropTargetKey:Za,dropContainerKey:dr,dropTargetPos:Hr,dropAllowed:ro}),En==null||En({event:Pt,node:(0,Zn.F)(Gt.props),expandedKeys:On})},Ae.onNodeDragOver=function(Pt,Gt){var Ot=Ae.state,On=Ot.dragChildrenKeys,sa=Ot.flattenNodes,xa=Ot.keyEntities,pa=Ot.expandedKeys,Ia=Ot.indent,rr=Ae.props,En=rr.onDragOver,Nt=rr.allowDrop,Sn=rr.direction,xn=(0,Ze.Z)(Ae),oa=xn.dragNode;if(oa){var Fa=(0,Ut.OM)(Pt,oa,Gt,Ia,Ae.dragStartMousePosition,Nt,sa,xa,pa,Sn),Xa=Fa.dropPosition,yr=Fa.dropLevelOffset,sr=Fa.dropTargetKey,_n=Fa.dropContainerKey,ya=Fa.dropAllowed,Sa=Fa.dropTargetPos,Za=Fa.dragOverNodeKey;On.indexOf(sr)!==-1||!ya||(oa.props.eventKey===sr&&yr===0?Ae.state.dropPosition===null&&Ae.state.dropLevelOffset===null&&Ae.state.dropTargetKey===null&&Ae.state.dropContainerKey===null&&Ae.state.dropTargetPos===null&&Ae.state.dropAllowed===!1&&Ae.state.dragOverNodeKey===null||Ae.resetDragState():Xa===Ae.state.dropPosition&&yr===Ae.state.dropLevelOffset&&sr===Ae.state.dropTargetKey&&_n===Ae.state.dropContainerKey&&Sa===Ae.state.dropTargetPos&&ya===Ae.state.dropAllowed&&Za===Ae.state.dragOverNodeKey||Ae.setState({dropPosition:Xa,dropLevelOffset:yr,dropTargetKey:sr,dropContainerKey:_n,dropTargetPos:Sa,dropAllowed:ya,dragOverNodeKey:Za}),En==null||En({event:Pt,node:(0,Zn.F)(Gt.props)}))}},Ae.onNodeDragLeave=function(Pt,Gt){Ae.currentMouseOverDroppableNodeKey===Gt.props.eventKey&&!Pt.currentTarget.contains(Pt.relatedTarget)&&(Ae.resetDragState(),Ae.currentMouseOverDroppableNodeKey=null);var Ot=Ae.props.onDragLeave;Ot==null||Ot({event:Pt,node:(0,Zn.F)(Gt.props)})},Ae.onWindowDragEnd=function(Pt){Ae.onNodeDragEnd(Pt,null,!0),window.removeEventListener("dragend",Ae.onWindowDragEnd)},Ae.onNodeDragEnd=function(Pt,Gt){var Ot=Ae.props.onDragEnd;Ae.setState({dragOverNodeKey:null}),Ae.cleanDragState(),Ot==null||Ot({event:Pt,node:(0,Zn.F)(Gt.props)}),Ae.dragNode=null,window.removeEventListener("dragend",Ae.onWindowDragEnd)},Ae.onNodeDrop=function(Pt,Gt){var Ot,On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,sa=Ae.state,xa=sa.dragChildrenKeys,pa=sa.dropPosition,Ia=sa.dropTargetKey,rr=sa.dropTargetPos,En=sa.dropAllowed;if(En){var Nt=Ae.props.onDrop;if(Ae.setState({dragOverNodeKey:null}),Ae.cleanDragState(),Ia!==null){var Sn=(0,ze.Z)((0,ze.Z)({},(0,Zn.H8)(Ia,Ae.getTreeNodeRequiredProps())),{},{active:((Ot=Ae.getActiveItem())===null||Ot===void 0?void 0:Ot.key)===Ia,data:(0,un.Z)(Ae.state.keyEntities,Ia).node}),xn=xa.indexOf(Ia)!==-1;(0,a.ZP)(!xn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var oa=(0,Ut.yx)(rr),Fa={event:Pt,node:(0,Zn.F)(Sn),dragNode:Ae.dragNode?(0,Zn.F)(Ae.dragNode.props):null,dragNodesKeys:[Ae.dragNode.props.eventKey].concat(xa),dropToGap:pa!==0,dropPosition:pa+Number(oa[oa.length-1])};On||Nt==null||Nt(Fa),Ae.dragNode=null}}},Ae.cleanDragState=function(){var Pt=Ae.state.draggingNodeKey;Pt!==null&&Ae.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Ae.dragStartMousePosition=null,Ae.currentMouseOverDroppableNodeKey=null},Ae.triggerExpandActionExpand=function(Pt,Gt){var Ot=Ae.state,On=Ot.expandedKeys,sa=Ot.flattenNodes,xa=Gt.expanded,pa=Gt.key,Ia=Gt.isLeaf;if(!(Ia||Pt.shiftKey||Pt.metaKey||Pt.ctrlKey)){var rr=sa.filter(function(Nt){return Nt.key===pa})[0],En=(0,Zn.F)((0,ze.Z)((0,ze.Z)({},(0,Zn.H8)(pa,Ae.getTreeNodeRequiredProps())),{},{data:rr.data}));Ae.setExpandedKeys(xa?(0,Ut._5)(On,pa):(0,Ut.L0)(On,pa)),Ae.onNodeExpand(Pt,En)}},Ae.onNodeClick=function(Pt,Gt){var Ot=Ae.props,On=Ot.onClick,sa=Ot.expandAction;sa==="click"&&Ae.triggerExpandActionExpand(Pt,Gt),On==null||On(Pt,Gt)},Ae.onNodeDoubleClick=function(Pt,Gt){var Ot=Ae.props,On=Ot.onDoubleClick,sa=Ot.expandAction;sa==="doubleClick"&&Ae.triggerExpandActionExpand(Pt,Gt),On==null||On(Pt,Gt)},Ae.onNodeSelect=function(Pt,Gt){var Ot=Ae.state.selectedKeys,On=Ae.state,sa=On.keyEntities,xa=On.fieldNames,pa=Ae.props,Ia=pa.onSelect,rr=pa.multiple,En=Gt.selected,Nt=Gt[xa.key],Sn=!En;Sn?rr?Ot=(0,Ut.L0)(Ot,Nt):Ot=[Nt]:Ot=(0,Ut._5)(Ot,Nt);var xn=Ot.map(function(oa){var Fa=(0,un.Z)(sa,oa);return Fa?Fa.node:null}).filter(function(oa){return oa});Ae.setUncontrolledState({selectedKeys:Ot}),Ia==null||Ia(Ot,{event:"select",selected:Sn,node:Gt,selectedNodes:xn,nativeEvent:Pt.nativeEvent})},Ae.onNodeCheck=function(Pt,Gt,Ot){var On=Ae.state,sa=On.keyEntities,xa=On.checkedKeys,pa=On.halfCheckedKeys,Ia=Ae.props,rr=Ia.checkStrictly,En=Ia.onCheck,Nt=Gt.key,Sn,xn={event:"check",node:Gt,checked:Ot,nativeEvent:Pt.nativeEvent};if(rr){var oa=Ot?(0,Ut.L0)(xa,Nt):(0,Ut._5)(xa,Nt),Fa=(0,Ut._5)(pa,Nt);Sn={checked:oa,halfChecked:Fa},xn.checkedNodes=oa.map(function(Sa){return(0,un.Z)(sa,Sa)}).filter(function(Sa){return Sa}).map(function(Sa){return Sa.node}),Ae.setUncontrolledState({checkedKeys:oa})}else{var Xa=(0,Fn.S)([].concat((0,Be.Z)(xa),[Nt]),!0,sa),yr=Xa.checkedKeys,sr=Xa.halfCheckedKeys;if(!Ot){var _n=new Set(yr);_n.delete(Nt);var ya=(0,Fn.S)(Array.from(_n),{checked:!1,halfCheckedKeys:sr},sa);yr=ya.checkedKeys,sr=ya.halfCheckedKeys}Sn=yr,xn.checkedNodes=[],xn.checkedNodesPositions=[],xn.halfCheckedKeys=sr,yr.forEach(function(Sa){var Za=(0,un.Z)(sa,Sa);if(Za){var dr=Za.node,Hr=Za.pos;xn.checkedNodes.push(dr),xn.checkedNodesPositions.push({node:dr,pos:Hr})}}),Ae.setUncontrolledState({checkedKeys:yr},!1,{halfCheckedKeys:sr})}En==null||En(Sn,xn)},Ae.onNodeLoad=function(Pt){var Gt=Pt.key,Ot=new Promise(function(On,sa){Ae.setState(function(xa){var pa=xa.loadedKeys,Ia=pa===void 0?[]:pa,rr=xa.loadingKeys,En=rr===void 0?[]:rr,Nt=Ae.props,Sn=Nt.loadData,xn=Nt.onLoad;if(!Sn||Ia.indexOf(Gt)!==-1||En.indexOf(Gt)!==-1)return null;var oa=Sn(Pt);return oa.then(function(){var Fa=Ae.state.loadedKeys,Xa=(0,Ut.L0)(Fa,Gt);xn==null||xn(Xa,{event:"load",node:Pt}),Ae.setUncontrolledState({loadedKeys:Xa}),Ae.setState(function(yr){return{loadingKeys:(0,Ut._5)(yr.loadingKeys,Gt)}}),On()}).catch(function(Fa){if(Ae.setState(function(yr){return{loadingKeys:(0,Ut._5)(yr.loadingKeys,Gt)}}),Ae.loadingRetryTimes[Gt]=(Ae.loadingRetryTimes[Gt]||0)+1,Ae.loadingRetryTimes[Gt]>=$a){var Xa=Ae.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ae.setUncontrolledState({loadedKeys:(0,Ut.L0)(Xa,Gt)}),On()}sa(Fa)}),{loadingKeys:(0,Ut.L0)(En,Gt)}})});return Ot.catch(function(){}),Ot},Ae.onNodeMouseEnter=function(Pt,Gt){var Ot=Ae.props.onMouseEnter;Ot==null||Ot({event:Pt,node:Gt})},Ae.onNodeMouseLeave=function(Pt,Gt){var Ot=Ae.props.onMouseLeave;Ot==null||Ot({event:Pt,node:Gt})},Ae.onNodeContextMenu=function(Pt,Gt){var Ot=Ae.props.onRightClick;Ot&&(Pt.preventDefault(),Ot({event:Pt,node:Gt}))},Ae.onFocus=function(){var Pt=Ae.props.onFocus;Ae.setState({focused:!0});for(var Gt=arguments.length,Ot=new Array(Gt),On=0;On<Gt;On++)Ot[On]=arguments[On];Pt==null||Pt.apply(void 0,Ot)},Ae.onBlur=function(){var Pt=Ae.props.onBlur;Ae.setState({focused:!1}),Ae.onActiveChange(null);for(var Gt=arguments.length,Ot=new Array(Gt),On=0;On<Gt;On++)Ot[On]=arguments[On];Pt==null||Pt.apply(void 0,Ot)},Ae.getTreeNodeRequiredProps=function(){var Pt=Ae.state,Gt=Pt.expandedKeys,Ot=Pt.selectedKeys,On=Pt.loadedKeys,sa=Pt.loadingKeys,xa=Pt.checkedKeys,pa=Pt.halfCheckedKeys,Ia=Pt.dragOverNodeKey,rr=Pt.dropPosition,En=Pt.keyEntities;return{expandedKeys:Gt||[],selectedKeys:Ot||[],loadedKeys:On||[],loadingKeys:sa||[],checkedKeys:xa||[],halfCheckedKeys:pa||[],dragOverNodeKey:Ia,dropPosition:rr,keyEntities:En}},Ae.setExpandedKeys=function(Pt){var Gt=Ae.state,Ot=Gt.treeData,On=Gt.fieldNames,sa=(0,Zn.oH)(Ot,Pt,On);Ae.setUncontrolledState({expandedKeys:Pt,flattenNodes:sa},!0)},Ae.onNodeExpand=function(Pt,Gt){var Ot=Ae.state.expandedKeys,On=Ae.state,sa=On.listChanging,xa=On.fieldNames,pa=Ae.props,Ia=pa.onExpand,rr=pa.loadData,En=Gt.expanded,Nt=Gt[xa.key];if(!sa){var Sn=Ot.indexOf(Nt),xn=!En;if((0,a.ZP)(En&&Sn!==-1||!En&&Sn===-1,"Expand state not sync with index check"),xn?Ot=(0,Ut.L0)(Ot,Nt):Ot=(0,Ut._5)(Ot,Nt),Ae.setExpandedKeys(Ot),Ia==null||Ia(Ot,{node:Gt,expanded:xn,nativeEvent:Pt.nativeEvent}),xn&&rr){var oa=Ae.onNodeLoad(Gt);oa&&oa.then(function(){var Fa=(0,Zn.oH)(Ae.state.treeData,Ot,xa);Ae.setUncontrolledState({flattenNodes:Fa})}).catch(function(){var Fa=Ae.state.expandedKeys,Xa=(0,Ut._5)(Fa,Nt);Ae.setExpandedKeys(Xa)})}}},Ae.onListChangeStart=function(){Ae.setUncontrolledState({listChanging:!0})},Ae.onListChangeEnd=function(){setTimeout(function(){Ae.setUncontrolledState({listChanging:!1})})},Ae.onActiveChange=function(Pt){var Gt=Ae.state.activeKey,Ot=Ae.props.onActiveChange;Gt!==Pt&&(Ae.setState({activeKey:Pt}),Pt!==null&&Ae.scrollTo({key:Pt}),Ot==null||Ot(Pt))},Ae.getActiveItem=function(){var Pt=Ae.state,Gt=Pt.activeKey,Ot=Pt.flattenNodes;return Gt===null?null:Ot.find(function(On){var sa=On.key;return sa===Gt})||null},Ae.offsetActiveKey=function(Pt){var Gt=Ae.state,Ot=Gt.flattenNodes,On=Gt.activeKey,sa=Ot.findIndex(function(Ia){var rr=Ia.key;return rr===On});sa===-1&&Pt<0&&(sa=Ot.length),sa=(sa+Pt+Ot.length)%Ot.length;var xa=Ot[sa];if(xa){var pa=xa.key;Ae.onActiveChange(pa)}else Ae.onActiveChange(null)},Ae.onKeyDown=function(Pt){var Gt=Ae.state,Ot=Gt.activeKey,On=Gt.expandedKeys,sa=Gt.checkedKeys,xa=Gt.fieldNames,pa=Ae.props,Ia=pa.onKeyDown,rr=pa.checkable,En=pa.selectable;switch(Pt.which){case ce.UP:{Ae.offsetActiveKey(-1),Pt.preventDefault();break}case ce.DOWN:{Ae.offsetActiveKey(1),Pt.preventDefault();break}}var Nt=Ae.getActiveItem();if(Nt&&Nt.data){var Sn=Ae.getTreeNodeRequiredProps(),xn=Nt.data.isLeaf===!1||!!(Nt.data[xa.children]||[]).length,oa=(0,Zn.F)((0,ze.Z)((0,ze.Z)({},(0,Zn.H8)(Ot,Sn)),{},{data:Nt.data,active:!0}));switch(Pt.which){case ce.LEFT:{xn&&On.includes(Ot)?Ae.onNodeExpand({},oa):Nt.parent&&Ae.onActiveChange(Nt.parent.key),Pt.preventDefault();break}case ce.RIGHT:{xn&&!On.includes(Ot)?Ae.onNodeExpand({},oa):Nt.children&&Nt.children.length&&Ae.onActiveChange(Nt.children[0].key),Pt.preventDefault();break}case ce.ENTER:case ce.SPACE:{rr&&!oa.disabled&&oa.checkable!==!1&&!oa.disableCheckbox?Ae.onNodeCheck({},oa,!sa.includes(Ot)):!rr&&En&&!oa.disabled&&oa.selectable!==!1&&Ae.onNodeSelect({},oa);break}}}Ia==null||Ia(Pt)},Ae.setUncontrolledState=function(Pt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ae.destroyed){var On=!1,sa=!0,xa={};Object.keys(Pt).forEach(function(pa){if(pa in Ae.props){sa=!1;return}On=!0,xa[pa]=Pt[pa]}),On&&(!Gt||sa)&&Ae.setState((0,ze.Z)((0,ze.Z)({},xa),Ot))}},Ae.scrollTo=function(Pt){Ae.listRef.current.scrollTo(Pt)},Ae}return(0,se.Z)(qt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Vt=this.props.activeKey;Vt!==void 0&&Vt!==this.state.activeKey&&(this.setState({activeKey:Vt}),Vt!==null&&this.scrollTo({key:Vt}))}},{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 Vt,Dn=this.state,Ln=Dn.focused,Pt=Dn.flattenNodes,Gt=Dn.keyEntities,Ot=Dn.draggingNodeKey,On=Dn.activeKey,sa=Dn.dropLevelOffset,xa=Dn.dropContainerKey,pa=Dn.dropTargetKey,Ia=Dn.dropPosition,rr=Dn.dragOverNodeKey,En=Dn.indent,Nt=this.props,Sn=Nt.prefixCls,xn=Nt.className,oa=Nt.style,Fa=Nt.showLine,Xa=Nt.focusable,yr=Nt.tabIndex,sr=yr===void 0?0:yr,_n=Nt.selectable,ya=Nt.showIcon,Sa=Nt.icon,Za=Nt.switcherIcon,dr=Nt.draggable,Hr=Nt.checkable,ro=Nt.checkStrictly,Eo=Nt.disabled,wo=Nt.motion,Lo=Nt.loadData,Oi=Nt.filterTreeNode,xl=Nt.height,Wl=Nt.itemHeight,Rl=Nt.virtual,Sl=Nt.titleRender,Li=Nt.dropIndicatorRender,is=Nt.onContextMenu,Ul=Nt.onScroll,ls=Nt.direction,zs=Nt.rootClassName,kl=Nt.rootStyle,Hs=(0,y.Z)(this.props,{aria:!0,data:!0}),Vl;return dr&&((0,Oe.Z)(dr)==="object"?Vl=dr:typeof dr=="function"?Vl={nodeDraggable:dr}:Vl={}),x.createElement(b.k.Provider,{value:{prefixCls:Sn,selectable:_n,showIcon:ya,icon:Sa,switcherIcon:Za,draggable:Vl,draggingNodeKey:Ot,checkable:Hr,checkStrictly:ro,disabled:Eo,keyEntities:Gt,dropLevelOffset:sa,dropContainerKey:xa,dropTargetKey:pa,dropPosition:Ia,dragOverNodeKey:rr,indent:En,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:Ke()(Sn,xn,zs,(Vt={},(0,me.Z)(Vt,"".concat(Sn,"-show-line"),Fa),(0,me.Z)(Vt,"".concat(Sn,"-focused"),Ln),(0,me.Z)(Vt,"".concat(Sn,"-active-focused"),On!==null),Vt)),style:kl},x.createElement(jn,(0,re.Z)({ref:this.listRef,prefixCls:Sn,style:oa,data:Pt,disabled:Eo,selectable:_n,checkable:!!Hr,motion:wo,dragging:Ot!==null,height:xl,itemHeight:Wl,virtual:Rl,focusable:Xa,focused:Ln,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(Vt,Dn){var Ln=Dn.prevProps,Pt={prevProps:Vt};function Gt(Xa){return!Ln&&Xa in Vt||Ln&&Ln[Xa]!==Vt[Xa]}var Ot,On=Dn.fieldNames;if(Gt("fieldNames")&&(On=(0,Zn.w$)(Vt.fieldNames),Pt.fieldNames=On),Gt("treeData")?Ot=Vt.treeData:Gt("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ot=(0,Zn.zn)(Vt.children)),Ot){Pt.treeData=Ot;var sa=(0,Zn.I8)(Ot,{fieldNames:On});Pt.keyEntities=(0,ze.Z)((0,me.Z)({},Ma,Mn),sa.keyEntities)}var xa=Pt.keyEntities||Dn.keyEntities;if(Gt("expandedKeys")||Ln&&Gt("autoExpandParent"))Pt.expandedKeys=Vt.autoExpandParent||!Ln&&Vt.defaultExpandParent?(0,Ut.r7)(Vt.expandedKeys,xa):Vt.expandedKeys;else if(!Ln&&Vt.defaultExpandAll){var pa=(0,ze.Z)({},xa);delete pa[Ma],Pt.expandedKeys=Object.keys(pa).map(function(Xa){return pa[Xa].key})}else!Ln&&Vt.defaultExpandedKeys&&(Pt.expandedKeys=Vt.autoExpandParent||Vt.defaultExpandParent?(0,Ut.r7)(Vt.defaultExpandedKeys,xa):Vt.defaultExpandedKeys);if(Pt.expandedKeys||delete Pt.expandedKeys,Ot||Pt.expandedKeys){var Ia=(0,Zn.oH)(Ot||Dn.treeData,Pt.expandedKeys||Dn.expandedKeys,On);Pt.flattenNodes=Ia}if(Vt.selectable&&(Gt("selectedKeys")?Pt.selectedKeys=(0,Ut.BT)(Vt.selectedKeys,Vt):!Ln&&Vt.defaultSelectedKeys&&(Pt.selectedKeys=(0,Ut.BT)(Vt.defaultSelectedKeys,Vt))),Vt.checkable){var rr;if(Gt("checkedKeys")?rr=(0,Ut.E6)(Vt.checkedKeys)||{}:!Ln&&Vt.defaultCheckedKeys?rr=(0,Ut.E6)(Vt.defaultCheckedKeys)||{}:Ot&&(rr=(0,Ut.E6)(Vt.checkedKeys)||{checkedKeys:Dn.checkedKeys,halfCheckedKeys:Dn.halfCheckedKeys}),rr){var En=rr,Nt=En.checkedKeys,Sn=Nt===void 0?[]:Nt,xn=En.halfCheckedKeys,oa=xn===void 0?[]:xn;if(!Vt.checkStrictly){var Fa=(0,Fn.S)(Sn,!0,xa);Sn=Fa.checkedKeys,oa=Fa.halfCheckedKeys}Pt.checkedKeys=Sn,Pt.halfCheckedKeys=oa}}return Gt("loadedKeys")&&(Pt.loadedKeys=Vt.loadedKeys),Pt}}]),qt}(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),mn=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(Lt,qt){return x.createElement(qr.Z,(0,re.Z)({},Lt,{ref:qt,icon:ei}))},In=x.forwardRef(Yo),va=ee(53124),Va=ee(50881),Un=ee(33603),Wr=ee(32157);const _r=4;function ti(vt){const{dropPosition:Lt,dropLevelOffset:qt,prefixCls:Ae,indent:Vt,direction:Dn="ltr"}=vt,Ln=Dn==="ltr"?"left":"right",Pt=Dn==="ltr"?"right":"left",Gt={[Ln]:-qt*Vt+_r,[Pt]:0};switch(Lt){case-1:Gt.top=-3;break;case 1:Gt.bottom=-3;break;default:Gt.bottom=-3,Gt[Ln]=Vt+_r;break}return x.createElement("div",{style:Gt,className:`${Ae}-drop-indicator`})}var ni=ee(99184),bl=x.forwardRef((vt,Lt)=>{const{getPrefixCls:qt,direction:Ae,virtual:Vt,tree:Dn}=x.useContext(va.E_),{prefixCls:Ln,className:Pt,showIcon:Gt=!1,showLine:Ot,switcherIcon:On,blockNode:sa=!1,children:xa,checkable:pa=!1,selectable:Ia=!0,draggable:rr,motion:En,style:Nt}=vt,Sn=qt("tree",Ln),xn=qt(),oa=En!=null?En:Object.assign(Object.assign({},(0,Un.Z)(xn)),{motionAppear:!1}),Fa=Object.assign(Object.assign({},vt),{checkable:pa,selectable:Ia,showIcon:Gt,motion:oa,blockNode:sa,showLine:!!Ot,dropIndicatorRender:ti}),[Xa,yr]=(0,Wr.ZP)(Sn),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]),_n=ya=>x.createElement(ni.Z,{prefixCls:Sn,switcherIcon:On,treeNodeProps:ya,showLine:Ot});return Xa(x.createElement(zr,Object.assign({itemHeight:20,ref:Lt,virtual:Vt},Fa,{style:Object.assign(Object.assign({},Dn==null?void 0:Dn.style),Nt),prefixCls:Sn,className:Ke()({[`${Sn}-icon-hide`]:!Gt,[`${Sn}-block-node`]:sa,[`${Sn}-unselectable`]:!Ia,[`${Sn}-rtl`]:Ae==="rtl"},Dn==null?void 0:Dn.className,Pt,yr),direction:Ae,checkable:pa&&x.createElement("span",{className:`${Sn}-checkbox-inner`}),selectable:Ia,switcherIcon:_n,draggable:sr}),xa))}),yi;(function(vt){vt[vt.None=0]="None",vt[vt.Start=1]="Start",vt[vt.End=2]="End"})(yi||(yi={}));function Kl(vt,Lt){function qt(Ae){const{key:Vt,children:Dn}=Ae;Lt(Vt,Ae)!==!1&&Kl(Dn||[],Lt)}vt.forEach(qt)}function $l(vt){let{treeData:Lt,expandedKeys:qt,startKey:Ae,endKey:Vt}=vt;const Dn=[];let Ln=yi.None;if(Ae&&Ae===Vt)return[Ae];if(!Ae||!Vt)return[];function Pt(Gt){return Gt===Ae||Gt===Vt}return Kl(Lt,Gt=>{if(Ln===yi.End)return!1;if(Pt(Gt)){if(Dn.push(Gt),Ln===yi.None)Ln=yi.Start;else if(Ln===yi.Start)return Ln=yi.End,!1}else Ln===yi.Start&&Dn.push(Gt);return qt.includes(Gt)}),Dn}function wi(vt,Lt){const qt=(0,Be.Z)(Lt),Ae=[];return Kl(vt,(Vt,Dn)=>{const Ln=qt.indexOf(Vt);return Ln!==-1&&(Ae.push(Dn),qt.splice(Ln,1)),!!qt.length}),Ae}var Xo=function(vt,Lt){var qt={};for(var Ae in vt)Object.prototype.hasOwnProperty.call(vt,Ae)&&Lt.indexOf(Ae)<0&&(qt[Ae]=vt[Ae]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,Ae=Object.getOwnPropertySymbols(vt);Vt<Ae.length;Vt++)Lt.indexOf(Ae[Vt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ae[Vt])&&(qt[Ae[Vt]]=vt[Ae[Vt]]);return qt};function hl(vt){const{isLeaf:Lt,expanded:qt}=vt;return Lt?x.createElement(co.Z,null):qt?x.createElement(mn.Z,null):x.createElement(In,null)}function Cl(vt){let{treeData:Lt,children:qt}=vt;return Lt||(0,Zn.zn)(qt)}const Fl=(vt,Lt)=>{var{defaultExpandAll:qt,defaultExpandParent:Ae,defaultExpandedKeys:Vt}=vt,Dn=Xo(vt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ln=x.useRef(),Pt=x.useRef(),Gt=()=>{const{keyEntities:sr}=(0,Zn.I8)(Cl(Dn));let _n;return qt?_n=Object.keys(sr):Ae?_n=(0,Ut.r7)(Dn.expandedKeys||Vt||[],sr):_n=Dn.expandedKeys||Vt,_n},[Ot,On]=x.useState(Dn.selectedKeys||Dn.defaultSelectedKeys||[]),[sa,xa]=x.useState(()=>Gt());x.useEffect(()=>{"selectedKeys"in Dn&&On(Dn.selectedKeys)},[Dn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in Dn&&xa(Dn.expandedKeys)},[Dn.expandedKeys]);const pa=(sr,_n)=>{var ya;return"expandedKeys"in Dn||xa(sr),(ya=Dn.onExpand)===null||ya===void 0?void 0:ya.call(Dn,sr,_n)},Ia=(sr,_n)=>{var ya;const{multiple:Sa}=Dn,{node:Za,nativeEvent:dr}=_n,{key:Hr=""}=Za,ro=Cl(Dn),Eo=Object.assign(Object.assign({},_n),{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,Ln.current=Hr,Pt.current=Oi,Eo.selectedNodes=wi(ro,Oi)):Sa&&Lo?(Oi=Array.from(new Set([].concat((0,Be.Z)(Pt.current||[]),(0,Be.Z)($l({treeData:ro,expandedKeys:sa,startKey:Hr,endKey:Ln.current}))))),Eo.selectedNodes=wi(ro,Oi)):(Oi=[Hr],Ln.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:En}=x.useContext(va.E_),{prefixCls:Nt,className:Sn,showIcon:xn=!0,expandAction:oa="click"}=Dn,Fa=Xo(Dn,["prefixCls","className","showIcon","expandAction"]),Xa=rr("tree",Nt),yr=Ke()(`${Xa}-directory`,{[`${Xa}-directory-rtl`]:En==="rtl"},Sn);return x.createElement(bl,Object.assign({icon:hl,ref:Lt,blockNode:!0},Fa,{showIcon:xn,expandAction:oa,prefixCls:Xa,className:yr,expandedKeys:sa,selectedKeys:Ot,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 Ee},Yk:function(){return Ke}});var re=ee(45930),me=ee(63185),Oe=ee(14747),ze=ee(33507),Be=ee(45503),Te=ee(67968);const se=new re.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ze=(ce,y)=>({[`.${ce}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),je=(ce,y)=>({[`.${ce}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),He=(ce,y)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:oe}=y,ae=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Oe.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Oe.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:se,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Oe.oN)(y)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Ze(ce,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:E,margin:0,lineHeight:`${E}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:E/2*.8,height:E/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ae},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:E,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${E}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:oe},[`&${a}-node-selected`]:{backgroundColor:z},[`${a}-iconEle`]:{display:"inline-block",width:E,height:E,lineHeight:`${E}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${E}px`,userSelect:"none"},je(ce,y)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${E/2}px !important`}}}}})}},qe=ce=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=ce;return{[`${y}${y}-directory`]:{[a]:{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},[`${y}-switcher`]:{transition:`color ${ce.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:E,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:E},[`${y}-node-content-wrapper`]:{color:E,background:"transparent"}}}}}},Ke=(ce,y)=>{const a=`.${ce}`,x=`${a}-treenode`,b=y.paddingXS/2,E=(0,Be.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[He(ce,E),qe(E)]},Ee=ce=>{const{controlHeightSM:y}=ce;return{titleHeight:y,nodeHoverBg:ce.controlItemBgHover,nodeSelectedBg:ce.controlItemBgActive}};Et.ZP=(0,Te.Z)("Tree",(ce,y)=>{let{prefixCls:a}=y;return[{[ce.componentCls]:(0,me.C2)(`${a}-checkbox`,ce)},Ke(a,ce),(0,ze.Z)(ce)]},ce=>{const{colorTextLightSolid:y,colorPrimary:a}=ce;return Object.assign(Object.assign({},Ee(ce)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},99184:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return a}});var re=ee(87462),me=ee(67294),Oe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},ze=Oe,Be=ee(74643),Te=function(b,E){return me.createElement(Be.Z,(0,re.Z)({},b,{ref:E,icon:ze}))},se=me.forwardRef(Te),Ze=ee(73148),je=ee(3407),He=ee(34182),qe=ee(74664),Ke=ee(94184),Ee=ee.n(Ke),ce=ee(96159),a=x=>{const{prefixCls:b,switcherIcon:E,treeNodeProps:z,showLine:oe}=x,{isLeaf:ae,expanded:ne,loading:fe}=z;if(fe)return me.createElement(je.Z,{className:`${b}-switcher-loading-icon`});let pe;if(oe&&typeof oe=="object"&&(pe=oe.showLeafIcon),ae){if(!oe)return null;if(typeof pe!="boolean"&&pe){const xe=typeof pe=="function"?pe(z):pe,Se=`${b}-switcher-line-custom-icon`;return(0,ce.l$)(xe)?(0,ce.Tm)(xe,{className:Ee()(xe.props.className||"",Se)}):xe}return pe?me.createElement(Ze.Z,{className:`${b}-switcher-line-icon`}):me.createElement("span",{className:`${b}-switcher-leaf-line`})}const we=`${b}-switcher-icon`,be=typeof E=="function"?E(z):E;return(0,ce.l$)(be)?(0,ce.Tm)(be,{className:Ee()(be.props.className||"",we)}):be!==void 0?be:oe?ne?me.createElement(He.Z,{className:`${b}-switcher-line-icon`}):me.createElement(qe.Z,{className:`${b}-switcher-line-icon`}):me.createElement(se,{className:we})}},59810:function(ht,Et,ee){"use strict";ee.d(Et,{default:function(){return no}});var re=ee(67294),me=ee(74902),Oe=ee(94184),ze=ee.n(Oe),Be=ee(87462),Te=ee(15671),se=ee(43144),Ze=ee(60136),je=ee(51630),He=ee(4942),qe=ee(45987),Ke=ee(74165),Ee=ee(71002),ce=ee(15861),y=ee(64217);function a(ot,_t){var $t="cannot ".concat(ot.method," ").concat(ot.action," ").concat(_t.status,"'"),Xt=new Error($t);return Xt.status=_t.status,Xt.method=ot.method,Xt.url=ot.action,Xt}function x(ot){var _t=ot.responseText||ot.response;if(!_t)return _t;try{return JSON.parse(_t)}catch($t){return _t}}function b(ot){var _t=new XMLHttpRequest;ot.onProgress&&_t.upload&&(_t.upload.onprogress=function(Ut){Ut.total>0&&(Ut.percent=Ut.loaded/Ut.total*100),ot.onProgress(Ut)});var $t=new FormData;ot.data&&Object.keys(ot.data).forEach(function(jn){var Ut=ot.data[jn];if(Array.isArray(Ut)){Ut.forEach(function(Fn){$t.append("".concat(jn,"[]"),Fn)});return}$t.append(jn,Ut)}),ot.file instanceof Blob?$t.append(ot.filename,ot.file,ot.file.name):$t.append(ot.filename,ot.file),_t.onerror=function(Ut){ot.onError(Ut)},_t.onload=function(){return _t.status<200||_t.status>=300?ot.onError(a(ot,_t),x(_t)):ot.onSuccess(x(_t),_t)},_t.open(ot.method,ot.action,!0),ot.withCredentials&&"withCredentials"in _t&&(_t.withCredentials=!0);var Xt=ot.headers||{};return Xt["X-Requested-With"]!==null&&_t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Xt).forEach(function(jn){Xt[jn]!==null&&_t.setRequestHeader(jn,Xt[jn])}),_t.send($t),{abort:function(){_t.abort()}}}var E=+new Date,z=0;function oe(){return"rc-upload-".concat(E,"-").concat(++z)}var ae=ee(80334),ne=function(ot,_t){if(ot&&_t){var $t=Array.isArray(_t)?_t:_t.split(","),Xt=ot.name||"",jn=ot.type||"",Ut=jn.replace(/\/.*$/,"");return $t.some(function(Fn){var un=Fn.trim();if(/^\*(\/\*)?$/.test(Fn))return!0;if(un.charAt(0)==="."){var $a=Xt.toLowerCase(),Aa=un.toLowerCase(),cr=[Aa];return(Aa===".jpg"||Aa===".jpeg")&&(cr=[".jpg",".jpeg"]),cr.some(function(zr){return $a.endsWith(zr)})}return/\/\*$/.test(un)?Ut===un.replace(/\/.*$/,""):jn===un?!0:/^\w+$/.test(un)?((0,ae.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(un,"'.Skip for check.")),!0):!1})}return!0};function fe(ot,_t){var $t=ot.createReader(),Xt=[];function jn(){$t.readEntries(function(Ut){var Fn=Array.prototype.slice.apply(Ut);Xt=Xt.concat(Fn);var un=!Fn.length;un?_t(Xt):jn()})}jn()}var pe=function(_t,$t,Xt){var jn=function Ut(Fn,un){Fn&&(Fn.path=un||"",Fn.isFile?Fn.file(function($a){Xt($a)&&(Fn.fullPath&&!$a.webkitRelativePath&&(Object.defineProperties($a,{webkitRelativePath:{writable:!0}}),$a.webkitRelativePath=Fn.fullPath.replace(/^\//,""),Object.defineProperties($a,{webkitRelativePath:{writable:!1}})),$t([$a]))}):Fn.isDirectory&&fe(Fn,function($a){$a.forEach(function(Aa){Ut(Aa,"".concat(un).concat(Fn.name,"/"))})}))};_t.forEach(function(Ut){jn(Ut.webkitGetAsEntry())})},we=pe,be=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(ot){(0,Ze.Z)($t,ot);var _t=(0,je.Z)($t);function $t(){var Xt;(0,Te.Z)(this,$t);for(var jn=arguments.length,Ut=new Array(jn),Fn=0;Fn<jn;Fn++)Ut[Fn]=arguments[Fn];return Xt=_t.call.apply(_t,[this].concat(Ut)),Xt.state={uid:oe()},Xt.reqs={},Xt.fileInput=void 0,Xt._isMounted=void 0,Xt.onChange=function(un){var $a=Xt.props,Aa=$a.accept,cr=$a.directory,zr=un.target.files,co=(0,me.Z)(zr).filter(function(mn){return!cr||ne(mn,Aa)});Xt.uploadFiles(co),Xt.reset()},Xt.onClick=function(un){var $a=Xt.fileInput;if($a){var Aa=Xt.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(un)}},Xt.onKeyDown=function(un){un.key==="Enter"&&Xt.onClick(un)},Xt.onFileDrop=function(un){var $a=Xt.props.multiple;if(un.preventDefault(),un.type!=="dragover")if(Xt.props.directory)we(Array.prototype.slice.call(un.dataTransfer.items),Xt.uploadFiles,function(cr){return ne(cr,Xt.props.accept)});else{var Aa=(0,me.Z)(un.dataTransfer.files).filter(function(cr){return ne(cr,Xt.props.accept)});$a===!1&&(Aa=Aa.slice(0,1)),Xt.uploadFiles(Aa)}},Xt.uploadFiles=function(un){var $a=(0,me.Z)(un),Aa=$a.map(function(cr){return cr.uid=oe(),Xt.processFile(cr,$a)});Promise.all(Aa).then(function(cr){var zr=Xt.props.onBatchStart;zr==null||zr(cr.map(function(co){var mn=co.origin,Bi=co.parsedFile;return{file:mn,parsedFile:Bi}})),cr.filter(function(co){return co.parsedFile!==null}).forEach(function(co){Xt.post(co)})})},Xt.processFile=function(){var un=(0,ce.Z)((0,Ke.Z)().mark(function $a(Aa,cr){var zr,co,mn,Bi,ei,qr,Yo,In,va;return(0,Ke.Z)().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:if(zr=Xt.props.beforeUpload,co=Aa,!zr){Un.next=14;break}return Un.prev=3,Un.next=6,zr(Aa,cr);case 6:co=Un.sent,Un.next=12;break;case 9:Un.prev=9,Un.t0=Un.catch(3),co=!1;case 12:if(co!==!1){Un.next=14;break}return Un.abrupt("return",{origin:Aa,parsedFile:null,action:null,data:null});case 14:if(mn=Xt.props.action,typeof mn!="function"){Un.next=21;break}return Un.next=18,mn(Aa);case 18:Bi=Un.sent,Un.next=22;break;case 21:Bi=mn;case 22:if(ei=Xt.props.data,typeof ei!="function"){Un.next=29;break}return Un.next=26,ei(Aa);case 26:qr=Un.sent,Un.next=30;break;case 29:qr=ei;case 30:return Yo=((0,Ee.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,Un.abrupt("return",{origin:Aa,data:qr,parsedFile:va,action:Bi});case 35:case"end":return Un.stop()}},$a,null,[[3,9]])}));return function($a,Aa){return un.apply(this,arguments)}}(),Xt.saveFileInput=function(un){Xt.fileInput=un},Xt}return(0,se.Z)($t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(jn){var Ut=this,Fn=jn.data,un=jn.origin,$a=jn.action,Aa=jn.parsedFile;if(this._isMounted){var cr=this.props,zr=cr.onStart,co=cr.customRequest,mn=cr.name,Bi=cr.headers,ei=cr.withCredentials,qr=cr.method,Yo=un.uid,In=co||b,va={action:$a,filename:mn,data:Fn,file:Aa,headers:Bi,withCredentials:ei,method:qr||"post",onProgress:function(Un){var Wr=Ut.props.onProgress;Wr==null||Wr(Un,Aa)},onSuccess:function(Un,Wr){var _r=Ut.props.onSuccess;_r==null||_r(Un,Aa,Wr),delete Ut.reqs[Yo]},onError:function(Un,Wr){var _r=Ut.props.onError;_r==null||_r(Un,Wr,Aa),delete Ut.reqs[Yo]}};zr(un),this.reqs[Yo]=In(va)}}},{key:"reset",value:function(){this.setState({uid:oe()})}},{key:"abort",value:function(jn){var Ut=this.reqs;if(jn){var Fn=jn.uid?jn.uid:jn;Ut[Fn]&&Ut[Fn].abort&&Ut[Fn].abort(),delete Ut[Fn]}else Object.keys(Ut).forEach(function(un){Ut[un]&&Ut[un].abort&&Ut[un].abort(),delete Ut[un]})}},{key:"render",value:function(){var jn,Ut=this.props,Fn=Ut.component,un=Ut.prefixCls,$a=Ut.className,Aa=Ut.disabled,cr=Ut.id,zr=Ut.style,co=Ut.multiple,mn=Ut.accept,Bi=Ut.capture,ei=Ut.children,qr=Ut.directory,Yo=Ut.openFileDialogOnClick,In=Ut.onMouseEnter,va=Ut.onMouseLeave,Va=(0,qe.Z)(Ut,be),Un=ze()((jn={},(0,He.Z)(jn,un,!0),(0,He.Z)(jn,"".concat(un,"-disabled"),Aa),(0,He.Z)(jn,$a,$a),jn)),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 re.createElement(Fn,(0,Be.Z)({},_r,{className:Un,role:"button",style:zr}),re.createElement("input",(0,Be.Z)({},(0,y.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:mn},Wr,{multiple:co,onChange:this.onChange},Bi!=null?{capture:Bi}:{})),ei)}}]),$t}(re.Component),Se=xe;function gt(){}var Qe=function(ot){(0,Ze.Z)($t,ot);var _t=(0,je.Z)($t);function $t(){var Xt;(0,Te.Z)(this,$t);for(var jn=arguments.length,Ut=new Array(jn),Fn=0;Fn<jn;Fn++)Ut[Fn]=arguments[Fn];return Xt=_t.call.apply(_t,[this].concat(Ut)),Xt.uploader=void 0,Xt.saveUploader=function(un){Xt.uploader=un},Xt}return(0,se.Z)($t,[{key:"abort",value:function(jn){this.uploader.abort(jn)}},{key:"render",value:function(){return re.createElement(Se,(0,Be.Z)({},this.props,{ref:this.saveUploader}))}}]),$t}(re.Component);Qe.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 Dt=Qe,$e=Dt,et=ee(5663),Tt=ee(73935),tn=ee(53124),jt=ee(98866),pt=ee(10110),Zt=ee(24457),nn={icon:function(_t,$t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:$t}},{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:_t}}]}},name:"file",theme:"twotone"},hn=nn,We=ee(74643),Ct=function(_t,$t){return re.createElement(We.Z,(0,Be.Z)({},_t,{ref:$t,icon:hn}))},Bt=re.forwardRef(Ct),Kn=ee(3407),lt={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=lt,Ce=function(_t,$t){return re.createElement(We.Z,(0,Be.Z)({},_t,{ref:$t,icon:Mt}))},Pn=re.forwardRef(Ce),Hn={icon:function(_t,$t){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:_t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:$t}},{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:$t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:$t}},{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:_t}}]}},name:"picture",theme:"twotone"},Ca=Hn,Yn=function(_t,$t){return re.createElement(We.Z,(0,Be.Z)({},_t,{ref:$t,icon:Ca}))},Qt=re.forwardRef(Yn),Ge=ee(38379),Me=ee(57838),ft=ee(33603),Ht=ee(96159),an=ee(71577);function Rt(ot){return Object.assign(Object.assign({},ot),{lastModified:ot.lastModified,lastModifiedDate:ot.lastModifiedDate,name:ot.name,size:ot.size,type:ot.type,uid:ot.uid,percent:0,originFileObj:ot})}function Jt(ot,_t){const $t=(0,me.Z)(_t),Xt=$t.findIndex(jn=>{let{uid:Ut}=jn;return Ut===ot.uid});return Xt===-1?$t.push(ot):$t[Xt]=ot,$t}function An(ot,_t){const $t=ot.uid!==void 0?"uid":"name";return _t.filter(Xt=>Xt[$t]===ot[$t])[0]}function kn(ot,_t){const $t=ot.uid!==void 0?"uid":"name",Xt=_t.filter(jn=>jn[$t]!==ot[$t]);return Xt.length===_t.length?null:Xt}const ma=function(){const _t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Xt=_t[_t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Xt)||[""])[0]},Ie=ot=>ot.indexOf("image/")===0,_e=ot=>{if(ot.type&&!ot.thumbUrl)return Ie(ot.type);const _t=ot.thumbUrl||ot.url||"",$t=ma(_t);return/^data:image\//.test(_t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test($t)?!0:!(/^data:/.test(_t)||$t)},Xn=200;function $n(ot){return new Promise(_t=>{if(!ot.type||!Ie(ot.type)){_t("");return}const $t=document.createElement("canvas");$t.width=Xn,$t.height=Xn,$t.style.cssText=`position: fixed; left: 0; top: 0; width: ${Xn}px; height: ${Xn}px; z-index: 9999; display: none;`,document.body.appendChild($t);const Xt=$t.getContext("2d"),jn=new Image;if(jn.onload=()=>{const{width:Ut,height:Fn}=jn;let un=Xn,$a=Xn,Aa=0,cr=0;Ut>Fn?($a=Fn*(Xn/Ut),cr=-($a-un)/2):(un=Ut*(Xn/Fn),Aa=-(un-$a)/2),Xt.drawImage(jn,Aa,cr,un,$a);const zr=$t.toDataURL();document.body.removeChild($t),window.URL.revokeObjectURL(jn.src),_t(zr)},jn.crossOrigin="anonymous",ot.type.startsWith("image/svg+xml")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&(jn.src=Ut.result)},Ut.readAsDataURL(ot)}else if(ot.type.startsWith("image/gif")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&_t(Ut.result)},Ut.readAsDataURL(ot)}else jn.src=window.URL.createObjectURL(ot)})}var ct=ee(84249),dn=ee(90674),Ue=ee(99569),ut=ee(38703),Ft=ee(83062),kt=re.forwardRef((ot,_t)=>{let{prefixCls:$t,className:Xt,style:jn,locale:Ut,listType:Fn,file:un,items:$a,progress:Aa,iconRender:cr,actionIconRender:zr,itemRender:co,isImgUrl:mn,showPreviewIcon:Bi,showRemoveIcon:ei,showDownloadIcon:qr,previewIcon:Yo,removeIcon:In,downloadIcon:va,onPreview:Va,onDownload:Un,onClose:Wr}=ot;var _r,ti;const{status:ni}=un,[ai,bl]=re.useState(ni);re.useEffect(()=>{ni!=="removed"&&bl(ni)},[ni]);const[yi,Kl]=re.useState(!1);re.useEffect(()=>{const Pt=setTimeout(()=>{Kl(!0)},300);return()=>{clearTimeout(Pt)}},[]);const $l=cr(un);let wi=re.createElement("div",{className:`${$t}-icon`},$l);if(Fn==="picture"||Fn==="picture-card"||Fn==="picture-circle")if(ai==="uploading"||!un.thumbUrl&&!un.url){const Pt=ze()(`${$t}-list-item-thumbnail`,{[`${$t}-list-item-file`]:ai!=="uploading"});wi=re.createElement("div",{className:Pt},$l)}else{const Pt=mn!=null&&mn(un)?re.createElement("img",{src:un.thumbUrl||un.url,alt:un.name,className:`${$t}-list-item-image`,crossOrigin:un.crossOrigin}):$l,Gt=ze()(`${$t}-list-item-thumbnail`,{[`${$t}-list-item-file`]:mn&&!mn(un)});wi=re.createElement("a",{className:Gt,onClick:Ot=>Va(un,Ot),href:un.url||un.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pt)}const Xo=ze()(`${$t}-list-item`,`${$t}-list-item-${ai}`),hl=typeof un.linkProps=="string"?JSON.parse(un.linkProps):un.linkProps,Cl=ei?zr((typeof In=="function"?In(un):In)||re.createElement(ct.Z,null),()=>Wr(un),$t,Ut.removeFile):null,Fl=qr&&ai==="done"?zr((typeof va=="function"?va(un):va)||re.createElement(dn.Z,null),()=>Un(un),$t,Ut.downloadFile):null,tl=Fn!=="picture-card"&&Fn!=="picture-circle"&&re.createElement("span",{key:"download-delete",className:ze()(`${$t}-list-item-actions`,{picture:Fn==="picture"})},Fl,Cl),ki=ze()(`${$t}-list-item-name`),pl=un.url?[re.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ki,title:un.name},hl,{href:un.url,onClick:Pt=>Va(un,Pt)}),un.name),tl]:[re.createElement("span",{key:"view",className:ki,onClick:Pt=>Va(un,Pt),title:un.name},un.name),tl],kr={pointerEvents:"none",opacity:.5},vt=Bi?re.createElement("a",{href:un.url||un.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:un.url||un.thumbUrl?void 0:kr,onClick:Pt=>Va(un,Pt),title:Ut.previewFile},typeof Yo=="function"?Yo(un):Yo||re.createElement(Ue.Z,null)):null,Lt=(Fn==="picture-card"||Fn==="picture-circle")&&ai!=="uploading"&&re.createElement("span",{className:`${$t}-list-item-actions`},vt,ai==="done"&&Fl,Cl),{getPrefixCls:qt}=re.useContext(tn.E_),Ae=qt(),Vt=re.createElement("div",{className:Xo},wi,pl,Lt,yi&&re.createElement(Ge.default,{motionName:`${Ae}-fade`,visible:ai==="uploading",motionDeadline:2e3},Pt=>{let{className:Gt}=Pt;const Ot="percent"in un?re.createElement(ut.Z,Object.assign({},Aa,{type:"line",percent:un.percent,"aria-label":un["aria-label"],"aria-labelledby":un["aria-labelledby"]})):null;return re.createElement("div",{className:ze()(`${$t}-list-item-progress`,Gt)},Ot)})),Dn=un.response&&typeof un.response=="string"?un.response:((_r=un.error)===null||_r===void 0?void 0:_r.statusText)||((ti=un.error)===null||ti===void 0?void 0:ti.message)||Ut.uploadError,Ln=ai==="error"?re.createElement(Ft.Z,{title:Dn,getPopupContainer:Pt=>Pt.parentNode},Vt):Vt;return re.createElement("div",{className:ze()(`${$t}-list-item-container`,Xt),style:jn,ref:_t},co?co(Ln,un,$a,{download:Un.bind(null,un),preview:Va.bind(null,un),remove:Wr.bind(null,un)}):Ln)});const bn=(ot,_t)=>{const{listType:$t="text",previewFile:Xt=$n,onPreview:jn,onDownload:Ut,onRemove:Fn,locale:un,iconRender:$a,isImageUrl:Aa=_e,prefixCls:cr,items:zr=[],showPreviewIcon:co=!0,showRemoveIcon:mn=!0,showDownloadIcon:Bi=!1,removeIcon:ei,previewIcon:qr,downloadIcon:Yo,progress:In={size:[-1,2],showInfo:!1},appendAction:va,appendActionVisible:Va=!0,itemRender:Un,disabled:Wr}=ot,_r=(0,Me.Z)(),[ti,ni]=re.useState(!1);re.useEffect(()=>{$t!=="picture"&&$t!=="picture-card"&&$t!=="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="",Xt&&Xt(kr.originFileObj).then(vt=>{kr.thumbUrl=vt||"",_r()}))})},[$t,zr,Xt]),re.useEffect(()=>{ni(!0)},[]);const ai=(kr,vt)=>{if(jn)return vt==null||vt.preventDefault(),jn(kr)},bl=kr=>{typeof Ut=="function"?Ut(kr):kr.url&&window.open(kr.url)},yi=kr=>{Fn==null||Fn(kr)},Kl=kr=>{if($a)return $a(kr,$t);const vt=kr.status==="uploading",Lt=Aa&&Aa(kr)?re.createElement(Qt,null):re.createElement(Bt,null);let qt=vt?re.createElement(Kn.Z,null):re.createElement(Pn,null);return $t==="picture"?qt=vt?re.createElement(Kn.Z,null):Lt:($t==="picture-card"||$t==="picture-circle")&&(qt=vt?un.uploading:Lt),qt},$l=(kr,vt,Lt,qt)=>{const Ae={type:"text",size:"small",title:qt,onClick:Vt=>{vt(),(0,Ht.l$)(kr)&&kr.props.onClick&&kr.props.onClick(Vt)},className:`${Lt}-list-item-action`,disabled:Wr};if((0,Ht.l$)(kr)){const Vt=(0,Ht.Tm)(kr,Object.assign(Object.assign({},kr.props),{onClick:()=>{}}));return re.createElement(an.ZP,Object.assign({},Ae,{icon:Vt}))}return re.createElement(an.ZP,Object.assign({},Ae),re.createElement("span",null,kr))};re.useImperativeHandle(_t,()=>({handlePreview:ai,handleDownload:bl}));const{getPrefixCls:wi}=re.useContext(tn.E_),Xo=wi("upload",cr),hl=wi(),Cl=ze()(`${Xo}-list`,`${Xo}-list-${$t}`),Fl=(0,me.Z)(zr.map(kr=>({key:kr.uid,file:kr})));let ki={motionDeadline:2e3,motionName:`${Xo}-${$t==="picture-card"||$t==="picture-circle"?"animate-inline":"animate"}`,keys:Fl,motionAppear:ti};const pl=re.useMemo(()=>{const kr=Object.assign({},(0,ft.Z)(hl));return delete kr.onAppearEnd,delete kr.onEnterEnd,delete kr.onLeaveEnd,kr},[hl]);return $t!=="picture-card"&&$t!=="picture-circle"&&(ki=Object.assign(Object.assign({},pl),ki)),re.createElement("div",{className:Cl},re.createElement(Ge.CSSMotionList,Object.assign({},ki,{component:!1}),kr=>{let{key:vt,file:Lt,className:qt,style:Ae}=kr;return re.createElement(kt,{key:vt,locale:un,prefixCls:Xo,className:qt,style:Ae,file:Lt,items:zr,progress:In,listType:$t,isImgUrl:Aa,showPreviewIcon:co,showRemoveIcon:mn,showDownloadIcon:Bi,removeIcon:ei,previewIcon:qr,downloadIcon:Yo,iconRender:Kl,actionIconRender:$l,itemRender:Un,onPreview:ai,onDownload:bl,onClose:yi})}),va&&re.createElement(Ge.default,Object.assign({},ki,{visible:Va,forceRender:!0}),kr=>{let{className:vt,style:Lt}=kr;return(0,Ht.Tm)(va,qt=>({className:ze()(qt.className,vt),style:Object.assign(Object.assign(Object.assign({},Lt),{pointerEvents:vt?"none":void 0}),qt.style)}))}))};var Vn=re.forwardRef(bn),Gn=ee(14747),Ga=ee(33507),ra=ee(67968),ja=ee(45503),Tr=ot=>{const{componentCls:_t,iconCls:$t}=ot;return{[`${_t}-wrapper`]:{[`${_t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ot.colorFillAlter,border:`${ot.lineWidth}px dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[_t]:{padding:`${ot.padding}px 0`},[`${_t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${_t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${_t}-disabled):hover`]:{borderColor:ot.colorPrimaryHover},[`p${_t}-drag-icon`]:{marginBottom:ot.margin,[$t]:{color:ot.colorPrimary,fontSize:ot.uploadThumbnailSize}},[`p${_t}-text`]:{margin:`0 0 ${ot.marginXXS}px`,color:ot.colorTextHeading,fontSize:ot.fontSizeLG},[`p${_t}-hint`]:{color:ot.colorTextDescription,fontSize:ot.fontSize},[`&${_t}-disabled`]:{cursor:"not-allowed",[`p${_t}-drag-icon ${$t},
p${_t}-text,
p${_t}-hint
`]:{color:ot.colorTextDisabled}}}}}},Rr=ot=>{const{componentCls:_t,antCls:$t,iconCls:Xt,fontSize:jn,lineHeight:Ut}=ot,Fn=`${_t}-list-item`,un=`${Fn}-actions`,$a=`${Fn}-action`,Aa=Math.round(jn*Ut);return{[`${_t}-wrapper`]:{[`${_t}-list`]:Object.assign(Object.assign({},(0,Gn.dF)()),{lineHeight:ot.lineHeight,[Fn]:{position:"relative",height:ot.lineHeight*jn,marginTop:ot.marginXS,fontSize:jn,display:"flex",alignItems:"center",transition:`background-color ${ot.motionDurationSlow}`,"&:hover":{backgroundColor:ot.controlItemBgHover},[`${Fn}-name`]:Object.assign(Object.assign({},Gn.vS),{padding:`0 ${ot.paddingXS}px`,lineHeight:Ut,flex:"auto",transition:`all ${ot.motionDurationSlow}`}),[un]:{[$a]:{opacity:0},[`${$a}${$t}-btn-sm`]:{height:Aa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${$a}:focus-visible,
&.picture ${$a}
`]:{opacity:1},[Xt]:{color:ot.actionsColor,transition:`all ${ot.motionDurationSlow}`},[`&:hover ${Xt}`]:{color:ot.colorText}},[`${_t}-icon ${Xt}`]:{color:ot.colorTextDescription,fontSize:jn},[`${Fn}-progress`]:{position:"absolute",bottom:-ot.uploadProgressOffset,width:"100%",paddingInlineStart:jn+ot.paddingXS,fontSize:jn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Fn}:hover ${$a}`]:{opacity:1,color:ot.colorText},[`${Fn}-error`]:{color:ot.colorError,[`${Fn}-name, ${_t}-icon ${Xt}`]:{color:ot.colorError},[un]:{[`${Xt}, ${Xt}:hover`]:{color:ot.colorError},[$a]:{opacity:1}}},[`${_t}-list-item-container`]:{transition:`opacity ${ot.motionDurationSlow}, height ${ot.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 Tn=ot=>{const{componentCls:_t}=ot,$t=`${_t}-animate-inline`;return[{[`${_t}-wrapper`]:{[`${$t}-appear, ${$t}-enter, ${$t}-leave`]:{animationDuration:ot.motionDurationSlow,animationTimingFunction:ot.motionEaseInOutCirc,animationFillMode:"forwards"},[`${$t}-appear, ${$t}-enter`]:{animationName:lo},[`${$t}-leave`]:{animationName:gr}}},{[`${_t}-wrapper`]:(0,to.J$)(ot)},lo,gr]},wn=ee(47448),Nn=ee(84780);const Oa=ot=>{const{componentCls:_t,iconCls:$t,uploadThumbnailSize:Xt,uploadProgressOffset:jn}=ot,Ut=`${_t}-list`,Fn=`${Ut}-item`;return{[`${_t}-wrapper`]:{[`
${Ut}${Ut}-picture,
${Ut}${Ut}-picture-card,
${Ut}${Ut}-picture-circle
`]:{[Fn]:{position:"relative",height:Xt+ot.lineWidth*2+ot.paddingXS*2,padding:ot.paddingXS,border:`${ot.lineWidth}px ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,"&:hover":{background:"transparent"},[`${Fn}-thumbnail`]:Object.assign(Object.assign({},Gn.vS),{width:Xt,height:Xt,lineHeight:`${Xt+ot.paddingSM}px`,textAlign:"center",flex:"none",[$t]:{fontSize:ot.fontSizeHeading2,color:ot.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Fn}-progress`]:{bottom:jn,width:`calc(100% - ${ot.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Xt+ot.paddingXS}},[`${Fn}-error`]:{borderColor:ot.colorError,[`${Fn}-thumbnail ${$t}`]:{[`svg path[fill='${wn.blue[0]}']`]:{fill:ot.colorErrorBg},[`svg path[fill='${wn.blue.primary}']`]:{fill:ot.colorError}}},[`${Fn}-uploading`]:{borderStyle:"dashed",[`${Fn}-name`]:{marginBottom:jn}}},[`${Ut}${Ut}-picture-circle ${Fn}`]:{[`&, &::before, ${Fn}-thumbnail`]:{borderRadius:"50%"}}}}},Ar=ot=>{const{componentCls:_t,iconCls:$t,fontSizeLG:Xt,colorTextLightSolid:jn}=ot,Ut=`${_t}-list`,Fn=`${Ut}-item`,un=ot.uploadPicCardSize;return{[`
${_t}-wrapper${_t}-picture-card-wrapper,
${_t}-wrapper${_t}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Gn.dF)()),{display:"inline-block",width:"100%",[`${_t}${_t}-select`]:{width:un,height:un,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ot.colorFillAlter,border:`${ot.lineWidth}px dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[`> ${_t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${_t}-disabled):hover`]:{borderColor:ot.colorPrimary}},[`${Ut}${Ut}-picture-card, ${Ut}${Ut}-picture-circle`]:{[`${Ut}-item-container`]:{display:"inline-block",width:un,height:un,marginBlock:`0 ${ot.marginXS}px`,marginInline:`0 ${ot.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Fn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ot.paddingXS*2}px)`,height:`calc(100% - ${ot.paddingXS*2}px)`,backgroundColor:ot.colorBgMask,opacity:0,transition:`all ${ot.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 ${ot.motionDurationSlow}`,[`${$t}-eye, ${$t}-download, ${$t}-delete`]:{zIndex:10,width:Xt,margin:`0 ${ot.marginXXS}px`,fontSize:Xt,cursor:"pointer",transition:`all ${ot.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Fn}-actions, ${Fn}-actions:hover`]:{[`${$t}-eye, ${$t}-download, ${$t}-delete`]:{color:new Nn.C(jn).setAlpha(.65).toRgbString(),"&:hover":{color:jn}}},[`${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:ot.margin,display:"block",width:`calc(100% - ${ot.paddingXS*2}px)`},[`${Fn}-uploading`]:{[`&${Fn}`]:{backgroundColor:ot.colorFillAlter},[`&::before, ${$t}-eye, ${$t}-download, ${$t}-delete`]:{display:"none"}},[`${Fn}-progress`]:{bottom:ot.marginXL,width:`calc(100% - ${ot.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${_t}-wrapper${_t}-picture-circle-wrapper`]:{[`${_t}${_t}-select`]:{borderRadius:"50%"}}}};var tt=ot=>{const{componentCls:_t}=ot;return{[`${_t}-rtl`]:{direction:"rtl"}}};const st=ot=>{const{componentCls:_t,colorTextDisabled:$t}=ot;return{[`${_t}-wrapper`]:Object.assign(Object.assign({},(0,Gn.Wf)(ot)),{[_t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${_t}-select`]:{display:"inline-block"},[`${_t}-disabled`]:{color:$t,cursor:"not-allowed"}})}};var Ve=(0,ra.Z)("Upload",ot=>{const{fontSizeHeading3:_t,fontSize:$t,lineHeight:Xt,lineWidth:jn,controlHeightLG:Ut}=ot,Fn=Math.round($t*Xt),un=(0,ja.TS)(ot,{uploadThumbnailSize:_t*2,uploadProgressOffset:Fn/2+jn,uploadPicCardSize:Ut*2.55});return[st(un),Tr(un),Oa(un),Ar(un),Rr(un),Tn(un),tt(un),(0,Ga.Z)(un)]},ot=>({actionsColor:ot.colorTextDescription})),Kt=function(ot,_t,$t,Xt){function jn(Ut){return Ut instanceof $t?Ut:new $t(function(Fn){Fn(Ut)})}return new($t||($t=Promise))(function(Ut,Fn){function un(cr){try{Aa(Xt.next(cr))}catch(zr){Fn(zr)}}function $a(cr){try{Aa(Xt.throw(cr))}catch(zr){Fn(zr)}}function Aa(cr){cr.done?Ut(cr.value):jn(cr.value).then(un,$a)}Aa((Xt=Xt.apply(ot,_t||[])).next())})};const Cn=`__LIST_IGNORE_${Date.now()}__`,Qn=(ot,_t)=>{const{fileList:$t,defaultFileList:Xt,onRemove:jn,showUploadList:Ut=!0,listType:Fn="text",onPreview:un,onDownload:$a,onChange:Aa,onDrop:cr,previewFile:zr,disabled:co,locale:mn,iconRender:Bi,isImageUrl:ei,progress:qr,prefixCls:Yo,className:In,type:va="select",children:Va,style:Un,itemRender:Wr,maxCount:_r,data:ti={},multiple:ni=!1,action:ai="",accept:bl="",supportServerRender:yi=!0,rootClassName:Kl}=ot,$l=re.useContext(jt.Z),wi=co!=null?co:$l,[Xo,hl]=(0,et.Z)(Xt||[],{value:$t,postState:_n=>_n!=null?_n:[]}),[Cl,Fl]=re.useState("drop"),tl=re.useRef(null);re.useMemo(()=>{const _n=Date.now();($t||[]).forEach((ya,Sa)=>{!ya.uid&&!Object.isFrozen(ya)&&(ya.uid=`__AUTO__${_n}_${Sa}__`)})},[$t]);const ki=(_n,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:_n,fileList:Za};Sa&&(Hr.event=Sa),(!dr||Za.some(ro=>ro.uid===_n.uid))&&(0,Tt.flushSync)(()=>{Aa==null||Aa(Hr)})},pl=(_n,ya)=>Kt(void 0,void 0,void 0,function*(){const{beforeUpload:Sa,transformFile:Za}=ot;let dr=_n;if(Sa){const Hr=yield Sa(_n,ya);if(Hr===!1)return!1;if(delete _n[Cn],Hr===Cn)return Object.defineProperty(_n,Cn,{value:!0,configurable:!0}),!1;typeof Hr=="object"&&Hr&&(dr=Hr)}return Za&&(dr=yield Za(dr)),dr}),kr=_n=>{const ya=_n.filter(dr=>!dr.file[Cn]);if(!ya.length)return;const Sa=ya.map(dr=>Rt(dr.file));let Za=(0,me.Z)(Xo);Sa.forEach(dr=>{Za=Jt(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=(_n,ya,Sa)=>{try{typeof _n=="string"&&(_n=JSON.parse(_n))}catch(Hr){}if(!An(ya,Xo))return;const Za=Rt(ya);Za.status="done",Za.percent=100,Za.response=_n,Za.xhr=Sa;const dr=Jt(Za,Xo);ki(Za,dr)},Lt=(_n,ya)=>{if(!An(ya,Xo))return;const Sa=Rt(ya);Sa.status="uploading",Sa.percent=_n.percent;const Za=Jt(Sa,Xo);ki(Sa,Za,_n)},qt=(_n,ya,Sa)=>{if(!An(Sa,Xo))return;const Za=Rt(Sa);Za.error=_n,Za.response=ya,Za.status="error";const dr=Jt(Za,Xo);ki(Za,dr)},Ae=_n=>{let ya;Promise.resolve(typeof jn=="function"?jn(_n):jn).then(Sa=>{var Za;if(Sa===!1)return;const dr=kn(_n,Xo);dr&&(ya=Object.assign(Object.assign({},_n),{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))})},Vt=_n=>{Fl(_n.type),_n.type==="drop"&&(cr==null||cr(_n))};re.useImperativeHandle(_t,()=>({onBatchStart:kr,onSuccess:vt,onProgress:Lt,onError:qt,fileList:Xo,upload:tl.current}));const{getPrefixCls:Dn,direction:Ln,upload:Pt}=re.useContext(tn.E_),Gt=Dn("upload",Yo),Ot=Object.assign(Object.assign({onBatchStart:kr,onError:qt,onProgress:Lt,onSuccess:vt},ot),{data:ti,multiple:ni,action:ai,accept:bl,supportServerRender:yi,prefixCls:Gt,disabled:wi,beforeUpload:pl,onChange:void 0});delete Ot.className,delete Ot.style,(!Va||wi)&&delete Ot.id;const[On,sa]=Ve(Gt),[xa]=(0,pt.Z)("Upload",Zt.Z.Upload),{showRemoveIcon:pa,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:En,previewIcon:Nt,downloadIcon:Sn}=typeof Ut=="boolean"?{}:Ut,xn=(_n,ya)=>Ut?re.createElement(Vn,{prefixCls:Gt,listType:Fn,items:Xo,previewFile:zr,onPreview:un,onDownload:$a,onRemove:Ae,showRemoveIcon:!wi&&pa,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:En,previewIcon:Nt,downloadIcon:Sn,iconRender:Bi,locale:Object.assign(Object.assign({},xa),mn),isImageUrl:ei,progress:qr,appendAction:_n,appendActionVisible:ya,itemRender:Wr,disabled:wi}):_n,oa=ze()(`${Gt}-wrapper`,In,Kl,sa,Pt==null?void 0:Pt.className,{[`${Gt}-rtl`]:Ln==="rtl",[`${Gt}-picture-card-wrapper`]:Fn==="picture-card",[`${Gt}-picture-circle-wrapper`]:Fn==="picture-circle"}),Fa=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),Un);if(va==="drag"){const _n=ze()(sa,Gt,`${Gt}-drag`,{[`${Gt}-drag-uploading`]:Xo.some(ya=>ya.status==="uploading"),[`${Gt}-drag-hover`]:Cl==="dragover",[`${Gt}-disabled`]:wi,[`${Gt}-rtl`]:Ln==="rtl"});return On(re.createElement("span",{className:oa},re.createElement("div",{className:_n,style:Fa,onDrop:Vt,onDragOver:Vt,onDragLeave:Vt},re.createElement($e,Object.assign({},Ot,{ref:tl,className:`${Gt}-btn`}),re.createElement("div",{className:`${Gt}-drag-container`},Va))),xn()))}const Xa=ze()(Gt,`${Gt}-select`,{[`${Gt}-disabled`]:wi}),sr=(_n=>re.createElement("div",{className:Xa,style:_n},re.createElement($e,Object.assign({},Ot,{ref:tl}))))(Va?void 0:{display:"none"});return On(Fn==="picture-card"||Fn==="picture-circle"?re.createElement("span",{className:oa},xn(sr,!!Va)):re.createElement("span",{className:oa},sr,xn()))};var ca=re.forwardRef(Qn),Wn=function(ot,_t){var $t={};for(var Xt in ot)Object.prototype.hasOwnProperty.call(ot,Xt)&&_t.indexOf(Xt)<0&&($t[Xt]=ot[Xt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jn=0,Xt=Object.getOwnPropertySymbols(ot);jn<Xt.length;jn++)_t.indexOf(Xt[jn])<0&&Object.prototype.propertyIsEnumerable.call(ot,Xt[jn])&&($t[Xt[jn]]=ot[Xt[jn]]);return $t},ho=re.forwardRef((ot,_t)=>{var{style:$t,height:Xt}=ot,jn=Wn(ot,["style","height"]);return re.createElement(ca,Object.assign({ref:_t},jn,{type:"drag",style:Object.assign(Object.assign({},$t),{height:Xt})}))});const Mn=ca;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,re=36e5,me="millisecond",Oe="second",ze="minute",Be="hour",Te="day",se="week",Ze="month",je="quarter",He="year",qe="date",Ke="Invalid Date",Ee=/^(\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,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(be){var xe=["th","st","nd","rd"],Se=be%100;return"["+be+(xe[(Se-20)%10]||xe[Se]||xe[0])+"]"}},a=function(be,xe,Se){var gt=String(be);return!gt||gt.length>=xe?be:""+Array(xe+1-gt.length).join(Se)+be},x={s:a,z:function(be){var xe=-be.utcOffset(),Se=Math.abs(xe),gt=Math.floor(Se/60),Qe=Se%60;return(xe<=0?"+":"-")+a(gt,2,"0")+":"+a(Qe,2,"0")},m:function be(xe,Se){if(xe.date()<Se.date())return-be(Se,xe);var gt=12*(Se.year()-xe.year())+(Se.month()-xe.month()),Qe=xe.clone().add(gt,Ze),Dt=Se-Qe<0,$e=xe.clone().add(gt+(Dt?-1:1),Ze);return+(-(gt+(Se-Qe)/(Dt?Qe-$e:$e-Qe))||0)},a:function(be){return be<0?Math.ceil(be)||0:Math.floor(be)},p:function(be){return{M:Ze,y:He,w:se,d:Te,D:qe,h:Be,m:ze,s:Oe,ms:me,Q:je}[be]||String(be||"").toLowerCase().replace(/s$/,"")},u:function(be){return be===void 0}},b="en",E={};E[b]=y;var z="$isDayjsObject",oe=function(be){return be instanceof pe||!(!be||!be[z])},ae=function be(xe,Se,gt){var Qe;if(!xe)return b;if(typeof xe=="string"){var Dt=xe.toLowerCase();E[Dt]&&(Qe=Dt),Se&&(E[Dt]=Se,Qe=Dt);var $e=xe.split("-");if(!Qe&&$e.length>1)return be($e[0])}else{var et=xe.name;E[et]=xe,Qe=et}return!gt&&Qe&&(b=Qe),Qe||!gt&&b},ne=function(be,xe){if(oe(be))return be.clone();var Se=typeof xe=="object"?xe:{};return Se.date=be,Se.args=arguments,new pe(Se)},fe=x;fe.l=ae,fe.i=oe,fe.w=function(be,xe){return ne(be,{locale:xe.$L,utc:xe.$u,x:xe.$x,$offset:xe.$offset})};var pe=function(){function be(Se){this.$L=ae(Se.locale,null,!0),this.parse(Se),this.$x=this.$x||Se.x||{},this[z]=!0}var xe=be.prototype;return xe.parse=function(Se){this.$d=function(gt){var Qe=gt.date,Dt=gt.utc;if(Qe===null)return new Date(NaN);if(fe.u(Qe))return new Date;if(Qe instanceof Date)return new Date(Qe);if(typeof Qe=="string"&&!/Z$/i.test(Qe)){var $e=Qe.match(Ee);if($e){var et=$e[2]-1||0,Tt=($e[7]||"0").substring(0,3);return Dt?new Date(Date.UTC($e[1],et,$e[3]||1,$e[4]||0,$e[5]||0,$e[6]||0,Tt)):new Date($e[1],et,$e[3]||1,$e[4]||0,$e[5]||0,$e[6]||0,Tt)}}return new Date(Qe)}(Se),this.init()},xe.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()},xe.$utils=function(){return fe},xe.isValid=function(){return this.$d.toString()!==Ke},xe.isSame=function(Se,gt){var Qe=ne(Se);return this.startOf(gt)<=Qe&&Qe<=this.endOf(gt)},xe.isAfter=function(Se,gt){return ne(Se)<this.startOf(gt)},xe.isBefore=function(Se,gt){return this.endOf(gt)<ne(Se)},xe.$g=function(Se,gt,Qe){return fe.u(Se)?this[gt]:this.set(Qe,Se)},xe.unix=function(){return Math.floor(this.valueOf()/1e3)},xe.valueOf=function(){return this.$d.getTime()},xe.startOf=function(Se,gt){var Qe=this,Dt=!!fe.u(gt)||gt,$e=fe.p(Se),et=function(We,Ct){var Bt=fe.w(Qe.$u?Date.UTC(Qe.$y,Ct,We):new Date(Qe.$y,Ct,We),Qe);return Dt?Bt:Bt.endOf(Te)},Tt=function(We,Ct){return fe.w(Qe.toDate()[We].apply(Qe.toDate("s"),(Dt?[0,0,0,0]:[23,59,59,999]).slice(Ct)),Qe)},tn=this.$W,jt=this.$M,pt=this.$D,Zt="set"+(this.$u?"UTC":"");switch($e){case He:return Dt?et(1,0):et(31,11);case Ze:return Dt?et(1,jt):et(0,jt+1);case se:var nn=this.$locale().weekStart||0,hn=(tn<nn?tn+7:tn)-nn;return et(Dt?pt-hn:pt+(6-hn),jt);case Te:case qe:return Tt(Zt+"Hours",0);case Be:return Tt(Zt+"Minutes",1);case ze:return Tt(Zt+"Seconds",2);case Oe:return Tt(Zt+"Milliseconds",3);default:return this.clone()}},xe.endOf=function(Se){return this.startOf(Se,!1)},xe.$set=function(Se,gt){var Qe,Dt=fe.p(Se),$e="set"+(this.$u?"UTC":""),et=(Qe={},Qe[Te]=$e+"Date",Qe[qe]=$e+"Date",Qe[Ze]=$e+"Month",Qe[He]=$e+"FullYear",Qe[Be]=$e+"Hours",Qe[ze]=$e+"Minutes",Qe[Oe]=$e+"Seconds",Qe[me]=$e+"Milliseconds",Qe)[Dt],Tt=Dt===Te?this.$D+(gt-this.$W):gt;if(Dt===Ze||Dt===He){var tn=this.clone().set(qe,1);tn.$d[et](Tt),tn.init(),this.$d=tn.set(qe,Math.min(this.$D,tn.daysInMonth())).$d}else et&&this.$d[et](Tt);return this.init(),this},xe.set=function(Se,gt){return this.clone().$set(Se,gt)},xe.get=function(Se){return this[fe.p(Se)]()},xe.add=function(Se,gt){var Qe,Dt=this;Se=Number(Se);var $e=fe.p(gt),et=function(jt){var pt=ne(Dt);return fe.w(pt.date(pt.date()+Math.round(jt*Se)),Dt)};if($e===Ze)return this.set(Ze,this.$M+Se);if($e===He)return this.set(He,this.$y+Se);if($e===Te)return et(1);if($e===se)return et(7);var Tt=(Qe={},Qe[ze]=ee,Qe[Be]=re,Qe[Oe]=Et,Qe)[$e]||1,tn=this.$d.getTime()+Se*Tt;return fe.w(tn,this)},xe.subtract=function(Se,gt){return this.add(-1*Se,gt)},xe.format=function(Se){var gt=this,Qe=this.$locale();if(!this.isValid())return Qe.invalidDate||Ke;var Dt=Se||"YYYY-MM-DDTHH:mm:ssZ",$e=fe.z(this),et=this.$H,Tt=this.$m,tn=this.$M,jt=Qe.weekdays,pt=Qe.months,Zt=Qe.meridiem,nn=function(Ct,Bt,Kn,lt){return Ct&&(Ct[Bt]||Ct(gt,Dt))||Kn[Bt].slice(0,lt)},hn=function(Ct){return fe.s(et%12||12,Ct,"0")},We=Zt||function(Ct,Bt,Kn){var lt=Ct<12?"AM":"PM";return Kn?lt.toLowerCase():lt};return Dt.replace(ce,function(Ct,Bt){return Bt||function(Kn){switch(Kn){case"YY":return String(gt.$y).slice(-2);case"YYYY":return fe.s(gt.$y,4,"0");case"M":return tn+1;case"MM":return fe.s(tn+1,2,"0");case"MMM":return nn(Qe.monthsShort,tn,pt,3);case"MMMM":return nn(pt,tn);case"D":return gt.$D;case"DD":return fe.s(gt.$D,2,"0");case"d":return String(gt.$W);case"dd":return nn(Qe.weekdaysMin,gt.$W,jt,2);case"ddd":return nn(Qe.weekdaysShort,gt.$W,jt,3);case"dddd":return jt[gt.$W];case"H":return String(et);case"HH":return fe.s(et,2,"0");case"h":return hn(1);case"hh":return hn(2);case"a":return We(et,Tt,!0);case"A":return We(et,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 $e}return null}(Ct)||$e.replace(":","")})},xe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},xe.diff=function(Se,gt,Qe){var Dt,$e=this,et=fe.p(gt),Tt=ne(Se),tn=(Tt.utcOffset()-this.utcOffset())*ee,jt=this-Tt,pt=function(){return fe.m($e,Tt)};switch(et){case He:Dt=pt()/12;break;case Ze:Dt=pt();break;case je:Dt=pt()/3;break;case se:Dt=(jt-tn)/6048e5;break;case Te:Dt=(jt-tn)/864e5;break;case Be:Dt=jt/re;break;case ze:Dt=jt/ee;break;case Oe:Dt=jt/Et;break;default:Dt=jt}return Qe?Dt:fe.a(Dt)},xe.daysInMonth=function(){return this.endOf(Ze).$D},xe.$locale=function(){return E[this.$L]},xe.locale=function(Se,gt){if(!Se)return this.$L;var Qe=this.clone(),Dt=ae(Se,gt,!0);return Dt&&(Qe.$L=Dt),Qe},xe.clone=function(){return fe.w(this.$d,this)},xe.toDate=function(){return new Date(this.valueOf())},xe.toJSON=function(){return this.isValid()?this.toISOString():null},xe.toISOString=function(){return this.$d.toISOString()},xe.toString=function(){return this.$d.toUTCString()},be}(),we=pe.prototype;return ne.prototype=we,[["$ms",me],["$s",Oe],["$m",ze],["$H",Be],["$W",Te],["$M",Ze],["$y",He],["$D",qe]].forEach(function(be){we[be[1]]=function(xe){return this.$g(xe,be[0],be[1])}}),ne.extend=function(be,xe){return be.$i||(be(xe,pe,ne),be.$i=!0),ne},ne.locale=ae,ne.isDayjs=oe,ne.unix=function(be){return ne(1e3*be)},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 re=ee.prototype,me=re.format;re.format=function(Oe){var ze=this,Be=this.$locale();if(!this.isValid())return me.bind(this)(Oe);var Te=this.$utils(),se=(Oe||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(Ze){switch(Ze){case"Q":return Math.ceil((ze.$M+1)/3);case"Do":return Be.ordinal(ze.$D);case"gggg":return ze.weekYear();case"GGGG":return ze.isoWeekYear();case"wo":return Be.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,re=/\d\d/,me=/\d\d?/,Oe=/\d*[^-_:/,()\s\d]+/,ze={},Be=function(Ke){return(Ke=+Ke)+(Ke>68?1900:2e3)},Te=function(Ke){return function(Ee){this[Ke]=+Ee}},se=[/[+-]\d\d:?(\d\d)?|Z/,function(Ke){(this.zone||(this.zone={})).offset=function(Ee){if(!Ee||Ee==="Z")return 0;var ce=Ee.match(/([+-]|\d\d)/g),y=60*ce[1]+(+ce[2]||0);return y===0?0:ce[0]==="+"?-y:y}(Ke)}],Ze=function(Ke){var Ee=ze[Ke];return Ee&&(Ee.indexOf?Ee:Ee.s.concat(Ee.f))},je=function(Ke,Ee){var ce,y=ze.meridiem;if(y){for(var a=1;a<=24;a+=1)if(Ke.indexOf(y(a,0,Ee))>-1){ce=a>12;break}}else ce=Ke===(Ee?"pm":"PM");return ce},He={A:[Oe,function(Ke){this.afternoon=je(Ke,!1)}],a:[Oe,function(Ke){this.afternoon=je(Ke,!0)}],S:[/\d/,function(Ke){this.milliseconds=100*+Ke}],SS:[re,function(Ke){this.milliseconds=10*+Ke}],SSS:[/\d{3}/,function(Ke){this.milliseconds=+Ke}],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:[re,Te("day")],Do:[Oe,function(Ke){var Ee=ze.ordinal,ce=Ke.match(/\d+/);if(this.day=ce[0],Ee)for(var y=1;y<=31;y+=1)Ee(y).replace(/\[|\]/g,"")===Ke&&(this.day=y)}],M:[me,Te("month")],MM:[re,Te("month")],MMM:[Oe,function(Ke){var Ee=Ze("months"),ce=(Ze("monthsShort")||Ee.map(function(y){return y.slice(0,3)})).indexOf(Ke)+1;if(ce<1)throw new Error;this.month=ce%12||ce}],MMMM:[Oe,function(Ke){var Ee=Ze("months").indexOf(Ke)+1;if(Ee<1)throw new Error;this.month=Ee%12||Ee}],Y:[/[+-]?\d+/,Te("year")],YY:[re,function(Ke){this.year=Be(Ke)}],YYYY:[/\d{4}/,Te("year")],Z:se,ZZ:se};function qe(Ke){var Ee,ce;Ee=Ke,ce=ze&&ze.formats;for(var y=(Ke=Ee.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ae,ne,fe){var pe=fe&&fe.toUpperCase();return ne||ce[fe]||Et[fe]||ce[pe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(we,be,xe){return be||xe.slice(1)})})).match(ee),a=y.length,x=0;x<a;x+=1){var b=y[x],E=He[b],z=E&&E[0],oe=E&&E[1];y[x]=oe?{regex:z,parser:oe}:b.replace(/^\[|\]$/g,"")}return function(ae){for(var ne={},fe=0,pe=0;fe<a;fe+=1){var we=y[fe];if(typeof we=="string")pe+=we.length;else{var be=we.regex,xe=we.parser,Se=ae.slice(pe),gt=be.exec(Se)[0];xe.call(ne,gt),ae=ae.replace(gt,"")}}return function(Qe){var Dt=Qe.afternoon;if(Dt!==void 0){var $e=Qe.hours;Dt?$e<12&&(Qe.hours+=12):$e===12&&(Qe.hours=0),delete Qe.afternoon}}(ne),ne}}return function(Ke,Ee,ce){ce.p.customParseFormat=!0,Ke&&Ke.parseTwoDigitYear&&(Be=Ke.parseTwoDigitYear);var y=Ee.prototype,a=y.parse;y.parse=function(x){var b=x.date,E=x.utc,z=x.args;this.$u=E;var oe=z[1];if(typeof oe=="string"){var ae=z[2]===!0,ne=z[3]===!0,fe=ae||ne,pe=z[2];ne&&(pe=z[2]),ze=this.$locale(),!ae&&pe&&(ze=ce.Ls[pe]),this.$d=function(Se,gt,Qe){try{if(["x","X"].indexOf(gt)>-1)return new Date((gt==="X"?1e3:1)*Se);var Dt=qe(gt)(Se),$e=Dt.year,et=Dt.month,Tt=Dt.day,tn=Dt.hours,jt=Dt.minutes,pt=Dt.seconds,Zt=Dt.milliseconds,nn=Dt.zone,hn=new Date,We=Tt||($e||et?1:hn.getDate()),Ct=$e||hn.getFullYear(),Bt=0;$e&&!et||(Bt=et>0?et-1:hn.getMonth());var Kn=tn||0,lt=jt||0,Mt=pt||0,Ce=Zt||0;return nn?new Date(Date.UTC(Ct,Bt,We,Kn,lt,Mt,Ce+60*nn.offset*1e3)):Qe?new Date(Date.UTC(Ct,Bt,We,Kn,lt,Mt,Ce)):new Date(Ct,Bt,We,Kn,lt,Mt,Ce)}catch(Pn){return new Date("")}}(b,oe,E),this.init(),pe&&pe!==!0&&(this.$L=this.locale(pe).$L),fe&&b!=this.format(oe)&&(this.$d=new Date("")),ze={}}else if(oe instanceof Array)for(var we=oe.length,be=1;be<=we;be+=1){z[1]=oe[be-1];var xe=ce.apply(this,z);if(xe.isValid()){this.$d=xe.$d,this.$L=xe.$L,this.init();break}be===we&&(this.$d=new Date(""))}else a.call(this,x)}}})},26850:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";return function(Et,ee,re){var me=ee.prototype,Oe=function(Ze){return Ze&&(Ze.indexOf?Ze:Ze.s)},ze=function(Ze,je,He,qe,Ke){var Ee=Ze.name?Ze:Ze.$locale(),ce=Oe(Ee[je]),y=Oe(Ee[He]),a=ce||y.map(function(b){return b.slice(0,qe)});if(!Ke)return a;var x=Ee.weekStart;return a.map(function(b,E){return a[(E+(x||0))%7]})},Be=function(){return re.Ls[re.locale()]},Te=function(Ze,je){return Ze.formats[je]||function(He){return He.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(qe,Ke,Ee){return Ke||Ee.slice(1)})}(Ze.formats[je.toUpperCase()])},se=function(){var Ze=this;return{months:function(je){return je?je.format("MMMM"):ze(Ze,"months")},monthsShort:function(je){return je?je.format("MMM"):ze(Ze,"monthsShort","months",3)},firstDayOfWeek:function(){return Ze.$locale().weekStart||0},weekdays:function(je){return je?je.format("dddd"):ze(Ze,"weekdays")},weekdaysMin:function(je){return je?je.format("dd"):ze(Ze,"weekdaysMin","weekdays",2)},weekdaysShort:function(je){return je?je.format("ddd"):ze(Ze,"weekdaysShort","weekdays",3)},longDateFormat:function(je){return Te(Ze.$locale(),je)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};me.localeData=function(){return se.bind(this)()},re.localeData=function(){var Ze=Be();return{firstDayOfWeek:function(){return Ze.weekStart||0},weekdays:function(){return re.weekdays()},weekdaysShort:function(){return re.weekdaysShort()},weekdaysMin:function(){return re.weekdaysMin()},months:function(){return re.months()},monthsShort:function(){return re.monthsShort()},longDateFormat:function(je){return Te(Ze,je)},meridiem:Ze.meridiem,ordinal:Ze.ordinal}},re.months=function(){return ze(Be(),"months")},re.monthsShort=function(){return ze(Be(),"monthsShort","months",3)},re.weekdays=function(Ze){return ze(Be(),"weekdays",null,null,Ze)},re.weekdaysShort=function(Ze){return ze(Be(),"weekdaysShort","weekdays",3,Ze)},re.weekdaysMin=function(Ze){return ze(Be(),"weekdaysMin","weekdays",2,Ze)}}})},23082:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";var Et="week",ee="year";return function(re,me,Oe){var ze=me.prototype;ze.week=function(Be){if(Be===void 0&&(Be=null),Be!==null)return this.add(7*(Be-this.week()),"day");var Te=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var se=Oe(this).startOf(ee).add(1,ee).date(Te),Ze=Oe(this).endOf(Et);if(se.isBefore(Ze))return 1}var je=Oe(this).startOf(ee).date(Te).startOf(Et).subtract(1,"millisecond"),He=this.diff(je,Et,!0);return He<0?Oe(this).startOf("week").week():Math.ceil(He)},ze.weeks=function(Be){return Be===void 0&&(Be=null),this.week(Be)}}})},99873:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";return function(Et,ee){ee.prototype.weekYear=function(){var re=this.month(),me=this.week(),Oe=this.year();return me===1&&re===11?Oe+1:re===0&&me>=52?Oe-1:Oe}}})},33088:function(ht){(function(Et,ee){ht.exports=ee()})(this,function(){"use strict";return function(Et,ee){ee.prototype.weekday=function(re){var me=this.$locale().weekStart||0,Oe=this.$W,ze=(Oe<me?Oe+7:Oe)-me;return this.$utils().u(re)?ze:this.subtract(ze,"day").add(re,"day")}}})},62661:function(ht,Et){"use strict";var ee;var re=Symbol.for("react.element"),me=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),se=Symbol.for("react.context"),Ze=Symbol.for("react.server_context"),je=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),Ke=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case re:switch(x=x.type,x){case Oe:case Be:case ze:case He:case qe:return x;default:switch(x=x&&x.$$typeof,x){case Ze:case se:case je:case Ee:case Ke:case Te:return x;default:return b}}case me:return b}}}ee=se,ee=Te,ee=re,ee=je,ee=Oe,ee=Ee,ee=Ke,ee=me,ee=Be,ee=ze,ee=He,ee=qe,ee=function(){return!1},ee=function(){return!1},ee=function(x){return a(x)===se},ee=function(x){return a(x)===Te},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===re},ee=function(x){return a(x)===je},ee=function(x){return a(x)===Oe},ee=function(x){return a(x)===Ee},Et.isMemo=function(x){return a(x)===Ke},ee=function(x){return a(x)===me},ee=function(x){return a(x)===Be},ee=function(x){return a(x)===ze},ee=function(x){return a(x)===He},ee=function(x){return a(x)===qe},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Oe||x===Be||x===ze||x===He||x===qe||x===ce||typeof x=="object"&&x!==null&&(x.$$typeof===Ee||x.$$typeof===Ke||x.$$typeof===Te||x.$$typeof===se||x.$$typeof===je||x.$$typeof===y||x.getModuleId!==void 0)},ee=a},95845:function(ht,Et,ee){"use strict";ht.exports=ee(62661)},72665:function(ht,Et){"use strict";var ee;var re=typeof Symbol=="function"&&Symbol.for,me=re?Symbol.for("react.element"):60103,Oe=re?Symbol.for("react.portal"):60106,ze=re?Symbol.for("react.fragment"):60107,Be=re?Symbol.for("react.strict_mode"):60108,Te=re?Symbol.for("react.profiler"):60114,se=re?Symbol.for("react.provider"):60109,Ze=re?Symbol.for("react.context"):60110,je=re?Symbol.for("react.async_mode"):60111,He=re?Symbol.for("react.concurrent_mode"):60111,qe=re?Symbol.for("react.forward_ref"):60112,Ke=re?Symbol.for("react.suspense"):60113,Ee=re?Symbol.for("react.suspense_list"):60120,ce=re?Symbol.for("react.memo"):60115,y=re?Symbol.for("react.lazy"):60116,a=re?Symbol.for("react.block"):60121,x=re?Symbol.for("react.fundamental"):60117,b=re?Symbol.for("react.responder"):60118,E=re?Symbol.for("react.scope"):60119;function z(ae){if(typeof ae=="object"&&ae!==null){var ne=ae.$$typeof;switch(ne){case me:switch(ae=ae.type,ae){case je:case He:case ze:case Te:case Be:case Ke:return ae;default:switch(ae=ae&&ae.$$typeof,ae){case Ze:case qe:case y:case ce:case se:return ae;default:return ne}}case Oe:return ne}}}function oe(ae){return z(ae)===He}ee=je,ee=He,ee=Ze,ee=se,ee=me,ee=qe,ee=ze,ee=y,ee=ce,ee=Oe,ee=Te,ee=Be,ee=Ke,ee=function(ae){return oe(ae)||z(ae)===je},ee=oe,ee=function(ae){return z(ae)===Ze},ee=function(ae){return z(ae)===se},ee=function(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===me},ee=function(ae){return z(ae)===qe},ee=function(ae){return z(ae)===ze},ee=function(ae){return z(ae)===y},Et.isMemo=function(ae){return z(ae)===ce},ee=function(ae){return z(ae)===Oe},ee=function(ae){return z(ae)===Te},ee=function(ae){return z(ae)===Be},ee=function(ae){return z(ae)===Ke},ee=function(ae){return typeof ae=="string"||typeof ae=="function"||ae===ze||ae===He||ae===Te||ae===Be||ae===Ke||ae===Ee||typeof ae=="object"&&ae!==null&&(ae.$$typeof===y||ae.$$typeof===ce||ae.$$typeof===se||ae.$$typeof===Ze||ae.$$typeof===qe||ae.$$typeof===x||ae.$$typeof===b||ae.$$typeof===E||ae.$$typeof===a)},ee=z},12060:function(ht,Et,ee){"use strict";ht.exports=ee(72665)},15633:function(ht,Et){"use strict";var ee;var re=typeof Symbol=="function"&&Symbol.for,me=re?Symbol.for("react.element"):60103,Oe=re?Symbol.for("react.portal"):60106,ze=re?Symbol.for("react.fragment"):60107,Be=re?Symbol.for("react.strict_mode"):60108,Te=re?Symbol.for("react.profiler"):60114,se=re?Symbol.for("react.provider"):60109,Ze=re?Symbol.for("react.context"):60110,je=re?Symbol.for("react.async_mode"):60111,He=re?Symbol.for("react.concurrent_mode"):60111,qe=re?Symbol.for("react.forward_ref"):60112,Ke=re?Symbol.for("react.suspense"):60113,Ee=re?Symbol.for("react.suspense_list"):60120,ce=re?Symbol.for("react.memo"):60115,y=re?Symbol.for("react.lazy"):60116,a=re?Symbol.for("react.block"):60121,x=re?Symbol.for("react.fundamental"):60117,b=re?Symbol.for("react.responder"):60118,E=re?Symbol.for("react.scope"):60119;function z(ae){if(typeof ae=="object"&&ae!==null){var ne=ae.$$typeof;switch(ne){case me:switch(ae=ae.type,ae){case je:case He:case ze:case Te:case Be:case Ke:return ae;default:switch(ae=ae&&ae.$$typeof,ae){case Ze:case qe:case y:case ce:case se:return ae;default:return ne}}case Oe:return ne}}}function oe(ae){return z(ae)===He}ee=je,ee=He,ee=Ze,ee=se,ee=me,ee=qe,ee=ze,ee=y,ee=ce,ee=Oe,ee=Te,ee=Be,ee=Ke,ee=function(ae){return oe(ae)||z(ae)===je},ee=oe,ee=function(ae){return z(ae)===Ze},ee=function(ae){return z(ae)===se},ee=function(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===me},ee=function(ae){return z(ae)===qe},ee=function(ae){return z(ae)===ze},ee=function(ae){return z(ae)===y},Et.isMemo=function(ae){return z(ae)===ce},ee=function(ae){return z(ae)===Oe},ee=function(ae){return z(ae)===Te},ee=function(ae){return z(ae)===Be},ee=function(ae){return z(ae)===Ke},ee=function(ae){return typeof ae=="string"||typeof ae=="function"||ae===ze||ae===He||ae===Te||ae===Be||ae===Ke||ae===Ee||typeof ae=="object"&&ae!==null&&(ae.$$typeof===y||ae.$$typeof===ce||ae.$$typeof===se||ae.$$typeof===Ze||ae.$$typeof===qe||ae.$$typeof===x||ae.$$typeof===b||ae.$$typeof===E||ae.$$typeof===a)},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 re=ee(87462),me=ee(4942),Oe=ee(45987),ze=ee(1413),Be=ee(15671),Te=ee(43144),se=ee(97326),Ze=ee(60136),je=ee(51630),He=ee(94184),qe=ee.n(He),Ke=ee(34952),Ee=ee(67294),ce=ee(69610),y=function(be){for(var xe=be.prefixCls,Se=be.level,gt=be.isStart,Qe=be.isEnd,Dt="".concat(xe,"-indent-unit"),$e=[],et=0;et<Se;et+=1){var Tt;$e.push(Ee.createElement("span",{key:et,className:qe()(Dt,(Tt={},(0,me.Z)(Tt,"".concat(Dt,"-start"),gt[et]),(0,me.Z)(Tt,"".concat(Dt,"-end"),Qe[et]),Tt))}))}return Ee.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},$e)},a=Ee.memo(y),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",oe="close",ae="---",ne=function(we){(0,Ze.Z)(xe,we);var be=(0,je.Z)(xe);function xe(){var Se;(0,Be.Z)(this,xe);for(var gt=arguments.length,Qe=new Array(gt),Dt=0;Dt<gt;Dt++)Qe[Dt]=arguments[Dt];return Se=be.call.apply(be,[this].concat(Qe)),Se.state={dragNodeHighlight:!1},Se.selectHandle=void 0,Se.cacheIndent=void 0,Se.onSelectorClick=function($e){var et=Se.props.context.onNodeClick;et($e,(0,b.F)(Se.props)),Se.isSelectable()?Se.onSelect($e):Se.onCheck($e)},Se.onSelectorDoubleClick=function($e){var et=Se.props.context.onNodeDoubleClick;et($e,(0,b.F)(Se.props))},Se.onSelect=function($e){if(!Se.isDisabled()){var et=Se.props.context.onNodeSelect;et($e,(0,b.F)(Se.props))}},Se.onCheck=function($e){if(!Se.isDisabled()){var et=Se.props,Tt=et.disableCheckbox,tn=et.checked,jt=Se.props.context.onNodeCheck;if(!(!Se.isCheckable()||Tt)){var pt=!tn;jt($e,(0,b.F)(Se.props),pt)}}},Se.onMouseEnter=function($e){var et=Se.props.context.onNodeMouseEnter;et($e,(0,b.F)(Se.props))},Se.onMouseLeave=function($e){var et=Se.props.context.onNodeMouseLeave;et($e,(0,b.F)(Se.props))},Se.onContextMenu=function($e){var et=Se.props.context.onNodeContextMenu;et($e,(0,b.F)(Se.props))},Se.onDragStart=function($e){var et=Se.props.context.onNodeDragStart;$e.stopPropagation(),Se.setState({dragNodeHighlight:!0}),et($e,(0,se.Z)(Se));try{$e.dataTransfer.setData("text/plain","")}catch(Tt){}},Se.onDragEnter=function($e){var et=Se.props.context.onNodeDragEnter;$e.preventDefault(),$e.stopPropagation(),et($e,(0,se.Z)(Se))},Se.onDragOver=function($e){var et=Se.props.context.onNodeDragOver;$e.preventDefault(),$e.stopPropagation(),et($e,(0,se.Z)(Se))},Se.onDragLeave=function($e){var et=Se.props.context.onNodeDragLeave;$e.stopPropagation(),et($e,(0,se.Z)(Se))},Se.onDragEnd=function($e){var et=Se.props.context.onNodeDragEnd;$e.stopPropagation(),Se.setState({dragNodeHighlight:!1}),et($e,(0,se.Z)(Se))},Se.onDrop=function($e){var et=Se.props.context.onNodeDrop;$e.preventDefault(),$e.stopPropagation(),Se.setState({dragNodeHighlight:!1}),et($e,(0,se.Z)(Se))},Se.onExpand=function($e){var et=Se.props,Tt=et.loading,tn=et.context.onNodeExpand;Tt||tn($e,(0,b.F)(Se.props))},Se.setSelectHandle=function($e){Se.selectHandle=$e},Se.getNodeState=function(){var $e=Se.props.expanded;return Se.isLeaf()?null:$e?z:oe},Se.hasChildren=function(){var $e=Se.props.eventKey,et=Se.props.context.keyEntities,Tt=(0,x.Z)(et,$e)||{},tn=Tt.children;return!!(tn||[]).length},Se.isLeaf=function(){var $e=Se.props,et=$e.isLeaf,Tt=$e.loaded,tn=Se.props.context.loadData,jt=Se.hasChildren();return et===!1?!1:et||!tn&&!jt||tn&&Tt&&!jt},Se.isDisabled=function(){var $e=Se.props.disabled,et=Se.props.context.disabled;return!!(et||$e)},Se.isCheckable=function(){var $e=Se.props.checkable,et=Se.props.context.checkable;return!et||$e===!1?!1:et},Se.syncLoadData=function($e){var et=$e.expanded,Tt=$e.loading,tn=$e.loaded,jt=Se.props.context,pt=jt.loadData,Zt=jt.onNodeLoad;Tt||pt&&et&&!Se.isLeaf()&&!Se.hasChildren()&&!tn&&Zt((0,b.F)(Se.props))},Se.isDraggable=function(){var $e=Se.props,et=$e.data,Tt=$e.context.draggable;return!!(Tt&&(!Tt.nodeDraggable||Tt.nodeDraggable(et)))},Se.renderDragHandler=function(){var $e=Se.props.context,et=$e.draggable,Tt=$e.prefixCls;return et!=null&&et.icon?Ee.createElement("span",{className:"".concat(Tt,"-draggable-icon")},et.icon):null},Se.renderSwitcherIconDom=function($e){var et=Se.props.switcherIcon,Tt=Se.props.context.switcherIcon,tn=et||Tt;return typeof tn=="function"?tn((0,ze.Z)((0,ze.Z)({},Se.props),{},{isLeaf:$e})):tn},Se.renderSwitcher=function(){var $e=Se.props.expanded,et=Se.props.context.prefixCls;if(Se.isLeaf()){var Tt=Se.renderSwitcherIconDom(!0);return Tt!==!1?Ee.createElement("span",{className:qe()("".concat(et,"-switcher"),"".concat(et,"-switcher-noop"))},Tt):null}var tn=qe()("".concat(et,"-switcher"),"".concat(et,"-switcher_").concat($e?z:oe)),jt=Se.renderSwitcherIconDom(!1);return jt!==!1?Ee.createElement("span",{onClick:Se.onExpand,className:tn},jt):null},Se.renderCheckbox=function(){var $e=Se.props,et=$e.checked,Tt=$e.halfChecked,tn=$e.disableCheckbox,jt=Se.props.context.prefixCls,pt=Se.isDisabled(),Zt=Se.isCheckable();if(!Zt)return null;var nn=typeof Zt!="boolean"?Zt:null;return Ee.createElement("span",{className:qe()("".concat(jt,"-checkbox"),et&&"".concat(jt,"-checkbox-checked"),!et&&Tt&&"".concat(jt,"-checkbox-indeterminate"),(pt||tn)&&"".concat(jt,"-checkbox-disabled")),onClick:Se.onCheck},nn)},Se.renderIcon=function(){var $e=Se.props.loading,et=Se.props.context.prefixCls;return Ee.createElement("span",{className:qe()("".concat(et,"-iconEle"),"".concat(et,"-icon__").concat(Se.getNodeState()||"docu"),$e&&"".concat(et,"-icon_loading"))})},Se.renderSelector=function(){var $e=Se.state.dragNodeHighlight,et=Se.props,Tt=et.title,tn=Tt===void 0?ae:Tt,jt=et.selected,pt=et.icon,Zt=et.loading,nn=et.data,hn=Se.props.context,We=hn.prefixCls,Ct=hn.showIcon,Bt=hn.icon,Kn=hn.loadData,lt=hn.titleRender,Mt=Se.isDisabled(),Ce="".concat(We,"-node-content-wrapper"),Pn;if(Ct){var Hn=pt||Bt;Pn=Hn?Ee.createElement("span",{className:qe()("".concat(We,"-iconEle"),"".concat(We,"-icon__customize"))},typeof Hn=="function"?Hn(Se.props):Hn):Se.renderIcon()}else Kn&&Zt&&(Pn=Se.renderIcon());var Ca;typeof tn=="function"?Ca=tn(nn):lt?Ca=lt(nn):Ca=tn;var Yn=Ee.createElement("span",{className:"".concat(We,"-title")},Ca);return Ee.createElement("span",{ref:Se.setSelectHandle,title:typeof tn=="string"?tn:"",className:qe()("".concat(Ce),"".concat(Ce,"-").concat(Se.getNodeState()||"normal"),!Mt&&(jt||$e)&&"".concat(We,"-node-selected")),onMouseEnter:Se.onMouseEnter,onMouseLeave:Se.onMouseLeave,onContextMenu:Se.onContextMenu,onClick:Se.onSelectorClick,onDoubleClick:Se.onSelectorDoubleClick},Pn,Yn,Se.renderDropIndicator())},Se.renderDropIndicator=function(){var $e=Se.props,et=$e.disabled,Tt=$e.eventKey,tn=Se.props.context,jt=tn.draggable,pt=tn.dropLevelOffset,Zt=tn.dropPosition,nn=tn.prefixCls,hn=tn.indent,We=tn.dropIndicatorRender,Ct=tn.dragOverNodeKey,Bt=tn.direction,Kn=!!jt,lt=!et&&Kn&&Ct===Tt,Mt=hn!=null?hn:Se.cacheIndent;return Se.cacheIndent=hn,lt?We({dropPosition:Zt,dropLevelOffset:pt,indent:Mt,prefixCls:nn,direction:Bt}):null},Se}return(0,Te.Z)(xe,[{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,Qe=this.props.context.selectable;return typeof gt=="boolean"?gt:Qe}},{key:"render",value:function(){var gt,Qe=this.props,Dt=Qe.eventKey,$e=Qe.className,et=Qe.style,Tt=Qe.dragOver,tn=Qe.dragOverGapTop,jt=Qe.dragOverGapBottom,pt=Qe.isLeaf,Zt=Qe.isStart,nn=Qe.isEnd,hn=Qe.expanded,We=Qe.selected,Ct=Qe.checked,Bt=Qe.halfChecked,Kn=Qe.loading,lt=Qe.domRef,Mt=Qe.active,Ce=Qe.data,Pn=Qe.onMouseMove,Hn=Qe.selectable,Ca=(0,Oe.Z)(Qe,E),Yn=this.props.context,Qt=Yn.prefixCls,Ge=Yn.filterTreeNode,Me=Yn.keyEntities,ft=Yn.dropContainerKey,Ht=Yn.dropTargetKey,an=Yn.draggingNodeKey,Rt=this.isDisabled(),Jt=(0,Ke.Z)(Ca,{aria:!0,data:!0}),An=(0,x.Z)(Me,Dt)||{},kn=An.level,ma=nn[nn.length-1],Ie=this.isDraggable(),_e=!Rt&&Ie,Xn=an===Dt,$n=Hn!==void 0?{"aria-selected":!!Hn}:void 0;return Ee.createElement("div",(0,re.Z)({ref:lt,className:qe()($e,"".concat(Qt,"-treenode"),(gt={},(0,me.Z)(gt,"".concat(Qt,"-treenode-disabled"),Rt),(0,me.Z)(gt,"".concat(Qt,"-treenode-switcher-").concat(hn?"open":"close"),!pt),(0,me.Z)(gt,"".concat(Qt,"-treenode-checkbox-checked"),Ct),(0,me.Z)(gt,"".concat(Qt,"-treenode-checkbox-indeterminate"),Bt),(0,me.Z)(gt,"".concat(Qt,"-treenode-selected"),We),(0,me.Z)(gt,"".concat(Qt,"-treenode-loading"),Kn),(0,me.Z)(gt,"".concat(Qt,"-treenode-active"),Mt),(0,me.Z)(gt,"".concat(Qt,"-treenode-leaf-last"),ma),(0,me.Z)(gt,"".concat(Qt,"-treenode-draggable"),Ie),(0,me.Z)(gt,"dragging",Xn),(0,me.Z)(gt,"drop-target",Ht===Dt),(0,me.Z)(gt,"drop-container",ft===Dt),(0,me.Z)(gt,"drag-over",!Rt&&Tt),(0,me.Z)(gt,"drag-over-gap-top",!Rt&&tn),(0,me.Z)(gt,"drag-over-gap-bottom",!Rt&&jt),(0,me.Z)(gt,"filter-node",Ge&&Ge((0,b.F)(this.props))),gt)),style:et,draggable:_e,"aria-grabbed":Xn,onDragStart:_e?this.onDragStart:void 0,onDragEnter:Ie?this.onDragEnter:void 0,onDragOver:Ie?this.onDragOver:void 0,onDragLeave:Ie?this.onDragLeave:void 0,onDrop:Ie?this.onDrop:void 0,onDragEnd:Ie?this.onDragEnd:void 0,onMouseMove:Pn},$n,Jt),Ee.createElement(a,{prefixCls:Qt,level:kn,isStart:Zt,isEnd:nn}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(Ee.Component),fe=function(be){return Ee.createElement(ce.k.Consumer,null,function(xe){return Ee.createElement(ne,(0,re.Z)({},be,{context:xe}))})};fe.displayName="TreeNode",fe.isTreeNode=1;var pe=fe},69610:function(ht,Et,ee){"use strict";ee.d(Et,{k:function(){return me}});var re=ee(67294),me=re.createContext(null)},29873:function(ht,Et,ee){"use strict";ee.d(Et,{BT:function(){return a},E6:function(){return E},L0:function(){return He},OM:function(){return y},_5:function(){return je},r7:function(){return z},wA:function(){return Ke},yx:function(){return qe}});var re=ee(74902),me=ee(71002),Oe=ee(72978),ze=ee(67294),Be=ee(56261),Te=ee(3596),se=ee(83898),Ze=null;function je(oe,ae){if(!oe)return[];var ne=oe.slice(),fe=ne.indexOf(ae);return fe>=0&&ne.splice(fe,1),ne}function He(oe,ae){var ne=(oe||[]).slice();return ne.indexOf(ae)===-1&&ne.push(ae),ne}function qe(oe){return oe.split("-")}function Ke(oe,ae){var ne=[],fe=(0,Te.Z)(ae,oe);function pe(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];we.forEach(function(be){var xe=be.key,Se=be.children;ne.push(xe),pe(Se)})}return pe(fe.children),ne}function Ee(oe){if(oe.parent){var ae=qe(oe.pos);return Number(ae[ae.length-1])===oe.parent.children.length-1}return!1}function ce(oe){var ae=qe(oe.pos);return Number(ae[ae.length-1])===0}function y(oe,ae,ne,fe,pe,we,be,xe,Se,gt){var Qe,Dt=oe.clientX,$e=oe.clientY,et=oe.target.getBoundingClientRect(),Tt=et.top,tn=et.height,jt=(gt==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-Dt),pt=(jt-12)/fe,Zt=(0,Te.Z)(xe,ne.props.eventKey);if($e<Tt+tn/2){var nn=be.findIndex(function(Yn){return Yn.key===Zt.key}),hn=nn<=0?0:nn-1,We=be[hn].key;Zt=(0,Te.Z)(xe,We)}var Ct=Zt.key,Bt=Zt,Kn=Zt.key,lt=0,Mt=0;if(!Se.includes(Ct))for(var Ce=0;Ce<pt&&Ee(Zt);Ce+=1)Zt=Zt.parent,Mt+=1;var Pn=ae.props.data,Hn=Zt.node,Ca=!0;return ce(Zt)&&Zt.level===0&&$e<Tt+tn/2&&we({dragNode:Pn,dropNode:Hn,dropPosition:-1})&&Zt.key===ne.props.eventKey?lt=-1:(Bt.children||[]).length&&Se.includes(Kn)?we({dragNode:Pn,dropNode:Hn,dropPosition:0})?lt=0:Ca=!1:Mt===0?pt>-1.5?we({dragNode:Pn,dropNode:Hn,dropPosition:1})?lt=1:Ca=!1:we({dragNode:Pn,dropNode:Hn,dropPosition:0})?lt=0:we({dragNode:Pn,dropNode:Hn,dropPosition:1})?lt=1:Ca=!1:we({dragNode:Pn,dropNode:Hn,dropPosition:1})?lt=1:Ca=!1,{dropPosition:lt,dropLevelOffset:Mt,dropTargetKey:Zt.key,dropTargetPos:Zt.pos,dragOverNodeKey:Kn,dropContainerKey:lt===0?null:((Qe=Zt.parent)===null||Qe===void 0?void 0:Qe.key)||null,dropAllowed:Ca}}function a(oe,ae){if(oe){var ne=ae.multiple;return ne?oe.slice():oe.length?[oe[0]]:oe}}var x=function(ae){return ae};function b(oe,ae){if(!oe)return[];var ne=ae||{},fe=ne.processProps,pe=fe===void 0?x:fe,we=Array.isArray(oe)?oe:[oe];return we.map(function(be){var xe=be.children,Se=_objectWithoutProperties(be,Ze),gt=b(xe,ae);return React.createElement(TreeNode,_extends({key:Se.key},pe(Se)),gt)})}function E(oe){if(!oe)return null;var ae;if(Array.isArray(oe))ae={checkedKeys:oe,halfCheckedKeys:void 0};else if((0,me.Z)(oe)==="object")ae={checkedKeys:oe.checked||void 0,halfCheckedKeys:oe.halfChecked||void 0};else return(0,Oe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function z(oe,ae){var ne=new Set;function fe(pe){if(!ne.has(pe)){var we=(0,Te.Z)(ae,pe);if(we){ne.add(pe);var be=we.parent,xe=we.node;xe.disabled||be&&fe(be.key)}}}return(oe||[]).forEach(function(pe){fe(pe)}),(0,re.Z)(ne)}},97153:function(ht,Et,ee){"use strict";ee.d(Et,{S:function(){return se}});var re=ee(72978),me=ee(3596);function Oe(Ze,je){var He=new Set;return Ze.forEach(function(qe){je.has(qe)||He.add(qe)}),He}function ze(Ze){var je=Ze||{},He=je.disabled,qe=je.disableCheckbox,Ke=je.checkable;return!!(He||qe)||Ke===!1}function Be(Ze,je,He,qe){for(var Ke=new Set(Ze),Ee=new Set,ce=0;ce<=He;ce+=1){var y=je.get(ce)||new Set;y.forEach(function(E){var z=E.key,oe=E.node,ae=E.children,ne=ae===void 0?[]:ae;Ke.has(z)&&!qe(oe)&&ne.filter(function(fe){return!qe(fe.node)}).forEach(function(fe){Ke.add(fe.key)})})}for(var a=new Set,x=He;x>=0;x-=1){var b=je.get(x)||new Set;b.forEach(function(E){var z=E.parent,oe=E.node;if(!(qe(oe)||!E.parent||a.has(E.parent.key))){if(qe(E.parent.node)){a.add(z.key);return}var ae=!0,ne=!1;(z.children||[]).filter(function(fe){return!qe(fe.node)}).forEach(function(fe){var pe=fe.key,we=Ke.has(pe);ae&&!we&&(ae=!1),!ne&&(we||Ee.has(pe))&&(ne=!0)}),ae&&Ke.add(z.key),ne&&Ee.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(Ke),halfCheckedKeys:Array.from(Oe(Ee,Ke))}}function Te(Ze,je,He,qe,Ke){for(var Ee=new Set(Ze),ce=new Set(je),y=0;y<=qe;y+=1){var a=He.get(y)||new Set;a.forEach(function(z){var oe=z.key,ae=z.node,ne=z.children,fe=ne===void 0?[]:ne;!Ee.has(oe)&&!ce.has(oe)&&!Ke(ae)&&fe.filter(function(pe){return!Ke(pe.node)}).forEach(function(pe){Ee.delete(pe.key)})})}ce=new Set;for(var x=new Set,b=qe;b>=0;b-=1){var E=He.get(b)||new Set;E.forEach(function(z){var oe=z.parent,ae=z.node;if(!(Ke(ae)||!z.parent||x.has(z.parent.key))){if(Ke(z.parent.node)){x.add(oe.key);return}var ne=!0,fe=!1;(oe.children||[]).filter(function(pe){return!Ke(pe.node)}).forEach(function(pe){var we=pe.key,be=Ee.has(we);ne&&!be&&(ne=!1),!fe&&(be||ce.has(we))&&(fe=!0)}),ne||Ee.delete(oe.key),fe&&ce.add(oe.key),x.add(oe.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(Oe(ce,Ee))}}function se(Ze,je,He,qe){var Ke=[],Ee;qe?Ee=qe:Ee=ze;var ce=new Set(Ze.filter(function(b){var E=!!(0,me.Z)(He,b);return E||Ke.push(b),E})),y=new Map,a=0;Object.keys(He).forEach(function(b){var E=He[b],z=E.level,oe=y.get(z);oe||(oe=new Set,y.set(z,oe)),oe.add(E),a=Math.max(a,z)}),(0,re.ZP)(!Ke.length,"Tree missing follow keys: ".concat(Ke.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return je===!0?x=Be(ce,y,a,Ee):x=Te(ce,je.halfCheckedKeys,y,a,Ee),x}},3596:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return re}});function re(me,Oe){return me[Oe]}},83898:function(ht,Et,ee){"use strict";ee.d(Et,{I8:function(){return z},F:function(){return ae},zn:function(){return x},w$:function(){return y},oH:function(){return b},km:function(){return ce},H8:function(){return oe}});var re=ee(71002),me=ee(74902),Oe=ee(1413),ze=ee(45987),Be=ee(67294),Te=ee(28580);function se(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return Be.Children.forEach(ne,function(we){we==null&&!fe.keepEmpty||(Array.isArray(we)?pe=pe.concat(se(we)):(0,Te.isFragment)(we)&&we.props?pe=pe.concat(se(we.props.children,fe)):pe.push(we))}),pe}function Ze(ne,fe){var pe=(0,Oe.Z)({},ne);return Array.isArray(fe)&&fe.forEach(function(we){delete pe[we]}),pe}var je=ee(72978),He=ee(3596),qe=["children"];function Ke(ne,fe){return"".concat(ne,"-").concat(fe)}function Ee(ne){return ne&&ne.type&&ne.type.isTreeNode}function ce(ne,fe){return ne!=null?ne:fe}function y(ne){var fe=ne||{},pe=fe.title,we=fe._title,be=fe.key,xe=fe.children,Se=pe||"title";return{title:Se,_title:we||[Se],key:be||"key",children:xe||"children"}}function a(ne,fe){var pe=new Map;function we(be){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Se){var gt=Se[fe.key],Qe=Se[fe.children];warning(gt!=null,"Tree node must have a certain key: [".concat(xe).concat(gt,"]"));var Dt=String(gt);warning(!pe.has(Dt)||gt===null||gt===void 0,"Same 'key' exist in the Tree: ".concat(Dt)),pe.set(Dt,!0),we(Qe,"".concat(xe).concat(Dt," > "))})}we(ne)}function x(ne){function fe(pe){var we=se(pe);return we.map(function(be){if(!Ee(be))return(0,je.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var xe=be.key,Se=be.props,gt=Se.children,Qe=(0,ze.Z)(Se,qe),Dt=(0,Oe.Z)({key:xe},Qe),$e=fe(gt);return $e.length&&(Dt.children=$e),Dt}).filter(function(be){return be})}return fe(ne)}function b(ne,fe,pe){var we=y(pe),be=we._title,xe=we.key,Se=we.children,gt=new Set(fe===!0?[]:fe),Qe=[];function Dt($e){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return $e.map(function(Tt,tn){for(var jt=Ke(et?et.pos:"0",tn),pt=ce(Tt[xe],jt),Zt,nn=0;nn<be.length;nn+=1){var hn=be[nn];if(Tt[hn]!==void 0){Zt=Tt[hn];break}}var We=(0,Oe.Z)((0,Oe.Z)({},Ze(Tt,[].concat((0,me.Z)(be),[xe,Se]))),{},{title:Zt,key:pt,parent:et,pos:jt,children:null,data:Tt,isStart:[].concat((0,me.Z)(et?et.isStart:[]),[tn===0]),isEnd:[].concat((0,me.Z)(et?et.isEnd:[]),[tn===$e.length-1])});return Qe.push(We),fe===!0||gt.has(pt)?We.children=Dt(Tt[Se]||[],We):We.children=[],We})}return Dt(ne),Qe}function E(ne,fe,pe){var we={};(0,re.Z)(pe)==="object"?we=pe:we={externalGetKey:pe},we=we||{};var be=we,xe=be.childrenPropName,Se=be.externalGetKey,gt=be.fieldNames,Qe=y(gt),Dt=Qe.key,$e=Qe.children,et=xe||$e,Tt;Se?typeof Se=="string"?Tt=function(pt){return pt[Se]}:typeof Se=="function"&&(Tt=function(pt){return Se(pt)}):Tt=function(pt,Zt){return ce(pt[Dt],Zt)};function tn(jt,pt,Zt,nn){var hn=jt?jt[et]:ne,We=jt?Ke(Zt.pos,pt):"0",Ct=jt?[].concat((0,me.Z)(nn),[jt]):[];if(jt){var Bt=Tt(jt,We),Kn={node:jt,index:pt,pos:We,key:Bt,parentPos:Zt.node?Zt.pos:null,level:Zt.level+1,nodes:Ct};fe(Kn)}hn&&hn.forEach(function(lt,Mt){tn(lt,Mt,{node:jt,pos:We,level:Zt?Zt.level+1:-1},Ct)})}tn(null)}function z(ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=fe.initWrapper,we=fe.processEntity,be=fe.onProcessFinished,xe=fe.externalGetKey,Se=fe.childrenPropName,gt=fe.fieldNames,Qe=arguments.length>2?arguments[2]:void 0,Dt=xe||Qe,$e={},et={},Tt={posEntities:$e,keyEntities:et};return pe&&(Tt=pe(Tt)||Tt),E(ne,function(tn){var jt=tn.node,pt=tn.index,Zt=tn.pos,nn=tn.key,hn=tn.parentPos,We=tn.level,Ct=tn.nodes,Bt={node:jt,nodes:Ct,index:pt,key:nn,pos:Zt,level:We},Kn=ce(nn,Zt);$e[Zt]=Bt,et[Kn]=Bt,Bt.parent=$e[hn],Bt.parent&&(Bt.parent.children=Bt.parent.children||[],Bt.parent.children.push(Bt)),we&&we(Bt,Tt)},{externalGetKey:Dt,childrenPropName:Se,fieldNames:gt}),be&&be(Tt),Tt}function oe(ne,fe){var pe=fe.expandedKeys,we=fe.selectedKeys,be=fe.loadedKeys,xe=fe.loadingKeys,Se=fe.checkedKeys,gt=fe.halfCheckedKeys,Qe=fe.dragOverNodeKey,Dt=fe.dropPosition,$e=fe.keyEntities,et=(0,He.Z)($e,ne),Tt={eventKey:ne,expanded:pe.indexOf(ne)!==-1,selected:we.indexOf(ne)!==-1,loaded:be.indexOf(ne)!==-1,loading:xe.indexOf(ne)!==-1,checked:Se.indexOf(ne)!==-1,halfChecked:gt.indexOf(ne)!==-1,pos:String(et?et.pos:""),dragOver:Qe===ne&&Dt===0,dragOverGapTop:Qe===ne&&Dt===-1,dragOverGapBottom:Qe===ne&&Dt===1};return Tt}function ae(ne){var fe=ne.data,pe=ne.expanded,we=ne.selected,be=ne.checked,xe=ne.loaded,Se=ne.loading,gt=ne.halfChecked,Qe=ne.dragOver,Dt=ne.dragOverGapTop,$e=ne.dragOverGapBottom,et=ne.pos,Tt=ne.active,tn=ne.eventKey,jt=(0,Oe.Z)((0,Oe.Z)({},fe),{},{expanded:pe,selected:we,checked:be,loaded:xe,loading:Se,halfChecked:gt,dragOver:Qe,dragOverGapTop:Dt,dragOverGapBottom:$e,pos:et,active:Tt,key:tn});return"props"in jt||Object.defineProperty(jt,"props",{get:function(){return(0,je.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),jt}},34952:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return Ze}});var re=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`,Oe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ze="".concat(me," ").concat(Oe).split(/[\s\n]+/),Be="aria-",Te="data-";function se(je,He){return je.indexOf(He)===0}function Ze(je){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qe;He===!1?qe={aria:!0,data:!0,attr:!0}:He===!0?qe={aria:!0}:qe=(0,re.Z)({},He);var Ke={};return Object.keys(je).forEach(function(Ee){(qe.aria&&(Ee==="role"||se(Ee,Be))||qe.data&&se(Ee,Te)||qe.attr&&ze.includes(Ee))&&(Ke[Ee]=je[Ee])}),Ke}},72978:function(ht,Et,ee){"use strict";var re={};function me(Ze,je){}function Oe(Ze,je){}function ze(){re={}}function Be(Ze,je,He){!je&&!re[He]&&(Ze(!1,He),re[He]=!0)}function Te(Ze,je){Be(me,Ze,je)}function se(Ze,je){Be(Oe,Ze,je)}Et.ZP=Te},81533:function(ht,Et){"use strict";var ee;var re=typeof Symbol=="function"&&Symbol.for,me=re?Symbol.for("react.element"):60103,Oe=re?Symbol.for("react.portal"):60106,ze=re?Symbol.for("react.fragment"):60107,Be=re?Symbol.for("react.strict_mode"):60108,Te=re?Symbol.for("react.profiler"):60114,se=re?Symbol.for("react.provider"):60109,Ze=re?Symbol.for("react.context"):60110,je=re?Symbol.for("react.async_mode"):60111,He=re?Symbol.for("react.concurrent_mode"):60111,qe=re?Symbol.for("react.forward_ref"):60112,Ke=re?Symbol.for("react.suspense"):60113,Ee=re?Symbol.for("react.suspense_list"):60120,ce=re?Symbol.for("react.memo"):60115,y=re?Symbol.for("react.lazy"):60116,a=re?Symbol.for("react.block"):60121,x=re?Symbol.for("react.fundamental"):60117,b=re?Symbol.for("react.responder"):60118,E=re?Symbol.for("react.scope"):60119;function z(ae){if(typeof ae=="object"&&ae!==null){var ne=ae.$$typeof;switch(ne){case me:switch(ae=ae.type,ae){case je:case He:case ze:case Te:case Be:case Ke:return ae;default:switch(ae=ae&&ae.$$typeof,ae){case Ze:case qe:case y:case ce:case se:return ae;default:return ne}}case Oe:return ne}}}function oe(ae){return z(ae)===He}ee=je,ee=He,ee=Ze,ee=se,ee=me,ee=qe,ee=ze,ee=y,ee=ce,ee=Oe,ee=Te,ee=Be,ee=Ke,ee=function(ae){return oe(ae)||z(ae)===je},ee=oe,ee=function(ae){return z(ae)===Ze},ee=function(ae){return z(ae)===se},ee=function(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===me},ee=function(ae){return z(ae)===qe},Et.isFragment=function(ae){return z(ae)===ze},ee=function(ae){return z(ae)===y},Et.isMemo=function(ae){return z(ae)===ce},ee=function(ae){return z(ae)===Oe},ee=function(ae){return z(ae)===Te},ee=function(ae){return z(ae)===Be},ee=function(ae){return z(ae)===Ke},ee=function(ae){return typeof ae=="string"||typeof ae=="function"||ae===ze||ae===He||ae===Te||ae===Be||ae===Ke||ae===Ee||typeof ae=="object"&&ae!==null&&(ae.$$typeof===y||ae.$$typeof===ce||ae.$$typeof===se||ae.$$typeof===Ze||ae.$$typeof===qe||ae.$$typeof===x||ae.$$typeof===b||ae.$$typeof===E||ae.$$typeof===a)},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 Oe=me.keyCode;if(me.altKey&&!me.ctrlKey||me.metaKey||Oe>=ee.F1&&Oe<=ee.F12)return!1;switch(Oe){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 re=Symbol.for("react.element"),me=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),se=Symbol.for("react.context"),Ze=Symbol.for("react.server_context"),je=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),Ke=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case re:switch(x=x.type,x){case Oe:case Be:case ze:case He:case qe:return x;default:switch(x=x&&x.$$typeof,x){case Ze:case se:case je:case Ee:case Ke:case Te:return x;default:return b}}case me:return b}}}ee=se,ee=Te,ee=re,ee=je,ee=Oe,ee=Ee,ee=Ke,ee=me,ee=Be,ee=ze,ee=He,ee=qe,ee=function(){return!1},ee=function(){return!1},ee=function(x){return a(x)===se},ee=function(x){return a(x)===Te},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===re},ee=function(x){return a(x)===je},Et.isFragment=function(x){return a(x)===Oe},ee=function(x){return a(x)===Ee},ee=function(x){return a(x)===Ke},ee=function(x){return a(x)===me},ee=function(x){return a(x)===Be},ee=function(x){return a(x)===ze},ee=function(x){return a(x)===He},ee=function(x){return a(x)===qe},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Oe||x===Be||x===ze||x===He||x===qe||x===ce||typeof x=="object"&&x!==null&&(x.$$typeof===Ee||x.$$typeof===Ke||x.$$typeof===Te||x.$$typeof===se||x.$$typeof===je||x.$$typeof===y||x.getModuleId!==void 0)},ee=a},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 re=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`,Oe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ze="".concat(me," ").concat(Oe).split(/[\s\n]+/),Be="aria-",Te="data-";function se(je,He){return je.indexOf(He)===0}function Ze(je){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qe;He===!1?qe={aria:!0,data:!0,attr:!0}:He===!0?qe={aria:!0}:qe=(0,re.Z)({},He);var Ke={};return Object.keys(je).forEach(function(Ee){(qe.aria&&(Ee==="role"||se(Ee,Be))||qe.data&&se(Ee,Te)||qe.attr&&ze.includes(Ee))&&(Ke[Ee]=je[Ee])}),Ke}},96908:function(ht){"use strict";ht.exports="data:image/png;base64,iVBORw0KGgoA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Rmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(ht,Et,ee){"use strict";ee.d(Et,{Z:function(){return re}});function re(me){if(me==null)throw new TypeError("Cannot destructure "+me)}}}]);