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.
349 lines
998 KiB
349 lines
998 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5089],{33463:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},28575:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},84249:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},81893:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},90674:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},73148:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},56747:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},50881:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},22751:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},34182:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},74664:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},91034:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(je,He){return me.createElement(Be.Z,(0,ae.Z)({},je,{ref:He,icon:ze}))},se=me.forwardRef(Te)},71736:function(vt,wt){"use strict";wt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},18023:function(){"use strict";function vt(ce,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ce,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(vt.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(vt.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(vt.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(vt.prototype,"maximum",{get:function(){return this._maximum},set:function(ce){if(typeof ce!="number"||isNaN(ce))throw new Error("Maximum must be a real number, not: "+ce);this._maximum=ce}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ce,a){var y=go.Shape._FigureParameters[ce];return y?y[a]:null},go.Shape.setFigureParameter=function(ce,a,y){if(!(y instanceof vt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ce];x||(x=[],go.Shape._FigureParameters[ce]=x),x[a]=y};var wt=[];function ee(ce,a){var y=wt.pop();return y===void 0?new go.Point(ce,a):(y.x=ce,y.y=a,y)}function ae(){var ce=wt.pop();return ce===void 0?new go.Point:ce}function me(ce){wt.push(ce)}function Fe(ce,a,y,x,b,E,z,re,oe){oe||(oe=new go.Point);var ne=ce-y,ge=b-z,pe=NaN,we=NaN;if(ne===0)if(ge===0)ce===y&&(pe=ce,we=a);else{var be=(E-re)/ge,xe=E-be*b;pe=ce,we=be*pe+xe}else if(ge===0){var Se=(a-x)/ne,ut=a-Se*ce;pe=b,we=Se*pe+ut}else{var Se=(a-x)/ne,be=(E-re)/ge,ut=a-Se*ce,xe=E-be*b;pe=(xe-ut)/(Se-be),we=Se*pe+ut}return oe.x=pe,oe.y=we,oe}function ze(ce,a,y,x,b,E,z,re,oe,ne,ge,pe,we,be){var xe=1-oe,Se=oe,ut=ce*xe+y*Se,We=a*xe+x*Se,Kt=y*xe+b*Se,Xe=x*xe+E*Se,st=b*xe+z*Se,xt=E*xe+re*Se,It=ut*xe+Kt*Se,Gt=We*xe+Xe*Se,ht=Kt*xe+st*Se,Zt=Xe*xe+xt*Se,an=It*xe+ht*Se,hn=Gt*xe+Zt*Se;ne.x=ut,ne.y=We,ge.x=It,ge.y=Gt,pe.x=an,pe.y=hn,we.x=ht,we.y=Zt,be.x=st,be.y=xt}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 vt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*se,E=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ce,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ce,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Be,b.spot2=Te,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ce,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,se*a,0,a,(1-se)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,se*y,(1-se)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,se*y,se*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-se)*a,0,0,(1-se)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new vt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new vt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.setFigureParameter("Trapezoid1",0,new vt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new vt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}}),go.Shape.setFigureParameter("ManualOperation",0,new vt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b<a/2&&E.setSpots(b/a,0,(a-b)/a,1),E}});var Ze=[];function je(){var ce=Ze.pop();return ce===void 0?[]:ce}function He(ce){ce.length=0,Ze.push(ce)}function qe(ce){for(var a=je(),y=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<ce;z++)E=2*Math.PI/ce*z+b,a[z]=new go.Point(x+y*Math.cos(E),x+y*Math.sin(E));return a.push(a[0]),a}function Ke(ce){var a=Ee(ce),y=je();y[0]=a[0];for(var x=1,b=1;x<a.length;x+=2,b+=3)y[b]=a[x],y[b+1]=a[x],y[b+2]=a[x+1];return He(a),y}function Ee(ce){for(var a=qe(ce),y=je(),x=Math.floor(a.length/2),b=a.length-1,E=ce%2===0?2:1,z=0;z<b;z++){var re=a[z],oe=a[z+1],ne=a[(x+z-1)%b],ge=a[(x+z+E)%b];y[z*2]=re,y[z*2+1]=Fe(re.x,re.y,ne.x,ne.y,oe.x,oe.y,ge.x,ge.y,new go.Point)}return y[y.length]=y[0],He(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ce,a,y){var x=qe(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<5;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ce,a,y){var x=qe(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<6;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ce,a,y){var x=qe(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<7;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ce,a,y){var x=qe(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<8;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ce,a,y){var x=qe(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<9;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ce,a,y){var x=qe(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ce,a,y){var x=qe(12),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ce,a,y){var x=Ee(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ce,a,y){var x=Ee(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ce,a,y){var x=Ee(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<14;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ce,a,y){var x=Ee(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<16;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ce,a,y){var x=Ee(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<18;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ce,a,y){var x=Ee(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<20;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),He(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ce,a,y){var x=Ke(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ce,a,y){var x=Ke(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ce,a,y){var x=Ke(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ce,a,y){var x=Ke(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ce,a,y){var x=Ke(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ce,a,y){var x=Ke(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new vt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new vt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ce,a,y){var x=ce?ce.parameter1:NaN,b=ce?ce.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x<a/2&&b<y/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),E.setSpots(0,0,1,1,x,b,-x,-b),E}),go.Shape.setFigureParameter("Ring",0,new vt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,E=new go.Geometry,z=new go.PathFigure(a,a/2,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var re=Math.max(b-x,0);return re>0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),E.spot1=Be,E.spot2=Te,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ce,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new vt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new vt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ce,a,y){var x=ce?ce.parameter1:NaN,b=ce?ce.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var E=x%360;E<0&&(E+=360);var z=b%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,E,z,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ce,a,y){var x=se/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,E*y,a,(1-x)*y,(b+x)*a,(E+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ce,a,y){var x=ce?ce.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var E=a/2,z=y/2,re=Math.atan2(y,a),oe=x-Math.min(Math.cos(re)*x/2,E),ne=x-Math.min(Math.sin(re)*x/2,z),b=new go.Geometry,ge=new go.PathFigure(oe,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E,.2*y)),ge.add(new go.PathSegment(go.PathSegment.Line,a-oe,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,a,y-ne)),ge.add(new go.PathSegment(go.PathSegment.Line,a-oe,y)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.8*y)),ge.add(new go.PathSegment(go.PathSegment.Line,oe,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y-ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new vt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new vt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,se*a,0,a,(.5-se/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+se/2)*y,se*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var E=.2,z=.3,re=0,oe=E*se;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+re)*y,(.5-E+z)*a,(.5+oe+re)*y,(.5-oe+z)*a,(.5+E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+re)*y,(.5+oe+z)*a,(.5+E+re)*y,(.5+E+z)*a,(.5+oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+re)*y,(1-.5+E+z)*a,(.5-oe+re)*y,(.5+oe+z)*a,(.5-E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-oe+z)*a,(.5-E+re)*y,(.5-E+z+.05)*a,(.5-oe+re-.02)*y)),E=.2,z=0,re=-.3,oe=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+re)*y,(.5+oe+z)*a,(.5+E+re)*y,(.5+E+z)*a,(.5+oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+re)*y,(1-.5+E+z)*a,(.5-oe+re)*y,(.5+oe+z)*a,(.5-E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+re)*y,(.5-oe+z)*a,(.5-E+re)*y,(.5-E+z)*a,(.5-oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+z)*a,(.5+E+re)*y,(.5-E+z)*a,(.5+oe+re)*y,(.5-oe+z)*a,(.5+E+re)*y)),E=.2,z=-.3,re=0,oe=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+re)*y,(1-.5+E+z-.05)*a,(.5-oe+re-.02)*y,(.5+oe+z)*a,(.5-E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+re)*y,(.5-oe+z)*a,(.5-E+re)*y,(.5-E+z)*a,(.5-oe+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+re)*y,(.5-E+z)*a,(.5+oe+re)*y,(.5-oe+z)*a,(.5+E+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+oe+z)*a,(.5+E+re)*y,(.5+E+z)*a,(.5+oe+re)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var E=.1,z=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*a,re*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*re,E*a,E*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),re=.75,b=new go.PathFigure((z+E)*a,re*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*re,E*a,E*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ce,a,y){var x=.8535533905932737,b=.5*a,E=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=.5,re=.5,oe=new go.PathFigure(z*a,(re-E)*y);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),E=.4,b=se*.4;var ne=ae(),ge=ae(),pe=ae(),we=ae();ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.42,ne,ge,pe,we,we);var be=ae(),xe=ae(),Se=ae();ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.58,we,we,Se,be,xe);var ut=ae(),We=ae(),Kt=ae();ze(z,re+E,z-b,re+E,z-E,re+b,z-E,re,.42,ut,We,Kt,we,we);var Xe=ae(),st=ae(),xt=ae();return ze(z,re+E,z-b,re+E,z-E,re+b,z-E,re,.58,we,we,xt,Xe,st),oe.add(new go.PathSegment(go.PathSegment.Move,xt.x*a,xt.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,Xe.x*a,Xe.y*y,st.x*a,st.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ne.x*a,ne.y*y,ge.x*a,ge.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,xt.x*a,xt.y*y).close()),oe.add(new go.PathSegment(go.PathSegment.Move,Kt.x*a,Kt.y*y)),oe.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,be.x*a,be.y*y,xe.x*a,xe.y*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Kt.x*a,Kt.y*y,ut.x*a,ut.y*y,We.x*a,We.y*y).close()),me(ne),me(ge),me(pe),me(we),me(be),me(xe),me(Se),me(ut),me(We),me(Kt),me(Xe),me(st),me(xt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new vt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ce,a,y){var x=new go.Geometry,b=se*.4,E=.4,z=.5,re=.5,oe=ae(),ne=ae(),ge=ae(),pe=ae(),we=new go.PathFigure((z-E)*a,re*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.44,ge,pe,ne,oe,oe),we.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y));var be=ee(ne.x,ne.y);ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.56,oe,oe,ne,ge,pe);var xe=ee(ne.x,ne.y);we.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*a,be.y*.1*y)),we.add(new go.PathSegment(go.PathSegment.Line,.85*a,be.y*.1*y)),we.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),we.add(new go.PathSegment(go.PathSegment.Line,a,0)),we.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),we.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,.15*y)),we.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*a,(xe.y*.1+.05*.9)*y)),we.add(new go.PathSegment(go.PathSegment.Line,xe.x*a,xe.y*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),E=.35,b=se*.35;var Se=new go.PathFigure(z*a,(re-E)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y));var ut=new go.PathFigure((z-E)*a,re*y,!1);return x.add(ut),me(oe),me(ne),me(ge),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,a,y){var x=new go.Geometry,b=.375,E=0,z=-.125,re=b*se,oe=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+re+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-re+z)*y,(.5+re+E)*a,(.5-b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-re+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+re+z)*y,(.5-re+E)*a,(.5+b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,E=0,z=-.125,re=b*se;var oe=new go.PathFigure((1-.5+b+E)*a,(.5+z)*y,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+re+z)*y,(.5+re+E)*a,(.5+b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-re+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-re+z)*y,(.5-re+E)*a,(.5-b+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+re+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-re+z)*y));var oe=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);return x.add(oe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ce,a,y){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ce,a,y){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ce,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ce,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ce,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new vt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new vt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*a,z=(.5-b/2)*y,re=(.5+b/2)*y,oe=new go.Geometry,ne=new go.PathFigure(0,z,!0);oe.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,z/y);var ge=Fe(0,re/y,1,re/y,E/a,1,1,.5,ae());return oe.spot2=new go.Spot(ge.x,ge.y),me(ge),oe}),go.Shape.setFigureParameter("Arrow2",0,new vt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new vt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var E=a-x,z=(y-b)/2,re=z+b,oe=new go.Geometry,ne=new go.PathFigure(0,z,!0);oe.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,y)),ne.add(new go.PathSegment(go.PathSegment.Line,E,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,z/y);var ge=Fe(0,re/y,1,re/y,E/a,1,1,.5,ae());return oe.spot2=new go.Spot(ge.x,ge.y),me(ge),oe}),go.Shape.defineFigureGenerator("Chevron",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new vt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var oe=Fe(0,.5,.3,0,0,b/y,.1,b/y,ae());return z.spot1=new go.Spot(oe.x,oe.y),oe=Fe(.7,1,1,.5,0,E/y,1,E/y,oe),z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new vt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new vt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,re=(y-b)/2,oe=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,re=0,oe=y):(E=0,z=y,re=0,oe=y));var ne=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var pe=Fe(0,.5,.3,re/y,0,E/y,1,E/y,ae());return ne.spot1=new go.Spot(pe.x,pe.y),pe=Fe(.7,oe/y,1,.5,0,z/y,1,z/y,pe),ne.spot2=new go.Spot(pe.x,pe.y),me(pe),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new vt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var oe=Fe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new vt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new vt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,re=(y-b)/2,oe=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,re=0,oe=y):(E=0,z=y,re=0,oe=y));var ne=new go.Geometry,ge=new go.PathFigure(a,.5*y,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),ne.spot1=new go.Spot(0,E/y);var pe=Fe(.7,oe/y,1,.5,0,z/y,1,z/y,ae());return ne.spot2=new go.Spot(pe.x,pe.y),me(pe),ne}),go.Shape.setFigureParameter("Pointer",0,new vt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Fe(.2,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),me(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new vt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=Fe(0,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),me(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new vt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var oe=Fe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new vt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,E=b+x;x>y&&(b=0,E=y);var z=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var oe=Fe(.7,1,1,.5,0,E/y,1,E/y,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("SquareArrow",0,new vt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var E=new go.PathFigure(0,.9*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var E=new go.PathFigure(.5*a,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var E=new go.PathFigure(0,.3*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+E)*a,0,1*a,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-se*x,(.5+E)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,1*y,0,y-se*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(a,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-se*x,(.5+E)*a,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*a,2*x,0,2*x-se*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+E)*a,0,a,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-se*x,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,y,0,y-se*x));var re=new go.PathFigure(0,y-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-se*x,(.5-E)*a,y-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+E)*a,y-2*x,a,y-x-se*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,se*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+se*x,0,2*x,(.5-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+E)*y,x+se*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-se*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-se*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,se*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,se*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var re=new go.PathFigure(a-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-se*x,0,a-2*x,(.5-E)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+E)*y,a-x-se*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(.25*a,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(0,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ce,a,y){var x=new go.Geometry,b=.2,E=.1,z=se*b,re=se*E,oe=.5,ne=.1,ge=new go.PathFigure(oe*a,(ne+E)*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-b)*a,ne*y,(oe-z)*a,(ne+E)*y,(oe-b)*a,(ne+re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-E)*y,(oe-b)*a,(ne-re)*y,(oe-z)*a,(ne-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+b)*a,ne*y,(oe+z)*a,(ne-E)*y,(oe+b)*a,(ne-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+E)*y,(oe+b)*a,(ne+re)*y,(oe+z)*a,(ne+E)*y));var pe=.05,we=se*pe;oe=.05,ne=.25;var be=new go.PathFigure(.5*a,.2*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),oe=.95,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+pe)*a,ne*y,(oe+we)*a,(ne-pe)*y,(oe+pe)*a,(ne-we)*y)),be.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,we=se*pe,oe=.825,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-we)*y,(oe+we)*a,(ne-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-we)*a,(ne-pe)*y,(oe-pe)*a,(ne-we)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,we=se*pe,oe=.5,ne=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-we)*y,(oe+we)*a,(ne-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-we)*a,(ne-pe)*y,(oe-pe)*a,(ne-we)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,we=se*pe,oe=.175,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe+pe)*a,(ne-we)*y,(oe+we)*a,(ne-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*a,ne*y,(oe-we)*a,(ne-pe)*y,(oe-pe)*a,(ne-we)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,we=se*pe,oe=.05,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-pe)*y,(oe-pe)*a,(ne-we)*y,(oe-we)*a,(ne-pe)*y)),be.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new vt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ce,a,y){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var E=new go.PathFigure(.5*a,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+E)*y,(.5+b)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+E)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=se*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-E)*y,(.2-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+E)*a,0,a,(.2-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+E)*y,(.8+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-E)*a,y,0,(.8+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var E=new go.PathFigure(.1*a,.4*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(.75*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var E=new go.PathFigure(a,.5*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ce,a,y){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=se*.5,re=.5,oe=new go.PathFigure(a,re*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+z)*y,(re+z)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-z)*a,y,0,(re+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-z)*y,(re-z)*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+z)*a,0,a,(re-z)*y));var ne=new go.PathFigure((E+b)*a,(E+b)*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)),ne.add(new go.PathSegment(go.PathSegment.Move,E*a,(E+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Line,(E+b)*a,E*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var E=new go.PathFigure(.1*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*a,.9*y,a,(E+b)*y,(E+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var E=new go.PathFigure(.1*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var E=new go.PathFigure(.2*a,.1*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var re=new go.PathFigure(.5*b*a,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ce,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ce,a,y){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var re=new go.PathFigure(a,E*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,E*y));var oe=new go.PathFigure(.8*a,.75*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ce,a,y){var x=new go.Geometry,b=se*.1,E=.1,z=.9,re=.5,oe=new go.PathFigure(.8*a,.5*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ne=new go.PathFigure((z+E)*a,re*y,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re-E)*y,(z+E)*a,(re-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=se*.4,z=se*.1,re=.1,oe=.9,ne=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+E)*y,(.4+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-E)*y));var pe=new go.PathFigure((oe+re)*a,ne*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+re)*y,(oe+re)*a,(ne+z)*y,(oe+z)*a,(ne+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a,ne*y,(oe-z)*a,(ne+re)*y,(oe-re)*a,(ne+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-re)*y,(oe-re)*a,(ne-z)*y,(oe-z)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a,ne*y,(oe+z)*a,(ne-re)*y,(oe+re)*a,(ne-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=0,re=.5,oe=new go.PathFigure(.8*a,.5*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(re-b)*y,.7*a,(re-E)*y)),b=.1,E=se*.1,z=.9,re=.5;var ne=new go.PathFigure((z-b)*a,re*y,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=0,re=.5,oe=new go.PathFigure(0,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E+E)*a,(re-b)*y,.8*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+E)*y,(z+E+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=.2,re=.5,oe=new go.PathFigure(.1*a,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.8*a,.5*y,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(re-b)*y,.7*a,(re-E)*y)),b=.1,E=se*.1,z=.9,re=.5;var ge=new go.PathFigure((z-b)*a,re*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*b,z=.2,re=.5,oe=new go.PathFigure(.1*a,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ne=new go.PathFigure(.2*a,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E)*a,(re-b)*y,.9*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ce,a,y){var x=new go.Geometry,b=se*.1,E=.1,z=.1,re=.5,oe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+E)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ce,a,y){var x=new go.Geometry,b=se*.5,E=.5,z=.5,re=.5,oe=new go.PathFigure((z-E)*a,re*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-E)*y,(z-E)*a,(re-b)*y,(z-b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re-E)*y,(z+E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*a,re*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*a,re*y,z*a,(re-E)*y,z*a,(re+E)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ce,a,y){var x=new go.Geometry,b=a,E=y;a=a*.38,y=y*.6;var z=se*.8,re=.8,oe=0,ne=.5,ge=(b-a)/2,pe=(E-y)/2,we=new go.PathFigure(oe*a+ge,(ne+re)*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+ge,ne*y+pe,(oe-z)*a+ge,(ne+re)*y+pe,(oe-re)*a+ge,(ne+z)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne-re)*y+pe,(oe-re)*a+ge,(ne-z)*y+pe,(oe-z)*a+ge,(ne-re)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+z*.5)*a+ge,ne*y+pe,oe*a+ge,(ne-re)*y+pe,(oe-re+z*.5)*a+ge,(ne-z)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne+re)*y+pe,(oe-re+z*.5)*a+ge,(ne+z)*y+pe,oe*a+ge,(ne+re)*y+pe).close()),z=se*.4,re=.4,oe=.2,ne=.5;var be=new go.PathFigure(oe*a+ge,(ne+re)*y+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+ge,ne*y+pe,(oe-z)*a+ge,(ne+re)*y+pe,(oe-re)*a+ge,(ne+z)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne-re)*y+pe,(oe-re)*a+ge,(ne-z)*y+pe,(oe-z)*a+ge,(ne-re)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+z*.5)*a+ge,ne*y+pe,oe*a+ge,(ne-re)*y+pe,(oe-re+z*.5)*a+ge,(ne-z)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne+re)*y+pe,(oe-re+z*.5)*a+ge,(ne+z)*y+pe,oe*a+ge,(ne+re)*y+pe).close()),z=se*.2,re=.2,oe=.5,ne=.5;var xe=new go.PathFigure((oe-re)*a+ge,ne*y+pe,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne-re)*y+pe,(oe-re)*a+ge,(ne-z)*y+pe,(oe-z)*a+ge,(ne-re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+ge,ne*y+pe,(oe+z)*a+ge,(ne-re)*y+pe,(oe+re)*a+ge,(ne-z)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne+re)*y+pe,(oe+re)*a+ge,(ne+z)*y+pe,(oe+z)*a+ge,(ne+re)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*a+ge,ne*y+pe,(oe-z)*a+ge,(ne+re)*y+pe,(oe-re)*a+ge,(ne+z)*y+pe)),z=se*.4,re=.4,oe=.8,ne=.5;var Se=new go.PathFigure(oe*a+ge,(ne-re)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+ge,ne*y+pe,(oe+z)*a+ge,(ne-re)*y+pe,(oe+re)*a+ge,(ne-z)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne+re)*y+pe,(oe+re)*a+ge,(ne+z)*y+pe,(oe+z)*a+ge,(ne+re)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-z*.5)*a+ge,ne*y+pe,oe*a+ge,(ne+re)*y+pe,(oe+re-z*.5)*a+ge,(ne+z)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne-re)*y+pe,(oe+re-z*.5)*a+ge,(ne-z)*y+pe,oe*a+ge,(ne-re)*y+pe).close()),z=se*.8,re=.8,oe=1,ne=.5;var ut=new go.PathFigure(oe*a+ge,(ne-re)*y+pe,!0);return x.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*a+ge,ne*y+pe,(oe+z)*a+ge,(ne-re)*y+pe,(oe+re)*a+ge,(ne-z)*y+pe)),ut.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne+re)*y+pe,(oe+re)*a+ge,(ne+z)*y+pe,(oe+z)*a+ge,(ne+re)*y+pe)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-z*.5)*a+ge,ne*y+pe,oe*a+ge,(ne+re)*y+pe,(oe+re-z*.5)*a+ge,(ne+z)*y+pe)),ut.add(new go.PathSegment(go.PathSegment.Bezier,oe*a+ge,(ne-re)*y+pe,(oe+re-z*.5)*a+ge,(ne-z)*y+pe,oe*a+ge,(ne-re)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var E=new go.PathFigure(.1*a,y,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ce,a,y){var x=new go.Geometry,b=se*.4,E=.4,z=.5,re=.5,oe=ae(),ne=ae(),ge=ae(),pe=ae();ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.5,oe,oe,ne,ge,pe);var we=ee(ne.x,ne.y),be=new go.PathFigure(ne.x*a,ne.y*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z+E)*a,(re+b)*y,(z+b)*a,(re+E)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,(z-b)*a,(re+E)*y,(z-E)*a,(re+b)*y)),ze(z-E,re,z-E,re-b,z-b,re-E,z,re-E,.5,ge,pe,ne,oe,oe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),b=se*.3,E=.3,ze(z-E,re,z-E,re-b,z-b,re-E,z,re-E,.5,ge,pe,ne,oe,oe),be.add(new go.PathSegment(go.PathSegment.Line,ne.x*a,ne.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,re*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+E)*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,re*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.5,oe,oe,ne,ge,pe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*a,ne.y*y,pe.x*a,pe.y*y,ge.x*a,ge.y*y).close());var be=new go.PathFigure(.45*a,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),be.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),me(oe),me(ne),me(ge),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,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function E(z,re,oe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+oe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+oe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+oe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+oe)*y).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ce,a,y){var x=new go.Geometry,b=.5,E=0,z=0,re=b*se,oe=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,ge=1,pe=.5,we=.5,be=0,xe=new go.PathFigure(oe*a,(1-ne)*y,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,pe*y,ge*a,.7*y,ge*a,pe*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(we+E)*a,(be+E)*y,(.5+b+E)*a,(.5-re+E)*y,(.5+re+E)*a,(.5-b+E)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-re+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-re+z)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*a,.9*y,(.5-b+E)*a,(.5+re+z)*y,(.5-re+E)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*a,.8*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*a,.9*y)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var E=new go.PathFigure(.45*a,.73*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),E.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),E.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),E.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,re=.5,oe=z,ne=Math.PI/4,ge=4*(1-Math.cos(ne))/(3*Math.sin(ne)),pe=ge*.5,we=z,be=z,xe=ge*we,Se=ge*be;E.add(new go.PathSegment(go.PathSegment.Bezier,(re-we)*a,oe*y,(re-(xe+we)/2)*a,(oe+(be+Se)/2)*y,(re-we)*a,(oe+Se)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(oe-be)*y,(re-we)*a,(oe-Se)*y,(re-xe)*a,(oe-be)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(re+we)*a,oe*y,(re+xe)*a,(oe-be)*y,(re+we)*a,(oe-Se)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+we)*a,(oe+Se)*y,(re+(xe+we)/2)*a,(oe+(be+Se)/2)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var ut=new go.PathFigure(.2*a,y,!1);x.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var We=new go.PathFigure(.8*a,y,!1);return x.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var E=new go.PathFigure(.2*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,E*a,E*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var E=new go.PathFigure(.475*a,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+E)*y,(b+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-E)*a,y,0,(b+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-E)*y,(b-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+E)*a,0,a,(b-E)*y));var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(0,.15*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var E=new go.PathFigure(.15*a,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(a,.8*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,re=se*.1,oe=.2,ne=.9,ge=new go.PathFigure((oe-z)*a,ne*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-z)*y,(oe-z)*a,(ne-re)*y,(oe-re)*a,(ne-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*a,ne*y,(oe+re)*a,(ne-z)*y,(oe+z)*a,(ne-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+z)*y,(oe+z)*a,(ne+re)*y,(oe+re)*a,(ne+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*a,ne*y,(oe-re)*a,(ne+z)*y,(oe-z)*a,(ne+re)*y).close()),z=.1,re=se*.1,oe=.8,ne=.9;var pe=new go.PathFigure((oe-z)*a,ne*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne-z)*y,(oe-z)*a,(ne-re)*y,(oe-re)*a,(ne-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*a,ne*y,(oe+re)*a,(ne-z)*y,(oe+z)*a,(ne-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(ne+z)*y,(oe+z)*a,(ne+re)*y,(oe+re)*a,(ne+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*a,ne*y,(oe-re)*a,(ne+z)*y,(oe-z)*a,(ne+re)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var re=new go.PathFigure(.5*a,.7*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var oe=.1,ne=se*.1,ge=.1,pe=.9,we=new go.PathFigure((ge-oe)*a,pe*y,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-oe)*y,(ge-oe)*a,(pe-ne)*y,(ge-ne)*a,(pe-oe)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge+oe)*a,pe*y,(ge+ne)*a,(pe-oe)*y,(ge+oe)*a,(pe-ne)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+oe)*y,(ge+oe)*a,(pe+ne)*y,(ge+ne)*a,(pe+oe)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge-oe)*a,pe*y,(ge-ne)*a,(pe+oe)*y,(ge-oe)*a,(pe+ne)*y)),oe=.1,ne=se*.1,ge=.4,pe=.9;var be=new go.PathFigure((ge-oe)*a,pe*y,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-oe)*y,(ge-oe)*a,(pe-ne)*y,(ge-ne)*a,(pe-oe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+oe)*a,pe*y,(ge+ne)*a,(pe-oe)*y,(ge+oe)*a,(pe-ne)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+oe)*y,(ge+oe)*a,(pe+ne)*y,(ge+ne)*a,(pe+oe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-oe)*a,pe*y,(ge-ne)*a,(pe+oe)*y,(ge-oe)*a,(pe+ne)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var E=new go.PathFigure(.45*a,.7*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ge=.05,pe=se*.05,we=.175,be=.95,re=new go.PathFigure((we-ge)*a,be*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be-ge)*y,(we-ge)*a,(be-pe)*y,(we-pe)*a,(be-ge)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(we+ge)*a,be*y,(we+pe)*a,(be-ge)*y,(we+ge)*a,(be-pe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be+ge)*y,(we+ge)*a,(be+pe)*y,(we+pe)*a,(be+ge)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(we-ge)*a,be*y,(we-pe)*a,(be+ge)*y,(we-ge)*a,(be+pe)*y));var ge=.05,pe=se*.05,we=.375,be=.95,oe=new go.PathFigure((we-ge)*a,be*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be-ge)*y,(we-ge)*a,(be-pe)*y,(we-pe)*a,(be-ge)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(we+ge)*a,be*y,(we+pe)*a,(be-ge)*y,(we+ge)*a,(be-pe)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be+ge)*y,(we+ge)*a,(be+pe)*y,(we+pe)*a,(be+ge)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(we-ge)*a,be*y,(we-pe)*a,(be+ge)*y,(we-ge)*a,(be+pe)*y));var ge=.05,pe=se*.05,we=.625,be=.95,ne=new go.PathFigure((we-ge)*a,be*y,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be-ge)*y,(we-ge)*a,(be-pe)*y,(we-pe)*a,(be-ge)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(we+ge)*a,be*y,(we+pe)*a,(be-ge)*y,(we+ge)*a,(be-pe)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be+ge)*y,(we+ge)*a,(be+pe)*y,(we+pe)*a,(be+ge)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(we-ge)*a,be*y,(we-pe)*a,(be+ge)*y,(we-ge)*a,(be+pe)*y));var ge=.05,pe=se*.05,we=.825,be=.95,xe=new go.PathFigure((we-ge)*a,be*y,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be-ge)*y,(we-ge)*a,(be-pe)*y,(we-pe)*a,(be-ge)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(we+ge)*a,be*y,(we+pe)*a,(be-ge)*y,(we+ge)*a,(be-pe)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,we*a,(be+ge)*y,(we+ge)*a,(be+pe)*y,(we+pe)*a,(be+ge)*y)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(we-ge)*a,be*y,(we-pe)*a,(be+ge)*y,(we-ge)*a,(be+pe)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var re=.05,oe=se*.05,ne=.35,ge=.775,pe=new go.PathFigure((ne-re)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ge-re)*y,(ne-re)*a,(ge-oe)*y,(ne-oe)*a,(ge-re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+re)*a,ge*y,(ne+oe)*a,(ge-re)*y,(ne+re)*a,(ge-oe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(ge+re)*y,(ne+re)*a,(ge+oe)*y,(ne+oe)*a,(ge+re)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-re)*a,ge*y,(ne-oe)*a,(ge+re)*y,(ne-re)*a,(ge+oe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ce,a,y){var x=new go.Geometry,b=.3,E=se*.3,z=.5,re=.7,oe=new go.PathFigure((z-b)*a,re*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y));var ne=new go.PathFigure(0,.7*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var E=new go.PathFigure(0,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*.5,z=.5,re=.5,oe=new go.PathFigure((z-b)*a,re*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y));var ne=new go.PathFigure(.15*a,.5*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ce,a,y){var x=new go.Geometry,b=.5,E=se*.5,z=.5,re=.5,oe=new go.PathFigure((z-b)*a,re*y,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y).close()),b=.05,E=se*.05,z=.5,re=.8;var ne=new go.PathFigure((z-b)*a,re*y,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re-b)*y,(z-b)*a,(re-E)*y,(z-E)*a,(re-b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,re*y,(z+E)*a,(re-b)*y,(z+b)*a,(re-E)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(re+b)*y,(z+b)*a,(re+E)*y,(z+E)*a,(re+b)*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,re*y,(z-E)*a,(re+b)*y,(z-b)*a,(re+E)*y).close()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var E=new go.PathFigure(0,y*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var E=new go.PathFigure(.126*a,.85*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var re=new go.PathFigure(.678*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var oe=new go.PathFigure(.5*a,.1*y,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var E=new go.PathFigure(a*.204,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var re=new go.PathFigure(a*.612,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var oe=new go.PathFigure(a*.816,y,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var E=new go.PathFigure(a*.055,.07*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var re=new go.PathFigure(a*.055,.18*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var oe=new go.PathFigure(a*1,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var oe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ce,a,y){var x=new go.Geometry,b=8,E=b*se,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var re=new go.PathFigure(a*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var oe=new go.PathFigure(a*.83,y*1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ne=new go.PathFigure(a*.78,y*.05,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ce,a,y){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*se,E=y*.8,z=new go.Geometry,re=new go.PathFigure(x,0,!0);return z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-b,a-b,E)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,E)),re.add(new go.PathSegment(go.PathSegment.Line,x,E)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var E=new go.PathFigure(a*1,y*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ce,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var E=new go.PathFigure(a*.1,y*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ce,a,y){var x=new go.Geometry,b=15,E=b*se,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var E=new go.PathFigure(a*.235,y*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),E.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),E.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ce,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var vt={},wt="5.0",ee={},ae=null,me=!1,Fe=!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":wt=je.toFixed(1);break;case"string":je.match(new RegExp("^[0-9]\\.[0-9]+$"))?wt=je:ze=je;break;case"object":typeof je.is3D!="undefined"?ae=je:ee=je;break;case"boolean":me=je,Fe=!0;break}}ae===null&&(ae={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!Fe&&(me=!0)),ze!==null&&ee.id===void 0&&(ee.id=ze);var He="",qe="",Ke=!1,Ee=null,ce=null,a=null,y=!1,x=null,b=null,E=null,z=null,re=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var oe=function($e){return parseFloat($e)>4?parseFloat($e):5};vt.setHTML5Codebase=function($e,Pt){se=$e,Zt($e,Pt)},vt.setJavaCodebase=vt.setJavaCodebaseVersion=vt.isCompiledInstalled=vt.setPreCompiledScriptPath=vt.setPreCompiledResourcePath=function(){},vt.setHTML5CodebaseVersion=function($e,Pt){var Ft=parseFloat($e);if(Ft!==NaN&&Ft<5){console.log("The GeoGebra HTML5 codebase version "+Ft+" is deprecated. Using version latest instead.");return}Te=$e,ht($e,Pt)},vt.getHTML5CodebaseVersion=function(){return ce},vt.getParameters=function(){return ee},vt.setFontsCSSURL=function($e){z=$e},vt.setGiacJSURL=function($e){},vt.setJNLPFile=function($e){He=$e},vt.setJNLPBaseDir=function($e){},vt.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Pt="auto",Ft=ee.id,Kn,rt=!1,Bt=0;Bt<arguments.length;Bt++){var Ce=arguments[Bt];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Pt=Ce:Ft=arguments[Bt]):typeof Ce=="boolean"?rt=Ce:Ce instanceof HTMLElement&&(Kn=Ce)}yn();function yn(){if(!Be){setTimeout(yn,200);return}Pt=It(Pt);var bn=Kn||document.getElementById(Ft);if(!bn){console.log("possibly bug on ajax loading? ");return}if(vt.removeExistingApplet(bn,!1),ee.width===void 0&&bn.clientWidth&&(ee.width=bn.clientWidth),ee.height===void 0&&bn.clientHeight&&(ee.height=bn.clientHeight),!(ee.width&&ee.height)&&Pt==="html5"&&(delete ee.width,delete ee.height),Ee=Pt,Pt==="screenshot")We(bn,ee);else{var pa=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?pa=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(pa=(!ne()||$e())&&ge()),pa?(Ee="screenshot",Xe(bn,ee,rt,Pt)):ut(bn,ee,rt)}}};function ne(){try{return window.self!==window.top}catch($e){return!0}}function ge(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}vt.getViews=function(){return ae},vt.isJavaInstalled=function(){return!1};var pe=function($e){var Pt=function(Bt){var Ce=JSON.parse(Bt),yn=function($n){return $n.type=="G"||$n.type=="E"},bn=Ce.elements?Ce.elements.filter(yn)[0]:Ce;if(!bn||!bn.url){Ft();return}ee.fileName=bn.url,we(bn.settings||{}),ae.is3D=!0;var pa="https://www.geogebra.org/images/";vt.setPreviewImage(x||bn.previewUrl,pa+"GeoGebra_loading.png",pa+"applet_play.png"),$e()},Ft=function(){ee.onError&&ee.onError(),an("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",rt="/materials/"+ee.material_id+"?scope=basic";be("https://"+Kn+"/api/proxy.php?path="+encodeURIComponent(rt),Pt,Ft)};function we($e){var Pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ft){$e[Ft]=!!$e[Ft]}),Pt.forEach(function(Ft){ee[Ft]===void 0&&$e[Ft]!==void 0&&(ee[Ft]=$e[Ft])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function be($e,Pt,Ft){var Kn=new XMLHttpRequest;Kn.open("GET",$e),Kn.onload=function(){Pt(Kn.responseText)},Kn.onerror=Ft,Kn.send()}vt.isHTML5Installed=function(){return!0},vt.getLoadedAppletType=function(){return Ee},vt.setPreviewImage=function($e,Pt,Ft){x=$e,b=Pt,E=Ft},vt.removeExistingApplet=function($e,Pt){var Ft;typeof $e=="string"&&($e=document.getElementById($e)),Ee=null;var Kn=null;for(Ft=0;Ft<$e.childNodes.length;Ft++){var rt=$e.childNodes[Ft],Bt=rt.className;Bt==="applet_screenshot"?Pt?(rt.style.display="block",Ee="screenshot"):rt.style.display="none":Bt!=="applet_scaler prerender"&&($e.removeChild(rt),Kn=Bt&&Bt.indexOf("appletParameters")!=-1?rt.id:null,Ft--)}var Ce=ee.id!==void 0?ee.id:Kn,yn=window[Ce];yn&&typeof yn.getBase64=="function"&&(yn.remove(),window[Ce]=null)},vt.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var $e=vt.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},vt.startAnimation=function(){var $e=vt.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},vt.stopAnimation=function(){var $e=vt.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},vt.getAppletObject=function(){var $e=ee.id!==void 0?ee.id:"ggbApplet";return window[$e]},vt.resize=function(){};var xe=function($e,Pt,Ft){var Kn=document.createElement("param");Kn.setAttribute("name",Pt),Kn.setAttribute("value",Ft),$e.appendChild(Kn)},Se=function($e){return $e&&$e!=="false"},ut=function($e,Pt,Ft){oe(ce)<=4.2&&(Ft=!0);var Kn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ce||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Kn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var rt=document.createElement("div");rt.classList.add("appletParameters","notranslate");var Bt=Pt.width,Ce=Pt.height;if(Pt.disableAutoScale=Pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Pt.disableAutoScale,Pt.width!==void 0)if(oe(ce)<=4.4)Se(Pt.showToolBar)&&(Pt.height-=7),Se(Pt.showAlgebraInput)&&(Pt.height-=37),Pt.width<605&&Se(Pt.showToolBar)&&(Pt.width=605,Bt=605);else{var yn=100;(Se(Pt.showToolBar)||Se(Pt.showMenuBar))&&(Pt.hasOwnProperty("customToolBar")&&(Pt.customToolbar=Pt.customToolBar),yn=Se(Pt.showMenuBar)?245:155),Bt<yn&&(Pt.width=yn,Bt=yn)}rt.style.border="none",rt.style.display="inline-block";for(var bn in Pt)Pt.hasOwnProperty(bn)&&bn!=="appletOnLoad"&&rt.setAttribute("data-param-"+bn,Pt[bn]);z&&rt.setAttribute("data-param-fontscssurl",z),vt.resize=function(){GGBAppletUtils.responsiveResize($e,Pt)},window.addEventListener("resize",function(_n){vt.resize()});var pa=typeof Pt.appletOnLoad=="function"?Pt.appletOnLoad:function(){};if(!Ft&&Pt.width!==void 0){Pt.hasOwnProperty("showSplash")||rt.setAttribute("data-param-showSplash","false");var $n=$e.querySelector(".applet_scaler.prerender"),Jt=$n!==null;if(Jt)var Ge=$n.querySelector(".ggb_preview");else{var Ge=xt(Bt,Ce,Pt.borderColor,!1);$n=document.createElement("div"),$n.className="applet_scaler",$n.style.position="relative",$n.style.display="block",$n.style.width=Bt+"px",$n.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner($n,"66%"),oe(ce)>=5?(Pt.appletOnLoad=function(_n){var Ie=$e.querySelector(".ggb_preview");Ie&&Ie.parentNode.removeChild(Ie),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner($n),window.GGBT_wsf_view&&$(window).trigger("resize"),pa(_n)},Jt||$n.appendChild(Ge)):rt.appendChild(Ge),$n.appendChild(rt),Jt||$e.appendChild($n),setTimeout(function(){vt.resize()},1)}else{var Me=document.createElement("div");Me.className="applet_scaler",Me.style.position="relative",Me.style.display="block",Me.appendChild(rt),$e.appendChild(Me),Pt.appletOnLoad=function(_n){vt.resize(),pa(_n)}}function pt(_n,Ie){Ie&&typeof Ie.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(_n,Ie.appletOnLoad):renderGGBElement(_n),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ie)}function zt(_n,Ie){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:_n,params:Ie}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(tt){pt(tt.article,tt.params)}),html5AppletsToProcess=null)},oe(ce)<5&&(_n.className+=" geogebraweb")):pt(_n,Ie)}if(Kn){scriptLoadStarted=!0;for(var Xt=0;Xt<rt.childNodes.length;Xt++){var wn=rt.childNodes[Xt].tagName;wn==="TABLE"&&(rt.removeChild(rt.childNodes[Xt]),Xt--)}if(ggbHTML5LoadedScript!==null){var Yn=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Yn!=null&&Yn.parentNode.removeChild(Yn)}var qt=document.createElement("script"),Ut=function(){zt(rt,Pt)};qt.src=qe+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ce,ggbHTML5LoadedScript=qt.src,an("GeoGebra HTML5 codebase loaded: '"+qe+"'.",Pt),!se&&(!Te||Te=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Ut()):qe.requirejs?__webpack_require__.e(12).then(function(){var _n=[__webpack_require__(12)];Ut.apply(null,_n)}.bind(this)).catch(__webpack_require__.oe):(qt.onload=Ut,$e.appendChild(qt))}else zt(rt,Pt);Pt.height=Ce,Pt.width=Bt},We=function($e,Pt,Ft){var Kn=xt(Pt.width,Pt.height,Pt.borderColor,Ft),rt=document.createElement("div");rt.style.position="relative",rt.style.display="block",rt.style.width=Pt.width+"px",rt.style.height=Pt.height+"px",rt.className="applet_screenshot applet_scaler"+(Ft?" applet_screenshot_play":""),rt.appendChild(Kn);var Bt=GGBAppletUtils.getScale(Pt,$e,Ft);Ft?($e.appendChild(st()),window.GGBT_wsf_view||($e.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(rt,"66%"),$e.appendChild(rt),Bt!==1&&!isNaN(Bt)&&(GGBAppletUtils.scaleElement(rt,Bt),rt.style.width=Pt.width+"px",rt.style.height=Pt.height+"px",rt.parentNode.style.width=Pt.width*Bt+"px",rt.parentNode.style.height=Pt.height*Bt+"px"),vt.resize=function(){Kt($e,Kn,rt,Ft)},window.addEventListener("resize",function(Ce){vt.resize()}),vt.resize()};function Kt($e,Pt,Ft,Kn){if($e.contains(Pt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if($e.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition($e)}var rt=GGBAppletUtils.getScale(ee,$e,Kn);Ft.parentNode!==null&&(!isNaN(rt)&&rt!==1?(GGBAppletUtils.scaleElement(Ft,rt),Ft.parentNode.style.width=ee.width*rt+"px",Ft.parentNode.style.height=ee.height*rt+"px"):(GGBAppletUtils.scaleElement(Ft,1),Ft.parentNode.style.width=ee.width+"px",Ft.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter($e),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}vt.onExitFullscreen=function($e,Pt){Pt.appendChild($e)};var Xe=function($e,Pt,Ft,Kn){We($e,Pt,!0);for(var rt=function(){var yn=[];for(Ce=0;Ce<$e.childNodes.length;Ce++)yn.push($e.childNodes[Ce]);if(window.GGBT_wsf_view){var bn=window.GGBT_wsf_view.renderFullScreen($e,Pt.id),pa=document.getElementById("fullscreencontainer"),$n=jQuery($e).find(".fullscreencontent");$n.length>0?(bn.remove(),$n.attr("id","fullscreencontent").show(),jQuery(pa).append($n),window.dispatchEvent(new Event("resize"))):ut(bn,Pt,!1),window.GGBT_wsf_view.launchFullScreen(pa)}else Ee=Kn,ut($e,Pt,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<yn.length;Ce++)$e.removeChild(yn[Ce])},Bt=$e.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<Bt.length;Ce++)Bt[Ce].addEventListener("click",rt,!1),Bt[Ce].addEventListener("ontouchstart",rt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload($e),ge()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},st=function(){var $e=document.createElement("div");if($e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Pt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Ft=document.createElement("style");Ft.styleSheet?Ft.styleSheet.cssText=Pt:Ft.appendChild(document.createTextNode(Pt)),document.getElementsByTagName("head")[0].appendChild(Ft)}return $e},xt=function($e,Pt,Ft,Kn){var rt=document.createElement("div");rt.className="ggb_preview",rt.style.position="absolute",rt.style.zIndex="90",rt.style.width=$e-2+"px",rt.style.height=Pt-2+"px",rt.style.top="0px",rt.style.left="0px",rt.style.overflow="hidden",rt.style.backgroundColor="white";var Bt="lightgrey";Ft!==void 0&&(Ft==="none"?Bt="transparent":Bt=Ft),rt.style.border="1px solid "+Bt;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 yn,bn,pa;if(!Kn){yn=document.createElement("img"),yn.style.position="absolute",yn.style.zIndex="1001",yn.style.opacity=1,Ce.style.opacity=.3,bn=360,bn>$e/4*3&&(bn=$e/4*3),pa=bn/5.8,yn.setAttribute("src",b),yn.setAttribute("width",bn),yn.setAttribute("height",pa);var $n=($e-bn)/2,Jt=(Pt-pa)/2;yn.style.left=$n+"px",yn.style.top=Jt+"px",rt.appendChild(yn)}}return rt.appendChild(Ce),rt},It=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},Gt=["web","webSimple","web3d","tablet","tablet3d","phone"],ht=function($e,Pt){if(ce=$e,Pt){Zt(ce,!0);return}var Ft=!me;if(Ft){var Kn=oe(ce);!isNaN(Kn)&&Kn<4.4&&(Ft=!1)}var rt,Bt;window.location.protocol.substr(0,4)==="http"?rt=window.location.protocol:rt="http:";var Ce=ce.indexOf("//");Ce>0?Bt=ce:Ce===0?Bt=rt+ce:Bt="https://www.geogebra.org/apps/5.2.814.0/";for(var yn in Gt)if(ce.slice(Gt[yn].length*-1)===Gt[yn]||ce.slice((Gt[yn].length+1)*-1)===Gt[yn]+"/"){Zt(Bt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ft&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Se(ee.showToolBar)&&!Se(ee.showMenuBar)&&!Se(ee.showAlgebraInput)&&!Se(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Bt+="webSimple/":Bt+="web3d/",Zt(Bt,!1)},Zt=function($e,Pt){if($e.requirejs){qe=$e;return}$e.slice(-1)!=="/"&&($e+="/"),qe=$e,Pt===null&&(Pt=$e.indexOf("http")===-1),Ke=Pt,a="web.nocache.js",y=!1;var Ft=qe.split("/");Ft.length>1&&(!Pt&&Ft[Ft.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Gt.indexOf(Ft[Ft.length-2])>=0&&(a=Ft[Ft.length-2]+".nocache.js")),Ft=$e.split("/"),ce=Ft[Ft.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&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Kn+" is deprecated. Using version latest instead."),ht("5.0",Pt))},an=function($e,Pt){window.console&&window.console.log&&(!Pt||typeof Pt.showLogging=="undefined"||Pt.showLogging&&Pt.showLogging!=="false")&&console.log($e)};ee.material_id!==void 0?pe(hn):hn();function hn(){var $e=wt;Te!==null?$e=Te:parseFloat($e)<5&&($e="5.0"),ht($e,!1),se!==null&&Zt(se,Ke),Be=!0}return vt},GGBAppletUtils=function(){"use strict";function vt(){return window.GGBT_wsf_edit!==void 0}function wt(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,a=0,y=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),a=Ee):(Ee=window.innerWidth,ce=window.innerHeight,a=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=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(Be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,E=40)}}return Be&&((se===void 0||!se)&&Te>0&&Te+y<Ee?Ee=Te:Ee-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(ce-=E)),{width:Ee,height:ce}}function ae(Be,Te,se,Ze,je){if(Be.isScreenshoGenerator)return 1;var He=Ze!==void 0&&Ze,qe=Be.noScaleMargin!=null&&Be.noScaleMargin,Ke=function(re){return re&&re!=="false"},Ee=Ke(Be.autoHeight),ce=ee(Te,Be.width,se,Ee,He&&window.GGBT_wsf_view||qe,je),a=parseInt(ce.width),y=Be.width,x=Be.height;if(y===void 0){var b=Te.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var E=a/y,z=He?1:ce.height/x;return se!==void 0&&!se&&(E=Math.min(1,E),z=Math.min(1,z)),Math.min(E,z)}function me(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=ae(Be,Te,He,se,Be.scaleContainerClass);else return Ze;return He&&(!Be.hasOwnProperty("scale")||Ze===1)?je:Math.min(Ze,je)}function Fe(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);vt()&&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",wt(je,Ze)):(wt(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()&&Fe(Be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(se).parents(".content-added-content"))}}return{responsiveResize:ze,isFlexibleWorksheetEditor:vt,positionCenter:Fe,getScale:me,scaleElement:wt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var vt=n.location.search;return vt.indexOf(J)!=-1||vt.indexOf(K)!=-1}function q(vt,wt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(vt){var wt=s[L].bindings;s[L].bindings=function(){for(var ee=wt?wt():{},ae=vt[webModule.__softPermutationId],me=O;me<ae.length;me++){var Fe=ae[me];ee[Fe[O]]=Fe[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var vt=o.createElement(Q);if(vt.id=L,vt.style.cssText=R+S,vt.tabIndex=-1,o.body.appendChild(vt),t=vt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var wt=document.compatMode==U?V:W;t.write(wt+X),t.close()}}}function w(vt){function wt(ae){function me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Fe=me();if(Fe){ae();return}function ze(){if(!Fe){if(!me())return;Fe=!0,ae(),o.removeEventListener&&o.removeEventListener(Z,ze,!1),Be&&clearInterval(Be)}}o.addEventListener&&o.addEventListener(Z,ze,!1);var Be=setInterval(function(){ze()},$)}function ee(ae){var me=u(),Fe=me.body,ze=me.createElement(_);ze.language=ab,ze.crossOrigin=W,ze.src=ae,webModule.__errFn&&(ze.onerror=function(){webModule.__errFn(L,new Error(bb+ae))}),Fe.appendChild(ze)}wt(function(){ee(vt)})}webModule.__startLoadingFragment=function(vt){return C(vt)},webModule.__installRunAsyncCode=function(vt){var wt=u(),ee=wt.body,ae=wt.createElement(_);ae.language=ab,ae.text=vt,ee.appendChild(ae),ee.removeChild(ae)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(vt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(vt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(vt){var wt=c[vt];return wt==null?null:wt},r=d,webModule.__errFn=e}function B(){function vt(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 wt(Be){if(!Be.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=Be+vb,Be=vt(Te.src)}return Be}function ee(){var Be=__gwt_getMetaProperty(wb);return Be!=null?Be:W}function ae(){for(var Be=o.getElementsByTagName(_),Te=O;Te<Be.length;++Te)if(Be[Te].src.indexOf(xb)!=-1)return vt(Be[Te].src);return W}function me(){var Be=o.getElementsByTagName(yb);return Be.length>O?Be[Be.length-P].href:W}function Fe(){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=ae()),ze==W&&(ze=me()),ze==W&&Fe()&&(ze=vt(o.location.href)),ze=wt(ze),ze}function C(vt){return vt.match(/^\//)||vt.match(/^[a-zA-Z]+:\/\//)?vt:webModule.__moduleBase+vt}function D(){var vt=[],wt=O,ee=[],ae=[];function me(Be){var Te=ae[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 Fe;try{Fe=Cb;var ze=Fe.indexOf(Db);ze!=-1&&(wt=parseInt(Fe.substring(ze+P),$),Fe=Fe.substring(O,ze))}catch(Be){}return webModule.__softPermutationId=wt,C(Fe+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(vt,wt,ee){"use strict";ee.d(wt,{Ax:function(){return ze},Ds:function(){return Be},KI:function(){return se},SI:function(){return Fe},f1:function(){return me}});var ae=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 Fe(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)},a=He&&!qe;clearTimeout(qe),qe=setTimeout(ce,je),a&&Ze.apply(Ke,Ee)}}const Te=!0,se=ae.Z.API_SERVER},63205:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return qe}});var ae=ee(67294),me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Fe=ee(94184),ze=ee.n(Fe),Be=ee(57953),Te=ee(15979),se=ee(33170),Ze=ee(28706),je=(Ke,Ee,ce)=>new Promise((a,y)=>{var x=z=>{try{E(ce.next(z))}catch(re){y(re)}},b=z=>{try{E(ce.throw(z))}catch(re){y(re)}},E=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);E((ce=ce.apply(Ke,Ee)).next())}),qe=({data:Ke,className:Ee,fullWidth:ce,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,ae.useRef)(null),re=(0,ae.useRef)(null),oe=(0,ae.useRef)(null),ne=(0,ae.useRef)(null),[ge,pe]=(0,ae.useState)(!1),[we,be]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),Ke!=null&&Ke.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",Ke!=null&&Ke.src&&xe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[Ke==null?void 0:Ke.visible]);const xe=()=>je(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Xe=yield(0,Ze.ZJ)(Ke==null?void 0:Ke.src);z.current.src="",z.current.src=Xe,z.current.onload=function(){Kt()},pe(!1),be("")}),Se=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",y()},ut=Xe=>je(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const st=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ke.title,file:Xe.dataUrl}});st!=null&&st.id&&!E?(yield(0,se.ZP)(`/api/attachments/${Ke.id}/add_subitem.json`,{method:"post",body:{subitem_id:st==null?void 0:st.id,settings:JSON.stringify(Xe.state)}})).status===0&&x():st!=null&&st.id&&x(st),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",pe(!1),be("")}),We=()=>{const Xe=document.querySelector('a[href="https://markerjs.com/"]');Xe&&Xe.parentNode&&(Xe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(xt=>{const It=document.querySelector(xt.name);It&&It.setAttribute("title",xt.title)})},Kt=()=>{re.current=new Te.hP(z.current),re.current.targetRoot=ne.current,re.current.addEventListener("render",ut),re.current.addEventListener("beforeclose",Se),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),Ke!=null&&Ke.snapshotData&&re.current.restoreState(Ke.snapshotData),setTimeout(()=>{window.scrollTo(0,0),We()},300)};return ae.createElement(ae.Fragment,null,(Ke==null?void 0:Ke.visible)&&ae.createElement(Be.Z,{spinning:ge,tip:we,style:{position:"absolute"}},ae.createElement("div",{ref:ne,className:ze()(me.imageDimensions,Ee,ce?me.fullWidth:""),style:a},ae.createElement("img",{className:me.img,ref:z}))))}},36527:function(vt,wt,ee){"use strict";var ae=ee(67294),me=ee(71230),Fe=ee(15746),ze=ee(66368),Be=ee(71577),Te=ee(85725),se=ee(71736),Ze=ee(84279),je=ee(67294);const He=(0,ae.forwardRef)(({callback:qe,showSaveButton:Ke,value:Ee=""},ce)=>{const a=(0,ae.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
y=b + r\\text{sin}\\theta \r
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\left\\{\\begin{matrix} \r
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
\\end{matrix}\\right. \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
a \\perp \\alpha \\ \r
|
|
b \\perp \\alpha \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
a \\perp m,a \\perp n \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
a^{2}+b^{2}=c^{2} \r
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
a,b \\in R^{+} \\ \r
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
a,b \\in R \\ \r
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
P \\left( S \\right) =1 \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
\\forall A \\in S \\\\ \r
|
|
P \\left( A \\right) \\ge 0 \r
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
P_{n}=n! \\\\ \r
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(me.Z,{className:se.Z.lists,gutter:[10,10]},y.map((re,oe)=>je.createElement(Fe.Z,{flex:"110px",className:se.Z.item},je.createElement("div",null,je.createElement(Te.Z,{value:`$$${re.value}$$`}),re.name),je.createElement("div",{className:se.Z.children},re.children.map((ne,ge)=>je.createElement("div",{key:ge},je.createElement("h1",null,ne.name),je.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,we)=>je.createElement(Fe.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((re,oe)=>je.createElement(Fe.Z,{flex:"110px",className:se.Z.item},je.createElement("div",null,je.createElement(Te.Z,{value:"`$$"+re.value+"$$`"}),re.name),je.createElement("div",{className:se.Z.children},re.children.map((ne,ge)=>je.createElement("div",{key:ge},ne.name&&je.createElement("h1",null,ne.name),je.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,we)=>je.createElement(Fe.Z,{key:we,onClick:()=>b(pe),className:se.Z.diamond},je.createElement(Te.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],z=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var oe=re.innerText;return qe&&qe(oe),oe};return(0,ae.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:a,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")))});wt.Z=He},57444:function(vt,wt,ee){"use strict";ee.d(wt,{h:function(){return re}});var ae=ee(67294),me=ee(42563),Fe=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,a=(oe,ne,ge)=>ne in oe?je(oe,ne,{enumerable:!0,configurable:!0,writable:!0,value:ge}):oe[ne]=ge,y=(oe,ne)=>{for(var ge in ne||(ne={}))Ee.call(ne,ge)&&a(oe,ge,ne[ge]);if(Ke)for(var ge of Ke(ne))ce.call(ne,ge)&&a(oe,ge,ne[ge]);return oe},x=(oe,ne)=>He(oe,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"]};wt.Z=({callback:oe,onCancel:ne})=>{const[ge,pe]=(0,ae.useState)("python");function we(xe){pe(z[xe][1])}function be(xe){oe(xe)}return ae.createElement(Fe.default,x(y({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),ae.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(me.default,{getPopupContainer:xe=>xe.parentNode,onChange:we},Object.keys(z).map(xe=>ae.createElement(b,{key:xe,value:xe},z[xe][0])))),ae.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(re,{mode:ge})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ze.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function re({value:oe,onChange:ne,mode:ge,options:pe={}}){const we=(0,ae.useRef)(),[be,xe]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(be){let Se=function(ut){const We=ut.getValue();ne&&ne(We)};return be.on("change",Se),()=>{be.off("change",Se)}}},[be,ne]),(0,ae.useEffect)(()=>{be&&be.setOption("mode",ge)},[be,ge]),(0,ae.useEffect)(()=>{be&&(oe!==be.getValue()||oe==="")&&setTimeout(()=>{be.setValue(oe||"")},300)},[be,oe]),(0,ae.useEffect)(()=>{if(we.current&&!be){const Se=Te().fromTextArea(we.current,y({mode:ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));xe(Se)}},[we.current,be]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:we}))}},35567:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return zn}});var ae=ee(67294),me=ee(4631),Fe=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:_e="",className:lt,showTextOnly:Ve,showLines:jt,style:xn={}})=>{const Jn=(0,ae.useMemo)(()=>"",[_e]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:Jn}}))},Ee=ee(67294),ce=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(_e,lt,Ve)=>lt in _e?ce(_e,lt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):_e[lt]=Ve,re=(_e,lt)=>{for(var Ve in lt||(lt={}))b.call(lt,Ve)&&z(_e,Ve,lt[Ve]);if(x)for(var Ve of x(lt))E.call(lt,Ve)&&z(_e,Ve,lt[Ve]);return _e},oe=(_e,lt)=>a(_e,y(lt));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 ge({onActionCallback:_e,title:lt,icon:Ve,actionName:jt,className:xn="",children:Jn}){function Ka(){_e(jt)}return Ee.createElement("a",{title:lt,className:xn,onClick:Ka},Ee.createElement("i",{className:`${Ve}`}),Jn)}var pe=({watch:_e,showNullButton:lt,showNullProgramButton:Ve,onActionCallback:jt,fullScreen:xn,insertTemp:Jn,hidetoolBar:Ka,extraUse:ua})=>{const Wn=[...ne,{title:`${_e?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${_e?"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(ge,oe(re({},Ma),{onActionCallback:jt})):Ee.createElement("span",{className:"v-line"}))),lt?Ee.createElement("li",null,Ee.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:jt},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(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:jt},Ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ee.createElement("li",null,Ee.createElement(ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:jt},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Jn&&Ee.createElement("li",null,Ee.createElement(ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Jn}`,onActionCallback:jt},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ua&&Ee.createElement("li",null,ua),Ee.createElement("li",{className:"btn-full-screen"},Ee.createElement(ge,{icon:`${xn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:xn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:jt})))},we=ee(76621),be=ee(22150),xe=ee(69677),Se=ee(71577),ut=Object.defineProperty,We=Object.defineProperties,Kt=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,It=(_e,lt,Ve)=>lt in _e?ut(_e,lt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):_e[lt]=Ve,Gt=(_e,lt)=>{for(var Ve in lt||(lt={}))st.call(lt,Ve)&&It(_e,Ve,lt[Ve]);if(Xe)for(var Ve of Xe(lt))xt.call(lt,Ve)&&It(_e,Ve,lt[Ve]);return _e},ht=(_e,lt)=>We(_e,Kt(lt));const Zt={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:_e,onCancel:lt})=>{function Ve(jt){_e(jt)}return ae.createElement(be.default,ht(Gt({},Zt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ve,style:{width:500}}),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(xe.default,null)),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(xe.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Se.ZP,{type:"ghost",onClick:lt},"\u53D6\u6D88")))},hn=ee(57444),$e=ee(70859),Pt=ee(14446),Ft=ee(71230),Kn=ee(63205),rt=ee(67294),Bt=({callback:_e,onCancel:lt})=>{const Ve=document.createElement("canvas"),jt=Ve.getContext("2d");Ve.width=1e3,Ve.height=800,jt.fillStyle="#ffffff",jt.fillRect(0,0,Ve.width,Ve.height);const xn=Ve.toDataURL("image/png");return rt.createElement(Pt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},rt.createElement(Ft.Z,{style:{height:"100vh"}},rt.createElement(Kn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:xn,visible:!0,title:String(Date.now())},onOk:Jn=>{_e({src:Jn.url})},onClose:lt})))},Ce=ee(23495);function yn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(yn,go.CommandHandler),yn.prototype.canAlignSelection=function(){var _e=this.diagram;return!(_e===null||_e.isReadOnly||_e.isModelReadOnly||_e.selection.count<2)},yn.prototype.alignLeft=function(){var _e=this.diagram;_e.startTransaction("aligning left");var lt=1/0;_e.selection.each(function(Ve){Ve instanceof go.Link||(lt=Math.min(Ve.position.x,lt))}),_e.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(lt,Ve.position.y))}),_e.commitTransaction("aligning left")},yn.prototype.alignRight=function(){var _e=this.diagram;_e.startTransaction("aligning right");var lt=-1/0;_e.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var jt=Ve.actualBounds.x+Ve.actualBounds.width;lt=Math.max(jt,lt)}}),_e.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(lt-Ve.actualBounds.width,Ve.position.y))}),_e.commitTransaction("aligning right")},yn.prototype.alignTop=function(){var _e=this.diagram;_e.startTransaction("alignTop");var lt=1/0;_e.selection.each(function(Ve){Ve instanceof go.Link||(lt=Math.min(Ve.position.y,lt))}),_e.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.position.x,lt))}),_e.commitTransaction("alignTop")},yn.prototype.alignBottom=function(){var _e=this.diagram;_e.startTransaction("aligning bottom");var lt=-1/0;_e.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var jt=Ve.actualBounds.y+Ve.actualBounds.height;lt=Math.max(jt,lt)}}),_e.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.actualBounds.x,lt-Ve.actualBounds.height))}),_e.commitTransaction("aligning bottom")},yn.prototype.alignCenterX=function(){var _e=this.diagram,lt=_e.selection.first();if(lt){_e.startTransaction("aligning Center X");var Ve=lt.actualBounds.x+lt.actualBounds.width/2;_e.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(Ve-jt.actualBounds.width/2,jt.actualBounds.y))}),_e.commitTransaction("aligning Center X")}},yn.prototype.alignCenterY=function(){var _e=this.diagram,lt=_e.selection.first();if(lt){_e.startTransaction("aligning Center Y");var Ve=lt.actualBounds.y+lt.actualBounds.height/2;_e.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(jt.actualBounds.x,Ve-jt.actualBounds.height/2))}),_e.commitTransaction("aligning Center Y")}},yn.prototype.alignColumn=function(_e){var lt=this.diagram;lt.startTransaction("align Column"),_e===void 0&&(_e=0),_e=parseFloat(_e);var Ve=new Array;lt.selection.each(function(ua){ua instanceof go.Link||Ve.push(ua)});for(var jt=0;jt<Ve.length-1;jt++){var xn=Ve[jt],Jn=xn.actualBounds.y+xn.actualBounds.height+_e,Ka=Ve[jt+1];Ka.move(new go.Point(xn.actualBounds.x,Jn))}lt.commitTransaction("align Column")},yn.prototype.alignRow=function(_e){_e===void 0&&(_e=0),_e=parseFloat(_e);var lt=this.diagram;lt.startTransaction("align Row");var Ve=new Array;lt.selection.each(function(ua){ua instanceof go.Link||Ve.push(ua)});for(var jt=0;jt<Ve.length-1;jt++){var xn=Ve[jt],Jn=xn.actualBounds.x+xn.actualBounds.width+_e,Ka=Ve[jt+1];Ka.move(new go.Point(Jn,xn.actualBounds.y))}lt.commitTransaction("align Row")},yn.prototype.canRotate=function(_e){var lt=this.diagram;return!(lt===null||lt.isReadOnly||lt.isModelReadOnly||lt.selection.count<1)},yn.prototype.rotate=function(_e){_e===void 0&&(_e=90);var lt=this.diagram;lt.startTransaction("rotate "+_e.toString());var lt=this.diagram;lt.selection.each(function(Ve){Ve instanceof go.Link||Ve instanceof go.Group||(Ve.angle+=_e)}),lt.commitTransaction("rotate "+_e.toString())},yn.prototype.pullToFront=function(){var _e=this.diagram;_e.startTransaction("pullToFront");var lt=new go.Map;_e.selection.each(function(Ve){lt.set(Ve.layer,0)}),lt.iteratorKeys.each(function(Ve){var jt=0;Ve.parts.each(function(xn){if(!xn.isSelected){var Jn=xn.zOrder;isNaN(Jn)?xn.zOrder=0:jt=Math.max(jt,Jn)}}),lt.set(Ve,jt)}),_e.selection.each(function(Ve){yn._assignZOrder(Ve,lt.get(Ve.layer)+1)}),_e.commitTransaction("pullToFront")},yn.prototype.pushToBack=function(){var _e=this.diagram;_e.startTransaction("pushToBack");var lt=new go.Map;_e.selection.each(function(Ve){lt.set(Ve.layer,0)}),lt.iteratorKeys.each(function(Ve){var jt=0;Ve.parts.each(function(xn){if(!xn.isSelected){var Jn=xn.zOrder;isNaN(Jn)?xn.zOrder=0:jt=Math.min(jt,Jn)}}),lt.set(Ve,jt)}),_e.selection.each(function(Ve){yn._assignZOrder(Ve,lt.get(Ve.layer)-1-yn._findGroupDepth(Ve))}),_e.commitTransaction("pushToBack")},yn._assignZOrder=function(_e,lt,Ve){Ve===void 0&&(Ve=_e),_e.layer===Ve.layer&&(_e.zOrder=lt),_e instanceof go.Group&&_e.memberParts.each(function(jt){yn._assignZOrder(jt,lt+1,Ve)})},yn._findGroupDepth=function(_e){if(_e instanceof go.Group){var lt=0;return _e.memberParts.each(function(Ve){lt=Math.max(lt,yn._findGroupDepth(Ve))}),lt+1}else return 0},yn.prototype.doKeyDown=function(){var _e=this.diagram;if(_e!==null){var lt=_e.lastInput;if(lt.key==="Up"||lt.key==="Down"||lt.key==="Left"||lt.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)}},yn.prototype._getAllParts=function(){var _e=new Array;return this.diagram.nodes.each(function(lt){_e.push(lt)}),this.diagram.parts.each(function(lt){_e.push(lt)}),_e},yn.prototype._arrowKeyMove=function(){var _e=this.diagram,lt=_e.lastInput,Ve=0,jt=0;if(lt.control||lt.meta)Ve=1,jt=1;else if(_e.grid!==null){var xn=_e.grid.gridCellSize;jt=xn.width,Ve=xn.height}_e.startTransaction("arrowKeyMove"),_e.selection.each(function(Jn){lt.key==="Up"?Jn.move(new go.Point(Jn.actualBounds.x,Jn.actualBounds.y-Ve)):lt.key==="Down"?Jn.move(new go.Point(Jn.actualBounds.x,Jn.actualBounds.y+Ve)):lt.key==="Left"?Jn.move(new go.Point(Jn.actualBounds.x-jt,Jn.actualBounds.y)):lt.key==="Right"&&Jn.move(new go.Point(Jn.actualBounds.x+jt,Jn.actualBounds.y))}),_e.commitTransaction("arrowKeyMove")},yn.prototype._arrowKeySelect=function(){var _e=this.diagram,lt=_e.lastInput,Ve=null;lt.key==="Up"?Ve=this._findNearestPartTowards(270):lt.key==="Down"?Ve=this._findNearestPartTowards(90):lt.key==="Left"?Ve=this._findNearestPartTowards(180):lt.key==="Right"&&(Ve=this._findNearestPartTowards(0)),Ve!==null&&(lt.shift?Ve.isSelected=!0:lt.control||lt.meta?Ve.isSelected=!Ve.isSelected:_e.select(Ve))},yn.prototype._findNearestPartTowards=function(_e){var lt=this.diagram.selection.first();if(lt===null)return null;for(var Ve=lt.actualBounds.center,jt=this._getAllParts(),xn=1/0,Jn=lt,Ka=0;Ka<jt.length;Ka++){var ua=jt[Ka];if(ua!==lt&&ua.canSelect()){var Wn=ua.actualBounds.center,Ma=Ve.directionPoint(Wn),ho=this._angleCloseness(Ma,_e);if(ho<=45){var Rn=Ve.distanceSquaredPoint(Wn);Rn*=1+Math.sin(ho*Math.PI/180),Rn<xn&&(xn=Rn,Jn=ua)}}}return Jn},yn.prototype._angleCloseness=function(_e,lt){return Math.min(Math.abs(lt-_e),Math.min(Math.abs(lt+360-_e),Math.abs(lt-360-_e)))},yn.prototype._arrowKeyTree=function(){var _e=this.diagram,lt=_e.selection.first();if(lt instanceof go.Node){var Ve=_e.lastInput;if(Ve.key==="Right"){if(!lt.isTreeLeaf)if(!lt.isTreeExpanded)_e.commandHandler.canExpandTree(lt)&&_e.commandHandler.expandTree(lt);else{var jt=this._sortTreeChildrenByY(lt).first();jt!==null&&_e.select(jt)}}else if(Ve.key==="Left")if(!lt.isTreeLeaf&<.isTreeExpanded)_e.commandHandler.canCollapseTree(lt)&&_e.commandHandler.collapseTree(lt);else{var xn=lt.findTreeParentNode();xn!==null&&_e.select(xn)}else if(Ve.key==="Up"){var xn=lt.findTreeParentNode();if(xn!==null){var Jn=this._sortTreeChildrenByY(xn),Ka=Jn.indexOf(lt);if(Ka>0){for(var ua=Jn.elt(Ka-1);ua!==null&&ua.isTreeExpanded&&!ua.isTreeLeaf;){var Wn=this._sortTreeChildrenByY(ua);ua=Wn.last()}ua!==null&&_e.select(ua)}else _e.select(xn)}}else if(Ve.key==="Down")if(lt.isTreeExpanded&&!lt.isTreeLeaf){var jt=this._sortTreeChildrenByY(lt).first();jt!==null&&_e.select(jt)}else for(;lt!==null;){var xn=lt.findTreeParentNode();if(xn===null)break;var Jn=this._sortTreeChildrenByY(xn),Ka=Jn.indexOf(lt);if(Ka<Jn.length-1){_e.select(Jn.elt(Ka+1));break}else lt=xn}var Ma=_e.selection.first();Ma!==null&&_e.scrollToRect(Ma.actualBounds)}},yn.prototype._sortTreeChildrenByY=function(_e){var lt=new go.List().addAll(_e.findTreeChildrenNodes());return lt.sort(function(Ve,jt){var xn=Ve.location,Jn=jt.location;return xn.y<Jn.y?-1:xn.y>Jn.y?1:xn.x<Jn.x?-1:xn.x>Jn.x?1:0}),lt},yn.prototype.copyToClipboard=function(_e){go.CommandHandler.prototype.copyToClipboard.call(this,_e),this._lastPasteOffset.set(this.pasteOffset)},yn.prototype.pasteFromClipboard=function(){var _e=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(_e,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),_e},Object.defineProperty(yn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(_e){if(_e!=="move"&&_e!=="select"&&_e!=="scroll"&&_e!=="tree"&&_e!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+_e);this._arrowKeyBehavior=_e}}),Object.defineProperty(yn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(_e){if(!(_e instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+_e);this._pasteOffset.set(_e)}});var bn=yn,pa=ee(18023),$n=ee(15746),Jt=ee(33170),Ge={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Me=ee(67294),pt=(_e,lt,Ve)=>new Promise((jt,xn)=>{var Jn=Wn=>{try{ua(Ve.next(Wn))}catch(Ma){xn(Ma)}},Ka=Wn=>{try{ua(Ve.throw(Wn))}catch(Ma){xn(Ma)}},ua=Wn=>Wn.done?jt(Wn.value):Promise.resolve(Wn.value).then(Jn,Ka);ua((Ve=Ve.apply(_e,lt)).next())});function zt({onCancel:_e,callback:lt}){let Ve=(0,ae.useRef)(),jt=(0,ae.useRef)(),xn=(0,ae.useRef)(),Jn=(0,ae.useRef)(!1);const Ka=(0,ae.useRef)(!1),[ua,Wn]=(0,ae.useState)(0);function Ma(){const Rn=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(jt.current,{padding:20,grid:Rn(Ce.s_,"Grid",Rn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rn(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Tn=>{var va=Tn.diagram.commandHandler.addTopLevelParts(Tn.diagram.selection,!0);va||Tn.diagram.currentTool.doCancel()},commandHandler:Rn(bn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Tn=>{var va=Tn.subject;va.location=va.location.copy().snapToGridPoint(Tn.diagram.grid.gridOrigin,Tn.diagram.grid.gridCellSize),setTimeout(()=>{Tn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Tn=>{var va=Tn.subject;setTimeout(()=>{Tn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Tn=>{var va=Tn.parameter.part;va.invalidateConnectedLinks();var Va=Tn.subject;Tn.diagram.toolManager.linkingTool.isForwards?Va.toNode.invalidateConnectedLinks():Va.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ve.current.nodeTemplate=Rn(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),Rn(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")),Rn(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Rn(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=Rn("ToolTip",Rn(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},Rn(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),Rn(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function ot(Tn,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,Tn);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 Rn(Ce.bn,{figure:va,alignment:Tn,alignmentFocus:Tn.opposite(),width:Tn.equals(Ce.z6.Top)||Tn.equals(Ce.z6.Bottom)?25:18,height:Tn.equals(Ce.z6.Top)||Tn.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 tn(Tn){return Rn(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)}},Tn||{})}Ve.current.nodeTemplate.selectionAdornmentTemplate=Rn(Ce.uz,"Spot",Rn(Ce.Vm,{padding:10}),ot(Ce.z6.Top,"TriangleUp"),ot(Ce.z6.Left,"TriangleLeft"),ot(Ce.z6.Right,"TriangleRight"),ot(Ce.z6.Bottom,"TriangleDown"),tn({alignment:new Ce.z6(.75,0)}));function $t(Tn,va){return(Va,Un)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{Wr.set(Un.part.adornedPart.data,Tn,va)})}}function _t(Tn,va){return va||(va="color"),Rn(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:Tn,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.stroke="dodgerblue",mouseLeave:(Va,Un)=>Un.stroke="lightgray",click:$t(va,Tn),contextClick:$t(va,Tn)})}function jn(){return[Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",_t(no.white,"fill"),_t(no.beige,"fill"),_t(no.extralightblue,"fill"),_t(no.extralightred,"fill"))),Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",_t(no.lightgray,"fill"),_t(no.lightgreen,"fill"),_t(no.lightblue,"fill"),_t(no.lightred,"fill")))]}function Vt(){return[Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",_t(no.black),_t(no.green),_t(no.blue),_t(no.red))),Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",_t(no.white),_t(no.magenta),_t(no.purple),_t(no.orange)))]}function kn(Tn,va){return va||(va="thickness"),Rn(Ce.bn,"LineH",{width:16,height:16,strokeWidth:Tn,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t(va,Tn),contextClick:$t(va,Tn)})}function un(Tn,va){return va||(va="dash"),Rn(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Tn,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t(va,Tn),contextClick:$t(va,Tn)})}function $a(){return[Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",kn(1),kn(2),kn(3),kn(4))),Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",un(null),un([2,4]),un([4,4])))]}function Aa(Tn,va){return va||(va="figure"),Rn(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Tn,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.fill="dodgerblue",mouseLeave:(Va,Un)=>Un.fill="lightgray",click:$t(va,Tn),contextClick:$t(va,Tn)})}Ve.current.nodeTemplate.contextMenu=Rn("ContextMenu",Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",Aa("Rectangle"),Aa("RoundedRectangle"),Aa("Ellipse"),Aa("Diamond"))),Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",Aa("Parallelogram2"),Aa("ManualOperation"),Aa("Procedure"),Aa("Cylinder1"))),Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",Aa("Terminator"),Aa("CreateRequest"),Aa("Document"),Aa("TriangleDown"))),jn(),Vt(),$a()),Ve.current.groupTemplate=Rn(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Tn,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),Rn(Ce.s_,"Auto",{name:"BODY"},Rn(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")),Rn(Ce.Vm,{background:"transparent",margin:20})),Rn(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=Rn(Ce.uz,"Spot",Rn(Ce.s_,"Auto",Rn(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Rn(Ce.Vm,{margin:1.5})),tn({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Ve.current.groupTemplate.contextMenu=Rn("ContextMenu",jn(),Vt(),$a()),Ve.current.linkTemplate=Rn(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",Tn=>Tn>=1?10:0),new Ce.KX("toShortLength","dir",Tn=>Tn>=1?10:0),new Ce.KX("points").makeTwoWay(),Rn(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Rn(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",Tn=>Tn===1)),Rn(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",Tn=>Tn>=1),new Ce.KX("width","thickness",Tn=>7+3*Tn),new Ce.KX("height","thickness",Tn=>7+3*Tn),new Ce.KX("segmentOffset","thickness",Tn=>new Ce.E9(-15,4+1.5*Tn))),Rn(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",Tn=>Tn===2),new Ce.KX("width","thickness",Tn=>7+3*Tn),new Ce.KX("height","thickness",Tn=>7+3*Tn),new Ce.KX("segmentOffset","thickness",Tn=>new Ce.E9(-15,4+1.5*Tn))),Rn(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=Rn(Ce.uz,Rn(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:cr(2)},new Ce.KX("pathPattern","thickness",cr)),tn({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function cr(Tn){return Rn(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Tn+4).toString()+" H3"})}function zr(Tn){var va="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Tn===0?va="M0 0 M16 16 M0 8 L16 8":Tn===2&&(va="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Rn(Ce.bn,{geometryString:va,margin:2,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t("dir",Tn),contextClick:$t("dir",Tn)})}function co(Tn){var va=(Va,Un)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{var _r=Un.part.adornedPart;Wr.set(_r.data,Tn?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(Tn?_r.toNode:_r.fromNode).invalidateConnectedLinks()})};return Rn(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(Tn,va){var Va=0,Un=Ce.z6.RightSide;Tn.equals(Ce.z6.Top)?(Va=270,Un=Ce.z6.TopSide):Tn.equals(Ce.z6.Left)?(Va=180,Un=Ce.z6.LeftSide):Tn.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 Rn(Ce.bn,{alignment:Tn,alignmentFocus:Tn.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=Rn("ContextMenu",Vt(),$a(),Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",zr(0),zr(1),zr(2))),Rn("ContextMenuButton",Rn(Ce.s_,"Horizontal",Rn(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)),Rn(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(Tn){return console.log("shapeName:",Tn),ei.indexOf(Tn)>=0}var Yo=new Ce.YI(xn.current,{maxSelectionCount:1,linkTemplate:Rn(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:Rn(Ce.uz,"Link",{locationSpot:Ce.z6.Center},Rn(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Rn(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),Rn(Ce.bn,{isPanelMain:!0,strokeWidth:2}),Rn(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(Tn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Tn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ve.current.addDiagramListener("TextEdited",function(Tn){var va;const Va=Tn.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=Rn(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Rn(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")),Rn(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=Rn(Ce.s_,"Grid",Rn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rn(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=()=>pt(this,null,function*(){var Rn=Ve.current.makeImage();const no=yield(0,Jt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Rn.src}});lt({src:no.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{Ma()},500),Wn(ua+1),()=>{Ve.current=null}),[]),Me.createElement("div",{ref:Ka,className:Jn.current?`${Ge.maxH60} body-overflow-initial`:"body-overflow-initial"},Me.createElement(Pt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ua,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Me.createElement(Ft.Z,null,Me.createElement($n.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Me.createElement($n.Z,{onClick:()=>{var Rn,no,ot=Ve.current.selection.first();if(Jn.current=!Jn.current,document.activeElement&&ot){let tn=(no=(Rn=document.activeElement)==null?void 0:Rn.value)==null?void 0:no.trim();typeof tn=="string"&&Ve.current.model.commit(function($t){$t.set(ot.data,"text",tn||"\u672A\u547D\u540D"),Ve.current.commandHandler.stopCommand()},"increment")}Wn(ua+1)}},Me.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:_e},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:xn})),Me.createElement("div",{style:{flex:1,position:"relative"}},Me.createElement("div",{ref:jt,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 Xt=zt,wn=ee(78045),Yn=ee(31795);const qt=wn.ZP.Group,Ut={margin:"0 8px"};var _n=({callback:_e,onCancel:lt})=>{function Ve(jt){_e(jt)}return ae.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ve},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Ut},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Ut},"\u884C\u6570"),ae.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(Yn.Z,null)),ae.createElement("span",{style:Ut},"\u5217\u6570"),ae.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(Yn.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Ut},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(be.default.Item,{name:"align"},ae.createElement(qt,null,ae.createElement(wn.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(wn.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(wn.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(wn.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Se.ZP,{type:"ghost",onClick:lt},"\u53D6\u6D88")))},Ie=ee(47897),tt=ee(61016),Qn=ee.n(tt),dt=(0,ae.forwardRef)(({use3d:_e,width:lt,height:Ve,callback:jt,showSaveButton:xn},Jn)=>{const Ka=(0,ae.useRef)(),ua=(0,ae.useRef)(),[Wn,Ma]=(0,ae.useState)(!1),ho=(0,ae.useRef)({id:Ka,appName:"graphing",width:lt||1e3,height:Ve||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{ua.current=new(Qn())(ho.current,!0),window.onload=function(){ua.current.inject("applet_container")}},[]);const Rn=()=>{var no=window.ggbApplet.getPNGBase64(1,!0,72);return jt&&jt(no),no};return(0,ae.useEffect)(()=>{ho.current.appName=Wn?"3D":"graphing",ua.current.inject("applet_container")},[Wn]),(0,ae.useEffect)(()=>{Ma(_e)},[_e]),(0,ae.useImperativeHandle)(Jn,()=>({getImgData:Rn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ka}),ae.createElement(Ft.Z,{align:"middle"},ae.createElement($n.Z,{flex:1},ae.createElement(Ie.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Wn,onChange:no=>Ma(no)})),ae.createElement($n.Z,null,ae.createElement(Se.ZP,{size:"large",onClick:Rn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),rn=ee(36527),Ue=ee(25934),gt=ee(2453);const Mt="link",Wt="upload-image",Rt="add-flowchart",Cn="draw-image",ra="add-flowchart",Vn="code-block",Gn="add-table",Ga="------------",oa={default:Ga,left:`:${Ga}`,center:`:${Ga}:`,right:`${Ga}:`};var ja=ee(99914),Pr=(_e,lt,Ve)=>new Promise((jt,xn)=>{var Jn=Wn=>{try{ua(Ve.next(Wn))}catch(Ma){xn(Ma)}},Ka=Wn=>{try{ua(Ve.throw(Wn))}catch(Ma){xn(Ma)}},ua=Wn=>Wn.done?jt(Wn.value):Promise.resolve(Wn.value).then(Jn,Ka);ua((Ve=Ve.apply(_e,lt)).next())});function Tr(){}let Xr=0;const Rr=1e4,Br="\u2581",to="@\u2581\u2581@",lo="@\u2581@",gr=`
|
|
**\u6A21\u677F\u6807\u9898**
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Pn=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Zn(_e){return/^\d+$/.test(_e)?`${_e}px`:_e}const Dn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Oa={[Dn+"-B"]:"bold",[Dn+"-I"]:"italic"},Ar={[Mt]:"\u6DFB\u52A0\u94FE\u63A5",[Vn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Wt]:"\u6DFB\u52A0\u56FE\u7247",[Cn]:"\u6DFB\u52A0\u753B\u56FE",[Rt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Gn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var zn=({defaultValue:_e="",onChange:lt,width:Ve="100%",height:jt=400,miniToolbar:xn=!1,isFocus:Jn=!1,watch:Ka,insertTemp:ua,mode:Wn="markdown",id:Ma="markdown-editor-id",showResizeBar:ho=!1,noStorage:Rn=!1,showNullButton:no=!1,showNullProgramButton:ot=!1,hidetoolBar:tn=!1,fullScreen:$t=!1,onBlur:_t,onCMBeforeChange:jn,onFullScreen:Vt,className:kn="",disablePaste:un=!1,disabled:$a=!1,disabledFill:Aa=!1,placeholder:cr="",values:zr="",extraUse:co})=>{const[mn,Bi]=(0,ae.useState)(null),[ei,qr]=(0,ae.useState)(_e),[Yo,Tn]=(0,ae.useState)(Ka),[va,Va]=(0,ae.useState)($t),[Un,Wr]=(0,ae.useState)(""),[_r,ti]=(0,ae.useState)(0),[ni,ai]=(0,ae.useState)(jt),[bl,yi]=(0,ae.useState)(!1),Kl=(0,ae.useRef)((0,Ue.Z)()),$l=(0,ae.useRef)(!1),wi=(0,ae.useRef)(),[Xo,hl]=(0,ae.useState)(0),[Cl,Fl]=(0,ae.useState)(0),tl=(0,ae.useRef)(),ki=(0,ae.useRef)(),pl=(0,ae.useRef)(),kr=(0,ae.useRef)(),mt=()=>Pr(void 0,null,function*(){var Ln;const Dt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Kl.current}});(Ln=Dt==null?void 0:Dt.attachments)!=null&&Ln.length&&(console.log("cm:",mn,tl),Dt.attachments.map(Sn=>{Sn.content_type.indexOf("image")>-1?mn.replaceSelection(``):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,ae.useEffect)(()=>{const Ln=window.scrollY||window.pageYOffset;qr(zr),mn==null||mn.setValue(zr),window.scrollTo(0,Ln)},[zr]),(0,ae.useEffect)(()=>{Vt==null||Vt(va)},[va]),(0,ae.useEffect)(()=>{if(tl.current){let Ln=function(Sn,En){var ia;if(un){En.preventDefault();return}const Fa=En.clipboardData;if(Fa){const Xa=Fa.types.toString(),yr=Fa.items;if(Xa==="Files"||Fa.types.indexOf("Files")>-1){if(En.preventDefault(),Wn=="stex")return;try{let sr=yr[1];((ia=yr[0])==null?void 0:ia.kind)==="file"&&(sr=yr[0]);const ea=sr.getAsFile(),ba=ea.name.split(".").pop();(0,$e.I)(ea,Pa=>{var Za,dr,Hr;Pa.id?((Za=ea==null?void 0:ea.type)==null?void 0:Za.indexOf("image"))>-1?Dt.replaceSelection(`<img width="100%" src="/api/attachments/${Pa.id}?type=${Pa.content_type})" alt="" />`):((dr=ea==null?void 0:ea.type)==null?void 0:dr.indexOf("video"))>-1?Dt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Pa.id}"></video>`):((Hr=ea==null?void 0:ea.type)==null?void 0:Hr.indexOf("pdf"))>-1?Dt.replaceSelection(`<a href="/api/attachments/${Pa.id}?type=${ea.type}&disposition=inline" target="_blank">${ea.name}</a>`):Pn.includes(ba)?Dt.replaceSelection(`<a href="/api/attachments/${Pa.id}?type=office&disposition=inline" target="_blank">${ea.name}</a>`):Dt.replaceSelection(`[${ea.name}](/api/attachments/${Pa.id}?type=${Pa.content_type})`):(Pa==null?void 0:Pa.status)===401&&(gt.ZP.warning((Pa==null?void 0:Pa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(sr){gt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Dt=Fe().fromTextArea(tl.current,{mode:Wn,lineNumbers:!xn,lineWrapping:!0,value:_e,autoCloseTags:!ot,autoCloseBrackets:!0});return Dt.on("keyup",function(Sn,En){En.keyCode===8&&(Sn.getValue()==""?Dt.setOption("placeholder",cr):Dt.setOption("placeholder",null))}),Dt.on("keydown",function(Sn,En){if(En.keyCode===8){var ia=en(Sn);ia&&En.preventDefault()}}),Jn&&Dt.focus(),Dt.on("paste",Ln),Dt.on("dragleave",function(Sn,En){ki.current.classList.remove("mouse-hover-md")}),$a&&Dt.on("beforeChange",function(Sn,En){(En.origin==="paste"||En.origin==="+input")&&En.cancel()}),Bi(Dt),()=>{Dt.off("paste",Ln)}}},[]);const At=(0,ae.useCallback)(()=>{if(ki.current)try{}catch(Ln){console.log(Ln,"---- to set md editor body height")}},[ni,ki,va]);(0,ae.useEffect)(()=>{function Ln(){let Dt=new ze.Z(Sn=>{for(let En of Sn)(En.target.offsetHeight>0||En.target.offsetWidth>0)&&(At(),mn.setSize("100%","100%"),mn.refresh())});return Dt.observe(tl.current.parentElement),Dt}if(mn){const Dt=Ln();return()=>{var Sn,En;(Sn=tl.current)!=null&&Sn.parentElement&&Dt.unobserve((En=tl.current)==null?void 0:En.parentElement)}}},[mn,At]),(0,ae.useEffect)(()=>{if(mn){let Ln=[];for(const[Dt,Sn]of Object.entries(Oa)){let En={[Dt]:()=>{Ae(Sn)}};Ln.push(En),mn.addKeyMap(En)}return wi.current=setInterval(()=>{$l.current&&mt()},4e3),()=>{clearInterval(wi.current);for(let Dt of Ln)mn.removeKeyMap(Dt)}}},[mn]),(0,ae.useEffect)(()=>{$t!==va&&Va($t)},[$t]),(0,ja.Z)(()=>{if(!Rn&&_r>0){let Ln=new Date().getTime(),Dt=window.sessionStorage.getItem(Ma);Ln>=_r+Rr&&(!Dt||Dt!==ei)&&(window.sessionStorage.setItem(Ma,ei),yi(!0))}},Rr),(0,ae.useEffect)(()=>{Tn(Ka)},[mn,Ka]),(0,ae.useEffect)(()=>{mn&&Jn&&mn.focus()},[mn,Jn]),(0,ae.useEffect)(()=>{if(Yo&&mn){let Ln=function(Sn){let En=Sn.target;if(kr.current){let ia=En.scrollTop/En.scrollHeight;kr.current.scrollTop=kr.current.scrollHeight*ia}};const Dt=mn.getScrollerElement();return Dt.addEventListener("scroll",Ln),()=>{Dt.removeEventListener("scroll",Ln)}}},[mn,Yo]),(0,ae.useEffect)(()=>{if(mn&&jn){let Ln=function(Dt,Sn){jn(Dt,Sn)};return mn.on("beforeChange",Ln),()=>{mn.off("beforeChange",Ln)}}},[mn,jn]),(0,ae.useEffect)(()=>{if(mn&&_t){let Ln=function(){_t(mn.getValue())};return mn.on("blur",Ln),()=>{mn.off("blur",Ln)}}},[mn,_t]);function en(Ln,Dt){var Sn=Ln.getDoc(),En=Sn.getCursor(),ia=Sn.getLine(En.line),Fa=ia.charAt(En.ch-1),Xa=ia.lastIndexOf("@\u2581@",En.ch),yr=ia.lastIndexOf("@\u2581\u2581@",En.ch),sr=Xa>yr?Xa:yr,ea=Xa>yr?3:4;if(to.indexOf(Fa)===-1)return null;if(console.log("change1:",Dt,Ln,ia,En,sr,Xa,yr,Fa),sr>=0&&En.ch-sr<5){var ba=sr+ea;return Sn.replaceRange("",{line:En.line,ch:sr},{line:En.line,ch:ba}),{line:En.line,ch:ba}}return null}(0,ae.useEffect)(()=>{if(mn){let Ln=function(Dt,Sn){const En=Dt.getValue();qr(En),ti(new Date().getTime()),Dt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),lt&&(ot?lt(En,da(En)):lt(En))};return mn.on("change",Ln),()=>{mn.off("change",Ln)}}},[mn,lt]),(0,ae.useEffect)(()=>{if(mn)if(_e==null)mn.setValue(""),qr("");else{const Ln=window.scrollY||window.pageYOffset;_e!==mn.getValue()&&(mn.setValue(_e),qr(_e),mn.setCursor($a?1:mn.lineCount(),0),window.scrollTo(0,Ln))}},[mn,_e]);const Ae=(0,ae.useCallback)(Ln=>{const Dt=mn.getCursor(),Sn=mn.getSelection();let En=Sn.split(`
|
|
`);switch(Ln){case"bold":return mn.replaceSelection("**"+Sn+"**"),Sn===""&&mn.setCursor(Dt.line,Dt.ch+2),mn.focus();case"italic":return mn.replaceSelection("*"+Sn+"*"),Sn===""&&mn.setCursor(Dt.line,Dt.ch+1),mn.focus();case"code":return mn.replaceSelection("`"+Sn+"`"),Sn===""&&mn.setCursor(Dt.line,Dt.ch+1),mn.focus();case"inline-latex":return Wr("inline-latex"),mn.focus();case"latex":return mn.replaceSelection("```latex\n"+Sn+"\n```"),mn.setCursor(Dt.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(En.map(ia=>ia===""?"":`- ${ia}`).join(`
|
|
`)),mn.focus();case"list-ol":return Sn===""?mn.replaceSelection("1. "+Sn):mn.replaceSelection(En.map((ia,Fa)=>ia===""?"":`${Fa+1}. ${ia}`).join(`
|
|
`)),mn.focus();case"add-null-ch":return Sn===""&&mn.setCursor(Dt.line,Dt.ch),mn.replaceSelection(Br),mn.focus();case"add-signal":return Sn===""&&mn.setCursor(Dt.line,Dt.ch),mn.replaceSelection(lo),mn.focus();case"add-multiple":return Sn===""&&mn.setCursor(Dt.line,Dt.ch),mn.replaceSelection(to),mn.focus();case"inster-template-1":return Sn===""&&mn.setCursor(Dt.line,Dt.ch),mn.replaceSelection(gr),mn.focus();case"eraser":return mn.setValue(""),mn.focus();case"trigger-watch":return Tn(!Yo),mn.focus();case"trigger-full-screen":return Va(!va),mn.focus();case Mt:Wr(Mt);return;case Vn:Wr(Vn);return;case Wt:Wr(Wt);return;case Cn:Wr(Cn);return;case"maths-latex":Wr("maths-latex");return;case Rt:Wr(Rt);return;case Gn:Wr(Gn);return;default:throw new Error}},[mn,Yo,va]),Yt=(0,ae.useCallback)((Ln,Dt)=>{var Sn,En,ia,Fa,Xa,yr;switch(Wr(""),Un){case Mt:const{title:Za,link:dr}=Ln;return mn.replaceSelection(`[${Za}](${dr})`),mn.focus();case Vn:const{language:Hr,content:ro}=Ln;return mn.replaceSelection(["```"+Hr,ro,"```"].join(`
|
|
`)),mn.focus();case"maths-latex":for(var sr=atob(Ln),ea=new Uint8Array(sr.length),ba=0;ba<sr.length;ba++)ea[ba]=sr.charCodeAt(ba);var Pa=new Blob([ea],{type:"image/png"});(0,$e.I)(Pa,Li=>{Li.id?mn.replaceSelection(``):(Li==null?void 0:Li.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":mn.replaceSelection("`$$"+Ln+"$$`");break;case Wt:case Cn:case ra:const{src:Eo,alt:wo}=Ln,Lo=Dt,Oi=(ia=(En=(Sn=Lo==null?void 0:Lo.name)==null?void 0:Sn.split("."))==null?void 0:En.pop)==null?void 0:ia.call(En);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>`):Pn.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}=Ln;let Sl=`
|
|
`;for(let Li=0;Li<xl;Li++){let is=[],Ul=[];for(let ls=0;ls<Wl;ls++)Li===1&&Ul.push(oa[Rl]),is.push(" ");Li===1&&(Sl+=`| ${Ul.join(" | ")} |
|
|
`),Sl+=`| ${is.join(Wl===1?"":" | ")} |
|
|
`}return mn.replaceSelection(Sl+`
|
|
`),mn.focus();default:throw new Error}},[mn,Un]),Bn=(0,ae.useMemo)(()=>{switch(Un){case Mt:return ae.createElement(an,{callback:Yt,onCancel:Nn});case Vn:return ae.createElement(hn.Z,{callback:Yt,onCancel:Nn});case Wt:return ae.createElement($e.Z,{callback:Yt,onCancel:Nn});case Rt:return ae.createElement(Xt,{callback:Yt,onCancel:Nn});case Gn:return ae.createElement(_n,{callback:Yt,onCancel:Nn});case"maths-latex":return ae.createElement(dt,{showSaveButton:!0,callback:Yt});case"inline-latex":return ae.createElement(rn.Z,{showSaveButton:!0,callback:Yt});default:return null}},[Un]);function Nn(){Wr("")}(0,ae.useEffect)(()=>{if(pl.current){let Ln=function(Xa){ia=!0,Fa=Xa.pageY},Dt=function(){ia=!1},Sn=function(Xa){if(ia){let yr=Xa.pageY-Fa;yr<0&&(yr=0),yr>300&&(yr=300);let sr=jt+yr+"px";ai(sr)}},En=pl.current,ia=!1,Fa=0;return En.addEventListener("mousedown",Ln),document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",Dt),()=>{En.removeEventListener("mousedown",Ln),document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",Dt)}}},[mn,pl]),(0,ae.useEffect)(()=>{ai(jt)},[jt]);const yt=Zn(Ve),Ht=Zn(ni),kt={width:yt,height:Ht},In=(0,ae.useMemo)(()=>{if(_r){let Ln=new Date(_r),Dt=Ln.getHours(),Sn=Ln.getMinutes(),En=Ln.getSeconds();return Dt=Dt<10?"0"+Dt:Dt,Sn=Sn<10?"0"+Sn:Sn,En=En<10?"0"+En:En,`${Dt}:${Sn}:${En}`}return 0},[_r]),da=Ln=>{const Dt=[];if(ot){let Sn=-1;Ln=Ln.replace(/(@▁▁@|@▁@)/g,function(En,ia,Fa){Dt.push({multiLine:En!==lo})})}return Dt};function xa(){window.sessionStorage.removeItem(Ma),yi(!1),ti(0)}function Sa(){yi(!1),ti(0),mn.setValue(window.sessionStorage.getItem(Ma))}(0,ae.useEffect)(()=>{Ar[Un]&&Un!==Cn&&Un!==Rt&&setTimeout(()=>{const Ln=document.getElementsByClassName("markdown-popup-form")[0],Dt=window.innerWidth/2-Ln.offsetWidth/2,Sn=window.innerHeight/2-Ln.offsetHeight/2;hl(Dt),Fl(Sn)},0)},[Un]);const Ia=Ln=>{Ln.preventDefault();const Dt=Ln.clientX-Xo,Sn=Ln.clientY-Cl;document.body.onmousemove=En=>{let ia=En.clientX-Dt,Fa=En.clientY-Sn;const Xa=document.getElementsByClassName("markdown-popup-form")[0],yr=window.innerWidth-Xa.offsetWidth,sr=window.innerHeight-Xa.offsetHeight;ia=Math.max(0,Math.min(ia,yr)),Fa=Math.max(0,Math.min(Fa,sr)),rr(En.clientX,En.clientY,Dt,Sn)&&(hl(ia),Fl(Fa))},document.body.onmouseup=function(){document.body.onmousemove=null}},rr=(Ln,Dt,Sn,En)=>{const ia=document.body.clientHeight,Fa=document.body.clientWidth;return Ln<20&&Sn>Ln||Ln>Fa-20&&Sn<Ln||Dt<20&&En>Dt||Dt>ia-20&&En<Dt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"markdown-editor-wrapper",ref:ki},ae.createElement("div",{className:`markdown-editor-container ${kn} ${Yo?"on-preview":""} ${xn?"mini":""} ${va?"full-screen":""}`,style:kt},ae.createElement(pe,{insertTemp:ua,watch:Yo,fullScreen:va,showNullButton:no,showNullProgramButton:ot,onActionCallback:Ae,hidetoolBar:tn,extraUse:co}),ae.createElement("div",{className:"markdown-editor-body"},ae.createElement("div",{className:"codemirror-container"},ae.createElement("textarea",{ref:tl,placeholder:cr})),Yo?ae.createElement("div",{ref:kr,className:"preview-container"},Wn==="stex"&&ae.createElement(Ke,{value:ei}),Wn!=="stex"&&ae.createElement(qe.Z,{disabledFill:Aa,showProgramFill:ot,value:ei})):null))),ho?ae.createElement("a",{ref:pl,className:"editor-resize"}):null,Un===Cn&&ae.createElement(Bt,{callback:Yt,onCancel:Nn}),Un===Rt&&ae.createElement(Xt,{callback:Yt,onCancel:Nn}),ae.createElement(we.Z,null,Ar[Un]&&Un!==Cn&&Un!==Rt?ae.createElement(Pt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Xo,top:Cl},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:Ia},Ar[Un]),open:!0,onCancel:Nn,footer:null,destroyOnClose:!0,width:Un===Rt?"1200px":null,height:Un===Rt?"80vh":null,className:"markdown-popup-form"},Bn):null))}},70859:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return ge},I:function(){return we}});var ae=ee(22150),me=ee(2453),Fe=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,a=Object.getOwnPropertySymbols,y=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={}))y.call(xe,Se)&&b(be,Se,xe[Se]);if(a)for(var Se of a(xe))x.call(xe,Se)&&b(be,Se,xe[Se]);return be},z=(be,xe)=>Ee(be,ce(xe));const{useForm:re}=ae.default,oe={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var ge=({callback:be,onCancel:xe})=>{const[Se]=re();let ut=(0,je.useRef)();function We(st){ut.current.width=Se.getFieldValue("width"),ut.current.align=Se.getFieldValue("align"),be(st,ut.current)}function Kt(st,xt){if(st.status===-1){me.ZP.error(st.message);return}Se.setFieldsValue({src:`/api/attachments/${st.id}`,type:xt.type})}function Xe(st){let xt=st.target.files[0];ut.current=xt,we(xt,Kt)}return qe.createElement(ae.default,z(E({form:Se},ne),{className:"upload-image-panel",onFinish:We,style:{width:470,overflow:"hidden"}}),qe.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},qe.createElement("div",{className:"flex-container"},qe.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},qe.createElement(Fe.default,{style:oe})),qe.createElement(pe,{onFileChange:Xe}))),qe.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},qe.createElement(Fe.default,{style:{width:264}})),qe.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},qe.createElement(ze.Z,null,qe.createElement(ae.default.Item,{name:"width",style:{margin:0}},qe.createElement(Be.Z,{style:{width:264}})),qe.createElement("span",{className:"ml8"},"%"))),qe.createElement(ae.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(ae.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 ut=new window.XMLHttpRequest;ut.withCredentials=!0,ut.addEventListener("load",function(We){xe(JSON.parse(We.target.responseText),be)},!1),ut.addEventListener("error",function(We){console.error(We)},!1),ut.open("POST",`${Ze.KI}/api/attachments.json`),ut.send(Se)}},76621:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return Fe}});var ae=ee(67294),me=ee(73935);class Fe extends ae.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(vt,wt,ee){"use strict";ee.d(wt,{i:function(){return oe},Z:function(){return ge}});var ae={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},me=ee(57953),Fe=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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zgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",re=ee(67294);const oe=[{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:a,swimg:y},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:E,swimg:z}];var ge=({className:pe,dataSource:we=[],col:be=4,right:xe,bottom:Se=23,precision:ut=0,wrapWidth:We=1200,trackEventItems:Kt,loading:Xe,onRemove:st=()=>{},isCurrent:xt=!0,showAlias:It=!1})=>{const Gt=Math.floor((We-(be-1)*xe)/be),ht=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Zt=>(window.ENV==="build"&&(Zt.ptimg=`/react/build${Zt.ptimg}`,Zt.swimg=`/react/build${Zt.swimg}`),Zt));return re.createElement(me.Z,{spinning:Xe},re.createElement("div",{className:Be()(ae.list,pe)},!!(we!=null&&we.length)&&(we==null?void 0:we.map((Zt,an)=>{var hn;const{name:$e,id:Pt,identifier:Ft,featured:Kn,school_name:rt,image_url:Bt,excellent:Ce,is_plan:yn}=Zt;return re.createElement("div",{key:Pt,className:ae.wrap,style:{width:Gt,marginRight:(1+an)%be===0?0:xe+ut,marginBottom:Se}},re.createElement("a",{className:ae.li,onClick:bn=>{bn.preventDefault(),bn.stopPropagation(),Kt&&(0,Te.L9)([Kt]),(0,Te.xg)(`/paths/${Ft}`)}},re.createElement("div",{className:ae.img},re.createElement("img",{className:ae.cover,src:`${Bt}`}),xt&&(0,Ze.bg)()&&(Zt==null?void 0:Zt.studying)&&re.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:bn=>{bn.stopPropagation(),st(Zt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(hn=Zt==null?void 0:Zt.subject_tags)==null?void 0:hn.map((bn,pa)=>{var $n,Jt;if(pa===0){const Me=($n=ht.find(pt=>pt.name==bn))==null?void 0:$n.swimg;return re.createElement("img",{className:ae.sign,src:Me,style:{left:"-4px"}})}const Ge=(Jt=ht.find(Me=>Me.name==bn))==null?void 0:Jt.ptimg;return re.createElement("img",{className:ae.sign,src:Ge,style:{left:`${48+52*(pa-1)+2*pa}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Zt==null?void 0:Zt.excellent)&&re.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:ae.name},re.createElement(Fe.Z,{title:It&&(Zt!=null&&Zt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${$e}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Zt==null?void 0:Zt.excellent_alias_name}`)):$e},re.createElement("span",{className:ae.e},It&&(Zt==null?void 0:Zt.excellent_alias_name)||$e))),re.createElement("div",{className:ae.tags},re.createElement("div",null,re.createElement(Fe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,Zt.stages_count))),re.createElement(Fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,Zt.members_count)))))))})),!we.length&&re.createElement(se.Z,null)))}},30001:function(vt,wt,ee){"use strict";ee.d(wt,{jL:function(){return Be},w9:function(){return Zt},QD:function(){return rn},cQ:function(){return st.Z},op:function(){return _n},O5:function(){return gr},_b:function(){return Cn},t7:function(){return b},Gi:function(){return Kn},YG:function(){return Pt},qp:function(){return qe},vr:function(){return Mt},qE:function(){return Qn},Je:function(){return re},wb:function(){return Xe},cq:function(){return pa},tp:function(){return ce}});var ae=ee(67294),me={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwE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mp2HZMguKhOC4kpPpF8fNgLEjkPzyz/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:Pn=[],img:Zn,imgWidth:An=346,title:Dn,sunTitle:Oa,bannerExtraContent:Ar})=>ae.createElement("div",{className:me.banner},ae.createElement("div",{className:me.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,Dn),ae.createElement("span",null,Oa)),Pn.length>0&&ae.createElement("div",{className:me.btns},Pn.map((zn,_e)=>ae.createElement("div",{key:_e,onClick:zn.click},zn.name,zn.sign?ae.createElement("img",{src:Fe,width:39}):null))),Ar),Zn&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:Zn,width:An}))),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:Pn=[],value:Zn,onChange:An,onTitleChange:Dn,className:Oa,title:Ar,titleWidth:zn=41,style:_e={},fontColor:lt="#6A7283",showCount:Ve})=>{const[jt,xn]=(0,ae.useState)(0),[Jn,Ka]=(0,ae.useState)(!1),ua=(0,ae.useRef)(null),Wn=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var Ma;Pn.length!==0&&(((Ma=ua==null?void 0:ua.current)==null?void 0:Ma.clientHeight)>97?xn(1):xn(0)),Pn.length===0&&xn(0),Ka(!1)},[Pn]),ae.createElement("div",{className:Ze()(Te.row,Oa),style:_e},ae.createElement("div",{onClick:(0,je.throttle)(()=>Dn==null?void 0:Dn(),2e3),style:{width:zn,marginTop:Jn?12:4},className:`${Te.title} ${Dn?"current":""}`},Ar),ae.createElement("div",{className:Jn?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},ae.createElement("div",{className:Te.bar,ref:Wn,style:jt>0?{height:jt===1?97:"auto",overflow:jt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:Te.tag,ref:ua},Pn==null?void 0:Pn.map(Ma=>ae.createElement("span",{onClick:()=>An(Ma.id),key:Ma.id,style:{color:lt},className:Zn===Ma.id?Te.active:""},ae.createElement("span",{title:Ma.name,className:Te.name},Ma.name),!!Ve&&ae.createElement("span",{className:Te.num},Ma.count))))),!!jt&&ae.createElement(ae.Fragment,null,jt===1?ae.createElement("div",{onClick:()=>{var Ma;xn(2),((Ma=ua==null?void 0:ua.current)==null?void 0:Ma.clientHeight)>245?Ka(!0):Ka(!1)},className:Te.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Wn.current.scrollTop=0,xn(1),Ka(!1)},className:Te.action},"\u6536\u8D77",ae.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:Pn=[],value:Zn,onChange:An,className:Dn,style:Oa={}})=>ae.createElement("div",{style:Oa,className:Ze()(Ke.tabs,Dn)},Pn.map(Ar=>ae.createElement("span",{onClick:()=>An(Ar.id),className:Zn===Ar.id?Ke.active:"",key:Ar.id},Ar.name))),a={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},y=ee(69677),b=({dataSource:Pn=[],value:Zn="",onChange:An,onInputChange:Dn=()=>{},className:Oa,style:Ar={},placeholder:zn,allowClear:_e=!1})=>{var lt;const[Ve,jt]=(0,ae.useState)(""),[xn,Jn]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Wn;let Ma=Zn;(Wn=JSON.stringify(Zn))!=null&&Wn.includes("{")&&(jt(Zn.id),Ma=Zn.value||"");try{Jn(decodeURIComponent(Ma||""))}catch(ho){Jn(decodeURIComponent(Ma||""))}},[Zn]);const Ka=()=>{An(encodeURIComponent(xn),Ve||null)},ua=Wn=>{Wn!==Ve&&(jt(Wn),An(encodeURIComponent(xn),Wn))};return ae.createElement("div",{className:Ze()(a.input,Oa),style:Ar},!!Pn.length&&ae.createElement("div",{className:a.dropdown},ae.createElement("div",{className:a.text},(lt=Pn.find(Wn=>Wn.id===Ve))==null?void 0:lt.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:a.b1}),ae.createElement("b",{className:a.b2})),ae.createElement("div",{className:a.menu},Pn.map((Wn,Ma)=>ae.createElement("div",{key:Ma,onClick:()=>ua(Wn.id)},Wn.name)))),ae.createElement(y.default,{onPressEnter:Ka,value:xn,onChange:Wn=>{Jn(Wn.target.value),Dn(encodeURIComponent(Wn.target.value),Ve||null)},bordered:!1,placeholder:zn}),ae.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"},re=({value:Pn,onChange:Zn,className:An,total:Dn,pageSize:Oa,style:Ar={}})=>{const zn=Pn<2,_e=Pn>=Math.ceil(Dn/Oa);return Dn<=Oa?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:Ze()(E.quickPager,An),style:Ar},ae.createElement("div",{onClick:()=>{zn||Zn(Pn-1,"prev")},className:zn?E.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{_e||Zn(Pn+1,"next")},className:_e?E.disabled:""},"\u4E0B\u4E00\u9875"))},oe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ne=ee(57953),ge=ee(83062),pe=ee(12604),we=ee(11320),be=ee(28706),xe=ee(96908),Se=ee(57177),ut=ee(81378),We=ee(26194),Xe=({className:Pn,dataSource:Zn=[],col:An=4,right:Dn,bottom:Oa=23,precision:Ar=0,wrapWidth:zn=1200,trackEventItems:_e,loading:lt})=>{const Ve=Math.floor((zn-(An-1)*Dn)/An);return ae.createElement(ne.Z,{spinning:lt},ae.createElement("div",{className:Ze()(oe.list,Pn)},!!Zn.length&&Zn.map((jt,xn)=>{const{name:Jn,id:Ka,identifier:ua,power:Wn,cover_image_id:Ma,pic:ho}=jt;return ae.createElement("div",{className:oe.wrap,key:Ka,style:{width:Ve,marginRight:(1+xn)%An===0?0:Dn+Ar,marginBottom:Oa}},ae.createElement("a",{target:"_blank",href:`/shixuns/${ua}/challenges`,className:oe.li,onClick:Rn=>{Rn.preventDefault(),_e&&(0,be.L9)([_e]),Wn&&(0,be.xg)(`/shixuns/${ua}/challenges`)}},ae.createElement("div",{className:oe.img},ae.createElement("img",{className:oe.cover,src:`${ho}`}),jt.is_jupyter&&ae.createElement("img",{className:oe.sign,src:xe}),jt.is_jupyter_lab&&ae.createElement("img",{className:oe.sign,src:Se}),jt.is_unity_3d&&ae.createElement("img",{className:oe.sign,src:ut})),ae.createElement("div",{className:oe.name},ae.createElement(ge.Z,{title:Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:oe.e},Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:oe.tags},ae.createElement(ge.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,jt.challenges_count))),!!jt.myshixuns_count&&ae.createElement(ge.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,jt.myshixuns_count))),ae.createElement(ge.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,jt.level))),ae.createElement("div",{className:oe.rate},ae.createElement(pe.Z,{allowHalf:!0,disabled:!0,defaultValue:jt.score_info}),ae.createElement("span",null,"\xA0",jt.score_info?`${jt.score_info}\u5206`:"5\u5206")))),!Wn&&ae.createElement("div",{className:oe.lockWrap},ae.createElement("img",{src:`${we.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&ae.createElement(We.Z,null)))},st=ee(9897),xt={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"},It="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JK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mcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Gt=ee(67294),Zt=({className:Pn,dataSource:Zn=[],col:An=4,right:Dn,bottom:Oa=23,precision:Ar=0,wrapWidth:zn=1200,trackEventItems:_e,loading:lt})=>{const Ve=Math.floor((zn-(An-1)*Dn)/An);return Gt.createElement(ne.Z,{spinning:lt},Gt.createElement("div",{className:Ze()(xt.list,Pn)},!!Zn.length&&Zn.map((jt,xn)=>{const{subject_identifier:Jn,id:Ka,identifier:ua,power:Wn}=jt,Ma=jt.is_public!=0&&jt.is_public;return Gt.createElement("div",{className:xt.wrap,key:Ka,style:{width:Ve,marginRight:(1+xn)%An===0?0:Dn+Ar,marginBottom:Oa}},Gt.createElement("a",{className:xt.li,onClick:ho=>{ho.preventDefault(),_e&&(0,be.L9)([_e]),(0,be.xg)(jt.first_category_url)}},Gt.createElement("div",{className:xt.top},Gt.createElement(ge.Z,{title:jt.name},Gt.createElement("div",{className:xt.name},jt.name)),Gt.createElement("img",{className:xt.img,src:we.Z.IMG_SERVER+"/images/"+jt.avatar_url}),Gt.createElement("div",{className:xt.text,title:jt.creator},jt.creator),Jn&&Gt.createElement("div",{className:xt.btns},Gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ma&&Gt.createElement("div",{className:xt.sign},"\u516C\u5F00")),Gt.createElement("div",{className:xt.bottom},jt.visits>0&&Gt.createElement(ge.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Gt.createElement("span",null,Gt.createElement("i",{className:"iconfont icon-liulanyan"}),Gt.createElement("span",null,jt.visits))),jt.course_members_count>0&&Gt.createElement(ge.Z,{title:"\u6210\u5458",placement:"bottom"},Gt.createElement("span",null,Gt.createElement("i",{className:"iconfont icon-chengyuan"}),jt.course_members_count)),jt.tasks_count>0&&Gt.createElement(ge.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Gt.createElement("span",null,Gt.createElement("i",{className:"iconfont icon-zuoye"}),jt.tasks_count)),jt.is_end?Gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!jt.is_accessible&&Gt.createElement("div",{className:xt.lockWrap},Gt.createElement("img",{src:`${we.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&Gt.createElement(We.Z,null)))},an={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},hn=ee(35973),Pt=({dataSource:Pn=[],value:Zn,onChange:An,className:Dn,style:Oa={},tabBarExtraContent:Ar})=>ae.createElement("div",{className:Ze()(an.tabs,Dn),style:Oa},ae.createElement("div",{className:an.tabsWrap},Pn.map((zn,_e)=>ae.createElement("aside",{className:an.tab,onClick:()=>{An(zn.id),zn.link&&hn.history.push(zn.link)},key:_e},ae.createElement("div",{className:Zn===zn.id?an.active:""},zn.name),(zn==null?void 0:zn.resetCount)==null&&(zn==null?void 0:zn.total)!==void 0&&ae.createElement("span",null,"\uFF08",zn==null?void 0:zn.total,"\uFF09"),(zn==null?void 0:zn.resetCount)!==void 0&&(zn==null?void 0:zn.total)!==void 0&&ae.createElement(ge.Z,{title:(zn==null?void 0:zn.tip)!=null?zn==null?void 0:zn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},zn==null?void 0:zn.resetCount),"/",ae.createElement("span",null,zn==null?void 0:zn.total),"\uFF09"))))),ae.createElement("div",{className:an.tabBar},Ar)),Kn=({className:Pn,style:Zn={},children:An})=>ae.createElement("div",{className:Ze()(Pn),style:Zn},An),rt={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"},Bt=ee(85418),Ce=ee(68508);const yn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var pa=({sortValue:Pn,dropValue:Zn,className:An,onSort:Dn,onDrop:Oa,dataSource:Ar=yn})=>{var zn;return ae.createElement("div",{className:Ze()(rt.orderWrap,An)},ae.createElement(Bt.Z,{dropdownRender:()=>ae.createElement(Ce.default,null,Ar.map((_e,lt)=>ae.createElement(Ce.default.Item,{key:lt,onClick:()=>Oa(_e.id)},_e.name)))},ae.createElement("span",{className:rt.orderTextWrap},(zn=Ar.find(_e=>Zn===_e.id))==null?void 0:zn.name)),ae.createElement("span",{className:rt.orderIconWrap},ae.createElement("span",{className:rt.orderAsc},ae.createElement("i",{className:Pn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${rt.cursorPointer} ${rt.active}`:`iconfont icon-sanjiaoxing-up font12 ${rt.cursorPointer}`,onClick:()=>Dn(Pn==="asc"?"desc":"asc")})),ae.createElement("span",{className:rt.orderDesc},ae.createElement("i",{className:Pn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${rt.cursorPointer} ${rt.active}`:`iconfont icon-sanjiaoxing-down font12 ${rt.cursorPointer}`,onClick:()=>Dn(Pn==="asc"?"desc":"asc")}))))},$n={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"},Jt=ee(71577),Ge=Object.defineProperty,Me=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Xt=(Pn,Zn,An)=>Zn in Pn?Ge(Pn,Zn,{enumerable:!0,configurable:!0,writable:!0,value:An}):Pn[Zn]=An,wn=(Pn,Zn)=>{for(var An in Zn||(Zn={}))pt.call(Zn,An)&&Xt(Pn,An,Zn[An]);if(Me)for(var An of Me(Zn))zt.call(Zn,An)&&Xt(Pn,An,Zn[An]);return Pn},Yn=(Pn,Zn)=>{var An={};for(var Dn in Pn)pt.call(Pn,Dn)&&Zn.indexOf(Dn)<0&&(An[Dn]=Pn[Dn]);if(Pn!=null&&Me)for(var Dn of Me(Pn))Zn.indexOf(Dn)<0&&zt.call(Pn,Dn)&&(An[Dn]=Pn[Dn]);return An},qt=(Pn,Zn,An)=>new Promise((Dn,Oa)=>{var Ar=lt=>{try{_e(An.next(lt))}catch(Ve){Oa(Ve)}},zn=lt=>{try{_e(An.throw(lt))}catch(Ve){Oa(Ve)}},_e=lt=>lt.done?Dn(lt.value):Promise.resolve(lt.value).then(Ar,zn);_e((An=An.apply(Pn,Zn)).next())}),_n=Pn=>{var Zn=Pn,{className:An,style:Dn,children:Oa,loading:Ar=!1,openLoading:zn,onClick:_e=()=>{},size:lt="middle",shape:Ve="round"}=Zn,jt=Yn(Zn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[xn,Jn]=(0,ae.useState)(!1);return ae.createElement(Jt.ZP,wn({onClick:(0,je.throttle)(Ka=>qt(void 0,null,function*(){zn&&Jn(!0);try{yield _e(Ka)}catch(ua){console.log("error",ua)}zn&&Jn(!1)}),2e3,{leading:!0,trailing:!1}),className:Ze()($n.btn,$n[`${lt}-${Ve}`],An),style:Dn,size:lt,shape:Ve,loading:xn||Ar},jt),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"},Qn=({className:Pn,style:Zn,children:An=null,onClick:Dn,title:Oa})=>ae.createElement("div",{className:Ze()(Ie.head,Pn),style:Zn},ae.createElement("span",{className:"primary-hover",onClick:Dn},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:Oa},Oa),ae.createElement("div",{className:Ie.node},An)),Fn={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"},rn=({confirmShow:Pn=!0,confirmTitle:Zn,confirmClick:An,cancelShow:Dn=!0,cancelTitle:Oa,cancelClick:Ar,className:zn,style:_e,confirmLoading:lt=!1})=>ae.createElement("div",{className:Ze()(Fn.btns,zn),style:_e},Pn&&ae.createElement(Jt.ZP,{loading:lt,onClick:An,type:"primary",className:Fn.confirm},Zn),Dn&&ae.createElement(Jt.ZP,{onClick:Ar,className:Fn.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"},Mt=({className:Pn,style:Zn={},LeftContent:An,children:Dn,RightContent:Oa})=>ae.createElement("div",{className:Ze()(Ue.fixedBottom,Pn),style:Zn},ae.createElement("div",{className:Ue.wrap},ae.createElement("div",{className:Ue.left},An),ae.createElement("div",{className:Ue.center},Dn),ae.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"},Cn=({className:Pn,style:Zn={},dataSource:An=[]})=>ae.createElement("div",{className:Ze()(Wt.crumbs,Pn),style:Zn},An.map((Dn,Oa)=>Oa<An.length-1?ae.createElement(ae.Fragment,{key:Oa},Dn.path||Dn.onClick?ae.createElement("span",{className:Wt.hover,onClick:Dn!=null&&Dn.onClick?Dn.onClick:()=>hn.history.push(Dn.path)},Dn.name):ae.createElement("span",null,Dn.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:Oa,style:{color:"#5F6368"}},Dn.name))),ra=ee(55054),Vn=Object.defineProperty,Gn=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Tr=(Pn,Zn,An)=>Zn in Pn?Vn(Pn,Zn,{enumerable:!0,configurable:!0,writable:!0,value:An}):Pn[Zn]=An,Xr=(Pn,Zn)=>{for(var An in Zn||(Zn={}))ja.call(Zn,An)&&Tr(Pn,An,Zn[An]);if(oa)for(var An of oa(Zn))Pr.call(Zn,An)&&Tr(Pn,An,Zn[An]);return Pn},Rr=(Pn,Zn)=>Gn(Pn,Ga(Zn)),Br=(Pn,Zn)=>{var An={};for(var Dn in Pn)ja.call(Pn,Dn)&&Zn.indexOf(Dn)<0&&(An[Dn]=Pn[Dn]);if(Pn!=null&&oa)for(var Dn of oa(Pn))Zn.indexOf(Dn)<0&&Pr.call(Pn,Dn)&&(An[Dn]=Pn[Dn]);return An};const{Countdown:to}=ra.default;var gr=Pn=>{var Zn=Pn,{onChange:An}=Zn,Dn=Br(Zn,["onChange"]);const[Oa,Ar]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof Oa=="number"&&Oa>=0&&An(Oa)},[Oa]);const zn=_e=>{const lt=Math.floor(_e/1e3);Ar(lt)};return ae.createElement(to,Rr(Xr({},Dn),{onChange:zn}))}},99914:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return me}});var ae=ee(67294);function me(Fe,ze){const Be=(0,ae.useRef)();(0,ae.useEffect)(()=>{Be.current=Fe}),(0,ae.useEffect)(()=>{function Te(){Be.current()}if(ze!==null){let se=setInterval(Te,ze);return()=>clearInterval(se)}},[ze])}},63770:function(vt,wt,ee){"use strict";var ae=ee(67294),me=ee(35973),Fe=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,re)=>{var oe=pe=>{try{ge(E.next(pe))}catch(we){re(we)}},ne=pe=>{try{ge(E.throw(pe))}catch(we){re(we)}},ge=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(oe,ne);ge((E=E.apply(x,b)).next())});const a=Fe.default.TextArea,y=x=>{var b=x,{dispatch:E,declaration:z,onClose:re=()=>{},onSuccess:oe=()=>{},exportTemplate:ne=()=>{}}=b,ge=Ee(b,["dispatch","declaration","onClose","onSuccess","exportTemplate"]);const[pe,we]=(0,ae.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,ae.useEffect)(()=>{we([])},[z.actionTabs.key]),ae.createElement(ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:z.actionTabs.key,title:z.actionTabs.key,width:500,onCancel:()=>{re()},onOk:()=>{oe(z.actionTabs.key,pe)}},ae.createElement(Te.op,{className:"mb20",shape:"default",onClick:()=>{ne(z.actionTabs.key)}},ae.createElement("i",{className:"iconfont icon-xiazai5 mr5",style:{color:"#3061D0",fontSize:"14px"}}),"\u4E0B\u8F7D\u6A21\u677F"),ae.createElement(Be.default.Dragger,Ke({},be),ae.createElement(Te.op,{shape:"default",style:{marginTop:"20px"}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("div",{style:{color:"#9096A3",marginTop:"10px",marginBottom:"20px"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u6216\u70B9\u51FB\u4E0A\u4F20")))};wt.Z=(0,me.connect)(({declaration:x})=>({declaration:x}))(y)},48532:function(vt,wt,ee){"use strict";ee.r(wt),ee.d(wt,{default:function(){return Xe}});var ae=ee(67294),me={contWrap:"contWrap___Q_UkN",header:"header___cou3X",headTitle:"headTitle___x_b94",searchWrap:"searchWrap___a67PN",wrap1:"wrap1___eZ74d",editBtn:"editBtn___bDq0n"},Fe=ee(35973),ze=ee(22150),Be=ee(14446),Te=ee(2453),se=ee(69677),Ze=ee(57953),je=ee(85418),He=ee(96074),qe=ee(42563),Ke=ee(20669),Ee=ee(9430),ce=ee(71577),a=ee(30001),y=ee(35567),x=ee(85725),b=ee(42922),E=ee(26194),z=ee(41805),re=ee(52262),oe=ee(63770),ne=ee(28706),ge=ee(67294),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Se=(st,xt,It)=>xt in st?pe(st,xt,{enumerable:!0,configurable:!0,writable:!0,value:It}):st[xt]=It,ut=(st,xt)=>{for(var It in xt||(xt={}))be.call(xt,It)&&Se(st,It,xt[It]);if(we)for(var It of we(xt))xe.call(xt,It)&&Se(st,It,xt[It]);return st},We=(st,xt,It)=>new Promise((Gt,ht)=>{var Zt=$e=>{try{hn(It.next($e))}catch(Pt){ht(Pt)}},an=$e=>{try{hn(It.throw($e))}catch(Pt){ht(Pt)}},hn=$e=>$e.done?Gt($e.value):Promise.resolve($e.value).then(Zt,an);hn((It=It.apply(st,xt)).next())});const Kt=({declaration:st,user:xt,dispatch:It,loading:Gt})=>{const[ht,Zt]=(0,ae.useState)([]),[an,hn]=(0,ae.useState)(0),[$e,Pt]=(0,ae.useState)(!1),[Ft,Kn]=(0,ae.useState)(!1),[rt,Bt]=(0,ae.useState)(""),[Ce,yn]=(0,ae.useState)(""),[bn,pa]=(0,ae.useState)({page:1,limit:10,status:"",keyword:"",year:""}),[$n]=ze.default.useForm(),[Jt,Ge]=(0,ae.useState)([]),[Me,pt]=(0,ae.useState)(!1),zt=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u5DE5\u53F7",align:"left",width:120,ellipsis:!0,dataIndex:"staff_id",render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:qt=>ge.createElement("span",null,qt===-1&&ge.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),qt===0&&ge.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),qt===1&&ge.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),qt===2&&ge.createElement("span",{style:{color:"#E30000"}},"\u9000\u56DE\u4FEE\u6539"))},{title:"\u9879\u76EE\u7C7B\u578B",align:"left",width:120,ellipsis:!0,dataIndex:"project_type",render:qt=>ge.createElement("span",null,qt===1&&"\u6C11\u53E3\u7EB5\u5411",qt===2&&"\u6C11\u53E3\u6A2A\u5411",qt===3&&"\u56FD\u9632\u7EB5\u5411",qt===4&&"\u56FD\u9632\u6A2A\u5411")},{title:"\u9879\u76EE\u540D\u79F0",align:"left",ellipsis:!0,width:120,dataIndex:"title",render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u6807\u51C6\u53F7",width:120,align:"left",ellipsis:!0,dataIndex:"number",render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u9879\u76EE\u7EA7\u522B",width:120,align:"left",ellipsis:!0,dataIndex:"project_level_name",render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u7ECF\u8D39\uFF08\u4E07\u5143\uFF09",align:"left",width:120,ellipsis:!0,dataIndex:"project_funds",render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u672C\u5E74\u5EA6\u5230\u8D26\uFF08\u4E07\u5143\uFF09",align:"left",width:140,ellipsis:!0,dataIndex:"current_year_account_funds",render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u7ACB\u9879\u5E74\u5EA6",width:120,align:"left",ellipsis:!0,dataIndex:"year",render:qt=>ge.createElement("span",null,qt||"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:160,ellipsis:!0,dataIndex:"school_name",render:(qt,Ut)=>{var _n,Ie,tt,Qn;return ge.createElement(ge.Fragment,null,((0,re.Ny)()&&((_n=xt.userInfo)==null?void 0:_n.real_name)!==(Ut==null?void 0:Ut.user_name)||[0,1].includes(Ut==null?void 0:Ut.status))&&ge.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{It({type:"declaration/changeMode",payload:{mode:"view"}}),Fe.history.push(`/declaration/research/project/view?id=${Ut==null?void 0:Ut.id}&type=${Ut==null?void 0:Ut.project_type}`)}},"\u67E5\u770B"),((Ie=xt==null?void 0:xt.userInfo)==null?void 0:Ie.real_name)===(Ut==null?void 0:Ut.user_name)&&[-1,2].includes(Ut==null?void 0:Ut.status)&&ge.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{It({type:"declaration/changeMode",payload:{mode:"edit"}}),Fe.history.push(`/declaration/research/project/edit?id=${Ut==null?void 0:Ut.id}&type=${Ut==null?void 0:Ut.project_type}`)}},"\u7F16\u8F91"),(0,re.Ny)()&&(Ut==null?void 0:Ut.status)===0&&ge.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:()=>We(void 0,null,function*(){(yield(0,z.Uk)({declaration_id:Ut==null?void 0:Ut.id,verify_status:"agree",reason:""})).status===0&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),Xt())})})}},"\u901A\u8FC7"),(0,re.Ny)()&&(Ut==null?void 0:Ut.status)===0&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{$n.setFieldValue("reason",Ut==null?void 0:Ut.reason),Be.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:ge.createElement("div",null,ge.createElement(ze.default,{form:$n,layout:"vertical",onFinish:Fn=>We(void 0,null,function*(){(yield(0,z.Uk)(ut({declaration_id:Ut==null?void 0:Ut.id,verify_status:"reject"},Fn))).status===0&&(Te.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),Xt())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:me.formWrap},ge.createElement(ze.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},ge.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:()=>We(void 0,null,function*(){yield $n.submit()})})}},"\u9A73\u56DE"),((tt=xt==null?void 0:xt.userInfo)==null?void 0:tt.real_name)===(Ut==null?void 0:Ut.user_name)&&[-1,2].includes(Ut==null?void 0:Ut.status)&&ge.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:()=>We(void 0,null,function*(){(yield(0,z.xx)({declaration_id:Ut==null?void 0:Ut.id})).status===0&&(Te.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),Xt())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((Qn=xt==null?void 0:xt.userInfo)==null?void 0:Qn.real_name)===(Ut==null?void 0:Ut.user_name)&&[-1,2].includes(Ut==null?void 0:Ut.status)&&ge.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:()=>We(void 0,null,function*(){(yield(0,z.UX)({id:Ut==null?void 0:Ut.id})).status===0&&(Te.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),Xt())})})}},"\u5220\u9664"))}}];(0,ae.useEffect)(()=>{Xt(),wn()},[]);const Xt=()=>We(void 0,null,function*(){var qt,Ut;Pt(!0);const _n=yield(0,z.Dn)(ut({declare_type:2},bn));(_n==null?void 0:_n.status)===0&&(Zt(((qt=_n==null?void 0:_n.data)==null?void 0:qt.list)||[]),hn(((Ut=_n==null?void 0:_n.data)==null?void 0:Ut.count)||0)),Pt(!1)}),wn=()=>We(void 0,null,function*(){var qt,Ut;const _n=yield(0,z.Xi)({declare_type:2});(_n==null?void 0:_n.status)===0&&(Bt(((qt=_n==null?void 0:_n.data)==null?void 0:qt.content)||"\u6682\u65E0\u6570\u636E"),yn(((Ut=_n==null?void 0:_n.data)==null?void 0:Ut.content)||"\u6682\u65E0\u6570\u636E"))}),Yn=()=>We(void 0,null,function*(){if((rt==null?void 0:rt.length)>1e3){Te.ZP.info("\u5B57\u6570\u4E0D\u80FD\u8D85\u8FC71000\u5B57\uFF01");return}const qt=yield(0,z.kF)({declare_type:2,content:rt});(qt==null?void 0:qt.status)===0&&(Kn(!1),Te.ZP.success("\u7F16\u8F91\u6210\u529F!"))});return ge.createElement(Ze.Z,{spinning:$e},ge.createElement("div",{className:me.contWrap},ge.createElement("div",{className:me.header},ge.createElement("div",{className:me.headTitle},"\u79D1\u7814\u9879\u76EE\u7533\u62A5"),ge.createElement("div",null,ge.createElement(je.Z,{menu:{items:[{key:1,label:ge.createElement("div",{onClick:()=>{Fe.history.push("/declaration/research/project/edit?type=1")}},"\u6C11\u53E3\u7EB5\u5411")},{key:2,label:ge.createElement("div",{onClick:()=>{Fe.history.push("/declaration/research/project/edit?type=2")}},"\u6C11\u53E3\u6A2A\u5411")},{key:3,label:ge.createElement("div",{onClick:()=>{Fe.history.push("/declaration/research/project/edit?type=3")}},"\u56FD\u9632\u7EB5\u5411")},{key:4,label:ge.createElement("div",{onClick:()=>{Fe.history.push("/declaration/research/project/edit?type=4")}},"\u56FD\u9632\u6A2A\u5411")}]},trigger:["click"]},ge.createElement(a.op,{shape:"default",onClick:()=>{It({type:"declaration/changeMode",payload:{mode:"edit"}})}},ge.createElement("span",null,"\u6DFB\u52A0\u9879\u76EE ",ge.createElement(b.Z,null)))),ge.createElement(je.Z,{menu:{items:[{key:1,label:ge.createElement("div",{onClick:()=>{It({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u6C11\u53E3\u7EB5\u5411\u9879\u76EE"}})}},"\u6C11\u53E3\u7EB5\u5411")},{key:2,label:ge.createElement("div",{onClick:()=>{It({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u6C11\u53E3\u6A2A\u5411\u9879\u76EE"}})}},"\u6C11\u53E3\u6A2A\u5411")},{key:3,label:ge.createElement("div",{onClick:()=>{It({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u56FD\u9632\u7EB5\u5411\u9879\u76EE"}})}},"\u56FD\u9632\u7EB5\u5411")},{key:4,label:ge.createElement("div",{onClick:()=>{It({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u56FD\u9632\u6A2A\u5411\u9879\u76EE"}})}},"\u56FD\u9632\u6A2A\u5411")}]}},ge.createElement(a.op,{className:"ml20",shape:"default"},"\u5BFC\u5165 ",ge.createElement(b.Z,null))),ge.createElement(a.op,{className:"ml20",shape:"default",onClick:()=>{(0,ne.Nd)("","/api/export_excels/down_excel.xlsx?declare_type=2")}},"\u5BFC\u51FA"))),ge.createElement(He.Z,{style:{margin:"12px 0px 20px 0px"}}),ge.createElement("div",{className:me.searchWrap},ge.createElement(qe.default,{size:"large",defaultValue:bn.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:qt=>{bn.status=qt,pa(ut({},bn)),bn.page=1,Xt()},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"}]}),ge.createElement(Ke.default,{size:"large",picker:"year",placeholder:"\u8BF7\u9009\u62E9\u7ACB\u9879\u5E74\u5EA6",style:{width:200,borderRadius:2},onChange:qt=>{bn.year=(qt==null?void 0:qt.format("YYYY"))||"",bn.page=1,pa(ut({},bn)),Xt()},format:"YYYY"}),ge.createElement(a.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:bn.keyword,onChange:qt=>{bn.page=1,bn.keywords=qt,pa(ut({},bn)),Xt()}})),ge.createElement("div",null,ge.createElement(Ee.default,{dataSource:ht,scroll:{x:1300},pagination:{total:an||0,size:"default",onChange:(qt,Ut)=>{bn.page=qt,bn.limit=Ut,pa(ut({},bn)),Xt()},current:bn==null?void 0:bn.page,pageSize:bn==null?void 0:bn.limit,showTotal:qt=>ge.createElement(ge.Fragment,null,"\u5171",ge.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},qt),"\u6761\u6570\u636E")},columns:zt,locale:{emptyText:ge.createElement(E.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),ge.createElement(He.Z,{style:{margin:"30px 0px"}}),Ft?ge.createElement("div",null,ge.createElement(y.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:rt,id:"editContent",onChange:qt=>{Bt(qt)}}),ge.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},ge.createElement(a.op,{shape:"default",onClick:()=>{Kn(!1),Bt(Ce)}},"\u53D6\u6D88"),ge.createElement(ce.ZP,{className:"ml20",type:"primary",onClick:()=>We(void 0,null,function*(){yield Yn()})},"\u63D0\u4EA4"))):ge.createElement("div",{className:me.wrap1},re.Ny&&ge.createElement("div",{className:me.editBtn,onClick:()=>{Kn(!0)}},ge.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),ge.createElement(x.Z,{className:"discuss-content",value:rt,style:{fontSize:"12px",color:"#232B40"}})),ge.createElement(Be.default,{title:"\u5BFC\u5165\u5931\u8D25",open:Me,width:500,centered:!0,destroyOnClose:!0,maskClosable:!1,className:me.optionModal,cancelButtonProps:{style:{display:"none"}},onCancel:()=>{pt(!1)},onOk:()=>{pt(!1)}},ge.createElement(Ee.default,{columns:[{title:"\u8BBA\u6587\u540D\u79F0",dataIndex:"title",key:"title",render:(qt,Ut)=>ge.createElement("span",null,"\u7B2C",`${Ut==null?void 0:Ut.index}`,"\u884C")},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"",key:"message",render:(qt,Ut)=>ge.createElement("span",null,`${Ut==null?void 0:Ut.what_column}\uFF1A${Ut==null?void 0:Ut.message}`)}],pagination:!1,dataSource:Jt})),ge.createElement(oe.Z,{exportTemplate:qt=>{qt==="\u5BFC\u5165\u6C11\u53E3\u7EB5\u5411\u9879\u76EE"?(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=1"):qt==="\u5BFC\u5165\u6C11\u53E3\u6A2A\u5411\u9879\u76EE"?(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=2"):qt==="\u5BFC\u5165\u56FD\u9632\u7EB5\u5411\u9879\u76EE"?(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=3"):qt==="\u5BFC\u5165\u56FD\u9632\u6A2A\u5411\u9879\u76EE"&&(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=4")},onSuccess:(qt,Ut)=>We(void 0,null,function*(){var _n,Ie,tt,Qn;const Fn=new FormData;if((Ut==null?void 0:Ut.length)==0){Te.ZP.error("\u8BF7\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6");return}const dt=(_n=Ut[0])==null?void 0:_n.originFileObj;if(!dt){Te.ZP.error("\u6587\u4EF6\u83B7\u53D6\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");return}Fn.append("file",dt),Fn.append("declare_type","2"),qt==="\u5BFC\u5165\u6C11\u53E3\u7EB5\u5411\u9879\u76EE"?Fn.append("project_type","1"):qt==="\u5BFC\u5165\u6C11\u53E3\u6A2A\u5411\u9879\u76EE"?Fn.append("project_type","2"):qt==="\u5BFC\u5165\u56FD\u9632\u7EB5\u5411\u9879\u76EE"?Fn.append("project_type","3"):qt==="\u5BFC\u5165\u56FD\u9632\u6A2A\u5411\u9879\u76EE"&&Fn.append("project_type","4");const rn=yield(0,z.kq)(Fn);((tt=(Ie=rn==null?void 0:rn.data)==null?void 0:Ie.fail)==null?void 0:tt.length)===0?(Te.ZP.success("\u4E0A\u4F20\u6210\u529F"),It({type:"declaration/setActionTabs",payload:{key:""}})):(Ge((Qn=rn==null?void 0:rn.data)==null?void 0:Qn.fail),pt(!0)),Xt()}),onClose:()=>{It({type:"declaration/setActionTabs",payload:{key:""}})}})))};var Xe=(0,Fe.connect)(({declaration:st,user:xt,loading:It})=>({declaration:st,loading:It,user:xt}))(Kt)},38780:function(vt,wt){"use strict";function ee(){const ae=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let me=1;me<arguments.length;me++){const Fe=me<0||arguments.length<=me?void 0:arguments[me];Fe&&Object.keys(Fe).forEach(ze=>{const Be=Fe[ze];Be!==void 0&&(ae[ze]=Be)})}return ae}wt.Z=ee},66367:function(vt,wt,ee){"use strict";ee.d(wt,{F:function(){return ae},Z:function(){return me}});function ae(Fe){return Fe!=null&&Fe===Fe.window}function me(Fe,ze){var Be,Te;if(typeof window=="undefined")return 0;const se=ze?"scrollTop":"scrollLeft";let Ze=0;return ae(Fe)?Ze=Fe[ze?"pageYOffset":"pageXOffset"]:Fe instanceof Document?Ze=Fe.documentElement[se]:(Fe instanceof HTMLElement||Fe)&&(Ze=Fe[se]),Fe&&!ae(Fe)&&typeof Ze!="number"&&(Ze=(Te=((Be=Fe.ownerDocument)!==null&&Be!==void 0?Be:Fe).documentElement)===null||Te===void 0?void 0:Te[se]),Ze}},57838:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return me}});var ae=ee(67294);function me(){const[,Fe]=ae.useReducer(ze=>ze+1,0);return Fe}},58375:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return ze}});var ae=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 Fe=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,Fe.Z)(He,!0),Ke=Date.now(),Ee=()=>{const a=Date.now()-Ke,y=me(a>je?je:a,qe,Be,je);(0,Fe.F)(He)?He.scrollTo(window.pageXOffset,y):He instanceof Document||He.constructor.name==="HTMLDocument"?He.documentElement.scrollTop=y:He.scrollTop=y,a<je?(0,ae.Z)(Ee):typeof Ze=="function"&&Ze()};(0,ae.Z)(Ee)}},84567:function(vt,wt,ee){"use strict";ee.d(wt,{default:function(){return ge}});var ae=ee(94184),me=ee.n(ae),Fe=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:ut,children:We,indeterminate:Kt=!1,style:Xe,onMouseEnter:st,onMouseLeave:xt,skipGroup:It=!1,disabled:Gt}=pe,ht=Ee(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Zt,direction:an,checkbox:hn}=ze.useContext(Be.E_),$e=ze.useContext(je),{isFormItemInput:Pt}=ze.useContext(se.aM),Ft=ze.useContext(Te.Z),Kn=(be=($e==null?void 0:$e.disabled)||Gt)!==null&&be!==void 0?be:Ft,rt=ze.useRef(ht.value);ze.useEffect(()=>{$e==null||$e.registerValue(ht.value)},[]),ze.useEffect(()=>{if(!It)return ht.value!==rt.current&&($e==null||$e.cancelValue(rt.current),$e==null||$e.registerValue(ht.value),rt.current=ht.value),()=>$e==null?void 0:$e.cancelValue(ht.value)},[ht.value]);const Bt=Zt("checkbox",xe),[Ce,yn]=(0,He.ZP)(Bt),bn=Object.assign({},ht);$e&&!It&&(bn.onChange=function(){ht.onChange&&ht.onChange.apply(ht,arguments),$e.toggleOption&&$e.toggleOption({label:We,value:ht.value})},bn.name=$e.name,bn.checked=$e.value.includes(ht.value));const pa=me()(`${Bt}-wrapper`,{[`${Bt}-rtl`]:an==="rtl",[`${Bt}-wrapper-checked`]:bn.checked,[`${Bt}-wrapper-disabled`]:Kn,[`${Bt}-wrapper-in-form-item`]:Pt},hn==null?void 0:hn.className,Se,ut,yn),$n=me()({[`${Bt}-indeterminate`]:Kt},Ke.A,yn),Jt=Kt?"mixed":void 0;return Ce(ze.createElement(qe.Z,{component:"Checkbox",disabled:Kn},ze.createElement("label",{className:pa,style:Object.assign(Object.assign({},hn==null?void 0:hn.style),Xe),onMouseEnter:st,onMouseLeave:xt},ze.createElement(Fe.Z,Object.assign({"aria-checked":Jt},bn,{prefixCls:Bt,className:$n,disabled:Kn,ref:we})),We!==void 0&&ze.createElement("span",null,We))))};var y=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:ut,className:We,rootClassName:Kt,style:Xe,onChange:st}=pe,xt=E(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:It,direction:Gt}=ze.useContext(Be.E_),[ht,Zt]=ze.useState(xt.value||be||[]),[an,hn]=ze.useState([]);ze.useEffect(()=>{"value"in xt&&Zt(xt.value||[])},[xt.value]);const $e=ze.useMemo(()=>Se.map(Ge=>typeof Ge=="string"||typeof Ge=="number"?{label:Ge,value:Ge}:Ge),[Se]),Pt=Ge=>{hn(Me=>Me.filter(pt=>pt!==Ge))},Ft=Ge=>{hn(Me=>[].concat((0,x.Z)(Me),[Ge]))},Kn=Ge=>{const Me=ht.indexOf(Ge.value),pt=(0,x.Z)(ht);Me===-1?pt.push(Ge.value):pt.splice(Me,1),"value"in xt||Zt(pt),st==null||st(pt.filter(zt=>an.includes(zt)).sort((zt,Xt)=>{const wn=$e.findIndex(qt=>qt.value===zt),Yn=$e.findIndex(qt=>qt.value===Xt);return wn-Yn}))},rt=It("checkbox",ut),Bt=`${rt}-group`,[Ce,yn]=(0,He.ZP)(rt),bn=(0,b.Z)(xt,["value","disabled"]),pa=Se.length?$e.map(Ge=>ze.createElement(y,{prefixCls:rt,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:xt.disabled,value:Ge.value,checked:ht.includes(Ge.value),onChange:Ge.onChange,className:`${Bt}-item`,style:Ge.style,title:Ge.title},Ge.label)):xe,$n={toggleOption:Kn,value:ht,disabled:xt.disabled,name:xt.name,registerValue:Ft,cancelValue:Pt},Jt=me()(Bt,{[`${Bt}-rtl`]:Gt==="rtl"},We,Kt,yn);return Ce(ze.createElement("div",Object.assign({className:Jt,style:Xe},bn,{ref:we}),ze.createElement(je.Provider,{value:$n},pa)))},re=ze.forwardRef(z);var oe=ze.memo(re);const ne=y;ne.Group=oe,ne.__ANT_CHECKBOX=!0;var ge=ne},63185:function(vt,wt,ee){"use strict";ee.d(wt,{C2:function(){return Be}});var ae=ee(14747),me=ee(45503),Fe=ee(67968);const ze=Te=>{const{checkboxCls:se}=Te,Ze=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{display:"inline-flex",flexWrap:"wrap",columnGap:Te.marginXS,[`> ${Te.antCls}-row`]:{flex:1}}),[Ze]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ze}`]:{marginInlineStart:0},[`&${Ze}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,ae.Wf)(Te)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Te.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,ae.oN)(Te))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Te.checkboxSize,height:Te.checkboxSize,direction:"ltr",backgroundColor:Te.colorBgContainer,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadiusSM,borderCollapse:"separate",transition:`all ${Te.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Te.checkboxSize/14*5,height:Te.checkboxSize/14*8,border:`${Te.lineWidthBold}px solid ${Te.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Te.motionDurationFast} ${Te.motionEaseInBack}, opacity ${Te.motionDurationFast}`}},"& + span":{paddingInlineStart:Te.paddingXS,paddingInlineEnd:Te.paddingXS}})},{[`
|
|
${Ze}:not(${Ze}-disabled),
|
|
${se}:not(${se}-disabled)
|
|
`]:{[`&:hover ${se}-inner`]:{borderColor:Te.colorPrimary}},[`${Ze}:not(${Ze}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:Te.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:Te.colorPrimary,borderColor:Te.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Te.motionDurationMid} ${Te.motionEaseOutBack} ${Te.motionDurationFast}`}}},[`
|
|
${Ze}-checked:not(${Ze}-disabled),
|
|
${se}-checked:not(${se}-disabled)
|
|
`]:{[`&:hover ${se}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:Te.colorBgContainer,borderColor:Te.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Te.fontSizeLG/2,height:Te.fontSizeLG/2,backgroundColor:Te.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ze}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,"&:after":{borderColor:Te.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Te.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:Te.colorTextDisabled}}}]};function Be(Te,se){const Ze=(0,me.TS)(se,{checkboxCls:`.${Te}`,checkboxSize:se.controlInteractiveSize});return[ze(Ze)]}wt.ZP=(0,Fe.Z)("Checkbox",(Te,se)=>{let{prefixCls:Ze}=se;return[Be(Ze,Te)]})},20669:function(vt,wt,ee){"use strict";ee.d(wt,{default:function(){return Wo}});var ae=ee(97909),me=ee.n(ae),Fe=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),a=ee.n(ce);me().extend(a()),me().extend(Ee()),me().extend(Be()),me().extend(se()),me().extend(je()),me().extend(qe()),me().extend(function(te,ie){var le=ie.prototype,fe=le.format;le.format=function(Ne){var Le=(Ne||"").replace("Wo","wo");return fe.bind(this)(Le)}});var y={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ie){var le=y[ie];return le||ie.split("_")[0]},b=function(){(0,Fe.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,fe){return le.locale(x(ie)).format(fe)},parse:function(ie,le,fe){for(var ve=x(ie),Ne=0;Ne<fe.length;Ne+=1){var Le=fe[Ne],Ye=le;if(Le.includes("wo")||Le.includes("Wo")){for(var Je=Ye.split("-")[0],ct=Ye.split("-")[1],Qt=me()(Je,"YYYY").startOf("year").locale(ve),ft=0;ft<=52;ft+=1){var St=Qt.add(ft,"week");if(St.format("Wo")===ct)return St}return b(),null}var Ct=me()(Ye,Le,!0).locale(ve);if(Ct.isValid())return Ct}return le&&b(),null}}},z=E,re=ee(8745),oe=ee(87462),ne=ee(67294),ge=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,oe.Z)({},ie,{ref:le,icon:we}))},Se=ne.forwardRef(xe),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},We=ut,Kt=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:We}))},Xe=ne.forwardRef(Kt),st=ee(16646),xt={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"},It=xt,Gt=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:It}))},ht=ne.forwardRef(Gt),Zt=ee(94184),an=ee.n(Zt),hn=ee(15671),$e=ee(43144),Pt=ee(97326),Ft=ee(60136),Kn=ee(51630),rt=ee(4942),Bt=ee(1413),Ce=ee(97685),yn=ee(5663),bn=ee(1337),pa=ee(92739),$n=ee(7699),Jt=10,Ge=Jt*10,Me=7;function pt(te,ie){if(!te&&!ie)return!0;if(!te||!ie)return!1}function zt(te,ie,le){var fe=pt(ie,le);if(typeof fe=="boolean")return fe;var ve=Math.floor(te.getYear(ie)/10),Ne=Math.floor(te.getYear(le)/10);return ve===Ne}function Xt(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:te.getYear(ie)===te.getYear(le)}function wn(te,ie){var le=Math.floor(te.getMonth(ie)/3);return le+1}function Yn(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:Xt(te,ie,le)&&wn(te,ie)===wn(te,le)}function qt(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:Xt(te,ie,le)&&te.getMonth(ie)===te.getMonth(le)}function Ut(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:te.getYear(ie)===te.getYear(le)&&te.getMonth(ie)===te.getMonth(le)&&te.getDate(ie)===te.getDate(le)}function _n(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:te.getHour(ie)===te.getHour(le)&&te.getMinute(ie)===te.getMinute(le)&&te.getSecond(ie)===te.getSecond(le)}function Ie(te,ie,le,fe){var ve=pt(le,fe);return typeof ve=="boolean"?ve:Xt(te,le,fe)&&te.locale.getWeek(ie,le)===te.locale.getWeek(ie,fe)}function tt(te,ie,le){return Ut(te,ie,le)&&_n(te,ie,le)}function Qn(te,ie,le,fe){return!ie||!le||!fe?!1:!Ut(te,ie,fe)&&!Ut(te,le,fe)&&te.isAfter(fe,ie)&&te.isAfter(le,fe)}function Fn(te,ie,le){var fe=ie.locale.getWeekFirstDay(te),ve=ie.setDate(le,1),Ne=ie.getWeekDay(ve),Le=ie.addDate(ve,fe-Ne);return ie.getMonth(Le)===ie.getMonth(le)&&ie.getDate(Le)>1&&(Le=ie.addDate(Le,-7)),Le}function dt(te,ie,le){var fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ie){case"year":return le.addYear(te,fe*10);case"quarter":case"month":return le.addYear(te,fe);default:return le.addMonth(te,fe)}}function rn(te,ie){var le=ie.generateConfig,fe=ie.locale,ve=ie.format;return typeof ve=="function"?ve(te):le.locale.format(fe.locale,te,ve)}function Ue(te,ie){var le=ie.generateConfig,fe=ie.locale,ve=ie.formatList;return!te||typeof ve[0]=="function"?null:le.locale.parse(fe.locale,te,ve)}function gt(te){var ie=te.cellDate,le=te.mode,fe=te.disabledDate,ve=te.generateConfig;if(!fe)return!1;var Ne=function(Nt,at,Et){for(var nn=at;nn<=Et;){var Mn=void 0;switch(Nt){case"date":{if(Mn=ve.setDate(ie,nn),!fe(Mn))return!1;break}case"month":{if(Mn=ve.setMonth(ie,nn),!gt({cellDate:Mn,mode:"month",generateConfig:ve,disabledDate:fe}))return!1;break}case"year":{if(Mn=ve.setYear(ie,nn),!gt({cellDate:Mn,mode:"year",generateConfig:ve,disabledDate:fe}))return!1;break}}nn+=1}return!0};switch(le){case"date":case"week":return fe(ie);case"month":{var Le=1,Ye=ve.getDate(ve.getEndDate(ie));return Ne("date",Le,Ye)}case"quarter":{var Je=Math.floor(ve.getMonth(ie)/3)*3,ct=Je+2;return Ne("month",Je,ct)}case"year":return Ne("month",0,11);case"decade":{var Qt=ve.getYear(ie),ft=Math.floor(Qt/Jt)*Jt,St=ft+Jt-1;return Ne("year",ft,St)}}}function Mt(te,ie){var le=ie.formatList,fe=ie.generateConfig,ve=ie.locale;return(0,pa.Z)(function(){if(!te)return[[""],""];for(var Ne="",Le=[],Ye=0;Ye<le.length;Ye+=1){var Je=le[Ye],ct=rn(te,{generateConfig:fe,locale:ve,format:Je});Le.push(ct),Ye===0&&(Ne=ct)}return[Le,Ne]},[te,le,ve],function(Ne,Le){return!tt(fe,Ne[0],Le[0])||!(0,$n.Z)(Ne[1],Le[1],!0)||!(0,$n.Z)(Ne[2],Le[2],!0)})}function Wt(te,ie){var le=ie.formatList,fe=ie.generateConfig,ve=ie.locale,Ne=(0,ne.useState)(null),Le=(0,Ce.Z)(Ne,2),Ye=Le[0],Je=Le[1],ct=(0,ne.useRef)(null);function Qt(Et){var nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(ct.current),nn){Je(Et);return}ct.current=requestAnimationFrame(function(){Je(Et)})}var ft=Mt(Ye,{formatList:le,generateConfig:fe,locale:ve}),St=(0,Ce.Z)(ft,2),Ct=St[1];function Nt(Et){Qt(Et)}function at(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Qt(null,Et)}return(0,ne.useEffect)(function(){at(!0)},[te]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(ct.current)}},[]),[Ct,Nt,at]}var Rt=ee(92389),Cn=ee(96523),ra=ee(74902),Vn=ee(48130),Gn=new Map;function Ga(te,ie){var le;function fe(){(0,Vn.Z)(te)?ie():le=(0,Cn.Z)(function(){fe()})}return fe(),function(){Cn.Z.cancel(le)}}function oa(te,ie,le){if(Gn.get(te)&&cancelAnimationFrame(Gn.get(te)),le<=0){Gn.set(te,requestAnimationFrame(function(){te.scrollTop=ie}));return}var fe=ie-te.scrollTop,ve=fe/le*10;Gn.set(te,requestAnimationFrame(function(){te.scrollTop+=ve,te.scrollTop!==ie&&oa(te,ie,le-10)}))}function ja(te,ie){var le=ie.onLeftRight,fe=ie.onCtrlLeftRight,ve=ie.onUpDown,Ne=ie.onPageUpDown,Le=ie.onEnter,Ye=te.which,Je=te.ctrlKey,ct=te.metaKey;switch(Ye){case Rt.Z.LEFT:if(Je||ct){if(fe)return fe(-1),!0}else if(le)return le(-1),!0;break;case Rt.Z.RIGHT:if(Je||ct){if(fe)return fe(1),!0}else if(le)return le(1),!0;break;case Rt.Z.UP:if(ve)return ve(-1),!0;break;case Rt.Z.DOWN:if(ve)return ve(1),!0;break;case Rt.Z.PAGE_UP:if(Ne)return Ne(-1),!0;break;case Rt.Z.PAGE_DOWN:if(Ne)return Ne(1),!0;break;case Rt.Z.ENTER:if(Le)return Le(),!0;break}return!1}function Pr(te,ie,le,fe){var ve=te;if(!ve)switch(ie){case"time":ve=fe?"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 fe=te==="time"?8:10,ve=typeof ie=="function"?ie(le.getNow()).length:ie.length;return Math.max(fe,ve)+2}var Xr=null,Rr=new Set;function Br(te){return!Xr&&typeof window!="undefined"&&window.addEventListener&&(Xr=function(le){(0,ra.Z)(Rr).forEach(function(fe){fe(le)})},window.addEventListener("mousedown",Xr)),Rr.add(te),function(){Rr.delete(te),Rr.size===0&&(window.removeEventListener("mousedown",Xr),Xr=null)}}function to(te){var ie=te.target;if(te.composed&&ie.shadowRoot){var le;return((le=te.composedPath)===null||le===void 0?void 0:le.call(te)[0])||ie}return ie}var lo=function(ie){return ie==="month"||ie==="date"?"year":ie},gr=function(ie){return ie==="date"?"month":ie},Pn=function(ie){return ie==="month"||ie==="date"?"quarter":ie},Zn=function(ie){return ie==="date"?"week":ie},An={year:lo,month:gr,quarter:Pn,week:Zn,time:null,date:null};function Dn(te,ie){return te.some(function(le){return le&&le.contains(ie)})}function Oa(te){var ie=te.open,le=te.value,fe=te.isClickOutside,ve=te.triggerOpen,Ne=te.forwardKeyDown,Le=te.onKeyDown,Ye=te.blurToCancel,Je=te.onSubmit,ct=te.onCancel,Qt=te.onFocus,ft=te.onBlur,St=te.changeOnBlur,Ct=(0,ne.useState)(!1),Nt=(0,Ce.Z)(Ct,2),at=Nt[0],Et=Nt[1],nn=(0,ne.useState)(!1),Mn=(0,Ce.Z)(nn,2),gn=Mn[0],dn=Mn[1],qn=(0,ne.useRef)(!1),on=(0,ne.useRef)(!1),cn=(0,ne.useRef)(!1),wa={onMouseDown:function(){Et(!0),ve(!0)},onKeyDown:function(La){var fa=function(){cn.current=!0};if(Le(La,fa),!cn.current){switch(La.which){case Rt.Z.ENTER:{ie?Je()!==!1&&Et(!0):ve(!0),La.preventDefault();return}case Rt.Z.TAB:{at&&ie&&!La.shiftKey?(Et(!1),La.preventDefault()):!at&&ie&&!Ne(La)&&La.shiftKey&&(Et(!0),La.preventDefault());return}case Rt.Z.ESC:{Et(!0),ct();return}}!ie&&![Rt.Z.SHIFT].includes(La.which)?ve(!0):at||Ne(La)}},onFocus:function(La){Et(!0),dn(!0),Qt&&Qt(La)},onBlur:function(La){if(qn.current||!fe(document.activeElement)){qn.current=!1;return}Ye?setTimeout(function(){for(var fa=document,nr=fa.activeElement;nr&&nr.shadowRoot;)nr=nr.shadowRoot.activeElement;fe(nr)&&ct()},0):ie&&(ve(!1),on.current&&Je()),dn(!1),ft==null||ft(La)}};return(0,ne.useEffect)(function(){on.current=!1},[ie]),(0,ne.useEffect)(function(){on.current=!0},[le]),(0,ne.useEffect)(function(){return Br(function(aa){var La=to(aa),fa=fe(La);ie&&(fa?!St&&(!gn||fa)&&ve(!1):(qn.current=!0,(0,Cn.Z)(function(){qn.current=!1})))})}),[wa,{focused:gn,typing:at}]}function Ar(te,ie){return ne.useMemo(function(){return te||(ie?((0,Fe.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ie).map(function(le){var fe=(0,Ce.Z)(le,2),ve=fe[0],Ne=fe[1];return{label:ve,value:Ne}})):[])},[te,ie])}var zn=ee(14075);function _e(te){var ie=te.valueTexts,le=te.onTextChange,fe=ne.useState(""),ve=(0,Ce.Z)(fe,2),Ne=ve[0],Le=ve[1],Ye=ne.useRef([]);Ye.current=ie;function Je(Qt){Le(Qt),le(Qt)}function ct(){Le(Ye.current[0])}return(0,zn.Z)(function(){ie.every(function(Qt){return Qt!==Ne})&&ct()},[ie.join("||")]),[Ne,Je,ct]}var lt=ne.createContext({}),Ve=lt,jt=ee(71002);function xn(te){var ie=te.cellRender,le=te.monthCellRender,fe=te.dateRender,ve=ne.useMemo(function(){if(ie)return ie;if(!(!le&&!fe))return function(Ne,Le){var Ye=Ne;return fe&&Le.type==="date"?fe(Ye,Le.today):le&&Le.type==="month"?le(Ye,Le.locale):Le.originNode}},[ie,le,fe]);return ve}function Jn(te,ie){for(var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",fe=String(te);fe.length<ie;)fe="".concat(le).concat(te);return fe}var Ka=function(){for(var ie=arguments.length,le=new Array(ie),fe=0;fe<ie;fe++)le[fe]=arguments[fe];return le};function ua(te){return te==null?[]:Array.isArray(te)?te:[te]}function Wn(te,ie){return te?te[ie]:null}function Ma(te,ie,le){var fe=[Wn(te,0),Wn(te,1)];return fe[le]=typeof ie=="function"?ie(fe[le]):ie,!fe[0]&&!fe[1]?null:fe}function ho(te){return typeof te=="function"?te():te}function Rn(te){var ie=te.cellPrefixCls,le=te.generateConfig,fe=te.rangedValue,ve=te.hoverRangedValue,Ne=te.isInView,Le=te.isSameCell,Ye=te.offsetCell,Je=te.today,ct=te.value;function Qt(ft){var St,Ct=Ye(ft,-1),Nt=Ye(ft,1),at=Wn(fe,0),Et=Wn(fe,1),nn=Wn(ve,0),Mn=Wn(ve,1),gn=Qn(le,nn,Mn,ft);function dn(La){return Le(at,La)}function qn(La){return Le(Et,La)}var on=Le(nn,ft),cn=Le(Mn,ft),wa=(gn||cn)&&(!Ne(Ct)||qn(Ct)),aa=(gn||on)&&(!Ne(Nt)||dn(Nt));return St={},(0,rt.Z)(St,"".concat(ie,"-in-view"),Ne(ft)),(0,rt.Z)(St,"".concat(ie,"-in-range"),Qn(le,at,Et,ft)),(0,rt.Z)(St,"".concat(ie,"-range-start"),dn(ft)),(0,rt.Z)(St,"".concat(ie,"-range-end"),qn(ft)),(0,rt.Z)(St,"".concat(ie,"-range-start-single"),dn(ft)&&!Et),(0,rt.Z)(St,"".concat(ie,"-range-end-single"),qn(ft)&&!at),(0,rt.Z)(St,"".concat(ie,"-range-start-near-hover"),dn(ft)&&(Le(Ct,nn)||Qn(le,nn,Mn,Ct))),(0,rt.Z)(St,"".concat(ie,"-range-end-near-hover"),qn(ft)&&(Le(Nt,Mn)||Qn(le,nn,Mn,Nt))),(0,rt.Z)(St,"".concat(ie,"-range-hover"),gn),(0,rt.Z)(St,"".concat(ie,"-range-hover-start"),on),(0,rt.Z)(St,"".concat(ie,"-range-hover-end"),cn),(0,rt.Z)(St,"".concat(ie,"-range-hover-edge-start"),wa),(0,rt.Z)(St,"".concat(ie,"-range-hover-edge-end"),aa),(0,rt.Z)(St,"".concat(ie,"-range-hover-edge-start-near-range"),wa&&Le(Ct,Et)),(0,rt.Z)(St,"".concat(ie,"-range-hover-edge-end-near-range"),aa&&Le(Nt,at)),(0,rt.Z)(St,"".concat(ie,"-today"),Le(Je,ft)),(0,rt.Z)(St,"".concat(ie,"-selected"),Le(ct,ft)),St}return Qt}var no=ne.createContext({}),ot=no;function tn(te,ie,le,fe,ve){var Ne=te.setHour(ie,le);return Ne=te.setMinute(Ne,fe),Ne=te.setSecond(Ne,ve),Ne}function $t(te,ie,le){if(!le)return ie;var fe=ie;return fe=te.setHour(fe,te.getHour(le)),fe=te.setMinute(fe,te.getMinute(le)),fe=te.setSecond(fe,te.getSecond(le)),fe}function _t(te,ie,le,fe,ve,Ne){var Le=Math.floor(te/fe)*fe;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 Je=Math.floor(le/Ne)*Ne;return[Le,Ye,Je]}function jn(te,ie){var le=te.getYear(ie),fe=te.getMonth(ie)+1,ve=te.getEndDate(te.getFixedDate("".concat(le,"-").concat(fe,"-01"))),Ne=te.getDate(ve),Le=fe<10?"0".concat(fe):"".concat(fe);return"".concat(le,"-").concat(Le,"-").concat(Ne)}function Vt(te){for(var ie=te.prefixCls,le=te.disabledDate,fe=te.onSelect,ve=te.picker,Ne=te.rowNum,Le=te.colNum,Ye=te.prefixColumn,Je=te.rowClassName,ct=te.baseDate,Qt=te.getCellClassName,ft=te.getCellText,St=te.getCellNode,Ct=te.getCellDate,Nt=te.generateConfig,at=te.titleCell,Et=te.headerCells,nn=ne.useContext(Ve),Mn=nn.onDateMouseEnter,gn=nn.onDateMouseLeave,dn=nn.mode,qn="".concat(ie,"-cell"),on=[],cn=0;cn<Ne;cn+=1){for(var wa=[],aa=void 0,La=function(){var wr,Vr=cn*Le+fa,ar=Ct(ct,Vr),lr=gt({cellDate:ar,mode:dn,disabledDate:le,generateConfig:Nt});fa===0&&(aa=ar,Ye&&wa.push(Ye(aa)));var ka=at&&at(ar),Yr=ne.createElement("div",{className:"".concat(qn,"-inner")},ft(ar));wa.push(ne.createElement("td",{key:fa,title:ka,className:an()(qn,(0,Bt.Z)((wr={},(0,rt.Z)(wr,"".concat(qn,"-disabled"),lr),(0,rt.Z)(wr,"".concat(qn,"-start"),ft(ar)===1||ve==="year"&&Number(ka)%10===0),(0,rt.Z)(wr,"".concat(qn,"-end"),ka===jn(Nt,ar)||ve==="year"&&Number(ka)%10===9),wr),Qt(ar))),onClick:function(){lr||fe(ar)},onMouseEnter:function(){!lr&&Mn&&Mn(ar)},onMouseLeave:function(){!lr&&gn&&gn(ar)}},St?St(ar,Yr):Yr))},fa=0;fa<Le;fa+=1)La();on.push(ne.createElement("tr",{key:cn,className:Je&&Je(aa)},wa))}return ne.createElement("div",{className:"".concat(ie,"-body")},ne.createElement("table",{className:"".concat(ie,"-content")},Et&&ne.createElement("thead",null,ne.createElement("tr",null,Et)),ne.createElement("tbody",null,on)))}function kn(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.prefixColumn,ve=te.locale,Ne=te.rowCount,Le=te.viewDate,Ye=te.value,Je=te.cellRender,ct=te.isSameCell,Qt=ne.useContext(ot),ft=Qt.rangedValue,St=Qt.hoverRangedValue,Ct=Fn(ve.locale,le,Le),Nt="".concat(ie,"-cell"),at=le.locale.getWeekFirstDay(ve.locale),Et=le.getNow(),nn=[],Mn=ve.shortWeekDays||(le.locale.getShortWeekDays?le.locale.getShortWeekDays(ve.locale):[]);fe&&nn.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var gn=0;gn<Me;gn+=1)nn.push(ne.createElement("th",{key:gn},Mn[(gn+at)%Me]));var dn=Rn({cellPrefixCls:Nt,today:Et,value:Ye,generateConfig:le,rangedValue:fe?null:ft,hoverRangedValue:fe?null:St,isSameCell:ct||function(on,cn){return Ut(le,on,cn)},isInView:function(cn){return qt(le,cn,Le)},offsetCell:function(cn,wa){return le.addDate(cn,wa)}}),qn=Je?function(on,cn){return Je(on,{originNode:cn,today:Et,type:"date",locale:ve})}:void 0;return ne.createElement(Vt,(0,oe.Z)({},te,{rowNum:Ne,colNum:Me,baseDate:Ct,getCellNode:qn,getCellText:le.getDate,getCellClassName:dn,getCellDate:le.addDate,titleCell:function(cn){return rn(cn,{locale:ve,format:"YYYY-MM-DD",generateConfig:le})},headerCells:nn}))}var un=kn,$a={visibility:"hidden"};function Aa(te){var ie=te.prefixCls,le=te.prevIcon,fe=le===void 0?"\u2039":le,ve=te.nextIcon,Ne=ve===void 0?"\u203A":ve,Le=te.superPrevIcon,Ye=Le===void 0?"\xAB":Le,Je=te.superNextIcon,ct=Je===void 0?"\xBB":Je,Qt=te.onSuperPrev,ft=te.onSuperNext,St=te.onPrev,Ct=te.onNext,Nt=te.children,at=ne.useContext(Ve),Et=at.hideNextBtn,nn=at.hidePrevBtn;return ne.createElement("div",{className:ie},Qt&&ne.createElement("button",{type:"button",onClick:Qt,tabIndex:-1,className:"".concat(ie,"-super-prev-btn"),style:nn?$a:{}},Ye),St&&ne.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(ie,"-prev-btn"),style:nn?$a:{}},fe),ne.createElement("div",{className:"".concat(ie,"-view")},Nt),Ct&&ne.createElement("button",{type:"button",onClick:Ct,tabIndex:-1,className:"".concat(ie,"-next-btn"),style:Et?$a:{}},Ne),ft&&ne.createElement("button",{type:"button",onClick:ft,tabIndex:-1,className:"".concat(ie,"-super-next-btn"),style:Et?$a:{}},ct))}var cr=Aa;function zr(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.viewDate,Ne=te.onNextMonth,Le=te.onPrevMonth,Ye=te.onNextYear,Je=te.onPrevYear,ct=te.onYearClick,Qt=te.onMonthClick,ft=ne.useContext(Ve),St=ft.hideHeader;if(St)return null;var Ct="".concat(ie,"-header"),Nt=fe.shortMonths||(le.locale.getShortMonths?le.locale.getShortMonths(fe.locale):[]),at=le.getMonth(ve),Et=ne.createElement("button",{type:"button",key:"year",onClick:ct,tabIndex:-1,className:"".concat(ie,"-year-btn")},rn(ve,{locale:fe,format:fe.yearFormat,generateConfig:le})),nn=ne.createElement("button",{type:"button",key:"month",onClick:Qt,tabIndex:-1,className:"".concat(ie,"-month-btn")},fe.monthFormat?rn(ve,{locale:fe,format:fe.monthFormat,generateConfig:le}):Nt[at]),Mn=fe.monthBeforeYear?[nn,Et]:[Et,nn];return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Ct,onSuperPrev:Je,onPrev:Le,onNext:Ne,onSuperNext:Ye}),Mn)}var co=zr,mn=6;function Bi(te){var ie=te.prefixCls,le=te.panelName,fe=le===void 0?"date":le,ve=te.keyboardConfig,Ne=te.active,Le=te.operationRef,Ye=te.generateConfig,Je=te.value,ct=te.viewDate,Qt=te.onViewDateChange,ft=te.onPanelChange,St=te.onSelect,Ct="".concat(ie,"-").concat(fe,"-panel");Le.current={onKeyDown:function(nn){return ja(nn,(0,Bt.Z)({onLeftRight:function(gn){St(Ye.addDate(Je||ct,gn),"key")},onCtrlLeftRight:function(gn){St(Ye.addYear(Je||ct,gn),"key")},onUpDown:function(gn){St(Ye.addDate(Je||ct,gn*Me),"key")},onPageUpDown:function(gn){St(Ye.addMonth(Je||ct,gn),"key")}},ve))}};var Nt=function(nn){var Mn=Ye.addYear(ct,nn);Qt(Mn),ft(null,Mn)},at=function(nn){var Mn=Ye.addMonth(ct,nn);Qt(Mn),ft(null,Mn)};return ne.createElement("div",{className:an()(Ct,(0,rt.Z)({},"".concat(Ct,"-active"),Ne))},ne.createElement(co,(0,oe.Z)({},te,{prefixCls:ie,value:Je,viewDate:ct,onPrevYear:function(){Nt(-1)},onNextYear:function(){Nt(1)},onPrevMonth:function(){at(-1)},onNextMonth:function(){at(1)},onMonthClick:function(){ft("month",ct)},onYearClick:function(){ft("year",ct)}})),ne.createElement(un,(0,oe.Z)({},te,{onSelect:function(nn){return St(nn,"mouse")},prefixCls:ie,value:Je,viewDate:ct,rowCount:mn})))}var ei=Bi;function qr(te){var ie=ne.useContext(Ve),le=ie.hideHeader;if(le)return null;var fe=te.prefixCls,ve=te.generateConfig,Ne=te.locale,Le=te.value,Ye=te.format,Je="".concat(fe,"-header");return ne.createElement(cr,{prefixCls:Je},Le?rn(Le,{locale:Ne,format:Ye,generateConfig:ve}):"\xA0")}var Yo=qr;function Tn(te){var ie=te.value,le=te.generateConfig,fe=te.disabledMinutes,ve=te.disabledSeconds,Ne=te.minutes,Le=te.seconds,Ye=te.use12Hours,Je=function(Qt,ft,St,Ct){var Nt=le.getNow(),at=ie||Nt,Et=ft<0?le.getHour(Nt):ft,nn=St<0?le.getMinute(Nt):St,Mn=Ct<0?le.getSecond(Nt):Ct,gn=fe&&fe(Et);if(gn!=null&&gn.includes(nn)){var dn=Ne.find(function(cn){return!gn.includes(cn.value)});if(dn)nn=dn.value;else return null}var qn=ve&&ve(Et,nn);if(qn!=null&&qn.includes(Mn)){var on=Le.find(function(cn){return!qn.includes(cn.value)});if(on)Mn=on.value;else return null}return at=tn(le,at,!Ye||!Qt?Et:Et+12,nn,Mn),at};return Je}function va(te){var ie=te.prefixCls,le=te.units,fe=te.onSelect,ve=te.value,Ne=te.active,Le=te.hideDisabledOptions,Ye=te.info,Je=te.type,ct="".concat(ie,"-cell"),Qt=ne.useContext(Ve),ft=Qt.open,St=(0,ne.useRef)(null),Ct=(0,ne.useRef)(new Map),Nt=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var at=Ct.current.get(ve);at&&ft!==!1&&oa(St.current,at.offsetTop,120)},[ve]),(0,ne.useLayoutEffect)(function(){if(ft){var at=Ct.current.get(ve);at&&(Nt.current=Ga(at,function(){oa(St.current,at.offsetTop,0)}))}return function(){var Et;(Et=Nt.current)===null||Et===void 0||Et.call(Nt)}},[ft]),ne.createElement("ul",{className:an()("".concat(ie,"-column"),(0,rt.Z)({},"".concat(ie,"-column-active"),Ne)),ref:St,style:{position:"relative"}},le.map(function(at){var Et;return Le&&at.disabled?null:ne.createElement("li",{key:at.value,ref:function(Mn){Ct.current.set(at.value,Mn)},className:an()(ct,(Et={},(0,rt.Z)(Et,"".concat(ct,"-disabled"),at.disabled),(0,rt.Z)(Et,"".concat(ct,"-selected"),ve===at.value),Et)),onClick:function(){at.disabled||fe(at.value)}},Ye.cellRender?Ye.cellRender(at.value,{today:Ye.today,locale:Ye.locale,originNode:ne.createElement("div",{className:"".concat(ct,"-inner")},at.label),type:"time",subType:Je}):ne.createElement("div",{className:"".concat(ct,"-inner")},at.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,fe){for(var ve=[],Ne=le>=1?le|0:1,Le=te;Le<=ie;Le+=Ne)ve.push({label:Jn(Le,2),value:Le,disabled:(fe||[]).includes(Le)});return ve}function _r(te){var ie=te.generateConfig,le=te.prefixCls,fe=te.operationRef,ve=te.activeColumnIndex,Ne=te.value,Le=te.showHour,Ye=te.showMinute,Je=te.showSecond,ct=te.use12Hours,Qt=te.hourStep,ft=Qt===void 0?1:Qt,St=te.minuteStep,Ct=St===void 0?1:St,Nt=te.secondStep,at=Nt===void 0?1:Nt,Et=te.disabledHours,nn=te.disabledMinutes,Mn=te.disabledSeconds,gn=te.disabledTime,dn=te.hideDisabledOptions,qn=te.onSelect,on=te.cellRender,cn=te.locale,wa=[],aa="".concat(le,"-content"),La="".concat(le,"-time-panel"),fa,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[Et,nn,Mn]},[Et,nn,Mn,gn,lr]),Yr=(0,Ce.Z)(ka,3),Sr=Yr[0],Lr=Yr[1],Mo=Yr[2],To=Wr(0,23,ft,Sr&&Sr()),Uo=(0,pa.Z)(function(){return To},To,Un);ct&&(fa=wr>=12,wr%=12);var Pi=ne.useMemo(function(){if(!ct)return[!1,!1];var Cr=[!0,!0];return Uo.forEach(function(Zo){var bo=Zo.disabled,Qr=Zo.value;bo||(Qr>=12?Cr[1]=!1:Cr[0]=!1)}),Cr},[ct,Uo]),No=(0,Ce.Z)(Pi,2),ci=No[0],io=No[1],vo=ne.useMemo(function(){return ct?Uo.filter(fa?function(Cr){return Cr.value>=12}:function(Cr){return Cr.value<12}).map(function(Cr){var Zo=Cr.value%12,bo=Zo===0?"12":Jn(Zo,2);return(0,Bt.Z)((0,Bt.Z)({},Cr),{},{label:bo,value:Zo})}):Uo},[ct,fa,Uo]),Fo=Wr(0,59,Ct,Lr&&Lr(nr)),ui=Wr(0,59,at,Mo&&Mo(nr,Vr)),mi=Tn({value:Ne,generateConfig:ie,disabledMinutes:Lr,disabledSeconds:Mo,minutes:Fo,seconds:ui,use12Hours:ct});fe.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:dn}),onSelect:_a,value:bo,units:Qr})}ji(Le,ne.createElement(Va,{key:"hour",type:"hour",info:{today:lr,locale:cn,cellRender:on}}),wr,vo,function(Cr){qn(mi(fa,Cr,Vr,ar),"mouse")}),ji(Ye,ne.createElement(Va,{key:"minute",type:"minute",info:{today:lr,locale:cn,cellRender:on}}),Vr,Fo,function(Cr){qn(mi(fa,wr,Cr,ar),"mouse")}),ji(Je,ne.createElement(Va,{key:"second",type:"second",info:{today:lr,locale:cn,cellRender:on}}),ar,ui,function(Cr){qn(mi(fa,wr,Vr,Cr),"mouse")});var vi=-1;return typeof fa=="boolean"&&(vi=fa?1:0),ji(ct===!0,ne.createElement(Va,{key:"meridiem",type:"meridiem",info:{today:lr,locale:cn,cellRender:on}}),vi,[{label:"AM",value:0,disabled:ci},{label:"PM",value:1,disabled:io}],function(Cr){qn(mi(!!Cr,wr,Vr,ar),"mouse")}),ne.createElement("div",{className:aa},wa.map(function(Cr){var Zo=Cr.node;return Zo}))}var ti=_r,ni=function(ie){return ie.filter(function(le){return le!==!1}).length};function ai(te){var ie=te.generateConfig,le=te.format,fe=le===void 0?"HH:mm:ss":le,ve=te.prefixCls,Ne=te.active,Le=te.operationRef,Ye=te.showHour,Je=te.showMinute,ct=te.showSecond,Qt=te.use12Hours,ft=Qt===void 0?!1:Qt,St=te.onSelect,Ct=te.value,Nt="".concat(ve,"-time-panel"),at=ne.useRef(),Et=ne.useState(-1),nn=(0,Ce.Z)(Et,2),Mn=nn[0],gn=nn[1],dn=ni([Ye,Je,ct,ft]);return Le.current={onKeyDown:function(on){return ja(on,{onLeftRight:function(wa){gn((Mn+wa+dn)%dn)},onUpDown:function(wa){Mn===-1?gn(0):at.current&&at.current.onUpDown(wa)},onEnter:function(){St(Ct||ie.getNow(),"key"),gn(-1)}})},onBlur:function(){gn(-1)}},ne.createElement("div",{className:an()(Nt,(0,rt.Z)({},"".concat(Nt,"-active"),Ne))},ne.createElement(Yo,(0,oe.Z)({},te,{format:fe,prefixCls:ve})),ne.createElement(ti,(0,oe.Z)({},te,{prefixCls:ve,activeColumnIndex:Mn,operationRef:at})))}var bl=ai,yi=Ka("date","time");function Kl(te){var ie=te.prefixCls,le=te.operationRef,fe=te.generateConfig,ve=te.value,Ne=te.defaultValue,Le=te.disabledTime,Ye=te.showTime,Je=te.onSelect,ct=te.cellRender,Qt="".concat(ie,"-datetime-panel"),ft=ne.useState(null),St=(0,Ce.Z)(ft,2),Ct=St[0],Nt=St[1],at=ne.useRef({}),Et=ne.useRef({}),nn=(0,jt.Z)(Ye)==="object"?(0,Bt.Z)({},Ye):{};function Mn(on){var cn=yi.indexOf(Ct)+on,wa=yi[cn]||null;return wa}var gn=function(cn){Et.current.onBlur&&Et.current.onBlur(cn),Nt(null)};le.current={onKeyDown:function(cn){if(cn.which===Rt.Z.TAB){var wa=Mn(cn.shiftKey?-1:1);return Nt(wa),wa&&cn.preventDefault(),!0}if(Ct){var aa=Ct==="date"?at:Et;return aa.current&&aa.current.onKeyDown&&aa.current.onKeyDown(cn),!0}return[Rt.Z.LEFT,Rt.Z.RIGHT,Rt.Z.UP,Rt.Z.DOWN].includes(cn.which)?(Nt("date"),!0):!1},onBlur:gn,onClose:gn};var dn=function(cn,wa){var aa=cn;wa==="date"&&!ve&&nn.defaultValue?(aa=fe.setHour(aa,fe.getHour(nn.defaultValue)),aa=fe.setMinute(aa,fe.getMinute(nn.defaultValue)),aa=fe.setSecond(aa,fe.getSecond(nn.defaultValue))):wa==="time"&&!ve&&Ne&&(aa=fe.setYear(aa,fe.getYear(Ne)),aa=fe.setMonth(aa,fe.getMonth(Ne)),aa=fe.setDate(aa,fe.getDate(Ne))),Je&&Je(aa,"mouse")},qn=Le?Le(ve||null):{};return ne.createElement("div",{className:an()(Qt,(0,rt.Z)({},"".concat(Qt,"-active"),Ct))},ne.createElement(ei,(0,oe.Z)({},te,{cellRender:ct,operationRef:at,active:Ct==="date",onSelect:function(cn){dn($t(fe,cn,!ve&&(0,jt.Z)(Ye)==="object"?Ye.defaultValue:null),"date")}})),ne.createElement(bl,(0,oe.Z)({},te,{cellRender:ct?function(on,cn){return ct(on,(0,Bt.Z)((0,Bt.Z)({},cn),{},{type:"time"}))}:void 0,format:void 0},nn,qn,{disabledTime:null,defaultValue:void 0,operationRef:Et,active:Ct==="time",onSelect:function(cn){dn(cn,"time")}})))}var $l=Kl;function wi(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.viewDate,ve=te.onPrevDecades,Ne=te.onNextDecades,Le=ne.useContext(Ve),Ye=Le.hideHeader;if(Ye)return null;var Je="".concat(ie,"-header"),ct=le.getYear(fe),Qt=Math.floor(ct/Ge)*Ge,ft=Qt+Ge-1;return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Je,onSuperPrev:ve,onSuperNext:Ne}),Qt,"-",ft)}var Xo=wi,hl=3,Cl=4;function Fl(te){var ie=Jt-1,le=te.prefixCls,fe=te.viewDate,ve=te.generateConfig,Ne=te.cellRender,Le=te.locale,Ye="".concat(le,"-cell"),Je=ve.getYear(fe),ct=Math.floor(Je/Jt)*Jt,Qt=Math.floor(Je/Ge)*Ge,ft=Qt+Ge-1,St=ve.setYear(fe,Qt-Math.ceil((hl*Cl*Jt-Ge)/2)),Ct=function(Et){var nn,Mn=ve.getYear(Et),gn=Mn+ie;return nn={},(0,rt.Z)(nn,"".concat(Ye,"-in-view"),Qt<=Mn&&gn<=ft),(0,rt.Z)(nn,"".concat(Ye,"-selected"),Mn===ct),nn},Nt=Ne?function(at,Et){return Ne(at,{originNode:Et,today:ve.getNow(),type:"decade",locale:Le})}:void 0;return ne.createElement(Vt,(0,oe.Z)({},te,{rowNum:Cl,colNum:hl,baseDate:St,getCellNode:Nt,getCellText:function(Et){var nn=ve.getYear(Et);return"".concat(nn,"-").concat(nn+ie)},getCellClassName:Ct,getCellDate:function(Et,nn){return ve.addYear(Et,nn*Jt)}}))}var tl=Fl;function ki(te){var ie=te.prefixCls,le=te.onViewDateChange,fe=te.generateConfig,ve=te.viewDate,Ne=te.operationRef,Le=te.onSelect,Ye=te.onPanelChange,Je="".concat(ie,"-decade-panel");Ne.current={onKeyDown:function(St){return ja(St,{onLeftRight:function(Nt){Le(fe.addYear(ve,Nt*Jt),"key")},onCtrlLeftRight:function(Nt){Le(fe.addYear(ve,Nt*Ge),"key")},onUpDown:function(Nt){Le(fe.addYear(ve,Nt*Jt*hl),"key")},onEnter:function(){Ye("year",ve)}})}};var ct=function(St){var Ct=fe.addYear(ve,St*Ge);le(Ct),Ye(null,Ct)},Qt=function(St){Le(St,"mouse"),Ye("year",St)};return ne.createElement("div",{className:Je},ne.createElement(Xo,(0,oe.Z)({},te,{prefixCls:ie,onPrevDecades:function(){ct(-1)},onNextDecades:function(){ct(1)}})),ne.createElement(tl,(0,oe.Z)({},te,{prefixCls:ie,onSelect:Qt})))}var pl=ki;function kr(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.viewDate,Ne=te.onNextYear,Le=te.onPrevYear,Ye=te.onYearClick,Je=ne.useContext(Ve),ct=Je.hideHeader;if(ct)return null;var Qt="".concat(ie,"-header");return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Qt,onSuperPrev:Le,onSuperNext:Ne}),ne.createElement("button",{type:"button",onClick:Ye,className:"".concat(ie,"-year-btn")},rn(ve,{locale:fe,format:fe.yearFormat,generateConfig:le})))}var mt=kr,At=3,en=4;function Ae(te){var ie=te.prefixCls,le=te.locale,fe=te.value,ve=te.viewDate,Ne=te.generateConfig,Le=te.cellRender,Ye=ne.useContext(ot),Je=Ye.rangedValue,ct=Ye.hoverRangedValue,Qt="".concat(ie,"-cell"),ft=Rn({cellPrefixCls:Qt,value:fe,generateConfig:Ne,rangedValue:Je,hoverRangedValue:ct,isSameCell:function(Et,nn){return qt(Ne,Et,nn)},isInView:function(){return!0},offsetCell:function(Et,nn){return Ne.addMonth(Et,nn)}}),St=le.shortMonths||(Ne.locale.getShortMonths?Ne.locale.getShortMonths(le.locale):[]),Ct=Ne.setMonth(ve,0),Nt=Le?function(at,Et){return Le(at,{originNode:Et,locale:le,today:Ne.getNow(),type:"month"})}:void 0;return ne.createElement(Vt,(0,oe.Z)({},te,{rowNum:en,colNum:At,baseDate:Ct,getCellNode:Nt,getCellText:function(Et){return le.monthFormat?rn(Et,{locale:le,format:le.monthFormat,generateConfig:Ne}):St[Ne.getMonth(Et)]},getCellClassName:ft,getCellDate:Ne.addMonth,titleCell:function(Et){return rn(Et,{locale:le,format:"YYYY-MM",generateConfig:Ne})}}))}var Yt=Ae;function Bn(te){var ie=te.prefixCls,le=te.operationRef,fe=te.onViewDateChange,ve=te.generateConfig,Ne=te.value,Le=te.viewDate,Ye=te.onPanelChange,Je=te.onSelect,ct="".concat(ie,"-month-panel");le.current={onKeyDown:function(St){return ja(St,{onLeftRight:function(Nt){Je(ve.addMonth(Ne||Le,Nt),"key")},onCtrlLeftRight:function(Nt){Je(ve.addYear(Ne||Le,Nt),"key")},onUpDown:function(Nt){Je(ve.addMonth(Ne||Le,Nt*At),"key")},onEnter:function(){Ye("date",Ne||Le)}})}};var Qt=function(St){var Ct=ve.addYear(Le,St);fe(Ct),Ye(null,Ct)};return ne.createElement("div",{className:ct},ne.createElement(mt,(0,oe.Z)({},te,{prefixCls:ie,onPrevYear:function(){Qt(-1)},onNextYear:function(){Qt(1)},onYearClick:function(){Ye("year",Le)}})),ne.createElement(Yt,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(St){Je(St,"mouse"),Ye("date",St)}})))}var Nn=Bn;function yt(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.viewDate,Ne=te.onNextYear,Le=te.onPrevYear,Ye=te.onYearClick,Je=ne.useContext(Ve),ct=Je.hideHeader;if(ct)return null;var Qt="".concat(ie,"-header");return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Qt,onSuperPrev:Le,onSuperNext:Ne}),ne.createElement("button",{type:"button",onClick:Ye,className:"".concat(ie,"-year-btn")},rn(ve,{locale:fe,format:fe.yearFormat,generateConfig:le})))}var Ht=yt,kt=4,In=1;function da(te){var ie=te.prefixCls,le=te.locale,fe=te.value,ve=te.viewDate,Ne=te.generateConfig,Le=te.cellRender,Ye=ne.useContext(ot),Je=Ye.rangedValue,ct=Ye.hoverRangedValue,Qt="".concat(ie,"-cell"),ft=Rn({cellPrefixCls:Qt,value:fe,generateConfig:Ne,rangedValue:Je,hoverRangedValue:ct,isSameCell:function(at,Et){return Yn(Ne,at,Et)},isInView:function(){return!0},offsetCell:function(at,Et){return Ne.addMonth(at,Et*3)}}),St=Ne.setDate(Ne.setMonth(ve,0),1),Ct=Le?function(Nt,at){return Le(Nt,{originNode:at,locale:le,today:Ne.getNow(),type:"quarter"})}:void 0;return ne.createElement(Vt,(0,oe.Z)({},te,{rowNum:In,colNum:kt,baseDate:St,getCellNode:Ct,getCellText:function(at){return rn(at,{locale:le,format:le.quarterFormat||"[Q]Q",generateConfig:Ne})},getCellClassName:ft,getCellDate:function(at,Et){return Ne.addMonth(at,Et*3)},titleCell:function(at){return rn(at,{locale:le,format:"YYYY-[Q]Q",generateConfig:Ne})}}))}var xa=da;function Sa(te){var ie=te.prefixCls,le=te.operationRef,fe=te.onViewDateChange,ve=te.generateConfig,Ne=te.value,Le=te.viewDate,Ye=te.onPanelChange,Je=te.onSelect,ct="".concat(ie,"-quarter-panel");le.current={onKeyDown:function(St){return ja(St,{onLeftRight:function(Nt){Je(ve.addMonth(Ne||Le,Nt*3),"key")},onCtrlLeftRight:function(Nt){Je(ve.addYear(Ne||Le,Nt),"key")},onUpDown:function(Nt){Je(ve.addYear(Ne||Le,Nt),"key")}})}};var Qt=function(St){var Ct=ve.addYear(Le,St);fe(Ct),Ye(null,Ct)};return ne.createElement("div",{className:ct},ne.createElement(Ht,(0,oe.Z)({},te,{prefixCls:ie,onPrevYear:function(){Qt(-1)},onNextYear:function(){Qt(1)},onYearClick:function(){Ye("year",Le)}})),ne.createElement(xa,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(St){Je(St,"mouse")}})))}var Ia=Sa;function rr(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.value,Ne=te.disabledDate,Le=te.onSelect,Ye=ne.useContext(ot),Je=Ye.rangedValue,ct=Ye.hoverRangedValue,Qt=ne.useContext(Ve),ft=Qt.onDateMouseEnter,St=Qt.onDateMouseLeave,Ct=(ct==null?void 0:ct[0])||(Je==null?void 0:Je[0]),Nt=(ct==null?void 0:ct[1])||(Je==null?void 0:Je[1]),at="".concat(ie,"-cell"),Et=function(dn){var qn=gt({cellDate:dn,mode:"week",disabledDate:Ne,generateConfig:le});return ne.createElement("td",{key:"week",className:an()(at,"".concat(at,"-week")),onClick:function(){qn||Le(dn,"mouse")},onMouseEnter:function(){!qn&&ft&&ft(dn)},onMouseLeave:function(){!qn&&St&&St(dn)}},ne.createElement("div",{className:"".concat(at,"-inner")},le.locale.getWeek(fe.locale,dn)))},nn="".concat(ie,"-week-panel-row"),Mn=function(dn){var qn,on=Ie(le,fe.locale,Ct,dn),cn=Ie(le,fe.locale,Nt,dn);return an()(nn,(qn={},(0,rt.Z)(qn,"".concat(nn,"-selected"),!Je&&Ie(le,fe.locale,ve,dn)),(0,rt.Z)(qn,"".concat(nn,"-range-start"),on),(0,rt.Z)(qn,"".concat(nn,"-range-end"),cn),(0,rt.Z)(qn,"".concat(nn,"-range-hover"),!on&&!cn&&Qn(le,Ct,Nt,dn)),qn))};return ne.createElement(ei,(0,oe.Z)({},te,{panelName:"week",prefixColumn:Et,rowClassName:Mn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Ln=rr,Dt=10;function Sn(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.viewDate,ve=te.onPrevDecade,Ne=te.onNextDecade,Le=te.onDecadeClick,Ye=ne.useContext(Ve),Je=Ye.hideHeader;if(Je)return null;var ct="".concat(ie,"-header"),Qt=le.getYear(fe),ft=Math.floor(Qt/Dt)*Dt,St=ft+Dt-1;return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:ct,onSuperPrev:ve,onSuperNext:Ne}),ne.createElement("button",{type:"button",onClick:Le,className:"".concat(ie,"-decade-btn")},ft,"-",St))}var En=Sn,ia=3,Fa=4;function Xa(te){var ie=te.prefixCls,le=te.value,fe=te.viewDate,ve=te.locale,Ne=te.generateConfig,Le=te.cellRender,Ye=ne.useContext(ot),Je=Ye.rangedValue,ct=Ye.hoverRangedValue,Qt="".concat(ie,"-cell"),ft=Ne.getYear(fe),St=Math.floor(ft/Dt)*Dt,Ct=St+Dt-1,Nt=Ne.setYear(fe,St-Math.ceil((ia*Fa-Dt)/2)),at=Ne.getNow(),Et=function(dn){var qn=Ne.getYear(dn);return St<=qn&&qn<=Ct},nn=Rn({cellPrefixCls:Qt,value:le,generateConfig:Ne,rangedValue:Je,hoverRangedValue:ct,isSameCell:function(dn,qn){return Xt(Ne,dn,qn)},isInView:Et,offsetCell:function(dn,qn){return Ne.addYear(dn,qn)}}),Mn=Le?function(gn,dn){return Le(gn,{originNode:dn,today:at,type:"year",locale:ve})}:void 0;return ne.createElement(Vt,(0,oe.Z)({},te,{rowNum:Fa,colNum:ia,baseDate:Nt,getCellNode:Mn,getCellText:Ne.getYear,getCellClassName:nn,getCellDate:Ne.addYear,titleCell:function(dn){return rn(dn,{locale:ve,format:"YYYY",generateConfig:Ne})}}))}var yr=Xa;function sr(te){var ie=te.prefixCls,le=te.operationRef,fe=te.onViewDateChange,ve=te.generateConfig,Ne=te.value,Le=te.viewDate,Ye=te.sourceMode,Je=te.onSelect,ct=te.onPanelChange,Qt="".concat(ie,"-year-panel");le.current={onKeyDown:function(Ct){return ja(Ct,{onLeftRight:function(at){Je(ve.addYear(Ne||Le,at),"key")},onCtrlLeftRight:function(at){Je(ve.addYear(Ne||Le,at*Dt),"key")},onUpDown:function(at){Je(ve.addYear(Ne||Le,at*ia),"key")},onEnter:function(){ct(Ye==="date"?"date":"month",Ne||Le)}})}};var ft=function(Ct){var Nt=ve.addYear(Le,Ct*10);fe(Nt),ct(null,Nt)};return ne.createElement("div",{className:Qt},ne.createElement(En,(0,oe.Z)({},te,{prefixCls:ie,onPrevDecade:function(){ft(-1)},onNextDecade:function(){ft(1)},onDecadeClick:function(){ct("decade",Le)}})),ne.createElement(yr,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(Ct){ct(Ye==="date"?"date":"month",Ct),Je(Ct,"mouse")}})))}var ea=sr;function ba(te,ie,le){return le?ne.createElement("div",{className:"".concat(te,"-footer-extra")},le(ie)):null}function Pa(te){var ie=te.prefixCls,le=te.components,fe=le===void 0?{}:le,ve=te.needConfirmButton,Ne=te.onNow,Le=te.onOk,Ye=te.okDisabled,Je=te.showNow,ct=te.locale,Qt,ft;if(ve){var St=fe.button||"button";Ne&&Je!==!1&&(Qt=ne.createElement("li",{className:"".concat(ie,"-now")},ne.createElement("a",{className:"".concat(ie,"-now-btn"),onClick:Ne},ct.now))),ft=ve&&ne.createElement("li",{className:"".concat(ie,"-ok")},ne.createElement(St,{disabled:Ye,onClick:Le},ct.ok))}return!Qt&&!ft?null:ne.createElement("ul",{className:"".concat(ie,"-ranges")},Qt,ft)}var Za=["date","month"];function dr(te){var ie,le=te,fe=le.prefixCls,ve=fe===void 0?"rc-picker":fe,Ne=le.className,Le=le.style,Ye=le.locale,Je=le.generateConfig,ct=le.value,Qt=le.defaultValue,ft=le.pickerValue,St=le.defaultPickerValue,Ct=le.disabledDate,Nt=le.mode,at=le.picker,Et=at===void 0?"date":at,nn=le.tabIndex,Mn=nn===void 0?0:nn,gn=le.showNow,dn=le.showTime,qn=le.showToday,on=le.renderExtraFooter,cn=le.hideHeader,wa=le.onSelect,aa=le.onChange,La=le.onPanelChange,fa=le.onMouseDown,nr=le.onPickerValueChange,wr=le.onOk,Vr=le.components,ar=le.direction,lr=le.hourStep,ka=lr===void 0?1:lr,Yr=le.minuteStep,Sr=Yr===void 0?1:Yr,Lr=le.secondStep,Mo=Lr===void 0?1:Lr,To=le.dateRender,Uo=le.monthCellRender,Pi=le.cellRender,No=Et==="date"&&!!dn||Et==="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,yn.Z)(null,{value:ct,defaultValue:Qt,postState:function(Ta){return!Ta&&vi&&Et==="time"?vi:Ta}}),fl=(0,Ce.Z)(Ji,2),zi=fl[0],as=fl[1],ys=(0,yn.Z)(null,{value:ft,defaultValue:St||zi,postState:function(Ta){var oo=Je.getNow();if(!Ta)return oo;if(!zi&&dn){var ii=(0,jt.Z)(dn)==="object"?dn.defaultValue:Qt;return $t(Je,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=An[Et];return oo?oo(Ta):Ta},oi=(0,yn.Z)(function(){return Et==="time"?"time":Ro("date")},{value:Nt}),$i=(0,Ce.Z)(oi,2),Vo=$i[0],qi=$i[1];ne.useEffect(function(){qi(Et)},[Et]);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||tt(Je,Xi,Xi))&&La(oo,ii)},Wi=function(Ta,oo){var ii=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Vo===Et||ii)&&(as(Ta),wa&&wa(Ta),mi&&mi(Ta,oo),aa&&!tt(Je,Ta,zi)&&!(Ct!=null&&Ct(Ta))&&aa(Ta))},vl=function(Ta){if(Za.includes(Vo)){var oo,ii,Ll=Vo==="date";switch(Ta===Rt.Z.PAGE_UP||Ta===Rt.Z.PAGE_DOWN?ii=Ll?Je.addMonth:Je.addYear:ii=Ll?Je.addDate:Je.addMonth,Ta){case Rt.Z.LEFT:case Rt.Z.PAGE_UP:oo=ii(Xi,-1);break;case Rt.Z.RIGHT:case Rt.Z.PAGE_DOWN:oo=ii(Xi,1);break;case Rt.Z.UP:case Rt.Z.DOWN:oo=ii(Xi,Number("".concat(Ta===Rt.Z.UP?"-":"").concat(Ll?Me:At)));break}if(oo)return!(Ct!=null&&Ct(oo))}return!0},Hl=function(Ta){if(ao.current&&ao.current.onKeyDown){var oo=!0,ii=Ta.which;if([Rt.Z.LEFT,Rt.Z.RIGHT,Rt.Z.UP,Rt.Z.DOWN,Rt.Z.PAGE_UP,Rt.Z.PAGE_DOWN,Rt.Z.ENTER].includes(ii)&&(Ta.preventDefault(),ii!==Rt.Z.ENTER&&Mn===0&&(oo=vl(ii))),oo)return ao.current.onKeyDown(Ta)}return(0,Fe.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Co=function(Ta){ao.current&&ao.current.onBlur&&ao.current.onBlur(Ta)};ui&&bo!=="right"&&(ui.current={onKeyDown:Hl,onClose:function(){ao.current&&ao.current.onClose&&ao.current.onClose()}}),ne.useEffect(function(){ct&&!jo.current&&Ki(ct)},[ct]),ne.useEffect(function(){jo.current=!1},[]);var so,yl=xn({cellRender:Pi,monthCellRender:Uo,dateRender:To}),Do=(0,Bt.Z)((0,Bt.Z)({},te),{},{cellRender:yl,operationRef:ao,prefixCls:ve,viewDate:Xi,value:zi,onViewDateChange:xr,sourceMode:ml,onPanelChange:_i,disabledDate:Ct});switch(delete Do.onChange,delete Do.onSelect,Vo){case"decade":so=ne.createElement(pl,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"year":so=ne.createElement(ea,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"month":so=ne.createElement(Nn,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"quarter":so=ne.createElement(Ia,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"week":so=ne.createElement(Ln,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"time":delete Do.showTime,so=ne.createElement(bl,(0,oe.Z)({},Do,(0,jt.Z)(dn)==="object"?dn:null,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;default:dn?so=ne.createElement($l,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}})):so=ne.createElement(ei,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}))}var rs,Gl,jl=function(){var Ta=Je.getNow(),oo=_t(Je.getHour(Ta),Je.getMinute(Ta),Je.getSecond(Ta),ci?ka:1,io?Sr:1,vo?Mo:1),ii=tn(Je,Ta,oo[0],oo[1],oo[2]);Wi(ii,"submit")};ji||(rs=ba(ve,Vo,on),dn&&Vo!=="date"?Gl=null:Gl=Pa({prefixCls:ve,components:Vr,needConfirmButton:No,okDisabled:!zi||Ct&&Ct(zi),locale:Ye,showNow:gn,onNow:No&&jl,onOk:function(){zi&&(Wi(zi,"submit",!0),wr&&wr(zi))}}));var wl;if(qn&&Vo==="date"&&Et==="date"&&!dn){var os=Je.getNow(),qs="".concat(ve,"-today-btn"),bs=Ct&&Ct(os);wl=ne.createElement("a",{className:an()(qs,bs&&"".concat(qs,"-disabled")),"aria-disabled":bs,onClick:function(){bs||Wi(os,"mouse",!0)}},Ye.today)}return ne.createElement(Ve.Provider,{value:(0,Bt.Z)((0,Bt.Z)({},Fo),{},{mode:Vo,hideHeader:"hideHeader"in te?cn:Fo.hideHeader,hidePrevBtn:Zo&&bo==="right",hideNextBtn:Zo&&bo==="left"})},ne.createElement("div",{tabIndex:Mn,className:an()("".concat(ve,"-panel"),Ne,(ie={},(0,rt.Z)(ie,"".concat(ve,"-panel-has-range"),Qr&&Qr[0]&&Qr[1]),(0,rt.Z)(ie,"".concat(ve,"-panel-has-range-hover"),_a&&_a[0]&&_a[1]),(0,rt.Z)(ie,"".concat(ve,"-panel-rtl"),ar==="rtl"),ie)),style:Le,onKeyDown:Hl,onBlur:Co,onMouseDown:fa},so,rs||Gl||wl?ne.createElement("div",{className:"".concat(ve,"-footer")},rs,Gl,wl):null))}var Hr=dr,ro=ee(45987),Eo=ee(73935);function wo(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Lo={};function Oi(te,ie){}function xl(te,ie){}function Wl(){Lo={}}function Rl(te,ie,le){!ie&&!Lo[le]&&(te(!1,le),Lo[le]=!0)}function Sl(te,ie){Rl(Oi,te,ie)}function Li(te,ie){Rl(xl,te,ie)}var is=null,Ul=ee(49286);function ls(te,ie,le){var fe=ne.useRef({});return(!("value"in fe.current)||le(fe.current.condition,ie))&&(fe.current.value=te(),fe.current.condition=ie),fe.current.value}function zs(te,ie){typeof te=="function"?te(ie):(0,jt.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 fe=ie.filter(function(ve){return ve});return fe.length<=1?fe[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(fe,ve){return fe.length===ve.length&&fe.every(function(Ne,Le){return Ne===ve[Le]})})}function Vl(te){var ie,le,fe=(0,Ul.isMemo)(te)?te.type.type:te.type;return!(typeof fe=="function"&&!((ie=fe.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 fe=React.useRef(!0);Gs(function(){if(!fe.current)return ie()},le),Gs(function(){return fe.current=!1,function(){fe.current=!0}},[])},bi=[];function Ai(te,ie){var le=ne.useState(function(){if(!wo())return null;var Nt=document.createElement("div");return Nt}),fe=(0,Ce.Z)(le,1),ve=fe[0],Ne=ne.useRef(!1),Le=ne.useContext(Ol),Ye=ne.useState(bi),Je=(0,Ce.Z)(Ye,2),ct=Je[0],Qt=Je[1],ft=Le||(Ne.current?void 0:function(Nt){Qt(function(at){var Et=[Nt].concat((0,ra.Z)(at));return Et})});function St(){ve.parentElement||document.body.appendChild(ve),Ne.current=!0}function Ct(){var Nt;(Nt=ve.parentElement)===null||Nt===void 0||Nt.removeChild(ve),Ne.current=!1}return ps(function(){return te?Le?Le(St):St():Ct(),Ct},[te]),ps(function(){ct.length&&(ct.forEach(function(Nt){return Nt()}),Qt(bi))},[ct]),[ve,ft]}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,fe=ie.prepend,ve=document.createElement("style");ve.setAttribute(Ds,Nr(fe)),le!=null&&le.nonce&&(ve.nonce=le==null?void 0:le.nonce),ve.innerHTML=te;var Ne=ql(ie),Le=Ne.firstChild;if(fe){if(fe==="queue"){var Ye=ds(Ne).filter(function(Je){return["prepend","prependQueue"].includes(Je.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(fe){return fe.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 fe=ql(ie);fe.removeChild(le)}}function Ks(te,ie){var le=Ci.get(te);if(!le||!il(document,le)){var fe=cs("",ie),ve=fe.parentNode;Ci.set(te,ve),te.removeChild(fe)}}function Pc(){Ci.clear()}function rd(te,ie){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},fe=ql(le);Ks(fe,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 Je=cs(te,le);return Je.setAttribute(ss(le),ie),Je}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"),fe=le.style;fe.position="absolute",fe.top="0",fe.left="0",fe.pointerEvents="none",fe.visibility="hidden",fe.width="200px",fe.height="150px",fe.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,fe=ie.height;return{width:ic(le),height:ic(fe)}}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)}),fe=(0,Ce.Z)(le,1),ve=fe[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,fe=te.autoLock,ve=te.getContainer,Ne=te.debug,Le=te.autoDestroy,Ye=Le===void 0?!0:Le,Je=te.children,ct=ne.useState(le),Qt=(0,Ce.Z)(ct,2),ft=Qt[0],St=Qt[1],Ct=ft||le;ne.useEffect(function(){(Ye||le)&&St(le)},[le,Ye]);var Nt=ne.useState(function(){return sc(ve)}),at=(0,Ce.Z)(Nt,2),Et=at[0],nn=at[1];ne.useEffect(function(){var nr=sc(ve);nn(nr!=null?nr:null)});var Mn=Ai(Ct&&!Et,Ne),gn=(0,Ce.Z)(Mn,2),dn=gn[0],qn=gn[1],on=Et!=null?Et:dn;Cc(fe&&le&&wo()&&(on===dn||on===document.body));var cn=null;if(Je&&Vl(Je)&&ie){var wa=Je;cn=wa.ref}var aa=Hs(cn,ie);if(!Ct||!wo()||Et===void 0)return null;var La=on===!1||xc(),fa=Je;return ie&&(fa=ne.cloneElement(Je,{ref:aa})),ne.createElement(Ol.Provider,{value:qn},La?fa:(0,Eo.createPortal)(fa,on))}),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,Bt.Z)({},ge);return te.useId}var Qd=0;function Oc(){}var Pe=Nc(),Re=Pe?function(ie){var le=Pe();return ie||le}:function(ie){var le=ne.useState("ssr-id"),fe=(0,Ce.Z)(le,2),ve=fe[0],Ne=fe[1];return ne.useEffect(function(){var Le=Qd;Qd+=1,Ne("rc_unique_".concat(Le))},[]),ie||ve},ke=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),Ot=it;function fn(te){return te?Array.isArray(te)?te:[te]:[]}function pn(te,ie,le,fe){return ne.useMemo(function(){var ve=fn(le!=null?le:ie),Ne=fn(fe!=null?fe: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,fe])}function ca(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=arguments.length>2?arguments[2]:void 0;return le?te[0]===ie[0]:te[0]===ie[0]&&te[1]===ie[1]}function Ea(te,ie,le,fe){for(var ve=le.points,Ne=Object.keys(te),Le=0;Le<Ne.length;Le+=1){var Ye,Je=Ne[Le];if(ca((Ye=te[Je])===null||Ye===void 0?void 0:Ye.points,ve,fe))return"".concat(ie,"-placement-").concat(Je)}return""}function ma(te,ie,le,fe){return ie||(le?{motionName:"".concat(te,"-").concat(le)}:fe?{motionName:fe}:null)}function Ya(te){return te.ownerDocument.defaultView}function ha(te){for(var ie=[],le=te==null?void 0:te.parentElement,fe=["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(Je){return fe.includes(Je)})&&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,Bt.Z)({},te);return(ie||[]).forEach(function(fe){if(!(fe instanceof HTMLBodyElement||fe instanceof HTMLHtmlElement)){var ve=Ya(fe).getComputedStyle(fe),Ne=ve.overflow,Le=ve.overflowClipMargin,Ye=ve.borderTopWidth,Je=ve.borderBottomWidth,ct=ve.borderLeftWidth,Qt=ve.borderRightWidth,ft=fe.getBoundingClientRect(),St=fe.offsetHeight,Ct=fe.clientHeight,Nt=fe.offsetWidth,at=fe.clientWidth,Et=za(Ye),nn=za(Je),Mn=za(ct),gn=za(Qt),dn=qa(Math.round(ft.width/Nt*1e3)/1e3),qn=qa(Math.round(ft.height/St*1e3)/1e3),on=(Nt-at-Mn-gn)*dn,cn=(St-Ct-Et-nn)*qn,wa=Et*qn,aa=nn*qn,La=Mn*dn,fa=gn*dn,nr=0,wr=0;if(Ne==="clip"){var Vr=za(Le);nr=Vr*dn,wr=Vr*qn}var ar=ft.x+La-nr,lr=ft.y+wa-wr,ka=ar+ft.width+2*nr-La-fa-on,Yr=lr+ft.height+2*wr-wa-aa-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),fe=le.match(/^(.*)\%$/);return fe?te*(parseFloat(fe[1])/100):parseFloat(le)}function eo(te,ie){var le=ie||[],fe=(0,Ce.Z)(le,2),ve=fe[0],Ne=fe[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],fe=ie[1],ve,Ne;return le==="t"?Ne=te.y:le==="b"?Ne=te.y+te.height:Ne=te.y+te.height/2,fe==="l"?ve=te.x:fe==="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(fe,ve){return ve===ie?le[fe]||"c":fe}).join("")}function er(te,ie,le,fe,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[fe]||{}}),Je=(0,Ce.Z)(Ye,2),ct=Je[0],Qt=Je[1],ft=ne.useRef(0),St=ne.useMemo(function(){return ie?ha(ie):[]},[ie]),Ct=ne.useRef({}),Nt=function(){Ct.current={}};te||Nt();var at=(0,Fs.Z)(function(){if(ie&&le&&te){let Xl=function(ac,Nd){var ed=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ao,rc=Sr.x+ac,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 Mn,gn,dn=ie,qn=dn.ownerDocument,on=Ya(dn),cn=on.getComputedStyle(dn),wa=cn.width,aa=cn.height,La=cn.position,fa=dn.style.left,nr=dn.style.top,wr=dn.style.right,Vr=dn.style.bottom,ar=(0,Bt.Z)((0,Bt.Z)({},ve[fe]),Ne),lr=qn.createElement("div");(Mn=dn.parentElement)===null||Mn===void 0||Mn.appendChild(lr),lr.style.left="".concat(dn.offsetLeft,"px"),lr.style.top="".concat(dn.offsetTop,"px"),lr.style.position=La,lr.style.height="".concat(dn.offsetHeight,"px"),lr.style.width="".concat(dn.offsetWidth,"px"),dn.style.left="0",dn.style.top="0",dn.style.right="auto",dn.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=dn.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;dn.style.left="auto",dn.style.top="auto",dn.style.right="0",dn.style.bottom="0";var Ji=dn.getBoundingClientRect();dn.style.left=fa,dn.style.top=nr,dn.style.right=wr,dn.style.bottom=Vr,(gn=dn.parentElement)===null||gn===void 0||gn.removeChild(lr);var fl=qa(Math.round(vo/parseFloat(wa)*1e3)/1e3),zi=qa(Math.round(io/parseFloat(aa)*1e3)/1e3);if(fl===0||zi===0||Md(le)&&!(0,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,Bt.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||Ct.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)?(Ct.current.bt=!0,so=Ei,xr=-xr,Hl.points=[br(_i,0),br(Hi,0)]):Ct.current.bt=!1}if(id&&_i[0]==="b"&&(ii<jo.top||Ct.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)?(Ct.current.tb=!0,so=Al,xr=-xr,Hl.points=[br(_i,0),br(Hi,0)]):Ct.current.tb=!1}var Zd=oo(qs),Ed=_i[1]===Hi[1];if(Zd&&_i[1]==="l"&&(As>jo.right||Ct.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)?(Ct.current.rl=!0,Co=Ns,Ki=-Ki,Hl.points=[br(_i,1),br(Hi,1)]):Ct.current.rl=!1}if(Zd&&_i[1]==="r"&&(Is<jo.left||Ct.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)?(Ct.current.lr=!0,Co=Ts,Ki=-Ki,Hl.points=[br(_i,1),br(Hi,1)]):Ct.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);Qt({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})}}),Et=function(){ft.current+=1;var gn=ft.current;Promise.resolve().then(function(){ft.current===gn&&at()})},nn=function(){Qt(function(gn){return(0,Bt.Z)((0,Bt.Z)({},gn),{},{ready:!1})})};return(0,zn.Z)(nn,[fe]),(0,zn.Z)(function(){te||nn()},[te]),[ct.ready,ct.offsetX,ct.offsetY,ct.offsetR,ct.offsetB,ct.arrowX,ct.arrowY,ct.scaleX,ct.scaleY,ct.align,Et]}function li(te,ie,le,fe,ve){(0,zn.Z)(function(){if(te&&ie&&le){let ft=function(){fe(),ve()};var Ne=ie,Le=le,Ye=ha(Ne),Je=ha(Le),ct=Ya(Le),Qt=new Set([ct].concat((0,ra.Z)(Ye),(0,ra.Z)(Je)));return Qt.forEach(function(St){St.addEventListener("scroll",ft,{passive:!0})}),ct.addEventListener("resize",ft,{passive:!0}),fe(),function(){Qt.forEach(function(St){St.removeEventListener("scroll",ft),ct.removeEventListener("resize",ft)})}}},[te,ie,le])}var Ko=ee(60276);function si(te,ie,le,fe,ve,Ne,Le,Ye){var Je=ne.useRef(te),ct=ne.useRef(!1);Je.current!==te&&(ct.current=!0,Je.current=te),ne.useEffect(function(){var Qt=(0,Cn.Z)(function(){ct.current=!1});return function(){Cn.Z.cancel(Qt)}},[te]),ne.useEffect(function(){if(ie&&fe&&(!ve||Ne)){var Qt=function(){var La=!1,fa=function(Vr){var ar=Vr.target;La=Le(ar)},nr=function(Vr){var ar=Vr.target;!ct.current&&Je.current&&!La&&!Le(ar)&&Ye(!1)};return[fa,nr]},ft=Qt(),St=(0,Ce.Z)(ft,2),Ct=St[0],Nt=St[1],at=Qt(),Et=(0,Ce.Z)(at,2),nn=Et[0],Mn=Et[1],gn=Ya(fe);gn.addEventListener("mousedown",Ct,!0),gn.addEventListener("click",Nt,!0),gn.addEventListener("contextmenu",Nt,!0);var dn=od(le);if(dn&&(dn.addEventListener("mousedown",nn,!0),dn.addEventListener("click",Mn,!0),dn.addEventListener("contextmenu",Mn,!0)),0)var qn,on,cn,wa;return function(){gn.removeEventListener("mousedown",Ct,!0),gn.removeEventListener("click",Nt,!0),gn.removeEventListener("contextmenu",Nt,!0),dn&&(dn.removeEventListener("mousedown",nn,!0),dn.removeEventListener("click",Mn,!0),dn.removeEventListener("contextmenu",Mn,!0))}}},[ie,le,fe,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 fe=React.useRef({});return(!("value"in fe.current)||le(fe.current.condition,ie))&&(fe.current.value=te(),fe.current.condition=ie),fe.current.value}function Po(te,ie){typeof te=="function"?te(ie):(0,jt.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 fe=ie.filter(function(ve){return ve});return fe.length<=1?fe[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(fe,ve){return fe.length===ve.length&&fe.every(function(Ne,Le){return Ne===ve[Le]})})}function qo(te){var ie,le,fe=(0,Ul.isMemo)(te)?te.type.type:te.type;return!(typeof fe=="function"&&!((ie=fe.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),fe=le.length,ve=0;ve<fe;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,jt.Z)(te)==="object"){var le=ie.replace(/-\w/g,function(fe){return fe[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),fe=(0,Ce.Z)(le,2),ve=fe[0],Ne=fe[1];ne.useEffect(function(){return ie.current=!1,function(){ie.current=!0}},[]);function Le(Ye,Je){Je&&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 fe=gs;function ve(Ne){if(Ne===0)_l(fe),ie();else{var Le=Ti(function(){ve(Ne-1)});xs.set(fe,Le)}}return ve(le),fe};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(fe){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ie();var Ne=fd(function(){ve<=1?fe({isCanceled:function(){return Ne!==te.current}}):le(fe,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),fe=(0,Ce.Z)(le,2),ve=fe[0],Ne=fe[1],Le=fs(),Ye=(0,Ce.Z)(Le,2),Je=Ye[0],ct=Ye[1];function Qt(){Ne(Fi,!0)}return es(function(){if(ve!==ll&&ve!==$o){var ft=ms.indexOf(ve),St=ms[ft+1],Ct=ie(ve);Ct===md?Ne(St,!0):Je(function(Nt){function at(){Nt.isCanceled()||Ne(St,!0)}Ct===!0?at():Promise.resolve(Ct).then(at)})}},[te,ve]),ne.useEffect(function(){return function(){ct()}},[]),[Qt,ve]},vd=function(te){var ie=(0,ne.useRef)(),le=(0,ne.useRef)(te);le.current=te;var fe=ne.useCallback(function(Le){le.current(Le)},[]);function ve(Le){Le&&(Le.removeEventListener(Ni,fe),Le.removeEventListener(Nl,fe))}function Ne(Le){ie.current&&ie.current!==Le&&ve(ie.current),Le&&Le!==ie.current&&(Le.addEventListener(Ni,fe),Le.addEventListener(Nl,fe),ie.current=Le)}return ne.useEffect(function(){return function(){ve(ie.current)}},[]),[Ne,ve]};function Ql(te,ie,le,fe){var ve=fe.motionEnter,Ne=ve===void 0?!0:ve,Le=fe.motionAppear,Ye=Le===void 0?!0:Le,Je=fe.motionLeave,ct=Je===void 0?!0:Je,Qt=fe.motionDeadline,ft=fe.motionLeaveImmediately,St=fe.onAppearPrepare,Ct=fe.onEnterPrepare,Nt=fe.onLeavePrepare,at=fe.onAppearStart,Et=fe.onEnterStart,nn=fe.onLeaveStart,Mn=fe.onAppearActive,gn=fe.onEnterActive,dn=fe.onLeaveActive,qn=fe.onAppearEnd,on=fe.onEnterEnd,cn=fe.onLeaveEnd,wa=fe.onVisibleChanged,aa=Mr(),La=(0,Ce.Z)(aa,2),fa=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=on==null?void 0:on(_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,rt.Z)(Qr,Fi,St),(0,rt.Z)(Qr,El,at),(0,rt.Z)(Qr,Yi,Mn),Qr;case Yl:return _a={},(0,rt.Z)(_a,Fi,Ct),(0,rt.Z)(_a,El,Et),(0,rt.Z)(_a,Yi,gn),_a;case us:return ao={},(0,rt.Z)(ao,Fi,Nt),(0,rt.Z)(ao,El,nn),(0,rt.Z)(ao,Yi,dn),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()),Qt>0&&(clearTimeout(To.current),To.current=setTimeout(function(){No({deadline:!0})},Qt))),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&&ct||!Qr&&ft&&!ie&&ct)&&(_a=us),_a&&(lr(_a),ji())}},[ie]),(0,ne.useEffect)(function(){(ar===gl&&!Ye||ar===Yl&&!Ne||ar===us&&!ct)&&lr(di)},[Ye,Ne,ct]),(0,ne.useEffect)(function(){return function(){Mo.current=!1,clearTimeout(To.current)}},[]);var Zo=ne.useRef(!1);(0,ne.useEffect)(function(){fa&&(Zo.current=!0),fa!==void 0&&ar===di&&((Zo.current||fa)&&(wa==null||wa(fa)),Zo.current=!0)},[fa,ar]);var bo=Sr;return Fo[Fi]&&vi===El&&(bo=(0,Bt.Z)({transition:"none"},bo)),[ar,vi,bo,fa!=null?fa:ie]}var Us=function(te){(0,Ft.Z)(le,te);var ie=(0,Kn.Z)(le);function le(){return(0,hn.Z)(this,le),ie.apply(this,arguments)}return(0,$e.Z)(le,[{key:"render",value:function(){return this.props.children}}]),le}(ne.Component),qd=Us;function Rs(te){var ie=te;(0,jt.Z)(te)==="object"&&(ie=te.transitionSupport);function le(ve){return!!(ve.motionName&&ie)}var fe=ne.forwardRef(function(ve,Ne){var Le=ve.visible,Ye=Le===void 0?!0:Le,Je=ve.removeOnLeave,ct=Je===void 0?!0:Je,Qt=ve.forceRender,ft=ve.children,St=ve.motionName,Ct=ve.leavedClassName,Nt=ve.eventProps,at=le(ve),Et=(0,ne.useRef)(),nn=(0,ne.useRef)();function Mn(){try{return Et.current instanceof HTMLElement?Et.current:Ui(nn.current)}catch(ka){return null}}var gn=Ql(at,Ye,Mn,ve),dn=(0,Ce.Z)(gn,4),qn=dn[0],on=dn[1],cn=dn[2],wa=dn[3],aa=ne.useRef(wa);wa&&(aa.current=!0);var La=ne.useCallback(function(ka){Et.current=ka,Po(Ne,ka)},[Ne]),fa,nr=(0,Bt.Z)((0,Bt.Z)({},Nt),{},{visible:Ye});if(!ft)fa=null;else if(qn===di||!le(ve))wa?fa=ft((0,Bt.Z)({},nr),La):!ct&&aa.current&&Ct?fa=ft((0,Bt.Z)((0,Bt.Z)({},nr),{},{className:Ct}),La):Qt||!ct&&!Ct?fa=ft((0,Bt.Z)((0,Bt.Z)({},nr),{},{style:{display:"none"}}),La):fa=null;else{var wr,Vr;on===Fi?Vr="prepare":Fd(on)?Vr="active":on===El&&(Vr="start"),fa=ft((0,Bt.Z)((0,Bt.Z)({},nr),{},{className:an()(Ho(St,qn),(wr={},(0,rt.Z)(wr,Ho(St,"".concat(qn,"-").concat(Vr)),Vr),(0,rt.Z)(wr,St,typeof St=="string"),wr)),style:cn}),La)}if(ne.isValidElement(fa)&&qo(fa)){var ar=fa,lr=ar.ref;lr||(fa=ne.cloneElement(fa,{ref:La}))}return ne.createElement(qd,{ref:nn},fa)});return fe.displayName="CSSMotion",fe}var Zl=Rs(Oo),hd="add",Vs="keep",Es="remove",Zi="removed";function ri(te){var ie;return te&&(0,jt.Z)(te)==="object"&&"key"in te?ie=te:ie={key:te},(0,Bt.Z)((0,Bt.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=[],fe=0,ve=ie.length,Ne=ts(te),Le=ts(ie);Ne.forEach(function(ct){for(var Qt=!1,ft=fe;ft<ve;ft+=1){var St=Le[ft];if(St.key===ct.key){fe<ft&&(le=le.concat(Le.slice(fe,ft).map(function(Ct){return(0,Bt.Z)((0,Bt.Z)({},Ct),{},{status:hd})})),fe=ft),le.push((0,Bt.Z)((0,Bt.Z)({},St),{},{status:Vs})),fe+=1,Qt=!0;break}}Qt||le.push((0,Bt.Z)((0,Bt.Z)({},ct),{},{status:Es}))}),fe<ve&&(le=le.concat(Le.slice(fe).map(function(ct){return(0,Bt.Z)((0,Bt.Z)({},ct),{},{status:hd})})));var Ye={};le.forEach(function(ct){var Qt=ct.key;Ye[Qt]=(Ye[Qt]||0)+1});var Je=Object.keys(Ye).filter(function(ct){return Ye[ct]>1});return Je.forEach(function(ct){le=le.filter(function(Qt){var ft=Qt.key,St=Qt.status;return ft!==ct||St!==Es}),le.forEach(function(Qt){Qt.key===ct&&(Qt.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(fe){(0,Ft.Z)(Ne,fe);var ve=(0,Kn.Z)(Ne);function Ne(){var Le;(0,hn.Z)(this,Ne);for(var Ye=arguments.length,Je=new Array(Ye),ct=0;ct<Ye;ct++)Je[ct]=arguments[ct];return Le=ve.call.apply(ve,[this].concat(Je)),(0,rt.Z)((0,Pt.Z)(Le),"state",{keyEntities:[]}),(0,rt.Z)((0,Pt.Z)(Le),"removeKey",function(Qt){var ft=Le.state.keyEntities,St=ft.map(function(Ct){return Ct.key!==Qt?Ct:(0,Bt.Z)((0,Bt.Z)({},Ct),{},{status:Zi})});return Le.setState({keyEntities:St}),St.filter(function(Ct){var Nt=Ct.status;return Nt!==Zi}).length}),Le}return(0,$e.Z)(Ne,[{key:"render",value:function(){var Ye=this,Je=this.state.keyEntities,ct=this.props,Qt=ct.component,ft=ct.children,St=ct.onVisibleChanged,Ct=ct.onAllRemoved,Nt=(0,ro.Z)(ct,pd),at=Qt||ne.Fragment,Et={};return Sd.forEach(function(nn){Et[nn]=Nt[nn],delete Nt[nn]}),delete Nt.keys,ne.createElement(at,Nt,Je.map(function(nn){var Mn=nn.status,gn=(0,ro.Z)(nn,Rd),dn=Mn===hd||Mn===Vs;return ne.createElement(ie,(0,oe.Z)({},Et,{key:gn.key,visible:dn,eventProps:gn,onVisibleChanged:function(on){if(St==null||St(on,{key:gn.key}),!on){var cn=Ye.removeKey(gn.key);cn===0&&Ct&&Ct()}}}),ft)}))}}],[{key:"getDerivedStateFromProps",value:function(Ye,Je){var ct=Ye.keys,Qt=Je.keyEntities,ft=ts(ct),St=ws(Qt,ft);return{keyEntities:St.filter(function(Ct){var Nt=Qt.find(function(at){var Et=at.key;return Ct.key===Et});return!(Nt&&Nt.status===Zi&&Ct.status===Es)})}}}]),Ne}(ne.Component);return(0,rt.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,fe=te.arrow,ve=te.arrowPos,Ne=fe||{},Le=Ne.className,Ye=Ne.content,Je=ve.x,ct=Je===void 0?0:Je,Qt=ve.y,ft=Qt===void 0?0:Qt,St=ne.useRef();if(!le||!le.points)return null;var Ct={position:"absolute"};if(le.autoArrow!==!1){var Nt=le.points[0],at=le.points[1],Et=Nt[0],nn=Nt[1],Mn=at[0],gn=at[1];Et===Mn||!["t","b"].includes(Et)?Ct.top=ft:Et==="t"?Ct.top=0:Ct.bottom=0,nn===gn||!["l","r"].includes(nn)?Ct.left=ct:nn==="l"?Ct.left=0:Ct.right=0}return ne.createElement("div",{ref:St,className:an()("".concat(ie,"-arrow"),Le),style:Ct},Ye)}function yd(te){var ie=te.prefixCls,le=te.open,fe=te.zIndex,ve=te.mask,Ne=te.motion;return ve?ne.createElement(kd,(0,oe.Z)({},Ne,{motionAppear:!0,visible:le,removeOnLeave:!0}),function(Le){var Ye=Le.className;return ne.createElement("div",{style:{zIndex:fe},className:an()("".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,fe=te.className,ve=te.prefixCls,Ne=te.style,Le=te.target,Ye=te.onVisibleChanged,Je=te.open,ct=te.keepDom,Qt=te.fresh,ft=te.onClick,St=te.mask,Ct=te.arrow,Nt=te.arrowPos,at=te.align,Et=te.motion,nn=te.maskMotion,Mn=te.forceRender,gn=te.getPopupContainer,dn=te.autoDestroy,qn=te.portal,on=te.zIndex,cn=te.onMouseEnter,wa=te.onMouseLeave,aa=te.onPointerEnter,La=te.ready,fa=te.offsetX,nr=te.offsetY,wr=te.offsetR,Vr=te.offsetB,ar=te.onAlign,lr=te.onPrepare,ka=te.stretch,Yr=te.targetWidth,Sr=te.targetHeight,Lr=typeof le=="function"?le():le,Mo=Je||ct,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||!Je){var Fo,ui=at.points,mi=at.dynamicInset||((Fo=at._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=fa,vo.right=io),vi?(vo.bottom=Vr,vo.top=io):(vo.top=nr,vo.bottom=io)}var Cr={};return ka&&(ka.includes("height")&&Sr?Cr.height=Sr:ka.includes("minHeight")&&Sr&&(Cr.minHeight=Sr),ka.includes("width")&&Yr?Cr.width=Yr:ka.includes("minWidth")&&Yr&&(Cr.minWidth=Yr)),Je||(Cr.pointerEvents="none"),ne.createElement(qn,{open:Mn||Mo,getContainer:gn&&function(){return gn(Le)},autoDestroy:dn},ne.createElement(yd,{prefixCls:ve,open:Je,zIndex:on,mask:St,motion:nn}),ne.createElement(dc.Z,{onResize:ar,disabled:!Je},function(Zo){return ne.createElement(kd,(0,oe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Mn,leavedClassName:"".concat(ve,"-hidden")},Et,{onAppearPrepare:lr,onEnterPrepare:lr,visible:Je,onVisibleChanged:function(Qr){var _a;Et==null||(_a=Et.onVisibleChanged)===null||_a===void 0||_a.call(Et,Qr),Ye(Qr)}}),function(bo,Qr){var _a=bo.className,ao=bo.style,jo=an()(ve,_a,fe);return ne.createElement("div",{ref:(0,ks.sQ)(Zo,ie,Qr),className:jo,style:(0,Bt.Z)((0,Bt.Z)((0,Bt.Z)((0,Bt.Z)({"--arrow-x":"".concat(Nt.x||0,"px"),"--arrow-y":"".concat(Nt.y||0,"px")},vo),Cr),ao),{},{boxSizing:"border-box",zIndex:on},Ne),onMouseEnter:cn,onMouseLeave:wa,onPointerEnter:aa,onClick:ft},Ct&&ne.createElement(Od,{prefixCls:ve,arrow:Ct,arrowPos:Nt,align:at}),ne.createElement(Ls,{cache:!Je&&!Qt},Lr))})}))}),Qs=Ys,Js=ne.forwardRef(function(te,ie){var le=te.children,fe=te.getTriggerDOMNode,ve=(0,ks.Yr)(le),Ne=ne.useCallback(function(Ye){(0,ks.mH)(ie,fe?fe(Ye):Ye)},[fe]),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,fe){var ve=le.prefixCls,Ne=ve===void 0?"rc-trigger-popup":ve,Le=le.children,Ye=le.action,Je=Ye===void 0?"hover":Ye,ct=le.showAction,Qt=le.hideAction,ft=le.popupVisible,St=le.defaultPopupVisible,Ct=le.onPopupVisibleChange,Nt=le.afterPopupVisibleChange,at=le.mouseEnterDelay,Et=le.mouseLeaveDelay,nn=Et===void 0?.1:Et,Mn=le.focusDelay,gn=le.blurDelay,dn=le.mask,qn=le.maskClosable,on=qn===void 0?!0:qn,cn=le.getPopupContainer,wa=le.forceRender,aa=le.autoDestroy,La=le.destroyPopupOnHide,fa=le.popup,nr=le.popupClassName,wr=le.popupStyle,Vr=le.popupPlacement,ar=le.builtinPlacements,lr=ar===void 0?{}:ar,ka=le.popupAlign,Yr=le.zIndex,Sr=le.stretch,Lr=le.getPopupClassNameFromAlign,Mo=le.fresh,To=le.alignPoint,Uo=le.onPopupClick,Pi=le.onPopupAlign,No=le.arrow,ci=le.popupMotion,io=le.maskMotion,vo=le.popupTransitionName,Fo=le.popupAnimation,ui=le.maskTransitionName,mi=le.maskAnimation,ji=le.className,vi=le.getTriggerDOMNode,Cr=(0,ro.Z)(le,Td),Zo=aa||La||!1,bo=ne.useState(!1),Qr=(0,Ce.Z)(bo,2),_a=Qr[0],ao=Qr[1];(0,zn.Z)(function(){ao(ke())},[]);var jo=ne.useRef({}),Ji=ne.useContext(Ot),fl=ne.useMemo(function(){return{registerSubPopup:function(xo,rl){jo.current[xo]=rl,Ji==null||Ji.registerSubPopup(xo,rl)}}},[Ji]),zi=Re(),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=ma(Ne,ci,Fo,vo),_i=ma(Ne,io,mi,ui),Wi=ne.useState(St||!1),vl=(0,Ce.Z)(Wi,2),Hl=vl[0],Co=vl[1],so=ft!=null?ft:Hl,yl=(0,Fs.Z)(function(mr){ft===void 0&&Co(mr)});(0,zn.Z)(function(){Co(ft||!1)},[ft]);var Do=ne.useRef(so);Do.current=so;var rs=(0,Fs.Z)(function(mr){(0,Eo.flushSync)(function(){so!==mr&&(yl(mr),Ct==null||Ct(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,Je,ct,Qt),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 an()(mr,Lr==null?void 0:Lr(hi))},[hi,Lr,lr,Ne,To]);ne.useImperativeHandle(fe,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(),Nt==null||Nt(xo)},Xl=function(){return new Promise(function(xo){tc(),Ll(function(){return xo})})};(0,zn.Z)(function(){ii&&(hr(),ii(),Ll(null))},[ii]);function Zs(mr,xo,rl,cl){dl[mr]=function(ol){var 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,dn,on,ml,wl);var ac=ld.has("hover"),Nd=sd.has("hover"),ed,rc;ac&&(Zs("onMouseEnter",!0,at,function(mr){Ei(mr)}),Zs("onPointerEnter",!0,at,function(mr){Ei(mr)}),ed=function(){(so||bs)&&wl(!0,at)},To&&(dl.onMouseMove=function(mr){var xo;(xo=Ri.onMouseMove)===null||xo===void 0||xo.call(Ri,mr)})),Nd&&(Zs("onMouseLeave",!1,nn),Zs("onPointerLeave",!1,nn),rc=function(){wl(!1,nn)}),ld.has("focus")&&Zs("onFocus",!0,Mn),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=an()(Ri.className,ji));var jd=(0,Bt.Z)((0,Bt.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,Bt.Z)((0,Bt.Z)({},jd),mc)),hc={x:Ns,y:wd},Rc=No?(0,Bt.Z)({},No!==!0?No:{}):null;return ne.createElement(ne.Fragment,null,ne.createElement(dc.Z,{disabled:!so,ref:Vo,onResize:Fc},ne.createElement(bd,{getTriggerDOMNode:vi},dd)),ne.createElement(Ot.Provider,{value:fl},ne.createElement(Qs,{portal:te,ref:Ki,prefixCls:Ne,popup:fa,className:an()(nr,cc),style:wr,target:oi,onMouseEnter:ed,onMouseLeave:rc,onPointerEnter:ed,zIndex:Yr,open:so,keepDom:bs,fresh:Mo,onClick:Uo,mask:dn,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,fe=te.popupElement,ve=te.popupStyle,Ne=te.visible,Le=te.dropdownClassName,Ye=te.dropdownAlign,Je=te.transitionName,ct=te.getPopupContainer,Qt=te.children,ft=te.range,St=te.popupPlacement,Ct=te.direction,Nt="".concat(le,"-dropdown"),at=function(){return St!==void 0?St:Ct==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(ns,{showAction:[],hideAction:[],popupPlacement:at(),builtinPlacements:Jl,prefixCls:Nt,popupTransitionName:Je,popup:fe,popupAlign:Ye,popupVisible:Ne,popupClassName:an()(Le,(ie={},(0,rt.Z)(ie,"".concat(Nt,"-range"),ft),(0,rt.Z)(ie,"".concat(Nt,"-rtl"),Ct==="rtl"),ie)),popupStyle:ve,getPopupContainer:ct},Qt)}var de=Xs;function ue(te){var ie=te.prefixCls,le=te.presets,fe=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,Je=Ne.value;return ne.createElement("li",{key:Le,onClick:function(){return fe==null?void 0:fe(ho(Je))},onMouseEnter:function(){return ve==null?void 0:ve(ho(Je))},onMouseLeave:function(){return ve==null?void 0:ve(null)}},Ye)}))):null}function he(te){var ie=te.picker,le=te.disabledHours,fe=te.disabledMinutes,ve=te.disabledSeconds;ie==="time"&&(le||fe||ve)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ye(te,ie,le){var fe=(0,jt.Z)(ie)==="object"?ie.clearIcon:le;return fe||ne.createElement("span",{className:"".concat(te,"-clear-btn")})}function De(te){var ie,le=te,fe=le.prefixCls,ve=fe===void 0?"rc-picker":fe,Ne=le.id,Le=le.name,Ye=le.tabIndex,Je=le.style,ct=le.className,Qt=le.dropdownClassName,ft=le.dropdownAlign,St=le.popupStyle,Ct=le.transitionName,Nt=le.generateConfig,at=le.locale,Et=le.inputReadOnly,nn=le.allowClear,Mn=le.autoFocus,gn=le.showTime,dn=le.picker,qn=dn===void 0?"date":dn,on=le.format,cn=le.use12Hours,wa=le.value,aa=le.defaultValue,La=le.presets,fa=le.open,nr=le.defaultOpen,wr=le.defaultOpenValue,Vr=le.suffixIcon,ar=le.clearIcon,lr=le.disabled,ka=le.disabledDate,Yr=le.placeholder,Sr=le.getPopupContainer,Lr=le.pickerRef,Mo=le.panelRender,To=le.onChange,Uo=le.onOpenChange,Pi=le.onFocus,No=le.onBlur,ci=le.onMouseDown,io=le.onMouseUp,vo=le.onMouseEnter,Fo=le.onMouseLeave,ui=le.onContextMenu,mi=le.onClick,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=ua(Pr(on,qn,gn,cn)),zi=ne.useRef(null),as=ne.useRef(null),ys=ne.useRef(null),sl=(0,yn.Z)(null,{value:wa,defaultValue:aa}),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,yn.Z)(!1,{value:fa,defaultValue:nr,postState:function(hr){return lr?!1:hr},onChange:function(hr){Uo&&Uo(hr),!hr&&qi.current&&qi.current.onClose&&qi.current.onClose()}}),dl=(0,Ce.Z)(Ri,2),ml=dl[0],Hi=dl[1],_i=Mt($i,{formatList:fl,generateConfig:Nt,locale:at}),Wi=(0,Ce.Z)(_i,2),vl=Wi[0],Hl=Wi[1],Co=_e({valueTexts:vl,onTextChange:function(hr){var nl=Ue(hr,{locale:at,formatList:fl,generateConfig:Nt});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&&!tt(Nt,Ki,hr)&&To(hr,hr?rn(hr,{generateConfig:Nt,locale:at,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,Fe.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!Dn([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:Nt,locale:at}),As=(0,Ce.Z)(Is,3),id=As[0],_s=As[1],Ei=As[2],Jr=(0,Bt.Z)((0,Bt.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,oe.Z)({},Jr,{generateConfig:Nt,className:an()((0,rt.Z)({},"".concat(ve,"-panel-focused"),!Ll)),value:$i,locale:at,tabIndex:-1,onSelect:function(hr){vi==null||vi(hr),Vo(hr)},direction:Cr,onPanelChange:function(hr,nl){var al=te.onPanelChange;Ei(!0),al==null||al(hr,nl)}})));Mo&&(Ml=Mo(Ml));var Al=ne.createElement("div",{className:"".concat(ve,"-panel-container"),ref:zi,onMouseDown:function(hr){hr.preventDefault()}},Ml),xd;Vr&&(xd=ne.createElement("span",{className:"".concat(ve,"-suffix"),onMouseDown:function(hr){hr.preventDefault()}},Vr));var _d=ye(ve,nn,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=!!nn&&Ki&&!lr,Ns=(0,Bt.Z)((0,Bt.Z)((0,Bt.Z)({id:Ne,tabIndex:Ye,disabled:lr,readOnly:Et||typeof fl[0]=="function"||!Ll,value:id||yl,onChange:function(hr){Do(hr.target.value)},autoFocus:Mn,placeholder:Yr,ref:ao,title:yl},Ta),{},{size:Tr(qn,fl[0],Nt),name:Le},(0,bn.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:Qt,dropdownAlign:ft,getPopupContainer:Sr,transitionName:Ct,popupPlacement:Ts,direction:Cr},ne.createElement("div",{ref:ys,className:an()(ve,ct,(ie={},(0,rt.Z)(ie,"".concat(ve,"-disabled"),lr),(0,rt.Z)(ie,"".concat(ve,"-focused"),ii),(0,rt.Z)(ie,"".concat(ve,"-rtl"),Cr==="rtl"),ie)),style:Je,onMouseDown:ci,onMouseUp:io,onMouseEnter:vo,onMouseLeave:Fo,onContextMenu:ui,onClick:os},ne.createElement("div",{className:an()("".concat(ve,"-input"),(0,rt.Z)({},"".concat(ve,"-input-placeholder"),!!id)),ref:as},wd,xd,Ed&&Zd))))}var Oe=function(te){(0,Ft.Z)(le,te);var ie=(0,Kn.Z)(le);function le(){var fe;(0,hn.Z)(this,le);for(var ve=arguments.length,Ne=new Array(ve),Le=0;Le<ve;Le++)Ne[Le]=arguments[Le];return fe=ie.call.apply(ie,[this].concat(Ne)),(0,rt.Z)((0,Pt.Z)(fe),"pickerRef",ne.createRef()),(0,rt.Z)((0,Pt.Z)(fe),"focus",function(){fe.pickerRef.current&&fe.pickerRef.current.focus()}),(0,rt.Z)((0,Pt.Z)(fe),"blur",function(){fe.pickerRef.current&&fe.pickerRef.current.blur()}),fe}return(0,$e.Z)(le,[{key:"render",value:function(){return ne.createElement(De,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Qe=Oe;function nt(te,ie){var le=te.picker,fe=te.locale,ve=te.selectedValue,Ne=te.disabledDate,Le=te.disabled,Ye=te.generateConfig,Je=Wn(ve,0),ct=Wn(ve,1);function Qt(at){return Ye.locale.getWeekFirstDate(fe.locale,at)}function ft(at){var Et=Ye.getYear(at),nn=Ye.getMonth(at);return Et*100+nn}function St(at){var Et=Ye.getYear(at),nn=wn(Ye,at);return Et*10+nn}var Ct=ne.useCallback(function(at){if(Le[0]||Ne&&Ne(at))return!0;if(Le[1]&&ct)return!Ut(Ye,at,ct)&&Ye.isAfter(at,ct);if(!ie&&ct)switch(le){case"quarter":return St(at)>St(ct);case"month":return ft(at)>ft(ct);case"week":return Qt(at)>Qt(ct);default:return!Ut(Ye,at,ct)&&Ye.isAfter(at,ct)}return!1},[Ne,Le[1],ct,ie]),Nt=ne.useCallback(function(at){if(Le[1]||Ne&&Ne(at))return!0;if(Le[0]&&Je)return!Ut(Ye,at,ct)&&Ye.isAfter(Je,at);if(!ie&&Je)switch(le){case"quarter":return St(at)<St(Je);case"month":return ft(at)<ft(Je);case"week":return Qt(at)<Qt(Je);default:return!Ut(Ye,at,Je)&&Ye.isAfter(Je,at)}return!1},[Ne,Le[0],Je,ie]);return[Ct,Nt]}function et(te,ie,le,fe,ve,Ne,Le,Ye,Je,ct){var Qt=ne.useState(!1),ft=(0,Ce.Z)(Qt,2),St=ft[0],Ct=ft[1],Nt=(0,Ko.useMergedState)(te||!1,{value:ie}),at=(0,Ce.Z)(Nt,2),Et=at[0],nn=at[1],Mn=(0,Ko.useMergedState)(te||!1,{value:ie,onChange:function(ka){ct==null||ct(ka)}}),gn=(0,Ce.Z)(Mn,2),dn=gn[0],qn=gn[1],on=(0,Ko.useMergedState)(0,{value:le}),cn=(0,Ce.Z)(on,2),wa=cn[0],aa=cn[1],La=ne.useState(null),fa=(0,Ce.Z)(La,2),nr=fa[0],wr=fa[1];ne.useEffect(function(){dn&&Ct(!0)},[dn]);var Vr=function(ka){return ka===0?1:0},ar=(0,Fs.Z)(function(lr,ka,Yr){if(ka===!1)qn(lr);else if(lr){aa(ka),qn(lr);var Sr=Vr(ka);!dn||![Le,Ye][Sr]?wr(Sr):(Ct(!1),nr!==null&&wr(null))}else if(Yr==="confirm"||Yr==="blur"&&fe){var Lr=Et?Vr(ka):nr;Lr!==null&&(Ct(!1),aa(Lr)),wr(null),Lr!==null&&!Je[Lr]?(0,Cn.Z)(function(){var Mo,To=[ve,Ne][Lr];(Mo=To.current)===null||Mo===void 0||Mo.focus()}):qn(!1)}else qn(!1),nn(!1)});return[dn,wa,St,ar]}function bt(te,ie,le,fe){var ve=dt(te,le,fe,1);function Ne(Le){return Le(te,ie)?"same":Le(ve,ie)?"closing":"far"}switch(le){case"year":return Ne(function(Le,Ye){return zt(fe,Le,Ye)});case"quarter":case"month":return Ne(function(Le,Ye){return Xt(fe,Le,Ye)});default:return Ne(function(Le,Ye){return qt(fe,Le,Ye)})}}function Tt(te,ie,le,fe){var ve=Wn(te,0),Ne=Wn(te,1);if(ie===0)return ve;if(ve&&Ne){var Le=bt(ve,Ne,le,fe);switch(Le){case"same":return ve;case"closing":return ve;default:return dt(Ne,le,fe,-1)}}return ve}function Lt(te){var ie=te.values,le=te.picker,fe=te.defaultDates,ve=te.generateConfig,Ne=ne.useState(function(){return[Wn(fe,0),Wn(fe,1)]}),Le=(0,Ce.Z)(Ne,2),Ye=Le[0],Je=Le[1],ct=ne.useState(null),Qt=(0,Ce.Z)(ct,2),ft=Qt[0],St=Qt[1],Ct=Wn(ie,0),Nt=Wn(ie,1);function at(nn){return Ye[nn]?Ye[nn]:Wn(ft,nn)||Tt(ie,nn,le,ve)||Ct||Nt||ve.getNow()}function Et(nn,Mn){if(nn){var gn=Ma(ft,nn,Mn);Je(Ma(Ye,null,Mn)||[null,null]);var dn=(Mn+1)%2;Wn(ie,dn)||(gn=Ma(gn,nn,dn)),St(gn)}else(Ct||Nt)&&St(null)}return[at,Et]}function ln(te,ie){return te&&te[0]&&te[1]&&ie.isAfter(te[0],te[1])?[te[1],te[0]]:te}function sn(te,ie,le,fe){return!!(te||fe&&fe[ie]||le[(ie+1)%2])}function vn(te){var ie,le,fe,ve=te,Ne=ve.prefixCls,Le=Ne===void 0?"rc-picker":Ne,Ye=ve.id,Je=ve.style,ct=ve.className,Qt=ve.popupStyle,ft=ve.dropdownClassName,St=ve.transitionName,Ct=ve.dropdownAlign,Nt=ve.getPopupContainer,at=ve.generateConfig,Et=ve.locale,nn=ve.placeholder,Mn=ve.autoFocus,gn=ve.disabled,dn=ve.format,qn=ve.picker,on=qn===void 0?"date":qn,cn=ve.showTime,wa=ve.use12Hours,aa=ve.separator,La=aa===void 0?"~":aa,fa=ve.value,nr=ve.defaultValue,wr=ve.defaultPickerValue,Vr=ve.open,ar=ve.defaultOpen,lr=ve.disabledDate,ka=ve.disabledTime,Yr=ve.dateRender,Sr=ve.monthCellRender,Lr=ve.cellRender,Mo=ve.panelRender,To=ve.presets,Uo=ve.ranges,Pi=ve.allowEmpty,No=ve.allowClear,ci=ve.suffixIcon,io=ve.clearIcon,vo=ve.pickerRef,Fo=ve.inputReadOnly,ui=ve.mode,mi=ve.renderExtraFooter,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=on==="date"&&!!cn||on==="time",Vo=(0,ne.useRef)(null),qi=(0,ne.useRef)(null),Ri=(0,ne.useRef)(null),dl=(0,ne.useRef)(null),ml=(0,ne.useRef)(null),Hi=(0,ne.useRef)(null),_i=(0,ne.useRef)(null),Wi=(0,ne.useRef)(null),vl=ua(Pr(dn,on,cn,wa)),Hl=(0,ne.useRef)(null),Co=ne.useMemo(function(){return Array.isArray(gn)?gn:[gn||!1,gn||!1]},[gn]),so=(0,yn.Z)(null,{value:fa,defaultValue:nr,postState:function(ur){return on==="time"&&!sl?ur:ln(ur,at)}}),yl=(0,Ce.Z)(so,2),Do=yl[0],rs=yl[1],Gl=Lt({values:Do,picker:on,defaultDates:wr,generateConfig:at}),jl=(0,Ce.Z)(Gl,2),wl=jl[0],os=jl[1],qs=(0,yn.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,at.getNow(),_o));return $r}}),bs=(0,Ce.Z)(qs,2),Zr=bs[0],Ta=bs[1],oo=(0,yn.Z)([on,on],{value:ui}),ii=(0,Ce.Z)(oo,2),Ll=ii[0],Is=ii[1];(0,ne.useEffect)(function(){Is([on,on])},[on]);var As=function(ur,$r){Is(ur),Cr&&Cr($r,ur)},id=et(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=nt({picker:on,selectedValue:Zr,locale:Et,disabled:Co,disabledDate:lr,generateConfig:at},!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,Cn.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&&at.isAfter(_o,el)&&(on==="week"&&!Ie(at,Et.locale,_o,el)||on==="quarter"&&!Yn(at,_o,el)||on!=="week"&&on!=="quarter"&&on!=="time"&&!Ut(at,_o,el)?ur===0?($r=[_o,null],el=null):(_o=null,$r=[null,el]):(on!=="time"||sl!==!1)&&($r=ln($r,at))),Ta($r);var Sc=$r&&$r[0]?rn($r[0],{generateConfig:at,locale:Et,format:vl[0]}):"",td=$r&&$r[1]?rn($r[1],{generateConfig:at,locale:Et,format:vl[0]}):"";if(Zo){var Ud={range:ur===0?"start":"end"};Zo($r,[Sc,td],Ud)}var Vd=sn(_o,0,Co,Pi),kc=sn(el,1,Co,Pi),oc=$r===null||Vd&&kc;oc&&(rs($r),ji&&(!tt(at,Wn(Do,0),_o)||!tt(at,Wn(Do,1),el))&&ji($r,[Sc,td]))}var ld=function(ur){return Ei&&Hl.current&&Hl.current.onKeyDown?Hl.current.onKeyDown(ur):((0,Fe.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},sd={formatList:vl,generateConfig:at,locale:Et},zd=Mt(Wn(Zr,0),sd),Ld=(0,Ce.Z)(zd,2),Cs=Ld[0],Dc=Ld[1],cc=Mt(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:Et,formatList:vl,generateConfig:at}),el=$r===0?Ns:wd;_o&&!el(_o)&&(Ta(Ma(Zr,_o,$r)),os(_o,$r))},Mc=_e({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=_e({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:at,locale:Et}),mr=(0,Ce.Z)(Rc,3),xo=mr[0],rl=mr[1],cl=mr[2],ol=Wt(Xl,{formatList:vl,generateConfig:at,locale:Et}),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!Dn([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,Bt.Z)((0,Bt.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,Bt.Z)((0,Bt.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]?rn(Do[0],{locale:Et,format:"YYYYMMDDHHmmss",generateConfig:at}):"",hu=Do&&Do[1]?rn(Do[1],{locale:Et,format:"YYYYMMDDHHmmss",generateConfig:at}):"";(0,ne.useEffect)(function(){Ei||(Ta(Do),!Cs.length||Cs[0]===""?fc(""):Dc!==Gd&&tc(),!Ad.length||Ad[0]===""?Zs(""):Bc!==Xl&&ac())},[Ei,Cs,Ad]),(0,ne.useEffect)(function(){Ta(Do)},[vu,hu]);var Tc=xn({cellRender:Lr,monthCellRender:Sr,dateRender:Yr}),pu=ne.useMemo(function(){if(Tc)return function(Jo,ur){return Tc(Jo,(0,Bt.Z)((0,Bt.Z)({},ur),{},{range:Jr?"end":"start"}))}},[Jr,Tc]);vo&&(vo.current={focus:function(){Hi.current&&Hi.current.focus()},blur:function(){Hi.current&&Hi.current.blur(),_i.current&&_i.current.blur()}});var Su=Ar(To,Uo);function Zc(){var Jo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$r=null;Ei&&dd&&dd[0]&&dd[1]&&at.isAfter(dd[1],dd[0])&&($r=dd);var _o=cn;if(cn&&(0,jt.Z)(cn)==="object"&&cn.defaultValue){var el=cn.defaultValue;_o=(0,Bt.Z)((0,Bt.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,oe.Z)({},te,ur,{cellRender:pu,showTime:_o,mode:Ll[Jr],generateConfig:at,style:void 0,direction:Xi,disabledDate:Jr===0?Ns:wd,disabledTime:function(td){return ka?ka(td,Jr===0?"start":"end"):!1},className:an()((0,rt.Z)({},"".concat(Le,"-panel-focused"),Jr===0?!Vc:!Xc)),value:Wn(Zr,Jr),locale:Et,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=dt(Vd,Ud,at,-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=ba(Le,Ll[Jr],mi),$r=Pa({prefixCls:Le,components:ys,needConfirmButton:$i,okDisabled:!Wn(Zr,Jr)||lr&&lr(Zr[Jr]),locale:Et,onOk:function(){var nd=Wn(Zr,Jr);nd&&(al(Zr,Jr),zi==null||zi(Zr),Al(!1,Jr,"confirm"))}});if(on!=="time"&&!cn){var _o=wl(Jr),el=dt(_o,on,at),Sc=Ll[Jr],td=Sc===on,Ud=Zc(td?"left":!1,{pickerValue:_o,onPickerValueChange:function(nd){os(nd,Jr)}}),Vd=Zc("right",{pickerValue:el,onPickerValueChange:function(nd){os(dt(nd,on,at,-1),Jr)}});Xi==="rtl"?Jo=ne.createElement(ne.Fragment,null,Vd,td&&Ud):Jo=ne.createElement(ne.Fragment,null,Ud,td&&Vd)}else Jo=Zc();var kc=ne.createElement("div",{className:"".concat(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:an()("".concat(Le,"-range-wrapper"),"".concat(Le,"-").concat(on,"-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(on,vl[0],at)},zc=0,Hc=0;Ri.current&&dl.current&&ml.current&&(Jr===0?Hc=Ri.current.offsetWidth:(zc=Wd,Hc=dl.current.offsetWidth));var Lu=Xi==="rtl"?{right:zc}:{left:zc},Au=function(ur,$r){var _o=Ma(Zr,ur,Jr);if($r==="submit"||$r!=="key"&&!$i){al(_o,Jr),Jr===0?cl():$d();var el=Jr===0?1:0;Co[el]?Al(!1,!1,"confirm"):Al(!1,Jr,"confirm")}else Ta(_o)};return ne.createElement(Ve.Provider,{value:{operationRef:Hl,hideHeader:on==="time",onDateMouseEnter:au,onDateMouseLeave:ru,hideRanges:!0,onSelect:Au,open:Ei}},ne.createElement(de,{visible:Ei,popupElement:Cu,popupStyle:Qt,prefixCls:Le,dropdownClassName:ft,dropdownAlign:Ct,getPopupContainer:Nt,transitionName:St,range:!0,direction:Xi},ne.createElement("div",(0,oe.Z)({ref:Vo,className:an()(Le,"".concat(Le,"-range"),ct,(ie={},(0,rt.Z)(ie,"".concat(Le,"-disabled"),Co[0]&&Co[1]),(0,rt.Z)(ie,"".concat(Le,"-focused"),Jr===0?Uc:Jc),(0,rt.Z)(ie,"".concat(Le,"-rtl"),Xi==="rtl"),ie)),style:Je,onClick:fu,onMouseEnter:jo,onMouseLeave:Ji,onMouseDown:mu,onMouseUp:ao},(0,bn.Z)(te,{aria:!0,data:!0})),ne.createElement("div",{className:an()("".concat(Le,"-input"),(le={},(0,rt.Z)(le,"".concat(Le,"-input-active"),Jr===0),(0,rt.Z)(le,"".concat(Le,"-input-placeholder"),!!xo),le)),ref:Ri},ne.createElement("input",(0,oe.Z)({id:Ye,disabled:Co[0],readOnly:Fo||typeof vl[0]=="function"||!Vc,value:xo||Gd,onChange:function(ur){fc(ur.target.value)},autoFocus:Mn,placeholder:Wn(nn,0)||"",ref:Hi},cu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Le,"-range-separator"),ref:ml},La),ne.createElement("div",{className:an()("".concat(Le,"-input"),(fe={},(0,rt.Z)(fe,"".concat(Le,"-input-active"),Jr===1),(0,rt.Z)(fe,"".concat(Le,"-input-placeholder"),!!pc),fe)),ref:dl},ne.createElement("input",(0,oe.Z)({disabled:Co[1],readOnly:Fo||typeof vl[0]=="function"||!Xc,value:pc||Xl,onChange:function(ur){Zs(ur.target.value)},placeholder:Wn(nn,1)||"",ref:_i},gu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Le,"-active-bar"),style:(0,Bt.Z)((0,Bt.Z)({},Lu),{},{width:Hc,position:"absolute"})}),tu,wu&&Eu)))}var Xn=function(te){(0,Ft.Z)(le,te);var ie=(0,Kn.Z)(le);function le(){var fe;(0,hn.Z)(this,le);for(var ve=arguments.length,Ne=new Array(ve),Le=0;Le<ve;Le++)Ne[Le]=arguments[Le];return fe=ie.call.apply(ie,[this].concat(Ne)),(0,rt.Z)((0,Pt.Z)(fe),"pickerRef",ne.createRef()),(0,rt.Z)((0,Pt.Z)(fe),"focus",function(){fe.pickerRef.current&&fe.pickerRef.current.focus()}),(0,rt.Z)((0,Pt.Z)(fe),"blur",function(){fe.pickerRef.current&&fe.pickerRef.current.blur()}),fe}return(0,$e.Z)(le,[{key:"render",value:function(){return ne.createElement(vn,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),On=Xn,ta=Qe,Hn=ee(9708),sa=ee(53124),Ra=ee(98866),Qa=ee(98675),Ba=ee(65223),fr=ee(10110),Dr=ee(4173),ya=ee(16516),Na=ee(84780),ga=ee(47673),la=ee(14747),Da=ee(79511),Wa=ee(80110),vr=ee(67771),Er=ee(33297),Ha=ee(45503),Or=ee(67968);const jr=(te,ie,le,fe)=>{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 ${fe}px ${Ye}px`}},Bo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:fe,cellHeight:ve,motionDurationSlow:Ne,borderRadiusSM:Le,motionDurationMid:Ye,cellHoverBg:Je,lineWidth:ct,lineType:Qt,colorPrimary:ft,cellActiveWithRangeBg:St,colorTextLightSolid:Ct,controlHeightSM:Nt,cellRangeBorderColor:at,pickerCellBorderGap:Et,cellHoverWithRangeBg:nn,cellWidth:Mn,colorTextDisabled:gn,cellBgDisabled:dn}=te;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:ve,transform:"translateY(-50%)",transition:`all ${Ne}`,content:'""'},[fe]:{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":{[fe]:{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)`]:{[fe]:{background:Je}},[`&-in-view${le}-today ${fe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ct}px ${Qt} ${ft}`,borderRadius:Le,content:'""'}},[`&-in-view${le}-in-range`]:{position:"relative","&::before":{background:St}},[`&-in-view${le}-selected ${fe},
|
|
&-in-view${le}-range-start ${fe},
|
|
&-in-view${le}-range-end ${fe}`]:{color:Ct,background:ft},[`&-in-view${le}-range-start:not(${le}-range-start-single),
|
|
&-in-view${le}-range-end:not(${le}-range-end-single)`]:{"&::before":{background:St}},[`&-in-view${le}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${le}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${le}-range-hover-start:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
|
|
&-in-view${le}-range-hover-end:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
|
|
&-in-view${le}-range-hover-start${le}-range-start-single,
|
|
&-in-view${le}-range-hover-start${le}-range-start${le}-range-end${le}-range-end-near-hover,
|
|
&-in-view${le}-range-hover-end${le}-range-start${le}-range-end${le}-range-start-near-hover,
|
|
&-in-view${le}-range-hover-end${le}-range-end-single,
|
|
&-in-view${le}-range-hover:not(${le}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Nt,borderTop:`${ct}px dashed ${at}`,borderBottom:`${ct}px dashed ${at}`,transform:"translateY(-50%)",transition:`all ${Ne}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Et},[`&-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:nn},[`&-in-view${le}-range-start:not(${le}-range-start-single):not(${le}-range-end) ${fe}`]:{borderStartStartRadius:Le,borderEndStartRadius:Le,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${le}-range-end:not(${le}-range-end-single):not(${le}-range-start) ${fe}`]:{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:(Mn-ve)/2,borderInlineStart:`${ct}px dashed ${at}`,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:(Mn-ve)/2,borderInlineEnd:`${ct}px dashed ${at}`,borderStartEndRadius:Le,borderEndEndRadius:Le},"&-disabled":{color:gn,pointerEvents:"none",[fe]:{background:"transparent"},"&::before":{background:dn}},[`&-disabled${le}-today ${fe}::before`]:{borderColor:gn}}},mo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:fe,pickerYearMonthCellWidth:ve,pickerControlIconSize:Ne,cellWidth:Le,paddingSM:Ye,paddingXS:Je,paddingXXS:ct,colorBgContainer:Qt,lineWidth:ft,lineType:St,borderRadiusLG:Ct,colorPrimary:Nt,colorTextHeading:at,colorSplit:Et,pickerControlIconBorderWidth:nn,colorIcon:Mn,textHeight:gn,motionDurationMid:dn,colorIconHover:qn,fontWeightStrong:on,cellHeight:cn,pickerCellPaddingVertical:wa,colorTextDisabled:aa,colorText:La,fontSize:fa,cellHoverWithRangeBg:nr,motionDurationSlow:wr,withoutTimeCellHeight:Vr,pickerQuarterPanelContentHeight:ar,colorLink:lr,colorLinkActive:ka,colorLinkHover:Yr,cellRangeBorderColor:Sr,borderRadiusSM:Lr,colorTextLightSolid:Mo,cellHoverBg:To,timeColumnHeight:Uo,timeColumnWidth:Pi,timeCellHeight:No,controlItemBgActive:ci,marginXXS:io,pickerDatePanelPaddingHorizontal:vo}=te,Fo=Le*7+vo*2,ui=(Fo-Je*2)/3-ve-Ye,mi=(Fo-Je*2)/4-ve;return{[ie]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Qt,border:`${ft}px ${St} ${Et}`,borderRadius:Ct,outline:"none","&-focused":{borderColor:Nt},"&-rtl":{direction:"rtl",[`${ie}-prev-icon,
|
|
${ie}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ie}-next-icon,
|
|
${ie}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Fo},"&-header":{display:"flex",padding:`0 ${Je}px`,color:at,borderBottom:`${ft}px ${St} ${Et}`,"> *":{flex:"none"},button:{padding:0,color:Mn,lineHeight:`${gn}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${dn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:fa,"&:hover":{color:qn}},"&-view":{flex:"auto",fontWeight:on,lineHeight:`${gn}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Je},"&:hover":{color:Nt}}}},"&-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:nn,borderBlockEndWidth:0,borderInlineStartWidth:nn,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:nn,borderBlockEndWidth:0,borderInlineStartWidth:nn,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:aa,cursor:"pointer","&-in-view":{color:La}},Bo(te)),[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-start ${fe},
|
|
&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${fe}`]:{"&::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
|
|
${fe}::after`]:{insetInlineEnd:-(Le-cn)/2,insetInlineStart:0},[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${fe}::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},[fe]:{padding:`0 ${Je}px`}},"&-quarter-panel":{[`${ie}-content`]:{height:ar},[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:mi,borderInlineStart:`${ft}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:mi,borderInlineEnd:`${ft}px dashed ${Sr}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:mi,borderInlineEnd:`${ft}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineStart:mi,borderInlineStart:`${ft}px dashed ${Sr}`}}},[`&-panel ${ie}-footer`]:{borderTop:`${ft}px ${St} ${Et}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${gn-2*ft}px`,textAlign:"center","&-extra":{padding:`0 ${Ye}px`,lineHeight:`${gn-2*ft}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ft}px ${St} ${Et}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:lr,"&:hover":{color:Yr},"&:active":{color:ka},[`&${ie}-today-btn-disabled`]:{color:aa,cursor:"not-allowed"}},"&-decade-panel":{[fe]:{padding:`0 ${Je/2}px`},[`${ie}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-body`]:{padding:`0 ${Je}px`},[fe]:{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:`${ft}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:ui,borderInlineEnd:`${ft}px dashed ${Sr}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:ui,borderInlineEnd:`${ft}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineStart:ui,borderInlineStart:`${ft}px dashed ${Sr}`}}},"&-week-panel":{[`${ie}-body`]:{padding:`${Je}px ${Ye}px`},[`${ie}-cell`]:{[`&:hover ${fe},
|
|
&-selected ${fe},
|
|
${fe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${dn}`},"&:first-child:before":{borderStartStartRadius:Lr,borderEndStartRadius:Lr},"&:last-child:before":{borderStartEndRadius:Lr,borderEndEndRadius:Lr}},"&:hover td":{"&:before":{background:To}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${le}`]:{"&:before":{background:Nt},[`&${ie}-cell-week`]:{color:new Na.C(Mo).setAlpha(.5).toHexString()},[fe]:{color:Mo}}},"&-range-hover td:before":{background:ci}}},"&-date-panel":{[`${ie}-body`]:{padding:`${Je}px ${vo}px`},[`${ie}-content`]:{width:Le*7,th:{width:Le,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ie}-time-panel`]:{borderInlineStart:`${ft}px ${St} ${Et}`},[`${ie}-date-panel,
|
|
${ie}-time-panel`]:{transition:`opacity ${wr}`},"&-active":{[`${ie}-date-panel,
|
|
${ie}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ie}-content`]:{display:"flex",flex:"auto",height:Uo},"&-column":{flex:"1 0 auto",width:Pi,margin:`${ct}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${dn}`,overflowX:"hidden","&::after":{display:"block",height:Uo-No,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ft}px ${St} ${Et}`},"&-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 ${dn}`,"&:hover":{background:To}},"&-selected":{[`${ie}-time-panel-cell-inner`]:{background:ci}},"&-disabled":{[`${ie}-time-panel-cell-inner`]:{color:aa,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ie}-time-panel-column:after`]:{height:Uo-No+ct*2}}}},gi=te=>{const{componentCls:ie,colorBgContainer:le,colorError:fe,errorActiveShadow:ve,colorWarning:Ne,warningActiveShadow:Le}=te;return{[`${ie}:not(${ie}-disabled)`]:{[`&${ie}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:fe},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ga.M1)((0,Ha.TS)(te,{activeBorderColor:fe,activeShadow:ve}))),[`${ie}-active-bar`]:{background:fe}},[`&${ie}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:Ne},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ga.M1)((0,Ha.TS)(te,{activeBorderColor:Ne,activeShadow:Le}))),[`${ie}-active-bar`]:{background:Ne}}}}},fi=te=>{const{componentCls:ie,antCls:le,controlHeight:fe,fontSize:ve,paddingInline:Ne,colorBgContainer:Le,lineWidth:Ye,lineType:Je,colorBorder:ct,borderRadius:Qt,motionDurationMid:ft,colorBgContainerDisabled:St,colorTextDisabled:Ct,colorTextPlaceholder:Nt,controlHeightLG:at,fontSizeLG:Et,controlHeightSM:nn,paddingInlineSM:Mn,paddingXS:gn,marginXS:dn,colorTextDescription:qn,lineWidthBold:on,lineHeight:cn,colorPrimary:wa,motionDurationSlow:aa,zIndexPopup:La,paddingXXS:fa,paddingSM:nr,textHeight:wr,cellActiveWithRangeBg:Vr,colorPrimaryBorder:ar,sizePopupArrow:lr,borderRadiusXS:ka,borderRadiusOuter:Yr,colorBgElevated:Sr,borderRadiusLG:Lr,boxShadowSecondary:Mo,borderRadiusSM:To,colorSplit:Uo,cellHoverBg:Pi,presetsWidth:No,presetsMaxWidth:ci,boxShadowPopoverArrow:io,colorTextQuaternary:vo}=te;return[{[ie]:Object.assign(Object.assign(Object.assign({},(0,la.Wf)(te)),jr(te,fe,ve,Ne)),{position:"relative",display:"inline-flex",alignItems:"center",background:Le,lineHeight:1,border:`${Ye}px ${Je} ${ct}`,borderRadius:Qt,transition:`border ${ft}, box-shadow ${ft}`,"&:hover, &-focused":Object.assign({},(0,ga.pU)(te)),"&-focused":Object.assign({},(0,ga.M1)(te)),[`&${ie}-disabled`]:{background:St,borderColor:ct,cursor:"not-allowed",[`${ie}-suffix`]:{color:vo}},[`&${ie}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ie}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ga.ik)(te)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ie}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Nt}}},"&-large":Object.assign(Object.assign({},jr(te,at,Et,Ne)),{[`${ie}-input > input`]:{fontSize:Et}}),"&-small":Object.assign({},jr(te,nn,ve,Mn)),[`${ie}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:gn/2,color:Ct,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:dn}}},[`${ie}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ct,lineHeight:1,background:Le,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ft}, color ${ft}`,"> *":{verticalAlign:"top"},"&:hover":{color:qn}},[`${ie}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Et,color:Ct,fontSize:Et,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:on,marginInlineStart:Ne,background:wa,opacity:0,transition:`all ${aa} ease-out`,pointerEvents:"none"},[`&${ie}-focused`]:{[`${ie}-active-bar`]:{opacity:1}},[`${ie}-range-separator`]:{alignItems:"center",padding:`0 ${gn}px`,lineHeight:1},[`&${ie}-small`]:{[`${ie}-clear`]:{insetInlineEnd:Mn},[`${ie}-active-bar`]:{marginInlineStart:Mn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,la.Wf)(te)),mo(te)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:La,[`&${ie}-dropdown-hidden`]:{display:"none"},[`&${ie}-dropdown-placement-bottomLeft`]:{[`${ie}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ie}-dropdown-placement-topLeft`]:{[`${ie}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topLeft,
|
|
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topRight,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topLeft,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topRight`]:{animationName:vr.Qt},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomLeft,
|
|
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomRight,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomLeft,
|
|
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomRight`]:{animationName:vr.fJ},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topLeft,
|
|
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topRight`]:{animationName:vr.ly},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomLeft,
|
|
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomRight`]:{animationName:vr.Uw},[`${ie}-panel > ${ie}-time-panel`]:{paddingTop:fa},[`${ie}-ranges`]:{marginBottom:0,padding:`${fa}px ${nr}px`,overflow:"hidden",lineHeight:`${wr-2*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 ${aa} ease-out`},(0,Da.r)(lr,ka,Yr,Sr,io)),[`${ie}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Sr,borderRadius:Lr,boxShadow:Mo,transition:`margin ${aa}`,[`${ie}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ie}-presets`]:{display:"flex",flexDirection:"column",minWidth:No,maxWidth:ci,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:gn,borderInlineEnd:`${Ye}px ${Je} ${Uo}`,li:Object.assign(Object.assign({},la.vS),{borderRadius:To,paddingInline:gn,paddingBlock:(nn-Math.round(ve*cn))/2,cursor:"pointer",transition:`all ${aa}`,"+ li":{marginTop:dn},"&: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:ct}}}}),"&-dropdown-range":{padding:`${lr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ie}-separator`]:{transform:"rotate(180deg)"},[`${ie}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,vr.oN)(te,"slide-up"),(0,vr.oN)(te,"slide-down"),(0,Er.Fm)(te,"move-up"),(0,Er.Fm)(te,"move-down")]},Fr=te=>{const{componentCls:ie,controlHeightLG:le,paddingXXS:fe,padding:ve}=te;return{pickerCellCls:`${ie}-cell`,pickerCellInnerCls:`${ie}-cell-inner`,pickerYearMonthCellWidth:le*1.5,pickerQuarterPanelContentHeight:le*1.4,pickerCellPaddingVertical:fe+fe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ve+fe/2}},Di=te=>({cellHoverBg:te.controlItemBgHover,cellActiveWithRangeBg:te.controlItemBgActive,cellHoverWithRangeBg:new Na.C(te.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Na.C(te.colorPrimary).lighten(20).toHexString(),cellBgDisabled:te.colorBgContainerDisabled,timeColumnWidth:te.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:te.controlHeightSM*1.5,cellHeight:te.controlHeightSM,textHeight:te.controlHeightLG,withoutTimeCellHeight:te.controlHeightLG*1.65});var na=(0,Or.Z)("DatePicker",te=>{const ie=(0,Ha.TS)((0,ga.e5)(te),Fr(te));return[fi(ie),gi(ie),(0,Wa.c)(te,{focusElCls:`${te.componentCls}-focused`})]},te=>Object.assign(Object.assign(Object.assign({},(0,ga.TM)(te)),Di(te)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:te.zIndexPopupBase+50}));function or(te,ie,le){return le!==void 0?le:ie==="year"&&te.lang.yearPlaceholder?te.lang.yearPlaceholder:ie==="quarter"&&te.lang.quarterPlaceholder?te.lang.quarterPlaceholder:ie==="month"&&te.lang.monthPlaceholder?te.lang.monthPlaceholder:ie==="week"&&te.lang.weekPlaceholder?te.lang.weekPlaceholder:ie==="time"&&te.timePickerLocale.placeholder?te.timePickerLocale.placeholder:te.lang.placeholder}function 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 Ca(te){return te?Array.isArray(te)?te:[te]:[]}function Ja(te){const{format:ie,picker:le,showHour:fe,showMinute:ve,showSecond:Ne,use12Hours:Le}=te,Ye=Ca(ie)[0],Je=Object.assign({},te);return ie&&Array.isArray(ie)&&(Je.format=Ye),Ye&&typeof Ye=="string"&&(!Ye.includes("s")&&Ne===void 0&&(Je.showSecond=!1),!Ye.includes("m")&&ve===void 0&&(Je.showMinute=!1),!Ye.includes("H")&&!Ye.includes("h")&&!Ye.includes("K")&&!Ye.includes("k")&&fe===void 0&&(Je.showHour=!1),(Ye.includes("a")||Ye.includes("A"))&&Le===void 0&&(Je.use12Hours=!0)),le==="time"?Je:(typeof Ye=="function"&&delete Je.format,{showTime:Je})}function tr(te,ie,le){if(te===!1)return!1;const fe={clearIcon:ie!=null?ie:le};return typeof te=="object"?Object.assign(Object.assign({},fe),te):fe}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 fe in te)Object.prototype.hasOwnProperty.call(te,fe)&&ie.indexOf(fe)<0&&(le[fe]=te[fe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,fe=Object.getOwnPropertySymbols(te);ve<fe.length;ve++)ie.indexOf(fe[ve])<0&&Object.prototype.propertyIsEnumerable.call(te,fe[ve])&&(le[fe[ve]]=te[fe[ve]]);return le};function yo(te){return(0,ne.forwardRef)((le,fe)=>{const{prefixCls:ve,getPopupContainer:Ne,className:Le,placement:Ye,size:Je,disabled:ct,bordered:Qt=!0,placeholder:ft,popupClassName:St,dropdownClassName:Ct,status:Nt,clearIcon:at,allowClear:Et,rootClassName:nn}=le,Mn=Ao(le,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),gn=ne.useRef(null),{getPrefixCls:dn,direction:qn,getPopupContainer:on}=(0,ne.useContext)(sa.E_),cn=dn("picker",ve),{compactSize:wa,compactItemClassnames:aa}=(0,Dr.ri)(cn,qn),{format:La,showTime:fa,picker:nr}=le,wr=dn(),[Vr,ar]=na(cn),lr=Object.assign(Object.assign({},fa?Ja(Object.assign({format:La,picker:nr},fa)):{}),nr==="time"?Ja(Object.assign(Object.assign({format:La},le),{picker:nr})):{}),ka=(0,Qa.Z)(io=>{var vo;return(vo=Je!=null?Je:wa)!==null&&vo!==void 0?vo:io}),Yr=ne.useContext(Ra.Z),Sr=ct!=null?ct:Yr,Lr=(0,ne.useContext)(Ba.aM),{hasFeedback:Mo,status:To,feedbackIcon:Uo}=Lr,Pi=ne.createElement(ne.Fragment,null,nr==="time"?ne.createElement(Xe,null):ne.createElement(Se,null),Mo&&Uo);(0,ne.useImperativeHandle)(fe,()=>({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",ya.Z),ci=Object.assign(Object.assign({},No),le.locale);return Vr(ne.createElement(On,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${cn}-separator`},ne.createElement(ht,null)),disabled:Sr,ref:gn,dropdownAlign:Io(qn,Ye),placeholder:Kr(ci,nr,ft),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`},Mn,lr,{className:an()({[`${cn}-${ka}`]:ka,[`${cn}-borderless`]:!Qt},(0,Hn.Z)(cn,(0,Hn.F)(To,Nt),Mo),ar,aa,Le,nn),locale:ci.lang,prefixCls:cn,getPopupContainer:Ne||on,generateConfig:te,components:Ir,direction:qn,dropdownClassName:an()(ar,St||Ct,nn),allowClear:tr(Et,at,ne.createElement(st.Z,null))})))})}var Bl=function(te,ie){var le={};for(var fe in te)Object.prototype.hasOwnProperty.call(te,fe)&&ie.indexOf(fe)<0&&(le[fe]=te[fe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,fe=Object.getOwnPropertySymbols(te);ve<fe.length;ve++)ie.indexOf(fe[ve])<0&&Object.prototype.propertyIsEnumerable.call(te,fe[ve])&&(le[fe[ve]]=te[fe[ve]]);return le};function Pl(te){function ie(Je,ct){const Qt=ct==="TimePicker"?"timePicker":"datePicker",ft=(0,ne.forwardRef)((St,Ct)=>{const{prefixCls:Nt,getPopupContainer:at,style:Et,className:nn,rootClassName:Mn,size:gn,bordered:dn=!0,placement:qn,placeholder:on,popupClassName:cn,dropdownClassName:wa,disabled:aa,status:La,clearIcon:fa,allowClear:nr}=St,wr=Bl(St,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Vr,direction:ar,getPopupContainer:lr,[Qt]:ka}=(0,ne.useContext)(sa.E_),Yr=Vr("picker",Nt),{compactSize:Sr,compactItemClassnames:Lr}=(0,Dr.ri)(Yr,ar),Mo=ne.useRef(null),{format:To,showTime:Uo}=St,[Pi,No]=na(Yr);(0,ne.useImperativeHandle)(Ct,()=>({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={};Je&&(io.picker=Je);const vo=Je||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=aa!=null?aa:mi,vi=(0,ne.useContext)(Ba.aM),{hasFeedback:Cr,status:Zo,feedbackIcon:bo}=vi,Qr=ne.createElement(ne.Fragment,null,vo==="time"?ne.createElement(Xe,null):ne.createElement(Se,null),Cr&&bo),[_a]=(0,fr.Z)("DatePicker",ya.Z),ao=Object.assign(Object.assign({},_a),St.locale);return Pi(ne.createElement(ta,Object.assign({ref:Mo,placeholder:or(ao,vo,on),suffixIcon:Qr,dropdownAlign:Io(ar,qn),prevIcon:ne.createElement("span",{className:`${Yr}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Yr}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Yr}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Yr}-super-next-icon`}),transitionName:`${Fo}-slide-up`},ci,wr,io,{locale:ao.lang,className:an()({[`${Yr}-${ui}`]:ui,[`${Yr}-borderless`]:!dn},(0,Hn.Z)(Yr,(0,Hn.F)(Zo,La),Cr),No,Lr,ka==null?void 0:ka.className,nn,Mn),style:Object.assign(Object.assign({},ka==null?void 0:ka.style),Et),prefixCls:Yr,getPopupContainer:at||lr,generateConfig:te,components:Ir,direction:ar,disabled:ji,dropdownClassName:an()(No,Mn,cn||wa),allowClear:tr(nr,fa,ne.createElement(st.Z,null))})))});return ct&&(ft.displayName=ct),ft}const le=ie(),fe=ie("week","WeekPicker"),ve=ie("month","MonthPicker"),Ne=ie("year","YearPicker"),Le=ie("time","TimePicker"),Ye=ie("quarter","QuarterPicker");return{DatePicker:le,WeekPicker:fe,MonthPicker:ve,YearPicker:Ne,TimePicker:Le,QuarterPicker:Ye}}const Os=null;function Qi(te){const{DatePicker:ie,WeekPicker:le,MonthPicker:fe,YearPicker:ve,TimePicker:Ne,QuarterPicker:Le}=Pl(te),Ye=yo(te),Je=ie;return Je.WeekPicker=le,Je.MonthPicker=fe,Je.YearPicker=ve,Je.RangePicker=Ye,Je.TimePicker=Ne,Je.QuarterPicker=Le,Je}var hs=Qi;const xi=hs(z);function zl(te){const ie=Io(te.direction,te.placement);return ie.overflow.adjustY=!1,ie.overflow.adjustX=!1,Object.assign(Object.assign({},te),{dropdownAlign:ie})}const Cd=(0,re.Z)(xi,"picker",null,zl);xi._InternalPanelDoNotUseOrYouWillBeFired=Cd;const Go=(0,re.Z)(xi.RangePicker,"picker",null,zl);xi._InternalRangePanelDoNotUseOrYouWillBeFired=Go,xi.generatePicker=hs;var Wo=xi},96074:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return Ke}});var ae=ee(94184),me=ee.n(ae),Fe=ee(67294),ze=ee(53124),Be=ee(14747),Te=ee(67968),se=ee(45503);const Ze=Ee=>{const{componentCls:ce,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=Ee;return{[ce]:Object.assign(Object.assign({},(0,Be.Wf)(Ee)),{borderBlockStart:`${x}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${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 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ce}-with-text-left`]:{"&::before":{width:`${E*100}%`},"&::after":{width:`${100-E*100}%`}},[`&-horizontal${ce}-with-text-right`]:{"&::before":{width:`${100-E*100}%`},"&::after":{width:`${E*100}%`}},[`${ce}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${ce}-with-text${ce}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ce}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ce}-with-text`]:{color: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:a}},[`&-horizontal${ce}-with-text-right${ce}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ce}-inner-text`]:{paddingInlineEnd:a}}})}};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 a={};for(var y in Ee)Object.prototype.hasOwnProperty.call(Ee,y)&&ce.indexOf(y)<0&&(a[y]=Ee[y]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(Ee);x<y.length;x++)ce.indexOf(y[x])<0&&Object.prototype.propertyIsEnumerable.call(Ee,y[x])&&(a[y[x]]=Ee[y[x]]);return a},Ke=Ee=>{const{getPrefixCls:ce,direction:a,divider:y}=Fe.useContext(ze.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:re,rootClassName:oe,children:ne,dashed:ge,plain:pe,style:we}=Ee,be=He(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=ce("divider",x),[Se,ut]=je(xe),We=E.length>0?`-${E}`:E,Kt=!!ne,Xe=E==="left"&&z!=null,st=E==="right"&&z!=null,xt=me()(xe,y==null?void 0:y.className,ut,`${xe}-${b}`,{[`${xe}-with-text`]:Kt,[`${xe}-with-text${We}`]:Kt,[`${xe}-dashed`]:!!ge,[`${xe}-plain`]:!!pe,[`${xe}-rtl`]:a==="rtl",[`${xe}-no-default-orientation-margin-left`]:Xe,[`${xe}-no-default-orientation-margin-right`]:st},re,oe),It=Fe.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Gt=Object.assign(Object.assign({},Xe&&{marginLeft:It}),st&&{marginRight:It});return Se(Fe.createElement("div",Object.assign({className:xt,style:Object.assign(Object.assign({},y==null?void 0:y.style),we)},be,{role:"separator"}),ne&&b!=="vertical"&&Fe.createElement("span",{className:`${xe}-inner-text`,style:Gt},ne)))}},56153:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return Oc}});var ae=ee(67294),me=ee.t(ae,2),Fe=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,Re){}function a(Pe,Re){}function y(){Ee={}}function x(Pe,Re,ke){!Re&&!Ee[ke]&&(Pe(!1,ke),Ee[ke]=!0)}function b(Pe,Re){x(ce,Pe,Re)}function E(Pe,Re){x(a,Pe,Re)}var z=null,re=ee(71002),oe=ee(12060);function ne(Pe,Re,ke){var it=ae.useRef({});return(!("value"in it.current)||ke(it.current.condition,Re))&&(it.current.value=Pe(),it.current.condition=Re),it.current.value}function ge(Pe,Re){typeof Pe=="function"?Pe(Re):(0,re.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Re)}function pe(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];var it=Re.filter(function(Ot){return Ot});return it.length<=1?it[0]:function(Ot){Re.forEach(function(fn){ge(fn,Ot)})}}function we(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];return ne(function(){return pe.apply(void 0,Re)},Re,function(it,Ot){return it.length===Ot.length&&it.every(function(fn,pn){return fn===Ot[pn]})})}function be(Pe){var Re,ke,it=(0,oe.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof it=="function"&&!((Re=it.prototype)!==null&&Re!==void 0&&Re.render)||typeof Pe=="function"&&!((ke=Pe.prototype)!==null&&ke!==void 0&&ke.render))}var xe=ae.createContext(null),Se=xe,ut=ee(74902),We=Ke()?ae.useLayoutEffect:ae.useEffect,Kt=We,Xe=function(Re,ke){var it=React.useRef(!0);We(function(){if(!it.current)return Re()},ke),We(function(){return it.current=!1,function(){it.current=!0}},[])},st=[];function xt(Pe,Re){var ke=ae.useState(function(){if(!Ke())return null;var pr=document.createElement("div");return pr}),it=(0,Ze.Z)(ke,1),Ot=it[0],fn=ae.useRef(!1),pn=ae.useContext(Se),ca=ae.useState(st),Ea=(0,Ze.Z)(ca,2),ma=Ea[0],Ya=Ea[1],ha=pn||(fn.current?void 0:function(pr){Ya(function(uo){var eo=[pr].concat((0,ut.Z)(uo));return eo})});function qa(){Ot.parentElement||document.body.appendChild(Ot),fn.current=!0}function za(){var pr;(pr=Ot.parentElement)===null||pr===void 0||pr.removeChild(Ot),fn.current=!1}return Kt(function(){return Pe?pn?pn(qa):qa():za(),za},[Pe]),Kt(function(){ma.length&&(ma.forEach(function(pr){return pr()}),Ya(st))},[ma]),[Ot,ha]}function It(Pe,Re){if(!Pe)return!1;if(Pe.contains)return Pe.contains(Re);for(var ke=Re;ke;){if(ke===Pe)return!0;ke=ke.parentNode}return!1}var Gt="data-rc-order",ht="rc-util-key",Zt=new Map;function an(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=Pe.mark;return Re?Re.startsWith("data-")?Re:"data-".concat(Re):ht}function hn(Pe){if(Pe.attachTo)return Pe.attachTo;var Re=document.querySelector("head");return Re||document.body}function $e(Pe){return Pe==="queue"?"prependQueue":Pe?"prepend":"append"}function Pt(Pe){return Array.from((Zt.get(Pe)||Pe).children).filter(function(Re){return Re.tagName==="STYLE"})}function Ft(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ke())return null;var ke=Re.csp,it=Re.prepend,Ot=document.createElement("style");Ot.setAttribute(Gt,$e(it)),ke!=null&&ke.nonce&&(Ot.nonce=ke==null?void 0:ke.nonce),Ot.innerHTML=Pe;var fn=hn(Re),pn=fn.firstChild;if(it){if(it==="queue"){var ca=Pt(fn).filter(function(Ea){return["prepend","prependQueue"].includes(Ea.getAttribute(Gt))});if(ca.length)return fn.insertBefore(Ot,ca[ca.length-1].nextSibling),Ot}fn.insertBefore(Ot,pn)}else fn.appendChild(Ot);return Ot}function Kn(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=hn(Re);return Pt(ke).find(function(it){return it.getAttribute(an(Re))===Pe})}function rt(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=Kn(Pe,Re);if(ke){var it=hn(Re);it.removeChild(ke)}}function Bt(Pe,Re){var ke=Zt.get(Pe);if(!ke||!It(document,ke)){var it=Ft("",Re),Ot=it.parentNode;Zt.set(Pe,Ot),Pe.removeChild(it)}}function Ce(){Zt.clear()}function yn(Pe,Re){var ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},it=hn(ke);Bt(it,ke);var Ot=Kn(Re,ke);if(Ot){var fn,pn;if((fn=ke.csp)!==null&&fn!==void 0&&fn.nonce&&Ot.nonce!==((pn=ke.csp)===null||pn===void 0?void 0:pn.nonce)){var ca;Ot.nonce=(ca=ke.csp)===null||ca===void 0?void 0:ca.nonce}return Ot.innerHTML!==Pe&&(Ot.innerHTML=Pe),Ot}var Ea=Ft(Pe,ke);return Ea.setAttribute(an(ke),Re),Ea}var bn;function pa(Pe){if(typeof document=="undefined")return 0;if(Pe||bn===void 0){var Re=document.createElement("div");Re.style.width="100%",Re.style.height="200px";var ke=document.createElement("div"),it=ke.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",ke.appendChild(Re),document.body.appendChild(ke);var Ot=Re.offsetWidth;ke.style.overflow="scroll";var fn=Re.offsetWidth;Ot===fn&&(fn=ke.clientWidth),document.body.removeChild(ke),bn=Ot-fn}return bn}function $n(Pe){var Re=Pe.match(/^(.*)px$/),ke=Number(Re==null?void 0:Re[1]);return Number.isNaN(ke)?pa():ke}function Jt(Pe){if(typeof document=="undefined"||!Pe||!(Pe instanceof Element))return{width:0,height:0};var Re=getComputedStyle(Pe,"::-webkit-scrollbar"),ke=Re.width,it=Re.height;return{width:$n(ke),height:$n(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()),pt=0;function zt(Pe){var Re=!!Pe,ke=ae.useState(function(){return pt+=1,"".concat(Me,"_").concat(pt)}),it=(0,Ze.Z)(ke,1),Ot=it[0];Kt(function(){if(Re){var fn=Jt(document.body).width,pn=Ge();yn(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(pn?"width: calc(100% - ".concat(fn,"px);"):"",`
|
|
}`),Ot)}else rt(Ot);return function(){rt(Ot)}},[Re,Ot])}var Xt=!1;function wn(Pe){return typeof Pe=="boolean"&&(Xt=Pe),Xt}var Yn=function(Re){return Re===!1?!1:!Ke()||!Re?null:typeof Re=="string"?document.querySelector(Re):typeof Re=="function"?Re():Re},qt=ae.forwardRef(function(Pe,Re){var ke=Pe.open,it=Pe.autoLock,Ot=Pe.getContainer,fn=Pe.debug,pn=Pe.autoDestroy,ca=pn===void 0?!0:pn,Ea=Pe.children,ma=ae.useState(ke),Ya=(0,Ze.Z)(ma,2),ha=Ya[0],qa=Ya[1],za=ha||ke;ae.useEffect(function(){(ca||ke)&&qa(ke)},[ke,ca]);var pr=ae.useState(function(){return Yn(Ot)}),uo=(0,Ze.Z)(pr,2),eo=uo[0],So=uo[1];ae.useEffect(function(){var Si=Yn(Ot);So(Si!=null?Si:null)});var Ur=xt(za&&!eo,fn),br=(0,Ze.Z)(Ur,2),er=br[0],li=br[1],Ko=eo!=null?eo:er;zt(it&&ke&&Ke()&&(Ko===er||Ko===document.body));var si=null;if(Ea&&be(Ea)&&Re){var pi=Ea;si=pi.ref}var Ui=we(si,Re);if(!za||!Ke()||eo===void 0)return null;var Qo=Ko===!1||wn(),Po=Ea;return Re&&(Po=ae.cloneElement(Ea,{ref:Ui})),ae.createElement(Se.Provider,{value:li},Qo?Po:(0,qe.createPortal)(Po,Ko))}),Ut=qt,_n=Ut,Ie=ee(48555);function tt(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function Qn(Pe){return tt(Pe)?Pe:Pe instanceof React.Component?ReactDOM.findDOMNode(Pe):null}function Fn(Pe){var Re;return Pe==null||(Re=Pe.getRootNode)===null||Re===void 0?void 0:Re.call(Pe)}function dt(Pe){return Fn(Pe)instanceof ShadowRoot}function rn(Pe){return dt(Pe)?Fn(Pe):null}function Ue(Pe){var Re=ae.useRef();Re.current=Pe;var ke=ae.useCallback(function(){for(var it,Ot=arguments.length,fn=new Array(Ot),pn=0;pn<Ot;pn++)fn[pn]=arguments[pn];return(it=Re.current)===null||it===void 0?void 0:it.call.apply(it,[Re].concat(fn))},[]);return ke}function gt(){var Pe=(0,He.Z)({},me);return Pe.useId}var Mt=0;function Wt(){}var Rt=gt(),Cn=Rt?function(Re){var ke=Rt();return Re||ke}:function(Re){var ke=ae.useState("ssr-id"),it=(0,Ze.Z)(ke,2),Ot=it[0],fn=it[1];return ae.useEffect(function(){var pn=Mt;Mt+=1,fn("rc_unique_".concat(pn))},[]),Re||Ot};function ra(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Vn=ra()?ae.useLayoutEffect:ae.useEffect,Gn=function(Re,ke){var it=ae.useRef(!0);Vn(function(){return Re(it.current)},ke),Vn(function(){return it.current=!1,function(){it.current=!0}},[])},Ga=function(Re,ke){Gn(function(it){if(!it)return Re()},ke)},oa=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=ae.createContext(null),Tr=Pr;function Xr(Pe){return Pe?Array.isArray(Pe)?Pe:[Pe]:[]}function Rr(Pe,Re,ke,it){return ae.useMemo(function(){var Ot=Xr(ke!=null?ke:Re),fn=Xr(it!=null?it:Re),pn=new Set(Ot),ca=new Set(fn);return Pe&&(pn.has("hover")&&(pn.delete("hover"),pn.add("click")),ca.has("hover")&&(ca.delete("hover"),ca.add("click"))),[pn,ca]},[Pe,Re,ke,it])}var Br=function(Pe){if(!Pe)return!1;if(Pe instanceof Element){if(Pe.offsetParent)return!0;if(Pe.getBBox){var Re=Pe.getBBox(),ke=Re.width,it=Re.height;if(ke||it)return!0}if(Pe.getBoundingClientRect){var Ot=Pe.getBoundingClientRect(),fn=Ot.width,pn=Ot.height;if(fn||pn)return!0}}return!1};function to(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=arguments.length>2?arguments[2]:void 0;return ke?Pe[0]===Re[0]:Pe[0]===Re[0]&&Pe[1]===Re[1]}function lo(Pe,Re,ke,it){for(var Ot=ke.points,fn=Object.keys(Pe),pn=0;pn<fn.length;pn+=1){var ca,Ea=fn[pn];if(to((ca=Pe[Ea])===null||ca===void 0?void 0:ca.points,Ot,it))return"".concat(Re,"-placement-").concat(Ea)}return""}function gr(Pe,Re,ke,it){return Re||(ke?{motionName:"".concat(Pe,"-").concat(ke)}:it?{motionName:it}:null)}function Pn(Pe){return Pe.ownerDocument.defaultView}function Zn(Pe){for(var Re=[],ke=Pe==null?void 0:Pe.parentElement,it=["hidden","scroll","clip","auto"];ke;){var Ot=Pn(ke).getComputedStyle(ke),fn=Ot.overflowX,pn=Ot.overflowY,ca=Ot.overflow;[fn,pn,ca].some(function(Ea){return it.includes(Ea)})&&Re.push(ke),ke=ke.parentElement}return Re}function An(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Pe)?Re:Pe}function Dn(Pe){return An(parseFloat(Pe),0)}function Oa(Pe,Re){var ke=(0,He.Z)({},Pe);return(Re||[]).forEach(function(it){if(!(it instanceof HTMLBodyElement||it instanceof HTMLHtmlElement)){var Ot=Pn(it).getComputedStyle(it),fn=Ot.overflow,pn=Ot.overflowClipMargin,ca=Ot.borderTopWidth,Ea=Ot.borderBottomWidth,ma=Ot.borderLeftWidth,Ya=Ot.borderRightWidth,ha=it.getBoundingClientRect(),qa=it.offsetHeight,za=it.clientHeight,pr=it.offsetWidth,uo=it.clientWidth,eo=Dn(ca),So=Dn(Ea),Ur=Dn(ma),br=Dn(Ya),er=An(Math.round(ha.width/pr*1e3)/1e3),li=An(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=Dn(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;ke.left=Math.max(ke.left,fo),ke.top=Math.max(ke.top,zo),ke.right=Math.min(ke.right,Gr),ke.bottom=Math.min(ke.bottom,Ii)}}),ke}function Ar(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ke="".concat(Re),it=ke.match(/^(.*)\%$/);return it?Pe*(parseFloat(it[1])/100):parseFloat(ke)}function zn(Pe,Re){var ke=Re||[],it=(0,Ze.Z)(ke,2),Ot=it[0],fn=it[1];return[Ar(Pe.width,Ot),Ar(Pe.height,fn)]}function _e(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Pe[0],Pe[1]]}function lt(Pe,Re){var ke=Re[0],it=Re[1],Ot,fn;return ke==="t"?fn=Pe.y:ke==="b"?fn=Pe.y+Pe.height:fn=Pe.y+Pe.height/2,it==="l"?Ot=Pe.x:it==="r"?Ot=Pe.x+Pe.width:Ot=Pe.x+Pe.width/2,{x:Ot,y:fn}}function Ve(Pe,Re){var ke={t:"b",b:"t",l:"r",r:"l"};return Pe.map(function(it,Ot){return Ot===Re?ke[it]||"c":it}).join("")}function jt(Pe,Re,ke,it,Ot,fn,pn){var ca=ae.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ot[it]||{}}),Ea=(0,Ze.Z)(ca,2),ma=Ea[0],Ya=Ea[1],ha=ae.useRef(0),qa=ae.useMemo(function(){return Re?Zn(Re):[]},[Re]),za=ae.useRef({}),pr=function(){za.current={}};Pe||pr();var uo=Ue(function(){if(Re&&ke&&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),na=Math.min(gi,Or.bottom);return Math.max(0,(Di-fi)*(na-Fr))},vr=function(){Ls=ko.y+ri,Ys=Ls+Ni,Qs=ko.x+Zi,Js=Qs+Ho};var Ur,br,er=Re,li=er.ownerDocument,Ko=Pn(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)({},Ot[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(ke))Gr={x:ke[0],y:ke[1],width:0,height:0};else{var Ii=ke.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=An(Math.round(Ho/parseFloat(pi)*1e3)/1e3),_l=An(Math.round(Ni/parseFloat(Ui)*1e3)/1e3);if(xs===0||_l===0||tt(ke)&&!Br(ke))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=_e(qd),Zl=_e(Us),hd=lt(Gr,Rs),Vs=lt(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=lt(Gr,["t","l"]),Rd=lt(ko,["t","l"]),Sd=lt(Gr,["b","r"]),vs=lt(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 Oe=Wa(De,ri),Qe=Wa(De,ri,Mr);Oe>ts||Oe===ts&&(!Yi||Qe>=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 nt=Zi;ye?nt+=Ho-gl:nt=Sd.x-Rd.x-es;var et=Wa(nt,ri),bt=Wa(nt,ri,Mr);et>ts||et===ts&&(!Yi||bt>=ws)?(za.current.lr=!0,Zi=nt,es=-es,Es.points=[Ve(Zl,1),Ve(Rs,1)]):za.current.lr=!1}vr();var Tt=Od===!0?0:Od;typeof Tt=="number"&&(Qs<Mr.left&&(Zi-=Qs-Mr.left-es,Gr.x+gl<Mr.left+Tt&&(Zi+=Gr.x-Mr.left+gl-Tt)),Js>Mr.right&&(Zi-=Js-Mr.right-es,Gr.x>Mr.right-Tt&&(Zi+=Gr.x-Mr.right+Tt)));var Lt=yd===!0?0:yd;typeof Lt=="number"&&(Ls<Mr.top&&(ri-=Ls-Mr.top-ms,Gr.y+di<Mr.top+Lt&&(ri+=Gr.y-Mr.top+di-Lt)),Ys>Mr.bottom&&(ri-=Ys-Mr.bottom-ms,Gr.y>Mr.bottom-Lt&&(ri+=Gr.y-Mr.bottom+Lt)));var ln=ko.x+Zi,sn=ln+Ho,vn=ko.y+ri,Xn=vn+Ni,On=Gr.x,ta=On+gl,Hn=Gr.y,sa=Hn+di,Ra=Math.max(ln,On),Qa=Math.min(sn,ta),Ba=(Ra+Qa)/2,fr=Ba-ln,Dr=Math.max(vn,Hn),ya=Math.min(Xn,sa),Na=(Dr+ya)/2,ga=Na-vn;pn==null||pn(Re,Es);var la=gs.right-ko.x-(Zi+ko.width),Da=gs.bottom-ko.y-(ri+ko.height);Ya({ready:!0,offsetX:Zi/xs,offsetY:ri/_l,offsetR:la/xs,offsetB:Da/_l,arrowX:fr/xs,arrowY:ga/_l,scaleX:xs,scaleY:_l,align:Es})}}),eo=function(){ha.current+=1;var br=ha.current;Promise.resolve().then(function(){ha.current===br&&uo()})},So=function(){Ya(function(br){return(0,He.Z)((0,He.Z)({},br),{},{ready:!1})})};return oa(So,[it]),oa(function(){Pe||So()},[Pe]),[ma.ready,ma.offsetX,ma.offsetY,ma.offsetR,ma.offsetB,ma.arrowX,ma.arrowY,ma.scaleX,ma.scaleY,ma.align,eo]}function xn(Pe,Re,ke,it,Ot){oa(function(){if(Pe&&Re&&ke){let ha=function(){it(),Ot()};var fn=Re,pn=ke,ca=Zn(fn),Ea=Zn(pn),ma=Pn(pn),Ya=new Set([ma].concat((0,ut.Z)(ca),(0,ut.Z)(Ea)));return Ya.forEach(function(qa){qa.addEventListener("scroll",ha,{passive:!0})}),ma.addEventListener("resize",ha,{passive:!0}),it(),function(){Ya.forEach(function(qa){qa.removeEventListener("scroll",ha),ma.removeEventListener("resize",ha)})}}},[Pe,Re,ke])}function Jn(Pe){var Re=React.useRef(!1),ke=React.useState(Pe),it=_slicedToArray(ke,2),Ot=it[0],fn=it[1];React.useEffect(function(){return Re.current=!1,function(){Re.current=!0}},[]);function pn(ca,Ea){Ea&&Re.current||fn(ca)}return[Ot,pn]}function Ka(Pe){return Pe!==void 0}function ua(Pe,Re){var ke=Re||{},it=ke.defaultValue,Ot=ke.value,fn=ke.onChange,pn=ke.postState,ca=useState(function(){return Ka(Ot)?Ot:Ka(it)?typeof it=="function"?it():it:typeof Pe=="function"?Pe():Pe}),Ea=_slicedToArray(ca,2),ma=Ea[0],Ya=Ea[1],ha=Ot!==void 0?Ot:ma,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];ma!==br&&za(ma,br)},[eo]),useLayoutUpdateEffect(function(){Ka(Ot)||Ya(Ot)},[Ot]);var Ur=useEvent(function(br,er){Ya(br,er),So([ha],er)});return[qa,Ur]}var Wn=ee(95845);function Ma(Pe,Re,ke){var it=ae.useRef({});return(!("value"in it.current)||ke(it.current.condition,Re))&&(it.current.value=Pe(),it.current.condition=Re),it.current.value}function ho(Pe,Re){typeof Pe=="function"?Pe(Re):(0,re.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Re)}function Rn(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];var it=Re.filter(function(Ot){return Ot});return it.length<=1?it[0]:function(Ot){Re.forEach(function(fn){ho(fn,Ot)})}}function no(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];return Ma(function(){return Rn.apply(void 0,Re)},Re,function(it,Ot){return it.length!==Ot.length||it.every(function(fn,pn){return fn!==Ot[pn]})})}function ot(Pe){var Re,ke,it=(0,Wn.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof it=="function"&&!((Re=it.prototype)!==null&&Re!==void 0&&Re.render)||typeof Pe=="function"&&!((ke=Pe.prototype)!==null&&ke!==void 0&&ke.render))}function tn(Pe){return!isValidElement(Pe)||isFragment(Pe)?!1:ot(Pe)}function $t(Pe,Re,ke,it){if(!Re.length)return ke;var Ot=_toArray(Re),fn=Ot[0],pn=Ot.slice(1),ca;return!Pe&&typeof fn=="number"?ca=[]:Array.isArray(Pe)?ca=_toConsumableArray(Pe):ca=_objectSpread({},Pe),it&&ke===void 0&&pn.length===1?delete ca[fn][pn[0]]:ca[fn]=$t(ca[fn],pn,ke,it),ca}function _t(Pe,Re,ke){var it=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Re.length&&it&&ke===void 0&&!get(Pe,Re.slice(0,-1))?Pe:$t(Pe,Re,ke,it)}function jn(Pe){return _typeof(Pe)==="object"&&Pe!==null&&Object.getPrototypeOf(Pe)===Object.prototype}function Vt(Pe){return Array.isArray(Pe)?[]:{}}var kn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function un(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];var it=Vt(Re[0]);return Re.forEach(function(Ot){function fn(pn,ca){var Ea=new Set(ca),ma=get(Ot,pn),Ya=Array.isArray(ma);if(Ya||jn(ma)){if(!Ea.has(ma)){Ea.add(ma);var ha=get(it,pn);Ya?it=_t(it,pn,[]):(!ha||_typeof(ha)!=="object")&&(it=_t(it,pn,Vt(ma))),kn(ma).forEach(function(qa){fn([].concat(_toConsumableArray(pn),[qa]),Ea)})}}else it=_t(it,pn,ma)}fn([])}),it}var $a={},Aa=[],cr=function(Re){Aa.push(Re)};function zr(Pe,Re){if(0)var ke}function co(Pe,Re){if(0)var ke}function mn(){$a={}}function Bi(Pe,Re,ke){!Re&&!$a[ke]&&(Pe(!1,ke),$a[ke]=!0)}function ei(Pe,Re){Bi(zr,Pe,Re)}function qr(Pe,Re){Bi(co,Pe,Re)}ei.preMessage=cr,ei.resetWarned=mn,ei.noteOnce=qr;var Yo=null,Tn=function(Re){return+setTimeout(Re,16)},va=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Tn=function(Re){return window.requestAnimationFrame(Re)},va=function(Re){return window.cancelAnimationFrame(Re)});var Va=0,Un=new Map;function Wr(Pe){Un.delete(Pe)}var _r=function(Re){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Va+=1;var it=Va;function Ot(fn){if(fn===0)Wr(it),Re();else{var pn=Tn(function(){Ot(fn-1)});Un.set(it,pn)}}return Ot(ke),it};_r.cancel=function(Pe){var Re=Un.get(Pe);return Wr(Re),va(Re)};var ti=_r;function ni(Pe,Re,ke,it,Ot,fn,pn,ca){var Ea=ae.useRef(Pe),ma=ae.useRef(!1);Ea.current!==Pe&&(ma.current=!0,Ea.current=Pe),ae.useEffect(function(){var Ya=ti(function(){ma.current=!1});return function(){ti.cancel(Ya)}},[Pe]),ae.useEffect(function(){if(Re&&it&&(!Ot||fn)){var Ya=function(){var Qo=!1,Po=function(qo){var fo=qo.target;Qo=pn(fo)},Si=function(qo){var fo=qo.target;!ma.current&&Ea.current&&!Qo&&!pn(fo)&&ca(!1)};return[Po,Si]},ha=Ya(),qa=(0,Ze.Z)(ha,2),za=qa[0],pr=qa[1],uo=Ya(),eo=(0,Ze.Z)(uo,2),So=eo[0],Ur=eo[1],br=Pn(it);br.addEventListener("mousedown",za,!0),br.addEventListener("click",pr,!0),br.addEventListener("contextmenu",pr,!0);var er=rn(ke);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))}}},[Re,ke,it,Ot,fn])}function ai(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function bl(Pe){return ai(Pe)?Pe:Pe instanceof ae.Component?qe.findDOMNode(Pe):null}function yi(Pe,Re){var ke={};return ke[Pe.toLowerCase()]=Re.toLowerCase(),ke["Webkit".concat(Pe)]="webkit".concat(Re),ke["Moz".concat(Pe)]="moz".concat(Re),ke["ms".concat(Pe)]="MS".concat(Re),ke["O".concat(Pe)]="o".concat(Re.toLowerCase()),ke}function Kl(Pe,Re){var ke={animationend:yi("Animation","AnimationEnd"),transitionend:yi("Transition","TransitionEnd")};return Pe&&("AnimationEvent"in Re||delete ke.animationend.animation,"TransitionEvent"in Re||delete ke.transitionend.transition),ke}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 Re=$l[Pe];if(Re)for(var ke=Object.keys(Re),it=ke.length,Ot=0;Ot<it;Ot+=1){var fn=ke[Ot];if(Object.prototype.hasOwnProperty.call(Re,fn)&&fn in wi)return hl[Pe]=Re[fn],hl[Pe]}return""}var Fl=Cl("animationend"),tl=Cl("transitionend"),ki=!!(Fl&&tl),pl=Fl||"animationend",kr=tl||"transitionend";function mt(Pe,Re){if(!Pe)return null;if((0,re.Z)(Pe)==="object"){var ke=Re.replace(/-\w/g,function(it){return it[1].toUpperCase()});return Pe[ke]}return"".concat(Pe,"-").concat(Re)}var At="none",en="appear",Ae="enter",Yt="leave",Bn="none",Nn="prepare",yt="start",Ht="active",kt="end";function In(Pe){var Re=ae.useRef(!1),ke=ae.useState(Pe),it=(0,Ze.Z)(ke,2),Ot=it[0],fn=it[1];ae.useEffect(function(){return Re.current=!1,function(){Re.current=!0}},[]);function pn(ca,Ea){Ea&&Re.current||fn(ca)}return[Ot,pn]}var da=function(Re){return+setTimeout(Re,16)},xa=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(da=function(Re){return window.requestAnimationFrame(Re)},xa=function(Re){return window.cancelAnimationFrame(Re)});var Sa=0,Ia=new Map;function rr(Pe){Ia.delete(Pe)}var Ln=function(Re){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Sa+=1;var it=Sa;function Ot(fn){if(fn===0)rr(it),Re();else{var pn=da(function(){Ot(fn-1)});Ia.set(it,pn)}}return Ot(ke),it};Ln.cancel=function(Pe){var Re=Ia.get(Pe);return rr(Re),xa(Re)};var Dt=Ln,Sn=function(){var Pe=ae.useRef(null);function Re(){Dt.cancel(Pe.current)}function ke(it){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Re();var fn=Dt(function(){Ot<=1?it({isCanceled:function(){return fn!==Pe.current}}):ke(it,Ot-1)});Pe.current=fn}return ae.useEffect(function(){return function(){Re()}},[]),[ke,Re]},En=Ke()?ae.useLayoutEffect:ae.useEffect,ia=En,Fa=[Nn,yt,Ht,kt],Xa=!1,yr=!0;function sr(Pe){return Pe===Ht||Pe===kt}var ea=function(Pe,Re){var ke=In(Bn),it=(0,Ze.Z)(ke,2),Ot=it[0],fn=it[1],pn=Sn(),ca=(0,Ze.Z)(pn,2),Ea=ca[0],ma=ca[1];function Ya(){fn(Nn,!0)}return ia(function(){if(Ot!==Bn&&Ot!==kt){var ha=Fa.indexOf(Ot),qa=Fa[ha+1],za=Re(Ot);za===Xa?fn(qa,!0):Ea(function(pr){function uo(){pr.isCanceled()||fn(qa,!0)}za===!0?uo():Promise.resolve(za).then(uo)})}},[Pe,Ot]),ae.useEffect(function(){return function(){ma()}},[]),[Ya,Ot]},ba=function(Pe){var Re=(0,ae.useRef)(),ke=(0,ae.useRef)(Pe);ke.current=Pe;var it=ae.useCallback(function(pn){ke.current(pn)},[]);function Ot(pn){pn&&(pn.removeEventListener(kr,it),pn.removeEventListener(pl,it))}function fn(pn){Re.current&&Re.current!==pn&&Ot(Re.current),pn&&pn!==Re.current&&(pn.addEventListener(kr,it),pn.addEventListener(pl,it),Re.current=pn)}return ae.useEffect(function(){return function(){Ot(Re.current)}},[]),[fn,Ot]};function Pa(Pe,Re,ke,it){var Ot=it.motionEnter,fn=Ot===void 0?!0:Ot,pn=it.motionAppear,ca=pn===void 0?!0:pn,Ea=it.motionLeave,ma=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=In(),Qo=(0,Ze.Z)(Ui,2),Po=Qo[0],Si=Qo[1],Mi=In(At),qo=(0,Ze.Z)(Mi,2),fo=qo[0],zo=qo[1],Gr=In(null),Ii=(0,Ze.Z)(Gr,2),ko=Ii[0],Gi=Ii[1],ul=(0,ae.useRef)(!1),Vi=(0,ae.useRef)(null);function Il(){return ke()}var Tl=(0,ae.useRef)(!1);function Oo($o){var Mr=Il();if(!($o&&!$o.deadline&&$o.target!==Mr)){var Ti=Tl.current,Dl;fo===en&&Ti?Dl=li==null?void 0:li(Mr,$o):fo===Ae&&Ti?Dl=Ko==null?void 0:Ko(Mr,$o):fo===Yt&&Ti&&(Dl=si==null?void 0:si(Mr,$o)),fo!==At&&Ti&&Dl!==!1&&(zo(At,!0),Gi(null,!0))}}var Nl=ba(Oo),Ni=(0,Ze.Z)(Nl,1),Ho=Ni[0],di=ae.useMemo(function(){var $o,Mr,Ti;switch(fo){case en:return $o={},(0,se.Z)($o,Nn,qa),(0,se.Z)($o,yt,uo),(0,se.Z)($o,Ht,Ur),$o;case Ae:return Mr={},(0,se.Z)(Mr,Nn,za),(0,se.Z)(Mr,yt,eo),(0,se.Z)(Mr,Ht,br),Mr;case Yt:return Ti={},(0,se.Z)(Ti,Nn,pr),(0,se.Z)(Ti,yt,So),(0,se.Z)(Ti,Ht,er),Ti;default:return{}}},[fo]),gl=ea(fo,function($o){if($o===Nn){var Mr=di[Nn];return Mr?Mr(Il()):Xa}if(ll in di){var Ti;Gi(((Ti=di[ll])===null||Ti===void 0?void 0:Ti.call(di,Il(),null))||null)}return ll===Ht&&(Ho(Il()),Ya>0&&(clearTimeout(Vi.current),Vi.current=setTimeout(function(){Oo({deadline:!0})},Ya))),yr}),Yl=(0,Ze.Z)(gl,2),us=Yl[0],ll=Yl[1],Fi=sr(ll);Tl.current=Fi,ia(function(){Si(Re);var $o=ul.current;if(ul.current=!0,!!Pe){var Mr;!$o&&Re&&ca&&(Mr=en),$o&&Re&&fn&&(Mr=Ae),($o&&!Re&&ma||!$o&&ha&&!Re&&ma)&&(Mr=Yt),Mr&&(zo(Mr),us())}},[Re]),(0,ae.useEffect)(function(){(fo===en&&!ca||fo===Ae&&!fn||fo===Yt&&!ma)&&zo(At)},[ca,fn,ma]),(0,ae.useEffect)(function(){return function(){ul.current=!1,clearTimeout(Vi.current)}},[]);var El=ae.useRef(!1);(0,ae.useEffect)(function(){Po&&(El.current=!0),Po!==void 0&&fo===At&&((El.current||Po)&&(pi==null||pi(Po)),El.current=!0)},[Po,fo]);var Yi=ko;return di[Nn]&&ll===yt&&(Yi=(0,He.Z)({transition:"none"},Yi)),[fo,ll,Yi,Po!=null?Po:Re]}var Za=ee(15671),dr=ee(43144),Hr=ee(60136),ro=ee(51630),Eo=function(Pe){(0,Hr.Z)(ke,Pe);var Re=(0,ro.Z)(ke);function ke(){return(0,Za.Z)(this,ke),Re.apply(this,arguments)}return(0,dr.Z)(ke,[{key:"render",value:function(){return this.props.children}}]),ke}(ae.Component),wo=Eo;function Lo(Pe){var Re=Pe;(0,re.Z)(Pe)==="object"&&(Re=Pe.transitionSupport);function ke(Ot){return!!(Ot.motionName&&Re)}var it=ae.forwardRef(function(Ot,fn){var pn=Ot.visible,ca=pn===void 0?!0:pn,Ea=Ot.removeOnLeave,ma=Ea===void 0?!0:Ea,Ya=Ot.forceRender,ha=Ot.children,qa=Ot.motionName,za=Ot.leavedClassName,pr=Ot.eventProps,uo=ke(Ot),eo=(0,ae.useRef)(),So=(0,ae.useRef)();function Ur(){try{return eo.current instanceof HTMLElement?eo.current:bl(So.current)}catch(Gr){return null}}var br=Pa(uo,ca,Ur,Ot),er=(0,Ze.Z)(br,4),li=er[0],Ko=er[1],si=er[2],pi=er[3],Ui=ae.useRef(pi);pi&&(Ui.current=!0);var Qo=ae.useCallback(function(Gr){eo.current=Gr,ge(fn,Gr)},[fn]),Po,Si=(0,He.Z)((0,He.Z)({},pr),{},{visible:ca});if(!ha)Po=null;else if(li===At||!ke(Ot))pi?Po=ha((0,He.Z)({},Si),Qo):!ma&&Ui.current&&za?Po=ha((0,He.Z)((0,He.Z)({},Si),{},{className:za}),Qo):Ya||!ma&&!za?Po=ha((0,He.Z)((0,He.Z)({},Si),{},{style:{display:"none"}}),Qo):Po=null;else{var Mi,qo;Ko===Nn?qo="prepare":sr(Ko)?qo="active":Ko===yt&&(qo="start"),Po=ha((0,He.Z)((0,He.Z)({},Si),{},{className:Be()(mt(qa,li),(Mi={},(0,se.Z)(Mi,mt(qa,"".concat(li,"-").concat(qo)),qo),(0,se.Z)(Mi,qa,typeof qa=="string"),Mi)),style:si}),Qo)}if(ae.isValidElement(Po)&&be(Po)){var fo=Po,zo=fo.ref;zo||(Po=ae.cloneElement(Po,{ref:Qo}))}return ae.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 Re;return Pe&&(0,re.Z)(Pe)==="object"&&"key"in Pe?Re=Pe:Re={key:Pe},(0,He.Z)((0,He.Z)({},Re),{},{key:String(Re.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]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=[],it=0,Ot=Re.length,fn=Ul(Pe),pn=Ul(Re);fn.forEach(function(ma){for(var Ya=!1,ha=it;ha<Ot;ha+=1){var qa=pn[ha];if(qa.key===ma.key){it<ha&&(ke=ke.concat(pn.slice(it,ha).map(function(za){return(0,He.Z)((0,He.Z)({},za),{},{status:Wl})})),it=ha),ke.push((0,He.Z)((0,He.Z)({},qa),{},{status:Rl})),it+=1,Ya=!0;break}}Ya||ke.push((0,He.Z)((0,He.Z)({},ma),{},{status:Sl}))}),it<Ot&&(ke=ke.concat(pn.slice(it).map(function(ma){return(0,He.Z)((0,He.Z)({},ma),{},{status:Wl})})));var ca={};ke.forEach(function(ma){var Ya=ma.key;ca[Ya]=(ca[Ya]||0)+1});var Ea=Object.keys(ca).filter(function(ma){return ca[ma]>1});return Ea.forEach(function(ma){ke=ke.filter(function(Ya){var ha=Ya.key,qa=Ya.status;return ha!==ma||qa!==Sl}),ke.forEach(function(Ya){Ya.key===ma&&(Ya.status=Rl)})}),ke}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 Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oi,ke=function(it){(0,Hr.Z)(fn,it);var Ot=(0,ro.Z)(fn);function fn(){var pn;(0,Za.Z)(this,fn);for(var ca=arguments.length,Ea=new Array(ca),ma=0;ma<ca;ma++)Ea[ma]=arguments[ma];return pn=Ot.call.apply(Ot,[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 ca=this,Ea=this.state.keyEntities,ma=this.props,Ya=ma.component,ha=ma.children,qa=ma.onVisibleChanged,za=ma.onAllRemoved,pr=(0,je.Z)(ma,zs),uo=Ya||ae.Fragment,eo={};return Hs.forEach(function(So){eo[So]=pr[So],delete pr[So]}),delete pr.keys,ae.createElement(uo,pr,Ea.map(function(So){var Ur=So.status,br=(0,je.Z)(So,kl),er=Ur===Wl||Ur===Rl;return ae.createElement(Re,(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=ca.removeKey(br.key);si===0&&za&&za()}}}),ha)}))}}],[{key:"getDerivedStateFromProps",value:function(ca,Ea){var ma=ca.keys,Ya=Ea.keyEntities,ha=Ul(ma),qa=ls(Ya,ha);return{keyEntities:qa.filter(function(za){var pr=Ya.find(function(uo){var eo=uo.key;return za.key===eo});return!(pr&&pr.status===Li&&za.status===Sl)})}}}]),fn}(ae.Component);return(0,se.Z)(ke,"defaultProps",{component:"div"}),ke}var Dd=Vl(ki),Ol=Oi;function Gs(Pe){var Re=Pe.prefixCls,ke=Pe.align,it=Pe.arrow,Ot=Pe.arrowPos,fn=it||{},pn=fn.className,ca=fn.content,Ea=Ot.x,ma=Ea===void 0?0:Ea,Ya=Ot.y,ha=Ya===void 0?0:Ya,qa=ae.useRef();if(!ke||!ke.points)return null;var za={position:"absolute"};if(ke.autoArrow!==!1){var pr=ke.points[0],uo=ke.points[1],eo=pr[0],So=pr[1],Ur=uo[0],br=uo[1];eo===Ur||!["t","b"].includes(eo)?za.top=ha:eo==="t"?za.top=0:za.bottom=0,So===br||!["l","r"].includes(So)?za.left=ma:So==="l"?za.left=0:za.right=0}return ae.createElement("div",{ref:qa,className:Be()("".concat(Re,"-arrow"),pn),style:za},ca)}function ps(Pe){var Re=Pe.prefixCls,ke=Pe.open,it=Pe.zIndex,Ot=Pe.mask,fn=Pe.motion;return Ot?ae.createElement(Ol,(0,Te.Z)({},fn,{motionAppear:!0,visible:ke,removeOnLeave:!0}),function(pn){var ca=pn.className;return ae.createElement("div",{style:{zIndex:it},className:Be()("".concat(Re,"-mask"),ca)})}):null}var ad=ae.memo(function(Pe){var Re=Pe.children;return Re},function(Pe,Re){return Re.cache}),bi=ad,Ai=ae.forwardRef(function(Pe,Re){var ke=Pe.popup,it=Pe.className,Ot=Pe.prefixCls,fn=Pe.style,pn=Pe.target,ca=Pe.onVisibleChanged,Ea=Pe.open,ma=Pe.keepDom,Ya=Pe.fresh,ha=Pe.onClick,qa=Pe.mask,za=Pe.arrow,pr=Pe.arrowPos,uo=Pe.align,eo=Pe.motion,So=Pe.maskMotion,Ur=Pe.forceRender,br=Pe.getPopupContainer,er=Pe.autoDestroy,li=Pe.portal,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 ke=="function"?ke():ke,ul=Ea||ma,Vi=(br==null?void 0:br.length)>0,Il=ae.useState(!br||!Vi),Tl=(0,Ze.Z)(Il,2),Oo=Tl[0],Nl=Tl[1];if(oa(function(){!Oo&&Vi&&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"),ae.createElement(li,{open:Ur||ul,getContainer:br&&function(){return br(pn)},autoDestroy:er},ae.createElement(ps,{prefixCls:Ot,open:Ea,zIndex:Ko,mask:qa,motion:So}),ae.createElement(Ie.Z,{onResize:fo,disabled:!Ea},function(El){return ae.createElement(Ol,(0,Te.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ur,leavedClassName:"".concat(Ot,"-hidden")},eo,{onAppearPrepare:zo,onEnterPrepare:zo,visible:Ea,onVisibleChanged:function($o){var Mr;eo==null||(Mr=eo.onVisibleChanged)===null||Mr===void 0||Mr.call(eo,$o),ca($o)}}),function(Yi,$o){var Mr=Yi.className,Ti=Yi.style,Dl=Be()(Ot,Mr,it);return ae.createElement("div",{ref:Rn(El,Re,$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&&ae.createElement(Gs,{prefixCls:Ot,arrow:za,arrowPos:pr,align:uo}),ae.createElement(bi,{cache:!Ea&&!Ya},Gi))})}))}),il=Ai,Ds=ae.forwardRef(function(Pe,Re){var ke=Pe.children,it=Pe.getTriggerDOMNode,Ot=ot(ke),fn=ae.useCallback(function(ca){ho(Re,it?it(ca):ca)},[it]),pn=no(fn,ke.ref);return Ot?ae.cloneElement(ke,{ref:pn}):ke}),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]:_n,Re=ae.forwardRef(function(ke,it){var Ot=ke.prefixCls,fn=Ot===void 0?"rc-trigger-popup":Ot,pn=ke.children,ca=ke.action,Ea=ca===void 0?"hover":ca,ma=ke.showAction,Ya=ke.hideAction,ha=ke.popupVisible,qa=ke.defaultPopupVisible,za=ke.onPopupVisibleChange,pr=ke.afterPopupVisibleChange,uo=ke.mouseEnterDelay,eo=ke.mouseLeaveDelay,So=eo===void 0?.1:eo,Ur=ke.focusDelay,br=ke.blurDelay,er=ke.mask,li=ke.maskClosable,Ko=li===void 0?!0:li,si=ke.getPopupContainer,pi=ke.forceRender,Ui=ke.autoDestroy,Qo=ke.destroyPopupOnHide,Po=ke.popup,Si=ke.popupClassName,Mi=ke.popupStyle,qo=ke.popupPlacement,fo=ke.builtinPlacements,zo=fo===void 0?{}:fo,Gr=ke.popupAlign,Ii=ke.zIndex,ko=ke.stretch,Gi=ke.getPopupClassNameFromAlign,ul=ke.fresh,Vi=ke.alignPoint,Il=ke.onPopupClick,Tl=ke.onPopupAlign,Oo=ke.arrow,Nl=ke.popupMotion,Ni=ke.maskMotion,Ho=ke.popupTransitionName,di=ke.popupAnimation,gl=ke.maskTransitionName,Yl=ke.maskAnimation,us=ke.className,ll=ke.getTriggerDOMNode,Fi=(0,je.Z)(ke,Ci),El=Ui||Qo||!1,Yi=ae.useState(!1),$o=(0,Ze.Z)(Yi,2),Mr=$o[0],Ti=$o[1];oa(function(){Ti(ja())},[]);var Dl=ae.useRef({}),gs=ae.useContext(Tr),xs=ae.useMemo(function(){return{registerSubPopup:function(or,Kr){Dl.current[or]=Kr,gs==null||gs.registerSubPopup(or,Kr)}}},[gs]),_l=Cn(),Ws=ae.useState(null),fd=(0,Ze.Z)(Ws,2),fs=fd[0],Jd=fd[1],es=Ue(function(na){tt(na)&&fs!==na&&Jd(na),gs==null||gs.registerSubPopup(_l,na)}),ms=ae.useState(null),md=(0,Ze.Z)(ms,2),Ss=md[0],Fd=md[1],Xd=Ue(function(na){tt(na)&&Ss!==na&&Fd(na)}),vd=ae.Children.only(pn),Ql=(vd==null?void 0:vd.props)||{},Us={},qd=Ue(function(na){var or,Kr,Io=Ss;return(Io==null?void 0:Io.contains(na))||((or=rn(Io))===null||or===void 0?void 0:or.host)===na||na===Io||(fs==null?void 0:fs.contains(na))||((Kr=rn(fs))===null||Kr===void 0?void 0:Kr.host)===na||na===fs||Object.values(Dl.current).some(function(Ca){return(Ca==null?void 0:Ca.contains(na))||na===Ca})}),Rs=gr(fn,Nl,di,Ho),Zl=gr(fn,Ni,Yl,gl),hd=ae.useState(qa||!1),Vs=(0,Ze.Z)(hd,2),Es=Vs[0],Zi=Vs[1],ri=ha!=null?ha:Es,ts=Ue(function(na){ha===void 0&&Zi(na)});oa(function(){Zi(ha||!1)},[ha]);var ws=ae.useRef(ri);ws.current=ri;var pd=Ue(function(na){(0,qe.flushSync)(function(){ri!==na&&(ts(na),za==null||za(na))})}),Rd=ae.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)};ae.useEffect(function(){return Sd},[]);var Pd=ae.useState(!1),kd=(0,Ze.Z)(Pd,2),ks=kd[0],Od=kd[1];oa(function(na){(!na||ri)&&Od(!0)},[ri]);var yd=ae.useState(null),Id=(0,Ze.Z)(yd,2),Ls=Id[0],Ys=Id[1],Qs=ae.useState([0,0]),Js=(0,Ze.Z)(Qs,2),bd=Js[0],Td=Js[1],Ps=function(or){Td([or.clientX,or.clientY])},ns=jt(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],Oe=Jl[6],Qe=Jl[7],nt=Jl[8],et=Jl[9],bt=Jl[10],Tt=Rr(Mr,Ea,ma,Ya),Lt=(0,Ze.Z)(Tt,2),ln=Lt[0],sn=Lt[1],vn=ln.has("click"),Xn=sn.has("click")||sn.has("contextMenu"),On=Ue(function(){ks||bt()}),ta=function(){ws.current&&Vi&&Xn&&vs(!1)};xn(ri,Ss,fs,On,ta),oa(function(){On()},[bd,qo]),oa(function(){ri&&!(zo!=null&&zo[qo])&&On()},[JSON.stringify(Gr)]);var Hn=ae.useMemo(function(){var na=lo(zo,fn,et,Vi);return Be()(na,Gi==null?void 0:Gi(et))},[et,Gi,zo,fn,Vi]);ae.useImperativeHandle(it,function(){return{forceAlign:On}});var sa=ae.useState(0),Ra=(0,Ze.Z)(sa,2),Qa=Ra[0],Ba=Ra[1],fr=ae.useState(0),Dr=(0,Ze.Z)(fr,2),ya=Dr[0],Na=Dr[1],ga=function(){if(ko&&Ss){var or=Ss.getBoundingClientRect();Ba(or.width),Na(or.height)}},la=function(){ga(),On()},Da=function(or){Od(!1),bt(),pr==null||pr(or)},Wa=function(){return new Promise(function(or){ga(),Ys(function(){return or})})};oa(function(){Ls&&(bt(),Ls(),Ys(null))},[Ls]);function vr(na,or,Kr,Io){Us[na]=function(Ca){var Ja;Io==null||Io(Ca),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[na])===null||Ja===void 0||Ja.call.apply(Ja,[Ql,Ca].concat(Ua))}}(vn||Xn)&&(Us.onClick=function(na){var or;ws.current&&Xn?vs(!1):!ws.current&&vn&&(Ps(na),vs(!0));for(var Kr=arguments.length,Io=new Array(Kr>1?Kr-1:0),Ca=1;Ca<Kr;Ca++)Io[Ca-1]=arguments[Ca];(or=Ql.onClick)===null||or===void 0||or.call.apply(or,[Ql,na].concat(Io))}),ni(ri,Xn,Ss,fs,er,Ko,qd,vs);var Er=ln.has("hover"),Ha=sn.has("hover"),Or,jr;Er&&(vr("onMouseEnter",!0,uo,function(na){Ps(na)}),vr("onPointerEnter",!0,uo,function(na){Ps(na)}),Or=function(){(ri||ks)&&vs(!0,uo)},Vi&&(Us.onMouseMove=function(na){var or;(or=Ql.onMouseMove)===null||or===void 0||or.call(Ql,na)})),Ha&&(vr("onMouseLeave",!1,So),vr("onPointerLeave",!1,So),jr=function(){vs(!1,So)}),ln.has("focus")&&vr("onFocus",!0,Ur),sn.has("focus")&&vr("onBlur",!1,br),ln.has("contextMenu")&&(Us.onContextMenu=function(na){var or;ws.current&&sn.has("contextMenu")?vs(!1):(Ps(na),vs(!0)),na.preventDefault();for(var Kr=arguments.length,Io=new Array(Kr>1?Kr-1:0),Ca=1;Ca<Kr;Ca++)Io[Ca-1]=arguments[Ca];(or=Ql.onContextMenu)===null||or===void 0||or.call.apply(or,[Ql,na].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(na){Fi[na]&&(mo[na]=function(){for(var or,Kr=arguments.length,Io=new Array(Kr),Ca=0;Ca<Kr;Ca++)Io[Ca]=arguments[Ca];(or=Bo[na])===null||or===void 0||or.call.apply(or,[Bo].concat(Io)),Fi[na].apply(Fi,Io)})});var fi=ae.cloneElement(vd,(0,He.Z)((0,He.Z)({},Bo),mo)),Fr={x:De,y:Oe},Di=Oo?(0,He.Z)({},Oo!==!0?Oo:{}):null;return ae.createElement(ae.Fragment,null,ae.createElement(Ie.Z,{disabled:!ri,ref:Xd,onResize:la},ae.createElement(Bd,{getTriggerDOMNode:ll},fi)),ae.createElement(Tr.Provider,{value:xs},ae.createElement(il,{portal:Pe,ref:es,prefixCls:fn,popup:Po,className:Be()(Si,Hn),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:et,arrow:Di,arrowPos:Fr,ready:Xs,offsetX:de,offsetY:ue,offsetR:he,offsetB:ye,onAlign:On,stretch:ko,targetWidth:Qa/Qe,targetHeight:ya/nt})))});return Re}var ql=ss(_n),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(Re){var ke=Re.keyCode;if(Re.altKey&&!Re.ctrlKey||Re.metaKey||ke>=Nr.F1&&ke<=Nr.F12)return!1;switch(ke){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(Re){if(Re>=Nr.ZERO&&Re<=Nr.NINE||Re>=Nr.NUM_ZERO&&Re<=Nr.NUM_MULTIPLY||Re>=Nr.A&&Re<=Nr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Re===0)return!0;switch(Re){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 Re=Pe.visible,ke=Pe.triggerRef,it=Pe.onVisibleChange,Ot=Pe.autoFocus,fn=Pe.overlayRef,pn=ae.useRef(!1),ca=function(){if(Re){var ha,qa;(ha=ke.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},ma=function(ha){switch(ha.keyCode){case cs:ca();break;case js:{var qa=!1;pn.current||(qa=Ea()),qa?ha.preventDefault():ca();break}}};ae.useEffect(function(){return Re?(window.addEventListener("keydown",ma),Ot&&Dt(Ea,3),function(){window.removeEventListener("keydown",ma),pn.current=!1}):function(){pn.current=!1}},[Re])}var Ks=(0,ae.forwardRef)(function(Pe,Re){var ke=Pe.overlay,it=Pe.arrow,Ot=Pe.prefixCls,fn=(0,ae.useMemo)(function(){var ca;return typeof ke=="function"?ca=ke():ca=ke,ca},[ke]),pn=pe(Re,fn==null?void 0:fn.ref);return ae.createElement(ae.Fragment,null,it&&ae.createElement("div",{className:"".concat(Ot,"-arrow")}),ae.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,Re){var ke,it=Pe.arrow,Ot=it===void 0?!1:it,fn=Pe.prefixCls,pn=fn===void 0?"rc-dropdown":fn,ca=Pe.transitionName,Ea=Pe.animation,ma=Pe.align,Ya=Pe.placement,ha=Ya===void 0?"bottomLeft":Ya,qa=Pe.placements,za=qa===void 0?ic:qa,pr=Pe.getPopupContainer,uo=Pe.showAction,eo=Pe.hideAction,So=Pe.overlayClassName,Ur=Pe.overlayStyle,br=Pe.visible,er=Pe.trigger,li=er===void 0?["hover"]:er,Ko=Pe.autoFocus,si=Pe.overlay,pi=Pe.children,Ui=Pe.onVisibleChange,Qo=(0,je.Z)(Pe,bc),Po=ae.useState(),Si=(0,Ze.Z)(Po,2),Mi=Si[0],qo=Si[1],fo="visible"in Pe?br:Mi,zo=ae.useRef(null),Gr=ae.useRef(null),Ii=ae.useRef(null);ae.useImperativeHandle(Re,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 ae.createElement(Pc,{ref:Gr,overlay:si,prefixCls:pn,arrow:Ot})},Vi=function(){return typeof si=="function"?ul:ul()},Il=function(){var Ho=Pe.minOverlayWidthMatchTrigger,di=Pe.alignPoint;return"minOverlayWidthMatchTrigger"in Pe?Ho:!di},Tl=function(){var Ho=Pe.openClassName;return Ho!==void 0?Ho:"".concat(pn,"-open")},Oo=ae.cloneElement(pi,{className:Be()((ke=pi.props)===null||ke===void 0?void 0:ke.className,fo&&Tl()),ref:be(pi)?pe(Ii,pi.ref):void 0}),Nl=eo;return!Nl&&li.indexOf("contextMenu")!==-1&&(Nl=["click"]),ae.createElement(ql,(0,Te.Z)({builtinPlacements:za},Qo,{prefixCls:pn,ref:zo,popupClassName:Be()(So,(0,se.Z)({},"".concat(pn,"-show-arrow"),Ot)),popupStyle:Ur,action:li,showAction:uo,hideAction:Nl,popupPlacement:ha,popupAlign:ma,popupTransitionName:ca,popupAnimation:Ea,popupVisible:fo,stretch:Il()?"minWidth":"",popup:Vi(),onPopupVisibleChange:ko,onPopupClick:Gi,getPopupContainer:pr}),Oo)}var cd=ae.forwardRef($s),ud=cd,Cc=ee(60276),lc=ee(5663),xc=ee(10366),sc=ee(80636),Ec=ee(8745),wc=ee(96159),Yd=ee(53124),dc=ee(68508),Md=ee(76529),Lc=ee(46605),gd=ee(66748);const Ac=null,od=Pe=>{const{menu:Re,arrow:ke,prefixCls:it,children:Ot,trigger:fn,disabled:pn,dropdownRender:ca,getPopupContainer:Ea,overlayClassName:ma,rootClassName:Ya,open:ha,onOpenChange:qa,visible:za,onVisibleChange:pr,mouseEnterDelay:uo=.15,mouseLeaveDelay:eo=.1,autoAdjustOverflow:So=!0,placement:Ur="",overlay:br,transitionName:er}=Pe,{getPopupContainer:li,getPrefixCls:Ko,direction:si}=ae.useContext(Yd.E_),pi=ae.useMemo(()=>{const Oo=Ko();return er!==void 0?er:Ur.includes("top")?`${Oo}-slide-down`:`${Oo}-slide-up`},[Ko,Ur,er]),Ui=ae.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=ae.Children.only(Ot),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()(ma,Ya,Si,{[`${Qo}-rtl`]:si==="rtl"}),Vi=(0,sc.Z)({arrowPointAtCenter:typeof ke=="object"&&ke.pointAtCenter,autoAdjustOverflow:So,offset:Mi.marginXXS,arrowWidth:ke?Mi.sizePopupArrow:0,borderRadius:Mi.borderRadius}),Il=ae.useCallback(()=>{ko(!1)},[]),Tl=()=>{let Oo;return Re!=null&&Re.items?Oo=ae.createElement(dc.default,Object.assign({},Re)):typeof br=="function"?Oo=br():Oo=br,ca&&(Oo=ca(Oo)),Oo=ae.Children.only(typeof Oo=="string"?ae.createElement("span",null,Oo):Oo),ae.createElement(Md.J,{prefixCls:`${Qo}-menu`,expandIcon:ae.createElement("span",{className:`${Qo}-menu-submenu-arrow`},ae.createElement(Fe.Z,{className:`${Qo}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Il,validator:Nl=>{let{mode:Ni}=Nl}},Oo)};return Po(ae.createElement(ud,Object.assign({alignPoint:Gr},(0,xc.Z)(Pe,["rootClassName"]),{mouseEnterDelay:uo,mouseLeaveDelay:eo,visible:Ii,builtinPlacements:Vi,arrow:!!ke,overlayClassName:ul,prefixCls:Qo,getPopupContainer:Ea||li,transitionName:pi,trigger:zo,overlay:Tl,placement:Ui,onVisibleChange:Gi}),fo))};function Fs(Pe){return Object.assign(Object.assign({},Pe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Nc=(0,Ec.Z)(od,"dropdown",Pe=>Pe,Fs),Qd=Pe=>ae.createElement(Nc,Object.assign({},Pe),ae.createElement("span",null));od._InternalPanelDoNotUseOrYouWillBeFired=Qd;var Oc=od},85418:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return a}});var ae=ee(56153),me=ee(94184),Fe=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(y,x){var b={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&x.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,E=Object.getOwnPropertySymbols(y);z<E.length;z++)x.indexOf(E[z])<0&&Object.prototype.propertyIsEnumerable.call(y,E[z])&&(b[E[z]]=y[E[z]]);return b};const Ke=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=ze.useContext(se.E_),{prefixCls:z,type:re="default",danger:oe,disabled:ne,loading:ge,onClick:pe,htmlType:we,children:be,className:xe,menu:Se,arrow:ut,autoFocus:We,overlay:Kt,trigger:Xe,align:st,open:xt,onOpenChange:It,placement:Gt,getPopupContainer:ht,href:Zt,icon:an=ze.createElement(Be.Z,null),title:hn,buttonsRender:$e=Ut=>Ut,mouseEnterDelay:Pt,mouseLeaveDelay:Ft,overlayClassName:Kn,overlayStyle:rt,destroyPopupOnHide:Bt,dropdownRender:Ce}=y,yn=qe(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),bn=b("dropdown",z),pa=`${bn}-button`,[$n,Jt]=(0,He.Z)(bn),Ge={menu:Se,arrow:ut,autoFocus:We,align:st,disabled:ne,trigger:ne?[]:Xe,onOpenChange:It,getPopupContainer:ht||x,mouseEnterDelay:Pt,mouseLeaveDelay:Ft,overlayClassName:Kn,overlayStyle:rt,destroyPopupOnHide:Bt,dropdownRender:Ce},{compactSize:Me,compactItemClassnames:pt}=(0,je.ri)(bn,E),zt=Fe()(pa,pt,xe,Jt);"overlay"in y&&(Ge.overlay=Kt),"open"in y&&(Ge.open=xt),"placement"in y?Ge.placement=Gt:Ge.placement=E==="rtl"?"bottomLeft":"bottomRight";const Xt=ze.createElement(Te.ZP,{type:re,danger:oe,disabled:ne,loading:ge,onClick:pe,htmlType:we,href:Zt,title:hn},be),wn=ze.createElement(Te.ZP,{type:re,danger:oe,icon:an}),[Yn,qt]=$e([Xt,wn]);return $n(ze.createElement(Ze.Z.Compact,Object.assign({className:zt,size:Me,block:!0},yn),Yn,ze.createElement(ae.Z,Object.assign({},Ge),qt)))};Ke.__ANT_BUTTON=!0;var Ee=Ke;const ce=ae.Z;ce.Button=Ee;var a=ce},66748:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return qe}});var ae=ee(14747),me=ee(67771),Fe=ee(33297),ze=ee(50438),Be=ee(97414),Te=ee(67968),se=ee(45503),je=Ke=>{const{componentCls:Ee,menuCls:ce,colorError:a,colorTextLightSolid:y}=Ke,x=`${ce}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${ce} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const He=Ke=>{const{componentCls:Ee,menuCls:ce,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:re,fontSize:oe,dropdownEdgeChildPadding:ne,colorTextDisabled:ge,fontSizeIcon:pe,controlPaddingHorizontal:we,colorBgElevated:be}=Ke;return[{[Ee]:Object.assign(Object.assign({},(0,ae.Wf)(Ke)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:pe}},[`${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:a,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,ae.Qy)(Ke)),{[`${ce}-item-group-title`]:{padding:`${re}px ${we}px`,color:Ke.colorTextDescription,transition:`all ${z}`},[`${ce}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ce}-item-icon`]:{minWidth:oe,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:`${re}px ${we}px`,color:Ke.colorText,fontWeight:"normal",fontSize:oe,lineHeight:Ke.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Ke.borderRadiusSM,"&:hover, &-active":{backgroundColor:Ke.controlItemBgHover}},(0,ae.Qy)(Ke)),{"&-selected":{color:Ke.colorPrimary,backgroundColor:Ke.controlItemBgActive,"&:hover, &-active":{backgroundColor:Ke.controlItemBgActiveHover}},"&-disabled":{color:ge,cursor:"not-allowed","&:hover":{color:ge,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:ge,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,Fe.Fm)(Ke,"move-up"),(0,Fe.Fm)(Ke,"move-down"),(0,ze._y)(Ke,"zoom-big")]]};var qe=(0,Te.Z)("Dropdown",(Ke,Ee)=>{let{rootPrefixCls:ce}=Ee;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:re,borderRadiusLG:oe}=Ke,ne=(x-b*E)/2,{dropdownArrowOffset:ge}=(0,Be.fS)({contentRadius:oe}),pe=(0,se.TS)(Ke,{menuCls:`${re}-menu`,rootPrefixCls:ce,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ge,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:z});return[He(pe),je(pe)]},Ke=>({zIndexPopup:Ke.zIndexPopupBase+50}))},25378:function(vt,wt,ee){"use strict";var ae=ee(67294),me=ee(14075),Fe=ee(57838),ze=ee(74443);function Be(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,ae.useRef)({}),Ze=(0,Fe.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}wt.Z=Be},71322:function(vt,wt,ee){"use strict";ee.d(wt,{D:function(){return E},Z:function(){return oe}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(ge,pe){return me.createElement(Be.Z,(0,ae.Z)({},ge,{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),a=ee(53124),y=ee(84321),x=function(ne,ge){var pe={};for(var we in ne)Object.prototype.hasOwnProperty.call(ne,we)&&ge.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++)ge.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 ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${ge}${ne}`}})();var oe=me.forwardRef((ne,ge)=>{const{prefixCls:pe,className:we,trigger:be,children:xe,defaultCollapsed:Se=!1,theme:ut="dark",style:We={},collapsible:Kt=!1,reverseArrow:Xe=!1,width:st=200,collapsedWidth:xt=80,zeroWidthTriggerStyle:It,breakpoint:Gt,onCollapse:ht,onBreakpoint:Zt}=ne,an=x(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:hn}=(0,me.useContext)(y.Gs),[$e,Pt]=(0,me.useState)("collapsed"in ne?ne.collapsed:Se),[Ft,Kn]=(0,me.useState)(!1);(0,me.useEffect)(()=>{"collapsed"in ne&&Pt(ne.collapsed)},[ne.collapsed]);const rt=($n,Jt)=>{"collapsed"in ne||Pt($n),ht==null||ht($n,Jt)},Bt=(0,me.useRef)();Bt.current=$n=>{Kn($n.matches),Zt==null||Zt($n.matches),$e!==$n.matches&&rt($n.matches,"responsive")},(0,me.useEffect)(()=>{function $n(Ge){return Bt.current(Ge)}let Jt;if(typeof window!="undefined"){const{matchMedia:Ge}=window;if(Ge&&Gt&&Gt in b){Jt=Ge(`(max-width: ${b[Gt]})`);try{Jt.addEventListener("change",$n)}catch(Me){Jt.addListener($n)}$n(Jt)}}return()=>{try{Jt==null||Jt.removeEventListener("change",$n)}catch(Ge){Jt==null||Jt.removeListener($n)}}},[Gt]),(0,me.useEffect)(()=>{const $n=z("ant-sider-");return hn.addSider($n),()=>hn.removeSider($n)},[]);const Ce=()=>{rt(!$e,"clickTrigger")},{getPrefixCls:yn}=(0,me.useContext)(a.E_),bn=()=>{const $n=yn("layout-sider",pe),Jt=(0,Ke.Z)(an,["collapsed"]),Ge=$e?xt:st,Me=ce(Ge)?`${Ge}px`:String(Ge),pt=parseFloat(String(xt||0))===0?me.createElement("span",{onClick:Ce,className:qe()(`${$n}-zero-width-trigger`,`${$n}-zero-width-trigger-${Xe?"right":"left"}`),style:It},be||me.createElement(se,null)):null,wn={expanded:Xe?me.createElement(je.Z,null):me.createElement(Ze.Z,null),collapsed:Xe?me.createElement(Ze.Z,null):me.createElement(je.Z,null)}[$e?"collapsed":"expanded"],Yn=be!==null?pt||me.createElement("div",{className:`${$n}-trigger`,onClick:Ce,style:{width:Me}},be||wn):null,qt=Object.assign(Object.assign({},We),{flex:`0 0 ${Me}`,maxWidth:Me,minWidth:Me,width:Me}),Ut=qe()($n,`${$n}-${ut}`,{[`${$n}-collapsed`]:!!$e,[`${$n}-has-trigger`]:Kt&&be!==null&&!pt,[`${$n}-below`]:!!Ft,[`${$n}-zero-width`]:parseFloat(Me)===0},we);return me.createElement("aside",Object.assign({className:Ut},Jt,{style:qt,ref:ge}),me.createElement("div",{className:`${$n}-children`},xe),Kt||Ft&&pt?Yn:null)},pa=me.useMemo(()=>({siderCollapsed:$e}),[$e]);return me.createElement(E.Provider,{value:pa},bn())})},84321:function(vt,wt,ee){"use strict";ee.d(wt,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return Ee},ZP:function(){return re}});var ae=ee(74902),me=ee(94184),Fe=ee.n(me),ze=ee(10366),Be=ee(67294),Te=ee(53124),se=ee(67968),je=oe=>{const{componentCls:ne,bodyBg:ge,lightSiderBg:pe,lightTriggerBg:we,lightTriggerColor:be}=oe;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 ${ge}`,borderInlineStart:0}}}};const He=oe=>{const{antCls:ne,componentCls:ge,colorText:pe,triggerColor:we,footerBg:be,triggerBg:xe,headerHeight:Se,headerPadding:ut,headerColor:We,footerPadding:Kt,triggerHeight:Xe,zeroTriggerHeight:st,zeroTriggerWidth:xt,motionDurationMid:It,motionDurationSlow:Gt,fontSize:ht,borderRadius:Zt,bodyBg:an,headerBg:hn,siderBg:$e}=oe;return{[ge]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${ge}-has-sider`]:{flexDirection:"row",[`> ${ge}, > ${ge}-content`]:{width:0}},[`${ge}-header, &${ge}-footer`]:{flex:"0 0 auto"},[`${ge}-sider`]:{position:"relative",minWidth:0,background:$e,transition:`all ${It}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Xe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Xe,color:we,lineHeight:`${Xe}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${It}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Se,insetInlineEnd:-xt,zIndex:1,width:xt,height:st,color:we,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:Zt,borderEndEndRadius:Zt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Gt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Gt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-xt,borderStartStartRadius:Zt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Zt}}}}},je(oe)),{"&-rtl":{direction:"rtl"}}),[`${ge}-header`]:{height:Se,padding:ut,color:We,lineHeight:`${Se}px`,background:hn,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${ge}-footer`]:{padding:Kt,color:pe,fontSize:ht,background:be},[`${ge}-content`]:{flex:"auto",minHeight:0}}};var qe=(0,se.Z)("Layout",oe=>[He(oe)],oe=>{const{colorBgLayout:ne,controlHeight:ge,controlHeightLG:pe,colorText:we,controlHeightSM:be,marginXXS:xe,colorTextLightSolid:Se,colorBgContainer:ut}=oe,We=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:ge*2,headerPadding:`0 ${We}px`,headerColor:we,footerPadding:`${be}px ${We}px`,footerBg:ne,siderBg:"#001529",triggerHeight:pe+xe*2,triggerBg:"#002140",triggerColor:Se,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:ut,lightTriggerBg:ut,lightTriggerColor:we}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ke=function(oe,ne){var ge={};for(var pe in oe)Object.prototype.hasOwnProperty.call(oe,pe)&&ne.indexOf(pe)<0&&(ge[pe]=oe[pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,pe=Object.getOwnPropertySymbols(oe);we<pe.length;we++)ne.indexOf(pe[we])<0&&Object.prototype.propertyIsEnumerable.call(oe,pe[we])&&(ge[pe[we]]=oe[pe[we]]);return ge};const Ee=Be.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ce(oe){let{suffixCls:ne,tagName:ge,displayName:pe}=oe;return we=>Be.forwardRef((xe,Se)=>Be.createElement(we,Object.assign({ref:Se,suffixCls:ne,tagName:ge},xe)))}const a=Be.forwardRef((oe,ne)=>{const{prefixCls:ge,suffixCls:pe,className:we,tagName:be}=oe,xe=Ke(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=Be.useContext(Te.E_),ut=Se("layout",ge),[We,Kt]=qe(ut),Xe=pe?`${ut}-${pe}`:ut;return We(Be.createElement(be,Object.assign({className:Fe()(ge||Xe,we,Kt),ref:ne},xe)))}),y=Be.forwardRef((oe,ne)=>{const{direction:ge}=Be.useContext(Te.E_),[pe,we]=Be.useState([]),{prefixCls:be,className:xe,rootClassName:Se,children:ut,hasSider:We,tagName:Kt,style:Xe}=oe,st=Ke(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),xt=(0,ze.Z)(st,["suffixCls"]),{getPrefixCls:It,layout:Gt}=Be.useContext(Te.E_),ht=It("layout",be),[Zt,an]=qe(ht),hn=Fe()(ht,{[`${ht}-has-sider`]:typeof We=="boolean"?We:pe.length>0,[`${ht}-rtl`]:ge==="rtl"},Gt==null?void 0:Gt.className,xe,Se,an),$e=Be.useMemo(()=>({siderHook:{addSider:Pt=>{we(Ft=>[].concat((0,ae.Z)(Ft),[Pt]))},removeSider:Pt=>{we(Ft=>Ft.filter(Kn=>Kn!==Pt))}}}),[]);return Zt(Be.createElement(Ee.Provider,{value:$e},Be.createElement(Kt,Object.assign({ref:ne,className:hn,style:Object.assign(Object.assign({},Gt==null?void 0:Gt.style),Xe)},xt),ut)))}),x=ce({tagName:"div",displayName:"Layout"})(y),b=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(a),E=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),z=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=x},76529:function(vt,wt,ee){"use strict";ee.d(wt,{J:function(){return Te}});var ae=ee(67294),me=ee(4173),Fe=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=ae.createContext(null),Te=ae.forwardRef((se,Ze)=>{const{children:je}=se,He=ze(se,["children"]),qe=ae.useContext(Be),Ke=ae.useMemo(()=>Object.assign(Object.assign({},qe),He),[qe,He.prefixCls,He.mode,He.selectable]);return ae.createElement(Be.Provider,{value:Ke},ae.createElement(me.BR,null,(0,Fe.supportNodeRef)(je)?ae.cloneElement(je,{ref:Ze}):je))});wt.Z=Be},68508:function(vt,wt,ee){"use strict";ee.d(wt,{default:function(){return $n}});var ae=ee(52073),me=ee(67294),Fe=ee(71322),ze=ee(94184),Be=ee.n(ze),Te=ee(53124),se=function(Jt,Ge){var Me={};for(var pt in Jt)Object.prototype.hasOwnProperty.call(Jt,pt)&&Ge.indexOf(pt)<0&&(Me[pt]=Jt[pt]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,pt=Object.getOwnPropertySymbols(Jt);zt<pt.length;zt++)Ge.indexOf(pt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Jt,pt[zt])&&(Me[pt[zt]]=Jt[pt[zt]]);return Me},je=Jt=>{const{prefixCls:Ge,className:Me,dashed:pt}=Jt,zt=se(Jt,["prefixCls","className","dashed"]),{getPrefixCls:Xt}=me.useContext(Te.E_),wn=Xt("menu",Ge),Yn=Be()({[`${wn}-item-divider-dashed`]:!!pt},Me);return me.createElement(ae.iz,Object.assign({className:Yn},zt))},He=ee(37419),qe=ee(10366),Ke=ee(83062),Ee=ee(96159),a=(0,me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Jt=>{var Ge;const{className:Me,children:pt,icon:zt,title:Xt,danger:wn}=Jt,{prefixCls:Yn,firstLevel:qt,direction:Ut,disableMenuItemTitleTooltip:_n,inlineCollapsed:Ie}=me.useContext(a),tt=gt=>{const Mt=me.createElement("span",{className:`${Yn}-title-content`},pt);return(!zt||(0,Ee.l$)(pt)&&pt.type==="span")&&pt&>&&qt&&typeof pt=="string"?me.createElement("div",{className:`${Yn}-inline-collapsed-noicon`},pt.charAt(0)):Mt},{siderCollapsed:Qn}=me.useContext(Fe.D);let Fn=Xt;typeof Xt=="undefined"?Fn=qt?pt:"":Xt===!1&&(Fn="");const dt={title:Fn};!Qn&&!Ie&&(dt.title=null,dt.open=!1);const rn=(0,He.Z)(pt).length;let Ue=me.createElement(ae.ck,Object.assign({},(0,qe.Z)(Jt,["title","icon","danger"]),{className:Be()({[`${Yn}-item-danger`]:wn,[`${Yn}-item-only-child`]:(zt?rn+1:rn)===1},Me),title:typeof Xt=="string"?Xt:void 0}),(0,Ee.Tm)(zt,{className:Be()((0,Ee.l$)(zt)?(Ge=zt.props)===null||Ge===void 0?void 0:Ge.className:"",`${Yn}-item-icon`)}),tt(Ie));return _n||(Ue=me.createElement(Ke.Z,Object.assign({},dt,{placement:Ut==="rtl"?"left":"right",overlayClassName:`${Yn}-inline-collapsed-tooltip`}),Ue)),Ue},E=Jt=>{var Ge;const{popupClassName:Me,icon:pt,title:zt,theme:Xt}=Jt,wn=me.useContext(a),{prefixCls:Yn,inlineCollapsed:qt,theme:Ut}=wn,_n=(0,ae.Xl)();let Ie;if(!pt)Ie=qt&&!_n.length&&zt&&typeof zt=="string"?me.createElement("div",{className:`${Yn}-inline-collapsed-noicon`},zt.charAt(0)):me.createElement("span",{className:`${Yn}-title-content`},zt);else{const Qn=(0,Ee.l$)(zt)&&zt.type==="span";Ie=me.createElement(me.Fragment,null,(0,Ee.Tm)(pt,{className:Be()((0,Ee.l$)(pt)?(Ge=pt.props)===null||Ge===void 0?void 0:Ge.className:"",`${Yn}-item-icon`)}),Qn?zt:me.createElement("span",{className:`${Yn}-title-content`},zt))}const tt=me.useMemo(()=>Object.assign(Object.assign({},wn),{firstLevel:!1}),[wn]);return me.createElement(a.Provider,{value:tt},me.createElement(ae.Wd,Object.assign({},(0,qe.Z)(Jt,["icon"]),{title:Ie,popupClassName:Be()(Yn,Me,`${Yn}-${Xt||Ut}`)})))},z=ee(25877),re=ee(60276),oe=ee(33603),ne=ee(76529),ge=function(Jt,Ge){var Me={};for(var pt in Jt)Object.prototype.hasOwnProperty.call(Jt,pt)&&Ge.indexOf(pt)<0&&(Me[pt]=Jt[pt]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,pt=Object.getOwnPropertySymbols(Jt);zt<pt.length;zt++)Ge.indexOf(pt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Jt,pt[zt])&&(Me[pt[zt]]=Jt[pt[zt]]);return Me};function pe(Jt){return(Jt||[]).map((Ge,Me)=>{if(Ge&&typeof Ge=="object"){const pt=Ge,{label:zt,children:Xt,key:wn,type:Yn}=pt,qt=ge(pt,["label","children","key","type"]),Ut=wn!=null?wn:`tmp-${Me}`;return Xt||Yn==="group"?Yn==="group"?me.createElement(ae.BW,Object.assign({key:Ut},qt,{title:zt}),pe(Xt)):me.createElement(E,Object.assign({key:Ut},qt,{title:zt}),pe(Xt)):Yn==="divider"?me.createElement(je,Object.assign({key:Ut},qt)):me.createElement(x,Object.assign({key:Ut},qt),zt)}return null}).filter(Ge=>Ge)}function we(Jt){return me.useMemo(()=>Jt&&pe(Jt),[Jt])}var be=ee(84780),xe=ee(14747),Se=ee(33507),ut=ee(67771),We=ee(50438),Kt=ee(67968),Xe=ee(45503),xt=Jt=>{const{componentCls:Ge,motionDurationSlow:Me,horizontalLineHeight:pt,colorSplit:zt,lineWidth:Xt,lineType:wn,itemPaddingInline:Yn}=Jt;return{[`${Ge}-horizontal`]:{lineHeight:pt,border:0,borderBottom:`${Xt}px ${wn} ${zt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ge}-item, ${Ge}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Yn},[`> ${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"}}}},Gt=Jt=>{let{componentCls:Ge,menuArrowOffset:Me}=Jt;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 ht=Jt=>Object.assign({},(0,xe.oN)(Jt));var an=(Jt,Ge)=>{const{componentCls:Me,itemColor:pt,itemSelectedColor:zt,groupTitleColor:Xt,itemBg:wn,subMenuItemBg:Yn,itemSelectedBg:qt,activeBarHeight:Ut,activeBarWidth:_n,activeBarBorderWidth:Ie,motionDurationSlow:tt,motionEaseInOut:Qn,motionEaseOut:Fn,itemPaddingInline:dt,motionDurationMid:rn,itemHoverColor:Ue,lineType:gt,colorSplit:Mt,itemDisabledColor:Wt,dangerItemColor:Rt,dangerItemHoverColor:Cn,dangerItemSelectedColor:ra,dangerItemActiveBg:Vn,dangerItemSelectedBg:Gn,itemHoverBg:Ga,itemActiveBg:oa,menuSubMenuBg:ja,horizontalItemSelectedColor:Pr,horizontalItemSelectedBg:Tr,horizontalItemBorderRadius:Xr,horizontalItemHoverBg:Rr,popupBg:Br}=Jt;return{[`${Me}-${Ge}, ${Me}-${Ge} > ${Me}`]:{color:pt,background:wn,[`&${Me}-root:focus-visible`]:Object.assign({},ht(Jt)),[`${Me}-item-group-title`]:{color:Xt},[`${Me}-submenu-selected`]:{[`> ${Me}-submenu-title`]:{color:zt}},[`${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:oa}},[`${Me}-submenu-title`]:{"&:hover":{backgroundColor:Ga},"&:active":{backgroundColor:oa}}},[`${Me}-item-danger`]:{color:Rt,[`&${Me}-item:hover`]:{[`&:not(${Me}-item-selected):not(${Me}-submenu-selected)`]:{color:Cn}},[`&${Me}-item:active`]:{background:Vn}},[`${Me}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Me}-item-selected`]:{color:zt,[`&${Me}-item-danger`]:{color:ra},"a, a:hover":{color:"inherit"}},[`& ${Me}-item-selected`]:{backgroundColor:qt,[`&${Me}-item-danger`]:{backgroundColor:Gn}},[`${Me}-item, ${Me}-submenu-title`]:{[`&:not(${Me}-item-disabled):focus-visible`]:Object.assign({},ht(Jt))},[`&${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:dt,bottom:0,borderBottom:`${Ut}px solid transparent`,transition:`border-color ${tt} ${Qn}`,content:'""'},"&:hover, &-active, &-open":{background:Rr,"&::after":{borderBottomWidth:Ut,borderBottomColor:Pr}},"&-selected":{color:Pr,backgroundColor:Tr,"&:hover":{backgroundColor:Tr},"&::after":{borderBottomWidth:Ut,borderBottomColor:Pr}}}}),[`&${Me}-root`]:{[`&${Me}-inline, &${Me}-vertical`]:{borderInlineEnd:`${Ie}px ${gt} ${Mt}`}},[`&${Me}-inline`]:{[`${Me}-sub${Me}-inline`]:{background:Yn},[`${Me}-item, ${Me}-submenu-title`]:Ie&&_n?{width:`calc(100% + ${Ie}px)`}:{},[`${Me}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${_n}px solid ${zt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${rn} ${Fn}`,`opacity ${rn} ${Fn}`].join(","),content:'""'},[`&${Me}-item-danger`]:{"&::after":{borderInlineEndColor:ra}}},[`${Me}-selected, ${Me}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${rn} ${Qn}`,`opacity ${rn} ${Qn}`].join(",")}}}}}};const hn=Jt=>{const{componentCls:Ge,itemHeight:Me,itemMarginInline:pt,padding:zt,menuArrowSize:Xt,marginXS:wn,itemMarginBlock:Yn}=Jt,qt=zt+Xt+wn;return{[`${Ge}-item`]:{position:"relative",overflow:"hidden"},[`${Ge}-item, ${Ge}-submenu-title`]:{height:Me,lineHeight:`${Me}px`,paddingInline:zt,overflow:"hidden",textOverflow:"ellipsis",marginInline:pt,marginBlock:Yn,width:`calc(100% - ${pt*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:qt}}};var Pt=Jt=>{const{componentCls:Ge,iconCls:Me,itemHeight:pt,colorTextLightSolid:zt,dropdownWidth:Xt,controlHeightLG:wn,motionDurationMid:Yn,motionEaseOut:qt,paddingXL:Ut,itemMarginInline:_n,fontSizeLG:Ie,motionDurationSlow:tt,paddingXS:Qn,boxShadowSecondary:Fn,collapsedWidth:dt,collapsedIconSize:rn}=Jt,Ue={height:pt,lineHeight:`${pt}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ge]:{"&-inline, &-vertical":Object.assign({[`&${Ge}-root`]:{boxShadow:"none"}},hn(Jt))},[`${Ge}-submenu-popup`]:{[`${Ge}-vertical`]:Object.assign(Object.assign({},hn(Jt)),{boxShadow:Fn})}},{[`${Ge}-submenu-popup ${Ge}-vertical${Ge}-sub`]:{minWidth:Xt,maxHeight:`calc(100vh - ${wn*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 ${tt}`,`background ${tt}`,`padding ${Yn} ${qt}`].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:Ut}},[`${Ge}-item`]:Ue}},{[`${Ge}-inline-collapsed`]:{width:dt,[`&${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 - ${_n}px)`,textOverflow:"clip",[`
|
|
${Ge}-submenu-arrow,
|
|
${Ge}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Ge}-item-icon, ${Me}`]:{margin:0,fontSize:rn,lineHeight:`${pt}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:zt}},[`${Ge}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Qn})}}]};const Ft=Jt=>{const{componentCls:Ge,motionDurationSlow:Me,motionDurationMid:pt,motionEaseInOut:zt,motionEaseOut:Xt,iconCls:wn,iconSize:Yn,iconMarginInlineEnd:qt}=Jt;return{[`${Ge}-item, ${Ge}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Me}`,`background ${Me}`,`padding ${Me} ${zt}`].join(","),[`${Ge}-item-icon, ${wn}`]:{minWidth:Yn,fontSize:Yn,transition:[`font-size ${pt} ${Xt}`,`margin ${Me} ${zt}`,`color ${Me}`].join(","),"+ span":{marginInlineStart:qt,opacity:1,transition:[`opacity ${Me} ${zt}`,`margin ${Me}`,`color ${Me}`].join(",")}},[`${Ge}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${Ge}-item-only-child`]:{[`> ${wn}, > ${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=Jt=>{const{componentCls:Ge,motionDurationSlow:Me,motionEaseInOut:pt,borderRadius:zt,menuArrowSize:Xt,menuArrowOffset:wn}=Jt;return{[`${Ge}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Jt.margin,width:Xt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Me} ${pt}, opacity ${Me}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Xt*.6,height:Xt*.15,backgroundColor:"currentcolor",borderRadius:zt,transition:[`background ${Me} ${pt}`,`transform ${Me} ${pt}`,`top ${Me} ${pt}`,`color ${Me} ${pt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${wn})`},"&::after":{transform:`rotate(-45deg) translateY(${wn})`}}}}},rt=Jt=>{const{antCls:Ge,componentCls:Me,fontSize:pt,motionDurationSlow:zt,motionDurationMid:Xt,motionEaseInOut:wn,paddingXS:Yn,padding:qt,colorSplit:Ut,lineWidth:_n,zIndexPopup:Ie,borderRadiusLG:tt,subMenuItemBorderRadius:Qn,menuArrowSize:Fn,menuArrowOffset:dt,lineType:rn,menuPanelMaskInset:Ue,groupTitleLineHeight:gt,groupTitleFontSize:Mt}=Jt;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)(Jt)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:pt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${zt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Me}-item`]:{flex:"none"}},[`${Me}-item, ${Me}-submenu, ${Me}-submenu-title`]:{borderRadius:Jt.itemBorderRadius},[`${Me}-item-group-title`]:{padding:`${Yn}px ${qt}px`,fontSize:Mt,lineHeight:gt,transition:`all ${zt}`},[`&-horizontal ${Me}-submenu`]:{transition:[`border-color ${zt} ${wn}`,`background ${zt} ${wn}`].join(",")},[`${Me}-submenu, ${Me}-submenu-inline`]:{transition:[`border-color ${zt} ${wn}`,`background ${zt} ${wn}`,`padding ${Xt} ${wn}`].join(",")},[`${Me}-submenu ${Me}-sub`]:{cursor:"initial",transition:[`background ${zt} ${wn}`,`padding ${zt} ${wn}`].join(",")},[`${Me}-title-content`]:{transition:`color ${zt}`},[`${Me}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Me}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ut,borderStyle:rn,borderWidth:0,borderTopWidth:_n,marginBlock:_n,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ft(Jt)),{[`${Me}-item-group`]:{[`${Me}-item-group-list`]:{margin:0,padding:0,[`${Me}-item, ${Me}-submenu-title`]:{paddingInline:`${pt*2}px ${qt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ie,borderRadius:tt,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:Jt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Jt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Jt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Jt.paddingXS},[`> ${Me}`]:Object.assign(Object.assign(Object.assign({borderRadius:tt},Ft(Jt)),Kn(Jt)),{[`${Me}-item, ${Me}-submenu > ${Me}-submenu-title`]:{borderRadius:Qn},[`${Me}-submenu-title::after`]:{transition:`transform ${zt} ${wn}`}})}}),Kn(Jt)),{[`&-inline-collapsed ${Me}-submenu-arrow,
|
|
&-inline ${Me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${dt})`},"&::after":{transform:`rotate(45deg) translateX(-${dt})`}},[`${Me}-submenu-open${Me}-submenu-inline > ${Me}-submenu-title > ${Me}-submenu-arrow`]:{transform:`translateY(-${Fn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${dt})`},"&::before":{transform:`rotate(45deg) translateX(${dt})`}}})},{[`${Ge}-layout-header`]:{[Me]:{lineHeight:"inherit"}}}]};var Bt=(Jt,Ge)=>(0,Kt.Z)("Menu",pt=>{if(Ge===!1)return[];const{colorBgElevated:zt,colorPrimary:Xt,colorTextLightSolid:wn,controlHeightLG:Yn,fontSize:qt,darkItemColor:Ut,darkDangerItemColor:_n,darkItemBg:Ie,darkSubMenuItemBg:tt,darkItemSelectedColor:Qn,darkItemSelectedBg:Fn,darkDangerItemSelectedBg:dt,darkItemHoverBg:rn,darkGroupTitleColor:Ue,darkItemHoverColor:gt,darkItemDisabledColor:Mt,darkDangerItemHoverColor:Wt,darkDangerItemSelectedColor:Rt,darkDangerItemActiveBg:Cn}=pt,ra=qt/7*5,Vn=(0,Xe.TS)(pt,{menuArrowSize:ra,menuHorizontalHeight:Yn*1.15,menuArrowOffset:`${ra*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:zt}),Gn=(0,Xe.TS)(Vn,{itemColor:Ut,itemHoverColor:gt,groupTitleColor:Ue,itemSelectedColor:Qn,itemBg:Ie,popupBg:Ie,subMenuItemBg:tt,itemActiveBg:"transparent",itemSelectedBg:Fn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:rn,itemDisabledColor:Mt,dangerItemColor:_n,dangerItemHoverColor:Wt,dangerItemSelectedColor:Rt,dangerItemActiveBg:Cn,dangerItemSelectedBg:dt,menuSubMenuBg:tt,horizontalItemSelectedColor:wn,horizontalItemSelectedBg:Xt});return[rt(Vn),xt(Vn),Pt(Vn),an(Vn,"light"),an(Gn,"dark"),Gt(Vn),(0,Se.Z)(Vn),(0,ut.oN)(Vn,"slide-up"),(0,ut.oN)(Vn,"slide-down"),(0,We._y)(Vn,"zoom-big")]},pt=>{const{colorPrimary:zt,colorError:Xt,colorTextDisabled:wn,colorErrorBg:Yn,colorText:qt,colorTextDescription:Ut,colorBgContainer:_n,colorFillAlter:Ie,colorFillContent:tt,lineWidth:Qn,lineWidthBold:Fn,controlItemBgActive:dt,colorBgTextHover:rn,controlHeightLG:Ue,lineHeight:gt,colorBgElevated:Mt,marginXXS:Wt,padding:Rt,fontSize:Cn,controlHeightSM:ra,fontSizeLG:Vn,colorTextLightSolid:Gn,colorErrorHover:Ga}=pt,oa=new be.C(Gn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:pt.zIndexPopupBase+50,radiusItem:pt.borderRadiusLG,itemBorderRadius:pt.borderRadiusLG,radiusSubMenuItem:pt.borderRadiusSM,subMenuItemBorderRadius:pt.borderRadiusSM,colorItemText:qt,itemColor:qt,colorItemTextHover:qt,itemHoverColor:qt,colorItemTextHoverHorizontal:zt,horizontalItemHoverColor:zt,colorGroupTitle:Ut,groupTitleColor:Ut,colorItemTextSelected:zt,itemSelectedColor:zt,colorItemTextSelectedHorizontal:zt,horizontalItemSelectedColor:zt,colorItemBg:_n,itemBg:_n,colorItemBgHover:rn,itemHoverBg:rn,colorItemBgActive:tt,itemActiveBg:dt,colorSubItemBg:Ie,subMenuItemBg:Ie,colorItemBgSelected:dt,itemSelectedBg:dt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Fn,activeBarHeight:Fn,colorActiveBarBorderSize:Qn,activeBarBorderWidth:Qn,colorItemTextDisabled:wn,itemDisabledColor:wn,colorDangerItemText:Xt,dangerItemColor:Xt,colorDangerItemTextHover:Xt,dangerItemHoverColor:Xt,colorDangerItemTextSelected:Xt,dangerItemSelectedColor:Xt,colorDangerItemBgActive:Yn,dangerItemActiveBg:Yn,colorDangerItemBgSelected:Yn,dangerItemSelectedBg:Yn,itemMarginInline:pt.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ue,groupTitleLineHeight:gt,collapsedWidth:Ue*2,popupBg:Mt,itemMarginBlock:Wt,itemPaddingInline:Rt,horizontalLineHeight:`${Ue*1.15}px`,iconSize:Cn,iconMarginInlineEnd:ra-Cn,collapsedIconSize:Vn,groupTitleFontSize:Cn,darkItemDisabledColor:new be.C(Gn).setAlpha(.25).toRgbString(),darkItemColor:oa,darkDangerItemColor:Xt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Gn,darkItemSelectedBg:zt,darkDangerItemSelectedBg:Xt,darkItemHoverBg:"transparent",darkGroupTitleColor:oa,darkItemHoverColor:Gn,darkDangerItemHoverColor:Ga,darkDangerItemSelectedColor:Gn,darkDangerItemActiveBg:Xt}},{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"]]})(Jt),Ce=function(Jt,Ge){var Me={};for(var pt in Jt)Object.prototype.hasOwnProperty.call(Jt,pt)&&Ge.indexOf(pt)<0&&(Me[pt]=Jt[pt]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,pt=Object.getOwnPropertySymbols(Jt);zt<pt.length;zt++)Ge.indexOf(pt[zt])<0&&Object.prototype.propertyIsEnumerable.call(Jt,pt[zt])&&(Me[pt[zt]]=Jt[pt[zt]]);return Me},bn=(0,me.forwardRef)((Jt,Ge)=>{var Me,pt;const zt=me.useContext(ne.Z),Xt=zt||{},{getPrefixCls:wn,getPopupContainer:Yn,direction:qt,menu:Ut}=me.useContext(Te.E_),_n=wn(),{prefixCls:Ie,className:tt,style:Qn,theme:Fn="light",expandIcon:dt,_internalDisableMenuItemTitleTooltip:rn,inlineCollapsed:Ue,siderCollapsed:gt,items:Mt,children:Wt,rootClassName:Rt,mode:Cn,selectable:ra,onClick:Vn,overflowedIndicatorPopupClassName:Gn}=Jt,Ga=Ce(Jt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),oa=(0,qe.Z)(Ga,["collapsedWidth"]),ja=we(Mt)||Wt;(Me=Xt.validator)===null||Me===void 0||Me.call(Xt,{mode:Cn});const Pr=(0,re.useEvent)(function(){var Dn;Vn==null||Vn.apply(void 0,arguments),(Dn=Xt.onClick)===null||Dn===void 0||Dn.call(Xt)}),Tr=Xt.mode||Cn,Xr=ra!=null?ra:Xt.selectable,Rr=me.useMemo(()=>gt!==void 0?gt:Ue,[Ue,gt]),Br={horizontal:{motionName:`${_n}-slide-up`},inline:(0,oe.Z)(_n),other:{motionName:`${_n}-zoom-big`}},to=wn("menu",Ie||Xt.prefixCls),[lo,gr]=Bt(to,!zt),Pn=Be()(`${to}-${Fn}`,Ut==null?void 0:Ut.className,tt);let Zn;if(typeof dt=="function")Zn=dt;else if(dt===null||dt===!1)Zn=null;else if(Xt.expandIcon===null||Xt.expandIcon===!1)Zn=null;else{const Dn=dt!=null?dt:Xt.expandIcon;Zn=(0,Ee.Tm)(Dn,{className:Be()(`${to}-submenu-expand-icon`,(0,Ee.l$)(Dn)?(pt=Dn.props)===null||pt===void 0?void 0:pt.className:"")})}const An=me.useMemo(()=>({prefixCls:to,inlineCollapsed:Rr||!1,direction:qt,firstLevel:!0,theme:Fn,mode:Tr,disableMenuItemTitleTooltip:rn}),[to,Rr,qt,rn,Fn]);return lo(me.createElement(ne.Z.Provider,{value:null},me.createElement(a.Provider,{value:An},me.createElement(ae.ZP,Object.assign({getPopupContainer:Yn,overflowedIndicator:me.createElement(z.Z,null),overflowedIndicatorPopupClassName:Be()(to,`${to}-${Fn}`,Gn),mode:Tr,selectable:Xr,onClick:Pr},oa,{inlineCollapsed:Rr,style:Object.assign(Object.assign({},Ut==null?void 0:Ut.style),Qn),className:Pn,prefixCls:to,direction:qt,defaultMotions:Br,expandIcon:Zn,ref:Ge,rootClassName:Be()(Rt,gr)}),ja))))});const pa=(0,me.forwardRef)((Jt,Ge)=>{const Me=(0,me.useRef)(null),pt=me.useContext(Fe.D);return(0,me.useImperativeHandle)(Ge,()=>({menu:Me.current,focus:zt=>{var Xt;(Xt=Me.current)===null||Xt===void 0||Xt.focus(zt)}})),me.createElement(bn,Object.assign({ref:Me},Jt,pt))});pa.Item=x,pa.SubMenu=E,pa.Divider=je,pa.ItemGroup=ae.BW;var $n=pa},28452:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return _n}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(tt,Qn){return me.createElement(Be.Z,(0,ae.Z)({},tt,{ref:Qn,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),a=ee(15671),y=ee(43144),x=ee(60136),b=ee(51630),E=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,z=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,re="".concat(E," ").concat(z).split(/[\s\n]+/),oe="aria-",ne="data-";function ge(Ie,tt){return Ie.indexOf(tt)===0}function pe(Ie){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qn;tt===!1?Qn={aria:!0,data:!0,attr:!0}:tt===!0?Qn={aria:!0}:Qn=(0,ce.Z)({},tt);var Fn={};return Object.keys(Ie).forEach(function(dt){(Qn.aria&&(dt==="role"||ge(dt,oe))||Qn.data&&ge(dt,ne)||Qn.attr&&re.includes(dt))&&(Fn[dt]=Ie[dt])}),Fn}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)(Qn,Ie);var tt=(0,b.Z)(Qn);function Qn(){var Fn;(0,a.Z)(this,Qn);for(var dt=arguments.length,rn=new Array(dt),Ue=0;Ue<dt;Ue++)rn[Ue]=arguments[Ue];return Fn=tt.call.apply(tt,[this].concat(rn)),Fn.state={goInputText:""},Fn.getValidValue=function(){var gt=Fn.state.goInputText;return!gt||Number.isNaN(gt)?void 0:Number(gt)},Fn.buildOptionText=function(gt){return"".concat(gt," ").concat(Fn.props.locale.items_per_page)},Fn.changeSize=function(gt){Fn.props.changeSize(Number(gt))},Fn.handleChange=function(gt){Fn.setState({goInputText:gt.target.value})},Fn.handleBlur=function(gt){var Mt=Fn.props,Wt=Mt.goButton,Rt=Mt.quickGo,Cn=Mt.rootPrefixCls,ra=Fn.state.goInputText;Wt||ra===""||(Fn.setState({goInputText:""}),!(gt.relatedTarget&&(gt.relatedTarget.className.indexOf("".concat(Cn,"-item-link"))>=0||gt.relatedTarget.className.indexOf("".concat(Cn,"-item"))>=0))&&Rt(Fn.getValidValue()))},Fn.go=function(gt){var Mt=Fn.state.goInputText;Mt!==""&&(gt.keyCode===be.ENTER||gt.type==="click")&&(Fn.setState({goInputText:""}),Fn.props.quickGo(Fn.getValidValue()))},Fn}return(0,y.Z)(Qn,[{key:"getPageSizeOptions",value:function(){var dt=this.props,rn=dt.pageSize,Ue=dt.pageSizeOptions;return Ue.some(function(gt){return gt.toString()===rn.toString()})?Ue:Ue.concat([rn.toString()]).sort(function(gt,Mt){var Wt=Number.isNaN(Number(gt))?0:Number(gt),Rt=Number.isNaN(Number(Mt))?0:Number(Mt);return Wt-Rt})}},{key:"render",value:function(){var dt=this,rn=this.props,Ue=rn.pageSize,gt=rn.locale,Mt=rn.rootPrefixCls,Wt=rn.changeSize,Rt=rn.quickGo,Cn=rn.goButton,ra=rn.selectComponentClass,Vn=rn.buildOptionText,Gn=rn.selectPrefixCls,Ga=rn.disabled,oa=this.state.goInputText,ja="".concat(Mt,"-options"),Pr=ra,Tr=null,Xr=null,Rr=null;if(!Wt&&!Rt)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||dt.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":gt.page_size,defaultOpen:!1},to)}return Rt&&(Cn&&(Rr=typeof Cn=="boolean"?me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ga,className:"".concat(ja,"-quick-jumper-button")},gt.jump_to_confirm):me.createElement("span",{onClick:this.go,onKeyUp:this.go},Cn)),Xr=me.createElement("div",{className:"".concat(ja,"-quick-jumper")},gt.jump_to,me.createElement("input",{disabled:Ga,type:"text",value:oa,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":gt.page}),gt.page,Rr)),me.createElement("li",{className:"".concat(ja)},Tr,Xr)}}]),Qn}(me.Component);Se.defaultProps={pageSizeOptions:["10","20","50","100"]};var ut=Se,We=function(tt){var Qn,Fn=tt.rootPrefixCls,dt=tt.page,rn=tt.active,Ue=tt.className,gt=tt.showTitle,Mt=tt.onClick,Wt=tt.onKeyPress,Rt=tt.itemRender,Cn="".concat(Fn,"-item"),ra=Ke()(Cn,"".concat(Cn,"-").concat(dt),(Qn={},(0,Ee.Z)(Qn,"".concat(Cn,"-active"),rn),(0,Ee.Z)(Qn,"".concat(Cn,"-disabled"),!dt),(0,Ee.Z)(Qn,tt.className,Ue),Qn)),Vn=function(){Mt(dt)},Gn=function(ja){Wt(ja,Mt,dt)},Ga=Rt(dt,"page",me.createElement("a",{rel:"nofollow"},dt));return Ga?me.createElement("li",{title:gt?dt.toString():null,className:ra,onClick:Vn,onKeyPress:Gn,tabIndex:0},Ga):null},Kt=We;function Xe(){}function st(Ie){var tt=Number(Ie);return typeof tt=="number"&&!Number.isNaN(tt)&&isFinite(tt)&&Math.floor(tt)===tt}var xt=function(tt,Qn,Fn){return Fn};function It(Ie,tt,Qn){var Fn=typeof Ie=="undefined"?tt.pageSize:Ie;return Math.floor((Qn.total-1)/Fn)+1}var Gt=function(Ie){(0,x.Z)(Qn,Ie);var tt=(0,b.Z)(Qn);function Qn(Fn){var dt;(0,a.Z)(this,Qn),dt=tt.call(this,Fn),dt.paginationNode=me.createRef(),dt.getJumpPrevPage=function(){return Math.max(1,dt.state.current-(dt.props.showLessItems?3:5))},dt.getJumpNextPage=function(){return Math.min(It(void 0,dt.state,dt.props),dt.state.current+(dt.props.showLessItems?3:5))},dt.getItemIcon=function(Wt,Rt){var Cn=dt.props.prefixCls,ra=Wt||me.createElement("button",{type:"button","aria-label":Rt,className:"".concat(Cn,"-item-link")});return typeof Wt=="function"&&(ra=me.createElement(Wt,(0,ce.Z)({},dt.props))),ra},dt.isValid=function(Wt){var Rt=dt.props.total;return st(Wt)&&Wt!==dt.state.current&&st(Rt)&&Rt>0},dt.shouldDisplayQuickJumper=function(){var Wt=dt.props,Rt=Wt.showQuickJumper,Cn=Wt.total,ra=dt.state.pageSize;return Cn<=ra?!1:Rt},dt.handleKeyDown=function(Wt){(Wt.keyCode===be.ARROW_UP||Wt.keyCode===be.ARROW_DOWN)&&Wt.preventDefault()},dt.handleKeyUp=function(Wt){var Rt=dt.getValidValue(Wt),Cn=dt.state.currentInputValue;Rt!==Cn&&dt.setState({currentInputValue:Rt}),Wt.keyCode===be.ENTER?dt.handleChange(Rt):Wt.keyCode===be.ARROW_UP?dt.handleChange(Rt-1):Wt.keyCode===be.ARROW_DOWN&&dt.handleChange(Rt+1)},dt.handleBlur=function(Wt){var Rt=dt.getValidValue(Wt);dt.handleChange(Rt)},dt.changePageSize=function(Wt){var Rt=dt.state.current,Cn=It(Wt,dt.state,dt.props);Rt=Rt>Cn?Cn:Rt,Cn===0&&(Rt=dt.state.current),typeof Wt=="number"&&("pageSize"in dt.props||dt.setState({pageSize:Wt}),"current"in dt.props||dt.setState({current:Rt,currentInputValue:Rt})),dt.props.onShowSizeChange(Rt,Wt),"onChange"in dt.props&&dt.props.onChange&&dt.props.onChange(Rt,Wt)},dt.handleChange=function(Wt){var Rt=dt.props,Cn=Rt.disabled,ra=Rt.onChange,Vn=dt.state,Gn=Vn.pageSize,Ga=Vn.current,oa=Vn.currentInputValue;if(dt.isValid(Wt)&&!Cn){var ja=It(void 0,dt.state,dt.props),Pr=Wt;return Wt>ja?Pr=ja:Wt<1&&(Pr=1),"current"in dt.props||dt.setState({current:Pr}),Pr!==oa&&dt.setState({currentInputValue:Pr}),ra(Pr,Gn),Pr}return Ga},dt.prev=function(){dt.hasPrev()&&dt.handleChange(dt.state.current-1)},dt.next=function(){dt.hasNext()&&dt.handleChange(dt.state.current+1)},dt.jumpPrev=function(){dt.handleChange(dt.getJumpPrevPage())},dt.jumpNext=function(){dt.handleChange(dt.getJumpNextPage())},dt.hasPrev=function(){return dt.state.current>1},dt.hasNext=function(){return dt.state.current<It(void 0,dt.state,dt.props)},dt.runIfEnter=function(Wt,Rt){if(Wt.key==="Enter"||Wt.charCode===13){for(var Cn=arguments.length,ra=new Array(Cn>2?Cn-2:0),Vn=2;Vn<Cn;Vn++)ra[Vn-2]=arguments[Vn];Rt.apply(void 0,ra)}},dt.runIfEnterPrev=function(Wt){dt.runIfEnter(Wt,dt.prev)},dt.runIfEnterNext=function(Wt){dt.runIfEnter(Wt,dt.next)},dt.runIfEnterJumpPrev=function(Wt){dt.runIfEnter(Wt,dt.jumpPrev)},dt.runIfEnterJumpNext=function(Wt){dt.runIfEnter(Wt,dt.jumpNext)},dt.handleGoTO=function(Wt){(Wt.keyCode===be.ENTER||Wt.type==="click")&&dt.handleChange(dt.state.currentInputValue)},dt.renderPrev=function(Wt){var Rt=dt.props,Cn=Rt.prevIcon,ra=Rt.itemRender,Vn=ra(Wt,"prev",dt.getItemIcon(Cn,"prev page")),Gn=!dt.hasPrev();return(0,me.isValidElement)(Vn)?(0,me.cloneElement)(Vn,{disabled:Gn}):Vn},dt.renderNext=function(Wt){var Rt=dt.props,Cn=Rt.nextIcon,ra=Rt.itemRender,Vn=ra(Wt,"next",dt.getItemIcon(Cn,"next page")),Gn=!dt.hasNext();return(0,me.isValidElement)(Vn)?(0,me.cloneElement)(Vn,{disabled:Gn}):Vn};var rn=Fn.onChange!==Xe,Ue="current"in Fn;Ue&&!rn&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var gt=Fn.defaultCurrent;"current"in Fn&&(gt=Fn.current);var Mt=Fn.defaultPageSize;return"pageSize"in Fn&&(Mt=Fn.pageSize),gt=Math.min(gt,It(Mt,void 0,Fn)),dt.state={current:gt,currentInputValue:gt,pageSize:Mt},dt}return(0,y.Z)(Qn,[{key:"componentDidUpdate",value:function(dt,rn){var Ue=this.props.prefixCls;if(rn.current!==this.state.current&&this.paginationNode.current){var gt=this.paginationNode.current.querySelector(".".concat(Ue,"-item-").concat(rn.current));if(gt&&document.activeElement===gt){var Mt;gt==null||(Mt=gt.blur)===null||Mt===void 0||Mt.call(gt)}}}},{key:"getValidValue",value:function(dt){var rn=dt.target.value,Ue=It(void 0,this.state,this.props),gt=this.state.currentInputValue,Mt;return rn===""?Mt=rn:Number.isNaN(Number(rn))?Mt=gt:rn>=Ue?Mt=Ue:Mt=Number(rn),Mt}},{key:"getShowSizeChanger",value:function(){var dt=this.props,rn=dt.showSizeChanger,Ue=dt.total,gt=dt.totalBoundaryShowSizeChanger;return typeof rn!="undefined"?rn:Ue>gt}},{key:"render",value:function(){var dt=this.props,rn=dt.prefixCls,Ue=dt.className,gt=dt.style,Mt=dt.disabled,Wt=dt.hideOnSinglePage,Rt=dt.total,Cn=dt.locale,ra=dt.showQuickJumper,Vn=dt.showLessItems,Gn=dt.showTitle,Ga=dt.showTotal,oa=dt.simple,ja=dt.itemRender,Pr=dt.showPrevNextJumpers,Tr=dt.jumpPrevIcon,Xr=dt.jumpNextIcon,Rr=dt.selectComponentClass,Br=dt.selectPrefixCls,to=dt.pageSizeOptions,lo=this.state,gr=lo.current,Pn=lo.pageSize,Zn=lo.currentInputValue;if(Wt===!0&&Rt<=Pn)return null;var An=It(void 0,this.state,this.props),Dn=[],Oa=null,Ar=null,zn=null,_e=null,lt=null,Ve=ra&&ra.goButton,jt=Vn?1:2,xn=gr-1>0?gr-1:0,Jn=gr+1<An?gr+1:An,Ka=pe(this.props,{aria:!0,data:!0}),ua=Ga&&me.createElement("li",{className:"".concat(rn,"-total-text")},Ga(Rt,[Rt===0?0:(gr-1)*Pn+1,gr*Pn>Rt?Rt:gr*Pn]));if(oa){Ve&&(typeof Ve=="boolean"?lt=me.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Cn.jump_to_confirm):lt=me.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ve),lt=me.createElement("li",{title:Gn?"".concat(Cn.jump_to).concat(gr,"/").concat(An):null,className:"".concat(rn,"-simple-pager")},lt));var Wn=this.renderPrev(xn);return me.createElement("ul",(0,ae.Z)({className:Ke()(rn,"".concat(rn,"-simple"),(0,Ee.Z)({},"".concat(rn,"-disabled"),Mt),Ue),style:gt,ref:this.paginationNode},Ka),ua,Wn?me.createElement("li",{title:Gn?Cn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ke()("".concat(rn,"-prev"),(0,Ee.Z)({},"".concat(rn,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Wn):null,me.createElement("li",{title:Gn?"".concat(gr,"/").concat(An):null,className:"".concat(rn,"-simple-pager")},me.createElement("input",{type:"text",value:Zn,disabled:Mt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),me.createElement("span",{className:"".concat(rn,"-slash")},"/"),An),me.createElement("li",{title:Gn?Cn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ke()("".concat(rn,"-next"),(0,Ee.Z)({},"".concat(rn,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Jn)),lt)}if(An<=3+jt*2){var Ma={locale:Cn,rootPrefixCls:rn,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Gn,itemRender:ja};An||Dn.push(me.createElement(Kt,(0,ae.Z)({},Ma,{key:"noPager",page:1,className:"".concat(rn,"-item-disabled")})));for(var ho=1;ho<=An;ho+=1){var Rn=gr===ho;Dn.push(me.createElement(Kt,(0,ae.Z)({},Ma,{key:ho,page:ho,active:Rn})))}}else{var no=Vn?Cn.prev_3:Cn.prev_5,ot=Vn?Cn.next_3:Cn.next_5,tn=ja(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Tr,"prev page")),$t=ja(this.getJumpNextPage(),"jump-next",this.getItemIcon(Xr,"next page"));Pr&&(Oa=tn?me.createElement("li",{title:Gn?no:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ke()("".concat(rn,"-jump-prev"),(0,Ee.Z)({},"".concat(rn,"-jump-prev-custom-icon"),!!Tr))},tn):null,Ar=$t?me.createElement("li",{title:Gn?ot:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ke()("".concat(rn,"-jump-next"),(0,Ee.Z)({},"".concat(rn,"-jump-next-custom-icon"),!!Xr))},$t):null),_e=me.createElement(Kt,{locale:Cn,last:!0,rootPrefixCls:rn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:An,page:An,active:!1,showTitle:Gn,itemRender:ja}),zn=me.createElement(Kt,{locale:Cn,rootPrefixCls:rn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Gn,itemRender:ja});var _t=Math.max(1,gr-jt),jn=Math.min(gr+jt,An);gr-1<=jt&&(jn=1+jt*2),An-gr<=jt&&(_t=An-jt*2);for(var Vt=_t;Vt<=jn;Vt+=1){var kn=gr===Vt;Dn.push(me.createElement(Kt,{locale:Cn,rootPrefixCls:rn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Vt,page:Vt,active:kn,showTitle:Gn,itemRender:ja}))}gr-1>=jt*2&&gr!==3&&(Dn[0]=(0,me.cloneElement)(Dn[0],{className:"".concat(rn,"-item-after-jump-prev")}),Dn.unshift(Oa)),An-gr>=jt*2&&gr!==An-2&&(Dn[Dn.length-1]=(0,me.cloneElement)(Dn[Dn.length-1],{className:"".concat(rn,"-item-before-jump-next")}),Dn.push(Ar)),_t!==1&&Dn.unshift(zn),jn!==An&&Dn.push(_e)}var un=!this.hasPrev()||!An,$a=!this.hasNext()||!An,Aa=this.renderPrev(xn),cr=this.renderNext(Jn);return me.createElement("ul",(0,ae.Z)({className:Ke()(rn,Ue,(0,Ee.Z)({},"".concat(rn,"-disabled"),Mt)),style:gt,ref:this.paginationNode},Ka),ua,Aa?me.createElement("li",{title:Gn?Cn.prev_page:null,onClick:this.prev,tabIndex:un?null:0,onKeyPress:this.runIfEnterPrev,className:Ke()("".concat(rn,"-prev"),(0,Ee.Z)({},"".concat(rn,"-disabled"),un)),"aria-disabled":un},Aa):null,Dn,cr?me.createElement("li",{title:Gn?Cn.next_page:null,onClick:this.next,tabIndex:$a?null:0,onKeyPress:this.runIfEnterNext,className:Ke()("".concat(rn,"-next"),(0,Ee.Z)({},"".concat(rn,"-disabled"),$a)),"aria-disabled":$a},cr):null,me.createElement(ut,{disabled:Mt,locale:Cn,rootPrefixCls:rn,selectComponentClass:Rr,selectPrefixCls:Br,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:gr,pageSize:Pn,pageSizeOptions:to,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ve}))}}],[{key:"getDerivedStateFromProps",value:function(dt,rn){var Ue={};if("current"in dt&&(Ue.current=dt.current,dt.current!==rn.current&&(Ue.currentInputValue=Ue.current)),"pageSize"in dt&&dt.pageSize!==rn.pageSize){var gt=rn.current,Mt=It(dt.pageSize,rn,dt);gt=gt>Mt?Mt:gt,"current"in dt||(Ue.current=gt,Ue.currentInputValue=gt),Ue.pageSize=dt.pageSize}return Ue}}]),Qn}(me.Component);Gt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Xe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Xe,locale:xe.Z,style:{},itemRender:xt,totalBoundaryShowSizeChanger:50};var ht=Gt,Zt=ee(62906),an=ee(53124),hn=ee(98675),$e=ee(25378),Pt=ee(10110),Ft=ee(42563);const Kn=Ie=>me.createElement(Ft.default,Object.assign({},Ie,{showSearch:!0,size:"small"})),rt=Ie=>me.createElement(Ft.default,Object.assign({},Ie,{showSearch:!0,size:"middle"}));Kn.Option=Ft.default.Option,rt.Option=Ft.default.Option;var Bt=ee(47673),Ce=ee(14747),yn=ee(67968),bn=ee(45503);const pa=Ie=>{const{componentCls:tt}=Ie;return{[`${tt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${tt}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${tt}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"}}},[`&${tt}-disabled`]:{cursor:"not-allowed",[`${tt}-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}}},[`${tt}-item-link`]:{color:Ie.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${tt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${tt}-simple-pager`]:{color:Ie.colorTextDisabled},[`${tt}-jump-prev, ${tt}-jump-next`]:{[`${tt}-item-link-icon`]:{opacity:0},[`${tt}-item-ellipsis`]:{opacity:1}}},[`&${tt}-simple`]:{[`${tt}-prev, ${tt}-next`]:{[`&${tt}-disabled ${tt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},$n=Ie=>{const{componentCls:tt}=Ie;return{[`&${tt}-mini ${tt}-total-text, &${tt}-mini ${tt}-simple-pager`]:{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`},[`&${tt}-mini ${tt}-item`]:{minWidth:Ie.itemSizeSM,height:Ie.itemSizeSM,margin:0,lineHeight:`${Ie.itemSizeSM-2}px`},[`&${tt}-mini:not(${tt}-disabled) ${tt}-item:not(${tt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ie.colorBgTextHover},"&:active":{backgroundColor:Ie.colorBgTextActive}},[`&${tt}-mini ${tt}-prev, &${tt}-mini ${tt}-next`]:{minWidth:Ie.itemSizeSM,height:Ie.itemSizeSM,margin:0,lineHeight:`${Ie.itemSizeSM}px`},[`&${tt}-mini:not(${tt}-disabled)`]:{[`${tt}-prev, ${tt}-next`]:{[`&:hover ${tt}-item-link`]:{backgroundColor:Ie.colorBgTextHover},[`&:active ${tt}-item-link`]:{backgroundColor:Ie.colorBgTextActive},[`&${tt}-disabled:hover ${tt}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${tt}-mini ${tt}-prev ${tt}-item-link,
|
|
&${tt}-mini ${tt}-next ${tt}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`}},[`&${tt}-mini ${tt}-jump-prev, &${tt}-mini ${tt}-jump-next`]:{height:Ie.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ie.itemSizeSM}px`},[`&${tt}-mini ${tt}-options`]:{marginInlineStart:Ie.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ie.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Bt.x0)(Ie)),{width:Ie.paginationMiniQuickJumperInputWidth,height:Ie.controlHeightSM})}}}},Jt=Ie=>{const{componentCls:tt}=Ie;return{[`
|
|
&${tt}-simple ${tt}-prev,
|
|
&${tt}-simple ${tt}-next
|
|
`]:{height:Ie.itemSizeSM,lineHeight:`${Ie.itemSizeSM}px`,verticalAlign:"top",[`${tt}-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`}}},[`&${tt}-simple ${tt}-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:tt}=Ie;return{[`${tt}-jump-prev, ${tt}-jump-next`]:{outline:0,[`${tt}-item-container`]:{position:"relative",[`${tt}-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"}},[`${tt}-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":{[`${tt}-item-link-icon`]:{opacity:1},[`${tt}-item-ellipsis`]:{opacity:0}}},[`
|
|
${tt}-prev,
|
|
${tt}-jump-prev,
|
|
${tt}-jump-next
|
|
`]:{marginInlineEnd:Ie.marginXS},[`
|
|
${tt}-prev,
|
|
${tt}-next,
|
|
${tt}-jump-prev,
|
|
${tt}-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}`},[`${tt}-prev, ${tt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ie.colorText,cursor:"pointer",userSelect:"none"},[`${tt}-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 ${tt}-item-link`]:{backgroundColor:Ie.colorBgTextHover},[`&:active ${tt}-item-link`]:{backgroundColor:Ie.colorBgTextActive},[`&${tt}-disabled:hover`]:{[`${tt}-item-link`]:{backgroundColor:"transparent"}}},[`${tt}-slash`]:{marginInlineEnd:Ie.paginationSlashMarginInlineEnd,marginInlineStart:Ie.paginationSlashMarginInlineStart},[`${tt}-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,Bt.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:tt}=Ie;return{[`${tt}-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(${tt}-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}}}}},pt=Ie=>{const{componentCls:tt}=Ie;return{[tt]: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:'""'},[`${tt}-total-text`]:{display:"inline-block",height:Ie.itemSize,marginInlineEnd:Ie.marginXS,lineHeight:`${Ie.itemSize-2}px`,verticalAlign:"middle"}}),Me(Ie)),Ge(Ie)),Jt(Ie)),$n(Ie)),pa(Ie)),{[`@media only screen and (max-width: ${Ie.screenLG}px)`]:{[`${tt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ie.screenSM}px)`]:{[`${tt}-options`]:{display:"none"}}}),[`&${Ie.componentCls}-rtl`]:{direction:"rtl"}}},zt=Ie=>{const{componentCls:tt}=Ie;return{[`${tt}${tt}-disabled:not(${tt}-mini)`]:{"&, &:hover":{[`${tt}-item-link`]:{borderColor:Ie.colorBorder}},"&:focus-visible":{[`${tt}-item-link`]:{borderColor:Ie.colorBorder}},[`${tt}-item, ${tt}-item-link`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,[`&:hover:not(${tt}-item-active)`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,a:{color:Ie.colorTextDisabled}},[`&${tt}-item-active`]:{backgroundColor:Ie.itemActiveBgDisabled}},[`${tt}-prev, ${tt}-next`]:{"&:hover button":{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,color:Ie.colorTextDisabled},[`${tt}-item-link`]:{backgroundColor:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder}}},[`${tt}:not(${tt}-mini)`]:{[`${tt}-prev, ${tt}-next`]:{"&:hover button":{borderColor:Ie.colorPrimaryHover,backgroundColor:Ie.itemBg},[`${tt}-item-link`]:{backgroundColor:Ie.itemLinkBg,borderColor:Ie.colorBorder},[`&:hover ${tt}-item-link`]:{borderColor:Ie.colorPrimary,backgroundColor:Ie.itemBg,color:Ie.colorPrimary},[`&${tt}-disabled`]:{[`${tt}-item-link`]:{borderColor:Ie.colorBorder,color:Ie.colorTextDisabled}}},[`${tt}-item`]:{backgroundColor:Ie.itemBg,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,[`&:hover:not(${tt}-item-active)`]:{borderColor:Ie.colorPrimary,backgroundColor:Ie.itemBg,a:{color:Ie.colorPrimary}},"&-active":{borderColor:Ie.colorPrimary}}}}},Xt=Ie=>{const{componentCls:tt}=Ie;return{[`${tt}:not(${tt}-disabled)`]:{[`${tt}-item`]:Object.assign({},(0,Ce.Qy)(Ie)),[`${tt}-jump-prev, ${tt}-jump-next`]:{"&:focus-visible":Object.assign({[`${tt}-item-link-icon`]:{opacity:1},[`${tt}-item-ellipsis`]:{opacity:0}},(0,Ce.oN)(Ie))},[`${tt}-prev, ${tt}-next`]:{[`&:focus-visible ${tt}-item-link`]:Object.assign({},(0,Ce.oN)(Ie))}}}};var wn=(0,yn.Z)("Pagination",Ie=>{const tt=(0,bn.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,Bt.e5)(Ie),(0,Bt.TM)(Ie));return[pt(tt),Xt(tt),Ie.wireframe&&zt(tt)]},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})),Yn=function(Ie,tt){var Qn={};for(var Fn in Ie)Object.prototype.hasOwnProperty.call(Ie,Fn)&&tt.indexOf(Fn)<0&&(Qn[Fn]=Ie[Fn]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Fn=Object.getOwnPropertySymbols(Ie);dt<Fn.length;dt++)tt.indexOf(Fn[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ie,Fn[dt])&&(Qn[Fn[dt]]=Ie[Fn[dt]]);return Qn},Ut=Ie=>{const{prefixCls:tt,selectPrefixCls:Qn,className:Fn,rootClassName:dt,style:rn,size:Ue,locale:gt,selectComponentClass:Mt,responsive:Wt,showSizeChanger:Rt}=Ie,Cn=Yn(Ie,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:ra}=(0,$e.Z)(Wt),{getPrefixCls:Vn,direction:Gn,pagination:Ga={}}=me.useContext(an.E_),oa=Vn("pagination",tt),[ja,Pr]=wn(oa),Tr=Rt!=null?Rt:Ga.showSizeChanger,Xr=me.useMemo(()=>{const An=me.createElement("span",{className:`${oa}-item-ellipsis`},"\u2022\u2022\u2022"),Dn=me.createElement("button",{className:`${oa}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?me.createElement(He.Z,null):me.createElement(je.Z,null)),Oa=me.createElement("button",{className:`${oa}-item-link`,type:"button",tabIndex:-1},Gn==="rtl"?me.createElement(je.Z,null):me.createElement(He.Z,null)),Ar=me.createElement("a",{className:`${oa}-item-link`},me.createElement("div",{className:`${oa}-item-container`},Gn==="rtl"?me.createElement(Ze.Z,{className:`${oa}-item-link-icon`}):me.createElement(se,{className:`${oa}-item-link-icon`}),An)),zn=me.createElement("a",{className:`${oa}-item-link`},me.createElement("div",{className:`${oa}-item-container`},Gn==="rtl"?me.createElement(se,{className:`${oa}-item-link-icon`}):me.createElement(Ze.Z,{className:`${oa}-item-link-icon`}),An));return{prevIcon:Dn,nextIcon:Oa,jumpPrevIcon:Ar,jumpNextIcon:zn}},[Gn,oa]),[Rr]=(0,Pt.Z)("Pagination",Zt.Z),Br=Object.assign(Object.assign({},Rr),gt),to=(0,hn.Z)(Ue),lo=to==="small"||!!(ra&&!to&&Wt),gr=Vn("select",Qn),Pn=Ke()({[`${oa}-mini`]:lo,[`${oa}-rtl`]:Gn==="rtl"},Ga==null?void 0:Ga.className,Fn,dt,Pr),Zn=Object.assign(Object.assign({},Ga==null?void 0:Ga.style),rn);return ja(me.createElement(ht,Object.assign({},Xr,Cn,{style:Zn,prefixCls:oa,selectPrefixCls:gr,className:Pn,selectComponentClass:Mt||(lo?Kn:rt),locale:Br,showSizeChanger:Tr})))},_n=Ut},38703:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return rn}});var ae=ee(67294),me=ee(87725),Fe=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 gt=(0,ae.useRef)([]),Mt=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var Wt=Date.now(),Rt=!1;gt.current.forEach(function(Cn){if(Cn){Rt=!0;var ra=Cn.style;ra.transitionDuration=".3s, .3s, .3s, .06s",Mt.current&&Wt-Mt.current<100&&(ra.transitionDuration="0s, 0s")}}),Rt&&(Mt.current=Date.now())}),gt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(gt){var Mt=(0,qe.Z)((0,qe.Z)({},Ee),gt),Wt=Mt.className,Rt=Mt.percent,Cn=Mt.prefixCls,ra=Mt.strokeColor,Vn=Mt.strokeLinecap,Gn=Mt.strokeWidth,Ga=Mt.style,oa=Mt.trailColor,ja=Mt.trailWidth,Pr=Mt.transition,Tr=(0,Ke.Z)(Mt,a);delete Tr.gapPosition;var Xr=Array.isArray(Rt)?Rt:[Rt],Rr=Array.isArray(ra)?ra:[ra],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),Pn="0 0 100 ".concat(Gn),Zn=0;return ae.createElement("svg",(0,He.Z)({className:se()("".concat(Cn,"-line"),Wt),viewBox:Pn,preserveAspectRatio:"none",style:Ga},Tr),ae.createElement("path",{className:"".concat(Cn,"-line-trail"),d:gr,strokeLinecap:Vn,stroke:oa,strokeWidth:ja||Gn,fillOpacity:"0"}),Xr.map(function(An,Dn){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(An*Oa,"px, 100px"),strokeDashoffset:"-".concat(Zn,"px"),transition:Pr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},zn=Rr[Dn]||Rr[Rr.length-1];return Zn+=An,ae.createElement("path",{key:Dn,className:"".concat(Cn,"-line-path"),d:gr,strokeLinecap:Vn,stroke:zn,strokeWidth:Gn,fillOpacity:"0",ref:function(lt){Br[Dn]=lt},style:Ar})}))},x=y,b=ee(71002),E=ee(97685),z=ee(98924),re=0,oe=(0,z.Z)();function ne(){var Ue;return oe?(Ue=re,re+=1):Ue="TEST_OR_SSR",Ue}var ge=function(Ue){var gt=ae.useState(),Mt=(0,E.Z)(gt,2),Wt=Mt[0],Rt=Mt[1];return ae.useEffect(function(){Rt("rc_progress_".concat(ne()))},[]),Ue||Wt},pe=function(gt){var Mt=gt.bg,Wt=gt.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:Mt}},Wt)};function we(Ue,gt){return Object.keys(Ue).map(function(Mt){var Wt=parseFloat(Mt),Rt="".concat(Math.floor(Wt*gt),"%");return"".concat(Ue[Mt]," ").concat(Rt)})}var be=ae.forwardRef(function(Ue,gt){var Mt=Ue.prefixCls,Wt=Ue.color,Rt=Ue.gradientId,Cn=Ue.radius,ra=Ue.style,Vn=Ue.ptg,Gn=Ue.strokeLinecap,Ga=Ue.strokeWidth,oa=Ue.size,ja=Ue.gapDegree,Pr=Wt&&(0,b.Z)(Wt)==="object",Tr=Pr?"#FFF":void 0,Xr=oa/2,Rr=ae.createElement("circle",{className:"".concat(Mt,"-circle-path"),r:Cn,cx:Xr,cy:Xr,stroke:Tr,strokeLinecap:Gn,strokeWidth:Ga,opacity:Vn===0?0:1,style:ra,ref:gt});if(!Pr)return Rr;var Br="".concat(Rt,"-conic"),to=ja?"".concat(180+ja/2,"deg"):"0deg",lo=we(Wt,(360-ja)/360),gr=we(Wt,1),Pn="conic-gradient(from ".concat(to,", ").concat(lo.join(", "),")"),Zn="linear-gradient(to ".concat(ja?"bottom":"top",", ").concat(gr.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:Br},Rr),ae.createElement("foreignObject",{x:0,y:0,width:oa,height:oa,mask:"url(#".concat(Br,")")},ae.createElement(pe,{bg:Zn},ae.createElement(pe,{bg:Pn}))))}),xe=be,Se=100,ut=function(gt,Mt,Wt,Rt,Cn,ra,Vn,Gn,Ga,oa){var ja=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Pr=Wt/100*360*((360-ra)/360),Tr=ra===0?0:{bottom:0,top:180,left:90,right:-90}[Vn],Xr=(100-Rt)/100*Mt;Ga==="round"&&Rt!==100&&(Xr+=oa/2,Xr>=Mt&&(Xr=Mt-.01));var Rr=Se/2;return{stroke:typeof Gn=="string"?Gn:void 0,strokeDasharray:"".concat(Mt,"px ").concat(gt),strokeDashoffset:Xr+ja,transform:"rotate(".concat(Cn+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}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Kt(Ue){var gt=Ue!=null?Ue:[];return Array.isArray(gt)?gt:[gt]}var Xe=function(gt){var Mt=(0,qe.Z)((0,qe.Z)({},Ee),gt),Wt=Mt.id,Rt=Mt.prefixCls,Cn=Mt.steps,ra=Mt.strokeWidth,Vn=Mt.trailWidth,Gn=Mt.gapDegree,Ga=Gn===void 0?0:Gn,oa=Mt.gapPosition,ja=Mt.trailColor,Pr=Mt.strokeLinecap,Tr=Mt.style,Xr=Mt.className,Rr=Mt.strokeColor,Br=Mt.percent,to=(0,Ke.Z)(Mt,We),lo=Se/2,gr=ge(Wt),Pn="".concat(gr,"-gradient"),Zn=lo-ra/2,An=Math.PI*2*Zn,Dn=Ga>0?90+Ga/2:-90,Oa=An*((360-Ga)/360),Ar=(0,b.Z)(Cn)==="object"?Cn:{count:Cn,space:2},zn=Ar.count,_e=Ar.space,lt=Kt(Br),Ve=Kt(Rr),jt=Ve.find(function(ho){return ho&&(0,b.Z)(ho)==="object"}),xn=jt&&(0,b.Z)(jt)==="object",Jn=xn?"butt":Pr,Ka=ut(An,Oa,0,100,Dn,Ga,oa,ja,Jn,ra),ua=ce(),Wn=function(){var Rn=0;return lt.map(function(no,ot){var tn=Ve[ot]||Ve[Ve.length-1],$t=ut(An,Oa,Rn,no,Dn,Ga,oa,tn,Jn,ra);return Rn+=no,ae.createElement(xe,{key:ot,color:tn,ptg:no,radius:Zn,prefixCls:Rt,gradientId:Pn,style:$t,strokeLinecap:Jn,strokeWidth:ra,gapDegree:Ga,ref:function(jn){ua[ot]=jn},size:Se})}).reverse()},Ma=function(){var Rn=Math.round(zn*(lt[0]/100)),no=100/zn,ot=0;return new Array(zn).fill(null).map(function(tn,$t){var _t=$t<=Rn-1?Ve[0]:ja,jn=_t&&(0,b.Z)(_t)==="object"?"url(#".concat(Pn,")"):void 0,Vt=ut(An,Oa,ot,no,Dn,Ga,oa,_t,"butt",ra,_e);return ot+=(Oa-Vt.strokeDashoffset+_e)*100/Oa,ae.createElement("circle",{key:$t,className:"".concat(Rt,"-circle-path"),r:Zn,cx:lo,cy:lo,stroke:jn,strokeWidth:ra,opacity:1,style:Vt,ref:function(un){ua[$t]=un}})})};return ae.createElement("svg",(0,He.Z)({className:se()("".concat(Rt,"-circle"),Xr),viewBox:"0 0 ".concat(Se," ").concat(Se),style:Tr,id:Wt,role:"presentation"},to),!zn&&ae.createElement("circle",{className:"".concat(Rt,"-circle-trail"),r:Zn,cx:lo,cy:lo,stroke:ja,strokeLinecap:Jn,strokeWidth:Vn||ra,style:Ka}),zn?Ma():Wn())},st=Xe,xt={Line:x,Circle:st},It=ee(83062),Gt=ee(47448);function ht(Ue){return!Ue||Ue<0?0:Ue>100?100:Ue}function Zt(Ue){let{success:gt,successPercent:Mt}=Ue,Wt=Mt;return gt&&"progress"in gt&&(Wt=gt.progress),gt&&"percent"in gt&&(Wt=gt.percent),Wt}const an=Ue=>{let{percent:gt,success:Mt,successPercent:Wt}=Ue;const Rt=ht(Zt({success:Mt,successPercent:Wt}));return[Rt,ht(ht(gt)-Rt)]},hn=Ue=>{let{success:gt={},strokeColor:Mt}=Ue;const{strokeColor:Wt}=gt;return[Wt||Gt.presetPrimaryColors.green,Mt||null]},$e=(Ue,gt,Mt)=>{var Wt,Rt,Cn,ra;let Vn=-1,Gn=-1;if(gt==="step"){const Ga=Mt.steps,oa=Mt.strokeWidth;typeof Ue=="string"||typeof Ue=="undefined"?(Vn=Ue==="small"?2:14,Gn=oa!=null?oa:8):typeof Ue=="number"?[Vn,Gn]=[Ue,Ue]:[Vn=14,Gn=8]=Ue,Vn*=Ga}else if(gt==="line"){const Ga=Mt==null?void 0:Mt.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(gt==="circle"||gt==="dashboard")&&(typeof Ue=="string"||typeof Ue=="undefined"?[Vn,Gn]=Ue==="small"?[60,60]:[120,120]:typeof Ue=="number"?[Vn,Gn]=[Ue,Ue]:(Vn=(Rt=(Wt=Ue[0])!==null&&Wt!==void 0?Wt:Ue[1])!==null&&Rt!==void 0?Rt:120,Gn=(ra=(Cn=Ue[0])!==null&&Cn!==void 0?Cn:Ue[1])!==null&&ra!==void 0?ra:120));return[Vn,Gn]},Pt=3,Ft=Ue=>Pt/Ue*100;var rt=Ue=>{const{prefixCls:gt,trailColor:Mt=null,strokeLinecap:Wt="round",gapPosition:Rt,gapDegree:Cn,width:ra=120,type:Vn,children:Gn,success:Ga,size:oa=ra}=Ue,[ja,Pr]=$e(oa,"circle");let{strokeWidth:Tr}=Ue;Tr===void 0&&(Tr=Math.max(Ft(ja),6));const Xr={width:ja,height:Pr,fontSize:ja*.15+6},Rr=ae.useMemo(()=>{if(Cn||Cn===0)return Cn;if(Vn==="dashboard")return 75},[Cn,Vn]),Br=Rt||Vn==="dashboard"&&"bottom"||void 0,to=Object.prototype.toString.call(Ue.strokeColor)==="[object Object]",lo=hn({success:Ga,strokeColor:Ue.strokeColor}),gr=se()(`${gt}-inner`,{[`${gt}-circle-gradient`]:to}),Pn=ae.createElement(st,{percent:an(Ue),strokeWidth:Tr,trailWidth:Tr,strokeColor:lo,strokeLinecap:Wt,trailColor:Mt,prefixCls:gt,gapDegree:Rr,gapPosition:Br});return ae.createElement("div",{className:gr,style:Xr},ja<=20?ae.createElement(It.Z,{title:Gn},ae.createElement("span",null,Pn)):ae.createElement(ae.Fragment,null,Pn,Gn))},Bt=function(Ue,gt){var Mt={};for(var Wt in Ue)Object.prototype.hasOwnProperty.call(Ue,Wt)&>.indexOf(Wt)<0&&(Mt[Wt]=Ue[Wt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Wt=Object.getOwnPropertySymbols(Ue);Rt<Wt.length;Rt++)gt.indexOf(Wt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Wt[Rt])&&(Mt[Wt[Rt]]=Ue[Wt[Rt]]);return Mt};const Ce=Ue=>{let gt=[];return Object.keys(Ue).forEach(Mt=>{const Wt=parseFloat(Mt.replace(/%/g,""));isNaN(Wt)||gt.push({key:Wt,value:Ue[Mt]})}),gt=gt.sort((Mt,Wt)=>Mt.key-Wt.key),gt.map(Mt=>{let{key:Wt,value:Rt}=Mt;return`${Rt} ${Wt}%`}).join(", ")},yn=(Ue,gt)=>{const{from:Mt=Gt.presetPrimaryColors.blue,to:Wt=Gt.presetPrimaryColors.blue,direction:Rt=gt==="rtl"?"to left":"to right"}=Ue,Cn=Bt(Ue,["from","to","direction"]);if(Object.keys(Cn).length!==0){const ra=Ce(Cn);return{backgroundImage:`linear-gradient(${Rt}, ${ra})`}}return{backgroundImage:`linear-gradient(${Rt}, ${Mt}, ${Wt})`}};var pa=Ue=>{const{prefixCls:gt,direction:Mt,percent:Wt,size:Rt,strokeWidth:Cn,strokeColor:ra,strokeLinecap:Vn="round",children:Gn,trailColor:Ga=null,success:oa}=Ue,ja=ra&&typeof ra!="string"?yn(ra,Mt):{backgroundColor:ra},Pr=Vn==="square"||Vn==="butt"?0:void 0,Tr={backgroundColor:Ga||void 0,borderRadius:Pr},Xr=Rt!=null?Rt:[-1,Cn||(Rt==="small"?6:8)],[Rr,Br]=$e(Xr,"line",{strokeWidth:Cn}),to=Object.assign({width:`${ht(Wt)}%`,height:Br,borderRadius:Pr},ja),lo=Zt(Ue),gr={width:`${ht(lo)}%`,height:Br,borderRadius:Pr,backgroundColor:oa==null?void 0:oa.strokeColor},Pn={width:Rr<0?"100%":Rr,height:Br};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${gt}-outer`,style:Pn},ae.createElement("div",{className:`${gt}-inner`,style:Tr},ae.createElement("div",{className:`${gt}-bg`,style:to}),lo!==void 0?ae.createElement("div",{className:`${gt}-success-bg`,style:gr}):null)),Gn)},Jt=Ue=>{const{size:gt,steps:Mt,percent:Wt=0,strokeWidth:Rt=8,strokeColor:Cn,trailColor:ra=null,prefixCls:Vn,children:Gn}=Ue,Ga=Math.round(Mt*(Wt/100)),oa=gt==="small"?2:14,ja=gt!=null?gt:[oa,Rt],[Pr,Tr]=$e(ja,"step",{steps:Mt,strokeWidth:Rt}),Xr=Pr/Mt,Rr=new Array(Mt);for(let Br=0;Br<Mt;Br++){const to=Array.isArray(Cn)?Cn[Br]:Cn;Rr[Br]=ae.createElement("div",{key:Br,className:se()(`${Vn}-steps-item`,{[`${Vn}-steps-item-active`]:Br<=Ga-1}),style:{backgroundColor:Br<=Ga-1?to:ra,width:Xr,height:Tr}})}return ae.createElement("div",{className:`${Vn}-steps-outer`},Rr,Gn)},Ge=ee(45930),Me=ee(14747),pt=ee(67968),zt=ee(45503);const Xt=Ue=>{const gt=Ue?"100%":"-100%";return new Ge.Keyframes(`antProgress${Ue?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${gt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${gt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},wn=Ue=>{const{componentCls:gt,iconCls:Mt}=Ue;return{[gt]: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},[`${gt}-outer`]:{display:"inline-block",width:"100%"},[`&${gt}-show-info`]:{[`${gt}-outer`]:{marginInlineEnd:`calc(-2em - ${Ue.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ue.paddingXS}px)`}},[`${gt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ue.remainingColor,borderRadius:Ue.lineBorderRadius},[`${gt}-inner:not(${gt}-circle-gradient)`]:{[`${gt}-circle-path`]:{stroke:Ue.defaultColor}},[`${gt}-success-bg, ${gt}-bg`]:{position:"relative",backgroundColor:Ue.defaultColor,borderRadius:Ue.lineBorderRadius,transition:`all ${Ue.motionDurationSlow} ${Ue.motionEaseInOutCirc}`},[`${gt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ue.colorSuccess},[`${gt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ue.marginXS,color:Ue.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Mt]:{fontSize:Ue.fontSize}},[`&${gt}-status-active`]:{[`${gt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ue.colorBgContainer,borderRadius:Ue.lineBorderRadius,opacity:0,animationName:Xt(),animationDuration:Ue.progressActiveMotionDuration,animationTimingFunction:Ue.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${gt}-rtl${gt}-status-active`]:{[`${gt}-bg::before`]:{animationName:Xt(!0)}},[`&${gt}-status-exception`]:{[`${gt}-bg`]:{backgroundColor:Ue.colorError},[`${gt}-text`]:{color:Ue.colorError}},[`&${gt}-status-exception ${gt}-inner:not(${gt}-circle-gradient)`]:{[`${gt}-circle-path`]:{stroke:Ue.colorError}},[`&${gt}-status-success`]:{[`${gt}-bg`]:{backgroundColor:Ue.colorSuccess},[`${gt}-text`]:{color:Ue.colorSuccess}},[`&${gt}-status-success ${gt}-inner:not(${gt}-circle-gradient)`]:{[`${gt}-circle-path`]:{stroke:Ue.colorSuccess}}})}},Yn=Ue=>{const{componentCls:gt,iconCls:Mt}=Ue;return{[gt]:{[`${gt}-circle-trail`]:{stroke:Ue.remainingColor},[`&${gt}-circle ${gt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${gt}-circle ${gt}-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%)",[Mt]:{fontSize:`${Ue.fontSize/Ue.fontSizeSM}em`}},[`${gt}-circle&-status-exception`]:{[`${gt}-text`]:{color:Ue.colorError}},[`${gt}-circle&-status-success`]:{[`${gt}-text`]:{color:Ue.colorSuccess}}},[`${gt}-inline-circle`]:{lineHeight:1,[`${gt}-inner`]:{verticalAlign:"bottom"}}}},qt=Ue=>{const{componentCls:gt}=Ue;return{[gt]:{[`${gt}-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}}}}}},Ut=Ue=>{const{componentCls:gt,iconCls:Mt}=Ue;return{[gt]:{[`${gt}-small&-line, ${gt}-small&-line ${gt}-text ${Mt}`]:{fontSize:Ue.fontSizeSM}}}};var _n=(0,pt.Z)("Progress",Ue=>{const gt=Ue.marginXXS/2,Mt=(0,zt.TS)(Ue,{progressStepMarginInlineEnd:gt,progressStepMinWidth:gt,progressActiveMotionDuration:"2.4s"});return[wn(Mt),Yn(Mt),qt(Mt),Ut(Mt)]},Ue=>({circleTextColor:Ue.colorText,defaultColor:Ue.colorInfo,remainingColor:Ue.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ie=function(Ue,gt){var Mt={};for(var Wt in Ue)Object.prototype.hasOwnProperty.call(Ue,Wt)&>.indexOf(Wt)<0&&(Mt[Wt]=Ue[Wt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,Wt=Object.getOwnPropertySymbols(Ue);Rt<Wt.length;Rt++)gt.indexOf(Wt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Wt[Rt])&&(Mt[Wt[Rt]]=Ue[Wt[Rt]]);return Mt};const tt=null,Qn=["normal","exception","active","success"];var dt=ae.forwardRef((Ue,gt)=>{const{prefixCls:Mt,className:Wt,rootClassName:Rt,steps:Cn,strokeColor:ra,percent:Vn=0,size:Gn="default",showInfo:Ga=!0,type:oa="line",status:ja,format:Pr,style:Tr}=Ue,Xr=Ie(Ue,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Rr=ae.useMemo(()=>{var lt,Ve;const jt=Zt(Ue);return parseInt(jt!==void 0?(lt=jt!=null?jt:0)===null||lt===void 0?void 0:lt.toString():(Ve=Vn!=null?Vn:0)===null||Ve===void 0?void 0:Ve.toString(),10)},[Vn,Ue.success,Ue.successPercent]),Br=ae.useMemo(()=>!Qn.includes(ja)&&Rr>=100?"success":ja||"normal",[ja,Rr]),{getPrefixCls:to,direction:lo,progress:gr}=ae.useContext(je.E_),Pn=to("progress",Mt),[Zn,An]=_n(Pn),Dn=ae.useMemo(()=>{if(!Ga)return null;const lt=Zt(Ue);let Ve;const jt=Pr||(Jn=>`${Jn}%`),xn=oa==="line";return Pr||Br!=="exception"&&Br!=="success"?Ve=jt(ht(Vn),ht(lt)):Br==="exception"?Ve=xn?ae.createElement(ze.Z,null):ae.createElement(Be.Z,null):Br==="success"&&(Ve=xn?ae.createElement(me.Z,null):ae.createElement(Fe.Z,null)),ae.createElement("span",{className:`${Pn}-text`,title:typeof Ve=="string"?Ve:void 0},Ve)},[Ga,Vn,Rr,Br,oa,Pn,Pr]),Oa=Array.isArray(ra)?ra[0]:ra,Ar=typeof ra=="string"||Array.isArray(ra)?ra:void 0;let zn;oa==="line"?zn=Cn?ae.createElement(Jt,Object.assign({},Ue,{strokeColor:Ar,prefixCls:Pn,steps:Cn}),Dn):ae.createElement(pa,Object.assign({},Ue,{strokeColor:Oa,prefixCls:Pn,direction:lo}),Dn):(oa==="circle"||oa==="dashboard")&&(zn=ae.createElement(rt,Object.assign({},Ue,{strokeColor:Oa,prefixCls:Pn,progressStatus:Br}),Dn));const _e=se()(Pn,`${Pn}-status-${Br}`,`${Pn}-${oa==="dashboard"&&"circle"||Cn&&"steps"||oa}`,{[`${Pn}-inline-circle`]:oa==="circle"&&$e(Gn,"circle")[0]<=20,[`${Pn}-show-info`]:Ga,[`${Pn}-${Gn}`]:typeof Gn=="string",[`${Pn}-rtl`]:lo==="rtl"},gr==null?void 0:gr.className,Wt,Rt,An);return Zn(ae.createElement("div",Object.assign({ref:gt,style:Object.assign(Object.assign({},gr==null?void 0:gr.style),Tr),className:_e,role:"progressbar","aria-valuenow":Rr},(0,Ze.Z)(Xr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),zn))}),rn=dt},12604:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return Gt}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(Zt,an){return me.createElement(Be.Z,(0,ae.Z)({},Zt,{ref:an,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),a=ee(64217);function y(ht,Zt){var an=ht.disabled,hn=ht.prefixCls,$e=ht.character,Pt=ht.characterRender,Ft=ht.index,Kn=ht.count,rt=ht.value,Bt=ht.allowHalf,Ce=ht.focused,yn=ht.onHover,bn=ht.onClick,pa=function(wn){yn(wn,Ft)},$n=function(wn){bn(wn,Ft)},Jt=function(wn){wn.keyCode===ce.Z.ENTER&&bn(wn,Ft)},Ge=Ft+1,Me=new Set([hn]);rt===0&&Ft===0&&Ce?Me.add("".concat(hn,"-focused")):Bt&&rt+.5>=Ge&&rt<Ge?(Me.add("".concat(hn,"-half")),Me.add("".concat(hn,"-active")),Ce&&Me.add("".concat(hn,"-focused"))):(Ge<=rt?Me.add("".concat(hn,"-full")):Me.add("".concat(hn,"-zero")),Ge===rt&&Ce&&Me.add("".concat(hn,"-focused")));var pt=typeof $e=="function"?$e(ht):$e,zt=me.createElement("li",{className:je()(Array.from(Me)),ref:Zt},me.createElement("div",{onClick:an?null:$n,onKeyDown:an?null:Jt,onMouseMove:an?null:pa,role:"radio","aria-checked":rt>Ft?"true":"false","aria-posinset":Ft+1,"aria-setsize":Kn,tabIndex:an?-1:0},me.createElement("div",{className:"".concat(hn,"-first")},pt),me.createElement("div",{className:"".concat(hn,"-second")},pt)));return Pt&&(zt=Pt(zt,ht)),zt}var x=me.forwardRef(y);function b(){var ht=me.useRef({});function Zt(hn){return ht.current[hn]}function an(hn){return function($e){ht.current[hn]=$e}}return[Zt,an]}function E(ht){var Zt=ht.pageXOffset,an="scrollLeft";if(typeof Zt!="number"){var hn=ht.document;Zt=hn.documentElement[an],typeof Zt!="number"&&(Zt=hn.body[an])}return Zt}function z(ht){var Zt,an,hn=ht.ownerDocument,$e=hn.body,Pt=hn&&hn.documentElement,Ft=ht.getBoundingClientRect();return Zt=Ft.left,an=Ft.top,Zt-=Pt.clientLeft||$e.clientLeft||0,an-=Pt.clientTop||$e.clientTop||0,{left:Zt,top:an}}function re(ht){var Zt=z(ht),an=ht.ownerDocument,hn=an.defaultView||an.parentWindow;return Zt.left+=E(hn),Zt.left}var oe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ne(ht,Zt){var an,hn=ht.prefixCls,$e=hn===void 0?"rc-rate":hn,Pt=ht.className,Ft=ht.defaultValue,Kn=ht.value,rt=ht.count,Bt=rt===void 0?5:rt,Ce=ht.allowHalf,yn=Ce===void 0?!1:Ce,bn=ht.allowClear,pa=bn===void 0?!0:bn,$n=ht.character,Jt=$n===void 0?"\u2605":$n,Ge=ht.characterRender,Me=ht.disabled,pt=ht.direction,zt=pt===void 0?"ltr":pt,Xt=ht.tabIndex,wn=Xt===void 0?0:Xt,Yn=ht.autoFocus,qt=ht.onHoverChange,Ut=ht.onChange,_n=ht.onFocus,Ie=ht.onBlur,tt=ht.onKeyDown,Qn=ht.onMouseLeave,Fn=(0,Ke.Z)(ht,oe),dt=b(),rn=(0,qe.Z)(dt,2),Ue=rn[0],gt=rn[1],Mt=me.useRef(null),Wt=function(){if(!Me){var xn;(xn=Mt.current)===null||xn===void 0||xn.focus()}};me.useImperativeHandle(Zt,function(){return{focus:Wt,blur:function(){if(!Me){var xn;(xn=Mt.current)===null||xn===void 0||xn.blur()}}}});var Rt=(0,Ee.Z)(Ft||0,{value:Kn}),Cn=(0,qe.Z)(Rt,2),ra=Cn[0],Vn=Cn[1],Gn=(0,Ee.Z)(null),Ga=(0,qe.Z)(Gn,2),oa=Ga[0],ja=Ga[1],Pr=function(xn,Jn){var Ka=zt==="rtl",ua=xn+1;if(yn){var Wn=Ue(xn),Ma=re(Wn),ho=Wn.clientWidth;(Ka&&Jn-Ma>ho/2||!Ka&&Jn-Ma<ho/2)&&(ua-=.5)}return ua},Tr=function(xn){Vn(xn),Ut==null||Ut(xn)},Xr=me.useState(!1),Rr=(0,qe.Z)(Xr,2),Br=Rr[0],to=Rr[1],lo=function(){to(!0),_n==null||_n()},gr=function(){to(!1),Ie==null||Ie()},Pn=me.useState(null),Zn=(0,qe.Z)(Pn,2),An=Zn[0],Dn=Zn[1],Oa=function(xn,Jn){var Ka=Pr(Jn,xn.pageX);Ka!==oa&&(Dn(Ka),ja(null)),qt==null||qt(Ka)},Ar=function(xn){Me||(Dn(null),ja(null),qt==null||qt(void 0)),xn&&(Qn==null||Qn(xn))},zn=function(xn,Jn){var Ka=Pr(Jn,xn.pageX),ua=!1;pa&&(ua=Ka===ra),Ar(),Tr(ua?0:Ka),ja(ua?Ka:null)},_e=function(xn){var Jn=xn.keyCode,Ka=zt==="rtl",ua=ra;Jn===ce.Z.RIGHT&&ua<Bt&&!Ka?(yn?ua+=.5:ua+=1,Tr(ua),xn.preventDefault()):Jn===ce.Z.LEFT&&ua>0&&!Ka||Jn===ce.Z.RIGHT&&ua>0&&Ka?(yn?ua-=.5:ua-=1,Tr(ua),xn.preventDefault()):Jn===ce.Z.LEFT&&ua<Bt&&Ka&&(yn?ua+=.5:ua+=1,Tr(ua),xn.preventDefault()),tt==null||tt(xn)};me.useEffect(function(){Yn&&!Me&&Wt()},[]);var lt=new Array(Bt).fill(0).map(function(jt,xn){return me.createElement(x,{ref:gt(xn),index:xn,count:Bt,disabled:Me,prefixCls:"".concat($e,"-star"),allowHalf:yn,value:An===null?ra:An,onClick:zn,onHover:Oa,key:jt||xn,character:Jt,characterRender:Ge,focused:Br})}),Ve=je()($e,Pt,(an={},(0,He.Z)(an,"".concat($e,"-disabled"),Me),(0,He.Z)(an,"".concat($e,"-rtl"),zt==="rtl"),an));return me.createElement("ul",(0,ae.Z)({className:Ve,onMouseLeave:Ar,tabIndex:Me?-1:wn,onFocus:Me?null:lo,onBlur:Me?null:gr,onKeyDown:Me?null:_e,ref:Mt,role:"radiogroup"},(0,a.Z)(Fn,{aria:!0,data:!0,attr:!0})),lt)}var ge=me.forwardRef(ne),pe=ge,we=ee(53124),be=ee(83062),xe=ee(14747),Se=ee(67968),ut=ee(45503);const We=ht=>{const{componentCls:Zt}=ht;return{[`${Zt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ht.marginXS},"> div":{transition:`all ${ht.motionDurationMid}, outline 0s`,"&:hover":{transform:ht.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${ht.lineWidth}px dashed ${ht.starColor}`,transform:ht.starHoverScale}},"&-first, &-second":{color:ht.starBg,transition:`all ${ht.motionDurationMid}`,userSelect:"none",[ht.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Zt}-star-first, &-half ${Zt}-star-second`]:{opacity:1},[`&-half ${Zt}-star-first, &-full ${Zt}-star-second`]:{color:"inherit"}}}},Kt=ht=>({[`&-rtl${ht.componentCls}`]:{direction:"rtl"}}),Xe=ht=>{const{componentCls:Zt}=ht;return{[Zt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(ht)),{display:"inline-block",margin:0,padding:0,color:ht.starColor,fontSize:ht.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Zt} ${Zt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),We(ht)),{[`+ ${Zt}-text`]:{display:"inline-block",marginInlineStart:ht.marginXS,fontSize:ht.fontSize}}),Kt(ht))}};var st=(0,Se.Z)("Rate",ht=>{const Zt=(0,ut.TS)(ht,{});return[Xe(Zt)]},ht=>({starColor:ht.yellow6,starSize:ht.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ht.colorFillContent})),xt=function(ht,Zt){var an={};for(var hn in ht)Object.prototype.hasOwnProperty.call(ht,hn)&&Zt.indexOf(hn)<0&&(an[hn]=ht[hn]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,hn=Object.getOwnPropertySymbols(ht);$e<hn.length;$e++)Zt.indexOf(hn[$e])<0&&Object.prototype.propertyIsEnumerable.call(ht,hn[$e])&&(an[hn[$e]]=ht[hn[$e]]);return an},Gt=me.forwardRef((ht,Zt)=>{const{prefixCls:an,className:hn,rootClassName:$e,style:Pt,tooltips:Ft,character:Kn=me.createElement(se,null)}=ht,rt=xt(ht,["prefixCls","className","rootClassName","style","tooltips","character"]),Bt=(Me,pt)=>{let{index:zt}=pt;return Ft?me.createElement(be.Z,{title:Ft[zt]},Me):Me},{getPrefixCls:Ce,direction:yn,rate:bn}=me.useContext(we.E_),pa=Ce("rate",an),[$n,Jt]=st(pa),Ge=Object.assign(Object.assign({},bn==null?void 0:bn.style),Pt);return $n(me.createElement(pe,Object.assign({ref:Zt,character:Kn,characterRender:Bt},rt,{className:je()(hn,$e,Jt,bn==null?void 0:bn.className),style:Ge,prefixCls:pa,direction:yn})))})},46303:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return Jt}});var ae=ee(94184),me=ee.n(ae),Fe=ee(67294),ze=ee(53124),Be=ee(10366),se=Ge=>{const{prefixCls:Me,className:pt,style:zt,size:Xt,shape:wn}=Ge,Yn=me()({[`${Me}-lg`]:Xt==="large",[`${Me}-sm`]:Xt==="small"}),qt=me()({[`${Me}-circle`]:wn==="circle",[`${Me}-square`]:wn==="square",[`${Me}-round`]:wn==="round"}),Ut=Fe.useMemo(()=>typeof Xt=="number"?{width:Xt,height:Xt,lineHeight:`${Xt}px`}:{},[Xt]);return Fe.createElement("span",{className:me()(Me,Yn,qt,pt),style:Object.assign(Object.assign({},Ut),zt)})},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"}),a=Ge=>Object.assign({width:Ge*5,minWidth:Ge*5},Ke(Ge)),y=Ge=>{const{skeletonAvatarCls:Me,gradientFromColor:pt,controlHeight:zt,controlHeightLG:Xt,controlHeightSM:wn}=Ge;return{[`${Me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:pt},Ee(zt)),[`${Me}${Me}-circle`]:{borderRadius:"50%"},[`${Me}${Me}-lg`]:Object.assign({},Ee(Xt)),[`${Me}${Me}-sm`]:Object.assign({},Ee(wn))}},x=Ge=>{const{controlHeight:Me,borderRadiusSM:pt,skeletonInputCls:zt,controlHeightLG:Xt,controlHeightSM:wn,gradientFromColor:Yn}=Ge;return{[`${zt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Yn,borderRadius:pt},a(Me)),[`${zt}-lg`]:Object.assign({},a(Xt)),[`${zt}-sm`]:Object.assign({},a(wn))}},b=Ge=>Object.assign({width:Ge},Ke(Ge)),E=Ge=>{const{skeletonImageCls:Me,imageSizeBase:pt,gradientFromColor:zt,borderRadiusSM:Xt}=Ge;return{[`${Me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:zt,borderRadius:Xt},b(pt*2)),{[`${Me}-path`]:{fill:"#bfbfbf"},[`${Me}-svg`]:Object.assign(Object.assign({},b(pt)),{maxWidth:pt*4,maxHeight:pt*4}),[`${Me}-svg${Me}-svg-circle`]:{borderRadius:"50%"}}),[`${Me}${Me}-circle`]:{borderRadius:"50%"}}},z=(Ge,Me,pt)=>{const{skeletonButtonCls:zt}=Ge;return{[`${pt}${zt}-circle`]:{width:Me,minWidth:Me,borderRadius:"50%"},[`${pt}${zt}-round`]:{borderRadius:Me}}},re=Ge=>Object.assign({width:Ge*2,minWidth:Ge*2},Ke(Ge)),oe=Ge=>{const{borderRadiusSM:Me,skeletonButtonCls:pt,controlHeight:zt,controlHeightLG:Xt,controlHeightSM:wn,gradientFromColor:Yn}=Ge;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Yn,borderRadius:Me,width:zt*2,minWidth:zt*2},re(zt))},z(Ge,zt,pt)),{[`${pt}-lg`]:Object.assign({},re(Xt))}),z(Ge,Xt,`${pt}-lg`)),{[`${pt}-sm`]:Object.assign({},re(wn))}),z(Ge,wn,`${pt}-sm`))},ne=Ge=>{const{componentCls:Me,skeletonAvatarCls:pt,skeletonTitleCls:zt,skeletonParagraphCls:Xt,skeletonButtonCls:wn,skeletonInputCls:Yn,skeletonImageCls:qt,controlHeight:Ut,controlHeightLG:_n,controlHeightSM:Ie,gradientFromColor:tt,padding:Qn,marginSM:Fn,borderRadius:dt,titleHeight:rn,blockRadius:Ue,paragraphLiHeight:gt,controlHeightXS:Mt,paragraphMarginTop:Wt}=Ge;return{[`${Me}`]:{display:"table",width:"100%",[`${Me}-header`]:{display:"table-cell",paddingInlineEnd:Qn,verticalAlign:"top",[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:tt},Ee(Ut)),[`${pt}-circle`]:{borderRadius:"50%"},[`${pt}-lg`]:Object.assign({},Ee(_n)),[`${pt}-sm`]:Object.assign({},Ee(Ie))},[`${Me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${zt}`]:{width:"100%",height:rn,background:tt,borderRadius:Ue,[`+ ${Xt}`]:{marginBlockStart:Ie}},[`${Xt}`]:{padding:0,"> li":{width:"100%",height:gt,listStyle:"none",background:tt,borderRadius:Ue,"+ li":{marginBlockStart:Mt}}},[`${Xt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Me}-content`]:{[`${zt}, ${Xt} > li`]:{borderRadius:dt}}},[`${Me}-with-avatar ${Me}-content`]:{[`${zt}`]:{marginBlockStart:Fn,[`+ ${Xt}`]:{marginBlockStart:Wt}}},[`${Me}${Me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},oe(Ge)),y(Ge)),x(Ge)),E(Ge)),[`${Me}${Me}-block`]:{width:"100%",[`${wn}`]:{width:"100%"},[`${Yn}`]:{width:"100%"}},[`${Me}${Me}-active`]:{[`
|
|
${zt},
|
|
${Xt} > li,
|
|
${pt},
|
|
${wn},
|
|
${Yn},
|
|
${qt}
|
|
`]:Object.assign({},ce(Ge))}}};var ge=(0,je.Z)("Skeleton",Ge=>{const{componentCls:Me}=Ge,pt=(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(pt)]},Ge=>{const{colorFillContent:Me,colorFill:pt}=Ge,zt=Me,Xt=pt;return{color:zt,colorGradientEnd:Xt,gradientFromColor:zt,gradientToColor:Xt,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:pt,rootClassName:zt,active:Xt,shape:wn="circle",size:Yn="default"}=Ge,{getPrefixCls:qt}=Fe.useContext(ze.E_),Ut=qt("skeleton",Me),[_n,Ie]=ge(Ut),tt=(0,Be.Z)(Ge,["prefixCls","className"]),Qn=me()(Ut,`${Ut}-element`,{[`${Ut}-active`]:Xt},pt,zt,Ie);return _n(Fe.createElement("div",{className:Qn},Fe.createElement(se,Object.assign({prefixCls:`${Ut}-avatar`,shape:wn,size:Yn},tt))))},xe=Ge=>{const{prefixCls:Me,className:pt,rootClassName:zt,active:Xt,block:wn=!1,size:Yn="default"}=Ge,{getPrefixCls:qt}=Fe.useContext(ze.E_),Ut=qt("skeleton",Me),[_n,Ie]=ge(Ut),tt=(0,Be.Z)(Ge,["prefixCls"]),Qn=me()(Ut,`${Ut}-element`,{[`${Ut}-active`]:Xt,[`${Ut}-block`]:wn},pt,zt,Ie);return _n(Fe.createElement("div",{className:Qn},Fe.createElement(se,Object.assign({prefixCls:`${Ut}-button`,size:Yn},tt))))};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 We=Ge=>{const{prefixCls:Me,className:pt,rootClassName:zt,style:Xt,active:wn}=Ge,{getPrefixCls:Yn}=Fe.useContext(ze.E_),qt=Yn("skeleton",Me),[Ut,_n]=ge(qt),Ie=me()(qt,`${qt}-element`,{[`${qt}-active`]:wn},pt,zt,_n);return Ut(Fe.createElement("div",{className:Ie},Fe.createElement("div",{className:me()(`${qt}-image`,pt),style:Xt},Fe.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${qt}-image-svg`},Fe.createElement("path",{d:Se,className:`${qt}-image-path`})))))},Xe=Ge=>{const{prefixCls:Me,className:pt,rootClassName:zt,active:Xt,block:wn,size:Yn="default"}=Ge,{getPrefixCls:qt}=Fe.useContext(ze.E_),Ut=qt("skeleton",Me),[_n,Ie]=ge(Ut),tt=(0,Be.Z)(Ge,["prefixCls"]),Qn=me()(Ut,`${Ut}-element`,{[`${Ut}-active`]:Xt,[`${Ut}-block`]:wn},pt,zt,Ie);return _n(Fe.createElement("div",{className:Qn},Fe.createElement(se,Object.assign({prefixCls:`${Ut}-input`,size:Yn},tt))))},st=ee(87462),xt={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"},It=xt,Gt=ee(74643),ht=function(Me,pt){return Fe.createElement(Gt.Z,(0,st.Z)({},Me,{ref:pt,icon:It}))},Zt=Fe.forwardRef(ht),hn=Ge=>{const{prefixCls:Me,className:pt,rootClassName:zt,style:Xt,active:wn,children:Yn}=Ge,{getPrefixCls:qt}=Fe.useContext(ze.E_),Ut=qt("skeleton",Me),[_n,Ie]=ge(Ut),tt=me()(Ut,`${Ut}-element`,{[`${Ut}-active`]:wn},Ie,pt,zt),Qn=Yn!=null?Yn:Fe.createElement(Zt,null);return _n(Fe.createElement("div",{className:tt},Fe.createElement("div",{className:me()(`${Ut}-image`,pt),style:Xt},Qn)))},$e=ee(74902),Ft=Ge=>{const Me=qt=>{const{width:Ut,rows:_n=2}=Ge;if(Array.isArray(Ut))return Ut[qt];if(_n-1===qt)return Ut},{prefixCls:pt,className:zt,style:Xt,rows:wn}=Ge,Yn=(0,$e.Z)(Array(wn)).map((qt,Ut)=>Fe.createElement("li",{key:Ut,style:{width:Me(Ut)}}));return Fe.createElement("ul",{className:me()(pt,zt),style:Xt},Yn)},rt=Ge=>{let{prefixCls:Me,className:pt,width:zt,style:Xt}=Ge;return Fe.createElement("h3",{className:me()(Me,pt),style:Object.assign({width:zt},Xt)})};function Bt(Ge){return Ge&&typeof Ge=="object"?Ge:{}}function Ce(Ge,Me){return Ge&&!Me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function yn(Ge,Me){return!Ge&&Me?{width:"38%"}:Ge&&Me?{width:"50%"}:{}}function bn(Ge,Me){const pt={};return(!Ge||!Me)&&(pt.width="61%"),!Ge&&Me?pt.rows=3:pt.rows=2,pt}const pa=Ge=>{const{prefixCls:Me,loading:pt,className:zt,rootClassName:Xt,style:wn,children:Yn,avatar:qt=!1,title:Ut=!0,paragraph:_n=!0,active:Ie,round:tt}=Ge,{getPrefixCls:Qn,direction:Fn,skeleton:dt}=Fe.useContext(ze.E_),rn=Qn("skeleton",Me),[Ue,gt]=ge(rn);if(pt||!("loading"in Ge)){const Mt=!!qt,Wt=!!Ut,Rt=!!_n;let Cn;if(Mt){const Gn=Object.assign(Object.assign({prefixCls:`${rn}-avatar`},Ce(Wt,Rt)),Bt(qt));Cn=Fe.createElement("div",{className:`${rn}-header`},Fe.createElement(se,Object.assign({},Gn)))}let ra;if(Wt||Rt){let Gn;if(Wt){const oa=Object.assign(Object.assign({prefixCls:`${rn}-title`},yn(Mt,Rt)),Bt(Ut));Gn=Fe.createElement(rt,Object.assign({},oa))}let Ga;if(Rt){const oa=Object.assign(Object.assign({prefixCls:`${rn}-paragraph`},bn(Mt,Wt)),Bt(_n));Ga=Fe.createElement(Ft,Object.assign({},oa))}ra=Fe.createElement("div",{className:`${rn}-content`},Gn,Ga)}const Vn=me()(rn,{[`${rn}-with-avatar`]:Mt,[`${rn}-active`]:Ie,[`${rn}-rtl`]:Fn==="rtl",[`${rn}-round`]:tt},dt==null?void 0:dt.className,zt,Xt,gt);return Ue(Fe.createElement("div",{className:Vn,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),wn)},Cn,ra))}return typeof Yn!="undefined"?Yn:null};pa.Button=xe,pa.Avatar=we,pa.Input=Xe,pa.Image=We,pa.Node=hn;var $n=pa,Jt=$n},55054:function(vt,wt,ee){"use strict";ee.d(wt,{default:function(){return ge}});var ae=ee(67294),me=ee(57838),Fe=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:ut="",prefixCls:We}=pe;let Kt;if(typeof be=="function")Kt=be(we);else{const Xe=String(we),st=Xe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!st||Xe==="-")Kt=Xe;else{const xt=st[1];let It=st[2]||"0",Gt=st[4]||"";It=It.replace(/\B(?=(\d{3})+(?!\d))/g,ut),typeof xe=="number"&&(Gt=Gt.padEnd(xe,"0").slice(0,xe>0?xe:0)),Gt&&(Gt=`${Se}${Gt}`),Kt=[ae.createElement("span",{key:"int",className:`${We}-content-value-int`},xt,It),Gt&&ae.createElement("span",{key:"decimal",className:`${We}-content-value-decimal`},Gt)]}}return ae.createElement("span",{className:`${We}-content-value`},Kt)},He=ee(14747),qe=ee(67968),Ke=ee(45503);const Ee=pe=>{const{componentCls:we,marginXXS:be,padding:xe,colorTextDescription:Se,titleFontSize:ut,colorTextHeading:We,contentFontSize:Kt,fontFamily:Xe}=pe;return{[`${we}`]:Object.assign(Object.assign({},(0,He.Wf)(pe)),{[`${we}-title`]:{marginBottom:be,color:Se,fontSize:ut},[`${we}-skeleton`]:{paddingTop:xe},[`${we}-content`]:{color:We,fontSize:Kt,fontFamily:Xe,[`${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}}),y=pe=>{const{prefixCls:we,className:be,rootClassName:xe,style:Se,valueStyle:ut,value:We=0,title:Kt,valueRender:Xe,prefix:st,suffix:xt,loading:It=!1,onMouseEnter:Gt,onMouseLeave:ht,decimalSeparator:Zt=".",groupSeparator:an=","}=pe,{getPrefixCls:hn,direction:$e,statistic:Pt}=ae.useContext(Te.E_),Ft=hn("statistic",we),[Kn,rt]=ce(Ft),Bt=ae.createElement(je,Object.assign({decimalSeparator:Zt,groupSeparator:an,prefixCls:Ft},pe,{value:We})),Ce=Be()(Ft,{[`${Ft}-rtl`]:$e==="rtl"},Pt==null?void 0:Pt.className,be,xe,rt);return Kn(ae.createElement("div",{className:Ce,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),Se),onMouseEnter:Gt,onMouseLeave:ht},Kt&&ae.createElement("div",{className:`${Ft}-title`},Kt),ae.createElement(se.Z,{paragraph:!1,loading:It,className:`${Ft}-skeleton`},ae.createElement("div",{style:ut,className:`${Ft}-content`},st&&ae.createElement("span",{className:`${Ft}-content-prefix`},st),Xe?Xe(Bt):Bt,xt&&ae.createElement("span",{className:`${Ft}-content-suffix`},xt)))))};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(Xe=>Xe.slice(1,-1)),ut=we.replace(xe,"[]"),We=x.reduce((Xe,st)=>{let[xt,It]=st;if(Xe.includes(xt)){const Gt=Math.floor(be/It);return be-=Gt*It,Xe.replace(new RegExp(`${xt}+`,"g"),ht=>{const Zt=ht.length;return Gt.toString().padStart(Zt,"0")})}return Xe},ut);let Kt=0;return We.replace(xe,()=>{const Xe=Se[Kt];return Kt+=1,Xe})}function E(pe,we){const{format:be=""}=we,xe=new Date(pe).getTime(),Se=Date.now(),ut=Math.max(xe-Se,0);return b(ut,be)}const z=1e3/30;function re(pe){return new Date(pe).getTime()}const oe=pe=>{const{value:we,format:be="HH:mm:ss",onChange:xe,onFinish:Se}=pe,ut=(0,me.Z)(),We=ae.useRef(null),Kt=()=>{Se==null||Se(),We.current&&(clearInterval(We.current),We.current=null)},Xe=()=>{const It=re(we);It>=Date.now()&&(We.current=setInterval(()=>{ut(),xe==null||xe(It-Date.now()),It<Date.now()&&Kt()},z))};ae.useEffect(()=>(Xe(),()=>{We.current&&(clearInterval(We.current),We.current=null)}),[we]);const st=(It,Gt)=>E(It,Object.assign(Object.assign({},Gt),{format:be})),xt=It=>(0,Fe.Tm)(It,{title:void 0});return ae.createElement(y,Object.assign({},pe,{valueRender:xt,formatter:st}))};var ne=ae.memo(oe);y.Countdown=ne;var ge=y},49867:function(vt,wt,ee){"use strict";ee.d(wt,{N:function(){return ae}});const ae=me=>({color:me.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${me.motionDurationSlow}`,"&:focus, &:hover":{color:me.colorLinkHover},"&:active":{color:me.colorLinkActive}})},9430:function(vt,wt,ee){"use strict";ee.d(wt,{default:function(){return Xs}});var ae={},me="rc-table-internal-hook",Fe=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 Oe=De.value,Qe=De.children,nt=se.useRef(Oe);nt.current=Oe;var et=se.useState(function(){return{getValue:function(){return nt.current},listeners:new Set}}),bt=(0,Fe.Z)(et,1),Tt=bt[0];return(0,Be.Z)(function(){(0,Ze.unstable_batchedUpdates)(function(){Tt.listeners.forEach(function(Lt){Lt(Oe)})})},[Oe]),se.createElement(ue.Provider,{value:Tt},Qe)};return{Context:ue,Provider:he,defaultValue:de}}function He(de,ue){var he=(0,ze.Z)(typeof ue=="function"?ue:function(Lt){if(ue===void 0)return Lt;if(!Array.isArray(ue))return Lt[ue];var ln={};return ue.forEach(function(sn){ln[sn]=Lt[sn]}),ln}),ye=se.useContext(de==null?void 0:de.Context),De=ye||{},Oe=De.listeners,Qe=De.getValue,nt=se.useRef();nt.current=he(ye?Qe():de==null?void 0:de.defaultValue);var et=se.useState({}),bt=(0,Fe.Z)(et,2),Tt=bt[1];return(0,Be.Z)(function(){if(!ye)return;function Lt(ln){var sn=he(ln);(0,Te.Z)(nt.current,sn,!0)||Tt({})}return Oe.add(Lt),function(){Oe.delete(Lt)}},[ye]),nt.current}var qe=ee(87462),Ke=ee(42550);function Ee(){var de=se.createContext(null);function ue(){return se.useContext(de)}function he(De,Oe){var Qe=(0,Ke.Yr)(De),nt=function(bt,Tt){var Lt=Qe?{ref:Tt}:{},ln=se.useRef(0),sn=se.useRef(bt),vn=ue();return vn!==null?se.createElement(De,(0,qe.Z)({},bt,Lt)):((!Oe||Oe(sn.current,bt))&&(ln.current+=1),sn.current=bt,se.createElement(de.Provider,{value:ln.current},se.createElement(De,(0,qe.Z)({},bt,Lt))))};return Qe?se.forwardRef(nt):nt}function ye(De,Oe){var Qe=(0,Ke.Yr)(De),nt=function(bt,Tt){var Lt=Qe?{ref:Tt}:{};return ue(),se.createElement(De,(0,qe.Z)({},bt,Lt))};return Qe?se.memo(se.forwardRef(nt),Oe):se.memo(nt,Oe)}return{makeImmutable:he,responseImmutable:ye,useImmutableMark:ue}}var ce=Ee(),a=ce.makeImmutable,y=ce.responseImmutable,x=ce.useImmutableMark,b=Ee(),E=b.makeImmutable,z=b.responseImmutable,re=b.useImmutableMark,oe=je(),ne=oe;function ge(de,ue){var he=se.useRef(0);he.current+=1;var ye=se.useRef(de),De=[];Object.keys(de||{}).map(function(Qe){var nt;(de==null?void 0:de[Qe])!==((nt=ye.current)===null||nt===void 0?void 0:nt[Qe])&&De.push(Qe)}),ye.current=de;var Oe=se.useRef([]);return De.length&&(Oe.current=De),se.useDebugValue(he.current),se.useDebugValue(Oe.current.join(", ")),ue&&console.log("".concat(ue,":"),he.current,Oe.current),he.current}var pe=null,we=se.memo(function(){var de=ge();return se.createElement("h1",null,"Render Times: ",de)});we.displayName="RenderBlock";var be=ee(71002),xe=ee(1413),Se=ee(4942),ut=ee(94184),We=ee.n(ut);function Kt(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 Xe={},st=[],xt=function(ue){st.push(ue)};function It(de,ue){if(0)var he}function Gt(de,ue){if(0)var he}function ht(){Xe={}}function Zt(de,ue,he){!ue&&!Xe[he]&&(de(!1,he),Xe[he]=!0)}function an(de,ue){Zt(It,de,ue)}function hn(de,ue){Zt(Gt,de,ue)}an.preMessage=xt,an.resetWarned=ht,an.noteOnce=hn;var $e=an;function Pt(de,ue){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ye=new Set;function De(Oe,Qe){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,et=ye.has(Oe);if($e(!et,"Warning: There may be circular references"),et)return!1;if(Oe===Qe)return!0;if(he&&nt>1)return!1;ye.add(Oe);var bt=nt+1;if(Array.isArray(Oe)){if(!Array.isArray(Qe)||Oe.length!==Qe.length)return!1;for(var Tt=0;Tt<Oe.length;Tt++)if(!De(Oe[Tt],Qe[Tt],bt))return!1;return!0}if(Oe&&Qe&&(0,be.Z)(Oe)==="object"&&(0,be.Z)(Qe)==="object"){var Lt=Object.keys(Oe);return Lt.length!==Object.keys(Qe).length?!1:Lt.every(function(ln){return De(Oe[ln],Qe[ln],bt)})}return!1}return De(de,ue)}var Ft=Pt;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 rt=se.createContext({renderWithProps:!1}),Bt=rt,Ce="RC_TABLE_KEY";function yn(de){return de==null?[]:Array.isArray(de)?de:[de]}function bn(de){var ue=[],he={};return de.forEach(function(ye){for(var De=ye||{},Oe=De.key,Qe=De.dataIndex,nt=Oe||yn(Qe).join("-")||Ce;he[nt];)nt="".concat(nt,"_next");he[nt]=!0,ue.push(nt)}),ue}function pa(de){return de!=null}function $n(de){return de&&(0,be.Z)(de)==="object"&&!Array.isArray(de)&&!se.isValidElement(de)}function Jt(de,ue,he,ye,De,Oe){var Qe=se.useContext(Bt),nt=re(),et=Kt(function(){if(pa(ye))return[ye];var bt=ue==null||ue===""?[]:Array.isArray(ue)?ue:[ue],Tt=Kn(de,bt),Lt=Tt,ln=void 0;if(De){var sn=De(Tt,de,he);$n(sn)?(Lt=sn.children,ln=sn.props,Qe.renderWithProps=!0):Lt=sn}return[Lt,ln]},[nt,de,ye,ue,De,he],function(bt,Tt){if(Oe){var Lt=(0,Fe.Z)(bt,2),ln=Lt[1],sn=(0,Fe.Z)(Tt,2),vn=sn[1];return Oe(vn,ln)}return Qe.renderWithProps?!0:!Ft(bt,Tt,!0)});return et}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 pt=function(ue){var he=ue.ellipsis,ye=ue.rowType,De=ue.children,Oe,Qe=he===!0?{showTitle:!0}:he;return Qe&&(Qe.showTitle||ye==="header")&&(typeof De=="string"||typeof De=="number"?Oe=De.toString():se.isValidElement(De)&&typeof De.props.children=="string"&&(Oe=De.props.children)),Oe};function zt(de){var ue,he,ye,De,Oe,Qe,nt,et,bt=de.component,Tt=de.children,Lt=de.ellipsis,ln=de.scope,sn=de.prefixCls,vn=de.className,Xn=de.align,On=de.record,ta=de.render,Hn=de.dataIndex,sa=de.renderIndex,Ra=de.shouldCellUpdate,Qa=de.index,Ba=de.rowType,fr=de.colSpan,Dr=de.rowSpan,ya=de.fixLeft,Na=de.fixRight,ga=de.firstFixLeft,la=de.lastFixLeft,Da=de.firstFixRight,Wa=de.lastFixRight,vr=de.appendNode,Er=de.additionalProps,Ha=Er===void 0?{}:Er,Or=de.isSticky,jr="".concat(sn,"-cell"),Bo=He(ne,["supportSticky","allColumnsFixedLeft"]),mo=Bo.supportSticky,gi=Bo.allColumnsFixedLeft,fi=Jt(On,Hn,sa,Tt,ta,Ra),Fr=(0,Fe.Z)(fi,2),Di=Fr[0],na=Fr[1],or={},Kr=typeof ya=="number"&&mo,Io=typeof Na=="number"&&mo;Kr&&(or.position="sticky",or.left=ya),Io&&(or.position="sticky",or.right=Na);var Ca=(ue=(he=(ye=na==null?void 0:na.colSpan)!==null&&ye!==void 0?ye:Ha.colSpan)!==null&&he!==void 0?he:fr)!==null&&ue!==void 0?ue:1,Ja=(De=(Oe=(Qe=na==null?void 0:na.rowSpan)!==null&&Qe!==void 0?Qe:Ha.rowSpan)!==null&&Oe!==void 0?Oe:Dr)!==null&&De!==void 0?De:1,tr=Me(Qa,Ja),Ua=(0,Fe.Z)(tr,2),po=Ua[0],ir=Ua[1],Ir=function(xi){var zl;On&&ir(Qa,Qa+Ja-1),Ha==null||(zl=Ha.onMouseEnter)===null||zl===void 0||zl.call(Ha,xi)},Ao=function(xi){var zl;On&&ir(-1,-1),Ha==null||(zl=Ha.onMouseLeave)===null||zl===void 0||zl.call(Ha,xi)};if(Ca===0||Ja===0)return null;var yo=(nt=Ha.title)!==null&&nt!==void 0?nt:pt({rowType:Ba,ellipsis:Lt,children:Di}),Bl=We()(jr,vn,(et={},(0,Se.Z)(et,"".concat(jr,"-fix-left"),Kr&&mo),(0,Se.Z)(et,"".concat(jr,"-fix-left-first"),ga&&mo),(0,Se.Z)(et,"".concat(jr,"-fix-left-last"),la&&mo),(0,Se.Z)(et,"".concat(jr,"-fix-left-all"),la&&gi&&mo),(0,Se.Z)(et,"".concat(jr,"-fix-right"),Io&&mo),(0,Se.Z)(et,"".concat(jr,"-fix-right-first"),Da&&mo),(0,Se.Z)(et,"".concat(jr,"-fix-right-last"),Wa&&mo),(0,Se.Z)(et,"".concat(jr,"-ellipsis"),Lt),(0,Se.Z)(et,"".concat(jr,"-with-append"),vr),(0,Se.Z)(et,"".concat(jr,"-fix-sticky"),(Kr||Io)&&Or&&mo),(0,Se.Z)(et,"".concat(jr,"-row-hover"),!na&&po),et),Ha.className,na==null?void 0:na.className),Pl={};Xn&&(Pl.textAlign=Xn);var Os=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},or),Ha.style),Pl),na==null?void 0:na.style),Qi=Di;return(0,be.Z)(Qi)==="object"&&!Array.isArray(Qi)&&!se.isValidElement(Qi)&&(Qi=null),Lt&&(la||Da)&&(Qi=se.createElement("span",{className:"".concat(jr,"-content")},Qi)),se.createElement(bt,(0,qe.Z)({},na,Ha,{className:Bl,style:Os,title:yo,scope:ln,onMouseEnter:Ir,onMouseLeave:Ao,colSpan:Ca!==1?Ca:null,rowSpan:Ja!==1?Ja:null}),vr,Qi)}var Xt=se.memo(zt);function wn(de,ue,he,ye,De,Oe){var Qe=he[de]||{},nt=he[ue]||{},et,bt;Qe.fixed==="left"?et=ye.left[De==="rtl"?ue:de]:nt.fixed==="right"&&(bt=ye.right[De==="rtl"?de:ue]);var Tt=!1,Lt=!1,ln=!1,sn=!1,vn=he[ue+1],Xn=he[de-1],On=!(Oe!=null&&Oe.children);if(De==="rtl"){if(et!==void 0){var ta=Xn&&Xn.fixed==="left";sn=!ta&&On}else if(bt!==void 0){var Hn=vn&&vn.fixed==="right";ln=!Hn&&On}}else if(et!==void 0){var sa=vn&&vn.fixed==="left";Tt=!sa&&On}else if(bt!==void 0){var Ra=Xn&&Xn.fixed==="right";Lt=!Ra&&On}return{fixLeft:et,fixRight:bt,lastFixLeft:Tt,firstFixRight:Lt,lastFixRight:ln,firstFixLeft:sn,isSticky:ye.isSticky}}var Yn=se.createContext({}),qt=Yn;function Ut(de){var ue=de.className,he=de.index,ye=de.children,De=de.colSpan,Oe=De===void 0?1:De,Qe=de.rowSpan,nt=de.align,et=He(ne,["prefixCls","direction"]),bt=et.prefixCls,Tt=et.direction,Lt=se.useContext(qt),ln=Lt.scrollColumnIndex,sn=Lt.stickyOffsets,vn=Lt.flattenColumns,Xn=Lt.columns,On=he+Oe-1,ta=On+1===ln?Oe+1:Oe,Hn=wn(he,he+ta-1,vn,sn,Tt,Xn==null?void 0:Xn[he]);return se.createElement(Xt,(0,qe.Z)({className:ue,index:he,component:"td",prefixCls:bt,record:null,dataIndex:null,align:nt,colSpan:ta,rowSpan:Qe,render:function(){return ye}},Hn))}var _n=ee(45987),Ie=["children"];function tt(de){var ue=de.children,he=(0,_n.Z)(de,Ie);return se.createElement("tr",he,ue)}function Qn(de){var ue=de.children;return ue}Qn.Row=tt,Qn.Cell=Ut;var Fn=Qn;function dt(de){var ue=de.children,he=de.stickyOffsets,ye=de.flattenColumns,De=de.columns,Oe=He(ne,"prefixCls"),Qe=ye.length-1,nt=ye[Qe],et=se.useMemo(function(){return{stickyOffsets:he,flattenColumns:ye,scrollColumnIndex:nt!=null&&nt.scrollbar?Qe:null,columns:De}},[nt,ye,Qe,he,De]);return se.createElement(qt.Provider,{value:et},se.createElement("tfoot",{className:"".concat(Oe,"-summary")},ue))}var rn=z(dt),Ue=Fn;function gt(de){var ue=se.useRef();ue.current=de;var he=se.useCallback(function(){for(var ye,De=arguments.length,Oe=new Array(De),Qe=0;Qe<De;Qe++)Oe[Qe]=arguments[Qe];return(ye=ue.current)===null||ye===void 0?void 0:ye.call.apply(ye,[ue].concat(Oe))},[]);return he}function Mt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Wt=Mt()?se.useLayoutEffect:se.useEffect,Rt=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}},[])},Cn=function(ue,he){Rt(function(ye){if(!ye)return ue()},he)},ra=null;function Vn(de){var ue=React.useRef(!1),he=React.useState(de),ye=_slicedToArray(he,2),De=ye[0],Oe=ye[1];React.useEffect(function(){return ue.current=!1,function(){ue.current=!0}},[]);function Qe(nt,et){et&&ue.current||Oe(nt)}return[De,Qe]}function Gn(de){return de!==void 0}function Ga(de,ue){var he=ue||{},ye=he.defaultValue,De=he.value,Oe=he.onChange,Qe=he.postState,nt=useState(function(){return Gn(De)?De:Gn(ye)?typeof ye=="function"?ye():ye:typeof de=="function"?de():de}),et=_slicedToArray(nt,2),bt=et[0],Tt=et[1],Lt=De!==void 0?De:bt,ln=Qe?Qe(Lt):Lt,sn=useEvent(Oe),vn=useState([Lt]),Xn=_slicedToArray(vn,2),On=Xn[0],ta=Xn[1];useLayoutUpdateEffect(function(){var sa=On[0];bt!==sa&&sn(bt,sa)},[On]),useLayoutUpdateEffect(function(){Gn(De)||Tt(De)},[De]);var Hn=useEvent(function(sa,Ra){Tt(sa,Ra),ta([Lt],Ra)});return[ln,Hn]}var oa=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(Oe){ja(Oe,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(Oe,Qe){return Oe!==De[Qe]})})}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),Oe=De[0],Qe=De.slice(1),nt;return!de&&typeof Oe=="number"?nt=[]:Array.isArray(de)?nt=_toConsumableArray(de):nt=_objectSpread({},de),ye&&he===void 0&&Qe.length===1?delete nt[Oe][Qe[0]]:nt[Oe]=Br(nt[Oe],Qe,he,ye),nt}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 Pn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Zn(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];var ye=gr(ue[0]);return ue.forEach(function(De){function Oe(Qe,nt){var et=new Set(nt),bt=get(De,Qe),Tt=Array.isArray(bt);if(Tt||lo(bt)){if(!et.has(bt)){et.add(bt);var Lt=get(ye,Qe);Tt?ye=to(ye,Qe,[]):(!Lt||_typeof(Lt)!=="object")&&(ye=to(ye,Qe,gr(bt))),Pn(bt).forEach(function(ln){Oe([].concat(_toConsumableArray(Qe),[ln]),et)})}}else ye=to(ye,Qe,bt)}Oe([])}),ye}var An=ee(48555),Dn=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(),Oe=De.width,Qe=De.height;if(Oe||Qe)return!0}}return!1},Oa=function(ue){if(Mt()&&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 _e;function lt(de){if(typeof document=="undefined")return 0;if(de||_e===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 Oe=ue.offsetWidth;De===Oe&&(Oe=he.clientWidth),document.body.removeChild(he),_e=De-Oe}return _e}function Ve(de){var ue=de.match(/^(.*)px$/),he=Number(ue==null?void 0:ue[1]);return Number.isNaN(he)?lt():he}function jt(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 xn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Jn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ka="".concat(xn," ").concat(Jn).split(/[\s\n]+/),ua="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,ua))||he.data&&Ma(De,Wn)||he.attr&&Ka.includes(De))&&(ye[De]=de[De])}),ye}function Rn(de,ue,he,ye,De,Oe,Qe){de.push({record:ue,indent:he,index:Qe});var nt=Oe(ue),et=De==null?void 0:De.has(nt);if(ue&&Array.isArray(ue[ye])&&et)for(var bt=0;bt<ue[ye].length;bt+=1)Rn(de,ue[ye][bt],he+1,ye,De,Oe,bt)}function no(de,ue,he,ye){var De=se.useMemo(function(){if(he!=null&&he.size){for(var Oe=[],Qe=0;Qe<(de==null?void 0:de.length);Qe+=1){var nt=de[Qe];Rn(Oe,nt,0,ue,he,ye,Qe)}return Oe}return de==null?void 0:de.map(function(et,bt){return{record:et,indent:0,index:bt}})},[de,ue,he,ye]);return De}function ot(de){var ue=de.prefixCls,he=de.children,ye=de.component,De=de.cellComponent,Oe=de.className,Qe=de.expanded,nt=de.colSpan,et=de.isEmpty,bt=He(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Tt=bt.scrollbarSize,Lt=bt.fixHeader,ln=bt.fixColumn,sn=bt.componentWidth,vn=bt.horizonScroll,Xn=he;return(et?vn&&sn:ln)&&(Xn=se.createElement("div",{style:{width:sn-(Lt?Tt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ue,"-expanded-row-fixed")},Xn)),se.createElement(ye,{className:Oe,style:{display:Qe?null:"none"}},se.createElement(Xt,{component:De,prefixCls:ue,colSpan:nt},Xn))}var tn=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"]),Oe=De.flattenColumns,Qe=De.expandableType,nt=De.expandedKeys,et=De.childrenColumnName,bt=De.onTriggerExpand,Tt=De.rowExpandable,Lt=De.onRow,ln=De.expandRowByClick,sn=De.rowClassName,vn=Qe==="nest",Xn=Qe==="row"&&(!Tt||Tt(de)),On=Xn||vn,ta=nt&&nt.has(ue),Hn=et&&de&&de[et],sa=gt(bt),Ra=Lt==null?void 0:Lt(de,he),Qa=Ra==null?void 0:Ra.onClick,Ba=function(Na){ln&&On&&bt(de,Na);for(var ga=arguments.length,la=new Array(ga>1?ga-1:0),Da=1;Da<ga;Da++)la[Da-1]=arguments[Da];Qa==null||Qa.apply(void 0,[Na].concat(la))},fr;typeof sn=="string"?fr=sn:typeof sn=="function"&&(fr=sn(de,he,ye));var Dr=bn(Oe);return(0,xe.Z)((0,xe.Z)({},De),{},{columnsKey:Dr,nestExpandable:vn,expanded:ta,hasNestChildren:Hn,record:de,onTriggerExpand:sa,rowSupportExpand:Xn,expandable:On,rowProps:(0,xe.Z)((0,xe.Z)({},Ra),{},{className:We()(fr,Ra==null?void 0:Ra.className),onClick:Ba})})}function _t(de,ue,he,ye,De){var Oe=de.record,Qe=de.prefixCls,nt=de.columnsKey,et=de.fixedInfoList,bt=de.expandIconColumnIndex,Tt=de.nestExpandable,Lt=de.indentSize,ln=de.expandIcon,sn=de.expanded,vn=de.hasNestChildren,Xn=de.onTriggerExpand,On=nt[he],ta=et[he],Hn;he===(bt||0)&&Tt&&(Hn=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(Lt*ye,"px")},className:"".concat(Qe,"-row-indent indent-level-").concat(ye)}),ln({prefixCls:Qe,expanded:sn,expandable:vn,record:Oe,onExpand:Xn})));var sa;return ue.onCell&&(sa=ue.onCell(Oe,De)),{key:On,fixedInfo:ta,appendCellNode:Hn,additionalCellProps:sa||{}}}function jn(de){var ue=de.className,he=de.style,ye=de.record,De=de.index,Oe=de.renderIndex,Qe=de.rowKey,nt=de.indent,et=nt===void 0?0:nt,bt=de.rowComponent,Tt=de.cellComponent,Lt=de.scopeCellComponent,ln=$t(ye,Qe,De,et),sn=ln.prefixCls,vn=ln.flattenColumns,Xn=ln.expandedRowClassName,On=ln.expandedRowRender,ta=ln.rowProps,Hn=ln.expanded,sa=ln.rowSupportExpand,Ra=se.useState(!1),Qa=(0,Fe.Z)(Ra,2),Ba=Qa[0],fr=Qa[1];se.useEffect(function(){Hn&&fr(!0)},[Hn]);var Dr=se.createElement(bt,(0,qe.Z)({},ta,{"data-row-key":Qe,className:We()(ue,"".concat(sn,"-row"),"".concat(sn,"-row-level-").concat(et),ta==null?void 0:ta.className),style:(0,xe.Z)((0,xe.Z)({},he),ta==null?void 0:ta.style)}),vn.map(function(la,Da){var Wa=la.render,vr=la.dataIndex,Er=la.className,Ha=_t(ln,la,Da,et,De),Or=Ha.key,jr=Ha.fixedInfo,Bo=Ha.appendCellNode,mo=Ha.additionalCellProps;return se.createElement(Xt,(0,qe.Z)({className:Er,ellipsis:la.ellipsis,align:la.align,scope:la.rowScope,component:la.rowScope?Lt:Tt,prefixCls:sn,key:Or,record:ye,index:De,renderIndex:Oe,dataIndex:vr,render:Wa,shouldCellUpdate:la.shouldCellUpdate},jr,{appendNode:Bo,additionalProps:mo}))})),ya;if(sa&&(Ba||Hn)){var Na=On(ye,De,et+1,Hn),ga=Xn&&Xn(ye,De,et);ya=se.createElement(tn,{expanded:Hn,className:We()("".concat(sn,"-expanded-row"),"".concat(sn,"-expanded-row-level-").concat(et+1),ga),prefixCls:sn,component:bt,cellComponent:Tt,colSpan:vn.length,isEmpty:!1},Na)}return se.createElement(se.Fragment,null,Dr,ya)}jn.displayName="BodyRow";var Vt=z(jn);function kn(de){var ue=de.columnKey,he=de.onColumnResize,ye=se.useRef();return se.useEffect(function(){ye.current&&he(ue,ye.current.offsetWidth)},[]),se.createElement(An.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(An.Z.Collection,{onBatchResize:function(Oe){Oe.forEach(function(Qe){var nt=Qe.data,et=Qe.size;ye(nt,et.offsetWidth)})}},he.map(function(De){return se.createElement(kn,{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,Oe=ye.getComponent,Qe=ye.onColumnResize,nt=ye.flattenColumns,et=ye.getRowKey,bt=ye.expandedKeys,Tt=ye.childrenColumnName,Lt=ye.emptyNode,ln=no(ue,Tt,bt,et),sn=se.useRef({renderWithProps:!1}),vn=Oe(["body","wrapper"],"tbody"),Xn=Oe(["body","row"],"tr"),On=Oe(["body","cell"],"td"),ta=Oe(["body","cell"],"th"),Hn;ue.length?Hn=ln.map(function(Ra,Qa){var Ba=Ra.record,fr=Ra.indent,Dr=Ra.index,ya=et(Ba,Qa);return se.createElement(Vt,{key:ya,rowKey:ya,record:Ba,index:Qa,renderIndex:Dr,rowComponent:Xn,cellComponent:On,scopeCellComponent:ta,getRowKey:et,indent:fr})}):Hn=se.createElement(tn,{expanded:!0,className:"".concat(De,"-placeholder"),prefixCls:De,component:Xn,cellComponent:On,colSpan:nt.length,isEmpty:!0},Lt);var sa=bn(nt);return se.createElement(Bt.Provider,{value:sn.current},se.createElement(vn,{className:"".concat(De,"-tbody")},he&&se.createElement(un,{prefixCls:De,columnsKey:sa,onColumnResize:Qe}),Hn))}$a.displayName="Body";var Aa=z($a),cr=["expandable"],zr="RC_TABLE_INTERNAL_COL_DEFINE";function co(de){var ue=de.expandable,he=(0,_n.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=[],Oe=ye||he.length,Qe=!1,nt=Oe-1;nt>=0;nt-=1){var et=ue[nt],bt=he&&he[nt],Tt=bt&&bt[zr];if(et||Tt||Qe){var Lt=Tt||{},ln=Lt.columnType,sn=(0,_n.Z)(Lt,mn);De.unshift(se.createElement("col",(0,qe.Z)({key:nt,style:{width:et}},sn))),Qe=!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 Tn(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,Oe=de.flattenColumns,Qe=de.colWidths,nt=de.columCount,et=de.stickyOffsets,bt=de.direction,Tt=de.fixHeader,Lt=de.stickyTopOffset,ln=de.stickyBottomOffset,sn=de.stickyClassName,vn=de.onScroll,Xn=de.maxContentScroll,On=de.children,ta=(0,_n.Z)(de,Yo),Hn=He(ne,["prefixCls","scrollbarSize","isSticky"]),sa=Hn.prefixCls,Ra=Hn.scrollbarSize,Qa=Hn.isSticky,Ba=Qa&&!Tt?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 ya=se.useMemo(function(){return Oe.every(function(Er){return Er.width})},[Oe]),Na=Oe[Oe.length-1],ga={fixed:Na?Na.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(sa,"-cell-scrollbar")}}},la=(0,se.useMemo)(function(){return Ba?[].concat((0,qr.Z)(De),[ga]):De},[Ba,De]),Da=(0,se.useMemo)(function(){return Ba?[].concat((0,qr.Z)(Oe),[ga]):Oe},[Ba,Oe]),Wa=(0,se.useMemo)(function(){var Er=et.right,Ha=et.left;return(0,xe.Z)((0,xe.Z)({},et),{},{left:bt==="rtl"?[].concat((0,qr.Z)(Ha.map(function(Or){return Or+Ba})),[0]):Ha,right:bt==="rtl"?Er:[].concat((0,qr.Z)(Er.map(function(Or){return Or+Ba})),[0]),isSticky:Qa})},[Ba,et,Qa]),vr=Tn(Qe,nt);return se.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},Qa?{top:Lt,bottom:ln}:{}),ref:Dr,className:We()(he,(0,Se.Z)({},sn,!!sn))},se.createElement("table",{style:{tableLayout:"fixed",visibility:ye||vr?null:"hidden"}},(!ye||!Xn||ya)&&se.createElement(ei,{colWidths:vr?[].concat((0,qr.Z)(vr),[Ba]):[],columCount:nt+1,columns:Da}),On((0,xe.Z)((0,xe.Z)({},ta),{},{stickyOffsets:Wa,columns:la,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,Oe=de.cellComponent,Qe=de.tdCellComponent,nt=de.onHeaderRow,et=de.index,bt=He(ne,["prefixCls","direction"]),Tt=bt.prefixCls,Lt=bt.direction,ln;nt&&(ln=nt(ue.map(function(vn){return vn.column}),et));var sn=bn(ue.map(function(vn){return vn.column}));return se.createElement(De,ln,ue.map(function(vn,Xn){var On=vn.column,ta=wn(vn.colStart,vn.colEnd,ye,he,Lt,On),Hn;return On&&On.onHeaderCell&&(Hn=vn.column.onHeaderCell(On)),se.createElement(Xt,(0,qe.Z)({},vn,{scope:On.title?vn.colSpan>1?"colgroup":"col":null,ellipsis:On.ellipsis,align:On.align,component:On.title?Oe:Qe,prefixCls:Tt,key:sn[Xn]},ta,{additionalProps:Hn,rowType:"header"}))}))}Un.displayName="HeaderRow";var Wr=Un;function _r(de){var ue=[];function he(Qe,nt){var et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ue[et]=ue[et]||[];var bt=nt,Tt=Qe.filter(Boolean).map(function(Lt){var ln={key:Lt.key,className:Lt.className||"",children:Lt.title,column:Lt,colStart:bt},sn=1,vn=Lt.children;return vn&&vn.length>0&&(sn=he(vn,bt,et+1).reduce(function(Xn,On){return Xn+On},0),ln.hasSubColumns=!0),"colSpan"in Lt&&(sn=Lt.colSpan),"rowSpan"in Lt&&(ln.rowSpan=Lt.rowSpan),ln.colSpan=sn,ln.colEnd=ln.colStart+sn-1,ue[et].push(ln),bt+=sn,sn});return Tt}he(de,0);for(var ye=ue.length,De=function(nt){ue[nt].forEach(function(et){!("rowSpan"in et)&&!et.hasSubColumns&&(et.rowSpan=ye-nt)})},Oe=0;Oe<ye;Oe+=1)De(Oe);return ue}function ti(de){var ue=de.stickyOffsets,he=de.columns,ye=de.flattenColumns,De=de.onHeaderRow,Oe=He(ne,["prefixCls","getComponent"]),Qe=Oe.prefixCls,nt=Oe.getComponent,et=se.useMemo(function(){return _r(he)},[he]),bt=nt(["header","wrapper"],"thead"),Tt=nt(["header","row"],"tr"),Lt=nt(["header","cell"],"th"),ln=nt(["header","cell"],"td");return se.createElement(bt,{className:"".concat(Qe,"-thead")},et.map(function(sn,vn){var Xn=se.createElement(Wr,{key:vn,flattenColumns:ye,cells:sn,stickyOffsets:ue,rowComponent:Tt,cellComponent:Lt,tdCellComponent:ln,onHeaderRow:De,index:vn});return Xn}))}var ni=z(ti);function ai(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[];return se.Children.forEach(de,function(ye){ye==null&&!ue.keepEmpty||(Array.isArray(ye)?he=he.concat(ai(ye)):(0,oa.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(bt){var Tt=bl(ue,bt.width);Tt?he+=Tt:ye+=1});var De=ue-he,Oe=ye,Qe=De/ye,nt=0,et=de.map(function(bt){var Tt=(0,xe.Z)({},bt),Lt=bl(ue,Tt.width);if(Lt)Tt.width=Lt;else{var ln=Math.floor(Qe);Tt.width=Oe===1?De:ln,De-=ln,Oe-=1}return nt+=Tt.width,Tt});return[et,nt]}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,Oe=(0,_n.Z)(ye,Kl),Qe=(0,xe.Z)({key:he},Oe);return De&&(Qe.children=wi(De)),Qe})}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 Oe=ye.fixed,Qe=Oe===!0?"left":Oe,nt="".concat(ue,"-").concat(De),et=ye.children;return et&&et.length>0?[].concat((0,qr.Z)(he),(0,qr.Z)(Xo(et,nt).map(function(bt){return(0,xe.Z)({fixed:Qe},bt)}))):[].concat((0,qr.Z)(he),[(0,xe.Z)((0,xe.Z)({key:nt},ye),{},{fixed:Qe})])},[])}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,Oe=de.length-1;Oe>=0;Oe-=1){var Qe=de[Oe];if(De&&Qe.fixed!=="right")De=!1;else if(!De&&Qe.fixed==="right"){warning(!1,"Index ".concat(Oe+1," of `columns` missing `fixed='right'` prop."));break}}}function Cl(de){return de.map(function(ue){var he=ue.fixed,ye=(0,_n.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,Oe=de.expandable,Qe=de.expandedKeys,nt=de.columnTitle,et=de.getRowKey,bt=de.onTriggerExpand,Tt=de.expandIcon,Lt=de.rowExpandable,ln=de.expandIconColumnIndex,sn=de.direction,vn=de.expandRowByClick,Xn=de.columnWidth,On=de.fixed,ta=de.scrollWidth,Hn=se.useMemo(function(){return ye||wi(De)},[ye,De]),sa=se.useMemo(function(){if(Oe){var Na,ga=Hn.slice();if(!ga.includes(ae)){var la=ln||0;la>=0&&ga.splice(la,0,ae)}var Da=ga.indexOf(ae);ga=ga.filter(function(Ha,Or){return Ha!==ae||Or===Da});var Wa=Hn[Da],vr;(On==="left"||On)&&!ln?vr="left":(On==="right"||On)&&ln===Hn.length?vr="right":vr=Wa?Wa.fixed:null;var Er=(Na={},(0,Se.Z)(Na,zr,{className:"".concat(he,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Se.Z)(Na,"title",nt),(0,Se.Z)(Na,"fixed",vr),(0,Se.Z)(Na,"className","".concat(he,"-row-expand-icon-cell")),(0,Se.Z)(Na,"width",Xn),(0,Se.Z)(Na,"render",function(Or,jr,Bo){var mo=et(jr,Bo),gi=Qe.has(mo),fi=Lt?Lt(jr):!0,Fr=Tt({prefixCls:he,expanded:gi,expandable:fi,record:jr,onExpand:bt});return vn?se.createElement("span",{onClick:function(na){return na.stopPropagation()}},Fr):Fr}),Na);return ga.map(function(Ha){return Ha===ae?Er:Ha})}return Hn.filter(function(Ha){return Ha!==ae})},[Oe,Hn,et,Qe,Tt,sn]),Ra=se.useMemo(function(){var Na=sa;return ue&&(Na=ue(Na)),Na.length||(Na=[{render:function(){return null}}]),Na},[ue,sa,sn]),Qa=se.useMemo(function(){return sn==="rtl"?Cl(Xo(Ra)):Xo(Ra)},[Ra,sn,ta]),Ba=yi(Qa,ta),fr=(0,Fe.Z)(Ba,2),Dr=fr[0],ya=fr[1];return[Ra,Dr,ya]}var tl=Fl;function ki(de){var ue,he=de.prefixCls,ye=de.record,De=de.onExpand,Oe=de.expanded,Qe=de.expandable,nt="".concat(he,"-row-expand-icon");if(!Qe)return se.createElement("span",{className:We()(nt,"".concat(he,"-row-spaced"))});var et=function(Tt){De(ye,Tt),Tt.stopPropagation()};return se.createElement("span",{className:We()(nt,(ue={},(0,Se.Z)(ue,"".concat(he,"-row-expanded"),Oe),(0,Se.Z)(ue,"".concat(he,"-row-collapsed"),!Oe),ue)),onClick:et})}function pl(de,ue,he){var ye=[];function De(Oe){(Oe||[]).forEach(function(Qe,nt){ye.push(ue(Qe,nt)),De(Qe[he])})}return De(de),ye}function kr(de,ue,he){var ye=co(de),De=ye.expandIcon,Oe=ye.expandedRowKeys,Qe=ye.defaultExpandedRowKeys,nt=ye.defaultExpandAllRows,et=ye.expandedRowRender,bt=ye.onExpand,Tt=ye.onExpandedRowsChange,Lt=ye.childrenColumnName,ln=De||ki,sn=Lt||"children",vn=se.useMemo(function(){return et?"row":de.expandable&&de.internalHooks===me&&de.expandable.__PARENT_RENDER_ICON__||ue.some(function(Qa){return Qa&&(0,be.Z)(Qa)==="object"&&Qa[sn]})?"nest":!1},[!!et,ue]),Xn=se.useState(function(){return Qe||(nt?pl(ue,he,sn):[])}),On=(0,Fe.Z)(Xn,2),ta=On[0],Hn=On[1],sa=se.useMemo(function(){return new Set(Oe||ta||[])},[Oe,ta]),Ra=se.useCallback(function(Qa){var Ba=he(Qa,ue.indexOf(Qa)),fr,Dr=sa.has(Ba);Dr?(sa.delete(Ba),fr=(0,qr.Z)(sa)):fr=[].concat((0,qr.Z)(sa),[Ba]),Hn(fr),bt&&bt(!Dr,Qa),Tt&&Tt(fr)},[he,sa,ue,bt,Tt]);return[ye,vn,sa,ln,sn,Ra]}function mt(de,ue,he,ye){var De=de.map(function(Oe,Qe){return wn(Qe,Qe,de,ue,he,ye==null?void 0:ye[Qe])});return Kt(function(){return De},[De],function(Oe,Qe){return!Ft(Oe,Qe)})}function At(de){var ue=(0,se.useRef)(de),he=(0,se.useState)({}),ye=(0,Fe.Z)(he,2),De=ye[1],Oe=(0,se.useRef)(null),Qe=(0,se.useRef)([]);function nt(et){Qe.current.push(et);var bt=Promise.resolve();Oe.current=bt,bt.then(function(){if(Oe.current===bt){var Tt=Qe.current,Lt=ue.current;Qe.current=[],Tt.forEach(function(ln){ue.current=ln(ue.current)}),Oe.current=null,Lt!==ue.current&&De({})}})}return(0,se.useEffect)(function(){return function(){Oe.current=null}},[]),[ue.current,nt]}function en(de){var ue=(0,se.useRef)(de||null),he=(0,se.useRef)();function ye(){window.clearTimeout(he.current)}function De(Qe){ue.current=Qe,ye(),he.current=window.setTimeout(function(){ue.current=null,he.current=void 0},100)}function Oe(){return ue.current}return(0,se.useEffect)(function(){return ye},[]),[De,Oe]}function Ae(){var de=se.useState(-1),ue=(0,Fe.Z)(de,2),he=ue[0],ye=ue[1],De=se.useState(-1),Oe=(0,Fe.Z)(De,2),Qe=Oe[0],nt=Oe[1],et=se.useCallback(function(bt,Tt){ye(bt),nt(Tt)},[]);return[he,Qe,et]}var Yt=Mt()?window:null;function Bn(de,ue){var he=(0,be.Z)(de)==="object"?de:{},ye=he.offsetHeader,De=ye===void 0?0:ye,Oe=he.offsetSummary,Qe=Oe===void 0?0:Oe,nt=he.offsetScroll,et=nt===void 0?0:nt,bt=he.getContainer,Tt=bt===void 0?function(){return Yt}:bt,Lt=Tt()||Yt;return se.useMemo(function(){var ln=!!de;return{isSticky:ln,stickyClassName:ln?"".concat(ue,"-sticky-holder"):"",offsetHeader:De,offsetSummary:Qe,offsetScroll:et,container:Lt}},[et,De,Qe,ue,Lt])}function Nn(de,ue,he){var ye=(0,se.useMemo)(function(){for(var De=[],Oe=[],Qe=0,nt=0,et=0;et<ue;et+=1)if(he==="rtl"){Oe[et]=nt,nt+=de[et]||0;var bt=ue-et-1;De[bt]=Qe,Qe+=de[bt]||0}else{De[et]=Qe,Qe+=de[et]||0;var Tt=ue-et-1;Oe[Tt]=nt,nt+=de[Tt]||0}return{left:De,right:Oe}},[de,ue,he]);return ye}var yt=Nn;function Ht(de){var ue=de.className,he=de.children;return se.createElement("div",{className:ue},he)}var kt=Ht;function In(de,ue,he,ye){var De=Ze.unstable_batchedUpdates?function(Qe){Ze.unstable_batchedUpdates(he,Qe)}:he;return de!=null&&de.addEventListener&&de.addEventListener(ue,De,ye),{remove:function(){de!=null&&de.removeEventListener&&de.removeEventListener(ue,De,ye)}}}var da=/margin|padding|width|height|max|min|offset/,xa={left:!0,top:!0},Sa={cssFloat:1,styleFloat:1,float:1};function Ia(de){return de.nodeType===1?de.ownerDocument.defaultView.getComputedStyle(de,null):{}}function rr(de,ue,he){if(ue=ue.toLowerCase(),he==="auto"){if(ue==="height")return de.offsetHeight;if(ue==="width")return de.offsetWidth}return ue in xa||(xa[ue]=da.test(ue)),xa[ue]?parseFloat(he)||0:he}function Ln(de,ue){var he=arguments.length,ye=Ia(de);return ue=Sa[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,he===1?ye:rr(de,ue,ye[ue]||de.style[ue])}function Dt(de,ue,he){var ye=arguments.length;if(ue=Sa[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,ye===3)return typeof he=="number"&&da.test(ue)&&(he="".concat(he,"px")),de.style[ue]=he,he;for(var De in ue)ue.hasOwnProperty(De)&&Dt(de,De,ue[De]);return Ia(de)}function Sn(de){return de===document.body?document.documentElement.clientWidth:de.offsetWidth}function En(de){return de===document.body?window.innerHeight||document.documentElement.clientHeight:de.offsetHeight}function ia(){var de=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ue=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:de,height:ue}}function Fa(){var de=document.documentElement.clientWidth,ue=window.innerHeight||document.documentElement.clientHeight;return{width:de,height:ue}}function Xa(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function yr(de){var ue=de.getBoundingClientRect(),he=document.documentElement;return{left:ue.left+(window.pageXOffset||he.scrollLeft)-(he.clientLeft||document.body.clientLeft||0),top:ue.top+(window.pageYOffset||he.scrollTop)-(he.clientTop||document.body.clientTop||0)}}var sr=function(ue,he){var ye,De,Oe=ue.scrollBodyRef,Qe=ue.onScroll,nt=ue.offsetScroll,et=ue.container,bt=He(ne,"prefixCls"),Tt=((ye=Oe.current)===null||ye===void 0?void 0:ye.scrollWidth)||0,Lt=((De=Oe.current)===null||De===void 0?void 0:De.clientWidth)||0,ln=Tt&&Lt*(Lt/Tt),sn=se.useRef(),vn=At({scrollLeft:0,isHiddenScrollBar:!1}),Xn=(0,Fe.Z)(vn,2),On=Xn[0],ta=Xn[1],Hn=se.useRef({delta:0,x:0}),sa=se.useState(!1),Ra=(0,Fe.Z)(sa,2),Qa=Ra[0],Ba=Ra[1],fr=function(){Ba(!1)},Dr=function(Da){Da.persist(),Hn.current.delta=Da.pageX-On.scrollLeft,Hn.current.x=0,Ba(!0),Da.preventDefault()},ya=function(Da){var Wa,vr=Da||((Wa=window)===null||Wa===void 0?void 0:Wa.event),Er=vr.buttons;if(!Qa||Er===0){Qa&&Ba(!1);return}var Ha=Hn.current.x+Da.pageX-Hn.current.x-Hn.current.delta;Ha<=0&&(Ha=0),Ha+ln>=Lt&&(Ha=Lt-ln),Qe({scrollLeft:Ha/Lt*(Tt+2)}),Hn.current.x=Da.pageX},Na=function(){if(Oe.current){var Da=yr(Oe.current).top,Wa=Da+Oe.current.offsetHeight,vr=et===window?document.documentElement.scrollTop+window.innerHeight:yr(et).top+et.clientHeight;Wa-lt()<=vr||Da>=vr-nt?ta(function(Er){return(0,xe.Z)((0,xe.Z)({},Er),{},{isHiddenScrollBar:!0})}):ta(function(Er){return(0,xe.Z)((0,xe.Z)({},Er),{},{isHiddenScrollBar:!1})})}},ga=function(Da){ta(function(Wa){return(0,xe.Z)((0,xe.Z)({},Wa),{},{scrollLeft:Da/Tt*Lt||0})})};return se.useImperativeHandle(he,function(){return{setScrollLeft:ga}}),se.useEffect(function(){var la=In(document.body,"mouseup",fr,!1),Da=In(document.body,"mousemove",ya,!1);return Na(),function(){la.remove(),Da.remove()}},[ln,Qa]),se.useEffect(function(){var la=In(et,"scroll",Na,!1),Da=In(window,"resize",Na,!1);return function(){la.remove(),Da.remove()}},[et]),se.useEffect(function(){On.isHiddenScrollBar||ta(function(la){var Da=Oe.current;return Da?(0,xe.Z)((0,xe.Z)({},la),{},{scrollLeft:Da.scrollLeft/Da.scrollWidth*Da.clientWidth}):la})},[On.isHiddenScrollBar]),Tt<=Lt||!ln||On.isHiddenScrollBar?null:se.createElement("div",{style:{height:lt(),width:Lt,bottom:nt},className:"".concat(bt,"-sticky-scroll")},se.createElement("div",{onMouseDown:Dr,ref:sn,className:We()("".concat(bt,"-sticky-scroll-bar"),(0,Se.Z)({},"".concat(bt,"-sticky-scroll-bar-active"),Qa)),style:{width:"".concat(ln,"px"),transform:"translate3d(".concat(On.scrollLeft,"px, 0, 0)")}}))},ea=se.forwardRef(sr);function ba(de){return null}var Pa=ba;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,Oe=he.rowClassName,Qe=he.style,nt=he.data,et=he.rowKey,bt=he.scroll,Tt=he.tableLayout,Lt=he.direction,ln=he.title,sn=he.footer,vn=he.summary,Xn=he.caption,On=he.id,ta=he.showHeader,Hn=he.components,sa=he.emptyText,Ra=he.onRow,Qa=he.onHeaderRow,Ba=he.internalHooks,fr=he.transformColumns,Dr=he.internalRefs,ya=he.tailor,Na=he.sticky,ga=nt||ro,la=!!ga.length,Da=Ba===me,Wa=se.useCallback(function(xr,Ro){return Kn(Hn,xr)||Ro},[Hn]),vr=se.useMemo(function(){return typeof et=="function"?et:function(xr){var Ro=xr&&xr[et];return Ro}},[et]),Er=Wa(["body"]),Ha=Ae(),Or=(0,Fe.Z)(Ha,3),jr=Or[0],Bo=Or[1],mo=Or[2],gi=kr(he,ga,vr),fi=(0,Fe.Z)(gi,6),Fr=fi[0],Di=fi[1],na=fi[2],or=fi[3],Kr=fi[4],Io=fi[5],Ca=bt==null?void 0:bt.x,Ja=se.useState(0),tr=(0,Fe.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:na,getRowKey:vr,onTriggerExpand:Io,expandIcon:or,expandIconColumnIndex:Fr.expandIconColumnIndex,direction:Lt,scrollWidth:Da&&ya&&typeof Ca=="number"?Ca:null}),Da?fr:null),Ir=(0,Fe.Z)(ir,3),Ao=Ir[0],yo=Ir[1],Bl=Ir[2],Pl=Bl!=null?Bl:Ca,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,Fe.Z)(Go,2),te=Wo[0],ie=Wo[1],le=se.useState(!1),fe=(0,Fe.Z)(le,2),ve=fe[0],Ne=fe[1],Le=At(new Map),Ye=(0,Fe.Z)(Le,2),Je=Ye[0],ct=Ye[1],Qt=bn(yo),ft=Qt.map(function(xr){return Je.get(xr)}),St=se.useMemo(function(){return ft},[ft.join("_")]),Ct=yt(St,yo.length,Lt),Nt=bt&&pa(bt.y),at=bt&&pa(Pl)||!!Fr.fixed,Et=at&&yo.some(function(xr){var Ro=xr.fixed;return Ro}),nn=se.useRef(),Mn=Bn(Na,ye),gn=Mn.isSticky,dn=Mn.offsetHeader,qn=Mn.offsetSummary,on=Mn.offsetScroll,cn=Mn.stickyClassName,wa=Mn.container,aa=se.useMemo(function(){return vn==null?void 0:vn(ga)},[vn,ga]),La=(Nt||gn)&&se.isValidElement(aa)&&aa.type===Fn&&aa.props.fixed,fa,nr,wr;Nt&&(nr={overflowY:"scroll",maxHeight:bt.y}),at&&(fa={overflowX:"auto"},Nt||(nr={overflowY:"hidden"}),wr={width:Pl===!0?"auto":Pl,minWidth:"100%"});var Vr=se.useCallback(function(xr,Ro){Dn(Qi.current)&&ct(function(oi){if(oi.get(xr)!==Ro){var $i=new Map(oi);return $i.set(xr,Ro),$i}return oi})},[]),ar=en(null),lr=(0,Fe.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=gt(function(xr){var Ro=xr.currentTarget,oi=xr.scrollLeft,$i=Lt==="rtl",Vo=typeof oi=="number"?oi:Ro.scrollLeft,qi=Ro||Eo;if(!Yr()||Yr()===qi){var Ri;ka(qi),Sr(Vo,hs.current),Sr(Vo,xi.current),Sr(Vo,Cd.current),Sr(Vo,(Ri=nn.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(){at&&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()},[at,nt,Ao.length]),se.useEffect(function(){Uo.current=!0},[]);var Pi=se.useState(0),No=(0,Fe.Z)(Pi,2),ci=No[0],io=No[1],vo=se.useState(!0),Fo=(0,Fe.Z)(vo,2),ui=Fo[0],mi=Fo[1];se.useEffect(function(){(!ya||!Da)&&(xi.current instanceof Element?io(jt(xi.current).width):io(jt(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(rn,xr,aa))},[La,aa]),vi=se.useCallback(function(xr){return se.createElement(rn,xr,aa)},[aa]),Cr=Wa(["table"],"table"),Zo=se.useMemo(function(){return Tt||(Et?Pl==="max-content"?"auto":"fixed":Nt||gn||yo.some(function(xr){var Ro=xr.ellipsis;return Ro})?"fixed":"auto")},[Nt,Et,yo,Tt,gn]),bo,Qr={colWidths:St,columCount:yo.length,stickyOffsets:Ct,onHeaderRow:Qa,fixHeader:Nt,scroll:bt},_a=se.useMemo(function(){return la?null:typeof sa=="function"?sa():sa},[la,sa]),ao=se.createElement(Aa,{data:ga,measureColumnWidth:Nt||at||gn}),jo=se.createElement(ei,{colWidths:yo.map(function(xr){var Ro=xr.width;return Ro}),columns:yo}),Ji=Xn!=null?se.createElement("caption",{className:"".concat(ye,"-caption")},Xn):void 0,fl=ho(he,{data:!0}),zi=ho(he,{aria:!0});if(Nt||gn){var as;typeof Er=="function"?(as=Er(ga,{scrollbarSize:ci,ref:xi,onScroll:Lr}),Qr.colWidths=yo.map(function(xr,Ro){var oi=xr.width,$i=Ro===yo.length-1?oi-ci:oi;return typeof $i=="number"&&!Number.isNaN($i)?$i:0})):as=se.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},fa),nr),onScroll:Lr,ref:xi,className:We()("".concat(ye,"-body"))},se.createElement(Cr,(0,qe.Z)({style:(0,xe.Z)((0,xe.Z)({},wr),{},{tableLayout:Zo})},zi),Ji,jo,ao,!La&&aa&&se.createElement(rn,{stickyOffsets:Ct,flattenColumns:yo,columns:Ao},aa)));var ys=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!ga.length,maxContentScroll:at&&Pl==="max-content"},Qr),Os),{},{direction:Lt,stickyClassName:cn,onScroll:Lr});bo=se.createElement(se.Fragment,null,ta!==!1&&se.createElement(Va,(0,qe.Z)({},ys,{stickyTopOffset:dn,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(ea,{ref:nn,offsetScroll:on,scrollBodyRef:xi,onScroll:Lr,container:wa}))}else bo=se.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},fa),nr),className:We()("".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,ta!==!1&&se.createElement(ni,(0,qe.Z)({},Qr,Os)),ao,aa&&se.createElement(rn,{stickyOffsets:Ct,flattenColumns:yo,columns:Ao},aa)));var sl=se.createElement("div",(0,qe.Z)({className:We()(ye,De,(ue={},(0,Se.Z)(ue,"".concat(ye,"-rtl"),Lt==="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"),Tt==="fixed"),(0,Se.Z)(ue,"".concat(ye,"-fixed-header"),Nt),(0,Se.Z)(ue,"".concat(ye,"-fixed-column"),Et),(0,Se.Z)(ue,"".concat(ye,"-scroll-horizontal"),at),(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:Qe,id:On,ref:Qi},fl),ln&&se.createElement(kt,{className:"".concat(ye,"-title")},ln(ga)),se.createElement("div",{ref:zl,className:"".concat(ye,"-container")},bo),sn&&se.createElement(kt,{className:"".concat(ye,"-footer")},sn(ga)));at&&(sl=se.createElement(An.Z,{onResize:To},sl));var Xi=mt(yo,Ct,Lt,Ao),Ki=se.useMemo(function(){return{scrollX:Pl,prefixCls:ye,getComponent:Wa,scrollbarSize:ci,direction:Lt,fixedInfoList:Xi,isSticky:gn,supportSticky:ui,componentWidth:Ua,fixHeader:Nt,fixColumn:Et,horizonScroll:at,tableLayout:Zo,rowClassName:Oe,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:na,childrenColumnName:Kr}},[Pl,ye,Wa,ci,Lt,Xi,gn,ui,Ua,Nt,Et,at,Zo,Oe,Fr.expandedRowClassName,or,Di,Fr.expandRowByClick,Fr.expandedRowRender,Io,Fr.expandIconColumnIndex,Fr.indentSize,_a,Ao,yo,Vr,jr,Bo,mo,Fr.rowExpandable,Ra,vr,na,Kr]);return se.createElement(ne.Provider,{value:Ki},sl)}function Oi(de){return E(Lo,de)}var xl=Oi();xl.EXPAND_COLUMN=ae,xl.INTERNAL_HOOKS=me,xl.Column=Pa,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,Oe=de.index,Qe=de.renderIndex,nt=de.record,et=de.style,bt=de.className,Tt=de.inverse,Lt=de.getHeight,ln=he.render,sn=he.dataIndex,vn=he.className,Xn=he.width,On=He(Li,["columnsOffset"]),ta=On.columnsOffset,Hn=_t(ue,he,ye,De,Oe),sa=Hn.key,Ra=Hn.fixedInfo,Qa=Hn.appendCellNode,Ba=Hn.additionalCellProps,fr=Ba.style,Dr=Ba.colSpan,ya=Dr===void 0?1:Dr,Na=Ba.rowSpan,ga=Na===void 0?1:Na,la=ye-1,Da=is(la,ya,ta),Wa=ya>1?Xn-Da:0,vr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},fr),et),{},{flex:"0 0 ".concat(Da,"px"),width:"".concat(Da,"px"),marginRight:Wa,pointerEvents:"auto"}),Er=se.useMemo(function(){return Tt?ga<=1:ya===0||ga===0||ga>1},[ga,ya,Tt]);Er?vr.visibility="hidden":Tt&&(vr.height=Lt==null?void 0:Lt(ga));var Ha=Er?function(){return null}:ln,Or={};return(ga===0||ya===0)&&(Or.rowSpan=1,Or.colSpan=1),se.createElement(Xt,(0,qe.Z)({className:We()(vn,bt),ellipsis:he.ellipsis,align:he.align,scope:he.rowScope,component:"div",prefixCls:ue.prefixCls,key:sa,record:nt,index:Oe,renderIndex:Qe,dataIndex:sn,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,Oe=de.rowKey,Qe=de.style,nt=de.extra,et=de.getHeight,bt=(0,_n.Z)(de,zs),Tt=he.record,Lt=he.indent,ln=he.index,sn=He(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),vn=sn.scrollX,Xn=sn.flattenColumns,On=sn.prefixCls,ta=sn.fixColumn,Hn=sn.componentWidth,sa=$t(Tt,Oe,ye,Lt),Ra=sa.rowSupportExpand,Qa=sa.expanded,Ba=sa.rowProps,fr=sa.expandedRowRender,Dr=sa.expandedRowClassName,ya;if(Ra&&Qa){var Na=fr(Tt,ye,Lt+1,Qa),ga=Dr==null?void 0:Dr(Tt,ye,Lt),la={};ta&&(la={style:(0,Se.Z)({},"--virtual-width","".concat(Hn,"px"))});var Da="".concat(On,"-expanded-row-cell");ya=se.createElement("div",{className:We()("".concat(On,"-expanded-row"),"".concat(On,"-expanded-row-level-").concat(Lt+1),ga)},se.createElement(Xt,{component:"div",prefixCls:On,className:We()(Da,(0,Se.Z)({},"".concat(Da,"-fixed"),ta)),additionalProps:la},Na))}var Wa=(0,xe.Z)((0,xe.Z)({},Qe),{},{width:vn});nt&&(Wa.position="absolute",Wa.pointerEvents="none");var vr=se.createElement("div",(0,qe.Z)({},Ba,bt,{ref:Ra?null:ue,className:We()(De,"".concat(On,"-row"),Ba==null?void 0:Ba.className,(0,Se.Z)({},"".concat(On,"-row-extra"),nt)),style:(0,xe.Z)((0,xe.Z)({},Wa),Ba==null?void 0:Ba.style)}),Xn.map(function(Er,Ha){return se.createElement(ls,{key:Ha,rowInfo:sa,column:Er,colIndex:Ha,indent:Lt,index:ye,renderIndex:ln,record:Tt,inverse:nt,getHeight:et})}));return Ra?se.createElement("div",{ref:ue},vr,ya):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"]),Oe=De.flattenColumns,Qe=De.onColumnResize,nt=De.getRowKey,et=De.expandedKeys,bt=De.prefixCls,Tt=De.childrenColumnName,Lt=De.emptyNode,ln=De.scrollX,sn=He(Sl),vn=sn.scrollY,Xn=sn.listItemHeight,On=se.useRef(),ta=no(he,Tt,et,nt),Hn=se.useMemo(function(){var ya=0;return Oe.map(function(Na){var ga=Na.width,la=Na.key;return ya+=ga,[la,ga,ya]})},[Oe]),sa=se.useMemo(function(){return Hn.map(function(ya){return ya[2]})},[Hn]);se.useEffect(function(){Hn.forEach(function(ya){var Na=(0,Fe.Z)(ya,2),ga=Na[0],la=Na[1];Qe(ga,la)})},[Hn]),se.useImperativeHandle(ue,function(){var ya={};return Object.defineProperty(ya,"scrollLeft",{get:function(){var ga;return((ga=On.current)===null||ga===void 0?void 0:ga.getScrollInfo().x)||0},set:function(ga){var la;(la=On.current)===null||la===void 0||la.scrollTo({left:ga})}}),ya});var Ra=function(Na,ga){var la,Da=(la=ta[ga])===null||la===void 0?void 0:la.record,Wa=Na.onCell;if(Wa){var vr,Er=Wa(Da,ga);return(vr=Er==null?void 0:Er.rowSpan)!==null&&vr!==void 0?vr:1}return 1},Qa=function(Na){var ga=Na.start,la=Na.end,Da=Na.getSize,Wa=Na.offsetY;if(la<0)return null;for(var vr=Oe.filter(function(Ca){return Ra(Ca,ga)===0}),Er=ga,Ha=function(Ja){if(vr=vr.filter(function(tr){return Ra(tr,Ja)===0}),!vr.length)return Er=Ja,"break"},Or=ga;Or>=0;Or-=1){var jr=Ha(Or);if(jr==="break")break}for(var Bo=Oe.filter(function(Ca){return Ra(Ca,la)!==1}),mo=la,gi=function(Ja){if(Bo=Bo.filter(function(tr){return Ra(tr,Ja)!==1}),!Bo.length)return mo=Math.max(Ja-1,la),"break"},fi=la;fi<ta.length;fi+=1){var Fr=gi(fi);if(Fr==="break")break}for(var Di=[],na=function(Ja){var tr=ta[Ja];if(!tr)return"continue";Oe.some(function(Ua){return Ra(Ua,Ja)>1})&&Di.push(Ja)},or=Er;or<=mo;or+=1)var Kr=na(or);var Io=Di.map(function(Ca){var Ja=ta[Ca],tr=nt(Ja.record,Ca),Ua=function(Ir){var Ao=Ca+Ir-1,yo=nt(ta[Ao].record,Ao),Bl=Da(tr,yo);return Bl.bottom-Bl.top},po=Da(tr);return se.createElement(Vl,{key:Ca,data:Ja,rowKey:tr,index:Ca,style:{top:-Wa+po.top},extra:!0,getHeight:Ua})});return Io},Ba=se.useMemo(function(){return{columnsOffset:sa}},[sa]),fr="".concat(bt,"-tbody"),Dr;return ta.length?Dr=se.createElement(Rl.Z,{fullHeight:!1,ref:On,className:We()(fr,"".concat(fr,"-virtual")),height:vn,itemHeight:Xn||24,data:ta,itemKey:function(Na){return nt(Na.record)},scrollWidth:ln,onVirtualScroll:function(Na){var ga=Na.x;ye({scrollLeft:ga})},extraRender:Qa},function(ya,Na,ga){var la=nt(ya.record,Na);return se.createElement(Vl,(0,qe.Z)({data:ya,rowKey:la,index:Na},ga))}):Dr=se.createElement("div",{className:We()("".concat(bt,"-placeholder"))},se.createElement(Xt,{component:"div",prefixCls:bt},Lt)),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,Oe=de.className,Qe=de.listItemHeight,nt=he||{},et=nt.x,bt=nt.y;typeof et!="number"&&(et=((ue||[]).length+1)*ad),typeof bt!="number"&&(bt=500);var Tt=se.useMemo(function(){return{scrollY:bt,listItemHeight:Qe}},[bt,Qe]);return se.createElement(Sl.Provider,{value:Tt},se.createElement(Wl,(0,qe.Z)({},de,{className:We()(Oe,"".concat(De,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},he),{},{x:et}),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:Oe,expanded:Qe,expandable:nt}=he;const et=`${ye}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:bt=>{De(Oe,bt),bt.stopPropagation()},className:We()(et,{[`${et}-spaced`]:!nt,[`${et}-expanded`]:nt&&Qe,[`${et}-collapsed`]:nt&&!Qe}),"aria-label":Qe?de.collapse:de.expand,"aria-expanded":Qe})}}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),Re=ee(69677);function ke(de){let{value:ue,onChange:he,filterSearch:ye,tablePrefixCls:De,locale:Oe}=de;return ye?se.createElement("div",{className:`${De}-filter-dropdown-search`},se.createElement(Re.default,{prefix:se.createElement(Pe.Z,null),placeholder:Oe.filterSearchPlaceholder,onChange:he,value:ue,htmlSize:1,className:`${De}-filter-dropdown-search-input`})):null}var it=ke,Ot=ee(92389);const fn=de=>{const{keyCode:ue}=de;ue===Ot.Z.ENTER&&de.stopPropagation()};var ca=se.forwardRef((de,ue)=>se.createElement("div",{className:de.className,onClick:he=>he.stopPropagation(),onKeyDown: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 ma(de){return de.some(ue=>{let{children:he}=ue;return he})}function Ya(de,ue){return typeof ue=="string"||typeof ue=="number"?ue==null?void 0:ue.toString().toLowerCase().includes(de.trim().toLowerCase()):!1}function ha(de){let{filters:ue,prefixCls:he,filteredKeys:ye,filterMultiple:De,searchValue:Oe,filterSearch:Qe}=de;return ue.map((nt,et)=>{const bt=String(nt.value);if(nt.children)return{key:bt||et,label:nt.text,popupClassName:`${he}-dropdown-submenu`,children:ha({filters:nt.children,prefixCls:he,filteredKeys:ye,filterMultiple:De,searchValue:Oe,filterSearch:Qe})};const Tt=De?gd.default:Qd.ZP,Lt={key:nt.value!==void 0?bt:et,label:se.createElement(se.Fragment,null,se.createElement(Tt,{checked:ye.includes(bt)}),se.createElement("span",null,nt.text))};return Oe.trim()?typeof Qe=="function"?Qe(Oe,nt)?Lt:null:Ya(Oe,nt.text)?Lt:null:Lt})}function qa(de){var ue,he;const{tablePrefixCls:ye,prefixCls:De,column:Oe,dropdownPrefixCls:Qe,columnKey:nt,filterMultiple:et,filterMode:bt="menu",filterSearch:Tt=!1,filterState:Lt,triggerFilter:ln,locale:sn,children:vn,getPopupContainer:Xn}=de,{filterDropdownOpen:On,onFilterDropdownOpenChange:ta,filterResetToDefaultFilteredValue:Hn,defaultFilteredValue:sa,filterDropdownVisible:Ra,onFilterDropdownVisibleChange:Qa}=Oe,[Ba,fr]=se.useState(!1),Dr=!!(Lt&&(!((ue=Lt.filteredKeys)===null||ue===void 0)&&ue.length||Lt.forceFiltered)),ya=ir=>{fr(ir),ta==null||ta(ir),Qa==null||Qa(ir)},Na=(he=On!=null?On:Ra)!==null&&he!==void 0?he:Ba,ga=Lt==null?void 0:Lt.filteredKeys,[la,Da]=Md(ga||[]),Wa=ir=>{let{selectedKeys:Ir}=ir;Da(Ir)},vr=(ir,Ir)=>{let{node:Ao,checked:yo}=Ir;Wa(et?{selectedKeys:ir}:{selectedKeys:yo&&Ao.key?[Ao.key]:[]})};se.useEffect(()=>{Ba&&Wa({selectedKeys:ga||[]})},[ga]);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&&(!Lt||!Lt.filteredKeys)||(0,Yd.Z)(Ir,Lt==null?void 0:Lt.filteredKeys,!0))return null;ln({column:Oe,key:nt,filteredKeys:Ir})},fi=()=>{ya(!1),gi(la())},Fr=function(){let{confirm:ir,closeDropdown:Ir}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ir&&gi([]),Ir&&ya(!1),Bo(""),Da(Hn?(sa||[]).map(Ao=>String(Ao)):[])},Di=function(){let{closeDropdown:ir}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ir&&ya(!1),gi(la())},na=ir=>{ir&&ga!==void 0&&Da(ga||[]),ya(ir),!ir&&!Oe.filterDropdown&&fi()},or=We()({[`${Qe}-menu-without-submenu`]:!ma(Oe.filters||[])}),Kr=ir=>{if(ir.target.checked){const Ir=Ea(Oe==null?void 0:Oe.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})},Ca=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=>Ca(Ao)))||[]})};let Ja;if(typeof Oe.filterDropdown=="function")Ja=Oe.filterDropdown({prefixCls:`${Qe}-custom`,setSelectedKeys:ir=>Wa({selectedKeys:ir}),selectedKeys:la(),confirm:Di,clearFilters:Fr,filters:Oe.filters,visible:Na,close:()=>{ya(!1)}});else if(Oe.filterDropdown)Ja=Oe.filterDropdown;else{const ir=la()||[],Ir=()=>(Oe.filters||[]).length===0?se.createElement(od.Z,{image:od.Z.PRESENTED_IMAGE_SIMPLE,description:sn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):bt==="tree"?se.createElement(se.Fragment,null,se.createElement(it,{filterSearch:Tt,value:jr,onChange:mo,tablePrefixCls:ye,locale:sn}),se.createElement("div",{className:`${ye}-filter-dropdown-tree`},et?se.createElement(gd.default,{checked:ir.length===Ea(Oe.filters).length,indeterminate:ir.length>0&&ir.length<Ea(Oe.filters).length,className:`${ye}-filter-dropdown-checkall`,onChange:Kr},sn.filterCheckall):null,se.createElement(Oc.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:et,checkStrictly:!et,className:`${Qe}-menu`,onCheck:vr,checkedKeys:ir,selectedKeys:ir,showIcon:!1,treeData:Io({filters:Oe.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:jr.trim()?yo=>typeof Tt=="function"?Tt(jr,Ca(yo)):Ya(jr,yo.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(it,{filterSearch:Tt,value:jr,onChange:mo,tablePrefixCls:ye,locale:sn}),se.createElement(Fs.default,{selectable:!0,multiple:et,prefixCls:`${Qe}-menu`,className:or,onSelect:Wa,onDeselect:Wa,selectedKeys:ir,getPopupContainer:Xn,openKeys:Er,onOpenChange:Or,items:ha({filters:Oe.filters||[],filterSearch:Tt,prefixCls:De,filteredKeys:la(),filterMultiple:et,searchValue:jr})})),Ao=()=>Hn?(0,Yd.Z)((sa||[]).map(yo=>String(yo)),ir,!0):ir.length===0;Ja=se.createElement(se.Fragment,null,Ir(),se.createElement("div",{className:`${De}-dropdown-btns`},se.createElement(Lc.ZP,{type:"link",size:"small",disabled:Ao(),onClick:()=>Fr()},sn.filterReset),se.createElement(Lc.ZP,{type:"primary",size:"small",onClick:fi},sn.filterConfirm)))}Oe.filterDropdown&&(Ja=se.createElement(Nc.J,{selectable:void 0},Ja));const tr=()=>se.createElement(ca,{className:`${De}-dropdown`},Ja);let Ua;typeof Oe.filterIcon=="function"?Ua=Oe.filterIcon(Dr):Oe.filterIcon?Ua=Oe.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:na,getPopupContainer:Xn,placement:po==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:We()(`${De}-trigger`,{active:Dr}),onClick:ir=>{ir.stopPropagation()}},Ua)))}var za=qa;function pr(de,ue,he){let ye=[];return(de||[]).forEach((De,Oe)=>{var Qe;const nt=cd(Oe,he);if(De.filters||"filterDropdown"in De||"onFilter"in De)if("filteredValue"in De){let et=De.filteredValue;"filterDropdown"in De||(et=(Qe=et==null?void 0:et.map(String))!==null&&Qe!==void 0?Qe:et),ye.push({column:De,key:$s(De,nt),filteredKeys:et,forceFiltered:De.filtered})}else ye.push({column:De,key:$s(De,nt),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,nt))))}),ye}function uo(de,ue,he,ye,De,Oe,Qe,nt){return he.map((et,bt)=>{const Tt=cd(bt,nt),{filterMultiple:Lt=!0,filterMode:ln,filterSearch:sn}=et;let vn=et;if(vn.filters||vn.filterDropdown){const Xn=$s(vn,Tt),On=ye.find(ta=>{let{key:Hn}=ta;return Xn===Hn});vn=Object.assign(Object.assign({},vn),{title:ta=>se.createElement(za,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ue,column:vn,columnKey:Xn,filterState:On,filterMultiple:Lt,filterMode:ln,filterSearch:sn,triggerFilter:Oe,locale:De,getPopupContainer:Qe},ud(et.title,ta))})}return"children"in vn&&(vn=Object.assign(Object.assign({},vn),{children:uo(de,ue,vn.children,ye,De,Oe,Qe,Tt)})),vn})}function eo(de){const ue={};return de.forEach(he=>{let{key:ye,filteredKeys:De,column:Oe}=he;const{filters:Qe,filterDropdown:nt}=Oe;if(nt)ue[ye]=De||null;else if(Array.isArray(De)){const et=Ea(Qe);ue[ye]=et.filter(bt=>De.includes(String(bt)))}else ue[ye]=null}),ue}function So(de,ue){return ue.reduce((he,ye)=>{const{column:{onFilter:De,filters:Oe},filteredKeys:Qe}=ye;return De&&Qe&&Qe.length?he.filter(nt=>Qe.some(et=>{const bt=Ea(Oe),Tt=bt.findIndex(ln=>String(ln)===String(et)),Lt=Tt!==-1?bt[Tt]:et;return De(Lt,nt)})):he},de)}const Ur=de=>de.flatMap(ue=>"children"in ue?[ue].concat((0,qr.Z)(Ur(ue.children||[]))):[ue]);function br(de){let{prefixCls:ue,dropdownPrefixCls:he,mergedColumns:ye,onFilterChange:De,getPopupContainer:Oe,locale:Qe}=de;const nt=se.useMemo(()=>Ur(ye||[]),[ye]),[et,bt]=se.useState(()=>pr(nt,!0)),Tt=se.useMemo(()=>{const vn=pr(nt,!1);if(vn.length===0)return vn;let Xn=!0,On=!0;if(vn.forEach(ta=>{let{filteredKeys:Hn}=ta;Hn!==void 0?Xn=!1:On=!1}),Xn){const ta=(nt||[]).map((Hn,sa)=>$s(Hn,cd(sa)));return et.filter(Hn=>{let{key:sa}=Hn;return ta.includes(sa)}).map(Hn=>{const sa=nt[ta.findIndex(Ra=>Ra===Hn.key)];return Object.assign(Object.assign({},Hn),{column:Object.assign(Object.assign({},Hn.column),sa),forceFiltered:sa.filtered})})}return vn},[nt,et]),Lt=se.useMemo(()=>eo(Tt),[Tt]),ln=vn=>{const Xn=Tt.filter(On=>{let{key:ta}=On;return ta!==vn.key});Xn.push(vn),bt(Xn),De(eo(Xn),Xn)};return[vn=>uo(ue,he,vn,Tt,Qe,ln,Oe),Tt,Lt]}var er=br;function li(de,ue,he){const ye=se.useRef({});function De(Oe){if(!ye.current||ye.current.data!==de||ye.current.childrenColumnName!==ue||ye.current.getRowKey!==he){let nt=function(et){et.forEach((bt,Tt)=>{const Lt=he(bt,Tt);Qe.set(Lt,bt),bt&&typeof bt=="object"&&ue in bt&&nt(bt[ue]||[])})};const Qe=new Map;nt(de),ye.current={data:de,childrenColumnName:ue,kvMap:Qe,getRowKey:he}}return ye.current.kvMap.get(Oe)}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 Oe=de[De];typeof Oe!="function"&&(he[De]=Oe)}),he}function Qo(de,ue,he){const ye=he&&typeof he=="object"?he:{},{total:De=0}=ye,Oe=si(ye,["total"]),[Qe,nt]=(0,se.useState)(()=>({current:"defaultCurrent"in Oe?Oe.defaultCurrent:1,pageSize:"defaultPageSize"in Oe?Oe.defaultPageSize:pi})),et=(0,Ko.Z)(Qe,Oe,{total:De>0?De:de}),bt=Math.ceil((De||de)/et.pageSize);et.current>bt&&(et.current=bt||1);const Tt=(ln,sn)=>{nt({current:ln!=null?ln:1,pageSize:sn||et.pageSize})},Lt=(ln,sn)=>{var vn;he&&((vn=he.onChange)===null||vn===void 0||vn.call(he,ln,sn)),Tt(ln,sn),ue(ln,sn||(et==null?void 0:et.pageSize))};return he===!1?[{},()=>{}]:[Object.assign(Object.assign({},et),{onChange:Lt}),Tt]}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:Oe,onChange:Qe,onSelect:nt,onSelectAll:et,onSelectInvert:bt,onSelectNone:Tt,onSelectMultiple:Lt,columnWidth:ln,type:sn,selections:vn,fixed:Xn,renderCell:On,hideSelectAll:ta,checkStrictly:Hn=!0}=ue||{},{prefixCls:sa,data:Ra,pageData:Qa,getRecordByKey:Ba,getRowKey:fr,expandType:Dr,childrenColumnName:ya,locale:Na,getPopupContainer:ga}=de,[la,Da]=(0,zo.Z)(ye||De||ul,{value:ye}),Wa=se.useRef(new Map),vr=(0,se.useCallback)(Ca=>{if(he){const Ja=new Map;Ca.forEach(tr=>{let Ua=Ba(tr);!Ua&&Wa.current.has(tr)&&(Ua=Wa.current.get(tr)),Ja.set(tr,Ua)}),Wa.current=Ja}},[Ba,he]);se.useEffect(()=>{vr(la)},[la]);const{keyEntities:Er}=(0,se.useMemo)(()=>{if(Hn)return{keyEntities:null};let Ca=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)},[]);Ca=[].concat((0,qr.Z)(Ca),(0,qr.Z)(tr))}return(0,fo.I8)(Ca,{externalGetKey:fr,childrenPropName:ya})},[Ra,fr,Hn,ya,he]),Ha=(0,se.useMemo)(()=>Vi(ya,Qa),[ya,Qa]),Or=(0,se.useMemo)(()=>{const Ca=new Map;return Ha.forEach((Ja,tr)=>{const Ua=fr(Ja,tr),po=(Oe?Oe(Ja):null)||{};Ca.set(Ua,po)}),Ca},[Ha,fr,Oe]),jr=(0,se.useCallback)(Ca=>{var Ja;return!!(!((Ja=Or.get(fr(Ca)))===null||Ja===void 0)&&Ja.disabled)},[Or,fr]),[Bo,mo]=(0,se.useMemo)(()=>{if(Hn)return[la||[],[]];const{checkedKeys:Ca,halfCheckedKeys:Ja}=(0,qo.S)(la,!0,Er,jr);return[Ca||[],Ja]},[la,Hn,Er,jr]),gi=(0,se.useMemo)(()=>{const Ca=sn==="radio"?Bo.slice(0,1):Bo;return new Set(Ca)},[Bo,sn]),fi=(0,se.useMemo)(()=>sn==="radio"?new Set:new Set(mo),[mo,sn]),[Fr,Di]=(0,se.useState)(null);se.useEffect(()=>{ue||Da(ul)},[!!ue]);const na=(0,se.useCallback)((Ca,Ja)=>{let tr,Ua;vr(Ca),he?(tr=Ca,Ua=Ca.map(po=>Wa.current.get(po))):(tr=[],Ua=[],Ca.forEach(po=>{const ir=Ba(po);ir!==void 0&&(tr.push(po),Ua.push(ir))})),Da(tr),Qe==null||Qe(tr,Ua,{type:Ja})},[Da,Ba,Qe,he]),or=(0,se.useCallback)((Ca,Ja,tr,Ua)=>{if(nt){const po=tr.map(ir=>Ba(ir));nt(Ba(Ca),Ja,po,Ua)}na(tr,"single")},[nt,Ba,na]),Kr=(0,se.useMemo)(()=>!vn||ta?null:(vn===!0?[Ii,ko,Gi]:vn).map(Ja=>Ja===Ii?{key:"all",text:Na.selectionAll,onSelect(){na(Ra.map((tr,Ua)=>fr(tr,Ua)).filter(tr=>{const Ua=Or.get(tr);return!(Ua!=null&&Ua.disabled)||gi.has(tr)}),"all")}}:Ja===ko?{key:"invert",text:Na.selectInvert,onSelect(){const tr=new Set(gi);Qa.forEach((po,ir)=>{const Ir=fr(po,ir),Ao=Or.get(Ir);Ao!=null&&Ao.disabled||(tr.has(Ir)?tr.delete(Ir):tr.add(Ir))});const Ua=Array.from(tr);bt&&bt(Ua),na(Ua,"invert")}}:Ja===Gi?{key:"none",text:Na.selectNone,onSelect(){Tt==null||Tt(),na(Array.from(gi).filter(tr=>{const Ua=Or.get(tr);return Ua==null?void 0:Ua.disabled}),"none")}}:Ja).map(Ja=>Object.assign(Object.assign({},Ja),{onSelect:function(){for(var tr,Ua,po=arguments.length,ir=new Array(po),Ir=0;Ir<po;Ir++)ir[Ir]=arguments[Ir];(Ua=Ja.onSelect)===null||Ua===void 0||(tr=Ua).call.apply(tr,[Ja].concat(ir)),Di(null)}})),[vn,gi,Qa,fr,bt,na]);return[(0,se.useCallback)(Ca=>{var Ja;if(!ue)return Ca.filter(Go=>Go!==Gr);let tr=(0,qr.Z)(Ca);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);et==null||et(!ir,Wo.map(te=>Ba(te)),Go.map(te=>Ba(te))),na(Wo,"all"),Di(null)};let yo;if(sn!=="radio"){let Go;if(Kr){const fe={getPopupContainer:ga,items:Kr.map((ve,Ne)=>{const{key:Le,text:Ye,onSelect:Je}=ve;return{key:Le!=null?Le:Ne,onClick:()=>{Je==null||Je(po)},label:Ye}})};Go=se.createElement("div",{className:`${sa}-selection-extra`},se.createElement(Ac.Z,{menu:fe,getPopupContainer:ga},se.createElement("span",null,se.createElement(Si.Z,null))))}const Wo=Ha.map((fe,ve)=>{const Ne=fr(fe,ve),Le=Or.get(Ne)||{};return Object.assign({checked:Ua.has(Ne)},Le)}).filter(fe=>{let{disabled:ve}=fe;return ve}),te=!!Wo.length&&Wo.length===Ha.length,ie=te&&Wo.every(fe=>{let{checked:ve}=fe;return ve}),le=te&&Wo.some(fe=>{let{checked:ve}=fe;return ve});yo=!ta&&se.createElement("div",{className:`${sa}-selection`},se.createElement(gd.default,{checked:te?ie:!!Ha.length&&ir,indeterminate:te?!ie&&le:!ir&&Ir,onChange:Ao,disabled:Ha.length===0||te,"aria-label":Go?"Custom selection":"Select all",skipGroup:!0}),Go)}let Bl;sn==="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:fe=>fe.stopPropagation(),onChange:fe=>{Ua.has(ie)||or(ie,!0,[ie],fe.nativeEvent)}})),checked:le}}:Bl=(Go,Wo,te)=>{var ie;const le=fr(Wo,te),fe=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:fe,skipGroup:!0,onClick:Ye=>Ye.stopPropagation(),onChange:Ye=>{let{nativeEvent:Je}=Ye;const{shiftKey:ct}=Je;let Qt=-1,ft=-1;if(ct&&Hn){const St=new Set([Fr,le]);po.some((Ct,Nt)=>{if(St.has(Ct))if(Qt===-1)Qt=Nt;else return ft=Nt,!0;return!1})}if(ft!==-1&&Qt!==ft&&Hn){const St=po.slice(Qt,ft+1),Ct=[];fe?St.forEach(at=>{Ua.has(at)&&(Ct.push(at),Ua.delete(at))}):St.forEach(at=>{Ua.has(at)||(Ct.push(at),Ua.add(at))});const Nt=Array.from(Ua);Lt==null||Lt(!fe,Nt.map(at=>Ba(at)),Ct.map(at=>Ba(at))),na(Nt,"multiple")}else{const St=Bo;if(Hn){const Ct=fe?(0,Mi._5)(St,le):(0,Mi.L0)(St,le);or(le,!fe,Ct,Je)}else{const Ct=(0,qo.S)([].concat((0,qr.Z)(St),[le]),!0,Er,jr),{checkedKeys:Nt,halfCheckedKeys:at}=Ct;let Et=Nt;if(fe){const nn=new Set(Nt);nn.delete(le),Et=(0,qo.S)(Array.from(nn),{checked:!1,halfCheckedKeys:at},Er,jr).checkedKeys}or(le,!fe,Et,Je)}}Di(fe?null:le)}})),checked:fe}};const Pl=(Go,Wo,te)=>{const{node:ie,checked:le}=Bl(Go,Wo,te);return On?On(le,Wo,te,ie):ie};if(!tr.includes(Gr))if(tr.findIndex(Go=>{var Wo;return((Wo=Go[zr])===null||Wo===void 0?void 0:Wo.columnType)==="EXPAND_COLUMN"})===0){const[Go,...Wo]=tr;tr=[Go,Gr].concat((0,qr.Z)(Wo))}else tr=[Gr].concat((0,qr.Z)(tr));const Os=tr.indexOf(Gr);tr=tr.filter((Go,Wo)=>Go!==Gr||Wo===Os);const Qi=tr[Os-1],hs=tr[Os+1];let xi=Xn;xi===void 0&&((hs==null?void 0:hs.fixed)!==void 0?xi=hs.fixed:(Qi==null?void 0:Qi.fixed)!==void 0&&(xi=Qi.fixed)),xi&&Qi&&((Ja=Qi[zr])===null||Ja===void 0?void 0:Ja.columnType)==="EXPAND_COLUMN"&&Qi.fixed===void 0&&(Qi.fixed=xi);const zl=We()(`${sa}-selection-col`,{[`${sa}-selection-col-with-dropdown`]:vn&&sn==="checkbox"}),Cd={fixed:xi,width:ln,className:`${sa}-selection-column`,title:ue.columnTitle||yo,render:Pl,onCell:ue.onCell,[zr]:{className:zl}};return tr.map(Go=>Go===Gr?Cd:Go)},[fr,Ha,ue,Bo,gi,fi,ln,Kr,Dr,Fr,Or,Lt,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(Oe,Qe){ye.push({column:Oe,key:$s(Oe,Qe),multiplePriority:gl(Oe),sortOrder:Oe.sortOrder})}return(de||[]).forEach((Oe,Qe)=>{const nt=cd(Qe,he);Oe.children?("sortOrder"in Oe&&De(Oe,nt),ye=[].concat((0,qr.Z)(ye),(0,qr.Z)(ll(Oe.children,ue,nt)))):Oe.sorter&&("sortOrder"in Oe?De(Oe,nt):ue&&Oe.defaultSortOrder&&ye.push({column:Oe,key:$s(Oe,nt),multiplePriority:gl(Oe),sortOrder:Oe.defaultSortOrder}))}),ye}function Fi(de,ue,he,ye,De,Oe,Qe,nt){return(ue||[]).map((et,bt)=>{const Tt=cd(bt,nt);let Lt=et;if(Lt.sorter){const ln=Lt.sortDirections||De,sn=Lt.showSorterTooltip===void 0?Qe:Lt.showSorterTooltip,vn=$s(Lt,Tt),Xn=he.find(Dr=>{let{key:ya}=Dr;return ya===vn}),On=Xn?Xn.sortOrder:null,ta=us(ln,On);let Hn;if(et.sortIcon)Hn=et.sortIcon({sortOrder:On});else{const Dr=ln.includes(Ho)&&se.createElement(Nl.Z,{className:We()(`${de}-column-sorter-up`,{active:On===Ho})}),ya=ln.includes(di)&&se.createElement(Oo.Z,{className:We()(`${de}-column-sorter-down`,{active:On===di})});Hn=se.createElement("span",{className:We()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(Dr&&ya)})},se.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},Dr,ya))}const{cancelSort:sa,triggerAsc:Ra,triggerDesc:Qa}=Oe||{};let Ba=sa;ta===di?Ba=Qa:ta===Ho&&(Ba=Ra);const fr=typeof sn=="object"?sn:{title:Ba};Lt=Object.assign(Object.assign({},Lt),{className:We()(Lt.className,{[`${de}-column-sort`]:On}),title:Dr=>{const ya=se.createElement("div",{className:`${de}-column-sorters`},se.createElement("span",{className:`${de}-column-title`},ud(et.title,Dr)),Hn);return sn?se.createElement(Ni.Z,Object.assign({},fr),ya):ya},onHeaderCell:Dr=>{const ya=et.onHeaderCell&&et.onHeaderCell(Dr)||{},Na=ya.onClick,ga=ya.onKeyDown;ya.onClick=Wa=>{ye({column:et,key:vn,sortOrder:ta,multiplePriority:gl(et)}),Na==null||Na(Wa)},ya.onKeyDown=Wa=>{Wa.keyCode===Ot.Z.ENTER&&(ye({column:et,key:vn,sortOrder:ta,multiplePriority:gl(et)}),ga==null||ga(Wa))};const la=Cc(et.title,{}),Da=la==null?void 0:la.toString();return On?ya["aria-sort"]=On==="ascend"?"ascending":"descending":ya["aria-label"]=Da||"",ya.className=We()(ya.className,`${de}-column-has-sorters`),ya.tabIndex=0,et.ellipsis&&(ya.title=(la!=null?la:"").toString()),ya}})}return"children"in Lt&&(Lt=Object.assign(Object.assign({},Lt),{children:Fi(de,Lt.children,he,ye,De,Oe,Qe,Tt)})),Lt})}function El(de){const{column:ue,sortOrder:he}=de;return{column:ue,order:he,field:ue.dataIndex,columnKey:ue.key}}function Yi(de){const ue=de.filter(he=>{let{sortOrder: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((Qe,nt)=>nt.multiplePriority-Qe.multiplePriority),De=de.slice(),Oe=ye.filter(Qe=>{let{column:{sorter:nt},sortOrder:et}=Qe;return Yl(nt)&&et});return Oe.length?De.sort((Qe,nt)=>{for(let et=0;et<Oe.length;et+=1){const bt=Oe[et],{column:{sorter:Tt},sortOrder:Lt}=bt,ln=Yl(Tt);if(ln&&Lt){const sn=ln(Qe,nt,Lt);if(sn!==0)return Lt===Ho?sn:-sn}}return 0}).map(Qe=>{const nt=Qe[he];return nt?Object.assign(Object.assign({},Qe),{[he]:$o(nt,ue,he)}):Qe}):De}function Mr(de){let{prefixCls:ue,mergedColumns:he,onSorterChange:ye,sortDirections:De,tableLocale:Oe,showSorterTooltip:Qe}=de;const[nt,et]=se.useState(ll(he,!0)),bt=se.useMemo(()=>{let vn=!0;const Xn=ll(he,!1);if(!Xn.length)return nt;const On=[];function ta(sa){vn?On.push(sa):On.push(Object.assign(Object.assign({},sa),{sortOrder:null}))}let Hn=null;return Xn.forEach(sa=>{Hn===null?(ta(sa),sa.sortOrder&&(sa.multiplePriority===!1?vn=!1:Hn=!0)):(Hn&&sa.multiplePriority!==!1||(vn=!1),ta(sa))}),On},[he,nt]),Tt=se.useMemo(()=>{const vn=bt.map(Xn=>{let{column:On,sortOrder:ta}=Xn;return{column:On,order:ta}});return{sortColumns:vn,sortColumn:vn[0]&&vn[0].column,sortOrder:vn[0]&&vn[0].order}},[bt]);function Lt(vn){let Xn;vn.multiplePriority===!1||!bt.length||bt[0].multiplePriority===!1?Xn=[vn]:Xn=[].concat((0,qr.Z)(bt.filter(On=>{let{key:ta}=On;return ta!==vn.key})),[vn]),et(Xn),ye(Yi(Xn),Xn)}return[vn=>Fi(ue,vn,bt,Lt,De,Oe,Qe),bt,Tt,()=>Yi(bt)]}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,Oe,Qe)=>({[`&${ue}-${De}`]:{[`> ${ue}-container`]:{[`> ${ue}-content, > ${ue}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`-${Oe}px -${Qe+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:Oe,paddingXS:Qe,lineType:nt,tableBorderColor:et,tableExpandIconBg:bt,tableExpandColumnWidth:Tt,borderRadius:Lt,fontSize:ln,fontSizeSM:sn,lineHeight:vn,tablePaddingVertical:Xn,tablePaddingHorizontal:On,tableExpandedRowBg:ta,paddingXXS:Hn}=de,sa=ye/2-Oe,Ra=sa*2+Oe*3,Qa=`${Oe}px ${nt} ${et}`,Ba=Hn-Oe;return{[`${ue}-wrapper`]:{[`${ue}-expand-icon-col`]:{width:Tt},[`${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:bt,border:Qa,borderRadius:Lt,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:sa,insetInlineEnd:Ba,insetInlineStart:Ba,height:Oe},"&::after":{top:Ba,bottom:Ba,insetInlineStart:sa,width:Oe,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ue}-row-indent + ${ue}-row-expand-icon`]:{marginTop:(ln*vn-Oe*3)/2-Math.ceil((sn*1.4-Oe*3)/2),marginInlineEnd:Qe},[`tr${ue}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ta}},[`${he}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ue}-expanded-row-fixed`]:{position:"relative",margin:`-${Xn}px -${On}px`,padding:`${Xn}px ${On}px`}}}},qd=de=>{const{componentCls:ue,antCls:he,iconCls:ye,tableFilterDropdownWidth:De,tableFilterDropdownSearchWidth:Oe,paddingXXS:Qe,paddingXS:nt,colorText:et,lineWidth:bt,lineType:Tt,tableBorderColor:Lt,tableHeaderIconColor:ln,fontSizeSM:sn,tablePaddingHorizontal:vn,borderRadius:Xn,motionDurationSlow:On,colorTextDescription:ta,colorPrimary:Hn,tableHeaderFilterActiveBg:sa,colorTextDisabled:Ra,tableFilterDropdownBg:Qa,tableFilterDropdownHeight:Ba,controlItemBgHover:fr,controlItemBgActive:Dr,boxShadowSecondary:ya,filterDropdownMenuBg:Na}=de,ga=`${he}-dropdown`,la=`${ue}-filter-dropdown`,Da=`${he}-tree`,Wa=`${bt}px ${Tt} ${Lt}`;return[{[`${ue}-wrapper`]:{[`${ue}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ue}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Qe,marginInline:`${Qe}px ${-vn/2}px`,padding:`0 ${Qe}px`,color:ln,fontSize:sn,borderRadius:Xn,cursor:"pointer",transition:`all ${On}`,"&:hover":{color:ta,background:sa},"&.active":{color:Hn}}}},{[`${he}-dropdown`]:{[la]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{minWidth:De,backgroundColor:Qa,borderRadius:Xn,boxShadow:ya,overflow:"hidden",[`${ga}-menu`]:{maxHeight:Ba,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Na,"&:empty::after":{display:"block",padding:`${nt}px 0`,color:Ra,fontSize:sn,textAlign:"center",content:'"Not Found"'}},[`${la}-tree`]:{paddingBlock:`${nt}px 0`,paddingInline:nt,[Da]:{padding:0},[`${Da}-treenode ${Da}-node-content-wrapper:hover`]:{backgroundColor:fr},[`${Da}-treenode-checkbox-checked ${Da}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Dr}}},[`${la}-search`]:{padding:nt,borderBottom:Wa,"&-input":{input:{minWidth:Oe},[ye]:{color:Ra}}},[`${la}-checkall`]:{width:"100%",marginBottom:Qe,marginInlineStart:Qe},[`${la}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${nt-bt}px ${nt}px`,overflow:"hidden",borderTop:Wa}})}},{[`${he}-dropdown ${la}, ${la}-submenu`]:{[`${he}-checkbox-wrapper + span`]:{paddingInlineStart:nt,color:et},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Zl=de=>{const{componentCls:ue,lineWidth:he,colorSplit:ye,motionDurationSlow:De,zIndexTableFixed:Oe,tableBg:Qe,zIndexTableSticky:nt}=de,et=ye;return{[`${ue}-wrapper`]:{[`
|
|
${ue}-cell-fix-left,
|
|
${ue}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:Oe,background:Qe},[`
|
|
${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:nt+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 ${et}`}},[`
|
|
${ue}-cell-fix-left-first::after,
|
|
${ue}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${et}`},[`${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 ${et}`}},[`
|
|
${ue}-cell-fix-right-first::after,
|
|
${ue}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${et}`}}}}},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:Oe,paddingXS:Qe,tableHeaderIconColor:nt,tableHeaderIconColorHover:et,tableSelectionColumnWidth:bt}=de;return{[`${ue}-wrapper`]:{[`${ue}-selection-col`]:{width:bt,[`&${ue}-selection-col-with-dropdown`]:{width:bt+De+Oe/4}},[`${ue}-bordered ${ue}-selection-col`]:{width:bt+Qe*2,[`&${ue}-selection-col-with-dropdown`]:{width:bt+De+Oe/4+Qe*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:nt,fontSize:De,verticalAlign:"baseline","&:hover":{color:et}}}}}},Sd=de=>{const{componentCls:ue}=de,he=(ye,De,Oe,Qe)=>({[`${ue}${ue}-${ye}`]:{fontSize:Qe,[`
|
|
${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 ${Oe}px`},[`${ue}-filter-trigger`]:{marginInlineEnd:`-${Oe/2}px`},[`${ue}-expanded-row-fixed`]:{margin:`-${De}px -${Oe}px`},[`${ue}-tbody`]:{[`${ue}-wrapper:only-child ${ue}`]:{marginBlock:`-${De}px`,marginInline:`${de.tableExpandColumnWidth-Oe}px -${Oe}px`}},[`${ue}-selection-column`]:{paddingInlineStart:`${Oe/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:Oe}=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:Oe}}}},ks=de=>{const{componentCls:ue,opacityLoading:he,tableScrollThumbBg:ye,tableScrollThumbBgHover:De,tableScrollThumbSize:Oe,tableScrollBg:Qe,zIndexTableSticky:nt,stickyScrollBarBorderRadius:et}=de,bt=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`;return{[`${ue}-wrapper`]:{[`${ue}-sticky`]:{"&-holder":{position:"sticky",zIndex:nt,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Oe}px !important`,zIndex:nt,display:"flex",alignItems:"center",background:Qe,borderTop:bt,opacity:he,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Oe,backgroundColor:ye,borderRadius:et,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:Oe,lineType:Qe,tableBorderColor:nt,tableFontSize:et,tableBg:bt,tableRadius:Tt,tableHeaderTextColor:Lt,motionDurationMid:ln,tableHeaderBg:sn,tableHeaderCellSplitColor:vn,tableRowHoverBg:Xn,tableSelectedRowBg:On,tableSelectedRowHoverBg:ta,tableFooterTextColor:Hn,tableFooterBg:sa,paddingContentVerticalLG:Ra}=de,Qa=`${Oe}px ${Qe} ${nt}`;return{[`${ue}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[ue]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{fontSize:et,background:bt,borderRadius:`${Tt}px ${Tt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Tt}px ${Tt}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:Lt,fontWeight:he,textAlign:"start",background:sn,borderBottom:Qa,transition:`background ${ln} 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 ${ln}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ue}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${ln}, border-color ${ln}`,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:Lt,fontWeight:he,textAlign:"start",background:sn,borderBottom:Qa,transition:`background ${ln} ease`},[`
|
|
&${ue}-row:hover > th,
|
|
&${ue}-row:hover > td,
|
|
> th${ue}-cell-row-hover,
|
|
> td${ue}-cell-row-hover
|
|
`]:{background:Xn},[`&${ue}-row-selected`]:{"> th, > td":{background:On},"&:hover > th, &:hover > td":{background:ta}}}},[`${ue}-footer`]:{padding:`${ye}px ${De}px`,color:Hn,background:sa}})}};var Qs=(0,fd.Z)("Table",de=>{const{colorTextHeading:ue,colorSplit:he,colorIcon:ye,colorIconHover:De,opacityLoading:Oe,colorBgContainer:Qe,controlInteractiveSize:nt,headerBg:et,headerColor:bt,headerSortActiveBg:Tt,headerSortHoverBg:Lt,bodySortBg:ln,rowHoverBg:sn,rowSelectedBg:vn,rowSelectedHoverBg:Xn,rowExpandedBg:On,cellPaddingBlock:ta,cellPaddingInline:Hn,cellPaddingBlockMD:sa,cellPaddingInlineMD:Ra,cellPaddingBlockSM:Qa,cellPaddingInlineSM:Ba,borderColor:fr,footerBg:Dr,footerColor:ya,headerBorderRadius:Na,cellFontSize:ga,cellFontSizeMD:la,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:ga,tableBg:Qe,tableRadius:Na,tablePaddingVertical:ta,tablePaddingHorizontal:Hn,tablePaddingVerticalMiddle:sa,tablePaddingHorizontalMiddle:Ra,tablePaddingVerticalSmall:Qa,tablePaddingHorizontalSmall:Ba,tableBorderColor:fr,tableHeaderTextColor:bt,tableHeaderBg:et,tableFooterTextColor:ya,tableFooterBg:Dr,tableHeaderCellSplitColor:Wa,tableHeaderSortBg:Tt,tableHeaderSortHoverBg:Lt,tableHeaderIconColor:mo.clone().setAlpha(mo.getAlpha()*Oe).toRgbString(),tableHeaderIconColorHover:gi.clone().setAlpha(gi.getAlpha()*Oe).toRgbString(),tableBodySortBg:ln,tableFixedHeaderSortActiveBg:vr,tableHeaderFilterActiveBg:Er,tableFilterDropdownBg:Ha,tableRowHoverBg:sn,tableSelectedRowBg:vn,tableSelectedRowHoverBg:Xn,zIndexTableFixed:fi,zIndexTableSticky:fi+1,tableFontSizeMiddle:la,tableFontSizeSmall:Da,tableSelectionColumnWidth:jr,tableExpandIconBg:Or,tableExpandColumnWidth:nt+2*de.padding,tableExpandedRowBg:On,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:Oe,controlItemBgActive:Qe,controlItemBgActiveHover:nt,padding:et,paddingSM:bt,paddingXS:Tt,colorBorderSecondary:Lt,borderRadiusLG:ln,fontSize:sn,controlHeight:vn,colorTextPlaceholder:Xn}=de,On=new _l.C(De).onBackground(he).toHexShortString(),ta=new _l.C(Oe).onBackground(he).toHexShortString(),Hn=new _l.C(ue).onBackground(he).toHexShortString();return{headerBg:Hn,headerColor:ye,headerSortActiveBg:On,headerSortHoverBg:ta,bodySortBg:Hn,rowHoverBg:Hn,rowSelectedBg:Qe,rowSelectedHoverBg:nt,rowExpandedBg:ue,cellPaddingBlock:et,cellPaddingInline:et,cellPaddingBlockMD:bt,cellPaddingInlineMD:Tt,cellPaddingBlockSM:Tt,cellPaddingInlineSM:Tt,borderColor:Lt,headerBorderRadius:ln,footerBg:Hn,footerColor:ye,cellFontSize:sn,cellFontSizeMD:sn,cellFontSizeSM:sn,headerSplitColor:Lt,fixedHeaderSortActiveBg:On,headerFilterHoverBg:Oe,filterDropdownMenuBg:he,filterDropdownBg:he,expandIconBg:he,selectionColumnWidth:vn,stickyScrollBarBg:Xn,stickyScrollBarBorderRadius:100}});const Js=[],bd=(de,ue)=>{const{prefixCls:he,className:ye,rootClassName:De,style:Oe,size:Qe,bordered:nt,dropdownPrefixCls:et,dataSource:bt,pagination:Tt,rowSelection:Lt,rowKey:ln="key",rowClassName:sn,columns:vn,children:Xn,childrenColumnName:On,onChange:ta,getPopupContainer:Hn,loading:sa,expandIcon:Ra,expandable:Qa,expandedRowRender:Ba,expandIconColumnIndex:fr,indentSize:Dr,scroll:ya,sortDirections:Na,locale:ga,showSorterTooltip:la=!0,virtual:Da}=de,Wa=se.useMemo(()=>vn||wi(Xn),[vn,Xn]),vr=se.useMemo(()=>Wa.some(on=>on.responsive),[Wa]),Er=(0,Ks.Z)(vr),Ha=se.useMemo(()=>{const on=new Set(Object.keys(Er).filter(cn=>Er[cn]));return Wa.filter(cn=>!cn.responsive||cn.responsive.some(wa=>on.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)(Qe),na=Object.assign(Object.assign({},jr.Table),ga),or=bt||Js,Kr=fi("table",he),Io=fi("dropdown",et),Ca=Object.assign({childrenColumnName:On,expandIconColumnIndex:fr},Qa),{childrenColumnName:Ja="children"}=Ca,tr=se.useMemo(()=>or.some(on=>on==null?void 0:on[Ja])?"nest":Ba||Qa&&Qa.expandedRowRender?"row":null,[or]),Ua={body:se.useRef()},po=se.useMemo(()=>typeof ln=="function"?ln:on=>on==null?void 0:on[ln],[ln]),[ir]=li(or,Ja,po),Ir={},Ao=function(on,cn){let wa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var aa,La,fa;const nr=Object.assign(Object.assign({},Ir),on);wa&&((aa=Ir.resetPagination)===null||aa===void 0||aa.call(Ir),!((La=nr.pagination)===null||La===void 0)&&La.current&&(nr.pagination.current=1),Tt&&Tt.onChange&&Tt.onChange(1,(fa=nr.pagination)===null||fa===void 0?void 0:fa.pageSize)),ya&&ya.scrollToFirstRowOnChange!==!1&&Ua.body.current&&(0,ds.Z)(0,{getContainer:()=>Ua.body.current}),ta==null||ta(nr.pagination,nr.filters,nr.sorter,{currentDataSource:So($o(or,nr.sorterStates,Ja),nr.filterStates),action:cn})},yo=(on,cn)=>{Ao({sorter:on,sorterStates:cn},"sort",!1)},[Bl,Pl,Os,Qi]=Mr({prefixCls:Kr,mergedColumns:Ha,onSorterChange:yo,sortDirections:Na||["ascend","descend"],tableLocale:na,showSorterTooltip:la}),hs=se.useMemo(()=>$o(or,Pl,Ja),[or,Pl]);Ir.sorter=Qi(),Ir.sorterStates=Pl;const xi=(on,cn)=>{Ao({filters:on,filterStates:cn},"filter",!0)},[zl,Cd,Go]=er({prefixCls:Kr,locale:na,dropdownPrefixCls:Io,mergedColumns:Ha,onFilterChange:xi,getPopupContainer:Hn||Fr}),Wo=So(hs,Cd);Ir.filters=Go,Ir.filterStates=Cd;const te=se.useMemo(()=>{const on={};return Object.keys(Go).forEach(cn=>{Go[cn]!==null&&(on[cn]=Go[cn])}),Object.assign(Object.assign({},Os),{filters:on})},[Os,Go]),[ie]=Dl(te),le=(on,cn)=>{Ao({pagination:Object.assign(Object.assign({},Ir.pagination),{current:on,pageSize:cn})},"paginate")},[fe,ve]=Po(Wo.length,le,Tt);Ir.pagination=Tt===!1?{}:Ui(fe,Tt),Ir.resetPagination=ve;const Ne=se.useMemo(()=>{if(Tt===!1||!fe.pageSize)return Wo;const{current:on=1,total:cn,pageSize:wa=pi}=fe;return Wo.length<cn?Wo.length>wa?Wo.slice((on-1)*wa,on*wa):Wo:Wo.slice((on-1)*wa,on*wa)},[!!Tt,Wo,fe&&fe.current,fe&&fe.pageSize,fe&&fe.total]),[Le,Ye]=Tl({prefixCls:Kr,data:Wo,pageData:Ne,getRowKey:po,getRecordByKey:ir,expandType:tr,childrenColumnName:Ja,locale:na,getPopupContainer:Hn||Fr},Lt),Je=(on,cn,wa)=>{let aa;return typeof sn=="function"?aa=We()(sn(on,cn,wa)):aa=We()(sn),We()({[`${Kr}-row-selected`]:Ye.has(po(on,cn))},aa)};Ca.__PARENT_RENDER_ICON__=Ca.expandIcon,Ca.expandIcon=Ca.expandIcon||Ra||bc(na),tr==="nest"&&Ca.expandIconColumnIndex===void 0?Ca.expandIconColumnIndex=Lt?1:0:Ca.expandIconColumnIndex>0&&Lt&&(Ca.expandIconColumnIndex-=1),typeof Ca.indentSize!="number"&&(Ca.indentSize=typeof Dr=="number"?Dr:15);const ct=se.useCallback(on=>ie(Le(zl(Bl(on)))),[Bl,zl,Le]);let Qt,ft;if(Tt!==!1&&(fe!=null&&fe.total)){let on;fe.size?on=fe.size:on=Di==="small"||Di==="middle"?"small":void 0;const cn=La=>se.createElement(rd.Z,Object.assign({},fe,{className:We()(`${Kr}-pagination ${Kr}-pagination-${La}`,fe.className),size:on})),wa=Bo==="rtl"?"left":"right",{position:aa}=fe;if(aa!==null&&Array.isArray(aa)){const La=aa.find(wr=>wr.includes("top")),fa=aa.find(wr=>wr.includes("bottom")),nr=aa.every(wr=>`${wr}`=="none");!La&&!fa&&!nr&&(ft=cn(wa)),La&&(Qt=cn(La.toLowerCase().replace("top",""))),fa&&(ft=cn(fa.toLowerCase().replace("bottom","")))}else ft=cn(wa)}let St;typeof sa=="boolean"?St={spinning:sa}:typeof sa=="object"&&(St=Object.assign({spinning:!0},sa));const[Ct,Nt]=Qs(Kr),[,at]=(0,yc.Z)(),Et=We()(`${Kr}-wrapper`,mo==null?void 0:mo.className,{[`${Kr}-wrapper-rtl`]:Bo==="rtl"},ye,De,Nt),nn=Object.assign(Object.assign({},mo==null?void 0:mo.style),Oe),Mn=ga&&ga.emptyText||(gi==null?void 0:gi("Table"))||se.createElement(js.Z,{componentName:"Table"}),gn=Da?xs:gs,dn={},qn=se.useMemo(()=>{const{fontSize:on,lineHeight:cn,padding:wa,paddingXS:aa,paddingSM:La}=at,fa=Math.floor(on*cn);switch(Di){case"large":return wa*2+fa;case"small":return aa*2+fa;default:return La*2+fa}},[at,Di]);return Da&&(dn.listItemHeight=qn),Ct(se.createElement("div",{ref:ue,className:Et,style:nn},se.createElement(Ms.Z,Object.assign({spinning:!1},St),Qt,se.createElement(gn,Object.assign({},dn,Or,{columns:Ha,direction:Bo,expandable:Ca,prefixCls:Kr,className:We()({[`${Kr}-middle`]:Di==="middle",[`${Kr}-small`]:Di==="small",[`${Kr}-bordered`]:nt,[`${Kr}-empty`]:or.length===0}),data:Ne,rowKey:po,rowClassName:Je,emptyText:Mn,internalHooks:me,internalRefs:Ua,transformColumns:ct})),ft)))};var Td=se.forwardRef(bd);const Ps=(de,ue)=>{const he=se.useRef(0);return he.current+=1,se.createElement(Td,Object.assign({},de,{ref:ue,_renderTimes:he.current}))},ns=se.forwardRef(Ps);ns.SELECTION_COLUMN=Gr,ns.EXPAND_COLUMN=ae,ns.SELECTION_ALL=Ii,ns.SELECTION_INVERT=ko,ns.SELECTION_NONE=Gi,ns.Column=Ci,ns.ColumnGroup=ql,ns.Summary=Ue;var Jl=ns,Xs=Jl},79870:function(vt,wt,ee){"use strict";ee.d(wt,{default:function(){return kr}});var ae=ee(87462),me=ee(4942),Fe=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(At){var en=At.keyCode;if(At.altKey&&!At.ctrlKey||At.metaKey||en>=Ee.F1&&en<=Ee.F12)return!1;switch(en){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(At){if(At>=Ee.ZERO&&At<=Ee.NINE||At>=Ee.NUM_ZERO&&At<=Ee.NUM_MULTIPLY||At>=Ee.A&&At<=Ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&At===0)return!0;switch(At){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,a=ee(34952),y=ee(72978),x=ee(67294),b=ee(69610);function E(mt){var At=mt.dropPosition,en=mt.dropLevelOffset,Ae=mt.indent,Yt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(At){case-1:Yt.top=0,Yt.left=-en*Ae;break;case 1:Yt.bottom=0,Yt.left=-en*Ae;break;case 0:Yt.bottom=0,Yt.left=Ae;break}return x.createElement("div",{style:Yt})}var z=ee(36459),re=ee(97685),oe=ee(45987);function ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ge=ne()?x.useLayoutEffect:x.useEffect,pe=ge,we=function(At,en){var Ae=React.useRef(!0);ge(function(){if(!Ae.current)return At()},en),ge(function(){return Ae.current=!1,function(){Ae.current=!0}},[])},be=ee(73299),xe=ee(73935);function Se(mt){return mt instanceof HTMLElement||mt instanceof SVGElement}function ut(mt){return Se(mt)?mt:mt instanceof x.Component?xe.findDOMNode(mt):null}var We=ee(28580);function Kt(mt,At,en){var Ae=React.useRef({});return(!("value"in Ae.current)||en(Ae.current.condition,At))&&(Ae.current.value=mt(),Ae.current.condition=At),Ae.current.value}function Xe(mt,At){typeof mt=="function"?mt(At):(0,Fe.Z)(mt)==="object"&&mt&&"current"in mt&&(mt.current=At)}function st(){for(var mt=arguments.length,At=new Array(mt),en=0;en<mt;en++)At[en]=arguments[en];var Ae=At.filter(function(Yt){return Yt});return Ae.length<=1?Ae[0]:function(Yt){At.forEach(function(Bn){Xe(Bn,Yt)})}}function xt(){for(var mt=arguments.length,At=new Array(mt),en=0;en<mt;en++)At[en]=arguments[en];return useMemo(function(){return st.apply(void 0,At)},At,function(Ae,Yt){return Ae.length===Yt.length&&Ae.every(function(Bn,Nn){return Bn===Yt[Nn]})})}function It(mt){var At,en,Ae=(0,We.isMemo)(mt)?mt.type.type:mt.type;return!(typeof Ae=="function"&&!((At=Ae.prototype)!==null&&At!==void 0&&At.render)||typeof mt=="function"&&!((en=mt.prototype)!==null&&en!==void 0&&en.render))}function Gt(mt,At){var en={};return en[mt.toLowerCase()]=At.toLowerCase(),en["Webkit".concat(mt)]="webkit".concat(At),en["Moz".concat(mt)]="moz".concat(At),en["ms".concat(mt)]="MS".concat(At),en["O".concat(mt)]="o".concat(At.toLowerCase()),en}function ht(mt,At){var en={animationend:Gt("Animation","AnimationEnd"),transitionend:Gt("Transition","TransitionEnd")};return mt&&("AnimationEvent"in At||delete en.animationend.animation,"TransitionEvent"in At||delete en.transitionend.transition),en}var Zt=ht(ne(),typeof window!="undefined"?window:{}),an={};if(ne()){var hn=document.createElement("div");an=hn.style}var $e={};function Pt(mt){if($e[mt])return $e[mt];var At=Zt[mt];if(At)for(var en=Object.keys(At),Ae=en.length,Yt=0;Yt<Ae;Yt+=1){var Bn=en[Yt];if(Object.prototype.hasOwnProperty.call(At,Bn)&&Bn in an)return $e[mt]=At[Bn],$e[mt]}return""}var Ft=Pt("animationend"),Kn=Pt("transitionend"),rt=!!(Ft&&Kn),Bt=Ft||"animationend",Ce=Kn||"transitionend";function yn(mt,At){if(!mt)return null;if((0,Fe.Z)(mt)==="object"){var en=At.replace(/-\w/g,function(Ae){return Ae[1].toUpperCase()});return mt[en]}return"".concat(mt,"-").concat(At)}var bn="none",pa="appear",$n="enter",Jt="leave",Ge="none",Me="prepare",pt="start",zt="active",Xt="end";function wn(mt){var At=x.useRef(!1),en=x.useState(mt),Ae=(0,re.Z)(en,2),Yt=Ae[0],Bn=Ae[1];x.useEffect(function(){return At.current=!1,function(){At.current=!0}},[]);function Nn(yt,Ht){Ht&&At.current||Bn(yt)}return[Yt,Nn]}var Yn=function(At){return+setTimeout(At,16)},qt=function(At){return clearTimeout(At)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Yn=function(At){return window.requestAnimationFrame(At)},qt=function(At){return window.cancelAnimationFrame(At)});var Ut=0,_n=new Map;function Ie(mt){_n.delete(mt)}var tt=function(At){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ut+=1;var Ae=Ut;function Yt(Bn){if(Bn===0)Ie(Ae),At();else{var Nn=Yn(function(){Yt(Bn-1)});_n.set(Ae,Nn)}}return Yt(en),Ae};tt.cancel=function(mt){var At=_n.get(mt);return Ie(At),qt(At)};var Qn=tt,Fn=function(){var mt=x.useRef(null);function At(){Qn.cancel(mt.current)}function en(Ae){var Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;At();var Bn=Qn(function(){Yt<=1?Ae({isCanceled:function(){return Bn!==mt.current}}):en(Ae,Yt-1)});mt.current=Bn}return x.useEffect(function(){return function(){At()}},[]),[en,At]},dt=ne()?x.useLayoutEffect:x.useEffect,rn=dt,Ue=[Me,pt,zt,Xt],gt=!1,Mt=!0;function Wt(mt){return mt===zt||mt===Xt}var Rt=function(mt,At){var en=wn(Ge),Ae=(0,re.Z)(en,2),Yt=Ae[0],Bn=Ae[1],Nn=Fn(),yt=(0,re.Z)(Nn,2),Ht=yt[0],kt=yt[1];function In(){Bn(Me,!0)}return rn(function(){if(Yt!==Ge&&Yt!==Xt){var da=Ue.indexOf(Yt),xa=Ue[da+1],Sa=At(Yt);Sa===gt?Bn(xa,!0):Ht(function(Ia){function rr(){Ia.isCanceled()||Bn(xa,!0)}Sa===!0?rr():Promise.resolve(Sa).then(rr)})}},[mt,Yt]),x.useEffect(function(){return function(){kt()}},[]),[In,Yt]},Cn=function(mt){var At=(0,x.useRef)(),en=(0,x.useRef)(mt);en.current=mt;var Ae=x.useCallback(function(Nn){en.current(Nn)},[]);function Yt(Nn){Nn&&(Nn.removeEventListener(Ce,Ae),Nn.removeEventListener(Bt,Ae))}function Bn(Nn){At.current&&At.current!==Nn&&Yt(At.current),Nn&&Nn!==At.current&&(Nn.addEventListener(Ce,Ae),Nn.addEventListener(Bt,Ae),At.current=Nn)}return x.useEffect(function(){return function(){Yt(At.current)}},[]),[Bn,Yt]};function ra(mt,At,en,Ae){var Yt=Ae.motionEnter,Bn=Yt===void 0?!0:Yt,Nn=Ae.motionAppear,yt=Nn===void 0?!0:Nn,Ht=Ae.motionLeave,kt=Ht===void 0?!0:Ht,In=Ae.motionDeadline,da=Ae.motionLeaveImmediately,xa=Ae.onAppearPrepare,Sa=Ae.onEnterPrepare,Ia=Ae.onLeavePrepare,rr=Ae.onAppearStart,Ln=Ae.onEnterStart,Dt=Ae.onLeaveStart,Sn=Ae.onAppearActive,En=Ae.onEnterActive,ia=Ae.onLeaveActive,Fa=Ae.onAppearEnd,Xa=Ae.onEnterEnd,yr=Ae.onLeaveEnd,sr=Ae.onVisibleChanged,ea=wn(),ba=(0,re.Z)(ea,2),Pa=ba[0],Za=ba[1],dr=wn(bn),Hr=(0,re.Z)(dr,2),ro=Hr[0],Eo=Hr[1],wo=wn(null),Lo=(0,re.Z)(wo,2),Oi=Lo[0],xl=Lo[1],Wl=(0,x.useRef)(!1),Rl=(0,x.useRef)(null);function Sl(){return en()}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===pa&&il?Ds=Fa==null?void 0:Fa(Ai,bi):ro===$n&&il?Ds=Xa==null?void 0:Xa(Ai,bi):ro===Jt&&il&&(Ds=yr==null?void 0:yr(Ai,bi)),ro!==bn&&il&&Ds!==!1&&(Eo(bn,!0),xl(null,!0))}}var Ul=Cn(is),ls=(0,re.Z)(Ul,1),zs=ls[0],kl=x.useMemo(function(){var bi,Ai,il;switch(ro){case pa:return bi={},(0,me.Z)(bi,Me,xa),(0,me.Z)(bi,pt,rr),(0,me.Z)(bi,zt,Sn),bi;case $n:return Ai={},(0,me.Z)(Ai,Me,Sa),(0,me.Z)(Ai,pt,Ln),(0,me.Z)(Ai,zt,En),Ai;case Jt:return il={},(0,me.Z)(il,Me,Ia),(0,me.Z)(il,pt,Dt),(0,me.Z)(il,zt,ia),il;default:return{}}},[ro]),Hs=Rt(ro,function(bi){if(bi===Me){var Ai=kl[Me];return Ai?Ai(Sl()):gt}if(Ol in kl){var il;xl(((il=kl[Ol])===null||il===void 0?void 0:il.call(kl,Sl(),null))||null)}return Ol===zt&&(zs(Sl()),In>0&&(clearTimeout(Rl.current),Rl.current=setTimeout(function(){is({deadline:!0})},In))),Mt}),Vl=(0,re.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=Wt(Ol);Li.current=Gs,rn(function(){Za(At);var bi=Wl.current;if(Wl.current=!0,!!mt){var Ai;!bi&&At&&yt&&(Ai=pa),bi&&At&&Bn&&(Ai=$n),(bi&&!At&&kt||!bi&&da&&!At&&kt)&&(Ai=Jt),Ai&&(Eo(Ai),Dd())}},[At]),(0,x.useEffect)(function(){(ro===pa&&!yt||ro===$n&&!Bn||ro===Jt&&!kt)&&Eo(bn)},[yt,Bn,kt]),(0,x.useEffect)(function(){return function(){Wl.current=!1,clearTimeout(Rl.current)}},[]);var ps=x.useRef(!1);(0,x.useEffect)(function(){Pa&&(ps.current=!0),Pa!==void 0&&ro===bn&&((ps.current||Pa)&&(sr==null||sr(Pa)),ps.current=!0)},[Pa,ro]);var ad=Oi;return kl[Me]&&Ol===pt&&(ad=(0,ze.Z)({transition:"none"},ad)),[ro,Ol,ad,Pa!=null?Pa:At]}var Vn=function(mt){(0,je.Z)(en,mt);var At=(0,He.Z)(en);function en(){return(0,Te.Z)(this,en),At.apply(this,arguments)}return(0,se.Z)(en,[{key:"render",value:function(){return this.props.children}}]),en}(x.Component),Gn=Vn;function Ga(mt){var At=mt;(0,Fe.Z)(mt)==="object"&&(At=mt.transitionSupport);function en(Yt){return!!(Yt.motionName&&At)}var Ae=x.forwardRef(function(Yt,Bn){var Nn=Yt.visible,yt=Nn===void 0?!0:Nn,Ht=Yt.removeOnLeave,kt=Ht===void 0?!0:Ht,In=Yt.forceRender,da=Yt.children,xa=Yt.motionName,Sa=Yt.leavedClassName,Ia=Yt.eventProps,rr=en(Yt),Ln=(0,x.useRef)(),Dt=(0,x.useRef)();function Sn(){try{return Ln.current instanceof HTMLElement?Ln.current:ut(Dt.current)}catch(wo){return null}}var En=ra(rr,yt,Sn,Yt),ia=(0,re.Z)(En,4),Fa=ia[0],Xa=ia[1],yr=ia[2],sr=ia[3],ea=x.useRef(sr);sr&&(ea.current=!0);var ba=x.useCallback(function(wo){Ln.current=wo,Xe(Bn,wo)},[Bn]),Pa,Za=(0,ze.Z)((0,ze.Z)({},Ia),{},{visible:yt});if(!da)Pa=null;else if(Fa===bn||!en(Yt))sr?Pa=da((0,ze.Z)({},Za),ba):!kt&&ea.current&&Sa?Pa=da((0,ze.Z)((0,ze.Z)({},Za),{},{className:Sa}),ba):In||!kt&&!Sa?Pa=da((0,ze.Z)((0,ze.Z)({},Za),{},{style:{display:"none"}}),ba):Pa=null;else{var dr,Hr;Xa===Me?Hr="prepare":Wt(Xa)?Hr="active":Xa===pt&&(Hr="start"),Pa=da((0,ze.Z)((0,ze.Z)({},Za),{},{className:Ke()(yn(xa,Fa),(dr={},(0,me.Z)(dr,yn(xa,"".concat(Fa,"-").concat(Hr)),Hr),(0,me.Z)(dr,xa,typeof xa=="string"),dr)),style:yr}),ba)}if(x.isValidElement(Pa)&&It(Pa)){var ro=Pa,Eo=ro.ref;Eo||(Pa=x.cloneElement(Pa,{ref:ba}))}return x.createElement(Gn,{ref:Dt},Pa)});return Ae.displayName="CSSMotion",Ae}var oa=Ga(rt),ja="add",Pr="keep",Tr="remove",Xr="removed";function Rr(mt){var At;return mt&&(0,Fe.Z)(mt)==="object"&&"key"in mt?At=mt:At={key:mt},(0,ze.Z)((0,ze.Z)({},At),{},{key:String(At.key)})}function Br(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return mt.map(Rr)}function to(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],en=[],Ae=0,Yt=At.length,Bn=Br(mt),Nn=Br(At);Bn.forEach(function(kt){for(var In=!1,da=Ae;da<Yt;da+=1){var xa=Nn[da];if(xa.key===kt.key){Ae<da&&(en=en.concat(Nn.slice(Ae,da).map(function(Sa){return(0,ze.Z)((0,ze.Z)({},Sa),{},{status:ja})})),Ae=da),en.push((0,ze.Z)((0,ze.Z)({},xa),{},{status:Pr})),Ae+=1,In=!0;break}}In||en.push((0,ze.Z)((0,ze.Z)({},kt),{},{status:Tr}))}),Ae<Yt&&(en=en.concat(Nn.slice(Ae).map(function(kt){return(0,ze.Z)((0,ze.Z)({},kt),{},{status:ja})})));var yt={};en.forEach(function(kt){var In=kt.key;yt[In]=(yt[In]||0)+1});var Ht=Object.keys(yt).filter(function(kt){return yt[kt]>1});return Ht.forEach(function(kt){en=en.filter(function(In){var da=In.key,xa=In.status;return da!==kt||xa!==Tr}),en.forEach(function(In){In.key===kt&&(In.status=Pr)})}),en}var lo=["component","children","onVisibleChanged","onAllRemoved"],gr=["status"],Pn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Zn(mt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oa,en=function(Ae){(0,je.Z)(Bn,Ae);var Yt=(0,He.Z)(Bn);function Bn(){var Nn;(0,Te.Z)(this,Bn);for(var yt=arguments.length,Ht=new Array(yt),kt=0;kt<yt;kt++)Ht[kt]=arguments[kt];return Nn=Yt.call.apply(Yt,[this].concat(Ht)),(0,me.Z)((0,Ze.Z)(Nn),"state",{keyEntities:[]}),(0,me.Z)((0,Ze.Z)(Nn),"removeKey",function(In){var da=Nn.state.keyEntities,xa=da.map(function(Sa){return Sa.key!==In?Sa:(0,ze.Z)((0,ze.Z)({},Sa),{},{status:Xr})});return Nn.setState({keyEntities:xa}),xa.filter(function(Sa){var Ia=Sa.status;return Ia!==Xr}).length}),Nn}return(0,se.Z)(Bn,[{key:"render",value:function(){var yt=this,Ht=this.state.keyEntities,kt=this.props,In=kt.component,da=kt.children,xa=kt.onVisibleChanged,Sa=kt.onAllRemoved,Ia=(0,oe.Z)(kt,lo),rr=In||x.Fragment,Ln={};return Pn.forEach(function(Dt){Ln[Dt]=Ia[Dt],delete Ia[Dt]}),delete Ia.keys,x.createElement(rr,Ia,Ht.map(function(Dt){var Sn=Dt.status,En=(0,oe.Z)(Dt,gr),ia=Sn===ja||Sn===Pr;return x.createElement(At,(0,ae.Z)({},Ln,{key:En.key,visible:ia,eventProps:En,onVisibleChanged:function(Xa){if(xa==null||xa(Xa,{key:En.key}),!Xa){var yr=yt.removeKey(En.key);yr===0&&Sa&&Sa()}}}),da)}))}}],[{key:"getDerivedStateFromProps",value:function(yt,Ht){var kt=yt.keys,In=Ht.keyEntities,da=Br(kt),xa=to(In,da);return{keyEntities:xa.filter(function(Sa){var Ia=In.find(function(rr){var Ln=rr.key;return Sa.key===Ln});return!(Ia&&Ia.status===Xr&&Sa.status===Tr)})}}}]),Bn}(x.Component);return(0,me.Z)(en,"defaultProps",{component:"div"}),en}var An=Zn(rt),Dn=oa,Oa=ee(56261);function Ar(mt,At){var en=x.useState(!1),Ae=(0,re.Z)(en,2),Yt=Ae[0],Bn=Ae[1];x.useLayoutEffect(function(){if(Yt)return mt(),function(){At()}},[Yt]),x.useLayoutEffect(function(){return Bn(!0),function(){Bn(!1)}},[])}var zn=ee(83898),_e=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],lt=function(At,en){var Ae=At.className,Yt=At.style,Bn=At.motion,Nn=At.motionNodes,yt=At.motionType,Ht=At.onMotionStart,kt=At.onMotionEnd,In=At.active,da=At.treeNodeRequiredProps,xa=(0,oe.Z)(At,_e),Sa=x.useState(!0),Ia=(0,re.Z)(Sa,2),rr=Ia[0],Ln=Ia[1],Dt=x.useContext(b.k),Sn=Dt.prefixCls,En=Nn&&yt!=="hide";pe(function(){Nn&&En!==rr&&Ln(En)},[Nn]);var ia=function(){Nn&&Ht()},Fa=x.useRef(!1),Xa=function(){Nn&&!Fa.current&&(Fa.current=!0,kt())};Ar(ia,Xa);var yr=function(ea){En===ea&&Xa()};return Nn?x.createElement(Dn,(0,ae.Z)({ref:en,visible:rr},Bn,{motionAppear:yt==="show",onVisibleChanged:yr}),function(sr,ea){var ba=sr.className,Pa=sr.style;return x.createElement("div",{ref:ea,className:Ke()("".concat(Sn,"-treenode-motion"),ba),style:Pa},Nn.map(function(Za){var dr=(0,ae.Z)({},((0,z.Z)(Za.data),Za.data)),Hr=Za.title,ro=Za.key,Eo=Za.isStart,wo=Za.isEnd;delete dr.children;var Lo=(0,zn.H8)(ro,da);return x.createElement(Oa.Z,(0,ae.Z)({},dr,Lo,{title:Hr,active:In,data:Za.data,key:ro,isStart:Eo,isEnd:wo}))}))}):x.createElement(Oa.Z,(0,ae.Z)({domRef:en,className:Ae,style:Yt},xa,{active:In}))};lt.displayName="MotionTreeNode";var Ve=x.forwardRef(lt),jt=Ve;function xn(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],en=mt.length,Ae=At.length;if(Math.abs(en-Ae)!==1)return{add:!1,key:null};function Yt(Bn,Nn){var yt=new Map;Bn.forEach(function(kt){yt.set(kt,!0)});var Ht=Nn.filter(function(kt){return!yt.has(kt)});return Ht.length===1?Ht[0]:null}return en<Ae?{add:!0,key:Yt(mt,At)}:{add:!1,key:Yt(At,mt)}}function Jn(mt,At,en){var Ae=mt.findIndex(function(yt){return yt.key===en}),Yt=mt[Ae+1],Bn=At.findIndex(function(yt){return yt.key===en});if(Yt){var Nn=At.findIndex(function(yt){return yt.key===Yt.key});return At.slice(Bn+1,Nn)}return At.slice(Bn+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"],ua={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},Rn={key:Ma,level:0,index:0,pos:"0",node:ho,nodes:[ho]},no={parent:null,children:[],pos:Rn.pos,data:ho,title:null,key:Ma,isStart:[],isEnd:[]};function ot(mt,At,en,Ae){return At===!1||!en?mt:mt.slice(0,Math.ceil(en/Ae)+1)}function tn(mt){var At=mt.key,en=mt.pos;return(0,zn.km)(At,en)}function $t(mt){for(var At=String(mt.data.key),en=mt;en.parent;)en=en.parent,At="".concat(en.data.key," > ").concat(At);return At}var _t=x.forwardRef(function(mt,At){var en=mt.prefixCls,Ae=mt.data,Yt=mt.selectable,Bn=mt.checkable,Nn=mt.expandedKeys,yt=mt.selectedKeys,Ht=mt.checkedKeys,kt=mt.loadedKeys,In=mt.loadingKeys,da=mt.halfCheckedKeys,xa=mt.keyEntities,Sa=mt.disabled,Ia=mt.dragging,rr=mt.dragOverNodeKey,Ln=mt.dropPosition,Dt=mt.motion,Sn=mt.height,En=mt.itemHeight,ia=mt.virtual,Fa=mt.focusable,Xa=mt.activeItem,yr=mt.focused,sr=mt.tabIndex,ea=mt.onKeyDown,ba=mt.onFocus,Pa=mt.onBlur,Za=mt.onActiveChange,dr=mt.onListChangeStart,Hr=mt.onListChangeEnd,ro=(0,oe.Z)(mt,Ka),Eo=x.useRef(null),wo=x.useRef(null);x.useImperativeHandle(At,function(){return{scrollTo:function(ss){Eo.current.scrollTo(ss)},getIndentWidth:function(){return wo.current.offsetWidth}}});var Lo=x.useState(Nn),Oi=(0,re.Z)(Lo,2),xl=Oi[0],Wl=Oi[1],Rl=x.useState(Ae),Sl=(0,re.Z)(Rl,2),Li=Sl[0],is=Sl[1],Ul=x.useState(Ae),ls=(0,re.Z)(Ul,2),zs=ls[0],kl=ls[1],Hs=x.useState([]),Vl=(0,re.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=x.useState(null),ps=(0,re.Z)(Gs,2),ad=ps[0],bi=ps[1],Ai=x.useRef(Ae);Ai.current=Ae;function il(){var Ci=Ai.current;is(Ci),kl(Ci),Ol([]),bi(null),Hr()}pe(function(){Wl(Nn);var Ci=xn(xl,Nn);if(Ci.key!==null)if(Ci.add){var ss=Li.findIndex(function(Bs){var Ks=Bs.key;return Ks===Ci.key}),ql=ot(Jn(Li,Ae,Ci.key),ia,Sn,En),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(Jn(Ae,Li,Ci.key),ia,Sn,En),js=Ae.slice();js.splice(ds+1,0,no),kl(js),Ol(cs),bi("hide")}else Li!==Ae&&(is(Ae),kl(Ae))},[Nn,Ae]),x.useEffect(function(){Ia||il()},[Ia]);var Ds=Dt?zs:Ae,Bd={expandedKeys:Nn,selectedKeys:yt,loadedKeys:kt,loadingKeys:In,checkedKeys:Ht,halfCheckedKeys:da,dragOverNodeKey:rr,dropPosition:Ln,keyEntities:xa};return x.createElement(x.Fragment,null,yr&&Xa&&x.createElement("span",{style:ua,"aria-live":"assertive"},$t(Xa)),x.createElement("div",null,x.createElement("input",{style:ua,disabled:Fa===!1||Sa,tabIndex:Fa!==!1?sr:null,onKeyDown:ea,onFocus:ba,onBlur:Pa,value:"",onChange:Wn,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(en,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(en,"-indent")},x.createElement("div",{ref:wo,className:"".concat(en,"-indent-unit")}))),x.createElement(be.Z,(0,ae.Z)({},ro,{data:Ds,itemKey:tn,height:Sn,fullHeight:!1,virtual:ia,itemHeight:En,prefixCls:"".concat(en,"-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 tn(cs)===Ma})&&il()}}),function(Ci){var ss=Ci.pos,ql=(0,ae.Z)({},((0,z.Z)(Ci.data),Ci.data)),Nr=Ci.title,ds=Ci.key,cs=Ci.isStart,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(jt,(0,ae.Z)({},ql,Ks,{title:Nr,active:!!Xa&&ds===Xa.key,pos:ss,data:Ci.data,isStart:cs,isEnd:js,motion:Dt,motionNodes:ds===Ma?Dd:null,motionType:ad,onMotionStart:dr,onMotionEnd:il,treeNodeRequiredProps:Bd,onMouseMove:function(){Za(null)}}))}))});_t.displayName="NodeList";var jn=_t,Vt=ee(29873),kn=ee(97153),un=ee(3596),$a=10,Aa=function(mt){(0,je.Z)(en,mt);var At=(0,He.Z)(en);function en(){var Ae;(0,Te.Z)(this,en);for(var Yt=arguments.length,Bn=new Array(Yt),Nn=0;Nn<Yt;Nn++)Bn[Nn]=arguments[Nn];return Ae=At.call.apply(At,[this].concat(Bn)),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(yt,Ht){var kt=Ae.state,In=kt.expandedKeys,da=kt.keyEntities,xa=Ae.props.onDragStart,Sa=Ht.props.eventKey;Ae.dragNode=Ht,Ae.dragStartMousePosition={x:yt.clientX,y:yt.clientY};var Ia=(0,Vt._5)(In,Sa);Ae.setState({draggingNodeKey:Sa,dragChildrenKeys:(0,Vt.wA)(Sa,da),indent:Ae.listRef.current.getIndentWidth()}),Ae.setExpandedKeys(Ia),window.addEventListener("dragend",Ae.onWindowDragEnd),xa==null||xa({event:yt,node:(0,zn.F)(Ht.props)})},Ae.onNodeDragEnter=function(yt,Ht){var kt=Ae.state,In=kt.expandedKeys,da=kt.keyEntities,xa=kt.dragChildrenKeys,Sa=kt.flattenNodes,Ia=kt.indent,rr=Ae.props,Ln=rr.onDragEnter,Dt=rr.onExpand,Sn=rr.allowDrop,En=rr.direction,ia=Ht.props,Fa=ia.pos,Xa=ia.eventKey,yr=(0,Ze.Z)(Ae),sr=yr.dragNode;if(Ae.currentMouseOverDroppableNodeKey!==Xa&&(Ae.currentMouseOverDroppableNodeKey=Xa),!sr){Ae.resetDragState();return}var ea=(0,Vt.OM)(yt,sr,Ht,Ia,Ae.dragStartMousePosition,Sn,Sa,da,In,En),ba=ea.dropPosition,Pa=ea.dropLevelOffset,Za=ea.dropTargetKey,dr=ea.dropContainerKey,Hr=ea.dropTargetPos,ro=ea.dropAllowed,Eo=ea.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!==Ht.props.eventKey&&(yt.persist(),Ae.delayedDragEnterLogic[Fa]=window.setTimeout(function(){if(Ae.state.draggingNodeKey!==null){var wo=(0,Be.Z)(In),Lo=(0,un.Z)(da,Ht.props.eventKey);Lo&&(Lo.children||[]).length&&(wo=(0,Vt.L0)(In,Ht.props.eventKey)),"expandedKeys"in Ae.props||Ae.setExpandedKeys(wo),Dt==null||Dt(wo,{node:(0,zn.F)(Ht.props),expanded:!0,nativeEvent:yt.nativeEvent})}},800)),sr.props.eventKey===Za&&Pa===0){Ae.resetDragState();return}Ae.setState({dragOverNodeKey:Eo,dropPosition:ba,dropLevelOffset:Pa,dropTargetKey:Za,dropContainerKey:dr,dropTargetPos:Hr,dropAllowed:ro}),Ln==null||Ln({event:yt,node:(0,zn.F)(Ht.props),expandedKeys:In})},Ae.onNodeDragOver=function(yt,Ht){var kt=Ae.state,In=kt.dragChildrenKeys,da=kt.flattenNodes,xa=kt.keyEntities,Sa=kt.expandedKeys,Ia=kt.indent,rr=Ae.props,Ln=rr.onDragOver,Dt=rr.allowDrop,Sn=rr.direction,En=(0,Ze.Z)(Ae),ia=En.dragNode;if(ia){var Fa=(0,Vt.OM)(yt,ia,Ht,Ia,Ae.dragStartMousePosition,Dt,da,xa,Sa,Sn),Xa=Fa.dropPosition,yr=Fa.dropLevelOffset,sr=Fa.dropTargetKey,ea=Fa.dropContainerKey,ba=Fa.dropAllowed,Pa=Fa.dropTargetPos,Za=Fa.dragOverNodeKey;In.indexOf(sr)!==-1||!ba||(ia.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&&ea===Ae.state.dropContainerKey&&Pa===Ae.state.dropTargetPos&&ba===Ae.state.dropAllowed&&Za===Ae.state.dragOverNodeKey||Ae.setState({dropPosition:Xa,dropLevelOffset:yr,dropTargetKey:sr,dropContainerKey:ea,dropTargetPos:Pa,dropAllowed:ba,dragOverNodeKey:Za}),Ln==null||Ln({event:yt,node:(0,zn.F)(Ht.props)}))}},Ae.onNodeDragLeave=function(yt,Ht){Ae.currentMouseOverDroppableNodeKey===Ht.props.eventKey&&!yt.currentTarget.contains(yt.relatedTarget)&&(Ae.resetDragState(),Ae.currentMouseOverDroppableNodeKey=null);var kt=Ae.props.onDragLeave;kt==null||kt({event:yt,node:(0,zn.F)(Ht.props)})},Ae.onWindowDragEnd=function(yt){Ae.onNodeDragEnd(yt,null,!0),window.removeEventListener("dragend",Ae.onWindowDragEnd)},Ae.onNodeDragEnd=function(yt,Ht){var kt=Ae.props.onDragEnd;Ae.setState({dragOverNodeKey:null}),Ae.cleanDragState(),kt==null||kt({event:yt,node:(0,zn.F)(Ht.props)}),Ae.dragNode=null,window.removeEventListener("dragend",Ae.onWindowDragEnd)},Ae.onNodeDrop=function(yt,Ht){var kt,In=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,da=Ae.state,xa=da.dragChildrenKeys,Sa=da.dropPosition,Ia=da.dropTargetKey,rr=da.dropTargetPos,Ln=da.dropAllowed;if(Ln){var Dt=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:((kt=Ae.getActiveItem())===null||kt===void 0?void 0:kt.key)===Ia,data:(0,un.Z)(Ae.state.keyEntities,Ia).node}),En=xa.indexOf(Ia)!==-1;(0,y.ZP)(!En,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ia=(0,Vt.yx)(rr),Fa={event:yt,node:(0,zn.F)(Sn),dragNode:Ae.dragNode?(0,zn.F)(Ae.dragNode.props):null,dragNodesKeys:[Ae.dragNode.props.eventKey].concat(xa),dropToGap:Sa!==0,dropPosition:Sa+Number(ia[ia.length-1])};In||Dt==null||Dt(Fa),Ae.dragNode=null}}},Ae.cleanDragState=function(){var yt=Ae.state.draggingNodeKey;yt!==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(yt,Ht){var kt=Ae.state,In=kt.expandedKeys,da=kt.flattenNodes,xa=Ht.expanded,Sa=Ht.key,Ia=Ht.isLeaf;if(!(Ia||yt.shiftKey||yt.metaKey||yt.ctrlKey)){var rr=da.filter(function(Dt){return Dt.key===Sa})[0],Ln=(0,zn.F)((0,ze.Z)((0,ze.Z)({},(0,zn.H8)(Sa,Ae.getTreeNodeRequiredProps())),{},{data:rr.data}));Ae.setExpandedKeys(xa?(0,Vt._5)(In,Sa):(0,Vt.L0)(In,Sa)),Ae.onNodeExpand(yt,Ln)}},Ae.onNodeClick=function(yt,Ht){var kt=Ae.props,In=kt.onClick,da=kt.expandAction;da==="click"&&Ae.triggerExpandActionExpand(yt,Ht),In==null||In(yt,Ht)},Ae.onNodeDoubleClick=function(yt,Ht){var kt=Ae.props,In=kt.onDoubleClick,da=kt.expandAction;da==="doubleClick"&&Ae.triggerExpandActionExpand(yt,Ht),In==null||In(yt,Ht)},Ae.onNodeSelect=function(yt,Ht){var kt=Ae.state.selectedKeys,In=Ae.state,da=In.keyEntities,xa=In.fieldNames,Sa=Ae.props,Ia=Sa.onSelect,rr=Sa.multiple,Ln=Ht.selected,Dt=Ht[xa.key],Sn=!Ln;Sn?rr?kt=(0,Vt.L0)(kt,Dt):kt=[Dt]:kt=(0,Vt._5)(kt,Dt);var En=kt.map(function(ia){var Fa=(0,un.Z)(da,ia);return Fa?Fa.node:null}).filter(function(ia){return ia});Ae.setUncontrolledState({selectedKeys:kt}),Ia==null||Ia(kt,{event:"select",selected:Sn,node:Ht,selectedNodes:En,nativeEvent:yt.nativeEvent})},Ae.onNodeCheck=function(yt,Ht,kt){var In=Ae.state,da=In.keyEntities,xa=In.checkedKeys,Sa=In.halfCheckedKeys,Ia=Ae.props,rr=Ia.checkStrictly,Ln=Ia.onCheck,Dt=Ht.key,Sn,En={event:"check",node:Ht,checked:kt,nativeEvent:yt.nativeEvent};if(rr){var ia=kt?(0,Vt.L0)(xa,Dt):(0,Vt._5)(xa,Dt),Fa=(0,Vt._5)(Sa,Dt);Sn={checked:ia,halfChecked:Fa},En.checkedNodes=ia.map(function(Pa){return(0,un.Z)(da,Pa)}).filter(function(Pa){return Pa}).map(function(Pa){return Pa.node}),Ae.setUncontrolledState({checkedKeys:ia})}else{var Xa=(0,kn.S)([].concat((0,Be.Z)(xa),[Dt]),!0,da),yr=Xa.checkedKeys,sr=Xa.halfCheckedKeys;if(!kt){var ea=new Set(yr);ea.delete(Dt);var ba=(0,kn.S)(Array.from(ea),{checked:!1,halfCheckedKeys:sr},da);yr=ba.checkedKeys,sr=ba.halfCheckedKeys}Sn=yr,En.checkedNodes=[],En.checkedNodesPositions=[],En.halfCheckedKeys=sr,yr.forEach(function(Pa){var Za=(0,un.Z)(da,Pa);if(Za){var dr=Za.node,Hr=Za.pos;En.checkedNodes.push(dr),En.checkedNodesPositions.push({node:dr,pos:Hr})}}),Ae.setUncontrolledState({checkedKeys:yr},!1,{halfCheckedKeys:sr})}Ln==null||Ln(Sn,En)},Ae.onNodeLoad=function(yt){var Ht=yt.key,kt=new Promise(function(In,da){Ae.setState(function(xa){var Sa=xa.loadedKeys,Ia=Sa===void 0?[]:Sa,rr=xa.loadingKeys,Ln=rr===void 0?[]:rr,Dt=Ae.props,Sn=Dt.loadData,En=Dt.onLoad;if(!Sn||Ia.indexOf(Ht)!==-1||Ln.indexOf(Ht)!==-1)return null;var ia=Sn(yt);return ia.then(function(){var Fa=Ae.state.loadedKeys,Xa=(0,Vt.L0)(Fa,Ht);En==null||En(Xa,{event:"load",node:yt}),Ae.setUncontrolledState({loadedKeys:Xa}),Ae.setState(function(yr){return{loadingKeys:(0,Vt._5)(yr.loadingKeys,Ht)}}),In()}).catch(function(Fa){if(Ae.setState(function(yr){return{loadingKeys:(0,Vt._5)(yr.loadingKeys,Ht)}}),Ae.loadingRetryTimes[Ht]=(Ae.loadingRetryTimes[Ht]||0)+1,Ae.loadingRetryTimes[Ht]>=$a){var Xa=Ae.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ae.setUncontrolledState({loadedKeys:(0,Vt.L0)(Xa,Ht)}),In()}da(Fa)}),{loadingKeys:(0,Vt.L0)(Ln,Ht)}})});return kt.catch(function(){}),kt},Ae.onNodeMouseEnter=function(yt,Ht){var kt=Ae.props.onMouseEnter;kt==null||kt({event:yt,node:Ht})},Ae.onNodeMouseLeave=function(yt,Ht){var kt=Ae.props.onMouseLeave;kt==null||kt({event:yt,node:Ht})},Ae.onNodeContextMenu=function(yt,Ht){var kt=Ae.props.onRightClick;kt&&(yt.preventDefault(),kt({event:yt,node:Ht}))},Ae.onFocus=function(){var yt=Ae.props.onFocus;Ae.setState({focused:!0});for(var Ht=arguments.length,kt=new Array(Ht),In=0;In<Ht;In++)kt[In]=arguments[In];yt==null||yt.apply(void 0,kt)},Ae.onBlur=function(){var yt=Ae.props.onBlur;Ae.setState({focused:!1}),Ae.onActiveChange(null);for(var Ht=arguments.length,kt=new Array(Ht),In=0;In<Ht;In++)kt[In]=arguments[In];yt==null||yt.apply(void 0,kt)},Ae.getTreeNodeRequiredProps=function(){var yt=Ae.state,Ht=yt.expandedKeys,kt=yt.selectedKeys,In=yt.loadedKeys,da=yt.loadingKeys,xa=yt.checkedKeys,Sa=yt.halfCheckedKeys,Ia=yt.dragOverNodeKey,rr=yt.dropPosition,Ln=yt.keyEntities;return{expandedKeys:Ht||[],selectedKeys:kt||[],loadedKeys:In||[],loadingKeys:da||[],checkedKeys:xa||[],halfCheckedKeys:Sa||[],dragOverNodeKey:Ia,dropPosition:rr,keyEntities:Ln}},Ae.setExpandedKeys=function(yt){var Ht=Ae.state,kt=Ht.treeData,In=Ht.fieldNames,da=(0,zn.oH)(kt,yt,In);Ae.setUncontrolledState({expandedKeys:yt,flattenNodes:da},!0)},Ae.onNodeExpand=function(yt,Ht){var kt=Ae.state.expandedKeys,In=Ae.state,da=In.listChanging,xa=In.fieldNames,Sa=Ae.props,Ia=Sa.onExpand,rr=Sa.loadData,Ln=Ht.expanded,Dt=Ht[xa.key];if(!da){var Sn=kt.indexOf(Dt),En=!Ln;if((0,y.ZP)(Ln&&Sn!==-1||!Ln&&Sn===-1,"Expand state not sync with index check"),En?kt=(0,Vt.L0)(kt,Dt):kt=(0,Vt._5)(kt,Dt),Ae.setExpandedKeys(kt),Ia==null||Ia(kt,{node:Ht,expanded:En,nativeEvent:yt.nativeEvent}),En&&rr){var ia=Ae.onNodeLoad(Ht);ia&&ia.then(function(){var Fa=(0,zn.oH)(Ae.state.treeData,kt,xa);Ae.setUncontrolledState({flattenNodes:Fa})}).catch(function(){var Fa=Ae.state.expandedKeys,Xa=(0,Vt._5)(Fa,Dt);Ae.setExpandedKeys(Xa)})}}},Ae.onListChangeStart=function(){Ae.setUncontrolledState({listChanging:!0})},Ae.onListChangeEnd=function(){setTimeout(function(){Ae.setUncontrolledState({listChanging:!1})})},Ae.onActiveChange=function(yt){var Ht=Ae.state.activeKey,kt=Ae.props.onActiveChange;Ht!==yt&&(Ae.setState({activeKey:yt}),yt!==null&&Ae.scrollTo({key:yt}),kt==null||kt(yt))},Ae.getActiveItem=function(){var yt=Ae.state,Ht=yt.activeKey,kt=yt.flattenNodes;return Ht===null?null:kt.find(function(In){var da=In.key;return da===Ht})||null},Ae.offsetActiveKey=function(yt){var Ht=Ae.state,kt=Ht.flattenNodes,In=Ht.activeKey,da=kt.findIndex(function(Ia){var rr=Ia.key;return rr===In});da===-1&&yt<0&&(da=kt.length),da=(da+yt+kt.length)%kt.length;var xa=kt[da];if(xa){var Sa=xa.key;Ae.onActiveChange(Sa)}else Ae.onActiveChange(null)},Ae.onKeyDown=function(yt){var Ht=Ae.state,kt=Ht.activeKey,In=Ht.expandedKeys,da=Ht.checkedKeys,xa=Ht.fieldNames,Sa=Ae.props,Ia=Sa.onKeyDown,rr=Sa.checkable,Ln=Sa.selectable;switch(yt.which){case ce.UP:{Ae.offsetActiveKey(-1),yt.preventDefault();break}case ce.DOWN:{Ae.offsetActiveKey(1),yt.preventDefault();break}}var Dt=Ae.getActiveItem();if(Dt&&Dt.data){var Sn=Ae.getTreeNodeRequiredProps(),En=Dt.data.isLeaf===!1||!!(Dt.data[xa.children]||[]).length,ia=(0,zn.F)((0,ze.Z)((0,ze.Z)({},(0,zn.H8)(kt,Sn)),{},{data:Dt.data,active:!0}));switch(yt.which){case ce.LEFT:{En&&In.includes(kt)?Ae.onNodeExpand({},ia):Dt.parent&&Ae.onActiveChange(Dt.parent.key),yt.preventDefault();break}case ce.RIGHT:{En&&!In.includes(kt)?Ae.onNodeExpand({},ia):Dt.children&&Dt.children.length&&Ae.onActiveChange(Dt.children[0].key),yt.preventDefault();break}case ce.ENTER:case ce.SPACE:{rr&&!ia.disabled&&ia.checkable!==!1&&!ia.disableCheckbox?Ae.onNodeCheck({},ia,!da.includes(kt)):!rr&&Ln&&!ia.disabled&&ia.selectable!==!1&&Ae.onNodeSelect({},ia);break}}}Ia==null||Ia(yt)},Ae.setUncontrolledState=function(yt){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ae.destroyed){var In=!1,da=!0,xa={};Object.keys(yt).forEach(function(Sa){if(Sa in Ae.props){da=!1;return}In=!0,xa[Sa]=yt[Sa]}),In&&(!Ht||da)&&Ae.setState((0,ze.Z)((0,ze.Z)({},xa),kt))}},Ae.scrollTo=function(yt){Ae.listRef.current.scrollTo(yt)},Ae}return(0,se.Z)(en,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Yt=this.props.activeKey;Yt!==void 0&&Yt!==this.state.activeKey&&(this.setState({activeKey:Yt}),Yt!==null&&this.scrollTo({key:Yt}))}},{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 Yt,Bn=this.state,Nn=Bn.focused,yt=Bn.flattenNodes,Ht=Bn.keyEntities,kt=Bn.draggingNodeKey,In=Bn.activeKey,da=Bn.dropLevelOffset,xa=Bn.dropContainerKey,Sa=Bn.dropTargetKey,Ia=Bn.dropPosition,rr=Bn.dragOverNodeKey,Ln=Bn.indent,Dt=this.props,Sn=Dt.prefixCls,En=Dt.className,ia=Dt.style,Fa=Dt.showLine,Xa=Dt.focusable,yr=Dt.tabIndex,sr=yr===void 0?0:yr,ea=Dt.selectable,ba=Dt.showIcon,Pa=Dt.icon,Za=Dt.switcherIcon,dr=Dt.draggable,Hr=Dt.checkable,ro=Dt.checkStrictly,Eo=Dt.disabled,wo=Dt.motion,Lo=Dt.loadData,Oi=Dt.filterTreeNode,xl=Dt.height,Wl=Dt.itemHeight,Rl=Dt.virtual,Sl=Dt.titleRender,Li=Dt.dropIndicatorRender,is=Dt.onContextMenu,Ul=Dt.onScroll,ls=Dt.direction,zs=Dt.rootClassName,kl=Dt.rootStyle,Hs=(0,a.Z)(this.props,{aria:!0,data:!0}),Vl;return dr&&((0,Fe.Z)(dr)==="object"?Vl=dr:typeof dr=="function"?Vl={nodeDraggable:dr}:Vl={}),x.createElement(b.k.Provider,{value:{prefixCls:Sn,selectable:ea,showIcon:ba,icon:Pa,switcherIcon:Za,draggable:Vl,draggingNodeKey:kt,checkable:Hr,checkStrictly:ro,disabled:Eo,keyEntities:Ht,dropLevelOffset:da,dropContainerKey:xa,dropTargetKey:Sa,dropPosition:Ia,dragOverNodeKey:rr,indent:Ln,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,En,zs,(Yt={},(0,me.Z)(Yt,"".concat(Sn,"-show-line"),Fa),(0,me.Z)(Yt,"".concat(Sn,"-focused"),Nn),(0,me.Z)(Yt,"".concat(Sn,"-active-focused"),In!==null),Yt)),style:kl},x.createElement(jn,(0,ae.Z)({ref:this.listRef,prefixCls:Sn,style:ia,data:yt,disabled:Eo,selectable:ea,checkable:!!Hr,motion:wo,dragging:kt!==null,height:xl,itemHeight:Wl,virtual:Rl,focusable:Xa,focused:Nn,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(Yt,Bn){var Nn=Bn.prevProps,yt={prevProps:Yt};function Ht(Xa){return!Nn&&Xa in Yt||Nn&&Nn[Xa]!==Yt[Xa]}var kt,In=Bn.fieldNames;if(Ht("fieldNames")&&(In=(0,zn.w$)(Yt.fieldNames),yt.fieldNames=In),Ht("treeData")?kt=Yt.treeData:Ht("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),kt=(0,zn.zn)(Yt.children)),kt){yt.treeData=kt;var da=(0,zn.I8)(kt,{fieldNames:In});yt.keyEntities=(0,ze.Z)((0,me.Z)({},Ma,Rn),da.keyEntities)}var xa=yt.keyEntities||Bn.keyEntities;if(Ht("expandedKeys")||Nn&&Ht("autoExpandParent"))yt.expandedKeys=Yt.autoExpandParent||!Nn&&Yt.defaultExpandParent?(0,Vt.r7)(Yt.expandedKeys,xa):Yt.expandedKeys;else if(!Nn&&Yt.defaultExpandAll){var Sa=(0,ze.Z)({},xa);delete Sa[Ma],yt.expandedKeys=Object.keys(Sa).map(function(Xa){return Sa[Xa].key})}else!Nn&&Yt.defaultExpandedKeys&&(yt.expandedKeys=Yt.autoExpandParent||Yt.defaultExpandParent?(0,Vt.r7)(Yt.defaultExpandedKeys,xa):Yt.defaultExpandedKeys);if(yt.expandedKeys||delete yt.expandedKeys,kt||yt.expandedKeys){var Ia=(0,zn.oH)(kt||Bn.treeData,yt.expandedKeys||Bn.expandedKeys,In);yt.flattenNodes=Ia}if(Yt.selectable&&(Ht("selectedKeys")?yt.selectedKeys=(0,Vt.BT)(Yt.selectedKeys,Yt):!Nn&&Yt.defaultSelectedKeys&&(yt.selectedKeys=(0,Vt.BT)(Yt.defaultSelectedKeys,Yt))),Yt.checkable){var rr;if(Ht("checkedKeys")?rr=(0,Vt.E6)(Yt.checkedKeys)||{}:!Nn&&Yt.defaultCheckedKeys?rr=(0,Vt.E6)(Yt.defaultCheckedKeys)||{}:kt&&(rr=(0,Vt.E6)(Yt.checkedKeys)||{checkedKeys:Bn.checkedKeys,halfCheckedKeys:Bn.halfCheckedKeys}),rr){var Ln=rr,Dt=Ln.checkedKeys,Sn=Dt===void 0?[]:Dt,En=Ln.halfCheckedKeys,ia=En===void 0?[]:En;if(!Yt.checkStrictly){var Fa=(0,kn.S)(Sn,!0,xa);Sn=Fa.checkedKeys,ia=Fa.halfCheckedKeys}yt.checkedKeys=Sn,yt.halfCheckedKeys=ia}}return Ht("loadedKeys")&&(yt.loadedKeys=Yt.loadedKeys),yt}}]),en}(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(At,en){return x.createElement(qr.Z,(0,ae.Z)({},At,{ref:en,icon:ei}))},Tn=x.forwardRef(Yo),va=ee(53124),Va=ee(50881),Un=ee(33603),Wr=ee(32157);const _r=4;function ti(mt){const{dropPosition:At,dropLevelOffset:en,prefixCls:Ae,indent:Yt,direction:Bn="ltr"}=mt,Nn=Bn==="ltr"?"left":"right",yt=Bn==="ltr"?"right":"left",Ht={[Nn]:-en*Yt+_r,[yt]:0};switch(At){case-1:Ht.top=-3;break;case 1:Ht.bottom=-3;break;default:Ht.bottom=-3,Ht[Nn]=Yt+_r;break}return x.createElement("div",{style:Ht,className:`${Ae}-drop-indicator`})}var ni=ee(99184),bl=x.forwardRef((mt,At)=>{const{getPrefixCls:en,direction:Ae,virtual:Yt,tree:Bn}=x.useContext(va.E_),{prefixCls:Nn,className:yt,showIcon:Ht=!1,showLine:kt,switcherIcon:In,blockNode:da=!1,children:xa,checkable:Sa=!1,selectable:Ia=!0,draggable:rr,motion:Ln,style:Dt}=mt,Sn=en("tree",Nn),En=en(),ia=Ln!=null?Ln:Object.assign(Object.assign({},(0,Un.Z)(En)),{motionAppear:!1}),Fa=Object.assign(Object.assign({},mt),{checkable:Sa,selectable:Ia,showIcon:Ht,motion:ia,blockNode:da,showLine:!!kt,dropIndicatorRender:ti}),[Xa,yr]=(0,Wr.ZP)(Sn),sr=x.useMemo(()=>{if(!rr)return!1;let ba={};switch(typeof rr){case"function":ba.nodeDraggable=rr;break;case"object":ba=Object.assign({},rr);break;default:break}return ba.icon!==!1&&(ba.icon=ba.icon||x.createElement(Va.Z,null)),ba},[rr]),ea=ba=>x.createElement(ni.Z,{prefixCls:Sn,switcherIcon:In,treeNodeProps:ba,showLine:kt});return Xa(x.createElement(zr,Object.assign({itemHeight:20,ref:At,virtual:Yt},Fa,{style:Object.assign(Object.assign({},Bn==null?void 0:Bn.style),Dt),prefixCls:Sn,className:Ke()({[`${Sn}-icon-hide`]:!Ht,[`${Sn}-block-node`]:da,[`${Sn}-unselectable`]:!Ia,[`${Sn}-rtl`]:Ae==="rtl"},Bn==null?void 0:Bn.className,yt,yr),direction:Ae,checkable:Sa&&x.createElement("span",{className:`${Sn}-checkbox-inner`}),selectable:Ia,switcherIcon:ea,draggable:sr}),xa))}),yi;(function(mt){mt[mt.None=0]="None",mt[mt.Start=1]="Start",mt[mt.End=2]="End"})(yi||(yi={}));function Kl(mt,At){function en(Ae){const{key:Yt,children:Bn}=Ae;At(Yt,Ae)!==!1&&Kl(Bn||[],At)}mt.forEach(en)}function $l(mt){let{treeData:At,expandedKeys:en,startKey:Ae,endKey:Yt}=mt;const Bn=[];let Nn=yi.None;if(Ae&&Ae===Yt)return[Ae];if(!Ae||!Yt)return[];function yt(Ht){return Ht===Ae||Ht===Yt}return Kl(At,Ht=>{if(Nn===yi.End)return!1;if(yt(Ht)){if(Bn.push(Ht),Nn===yi.None)Nn=yi.Start;else if(Nn===yi.Start)return Nn=yi.End,!1}else Nn===yi.Start&&Bn.push(Ht);return en.includes(Ht)}),Bn}function wi(mt,At){const en=(0,Be.Z)(At),Ae=[];return Kl(mt,(Yt,Bn)=>{const Nn=en.indexOf(Yt);return Nn!==-1&&(Ae.push(Bn),en.splice(Nn,1)),!!en.length}),Ae}var Xo=function(mt,At){var en={};for(var Ae in mt)Object.prototype.hasOwnProperty.call(mt,Ae)&&At.indexOf(Ae)<0&&(en[Ae]=mt[Ae]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,Ae=Object.getOwnPropertySymbols(mt);Yt<Ae.length;Yt++)At.indexOf(Ae[Yt])<0&&Object.prototype.propertyIsEnumerable.call(mt,Ae[Yt])&&(en[Ae[Yt]]=mt[Ae[Yt]]);return en};function hl(mt){const{isLeaf:At,expanded:en}=mt;return At?x.createElement(co.Z,null):en?x.createElement(mn.Z,null):x.createElement(Tn,null)}function Cl(mt){let{treeData:At,children:en}=mt;return At||(0,zn.zn)(en)}const Fl=(mt,At)=>{var{defaultExpandAll:en,defaultExpandParent:Ae,defaultExpandedKeys:Yt}=mt,Bn=Xo(mt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Nn=x.useRef(),yt=x.useRef(),Ht=()=>{const{keyEntities:sr}=(0,zn.I8)(Cl(Bn));let ea;return en?ea=Object.keys(sr):Ae?ea=(0,Vt.r7)(Bn.expandedKeys||Yt||[],sr):ea=Bn.expandedKeys||Yt,ea},[kt,In]=x.useState(Bn.selectedKeys||Bn.defaultSelectedKeys||[]),[da,xa]=x.useState(()=>Ht());x.useEffect(()=>{"selectedKeys"in Bn&&In(Bn.selectedKeys)},[Bn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in Bn&&xa(Bn.expandedKeys)},[Bn.expandedKeys]);const Sa=(sr,ea)=>{var ba;return"expandedKeys"in Bn||xa(sr),(ba=Bn.onExpand)===null||ba===void 0?void 0:ba.call(Bn,sr,ea)},Ia=(sr,ea)=>{var ba;const{multiple:Pa}=Bn,{node:Za,nativeEvent:dr}=ea,{key:Hr=""}=Za,ro=Cl(Bn),Eo=Object.assign(Object.assign({},ea),{selected:!0}),wo=(dr==null?void 0:dr.ctrlKey)||(dr==null?void 0:dr.metaKey),Lo=dr==null?void 0:dr.shiftKey;let Oi;Pa&&wo?(Oi=sr,Nn.current=Hr,yt.current=Oi,Eo.selectedNodes=wi(ro,Oi)):Pa&&Lo?(Oi=Array.from(new Set([].concat((0,Be.Z)(yt.current||[]),(0,Be.Z)($l({treeData:ro,expandedKeys:da,startKey:Hr,endKey:Nn.current}))))),Eo.selectedNodes=wi(ro,Oi)):(Oi=[Hr],Nn.current=Hr,yt.current=Oi,Eo.selectedNodes=wi(ro,Oi)),(ba=Bn.onSelect)===null||ba===void 0||ba.call(Bn,Oi,Eo),"selectedKeys"in Bn||In(Oi)},{getPrefixCls:rr,direction:Ln}=x.useContext(va.E_),{prefixCls:Dt,className:Sn,showIcon:En=!0,expandAction:ia="click"}=Bn,Fa=Xo(Bn,["prefixCls","className","showIcon","expandAction"]),Xa=rr("tree",Dt),yr=Ke()(`${Xa}-directory`,{[`${Xa}-directory-rtl`]:Ln==="rtl"},Sn);return x.createElement(bl,Object.assign({icon:hl,ref:At,blockNode:!0},Fa,{showIcon:En,expandAction:ia,prefixCls:Xa,className:yr,expandedKeys:da,selectedKeys:kt,onSelect:Ia,onExpand:Sa}))};var ki=x.forwardRef(Fl);const pl=bl;pl.DirectoryTree=ki,pl.TreeNode=Oa.Z;var kr=pl},32157:function(vt,wt,ee){"use strict";ee.d(wt,{TM:function(){return Ee},Yk:function(){return Ke}});var ae=ee(45930),me=ee(63185),Fe=ee(14747),ze=ee(33507),Be=ee(45503),Te=ee(67968);const se=new ae.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ze=(ce,a)=>({[`.${ce}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),je=(ce,a)=>({[`.${ce}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),He=(ce,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:re}=a,oe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,Fe.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,Fe.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:se,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,Fe.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},Ze(ce,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:E,margin:0,lineHeight:`${E}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:E/2*.8,height:E/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:E,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${E}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:z},[`${y}-iconEle`]:{display:"inline-block",width:E,height:E,lineHeight:`${E}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${E}px`,userSelect:"none"},je(ce,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${E/2}px !important`}}}}})}},qe=ce=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=ce;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ce.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ce.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ce.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:E,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:E},[`${a}-node-content-wrapper`]:{color:E,background:"transparent"}}}}}},Ke=(ce,a)=>{const y=`.${ce}`,x=`${y}-treenode`,b=a.paddingXS/2,E=(0,Be.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[He(ce,E),qe(E)]},Ee=ce=>{const{controlHeightSM:a}=ce;return{titleHeight:a,nodeHoverBg:ce.controlItemBgHover,nodeSelectedBg:ce.controlItemBgActive}};wt.ZP=(0,Te.Z)("Tree",(ce,a)=>{let{prefixCls:y}=a;return[{[ce.componentCls]:(0,me.C2)(`${y}-checkbox`,ce)},Ke(y,ce),(0,ze.Z)(ce)]},ce=>{const{colorTextLightSolid:a,colorPrimary:y}=ce;return Object.assign(Object.assign({},Ee(ce)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return y}});var ae=ee(87462),me=ee(67294),Fe={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=Fe,Be=ee(74643),Te=function(b,E){return me.createElement(Be.Z,(0,ae.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),y=x=>{const{prefixCls:b,switcherIcon:E,treeNodeProps:z,showLine:re}=x,{isLeaf:oe,expanded:ne,loading:ge}=z;if(ge)return me.createElement(je.Z,{className:`${b}-switcher-loading-icon`});let pe;if(re&&typeof re=="object"&&(pe=re.showLeafIcon),oe){if(!re)return null;if(typeof pe!="boolean"&&pe){const 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:re?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(vt,wt,ee){"use strict";ee.d(wt,{default:function(){return no}});var ae=ee(67294),me=ee(74902),Fe=ee(94184),ze=ee.n(Fe),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),a=ee(64217);function y(ot,tn){var $t="cannot ".concat(ot.method," ").concat(ot.action," ").concat(tn.status,"'"),_t=new Error($t);return _t.status=tn.status,_t.method=ot.method,_t.url=ot.action,_t}function x(ot){var tn=ot.responseText||ot.response;if(!tn)return tn;try{return JSON.parse(tn)}catch($t){return tn}}function b(ot){var tn=new XMLHttpRequest;ot.onProgress&&tn.upload&&(tn.upload.onprogress=function(Vt){Vt.total>0&&(Vt.percent=Vt.loaded/Vt.total*100),ot.onProgress(Vt)});var $t=new FormData;ot.data&&Object.keys(ot.data).forEach(function(jn){var Vt=ot.data[jn];if(Array.isArray(Vt)){Vt.forEach(function(kn){$t.append("".concat(jn,"[]"),kn)});return}$t.append(jn,Vt)}),ot.file instanceof Blob?$t.append(ot.filename,ot.file,ot.file.name):$t.append(ot.filename,ot.file),tn.onerror=function(Vt){ot.onError(Vt)},tn.onload=function(){return tn.status<200||tn.status>=300?ot.onError(y(ot,tn),x(tn)):ot.onSuccess(x(tn),tn)},tn.open(ot.method,ot.action,!0),ot.withCredentials&&"withCredentials"in tn&&(tn.withCredentials=!0);var _t=ot.headers||{};return _t["X-Requested-With"]!==null&&tn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(_t).forEach(function(jn){_t[jn]!==null&&tn.setRequestHeader(jn,_t[jn])}),tn.send($t),{abort:function(){tn.abort()}}}var E=+new Date,z=0;function re(){return"rc-upload-".concat(E,"-").concat(++z)}var oe=ee(80334),ne=function(ot,tn){if(ot&&tn){var $t=Array.isArray(tn)?tn:tn.split(","),_t=ot.name||"",jn=ot.type||"",Vt=jn.replace(/\/.*$/,"");return $t.some(function(kn){var un=kn.trim();if(/^\*(\/\*)?$/.test(kn))return!0;if(un.charAt(0)==="."){var $a=_t.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)?Vt===un.replace(/\/.*$/,""):jn===un?!0:/^\w+$/.test(un)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(un,"'.Skip for check.")),!0):!1})}return!0};function ge(ot,tn){var $t=ot.createReader(),_t=[];function jn(){$t.readEntries(function(Vt){var kn=Array.prototype.slice.apply(Vt);_t=_t.concat(kn);var un=!kn.length;un?tn(_t):jn()})}jn()}var pe=function(tn,$t,_t){var jn=function Vt(kn,un){kn&&(kn.path=un||"",kn.isFile?kn.file(function($a){_t($a)&&(kn.fullPath&&!$a.webkitRelativePath&&(Object.defineProperties($a,{webkitRelativePath:{writable:!0}}),$a.webkitRelativePath=kn.fullPath.replace(/^\//,""),Object.defineProperties($a,{webkitRelativePath:{writable:!1}})),$t([$a]))}):kn.isDirectory&&ge(kn,function($a){$a.forEach(function(Aa){Vt(Aa,"".concat(un).concat(kn.name,"/"))})}))};tn.forEach(function(Vt){jn(Vt.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 tn=(0,je.Z)($t);function $t(){var _t;(0,Te.Z)(this,$t);for(var jn=arguments.length,Vt=new Array(jn),kn=0;kn<jn;kn++)Vt[kn]=arguments[kn];return _t=tn.call.apply(tn,[this].concat(Vt)),_t.state={uid:re()},_t.reqs={},_t.fileInput=void 0,_t._isMounted=void 0,_t.onChange=function(un){var $a=_t.props,Aa=$a.accept,cr=$a.directory,zr=un.target.files,co=(0,me.Z)(zr).filter(function(mn){return!cr||ne(mn,Aa)});_t.uploadFiles(co),_t.reset()},_t.onClick=function(un){var $a=_t.fileInput;if($a){var Aa=_t.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)}},_t.onKeyDown=function(un){un.key==="Enter"&&_t.onClick(un)},_t.onFileDrop=function(un){var $a=_t.props.multiple;if(un.preventDefault(),un.type!=="dragover")if(_t.props.directory)we(Array.prototype.slice.call(un.dataTransfer.items),_t.uploadFiles,function(cr){return ne(cr,_t.props.accept)});else{var Aa=(0,me.Z)(un.dataTransfer.files).filter(function(cr){return ne(cr,_t.props.accept)});$a===!1&&(Aa=Aa.slice(0,1)),_t.uploadFiles(Aa)}},_t.uploadFiles=function(un){var $a=(0,me.Z)(un),Aa=$a.map(function(cr){return cr.uid=re(),_t.processFile(cr,$a)});Promise.all(Aa).then(function(cr){var zr=_t.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){_t.post(co)})})},_t.processFile=function(){var un=(0,ce.Z)((0,Ke.Z)().mark(function $a(Aa,cr){var zr,co,mn,Bi,ei,qr,Yo,Tn,va;return(0,Ke.Z)().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:if(zr=_t.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=_t.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=_t.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?Tn=Yo:Tn=new File([Yo],Aa.name,{type:Aa.type}),va=Tn,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)}}(),_t.saveFileInput=function(un){_t.fileInput=un},_t}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 Vt=this,kn=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,Tn=co||b,va={action:$a,filename:mn,data:kn,file:Aa,headers:Bi,withCredentials:ei,method:qr||"post",onProgress:function(Un){var Wr=Vt.props.onProgress;Wr==null||Wr(Un,Aa)},onSuccess:function(Un,Wr){var _r=Vt.props.onSuccess;_r==null||_r(Un,Aa,Wr),delete Vt.reqs[Yo]},onError:function(Un,Wr){var _r=Vt.props.onError;_r==null||_r(Un,Wr,Aa),delete Vt.reqs[Yo]}};zr(un),this.reqs[Yo]=Tn(va)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(jn){var Vt=this.reqs;if(jn){var kn=jn.uid?jn.uid:jn;Vt[kn]&&Vt[kn].abort&&Vt[kn].abort(),delete Vt[kn]}else Object.keys(Vt).forEach(function(un){Vt[un]&&Vt[un].abort&&Vt[un].abort(),delete Vt[un]})}},{key:"render",value:function(){var jn,Vt=this.props,kn=Vt.component,un=Vt.prefixCls,$a=Vt.className,Aa=Vt.disabled,cr=Vt.id,zr=Vt.style,co=Vt.multiple,mn=Vt.accept,Bi=Vt.capture,ei=Vt.children,qr=Vt.directory,Yo=Vt.openFileDialogOnClick,Tn=Vt.onMouseEnter,va=Vt.onMouseLeave,Va=(0,qe.Z)(Vt,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:Tn,onMouseLeave:va,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ae.createElement(kn,(0,Be.Z)({},_r,{className:Un,role:"button",style:zr}),ae.createElement("input",(0,Be.Z)({},(0,a.Z)(Va,{aria:!0,data:!0}),{id:cr,disabled:Aa,type:"file",ref:this.saveFileInput,onClick:function(ni){return ni.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:mn},Wr,{multiple:co,onChange:this.onChange},Bi!=null?{capture:Bi}:{})),ei)}}]),$t}(ae.Component),Se=xe;function ut(){}var We=function(ot){(0,Ze.Z)($t,ot);var tn=(0,je.Z)($t);function $t(){var _t;(0,Te.Z)(this,$t);for(var jn=arguments.length,Vt=new Array(jn),kn=0;kn<jn;kn++)Vt[kn]=arguments[kn];return _t=tn.call.apply(tn,[this].concat(Vt)),_t.uploader=void 0,_t.saveUploader=function(un){_t.uploader=un},_t}return(0,se.Z)($t,[{key:"abort",value:function(jn){this.uploader.abort(jn)}},{key:"render",value:function(){return ae.createElement(Se,(0,Be.Z)({},this.props,{ref:this.saveUploader}))}}]),$t}(ae.Component);We.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ut,onError:ut,onSuccess:ut,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Kt=We,Xe=Kt,st=ee(5663),xt=ee(73935),It=ee(53124),Gt=ee(98866),ht=ee(10110),Zt=ee(24457),an={icon:function(tn,$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:tn}}]}},name:"file",theme:"twotone"},hn=an,$e=ee(74643),Pt=function(tn,$t){return ae.createElement($e.Z,(0,Be.Z)({},tn,{ref:$t,icon:hn}))},Ft=ae.forwardRef(Pt),Kn=ee(3407),rt={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"},Bt=rt,Ce=function(tn,$t){return ae.createElement($e.Z,(0,Be.Z)({},tn,{ref:$t,icon:Bt}))},yn=ae.forwardRef(Ce),bn={icon:function(tn,$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:tn}},{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:tn}}]}},name:"picture",theme:"twotone"},pa=bn,$n=function(tn,$t){return ae.createElement($e.Z,(0,Be.Z)({},tn,{ref:$t,icon:pa}))},Jt=ae.forwardRef($n),Ge=ee(38379),Me=ee(57838),pt=ee(33603),zt=ee(96159),Xt=ee(71577);function wn(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 Yn(ot,tn){const $t=(0,me.Z)(tn),_t=$t.findIndex(jn=>{let{uid:Vt}=jn;return Vt===ot.uid});return _t===-1?$t.push(ot):$t[_t]=ot,$t}function qt(ot,tn){const $t=ot.uid!==void 0?"uid":"name";return tn.filter(_t=>_t[$t]===ot[$t])[0]}function Ut(ot,tn){const $t=ot.uid!==void 0?"uid":"name",_t=tn.filter(jn=>jn[$t]!==ot[$t]);return _t.length===tn.length?null:_t}const _n=function(){const tn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),_t=tn[tn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(_t)||[""])[0]},Ie=ot=>ot.indexOf("image/")===0,tt=ot=>{if(ot.type&&!ot.thumbUrl)return Ie(ot.type);const tn=ot.thumbUrl||ot.url||"",$t=_n(tn);return/^data:image\//.test(tn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test($t)?!0:!(/^data:/.test(tn)||$t)},Qn=200;function Fn(ot){return new Promise(tn=>{if(!ot.type||!Ie(ot.type)){tn("");return}const $t=document.createElement("canvas");$t.width=Qn,$t.height=Qn,$t.style.cssText=`position: fixed; left: 0; top: 0; width: ${Qn}px; height: ${Qn}px; z-index: 9999; display: none;`,document.body.appendChild($t);const _t=$t.getContext("2d"),jn=new Image;if(jn.onload=()=>{const{width:Vt,height:kn}=jn;let un=Qn,$a=Qn,Aa=0,cr=0;Vt>kn?($a=kn*(Qn/Vt),cr=-($a-un)/2):(un=Vt*(Qn/kn),Aa=-(un-$a)/2),_t.drawImage(jn,Aa,cr,un,$a);const zr=$t.toDataURL();document.body.removeChild($t),window.URL.revokeObjectURL(jn.src),tn(zr)},jn.crossOrigin="anonymous",ot.type.startsWith("image/svg+xml")){const Vt=new FileReader;Vt.onload=()=>{Vt.result&&(jn.src=Vt.result)},Vt.readAsDataURL(ot)}else if(ot.type.startsWith("image/gif")){const Vt=new FileReader;Vt.onload=()=>{Vt.result&&tn(Vt.result)},Vt.readAsDataURL(ot)}else jn.src=window.URL.createObjectURL(ot)})}var dt=ee(84249),rn=ee(90674),Ue=ee(99569),gt=ee(38703),Mt=ee(83062),Rt=ae.forwardRef((ot,tn)=>{let{prefixCls:$t,className:_t,style:jn,locale:Vt,listType:kn,file:un,items:$a,progress:Aa,iconRender:cr,actionIconRender:zr,itemRender:co,isImgUrl:mn,showPreviewIcon:Bi,showRemoveIcon:ei,showDownloadIcon:qr,previewIcon:Yo,removeIcon:Tn,downloadIcon:va,onPreview:Va,onDownload:Un,onClose:Wr}=ot;var _r,ti;const{status:ni}=un,[ai,bl]=ae.useState(ni);ae.useEffect(()=>{ni!=="removed"&&bl(ni)},[ni]);const[yi,Kl]=ae.useState(!1);ae.useEffect(()=>{const yt=setTimeout(()=>{Kl(!0)},300);return()=>{clearTimeout(yt)}},[]);const $l=cr(un);let wi=ae.createElement("div",{className:`${$t}-icon`},$l);if(kn==="picture"||kn==="picture-card"||kn==="picture-circle")if(ai==="uploading"||!un.thumbUrl&&!un.url){const yt=ze()(`${$t}-list-item-thumbnail`,{[`${$t}-list-item-file`]:ai!=="uploading"});wi=ae.createElement("div",{className:yt},$l)}else{const yt=mn!=null&&mn(un)?ae.createElement("img",{src:un.thumbUrl||un.url,alt:un.name,className:`${$t}-list-item-image`,crossOrigin:un.crossOrigin}):$l,Ht=ze()(`${$t}-list-item-thumbnail`,{[`${$t}-list-item-file`]:mn&&!mn(un)});wi=ae.createElement("a",{className:Ht,onClick:kt=>Va(un,kt),href:un.url||un.thumbUrl,target:"_blank",rel:"noopener noreferrer"},yt)}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 Tn=="function"?Tn(un):Tn)||ae.createElement(dt.Z,null),()=>Wr(un),$t,Vt.removeFile):null,Fl=qr&&ai==="done"?zr((typeof va=="function"?va(un):va)||ae.createElement(rn.Z,null),()=>Un(un),$t,Vt.downloadFile):null,tl=kn!=="picture-card"&&kn!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:ze()(`${$t}-list-item-actions`,{picture:kn==="picture"})},Fl,Cl),ki=ze()(`${$t}-list-item-name`),pl=un.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ki,title:un.name},hl,{href:un.url,onClick:yt=>Va(un,yt)}),un.name),tl]:[ae.createElement("span",{key:"view",className:ki,onClick:yt=>Va(un,yt),title:un.name},un.name),tl],kr={pointerEvents:"none",opacity:.5},mt=Bi?ae.createElement("a",{href:un.url||un.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:un.url||un.thumbUrl?void 0:kr,onClick:yt=>Va(un,yt),title:Vt.previewFile},typeof Yo=="function"?Yo(un):Yo||ae.createElement(Ue.Z,null)):null,At=(kn==="picture-card"||kn==="picture-circle")&&ai!=="uploading"&&ae.createElement("span",{className:`${$t}-list-item-actions`},mt,ai==="done"&&Fl,Cl),{getPrefixCls:en}=ae.useContext(It.E_),Ae=en(),Yt=ae.createElement("div",{className:Xo},wi,pl,At,yi&&ae.createElement(Ge.default,{motionName:`${Ae}-fade`,visible:ai==="uploading",motionDeadline:2e3},yt=>{let{className:Ht}=yt;const kt="percent"in un?ae.createElement(gt.Z,Object.assign({},Aa,{type:"line",percent:un.percent,"aria-label":un["aria-label"],"aria-labelledby":un["aria-labelledby"]})):null;return ae.createElement("div",{className:ze()(`${$t}-list-item-progress`,Ht)},kt)})),Bn=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)||Vt.uploadError,Nn=ai==="error"?ae.createElement(Mt.Z,{title:Bn,getPopupContainer:yt=>yt.parentNode},Yt):Yt;return ae.createElement("div",{className:ze()(`${$t}-list-item-container`,_t),style:jn,ref:tn},co?co(Nn,un,$a,{download:Un.bind(null,un),preview:Va.bind(null,un),remove:Wr.bind(null,un)}):Nn)});const Cn=(ot,tn)=>{const{listType:$t="text",previewFile:_t=Fn,onPreview:jn,onDownload:Vt,onRemove:kn,locale:un,iconRender:$a,isImageUrl:Aa=tt,prefixCls:cr,items:zr=[],showPreviewIcon:co=!0,showRemoveIcon:mn=!0,showDownloadIcon:Bi=!1,removeIcon:ei,previewIcon:qr,downloadIcon:Yo,progress:Tn={size:[-1,2],showInfo:!1},appendAction:va,appendActionVisible:Va=!0,itemRender:Un,disabled:Wr}=ot,_r=(0,Me.Z)(),[ti,ni]=ae.useState(!1);ae.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="",_t&&_t(kr.originFileObj).then(mt=>{kr.thumbUrl=mt||"",_r()}))})},[$t,zr,_t]),ae.useEffect(()=>{ni(!0)},[]);const ai=(kr,mt)=>{if(jn)return mt==null||mt.preventDefault(),jn(kr)},bl=kr=>{typeof Vt=="function"?Vt(kr):kr.url&&window.open(kr.url)},yi=kr=>{kn==null||kn(kr)},Kl=kr=>{if($a)return $a(kr,$t);const mt=kr.status==="uploading",At=Aa&&Aa(kr)?ae.createElement(Jt,null):ae.createElement(Ft,null);let en=mt?ae.createElement(Kn.Z,null):ae.createElement(yn,null);return $t==="picture"?en=mt?ae.createElement(Kn.Z,null):At:($t==="picture-card"||$t==="picture-circle")&&(en=mt?un.uploading:At),en},$l=(kr,mt,At,en)=>{const Ae={type:"text",size:"small",title:en,onClick:Yt=>{mt(),(0,zt.l$)(kr)&&kr.props.onClick&&kr.props.onClick(Yt)},className:`${At}-list-item-action`,disabled:Wr};if((0,zt.l$)(kr)){const Yt=(0,zt.Tm)(kr,Object.assign(Object.assign({},kr.props),{onClick:()=>{}}));return ae.createElement(Xt.ZP,Object.assign({},Ae,{icon:Yt}))}return ae.createElement(Xt.ZP,Object.assign({},Ae),ae.createElement("span",null,kr))};ae.useImperativeHandle(tn,()=>({handlePreview:ai,handleDownload:bl}));const{getPrefixCls:wi}=ae.useContext(It.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=ae.useMemo(()=>{const kr=Object.assign({},(0,pt.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)),ae.createElement("div",{className:Cl},ae.createElement(Ge.CSSMotionList,Object.assign({},ki,{component:!1}),kr=>{let{key:mt,file:At,className:en,style:Ae}=kr;return ae.createElement(Rt,{key:mt,locale:un,prefixCls:Xo,className:en,style:Ae,file:At,items:zr,progress:Tn,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&&ae.createElement(Ge.default,Object.assign({},ki,{visible:Va,forceRender:!0}),kr=>{let{className:mt,style:At}=kr;return(0,zt.Tm)(va,en=>({className:ze()(en.className,mt),style:Object.assign(Object.assign(Object.assign({},At),{pointerEvents:mt?"none":void 0}),en.style)}))}))};var Vn=ae.forwardRef(Cn),Gn=ee(14747),Ga=ee(33507),oa=ee(67968),ja=ee(45503),Tr=ot=>{const{componentCls:tn,iconCls:$t}=ot;return{[`${tn}-wrapper`]:{[`${tn}-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}`,[tn]:{padding:`${ot.padding}px 0`},[`${tn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${tn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${tn}-disabled):hover`]:{borderColor:ot.colorPrimaryHover},[`p${tn}-drag-icon`]:{marginBottom:ot.margin,[$t]:{color:ot.colorPrimary,fontSize:ot.uploadThumbnailSize}},[`p${tn}-text`]:{margin:`0 0 ${ot.marginXXS}px`,color:ot.colorTextHeading,fontSize:ot.fontSizeLG},[`p${tn}-hint`]:{color:ot.colorTextDescription,fontSize:ot.fontSize},[`&${tn}-disabled`]:{cursor:"not-allowed",[`p${tn}-drag-icon ${$t},
|
|
p${tn}-text,
|
|
p${tn}-hint
|
|
`]:{color:ot.colorTextDisabled}}}}}},Rr=ot=>{const{componentCls:tn,antCls:$t,iconCls:_t,fontSize:jn,lineHeight:Vt}=ot,kn=`${tn}-list-item`,un=`${kn}-actions`,$a=`${kn}-action`,Aa=Math.round(jn*Vt);return{[`${tn}-wrapper`]:{[`${tn}-list`]:Object.assign(Object.assign({},(0,Gn.dF)()),{lineHeight:ot.lineHeight,[kn]:{position:"relative",height:ot.lineHeight*jn,marginTop:ot.marginXS,fontSize:jn,display:"flex",alignItems:"center",transition:`background-color ${ot.motionDurationSlow}`,"&:hover":{backgroundColor:ot.controlItemBgHover},[`${kn}-name`]:Object.assign(Object.assign({},Gn.vS),{padding:`0 ${ot.paddingXS}px`,lineHeight:Vt,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},[_t]:{color:ot.actionsColor,transition:`all ${ot.motionDurationSlow}`},[`&:hover ${_t}`]:{color:ot.colorText}},[`${tn}-icon ${_t}`]:{color:ot.colorTextDescription,fontSize:jn},[`${kn}-progress`]:{position:"absolute",bottom:-ot.uploadProgressOffset,width:"100%",paddingInlineStart:jn+ot.paddingXS,fontSize:jn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${kn}:hover ${$a}`]:{opacity:1,color:ot.colorText},[`${kn}-error`]:{color:ot.colorError,[`${kn}-name, ${tn}-icon ${_t}`]:{color:ot.colorError},[un]:{[`${_t}, ${_t}:hover`]:{color:ot.colorError},[$a]:{opacity:1}}},[`${tn}-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 Zn=ot=>{const{componentCls:tn}=ot,$t=`${tn}-animate-inline`;return[{[`${tn}-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}}},{[`${tn}-wrapper`]:(0,to.J$)(ot)},lo,gr]},An=ee(47448),Dn=ee(84780);const Oa=ot=>{const{componentCls:tn,iconCls:$t,uploadThumbnailSize:_t,uploadProgressOffset:jn}=ot,Vt=`${tn}-list`,kn=`${Vt}-item`;return{[`${tn}-wrapper`]:{[`
|
|
${Vt}${Vt}-picture,
|
|
${Vt}${Vt}-picture-card,
|
|
${Vt}${Vt}-picture-circle
|
|
`]:{[kn]:{position:"relative",height:_t+ot.lineWidth*2+ot.paddingXS*2,padding:ot.paddingXS,border:`${ot.lineWidth}px ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,"&:hover":{background:"transparent"},[`${kn}-thumbnail`]:Object.assign(Object.assign({},Gn.vS),{width:_t,height:_t,lineHeight:`${_t+ot.paddingSM}px`,textAlign:"center",flex:"none",[$t]:{fontSize:ot.fontSizeHeading2,color:ot.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${kn}-progress`]:{bottom:jn,width:`calc(100% - ${ot.paddingSM*2}px)`,marginTop:0,paddingInlineStart:_t+ot.paddingXS}},[`${kn}-error`]:{borderColor:ot.colorError,[`${kn}-thumbnail ${$t}`]:{[`svg path[fill='${An.blue[0]}']`]:{fill:ot.colorErrorBg},[`svg path[fill='${An.blue.primary}']`]:{fill:ot.colorError}}},[`${kn}-uploading`]:{borderStyle:"dashed",[`${kn}-name`]:{marginBottom:jn}}},[`${Vt}${Vt}-picture-circle ${kn}`]:{[`&, &::before, ${kn}-thumbnail`]:{borderRadius:"50%"}}}}},Ar=ot=>{const{componentCls:tn,iconCls:$t,fontSizeLG:_t,colorTextLightSolid:jn}=ot,Vt=`${tn}-list`,kn=`${Vt}-item`,un=ot.uploadPicCardSize;return{[`
|
|
${tn}-wrapper${tn}-picture-card-wrapper,
|
|
${tn}-wrapper${tn}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,Gn.dF)()),{display:"inline-block",width:"100%",[`${tn}${tn}-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}`,[`> ${tn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${tn}-disabled):hover`]:{borderColor:ot.colorPrimary}},[`${Vt}${Vt}-picture-card, ${Vt}${Vt}-picture-circle`]:{[`${Vt}-item-container`]:{display:"inline-block",width:un,height:un,marginBlock:`0 ${ot.marginXS}px`,marginInline:`0 ${ot.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[kn]:{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:'" "'}},[`${kn}:hover`]:{[`&::before, ${kn}-actions`]:{opacity:1}},[`${kn}-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:_t,margin:`0 ${ot.marginXXS}px`,fontSize:_t,cursor:"pointer",transition:`all ${ot.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${kn}-actions, ${kn}-actions:hover`]:{[`${$t}-eye, ${$t}-download, ${$t}-delete`]:{color:new Dn.C(jn).setAlpha(.65).toRgbString(),"&:hover":{color:jn}}},[`${kn}-thumbnail, ${kn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${kn}-name`]:{display:"none",textAlign:"center"},[`${kn}-file + ${kn}-name`]:{position:"absolute",bottom:ot.margin,display:"block",width:`calc(100% - ${ot.paddingXS*2}px)`},[`${kn}-uploading`]:{[`&${kn}`]:{backgroundColor:ot.colorFillAlter},[`&::before, ${$t}-eye, ${$t}-download, ${$t}-delete`]:{display:"none"}},[`${kn}-progress`]:{bottom:ot.marginXL,width:`calc(100% - ${ot.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${tn}-wrapper${tn}-picture-circle-wrapper`]:{[`${tn}${tn}-select`]:{borderRadius:"50%"}}}};var _e=ot=>{const{componentCls:tn}=ot;return{[`${tn}-rtl`]:{direction:"rtl"}}};const lt=ot=>{const{componentCls:tn,colorTextDisabled:$t}=ot;return{[`${tn}-wrapper`]:Object.assign(Object.assign({},(0,Gn.Wf)(ot)),{[tn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${tn}-select`]:{display:"inline-block"},[`${tn}-disabled`]:{color:$t,cursor:"not-allowed"}})}};var Ve=(0,oa.Z)("Upload",ot=>{const{fontSizeHeading3:tn,fontSize:$t,lineHeight:_t,lineWidth:jn,controlHeightLG:Vt}=ot,kn=Math.round($t*_t),un=(0,ja.TS)(ot,{uploadThumbnailSize:tn*2,uploadProgressOffset:kn/2+jn,uploadPicCardSize:Vt*2.55});return[lt(un),Tr(un),Oa(un),Ar(un),Rr(un),Zn(un),_e(un),(0,Ga.Z)(un)]},ot=>({actionsColor:ot.colorTextDescription})),jt=function(ot,tn,$t,_t){function jn(Vt){return Vt instanceof $t?Vt:new $t(function(kn){kn(Vt)})}return new($t||($t=Promise))(function(Vt,kn){function un(cr){try{Aa(_t.next(cr))}catch(zr){kn(zr)}}function $a(cr){try{Aa(_t.throw(cr))}catch(zr){kn(zr)}}function Aa(cr){cr.done?Vt(cr.value):jn(cr.value).then(un,$a)}Aa((_t=_t.apply(ot,tn||[])).next())})};const xn=`__LIST_IGNORE_${Date.now()}__`,Jn=(ot,tn)=>{const{fileList:$t,defaultFileList:_t,onRemove:jn,showUploadList:Vt=!0,listType:kn="text",onPreview:un,onDownload:$a,onChange:Aa,onDrop:cr,previewFile:zr,disabled:co,locale:mn,iconRender:Bi,isImageUrl:ei,progress:qr,prefixCls:Yo,className:Tn,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=ae.useContext(Gt.Z),wi=co!=null?co:$l,[Xo,hl]=(0,st.Z)(_t||[],{value:$t,postState:ea=>ea!=null?ea:[]}),[Cl,Fl]=ae.useState("drop"),tl=ae.useRef(null);ae.useMemo(()=>{const ea=Date.now();($t||[]).forEach((ba,Pa)=>{!ba.uid&&!Object.isFrozen(ba)&&(ba.uid=`__AUTO__${ea}_${Pa}__`)})},[$t]);const ki=(ea,ba,Pa)=>{let Za=(0,me.Z)(ba),dr=!1;_r===1?Za=Za.slice(-1):_r&&(dr=Za.length>_r,Za=Za.slice(0,_r)),(0,xt.flushSync)(()=>{hl(Za)});const Hr={file:ea,fileList:Za};Pa&&(Hr.event=Pa),(!dr||Za.some(ro=>ro.uid===ea.uid))&&(0,xt.flushSync)(()=>{Aa==null||Aa(Hr)})},pl=(ea,ba)=>jt(void 0,void 0,void 0,function*(){const{beforeUpload:Pa,transformFile:Za}=ot;let dr=ea;if(Pa){const Hr=yield Pa(ea,ba);if(Hr===!1)return!1;if(delete ea[xn],Hr===xn)return Object.defineProperty(ea,xn,{value:!0,configurable:!0}),!1;typeof Hr=="object"&&Hr&&(dr=Hr)}return Za&&(dr=yield Za(dr)),dr}),kr=ea=>{const ba=ea.filter(dr=>!dr.file[xn]);if(!ba.length)return;const Pa=ba.map(dr=>wn(dr.file));let Za=(0,me.Z)(Xo);Pa.forEach(dr=>{Za=Yn(dr,Za)}),Pa.forEach((dr,Hr)=>{let ro=dr;if(ba[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)})},mt=(ea,ba,Pa)=>{try{typeof ea=="string"&&(ea=JSON.parse(ea))}catch(Hr){}if(!qt(ba,Xo))return;const Za=wn(ba);Za.status="done",Za.percent=100,Za.response=ea,Za.xhr=Pa;const dr=Yn(Za,Xo);ki(Za,dr)},At=(ea,ba)=>{if(!qt(ba,Xo))return;const Pa=wn(ba);Pa.status="uploading",Pa.percent=ea.percent;const Za=Yn(Pa,Xo);ki(Pa,Za,ea)},en=(ea,ba,Pa)=>{if(!qt(Pa,Xo))return;const Za=wn(Pa);Za.error=ea,Za.response=ba,Za.status="error";const dr=Yn(Za,Xo);ki(Za,dr)},Ae=ea=>{let ba;Promise.resolve(typeof jn=="function"?jn(ea):jn).then(Pa=>{var Za;if(Pa===!1)return;const dr=Ut(ea,Xo);dr&&(ba=Object.assign(Object.assign({},ea),{status:"removed"}),Xo==null||Xo.forEach(Hr=>{const ro=ba.uid!==void 0?"uid":"name";Hr[ro]===ba[ro]&&!Object.isFrozen(Hr)&&(Hr.status="removed")}),(Za=tl.current)===null||Za===void 0||Za.abort(ba),ki(ba,dr))})},Yt=ea=>{Fl(ea.type),ea.type==="drop"&&(cr==null||cr(ea))};ae.useImperativeHandle(tn,()=>({onBatchStart:kr,onSuccess:mt,onProgress:At,onError:en,fileList:Xo,upload:tl.current}));const{getPrefixCls:Bn,direction:Nn,upload:yt}=ae.useContext(It.E_),Ht=Bn("upload",Yo),kt=Object.assign(Object.assign({onBatchStart:kr,onError:en,onProgress:At,onSuccess:mt},ot),{data:ti,multiple:ni,action:ai,accept:bl,supportServerRender:yi,prefixCls:Ht,disabled:wi,beforeUpload:pl,onChange:void 0});delete kt.className,delete kt.style,(!Va||wi)&&delete kt.id;const[In,da]=Ve(Ht),[xa]=(0,ht.Z)("Upload",Zt.Z.Upload),{showRemoveIcon:Sa,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:Ln,previewIcon:Dt,downloadIcon:Sn}=typeof Vt=="boolean"?{}:Vt,En=(ea,ba)=>Vt?ae.createElement(Vn,{prefixCls:Ht,listType:kn,items:Xo,previewFile:zr,onPreview:un,onDownload:$a,onRemove:Ae,showRemoveIcon:!wi&&Sa,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:Ln,previewIcon:Dt,downloadIcon:Sn,iconRender:Bi,locale:Object.assign(Object.assign({},xa),mn),isImageUrl:ei,progress:qr,appendAction:ea,appendActionVisible:ba,itemRender:Wr,disabled:wi}):ea,ia=ze()(`${Ht}-wrapper`,Tn,Kl,da,yt==null?void 0:yt.className,{[`${Ht}-rtl`]:Nn==="rtl",[`${Ht}-picture-card-wrapper`]:kn==="picture-card",[`${Ht}-picture-circle-wrapper`]:kn==="picture-circle"}),Fa=Object.assign(Object.assign({},yt==null?void 0:yt.style),Un);if(va==="drag"){const ea=ze()(da,Ht,`${Ht}-drag`,{[`${Ht}-drag-uploading`]:Xo.some(ba=>ba.status==="uploading"),[`${Ht}-drag-hover`]:Cl==="dragover",[`${Ht}-disabled`]:wi,[`${Ht}-rtl`]:Nn==="rtl"});return In(ae.createElement("span",{className:ia},ae.createElement("div",{className:ea,style:Fa,onDrop:Yt,onDragOver:Yt,onDragLeave:Yt},ae.createElement(Xe,Object.assign({},kt,{ref:tl,className:`${Ht}-btn`}),ae.createElement("div",{className:`${Ht}-drag-container`},Va))),En()))}const Xa=ze()(Ht,`${Ht}-select`,{[`${Ht}-disabled`]:wi}),sr=(ea=>ae.createElement("div",{className:Xa,style:ea},ae.createElement(Xe,Object.assign({},kt,{ref:tl}))))(Va?void 0:{display:"none"});return In(kn==="picture-card"||kn==="picture-circle"?ae.createElement("span",{className:ia},En(sr,!!Va)):ae.createElement("span",{className:ia},sr,En()))};var ua=ae.forwardRef(Jn),Wn=function(ot,tn){var $t={};for(var _t in ot)Object.prototype.hasOwnProperty.call(ot,_t)&&tn.indexOf(_t)<0&&($t[_t]=ot[_t]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jn=0,_t=Object.getOwnPropertySymbols(ot);jn<_t.length;jn++)tn.indexOf(_t[jn])<0&&Object.prototype.propertyIsEnumerable.call(ot,_t[jn])&&($t[_t[jn]]=ot[_t[jn]]);return $t},ho=ae.forwardRef((ot,tn)=>{var{style:$t,height:_t}=ot,jn=Wn(ot,["style","height"]);return ae.createElement(ua,Object.assign({ref:tn},jn,{type:"drag",style:Object.assign(Object.assign({},$t),{height:_t})}))});const Rn=ua;Rn.Dragger=ho,Rn.LIST_IGNORE=xn;var no=Rn},97909:function(vt){(function(wt,ee){vt.exports=ee()})(this,function(){"use strict";var wt=1e3,ee=6e4,ae=36e5,me="millisecond",Fe="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,a={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(be){var xe=["th","st","nd","rd"],Se=be%100;return"["+be+(xe[(Se-20)%10]||xe[Se]||xe[0])+"]"}},y=function(be,xe,Se){var ut=String(be);return!ut||ut.length>=xe?be:""+Array(xe+1-ut.length).join(Se)+be},x={s:y,z:function(be){var xe=-be.utcOffset(),Se=Math.abs(xe),ut=Math.floor(Se/60),We=Se%60;return(xe<=0?"+":"-")+y(ut,2,"0")+":"+y(We,2,"0")},m:function be(xe,Se){if(xe.date()<Se.date())return-be(Se,xe);var ut=12*(Se.year()-xe.year())+(Se.month()-xe.month()),We=xe.clone().add(ut,Ze),Kt=Se-We<0,Xe=xe.clone().add(ut+(Kt?-1:1),Ze);return+(-(ut+(Se-We)/(Kt?We-Xe:Xe-We))||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:Fe,ms:me,Q:je}[be]||String(be||"").toLowerCase().replace(/s$/,"")},u:function(be){return be===void 0}},b="en",E={};E[b]=a;var z="$isDayjsObject",re=function(be){return be instanceof pe||!(!be||!be[z])},oe=function be(xe,Se,ut){var We;if(!xe)return b;if(typeof xe=="string"){var Kt=xe.toLowerCase();E[Kt]&&(We=Kt),Se&&(E[Kt]=Se,We=Kt);var Xe=xe.split("-");if(!We&&Xe.length>1)return be(Xe[0])}else{var st=xe.name;E[st]=xe,We=st}return!ut&&We&&(b=We),We||!ut&&b},ne=function(be,xe){if(re(be))return be.clone();var Se=typeof xe=="object"?xe:{};return Se.date=be,Se.args=arguments,new pe(Se)},ge=x;ge.l=oe,ge.i=re,ge.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=oe(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(ut){var We=ut.date,Kt=ut.utc;if(We===null)return new Date(NaN);if(ge.u(We))return new Date;if(We instanceof Date)return new Date(We);if(typeof We=="string"&&!/Z$/i.test(We)){var Xe=We.match(Ee);if(Xe){var st=Xe[2]-1||0,xt=(Xe[7]||"0").substring(0,3);return Kt?new Date(Date.UTC(Xe[1],st,Xe[3]||1,Xe[4]||0,Xe[5]||0,Xe[6]||0,xt)):new Date(Xe[1],st,Xe[3]||1,Xe[4]||0,Xe[5]||0,Xe[6]||0,xt)}}return new Date(We)}(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 ge},xe.isValid=function(){return this.$d.toString()!==Ke},xe.isSame=function(Se,ut){var We=ne(Se);return this.startOf(ut)<=We&&We<=this.endOf(ut)},xe.isAfter=function(Se,ut){return ne(Se)<this.startOf(ut)},xe.isBefore=function(Se,ut){return this.endOf(ut)<ne(Se)},xe.$g=function(Se,ut,We){return ge.u(Se)?this[ut]:this.set(We,Se)},xe.unix=function(){return Math.floor(this.valueOf()/1e3)},xe.valueOf=function(){return this.$d.getTime()},xe.startOf=function(Se,ut){var We=this,Kt=!!ge.u(ut)||ut,Xe=ge.p(Se),st=function($e,Pt){var Ft=ge.w(We.$u?Date.UTC(We.$y,Pt,$e):new Date(We.$y,Pt,$e),We);return Kt?Ft:Ft.endOf(Te)},xt=function($e,Pt){return ge.w(We.toDate()[$e].apply(We.toDate("s"),(Kt?[0,0,0,0]:[23,59,59,999]).slice(Pt)),We)},It=this.$W,Gt=this.$M,ht=this.$D,Zt="set"+(this.$u?"UTC":"");switch(Xe){case He:return Kt?st(1,0):st(31,11);case Ze:return Kt?st(1,Gt):st(0,Gt+1);case se:var an=this.$locale().weekStart||0,hn=(It<an?It+7:It)-an;return st(Kt?ht-hn:ht+(6-hn),Gt);case Te:case qe:return xt(Zt+"Hours",0);case Be:return xt(Zt+"Minutes",1);case ze:return xt(Zt+"Seconds",2);case Fe:return xt(Zt+"Milliseconds",3);default:return this.clone()}},xe.endOf=function(Se){return this.startOf(Se,!1)},xe.$set=function(Se,ut){var We,Kt=ge.p(Se),Xe="set"+(this.$u?"UTC":""),st=(We={},We[Te]=Xe+"Date",We[qe]=Xe+"Date",We[Ze]=Xe+"Month",We[He]=Xe+"FullYear",We[Be]=Xe+"Hours",We[ze]=Xe+"Minutes",We[Fe]=Xe+"Seconds",We[me]=Xe+"Milliseconds",We)[Kt],xt=Kt===Te?this.$D+(ut-this.$W):ut;if(Kt===Ze||Kt===He){var It=this.clone().set(qe,1);It.$d[st](xt),It.init(),this.$d=It.set(qe,Math.min(this.$D,It.daysInMonth())).$d}else st&&this.$d[st](xt);return this.init(),this},xe.set=function(Se,ut){return this.clone().$set(Se,ut)},xe.get=function(Se){return this[ge.p(Se)]()},xe.add=function(Se,ut){var We,Kt=this;Se=Number(Se);var Xe=ge.p(ut),st=function(Gt){var ht=ne(Kt);return ge.w(ht.date(ht.date()+Math.round(Gt*Se)),Kt)};if(Xe===Ze)return this.set(Ze,this.$M+Se);if(Xe===He)return this.set(He,this.$y+Se);if(Xe===Te)return st(1);if(Xe===se)return st(7);var xt=(We={},We[ze]=ee,We[Be]=ae,We[Fe]=wt,We)[Xe]||1,It=this.$d.getTime()+Se*xt;return ge.w(It,this)},xe.subtract=function(Se,ut){return this.add(-1*Se,ut)},xe.format=function(Se){var ut=this,We=this.$locale();if(!this.isValid())return We.invalidDate||Ke;var Kt=Se||"YYYY-MM-DDTHH:mm:ssZ",Xe=ge.z(this),st=this.$H,xt=this.$m,It=this.$M,Gt=We.weekdays,ht=We.months,Zt=We.meridiem,an=function(Pt,Ft,Kn,rt){return Pt&&(Pt[Ft]||Pt(ut,Kt))||Kn[Ft].slice(0,rt)},hn=function(Pt){return ge.s(st%12||12,Pt,"0")},$e=Zt||function(Pt,Ft,Kn){var rt=Pt<12?"AM":"PM";return Kn?rt.toLowerCase():rt};return Kt.replace(ce,function(Pt,Ft){return Ft||function(Kn){switch(Kn){case"YY":return String(ut.$y).slice(-2);case"YYYY":return ge.s(ut.$y,4,"0");case"M":return It+1;case"MM":return ge.s(It+1,2,"0");case"MMM":return an(We.monthsShort,It,ht,3);case"MMMM":return an(ht,It);case"D":return ut.$D;case"DD":return ge.s(ut.$D,2,"0");case"d":return String(ut.$W);case"dd":return an(We.weekdaysMin,ut.$W,Gt,2);case"ddd":return an(We.weekdaysShort,ut.$W,Gt,3);case"dddd":return Gt[ut.$W];case"H":return String(st);case"HH":return ge.s(st,2,"0");case"h":return hn(1);case"hh":return hn(2);case"a":return $e(st,xt,!0);case"A":return $e(st,xt,!1);case"m":return String(xt);case"mm":return ge.s(xt,2,"0");case"s":return String(ut.$s);case"ss":return ge.s(ut.$s,2,"0");case"SSS":return ge.s(ut.$ms,3,"0");case"Z":return Xe}return null}(Pt)||Xe.replace(":","")})},xe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},xe.diff=function(Se,ut,We){var Kt,Xe=this,st=ge.p(ut),xt=ne(Se),It=(xt.utcOffset()-this.utcOffset())*ee,Gt=this-xt,ht=function(){return ge.m(Xe,xt)};switch(st){case He:Kt=ht()/12;break;case Ze:Kt=ht();break;case je:Kt=ht()/3;break;case se:Kt=(Gt-It)/6048e5;break;case Te:Kt=(Gt-It)/864e5;break;case Be:Kt=Gt/ae;break;case ze:Kt=Gt/ee;break;case Fe:Kt=Gt/wt;break;default:Kt=Gt}return We?Kt:ge.a(Kt)},xe.daysInMonth=function(){return this.endOf(Ze).$D},xe.$locale=function(){return E[this.$L]},xe.locale=function(Se,ut){if(!Se)return this.$L;var We=this.clone(),Kt=oe(Se,ut,!0);return Kt&&(We.$L=Kt),We},xe.clone=function(){return ge.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",Fe],["$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=oe,ne.isDayjs=re,ne.unix=function(be){return ne(1e3*be)},ne.en=E[b],ne.Ls=E,ne.p={},ne})},86625:function(vt){(function(wt,ee){vt.exports=ee()})(this,function(){"use strict";return function(wt,ee){var ae=ee.prototype,me=ae.format;ae.format=function(Fe){var ze=this,Be=this.$locale();if(!this.isValid())return me.bind(this)(Fe);var Te=this.$utils(),se=(Fe||"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(vt){(function(wt,ee){vt.exports=ee()})(this,function(){"use strict";var wt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ee=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ae=/\d\d/,me=/\d\d?/,Fe=/\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),a=60*ce[1]+(+ce[2]||0);return a===0?0:ce[0]==="+"?-a:a}(Ke)}],Ze=function(Ke){var Ee=ze[Ke];return Ee&&(Ee.indexOf?Ee:Ee.s.concat(Ee.f))},je=function(Ke,Ee){var ce,a=ze.meridiem;if(a){for(var y=1;y<=24;y+=1)if(Ke.indexOf(a(y,0,Ee))>-1){ce=y>12;break}}else ce=Ke===(Ee?"pm":"PM");return ce},He={A:[Fe,function(Ke){this.afternoon=je(Ke,!1)}],a:[Fe,function(Ke){this.afternoon=je(Ke,!0)}],S:[/\d/,function(Ke){this.milliseconds=100*+Ke}],SS:[ae,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:[ae,Te("day")],Do:[Fe,function(Ke){var Ee=ze.ordinal,ce=Ke.match(/\d+/);if(this.day=ce[0],Ee)for(var a=1;a<=31;a+=1)Ee(a).replace(/\[|\]/g,"")===Ke&&(this.day=a)}],M:[me,Te("month")],MM:[ae,Te("month")],MMM:[Fe,function(Ke){var Ee=Ze("months"),ce=(Ze("monthsShort")||Ee.map(function(a){return a.slice(0,3)})).indexOf(Ke)+1;if(ce<1)throw new Error;this.month=ce%12||ce}],MMMM:[Fe,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:[ae,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 a=(Ke=Ee.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(oe,ne,ge){var pe=ge&&ge.toUpperCase();return ne||ce[ge]||wt[ge]||ce[pe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(we,be,xe){return be||xe.slice(1)})})).match(ee),y=a.length,x=0;x<y;x+=1){var b=a[x],E=He[b],z=E&&E[0],re=E&&E[1];a[x]=re?{regex:z,parser:re}:b.replace(/^\[|\]$/g,"")}return function(oe){for(var ne={},ge=0,pe=0;ge<y;ge+=1){var we=a[ge];if(typeof we=="string")pe+=we.length;else{var be=we.regex,xe=we.parser,Se=oe.slice(pe),ut=be.exec(Se)[0];xe.call(ne,ut),oe=oe.replace(ut,"")}}return function(We){var Kt=We.afternoon;if(Kt!==void 0){var Xe=We.hours;Kt?Xe<12&&(We.hours+=12):Xe===12&&(We.hours=0),delete We.afternoon}}(ne),ne}}return function(Ke,Ee,ce){ce.p.customParseFormat=!0,Ke&&Ke.parseTwoDigitYear&&(Be=Ke.parseTwoDigitYear);var a=Ee.prototype,y=a.parse;a.parse=function(x){var b=x.date,E=x.utc,z=x.args;this.$u=E;var re=z[1];if(typeof re=="string"){var oe=z[2]===!0,ne=z[3]===!0,ge=oe||ne,pe=z[2];ne&&(pe=z[2]),ze=this.$locale(),!oe&&pe&&(ze=ce.Ls[pe]),this.$d=function(Se,ut,We){try{if(["x","X"].indexOf(ut)>-1)return new Date((ut==="X"?1e3:1)*Se);var Kt=qe(ut)(Se),Xe=Kt.year,st=Kt.month,xt=Kt.day,It=Kt.hours,Gt=Kt.minutes,ht=Kt.seconds,Zt=Kt.milliseconds,an=Kt.zone,hn=new Date,$e=xt||(Xe||st?1:hn.getDate()),Pt=Xe||hn.getFullYear(),Ft=0;Xe&&!st||(Ft=st>0?st-1:hn.getMonth());var Kn=It||0,rt=Gt||0,Bt=ht||0,Ce=Zt||0;return an?new Date(Date.UTC(Pt,Ft,$e,Kn,rt,Bt,Ce+60*an.offset*1e3)):We?new Date(Date.UTC(Pt,Ft,$e,Kn,rt,Bt,Ce)):new Date(Pt,Ft,$e,Kn,rt,Bt,Ce)}catch(yn){return new Date("")}}(b,re,E),this.init(),pe&&pe!==!0&&(this.$L=this.locale(pe).$L),ge&&b!=this.format(re)&&(this.$d=new Date("")),ze={}}else if(re instanceof Array)for(var we=re.length,be=1;be<=we;be+=1){z[1]=re[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 y.call(this,x)}}})},26850:function(vt){(function(wt,ee){vt.exports=ee()})(this,function(){"use strict";return function(wt,ee,ae){var me=ee.prototype,Fe=function(Ze){return Ze&&(Ze.indexOf?Ze:Ze.s)},ze=function(Ze,je,He,qe,Ke){var Ee=Ze.name?Ze:Ze.$locale(),ce=Fe(Ee[je]),a=Fe(Ee[He]),y=ce||a.map(function(b){return b.slice(0,qe)});if(!Ke)return y;var x=Ee.weekStart;return y.map(function(b,E){return y[(E+(x||0))%7]})},Be=function(){return ae.Ls[ae.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)()},ae.localeData=function(){var Ze=Be();return{firstDayOfWeek:function(){return Ze.weekStart||0},weekdays:function(){return ae.weekdays()},weekdaysShort:function(){return ae.weekdaysShort()},weekdaysMin:function(){return ae.weekdaysMin()},months:function(){return ae.months()},monthsShort:function(){return ae.monthsShort()},longDateFormat:function(je){return Te(Ze,je)},meridiem:Ze.meridiem,ordinal:Ze.ordinal}},ae.months=function(){return ze(Be(),"months")},ae.monthsShort=function(){return ze(Be(),"monthsShort","months",3)},ae.weekdays=function(Ze){return ze(Be(),"weekdays",null,null,Ze)},ae.weekdaysShort=function(Ze){return ze(Be(),"weekdaysShort","weekdays",3,Ze)},ae.weekdaysMin=function(Ze){return ze(Be(),"weekdaysMin","weekdays",2,Ze)}}})},23082:function(vt){(function(wt,ee){vt.exports=ee()})(this,function(){"use strict";var wt="week",ee="year";return function(ae,me,Fe){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=Fe(this).startOf(ee).add(1,ee).date(Te),Ze=Fe(this).endOf(wt);if(se.isBefore(Ze))return 1}var je=Fe(this).startOf(ee).date(Te).startOf(wt).subtract(1,"millisecond"),He=this.diff(je,wt,!0);return He<0?Fe(this).startOf("week").week():Math.ceil(He)},ze.weeks=function(Be){return Be===void 0&&(Be=null),this.week(Be)}}})},99873:function(vt){(function(wt,ee){vt.exports=ee()})(this,function(){"use strict";return function(wt,ee){ee.prototype.weekYear=function(){var ae=this.month(),me=this.week(),Fe=this.year();return me===1&&ae===11?Fe+1:ae===0&&me>=52?Fe-1:Fe}}})},33088:function(vt){(function(wt,ee){vt.exports=ee()})(this,function(){"use strict";return function(wt,ee){ee.prototype.weekday=function(ae){var me=this.$locale().weekStart||0,Fe=this.$W,ze=(Fe<me?Fe+7:Fe)-me;return this.$utils().u(ae)?ze:this.subtract(ze,"day").add(ae,"day")}}})},62661:function(vt,wt){"use strict";var ee;var ae=Symbol.for("react.element"),me=Symbol.for("react.portal"),Fe=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"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case ae:switch(x=x.type,x){case Fe: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=ae,ee=je,ee=Fe,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 y(x)===se},ee=function(x){return y(x)===Te},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===ae},ee=function(x){return y(x)===je},ee=function(x){return y(x)===Fe},ee=function(x){return y(x)===Ee},wt.isMemo=function(x){return y(x)===Ke},ee=function(x){return y(x)===me},ee=function(x){return y(x)===Be},ee=function(x){return y(x)===ze},ee=function(x){return y(x)===He},ee=function(x){return y(x)===qe},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Fe||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===a||x.getModuleId!==void 0)},ee=y},95845:function(vt,wt,ee){"use strict";vt.exports=ee(62661)},72665:function(vt,wt){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Fe=ae?Symbol.for("react.portal"):60106,ze=ae?Symbol.for("react.fragment"):60107,Be=ae?Symbol.for("react.strict_mode"):60108,Te=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Ze=ae?Symbol.for("react.context"):60110,je=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,qe=ae?Symbol.for("react.forward_ref"):60112,Ke=ae?Symbol.for("react.suspense"):60113,Ee=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,a=ae?Symbol.for("react.lazy"):60116,y=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case je:case He:case ze:case Te:case Be:case Ke:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Ze:case qe:case a:case ce:case se:return oe;default:return ne}}case Fe:return ne}}}function re(oe){return z(oe)===He}ee=je,ee=He,ee=Ze,ee=se,ee=me,ee=qe,ee=ze,ee=a,ee=ce,ee=Fe,ee=Te,ee=Be,ee=Ke,ee=function(oe){return re(oe)||z(oe)===je},ee=re,ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===qe},ee=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===a},wt.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Fe},ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===Be},ee=function(oe){return z(oe)===Ke},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===ze||oe===He||oe===Te||oe===Be||oe===Ke||oe===Ee||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Ze||oe.$$typeof===qe||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===y)},ee=z},12060:function(vt,wt,ee){"use strict";vt.exports=ee(72665)},15633:function(vt,wt){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Fe=ae?Symbol.for("react.portal"):60106,ze=ae?Symbol.for("react.fragment"):60107,Be=ae?Symbol.for("react.strict_mode"):60108,Te=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Ze=ae?Symbol.for("react.context"):60110,je=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,qe=ae?Symbol.for("react.forward_ref"):60112,Ke=ae?Symbol.for("react.suspense"):60113,Ee=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,a=ae?Symbol.for("react.lazy"):60116,y=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case je:case He:case ze:case Te:case Be:case Ke:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Ze:case qe:case a:case ce:case se:return oe;default:return ne}}case Fe:return ne}}}function re(oe){return z(oe)===He}ee=je,ee=He,ee=Ze,ee=se,ee=me,ee=qe,ee=ze,ee=a,ee=ce,ee=Fe,ee=Te,ee=Be,ee=Ke,ee=function(oe){return re(oe)||z(oe)===je},ee=re,ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===qe},ee=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===a},wt.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Fe},ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===Be},ee=function(oe){return z(oe)===Ke},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===ze||oe===He||oe===Te||oe===Be||oe===Ke||oe===Ee||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Ze||oe.$$typeof===qe||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===y)},ee=z},49286:function(vt,wt,ee){"use strict";vt.exports=ee(15633)},56261:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return pe}});var ae=ee(87462),me=ee(4942),Fe=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),a=function(be){for(var xe=be.prefixCls,Se=be.level,ut=be.isStart,We=be.isEnd,Kt="".concat(xe,"-indent-unit"),Xe=[],st=0;st<Se;st+=1){var xt;Xe.push(Ee.createElement("span",{key:st,className:qe()(Kt,(xt={},(0,me.Z)(xt,"".concat(Kt,"-start"),ut[st]),(0,me.Z)(xt,"".concat(Kt,"-end"),We[st]),xt))}))}return Ee.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},Xe)},y=Ee.memo(a),x=ee(3596),b=ee(83898),E=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",re="close",oe="---",ne=function(we){(0,Ze.Z)(xe,we);var be=(0,je.Z)(xe);function xe(){var Se;(0,Be.Z)(this,xe);for(var ut=arguments.length,We=new Array(ut),Kt=0;Kt<ut;Kt++)We[Kt]=arguments[Kt];return Se=be.call.apply(be,[this].concat(We)),Se.state={dragNodeHighlight:!1},Se.selectHandle=void 0,Se.cacheIndent=void 0,Se.onSelectorClick=function(Xe){var st=Se.props.context.onNodeClick;st(Xe,(0,b.F)(Se.props)),Se.isSelectable()?Se.onSelect(Xe):Se.onCheck(Xe)},Se.onSelectorDoubleClick=function(Xe){var st=Se.props.context.onNodeDoubleClick;st(Xe,(0,b.F)(Se.props))},Se.onSelect=function(Xe){if(!Se.isDisabled()){var st=Se.props.context.onNodeSelect;st(Xe,(0,b.F)(Se.props))}},Se.onCheck=function(Xe){if(!Se.isDisabled()){var st=Se.props,xt=st.disableCheckbox,It=st.checked,Gt=Se.props.context.onNodeCheck;if(!(!Se.isCheckable()||xt)){var ht=!It;Gt(Xe,(0,b.F)(Se.props),ht)}}},Se.onMouseEnter=function(Xe){var st=Se.props.context.onNodeMouseEnter;st(Xe,(0,b.F)(Se.props))},Se.onMouseLeave=function(Xe){var st=Se.props.context.onNodeMouseLeave;st(Xe,(0,b.F)(Se.props))},Se.onContextMenu=function(Xe){var st=Se.props.context.onNodeContextMenu;st(Xe,(0,b.F)(Se.props))},Se.onDragStart=function(Xe){var st=Se.props.context.onNodeDragStart;Xe.stopPropagation(),Se.setState({dragNodeHighlight:!0}),st(Xe,(0,se.Z)(Se));try{Xe.dataTransfer.setData("text/plain","")}catch(xt){}},Se.onDragEnter=function(Xe){var st=Se.props.context.onNodeDragEnter;Xe.preventDefault(),Xe.stopPropagation(),st(Xe,(0,se.Z)(Se))},Se.onDragOver=function(Xe){var st=Se.props.context.onNodeDragOver;Xe.preventDefault(),Xe.stopPropagation(),st(Xe,(0,se.Z)(Se))},Se.onDragLeave=function(Xe){var st=Se.props.context.onNodeDragLeave;Xe.stopPropagation(),st(Xe,(0,se.Z)(Se))},Se.onDragEnd=function(Xe){var st=Se.props.context.onNodeDragEnd;Xe.stopPropagation(),Se.setState({dragNodeHighlight:!1}),st(Xe,(0,se.Z)(Se))},Se.onDrop=function(Xe){var st=Se.props.context.onNodeDrop;Xe.preventDefault(),Xe.stopPropagation(),Se.setState({dragNodeHighlight:!1}),st(Xe,(0,se.Z)(Se))},Se.onExpand=function(Xe){var st=Se.props,xt=st.loading,It=st.context.onNodeExpand;xt||It(Xe,(0,b.F)(Se.props))},Se.setSelectHandle=function(Xe){Se.selectHandle=Xe},Se.getNodeState=function(){var Xe=Se.props.expanded;return Se.isLeaf()?null:Xe?z:re},Se.hasChildren=function(){var Xe=Se.props.eventKey,st=Se.props.context.keyEntities,xt=(0,x.Z)(st,Xe)||{},It=xt.children;return!!(It||[]).length},Se.isLeaf=function(){var Xe=Se.props,st=Xe.isLeaf,xt=Xe.loaded,It=Se.props.context.loadData,Gt=Se.hasChildren();return st===!1?!1:st||!It&&!Gt||It&&xt&&!Gt},Se.isDisabled=function(){var Xe=Se.props.disabled,st=Se.props.context.disabled;return!!(st||Xe)},Se.isCheckable=function(){var Xe=Se.props.checkable,st=Se.props.context.checkable;return!st||Xe===!1?!1:st},Se.syncLoadData=function(Xe){var st=Xe.expanded,xt=Xe.loading,It=Xe.loaded,Gt=Se.props.context,ht=Gt.loadData,Zt=Gt.onNodeLoad;xt||ht&&st&&!Se.isLeaf()&&!Se.hasChildren()&&!It&&Zt((0,b.F)(Se.props))},Se.isDraggable=function(){var Xe=Se.props,st=Xe.data,xt=Xe.context.draggable;return!!(xt&&(!xt.nodeDraggable||xt.nodeDraggable(st)))},Se.renderDragHandler=function(){var Xe=Se.props.context,st=Xe.draggable,xt=Xe.prefixCls;return st!=null&&st.icon?Ee.createElement("span",{className:"".concat(xt,"-draggable-icon")},st.icon):null},Se.renderSwitcherIconDom=function(Xe){var st=Se.props.switcherIcon,xt=Se.props.context.switcherIcon,It=st||xt;return typeof It=="function"?It((0,ze.Z)((0,ze.Z)({},Se.props),{},{isLeaf:Xe})):It},Se.renderSwitcher=function(){var Xe=Se.props.expanded,st=Se.props.context.prefixCls;if(Se.isLeaf()){var xt=Se.renderSwitcherIconDom(!0);return xt!==!1?Ee.createElement("span",{className:qe()("".concat(st,"-switcher"),"".concat(st,"-switcher-noop"))},xt):null}var It=qe()("".concat(st,"-switcher"),"".concat(st,"-switcher_").concat(Xe?z:re)),Gt=Se.renderSwitcherIconDom(!1);return Gt!==!1?Ee.createElement("span",{onClick:Se.onExpand,className:It},Gt):null},Se.renderCheckbox=function(){var Xe=Se.props,st=Xe.checked,xt=Xe.halfChecked,It=Xe.disableCheckbox,Gt=Se.props.context.prefixCls,ht=Se.isDisabled(),Zt=Se.isCheckable();if(!Zt)return null;var an=typeof Zt!="boolean"?Zt:null;return Ee.createElement("span",{className:qe()("".concat(Gt,"-checkbox"),st&&"".concat(Gt,"-checkbox-checked"),!st&&xt&&"".concat(Gt,"-checkbox-indeterminate"),(ht||It)&&"".concat(Gt,"-checkbox-disabled")),onClick:Se.onCheck},an)},Se.renderIcon=function(){var Xe=Se.props.loading,st=Se.props.context.prefixCls;return Ee.createElement("span",{className:qe()("".concat(st,"-iconEle"),"".concat(st,"-icon__").concat(Se.getNodeState()||"docu"),Xe&&"".concat(st,"-icon_loading"))})},Se.renderSelector=function(){var Xe=Se.state.dragNodeHighlight,st=Se.props,xt=st.title,It=xt===void 0?oe:xt,Gt=st.selected,ht=st.icon,Zt=st.loading,an=st.data,hn=Se.props.context,$e=hn.prefixCls,Pt=hn.showIcon,Ft=hn.icon,Kn=hn.loadData,rt=hn.titleRender,Bt=Se.isDisabled(),Ce="".concat($e,"-node-content-wrapper"),yn;if(Pt){var bn=ht||Ft;yn=bn?Ee.createElement("span",{className:qe()("".concat($e,"-iconEle"),"".concat($e,"-icon__customize"))},typeof bn=="function"?bn(Se.props):bn):Se.renderIcon()}else Kn&&Zt&&(yn=Se.renderIcon());var pa;typeof It=="function"?pa=It(an):rt?pa=rt(an):pa=It;var $n=Ee.createElement("span",{className:"".concat($e,"-title")},pa);return Ee.createElement("span",{ref:Se.setSelectHandle,title:typeof It=="string"?It:"",className:qe()("".concat(Ce),"".concat(Ce,"-").concat(Se.getNodeState()||"normal"),!Bt&&(Gt||Xe)&&"".concat($e,"-node-selected")),onMouseEnter:Se.onMouseEnter,onMouseLeave:Se.onMouseLeave,onContextMenu:Se.onContextMenu,onClick:Se.onSelectorClick,onDoubleClick:Se.onSelectorDoubleClick},yn,$n,Se.renderDropIndicator())},Se.renderDropIndicator=function(){var Xe=Se.props,st=Xe.disabled,xt=Xe.eventKey,It=Se.props.context,Gt=It.draggable,ht=It.dropLevelOffset,Zt=It.dropPosition,an=It.prefixCls,hn=It.indent,$e=It.dropIndicatorRender,Pt=It.dragOverNodeKey,Ft=It.direction,Kn=!!Gt,rt=!st&&Kn&&Pt===xt,Bt=hn!=null?hn:Se.cacheIndent;return Se.cacheIndent=hn,rt?$e({dropPosition:Zt,dropLevelOffset:ht,indent:Bt,prefixCls:an,direction:Ft}):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 ut=this.props.selectable,We=this.props.context.selectable;return typeof ut=="boolean"?ut:We}},{key:"render",value:function(){var ut,We=this.props,Kt=We.eventKey,Xe=We.className,st=We.style,xt=We.dragOver,It=We.dragOverGapTop,Gt=We.dragOverGapBottom,ht=We.isLeaf,Zt=We.isStart,an=We.isEnd,hn=We.expanded,$e=We.selected,Pt=We.checked,Ft=We.halfChecked,Kn=We.loading,rt=We.domRef,Bt=We.active,Ce=We.data,yn=We.onMouseMove,bn=We.selectable,pa=(0,Fe.Z)(We,E),$n=this.props.context,Jt=$n.prefixCls,Ge=$n.filterTreeNode,Me=$n.keyEntities,pt=$n.dropContainerKey,zt=$n.dropTargetKey,Xt=$n.draggingNodeKey,wn=this.isDisabled(),Yn=(0,Ke.Z)(pa,{aria:!0,data:!0}),qt=(0,x.Z)(Me,Kt)||{},Ut=qt.level,_n=an[an.length-1],Ie=this.isDraggable(),tt=!wn&&Ie,Qn=Xt===Kt,Fn=bn!==void 0?{"aria-selected":!!bn}:void 0;return Ee.createElement("div",(0,ae.Z)({ref:rt,className:qe()(Xe,"".concat(Jt,"-treenode"),(ut={},(0,me.Z)(ut,"".concat(Jt,"-treenode-disabled"),wn),(0,me.Z)(ut,"".concat(Jt,"-treenode-switcher-").concat(hn?"open":"close"),!ht),(0,me.Z)(ut,"".concat(Jt,"-treenode-checkbox-checked"),Pt),(0,me.Z)(ut,"".concat(Jt,"-treenode-checkbox-indeterminate"),Ft),(0,me.Z)(ut,"".concat(Jt,"-treenode-selected"),$e),(0,me.Z)(ut,"".concat(Jt,"-treenode-loading"),Kn),(0,me.Z)(ut,"".concat(Jt,"-treenode-active"),Bt),(0,me.Z)(ut,"".concat(Jt,"-treenode-leaf-last"),_n),(0,me.Z)(ut,"".concat(Jt,"-treenode-draggable"),Ie),(0,me.Z)(ut,"dragging",Qn),(0,me.Z)(ut,"drop-target",zt===Kt),(0,me.Z)(ut,"drop-container",pt===Kt),(0,me.Z)(ut,"drag-over",!wn&&xt),(0,me.Z)(ut,"drag-over-gap-top",!wn&&It),(0,me.Z)(ut,"drag-over-gap-bottom",!wn&&Gt),(0,me.Z)(ut,"filter-node",Ge&&Ge((0,b.F)(this.props))),ut)),style:st,draggable:tt,"aria-grabbed":Qn,onDragStart:tt?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:yn},Fn,Yn),Ee.createElement(y,{prefixCls:Jt,level:Ut,isStart:Zt,isEnd:an}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(Ee.Component),ge=function(be){return Ee.createElement(ce.k.Consumer,null,function(xe){return Ee.createElement(ne,(0,ae.Z)({},be,{context:xe}))})};ge.displayName="TreeNode",ge.isTreeNode=1;var pe=ge},69610:function(vt,wt,ee){"use strict";ee.d(wt,{k:function(){return me}});var ae=ee(67294),me=ae.createContext(null)},29873:function(vt,wt,ee){"use strict";ee.d(wt,{BT:function(){return y},E6:function(){return E},L0:function(){return He},OM:function(){return a},_5:function(){return je},r7:function(){return z},wA:function(){return Ke},yx:function(){return qe}});var ae=ee(74902),me=ee(71002),Fe=ee(72978),ze=ee(67294),Be=ee(56261),Te=ee(3596),se=ee(83898),Ze=null;function je(re,oe){if(!re)return[];var ne=re.slice(),ge=ne.indexOf(oe);return ge>=0&&ne.splice(ge,1),ne}function He(re,oe){var ne=(re||[]).slice();return ne.indexOf(oe)===-1&&ne.push(oe),ne}function qe(re){return re.split("-")}function Ke(re,oe){var ne=[],ge=(0,Te.Z)(oe,re);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(ge.children),ne}function Ee(re){if(re.parent){var oe=qe(re.pos);return Number(oe[oe.length-1])===re.parent.children.length-1}return!1}function ce(re){var oe=qe(re.pos);return Number(oe[oe.length-1])===0}function a(re,oe,ne,ge,pe,we,be,xe,Se,ut){var We,Kt=re.clientX,Xe=re.clientY,st=re.target.getBoundingClientRect(),xt=st.top,It=st.height,Gt=(ut==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-Kt),ht=(Gt-12)/ge,Zt=(0,Te.Z)(xe,ne.props.eventKey);if(Xe<xt+It/2){var an=be.findIndex(function($n){return $n.key===Zt.key}),hn=an<=0?0:an-1,$e=be[hn].key;Zt=(0,Te.Z)(xe,$e)}var Pt=Zt.key,Ft=Zt,Kn=Zt.key,rt=0,Bt=0;if(!Se.includes(Pt))for(var Ce=0;Ce<ht&&Ee(Zt);Ce+=1)Zt=Zt.parent,Bt+=1;var yn=oe.props.data,bn=Zt.node,pa=!0;return ce(Zt)&&Zt.level===0&&Xe<xt+It/2&&we({dragNode:yn,dropNode:bn,dropPosition:-1})&&Zt.key===ne.props.eventKey?rt=-1:(Ft.children||[]).length&&Se.includes(Kn)?we({dragNode:yn,dropNode:bn,dropPosition:0})?rt=0:pa=!1:Bt===0?ht>-1.5?we({dragNode:yn,dropNode:bn,dropPosition:1})?rt=1:pa=!1:we({dragNode:yn,dropNode:bn,dropPosition:0})?rt=0:we({dragNode:yn,dropNode:bn,dropPosition:1})?rt=1:pa=!1:we({dragNode:yn,dropNode:bn,dropPosition:1})?rt=1:pa=!1,{dropPosition:rt,dropLevelOffset:Bt,dropTargetKey:Zt.key,dropTargetPos:Zt.pos,dragOverNodeKey:Kn,dropContainerKey:rt===0?null:((We=Zt.parent)===null||We===void 0?void 0:We.key)||null,dropAllowed:pa}}function y(re,oe){if(re){var ne=oe.multiple;return ne?re.slice():re.length?[re[0]]:re}}var x=function(oe){return oe};function b(re,oe){if(!re)return[];var ne=oe||{},ge=ne.processProps,pe=ge===void 0?x:ge,we=Array.isArray(re)?re:[re];return we.map(function(be){var xe=be.children,Se=_objectWithoutProperties(be,Ze),ut=b(xe,oe);return React.createElement(TreeNode,_extends({key:Se.key},pe(Se)),ut)})}function E(re){if(!re)return null;var oe;if(Array.isArray(re))oe={checkedKeys:re,halfCheckedKeys:void 0};else if((0,me.Z)(re)==="object")oe={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Fe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function z(re,oe){var ne=new Set;function ge(pe){if(!ne.has(pe)){var we=(0,Te.Z)(oe,pe);if(we){ne.add(pe);var be=we.parent,xe=we.node;xe.disabled||be&&ge(be.key)}}}return(re||[]).forEach(function(pe){ge(pe)}),(0,ae.Z)(ne)}},97153:function(vt,wt,ee){"use strict";ee.d(wt,{S:function(){return se}});var ae=ee(72978),me=ee(3596);function Fe(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 a=je.get(ce)||new Set;a.forEach(function(E){var z=E.key,re=E.node,oe=E.children,ne=oe===void 0?[]:oe;Ke.has(z)&&!qe(re)&&ne.filter(function(ge){return!qe(ge.node)}).forEach(function(ge){Ke.add(ge.key)})})}for(var y=new Set,x=He;x>=0;x-=1){var b=je.get(x)||new Set;b.forEach(function(E){var z=E.parent,re=E.node;if(!(qe(re)||!E.parent||y.has(E.parent.key))){if(qe(E.parent.node)){y.add(z.key);return}var oe=!0,ne=!1;(z.children||[]).filter(function(ge){return!qe(ge.node)}).forEach(function(ge){var pe=ge.key,we=Ke.has(pe);oe&&!we&&(oe=!1),!ne&&(we||Ee.has(pe))&&(ne=!0)}),oe&&Ke.add(z.key),ne&&Ee.add(z.key),y.add(z.key)}})}return{checkedKeys:Array.from(Ke),halfCheckedKeys:Array.from(Fe(Ee,Ke))}}function Te(Ze,je,He,qe,Ke){for(var Ee=new Set(Ze),ce=new Set(je),a=0;a<=qe;a+=1){var y=He.get(a)||new Set;y.forEach(function(z){var re=z.key,oe=z.node,ne=z.children,ge=ne===void 0?[]:ne;!Ee.has(re)&&!ce.has(re)&&!Ke(oe)&&ge.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 re=z.parent,oe=z.node;if(!(Ke(oe)||!z.parent||x.has(z.parent.key))){if(Ke(z.parent.node)){x.add(re.key);return}var ne=!0,ge=!1;(re.children||[]).filter(function(pe){return!Ke(pe.node)}).forEach(function(pe){var we=pe.key,be=Ee.has(we);ne&&!be&&(ne=!1),!ge&&(be||ce.has(we))&&(ge=!0)}),ne||Ee.delete(re.key),ge&&ce.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(Fe(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})),a=new Map,y=0;Object.keys(He).forEach(function(b){var E=He[b],z=E.level,re=a.get(z);re||(re=new Set,a.set(z,re)),re.add(E),y=Math.max(y,z)}),(0,ae.ZP)(!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,a,y,Ee):x=Te(ce,je.halfCheckedKeys,a,y,Ee),x}},3596:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return ae}});function ae(me,Fe){return me[Fe]}},83898:function(vt,wt,ee){"use strict";ee.d(wt,{I8:function(){return z},F:function(){return oe},zn:function(){return x},w$:function(){return a},oH:function(){return b},km:function(){return ce},H8:function(){return re}});var ae=ee(71002),me=ee(74902),Fe=ee(1413),ze=ee(45987),Be=ee(67294),Te=ee(28580);function se(ne){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return Be.Children.forEach(ne,function(we){we==null&&!ge.keepEmpty||(Array.isArray(we)?pe=pe.concat(se(we)):(0,Te.isFragment)(we)&&we.props?pe=pe.concat(se(we.props.children,ge)):pe.push(we))}),pe}function Ze(ne,ge){var pe=(0,Fe.Z)({},ne);return Array.isArray(ge)&&ge.forEach(function(we){delete pe[we]}),pe}var je=ee(72978),He=ee(3596),qe=["children"];function Ke(ne,ge){return"".concat(ne,"-").concat(ge)}function Ee(ne){return ne&&ne.type&&ne.type.isTreeNode}function ce(ne,ge){return ne!=null?ne:ge}function a(ne){var ge=ne||{},pe=ge.title,we=ge._title,be=ge.key,xe=ge.children,Se=pe||"title";return{title:Se,_title:we||[Se],key:be||"key",children:xe||"children"}}function y(ne,ge){var pe=new Map;function we(be){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Se){var ut=Se[ge.key],We=Se[ge.children];warning(ut!=null,"Tree node must have a certain key: [".concat(xe).concat(ut,"]"));var Kt=String(ut);warning(!pe.has(Kt)||ut===null||ut===void 0,"Same 'key' exist in the Tree: ".concat(Kt)),pe.set(Kt,!0),we(We,"".concat(xe).concat(Kt," > "))})}we(ne)}function x(ne){function ge(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,ut=Se.children,We=(0,ze.Z)(Se,qe),Kt=(0,Fe.Z)({key:xe},We),Xe=ge(ut);return Xe.length&&(Kt.children=Xe),Kt}).filter(function(be){return be})}return ge(ne)}function b(ne,ge,pe){var we=a(pe),be=we._title,xe=we.key,Se=we.children,ut=new Set(ge===!0?[]:ge),We=[];function Kt(Xe){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Xe.map(function(xt,It){for(var Gt=Ke(st?st.pos:"0",It),ht=ce(xt[xe],Gt),Zt,an=0;an<be.length;an+=1){var hn=be[an];if(xt[hn]!==void 0){Zt=xt[hn];break}}var $e=(0,Fe.Z)((0,Fe.Z)({},Ze(xt,[].concat((0,me.Z)(be),[xe,Se]))),{},{title:Zt,key:ht,parent:st,pos:Gt,children:null,data:xt,isStart:[].concat((0,me.Z)(st?st.isStart:[]),[It===0]),isEnd:[].concat((0,me.Z)(st?st.isEnd:[]),[It===Xe.length-1])});return We.push($e),ge===!0||ut.has(ht)?$e.children=Kt(xt[Se]||[],$e):$e.children=[],$e})}return Kt(ne),We}function E(ne,ge,pe){var we={};(0,ae.Z)(pe)==="object"?we=pe:we={externalGetKey:pe},we=we||{};var be=we,xe=be.childrenPropName,Se=be.externalGetKey,ut=be.fieldNames,We=a(ut),Kt=We.key,Xe=We.children,st=xe||Xe,xt;Se?typeof Se=="string"?xt=function(ht){return ht[Se]}:typeof Se=="function"&&(xt=function(ht){return Se(ht)}):xt=function(ht,Zt){return ce(ht[Kt],Zt)};function It(Gt,ht,Zt,an){var hn=Gt?Gt[st]:ne,$e=Gt?Ke(Zt.pos,ht):"0",Pt=Gt?[].concat((0,me.Z)(an),[Gt]):[];if(Gt){var Ft=xt(Gt,$e),Kn={node:Gt,index:ht,pos:$e,key:Ft,parentPos:Zt.node?Zt.pos:null,level:Zt.level+1,nodes:Pt};ge(Kn)}hn&&hn.forEach(function(rt,Bt){It(rt,Bt,{node:Gt,pos:$e,level:Zt?Zt.level+1:-1},Pt)})}It(null)}function z(ne){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=ge.initWrapper,we=ge.processEntity,be=ge.onProcessFinished,xe=ge.externalGetKey,Se=ge.childrenPropName,ut=ge.fieldNames,We=arguments.length>2?arguments[2]:void 0,Kt=xe||We,Xe={},st={},xt={posEntities:Xe,keyEntities:st};return pe&&(xt=pe(xt)||xt),E(ne,function(It){var Gt=It.node,ht=It.index,Zt=It.pos,an=It.key,hn=It.parentPos,$e=It.level,Pt=It.nodes,Ft={node:Gt,nodes:Pt,index:ht,key:an,pos:Zt,level:$e},Kn=ce(an,Zt);Xe[Zt]=Ft,st[Kn]=Ft,Ft.parent=Xe[hn],Ft.parent&&(Ft.parent.children=Ft.parent.children||[],Ft.parent.children.push(Ft)),we&&we(Ft,xt)},{externalGetKey:Kt,childrenPropName:Se,fieldNames:ut}),be&&be(xt),xt}function re(ne,ge){var pe=ge.expandedKeys,we=ge.selectedKeys,be=ge.loadedKeys,xe=ge.loadingKeys,Se=ge.checkedKeys,ut=ge.halfCheckedKeys,We=ge.dragOverNodeKey,Kt=ge.dropPosition,Xe=ge.keyEntities,st=(0,He.Z)(Xe,ne),xt={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:ut.indexOf(ne)!==-1,pos:String(st?st.pos:""),dragOver:We===ne&&Kt===0,dragOverGapTop:We===ne&&Kt===-1,dragOverGapBottom:We===ne&&Kt===1};return xt}function oe(ne){var ge=ne.data,pe=ne.expanded,we=ne.selected,be=ne.checked,xe=ne.loaded,Se=ne.loading,ut=ne.halfChecked,We=ne.dragOver,Kt=ne.dragOverGapTop,Xe=ne.dragOverGapBottom,st=ne.pos,xt=ne.active,It=ne.eventKey,Gt=(0,Fe.Z)((0,Fe.Z)({},ge),{},{expanded:pe,selected:we,checked:be,loaded:xe,loading:Se,halfChecked:ut,dragOver:We,dragOverGapTop:Kt,dragOverGapBottom:Xe,pos:st,active:xt,key:It});return"props"in Gt||Object.defineProperty(Gt,"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}}),Gt}},34952:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return Ze}});var ae=ee(1413),me=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Fe=`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(Fe).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,ae.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(vt,wt,ee){"use strict";var ae={};function me(Ze,je){}function Fe(Ze,je){}function ze(){ae={}}function Be(Ze,je,He){!je&&!ae[He]&&(Ze(!1,He),ae[He]=!0)}function Te(Ze,je){Be(me,Ze,je)}function se(Ze,je){Be(Fe,Ze,je)}wt.ZP=Te},81533:function(vt,wt){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Fe=ae?Symbol.for("react.portal"):60106,ze=ae?Symbol.for("react.fragment"):60107,Be=ae?Symbol.for("react.strict_mode"):60108,Te=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Ze=ae?Symbol.for("react.context"):60110,je=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,qe=ae?Symbol.for("react.forward_ref"):60112,Ke=ae?Symbol.for("react.suspense"):60113,Ee=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,a=ae?Symbol.for("react.lazy"):60116,y=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case je:case He:case ze:case Te:case Be:case Ke:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Ze:case qe:case a:case ce:case se:return oe;default:return ne}}case Fe:return ne}}}function re(oe){return z(oe)===He}ee=je,ee=He,ee=Ze,ee=se,ee=me,ee=qe,ee=ze,ee=a,ee=ce,ee=Fe,ee=Te,ee=Be,ee=Ke,ee=function(oe){return re(oe)||z(oe)===je},ee=re,ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===qe},wt.isFragment=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===a},wt.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Fe},ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===Be},ee=function(oe){return z(oe)===Ke},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===ze||oe===He||oe===Te||oe===Be||oe===Ke||oe===Ee||typeof oe=="object"&&oe!==null&&(oe.$$typeof===a||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Ze||oe.$$typeof===qe||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===y)},ee=z},28580:function(vt,wt,ee){"use strict";vt.exports=ee(81533)},92389:function(vt,wt){"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 Fe=me.keyCode;if(me.altKey&&!me.ctrlKey||me.metaKey||Fe>=ee.F1&&Fe<=ee.F12)return!1;switch(Fe){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}}};wt.Z=ee},46762:function(vt,wt){"use strict";var ee;var ae=Symbol.for("react.element"),me=Symbol.for("react.portal"),Fe=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"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case ae:switch(x=x.type,x){case Fe: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=ae,ee=je,ee=Fe,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 y(x)===se},ee=function(x){return y(x)===Te},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===ae},ee=function(x){return y(x)===je},wt.isFragment=function(x){return y(x)===Fe},ee=function(x){return y(x)===Ee},ee=function(x){return y(x)===Ke},ee=function(x){return y(x)===me},ee=function(x){return y(x)===Be},ee=function(x){return y(x)===ze},ee=function(x){return y(x)===He},ee=function(x){return y(x)===qe},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Fe||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===a||x.getModuleId!==void 0)},ee=y},35110:function(vt,wt,ee){"use strict";vt.exports=ee(46762)},64217:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return Ze}});var ae=ee(1413),me=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Fe=`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(Fe).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,ae.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(vt){"use strict";vt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txd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hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(vt,wt,ee){"use strict";ee.d(wt,{Z:function(){return ae}});function ae(me){if(me==null)throw new TypeError("Cannot destructure "+me)}}}]);
|