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.
273 lines
854 KiB
273 lines
854 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5089],{89489:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},59477:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},26227:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={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"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},49198:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},41464:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={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"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},52671:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},8657:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},56082:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},33853:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},15075:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},43531:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},38819:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ot}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},tt=Te,Me=te(7657),Re=function(at,nt){return ve.createElement(Me.Z,(0,oe.Z)({},at,{ref:nt,icon:tt}))},le=ve.forwardRef(Re),ot=le},99587:function(ht,Dt){"use strict";Dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},63720:function(){"use strict";function ht(ie,y,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ie,this._defaultValue=y,this._minimum=a,this._maximum=x}Object.defineProperty(ht.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(ht.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(ht.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(ht.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,y){var a=go.Shape._FigureParameters[ie];return a?a[y]:null},go.Shape.setFigureParameter=function(ie,y,a){if(!(a instanceof ht))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[ie];x||(x=[],go.Shape._FigureParameters[ie]=x),x[y]=a};var Dt=[];function te(ie,y){var a=Dt.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function oe(){var ie=Dt.pop();return ie===void 0?new go.Point:ie}function ve(ie){Dt.push(ie)}function Te(ie,y,a,x,b,E,z,ee,ae){ae||(ae=new go.Point);var ne=ie-a,ge=b-z,fe=NaN,Be=NaN;if(ne===0)if(ge===0)ie===a&&(fe=ie,Be=y);else{var be=(E-ee)/ge,De=E-be*b;fe=ie,Be=be*fe+De}else if(ge===0){var ye=(y-x)/ne,wt=y-ye*ie;fe=b,Be=ye*fe+wt}else{var ye=(y-x)/ne,be=(E-ee)/ge,wt=y-ye*ie,De=E-be*b;fe=(De-wt)/(ye-be),Be=ye*fe+wt}return ae.x=fe,ae.y=Be,ae}function tt(ie,y,a,x,b,E,z,ee,ae,ne,ge,fe,Be,be){var De=1-ae,ye=ae,wt=ie*De+a*ye,pt=y*De+x*ye,hn=a*De+b*ye,it=x*De+E*ye,dt=b*De+z*ye,St=E*De+ee*ye,Ft=wt*De+hn*ye,Zt=pt*De+it*ye,Jt=hn*De+dt*ye,Je=it*De+St*ye,kt=Ft*De+Jt*ye,Xt=Zt*De+Je*ye;ne.x=wt,ne.y=pt,ge.x=Ft,ge.y=Zt,fe.x=kt,fe.y=Xt,Be.x=Jt,Be.y=Je,be.x=dt,be.y=St}var Me=new go.Spot(.156,.156),Re=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ht("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,y,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*le,E=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=y,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(ie,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y/2,x.startY=0,x.endX=y/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,y,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*y,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,y,a){var x=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Me,b.spot2=Re,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ie,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(ie,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,le*y,0,y,(1-le)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,le*a,(1-le)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,le*a,le*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-le)*y,0,0,(1-le)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ht("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y:x>y&&(x=y);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("Trapezoid1",0,new ht("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ht("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=20:x<-y?x=-y/2:x>y&&(x=y/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("ManualOperation",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y/2:x>y&&(x=y/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}});var ot=[];function rt(){var ie=ot.pop();return ie===void 0?[]:ie}function at(ie){ie.length=0,ot.push(ie)}function nt(ie){for(var y=rt(),a=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<ie;z++)E=2*Math.PI/ie*z+b,y[z]=new go.Point(x+a*Math.cos(E),x+a*Math.sin(E));return y.push(y[0]),y}function ut(ie){var y=He(ie),a=rt();a[0]=y[0];for(var x=1,b=1;x<y.length;x+=2,b+=3)a[b]=y[x],a[b+1]=y[x],a[b+2]=y[x+1];return at(y),a}function He(ie){for(var y=nt(ie),a=rt(),x=Math.floor(y.length/2),b=y.length-1,E=ie%2===0?2:1,z=0;z<b;z++){var ee=y[z],ae=y[z+1],ne=y[(x+z-1)%b],ge=y[(x+z+E)%b];a[z*2]=ee,a[z*2+1]=Te(ee.x,ee.y,ne.x,ne.y,ae.x,ae.y,ge.x,ge.y,new go.Point)}return a[a.length]=a[0],at(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ie,y,a){var x=nt(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<5;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ie,y,a){var x=nt(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<6;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ie,y,a){var x=nt(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<7;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ie,y,a){var x=nt(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<8;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ie,y,a){var x=nt(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<9;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ie,y,a){var x=nt(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ie,y,a){var x=nt(12),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ie,y,a){var x=He(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ie,y,a){var x=He(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ie,y,a){var x=He(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<14;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ie,y,a){var x=He(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<16;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ie,y,a){var x=He(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<18;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ie,y,a){var x=He(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<20;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),at(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ie,y,a){var x=ut(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),at(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ie,y,a){var x=ut(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),at(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ie,y,a){var x=ut(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),at(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ie,y,a){var x=ut(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),at(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ie,y,a){var x=ut(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),at(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ie,y,a){var x=ut(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),at(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new ht("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ht("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ie,y,a){var x=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<y/2&&b<a/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,b).close())),E.setSpots(0,0,1,1,x,b,-x,-b),E}),go.Shape.setFigureParameter("Ring",0,new ht("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ie,y,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=y/2,E=new go.Geometry,z=new go.PathFigure(y,y/2,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var ee=Math.max(b-x,0);return ee>0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ee,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),E.spot1=Me,E.spot2=Re,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,y,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ht("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ht("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var x=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var E=x%360;E<0&&(E+=360);var z=b%360,ee=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,E,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,y,a){var x=le/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,E*a,y,(1-x)*a,(b+x)*y,(E+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,y)/2,E=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,y)/2,E=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,y,a){var x=ie?ie.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var E=y/2,z=a/2,ee=Math.atan2(a,y),ae=x-Math.min(Math.cos(ee)*x/2,E),ne=x-Math.min(Math.sin(ee)*x/2,z),b=new go.Geometry,ge=new go.PathFigure(ae,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),ge.add(new go.PathSegment(go.PathSegment.Line,y-ae,0)),ge.add(new go.PathSegment(go.PathSegment.Line,y,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,y,a-ne)),ge.add(new go.PathSegment(go.PathSegment.Line,y-ae,a)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ge.add(new go.PathSegment(go.PathSegment.Line,ae,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,a-ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ht("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ht("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-x)*y,.25*a,Math.abs(1-x)*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,le*y,0,y,(.5-le/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+le/2)*a,le*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var E=.2,z=.3,ee=0,ae=E*le;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+ae+ee)*a,(.5-ae+z)*y,(.5+E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ee)*a,(.5+ae+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z)*y,(.5-ae+ee)*a,(.5+ae+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ae+z)*y,(.5-E+ee)*a,(.5-E+z+.05)*y,(.5-ae+ee-.02)*a)),E=.2,z=0,ee=-.3,ae=E*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ee)*a,(.5+ae+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z)*y,(.5-ae+ee)*a,(.5+ae+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ee)*a,(.5-ae+z)*y,(.5-E+ee)*a,(.5-E+z)*y,(.5-ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+ae+ee)*a,(.5-ae+z)*y,(.5+E+ee)*a)),E=.2,z=-.3,ee=0,ae=E*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ee)*a,(1-.5+E+z-.05)*y,(.5-ae+ee-.02)*a,(.5+ae+z)*y,(.5-E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ee)*a,(.5-ae+z)*y,(.5-E+ee)*a,(.5-E+z)*y,(.5-ae+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ee)*a,(.5-E+z)*y,(.5+ae+ee)*a,(.5-ae+z)*y,(.5+E+ee)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ae+z)*y,(.5+E+ee)*a,(.5+E+z)*y,(.5+ae+ee)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var E=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*y,ee*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ee,E*y,E*y).close()),b=new go.PathFigure(y*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ee=.75,b=new go.PathFigure((z+E)*y,ee*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ee,E*y,E*y).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ie,y,a){var x=.8535533905932737,b=.5*y,E=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=.5,z=.5,ee=.5,ae=new go.PathFigure(z*y,(ee-E)*a);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),E=.4,b=le*.4;var ne=oe(),ge=oe(),fe=oe(),Be=oe();tt(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.42,ne,ge,fe,Be,Be);var be=oe(),De=oe(),ye=oe();tt(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.58,Be,Be,ye,be,De);var wt=oe(),pt=oe(),hn=oe();tt(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.42,wt,pt,hn,Be,Be);var it=oe(),dt=oe(),St=oe();return tt(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.58,Be,Be,St,it,dt),ae.add(new go.PathSegment(go.PathSegment.Move,St.x*y,St.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,it.x*y,it.y*a,dt.x*y,dt.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*y,fe.y*a,ne.x*y,ne.y*a,ge.x*y,ge.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,St.x*y,St.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,hn.x*y,hn.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,ye.x*y,ye.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,be.x*y,be.y*a,De.x*y,De.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,hn.x*y,hn.y*a,wt.x*y,wt.y*a,pt.x*y,pt.y*a).close()),ve(ne),ve(ge),ve(fe),ve(Be),ve(be),ve(De),ve(ye),ve(wt),ve(pt),ve(hn),ve(it),ve(dt),ve(St),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,y,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>y&&(x=y);var b=(y-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,y,a){var x=new go.Geometry,b=le*.4,E=.4,z=.5,ee=.5,ae=oe(),ne=oe(),ge=oe(),fe=oe(),Be=new go.PathFigure((z-E)*y,ee*a,!1);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),tt(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.44,ge,fe,ne,ae,ae),Be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a));var be=te(ne.x,ne.y);tt(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.56,ae,ae,ne,ge,fe);var De=te(ne.x,ne.y);Be.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*y,be.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*y,be.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Be.add(new go.PathSegment(go.PathSegment.Line,y,0)),Be.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.9)*y,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.9)*y,(De.y*.1+.05*.9)*a)),Be.add(new go.PathSegment(go.PathSegment.Line,De.x*y,De.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),E=.35,b=le*.35;var ye=new go.PathFigure(z*y,(ee-E)*a,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a));var wt=new go.PathFigure((z-E)*y,ee*a,!1);return x.add(wt),ve(ae),ve(ne),ve(ge),ve(fe),ve(be),ve(De),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(ie,y,a){var x=new go.Geometry,b=.375,E=0,z=-.125,ee=b*le,ae=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+ee+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-ee+z)*a,(.5+ee+E)*y,(.5-b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ee+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+ee+z)*a,(.5-ee+E)*y,(.5+b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,E=0,z=-.125,ee=b*le;var ae=new go.PathFigure((1-.5+b+E)*y,(.5+z)*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+ee+z)*a,(.5+ee+E)*y,(.5+b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ee+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ee+z)*a,(.5-ee+E)*y,(.5-b+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+ee+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-ee+z)*a));var ae=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);return x.add(ae),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,y,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,y,a){var x=ie?ie.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,y,a){var x=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ht("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ht("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*y,z=(.5-b/2)*a,ee=(.5+b/2)*a,ae=new go.Geometry,ne=new go.PathFigure(0,z,!0);ae.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,z/a);var ge=Te(0,ee/a,1,ee/a,E/y,1,1,.5,oe());return ae.spot2=new go.Spot(ge.x,ge.y),ve(ge),ae}),go.Shape.setFigureParameter("Arrow2",0,new ht("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ht("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=30),x>y&&(x=y);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var E=y-x,z=(a-b)/2,ee=z+b,ae=new go.Geometry,ne=new go.PathFigure(0,z,!0);ae.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),ae.spot1=new go.Spot(0,z/a);var ge=Te(0,ee/a,1,ee/a,E/y,1,1,.5,oe());return ae.spot2=new go.Spot(ge.x,ge.y),ve(ge),ae}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ht("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ae=Te(0,.5,.3,0,0,b/a,.1,b/a,oe());return z.spot1=new go.Spot(ae.x,ae.y),ae=Te(.7,1,1,.5,0,E/a,1,E/a,ae),z.spot2=new go.Spot(ae.x,ae.y),ve(ae),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ht("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ht("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,ee=(a-b)/2,ae=ee+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ee=0,ae=a):(E=0,z=a,ee=0,ae=a));var ne=new go.Geometry,ge=new go.PathFigure(y,.5*a,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close());var fe=Te(0,.5,.3,ee/a,0,E/a,1,E/a,oe());return ne.spot1=new go.Spot(fe.x,fe.y),fe=Te(.7,ae/a,1,.5,0,z/a,1,z/a,fe),ne.spot2=new go.Spot(fe.x,fe.y),ve(fe),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new ht("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var ae=Te(.7,1,1,.5,0,E/a,1,E/a,oe());return z.spot2=new go.Spot(ae.x,ae.y),ve(ae),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ht("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ht("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,ee=(a-b)/2,ae=ee+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,ee=0,ae=a):(E=0,z=a,ee=0,ae=a));var ne=new go.Geometry,ge=new go.PathFigure(y,.5*a,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee).close()),ne.spot1=new go.Spot(0,E/a);var fe=Te(.7,ae/a,1,.5,0,z/a,1,z/a,oe());return ne.spot2=new go.Spot(fe.x,fe.y),ve(fe),ne}),go.Shape.setFigureParameter("Pointer",0,new ht("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Te(.2,.65,1,.65,0,1,1,.5,oe());return b.spot2=new go.Spot(z.x,z.y),ve(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ht("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b.spot1=new go.Spot(x,.35);var z=Te(0,.65,1,.65,0,1,1,.5,oe());return b.spot2=new go.Spot(z.x,z.y),ve(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ht("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var ae=Te(.7,1,1,.5,0,E/a,1,E/a,oe());return z.spot2=new go.Spot(ae.x,ae.y),ve(ae),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ht("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,E=b+x;x>a&&(b=0,E=a);var z=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var ae=Te(.7,1,1,.5,0,E/a,1,E/a,oe());return z.spot2=new go.Spot(ae.x,ae.y),ve(ae),z}),go.Shape.setFigureParameter("SquareArrow",0,new ht("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=le*.1,z=new go.PathFigure(0,.9*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var E=new go.PathFigure(0,.9*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var E=new go.PathFigure(0,.3*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=le*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,le*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,x,(.5+E)*y,0,1*y,le*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-le*x,(.5+E)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,1*a,0,a-le*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ee=new go.PathFigure(y,x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*x,1*y,2*x-le*x,(.5+E)*y,2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*y,2*x,0,2*x-le*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=le*.5,z=new go.PathFigure(0,a-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,le*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x,(.5+E)*y,0,y,le*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-le*x,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,a,0,a-le*x));var ee=new go.PathFigure(0,a-x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*x,0,a-x-le*x,(.5-E)*y,a-2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,a-x,(.5+E)*y,a-2*x,y,a-x-le*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=le*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-le*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-le*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,le*x,0));var ee=new go.PathFigure(x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+le*x,0,2*x,(.5-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+E)*a,x+le*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=le*.5,z=new go.PathFigure(y-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-le*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-le*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,le*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0));var ee=new go.PathFigure(y-x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-2*x,.5*a,y-x-le*x,0,y-2*x,(.5-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y-2*x,(.5+E)*a,y-x-le*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.25*y,.25*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ie,y,a){var x=new go.Geometry,b=.2,E=.1,z=le*b,ee=le*E,ae=.5,ne=.1,ge=new go.PathFigure(ae*y,(ne+E)*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae-b)*y,ne*a,(ae-z)*y,(ne+E)*a,(ae-b)*y,(ne+ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-E)*a,(ae-b)*y,(ne-ee)*a,(ae-z)*y,(ne-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+b)*y,ne*a,(ae+z)*y,(ne-E)*a,(ae+b)*y,(ne-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+E)*a,(ae+b)*y,(ne+ee)*a,(ae+z)*y,(ne+E)*a));var fe=.05,Be=le*fe;ae=.05,ne=.25;var be=new go.PathFigure(.5*y,.2*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ae=.95,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(ae+fe)*y,ne*a,(ae+Be)*y,(ne-fe)*a,(ae+fe)*y,(ne-Be)*a)),be.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),fe=.025,Be=le*fe,ae=.825,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-fe)*a,(ae+fe)*y,(ne-Be)*a,(ae+Be)*y,(ne-fe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*y,ne*a,(ae-Be)*y,(ne-fe)*a,(ae-fe)*y,(ne-Be)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),fe=.05,Be=le*fe,ae=.5,ne=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-fe)*a,(ae+fe)*y,(ne-Be)*a,(ae+Be)*y,(ne-fe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*y,ne*a,(ae-Be)*y,(ne-fe)*a,(ae-fe)*y,(ne-Be)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),fe=.025,Be=le*fe,ae=.175,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-fe)*a,(ae+fe)*y,(ne-Be)*a,(ae+Be)*y,(ne-fe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-fe)*y,ne*a,(ae-Be)*y,(ne-fe)*a,(ae-fe)*y,(ne-Be)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),fe=.05,Be=le*fe,ae=.05,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-fe)*a,(ae-fe)*y,(ne-Be)*a,(ae-Be)*y,(ne-fe)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ht("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var x=ie?ie.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var E=new go.PathFigure(.5*y,.5*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=le*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var ee=new go.PathFigure(y,.1*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+E)*a,(.5+b)*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+E)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=le*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var ee=new go.PathFigure(y,.1*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=le*.2,z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-E)*a,(.2-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+E)*y,0,y,(.2-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+E)*a,(.8+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-E)*y,a,0,(.8+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ee=new go.PathFigure(0,b*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(.1*y,.4*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.75*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var E=new go.PathFigure(y,.5*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ee=new go.PathFigure(b*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ie,y,a){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=le*.5,ee=.5,ae=new go.PathFigure(y,ee*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+z)*a,(ee+z)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-z)*y,a,0,(ee+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-z)*a,(ee-z)*y,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+z)*y,0,y,(ee-z)*a));var ne=new go.PathFigure((E+b)*y,(E+b)*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,(E+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(E+b)*y,E*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var E=new go.PathFigure(.1*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=.5,z=new go.PathFigure(.5*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*y,.9*a,y,(E+b)*a,(E+b)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var E=new go.PathFigure(.1*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var E=new go.PathFigure(.2*y,.1*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var E=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ee=new go.PathFigure(.5*b*y,b*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var ee=new go.PathFigure(y,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ie,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-b)*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(0,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,y,a){var x=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var ee=new go.PathFigure(y,E*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,E*a));var ae=new go.PathFigure(.8*y,.75*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var x=new go.Geometry,b=le*.1,E=.1,z=.9,ee=.5,ae=new go.PathFigure(.8*y,.5*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ne=new go.PathFigure((z+E)*y,ee*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee-E)*a,(z+E)*y,(ee-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=le*.4,z=le*.1,ee=.1,ae=.9,ne=.5,ge=new go.PathFigure(.8*y,.5*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+E)*a,(.4+b)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-E)*a));var fe=new go.PathFigure((ae+ee)*y,ne*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+ee)*a,(ae+ee)*y,(ne+z)*a,(ae+z)*y,(ne+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y,ne*a,(ae-z)*y,(ne+ee)*a,(ae-ee)*y,(ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-ee)*a,(ae-ee)*y,(ne-z)*a,(ae-z)*y,(ne-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y,ne*a,(ae+z)*y,(ne-ee)*a,(ae+ee)*y,(ne-z)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ie,y,a){var x=new go.Geometry,b=.5,E=le*b,z=0,ee=.5,ae=new go.PathFigure(.8*y,.5*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(ee-b)*a,.7*y,(ee-E)*a)),b=.1,E=le*.1,z=.9,ee=.5;var ne=new go.PathFigure((z-b)*y,ee*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ie,y,a){var x=new go.Geometry,b=.5,E=le*b,z=0,ee=.5,ae=new go.PathFigure(0,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E+E)*y,(ee-b)*a,.8*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ee+E)*a,(z+E+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ie,y,a){var x=new go.Geometry,b=.5,E=le*b,z=.2,ee=.5,ae=new go.PathFigure(.1*y,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.8*y,.5*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(ee-b)*a,.7*y,(ee-E)*a)),b=.1,E=le*.1,z=.9,ee=.5;var ge=new go.PathFigure((z-b)*y,ee*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ie,y,a){var x=new go.Geometry,b=.5,E=le*b,z=.2,ee=.5,ae=new go.PathFigure(.1*y,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.2*y,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E)*y,(ee-b)*a,.9*y,(ee-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(ie,y,a){var x=new go.Geometry,b=le*.1,E=.1,z=.1,ee=.5,ae=new go.PathFigure((z-b*.5)*y,a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*y,a,(z+E)*y,0,(z+b)*y,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var x=new go.Geometry,b=le*.5,E=.5,z=.5,ee=.5,ae=new go.PathFigure((z-E)*y,ee*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-E)*a,(z-E)*y,(ee-b)*a,(z-b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee-E)*a,(z+E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*y,ee*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*y,ee*a,z*y,(ee-E)*a,z*y,(ee+E)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ie,y,a){var x=new go.Geometry,b=y,E=a;y=y*.38,a=a*.6;var z=le*.8,ee=.8,ae=0,ne=.5,ge=(b-y)/2,fe=(E-a)/2,Be=new go.PathFigure(ae*y+ge,(ne+ee)*a+fe,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y+ge,ne*a+fe,(ae-z)*y+ge,(ne+ee)*a+fe,(ae-ee)*y+ge,(ne+z)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne-ee)*a+fe,(ae-ee)*y+ge,(ne-z)*a+fe,(ae-z)*y+ge,(ne-ee)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee+z*.5)*y+ge,ne*a+fe,ae*y+ge,(ne-ee)*a+fe,(ae-ee+z*.5)*y+ge,(ne-z)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne+ee)*a+fe,(ae-ee+z*.5)*y+ge,(ne+z)*a+fe,ae*y+ge,(ne+ee)*a+fe).close()),z=le*.4,ee=.4,ae=.2,ne=.5;var be=new go.PathFigure(ae*y+ge,(ne+ee)*a+fe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y+ge,ne*a+fe,(ae-z)*y+ge,(ne+ee)*a+fe,(ae-ee)*y+ge,(ne+z)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne-ee)*a+fe,(ae-ee)*y+ge,(ne-z)*a+fe,(ae-z)*y+ge,(ne-ee)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee+z*.5)*y+ge,ne*a+fe,ae*y+ge,(ne-ee)*a+fe,(ae-ee+z*.5)*y+ge,(ne-z)*a+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne+ee)*a+fe,(ae-ee+z*.5)*y+ge,(ne+z)*a+fe,ae*y+ge,(ne+ee)*a+fe).close()),z=le*.2,ee=.2,ae=.5,ne=.5;var De=new go.PathFigure((ae-ee)*y+ge,ne*a+fe,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne-ee)*a+fe,(ae-ee)*y+ge,(ne-z)*a+fe,(ae-z)*y+ge,(ne-ee)*a+fe)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y+ge,ne*a+fe,(ae+z)*y+ge,(ne-ee)*a+fe,(ae+ee)*y+ge,(ne-z)*a+fe)),De.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne+ee)*a+fe,(ae+ee)*y+ge,(ne+z)*a+fe,(ae+z)*y+ge,(ne+ee)*a+fe)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*y+ge,ne*a+fe,(ae-z)*y+ge,(ne+ee)*a+fe,(ae-ee)*y+ge,(ne+z)*a+fe)),z=le*.4,ee=.4,ae=.8,ne=.5;var ye=new go.PathFigure(ae*y+ge,(ne-ee)*a+fe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y+ge,ne*a+fe,(ae+z)*y+ge,(ne-ee)*a+fe,(ae+ee)*y+ge,(ne-z)*a+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne+ee)*a+fe,(ae+ee)*y+ge,(ne+z)*a+fe,(ae+z)*y+ge,(ne+ee)*a+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee-z*.5)*y+ge,ne*a+fe,ae*y+ge,(ne+ee)*a+fe,(ae+ee-z*.5)*y+ge,(ne+z)*a+fe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne-ee)*a+fe,(ae+ee-z*.5)*y+ge,(ne-z)*a+fe,ae*y+ge,(ne-ee)*a+fe).close()),z=le*.8,ee=.8,ae=1,ne=.5;var wt=new go.PathFigure(ae*y+ge,(ne-ee)*a+fe,!0);return x.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*y+ge,ne*a+fe,(ae+z)*y+ge,(ne-ee)*a+fe,(ae+ee)*y+ge,(ne-z)*a+fe)),wt.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne+ee)*a+fe,(ae+ee)*y+ge,(ne+z)*a+fe,(ae+z)*y+ge,(ne+ee)*a+fe)),wt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee-z*.5)*y+ge,ne*a+fe,ae*y+ge,(ne+ee)*a+fe,(ae+ee-z*.5)*y+ge,(ne+z)*a+fe)),wt.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+ge,(ne-ee)*a+fe,(ae+ee-z*.5)*y+ge,(ne-z)*a+fe,ae*y+ge,(ne-ee)*a+fe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var E=new go.PathFigure(.1*y,a,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ee=new go.PathFigure(0,.5*a,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ie,y,a){var x=new go.Geometry,b=le*.4,E=.4,z=.5,ee=.5,ae=oe(),ne=oe(),ge=oe(),fe=oe();tt(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,ae,ae,ne,ge,fe);var Be=te(ne.x,ne.y),be=new go.PathFigure(ne.x*y,ne.y*a,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z+E)*y,(ee+b)*a,(z+b)*y,(ee+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,(z-b)*y,(ee+E)*a,(z-E)*y,(ee+b)*a)),tt(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,ge,fe,ne,ae,ae),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a)),b=le*.3,E=.3,tt(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,ge,fe,ne,ae,ae),be.add(new go.PathSegment(go.PathSegment.Line,ne.x*y,ne.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ee*a,fe.x*y,fe.y*a,ge.x*y,ge.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+E)*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ee*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),tt(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,ae,ae,ne,ge,fe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,fe.x*y,fe.y*a,ge.x*y,ge.y*a).close());var be=new go.PathFigure(.45*y,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ve(ae),ve(ne),ve(ge),ve(fe),ve(Be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function E(z,ee,ae){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*y,(.8+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*y,(.8+ae)*a).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,y,a){var x=new go.Geometry,b=.5,E=0,z=0,ee=b*le,ae=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,ge=1,fe=.5,Be=.5,be=0,De=new go.PathFigure(ae*y,(1-ne)*a,!1);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,fe*a,ge*y,.7*a,ge*y,fe*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Be+E)*y,(be+E)*a,(.5+b+E)*y,(.5-ee+E)*a,(.5+ee+E)*y,(.5-b+E)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-ee+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-ee+z)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*y,.9*a,(.5-b+E)*y,(.5+ee+z)*a,(.5-ee+E)*y,.9*a)),De.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*y,.8*a)),De.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*y,.9*a)),De.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*y,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var E=new go.PathFigure(.45*y,.73*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),E.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),E.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*y,(1-.555)*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),E.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ee=.5,ae=z,ne=Math.PI/4,ge=4*(1-Math.cos(ne))/(3*Math.sin(ne)),fe=ge*.5,Be=z,be=z,De=ge*Be,ye=ge*be;E.add(new go.PathSegment(go.PathSegment.Bezier,(ee-Be)*y,ae*a,(ee-(De+Be)/2)*y,(ae+(be+ye)/2)*a,(ee-Be)*y,(ae+ye)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,(ae-be)*a,(ee-Be)*y,(ae-ye)*a,(ee-De)*y,(ae-be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ee+Be)*y,ae*a,(ee+De)*y,(ae-be)*a,(ee+Be)*y,(ae-ye)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ee+Be)*y,(ae+ye)*a,(ee+(De+Be)/2)*y,(ae+(be+ye)/2)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var wt=new go.PathFigure(.2*y,a,!1);x.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var pt=new go.PathFigure(.8*y,a,!1);return x.add(pt),pt.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var E=new go.PathFigure(.2*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(.1*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,E*y,E*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var E=new go.PathFigure(.475*y,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,y,a){var x=new go.Geometry,b=.5,E=le*.5,z=new go.PathFigure(y,b*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+E)*a,(b+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-E)*y,a,0,(b+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-E)*a,(b-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+E)*y,0,y,(b-E)*a));var ee=new go.PathFigure(b*y,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,.15*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var E=new go.PathFigure(0,.2*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var E=new go.PathFigure(.15*y,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(y,.8*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ee=le*.1,ae=.2,ne=.9,ge=new go.PathFigure((ae-z)*y,ne*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-z)*a,(ae-z)*y,(ne-ee)*a,(ae-ee)*y,(ne-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,ne*a,(ae+ee)*y,(ne-z)*a,(ae+z)*y,(ne-ee)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+z)*a,(ae+z)*y,(ne+ee)*a,(ae+ee)*y,(ne+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,ne*a,(ae-ee)*y,(ne+z)*a,(ae-z)*y,(ne+ee)*a).close()),z=.1,ee=le*.1,ae=.8,ne=.9;var fe=new go.PathFigure((ae-z)*y,ne*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne-z)*a,(ae-z)*y,(ne-ee)*a,(ae-ee)*y,(ne-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,ne*a,(ae+ee)*y,(ne-z)*a,(ae+z)*y,(ne-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ne+z)*a,(ae+z)*y,(ne+ee)*a,(ae+ee)*y,(ne+z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,ne*a,(ae-ee)*y,(ne+z)*a,(ae-z)*y,(ne+ee)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var E=new go.PathFigure(0,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ee=new go.PathFigure(.5*y,.7*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ae=.1,ne=le*.1,ge=.1,fe=.9,Be=new go.PathFigure((ge-ae)*y,fe*a,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe-ae)*a,(ge-ae)*y,(fe-ne)*a,(ge-ne)*y,(fe-ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae)*y,fe*a,(ge+ne)*y,(fe-ae)*a,(ge+ae)*y,(fe-ne)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe+ae)*a,(ge+ae)*y,(fe+ne)*a,(ge+ne)*y,(fe+ae)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae)*y,fe*a,(ge-ne)*y,(fe+ae)*a,(ge-ae)*y,(fe+ne)*a)),ae=.1,ne=le*.1,ge=.4,fe=.9;var be=new go.PathFigure((ge-ae)*y,fe*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe-ae)*a,(ge-ae)*y,(fe-ne)*a,(ge-ne)*y,(fe-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae)*y,fe*a,(ge+ne)*y,(fe-ae)*a,(ge+ae)*y,(fe-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe+ae)*a,(ge+ae)*y,(fe+ne)*a,(ge+ne)*y,(fe+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae)*y,fe*a,(ge-ne)*y,(fe+ae)*a,(ge-ae)*y,(fe+ne)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var E=new go.PathFigure(.45*y,.7*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var ge=.05,fe=le*.05,Be=.175,be=.95,ee=new go.PathFigure((Be-ge)*y,be*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be-ge)*a,(Be-ge)*y,(be-fe)*a,(Be-fe)*y,(be-ge)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ge)*y,be*a,(Be+fe)*y,(be-ge)*a,(Be+ge)*y,(be-fe)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be+ge)*a,(Be+ge)*y,(be+fe)*a,(Be+fe)*y,(be+ge)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ge)*y,be*a,(Be-fe)*y,(be+ge)*a,(Be-ge)*y,(be+fe)*a));var ge=.05,fe=le*.05,Be=.375,be=.95,ae=new go.PathFigure((Be-ge)*y,be*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be-ge)*a,(Be-ge)*y,(be-fe)*a,(Be-fe)*y,(be-ge)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ge)*y,be*a,(Be+fe)*y,(be-ge)*a,(Be+ge)*y,(be-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be+ge)*a,(Be+ge)*y,(be+fe)*a,(Be+fe)*y,(be+ge)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ge)*y,be*a,(Be-fe)*y,(be+ge)*a,(Be-ge)*y,(be+fe)*a));var ge=.05,fe=le*.05,Be=.625,be=.95,ne=new go.PathFigure((Be-ge)*y,be*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be-ge)*a,(Be-ge)*y,(be-fe)*a,(Be-fe)*y,(be-ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ge)*y,be*a,(Be+fe)*y,(be-ge)*a,(Be+ge)*y,(be-fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be+ge)*a,(Be+ge)*y,(be+fe)*a,(Be+fe)*y,(be+ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ge)*y,be*a,(Be-fe)*y,(be+ge)*a,(Be-ge)*y,(be+fe)*a));var ge=.05,fe=le*.05,Be=.825,be=.95,De=new go.PathFigure((Be-ge)*y,be*a,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be-ge)*a,(Be-ge)*y,(be-fe)*a,(Be-fe)*y,(be-ge)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ge)*y,be*a,(Be+fe)*y,(be-ge)*a,(Be+ge)*y,(be-fe)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(be+ge)*a,(Be+ge)*y,(be+fe)*a,(Be+fe)*y,(be+ge)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ge)*y,be*a,(Be-fe)*y,(be+ge)*a,(Be-ge)*y,(be+fe)*a).close());var ye=new go.PathFigure(0,a,!1);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ee=.05,ae=le*.05,ne=.35,ge=.775,fe=new go.PathFigure((ne-ee)*y,ge*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ge-ee)*a,(ne-ee)*y,(ge-ae)*a,(ne-ae)*y,(ge-ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ee)*y,ge*a,(ne+ae)*y,(ge-ee)*a,(ne+ee)*y,(ge-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ge+ee)*a,(ne+ee)*y,(ge+ae)*a,(ne+ae)*y,(ge+ee)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ee)*y,ge*a,(ne-ae)*y,(ge+ee)*a,(ne-ee)*y,(ge+ae)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(ie,y,a){var x=new go.Geometry,b=.3,E=le*.3,z=.5,ee=.7,ae=new go.PathFigure((z-b)*y,ee*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a));var ne=new go.PathFigure(0,.7*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var E=new go.PathFigure(0,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(ie,y,a){var x=new go.Geometry,b=.5,E=le*.5,z=.5,ee=.5,ae=new go.PathFigure((z-b)*y,ee*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a));var ne=new go.PathFigure(.15*y,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(ie,y,a){var x=new go.Geometry,b=.5,E=le*.5,z=.5,ee=.5,ae=new go.PathFigure((z-b)*y,ee*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a).close()),b=.05,E=le*.05,z=.5,ee=.8;var ne=new go.PathFigure((z-b)*y,ee*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee-b)*a,(z-b)*y,(ee-E)*a,(z-E)*y,(ee-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ee*a,(z+E)*y,(ee-b)*a,(z+b)*y,(ee-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ee+b)*a,(z+b)*y,(ee+E)*a,(z+E)*y,(ee+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ee*a,(z-E)*y,(ee+b)*a,(z-b)*y,(ee+E)*a).close()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var E=new go.PathFigure(0,a*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var E=new go.PathFigure(.126*y,.85*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ee=new go.PathFigure(.678*y,.85*a,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ae=new go.PathFigure(.5*y,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var E=new go.PathFigure(y*.204,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ee=new go.PathFigure(y*.612,a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ae=new go.PathFigure(y*.816,a,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var E=new go.PathFigure(y*.055,.07*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ee=new go.PathFigure(y*.055,.18*a,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ae=new go.PathFigure(y*1,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ae.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ee=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,y,a){var x=new go.Geometry,b=8,E=b*le,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var ee=new go.PathFigure(y*.83,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ae=new go.PathFigure(y*.83,a*1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ne=new go.PathFigure(y*.78,a*.05,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,y,a){var x=ie?ie.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*le,E=a*.8,z=new go.Geometry,ee=new go.PathFigure(x,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)),ee.add(new go.PathSegment(go.PathSegment.Line,y,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y-x,E,y,E-b,y-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.55,E)),ee.add(new go.PathSegment(go.PathSegment.Line,x,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.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(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var E=new go.PathFigure(y*1,a*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var E=new go.PathFigure(y*.1,a*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ie,y,a){var x=new go.Geometry,b=15,E=b*le,z=new go.PathFigure(y*.62,a*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.4,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.5,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var E=new go.PathFigure(y*.235,a*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),E.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),E.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ie,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ht={},Dt="5.0",te={},oe=null,ve=!1,Te=!1,tt=null,Me=!1,Re=null,le=null,ot=0;ot<arguments.length;ot++){var rt=arguments[ot];if(rt!==null)switch(typeof rt){case"number":Dt=rt.toFixed(1);break;case"string":rt.match(new RegExp("^[0-9]\\.[0-9]+$"))?Dt=rt:tt=rt;break;case"object":typeof rt.is3D!="undefined"?oe=rt:te=rt;break;case"boolean":ve=rt,Te=!0;break}}oe===null&&(oe={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!Te&&(ve=!0)),tt!==null&&te.id===void 0&&(te.id=tt);var at="",nt="",ut=!1,He=null,ie=null,y=null,a=!1,x=null,b=null,E=null,z=null,ee=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ae=function(Fe){return parseFloat(Fe)>4?parseFloat(Fe):5};ht.setHTML5Codebase=function(Fe,Ue){le=Fe,Je(Fe,Ue)},ht.setJavaCodebase=ht.setJavaCodebaseVersion=ht.isCompiledInstalled=ht.setPreCompiledScriptPath=ht.setPreCompiledResourcePath=function(){},ht.setHTML5CodebaseVersion=function(Fe,Ue){var Et=parseFloat(Fe);if(Et!==NaN&&Et<5){console.log("The GeoGebra HTML5 codebase version "+Et+" is deprecated. Using version latest instead.");return}Re=Fe,Jt(Fe,Ue)},ht.getHTML5CodebaseVersion=function(){return ie},ht.getParameters=function(){return te},ht.setFontsCSSURL=function(Fe){z=Fe},ht.setGiacJSURL=function(Fe){},ht.setJNLPFile=function(Fe){at=Fe},ht.setJNLPBaseDir=function(Fe){},ht.inject=function(){function Fe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ue="auto",Et=te.id,sn,mt=!1,rn=0;rn<arguments.length;rn++){var xe=arguments[rn];typeof xe=="string"?(xe=xe.toLowerCase(),xe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ue=xe:Et=arguments[rn]):typeof xe=="boolean"?mt=xe:xe instanceof HTMLElement&&(sn=xe)}It();function It(){if(!Me){setTimeout(It,200);return}Ue=Ft(Ue);var xt=sn||document.getElementById(Et);if(!xt){console.log("possibly bug on ajax loading? ");return}if(ht.removeExistingApplet(xt,!1),te.width===void 0&&xt.clientWidth&&(te.width=xt.clientWidth),te.height===void 0&&xt.clientHeight&&(te.height=xt.clientHeight),!(te.width&&te.height)&&Ue==="html5"&&(delete te.width,delete te.height),He=Ue,Ue==="screenshot")pt(xt,te);else{var An=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?An=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(An=(!ne()||Fe())&&ge()),An?(He="screenshot",it(xt,te,mt,Ue)):wt(xt,te,mt)}}};function ne(){try{return window.self!==window.top}catch(Fe){return!0}}function ge(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ht.getViews=function(){return oe},ht.isJavaInstalled=function(){return!1};var fe=function(Fe){var Ue=function(rn){var xe=JSON.parse(rn),It=function(Nn){return Nn.type=="G"||Nn.type=="E"},xt=xe.elements?xe.elements.filter(It)[0]:xe;if(!xt||!xt.url){Et();return}te.fileName=xt.url,Be(xt.settings||{}),oe.is3D=!0;var An="https://www.geogebra.org/images/";ht.setPreviewImage(x||xt.previewUrl,An+"GeoGebra_loading.png",An+"applet_play.png"),Fe()},Et=function(){te.onError&&te.onError(),kt("Error: Fetching material (id "+te.material_id+") failed.",te)},sn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",mt="/materials/"+te.material_id+"?scope=basic";be("https://"+sn+"/api/proxy.php?path="+encodeURIComponent(mt),Ue,Et)};function Be(Fe){var Ue=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Et){Fe[Et]=!!Fe[Et]}),Ue.forEach(function(Et){te[Et]===void 0&&Fe[Et]!==void 0&&(te[Et]=Fe[Et])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function be(Fe,Ue,Et){var sn=new XMLHttpRequest;sn.open("GET",Fe),sn.onload=function(){Ue(sn.responseText)},sn.onerror=Et,sn.send()}ht.isHTML5Installed=function(){return!0},ht.getLoadedAppletType=function(){return He},ht.setPreviewImage=function(Fe,Ue,Et){x=Fe,b=Ue,E=Et},ht.removeExistingApplet=function(Fe,Ue){var Et;typeof Fe=="string"&&(Fe=document.getElementById(Fe)),He=null;var sn=null;for(Et=0;Et<Fe.childNodes.length;Et++){var mt=Fe.childNodes[Et],rn=mt.className;rn==="applet_screenshot"?Ue?(mt.style.display="block",He="screenshot"):mt.style.display="none":rn!=="applet_scaler prerender"&&(Fe.removeChild(mt),sn=rn&&rn.indexOf("appletParameters")!=-1?mt.id:null,Et--)}var xe=te.id!==void 0?te.id:sn,It=window[xe];It&&typeof It.getBase64=="function"&&(It.remove(),window[xe]=null)},ht.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Fe=ht.getAppletObject();return Fe&&typeof Fe.recalculateEnvironments=="function"?(Fe.recalculateEnvironments(),!0):!1},ht.startAnimation=function(){var Fe=ht.getAppletObject();return Fe&&typeof Fe.startAnimation=="function"?(Fe.startAnimation(),!0):!1},ht.stopAnimation=function(){var Fe=ht.getAppletObject();return Fe&&typeof Fe.stopAnimation=="function"?(Fe.stopAnimation(),!0):!1},ht.getAppletObject=function(){var Fe=te.id!==void 0?te.id:"ggbApplet";return window[Fe]},ht.resize=function(){};var De=function(Fe,Ue,Et){var sn=document.createElement("param");sn.setAttribute("name",Ue),sn.setAttribute("value",Et),Fe.appendChild(sn)},ye=function(Fe){return Fe&&Fe!=="false"},wt=function(Fe,Ue,Et){ae(ie)<=4.2&&(Et=!0);var sn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(sn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var mt=document.createElement("div");mt.classList.add("appletParameters","notranslate");var rn=Ue.width,xe=Ue.height;if(Ue.disableAutoScale=Ue.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ue.disableAutoScale,Ue.width!==void 0)if(ae(ie)<=4.4)ye(Ue.showToolBar)&&(Ue.height-=7),ye(Ue.showAlgebraInput)&&(Ue.height-=37),Ue.width<605&&ye(Ue.showToolBar)&&(Ue.width=605,rn=605);else{var It=100;(ye(Ue.showToolBar)||ye(Ue.showMenuBar))&&(Ue.hasOwnProperty("customToolBar")&&(Ue.customToolbar=Ue.customToolBar),It=ye(Ue.showMenuBar)?245:155),rn<It&&(Ue.width=It,rn=It)}mt.style.border="none",mt.style.display="inline-block";for(var xt in Ue)Ue.hasOwnProperty(xt)&&xt!=="appletOnLoad"&&mt.setAttribute("data-param-"+xt,Ue[xt]);z&&mt.setAttribute("data-param-fontscssurl",z),ht.resize=function(){GGBAppletUtils.responsiveResize(Fe,Ue)},window.addEventListener("resize",function(he){ht.resize()});var An=typeof Ue.appletOnLoad=="function"?Ue.appletOnLoad:function(){};if(!Et&&Ue.width!==void 0){Ue.hasOwnProperty("showSplash")||mt.setAttribute("data-param-showSplash","false");var Nn=Fe.querySelector(".applet_scaler.prerender"),Xe=Nn!==null;if(Xe)var Ze=Nn.querySelector(".ggb_preview");else{var Ze=St(rn,xe,Ue.borderColor,!1);Nn=document.createElement("div"),Nn.className="applet_scaler",Nn.style.position="relative",Nn.style.display="block",Nn.style.width=rn+"px",Nn.style.height=xe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Nn,"66%"),ae(ie)>=5?(Ue.appletOnLoad=function(he){var Ge=Fe.querySelector(".ggb_preview");Ge&&Ge.parentNode.removeChild(Ge),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Nn),window.GGBT_wsf_view&&$(window).trigger("resize"),An(he)},Xe||Nn.appendChild(Ze)):mt.appendChild(Ze),Nn.appendChild(mt),Xe||Fe.appendChild(Nn),setTimeout(function(){ht.resize()},1)}else{var Ce=document.createElement("div");Ce.className="applet_scaler",Ce.style.position="relative",Ce.style.display="block",Ce.appendChild(mt),Fe.appendChild(Ce),Ue.appletOnLoad=function(he){ht.resize(),An(he)}}function me(he,Ge){Ge&&typeof Ge.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(he,Ge.appletOnLoad):renderGGBElement(he),kt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ge)}function ze(he,Ge){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:he,params:Ge}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Vt){me(Vt.article,Vt.params)}),html5AppletsToProcess=null)},ae(ie)<5&&(he.className+=" geogebraweb")):me(he,Ge)}if(sn){scriptLoadStarted=!0;for(var gt=0;gt<mt.childNodes.length;gt++){var Se=mt.childNodes[gt].tagName;Se==="TABLE"&&(mt.removeChild(mt.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var pe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');pe!=null&&pe.parentNode.removeChild(pe)}var Ie=document.createElement("script"),Le=function(){ze(mt,Ue)};Ie.src=nt+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ie,ggbHTML5LoadedScript=Ie.src,kt("GeoGebra HTML5 codebase loaded: '"+nt+"'.",Ue),!le&&(!Re||Re=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Le()):nt.requirejs?__webpack_require__.e(7963).then(function(){var he=[__webpack_require__(87963)];Le.apply(null,he)}.bind(this)).catch(__webpack_require__.oe):(Ie.onload=Le,Fe.appendChild(Ie))}else ze(mt,Ue);Ue.height=xe,Ue.width=rn},pt=function(Fe,Ue,Et){var sn=St(Ue.width,Ue.height,Ue.borderColor,Et),mt=document.createElement("div");mt.style.position="relative",mt.style.display="block",mt.style.width=Ue.width+"px",mt.style.height=Ue.height+"px",mt.className="applet_screenshot applet_scaler"+(Et?" applet_screenshot_play":""),mt.appendChild(sn);var rn=GGBAppletUtils.getScale(Ue,Fe,Et);Et?(Fe.appendChild(dt()),window.GGBT_wsf_view||(Fe.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(mt,"66%"),Fe.appendChild(mt),rn!==1&&!isNaN(rn)&&(GGBAppletUtils.scaleElement(mt,rn),mt.style.width=Ue.width+"px",mt.style.height=Ue.height+"px",mt.parentNode.style.width=Ue.width*rn+"px",mt.parentNode.style.height=Ue.height*rn+"px"),ht.resize=function(){hn(Fe,sn,mt,Et)},window.addEventListener("resize",function(xe){ht.resize()}),ht.resize()};function hn(Fe,Ue,Et,sn){if(Fe.contains(Ue)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Fe)}var mt=GGBAppletUtils.getScale(te,Fe,sn);Et.parentNode!==null&&(!isNaN(mt)&&mt!==1?(GGBAppletUtils.scaleElement(Et,mt),Et.parentNode.style.width=te.width*mt+"px",Et.parentNode.style.height=te.height*mt+"px"):(GGBAppletUtils.scaleElement(Et,1),Et.parentNode.style.width=te.width+"px",Et.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Fe),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ht.onExitFullscreen=function(Fe,Ue){Ue.appendChild(Fe)};var it=function(Fe,Ue,Et,sn){pt(Fe,Ue,!0);for(var mt=function(){var It=[];for(xe=0;xe<Fe.childNodes.length;xe++)It.push(Fe.childNodes[xe]);if(window.GGBT_wsf_view){var xt=window.GGBT_wsf_view.renderFullScreen(Fe,Ue.id),An=document.getElementById("fullscreencontainer"),Nn=jQuery(Fe).find(".fullscreencontent");Nn.length>0?(xt.remove(),Nn.attr("id","fullscreencontent").show(),jQuery(An).append(Nn),window.dispatchEvent(new Event("resize"))):wt(xt,Ue,!1),window.GGBT_wsf_view.launchFullScreen(An)}else He=sn,wt(Fe,Ue,!1);if(!window.GGBT_wsf_view)for(xe=0;xe<It.length;xe++)Fe.removeChild(It[xe])},rn=Fe.getElementsByClassName("ggb_preview_play"),xe=0;xe<rn.length;xe++)rn[xe].addEventListener("click",mt,!1),rn[xe].addEventListener("ontouchstart",mt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Fe),ge()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},dt=function(){var Fe=document.createElement("div");if(Fe.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ue='.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");}',Et=document.createElement("style");Et.styleSheet?Et.styleSheet.cssText=Ue:Et.appendChild(document.createTextNode(Ue)),document.getElementsByTagName("head")[0].appendChild(Et)}return Fe},St=function(Fe,Ue,Et,sn){var mt=document.createElement("div");mt.className="ggb_preview",mt.style.position="absolute",mt.style.zIndex="90",mt.style.width=Fe-2+"px",mt.style.height=Ue-2+"px",mt.style.top="0px",mt.style.left="0px",mt.style.overflow="hidden",mt.style.backgroundColor="white";var rn="lightgrey";Et!==void 0&&(Et==="none"?rn="transparent":rn=Et),mt.style.border="1px solid "+rn;var xe=document.createElement("img");if(xe.style.position="relative",xe.style.zIndex="1000",xe.style.top="-1px",xe.style.left="-1px",x!==null&&xe.setAttribute("src",x),xe.style.opacity=.7,b!==null){var It,xt,An;if(!sn){It=document.createElement("img"),It.style.position="absolute",It.style.zIndex="1001",It.style.opacity=1,xe.style.opacity=.3,xt=360,xt>Fe/4*3&&(xt=Fe/4*3),An=xt/5.8,It.setAttribute("src",b),It.setAttribute("width",xt),It.setAttribute("height",An);var Nn=(Fe-xt)/2,Xe=(Ue-An)/2;It.style.left=Nn+"px",It.style.top=Xe+"px",mt.appendChild(It)}}return mt.appendChild(xe),mt},Ft=function(Fe){return Fe=Fe.toLowerCase(),Fe==="html5"||Fe==="screenshot"?Fe:"html5"},Zt=["web","webSimple","web3d","tablet","tablet3d","phone"],Jt=function(Fe,Ue){if(ie=Fe,Ue){Je(ie,!0);return}var Et=!ve;if(Et){var sn=ae(ie);!isNaN(sn)&&sn<4.4&&(Et=!1)}var mt,rn;window.location.protocol.substr(0,4)==="http"?mt=window.location.protocol:mt="http:";var xe=ie.indexOf("//");xe>0?rn=ie:xe===0?rn=mt+ie:rn="https://www.geogebra.org/apps/5.2.814.0/";for(var It in Zt)if(ie.slice(Zt[It].length*-1)===Zt[It]||ie.slice((Zt[It].length+1)*-1)===Zt[It]+"/"){Je(rn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Et&&!oe.is3D&&!oe.AV&&!oe.SV&&!oe.CV&&!oe.EV2&&!oe.CP&&!oe.PC&&!oe.DA&&!oe.FI&&!oe.PV&&!ye(te.showToolBar)&&!ye(te.showMenuBar)&&!ye(te.showAlgebraInput)&&!ye(te.enableRightClick)&&(!te.appName||te.appName=="classic")?rn+="webSimple/":rn+="web3d/",Je(rn,!1)},Je=function(Fe,Ue){if(Fe.requirejs){nt=Fe;return}Fe.slice(-1)!=="/"&&(Fe+="/"),nt=Fe,Ue===null&&(Ue=Fe.indexOf("http")===-1),ut=Ue,y="web.nocache.js",a=!1;var Et=nt.split("/");Et.length>1&&(!Ue&&Et[Et.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Zt.indexOf(Et[Et.length-2])>=0&&(y=Et[Et.length-2]+".nocache.js")),Et=Fe.split("/"),ie=Et[Et.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var sn=parseFloat(ie);sn!==NaN&&sn<5&&Fe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+sn+" is deprecated. Using version latest instead."),Jt("5.0",Ue))},kt=function(Fe,Ue){window.console&&window.console.log&&(!Ue||typeof Ue.showLogging=="undefined"||Ue.showLogging&&Ue.showLogging!=="false")&&console.log(Fe)};te.material_id!==void 0?fe(Xt):Xt();function Xt(){var Fe=Dt;Re!==null?Fe=Re:parseFloat(Fe)<5&&(Fe="5.0"),Jt(Fe,!1),le!==null&&Je(le,ut),Me=!0}return ht},GGBAppletUtils=function(){"use strict";function ht(){return window.GGBT_wsf_edit!==void 0}function Dt(Me,Re){Re!=1?(Me.style.transformOrigin="0% 0% 0px",Me.style.webkitTransformOrigin="0% 0% 0px",Me.style.transform="scale("+Re+","+Re+")",Me.style.webkitTransform="scale("+Re+","+Re+")",Me.style.maxWidth="initial",Me.querySelector(".ggb_preview")!==null&&(Me.querySelector(".ggb_preview").style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Me.style.transform="none",Me.style.webkitTransform="none")}function te(Me,Re,le,ot,rt,at){var nt=null;if(at!=null&&at!="")for(var ut=Me.parentNode;ut!=null;)if((" "+ut.className+" ").indexOf(" "+at+" ")>-1){nt=ut;break}else ut=ut.parentNode;var He=0,ie=0,y=0,a=0,x=0,b=0,E=0;if(nt)He=nt.offsetWidth,ie=Math.max(ot?nt.offsetWidth:0,nt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(He=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=He):(He=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),Me){var z=Me.getBoundingClientRect();z.left>0&&z.left<=He&&(rt===void 0||!rt)&&(document.dir==="rtl"?(x=He-z.width-z.left,b=y<=480?10:30):(b=z.left,x=y<=480?10:30),a=b+x)}if(Me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=Me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,E=40)}}return Me&&((le===void 0||!le)&&Re>0&&Re+a<He?He=Re:He-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le===void 0||!le)&&(ie-=E)),{width:He,height:ie}}function oe(Me,Re,le,ot,rt){if(Me.isScreenshoGenerator)return 1;var at=ot!==void 0&&ot,nt=Me.noScaleMargin!=null&&Me.noScaleMargin,ut=function(ee){return ee&&ee!=="false"},He=ut(Me.autoHeight),ie=te(Re,Me.width,le,He,at&&window.GGBT_wsf_view||nt,rt),y=parseInt(ie.width),a=Me.width,x=Me.height;if(a===void 0){var b=Re.querySelector(".appletParameters");b&&(a=b.offsetWidth,x=b.offsetHeight)}var E=y/a,z=at?1:ie.height/x;return le!==void 0&&!le&&(E=Math.min(1,E),z=Math.min(1,z)),Math.min(E,z)}function ve(Me,Re,le){var ot=1,rt,at=!1;if(Me.hasOwnProperty("allowUpscale")&&(at=Me.allowUpscale),Me.hasOwnProperty("scale")&&(ot=parseFloat(Me.scale),(isNaN(ot)||ot===null||ot===0)&&(ot=1),ot>1&&(at=!0)),Re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(at=!0),!(Me.hasOwnProperty("disableAutoScale")&&Me.disableAutoScale))rt=oe(Me,Re,at,le,Me.scaleContainerClass);else return ot;return at&&(!Me.hasOwnProperty("scale")||ot===1)?rt:Math.min(ot,rt)}function Te(Me){var Re=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ot=Me.getBoundingClientRect(),rt=(Re-ot.width)/2,at=(le-ot.height)/2;at<0&&(at=0),Me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(rt<40?Me.style.left="40px":Me.style.left=rt+"px",Me.style.top=at+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(at<40?Me.style.top="40px":Me.style.top=at+"px",Me.style.left=rt+"px")}function tt(Me,Re){var le=Me.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Re.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var ot=ve(Re,Me);ht()&&le.setAttribute("data-param-scale",ot);for(var rt=null,at=0;at<Me.childNodes.length;at++)if(Me.childNodes[at].className!==void 0&&Me.childNodes[at].className.match(/^applet_scaler/)){rt=Me.childNodes[at];break}if(rt!==null&&rt.querySelector(".noscale")!==null)return;var nt=Re.id!==void 0?Re.id:"ggbApplet",ut=window[nt];(ut==null||!ut.recalculateEnvironments)&&rt!==null&&!rt.className.match(/fullscreen/)&&(rt.parentNode.style.transform="",!isNaN(ot)&&ot!==1?(rt.parentNode.style.width=Re.width*ot+"px",rt.parentNode.style.height=Re.height*ot+"px",Dt(rt,ot)):(Dt(rt,1),rt.parentNode.style.width=Re.width+"px",rt.parentNode.style.height=Re.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Te(Me),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(le).parents(".content-added-content"))}}return{responsiveResize:tt,isFlexibleWorksheetEditor:ht,positionCenter:Te,getScale:ve,scaleElement:Dt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var ht=n.location.search;return ht.indexOf(J)!=-1||ht.indexOf(K)!=-1}function q(ht,Dt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ht){var Dt=s[L].bindings;s[L].bindings=function(){for(var te=Dt?Dt():{},oe=ht[webModule.__softPermutationId],ve=O;ve<oe.length;ve++){var Te=oe[ve];te[Te[O]]=Te[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var ht=o.createElement(Q);if(ht.id=L,ht.style.cssText=R+S,ht.tabIndex=-1,o.body.appendChild(ht),t=ht.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Dt=document.compatMode==U?V:W;t.write(Dt+X),t.close()}}}function w(ht){function Dt(oe){function ve(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Te=ve();if(Te){oe();return}function tt(){if(!Te){if(!ve())return;Te=!0,oe(),o.removeEventListener&&o.removeEventListener(Z,tt,!1),Me&&clearInterval(Me)}}o.addEventListener&&o.addEventListener(Z,tt,!1);var Me=setInterval(function(){tt()},$)}function te(oe){var ve=u(),Te=ve.body,tt=ve.createElement(_);tt.language=ab,tt.crossOrigin=W,tt.src=oe,webModule.__errFn&&(tt.onerror=function(){webModule.__errFn(L,new Error(bb+oe))}),Te.appendChild(tt)}Dt(function(){te(ht)})}webModule.__startLoadingFragment=function(ht){return C(ht)},webModule.__installRunAsyncCode=function(ht){var Dt=u(),te=Dt.body,oe=Dt.createElement(_);oe.language=ab,oe.text=ht,te.appendChild(oe),te.removeChild(oe)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ht){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ht){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ht){var Dt=c[ht];return Dt==null?null:Dt},r=d,webModule.__errFn=e}function B(){function ht(Me){var Re=Me.lastIndexOf(rb);Re==-1&&(Re=Me.length);var le=Me.indexOf(sb);le==-1&&(le=Me.length);var ot=Me.lastIndexOf(tb,Math.min(le,Re));return ot>=O?Me.substring(O,ot+P):W}function Dt(Me){if(!Me.match(/^\w+:\/\//)){var Re=o.createElement(ub);Re.src=Me+vb,Me=ht(Re.src)}return Me}function te(){var Me=__gwt_getMetaProperty(wb);return Me!=null?Me:W}function oe(){for(var Me=o.getElementsByTagName(_),Re=O;Re<Me.length;++Re)if(Me[Re].src.indexOf(xb)!=-1)return ht(Me[Re].src);return W}function ve(){var Me=o.getElementsByTagName(yb);return Me.length>O?Me[Me.length-P].href:W}function Te(){var Me=o.location;return Me.href==Me.protocol+zb+Me.host+Me.pathname+Me.search+Me.hash}var tt=te();return tt==W&&(tt=oe()),tt==W&&(tt=ve()),tt==W&&Te()&&(tt=ht(o.location.href)),tt=Dt(tt),tt}function C(ht){return ht.match(/^\//)||ht.match(/^[a-zA-Z]+:\/\//)?ht:webModule.__moduleBase+ht}function D(){var ht=[],Dt=O,te=[],oe=[];function ve(Me){var Re=oe[Me](),le=te[Me];if(Re in le)return Re;var ot=[];for(var rt in le)ot[le[rt]]=rt;throw r&&r(Me,ot,Re),null}if(__gwt_isKnownPropertyValue=function(Me,Re){return Re in te[Me]},webModule.__getPropMap=function(){var Me={};for(var Re in te)te.hasOwnProperty(Re)&&(Me[Re]=ve(Re));return Me},webModule.__computePropValue=ve,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Te;try{Te=Cb;var tt=Te.indexOf(Db);tt!=-1&&(Dt=parseInt(Te.substring(tt+P),$),Te=Te.substring(O,tt))}catch(Me){}return webModule.__softPermutationId=Dt,C(Te+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(ht,Dt,te){"use strict";te.d(Dt,{Ax:function(){return tt},Ds:function(){return Me},KI:function(){return le},SI:function(){return Te},f1:function(){return ve}});var oe=te(346);function ve(ot){let rt=!0;if(ot.length>0){for(let at=0;at<ot.length;at++)if(ot[at].compile_success==0||!ot[at].compile_success){rt=!1;break}}else rt=!1;return rt}function Te(ot,rt=""){let at=[];for(let nt=0;nt<ot.length;nt++){let ut=ot[nt],He=rt?`${rt}/${ut.name}`:`${ut.name}`;at.push({title:ut.name,type:ut.type,isLeaf:ut.type!=="tree",key:He})}return at}function tt(ot,rt,at){for(let nt=0;nt<ot.length;nt++){let ut=ot[nt];if(ut.key===rt){ut.children=at;break}ut.children&&tt(ut.children,rt,at)}return ot}function Me(ot,rt,at){let nt;return function(){let ut=this,He=arguments,ie=function(){nt=null,at||ot.apply(ut,He)},y=at&&!nt;clearTimeout(nt),nt=setTimeout(ie,rt),y&&ot.apply(ut,He)}}const Re=!0,le=oe.Z.API_SERVER},9507:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return nt}});var oe=te(59301),ve={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Te=te(92310),tt=te.n(Te),Me=te(71418),Re=te(2859),le=te(38986),ot=te(51257),rt=(ut,He,ie)=>new Promise((y,a)=>{var x=z=>{try{E(ie.next(z))}catch(ee){a(ee)}},b=z=>{try{E(ie.throw(z))}catch(ee){a(ee)}},E=z=>z.done?y(z.value):Promise.resolve(z.value).then(x,b);E((ie=ie.apply(ut,He)).next())}),nt=({data:ut,className:He,fullWidth:ie,style:y={},onClose:a,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,oe.useRef)(null),ee=(0,oe.useRef)(null),ae=(0,oe.useRef)(null),ne=(0,oe.useRef)(null),[ge,fe]=(0,oe.useState)(!1),[Be,be]=(0,oe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,oe.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),ut!=null&&ut.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",ut!=null&&ut.src&&De()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[ut==null?void 0:ut.visible]);const De=()=>rt(void 0,null,function*(){fe(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const it=yield(0,ot.ZJ)(ut==null?void 0:ut.src);z.current.src="",z.current.src=it,z.current.onload=function(){hn()},fe(!1),be("")}),ye=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},wt=it=>rt(void 0,null,function*(){fe(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const dt=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ut.title,file:it.dataUrl}});dt!=null&&dt.id&&!E?(yield(0,le.ZP)(`/api/attachments/${ut.id}/add_subitem.json`,{method:"post",body:{subitem_id:dt==null?void 0:dt.id,settings:JSON.stringify(it.state)}})).status===0&&x():dt!=null&&dt.id&&x(dt),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",fe(!1),be("")}),pt=()=>{const it=document.querySelector('a[href="https://markerjs.com/"]');it&&it.parentNode&&(it.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(St=>{const Ft=document.querySelector(St.name);Ft&&Ft.setAttribute("title",St.title)})},hn=()=>{ee.current=new Re.hP(z.current),ee.current.targetRoot=ne.current,ee.current.addEventListener("render",wt),ee.current.addEventListener("beforeclose",ye),b&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),ut!=null&&ut.snapshotData&&ee.current.restoreState(ut.snapshotData),setTimeout(()=>{window.scrollTo(0,0),pt()},300)};return oe.createElement(oe.Fragment,null,(ut==null?void 0:ut.visible)&&oe.createElement(Me.Z,{spinning:ge,tip:Be,style:{position:"absolute"}},oe.createElement("div",{ref:ne,className:tt()(ve.imageDimensions,He,ie?ve.fullWidth:""),style:y},oe.createElement("img",{className:ve.img,ref:z}))))}},76562:function(ht,Dt,te){"use strict";var oe=te(59301),ve=te(95237),Te=te(43604),tt=te(99313),Me=te(3113),Re=te(91842),le=te(99587),ot=te(48136),rt=te(59301);const at=(0,oe.forwardRef)(({callback:nt,showSaveButton:ut,value:He=""},ie)=>{const y=(0,oe.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
y=b + r\\text{sin}\\theta \r
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\left\\{\\begin{matrix} \r
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
\\end{matrix}\\right. \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
a \\perp \\alpha \\ \r
|
|
b \\perp \\alpha \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
a \\perp m,a \\perp n \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
a^{2}+b^{2}=c^{2} \r
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
a,b \\in R^{+} \\ \r
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
a,b \\in R \\ \r
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
P \\left( S \\right) =1 \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
\\forall A \\in S \\\\ \r
|
|
P \\left( A \\right) \\ge 0 \r
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
P_{n}=n! \\\\ \r
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
\\end{array}`}]}]}],b=ee=>{y.current.setValue(y.current.getValue()+" "+ee.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:rt.createElement(ve.Z,{className:le.Z.lists,gutter:[10,10]},a.map((ee,ae)=>rt.createElement(Te.Z,{flex:"110px",className:le.Z.item},rt.createElement("div",null,rt.createElement(Re.Z,{value:`$$${ee.value}$$`}),ee.name),rt.createElement("div",{className:le.Z.children},ee.children.map((ne,ge)=>rt.createElement("div",{key:ge},rt.createElement("h1",null,ne.name),rt.createElement(ve.Z,{gutter:[10,10]},ne.data.map((fe,Be)=>rt.createElement(Te.Z,{key:Be,onClick:()=>b(fe),className:le.Z.diamond},rt.createElement(Re.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:rt.createElement(ve.Z,{className:le.Z.lists,gutter:[10,10]},x.map((ee,ae)=>rt.createElement(Te.Z,{flex:"110px",className:le.Z.item},rt.createElement("div",null,rt.createElement(Re.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),rt.createElement("div",{className:le.Z.children},ee.children.map((ne,ge)=>rt.createElement("div",{key:ge},ne.name&&rt.createElement("h1",null,ne.name),rt.createElement(ve.Z,{gutter:[10,10]},ne.data.map((fe,Be)=>rt.createElement(Te.Z,{key:Be,onClick:()=>b(fe),className:le.Z.diamond},rt.createElement(Re.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=y.current.getValue();var ae=ee.innerText;return nt&&nt(ae),ae};return(0,oe.useImperativeHandle)(ie,()=>({getData:z})),rt.createElement("div",{className:le.Z.mathWrap},rt.createElement(tt.default,{defaultActiveKey:"1",items:E}),rt.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},He||""),ut&&rt.createElement("div",{className:le.Z.button},rt.createElement(Me.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Dt.Z=at},69720:function(ht,Dt,te){"use strict";te.d(Dt,{h:function(){return ee}});var oe=te(59301),ve=te(57809),Te=te(78241),tt=te(3113),Me=te(89780),Re=te.n(Me),le=te(8336),ot=te(12469),rt=Object.defineProperty,at=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(ae,ne,ge)=>ne in ae?rt(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ae[ne]=ge,a=(ae,ne)=>{for(var ge in ne||(ne={}))He.call(ne,ge)&&y(ae,ge,ne[ge]);if(ut)for(var ge of ut(ne))ie.call(ne,ge)&&y(ae,ge,ne[ge]);return ae},x=(ae,ne)=>at(ae,nt(ne));const b=ve.default.Option,E={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Dt.Z=({callback:ae,onCancel:ne})=>{const[ge,fe]=(0,oe.useState)("python");function Be(De){fe(z[De][1])}function be(De){ae(De)}return oe.createElement(Te.default,x(a({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),oe.createElement(Te.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},oe.createElement(ve.default,{getPopupContainer:De=>De.parentNode,onChange:Be},Object.keys(z).map(De=>oe.createElement(b,{key:De,value:De},z[De][0])))),oe.createElement(Te.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},oe.createElement(ee,{mode:ge})),oe.createElement("div",{className:"flex-container flex-end"},oe.createElement(tt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(tt.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function ee({value:ae,onChange:ne,mode:ge,options:fe={}}){const Be=(0,oe.useRef)(),[be,De]=(0,oe.useState)();return(0,oe.useEffect)(()=>{if(be){let ye=function(wt){const pt=wt.getValue();ne&&ne(pt)};return be.on("change",ye),()=>{be.off("change",ye)}}},[be,ne]),(0,oe.useEffect)(()=>{be&&be.setOption("mode",ge)},[be,ge]),(0,oe.useEffect)(()=>{be&&(ae!==be.getValue()||ae==="")&&setTimeout(()=>{be.setValue(ae||"")},300)},[be,ae]),(0,oe.useEffect)(()=>{if(Be.current&&!be){const ye=Re().fromTextArea(Be.current,a({mode:ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));De(ye)}},[Be.current,be]),oe.createElement("div",{className:"my-codemirror-container"},oe.createElement("textarea",{ref:Be}))}},39793:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return Kn}});var oe=te(59301),ve=te(89780),Te=te.n(ve),tt=te(76374),Me=te(8336),Re=te(6313),le=te(25717),ot=te(99498),rt=te(25419),at=te(67549),nt=te(91842),ut=({value:Ve="",className:et,showTextOnly:Ye,showLines:Rt,style:Sn={}})=>{const _t=(0,oe.useMemo)(()=>"",[Ve]);return oe.createElement(oe.Fragment,null,oe.createElement("div",{dangerouslySetInnerHTML:{__html:_t}}))},He=te(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(Ve,et,Ye)=>et in Ve?ie(Ve,et,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ve[et]=Ye,ee=(Ve,et)=>{for(var Ye in et||(et={}))b.call(et,Ye)&&z(Ve,Ye,et[Ye]);if(x)for(var Ye of x(et))E.call(et,Ye)&&z(Ve,Ye,et[Ye]);return Ve},ae=(Ve,et)=>y(Ve,a(et));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:Ve,title:et,icon:Ye,actionName:Rt,className:Sn="",children:_t}){function va(){Ve(Rt)}return He.createElement("a",{title:et,className:Sn,onClick:va},He.createElement("i",{className:`${Ye}`}),_t)}var fe=({watch:Ve,showNullButton:et,showNullProgramButton:Ye,onActionCallback:Rt,fullScreen:Sn,insertTemp:_t,hidetoolBar:va,extraUse:zn})=>{const kn=[...ne,{title:`${Ve?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ve?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return He.createElement("ul",{className:"markdown-toolbar-container"},!va&&kn.map((wa,ia)=>He.createElement("li",{key:ia},wa.actionName?He.createElement(ge,ae(ee({},wa),{onActionCallback:Rt})):He.createElement("span",{className:"v-line"}))),et?He.createElement("li",null,He.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Rt},He.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ye?He.createElement(He.Fragment,null,He.createElement("li",null,He.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Rt},He.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),He.createElement("li",null,He.createElement(ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Rt},He.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,_t&&He.createElement("li",null,He.createElement(ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${_t}`,onActionCallback:Rt},He.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),zn&&He.createElement("li",null,zn),He.createElement("li",{className:"btn-full-screen"},He.createElement(ge,{icon:`${Sn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Sn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Rt})))},Be=te(91558),be=te(78241),De=te(92832),ye=te(3113),wt=Object.defineProperty,pt=Object.defineProperties,hn=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Ft=(Ve,et,Ye)=>et in Ve?wt(Ve,et,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ve[et]=Ye,Zt=(Ve,et)=>{for(var Ye in et||(et={}))dt.call(et,Ye)&&Ft(Ve,Ye,et[Ye]);if(it)for(var Ye of it(et))St.call(et,Ye)&&Ft(Ve,Ye,et[Ye]);return Ve},Jt=(Ve,et)=>pt(Ve,hn(et));const Je={labelCol:{span:4},wrapperCol:{span:20}};var kt=({callback:Ve,onCancel:et})=>{function Ye(Rt){Ve(Rt)}return oe.createElement(be.default,Jt(Zt({},Je),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ye,style:{width:500}}),oe.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},oe.createElement(De.default,null)),oe.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},oe.createElement(De.default,null)),oe.createElement("div",{className:"flex-container flex-end"},oe.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(ye.ZP,{type:"ghost",onClick:et},"\u53D6\u6D88")))},Xt=te(69720),Fe=te(17077),Ue=te(43418),Et=te(95237),sn=te(9507),mt=te(59301),rn=({callback:Ve,onCancel:et})=>{const Ye=document.createElement("canvas"),Rt=Ye.getContext("2d");Ye.width=1e3,Ye.height=800,Rt.fillStyle="#ffffff",Rt.fillRect(0,0,Ye.width,Ye.height);const Sn=Ye.toDataURL("image/png");return mt.createElement(Ue.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},mt.createElement(Et.Z,{style:{height:"100vh"}},mt.createElement(sn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Sn,visible:!0,title:String(Date.now())},onOk:_t=>{Ve({src:_t.url})},onClose:et})))},xe=te(12378);function It(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(It,go.CommandHandler),It.prototype.canAlignSelection=function(){var Ve=this.diagram;return!(Ve===null||Ve.isReadOnly||Ve.isModelReadOnly||Ve.selection.count<2)},It.prototype.alignLeft=function(){var Ve=this.diagram;Ve.startTransaction("aligning left");var et=1/0;Ve.selection.each(function(Ye){Ye instanceof go.Link||(et=Math.min(Ye.position.x,et))}),Ve.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(et,Ye.position.y))}),Ve.commitTransaction("aligning left")},It.prototype.alignRight=function(){var Ve=this.diagram;Ve.startTransaction("aligning right");var et=-1/0;Ve.selection.each(function(Ye){if(!(Ye instanceof go.Link)){var Rt=Ye.actualBounds.x+Ye.actualBounds.width;et=Math.max(Rt,et)}}),Ve.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(et-Ye.actualBounds.width,Ye.position.y))}),Ve.commitTransaction("aligning right")},It.prototype.alignTop=function(){var Ve=this.diagram;Ve.startTransaction("alignTop");var et=1/0;Ve.selection.each(function(Ye){Ye instanceof go.Link||(et=Math.min(Ye.position.y,et))}),Ve.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ye.position.x,et))}),Ve.commitTransaction("alignTop")},It.prototype.alignBottom=function(){var Ve=this.diagram;Ve.startTransaction("aligning bottom");var et=-1/0;Ve.selection.each(function(Ye){if(!(Ye instanceof go.Link)){var Rt=Ye.actualBounds.y+Ye.actualBounds.height;et=Math.max(Rt,et)}}),Ve.selection.each(function(Ye){Ye instanceof go.Link||Ye.move(new go.Point(Ye.actualBounds.x,et-Ye.actualBounds.height))}),Ve.commitTransaction("aligning bottom")},It.prototype.alignCenterX=function(){var Ve=this.diagram,et=Ve.selection.first();if(et){Ve.startTransaction("aligning Center X");var Ye=et.actualBounds.x+et.actualBounds.width/2;Ve.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Ye-Rt.actualBounds.width/2,Rt.actualBounds.y))}),Ve.commitTransaction("aligning Center X")}},It.prototype.alignCenterY=function(){var Ve=this.diagram,et=Ve.selection.first();if(et){Ve.startTransaction("aligning Center Y");var Ye=et.actualBounds.y+et.actualBounds.height/2;Ve.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.actualBounds.x,Ye-Rt.actualBounds.height/2))}),Ve.commitTransaction("aligning Center Y")}},It.prototype.alignColumn=function(Ve){var et=this.diagram;et.startTransaction("align Column"),Ve===void 0&&(Ve=0),Ve=parseFloat(Ve);var Ye=new Array;et.selection.each(function(zn){zn instanceof go.Link||Ye.push(zn)});for(var Rt=0;Rt<Ye.length-1;Rt++){var Sn=Ye[Rt],_t=Sn.actualBounds.y+Sn.actualBounds.height+Ve,va=Ye[Rt+1];va.move(new go.Point(Sn.actualBounds.x,_t))}et.commitTransaction("align Column")},It.prototype.alignRow=function(Ve){Ve===void 0&&(Ve=0),Ve=parseFloat(Ve);var et=this.diagram;et.startTransaction("align Row");var Ye=new Array;et.selection.each(function(zn){zn instanceof go.Link||Ye.push(zn)});for(var Rt=0;Rt<Ye.length-1;Rt++){var Sn=Ye[Rt],_t=Sn.actualBounds.x+Sn.actualBounds.width+Ve,va=Ye[Rt+1];va.move(new go.Point(_t,Sn.actualBounds.y))}et.commitTransaction("align Row")},It.prototype.canRotate=function(Ve){var et=this.diagram;return!(et===null||et.isReadOnly||et.isModelReadOnly||et.selection.count<1)},It.prototype.rotate=function(Ve){Ve===void 0&&(Ve=90);var et=this.diagram;et.startTransaction("rotate "+Ve.toString());var et=this.diagram;et.selection.each(function(Ye){Ye instanceof go.Link||Ye instanceof go.Group||(Ye.angle+=Ve)}),et.commitTransaction("rotate "+Ve.toString())},It.prototype.pullToFront=function(){var Ve=this.diagram;Ve.startTransaction("pullToFront");var et=new go.Map;Ve.selection.each(function(Ye){et.set(Ye.layer,0)}),et.iteratorKeys.each(function(Ye){var Rt=0;Ye.parts.each(function(Sn){if(!Sn.isSelected){var _t=Sn.zOrder;isNaN(_t)?Sn.zOrder=0:Rt=Math.max(Rt,_t)}}),et.set(Ye,Rt)}),Ve.selection.each(function(Ye){It._assignZOrder(Ye,et.get(Ye.layer)+1)}),Ve.commitTransaction("pullToFront")},It.prototype.pushToBack=function(){var Ve=this.diagram;Ve.startTransaction("pushToBack");var et=new go.Map;Ve.selection.each(function(Ye){et.set(Ye.layer,0)}),et.iteratorKeys.each(function(Ye){var Rt=0;Ye.parts.each(function(Sn){if(!Sn.isSelected){var _t=Sn.zOrder;isNaN(_t)?Sn.zOrder=0:Rt=Math.min(Rt,_t)}}),et.set(Ye,Rt)}),Ve.selection.each(function(Ye){It._assignZOrder(Ye,et.get(Ye.layer)-1-It._findGroupDepth(Ye))}),Ve.commitTransaction("pushToBack")},It._assignZOrder=function(Ve,et,Ye){Ye===void 0&&(Ye=Ve),Ve.layer===Ye.layer&&(Ve.zOrder=et),Ve instanceof go.Group&&Ve.memberParts.each(function(Rt){It._assignZOrder(Rt,et+1,Ye)})},It._findGroupDepth=function(Ve){if(Ve instanceof go.Group){var et=0;return Ve.memberParts.each(function(Ye){et=Math.max(et,It._findGroupDepth(Ye))}),et+1}else return 0},It.prototype.doKeyDown=function(){var Ve=this.diagram;if(Ve!==null){var et=Ve.lastInput;if(et.key==="Up"||et.key==="Down"||et.key==="Left"||et.key==="Right"){var Ye=this.arrowKeyBehavior;if(Ye==="none")return;if(Ye==="select"){this._arrowKeySelect();return}else if(Ye==="move"){this._arrowKeyMove();return}else if(Ye==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},It.prototype._getAllParts=function(){var Ve=new Array;return this.diagram.nodes.each(function(et){Ve.push(et)}),this.diagram.parts.each(function(et){Ve.push(et)}),Ve},It.prototype._arrowKeyMove=function(){var Ve=this.diagram,et=Ve.lastInput,Ye=0,Rt=0;if(et.control||et.meta)Ye=1,Rt=1;else if(Ve.grid!==null){var Sn=Ve.grid.gridCellSize;Rt=Sn.width,Ye=Sn.height}Ve.startTransaction("arrowKeyMove"),Ve.selection.each(function(_t){et.key==="Up"?_t.move(new go.Point(_t.actualBounds.x,_t.actualBounds.y-Ye)):et.key==="Down"?_t.move(new go.Point(_t.actualBounds.x,_t.actualBounds.y+Ye)):et.key==="Left"?_t.move(new go.Point(_t.actualBounds.x-Rt,_t.actualBounds.y)):et.key==="Right"&&_t.move(new go.Point(_t.actualBounds.x+Rt,_t.actualBounds.y))}),Ve.commitTransaction("arrowKeyMove")},It.prototype._arrowKeySelect=function(){var Ve=this.diagram,et=Ve.lastInput,Ye=null;et.key==="Up"?Ye=this._findNearestPartTowards(270):et.key==="Down"?Ye=this._findNearestPartTowards(90):et.key==="Left"?Ye=this._findNearestPartTowards(180):et.key==="Right"&&(Ye=this._findNearestPartTowards(0)),Ye!==null&&(et.shift?Ye.isSelected=!0:et.control||et.meta?Ye.isSelected=!Ye.isSelected:Ve.select(Ye))},It.prototype._findNearestPartTowards=function(Ve){var et=this.diagram.selection.first();if(et===null)return null;for(var Ye=et.actualBounds.center,Rt=this._getAllParts(),Sn=1/0,_t=et,va=0;va<Rt.length;va++){var zn=Rt[va];if(zn!==et&&zn.canSelect()){var kn=zn.actualBounds.center,wa=Ye.directionPoint(kn),ia=this._angleCloseness(wa,Ve);if(ia<=45){var tn=Ye.distanceSquaredPoint(kn);tn*=1+Math.sin(ia*Math.PI/180),tn<Sn&&(Sn=tn,_t=zn)}}}return _t},It.prototype._angleCloseness=function(Ve,et){return Math.min(Math.abs(et-Ve),Math.min(Math.abs(et+360-Ve),Math.abs(et-360-Ve)))},It.prototype._arrowKeyTree=function(){var Ve=this.diagram,et=Ve.selection.first();if(et instanceof go.Node){var Ye=Ve.lastInput;if(Ye.key==="Right"){if(!et.isTreeLeaf)if(!et.isTreeExpanded)Ve.commandHandler.canExpandTree(et)&&Ve.commandHandler.expandTree(et);else{var Rt=this._sortTreeChildrenByY(et).first();Rt!==null&&Ve.select(Rt)}}else if(Ye.key==="Left")if(!et.isTreeLeaf&&et.isTreeExpanded)Ve.commandHandler.canCollapseTree(et)&&Ve.commandHandler.collapseTree(et);else{var Sn=et.findTreeParentNode();Sn!==null&&Ve.select(Sn)}else if(Ye.key==="Up"){var Sn=et.findTreeParentNode();if(Sn!==null){var _t=this._sortTreeChildrenByY(Sn),va=_t.indexOf(et);if(va>0){for(var zn=_t.elt(va-1);zn!==null&&zn.isTreeExpanded&&!zn.isTreeLeaf;){var kn=this._sortTreeChildrenByY(zn);zn=kn.last()}zn!==null&&Ve.select(zn)}else Ve.select(Sn)}}else if(Ye.key==="Down")if(et.isTreeExpanded&&!et.isTreeLeaf){var Rt=this._sortTreeChildrenByY(et).first();Rt!==null&&Ve.select(Rt)}else for(;et!==null;){var Sn=et.findTreeParentNode();if(Sn===null)break;var _t=this._sortTreeChildrenByY(Sn),va=_t.indexOf(et);if(va<_t.length-1){Ve.select(_t.elt(va+1));break}else et=Sn}var wa=Ve.selection.first();wa!==null&&Ve.scrollToRect(wa.actualBounds)}},It.prototype._sortTreeChildrenByY=function(Ve){var et=new go.List().addAll(Ve.findTreeChildrenNodes());return et.sort(function(Ye,Rt){var Sn=Ye.location,_t=Rt.location;return Sn.y<_t.y?-1:Sn.y>_t.y?1:Sn.x<_t.x?-1:Sn.x>_t.x?1:0}),et},It.prototype.copyToClipboard=function(Ve){go.CommandHandler.prototype.copyToClipboard.call(this,Ve),this._lastPasteOffset.set(this.pasteOffset)},It.prototype.pasteFromClipboard=function(){var Ve=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ve,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ve},Object.defineProperty(It.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ve){if(Ve!=="move"&&Ve!=="select"&&Ve!=="scroll"&&Ve!=="tree"&&Ve!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ve);this._arrowKeyBehavior=Ve}}),Object.defineProperty(It.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ve){if(!(Ve instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ve);this._pasteOffset.set(Ve)}});var xt=It,An=te(63720),Nn=te(43604),Xe=te(38986),Ze={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ce=te(59301),me=(Ve,et,Ye)=>new Promise((Rt,Sn)=>{var _t=kn=>{try{zn(Ye.next(kn))}catch(wa){Sn(wa)}},va=kn=>{try{zn(Ye.throw(kn))}catch(wa){Sn(wa)}},zn=kn=>kn.done?Rt(kn.value):Promise.resolve(kn.value).then(_t,va);zn((Ye=Ye.apply(Ve,et)).next())});function ze({onCancel:Ve,callback:et}){let Ye=(0,oe.useRef)(),Rt=(0,oe.useRef)(),Sn=(0,oe.useRef)(),_t=(0,oe.useRef)(!1);const va=(0,oe.useRef)(!1),[zn,kn]=(0,oe.useState)(0);function wa(){const tn=xe.bx.make,Ga={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"};Ye.current=new xe.S0(Rt.current,{padding:20,grid:tn(xe.s_,"Grid",tn(xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),tn(xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:yn=>{var Jn=yn.diagram.commandHandler.addTopLevelParts(yn.diagram.selection,!0);Jn||yn.diagram.currentTool.doCancel()},commandHandler:tn(xt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:yn=>{var Jn=yn.subject;Jn.location=Jn.location.copy().snapToGridPoint(yn.diagram.grid.gridOrigin,yn.diagram.grid.gridCellSize),setTimeout(()=>{yn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:yn=>{var Jn=yn.subject;setTimeout(()=>{yn.diagram.commandHandler.editTextBlock()})},LinkRelinked:yn=>{var Jn=yn.parameter.part;Jn.invalidateConnectedLinks();var Ea=yn.subject;yn.diagram.toolManager.linkingTool.isForwards?Ea.toNode.invalidateConnectedLinks():Ea.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ye.current.nodeTemplate=tn(xe.NB,"Auto",{locationSpot:xe.z6.Center,locationObjectName:"SHAPE",desiredSize:new xe.$u(120,60),minSize:new xe.$u(40,40),resizable:!0,resizeCellSize:new xe.$u(10,10),rotatable:!0},new xe.KX("location","loc",xe.E9.parse).makeTwoWay(xe.E9.stringify),new xe.KX("desiredSize","size",xe.$u.parse).makeTwoWay(xe.$u.stringify),tn(xe.bn,{name:"SHAPE",fill:Ga.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xe.z6.AllSides,toSpot:xe.z6.AllSides},new xe.KX("figure"),new xe.KX("fill"),new xe.KX("stroke","borderColor"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),tn(xe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),tn(xe.al,{margin:1,textAlign:"center",overflow:xe.al.OverflowEllipsis,editable:!0},new xe.KX("text").makeTwoWay(),new xe.KX("stroke","color"))),Ye.current.nodeTemplate.toolTip=tn("ToolTip",tn(xe.s_,"Vertical",{maxSize:new xe.$u(200,NaN)},tn(xe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new xe.KX("text")),tn(xe.al,{font:"10pt sans-serif",textAlign:"center"},new xe.KX("text","details"))));function po(yn,Jn){var Ea=(Un,ja)=>{Un.handled=!0,Un.diagram.model.commit(Wa=>{var Fa=ja.part.adornedPart,Eo=new xe.E9().setRectSpot(Fa.actualBounds,yn);Eo.subtract(Fa.location),Eo.scale(2,2),Eo.x+=Math.sign(Eo.x)*130,Eo.y+=Math.sign(Eo.y)*130,Eo.add(Fa.location),Eo.snapToGridPoint(Un.diagram.grid.gridOrigin,Un.diagram.grid.gridCellSize);var bo=Wa.copyNodeData(Fa.data);Wa.setGroupKeyForNodeData(bo,Wa.getGroupKeyForNodeData(Fa.data)),Wa.addNodeData(bo);var Ar={from:Fa.key,to:Wa.getKeyForNodeData(bo)};Wa.addLinkData(Ar);var xr=Un.diagram.findNodeForData(bo);xr.location=Eo,Un.diagram.select(xr),setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()},20)})};return tn(xe.bn,{figure:Jn,alignment:yn,alignmentFocus:yn.opposite(),width:yn.equals(xe.z6.Top)||yn.equals(xe.z6.Bottom)?25:18,height:yn.equals(xe.z6.Top)||yn.equals(xe.z6.Bottom)?18:25,fill:"orange",stroke:Ga.white,strokeWidth:4,mouseEnter:(Un,ja)=>ja.fill="dodgerblue",mouseLeave:(Un,ja)=>ja.fill="orange",isActionable:!0,click:Ea,contextClick:Ea})}function Qa(yn){return tn(xe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Jn,Ea)=>Ea.fill="dodgerblue",mouseLeave:(Jn,Ea)=>Ea.fill="orange",click:(Jn,Ea)=>{Jn.diagram.commandHandler.showContextMenu(Ea.part.adornedPart)}},yn||{})}Ye.current.nodeTemplate.selectionAdornmentTemplate=tn(xe.uz,"Spot",tn(xe.Vm,{padding:10}),po(xe.z6.Top,"TriangleUp"),po(xe.z6.Left,"TriangleLeft"),po(xe.z6.Right,"TriangleRight"),po(xe.z6.Bottom,"TriangleDown"),Qa({alignment:new xe.z6(.75,0)}));function $a(yn,Jn){return(Ea,Un)=>{Ea.handled=!0,Ea.diagram.model.commit(ja=>{ja.set(Un.part.adornedPart.data,yn,Jn)})}}function Ke(yn,Jn){return Jn||(Jn="color"),tn(xe.bn,{width:16,height:16,stroke:"lightgray",fill:yn,margin:1,background:"transparent",mouseEnter:(Ea,Un)=>Un.stroke="dodgerblue",mouseLeave:(Ea,Un)=>Un.stroke="lightgray",click:$a(Jn,yn),contextClick:$a(Jn,yn)})}function Ot(){return[tn("ContextMenuButton",tn(xe.s_,"Horizontal",Ke(Ga.white,"fill"),Ke(Ga.beige,"fill"),Ke(Ga.extralightblue,"fill"),Ke(Ga.extralightred,"fill"))),tn("ContextMenuButton",tn(xe.s_,"Horizontal",Ke(Ga.lightgray,"fill"),Ke(Ga.lightgreen,"fill"),Ke(Ga.lightblue,"fill"),Ke(Ga.lightred,"fill")))]}function At(){return[tn("ContextMenuButton",tn(xe.s_,"Horizontal",Ke(Ga.black),Ke(Ga.green),Ke(Ga.blue),Ke(Ga.red))),tn("ContextMenuButton",tn(xe.s_,"Horizontal",Ke(Ga.white),Ke(Ga.magenta),Ke(Ga.purple),Ke(Ga.orange)))]}function Qt(yn,Jn){return Jn||(Jn="thickness"),tn(xe.bn,"LineH",{width:16,height:16,strokeWidth:yn,margin:1,background:"transparent",mouseEnter:(Ea,Un)=>Un.background="dodgerblue",mouseLeave:(Ea,Un)=>Un.background="transparent",click:$a(Jn,yn),contextClick:$a(Jn,yn)})}function un(yn,Jn){return Jn||(Jn="dash"),tn(xe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:yn,margin:1,background:"transparent",mouseEnter:(Ea,Un)=>Un.background="dodgerblue",mouseLeave:(Ea,Un)=>Un.background="transparent",click:$a(Jn,yn),contextClick:$a(Jn,yn)})}function fn(){return[tn("ContextMenuButton",tn(xe.s_,"Horizontal",Qt(1),Qt(2),Qt(3),Qt(4))),tn("ContextMenuButton",tn(xe.s_,"Horizontal",un(null),un([2,4]),un([4,4])))]}function nn(yn,Jn){return Jn||(Jn="figure"),tn(xe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:yn,margin:1,background:"transparent",mouseEnter:(Ea,Un)=>Un.fill="dodgerblue",mouseLeave:(Ea,Un)=>Un.fill="lightgray",click:$a(Jn,yn),contextClick:$a(Jn,yn)})}Ye.current.nodeTemplate.contextMenu=tn("ContextMenu",tn("ContextMenuButton",tn(xe.s_,"Horizontal",nn("Rectangle"),nn("RoundedRectangle"),nn("Ellipse"),nn("Diamond"))),tn("ContextMenuButton",tn(xe.s_,"Horizontal",nn("Parallelogram2"),nn("ManualOperation"),nn("Procedure"),nn("Cylinder1"))),tn("ContextMenuButton",tn(xe.s_,"Horizontal",nn("Terminator"),nn("CreateRequest"),nn("Document"),nn("TriangleDown"))),Ot(),At(),fn()),Ye.current.groupTemplate=tn(xe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:xe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(yn,Jn)=>{var Ea=Jn.addMembers(Jn.diagram.selection,!0);Ea||Jn.diagram.currentTool.doCancel()},avoidable:!1},new xe.KX("location","loc",xe.E9.parse).makeTwoWay(xe.E9.stringify),tn(xe.s_,"Auto",{name:"BODY"},tn(xe.bn,{parameter1:10,fill:Ga.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:xe.z6.AllSides,toSpot:xe.z6.AllSides},new xe.KX("fill"),new xe.KX("stroke","color"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),tn(xe.Vm,{background:"transparent",margin:20})),tn(xe.al,{alignment:xe.z6.Top,alignmentFocus:xe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new xe.KX("text"),new xe.KX("stroke","color"))),Ye.current.groupTemplate.selectionAdornmentTemplate=tn(xe.uz,"Spot",tn(xe.s_,"Auto",tn(xe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),tn(xe.Vm,{margin:1.5})),Qa({alignment:xe.z6.TopRight,alignmentFocus:xe.z6.BottomRight})),Ye.current.groupTemplate.contextMenu=tn("ContextMenu",Ot(),At(),fn()),Ye.current.linkTemplate=tn(xe.rU,{layerName:"Foreground",routing:xe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new xe.KX("fromSpot","fromSpot",xe.z6.parse),new xe.KX("toSpot","toSpot",xe.z6.parse),new xe.KX("fromShortLength","dir",yn=>yn>=1?10:0),new xe.KX("toShortLength","dir",yn=>yn>=1?10:0),new xe.KX("points").makeTwoWay(),tn(xe.bn,{strokeWidth:2},new xe.KX("stroke","color"),new xe.KX("strokeWidth","thickness"),new xe.KX("strokeDashArray","dash")),tn(xe.bn,{segmentIndex:0,segmentOffset:new xe.E9(15,0),segmentOrientation:xe.rU.OrientAlong,alignmentFocus:xe.z6.Right,figure:"circle",width:10,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",yn=>yn===1)),tn(xe.bn,{segmentIndex:-1,segmentOffset:new xe.E9(-10,6),segmentOrientation:xe.rU.OrientPlus90,alignmentFocus:xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",yn=>yn>=1),new xe.KX("width","thickness",yn=>7+3*yn),new xe.KX("height","thickness",yn=>7+3*yn),new xe.KX("segmentOffset","thickness",yn=>new xe.E9(-15,4+1.5*yn))),tn(xe.bn,{segmentIndex:0,segmentOffset:new xe.E9(15,-6),segmentOrientation:xe.rU.OrientMinus90,alignmentFocus:xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new xe.KX("fill","color"),new xe.KX("visible","dir",yn=>yn===2),new xe.KX("width","thickness",yn=>7+3*yn),new xe.KX("height","thickness",yn=>7+3*yn),new xe.KX("segmentOffset","thickness",yn=>new xe.E9(-15,4+1.5*yn))),tn(xe.al,{alignmentFocus:new xe.z6(0,1,-4,0),editable:!0},new xe.KX("text").makeTwoWay(),new xe.KX("stroke","color"))),Ye.current.linkTemplate.selectionAdornmentTemplate=tn(xe.uz,tn(xe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:qt(2)},new xe.KX("pathPattern","thickness",qt)),Qa({alignmentFocus:new xe.z6(0,0,-6,-4)}));function qt(yn){return tn(xe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(yn+4).toString()+" H3"})}function Aa(yn){var Jn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return yn===0?Jn="M0 0 M16 16 M0 8 L16 8":yn===2&&(Jn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),tn(xe.bn,{geometryString:Jn,margin:2,background:"transparent",mouseEnter:(Ea,Un)=>Un.background="dodgerblue",mouseLeave:(Ea,Un)=>Un.background="transparent",click:$a("dir",yn),contextClick:$a("dir",yn)})}function pa(yn){var Jn=(Ea,Un)=>{Ea.handled=!0,Ea.diagram.model.commit(ja=>{var Wa=Un.part.adornedPart;ja.set(Wa.data,yn?"toSpot":"fromSpot",xe.z6.stringify(xe.z6.AllSides)),(yn?Wa.toNode:Wa.fromNode).invalidateConnectedLinks()})};return tn(xe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ea,Un)=>Un.background="dodgerblue",mouseLeave:(Ea,Un)=>Un.background="transparent",click:Jn,contextClick:Jn})}function Nt(yn,Jn){var Ea=0,Un=xe.z6.RightSide;yn.equals(xe.z6.Top)?(Ea=270,Un=xe.z6.TopSide):yn.equals(xe.z6.Left)?(Ea=180,Un=xe.z6.LeftSide):yn.equals(xe.z6.Bottom)&&(Ea=90,Un=xe.z6.BottomSide),Jn||(Ea-=180);var ja=(Wa,Fa)=>{Wa.handled=!0,Wa.diagram.model.commit(Eo=>{var bo=Fa.part.adornedPart;Eo.set(bo.data,Jn?"toSpot":"fromSpot",xe.z6.stringify(Un)),(Jn?bo.toNode:bo.fromNode).invalidateConnectedLinks()})};return tn(xe.bn,{alignment:yn,alignmentFocus:yn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ea,background:"transparent",mouseEnter:(Wa,Fa)=>Fa.background="dodgerblue",mouseLeave:(Wa,Fa)=>Fa.background="transparent",click:ja,contextClick:ja})}Ye.current.linkTemplate.contextMenu=tn("ContextMenu",At(),fn(),tn("ContextMenuButton",tn(xe.s_,"Horizontal",Aa(0),Aa(1),Aa(2))),tn("ContextMenuButton",tn(xe.s_,"Horizontal",tn(xe.s_,"Spot",pa(!1),Nt(xe.z6.Top,!1),Nt(xe.z6.Left,!1),Nt(xe.z6.Right,!1),Nt(xe.z6.Bottom,!1)),tn(xe.s_,"Spot",{margin:new xe.Zt(0,0,0,2)},pa(!0),Nt(xe.z6.Top,!0),Nt(xe.z6.Left,!0),Nt(xe.z6.Right,!0),Nt(xe.z6.Bottom,!0)))));const lo=`{ "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 oo=["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 Do(yn){return console.log("shapeName:",yn),oo.indexOf(yn)>=0}var ko=new xe.YI(Sn.current,{maxSelectionCount:1,linkTemplate:tn(xe.rU,{locationSpot:xe.z6.Center,selectionAdornmentTemplate:tn(xe.uz,"Link",{locationSpot:xe.z6.Center},tn(xe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),tn(xe.bn,{toArrow:"Standard",stroke:null}))},{routing:xe.rU.AvoidsNodes,curve:xe.rU.JumpOver,corner:5,toShortLength:4},new xe.KX("points"),tn(xe.bn,{isPanelMain:!0,strokeWidth:2}),tn(xe.bn,{toArrow:"Standard",stroke:null})),model:new xe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...xe.bn.getFigureGenerators().toArray().map(yn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:yn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ye.current.addDiagramListener("TextEdited",function(yn){var Jn;const Ea=yn.subject.part;var Un=(Jn=document.activeElement)==null?void 0:Jn.value;typeof Un=="string"&&Un.trim()===""&&Ye.current.model.commit(function(ja){ja.set(Ea.data,"text","\u672A\u547D\u540D"),Ye.current.commandHandler.stopCommand()},"increment")}),ko.nodeTemplate=tn(xe.NB,"Auto",{locationSpot:xe.z6.Center},new xe.KX("location","location",xe.E9.parse).makeTwoWay(xe.E9.stringify),tn(xe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new xe.KX("stroke").makeTwoWay(),new xe.KX("fill").makeTwoWay(),new xe.KX("figure")),tn(xe.al,{margin:new xe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new xe.$u(16,16),maxSize:new xe.$u(10,NaN),textAlign:"center",editable:!0},new xe.KX("key").makeTwoWay())),setTimeout(()=>{Ye.current.grid=tn(xe.s_,"Grid",tn(xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),tn(xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ye.current.grid.visible=!0,Ye.current.grid.gridCellStroke="darkgray",Ye.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ye.current,Ye.current}const ia=()=>me(this,null,function*(){var tn=Ye.current.makeImage();const Ga=yield(0,Xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:tn.src}});et({src:Ga.url})});return(0,oe.useEffect)(()=>(setTimeout(()=>{wa()},500),kn(zn+1),()=>{Ye.current=null}),[]),Ce.createElement("div",{ref:va,className:_t.current?`${Ze.maxH60} body-overflow-initial`:"body-overflow-initial"},Ce.createElement(Ue.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!zn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ce.createElement(Et.Z,null,Ce.createElement(Nn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ce.createElement(Nn.Z,{onClick:()=>{var tn,Ga,po=Ye.current.selection.first();if(_t.current=!_t.current,document.activeElement&&po){let Qa=(Ga=(tn=document.activeElement)==null?void 0:tn.value)==null?void 0:Ga.trim();typeof Qa=="string"&&Ye.current.model.commit(function($a){$a.set(po.data,"text",Qa||"\u672A\u547D\u540D"),Ye.current.commandHandler.stopCommand()},"increment")}kn(zn+1)}},Ce.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ve},Ce.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ze.flowChartWrp},Ce.createElement("div",{style:{display:"flex",height:"100%"}},Ce.createElement("div",{style:{width:"300px",height:"100%"}},Ce.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ce.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ze.myPaletteDiv,ref:Sn})),Ce.createElement("div",{style:{flex:1,position:"relative"}},Ce.createElement("div",{ref:Rt,style:{height:"80vh"}}))),Ce.createElement("div",{className:"tr"},Ce.createElement(ye.ZP,{size:"large",onClick:ia,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=ze,Se=te(5112),pe=te(5871);const Ie=Se.ZP.Group,Le={margin:"0 8px"};var he=({callback:Ve,onCancel:et})=>{function Ye(Rt){Ve(Rt)}return oe.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ye},oe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},oe.createElement("span",{style:Le},"\u5355\u5143\u683C\u6570\uFF1A"),oe.createElement("span",{style:Le},"\u884C\u6570"),oe.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},oe.createElement(pe.Z,null)),oe.createElement("span",{style:Le},"\u5217\u6570"),oe.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},oe.createElement(pe.Z,null))),oe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},oe.createElement("span",{style:Le},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),oe.createElement(be.default.Item,{name:"align"},oe.createElement(Ie,null,oe.createElement(Se.ZP,{value:"default"},oe.createElement("i",{className:"fa fa-align-justify"})),oe.createElement(Se.ZP,{value:"left"},oe.createElement("i",{className:"fa fa-align-left"})),oe.createElement(Se.ZP,{value:"center"},oe.createElement("i",{className:"fa fa-align-center"})),oe.createElement(Se.ZP,{value:"right"},oe.createElement("i",{className:"fa fa-align-right"}))))),oe.createElement("div",{className:"flex-container flex-end"},oe.createElement(ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(ye.ZP,{type:"ghost",onClick:et},"\u53D6\u6D88")))},Ge=te(78673),Vt=te(43001),Ct=te.n(Vt),Bt=(0,oe.forwardRef)(({use3d:Ve,width:et,height:Ye,callback:Rt,showSaveButton:Sn},_t)=>{const va=(0,oe.useRef)(),zn=(0,oe.useRef)(),[kn,wa]=(0,oe.useState)(!1),ia=(0,oe.useRef)({id:va,appName:"graphing",width:et||1e3,height:Ye||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,oe.useEffect)(()=>{zn.current=new(Ct())(ia.current,!0),window.onload=function(){zn.current.inject("applet_container")}},[]);const tn=()=>{var Ga=window.ggbApplet.getPNGBase64(1,!0,72);return Rt&&Rt(Ga),Ga};return(0,oe.useEffect)(()=>{ia.current.appName=kn?"3D":"graphing",zn.current.inject("applet_container")},[kn]),(0,oe.useEffect)(()=>{wa(Ve)},[Ve]),(0,oe.useImperativeHandle)(_t,()=>({getImgData:tn})),oe.createElement(oe.Fragment,null,oe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:va}),oe.createElement(Et.Z,{align:"middle"},oe.createElement(Nn.Z,{flex:1},oe.createElement(Ge.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:kn,onChange:Ga=>wa(Ga)})),oe.createElement(Nn.Z,null,oe.createElement(ye.ZP,{size:"large",onClick:tn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Tt=te(76562),we=te(1012),We=te(8591);const lt="link",vt="upload-image",zt="add-flowchart",en="draw-image",Yt="add-flowchart",ln="code-block",Dn="add-table",Yn="------------",Tn={default:Yn,left:`:${Yn}`,center:`:${Yn}:`,right:`${Yn}:`};var Xn=te(37808),ya=(Ve,et,Ye)=>new Promise((Rt,Sn)=>{var _t=kn=>{try{zn(Ye.next(kn))}catch(wa){Sn(wa)}},va=kn=>{try{zn(Ye.throw(kn))}catch(wa){Sn(wa)}},zn=kn=>kn.done?Rt(kn.value):Promise.resolve(kn.value).then(_t,va);zn((Ye=Ye.apply(Ve,et)).next())});function ba(){}let Bn=0;const Da=1e4,xa="\u2581",ca="@\u2581\u2581@",Ta="@\u2581@",to=`
|
|
**\u6A21\u677F\u6807\u9898**
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,an=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function pn(Ve){return/^\d+$/.test(Ve)?`${Ve}px`:Ve}const Pn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ra={[Pn+"-B"]:"bold",[Pn+"-I"]:"italic"},Ca={[lt]:"\u6DFB\u52A0\u94FE\u63A5",[ln]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[vt]:"\u6DFB\u52A0\u56FE\u7247",[en]:"\u6DFB\u52A0\u753B\u56FE",[zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Dn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Kn=({defaultValue:Ve="",onChange:et,width:Ye="100%",height:Rt=400,miniToolbar:Sn=!1,isFocus:_t=!1,watch:va,insertTemp:zn,mode:kn="markdown",id:wa="markdown-editor-id",showResizeBar:ia=!1,noStorage:tn=!1,showNullButton:Ga=!1,showNullProgramButton:po=!1,hidetoolBar:Qa=!1,fullScreen:$a=!1,onBlur:Ke,onCMBeforeChange:Ot,onFullScreen:At,className:Qt="",disablePaste:un=!1,disabled:fn=!1,disabledFill:nn=!1,placeholder:qt="",values:Aa="",extraUse:pa})=>{const[Nt,lo]=(0,oe.useState)(null),[oo,Do]=(0,oe.useState)(Ve),[ko,yn]=(0,oe.useState)(va),[Jn,Ea]=(0,oe.useState)($a),[Un,ja]=(0,oe.useState)(""),[Wa,Fa]=(0,oe.useState)(0),[Eo,bo]=(0,oe.useState)(Rt),[Ar,xr]=(0,oe.useState)(!1),Sr=(0,oe.useRef)((0,we.Z)()),jr=(0,oe.useRef)(!1),Ur=(0,oe.useRef)(),[$r,Tr]=(0,oe.useState)(0),[cr,Ho]=(0,oe.useState)(0),Cr=(0,oe.useRef)(),kr=(0,oe.useRef)(),Ir=(0,oe.useRef)(),Nr=(0,oe.useRef)(),wr=()=>ya(void 0,null,function*(){var ua;const Zn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Sr.current}});(ua=Zn==null?void 0:Zn.attachments)!=null&&ua.length&&(console.log("cm:",Nt,Cr),Zn.attachments.map(qn=>{qn.content_type.indexOf("image")>-1?Nt.replaceSelection(``):qn.content_type.indexOf("video")>-1?Nt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):qn.content_type.indexOf("pdf")>-1?Nt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${qn.id}?type=${qn.content_type}&disposition=inline" target="_blank">${qn.name}</a>`):Nt.replaceSelection(`[${qn.name}](${ENV.API_SERVER}/api/attachments/${qn.id}?type=${qn.content_type})`)}))});(0,oe.useEffect)(()=>{const ua=window.scrollY||window.pageYOffset;Do(Aa),Nt==null||Nt.setValue(Aa),window.scrollTo(0,ua)},[Aa]),(0,oe.useEffect)(()=>{At==null||At(Jn)},[Jn]),(0,oe.useEffect)(()=>{if(Cr.current){let ua=function(qn,_n){var _a;if(un){_n.preventDefault();return}const Io=_n.clipboardData;if(Io){const Wo=Io.types.toString(),Yo=Io.items;if(Wo==="Files"||Io.types.indexOf("Files")>-1){if(_n.preventDefault(),kn=="stex")return;try{let ir=Yo[1];((_a=Yo[0])==null?void 0:_a.kind)==="file"&&(ir=Yo[0]);const lr=ir.getAsFile(),Hr=lr.name.split(".").pop();(0,Fe.I)(lr,fr=>{var Ka,co,To;fr.id?((Ka=lr==null?void 0:lr.type)==null?void 0:Ka.indexOf("image"))>-1?Zn.replaceSelection(`<img width="100%" src="/api/attachments/${fr.id}?type=${fr.content_type})" alt="" />`):((co=lr==null?void 0:lr.type)==null?void 0:co.indexOf("video"))>-1?Zn.replaceSelection(`<video width="100%" controls src="/api/attachments/${fr.id}"></video>`):((To=lr==null?void 0:lr.type)==null?void 0:To.indexOf("pdf"))>-1?Zn.replaceSelection(`<a href="/api/attachments/${fr.id}?type=${lr.type}&disposition=inline" target="_blank">${lr.name}</a>`):an.includes(Hr)?Zn.replaceSelection(`<a href="/api/attachments/${fr.id}?type=office&disposition=inline" target="_blank">${lr.name}</a>`):Zn.replaceSelection(`[${lr.name}](/api/attachments/${fr.id}?type=${fr.content_type})`):(fr==null?void 0:fr.status)===401&&(We.ZP.warning((fr==null?void 0:fr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ir){We.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Zn=Te().fromTextArea(Cr.current,{mode:kn,lineNumbers:!Sn,lineWrapping:!0,value:Ve,autoCloseTags:!po,autoCloseBrackets:!0});return Zn.on("keyup",function(qn,_n){_n.keyCode===8&&(qn.getValue()==""?Zn.setOption("placeholder",qt):Zn.setOption("placeholder",null))}),Zn.on("keydown",function(qn,_n){if(_n.keyCode===8){var _a=Ya(qn);_a&&_n.preventDefault()}}),_t&&Zn.focus(),Zn.on("paste",ua),Zn.on("dragleave",function(qn,_n){kr.current.classList.remove("mouse-hover-md")}),fn&&Zn.on("beforeChange",function(qn,_n){(_n.origin==="paste"||_n.origin==="+input")&&_n.cancel()}),lo(Zn),()=>{Zn.off("paste",ua)}}},[]);const Kr=(0,oe.useCallback)(()=>{if(kr.current)try{}catch(ua){console.log(ua,"---- to set md editor body height")}},[Eo,kr,Jn]);(0,oe.useEffect)(()=>{function ua(){let Zn=new tt.Z(qn=>{for(let _n of qn)(_n.target.offsetHeight>0||_n.target.offsetWidth>0)&&(Kr(),Nt.setSize("100%","100%"),Nt.refresh())});return Zn.observe(Cr.current.parentElement),Zn}if(Nt){const Zn=ua();return()=>{var qn,_n;(qn=Cr.current)!=null&&qn.parentElement&&Zn.unobserve((_n=Cr.current)==null?void 0:_n.parentElement)}}},[Nt,Kr]),(0,oe.useEffect)(()=>{if(Nt){let ua=[];for(const[Zn,qn]of Object.entries(ra)){let _n={[Zn]:()=>{Ko(qn)}};ua.push(_n),Nt.addKeyMap(_n)}return Ur.current=setInterval(()=>{jr.current&&wr()},4e3),()=>{clearInterval(Ur.current);for(let Zn of ua)Nt.removeKeyMap(Zn)}}},[Nt]),(0,oe.useEffect)(()=>{$a!==Jn&&Ea($a)},[$a]),(0,Xn.Z)(()=>{if(!tn&&Wa>0){let ua=new Date().getTime(),Zn=window.sessionStorage.getItem(wa);ua>=Wa+Da&&(!Zn||Zn!==oo)&&(window.sessionStorage.setItem(wa,oo),xr(!0))}},Da),(0,oe.useEffect)(()=>{yn(va)},[Nt,va]),(0,oe.useEffect)(()=>{Nt&&_t&&Nt.focus()},[Nt,_t]),(0,oe.useEffect)(()=>{if(ko&&Nt){let ua=function(qn){let _n=qn.target;if(Nr.current){let _a=_n.scrollTop/_n.scrollHeight;Nr.current.scrollTop=Nr.current.scrollHeight*_a}};const Zn=Nt.getScrollerElement();return Zn.addEventListener("scroll",ua),()=>{Zn.removeEventListener("scroll",ua)}}},[Nt,ko]),(0,oe.useEffect)(()=>{if(Nt&&Ot){let ua=function(Zn,qn){Ot(Zn,qn)};return Nt.on("beforeChange",ua),()=>{Nt.off("beforeChange",ua)}}},[Nt,Ot]),(0,oe.useEffect)(()=>{if(Nt&&Ke){let ua=function(){Ke(Nt.getValue())};return Nt.on("blur",ua),()=>{Nt.off("blur",ua)}}},[Nt,Ke]);function Ya(ua,Zn){var qn=ua.getDoc(),_n=qn.getCursor(),_a=qn.getLine(_n.line),Io=_a.charAt(_n.ch-1),Wo=_a.lastIndexOf("@\u2581@",_n.ch),Yo=_a.lastIndexOf("@\u2581\u2581@",_n.ch),ir=Wo>Yo?Wo:Yo,lr=Wo>Yo?3:4;if(ca.indexOf(Io)===-1)return null;if(console.log("change1:",Zn,ua,_a,_n,ir,Wo,Yo,Io),ir>=0&&_n.ch-ir<5){var Hr=ir+lr;return qn.replaceRange("",{line:_n.line,ch:ir},{line:_n.line,ch:Hr}),{line:_n.line,ch:Hr}}return null}(0,oe.useEffect)(()=>{if(Nt){let ua=function(Zn,qn){const _n=Zn.getValue();Do(_n),Fa(new Date().getTime()),Zn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),et&&(po?et(_n,$o(_n)):et(_n))};return Nt.on("change",ua),()=>{Nt.off("change",ua)}}},[Nt,et]),(0,oe.useEffect)(()=>{if(Nt)if(Ve==null)Nt.setValue(""),Do("");else{const ua=window.scrollY||window.pageYOffset;Ve!==Nt.getValue()&&(Nt.setValue(Ve),Do(Ve),Nt.setCursor(fn?1:Nt.lineCount(),0),window.scrollTo(0,ua))}},[Nt,Ve]);const Ko=(0,oe.useCallback)(ua=>{const Zn=Nt.getCursor(),qn=Nt.getSelection();let _n=qn.split(`
|
|
`);switch(ua){case"bold":return Nt.replaceSelection("**"+qn+"**"),qn===""&&Nt.setCursor(Zn.line,Zn.ch+2),Nt.focus();case"italic":return Nt.replaceSelection("*"+qn+"*"),qn===""&&Nt.setCursor(Zn.line,Zn.ch+1),Nt.focus();case"code":return Nt.replaceSelection("`"+qn+"`"),qn===""&&Nt.setCursor(Zn.line,Zn.ch+1),Nt.focus();case"inline-latex":return ja("inline-latex"),Nt.focus();case"latex":return Nt.replaceSelection("```latex\n"+qn+"\n```"),Nt.setCursor(Zn.line+1,qn.length+1),Nt.focus();case"line-break":return Nt.replaceSelection(`<br/>
|
|
`),Nt.focus();case"list-ul":return qn===""?Nt.replaceSelection("- "+qn):Nt.replaceSelection(_n.map(_a=>_a===""?"":`- ${_a}`).join(`
|
|
`)),Nt.focus();case"list-ol":return qn===""?Nt.replaceSelection("1. "+qn):Nt.replaceSelection(_n.map((_a,Io)=>_a===""?"":`${Io+1}. ${_a}`).join(`
|
|
`)),Nt.focus();case"add-null-ch":return qn===""&&Nt.setCursor(Zn.line,Zn.ch),Nt.replaceSelection(xa),Nt.focus();case"add-signal":return qn===""&&Nt.setCursor(Zn.line,Zn.ch),Nt.replaceSelection(Ta),Nt.focus();case"add-multiple":return qn===""&&Nt.setCursor(Zn.line,Zn.ch),Nt.replaceSelection(ca),Nt.focus();case"inster-template-1":return qn===""&&Nt.setCursor(Zn.line,Zn.ch),Nt.replaceSelection(to),Nt.focus();case"eraser":return Nt.setValue(""),Nt.focus();case"trigger-watch":return yn(!ko),Nt.focus();case"trigger-full-screen":return Ea(!Jn),Nt.focus();case lt:ja(lt);return;case ln:ja(ln);return;case vt:ja(vt);return;case en:ja(en);return;case"maths-latex":ja("maths-latex");return;case zt:ja(zt);return;case Dn:ja(Dn);return;default:throw new Error}},[Nt,ko,Jn]),_o=(0,oe.useCallback)((ua,Zn)=>{var qn,_n,_a,Io,Wo,Yo;switch(ja(""),Un){case lt:const{title:Ka,link:co}=ua;return Nt.replaceSelection(`[${Ka}](${co})`),Nt.focus();case ln:const{language:To,content:so}=ua;return Nt.replaceSelection(["```"+To,so,"```"].join(`
|
|
`)),Nt.focus();case"maths-latex":for(var ir=atob(ua),lr=new Uint8Array(ir.length),Hr=0;Hr<ir.length;Hr++)lr[Hr]=ir.charCodeAt(Hr);var fr=new Blob([lr],{type:"image/png"});(0,Fe.I)(fr,Gr=>{Gr.id?Nt.replaceSelection(``):(Gr==null?void 0:Gr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Nt.replaceSelection("`$$"+ua+"$$`");break;case vt:case en:case Yt:const{src:ho,alt:nr}=ua,Ro=Zn,Wr=(_a=(_n=(qn=Ro==null?void 0:Ro.name)==null?void 0:qn.split("."))==null?void 0:_n.pop)==null?void 0:_a.call(_n);return((Io=Ro==null?void 0:Ro.type)==null?void 0:Io.indexOf("image"))>-1||!(Ro!=null&&Ro.type)?Ro.align||Ro.width?Nt.replaceSelection(`<p style="text-align:${Ro.align||"initial"}"><img width="${Ro.width?Ro.width+"%":"initial"}" src="${ho}" alt="${nr||""}" /></p>`):Nt.replaceSelection(`<img width="100%" src="${ho}" alt="${nr||""}" />`):((Wo=Ro==null?void 0:Ro.type)==null?void 0:Wo.indexOf("video"))>-1?Nt.replaceSelection(`<video width="100%" controls src="${ho}"></video>`):((Yo=Ro==null?void 0:Ro.type)==null?void 0:Yo.indexOf("pdf"))>-1?Nt.replaceSelection(`<a href="${ho}?type=${Ro.type}&disposition=inline" target="_blank">${Ro.name}</a>`):an.includes(Wr)?Nt.replaceSelection(`<a href="${ho}?type=office&disposition=inline" target="_blank">${Ro.name}</a>`):Nt.replaceSelection(`[${Ro.name}](${ho})`),Nt.focus();case Dn:const{row:Zr,col:ui,align:Ki}=ua;let mi=`
|
|
`;for(let Gr=0;Gr<Zr;Gr++){let Ni=[],Di=[];for(let xi=0;xi<ui;xi++)Gr===1&&Di.push(Tn[Ki]),Ni.push(" ");Gr===1&&(mi+=`| ${Di.join(" | ")} |
|
|
`),mi+=`| ${Ni.join(ui===1?"":" | ")} |
|
|
`}return Nt.replaceSelection(mi+`
|
|
`),Nt.focus();default:throw new Error}},[Nt,Un]),ur=(0,oe.useMemo)(()=>{switch(Un){case lt:return oe.createElement(kt,{callback:_o,onCancel:mr});case ln:return oe.createElement(Xt.Z,{callback:_o,onCancel:mr});case vt:return oe.createElement(Fe.Z,{callback:_o,onCancel:mr});case zt:return oe.createElement(gt,{callback:_o,onCancel:mr});case Dn:return oe.createElement(he,{callback:_o,onCancel:mr});case"maths-latex":return oe.createElement(Bt,{showSaveButton:!0,callback:_o});case"inline-latex":return oe.createElement(Tt.Z,{showSaveButton:!0,callback:_o});default:return null}},[Un]);function mr(){ja("")}(0,oe.useEffect)(()=>{if(Ir.current){let ua=function(Wo){_a=!0,Io=Wo.pageY},Zn=function(){_a=!1},qn=function(Wo){if(_a){let Yo=Wo.pageY-Io;Yo<0&&(Yo=0),Yo>300&&(Yo=300);let ir=Rt+Yo+"px";bo(ir)}},_n=Ir.current,_a=!1,Io=0;return _n.addEventListener("mousedown",ua),document.addEventListener("mousemove",qn),document.addEventListener("mouseup",Zn),()=>{_n.removeEventListener("mousedown",ua),document.removeEventListener("mousemove",qn),document.removeEventListener("mouseup",Zn)}}},[Nt,Ir]),(0,oe.useEffect)(()=>{bo(Rt)},[Rt]);const Fr=pn(Ye),ri=pn(Eo),qr={width:Fr,height:ri},Uo=(0,oe.useMemo)(()=>{if(Wa){let ua=new Date(Wa),Zn=ua.getHours(),qn=ua.getMinutes(),_n=ua.getSeconds();return Zn=Zn<10?"0"+Zn:Zn,qn=qn<10?"0"+qn:qn,_n=_n<10?"0"+_n:_n,`${Zn}:${qn}:${_n}`}return 0},[Wa]),$o=ua=>{const Zn=[];if(po){let qn=-1;ua=ua.replace(/(@▁▁@|@▁@)/g,function(_n,_a,Io){Zn.push({multiLine:_n!==Ta})})}return Zn};function zr(){window.sessionStorage.removeItem(wa),xr(!1),Fa(0)}function gi(){xr(!1),Fa(0),Nt.setValue(window.sessionStorage.getItem(wa))}(0,oe.useEffect)(()=>{Ca[Un]&&Un!==en&&Un!==zt&&setTimeout(()=>{const ua=document.getElementsByClassName("markdown-popup-form")[0],Zn=window.innerWidth/2-ua.offsetWidth/2,qn=window.innerHeight/2-ua.offsetHeight/2;Tr(Zn),Ho(qn)},0)},[Un]);const ci=ua=>{ua.preventDefault();const Zn=ua.clientX-$r,qn=ua.clientY-cr;document.body.onmousemove=_n=>{let _a=_n.clientX-Zn,Io=_n.clientY-qn;const Wo=document.getElementsByClassName("markdown-popup-form")[0],Yo=window.innerWidth-Wo.offsetWidth,ir=window.innerHeight-Wo.offsetHeight;_a=Math.max(0,Math.min(_a,Yo)),Io=Math.max(0,Math.min(Io,ir)),bi(_n.clientX,_n.clientY,Zn,qn)&&(Tr(_a),Ho(Io))},document.body.onmouseup=function(){document.body.onmousemove=null}},bi=(ua,Zn,qn,_n)=>{const _a=document.body.clientHeight,Io=document.body.clientWidth;return ua<20&&qn>ua||ua>Io-20&&qn<ua||Zn<20&&_n>Zn||Zn>_a-20&&_n<Zn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return oe.createElement(oe.Fragment,null,oe.createElement("div",{className:"markdown-editor-wrapper",ref:kr},oe.createElement("div",{className:`markdown-editor-container ${Qt} ${ko?"on-preview":""} ${Sn?"mini":""} ${Jn?"full-screen":""}`,style:qr},oe.createElement(fe,{insertTemp:zn,watch:ko,fullScreen:Jn,showNullButton:Ga,showNullProgramButton:po,onActionCallback:Ko,hidetoolBar:Qa,extraUse:pa}),oe.createElement("div",{className:"markdown-editor-body"},oe.createElement("div",{className:"codemirror-container"},oe.createElement("textarea",{ref:Cr,placeholder:qt})),ko?oe.createElement("div",{ref:Nr,className:"preview-container"},kn==="stex"&&oe.createElement(ut,{value:oo}),kn!=="stex"&&oe.createElement(nt.Z,{disabledFill:nn,showProgramFill:po,value:oo})):null))),ia?oe.createElement("a",{ref:Ir,className:"editor-resize"}):null,Un===en&&oe.createElement(rn,{callback:_o,onCancel:mr}),Un===zt&&oe.createElement(gt,{callback:_o,onCancel:mr}),oe.createElement(Be.Z,null,Ca[Un]&&Un!==en&&Un!==zt?oe.createElement(Ue.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:$r,top:cr},title:oe.createElement("div",{style:{cursor:"move"},onMouseDown:ci},Ca[Un]),open:!0,onCancel:mr,footer:null,destroyOnClose:!0,width:Un===zt?"1200px":null,height:Un===zt?"80vh":null,className:"markdown-popup-form"},ur):null))}},17077:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ge},I:function(){return Be}});var oe=te(78241),ve=te(8591),Te=te(92832),tt=te(81327),Me=te(5871),Re=te(5112),le=te(3113),ot=te(46699),rt=te(59301),at=te(48790),nt=te(59301),ut=Object.defineProperty,He=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(be,De,ye)=>De in be?ut(be,De,{enumerable:!0,configurable:!0,writable:!0,value:ye}):be[De]=ye,E=(be,De)=>{for(var ye in De||(De={}))a.call(De,ye)&&b(be,ye,De[ye]);if(y)for(var ye of y(De))x.call(De,ye)&&b(be,ye,De[ye]);return be},z=(be,De)=>He(be,ie(De));const{useForm:ee}=oe.default,ae={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var ge=({callback:be,onCancel:De})=>{const[ye]=ee();let wt=(0,rt.useRef)();function pt(dt){wt.current.width=ye.getFieldValue("width"),wt.current.align=ye.getFieldValue("align"),be(dt,wt.current)}function hn(dt,St){if(dt.status===-1){ve.ZP.error(dt.message);return}ye.setFieldsValue({src:`/api/attachments/${dt.id}`,type:St.type})}function it(dt){let St=dt.target.files[0];wt.current=St,Be(St,hn)}return nt.createElement(oe.default,z(E({form:ye},ne),{className:"upload-image-panel",onFinish:pt,style:{width:470,overflow:"hidden"}}),nt.createElement(oe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},nt.createElement("div",{className:"flex-container"},nt.createElement(oe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},nt.createElement(Te.default,{style:ae})),nt.createElement(fe,{onFileChange:it}))),nt.createElement(oe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},nt.createElement(Te.default,{style:{width:264}})),nt.createElement(oe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},nt.createElement(tt.Z,null,nt.createElement(oe.default.Item,{name:"width",style:{margin:0}},nt.createElement(Me.Z,{style:{width:264}})),nt.createElement("span",{className:"ml8"},"%"))),nt.createElement(oe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},nt.createElement(Re.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"}]})),nt.createElement("aside",null,nt.createElement(oe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},nt.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),nt.createElement(le.ZP,{type:"default",onClick:De},"\u53D6\u6D88"))))};function fe({onFileChange:be}){return nt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",nt.createElement("input",{type:"file",onChange:be}))}function Be(be,De){if(!be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,at.bg)())throw ve.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ye=new FormData;ye.append("editormd-image-file",be),ye.append("file_param_name","editormd-image-file"),ye.append("byxhr","true");var wt=new window.XMLHttpRequest;wt.withCredentials=!0,wt.addEventListener("load",function(pt){De(JSON.parse(pt.target.responseText),be)},!1),wt.addEventListener("error",function(pt){console.error(pt)},!1),wt.open("POST",`${ot.KI}/api/attachments.json`),wt.send(ye)}},91558:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return Te}});var oe=te(59301),ve=te(4676);class Te extends oe.Component{constructor(Me){super(Me);const Re=window.document;this.node=Re.createElement("div"),Re.body.appendChild(this.node)}render(){const{children:Me}=this.props;return(0,ve.createPortal)(Me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},7501:function(ht,Dt,te){"use strict";te.d(Dt,{i:function(){return ae},Z:function(){return ge}});var oe={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___dx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nYsN7s14F1YyWSbRXkxS96d0XOEzd06QeKtBzZT7jRhrs3d6NUDELaXAqCrgjiVuJuljyLJyzZkkZxtE3YkdSyKAlHFkx1TMVtu1OW+QbAPzz/n5AWJ8WAzLF9A65+dzs3A2uioOjkFIeZ63u1PzFNRdFfmYPqvl5fc0d1c4k8SwiavhxzHSG4J5+cQZuyvLyzwSSBt8BZJgESwsN65snmj3gzR3xh6YujGOSVMPo8sxK8dcHWudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ee=te(59301);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:rt,swimg:at},{name:"101\u8BA1\u5212",ptimg:nt,swimg:ut},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:He,swimg:ie},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:E,swimg:z}];var ge=({className:fe,dataSource:Be=[],col:be=4,right:De,bottom:ye=23,precision:wt=0,wrapWidth:pt=1200,trackEventItems:hn,loading:it,onRemove:dt=()=>{},isCurrent:St=!0,showAlias:Ft=!1})=>{const Zt=Math.floor((pt-(be-1)*De)/be),Jt=[{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(Je=>(window.ENV==="build"&&(Je.ptimg=`/react/build${Je.ptimg}`,Je.swimg=`/react/build${Je.swimg}`),Je));return ee.createElement(ve.Z,{spinning:it},ee.createElement("div",{className:Me()(oe.list,fe)},!!(Be!=null&&Be.length)&&(Be==null?void 0:Be.map((Je,kt)=>{var Xt;const{name:Fe,id:Ue,identifier:Et,featured:sn,school_name:mt,image_url:rn,excellent:xe,is_plan:It}=Je;return ee.createElement("div",{key:Ue,className:oe.wrap,style:{width:Zt,marginRight:(1+kt)%be===0?0:De+wt,marginBottom:ye}},ee.createElement("a",{className:oe.li,onClick:xt=>{xt.preventDefault(),xt.stopPropagation(),hn&&(0,Re.L9)([hn]),(0,Re.xg)(`/paths/${Et}`)}},ee.createElement("div",{className:oe.img},ee.createElement("img",{className:oe.cover,src:`${rn}`}),St&&(0,ot.bg)()&&(Je==null?void 0:Je.studying)&&ee.createElement("div",{className:`${oe.movebq} user-path-items`,onClick:xt=>{xt.stopPropagation(),dt(Je)}},ee.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ee.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Xt=Je==null?void 0:Je.subject_tags)==null?void 0:Xt.map((xt,An)=>{var Nn,Xe;if(An===0){const Ce=(Nn=Jt.find(me=>me.name==xt))==null?void 0:Nn.swimg;return ee.createElement("img",{className:oe.sign,src:Ce,style:{left:"-4px"}})}const Ze=(Xe=Jt.find(Ce=>Ce.name==xt))==null?void 0:Xe.ptimg;return ee.createElement("img",{className:oe.sign,src:Ze,style:{left:`${48+52*(An-1)+2*An}px`}})}),ee.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Je==null?void 0:Je.excellent)&&ee.createElement("div",{className:oe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ee.createElement("div",{className:oe.name},ee.createElement(Te.Z,{title:Ft&&(Je!=null&&Je.excellent_alias_name)?ee.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Fe}`,ee.createElement("br",null),ee.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Je==null?void 0:Je.excellent_alias_name}`)):Fe},ee.createElement("span",{className:oe.e},Ft&&(Je==null?void 0:Je.excellent_alias_name)||Fe))),ee.createElement("div",{className:oe.tags},ee.createElement("div",null,ee.createElement(Te.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ee.createElement("span",null,Je.stages_count))),ee.createElement(Te.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ee.createElement("span",null,Je.members_count)))))))})),!Be.length&&ee.createElement(le.Z,null)))}},9148:function(ht,Dt,te){"use strict";te.d(Dt,{jL:function(){return Me},w9:function(){return Je},QD:function(){return Tt},cQ:function(){return dt.Z},op:function(){return he},O5:function(){return to},_b:function(){return en},t7:function(){return b},Gi:function(){return sn},YG:function(){return Ue},qp:function(){return nt},vr:function(){return lt},qE:function(){return Ct},Je:function(){return ee},wb:function(){return it},cq:function(){return An},tp:function(){return ie}});var oe=te(59301),ve={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+O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EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Me=({dataSource:an=[],img:pn,imgWidth:En=346,title:Pn,sunTitle:ra,bannerExtraContent:Ca})=>oe.createElement("div",{className:ve.banner},oe.createElement("div",{className:ve.content},oe.createElement("aside",null,oe.createElement("p",null,oe.createElement("b",null,Pn),oe.createElement("span",null,ra)),an.length>0&&oe.createElement("div",{className:ve.btns},an.map((Kn,Ve)=>oe.createElement("div",{key:Ve,onClick:Kn.click},Kn.name,Kn.sign?oe.createElement("img",{src:Te,width:39}):null))),Ca),pn&&oe.createElement("img",{style:{marginTop:33,marginRight:38},src:pn,width:En}))),Re={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"},le=te(92310),ot=te.n(le),rt=te(89392),nt=({dataSource:an=[],value:pn,onChange:En,onTitleChange:Pn,className:ra,title:Ca,titleWidth:Kn=41,style:Ve={},fontColor:et="#6A7283",showCount:Ye})=>{const[Rt,Sn]=(0,oe.useState)(0),[_t,va]=(0,oe.useState)(!1),zn=(0,oe.useRef)(null),kn=(0,oe.useRef)(null);return(0,oe.useEffect)(()=>{var wa;an.length!==0&&(((wa=zn==null?void 0:zn.current)==null?void 0:wa.clientHeight)>97?Sn(1):Sn(0)),an.length===0&&Sn(0),va(!1)},[an]),oe.createElement("div",{className:ot()(Re.row,ra),style:Ve},oe.createElement("div",{onClick:(0,rt.throttle)(()=>Pn==null?void 0:Pn(),2e3),style:{width:Kn,marginTop:_t?12:4},className:`${Re.title} ${Pn?"current":""}`},Ca),oe.createElement("div",{className:_t?`${Re.tagsWrap} ${Re.tagsBorderWrap}`:Re.tagsWrap},oe.createElement("div",{className:Re.bar,ref:kn,style:Rt>0?{height:Rt===1?97:"auto",overflow:Rt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},oe.createElement("div",{className:Re.tag,ref:zn},an==null?void 0:an.map(wa=>oe.createElement("span",{onClick:()=>En(wa.id),key:wa.id,style:{color:et},className:pn===wa.id?Re.active:""},oe.createElement("span",{title:wa.name,className:Re.name},wa.name),!!Ye&&oe.createElement("span",{className:Re.num},wa.count))))),!!Rt&&oe.createElement(oe.Fragment,null,Rt===1?oe.createElement("div",{onClick:()=>{var wa;Sn(2),((wa=zn==null?void 0:zn.current)==null?void 0:wa.clientHeight)>245?va(!0):va(!1)},className:Re.action},"\u5C55\u5F00",oe.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):oe.createElement("div",{onClick:()=>{kn.current.scrollTop=0,Sn(1),va(!1)},className:Re.action},"\u6536\u8D77",oe.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ut={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"},ie=({dataSource:an=[],value:pn,onChange:En,className:Pn,style:ra={}})=>oe.createElement("div",{style:ra,className:ot()(ut.tabs,Pn)},an.map(Ca=>oe.createElement("span",{onClick:()=>En(Ca.id),className:pn===Ca.id?ut.active:"",key:Ca.id},Ca.name))),y={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=te(92832),b=({dataSource:an=[],value:pn="",onChange:En,onInputChange:Pn=()=>{},className:ra,style:Ca={},placeholder:Kn,allowClear:Ve=!1})=>{var et;const[Ye,Rt]=(0,oe.useState)(""),[Sn,_t]=(0,oe.useState)("");(0,oe.useEffect)(()=>{var kn;let wa=pn;(kn=JSON.stringify(pn))!=null&&kn.includes("{")&&(Rt(pn.id),wa=pn.value||"");try{_t(decodeURIComponent(wa||""))}catch(ia){_t(decodeURIComponent(wa||""))}},[pn]);const va=()=>{En(encodeURIComponent(Sn),Ye||null)},zn=kn=>{kn!==Ye&&(Rt(kn),En(encodeURIComponent(Sn),kn))};return oe.createElement("div",{className:ot()(y.input,ra),style:Ca},!!an.length&&oe.createElement("div",{className:y.dropdown},oe.createElement("div",{className:y.text},(et=an.find(kn=>kn.id===Ye))==null?void 0:et.name,oe.createElement("i",{className:"iconfont icon-zhankai4"}),oe.createElement("b",{className:y.b1}),oe.createElement("b",{className:y.b2})),oe.createElement("div",{className:y.menu},an.map((kn,wa)=>oe.createElement("div",{key:wa,onClick:()=>zn(kn.id)},kn.name)))),oe.createElement(a.default,{onPressEnter:va,value:Sn,onChange:kn=>{_t(kn.target.value),Pn(encodeURIComponent(kn.target.value),Ye||null)},bordered:!1,placeholder:Kn}),oe.createElement("i",{onClick:va,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"},ee=({value:an,onChange:pn,className:En,total:Pn,pageSize:ra,style:Ca={}})=>{const Kn=an<2,Ve=an>=Math.ceil(Pn/ra);return Pn<=ra?oe.createElement(oe.Fragment,null):oe.createElement("div",{className:ot()(E.quickPager,En),style:Ca},oe.createElement("div",{onClick:()=>{Kn||pn(an-1,"prev")},className:Kn?E.disabled:""},"\u4E0A\u4E00\u9875"),oe.createElement("div",{onClick:()=>{Ve||pn(an+1,"next")},className:Ve?E.disabled:""},"\u4E0B\u4E00\u9875"))},ae={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ne=te(71418),ge=te(6848),fe=te(13570),Be=te(346),be=te(51257),De=te(96908),ye=te(57177),wt=te(81378),pt=te(28426),it=({className:an,dataSource:pn=[],col:En=4,right:Pn,bottom:ra=23,precision:Ca=0,wrapWidth:Kn=1200,trackEventItems:Ve,loading:et})=>{const Ye=Math.floor((Kn-(En-1)*Pn)/En);return oe.createElement(ne.Z,{spinning:et},oe.createElement("div",{className:ot()(ae.list,an)},!!pn.length&&pn.map((Rt,Sn)=>{const{name:_t,id:va,identifier:zn,power:kn,cover_image_id:wa,pic:ia}=Rt;return oe.createElement("div",{className:ae.wrap,key:va,style:{width:Ye,marginRight:(1+Sn)%En===0?0:Pn+Ca,marginBottom:ra}},oe.createElement("a",{target:"_blank",href:`/shixuns/${zn}/challenges`,className:ae.li,onClick:tn=>{tn.preventDefault(),Ve&&(0,be.L9)([Ve]),kn&&(0,be.xg)(`/shixuns/${zn}/challenges`)}},oe.createElement("div",{className:ae.img},oe.createElement("img",{className:ae.cover,src:`${ia}`}),Rt.is_jupyter&&oe.createElement("img",{className:ae.sign,src:De}),Rt.is_jupyter_lab&&oe.createElement("img",{className:ae.sign,src:ye}),Rt.is_unity_3d&&oe.createElement("img",{className:ae.sign,src:wt})),oe.createElement("div",{className:ae.name},oe.createElement(ge.Z,{title:_t||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},oe.createElement("span",{className:ae.e},_t||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),oe.createElement("div",{className:ae.tags},oe.createElement(ge.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),oe.createElement("span",null,Rt.challenges_count))),!!Rt.myshixuns_count&&oe.createElement(ge.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),oe.createElement("span",null,Rt.myshixuns_count))),oe.createElement(ge.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},oe.createElement("span",null,oe.createElement("span",null,Rt.level))),oe.createElement("div",{className:ae.rate},oe.createElement(fe.Z,{allowHalf:!0,disabled:!0,defaultValue:Rt.score_info}),oe.createElement("span",null,"\xA0",Rt.score_info?`${Rt.score_info}\u5206`:"5\u5206")))),!kn&&oe.createElement("div",{className:ae.lockWrap},oe.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),oe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!pn.length&&oe.createElement(pt.Z,null)))},dt=te(7501),St={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"},Ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45aw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5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Zt=te(59301),Je=({className:an,dataSource:pn=[],col:En=4,right:Pn,bottom:ra=23,precision:Ca=0,wrapWidth:Kn=1200,trackEventItems:Ve,loading:et})=>{const Ye=Math.floor((Kn-(En-1)*Pn)/En);return Zt.createElement(ne.Z,{spinning:et},Zt.createElement("div",{className:ot()(St.list,an)},!!pn.length&&pn.map((Rt,Sn)=>{const{subject_identifier:_t,id:va,identifier:zn,power:kn}=Rt,wa=Rt.is_public!=0&&Rt.is_public;return Zt.createElement("div",{className:St.wrap,key:va,style:{width:Ye,marginRight:(1+Sn)%En===0?0:Pn+Ca,marginBottom:ra}},Zt.createElement("a",{className:St.li,onClick:ia=>{ia.preventDefault(),Ve&&(0,be.L9)([Ve]),(0,be.xg)(Rt.first_category_url)}},Zt.createElement("div",{className:St.top},Zt.createElement(ge.Z,{title:Rt.name},Zt.createElement("div",{className:St.name},Rt.name)),Zt.createElement("img",{className:St.img,src:Be.Z.IMG_SERVER+"/images/"+Rt.avatar_url}),Zt.createElement("div",{className:St.text,title:Rt.creator},Rt.creator),_t&&Zt.createElement("div",{className:St.btns},Zt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Zt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),wa&&Zt.createElement("div",{className:St.sign},"\u516C\u5F00")),Zt.createElement("div",{className:St.bottom},Rt.visits>0&&Zt.createElement(ge.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Zt.createElement("span",null,Zt.createElement("i",{className:"iconfont icon-liulanyan"}),Zt.createElement("span",null,Rt.visits))),Rt.course_members_count>0&&Zt.createElement(ge.Z,{title:"\u6210\u5458",placement:"bottom"},Zt.createElement("span",null,Zt.createElement("i",{className:"iconfont icon-chengyuan"}),Rt.course_members_count)),Rt.tasks_count>0&&Zt.createElement(ge.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Zt.createElement("span",null,Zt.createElement("i",{className:"iconfont icon-zuoye"}),Rt.tasks_count)),Rt.is_end?Zt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Zt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Rt.is_accessible&&Zt.createElement("div",{className:St.lockWrap},Zt.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Zt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!pn.length&&Zt.createElement(pt.Z,null)))},kt={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"},Xt=te(25690),Ue=({dataSource:an=[],value:pn,onChange:En,className:Pn,style:ra={},tabBarExtraContent:Ca})=>oe.createElement("div",{className:ot()(kt.tabs,Pn),style:ra},oe.createElement("div",{className:kt.tabsWrap},an.map((Kn,Ve)=>oe.createElement("aside",{className:kt.tab,onClick:()=>{En(Kn.id),Kn.link&&Xt.history.push(Kn.link)},key:Ve},oe.createElement("div",{className:pn===Kn.id?kt.active:""},Kn.name),(Kn==null?void 0:Kn.resetCount)==null&&(Kn==null?void 0:Kn.total)!==void 0&&oe.createElement("span",null,"\uFF08",Kn==null?void 0:Kn.total,"\uFF09"),(Kn==null?void 0:Kn.resetCount)!==void 0&&(Kn==null?void 0:Kn.total)!==void 0&&oe.createElement(ge.Z,{title:(Kn==null?void 0:Kn.tip)!=null?Kn==null?void 0:Kn.tip:""},oe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",oe.createElement("span",{style:{color:"#000"}},Kn==null?void 0:Kn.resetCount),"/",oe.createElement("span",null,Kn==null?void 0:Kn.total),"\uFF09"))))),oe.createElement("div",{className:kt.tabBar},Ca)),sn=({className:an,style:pn={},children:En})=>oe.createElement("div",{className:ot()(an),style:pn},En),mt={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"},rn=te(38854),xe=te(20834);const It=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var An=({sortValue:an,dropValue:pn,className:En,onSort:Pn,onDrop:ra,dataSource:Ca=It})=>{var Kn;return oe.createElement("div",{className:ot()(mt.orderWrap,En)},oe.createElement(rn.Z,{dropdownRender:()=>oe.createElement(xe.default,null,Ca.map((Ve,et)=>oe.createElement(xe.default.Item,{key:et,onClick:()=>ra(Ve.id)},Ve.name)))},oe.createElement("span",{className:mt.orderTextWrap},(Kn=Ca.find(Ve=>pn===Ve.id))==null?void 0:Kn.name)),oe.createElement("span",{className:mt.orderIconWrap},oe.createElement("span",{className:mt.orderAsc},oe.createElement("i",{className:an==="asc"?`iconfont icon-sanjiaoxing-up font12 ${mt.cursorPointer} ${mt.active}`:`iconfont icon-sanjiaoxing-up font12 ${mt.cursorPointer}`,onClick:()=>Pn(an==="asc"?"desc":"asc")})),oe.createElement("span",{className:mt.orderDesc},oe.createElement("i",{className:an==="desc"?`iconfont icon-sanjiaoxing-down font12 ${mt.cursorPointer} ${mt.active}`:`iconfont icon-sanjiaoxing-down font12 ${mt.cursorPointer}`,onClick:()=>Pn(an==="asc"?"desc":"asc")}))))},Nn={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"},Xe=te(3113),Ze=Object.defineProperty,Ce=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,gt=(an,pn,En)=>pn in an?Ze(an,pn,{enumerable:!0,configurable:!0,writable:!0,value:En}):an[pn]=En,Se=(an,pn)=>{for(var En in pn||(pn={}))me.call(pn,En)&>(an,En,pn[En]);if(Ce)for(var En of Ce(pn))ze.call(pn,En)&>(an,En,pn[En]);return an},pe=(an,pn)=>{var En={};for(var Pn in an)me.call(an,Pn)&&pn.indexOf(Pn)<0&&(En[Pn]=an[Pn]);if(an!=null&&Ce)for(var Pn of Ce(an))pn.indexOf(Pn)<0&&ze.call(an,Pn)&&(En[Pn]=an[Pn]);return En},Ie=(an,pn,En)=>new Promise((Pn,ra)=>{var Ca=et=>{try{Ve(En.next(et))}catch(Ye){ra(Ye)}},Kn=et=>{try{Ve(En.throw(et))}catch(Ye){ra(Ye)}},Ve=et=>et.done?Pn(et.value):Promise.resolve(et.value).then(Ca,Kn);Ve((En=En.apply(an,pn)).next())}),he=an=>{var pn=an,{className:En,style:Pn,children:ra,loading:Ca=!1,openLoading:Kn,onClick:Ve=()=>{},size:et="middle",shape:Ye="round"}=pn,Rt=pe(pn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Sn,_t]=(0,oe.useState)(!1);return oe.createElement(Xe.ZP,Se({onClick:(0,rt.throttle)(va=>Ie(void 0,null,function*(){Kn&&_t(!0);try{yield Ve(va)}catch(zn){console.log("error",zn)}Kn&&_t(!1)}),2e3,{leading:!0,trailing:!1}),className:ot()(Nn.btn,Nn[`${et}-${Ye}`],En),style:Pn,size:et,shape:Ye,loading:Sn||Ca},Rt),ra)},Ge={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"},Ct=({className:an,style:pn,children:En=null,onClick:Pn,title:ra})=>oe.createElement("div",{className:ot()(Ge.head,an),style:pn},oe.createElement("span",{className:"primary-hover",onClick:Pn},oe.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),oe.createElement("b",{title:ra},ra),oe.createElement("div",{className:Ge.node},En)),Lt={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"},Tt=({confirmShow:an=!0,confirmTitle:pn,confirmClick:En,cancelShow:Pn=!0,cancelTitle:ra,cancelClick:Ca,className:Kn,style:Ve,confirmLoading:et=!1})=>oe.createElement("div",{className:ot()(Lt.btns,Kn),style:Ve},an&&oe.createElement(Xe.ZP,{loading:et,onClick:En,type:"primary",className:Lt.confirm},pn),Pn&&oe.createElement(Xe.ZP,{onClick:Ca,className:Lt.cancel},ra)),we={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},lt=({className:an,style:pn={},LeftContent:En,children:Pn,RightContent:ra})=>oe.createElement("div",{className:ot()(we.fixedBottom,an),style:pn},oe.createElement("div",{className:we.wrap},oe.createElement("div",{className:we.left},En),oe.createElement("div",{className:we.center},Pn),oe.createElement("div",{className:we.right},ra))),vt={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"},en=({className:an,style:pn={},dataSource:En=[]})=>oe.createElement("div",{className:ot()(vt.crumbs,an),style:pn},En.map((Pn,ra)=>ra<En.length-1?oe.createElement(oe.Fragment,{key:ra},Pn.path||Pn.onClick?oe.createElement("span",{className:vt.hover,onClick:Pn!=null&&Pn.onClick?Pn.onClick:()=>Xt.history.push(Pn.path)},Pn.name):oe.createElement("span",null,Pn.name),oe.createElement("span",null,"\xA0",">","\xA0")):oe.createElement("span",{key:ra,style:{color:"#5F6368"}},Pn.name))),Yt=te(31797),ln=Object.defineProperty,Dn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,Xn=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable,ba=(an,pn,En)=>pn in an?ln(an,pn,{enumerable:!0,configurable:!0,writable:!0,value:En}):an[pn]=En,Bn=(an,pn)=>{for(var En in pn||(pn={}))Xn.call(pn,En)&&ba(an,En,pn[En]);if(Tn)for(var En of Tn(pn))ya.call(pn,En)&&ba(an,En,pn[En]);return an},Da=(an,pn)=>Dn(an,Yn(pn)),xa=(an,pn)=>{var En={};for(var Pn in an)Xn.call(an,Pn)&&pn.indexOf(Pn)<0&&(En[Pn]=an[Pn]);if(an!=null&&Tn)for(var Pn of Tn(an))pn.indexOf(Pn)<0&&ya.call(an,Pn)&&(En[Pn]=an[Pn]);return En};const{Countdown:ca}=Yt.default;var to=an=>{var pn=an,{onChange:En}=pn,Pn=xa(pn,["onChange"]);const[ra,Ca]=(0,oe.useState)(null);(0,oe.useEffect)(()=>{typeof ra=="number"&&ra>=0&&En(ra)},[ra]);const Kn=Ve=>{const et=Math.floor(Ve/1e3);Ca(et)};return oe.createElement(ca,Da(Bn({},Pn),{onChange:Kn}))}},37808:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ve}});var oe=te(59301);function ve(Te,tt){const Me=(0,oe.useRef)();(0,oe.useEffect)(()=>{Me.current=Te}),(0,oe.useEffect)(()=>{function Re(){Me.current()}if(tt!==null){let le=setInterval(Re,tt);return()=>clearInterval(le)}},[tt])}},91833:function(ht,Dt,te){"use strict";var oe=te(59301),ve=te(25690),Te=te(92832),tt=te(43418),Me=te(54580),Re=te(9148),le=Object.defineProperty,ot=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,nt=(x,b,E)=>b in x?le(x,b,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[b]=E,ut=(x,b)=>{for(var E in b||(b={}))rt.call(b,E)&&nt(x,E,b[E]);if(ot)for(var E of ot(b))at.call(b,E)&&nt(x,E,b[E]);return x},He=(x,b)=>{var E={};for(var z in x)rt.call(x,z)&&b.indexOf(z)<0&&(E[z]=x[z]);if(x!=null&&ot)for(var z of ot(x))b.indexOf(z)<0&&at.call(x,z)&&(E[z]=x[z]);return E},ie=(x,b,E)=>new Promise((z,ee)=>{var ae=fe=>{try{ge(E.next(fe))}catch(Be){ee(Be)}},ne=fe=>{try{ge(E.throw(fe))}catch(Be){ee(Be)}},ge=fe=>fe.done?z(fe.value):Promise.resolve(fe.value).then(ae,ne);ge((E=E.apply(x,b)).next())});const y=Te.default.TextArea,a=x=>{var b=x,{dispatch:E,declaration:z,onClose:ee=()=>{},onSuccess:ae=()=>{},exportTemplate:ne=()=>{}}=b,ge=He(b,["dispatch","declaration","onClose","onSuccess","exportTemplate"]);const[fe,Be]=(0,oe.useState)([]),be={name:"file",multiple:!1,fileList:fe,beforeUpload:De=>ie(void 0,null,function*(){return Be([ut({},De)]),!1}),onChange:({fileList:De})=>{Be(De)}};return(0,oe.useEffect)(()=>{Be([])},[z.actionTabs.key]),oe.createElement(tt.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:z.actionTabs.key,title:z.actionTabs.key,width:500,onCancel:()=>{ee()},onOk:()=>{ae(z.actionTabs.key,fe)}},oe.createElement(Re.op,{className:"mb20",shape:"default",onClick:()=>{ne(z.actionTabs.key)}},oe.createElement("i",{className:"iconfont icon-xiazai5 mr5",style:{color:"#3061D0",fontSize:"14px"}}),"\u4E0B\u8F7D\u6A21\u677F"),oe.createElement(Me.default.Dragger,ut({},be),oe.createElement(Re.op,{shape:"default",style:{marginTop:"20px"}},"\u9009\u62E9\u6587\u4EF6"),oe.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")))};Dt.Z=(0,ve.connect)(({declaration:x})=>({declaration:x}))(a)},19473:function(ht,Dt,te){"use strict";te.r(Dt),te.d(Dt,{default:function(){return it}});var oe=te(59301),ve={contWrap:"contWrap___Q_UkN",header:"header___cou3X",headTitle:"headTitle___x_b94",searchWrap:"searchWrap___a67PN",wrap1:"wrap1___eZ74d",editBtn:"editBtn___bDq0n"},Te=te(25690),tt=te(78241),Me=te(43418),Re=te(8591),le=te(92832),ot=te(71418),rt=te(38854),at=te(28103),nt=te(57809),ut=te(5083),He=te(1710),ie=te(3113),y=te(9148),a=te(39793),x=te(91842),b=te(84105),E=te(28426),z=te(36910),ee=te(48790),ae=te(91833),ne=te(51257),ge=te(59301),fe=Object.defineProperty,Be=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ye=(dt,St,Ft)=>St in dt?fe(dt,St,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):dt[St]=Ft,wt=(dt,St)=>{for(var Ft in St||(St={}))be.call(St,Ft)&&ye(dt,Ft,St[Ft]);if(Be)for(var Ft of Be(St))De.call(St,Ft)&&ye(dt,Ft,St[Ft]);return dt},pt=(dt,St,Ft)=>new Promise((Zt,Jt)=>{var Je=Fe=>{try{Xt(Ft.next(Fe))}catch(Ue){Jt(Ue)}},kt=Fe=>{try{Xt(Ft.throw(Fe))}catch(Ue){Jt(Ue)}},Xt=Fe=>Fe.done?Zt(Fe.value):Promise.resolve(Fe.value).then(Je,kt);Xt((Ft=Ft.apply(dt,St)).next())});const hn=({declaration:dt,user:St,dispatch:Ft,loading:Zt})=>{const[Jt,Je]=(0,oe.useState)([]),[kt,Xt]=(0,oe.useState)(0),[Fe,Ue]=(0,oe.useState)(!1),[Et,sn]=(0,oe.useState)(!1),[mt,rn]=(0,oe.useState)(""),[xe,It]=(0,oe.useState)(""),[xt,An]=(0,oe.useState)({page:1,limit:10,status:"",keyword:"",year:""}),[Nn]=tt.default.useForm(),[Xe,Ze]=(0,oe.useState)([]),[Ce,me]=(0,oe.useState)(!1),ze=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u5DE5\u53F7",align:"left",width:120,ellipsis:!0,dataIndex:"staff_id",render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:Ie=>ge.createElement("span",null,Ie===-1&&ge.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),Ie===0&&ge.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),Ie===1&&ge.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),Ie===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:Ie=>ge.createElement("span",null,Ie===1&&"\u6C11\u53E3\u7EB5\u5411",Ie===2&&"\u6C11\u53E3\u6A2A\u5411",Ie===3&&"\u56FD\u9632\u7EB5\u5411",Ie===4&&"\u56FD\u9632\u6A2A\u5411")},{title:"\u9879\u76EE\u540D\u79F0",align:"left",ellipsis:!0,width:120,dataIndex:"title",render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u6807\u51C6\u53F7",width:120,align:"left",ellipsis:!0,dataIndex:"number",render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u9879\u76EE\u7EA7\u522B",width:120,align:"left",ellipsis:!0,dataIndex:"project_level_name",render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u7ECF\u8D39\uFF08\u4E07\u5143\uFF09",align:"left",width:120,ellipsis:!0,dataIndex:"project_funds",render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u672C\u5E74\u5EA6\u5230\u8D26\uFF08\u4E07\u5143\uFF09",align:"left",width:140,ellipsis:!0,dataIndex:"current_year_account_funds",render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u7ACB\u9879\u5E74\u5EA6",width:120,align:"left",ellipsis:!0,dataIndex:"year",render:Ie=>ge.createElement("span",null,Ie||"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:160,ellipsis:!0,dataIndex:"school_name",render:(Ie,Le)=>{var he,Ge,Vt,Ct;return ge.createElement(ge.Fragment,null,((0,ee.Ny)()&&((he=St.userInfo)==null?void 0:he.real_name)!==(Le==null?void 0:Le.user_name)||[0,1].includes(Le==null?void 0:Le.status))&&ge.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{Ft({type:"declaration/changeMode",payload:{mode:"view"}}),Te.history.push(`/declaration/research/project/view?id=${Le==null?void 0:Le.id}&type=${Le==null?void 0:Le.project_type}`)}},"\u67E5\u770B"),((Ge=St==null?void 0:St.userInfo)==null?void 0:Ge.real_name)===(Le==null?void 0:Le.user_name)&&[-1,2].includes(Le==null?void 0:Le.status)&&ge.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{Ft({type:"declaration/changeMode",payload:{mode:"edit"}}),Te.history.push(`/declaration/research/project/edit?id=${Le==null?void 0:Le.id}&type=${Le==null?void 0:Le.project_type}`)}},"\u7F16\u8F91"),(0,ee.Ny)()&&(Le==null?void 0:Le.status)===0&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u901A\u8FC7\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u901A\u8FC7\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>pt(void 0,null,function*(){(yield(0,z.Uk)({declaration_id:Le==null?void 0:Le.id,verify_status:"agree",reason:""})).status===0&&(Re.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),gt())})})}},"\u901A\u8FC7"),(0,ee.Ny)()&&(Le==null?void 0:Le.status)===0&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Nn.setFieldValue("reason",Le==null?void 0:Le.reason),Me.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:ge.createElement("div",null,ge.createElement(tt.default,{form:Nn,layout:"vertical",onFinish:Lt=>pt(void 0,null,function*(){(yield(0,z.Uk)(wt({declaration_id:Le==null?void 0:Le.id,verify_status:"reject"},Lt))).status===0&&(Re.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),gt())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:ve.formWrap},ge.createElement(tt.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},ge.createElement(le.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"})))),width:500,okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>pt(void 0,null,function*(){yield Nn.submit()})})}},"\u9A73\u56DE"),((Vt=St==null?void 0:St.userInfo)==null?void 0:Vt.real_name)===(Le==null?void 0:Le.user_name)&&[-1,2].includes(Le==null?void 0:Le.status)&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u63D0\u4EA4\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u63D0\u4EA4\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>pt(void 0,null,function*(){(yield(0,z.xx)({declaration_id:Le==null?void 0:Le.id})).status===0&&(Re.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),gt())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((Ct=St==null?void 0:St.userInfo)==null?void 0:Ct.real_name)===(Le==null?void 0:Le.user_name)&&[-1,2].includes(Le==null?void 0:Le.status)&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>pt(void 0,null,function*(){(yield(0,z.UX)({id:Le==null?void 0:Le.id})).status===0&&(Re.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),gt())})})}},"\u5220\u9664"))}}];(0,oe.useEffect)(()=>{gt(),Se()},[]);const gt=()=>pt(void 0,null,function*(){var Ie,Le;Ue(!0);const he=yield(0,z.Dn)(wt({declare_type:2},xt));(he==null?void 0:he.status)===0&&(Je(((Ie=he==null?void 0:he.data)==null?void 0:Ie.list)||[]),Xt(((Le=he==null?void 0:he.data)==null?void 0:Le.count)||0)),Ue(!1)}),Se=()=>pt(void 0,null,function*(){var Ie,Le;const he=yield(0,z.Xi)({declare_type:2});(he==null?void 0:he.status)===0&&(rn(((Ie=he==null?void 0:he.data)==null?void 0:Ie.content)||"\u6682\u65E0\u6570\u636E"),It(((Le=he==null?void 0:he.data)==null?void 0:Le.content)||"\u6682\u65E0\u6570\u636E"))}),pe=()=>pt(void 0,null,function*(){if((mt==null?void 0:mt.length)>1e3){Re.ZP.info("\u5B57\u6570\u4E0D\u80FD\u8D85\u8FC71000\u5B57\uFF01");return}const Ie=yield(0,z.kF)({declare_type:2,content:mt});(Ie==null?void 0:Ie.status)===0&&(sn(!1),Re.ZP.success("\u7F16\u8F91\u6210\u529F!"))});return ge.createElement(ot.Z,{spinning:Fe},ge.createElement("div",{className:ve.contWrap},ge.createElement("div",{className:ve.header},ge.createElement("div",{className:ve.headTitle},"\u79D1\u7814\u9879\u76EE\u7533\u62A5"),ge.createElement("div",null,ge.createElement(rt.Z,{menu:{items:[{key:1,label:ge.createElement("div",{onClick:()=>{Te.history.push("/declaration/research/project/edit?type=1")}},"\u6C11\u53E3\u7EB5\u5411")},{key:2,label:ge.createElement("div",{onClick:()=>{Te.history.push("/declaration/research/project/edit?type=2")}},"\u6C11\u53E3\u6A2A\u5411")},{key:3,label:ge.createElement("div",{onClick:()=>{Te.history.push("/declaration/research/project/edit?type=3")}},"\u56FD\u9632\u7EB5\u5411")},{key:4,label:ge.createElement("div",{onClick:()=>{Te.history.push("/declaration/research/project/edit?type=4")}},"\u56FD\u9632\u6A2A\u5411")}]},trigger:["click"]},ge.createElement(y.op,{shape:"default",onClick:()=>{Ft({type:"declaration/changeMode",payload:{mode:"edit"}})}},ge.createElement("span",null,"\u6DFB\u52A0\u9879\u76EE ",ge.createElement(b.Z,null)))),ge.createElement(rt.Z,{menu:{items:[{key:1,label:ge.createElement("div",{onClick:()=>{Ft({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u6C11\u53E3\u7EB5\u5411\u9879\u76EE"}})}},"\u6C11\u53E3\u7EB5\u5411")},{key:2,label:ge.createElement("div",{onClick:()=>{Ft({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u6C11\u53E3\u6A2A\u5411\u9879\u76EE"}})}},"\u6C11\u53E3\u6A2A\u5411")},{key:3,label:ge.createElement("div",{onClick:()=>{Ft({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u56FD\u9632\u7EB5\u5411\u9879\u76EE"}})}},"\u56FD\u9632\u7EB5\u5411")},{key:4,label:ge.createElement("div",{onClick:()=>{Ft({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u56FD\u9632\u6A2A\u5411\u9879\u76EE"}})}},"\u56FD\u9632\u6A2A\u5411")}]}},ge.createElement(y.op,{className:"ml20",shape:"default"},"\u5BFC\u5165 ",ge.createElement(b.Z,null))),ge.createElement(y.op,{className:"ml20",shape:"default",onClick:()=>{(0,ne.Nd)("","/api/export_excels/down_excel.xlsx?declare_type=2")}},"\u5BFC\u51FA"))),ge.createElement(at.Z,{style:{margin:"12px 0px 20px 0px"}}),ge.createElement("div",{className:ve.searchWrap},ge.createElement(nt.default,{size:"large",defaultValue:xt.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:Ie=>{xt.status=Ie,An(wt({},xt)),xt.page=1,gt()},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(ut.default,{size:"large",picker:"year",placeholder:"\u8BF7\u9009\u62E9\u7ACB\u9879\u5E74\u5EA6",style:{width:200,borderRadius:2},onChange:Ie=>{xt.year=(Ie==null?void 0:Ie.format("YYYY"))||"",xt.page=1,An(wt({},xt)),gt()},format:"YYYY"}),ge.createElement(y.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:xt.keyword,onChange:Ie=>{xt.page=1,xt.keywords=Ie,An(wt({},xt)),gt()}})),ge.createElement("div",null,ge.createElement(He.default,{dataSource:Jt,scroll:{x:1300},pagination:{total:kt||0,size:"default",onChange:(Ie,Le)=>{xt.page=Ie,xt.limit=Le,An(wt({},xt)),gt()},current:xt==null?void 0:xt.page,pageSize:xt==null?void 0:xt.limit,showTotal:Ie=>ge.createElement(ge.Fragment,null,"\u5171",ge.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Ie),"\u6761\u6570\u636E")},columns:ze,locale:{emptyText:ge.createElement(E.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),ge.createElement(at.Z,{style:{margin:"30px 0px"}}),Et?ge.createElement("div",null,ge.createElement(a.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:mt,id:"editContent",onChange:Ie=>{rn(Ie)}}),ge.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},ge.createElement(y.op,{shape:"default",onClick:()=>{sn(!1),rn(xe)}},"\u53D6\u6D88"),ge.createElement(ie.ZP,{className:"ml20",type:"primary",onClick:()=>pt(void 0,null,function*(){yield pe()})},"\u63D0\u4EA4"))):ge.createElement("div",{className:ve.wrap1},ee.Ny&&ge.createElement("div",{className:ve.editBtn,onClick:()=>{sn(!0)}},ge.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),ge.createElement(x.Z,{className:"discuss-content",value:mt,style:{fontSize:"12px",color:"#232B40"}})),ge.createElement(Me.default,{title:"\u5BFC\u5165\u5931\u8D25",open:Ce,width:500,centered:!0,destroyOnClose:!0,maskClosable:!1,className:ve.optionModal,cancelButtonProps:{style:{display:"none"}},onCancel:()=>{me(!1)},onOk:()=>{me(!1)}},ge.createElement(He.default,{columns:[{title:"\u8BBA\u6587\u540D\u79F0",dataIndex:"title",key:"title",render:(Ie,Le)=>ge.createElement("span",null,"\u7B2C",`${Le==null?void 0:Le.index}`,"\u884C")},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"",key:"message",render:(Ie,Le)=>ge.createElement("span",null,`${Le==null?void 0:Le.what_column}\uFF1A${Le==null?void 0:Le.message}`)}],pagination:!1,dataSource:Xe})),ge.createElement(ae.Z,{exportTemplate:Ie=>{Ie==="\u5BFC\u5165\u6C11\u53E3\u7EB5\u5411\u9879\u76EE"?(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=1"):Ie==="\u5BFC\u5165\u6C11\u53E3\u6A2A\u5411\u9879\u76EE"?(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=2"):Ie==="\u5BFC\u5165\u56FD\u9632\u7EB5\u5411\u9879\u76EE"?(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=3"):Ie==="\u5BFC\u5165\u56FD\u9632\u6A2A\u5411\u9879\u76EE"&&(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=2&type=4")},onSuccess:(Ie,Le)=>pt(void 0,null,function*(){var he,Ge,Vt,Ct;const Lt=new FormData;if((Le==null?void 0:Le.length)==0){Re.ZP.error("\u8BF7\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6");return}const Bt=(he=Le[0])==null?void 0:he.originFileObj;if(!Bt){Re.ZP.error("\u6587\u4EF6\u83B7\u53D6\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");return}Lt.append("file",Bt),Lt.append("declare_type","2"),Ie==="\u5BFC\u5165\u6C11\u53E3\u7EB5\u5411\u9879\u76EE"?Lt.append("project_type","1"):Ie==="\u5BFC\u5165\u6C11\u53E3\u6A2A\u5411\u9879\u76EE"?Lt.append("project_type","2"):Ie==="\u5BFC\u5165\u56FD\u9632\u7EB5\u5411\u9879\u76EE"?Lt.append("project_type","3"):Ie==="\u5BFC\u5165\u56FD\u9632\u6A2A\u5411\u9879\u76EE"&&Lt.append("project_type","4");const Tt=yield(0,z.kq)(Lt);((Vt=(Ge=Tt==null?void 0:Tt.data)==null?void 0:Ge.fail)==null?void 0:Vt.length)===0?(Re.ZP.success("\u4E0A\u4F20\u6210\u529F"),Ft({type:"declaration/setActionTabs",payload:{key:""}})):(Ze((Ct=Tt==null?void 0:Tt.data)==null?void 0:Ct.fail),me(!0)),gt()}),onClose:()=>{Ft({type:"declaration/setActionTabs",payload:{key:""}})}})))};var it=(0,Te.connect)(({declaration:dt,user:St,loading:Ft})=>({declaration:dt,loading:Ft,user:St}))(hn)},50371:function(ht,Dt){"use strict";function te(){const oe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ve=1;ve<arguments.length;ve++){const Te=ve<0||arguments.length<=ve?void 0:arguments[ve];Te&&Object.keys(Te).forEach(tt=>{const Me=Te[tt];Me!==void 0&&(oe[tt]=Me)})}return oe}Dt.Z=te},13845:function(ht,Dt,te){"use strict";te.d(Dt,{F:function(){return oe},Z:function(){return ve}});function oe(Te){return Te!=null&&Te===Te.window}function ve(Te,tt){var Me,Re;if(typeof window=="undefined")return 0;const le=tt?"scrollTop":"scrollLeft";let ot=0;return oe(Te)?ot=Te[tt?"pageYOffset":"pageXOffset"]:Te instanceof Document?ot=Te.documentElement[le]:(Te instanceof HTMLElement||Te)&&(ot=Te[le]),Te&&!oe(Te)&&typeof ot!="number"&&(ot=(Re=((Me=Te.ownerDocument)!==null&&Me!==void 0?Me:Te).documentElement)===null||Re===void 0?void 0:Re[le]),ot}},56762:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ve}});var oe=te(59301);function ve(){const[,Te]=oe.useReducer(tt=>tt+1,0);return Te}},68031:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return tt}});var oe=te(16089);function ve(Me,Re,le,ot){const rt=le-Re;return Me/=ot/2,Me<1?rt/2*Me*Me*Me+Re:rt/2*((Me-=2)*Me*Me+2)+Re}var Te=te(13845);function tt(Me){let Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:ot,duration:rt=450}=Re,at=le(),nt=(0,Te.Z)(at,!0),ut=Date.now(),He=()=>{const y=Date.now()-ut,a=ve(y>rt?rt:y,nt,Me,rt);(0,Te.F)(at)?at.scrollTo(window.pageXOffset,a):at instanceof Document||at.constructor.name==="HTMLDocument"?at.documentElement.scrollTop=a:at.scrollTop=a,y<rt?(0,oe.Z)(He):typeof ot=="function"&&ot()};(0,oe.Z)(He)}},24905:function(ht,Dt,te){"use strict";te.d(Dt,{default:function(){return ge}});var oe=te(92310),ve=te.n(oe),Te=te(5630),tt=te(59301),Me=te(36355),Re=te(1684),le=te(32441),rt=tt.createContext(null),at=te(98447),nt=te(14088),ut=te(4572),He=function(fe,Be){var be={};for(var De in fe)Object.prototype.hasOwnProperty.call(fe,De)&&Be.indexOf(De)<0&&(be[De]=fe[De]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,De=Object.getOwnPropertySymbols(fe);ye<De.length;ye++)Be.indexOf(De[ye])<0&&Object.prototype.propertyIsEnumerable.call(fe,De[ye])&&(be[De[ye]]=fe[De[ye]]);return be};const ie=(fe,Be)=>{var be;const{prefixCls:De,className:ye,rootClassName:wt,children:pt,indeterminate:hn=!1,style:it,onMouseEnter:dt,onMouseLeave:St,skipGroup:Ft=!1,disabled:Zt}=fe,Jt=He(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Je,direction:kt,checkbox:Xt}=tt.useContext(Me.E_),Fe=tt.useContext(rt),{isFormItemInput:Ue}=tt.useContext(le.aM),Et=tt.useContext(Re.Z),sn=(be=(Fe==null?void 0:Fe.disabled)||Zt)!==null&&be!==void 0?be:Et,mt=tt.useRef(Jt.value);tt.useEffect(()=>{Fe==null||Fe.registerValue(Jt.value)},[]),tt.useEffect(()=>{if(!Ft)return Jt.value!==mt.current&&(Fe==null||Fe.cancelValue(mt.current),Fe==null||Fe.registerValue(Jt.value),mt.current=Jt.value),()=>Fe==null?void 0:Fe.cancelValue(Jt.value)},[Jt.value]);const rn=Je("checkbox",De),[xe,It]=(0,at.ZP)(rn),xt=Object.assign({},Jt);Fe&&!Ft&&(xt.onChange=function(){Jt.onChange&&Jt.onChange.apply(Jt,arguments),Fe.toggleOption&&Fe.toggleOption({label:pt,value:Jt.value})},xt.name=Fe.name,xt.checked=Fe.value.includes(Jt.value));const An=ve()(`${rn}-wrapper`,{[`${rn}-rtl`]:kt==="rtl",[`${rn}-wrapper-checked`]:xt.checked,[`${rn}-wrapper-disabled`]:sn,[`${rn}-wrapper-in-form-item`]:Ue},Xt==null?void 0:Xt.className,ye,wt,It),Nn=ve()({[`${rn}-indeterminate`]:hn},ut.A,It),Xe=hn?"mixed":void 0;return xe(tt.createElement(nt.Z,{component:"Checkbox",disabled:sn},tt.createElement("label",{className:An,style:Object.assign(Object.assign({},Xt==null?void 0:Xt.style),it),onMouseEnter:dt,onMouseLeave:St},tt.createElement(Te.Z,Object.assign({"aria-checked":Xe},xt,{prefixCls:rn,className:Nn,disabled:sn,ref:Be})),pt!==void 0&&tt.createElement("span",null,pt))))};var a=tt.forwardRef(ie),x=te(95190),b=te(2738),E=function(fe,Be){var be={};for(var De in fe)Object.prototype.hasOwnProperty.call(fe,De)&&Be.indexOf(De)<0&&(be[De]=fe[De]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,De=Object.getOwnPropertySymbols(fe);ye<De.length;ye++)Be.indexOf(De[ye])<0&&Object.prototype.propertyIsEnumerable.call(fe,De[ye])&&(be[De[ye]]=fe[De[ye]]);return be};const z=(fe,Be)=>{const{defaultValue:be,children:De,options:ye=[],prefixCls:wt,className:pt,rootClassName:hn,style:it,onChange:dt}=fe,St=E(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ft,direction:Zt}=tt.useContext(Me.E_),[Jt,Je]=tt.useState(St.value||be||[]),[kt,Xt]=tt.useState([]);tt.useEffect(()=>{"value"in St&&Je(St.value||[])},[St.value]);const Fe=tt.useMemo(()=>ye.map(Ze=>typeof Ze=="string"||typeof Ze=="number"?{label:Ze,value:Ze}:Ze),[ye]),Ue=Ze=>{Xt(Ce=>Ce.filter(me=>me!==Ze))},Et=Ze=>{Xt(Ce=>[].concat((0,x.Z)(Ce),[Ze]))},sn=Ze=>{const Ce=Jt.indexOf(Ze.value),me=(0,x.Z)(Jt);Ce===-1?me.push(Ze.value):me.splice(Ce,1),"value"in St||Je(me),dt==null||dt(me.filter(ze=>kt.includes(ze)).sort((ze,gt)=>{const Se=Fe.findIndex(Ie=>Ie.value===ze),pe=Fe.findIndex(Ie=>Ie.value===gt);return Se-pe}))},mt=Ft("checkbox",wt),rn=`${mt}-group`,[xe,It]=(0,at.ZP)(mt),xt=(0,b.Z)(St,["value","disabled"]),An=ye.length?Fe.map(Ze=>tt.createElement(a,{prefixCls:mt,key:Ze.value.toString(),disabled:"disabled"in Ze?Ze.disabled:St.disabled,value:Ze.value,checked:Jt.includes(Ze.value),onChange:Ze.onChange,className:`${rn}-item`,style:Ze.style,title:Ze.title},Ze.label)):De,Nn={toggleOption:sn,value:Jt,disabled:St.disabled,name:St.name,registerValue:Et,cancelValue:Ue},Xe=ve()(rn,{[`${rn}-rtl`]:Zt==="rtl"},pt,hn,It);return xe(tt.createElement("div",Object.assign({className:Xe,style:it},xt,{ref:Be}),tt.createElement(rt.Provider,{value:Nn},An)))},ee=tt.forwardRef(z);var ae=tt.memo(ee);const ne=a;ne.Group=ae,ne.__ANT_CHECKBOX=!0;var ge=ne},98447:function(ht,Dt,te){"use strict";te.d(Dt,{C2:function(){return Me}});var oe=te(17313),ve=te(37613),Te=te(83116);const tt=Re=>{const{checkboxCls:le}=Re,ot=`${le}-wrapper`;return[{[`${le}-group`]:Object.assign(Object.assign({},(0,oe.Wf)(Re)),{display:"inline-flex",flexWrap:"wrap",columnGap:Re.marginXS,[`> ${Re.antCls}-row`]:{flex:1}}),[ot]:Object.assign(Object.assign({},(0,oe.Wf)(Re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ot}`]:{marginInlineStart:0},[`&${ot}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[le]:Object.assign(Object.assign({},(0,oe.Wf)(Re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Re.borderRadiusSM,alignSelf:"center",[`${le}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${le}-inner`]:Object.assign({},(0,oe.oN)(Re))},[`${le}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Re.checkboxSize,height:Re.checkboxSize,direction:"ltr",backgroundColor:Re.colorBgContainer,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,borderCollapse:"separate",transition:`all ${Re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Re.checkboxSize/14*5,height:Re.checkboxSize/14*8,border:`${Re.lineWidthBold}px solid ${Re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Re.motionDurationFast} ${Re.motionEaseInBack}, opacity ${Re.motionDurationFast}`}},"& + span":{paddingInlineStart:Re.paddingXS,paddingInlineEnd:Re.paddingXS}})},{[`
|
|
${ot}:not(${ot}-disabled),
|
|
${le}:not(${le}-disabled)
|
|
`]:{[`&:hover ${le}-inner`]:{borderColor:Re.colorPrimary}},[`${ot}:not(${ot}-disabled)`]:{[`&:hover ${le}-checked:not(${le}-disabled) ${le}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${le}-checked:not(${le}-disabled):after`]:{borderColor:Re.colorPrimaryHover}}},{[`${le}-checked`]:{[`${le}-inner`]:{backgroundColor:Re.colorPrimary,borderColor:Re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Re.motionDurationMid} ${Re.motionEaseOutBack} ${Re.motionDurationFast}`}}},[`
|
|
${ot}-checked:not(${ot}-disabled),
|
|
${le}-checked:not(${le}-disabled)
|
|
`]:{[`&:hover ${le}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"}}},{[le]:{"&-indeterminate":{[`${le}-inner`]:{backgroundColor:Re.colorBgContainer,borderColor:Re.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Re.fontSizeLG/2,height:Re.fontSizeLG/2,backgroundColor:Re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ot}-disabled`]:{cursor:"not-allowed"},[`${le}-disabled`]:{[`&, ${le}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${le}-inner`]:{background:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,"&:after":{borderColor:Re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Re.colorTextDisabled},[`&${le}-indeterminate ${le}-inner::after`]:{background:Re.colorTextDisabled}}}]};function Me(Re,le){const ot=(0,ve.TS)(le,{checkboxCls:`.${Re}`,checkboxSize:le.controlInteractiveSize});return[tt(ot)]}Dt.ZP=(0,Te.Z)("Checkbox",(Re,le)=>{let{prefixCls:ot}=le;return[Me(ot,Re)]})},5083:function(ht,Dt,te){"use strict";te.d(Dt,{default:function(){return as}});var oe=te(61186),ve=te.n(oe),Te=te(48736),tt=te(90111),Me=te.n(tt),Re=te(58319),le=te.n(Re),ot=te(23250),rt=te.n(ot),at=te(74959),nt=te.n(at),ut=te(10238),He=te.n(ut),ie=te(33656),y=te.n(ie);ve().extend(y()),ve().extend(He()),ve().extend(Me()),ve().extend(le()),ve().extend(rt()),ve().extend(nt()),ve().extend(function(re,se){var ce=se.prototype,Ae=ce.format;ce.format=function(_e){var je=(_e||"").replace("Wo","wo");return Ae.bind(this)(je)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(se){var ce=a[se];return ce||se.split("_")[0]},b=function(){(0,Te.ET)(!1,"Not match any format. Please help to fire a issue about this.")},E={getNow:function(){return ve()()},getFixedDate:function(se){return ve()(se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(se){return se.endOf("month")},getWeekDay:function(se){var ce=se.locale("en");return ce.weekday()+ce.localeData().firstDayOfWeek()},getYear:function(se){return se.year()},getMonth:function(se){return se.month()},getDate:function(se){return se.date()},getHour:function(se){return se.hour()},getMinute:function(se){return se.minute()},getSecond:function(se){return se.second()},addYear:function(se,ce){return se.add(ce,"year")},addMonth:function(se,ce){return se.add(ce,"month")},addDate:function(se,ce){return se.add(ce,"day")},setYear:function(se,ce){return se.year(ce)},setMonth:function(se,ce){return se.month(ce)},setDate:function(se,ce){return se.date(ce)},setHour:function(se,ce){return se.hour(ce)},setMinute:function(se,ce){return se.minute(ce)},setSecond:function(se,ce){return se.second(ce)},isAfter:function(se,ce){return se.isAfter(ce)},isValidate:function(se){return se.isValid()},locale:{getWeekFirstDay:function(se){return ve()().locale(x(se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(se,ce){return ce.locale(x(se)).weekday(0)},getWeek:function(se,ce){return ce.locale(x(se)).week()},getShortWeekDays:function(se){return ve()().locale(x(se)).localeData().weekdaysMin()},getShortMonths:function(se){return ve()().locale(x(se)).localeData().monthsShort()},format:function(se,ce,Ae){return ce.locale(x(se)).format(Ae)},parse:function(se,ce,Ae){for(var Ne=x(se),_e=0;_e<Ae.length;_e+=1){var je=Ae[_e],bt=ce;if(je.includes("wo")||je.includes("Wo")){for(var Pt=bt.split("-")[0],Mt=bt.split("-")[1],bn=ve()(Pt,"YYYY").startOf("year").locale(Ne),Wt=0;Wt<=52;Wt+=1){var $t=bn.add(Wt,"week");if($t.format("Wo")===Mt)return $t}return b(),null}var dn=ve()(bt,je,!0).locale(Ne);if(dn.isValid())return dn}return ce&&b(),null}}},z=E,ee=te(53487),ae=te(14809),ne=te(59301),ge={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"},fe=ge,Be=te(7657),be=function(se,ce){return ne.createElement(Be.Z,(0,ae.Z)({},se,{ref:ce,icon:fe}))},De=ne.forwardRef(be),ye=De,wt={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"},pt=wt,hn=function(se,ce){return ne.createElement(Be.Z,(0,ae.Z)({},se,{ref:ce,icon:pt}))},it=ne.forwardRef(hn),dt=it,St=te(19248),Ft={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"},Zt=Ft,Jt=function(se,ce){return ne.createElement(Be.Z,(0,ae.Z)({},se,{ref:ce,icon:Zt}))},Je=ne.forwardRef(Jt),kt=Je,Xt=te(92310),Fe=te.n(Xt),Ue=te(99153),Et=te(84851),sn=te(13028),mt=te(19257),rn=te(93046),xe=te(4635),It=te(20439),xt=te(50298),An=te(18929),Nn=te(26112),Xe=te(80547),Ze=te(13697),Ce=10,me=Ce*10,ze=7;function gt(re,se){if(!re&&!se)return!0;if(!re||!se)return!1}function Se(re,se,ce){var Ae=gt(se,ce);if(typeof Ae=="boolean")return Ae;var Ne=Math.floor(re.getYear(se)/10),_e=Math.floor(re.getYear(ce)/10);return Ne===_e}function pe(re,se,ce){var Ae=gt(se,ce);return typeof Ae=="boolean"?Ae:re.getYear(se)===re.getYear(ce)}function Ie(re,se){var ce=Math.floor(re.getMonth(se)/3);return ce+1}function Le(re,se,ce){var Ae=gt(se,ce);return typeof Ae=="boolean"?Ae:pe(re,se,ce)&&Ie(re,se)===Ie(re,ce)}function he(re,se,ce){var Ae=gt(se,ce);return typeof Ae=="boolean"?Ae:pe(re,se,ce)&&re.getMonth(se)===re.getMonth(ce)}function Ge(re,se,ce){var Ae=gt(se,ce);return typeof Ae=="boolean"?Ae:re.getYear(se)===re.getYear(ce)&&re.getMonth(se)===re.getMonth(ce)&&re.getDate(se)===re.getDate(ce)}function Vt(re,se,ce){var Ae=gt(se,ce);return typeof Ae=="boolean"?Ae:re.getHour(se)===re.getHour(ce)&&re.getMinute(se)===re.getMinute(ce)&&re.getSecond(se)===re.getSecond(ce)}function Ct(re,se,ce,Ae){var Ne=gt(ce,Ae);return typeof Ne=="boolean"?Ne:pe(re,ce,Ae)&&re.locale.getWeek(se,ce)===re.locale.getWeek(se,Ae)}function Lt(re,se,ce){return Ge(re,se,ce)&&Vt(re,se,ce)}function Bt(re,se,ce,Ae){return!se||!ce||!Ae?!1:!Ge(re,se,Ae)&&!Ge(re,ce,Ae)&&re.isAfter(Ae,se)&&re.isAfter(ce,Ae)}function Tt(re,se,ce){var Ae=se.locale.getWeekFirstDay(re),Ne=se.setDate(ce,1),_e=se.getWeekDay(Ne),je=se.addDate(Ne,Ae-_e);return se.getMonth(je)===se.getMonth(ce)&&se.getDate(je)>1&&(je=se.addDate(je,-7)),je}function we(re,se,ce){var Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(se){case"year":return ce.addYear(re,Ae*10);case"quarter":case"month":return ce.addYear(re,Ae);default:return ce.addMonth(re,Ae)}}function We(re,se){var ce=se.generateConfig,Ae=se.locale,Ne=se.format;return typeof Ne=="function"?Ne(re):ce.locale.format(Ae.locale,re,Ne)}function lt(re,se){var ce=se.generateConfig,Ae=se.locale,Ne=se.formatList;return!re||typeof Ne[0]=="function"?null:ce.locale.parse(Ae.locale,re,Ne)}function vt(re){var se=re.cellDate,ce=re.mode,Ae=re.disabledDate,Ne=re.generateConfig;if(!Ae)return!1;var _e=function(gn,yt,jt){for(var mn=yt;mn<=jt;){var Gn=void 0;switch(gn){case"date":{if(Gn=Ne.setDate(se,mn),!Ae(Gn))return!1;break}case"month":{if(Gn=Ne.setMonth(se,mn),!vt({cellDate:Gn,mode:"month",generateConfig:Ne,disabledDate:Ae}))return!1;break}case"year":{if(Gn=Ne.setYear(se,mn),!vt({cellDate:Gn,mode:"year",generateConfig:Ne,disabledDate:Ae}))return!1;break}}mn+=1}return!0};switch(ce){case"date":case"week":return Ae(se);case"month":{var je=1,bt=Ne.getDate(Ne.getEndDate(se));return _e("date",je,bt)}case"quarter":{var Pt=Math.floor(Ne.getMonth(se)/3)*3,Mt=Pt+2;return _e("month",Pt,Mt)}case"year":return _e("month",0,11);case"decade":{var bn=Ne.getYear(se),Wt=Math.floor(bn/Ce)*Ce,$t=Wt+Ce-1;return _e("year",Wt,$t)}}}function zt(re,se){var ce=se.formatList,Ae=se.generateConfig,Ne=se.locale;return(0,Xe.Z)(function(){if(!re)return[[""],""];for(var _e="",je=[],bt=0;bt<ce.length;bt+=1){var Pt=ce[bt],Mt=We(re,{generateConfig:Ae,locale:Ne,format:Pt});je.push(Mt),bt===0&&(_e=Mt)}return[je,_e]},[re,ce,Ne],function(_e,je){return!Lt(Ae,_e[0],je[0])||!(0,Ze.Z)(_e[1],je[1],!0)||!(0,Ze.Z)(_e[2],je[2],!0)})}function en(re,se){var ce=se.formatList,Ae=se.generateConfig,Ne=se.locale,_e=(0,ne.useState)(null),je=(0,xt.Z)(_e,2),bt=je[0],Pt=je[1],Mt=(0,ne.useRef)(null);function bn(jt){var mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Mt.current),mn){Pt(jt);return}Mt.current=requestAnimationFrame(function(){Pt(jt)})}var Wt=zt(bt,{formatList:ce,generateConfig:Ae,locale:Ne}),$t=(0,xt.Z)(Wt,2),dn=$t[1];function gn(jt){bn(jt)}function yt(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;bn(null,jt)}return(0,ne.useEffect)(function(){yt(!0)},[re]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(Mt.current)}},[]),[dn,gn,yt]}var Yt=te(10228),ln=te(16089),Dn=te(95190),Yn=te(29194),Tn=new Map;function Xn(re,se){var ce;function Ae(){(0,Yn.Z)(re)?se():ce=(0,ln.Z)(function(){Ae()})}return Ae(),function(){ln.Z.cancel(ce)}}function ya(re,se,ce){if(Tn.get(re)&&cancelAnimationFrame(Tn.get(re)),ce<=0){Tn.set(re,requestAnimationFrame(function(){re.scrollTop=se}));return}var Ae=se-re.scrollTop,Ne=Ae/ce*10;Tn.set(re,requestAnimationFrame(function(){re.scrollTop+=Ne,re.scrollTop!==se&&ya(re,se,ce-10)}))}function ba(re,se){var ce=se.onLeftRight,Ae=se.onCtrlLeftRight,Ne=se.onUpDown,_e=se.onPageUpDown,je=se.onEnter,bt=re.which,Pt=re.ctrlKey,Mt=re.metaKey;switch(bt){case Yt.Z.LEFT:if(Pt||Mt){if(Ae)return Ae(-1),!0}else if(ce)return ce(-1),!0;break;case Yt.Z.RIGHT:if(Pt||Mt){if(Ae)return Ae(1),!0}else if(ce)return ce(1),!0;break;case Yt.Z.UP:if(Ne)return Ne(-1),!0;break;case Yt.Z.DOWN:if(Ne)return Ne(1),!0;break;case Yt.Z.PAGE_UP:if(_e)return _e(-1),!0;break;case Yt.Z.PAGE_DOWN:if(_e)return _e(1),!0;break;case Yt.Z.ENTER:if(je)return je(),!0;break}return!1}function Bn(re,se,ce,Ae){var Ne=re;if(!Ne)switch(se){case"time":Ne=Ae?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ne="gggg-wo";break;case"month":Ne="YYYY-MM";break;case"quarter":Ne="YYYY-[Q]Q";break;case"year":Ne="YYYY";break;default:Ne=ce?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ne}function Da(re,se,ce){var Ae=re==="time"?8:10,Ne=typeof se=="function"?se(ce.getNow()).length:se.length;return Math.max(Ae,Ne)+2}var xa=null,ca=new Set;function Ta(re){return!xa&&typeof window!="undefined"&&window.addEventListener&&(xa=function(ce){(0,Dn.Z)(ca).forEach(function(Ae){Ae(ce)})},window.addEventListener("mousedown",xa)),ca.add(re),function(){ca.delete(re),ca.size===0&&(window.removeEventListener("mousedown",xa),xa=null)}}function to(re){var se=re.target;if(re.composed&&se.shadowRoot){var ce;return((ce=re.composedPath)===null||ce===void 0?void 0:ce.call(re)[0])||se}return se}var an=function(se){return se==="month"||se==="date"?"year":se},pn=function(se){return se==="date"?"month":se},En=function(se){return se==="month"||se==="date"?"quarter":se},Pn=function(se){return se==="date"?"week":se},ra={year:an,month:pn,quarter:En,week:Pn,time:null,date:null};function Ca(re,se){return re.some(function(ce){return ce&&ce.contains(se)})}function Kn(re){var se=re.open,ce=re.value,Ae=re.isClickOutside,Ne=re.triggerOpen,_e=re.forwardKeyDown,je=re.onKeyDown,bt=re.blurToCancel,Pt=re.onSubmit,Mt=re.onCancel,bn=re.onFocus,Wt=re.onBlur,$t=re.changeOnBlur,dn=(0,ne.useState)(!1),gn=(0,xt.Z)(dn,2),yt=gn[0],jt=gn[1],mn=(0,ne.useState)(!1),Gn=(0,xt.Z)(mn,2),Mn=Gn[0],Wn=Gn[1],ta=(0,ne.useRef)(!1),$n=(0,ne.useRef)(!1),In=(0,ne.useRef)(!1),Ja={onMouseDown:function(){jt(!0),Ne(!0)},onKeyDown:function(Xa){var ro=function(){In.current=!0};if(je(Xa,ro),!In.current){switch(Xa.which){case Yt.Z.ENTER:{se?Pt()!==!1&&jt(!0):Ne(!0),Xa.preventDefault();return}case Yt.Z.TAB:{yt&&se&&!Xa.shiftKey?(jt(!1),Xa.preventDefault()):!yt&&se&&!_e(Xa)&&Xa.shiftKey&&(jt(!0),Xa.preventDefault());return}case Yt.Z.ESC:{jt(!0),Mt();return}}!se&&![Yt.Z.SHIFT].includes(Xa.which)?Ne(!0):yt||_e(Xa)}},onFocus:function(Xa){jt(!0),Wn(!0),bn&&bn(Xa)},onBlur:function(Xa){if(ta.current||!Ae(document.activeElement)){ta.current=!1;return}bt?setTimeout(function(){for(var ro=document,xo=ro.activeElement;xo&&xo.shadowRoot;)xo=xo.shadowRoot.activeElement;Ae(xo)&&Mt()},0):se&&(Ne(!1),$n.current&&Pt()),Wn(!1),Wt==null||Wt(Xa)}};return(0,ne.useEffect)(function(){$n.current=!1},[se]),(0,ne.useEffect)(function(){$n.current=!0},[ce]),(0,ne.useEffect)(function(){return Ta(function(ka){var Xa=to(ka),ro=Ae(Xa);se&&(ro?!$t&&(!Mn||ro)&&Ne(!1):(ta.current=!0,(0,ln.Z)(function(){ta.current=!1})))})}),[Ja,{focused:Mn,typing:yt}]}function Ve(re,se){return ne.useMemo(function(){return re||(se?((0,Te.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(se).map(function(ce){var Ae=(0,xt.Z)(ce,2),Ne=Ae[0],_e=Ae[1];return{label:Ne,value:_e}})):[])},[re,se])}var et=te(34280);function Ye(re){var se=re.valueTexts,ce=re.onTextChange,Ae=ne.useState(""),Ne=(0,xt.Z)(Ae,2),_e=Ne[0],je=Ne[1],bt=ne.useRef([]);bt.current=se;function Pt(bn){je(bn),ce(bn)}function Mt(){je(bt.current[0])}return(0,et.Z)(function(){se.every(function(bn){return bn!==_e})&&Mt()},[se.join("||")]),[_e,Pt,Mt]}var Rt=ne.createContext({}),Sn=Rt,_t=te(93664);function va(re){var se=re.cellRender,ce=re.monthCellRender,Ae=re.dateRender,Ne=ne.useMemo(function(){if(se)return se;if(!(!ce&&!Ae))return function(_e,je){var bt=_e;return Ae&&je.type==="date"?Ae(bt,je.today):ce&&je.type==="month"?ce(bt,je.locale):je.originNode}},[se,ce,Ae]);return Ne}function zn(re,se){for(var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ae=String(re);Ae.length<se;)Ae="".concat(ce).concat(re);return Ae}var kn=function(){for(var se=arguments.length,ce=new Array(se),Ae=0;Ae<se;Ae++)ce[Ae]=arguments[Ae];return ce};function wa(re){return re==null?[]:Array.isArray(re)?re:[re]}function ia(re,se){return re?re[se]:null}function tn(re,se,ce){var Ae=[ia(re,0),ia(re,1)];return Ae[ce]=typeof se=="function"?se(Ae[ce]):se,!Ae[0]&&!Ae[1]?null:Ae}function Ga(re){return typeof re=="function"?re():re}function po(re){var se=re.cellPrefixCls,ce=re.generateConfig,Ae=re.rangedValue,Ne=re.hoverRangedValue,_e=re.isInView,je=re.isSameCell,bt=re.offsetCell,Pt=re.today,Mt=re.value;function bn(Wt){var $t,dn=bt(Wt,-1),gn=bt(Wt,1),yt=ia(Ae,0),jt=ia(Ae,1),mn=ia(Ne,0),Gn=ia(Ne,1),Mn=Bt(ce,mn,Gn,Wt);function Wn(Xa){return je(yt,Xa)}function ta(Xa){return je(jt,Xa)}var $n=je(mn,Wt),In=je(Gn,Wt),Ja=(Mn||In)&&(!_e(dn)||ta(dn)),ka=(Mn||$n)&&(!_e(gn)||Wn(gn));return $t={},(0,xe.Z)($t,"".concat(se,"-in-view"),_e(Wt)),(0,xe.Z)($t,"".concat(se,"-in-range"),Bt(ce,yt,jt,Wt)),(0,xe.Z)($t,"".concat(se,"-range-start"),Wn(Wt)),(0,xe.Z)($t,"".concat(se,"-range-end"),ta(Wt)),(0,xe.Z)($t,"".concat(se,"-range-start-single"),Wn(Wt)&&!jt),(0,xe.Z)($t,"".concat(se,"-range-end-single"),ta(Wt)&&!yt),(0,xe.Z)($t,"".concat(se,"-range-start-near-hover"),Wn(Wt)&&(je(dn,mn)||Bt(ce,mn,Gn,dn))),(0,xe.Z)($t,"".concat(se,"-range-end-near-hover"),ta(Wt)&&(je(gn,Gn)||Bt(ce,mn,Gn,gn))),(0,xe.Z)($t,"".concat(se,"-range-hover"),Mn),(0,xe.Z)($t,"".concat(se,"-range-hover-start"),$n),(0,xe.Z)($t,"".concat(se,"-range-hover-end"),In),(0,xe.Z)($t,"".concat(se,"-range-hover-edge-start"),Ja),(0,xe.Z)($t,"".concat(se,"-range-hover-edge-end"),ka),(0,xe.Z)($t,"".concat(se,"-range-hover-edge-start-near-range"),Ja&&je(dn,jt)),(0,xe.Z)($t,"".concat(se,"-range-hover-edge-end-near-range"),ka&&je(gn,yt)),(0,xe.Z)($t,"".concat(se,"-today"),je(Pt,Wt)),(0,xe.Z)($t,"".concat(se,"-selected"),je(Mt,Wt)),$t}return bn}var Qa=ne.createContext({}),$a=Qa;function Ke(re,se,ce,Ae,Ne){var _e=re.setHour(se,ce);return _e=re.setMinute(_e,Ae),_e=re.setSecond(_e,Ne),_e}function Ot(re,se,ce){if(!ce)return se;var Ae=se;return Ae=re.setHour(Ae,re.getHour(ce)),Ae=re.setMinute(Ae,re.getMinute(ce)),Ae=re.setSecond(Ae,re.getSecond(ce)),Ae}function At(re,se,ce,Ae,Ne,_e){var je=Math.floor(re/Ae)*Ae;if(je<re)return[je,60-Ne,60-_e];var bt=Math.floor(se/Ne)*Ne;if(bt<se)return[je,bt,60-_e];var Pt=Math.floor(ce/_e)*_e;return[je,bt,Pt]}function Qt(re,se){var ce=re.getYear(se),Ae=re.getMonth(se)+1,Ne=re.getEndDate(re.getFixedDate("".concat(ce,"-").concat(Ae,"-01"))),_e=re.getDate(Ne),je=Ae<10?"0".concat(Ae):"".concat(Ae);return"".concat(ce,"-").concat(je,"-").concat(_e)}function un(re){for(var se=re.prefixCls,ce=re.disabledDate,Ae=re.onSelect,Ne=re.picker,_e=re.rowNum,je=re.colNum,bt=re.prefixColumn,Pt=re.rowClassName,Mt=re.baseDate,bn=re.getCellClassName,Wt=re.getCellText,$t=re.getCellNode,dn=re.getCellDate,gn=re.generateConfig,yt=re.titleCell,jt=re.headerCells,mn=ne.useContext(Sn),Gn=mn.onDateMouseEnter,Mn=mn.onDateMouseLeave,Wn=mn.mode,ta="".concat(se,"-cell"),$n=[],In=0;In<_e;In+=1){for(var Ja=[],ka=void 0,Xa=function(){var Fo,Jo=In*je+ro,yo=dn(Mt,Jo),eo=vt({cellDate:yo,mode:Wn,disabledDate:ce,generateConfig:gn});ro===0&&(ka=yo,bt&&Ja.push(bt(ka)));var no=yt&&yt(yo),Lo=ne.createElement("div",{className:"".concat(ta,"-inner")},Wt(yo));Ja.push(ne.createElement("td",{key:ro,title:no,className:Fe()(ta,(0,It.Z)((Fo={},(0,xe.Z)(Fo,"".concat(ta,"-disabled"),eo),(0,xe.Z)(Fo,"".concat(ta,"-start"),Wt(yo)===1||Ne==="year"&&Number(no)%10===0),(0,xe.Z)(Fo,"".concat(ta,"-end"),no===Qt(gn,yo)||Ne==="year"&&Number(no)%10===9),Fo),bn(yo))),onClick:function(){eo||Ae(yo)},onMouseEnter:function(){!eo&&Gn&&Gn(yo)},onMouseLeave:function(){!eo&&Mn&&Mn(yo)}},$t?$t(yo,Lo):Lo))},ro=0;ro<je;ro+=1)Xa();$n.push(ne.createElement("tr",{key:In,className:Pt&&Pt(ka)},Ja))}return ne.createElement("div",{className:"".concat(se,"-body")},ne.createElement("table",{className:"".concat(se,"-content")},jt&&ne.createElement("thead",null,ne.createElement("tr",null,jt)),ne.createElement("tbody",null,$n)))}function fn(re){var se=re.prefixCls,ce=re.generateConfig,Ae=re.prefixColumn,Ne=re.locale,_e=re.rowCount,je=re.viewDate,bt=re.value,Pt=re.cellRender,Mt=re.isSameCell,bn=ne.useContext($a),Wt=bn.rangedValue,$t=bn.hoverRangedValue,dn=Tt(Ne.locale,ce,je),gn="".concat(se,"-cell"),yt=ce.locale.getWeekFirstDay(Ne.locale),jt=ce.getNow(),mn=[],Gn=Ne.shortWeekDays||(ce.locale.getShortWeekDays?ce.locale.getShortWeekDays(Ne.locale):[]);Ae&&mn.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Mn=0;Mn<ze;Mn+=1)mn.push(ne.createElement("th",{key:Mn},Gn[(Mn+yt)%ze]));var Wn=po({cellPrefixCls:gn,today:jt,value:bt,generateConfig:ce,rangedValue:Ae?null:Wt,hoverRangedValue:Ae?null:$t,isSameCell:Mt||function($n,In){return Ge(ce,$n,In)},isInView:function(In){return he(ce,In,je)},offsetCell:function(In,Ja){return ce.addDate(In,Ja)}}),ta=Pt?function($n,In){return Pt($n,{originNode:In,today:jt,type:"date",locale:Ne})}:void 0;return ne.createElement(un,(0,ae.Z)({},re,{rowNum:_e,colNum:ze,baseDate:dn,getCellNode:ta,getCellText:ce.getDate,getCellClassName:Wn,getCellDate:ce.addDate,titleCell:function(In){return We(In,{locale:Ne,format:"YYYY-MM-DD",generateConfig:ce})},headerCells:mn}))}var nn=fn,qt={visibility:"hidden"};function Aa(re){var se=re.prefixCls,ce=re.prevIcon,Ae=ce===void 0?"\u2039":ce,Ne=re.nextIcon,_e=Ne===void 0?"\u203A":Ne,je=re.superPrevIcon,bt=je===void 0?"\xAB":je,Pt=re.superNextIcon,Mt=Pt===void 0?"\xBB":Pt,bn=re.onSuperPrev,Wt=re.onSuperNext,$t=re.onPrev,dn=re.onNext,gn=re.children,yt=ne.useContext(Sn),jt=yt.hideNextBtn,mn=yt.hidePrevBtn;return ne.createElement("div",{className:se},bn&&ne.createElement("button",{type:"button",onClick:bn,tabIndex:-1,className:"".concat(se,"-super-prev-btn"),style:mn?qt:{}},bt),$t&&ne.createElement("button",{type:"button",onClick:$t,tabIndex:-1,className:"".concat(se,"-prev-btn"),style:mn?qt:{}},Ae),ne.createElement("div",{className:"".concat(se,"-view")},gn),dn&&ne.createElement("button",{type:"button",onClick:dn,tabIndex:-1,className:"".concat(se,"-next-btn"),style:jt?qt:{}},_e),Wt&&ne.createElement("button",{type:"button",onClick:Wt,tabIndex:-1,className:"".concat(se,"-super-next-btn"),style:jt?qt:{}},Mt))}var pa=Aa;function Nt(re){var se=re.prefixCls,ce=re.generateConfig,Ae=re.locale,Ne=re.viewDate,_e=re.onNextMonth,je=re.onPrevMonth,bt=re.onNextYear,Pt=re.onPrevYear,Mt=re.onYearClick,bn=re.onMonthClick,Wt=ne.useContext(Sn),$t=Wt.hideHeader;if($t)return null;var dn="".concat(se,"-header"),gn=Ae.shortMonths||(ce.locale.getShortMonths?ce.locale.getShortMonths(Ae.locale):[]),yt=ce.getMonth(Ne),jt=ne.createElement("button",{type:"button",key:"year",onClick:Mt,tabIndex:-1,className:"".concat(se,"-year-btn")},We(Ne,{locale:Ae,format:Ae.yearFormat,generateConfig:ce})),mn=ne.createElement("button",{type:"button",key:"month",onClick:bn,tabIndex:-1,className:"".concat(se,"-month-btn")},Ae.monthFormat?We(Ne,{locale:Ae,format:Ae.monthFormat,generateConfig:ce}):gn[yt]),Gn=Ae.monthBeforeYear?[mn,jt]:[jt,mn];return ne.createElement(pa,(0,ae.Z)({},re,{prefixCls:dn,onSuperPrev:Pt,onPrev:je,onNext:_e,onSuperNext:bt}),Gn)}var lo=Nt,oo=6;function Do(re){var se=re.prefixCls,ce=re.panelName,Ae=ce===void 0?"date":ce,Ne=re.keyboardConfig,_e=re.active,je=re.operationRef,bt=re.generateConfig,Pt=re.value,Mt=re.viewDate,bn=re.onViewDateChange,Wt=re.onPanelChange,$t=re.onSelect,dn="".concat(se,"-").concat(Ae,"-panel");je.current={onKeyDown:function(mn){return ba(mn,(0,It.Z)({onLeftRight:function(Mn){$t(bt.addDate(Pt||Mt,Mn),"key")},onCtrlLeftRight:function(Mn){$t(bt.addYear(Pt||Mt,Mn),"key")},onUpDown:function(Mn){$t(bt.addDate(Pt||Mt,Mn*ze),"key")},onPageUpDown:function(Mn){$t(bt.addMonth(Pt||Mt,Mn),"key")}},Ne))}};var gn=function(mn){var Gn=bt.addYear(Mt,mn);bn(Gn),Wt(null,Gn)},yt=function(mn){var Gn=bt.addMonth(Mt,mn);bn(Gn),Wt(null,Gn)};return ne.createElement("div",{className:Fe()(dn,(0,xe.Z)({},"".concat(dn,"-active"),_e))},ne.createElement(lo,(0,ae.Z)({},re,{prefixCls:se,value:Pt,viewDate:Mt,onPrevYear:function(){gn(-1)},onNextYear:function(){gn(1)},onPrevMonth:function(){yt(-1)},onNextMonth:function(){yt(1)},onMonthClick:function(){Wt("month",Mt)},onYearClick:function(){Wt("year",Mt)}})),ne.createElement(nn,(0,ae.Z)({},re,{onSelect:function(mn){return $t(mn,"mouse")},prefixCls:se,value:Pt,viewDate:Mt,rowCount:oo})))}var ko=Do;function yn(re){var se=ne.useContext(Sn),ce=se.hideHeader;if(ce)return null;var Ae=re.prefixCls,Ne=re.generateConfig,_e=re.locale,je=re.value,bt=re.format,Pt="".concat(Ae,"-header");return ne.createElement(pa,{prefixCls:Pt},je?We(je,{locale:_e,format:bt,generateConfig:Ne}):"\xA0")}var Jn=yn;function Ea(re){var se=re.value,ce=re.generateConfig,Ae=re.disabledMinutes,Ne=re.disabledSeconds,_e=re.minutes,je=re.seconds,bt=re.use12Hours,Pt=function(bn,Wt,$t,dn){var gn=ce.getNow(),yt=se||gn,jt=Wt<0?ce.getHour(gn):Wt,mn=$t<0?ce.getMinute(gn):$t,Gn=dn<0?ce.getSecond(gn):dn,Mn=Ae&&Ae(jt);if(Mn!=null&&Mn.includes(mn)){var Wn=_e.find(function(In){return!Mn.includes(In.value)});if(Wn)mn=Wn.value;else return null}var ta=Ne&&Ne(jt,mn);if(ta!=null&&ta.includes(Gn)){var $n=je.find(function(In){return!ta.includes(In.value)});if($n)Gn=$n.value;else return null}return yt=Ke(ce,yt,!bt||!bn?jt:jt+12,mn,Gn),yt};return Pt}function Un(re){var se=re.prefixCls,ce=re.units,Ae=re.onSelect,Ne=re.value,_e=re.active,je=re.hideDisabledOptions,bt=re.info,Pt=re.type,Mt="".concat(se,"-cell"),bn=ne.useContext(Sn),Wt=bn.open,$t=(0,ne.useRef)(null),dn=(0,ne.useRef)(new Map),gn=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var yt=dn.current.get(Ne);yt&&Wt!==!1&&ya($t.current,yt.offsetTop,120)},[Ne]),(0,ne.useLayoutEffect)(function(){if(Wt){var yt=dn.current.get(Ne);yt&&(gn.current=Xn(yt,function(){ya($t.current,yt.offsetTop,0)}))}return function(){var jt;(jt=gn.current)===null||jt===void 0||jt.call(gn)}},[Wt]),ne.createElement("ul",{className:Fe()("".concat(se,"-column"),(0,xe.Z)({},"".concat(se,"-column-active"),_e)),ref:$t,style:{position:"relative"}},ce.map(function(yt){var jt;return je&&yt.disabled?null:ne.createElement("li",{key:yt.value,ref:function(Gn){dn.current.set(yt.value,Gn)},className:Fe()(Mt,(jt={},(0,xe.Z)(jt,"".concat(Mt,"-disabled"),yt.disabled),(0,xe.Z)(jt,"".concat(Mt,"-selected"),Ne===yt.value),jt)),onClick:function(){yt.disabled||Ae(yt.value)}},bt.cellRender?bt.cellRender(yt.value,{today:bt.today,locale:bt.locale,originNode:ne.createElement("div",{className:"".concat(Mt,"-inner")},yt.label),type:"time",subType:Pt}):ne.createElement("div",{className:"".concat(Mt,"-inner")},yt.label))}))}var ja=Un;function Wa(re,se){if(re.length!==se.length)return!0;for(var ce=0;ce<re.length;ce+=1)if(re[ce].disabled!==se[ce].disabled)return!0;return!1}function Fa(re,se,ce,Ae){for(var Ne=[],_e=ce>=1?ce|0:1,je=re;je<=se;je+=_e)Ne.push({label:zn(je,2),value:je,disabled:(Ae||[]).includes(je)});return Ne}function Eo(re){var se=re.generateConfig,ce=re.prefixCls,Ae=re.operationRef,Ne=re.activeColumnIndex,_e=re.value,je=re.showHour,bt=re.showMinute,Pt=re.showSecond,Mt=re.use12Hours,bn=re.hourStep,Wt=bn===void 0?1:bn,$t=re.minuteStep,dn=$t===void 0?1:$t,gn=re.secondStep,yt=gn===void 0?1:gn,jt=re.disabledHours,mn=re.disabledMinutes,Gn=re.disabledSeconds,Mn=re.disabledTime,Wn=re.hideDisabledOptions,ta=re.onSelect,$n=re.cellRender,In=re.locale,Ja=[],ka="".concat(ce,"-content"),Xa="".concat(ce,"-time-panel"),ro,xo=_e?se.getHour(_e):-1,Fo=xo,Jo=_e?se.getMinute(_e):-1,yo=_e?se.getSecond(_e):-1,eo=se.getNow(),no=ne.useMemo(function(){if(Mn){var st=Mn(eo);return[st.disabledHours,st.disabledMinutes,st.disabledSeconds]}return[jt,mn,Gn]},[jt,mn,Gn,Mn,eo]),Lo=(0,xt.Z)(no,3),Oo=Lo[0],uo=Lo[1],So=Lo[2],sr=Fa(0,23,Wt,Oo&&Oo()),ar=(0,Xe.Z)(function(){return sr},sr,Wa);Mt&&(ro=Fo>=12,Fo%=12);var de=ne.useMemo(function(){if(!Mt)return[!1,!1];var st=[!0,!0];return ar.forEach(function(ct){var Gt=ct.disabled,Ht=ct.value;Gt||(Ht>=12?st[1]=!1:st[0]=!1)}),st},[Mt,ar]),ue=(0,xt.Z)(de,2),Pe=ue[0],Ee=ue[1],Oe=ne.useMemo(function(){return Mt?ar.filter(ro?function(st){return st.value>=12}:function(st){return st.value<12}).map(function(st){var ct=st.value%12,Gt=ct===0?"12":zn(ct,2);return(0,It.Z)((0,It.Z)({},st),{},{label:Gt,value:ct})}):ar},[Mt,ro,ar]),ke=Fa(0,59,dn,uo&&uo(xo)),qe=Fa(0,59,yt,So&&So(xo,Jo)),Qe=Ea({value:_e,generateConfig:se,disabledMinutes:uo,disabledSeconds:So,minutes:ke,seconds:qe,use12Hours:Mt});Ae.current={onUpDown:function(ct){var Gt=Ja[Ne];if(Gt)for(var Ht=Gt.units.findIndex(function(xn){return xn.value===Gt.value}),Kt=Gt.units.length,cn=1;cn<Kt;cn+=1){var on=Gt.units[(Ht+ct*cn+Kt)%Kt];if(on.disabled!==!0){Gt.onSelect(on.value);break}}}};function $e(st,ct,Gt,Ht,Kt){st!==!1&&Ja.push({node:ne.cloneElement(ct,{prefixCls:Xa,value:Gt,active:Ne===Ja.length,onSelect:Kt,units:Ht,hideDisabledOptions:Wn}),onSelect:Kt,value:Gt,units:Ht})}$e(je,ne.createElement(ja,{key:"hour",type:"hour",info:{today:eo,locale:In,cellRender:$n}}),Fo,Oe,function(st){ta(Qe(ro,st,Jo,yo),"mouse")}),$e(bt,ne.createElement(ja,{key:"minute",type:"minute",info:{today:eo,locale:In,cellRender:$n}}),Jo,ke,function(st){ta(Qe(ro,Fo,st,yo),"mouse")}),$e(Pt,ne.createElement(ja,{key:"second",type:"second",info:{today:eo,locale:In,cellRender:$n}}),yo,qe,function(st){ta(Qe(ro,Fo,Jo,st),"mouse")});var ft=-1;return typeof ro=="boolean"&&(ft=ro?1:0),$e(Mt===!0,ne.createElement(ja,{key:"meridiem",type:"meridiem",info:{today:eo,locale:In,cellRender:$n}}),ft,[{label:"AM",value:0,disabled:Pe},{label:"PM",value:1,disabled:Ee}],function(st){ta(Qe(!!st,Fo,Jo,yo),"mouse")}),ne.createElement("div",{className:ka},Ja.map(function(st){var ct=st.node;return ct}))}var bo=Eo,Ar=function(se){return se.filter(function(ce){return ce!==!1}).length};function xr(re){var se=re.generateConfig,ce=re.format,Ae=ce===void 0?"HH:mm:ss":ce,Ne=re.prefixCls,_e=re.active,je=re.operationRef,bt=re.showHour,Pt=re.showMinute,Mt=re.showSecond,bn=re.use12Hours,Wt=bn===void 0?!1:bn,$t=re.onSelect,dn=re.value,gn="".concat(Ne,"-time-panel"),yt=ne.useRef(),jt=ne.useState(-1),mn=(0,xt.Z)(jt,2),Gn=mn[0],Mn=mn[1],Wn=Ar([bt,Pt,Mt,Wt]);return je.current={onKeyDown:function($n){return ba($n,{onLeftRight:function(Ja){Mn((Gn+Ja+Wn)%Wn)},onUpDown:function(Ja){Gn===-1?Mn(0):yt.current&&yt.current.onUpDown(Ja)},onEnter:function(){$t(dn||se.getNow(),"key"),Mn(-1)}})},onBlur:function(){Mn(-1)}},ne.createElement("div",{className:Fe()(gn,(0,xe.Z)({},"".concat(gn,"-active"),_e))},ne.createElement(Jn,(0,ae.Z)({},re,{format:Ae,prefixCls:Ne})),ne.createElement(bo,(0,ae.Z)({},re,{prefixCls:Ne,activeColumnIndex:Gn,operationRef:yt})))}var Sr=xr,jr=kn("date","time");function Ur(re){var se=re.prefixCls,ce=re.operationRef,Ae=re.generateConfig,Ne=re.value,_e=re.defaultValue,je=re.disabledTime,bt=re.showTime,Pt=re.onSelect,Mt=re.cellRender,bn="".concat(se,"-datetime-panel"),Wt=ne.useState(null),$t=(0,xt.Z)(Wt,2),dn=$t[0],gn=$t[1],yt=ne.useRef({}),jt=ne.useRef({}),mn=(0,_t.Z)(bt)==="object"?(0,It.Z)({},bt):{};function Gn($n){var In=jr.indexOf(dn)+$n,Ja=jr[In]||null;return Ja}var Mn=function(In){jt.current.onBlur&&jt.current.onBlur(In),gn(null)};ce.current={onKeyDown:function(In){if(In.which===Yt.Z.TAB){var Ja=Gn(In.shiftKey?-1:1);return gn(Ja),Ja&&In.preventDefault(),!0}if(dn){var ka=dn==="date"?yt:jt;return ka.current&&ka.current.onKeyDown&&ka.current.onKeyDown(In),!0}return[Yt.Z.LEFT,Yt.Z.RIGHT,Yt.Z.UP,Yt.Z.DOWN].includes(In.which)?(gn("date"),!0):!1},onBlur:Mn,onClose:Mn};var Wn=function(In,Ja){var ka=In;Ja==="date"&&!Ne&&mn.defaultValue?(ka=Ae.setHour(ka,Ae.getHour(mn.defaultValue)),ka=Ae.setMinute(ka,Ae.getMinute(mn.defaultValue)),ka=Ae.setSecond(ka,Ae.getSecond(mn.defaultValue))):Ja==="time"&&!Ne&&_e&&(ka=Ae.setYear(ka,Ae.getYear(_e)),ka=Ae.setMonth(ka,Ae.getMonth(_e)),ka=Ae.setDate(ka,Ae.getDate(_e))),Pt&&Pt(ka,"mouse")},ta=je?je(Ne||null):{};return ne.createElement("div",{className:Fe()(bn,(0,xe.Z)({},"".concat(bn,"-active"),dn))},ne.createElement(ko,(0,ae.Z)({},re,{cellRender:Mt,operationRef:yt,active:dn==="date",onSelect:function(In){Wn(Ot(Ae,In,!Ne&&(0,_t.Z)(bt)==="object"?bt.defaultValue:null),"date")}})),ne.createElement(Sr,(0,ae.Z)({},re,{cellRender:Mt?function($n,In){return Mt($n,(0,It.Z)((0,It.Z)({},In),{},{type:"time"}))}:void 0,format:void 0},mn,ta,{disabledTime:null,defaultValue:void 0,operationRef:jt,active:dn==="time",onSelect:function(In){Wn(In,"time")}})))}var $r=Ur;function Tr(re){var se=re.prefixCls,ce=re.generateConfig,Ae=re.viewDate,Ne=re.onPrevDecades,_e=re.onNextDecades,je=ne.useContext(Sn),bt=je.hideHeader;if(bt)return null;var Pt="".concat(se,"-header"),Mt=ce.getYear(Ae),bn=Math.floor(Mt/me)*me,Wt=bn+me-1;return ne.createElement(pa,(0,ae.Z)({},re,{prefixCls:Pt,onSuperPrev:Ne,onSuperNext:_e}),bn,"-",Wt)}var cr=Tr,Ho=3,Cr=4;function kr(re){var se=Ce-1,ce=re.prefixCls,Ae=re.viewDate,Ne=re.generateConfig,_e=re.cellRender,je=re.locale,bt="".concat(ce,"-cell"),Pt=Ne.getYear(Ae),Mt=Math.floor(Pt/Ce)*Ce,bn=Math.floor(Pt/me)*me,Wt=bn+me-1,$t=Ne.setYear(Ae,bn-Math.ceil((Ho*Cr*Ce-me)/2)),dn=function(jt){var mn,Gn=Ne.getYear(jt),Mn=Gn+se;return mn={},(0,xe.Z)(mn,"".concat(bt,"-in-view"),bn<=Gn&&Mn<=Wt),(0,xe.Z)(mn,"".concat(bt,"-selected"),Gn===Mt),mn},gn=_e?function(yt,jt){return _e(yt,{originNode:jt,today:Ne.getNow(),type:"decade",locale:je})}:void 0;return ne.createElement(un,(0,ae.Z)({},re,{rowNum:Cr,colNum:Ho,baseDate:$t,getCellNode:gn,getCellText:function(jt){var mn=Ne.getYear(jt);return"".concat(mn,"-").concat(mn+se)},getCellClassName:dn,getCellDate:function(jt,mn){return Ne.addYear(jt,mn*Ce)}}))}var Ir=kr;function Nr(re){var se=re.prefixCls,ce=re.onViewDateChange,Ae=re.generateConfig,Ne=re.viewDate,_e=re.operationRef,je=re.onSelect,bt=re.onPanelChange,Pt="".concat(se,"-decade-panel");_e.current={onKeyDown:function($t){return ba($t,{onLeftRight:function(gn){je(Ae.addYear(Ne,gn*Ce),"key")},onCtrlLeftRight:function(gn){je(Ae.addYear(Ne,gn*me),"key")},onUpDown:function(gn){je(Ae.addYear(Ne,gn*Ce*Ho),"key")},onEnter:function(){bt("year",Ne)}})}};var Mt=function($t){var dn=Ae.addYear(Ne,$t*me);ce(dn),bt(null,dn)},bn=function($t){je($t,"mouse"),bt("year",$t)};return ne.createElement("div",{className:Pt},ne.createElement(cr,(0,ae.Z)({},re,{prefixCls:se,onPrevDecades:function(){Mt(-1)},onNextDecades:function(){Mt(1)}})),ne.createElement(Ir,(0,ae.Z)({},re,{prefixCls:se,onSelect:bn})))}var wr=Nr;function Kr(re){var se=re.prefixCls,ce=re.generateConfig,Ae=re.locale,Ne=re.viewDate,_e=re.onNextYear,je=re.onPrevYear,bt=re.onYearClick,Pt=ne.useContext(Sn),Mt=Pt.hideHeader;if(Mt)return null;var bn="".concat(se,"-header");return ne.createElement(pa,(0,ae.Z)({},re,{prefixCls:bn,onSuperPrev:je,onSuperNext:_e}),ne.createElement("button",{type:"button",onClick:bt,className:"".concat(se,"-year-btn")},We(Ne,{locale:Ae,format:Ae.yearFormat,generateConfig:ce})))}var Ya=Kr,Ko=3,_o=4;function ur(re){var se=re.prefixCls,ce=re.locale,Ae=re.value,Ne=re.viewDate,_e=re.generateConfig,je=re.cellRender,bt=ne.useContext($a),Pt=bt.rangedValue,Mt=bt.hoverRangedValue,bn="".concat(se,"-cell"),Wt=po({cellPrefixCls:bn,value:Ae,generateConfig:_e,rangedValue:Pt,hoverRangedValue:Mt,isSameCell:function(jt,mn){return he(_e,jt,mn)},isInView:function(){return!0},offsetCell:function(jt,mn){return _e.addMonth(jt,mn)}}),$t=ce.shortMonths||(_e.locale.getShortMonths?_e.locale.getShortMonths(ce.locale):[]),dn=_e.setMonth(Ne,0),gn=je?function(yt,jt){return je(yt,{originNode:jt,locale:ce,today:_e.getNow(),type:"month"})}:void 0;return ne.createElement(un,(0,ae.Z)({},re,{rowNum:_o,colNum:Ko,baseDate:dn,getCellNode:gn,getCellText:function(jt){return ce.monthFormat?We(jt,{locale:ce,format:ce.monthFormat,generateConfig:_e}):$t[_e.getMonth(jt)]},getCellClassName:Wt,getCellDate:_e.addMonth,titleCell:function(jt){return We(jt,{locale:ce,format:"YYYY-MM",generateConfig:_e})}}))}var mr=ur;function Fr(re){var se=re.prefixCls,ce=re.operationRef,Ae=re.onViewDateChange,Ne=re.generateConfig,_e=re.value,je=re.viewDate,bt=re.onPanelChange,Pt=re.onSelect,Mt="".concat(se,"-month-panel");ce.current={onKeyDown:function($t){return ba($t,{onLeftRight:function(gn){Pt(Ne.addMonth(_e||je,gn),"key")},onCtrlLeftRight:function(gn){Pt(Ne.addYear(_e||je,gn),"key")},onUpDown:function(gn){Pt(Ne.addMonth(_e||je,gn*Ko),"key")},onEnter:function(){bt("date",_e||je)}})}};var bn=function($t){var dn=Ne.addYear(je,$t);Ae(dn),bt(null,dn)};return ne.createElement("div",{className:Mt},ne.createElement(Ya,(0,ae.Z)({},re,{prefixCls:se,onPrevYear:function(){bn(-1)},onNextYear:function(){bn(1)},onYearClick:function(){bt("year",je)}})),ne.createElement(mr,(0,ae.Z)({},re,{prefixCls:se,onSelect:function($t){Pt($t,"mouse"),bt("date",$t)}})))}var ri=Fr;function qr(re){var se=re.prefixCls,ce=re.generateConfig,Ae=re.locale,Ne=re.viewDate,_e=re.onNextYear,je=re.onPrevYear,bt=re.onYearClick,Pt=ne.useContext(Sn),Mt=Pt.hideHeader;if(Mt)return null;var bn="".concat(se,"-header");return ne.createElement(pa,(0,ae.Z)({},re,{prefixCls:bn,onSuperPrev:je,onSuperNext:_e}),ne.createElement("button",{type:"button",onClick:bt,className:"".concat(se,"-year-btn")},We(Ne,{locale:Ae,format:Ae.yearFormat,generateConfig:ce})))}var Uo=qr,$o=4,zr=1;function gi(re){var se=re.prefixCls,ce=re.locale,Ae=re.value,Ne=re.viewDate,_e=re.generateConfig,je=re.cellRender,bt=ne.useContext($a),Pt=bt.rangedValue,Mt=bt.hoverRangedValue,bn="".concat(se,"-cell"),Wt=po({cellPrefixCls:bn,value:Ae,generateConfig:_e,rangedValue:Pt,hoverRangedValue:Mt,isSameCell:function(yt,jt){return Le(_e,yt,jt)},isInView:function(){return!0},offsetCell:function(yt,jt){return _e.addMonth(yt,jt*3)}}),$t=_e.setDate(_e.setMonth(Ne,0),1),dn=je?function(gn,yt){return je(gn,{originNode:yt,locale:ce,today:_e.getNow(),type:"quarter"})}:void 0;return ne.createElement(un,(0,ae.Z)({},re,{rowNum:zr,colNum:$o,baseDate:$t,getCellNode:dn,getCellText:function(yt){return We(yt,{locale:ce,format:ce.quarterFormat||"[Q]Q",generateConfig:_e})},getCellClassName:Wt,getCellDate:function(yt,jt){return _e.addMonth(yt,jt*3)},titleCell:function(yt){return We(yt,{locale:ce,format:"YYYY-[Q]Q",generateConfig:_e})}}))}var ci=gi;function bi(re){var se=re.prefixCls,ce=re.operationRef,Ae=re.onViewDateChange,Ne=re.generateConfig,_e=re.value,je=re.viewDate,bt=re.onPanelChange,Pt=re.onSelect,Mt="".concat(se,"-quarter-panel");ce.current={onKeyDown:function($t){return ba($t,{onLeftRight:function(gn){Pt(Ne.addMonth(_e||je,gn*3),"key")},onCtrlLeftRight:function(gn){Pt(Ne.addYear(_e||je,gn),"key")},onUpDown:function(gn){Pt(Ne.addYear(_e||je,gn),"key")}})}};var bn=function($t){var dn=Ne.addYear(je,$t);Ae(dn),bt(null,dn)};return ne.createElement("div",{className:Mt},ne.createElement(Uo,(0,ae.Z)({},re,{prefixCls:se,onPrevYear:function(){bn(-1)},onNextYear:function(){bn(1)},onYearClick:function(){bt("year",je)}})),ne.createElement(ci,(0,ae.Z)({},re,{prefixCls:se,onSelect:function($t){Pt($t,"mouse")}})))}var ua=bi;function Zn(re){var se=re.prefixCls,ce=re.generateConfig,Ae=re.locale,Ne=re.value,_e=re.disabledDate,je=re.onSelect,bt=ne.useContext($a),Pt=bt.rangedValue,Mt=bt.hoverRangedValue,bn=ne.useContext(Sn),Wt=bn.onDateMouseEnter,$t=bn.onDateMouseLeave,dn=(Mt==null?void 0:Mt[0])||(Pt==null?void 0:Pt[0]),gn=(Mt==null?void 0:Mt[1])||(Pt==null?void 0:Pt[1]),yt="".concat(se,"-cell"),jt=function(Wn){var ta=vt({cellDate:Wn,mode:"week",disabledDate:_e,generateConfig:ce});return ne.createElement("td",{key:"week",className:Fe()(yt,"".concat(yt,"-week")),onClick:function(){ta||je(Wn,"mouse")},onMouseEnter:function(){!ta&&Wt&&Wt(Wn)},onMouseLeave:function(){!ta&&$t&&$t(Wn)}},ne.createElement("div",{className:"".concat(yt,"-inner")},ce.locale.getWeek(Ae.locale,Wn)))},mn="".concat(se,"-week-panel-row"),Gn=function(Wn){var ta,$n=Ct(ce,Ae.locale,dn,Wn),In=Ct(ce,Ae.locale,gn,Wn);return Fe()(mn,(ta={},(0,xe.Z)(ta,"".concat(mn,"-selected"),!Pt&&Ct(ce,Ae.locale,Ne,Wn)),(0,xe.Z)(ta,"".concat(mn,"-range-start"),$n),(0,xe.Z)(ta,"".concat(mn,"-range-end"),In),(0,xe.Z)(ta,"".concat(mn,"-range-hover"),!$n&&!In&&Bt(ce,dn,gn,Wn)),ta))};return ne.createElement(ko,(0,ae.Z)({},re,{panelName:"week",prefixColumn:jt,rowClassName:Gn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var qn=Zn,_n=10;function _a(re){var se=re.prefixCls,ce=re.generateConfig,Ae=re.viewDate,Ne=re.onPrevDecade,_e=re.onNextDecade,je=re.onDecadeClick,bt=ne.useContext(Sn),Pt=bt.hideHeader;if(Pt)return null;var Mt="".concat(se,"-header"),bn=ce.getYear(Ae),Wt=Math.floor(bn/_n)*_n,$t=Wt+_n-1;return ne.createElement(pa,(0,ae.Z)({},re,{prefixCls:Mt,onSuperPrev:Ne,onSuperNext:_e}),ne.createElement("button",{type:"button",onClick:je,className:"".concat(se,"-decade-btn")},Wt,"-",$t))}var Io=_a,Wo=3,Yo=4;function ir(re){var se=re.prefixCls,ce=re.value,Ae=re.viewDate,Ne=re.locale,_e=re.generateConfig,je=re.cellRender,bt=ne.useContext($a),Pt=bt.rangedValue,Mt=bt.hoverRangedValue,bn="".concat(se,"-cell"),Wt=_e.getYear(Ae),$t=Math.floor(Wt/_n)*_n,dn=$t+_n-1,gn=_e.setYear(Ae,$t-Math.ceil((Wo*Yo-_n)/2)),yt=_e.getNow(),jt=function(Wn){var ta=_e.getYear(Wn);return $t<=ta&&ta<=dn},mn=po({cellPrefixCls:bn,value:ce,generateConfig:_e,rangedValue:Pt,hoverRangedValue:Mt,isSameCell:function(Wn,ta){return pe(_e,Wn,ta)},isInView:jt,offsetCell:function(Wn,ta){return _e.addYear(Wn,ta)}}),Gn=je?function(Mn,Wn){return je(Mn,{originNode:Wn,today:yt,type:"year",locale:Ne})}:void 0;return ne.createElement(un,(0,ae.Z)({},re,{rowNum:Yo,colNum:Wo,baseDate:gn,getCellNode:Gn,getCellText:_e.getYear,getCellClassName:mn,getCellDate:_e.addYear,titleCell:function(Wn){return We(Wn,{locale:Ne,format:"YYYY",generateConfig:_e})}}))}var lr=ir;function Hr(re){var se=re.prefixCls,ce=re.operationRef,Ae=re.onViewDateChange,Ne=re.generateConfig,_e=re.value,je=re.viewDate,bt=re.sourceMode,Pt=re.onSelect,Mt=re.onPanelChange,bn="".concat(se,"-year-panel");ce.current={onKeyDown:function(dn){return ba(dn,{onLeftRight:function(yt){Pt(Ne.addYear(_e||je,yt),"key")},onCtrlLeftRight:function(yt){Pt(Ne.addYear(_e||je,yt*_n),"key")},onUpDown:function(yt){Pt(Ne.addYear(_e||je,yt*Wo),"key")},onEnter:function(){Mt(bt==="date"?"date":"month",_e||je)}})}};var Wt=function(dn){var gn=Ne.addYear(je,dn*10);Ae(gn),Mt(null,gn)};return ne.createElement("div",{className:bn},ne.createElement(Io,(0,ae.Z)({},re,{prefixCls:se,onPrevDecade:function(){Wt(-1)},onNextDecade:function(){Wt(1)},onDecadeClick:function(){Mt("decade",je)}})),ne.createElement(lr,(0,ae.Z)({},re,{prefixCls:se,onSelect:function(dn){Mt(bt==="date"?"date":"month",dn),Pt(dn,"mouse")}})))}var fr=Hr;function Ka(re,se,ce){return ce?ne.createElement("div",{className:"".concat(re,"-footer-extra")},ce(se)):null}function co(re){var se=re.prefixCls,ce=re.components,Ae=ce===void 0?{}:ce,Ne=re.needConfirmButton,_e=re.onNow,je=re.onOk,bt=re.okDisabled,Pt=re.showNow,Mt=re.locale,bn,Wt;if(Ne){var $t=Ae.button||"button";_e&&Pt!==!1&&(bn=ne.createElement("li",{className:"".concat(se,"-now")},ne.createElement("a",{className:"".concat(se,"-now-btn"),onClick:_e},Mt.now))),Wt=Ne&&ne.createElement("li",{className:"".concat(se,"-ok")},ne.createElement($t,{disabled:bt,onClick:je},Mt.ok))}return!bn&&!Wt?null:ne.createElement("ul",{className:"".concat(se,"-ranges")},bn,Wt)}var To=["date","month"];function so(re){var se,ce=re,Ae=ce.prefixCls,Ne=Ae===void 0?"rc-picker":Ae,_e=ce.className,je=ce.style,bt=ce.locale,Pt=ce.generateConfig,Mt=ce.value,bn=ce.defaultValue,Wt=ce.pickerValue,$t=ce.defaultPickerValue,dn=ce.disabledDate,gn=ce.mode,yt=ce.picker,jt=yt===void 0?"date":yt,mn=ce.tabIndex,Gn=mn===void 0?0:mn,Mn=ce.showNow,Wn=ce.showTime,ta=ce.showToday,$n=ce.renderExtraFooter,In=ce.hideHeader,Ja=ce.onSelect,ka=ce.onChange,Xa=ce.onPanelChange,ro=ce.onMouseDown,xo=ce.onPickerValueChange,Fo=ce.onOk,Jo=ce.components,yo=ce.direction,eo=ce.hourStep,no=eo===void 0?1:eo,Lo=ce.minuteStep,Oo=Lo===void 0?1:Lo,uo=ce.secondStep,So=uo===void 0?1:uo,sr=ce.dateRender,ar=ce.monthCellRender,de=ce.cellRender,ue=jt==="date"&&!!Wn||jt==="time",Pe=24%no===0,Ee=60%Oo===0,Oe=60%So===0,ke=ne.useContext(Sn),qe=ke.operationRef,Qe=ke.onSelect,$e=ke.hideRanges,ft=ke.defaultOpenValue,st=ne.useContext($a),ct=st.inRange,Gt=st.panelPosition,Ht=st.rangedValue,Kt=st.hoverRangedValue,cn=ne.useRef({}),on=ne.useRef(!0),xn=(0,An.Z)(null,{value:Mt,defaultValue:bn,postState:function(Ut){return!Ut&&ft&&jt==="time"?ft:Ut}}),vn=(0,xt.Z)(xn,2),wn=vn[0],na=vn[1],la=(0,An.Z)(null,{value:Wt,defaultValue:$t||wn,postState:function(Ut){var Fn=Pt.getNow();if(!Ut)return Fn;if(!wn&&Wn){var Ba=(0,_t.Z)(Wn)==="object"?Wn.defaultValue:bn;return Ot(Pt,Array.isArray(Ut)?Ut[0]:Ut,Ba||Fn)}return Array.isArray(Ut)?Ut[0]:Ut}}),jn=(0,xt.Z)(la,2),aa=jn[0],La=jn[1],On=function(Ut){La(Ut),xo&&xo(Ut)},Vn=function(Ut){var Fn=ra[jt];return Fn?Fn(Ut):Ut},Rn=(0,An.Z)(function(){return jt==="time"?"time":Vn("date")},{value:gn}),Cn=(0,xt.Z)(Rn,2),Ln=Cn[0],oa=Cn[1];ne.useEffect(function(){oa(jt)},[jt]);var Ia=ne.useState(function(){return Ln}),Na=(0,xt.Z)(Ia,2),Qn=Na[0],Oa=Na[1],Ra=function(Ut,Fn){var Ba=Vn(Ut||Ln);Oa(Ln),oa(Ba),Xa&&(Ln!==Ba||Lt(Pt,aa,aa))&&Xa(Fn,Ba)},Ha=function(Ut,Fn){var Ba=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ln===jt||Ba)&&(na(Ut),Ja&&Ja(Ut),Qe&&Qe(Ut,Fn),ka&&!Lt(Pt,Ut,wn)&&!(dn!=null&&dn(Ut))&&ka(Ut))},Ma=function(Ut){if(To.includes(Ln)){var Fn,Ba,za=Ln==="date";switch(Ut===Yt.Z.PAGE_UP||Ut===Yt.Z.PAGE_DOWN?Ba=za?Pt.addMonth:Pt.addYear:Ba=za?Pt.addDate:Pt.addMonth,Ut){case Yt.Z.LEFT:case Yt.Z.PAGE_UP:Fn=Ba(aa,-1);break;case Yt.Z.RIGHT:case Yt.Z.PAGE_DOWN:Fn=Ba(aa,1);break;case Yt.Z.UP:case Yt.Z.DOWN:Fn=Ba(aa,Number("".concat(Ut===Yt.Z.UP?"-":"").concat(za?ze:Ko)));break}if(Fn)return!(dn!=null&&dn(Fn))}return!0},Co=function(Ut){if(cn.current&&cn.current.onKeyDown){var Fn=!0,Ba=Ut.which;if([Yt.Z.LEFT,Yt.Z.RIGHT,Yt.Z.UP,Yt.Z.DOWN,Yt.Z.PAGE_UP,Yt.Z.PAGE_DOWN,Yt.Z.ENTER].includes(Ba)&&(Ut.preventDefault(),Ba!==Yt.Z.ENTER&&Gn===0&&(Fn=Ma(Ba))),Fn)return cn.current.onKeyDown(Ut)}return(0,Te.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Va=function(Ut){cn.current&&cn.current.onBlur&&cn.current.onBlur(Ut)};qe&&Gt!=="right"&&(qe.current={onKeyDown:Co,onClose:function(){cn.current&&cn.current.onClose&&cn.current.onClose()}}),ne.useEffect(function(){Mt&&!on.current&&La(Mt)},[Mt]),ne.useEffect(function(){on.current=!1},[]);var Sa,No=va({cellRender:de,monthCellRender:ar,dateRender:sr}),ma=(0,It.Z)((0,It.Z)({},re),{},{cellRender:No,operationRef:cn,prefixCls:Ne,viewDate:aa,value:wn,onViewDateChange:On,sourceMode:Qn,onPanelChange:Ra,disabledDate:dn});switch(delete ma.onChange,delete ma.onSelect,Ln){case"decade":Sa=ne.createElement(wr,(0,ae.Z)({},ma,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}}));break;case"year":Sa=ne.createElement(fr,(0,ae.Z)({},ma,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}}));break;case"month":Sa=ne.createElement(ri,(0,ae.Z)({},ma,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}}));break;case"quarter":Sa=ne.createElement(ua,(0,ae.Z)({},ma,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}}));break;case"week":Sa=ne.createElement(qn,(0,ae.Z)({},ma,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}}));break;case"time":delete ma.showTime,Sa=ne.createElement(Sr,(0,ae.Z)({},ma,(0,_t.Z)(Wn)==="object"?Wn:null,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}}));break;default:Wn?Sa=ne.createElement($r,(0,ae.Z)({},ma,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}})):Sa=ne.createElement(ko,(0,ae.Z)({},ma,{onSelect:function(Ut,Fn){On(Ut),Ha(Ut,Fn)}}))}var mo,ao,Xo=function(){var Ut=Pt.getNow(),Fn=At(Pt.getHour(Ut),Pt.getMinute(Ut),Pt.getSecond(Ut),Pe?no:1,Ee?Oo:1,Oe?So:1),Ba=Ke(Pt,Ut,Fn[0],Fn[1],Fn[2]);Ha(Ba,"submit")};$e||(mo=Ka(Ne,Ln,$n),Wn&&Ln!=="date"?ao=null:ao=co({prefixCls:Ne,components:Jo,needConfirmButton:ue,okDisabled:!wn||dn&&dn(wn),locale:bt,showNow:Mn,onNow:ue&&Xo,onOk:function(){wn&&(Ha(wn,"submit",!0),Fo&&Fo(wn))}}));var fa;if(ta&&Ln==="date"&&jt==="date"&&!Wn){var sa=Pt.getNow(),da="".concat(Ne,"-today-btn"),ea=dn&&dn(sa);fa=ne.createElement("a",{className:Fe()(da,ea&&"".concat(da,"-disabled")),"aria-disabled":ea,onClick:function(){ea||Ha(sa,"mouse",!0)}},bt.today)}return ne.createElement(Sn.Provider,{value:(0,It.Z)((0,It.Z)({},ke),{},{mode:Ln,hideHeader:"hideHeader"in re?In:ke.hideHeader,hidePrevBtn:ct&&Gt==="right",hideNextBtn:ct&&Gt==="left"})},ne.createElement("div",{tabIndex:Gn,className:Fe()("".concat(Ne,"-panel"),_e,(se={},(0,xe.Z)(se,"".concat(Ne,"-panel-has-range"),Ht&&Ht[0]&&Ht[1]),(0,xe.Z)(se,"".concat(Ne,"-panel-has-range-hover"),Kt&&Kt[0]&&Kt[1]),(0,xe.Z)(se,"".concat(Ne,"-panel-rtl"),yo==="rtl"),se)),style:je,onKeyDown:Co,onBlur:Va,onMouseDown:ro},Sa,mo||ao||fa?ne.createElement("div",{className:"".concat(Ne,"-footer")},mo,ao,fa):null))}var ho=so,nr=te(35593),Ro={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 Wr(re){var se,ce=re.prefixCls,Ae=re.popupElement,Ne=re.popupStyle,_e=re.visible,je=re.dropdownClassName,bt=re.dropdownAlign,Pt=re.transitionName,Mt=re.getPopupContainer,bn=re.children,Wt=re.range,$t=re.popupPlacement,dn=re.direction,gn="".concat(ce,"-dropdown"),yt=function(){return $t!==void 0?$t:dn==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(nr.Z,{showAction:[],hideAction:[],popupPlacement:yt(),builtinPlacements:Ro,prefixCls:gn,popupTransitionName:Pt,popup:Ae,popupAlign:bt,popupVisible:_e,popupClassName:Fe()(je,(se={},(0,xe.Z)(se,"".concat(gn,"-range"),Wt),(0,xe.Z)(se,"".concat(gn,"-rtl"),dn==="rtl"),se)),popupStyle:Ne,getPopupContainer:Mt},bn)}var Zr=Wr;function ui(re){var se=re.prefixCls,ce=re.presets,Ae=re.onClick,Ne=re.onHover;return ce.length?ne.createElement("div",{className:"".concat(se,"-presets")},ne.createElement("ul",null,ce.map(function(_e,je){var bt=_e.label,Pt=_e.value;return ne.createElement("li",{key:je,onClick:function(){return Ae==null?void 0:Ae(Ga(Pt))},onMouseEnter:function(){return Ne==null?void 0:Ne(Ga(Pt))},onMouseLeave:function(){return Ne==null?void 0:Ne(null)}},bt)}))):null}function Ki(re){var se=re.picker,ce=re.disabledHours,Ae=re.disabledMinutes,Ne=re.disabledSeconds;se==="time"&&(ce||Ae||Ne)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function mi(re,se,ce){var Ae=(0,_t.Z)(se)==="object"?se.clearIcon:ce;return Ae||ne.createElement("span",{className:"".concat(re,"-clear-btn")})}function Gr(re){var se,ce=re,Ae=ce.prefixCls,Ne=Ae===void 0?"rc-picker":Ae,_e=ce.id,je=ce.name,bt=ce.tabIndex,Pt=ce.style,Mt=ce.className,bn=ce.dropdownClassName,Wt=ce.dropdownAlign,$t=ce.popupStyle,dn=ce.transitionName,gn=ce.generateConfig,yt=ce.locale,jt=ce.inputReadOnly,mn=ce.allowClear,Gn=ce.autoFocus,Mn=ce.showTime,Wn=ce.picker,ta=Wn===void 0?"date":Wn,$n=ce.format,In=ce.use12Hours,Ja=ce.value,ka=ce.defaultValue,Xa=ce.presets,ro=ce.open,xo=ce.defaultOpen,Fo=ce.defaultOpenValue,Jo=ce.suffixIcon,yo=ce.clearIcon,eo=ce.disabled,no=ce.disabledDate,Lo=ce.placeholder,Oo=ce.getPopupContainer,uo=ce.pickerRef,So=ce.panelRender,sr=ce.onChange,ar=ce.onOpenChange,de=ce.onFocus,ue=ce.onBlur,Pe=ce.onMouseDown,Ee=ce.onMouseUp,Oe=ce.onMouseEnter,ke=ce.onMouseLeave,qe=ce.onContextMenu,Qe=ce.onClick,$e=ce.onKeyDown,ft=ce.onSelect,st=ce.direction,ct=ce.autoComplete,Gt=ct===void 0?"off":ct,Ht=ce.inputRender,Kt=ce.changeOnBlur,cn=ne.useRef(null),on=ta==="date"&&!!Mn||ta==="time",xn=Ve(Xa),vn=wa(Bn($n,ta,Mn,In)),wn=ne.useRef(null),na=ne.useRef(null),la=ne.useRef(null),jn=(0,An.Z)(null,{value:Ja,defaultValue:ka}),aa=(0,xt.Z)(jn,2),La=aa[0],On=aa[1],Vn=ne.useState(La),Rn=(0,xt.Z)(Vn,2),Cn=Rn[0],Ln=Rn[1],oa=ne.useRef(null),Ia=(0,An.Z)(!1,{value:ro,defaultValue:xo,postState:function(ha){return eo?!1:ha},onChange:function(ha){ar&&ar(ha),!ha&&oa.current&&oa.current.onClose&&oa.current.onClose()}}),Na=(0,xt.Z)(Ia,2),Qn=Na[0],Oa=Na[1],Ra=zt(Cn,{formatList:vn,generateConfig:gn,locale:yt}),Ha=(0,xt.Z)(Ra,2),Ma=Ha[0],Co=Ha[1],Va=Ye({valueTexts:Ma,onTextChange:function(ha){var qo=lt(ha,{locale:yt,formatList:vn,generateConfig:gn});qo&&(!no||!no(qo))&&Ln(qo)}}),Sa=(0,xt.Z)(Va,3),No=Sa[0],ma=Sa[1],mo=Sa[2],ao=function(ha){Ln(ha),On(ha),sr&&!Lt(gn,La,ha)&&sr(ha,ha?We(ha,{generateConfig:gn,locale:yt,format:vn[0]}):"")},Xo=function(ha){eo&&ha||Oa(ha)},fa=function(ha){return Qn&&oa.current&&oa.current.onKeyDown?oa.current.onKeyDown(ha):((0,Te.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},sa=function(){for(var ha=arguments.length,qo=new Array(ha),pr=0;pr<ha;pr++)qo[pr]=arguments[pr];Qe==null||Qe.apply(void 0,qo),cn.current&&(cn.current.focus(),Xo(!0))},da=function(ha){Kt&&ao(Cn),ue==null||ue(ha)},ea=Kn({blurToCancel:on,open:Qn,value:No,triggerOpen:Xo,forwardKeyDown:fa,isClickOutside:function(ha){return!Ca([wn.current,na.current,la.current],ha)},onSubmit:function(){return!Cn||no&&no(Cn)?!1:(ao(Cn),Xo(!1),mo(),!0)},onCancel:function(){Xo(!1),Ln(La),mo()},onKeyDown:function(ha,qo){$e==null||$e(ha,qo)},onFocus:de,onBlur:da,changeOnBlur:Kt}),Hn=(0,xt.Z)(ea,2),Ut=Hn[0],Fn=Hn[1],Ba=Fn.focused,za=Fn.typing;ne.useEffect(function(){Qn||(Ln(La),!Ma.length||Ma[0]===""?ma(""):Co!==No&&mo())},[Qn,Ma]),ne.useEffect(function(){Qn||mo()},[ta]),ne.useEffect(function(){Ln(La)},[La]),uo&&(uo.current={focus:function(){var ha;(ha=cn.current)===null||ha===void 0||ha.focus()},blur:function(){var ha;(ha=cn.current)===null||ha===void 0||ha.blur()}});var dr=en(No,{formatList:vn,generateConfig:gn,locale:yt}),or=(0,xt.Z)(dr,3),Or=or[0],Zo=or[1],Mo=or[2],ga=(0,It.Z)((0,It.Z)({},re),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),vr=ne.createElement("div",{className:"".concat(Ne,"-panel-layout")},ne.createElement(ui,{prefixCls:Ne,presets:xn,onClick:function(ha){ao(ha),Xo(!1)}}),ne.createElement(ho,(0,ae.Z)({},ga,{generateConfig:gn,className:Fe()((0,xe.Z)({},"".concat(Ne,"-panel-focused"),!za)),value:Cn,locale:yt,tabIndex:-1,onSelect:function(ha){ft==null||ft(ha),Ln(ha)},direction:st,onPanelChange:function(ha,qo){var pr=re.onPanelChange;Mo(!0),pr==null||pr(ha,qo)}})));So&&(vr=So(vr));var Pr=ne.createElement("div",{className:"".concat(Ne,"-panel-container"),ref:wn,onMouseDown:function(ha){ha.preventDefault()}},vr),io;Jo&&(io=ne.createElement("span",{className:"".concat(Ne,"-suffix"),onMouseDown:function(ha){ha.preventDefault()}},Jo));var fo=mi(Ne,mn,yo),zo=ne.createElement("span",{onMouseDown:function(ha){ha.preventDefault(),ha.stopPropagation()},onMouseUp:function(ha){ha.preventDefault(),ha.stopPropagation(),ao(null),Xo(!1)},className:"".concat(Ne,"-clear"),role:"button"},fo),er=!!mn&&La&&!eo,Qo=(0,It.Z)((0,It.Z)((0,It.Z)({id:_e,tabIndex:bt,disabled:eo,readOnly:jt||typeof vn[0]=="function"||!za,value:Or||No,onChange:function(ha){ma(ha.target.value)},autoFocus:Gn,placeholder:Lo,ref:cn,title:No},Ut),{},{size:Da(ta,vn[0],gn),name:je},(0,Nn.Z)(re,{aria:!0,data:!0})),{},{autoComplete:Gt}),Ua=Ht?Ht(Qo):ne.createElement("input",Qo),yr=function(ha,qo){(qo==="submit"||qo!=="key"&&!on)&&(ao(ha),Xo(!1))},gr=st==="rtl"?"bottomRight":"bottomLeft";return ne.createElement(Sn.Provider,{value:{operationRef:oa,hideHeader:ta==="time",onSelect:yr,open:Qn,defaultOpenValue:Fo,onDateMouseEnter:Zo,onDateMouseLeave:Mo}},ne.createElement(Zr,{visible:Qn,popupElement:Pr,popupStyle:$t,prefixCls:Ne,dropdownClassName:bn,dropdownAlign:Wt,getPopupContainer:Oo,transitionName:dn,popupPlacement:gr,direction:st},ne.createElement("div",{ref:la,className:Fe()(Ne,Mt,(se={},(0,xe.Z)(se,"".concat(Ne,"-disabled"),eo),(0,xe.Z)(se,"".concat(Ne,"-focused"),Ba),(0,xe.Z)(se,"".concat(Ne,"-rtl"),st==="rtl"),se)),style:Pt,onMouseDown:Pe,onMouseUp:Ee,onMouseEnter:Oe,onMouseLeave:ke,onContextMenu:qe,onClick:sa},ne.createElement("div",{className:Fe()("".concat(Ne,"-input"),(0,xe.Z)({},"".concat(Ne,"-input-placeholder"),!!Or)),ref:na},Ua,io,er&&zo))))}var Ni=function(re){(0,mt.Z)(ce,re);var se=(0,rn.Z)(ce);function ce(){var Ae;(0,Ue.Z)(this,ce);for(var Ne=arguments.length,_e=new Array(Ne),je=0;je<Ne;je++)_e[je]=arguments[je];return Ae=se.call.apply(se,[this].concat(_e)),(0,xe.Z)((0,sn.Z)(Ae),"pickerRef",ne.createRef()),(0,xe.Z)((0,sn.Z)(Ae),"focus",function(){Ae.pickerRef.current&&Ae.pickerRef.current.focus()}),(0,xe.Z)((0,sn.Z)(Ae),"blur",function(){Ae.pickerRef.current&&Ae.pickerRef.current.blur()}),Ae}return(0,Et.Z)(ce,[{key:"render",value:function(){return ne.createElement(Gr,(0,ae.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ce}(ne.Component),Di=Ni;function xi(re,se){var ce=re.picker,Ae=re.locale,Ne=re.selectedValue,_e=re.disabledDate,je=re.disabled,bt=re.generateConfig,Pt=ia(Ne,0),Mt=ia(Ne,1);function bn(yt){return bt.locale.getWeekFirstDate(Ae.locale,yt)}function Wt(yt){var jt=bt.getYear(yt),mn=bt.getMonth(yt);return jt*100+mn}function $t(yt){var jt=bt.getYear(yt),mn=Ie(bt,yt);return jt*10+mn}var dn=ne.useCallback(function(yt){if(je[0]||_e&&_e(yt))return!0;if(je[1]&&Mt)return!Ge(bt,yt,Mt)&&bt.isAfter(yt,Mt);if(!se&&Mt)switch(ce){case"quarter":return $t(yt)>$t(Mt);case"month":return Wt(yt)>Wt(Mt);case"week":return bn(yt)>bn(Mt);default:return!Ge(bt,yt,Mt)&&bt.isAfter(yt,Mt)}return!1},[_e,je[1],Mt,se]),gn=ne.useCallback(function(yt){if(je[1]||_e&&_e(yt))return!0;if(je[0]&&Pt)return!Ge(bt,yt,Mt)&&bt.isAfter(Pt,yt);if(!se&&Pt)switch(ce){case"quarter":return $t(yt)<$t(Pt);case"month":return Wt(yt)<Wt(Pt);case"week":return bn(yt)<bn(Pt);default:return!Ge(bt,yt,Pt)&&bt.isAfter(Pt,yt)}return!1},[_e,je[0],Pt,se]);return[dn,gn]}var Fi=te(70425),jl=te(6089);function fs(re,se,ce,Ae,Ne,_e,je,bt,Pt,Mt){var bn=ne.useState(!1),Wt=(0,xt.Z)(bn,2),$t=Wt[0],dn=Wt[1],gn=(0,Fi.useMergedState)(re||!1,{value:se}),yt=(0,xt.Z)(gn,2),jt=yt[0],mn=yt[1],Gn=(0,Fi.useMergedState)(re||!1,{value:se,onChange:function(no){Mt==null||Mt(no)}}),Mn=(0,xt.Z)(Gn,2),Wn=Mn[0],ta=Mn[1],$n=(0,Fi.useMergedState)(0,{value:ce}),In=(0,xt.Z)($n,2),Ja=In[0],ka=In[1],Xa=ne.useState(null),ro=(0,xt.Z)(Xa,2),xo=ro[0],Fo=ro[1];ne.useEffect(function(){Wn&&dn(!0)},[Wn]);var Jo=function(no){return no===0?1:0},yo=(0,jl.Z)(function(eo,no,Lo){if(no===!1)ta(eo);else if(eo){ka(no),ta(eo);var Oo=Jo(no);!Wn||![je,bt][Oo]?Fo(Oo):(dn(!1),xo!==null&&Fo(null))}else if(Lo==="confirm"||Lo==="blur"&&Ae){var uo=jt?Jo(no):xo;uo!==null&&(dn(!1),ka(uo)),Fo(null),uo!==null&&!Pt[uo]?(0,ln.Z)(function(){var So,sr=[Ne,_e][uo];(So=sr.current)===null||So===void 0||So.focus()}):ta(!1)}else ta(!1),mn(!1)});return[Wn,Ja,$t,yo]}function Kl(re,se,ce,Ae){var Ne=we(re,ce,Ae,1);function _e(je){return je(re,se)?"same":je(Ne,se)?"closing":"far"}switch(ce){case"year":return _e(function(je,bt){return Se(Ae,je,bt)});case"quarter":case"month":return _e(function(je,bt){return pe(Ae,je,bt)});default:return _e(function(je,bt){return he(Ae,je,bt)})}}function fi(re,se,ce,Ae){var Ne=ia(re,0),_e=ia(re,1);if(se===0)return Ne;if(Ne&&_e){var je=Kl(Ne,_e,ce,Ae);switch(je){case"same":return Ne;case"closing":return Ne;default:return we(_e,ce,Ae,-1)}}return Ne}function Wl(re){var se=re.values,ce=re.picker,Ae=re.defaultDates,Ne=re.generateConfig,_e=ne.useState(function(){return[ia(Ae,0),ia(Ae,1)]}),je=(0,xt.Z)(_e,2),bt=je[0],Pt=je[1],Mt=ne.useState(null),bn=(0,xt.Z)(Mt,2),Wt=bn[0],$t=bn[1],dn=ia(se,0),gn=ia(se,1);function yt(mn){return bt[mn]?bt[mn]:ia(Wt,mn)||fi(se,mn,ce,Ne)||dn||gn||Ne.getNow()}function jt(mn,Gn){if(mn){var Mn=tn(Wt,mn,Gn);Pt(tn(bt,null,Gn)||[null,null]);var Wn=(Gn+1)%2;ia(se,Wn)||(Mn=tn(Mn,mn,Wn)),$t(Mn)}else(dn||gn)&&$t(null)}return[yt,jt]}function Wi(re,se){return re&&re[0]&&re[1]&&se.isAfter(re[0],re[1])?[re[1],re[0]]:re}function Vi(re,se,ce,Ae){return!!(re||Ae&&Ae[se]||ce[(se+1)%2])}function Vl(re){var se,ce,Ae,Ne=re,_e=Ne.prefixCls,je=_e===void 0?"rc-picker":_e,bt=Ne.id,Pt=Ne.style,Mt=Ne.className,bn=Ne.popupStyle,Wt=Ne.dropdownClassName,$t=Ne.transitionName,dn=Ne.dropdownAlign,gn=Ne.getPopupContainer,yt=Ne.generateConfig,jt=Ne.locale,mn=Ne.placeholder,Gn=Ne.autoFocus,Mn=Ne.disabled,Wn=Ne.format,ta=Ne.picker,$n=ta===void 0?"date":ta,In=Ne.showTime,Ja=Ne.use12Hours,ka=Ne.separator,Xa=ka===void 0?"~":ka,ro=Ne.value,xo=Ne.defaultValue,Fo=Ne.defaultPickerValue,Jo=Ne.open,yo=Ne.defaultOpen,eo=Ne.disabledDate,no=Ne.disabledTime,Lo=Ne.dateRender,Oo=Ne.monthCellRender,uo=Ne.cellRender,So=Ne.panelRender,sr=Ne.presets,ar=Ne.ranges,de=Ne.allowEmpty,ue=Ne.allowClear,Pe=Ne.suffixIcon,Ee=Ne.clearIcon,Oe=Ne.pickerRef,ke=Ne.inputReadOnly,qe=Ne.mode,Qe=Ne.renderExtraFooter,$e=Ne.onChange,ft=Ne.onOpenChange,st=Ne.onPanelChange,ct=Ne.onCalendarChange,Gt=Ne.onFocus,Ht=Ne.onBlur,Kt=Ne.onMouseDown,cn=Ne.onMouseUp,on=Ne.onMouseEnter,xn=Ne.onMouseLeave,vn=Ne.onClick,wn=Ne.onOk,na=Ne.onKeyDown,la=Ne.components,jn=Ne.order,aa=Ne.direction,La=Ne.activePickerIndex,On=Ne.autoComplete,Vn=On===void 0?"off":On,Rn=Ne.changeOnBlur,Cn=$n==="date"&&!!In||$n==="time",Ln=(0,ne.useRef)(null),oa=(0,ne.useRef)(null),Ia=(0,ne.useRef)(null),Na=(0,ne.useRef)(null),Qn=(0,ne.useRef)(null),Oa=(0,ne.useRef)(null),Ra=(0,ne.useRef)(null),Ha=(0,ne.useRef)(null),Ma=wa(Bn(Wn,$n,In,Ja)),Co=(0,ne.useRef)(null),Va=ne.useMemo(function(){return Array.isArray(Mn)?Mn:[Mn||!1,Mn||!1]},[Mn]),Sa=(0,An.Z)(null,{value:ro,defaultValue:xo,postState:function(Pa){return $n==="time"&&!jn?Pa:Wi(Pa,yt)}}),No=(0,xt.Z)(Sa,2),ma=No[0],mo=No[1],ao=Wl({values:ma,picker:$n,defaultDates:Fo,generateConfig:yt}),Xo=(0,xt.Z)(ao,2),fa=Xo[0],sa=Xo[1],da=(0,An.Z)(ma,{postState:function(Pa){var Za=Pa;if(Va[0]&&Va[1])return Za;for(var Ao=0;Ao<2;Ao+=1)Va[Ao]&&!Za&&!ia(Za,Ao)&&!ia(de,Ao)&&(Za=tn(Za,yt.getNow(),Ao));return Za}}),ea=(0,xt.Z)(da,2),Hn=ea[0],Ut=ea[1],Fn=(0,An.Z)([$n,$n],{value:qe}),Ba=(0,xt.Z)(Fn,2),za=Ba[0],dr=Ba[1];(0,ne.useEffect)(function(){dr([$n,$n])},[$n]);var or=function(Pa,Za){dr(Pa),st&&st(Za,Pa)},Or=fs(yo,Jo,La,Rn,Oa,Ra,ia(Hn,0),ia(Hn,1),Va,ft),Zo=(0,xt.Z)(Or,4),Mo=Zo[0],ga=Zo[1],vr=Zo[2],Pr=Zo[3],io=Mo&&ga===0,fo=Mo&&ga===1,zo=xi({picker:$n,selectedValue:Hn,locale:jt,disabled:Va,disabledDate:eo,generateConfig:yt},!Mo||vr),er=(0,xt.Z)(zo,2),Qo=er[0],Ua=er[1],yr=(0,ne.useState)(0),gr=(0,xt.Z)(yr,2),vo=gr[0],ha=gr[1];(0,ne.useEffect)(function(){!Mo&&Ln.current&&ha(Ln.current.offsetWidth)},[Mo]);function qo(wo){Pr(!0,wo,"open"),(0,ln.Z)(function(){var Pa,Za=[Oa,Ra][wo];(Pa=Za.current)===null||Pa===void 0||Pa.focus()},0)}function pr(wo,Pa){var Za=wo,Ao=ia(Za,0),rr=ia(Za,1);Ao&&rr&&yt.isAfter(Ao,rr)&&($n==="week"&&!Ct(yt,jt.locale,Ao,rr)||$n==="quarter"&&!Le(yt,Ao,rr)||$n!=="week"&&$n!=="quarter"&&$n!=="time"&&!Ge(yt,Ao,rr)?Pa===0?(Za=[Ao,null],rr=null):(Ao=null,Za=[null,rr]):($n!=="time"||jn!==!1)&&(Za=Wi(Za,yt))),Ut(Za);var ji=Za&&Za[0]?We(Za[0],{generateConfig:yt,locale:jt,format:Ma[0]}):"",ni=Za&&Za[1]?We(Za[1],{generateConfig:yt,locale:jt,format:Ma[0]}):"";if(ct){var Pi={range:Pa===0?"start":"end"};ct(Za,[ji,ni],Pi)}var yi=Vi(Ao,0,Va,de),yl=Vi(rr,1,Va,de),Ai=Za===null||yi&&yl;Ai&&(mo(Za),$e&&(!Lt(yt,ia(ma,0),Ao)||!Lt(yt,ia(ma,1),rr))&&$e(Za,[ji,ni]))}var _r=function(Pa){return Mo&&Co.current&&Co.current.onKeyDown?Co.current.onKeyDown(Pa):((0,Te.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Rr={formatList:Ma,generateConfig:yt,locale:jt},Dr=zt(ia(Hn,0),Rr),Er=(0,xt.Z)(Dr,2),tr=Er[0],Vo=Er[1],Jr=zt(ia(Hn,1),Rr),oi=(0,xt.Z)(Jr,2),Vr=oi[0],Xr=oi[1],Li=function(Pa,Za){var Ao=lt(Pa,{locale:jt,formatList:Ma,generateConfig:yt}),rr=Za===0?Qo:Ua;Ao&&!rr(Ao)&&(Ut(tn(Hn,Ao,Za)),sa(Ao,Za))},al=Ye({valueTexts:tr,onTextChange:function(Pa){return Li(Pa,0)}}),qa=(0,xt.Z)(al,3),Bo=qa[0],hr=qa[1],Go=qa[2],Lr=Ye({valueTexts:Vr,onTextChange:function(Pa){return Li(Pa,1)}}),Br=(0,xt.Z)(Lr,3),br=Br[0],Qr=Br[1],ol=Br[2],os=(0,ne.useState)(null),rl=(0,xt.Z)(os,2),rs=rl[0],Rl=rl[1],Ri=(0,ne.useState)(null),si=(0,xt.Z)(Ri,2),di=si[0],Ml=si[1],Tl=en(Bo,{formatList:Ma,generateConfig:yt,locale:jt}),il=(0,xt.Z)(Tl,3),ll=il[0],Mi=il[1],Ti=il[2],is=en(br,{formatList:Ma,generateConfig:yt,locale:jt}),zi=(0,xt.Z)(is,3),sl=zi[0],ls=zi[1],dl=zi[2],ss=function(Pa){Ml(tn(Hn,Pa,ga)),ga===0?Mi(Pa):ls(Pa)},zl=function(){Ml(tn(Hn,null,ga)),ga===0?Ti():dl()},Hi=ne.useState(Mo),Zi=(0,xt.Z)(Hi,2),gl=Zi[0],Hl=Zi[1];ne.useEffect(function(){Hl(Mo)},[Mo]);var Zl=function(Pa){if(Rn&&gl){var Za=ia(Hn,ga);Za&&pr(Hn,ga)}return Ht==null?void 0:Ht(Pa)},cl=function(Pa,Za){return{blurToCancel:!Rn&&Cn,forwardKeyDown:_r,onBlur:Zl,isClickOutside:function(rr){return!Ca([oa.current,Ia.current,Na.current,Ln.current],rr)},onFocus:function(rr){Gt&&Gt(rr)},triggerOpen:function(rr){rr?Pr(rr,Pa,"open"):Pr(rr,ia(Hn,Pa)?Pa:!1,"blur")},onSubmit:function(){if(!Hn||eo&&eo(Hn[Pa]))return!1;pr(Hn,Pa),Za(),Pr(!1,ga,"confirm")},onCancel:function(){Pr(!1,Pa,"cancel"),Ut(ma),Za()}}},ul={onKeyDown:function(Pa,Za){na==null||na(Pa,Za)},changeOnBlur:Rn},ds=Kn((0,It.Z)((0,It.Z)({},cl(0,Go)),{},{open:io,value:Bo},ul)),ml=(0,xt.Z)(ds,2),fl=ml[0],vl=ml[1],Gi=vl.focused,pl=vl.typing,gs=Kn((0,It.Z)((0,It.Z)({},cl(1,ol)),{},{open:fo,value:br},ul)),Po=(0,xt.Z)(gs,2),jo=Po[0],Mr=Po[1],ei=Mr.focused,ti=Mr.typing,Gl=function(Pa){vn&&vn(Pa),!Mo&&!Oa.current.contains(Pa.target)&&!Ra.current.contains(Pa.target)&&(Va[0]?Va[1]||qo(1):qo(0))},hl=function(Pa){Kt&&Kt(Pa),Mo&&(Gi||ei)&&!Oa.current.contains(Pa.target)&&!Ra.current.contains(Pa.target)&&Pa.preventDefault()},Sl=ma&&ma[0]?We(ma[0],{locale:jt,format:"YYYYMMDDHHmmss",generateConfig:yt}):"",Pl=ma&&ma[1]?We(ma[1],{locale:jt,format:"YYYYMMDDHHmmss",generateConfig:yt}):"";(0,ne.useEffect)(function(){Mo||(Ut(ma),!tr.length||tr[0]===""?hr(""):Vo!==Bo&&Go(),!Vr.length||Vr[0]===""?Qr(""):Xr!==br&&ol())},[Mo,tr,Vr]),(0,ne.useEffect)(function(){Ut(ma)},[Sl,Pl]);var Bi=va({cellRender:uo,monthCellRender:Oo,dateRender:Lo}),bs=ne.useMemo(function(){if(Bi)return function(wo,Pa){return Bi(wo,(0,It.Z)((0,It.Z)({},Pa),{},{range:ga?"end":"start"}))}},[ga,Bi]);Oe&&(Oe.current={focus:function(){Oa.current&&Oa.current.focus()},blur:function(){Oa.current&&Oa.current.blur(),Ra.current&&Ra.current.blur()}});var xs=Ve(sr,ar);function cs(){var wo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Pa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Za=null;Mo&&di&&di[0]&&di[1]&&yt.isAfter(di[1],di[0])&&(Za=di);var Ao=In;if(In&&(0,_t.Z)(In)==="object"&&In.defaultValue){var rr=In.defaultValue;Ao=(0,It.Z)((0,It.Z)({},In),{},{defaultValue:ia(rr,ga)||void 0})}return ne.createElement($a.Provider,{value:{inRange:!0,panelPosition:wo,rangedValue:rs||Hn,hoverRangedValue:Za}},ne.createElement(ho,(0,ae.Z)({},re,Pa,{cellRender:bs,showTime:Ao,mode:za[ga],generateConfig:yt,style:void 0,direction:aa,disabledDate:ga===0?Qo:Ua,disabledTime:function(ni){return no?no(ni,ga===0?"start":"end"):!1},className:Fe()((0,xe.Z)({},"".concat(je,"-panel-focused"),ga===0?!pl:!ti)),value:ia(Hn,ga),locale:jt,tabIndex:-1,onPanelChange:function(ni,Pi){ga===0&&Ti(!0),ga===1&&dl(!0),or(tn(za,Pi,ga),tn(Hn,ni,ga));var yi=ni;wo==="right"&&za[ga]===Pi&&(yi=we(yi,Pi,yt,-1)),sa(yi,ga)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:ga===0?ia(Hn,1):ia(Hn,0)})))}var Si=0,ps=0;if(ga&&Ia.current&&Qn.current&&oa.current&&Ha.current){Si=Ia.current.offsetWidth+Qn.current.offsetWidth;var Cs=Ha.current.offsetLeft>Si?Ha.current.offsetLeft-Si:Ha.current.offsetLeft,hs=oa.current.offsetWidth,Ss=Ha.current.offsetWidth;hs&&Ss&&Si>hs-Ss-(aa==="rtl"?0:Cs)&&(ps=Si)}var ws=aa==="rtl"?{right:Si}:{left:Si};function Es(){var wo,Pa=Ka(je,za[ga],Qe),Za=co({prefixCls:je,components:la,needConfirmButton:Cn,okDisabled:!ia(Hn,ga)||eo&&eo(Hn[ga]),locale:jt,onOk:function(){var ai=ia(Hn,ga);ai&&(pr(Hn,ga),wn==null||wn(Hn),Pr(!1,ga,"confirm"))}});if($n!=="time"&&!In){var Ao=fa(ga),rr=we(Ao,$n,yt),ji=za[ga],ni=ji===$n,Pi=cs(ni?"left":!1,{pickerValue:Ao,onPickerValueChange:function(ai){sa(ai,ga)}}),yi=cs("right",{pickerValue:rr,onPickerValueChange:function(ai){sa(we(ai,$n,yt,-1),ga)}});aa==="rtl"?wo=ne.createElement(ne.Fragment,null,yi,ni&&Pi):wo=ne.createElement(ne.Fragment,null,Pi,ni&&yi)}else wo=cs();var yl=ne.createElement("div",{className:"".concat(je,"-panel-layout")},ne.createElement(ui,{prefixCls:je,presets:xs,onClick:function(ai){pr(ai,null),Pr(!1,ga,"preset")},onHover:function(ai){Rl(ai)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(je,"-panels")},wo),(Pa||Za)&&ne.createElement("div",{className:"".concat(je,"-footer")},Pa,Za)));return So&&(yl=So(yl)),ne.createElement("div",{className:"".concat(je,"-panel-container"),style:{marginLeft:ps},ref:oa,onMouseDown:function(ai){ai.preventDefault()}},yl)}var Ls=ne.createElement("div",{className:Fe()("".concat(je,"-range-wrapper"),"".concat(je,"-").concat($n,"-range-wrapper")),style:{minWidth:vo}},ne.createElement("div",{ref:Ha,className:"".concat(je,"-range-arrow"),style:ws}),Es()),Ps;Pe&&(Ps=ne.createElement("span",{className:"".concat(je,"-suffix"),onMouseDown:function(Pa){Pa.preventDefault()}},Pe));var Bs=mi(je,ue,Ee),As=ne.createElement("span",{onMouseDown:function(Pa){Pa.preventDefault(),Pa.stopPropagation()},onMouseUp:function(Pa){Pa.preventDefault(),Pa.stopPropagation();var Za=ma;Va[0]||(Za=tn(Za,null,0)),Va[1]||(Za=tn(Za,null,1)),pr(Za,null),Pr(!1,ga,"clear")},className:"".concat(je,"-clear"),role:"button"},Bs),Ns=ue&&(ia(ma,0)&&!Va[0]||ia(ma,1)&&!Va[1]),ys={size:Da($n,Ma[0],yt)},us=0,ms=0;Ia.current&&Na.current&&Qn.current&&(ga===0?ms=Ia.current.offsetWidth:(us=Si,ms=Na.current.offsetWidth));var Ds=aa==="rtl"?{right:us}:{left:us},Fs=function(Pa,Za){var Ao=tn(Hn,Pa,ga);if(Za==="submit"||Za!=="key"&&!Cn){pr(Ao,ga),ga===0?Ti():dl();var rr=ga===0?1:0;Va[rr]?Pr(!1,!1,"confirm"):Pr(!1,ga,"confirm")}else Ut(Ao)};return ne.createElement(Sn.Provider,{value:{operationRef:Co,hideHeader:$n==="time",onDateMouseEnter:ss,onDateMouseLeave:zl,hideRanges:!0,onSelect:Fs,open:Mo}},ne.createElement(Zr,{visible:Mo,popupElement:Ls,popupStyle:bn,prefixCls:je,dropdownClassName:Wt,dropdownAlign:dn,getPopupContainer:gn,transitionName:$t,range:!0,direction:aa},ne.createElement("div",(0,ae.Z)({ref:Ln,className:Fe()(je,"".concat(je,"-range"),Mt,(se={},(0,xe.Z)(se,"".concat(je,"-disabled"),Va[0]&&Va[1]),(0,xe.Z)(se,"".concat(je,"-focused"),ga===0?Gi:ei),(0,xe.Z)(se,"".concat(je,"-rtl"),aa==="rtl"),se)),style:Pt,onClick:Gl,onMouseEnter:on,onMouseLeave:xn,onMouseDown:hl,onMouseUp:cn},(0,Nn.Z)(re,{aria:!0,data:!0})),ne.createElement("div",{className:Fe()("".concat(je,"-input"),(ce={},(0,xe.Z)(ce,"".concat(je,"-input-active"),ga===0),(0,xe.Z)(ce,"".concat(je,"-input-placeholder"),!!ll),ce)),ref:Ia},ne.createElement("input",(0,ae.Z)({id:bt,disabled:Va[0],readOnly:ke||typeof Ma[0]=="function"||!pl,value:ll||Bo,onChange:function(Pa){hr(Pa.target.value)},autoFocus:Gn,placeholder:ia(mn,0)||"",ref:Oa},fl,ys,{autoComplete:Vn}))),ne.createElement("div",{className:"".concat(je,"-range-separator"),ref:Qn},Xa),ne.createElement("div",{className:Fe()("".concat(je,"-input"),(Ae={},(0,xe.Z)(Ae,"".concat(je,"-input-active"),ga===1),(0,xe.Z)(Ae,"".concat(je,"-input-placeholder"),!!sl),Ae)),ref:Na},ne.createElement("input",(0,ae.Z)({disabled:Va[1],readOnly:ke||typeof Ma[0]=="function"||!ti,value:sl||br,onChange:function(Pa){Qr(Pa.target.value)},placeholder:ia(mn,1)||"",ref:Ra},jo,ys,{autoComplete:Vn}))),ne.createElement("div",{className:"".concat(je,"-active-bar"),style:(0,It.Z)((0,It.Z)({},Ds),{},{width:ms,position:"absolute"})}),Ps,Ns&&As)))}var Ul=function(re){(0,mt.Z)(ce,re);var se=(0,rn.Z)(ce);function ce(){var Ae;(0,Ue.Z)(this,ce);for(var Ne=arguments.length,_e=new Array(Ne),je=0;je<Ne;je++)_e[je]=arguments[je];return Ae=se.call.apply(se,[this].concat(_e)),(0,xe.Z)((0,sn.Z)(Ae),"pickerRef",ne.createRef()),(0,xe.Z)((0,sn.Z)(Ae),"focus",function(){Ae.pickerRef.current&&Ae.pickerRef.current.focus()}),(0,xe.Z)((0,sn.Z)(Ae),"blur",function(){Ae.pickerRef.current&&Ae.pickerRef.current.blur()}),Ae}return(0,Et.Z)(ce,[{key:"render",value:function(){return ne.createElement(Vl,(0,ae.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ce}(ne.Component),Ui=Ul,bl=Di,Ci=te(19080),$i=te(36355),Yi=te(1684),xl=te(19716),Cl=te(32441),wl=te(9763),El=te(33234),Ll=te(48183),wi=te(64993),ii=te(9937),Ji=te(17313),$l=te(47585),Yl=te(74207),li=te(13826),Oi=te(92899),Xi=te(37613),Jl=te(83116);const Yr=(re,se,ce,Ae)=>{const{lineHeight:Ne}=re,_e=Math.floor(ce*Ne)+2,je=Math.max((se-_e)/2,0),bt=Math.max(se-_e-je,0);return{padding:`${je}px ${Ae}px ${bt}px`}},Qi=re=>{const{componentCls:se,pickerCellCls:ce,pickerCellInnerCls:Ae,cellHeight:Ne,motionDurationSlow:_e,borderRadiusSM:je,motionDurationMid:bt,cellHoverBg:Pt,lineWidth:Mt,lineType:bn,colorPrimary:Wt,cellActiveWithRangeBg:$t,colorTextLightSolid:dn,controlHeightSM:gn,cellRangeBorderColor:yt,pickerCellBorderGap:jt,cellHoverWithRangeBg:mn,cellWidth:Gn,colorTextDisabled:Mn,cellBgDisabled:Wn}=re;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ne,transform:"translateY(-50%)",transition:`all ${_e}`,content:'""'},[Ae]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ne,height:Ne,lineHeight:`${Ne}px`,borderRadius:je,transition:`background ${bt}, border ${bt}`},"&-range-hover-start, &-range-hover-end":{[Ae]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ce}-in-view),
|
|
&:hover:not(${ce}-selected):not(${ce}-range-start):not(${ce}-range-end):not(${ce}-range-hover-start):not(${ce}-range-hover-end)`]:{[Ae]:{background:Pt}},[`&-in-view${ce}-today ${Ae}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Mt}px ${bn} ${Wt}`,borderRadius:je,content:'""'}},[`&-in-view${ce}-in-range`]:{position:"relative","&::before":{background:$t}},[`&-in-view${ce}-selected ${Ae},
|
|
&-in-view${ce}-range-start ${Ae},
|
|
&-in-view${ce}-range-end ${Ae}`]:{color:dn,background:Wt},[`&-in-view${ce}-range-start:not(${ce}-range-start-single),
|
|
&-in-view${ce}-range-end:not(${ce}-range-end-single)`]:{"&::before":{background:$t}},[`&-in-view${ce}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ce}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ce}-range-hover-start:not(${ce}-in-range):not(${ce}-range-start):not(${ce}-range-end),
|
|
&-in-view${ce}-range-hover-end:not(${ce}-in-range):not(${ce}-range-start):not(${ce}-range-end),
|
|
&-in-view${ce}-range-hover-start${ce}-range-start-single,
|
|
&-in-view${ce}-range-hover-start${ce}-range-start${ce}-range-end${ce}-range-end-near-hover,
|
|
&-in-view${ce}-range-hover-end${ce}-range-start${ce}-range-end${ce}-range-start-near-hover,
|
|
&-in-view${ce}-range-hover-end${ce}-range-end-single,
|
|
&-in-view${ce}-range-hover:not(${ce}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:gn,borderTop:`${Mt}px dashed ${yt}`,borderBottom:`${Mt}px dashed ${yt}`,transform:"translateY(-50%)",transition:`all ${_e}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:jt},[`&-in-view${ce}-in-range${ce}-range-hover::before,
|
|
&-in-view${ce}-in-range${ce}-range-hover-start::before,
|
|
&-in-view${ce}-in-range${ce}-range-hover-end::before,
|
|
&-in-view${ce}-range-start${ce}-range-hover::before,
|
|
&-in-view${ce}-range-end${ce}-range-hover::before,
|
|
&-in-view${ce}-range-start:not(${ce}-range-start-single)${ce}-range-hover-start::before,
|
|
&-in-view${ce}-range-end:not(${ce}-range-end-single)${ce}-range-hover-end::before,
|
|
${se}-panel
|
|
> :not(${se}-date-panel)
|
|
&-in-view${ce}-in-range${ce}-range-hover-start::before,
|
|
${se}-panel
|
|
> :not(${se}-date-panel)
|
|
&-in-view${ce}-in-range${ce}-range-hover-end::before`]:{background:mn},[`&-in-view${ce}-range-start:not(${ce}-range-start-single):not(${ce}-range-end) ${Ae}`]:{borderStartStartRadius:je,borderEndStartRadius:je,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ce}-range-end:not(${ce}-range-end-single):not(${ce}-range-start) ${Ae}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:je,borderEndEndRadius:je},[`&-range-hover${ce}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ce}-range-hover:first-child::after,
|
|
tr > &-in-view${ce}-range-hover-end:first-child::after,
|
|
&-in-view${ce}-start${ce}-range-hover-edge-start${ce}-range-hover-edge-start-near-range::after,
|
|
&-in-view${ce}-range-hover-edge-start:not(${ce}-range-hover-edge-start-near-range)::after,
|
|
&-in-view${ce}-range-hover-start::after`]:{insetInlineStart:(Gn-Ne)/2,borderInlineStart:`${Mt}px dashed ${yt}`,borderStartStartRadius:je,borderEndStartRadius:je},[`tr > &-in-view${ce}-range-hover:last-child::after,
|
|
tr > &-in-view${ce}-range-hover-start:last-child::after,
|
|
&-in-view${ce}-end${ce}-range-hover-edge-end${ce}-range-hover-edge-end-near-range::after,
|
|
&-in-view${ce}-range-hover-edge-end:not(${ce}-range-hover-edge-end-near-range)::after,
|
|
&-in-view${ce}-range-hover-end::after`]:{insetInlineEnd:(Gn-Ne)/2,borderInlineEnd:`${Mt}px dashed ${yt}`,borderStartEndRadius:je,borderEndEndRadius:je},"&-disabled":{color:Mn,pointerEvents:"none",[Ae]:{background:"transparent"},"&::before":{background:Wn}},[`&-disabled${ce}-today ${Ae}::before`]:{borderColor:Mn}}},qi=re=>{const{componentCls:se,pickerCellCls:ce,pickerCellInnerCls:Ae,pickerYearMonthCellWidth:Ne,pickerControlIconSize:_e,cellWidth:je,paddingSM:bt,paddingXS:Pt,paddingXXS:Mt,colorBgContainer:bn,lineWidth:Wt,lineType:$t,borderRadiusLG:dn,colorPrimary:gn,colorTextHeading:yt,colorSplit:jt,pickerControlIconBorderWidth:mn,colorIcon:Gn,textHeight:Mn,motionDurationMid:Wn,colorIconHover:ta,fontWeightStrong:$n,cellHeight:In,pickerCellPaddingVertical:Ja,colorTextDisabled:ka,colorText:Xa,fontSize:ro,cellHoverWithRangeBg:xo,motionDurationSlow:Fo,withoutTimeCellHeight:Jo,pickerQuarterPanelContentHeight:yo,colorLink:eo,colorLinkActive:no,colorLinkHover:Lo,cellRangeBorderColor:Oo,borderRadiusSM:uo,colorTextLightSolid:So,cellHoverBg:sr,timeColumnHeight:ar,timeColumnWidth:de,timeCellHeight:ue,controlItemBgActive:Pe,marginXXS:Ee,pickerDatePanelPaddingHorizontal:Oe}=re,ke=je*7+Oe*2,qe=(ke-Pt*2)/3-Ne-bt,Qe=(ke-Pt*2)/4-Ne;return{[se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:bn,border:`${Wt}px ${$t} ${jt}`,borderRadius:dn,outline:"none","&-focused":{borderColor:gn},"&-rtl":{direction:"rtl",[`${se}-prev-icon,
|
|
${se}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${se}-next-icon,
|
|
${se}-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:ke},"&-header":{display:"flex",padding:`0 ${Pt}px`,color:yt,borderBottom:`${Wt}px ${$t} ${jt}`,"> *":{flex:"none"},button:{padding:0,color:Gn,lineHeight:`${Mn}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Wn}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:ro,"&:hover":{color:ta}},"&-view":{flex:"auto",fontWeight:$n,lineHeight:`${Mn}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Pt},"&:hover":{color:gn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:_e,height:_e,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:_e,height:_e,border:"0 solid currentcolor",borderBlockStartWidth:mn,borderBlockEndWidth:0,borderInlineStartWidth:mn,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(_e/2),insetInlineStart:Math.ceil(_e/2),display:"inline-block",width:_e,height:_e,border:"0 solid currentcolor",borderBlockStartWidth:mn,borderBlockEndWidth:0,borderInlineStartWidth:mn,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:In,fontWeight:"normal"},th:{height:In+Ja*2,color:Xa,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Ja}px 0`,color:ka,cursor:"pointer","&-in-view":{color:Xa}},Qi(re)),[`&-date-panel ${se}-cell-in-view${se}-cell-in-range${se}-cell-range-hover-start ${Ae},
|
|
&-date-panel ${se}-cell-in-view${se}-cell-in-range${se}-cell-range-hover-end ${Ae}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:xo,transition:`all ${Fo}`,content:'""'}},[`&-date-panel
|
|
${se}-cell-in-view${se}-cell-in-range${se}-cell-range-hover-start
|
|
${Ae}::after`]:{insetInlineEnd:-(je-In)/2,insetInlineStart:0},[`&-date-panel ${se}-cell-in-view${se}-cell-in-range${se}-cell-range-hover-end ${Ae}::after`]:{insetInlineEnd:0,insetInlineStart:-(je-In)/2},[`&-range-hover${se}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${se}-content`]:{height:Jo*4},[Ae]:{padding:`0 ${Pt}px`}},"&-quarter-panel":{[`${se}-content`]:{height:yo},[`${se}-cell-range-hover-start::after`]:{insetInlineStart:Qe,borderInlineStart:`${Wt}px dashed ${Oo}`,[`${se}-panel-rtl &`]:{insetInlineEnd:Qe,borderInlineEnd:`${Wt}px dashed ${Oo}`}},[`${se}-cell-range-hover-end::after`]:{insetInlineEnd:Qe,borderInlineEnd:`${Wt}px dashed ${Oo}`,[`${se}-panel-rtl &`]:{insetInlineStart:Qe,borderInlineStart:`${Wt}px dashed ${Oo}`}}},[`&-panel ${se}-footer`]:{borderTop:`${Wt}px ${$t} ${jt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Mn-2*Wt}px`,textAlign:"center","&-extra":{padding:`0 ${bt}px`,lineHeight:`${Mn-2*Wt}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Wt}px ${$t} ${jt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:eo,"&:hover":{color:Lo},"&:active":{color:no},[`&${se}-today-btn-disabled`]:{color:ka,cursor:"not-allowed"}},"&-decade-panel":{[Ae]:{padding:`0 ${Pt/2}px`},[`${se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${se}-body`]:{padding:`0 ${Pt}px`},[Ae]:{width:Ne},[`${se}-cell-range-hover-start::after`]:{borderStartStartRadius:uo,borderEndStartRadius:uo,borderStartEndRadius:0,borderEndEndRadius:0,[`${se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:uo,borderEndEndRadius:uo}},[`${se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:uo,borderEndEndRadius:uo,[`${se}-panel-rtl &`]:{borderStartStartRadius:uo,borderEndStartRadius:uo,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${se}-cell-range-hover-start::after`]:{insetInlineStart:qe,borderInlineStart:`${Wt}px dashed ${Oo}`,[`${se}-panel-rtl &`]:{insetInlineEnd:qe,borderInlineEnd:`${Wt}px dashed ${Oo}`}},[`${se}-cell-range-hover-end::after`]:{insetInlineEnd:qe,borderInlineEnd:`${Wt}px dashed ${Oo}`,[`${se}-panel-rtl &`]:{insetInlineStart:qe,borderInlineStart:`${Wt}px dashed ${Oo}`}}},"&-week-panel":{[`${se}-body`]:{padding:`${Pt}px ${bt}px`},[`${se}-cell`]:{[`&:hover ${Ae},
|
|
&-selected ${Ae},
|
|
${Ae}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Wn}`},"&:first-child:before":{borderStartStartRadius:uo,borderEndStartRadius:uo},"&:last-child:before":{borderStartEndRadius:uo,borderEndEndRadius:uo}},"&:hover td":{"&:before":{background:sr}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ce}`]:{"&:before":{background:gn},[`&${se}-cell-week`]:{color:new wi.C(So).setAlpha(.5).toHexString()},[Ae]:{color:So}}},"&-range-hover td:before":{background:Pe}}},"&-date-panel":{[`${se}-body`]:{padding:`${Pt}px ${Oe}px`},[`${se}-content`]:{width:je*7,th:{width:je,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${se}-time-panel`]:{borderInlineStart:`${Wt}px ${$t} ${jt}`},[`${se}-date-panel,
|
|
${se}-time-panel`]:{transition:`opacity ${Fo}`},"&-active":{[`${se}-date-panel,
|
|
${se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${se}-content`]:{display:"flex",flex:"auto",height:ar},"&-column":{flex:"1 0 auto",width:de,margin:`${Mt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Wn}`,overflowX:"hidden","&::after":{display:"block",height:ar-ue,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Wt}px ${$t} ${jt}`},"&-active":{background:new wi.C(Pe).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${se}-time-panel-cell`]:{marginInline:Ee,[`${se}-time-panel-cell-inner`]:{display:"block",width:de-2*Ee,height:ue,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(de-ue)/2,color:Xa,lineHeight:`${ue}px`,borderRadius:uo,cursor:"pointer",transition:`background ${Wn}`,"&:hover":{background:sr}},"&-selected":{[`${se}-time-panel-cell-inner`]:{background:Pe}},"&-disabled":{[`${se}-time-panel-cell-inner`]:{color:ka,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${se}-time-panel-column:after`]:{height:ar-ue+Mt*2}}}},_i=re=>{const{componentCls:se,colorBgContainer:ce,colorError:Ae,errorActiveShadow:Ne,colorWarning:_e,warningActiveShadow:je}=re;return{[`${se}:not(${se}-disabled)`]:{[`&${se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ce,borderColor:Ae},[`&${se}-focused, &:focus`]:Object.assign({},(0,ii.M1)((0,Xi.TS)(re,{activeBorderColor:Ae,activeShadow:Ne}))),[`${se}-active-bar`]:{background:Ae}},[`&${se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ce,borderColor:_e},[`&${se}-focused, &:focus`]:Object.assign({},(0,ii.M1)((0,Xi.TS)(re,{activeBorderColor:_e,activeShadow:je}))),[`${se}-active-bar`]:{background:_e}}}}},Bl=re=>{const{componentCls:se,antCls:ce,controlHeight:Ae,fontSize:Ne,paddingInline:_e,colorBgContainer:je,lineWidth:bt,lineType:Pt,colorBorder:Mt,borderRadius:bn,motionDurationMid:Wt,colorBgContainerDisabled:$t,colorTextDisabled:dn,colorTextPlaceholder:gn,controlHeightLG:yt,fontSizeLG:jt,controlHeightSM:mn,paddingInlineSM:Gn,paddingXS:Mn,marginXS:Wn,colorTextDescription:ta,lineWidthBold:$n,lineHeight:In,colorPrimary:Ja,motionDurationSlow:ka,zIndexPopup:Xa,paddingXXS:ro,paddingSM:xo,textHeight:Fo,cellActiveWithRangeBg:Jo,colorPrimaryBorder:yo,sizePopupArrow:eo,borderRadiusXS:no,borderRadiusOuter:Lo,colorBgElevated:Oo,borderRadiusLG:uo,boxShadowSecondary:So,borderRadiusSM:sr,colorSplit:ar,cellHoverBg:de,presetsWidth:ue,presetsMaxWidth:Pe,boxShadowPopoverArrow:Ee,colorTextQuaternary:Oe}=re;return[{[se]:Object.assign(Object.assign(Object.assign({},(0,Ji.Wf)(re)),Yr(re,Ae,Ne,_e)),{position:"relative",display:"inline-flex",alignItems:"center",background:je,lineHeight:1,border:`${bt}px ${Pt} ${Mt}`,borderRadius:bn,transition:`border ${Wt}, box-shadow ${Wt}`,"&:hover, &-focused":Object.assign({},(0,ii.pU)(re)),"&-focused":Object.assign({},(0,ii.M1)(re)),[`&${se}-disabled`]:{background:$t,borderColor:Mt,cursor:"not-allowed",[`${se}-suffix`]:{color:Oe}},[`&${se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ii.ik)(re)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:gn}}},"&-large":Object.assign(Object.assign({},Yr(re,yt,jt,_e)),{[`${se}-input > input`]:{fontSize:jt}}),"&-small":Object.assign({},Yr(re,mn,Ne,Gn)),[`${se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Mn/2,color:dn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Wn}}},[`${se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:dn,lineHeight:1,background:je,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Wt}, color ${Wt}`,"> *":{verticalAlign:"top"},"&:hover":{color:ta}},[`${se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:jt,color:dn,fontSize:jt,verticalAlign:"top",cursor:"default",[`${se}-focused &`]:{color:ta},[`${se}-range-separator &`]:{[`${se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${se}-clear`]:{insetInlineEnd:_e},"&:hover":{[`${se}-clear`]:{opacity:1}},[`${se}-active-bar`]:{bottom:-bt,height:$n,marginInlineStart:_e,background:Ja,opacity:0,transition:`all ${ka} ease-out`,pointerEvents:"none"},[`&${se}-focused`]:{[`${se}-active-bar`]:{opacity:1}},[`${se}-range-separator`]:{alignItems:"center",padding:`0 ${Mn}px`,lineHeight:1},[`&${se}-small`]:{[`${se}-clear`]:{insetInlineEnd:Gn},[`${se}-active-bar`]:{marginInlineStart:Gn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Ji.Wf)(re)),qi(re)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Xa,[`&${se}-dropdown-hidden`]:{display:"none"},[`&${se}-dropdown-placement-bottomLeft`]:{[`${se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${se}-dropdown-placement-topLeft`]:{[`${se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ce}-slide-up-enter${ce}-slide-up-enter-active${se}-dropdown-placement-topLeft,
|
|
&${ce}-slide-up-enter${ce}-slide-up-enter-active${se}-dropdown-placement-topRight,
|
|
&${ce}-slide-up-appear${ce}-slide-up-appear-active${se}-dropdown-placement-topLeft,
|
|
&${ce}-slide-up-appear${ce}-slide-up-appear-active${se}-dropdown-placement-topRight`]:{animationName:li.Qt},[`&${ce}-slide-up-enter${ce}-slide-up-enter-active${se}-dropdown-placement-bottomLeft,
|
|
&${ce}-slide-up-enter${ce}-slide-up-enter-active${se}-dropdown-placement-bottomRight,
|
|
&${ce}-slide-up-appear${ce}-slide-up-appear-active${se}-dropdown-placement-bottomLeft,
|
|
&${ce}-slide-up-appear${ce}-slide-up-appear-active${se}-dropdown-placement-bottomRight`]:{animationName:li.fJ},[`&${ce}-slide-up-leave${ce}-slide-up-leave-active${se}-dropdown-placement-topLeft,
|
|
&${ce}-slide-up-leave${ce}-slide-up-leave-active${se}-dropdown-placement-topRight`]:{animationName:li.ly},[`&${ce}-slide-up-leave${ce}-slide-up-leave-active${se}-dropdown-placement-bottomLeft,
|
|
&${ce}-slide-up-leave${ce}-slide-up-leave-active${se}-dropdown-placement-bottomRight`]:{animationName:li.Uw},[`${se}-panel > ${se}-time-panel`]:{paddingTop:ro},[`${se}-ranges`]:{marginBottom:0,padding:`${ro}px ${xo}px`,overflow:"hidden",lineHeight:`${Fo-2*bt-Mn/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${se}-preset > ${ce}-tag-blue`]:{color:Ja,background:Jo,borderColor:yo,cursor:"pointer"},[`${se}-ok`]:{marginInlineStart:"auto"}},[`${se}-range-wrapper`]:{display:"flex",position:"relative"},[`${se}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:_e*1.5,transition:`left ${ka} ease-out`},(0,$l.r)(eo,no,Lo,Oo,Ee)),[`${se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Oo,borderRadius:uo,boxShadow:So,transition:`margin ${ka}`,[`${se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${se}-presets`]:{display:"flex",flexDirection:"column",minWidth:ue,maxWidth:Pe,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Mn,borderInlineEnd:`${bt}px ${Pt} ${ar}`,li:Object.assign(Object.assign({},Ji.vS),{borderRadius:sr,paddingInline:Mn,paddingBlock:(mn-Math.round(Ne*In))/2,cursor:"pointer",transition:`all ${ka}`,"+ li":{marginTop:Wn},"&:hover":{background:de}})}},[`${se}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${se}-panel`]:{borderWidth:`0 0 ${bt}px`},"&:last-child":{[`${se}-panel`]:{borderWidth:0}}},[`${se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${se}-content,
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:Mt}}}}),"&-dropdown-range":{padding:`${eo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${se}-separator`]:{transform:"rotate(180deg)"},[`${se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,li.oN)(re,"slide-up"),(0,li.oN)(re,"slide-down"),(0,Oi.Fm)(re,"move-up"),(0,Oi.Fm)(re,"move-down")]},Al=re=>{const{componentCls:se,controlHeightLG:ce,paddingXXS:Ae,padding:Ne}=re;return{pickerCellCls:`${se}-cell`,pickerCellInnerCls:`${se}-cell-inner`,pickerYearMonthCellWidth:ce*1.5,pickerQuarterPanelContentHeight:ce*1.4,pickerCellPaddingVertical:Ae+Ae/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ne+Ae/2}},vs=re=>({cellHoverBg:re.controlItemBgHover,cellActiveWithRangeBg:re.controlItemBgActive,cellHoverWithRangeBg:new wi.C(re.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new wi.C(re.colorPrimary).lighten(20).toHexString(),cellBgDisabled:re.colorBgContainerDisabled,timeColumnWidth:re.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:re.controlHeightSM*1.5,cellHeight:re.controlHeightSM,textHeight:re.controlHeightLG,withoutTimeCellHeight:re.controlHeightLG*1.65});var Nl=(0,Jl.Z)("DatePicker",re=>{const se=(0,Xi.TS)((0,ii.e5)(re),Al(re));return[Bl(se),_i(se),(0,Yl.c)(re,{focusElCls:`${re.componentCls}-focused`})]},re=>Object.assign(Object.assign(Object.assign({},(0,ii.TM)(re)),vs(re)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:re.zIndexPopupBase+50}));function Xl(re,se,ce){return ce!==void 0?ce:se==="year"&&re.lang.yearPlaceholder?re.lang.yearPlaceholder:se==="quarter"&&re.lang.quarterPlaceholder?re.lang.quarterPlaceholder:se==="month"&&re.lang.monthPlaceholder?re.lang.monthPlaceholder:se==="week"&&re.lang.weekPlaceholder?re.lang.weekPlaceholder:se==="time"&&re.timePickerLocale.placeholder?re.timePickerLocale.placeholder:re.lang.placeholder}function Ql(re,se,ce){return ce!==void 0?ce:se==="year"&&re.lang.yearPlaceholder?re.lang.rangeYearPlaceholder:se==="quarter"&&re.lang.quarterPlaceholder?re.lang.rangeQuarterPlaceholder:se==="month"&&re.lang.monthPlaceholder?re.lang.rangeMonthPlaceholder:se==="week"&&re.lang.weekPlaceholder?re.lang.rangeWeekPlaceholder:se==="time"&&re.timePickerLocale.placeholder?re.timePickerLocale.rangePlaceholder:re.lang.rangePlaceholder}function el(re,se){const ce={adjustX:1,adjustY:1};switch(se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ce};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ce};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ce};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ce};default:return{points:re==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ce}}}function ki(re){return re?Array.isArray(re)?re:[re]:[]}function vi(re){const{format:se,picker:ce,showHour:Ae,showMinute:Ne,showSecond:_e,use12Hours:je}=re,bt=ki(se)[0],Pt=Object.assign({},re);return se&&Array.isArray(se)&&(Pt.format=bt),bt&&typeof bt=="string"&&(!bt.includes("s")&&_e===void 0&&(Pt.showSecond=!1),!bt.includes("m")&&Ne===void 0&&(Pt.showMinute=!1),!bt.includes("H")&&!bt.includes("h")&&!bt.includes("K")&&!bt.includes("k")&&Ae===void 0&&(Pt.showHour=!1),(bt.includes("a")||bt.includes("A"))&&je===void 0&&(Pt.use12Hours=!0)),ce==="time"?Pt:(typeof bt=="function"&&delete Pt.format,{showTime:Pt})}function Ei(re,se,ce){if(re===!1)return!1;const Ae={clearIcon:se!=null?se:ce};return typeof re=="object"?Object.assign(Object.assign({},Ae),re):Ae}var Dl=te(3113);function ql(re){return ne.createElement(Dl.ZP,Object.assign({size:"small",type:"primary"},re))}var tl={button:ql},Ol=function(re,se){var ce={};for(var Ae in re)Object.prototype.hasOwnProperty.call(re,Ae)&&se.indexOf(Ae)<0&&(ce[Ae]=re[Ae]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ae=Object.getOwnPropertySymbols(re);Ne<Ae.length;Ne++)se.indexOf(Ae[Ne])<0&&Object.prototype.propertyIsEnumerable.call(re,Ae[Ne])&&(ce[Ae[Ne]]=re[Ae[Ne]]);return ce};function kl(re){return(0,ne.forwardRef)((ce,Ae)=>{const{prefixCls:Ne,getPopupContainer:_e,className:je,placement:bt,size:Pt,disabled:Mt,bordered:bn=!0,placeholder:Wt,popupClassName:$t,dropdownClassName:dn,status:gn,clearIcon:yt,allowClear:jt,rootClassName:mn}=ce,Gn=Ol(ce,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),Mn=ne.useRef(null),{getPrefixCls:Wn,direction:ta,getPopupContainer:$n}=(0,ne.useContext)($i.E_),In=Wn("picker",Ne),{compactSize:Ja,compactItemClassnames:ka}=(0,El.ri)(In,ta),{format:Xa,showTime:ro,picker:xo}=ce,Fo=Wn(),[Jo,yo]=Nl(In),eo=Object.assign(Object.assign({},ro?vi(Object.assign({format:Xa,picker:xo},ro)):{}),xo==="time"?vi(Object.assign(Object.assign({format:Xa},ce),{picker:xo})):{}),no=(0,xl.Z)(Ee=>{var Oe;return(Oe=Pt!=null?Pt:Ja)!==null&&Oe!==void 0?Oe:Ee}),Lo=ne.useContext(Yi.Z),Oo=Mt!=null?Mt:Lo,uo=(0,ne.useContext)(Cl.aM),{hasFeedback:So,status:sr,feedbackIcon:ar}=uo,de=ne.createElement(ne.Fragment,null,xo==="time"?ne.createElement(dt,null):ne.createElement(ye,null),So&&ar);(0,ne.useImperativeHandle)(Ae,()=>({focus:()=>{var Ee;return(Ee=Mn.current)===null||Ee===void 0?void 0:Ee.focus()},blur:()=>{var Ee;return(Ee=Mn.current)===null||Ee===void 0?void 0:Ee.blur()}}));const[ue]=(0,wl.Z)("Calendar",Ll.Z),Pe=Object.assign(Object.assign({},ue),ce.locale);return Jo(ne.createElement(Ui,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${In}-separator`},ne.createElement(kt,null)),disabled:Oo,ref:Mn,dropdownAlign:el(ta,bt),placeholder:Ql(Pe,xo,Wt),suffixIcon:de,prevIcon:ne.createElement("span",{className:`${In}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${In}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${In}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${In}-super-next-icon`}),transitionName:`${Fo}-slide-up`},Gn,eo,{className:Fe()({[`${In}-${no}`]:no,[`${In}-borderless`]:!bn},(0,Ci.Z)(In,(0,Ci.F)(sr,gn),So),yo,ka,je,mn),locale:Pe.lang,prefixCls:In,getPopupContainer:_e||$n,generateConfig:re,components:tl,direction:ta,dropdownClassName:Fe()(yo,$t||dn,mn),allowClear:Ei(jt,yt,ne.createElement(St.Z,null))})))})}var nl=function(re,se){var ce={};for(var Ae in re)Object.prototype.hasOwnProperty.call(re,Ae)&&se.indexOf(Ae)<0&&(ce[Ae]=re[Ae]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ae=Object.getOwnPropertySymbols(re);Ne<Ae.length;Ne++)se.indexOf(Ae[Ne])<0&&Object.prototype.propertyIsEnumerable.call(re,Ae[Ne])&&(ce[Ae[Ne]]=re[Ae[Ne]]);return ce};function _l(re){function se(Pt,Mt){const bn=Mt==="TimePicker"?"timePicker":"datePicker",Wt=(0,ne.forwardRef)(($t,dn)=>{const{prefixCls:gn,getPopupContainer:yt,style:jt,className:mn,rootClassName:Gn,size:Mn,bordered:Wn=!0,placement:ta,placeholder:$n,popupClassName:In,dropdownClassName:Ja,disabled:ka,status:Xa,clearIcon:ro,allowClear:xo}=$t,Fo=nl($t,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Jo,direction:yo,getPopupContainer:eo,[bn]:no}=(0,ne.useContext)($i.E_),Lo=Jo("picker",gn),{compactSize:Oo,compactItemClassnames:uo}=(0,El.ri)(Lo,yo),So=ne.useRef(null),{format:sr,showTime:ar}=$t,[de,ue]=Nl(Lo);(0,ne.useImperativeHandle)(dn,()=>({focus:()=>{var on;return(on=So.current)===null||on===void 0?void 0:on.focus()},blur:()=>{var on;return(on=So.current)===null||on===void 0?void 0:on.blur()}}));const Pe={showToday:!0};let Ee={};Pt&&(Ee.picker=Pt);const Oe=Pt||$t.picker;Ee=Object.assign(Object.assign(Object.assign({},Ee),ar?vi(Object.assign({format:sr,picker:Oe},ar)):{}),Oe==="time"?vi(Object.assign(Object.assign({format:sr},$t),{picker:Oe})):{});const ke=Jo(),qe=(0,xl.Z)(on=>{var xn;return(xn=Mn!=null?Mn:Oo)!==null&&xn!==void 0?xn:on}),Qe=ne.useContext(Yi.Z),$e=ka!=null?ka:Qe,ft=(0,ne.useContext)(Cl.aM),{hasFeedback:st,status:ct,feedbackIcon:Gt}=ft,Ht=ne.createElement(ne.Fragment,null,Oe==="time"?ne.createElement(dt,null):ne.createElement(ye,null),st&&Gt),[Kt]=(0,wl.Z)("DatePicker",Ll.Z),cn=Object.assign(Object.assign({},Kt),$t.locale);return de(ne.createElement(bl,Object.assign({ref:So,placeholder:Xl(cn,Oe,$n),suffixIcon:Ht,dropdownAlign:el(yo,ta),prevIcon:ne.createElement("span",{className:`${Lo}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Lo}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Lo}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Lo}-super-next-icon`}),transitionName:`${ke}-slide-up`},Pe,Fo,Ee,{locale:cn.lang,className:Fe()({[`${Lo}-${qe}`]:qe,[`${Lo}-borderless`]:!Wn},(0,Ci.Z)(Lo,(0,Ci.F)(ct,Xa),st),ue,uo,no==null?void 0:no.className,mn,Gn),style:Object.assign(Object.assign({},no==null?void 0:no.style),jt),prefixCls:Lo,getPopupContainer:yt||eo,generateConfig:re,components:tl,direction:yo,disabled:$e,dropdownClassName:Fe()(ue,Gn,In||Ja),allowClear:Ei(xo,ro,ne.createElement(St.Z,null))})))});return Mt&&(Wt.displayName=Mt),Wt}const ce=se(),Ae=se("week","WeekPicker"),Ne=se("month","MonthPicker"),_e=se("year","YearPicker"),je=se("time","TimePicker"),bt=se("quarter","QuarterPicker");return{DatePicker:ce,WeekPicker:Ae,MonthPicker:Ne,YearPicker:_e,TimePicker:je,QuarterPicker:bt}}const es=null;function ts(re){const{DatePicker:se,WeekPicker:ce,MonthPicker:Ae,YearPicker:Ne,TimePicker:_e,QuarterPicker:je}=_l(re),bt=kl(re),Pt=se;return Pt.WeekPicker=ce,Pt.MonthPicker=Ae,Pt.YearPicker=Ne,Pt.RangePicker=bt,Pt.TimePicker=_e,Pt.QuarterPicker=je,Pt}var Il=ts;const pi=Il(z);function hi(re){const se=el(re.direction,re.placement);return se.overflow.adjustY=!1,se.overflow.adjustX=!1,Object.assign(Object.assign({},re),{dropdownAlign:se})}const Ii=(0,ee.Z)(pi,"picker",null,hi);pi._InternalPanelDoNotUseOrYouWillBeFired=Ii;const ns=(0,ee.Z)(pi.RangePicker,"picker",null,hi);pi._InternalRangePanelDoNotUseOrYouWillBeFired=ns,pi.generatePicker=Il;var as=pi},28103:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ut}});var oe=te(92310),ve=te.n(oe),Te=te(59301),tt=te(36355),Me=te(17313),Re=te(83116),le=te(37613);const ot=He=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=He;return{[ie]:Object.assign(Object.assign({},(0,Me.Wf)(He)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${He.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${He.dividerHorizontalWithTextGutterMargin}px 0`,color:He.colorTextHeading,fontWeight:500,fontSize:He.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ie}-with-text-left`]:{"&::before":{width:`${E*100}%`},"&::after":{width:`${100-E*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-E*100}%`},"&::after":{width:`${E*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:He.colorText,fontWeight:"normal",fontSize:He.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:y}}})}};var rt=(0,Re.Z)("Divider",He=>{const ie=(0,le.TS)(He,{dividerHorizontalWithTextGutterMargin:He.margin,dividerHorizontalGutterMargin:He.marginLG,sizePaddingEdgeHorizontal:0});return[ot(ie)]},He=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:He.marginXS})),at=function(He,ie){var y={};for(var a in He)Object.prototype.hasOwnProperty.call(He,a)&&ie.indexOf(a)<0&&(y[a]=He[a]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(He);x<a.length;x++)ie.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(He,a[x])&&(y[a[x]]=He[a[x]]);return y},ut=He=>{const{getPrefixCls:ie,direction:y,divider:a}=Te.useContext(tt.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:ee,rootClassName:ae,children:ne,dashed:ge,plain:fe,style:Be}=He,be=at(He,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),De=ie("divider",x),[ye,wt]=rt(De),pt=E.length>0?`-${E}`:E,hn=!!ne,it=E==="left"&&z!=null,dt=E==="right"&&z!=null,St=ve()(De,a==null?void 0:a.className,wt,`${De}-${b}`,{[`${De}-with-text`]:hn,[`${De}-with-text${pt}`]:hn,[`${De}-dashed`]:!!ge,[`${De}-plain`]:!!fe,[`${De}-rtl`]:y==="rtl",[`${De}-no-default-orientation-margin-left`]:it,[`${De}-no-default-orientation-margin-right`]:dt},ee,ae),Ft=Te.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Zt=Object.assign(Object.assign({},it&&{marginLeft:Ft}),dt&&{marginRight:Ft});return ye(Te.createElement("div",Object.assign({className:St,style:Object.assign(Object.assign({},a==null?void 0:a.style),Be)},be,{role:"separator"}),ne&&b!=="vertical"&&Te.createElement("span",{className:`${De}-inner-text`,style:Zt},ne)))}},91857:function(ht,Dt,te){"use strict";var oe=te(59301),ve=te(38819),Te=te(92310),tt=te.n(Te),Me=te(31561),Re=te(70425),le=te(18929),ot=te(2738),rt=te(79676),at=te(53487),nt=te(92343),ut=te(36355),He=te(20834),ie=te(40875),y=te(88088),a=te(47211);const x=null,b=ae=>{const{menu:ne,arrow:ge,prefixCls:fe,children:Be,trigger:be,disabled:De,dropdownRender:ye,getPopupContainer:wt,overlayClassName:pt,rootClassName:hn,open:it,onOpenChange:dt,visible:St,onVisibleChange:Ft,mouseEnterDelay:Zt=.15,mouseLeaveDelay:Jt=.1,autoAdjustOverflow:Je=!0,placement:kt="",overlay:Xt,transitionName:Fe}=ae,{getPopupContainer:Ue,getPrefixCls:Et,direction:sn}=oe.useContext(ut.E_),mt=oe.useMemo(()=>{const he=Et();return Fe!==void 0?Fe:kt.includes("top")?`${he}-slide-down`:`${he}-slide-up`},[Et,kt,Fe]),rn=oe.useMemo(()=>kt?kt.includes("Center")?kt.slice(0,kt.indexOf("Center")):kt:sn==="rtl"?"bottomRight":"bottomLeft",[kt,sn]),xe=Et("dropdown",fe),[It,xt]=(0,a.Z)(xe),[,An]=(0,y.Z)(),Nn=oe.Children.only(Be),Xe=(0,nt.Tm)(Nn,{className:tt()(`${xe}-trigger`,{[`${xe}-rtl`]:sn==="rtl"},Nn.props.className),disabled:De}),Ze=De?[]:be;let Ce;Ze&&Ze.includes("contextMenu")&&(Ce=!0);const[me,ze]=(0,le.Z)(!1,{value:it!=null?it:St}),gt=(0,Re.useEvent)(he=>{dt==null||dt(he),Ft==null||Ft(he),ze(he)}),Se=tt()(pt,hn,xt,{[`${xe}-rtl`]:sn==="rtl"}),pe=(0,rt.Z)({arrowPointAtCenter:typeof ge=="object"&&ge.pointAtCenter,autoAdjustOverflow:Je,offset:An.marginXXS,arrowWidth:ge?An.sizePopupArrow:0,borderRadius:An.borderRadius}),Ie=oe.useCallback(()=>{ze(!1)},[]),Le=()=>{let he;return ne!=null&&ne.items?he=oe.createElement(He.default,Object.assign({},ne)):typeof Xt=="function"?he=Xt():he=Xt,ye&&(he=ye(he)),he=oe.Children.only(typeof he=="string"?oe.createElement("span",null,he):he),oe.createElement(ie.J,{prefixCls:`${xe}-menu`,expandIcon:oe.createElement("span",{className:`${xe}-menu-submenu-arrow`},oe.createElement(ve.Z,{className:`${xe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ie,validator:Ge=>{let{mode:Vt}=Ge}},he)};return It(oe.createElement(Me.Z,Object.assign({alignPoint:Ce},(0,ot.Z)(ae,["rootClassName"]),{mouseEnterDelay:Zt,mouseLeaveDelay:Jt,visible:me,builtinPlacements:pe,arrow:!!ge,overlayClassName:Se,prefixCls:xe,getPopupContainer:wt||Ue,transitionName:mt,trigger:Ze,overlay:Le,placement:rn,onVisibleChange:gt}),Xe))};function E(ae){return Object.assign(Object.assign({},ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,at.Z)(b,"dropdown",ae=>ae,E),ee=ae=>oe.createElement(z,Object.assign({},ae),oe.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ee,Dt.Z=b},38854:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return y}});var oe=te(91857),ve=te(92310),Te=te.n(ve),tt=te(59301),Me=te(18785),Re=te(3113),le=te(36355),ot=te(81327),rt=te(33234),at=te(47211),nt=function(a,x){var b={};for(var E in a)Object.prototype.hasOwnProperty.call(a,E)&&x.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,E=Object.getOwnPropertySymbols(a);z<E.length;z++)x.indexOf(E[z])<0&&Object.prototype.propertyIsEnumerable.call(a,E[z])&&(b[E[z]]=a[E[z]]);return b};const ut=a=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=tt.useContext(le.E_),{prefixCls:z,type:ee="default",danger:ae,disabled:ne,loading:ge,onClick:fe,htmlType:Be,children:be,className:De,menu:ye,arrow:wt,autoFocus:pt,overlay:hn,trigger:it,align:dt,open:St,onOpenChange:Ft,placement:Zt,getPopupContainer:Jt,href:Je,icon:kt=tt.createElement(Me.Z,null),title:Xt,buttonsRender:Fe=Le=>Le,mouseEnterDelay:Ue,mouseLeaveDelay:Et,overlayClassName:sn,overlayStyle:mt,destroyPopupOnHide:rn,dropdownRender:xe}=a,It=nt(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),xt=b("dropdown",z),An=`${xt}-button`,[Nn,Xe]=(0,at.Z)(xt),Ze={menu:ye,arrow:wt,autoFocus:pt,align:dt,disabled:ne,trigger:ne?[]:it,onOpenChange:Ft,getPopupContainer:Jt||x,mouseEnterDelay:Ue,mouseLeaveDelay:Et,overlayClassName:sn,overlayStyle:mt,destroyPopupOnHide:rn,dropdownRender:xe},{compactSize:Ce,compactItemClassnames:me}=(0,rt.ri)(xt,E),ze=Te()(An,me,De,Xe);"overlay"in a&&(Ze.overlay=hn),"open"in a&&(Ze.open=St),"placement"in a?Ze.placement=Zt:Ze.placement=E==="rtl"?"bottomLeft":"bottomRight";const gt=tt.createElement(Re.ZP,{type:ee,danger:ae,disabled:ne,loading:ge,onClick:fe,htmlType:Be,href:Je,title:Xt},be),Se=tt.createElement(Re.ZP,{type:ee,danger:ae,icon:kt}),[pe,Ie]=Fe([gt,Se]);return Nn(tt.createElement(ot.Z.Compact,Object.assign({className:ze,size:Ce,block:!0},It),pe,tt.createElement(oe.Z,Object.assign({},Ze),Ie)))};ut.__ANT_BUTTON=!0;var He=ut;const ie=oe.Z;ie.Button=He;var y=ie},47211:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return nt}});var oe=te(17313),ve=te(13826),Te=te(92899),tt=te(29878),Me=te(19447),Re=te(83116),le=te(37613),rt=ut=>{const{componentCls:He,menuCls:ie,colorError:y,colorTextLightSolid:a}=ut,x=`${ie}-item`;return{[`${He}, ${He}-menu-submenu`]:{[`${ie} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const at=ut=>{const{componentCls:He,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:ee,fontSize:ae,dropdownEdgeChildPadding:ne,colorTextDisabled:ge,fontSizeIcon:fe,controlPaddingHorizontal:Be,colorBgElevated:be}=ut;return[{[He]:Object.assign(Object.assign({},(0,oe.Wf)(ut)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:fe}},[`${He}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:fe},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${He}-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${He}-placement-bottomLeft,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${He}-placement-bottomLeft,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${He}-placement-bottom,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${He}-placement-bottom,
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${He}-placement-bottomRight,
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${He}-placement-bottomRight`]:{animationName:ve.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${He}-placement-topLeft,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${He}-placement-topLeft,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${He}-placement-top,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${He}-placement-top,
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${He}-placement-topRight,
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${He}-placement-topRight`]:{animationName:ve.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${He}-placement-bottomLeft,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${He}-placement-bottom,
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${He}-placement-bottomRight`]:{animationName:ve.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${He}-placement-topLeft,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${He}-placement-top,
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${He}-placement-topRight`]:{animationName:ve.ly}})},(0,Me.ZP)(ut,{colorBg:be,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${He} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${He}, ${He}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:be,backgroundClip:"padding-box",borderRadius:ut.borderRadiusLG,outline:"none",boxShadow:ut.boxShadowSecondary},(0,oe.Qy)(ut)),{[`${ie}-item-group-title`]:{padding:`${ee}px ${Be}px`,color:ut.colorTextDescription,transition:`all ${z}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:ae,marginInlineEnd:ut.marginXS,fontSize:ut.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ee}px ${Be}px`,color:ut.colorText,fontWeight:"normal",fontSize:ae,lineHeight:ut.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:ut.borderRadiusSM,"&:hover, &-active":{backgroundColor:ut.controlItemBgHover}},(0,oe.Qy)(ut)),{"&-selected":{color:ut.colorPrimary,backgroundColor:ut.controlItemBgActive,"&:hover, &-active":{backgroundColor:ut.controlItemBgActiveHover}},"&-disabled":{color:ge,cursor:"not-allowed","&:hover":{color:ge,backgroundColor:be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ut.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ut.colorSplit},[`${He}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ut.paddingXS,[`${He}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ut.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${ut.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:Be+ut.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${He}-menu-submenu-title`]:{[`&, ${He}-menu-submenu-arrow-icon`]:{color:ge,backgroundColor:be,cursor:"not-allowed"}},[`${ie}-submenu-selected ${He}-menu-submenu-title`]:{color:ut.colorPrimary}})}},[(0,ve.oN)(ut,"slide-up"),(0,ve.oN)(ut,"slide-down"),(0,Te.Fm)(ut,"move-up"),(0,Te.Fm)(ut,"move-down"),(0,tt._y)(ut,"zoom-big")]]};var nt=(0,Re.Z)("Dropdown",(ut,He)=>{let{rootPrefixCls:ie}=He;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:ee,borderRadiusLG:ae}=ut,ne=(x-b*E)/2,{dropdownArrowOffset:ge}=(0,Me.fS)({contentRadius:ae}),fe=(0,le.TS)(ut,{menuCls:`${ee}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:ge,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:z});return[at(fe),rt(fe)]},ut=>({zIndexPopup:ut.zIndexPopupBase+50}))},8628:function(ht,Dt,te){"use strict";var oe=te(59301),ve=te(34280),Te=te(56762),tt=te(69507);function Me(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const le=(0,oe.useRef)({}),ot=(0,Te.Z)(),rt=(0,tt.ZP)();return(0,ve.Z)(()=>{const at=rt.subscribe(nt=>{le.current=nt,Re&&ot()});return()=>rt.unsubscribe(at)},[]),le.current}Dt.Z=Me},45818:function(ht,Dt,te){"use strict";te.d(Dt,{D:function(){return z},Z:function(){return ne}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},tt=Te,Me=te(7657),Re=function(fe,Be){return ve.createElement(Me.Z,(0,oe.Z)({},fe,{ref:Be,icon:tt}))},le=ve.forwardRef(Re),ot=le,rt=te(33853),at=te(38819),nt=te(92310),ut=te.n(nt),He=te(2738),y=ge=>!isNaN(parseFloat(ge))&&isFinite(ge),a=te(36355),x=te(84966),b=function(ge,fe){var Be={};for(var be in ge)Object.prototype.hasOwnProperty.call(ge,be)&&fe.indexOf(be)<0&&(Be[be]=ge[be]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,be=Object.getOwnPropertySymbols(ge);De<be.length;De++)fe.indexOf(be[De])<0&&Object.prototype.propertyIsEnumerable.call(ge,be[De])&&(Be[be[De]]=ge[be[De]]);return Be};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=ve.createContext({}),ee=(()=>{let ge=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ge+=1,`${fe}${ge}`}})();var ne=ve.forwardRef((ge,fe)=>{const{prefixCls:Be,className:be,trigger:De,children:ye,defaultCollapsed:wt=!1,theme:pt="dark",style:hn={},collapsible:it=!1,reverseArrow:dt=!1,width:St=200,collapsedWidth:Ft=80,zeroWidthTriggerStyle:Zt,breakpoint:Jt,onCollapse:Je,onBreakpoint:kt}=ge,Xt=b(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Fe}=(0,ve.useContext)(x.Gs),[Ue,Et]=(0,ve.useState)("collapsed"in ge?ge.collapsed:wt),[sn,mt]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{"collapsed"in ge&&Et(ge.collapsed)},[ge.collapsed]);const rn=(Xe,Ze)=>{"collapsed"in ge||Et(Xe),Je==null||Je(Xe,Ze)},xe=(0,ve.useRef)();xe.current=Xe=>{mt(Xe.matches),kt==null||kt(Xe.matches),Ue!==Xe.matches&&rn(Xe.matches,"responsive")},(0,ve.useEffect)(()=>{function Xe(Ce){return xe.current(Ce)}let Ze;if(typeof window!="undefined"){const{matchMedia:Ce}=window;if(Ce&&Jt&&Jt in E){Ze=Ce(`(max-width: ${E[Jt]})`);try{Ze.addEventListener("change",Xe)}catch(me){Ze.addListener(Xe)}Xe(Ze)}}return()=>{try{Ze==null||Ze.removeEventListener("change",Xe)}catch(Ce){Ze==null||Ze.removeListener(Xe)}}},[Jt]),(0,ve.useEffect)(()=>{const Xe=ee("ant-sider-");return Fe.addSider(Xe),()=>Fe.removeSider(Xe)},[]);const It=()=>{rn(!Ue,"clickTrigger")},{getPrefixCls:xt}=(0,ve.useContext)(a.E_),An=()=>{const Xe=xt("layout-sider",Be),Ze=(0,He.Z)(Xt,["collapsed"]),Ce=Ue?Ft:St,me=y(Ce)?`${Ce}px`:String(Ce),ze=parseFloat(String(Ft||0))===0?ve.createElement("span",{onClick:It,className:ut()(`${Xe}-zero-width-trigger`,`${Xe}-zero-width-trigger-${dt?"right":"left"}`),style:Zt},De||ve.createElement(ot,null)):null,pe={expanded:dt?ve.createElement(at.Z,null):ve.createElement(rt.Z,null),collapsed:dt?ve.createElement(rt.Z,null):ve.createElement(at.Z,null)}[Ue?"collapsed":"expanded"],Ie=De!==null?ze||ve.createElement("div",{className:`${Xe}-trigger`,onClick:It,style:{width:me}},De||pe):null,Le=Object.assign(Object.assign({},hn),{flex:`0 0 ${me}`,maxWidth:me,minWidth:me,width:me}),he=ut()(Xe,`${Xe}-${pt}`,{[`${Xe}-collapsed`]:!!Ue,[`${Xe}-has-trigger`]:it&&De!==null&&!ze,[`${Xe}-below`]:!!sn,[`${Xe}-zero-width`]:parseFloat(me)===0},be);return ve.createElement("aside",Object.assign({className:he},Ze,{style:Le,ref:fe}),ve.createElement("div",{className:`${Xe}-children`},ye),it||sn&&ze?Ie:null)},Nn=ve.useMemo(()=>({siderCollapsed:Ue}),[Ue]);return ve.createElement(z.Provider,{value:Nn},An())})},84966:function(ht,Dt,te){"use strict";te.d(Dt,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return He},ZP:function(){return ee}});var oe=te(95190),ve=te(92310),Te=te.n(ve),tt=te(2738),Me=te(59301),Re=te(36355),le=te(83116),rt=ae=>{const{componentCls:ne,bodyBg:ge,lightSiderBg:fe,lightTriggerBg:Be,lightTriggerColor:be}=ae;return{[`${ne}-sider-light`]:{background:fe,[`${ne}-sider-trigger`]:{color:be,background:Be},[`${ne}-sider-zero-width-trigger`]:{color:be,background:Be,border:`1px solid ${ge}`,borderInlineStart:0}}}};const at=ae=>{const{antCls:ne,componentCls:ge,colorText:fe,triggerColor:Be,footerBg:be,triggerBg:De,headerHeight:ye,headerPadding:wt,headerColor:pt,footerPadding:hn,triggerHeight:it,zeroTriggerHeight:dt,zeroTriggerWidth:St,motionDurationMid:Ft,motionDurationSlow:Zt,fontSize:Jt,borderRadius:Je,bodyBg:kt,headerBg:Xt,siderBg:Fe}=ae;return{[ge]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:kt,"&, *":{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:Fe,transition:`all ${Ft}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:it},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:it,color:Be,lineHeight:`${it}px`,textAlign:"center",background:De,cursor:"pointer",transition:`all ${Ft}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ye,insetInlineEnd:-St,zIndex:1,width:St,height:dt,color:Be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Fe,borderStartStartRadius:0,borderStartEndRadius:Je,borderEndEndRadius:Je,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Zt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Zt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-St,borderStartStartRadius:Je,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Je}}}}},rt(ae)),{"&-rtl":{direction:"rtl"}}),[`${ge}-header`]:{height:ye,padding:wt,color:pt,lineHeight:`${ye}px`,background:Xt,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${ge}-footer`]:{padding:hn,color:fe,fontSize:Jt,background:be},[`${ge}-content`]:{flex:"auto",minHeight:0}}};var nt=(0,le.Z)("Layout",ae=>[at(ae)],ae=>{const{colorBgLayout:ne,controlHeight:ge,controlHeightLG:fe,colorText:Be,controlHeightSM:be,marginXXS:De,colorTextLightSolid:ye,colorBgContainer:wt}=ae,pt=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:ge*2,headerPadding:`0 ${pt}px`,headerColor:Be,footerPadding:`${be}px ${pt}px`,footerBg:ne,siderBg:"#001529",triggerHeight:fe+De*2,triggerBg:"#002140",triggerColor:ye,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:wt,lightTriggerBg:wt,lightTriggerColor:Be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ut=function(ae,ne){var ge={};for(var fe in ae)Object.prototype.hasOwnProperty.call(ae,fe)&&ne.indexOf(fe)<0&&(ge[fe]=ae[fe]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,fe=Object.getOwnPropertySymbols(ae);Be<fe.length;Be++)ne.indexOf(fe[Be])<0&&Object.prototype.propertyIsEnumerable.call(ae,fe[Be])&&(ge[fe[Be]]=ae[fe[Be]]);return ge};const He=Me.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ie(ae){let{suffixCls:ne,tagName:ge,displayName:fe}=ae;return Be=>Me.forwardRef((De,ye)=>Me.createElement(Be,Object.assign({ref:ye,suffixCls:ne,tagName:ge},De)))}const y=Me.forwardRef((ae,ne)=>{const{prefixCls:ge,suffixCls:fe,className:Be,tagName:be}=ae,De=ut(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ye}=Me.useContext(Re.E_),wt=ye("layout",ge),[pt,hn]=nt(wt),it=fe?`${wt}-${fe}`:wt;return pt(Me.createElement(be,Object.assign({className:Te()(ge||it,Be,hn),ref:ne},De)))}),a=Me.forwardRef((ae,ne)=>{const{direction:ge}=Me.useContext(Re.E_),[fe,Be]=Me.useState([]),{prefixCls:be,className:De,rootClassName:ye,children:wt,hasSider:pt,tagName:hn,style:it}=ae,dt=ut(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),St=(0,tt.Z)(dt,["suffixCls"]),{getPrefixCls:Ft,layout:Zt}=Me.useContext(Re.E_),Jt=Ft("layout",be),[Je,kt]=nt(Jt),Xt=Te()(Jt,{[`${Jt}-has-sider`]:typeof pt=="boolean"?pt:fe.length>0,[`${Jt}-rtl`]:ge==="rtl"},Zt==null?void 0:Zt.className,De,ye,kt),Fe=Me.useMemo(()=>({siderHook:{addSider:Ue=>{Be(Et=>[].concat((0,oe.Z)(Et),[Ue]))},removeSider:Ue=>{Be(Et=>Et.filter(sn=>sn!==Ue))}}}),[]);return Je(Me.createElement(He.Provider,{value:Fe},Me.createElement(hn,Object.assign({ref:ne,className:Xt,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),it)},St),wt)))}),x=ie({tagName:"div",displayName:"Layout"})(a),b=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(y),E=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ee=x},40875:function(ht,Dt,te){"use strict";te.d(Dt,{J:function(){return Re}});var oe=te(59301),ve=te(33234),Te=te(70425),tt=function(le,ot){var rt={};for(var at in le)Object.prototype.hasOwnProperty.call(le,at)&&ot.indexOf(at)<0&&(rt[at]=le[at]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,at=Object.getOwnPropertySymbols(le);nt<at.length;nt++)ot.indexOf(at[nt])<0&&Object.prototype.propertyIsEnumerable.call(le,at[nt])&&(rt[at[nt]]=le[at[nt]]);return rt};const Me=oe.createContext(null),Re=oe.forwardRef((le,ot)=>{const{children:rt}=le,at=tt(le,["children"]),nt=oe.useContext(Me),ut=oe.useMemo(()=>Object.assign(Object.assign({},nt),at),[nt,at.prefixCls,at.mode,at.selectable]);return oe.createElement(Me.Provider,{value:ut},oe.createElement(ve.BR,null,(0,Te.supportNodeRef)(rt)?oe.cloneElement(rt,{ref:ot}):rt))});Dt.Z=Me},20834:function(ht,Dt,te){"use strict";te.d(Dt,{default:function(){return Nn}});var oe=te(15285),ve=te(59301),Te=te(45818),tt=te(92310),Me=te.n(tt),Re=te(36355),le=function(Xe,Ze){var Ce={};for(var me in Xe)Object.prototype.hasOwnProperty.call(Xe,me)&&Ze.indexOf(me)<0&&(Ce[me]=Xe[me]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,me=Object.getOwnPropertySymbols(Xe);ze<me.length;ze++)Ze.indexOf(me[ze])<0&&Object.prototype.propertyIsEnumerable.call(Xe,me[ze])&&(Ce[me[ze]]=Xe[me[ze]]);return Ce},rt=Xe=>{const{prefixCls:Ze,className:Ce,dashed:me}=Xe,ze=le(Xe,["prefixCls","className","dashed"]),{getPrefixCls:gt}=ve.useContext(Re.E_),Se=gt("menu",Ze),pe=Me()({[`${Se}-item-divider-dashed`]:!!me},Ce);return ve.createElement(oe.iz,Object.assign({className:pe},ze))},at=te(11592),nt=te(2738),ut=te(6848),He=te(92343),y=(0,ve.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Xe=>{var Ze;const{className:Ce,children:me,icon:ze,title:gt,danger:Se}=Xe,{prefixCls:pe,firstLevel:Ie,direction:Le,disableMenuItemTitleTooltip:he,inlineCollapsed:Ge}=ve.useContext(y),Vt=We=>{const lt=ve.createElement("span",{className:`${pe}-title-content`},me);return(!ze||(0,He.l$)(me)&&me.type==="span")&&me&&We&&Ie&&typeof me=="string"?ve.createElement("div",{className:`${pe}-inline-collapsed-noicon`},me.charAt(0)):lt},{siderCollapsed:Ct}=ve.useContext(Te.D);let Lt=gt;typeof gt=="undefined"?Lt=Ie?me:"":gt===!1&&(Lt="");const Bt={title:Lt};!Ct&&!Ge&&(Bt.title=null,Bt.open=!1);const Tt=(0,at.Z)(me).length;let we=ve.createElement(oe.ck,Object.assign({},(0,nt.Z)(Xe,["title","icon","danger"]),{className:Me()({[`${pe}-item-danger`]:Se,[`${pe}-item-only-child`]:(ze?Tt+1:Tt)===1},Ce),title:typeof gt=="string"?gt:void 0}),(0,He.Tm)(ze,{className:Me()((0,He.l$)(ze)?(Ze=ze.props)===null||Ze===void 0?void 0:Ze.className:"",`${pe}-item-icon`)}),Vt(Ge));return he||(we=ve.createElement(ut.Z,Object.assign({},Bt,{placement:Le==="rtl"?"left":"right",overlayClassName:`${pe}-inline-collapsed-tooltip`}),we)),we},E=Xe=>{var Ze;const{popupClassName:Ce,icon:me,title:ze,theme:gt}=Xe,Se=ve.useContext(y),{prefixCls:pe,inlineCollapsed:Ie,theme:Le}=Se,he=(0,oe.Xl)();let Ge;if(!me)Ge=Ie&&!he.length&&ze&&typeof ze=="string"?ve.createElement("div",{className:`${pe}-inline-collapsed-noicon`},ze.charAt(0)):ve.createElement("span",{className:`${pe}-title-content`},ze);else{const Ct=(0,He.l$)(ze)&&ze.type==="span";Ge=ve.createElement(ve.Fragment,null,(0,He.Tm)(me,{className:Me()((0,He.l$)(me)?(Ze=me.props)===null||Ze===void 0?void 0:Ze.className:"",`${pe}-item-icon`)}),Ct?ze:ve.createElement("span",{className:`${pe}-title-content`},ze))}const Vt=ve.useMemo(()=>Object.assign(Object.assign({},Se),{firstLevel:!1}),[Se]);return ve.createElement(y.Provider,{value:Vt},ve.createElement(oe.Wd,Object.assign({},(0,nt.Z)(Xe,["icon"]),{title:Ge,popupClassName:Me()(pe,Ce,`${pe}-${gt||Le}`)})))},z=te(18785),ee=te(70425),ae=te(62892),ne=te(40875),ge=function(Xe,Ze){var Ce={};for(var me in Xe)Object.prototype.hasOwnProperty.call(Xe,me)&&Ze.indexOf(me)<0&&(Ce[me]=Xe[me]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,me=Object.getOwnPropertySymbols(Xe);ze<me.length;ze++)Ze.indexOf(me[ze])<0&&Object.prototype.propertyIsEnumerable.call(Xe,me[ze])&&(Ce[me[ze]]=Xe[me[ze]]);return Ce};function fe(Xe){return(Xe||[]).map((Ze,Ce)=>{if(Ze&&typeof Ze=="object"){const me=Ze,{label:ze,children:gt,key:Se,type:pe}=me,Ie=ge(me,["label","children","key","type"]),Le=Se!=null?Se:`tmp-${Ce}`;return gt||pe==="group"?pe==="group"?ve.createElement(oe.BW,Object.assign({key:Le},Ie,{title:ze}),fe(gt)):ve.createElement(E,Object.assign({key:Le},Ie,{title:ze}),fe(gt)):pe==="divider"?ve.createElement(rt,Object.assign({key:Le},Ie)):ve.createElement(x,Object.assign({key:Le},Ie),ze)}return null}).filter(Ze=>Ze)}function Be(Xe){return ve.useMemo(()=>Xe&&fe(Xe),[Xe])}var be=te(64993),De=te(17313),ye=te(8378),wt=te(13826),pt=te(29878),hn=te(83116),it=te(37613),St=Xe=>{const{componentCls:Ze,motionDurationSlow:Ce,horizontalLineHeight:me,colorSplit:ze,lineWidth:gt,lineType:Se,itemPaddingInline:pe}=Xe;return{[`${Ze}-horizontal`]:{lineHeight:me,border:0,borderBottom:`${gt}px ${Se} ${ze}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ze}-item, ${Ze}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:pe},[`> ${Ze}-item:hover,
|
|
> ${Ze}-item-active,
|
|
> ${Ze}-submenu ${Ze}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ze}-item, ${Ze}-submenu-title`]:{transition:[`border-color ${Ce}`,`background ${Ce}`].join(",")},[`${Ze}-submenu-arrow`]:{display:"none"}}}},Zt=Xe=>{let{componentCls:Ze,menuArrowOffset:Ce}=Xe;return{[`${Ze}-rtl`]:{direction:"rtl"},[`${Ze}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ze}-rtl${Ze}-vertical,
|
|
${Ze}-submenu-rtl ${Ze}-vertical`]:{[`${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ce})`},"&::after":{transform:`rotate(45deg) translateY(${Ce})`}}}}};const Jt=Xe=>Object.assign({},(0,De.oN)(Xe));var kt=(Xe,Ze)=>{const{componentCls:Ce,itemColor:me,itemSelectedColor:ze,groupTitleColor:gt,itemBg:Se,subMenuItemBg:pe,itemSelectedBg:Ie,activeBarHeight:Le,activeBarWidth:he,activeBarBorderWidth:Ge,motionDurationSlow:Vt,motionEaseInOut:Ct,motionEaseOut:Lt,itemPaddingInline:Bt,motionDurationMid:Tt,itemHoverColor:we,lineType:We,colorSplit:lt,itemDisabledColor:vt,dangerItemColor:zt,dangerItemHoverColor:en,dangerItemSelectedColor:Yt,dangerItemActiveBg:ln,dangerItemSelectedBg:Dn,itemHoverBg:Yn,itemActiveBg:Tn,menuSubMenuBg:Xn,horizontalItemSelectedColor:ya,horizontalItemSelectedBg:ba,horizontalItemBorderRadius:Bn,horizontalItemHoverBg:Da,popupBg:xa}=Xe;return{[`${Ce}-${Ze}, ${Ce}-${Ze} > ${Ce}`]:{color:me,background:Se,[`&${Ce}-root:focus-visible`]:Object.assign({},Jt(Xe)),[`${Ce}-item-group-title`]:{color:gt},[`${Ce}-submenu-selected`]:{[`> ${Ce}-submenu-title`]:{color:ze}},[`${Ce}-item-disabled, ${Ce}-submenu-disabled`]:{color:`${vt} !important`},[`${Ce}-item:not(${Ce}-item-selected):not(${Ce}-submenu-selected)`]:{[`&:hover, > ${Ce}-submenu-title:hover`]:{color:we}},[`&:not(${Ce}-horizontal)`]:{[`${Ce}-item:not(${Ce}-item-selected)`]:{"&:hover":{backgroundColor:Yn},"&:active":{backgroundColor:Tn}},[`${Ce}-submenu-title`]:{"&:hover":{backgroundColor:Yn},"&:active":{backgroundColor:Tn}}},[`${Ce}-item-danger`]:{color:zt,[`&${Ce}-item:hover`]:{[`&:not(${Ce}-item-selected):not(${Ce}-submenu-selected)`]:{color:en}},[`&${Ce}-item:active`]:{background:ln}},[`${Ce}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ce}-item-selected`]:{color:ze,[`&${Ce}-item-danger`]:{color:Yt},"a, a:hover":{color:"inherit"}},[`& ${Ce}-item-selected`]:{backgroundColor:Ie,[`&${Ce}-item-danger`]:{backgroundColor:Dn}},[`${Ce}-item, ${Ce}-submenu-title`]:{[`&:not(${Ce}-item-disabled):focus-visible`]:Object.assign({},Jt(Xe))},[`&${Ce}-submenu > ${Ce}`]:{backgroundColor:Xn},[`&${Ce}-popup > ${Ce}`]:{backgroundColor:xa},[`&${Ce}-horizontal`]:Object.assign(Object.assign({},Ze==="dark"?{borderBottom:0}:{}),{[`> ${Ce}-item, > ${Ce}-submenu`]:{top:Ge,marginTop:-Ge,marginBottom:0,borderRadius:Bn,"&::after":{position:"absolute",insetInline:Bt,bottom:0,borderBottom:`${Le}px solid transparent`,transition:`border-color ${Vt} ${Ct}`,content:'""'},"&:hover, &-active, &-open":{background:Da,"&::after":{borderBottomWidth:Le,borderBottomColor:ya}},"&-selected":{color:ya,backgroundColor:ba,"&:hover":{backgroundColor:ba},"&::after":{borderBottomWidth:Le,borderBottomColor:ya}}}}),[`&${Ce}-root`]:{[`&${Ce}-inline, &${Ce}-vertical`]:{borderInlineEnd:`${Ge}px ${We} ${lt}`}},[`&${Ce}-inline`]:{[`${Ce}-sub${Ce}-inline`]:{background:pe},[`${Ce}-item, ${Ce}-submenu-title`]:Ge&&he?{width:`calc(100% + ${Ge}px)`}:{},[`${Ce}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${he}px solid ${ze}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Tt} ${Lt}`,`opacity ${Tt} ${Lt}`].join(","),content:'""'},[`&${Ce}-item-danger`]:{"&::after":{borderInlineEndColor:Yt}}},[`${Ce}-selected, ${Ce}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Tt} ${Ct}`,`opacity ${Tt} ${Ct}`].join(",")}}}}}};const Xt=Xe=>{const{componentCls:Ze,itemHeight:Ce,itemMarginInline:me,padding:ze,menuArrowSize:gt,marginXS:Se,itemMarginBlock:pe}=Xe,Ie=ze+gt+Se;return{[`${Ze}-item`]:{position:"relative",overflow:"hidden"},[`${Ze}-item, ${Ze}-submenu-title`]:{height:Ce,lineHeight:`${Ce}px`,paddingInline:ze,overflow:"hidden",textOverflow:"ellipsis",marginInline:me,marginBlock:pe,width:`calc(100% - ${me*2}px)`},[`> ${Ze}-item,
|
|
> ${Ze}-submenu > ${Ze}-submenu-title`]:{height:Ce,lineHeight:`${Ce}px`},[`${Ze}-item-group-list ${Ze}-submenu-title,
|
|
${Ze}-submenu-title`]:{paddingInlineEnd:Ie}}};var Ue=Xe=>{const{componentCls:Ze,iconCls:Ce,itemHeight:me,colorTextLightSolid:ze,dropdownWidth:gt,controlHeightLG:Se,motionDurationMid:pe,motionEaseOut:Ie,paddingXL:Le,itemMarginInline:he,fontSizeLG:Ge,motionDurationSlow:Vt,paddingXS:Ct,boxShadowSecondary:Lt,collapsedWidth:Bt,collapsedIconSize:Tt}=Xe,we={height:me,lineHeight:`${me}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ze]:{"&-inline, &-vertical":Object.assign({[`&${Ze}-root`]:{boxShadow:"none"}},Xt(Xe))},[`${Ze}-submenu-popup`]:{[`${Ze}-vertical`]:Object.assign(Object.assign({},Xt(Xe)),{boxShadow:Lt})}},{[`${Ze}-submenu-popup ${Ze}-vertical${Ze}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Se*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ze}-inline`]:{width:"100%",[`&${Ze}-root`]:{[`${Ze}-item, ${Ze}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Vt}`,`background ${Vt}`,`padding ${pe} ${Ie}`].join(","),[`> ${Ze}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ze}-sub${Ze}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ze}-submenu > ${Ze}-submenu-title`]:we,[`& ${Ze}-item-group-title`]:{paddingInlineStart:Le}},[`${Ze}-item`]:we}},{[`${Ze}-inline-collapsed`]:{width:Bt,[`&${Ze}-root`]:{[`${Ze}-item, ${Ze}-submenu ${Ze}-submenu-title`]:{[`> ${Ze}-inline-collapsed-noicon`]:{fontSize:Ge,textAlign:"center"}}},[`> ${Ze}-item,
|
|
> ${Ze}-item-group > ${Ze}-item-group-list > ${Ze}-item,
|
|
> ${Ze}-item-group > ${Ze}-item-group-list > ${Ze}-submenu > ${Ze}-submenu-title,
|
|
> ${Ze}-submenu > ${Ze}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ge/2}px - ${he}px)`,textOverflow:"clip",[`
|
|
${Ze}-submenu-arrow,
|
|
${Ze}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Ze}-item-icon, ${Ce}`]:{margin:0,fontSize:Tt,lineHeight:`${me}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ze}-item-icon, ${Ce}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ze}-item-icon, ${Ce}`]:{display:"none"},"a, a:hover":{color:ze}},[`${Ze}-item-group-title`]:Object.assign(Object.assign({},De.vS),{paddingInline:Ct})}}]};const Et=Xe=>{const{componentCls:Ze,motionDurationSlow:Ce,motionDurationMid:me,motionEaseInOut:ze,motionEaseOut:gt,iconCls:Se,iconSize:pe,iconMarginInlineEnd:Ie}=Xe;return{[`${Ze}-item, ${Ze}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ce}`,`background ${Ce}`,`padding ${Ce} ${ze}`].join(","),[`${Ze}-item-icon, ${Se}`]:{minWidth:pe,fontSize:pe,transition:[`font-size ${me} ${gt}`,`margin ${Ce} ${ze}`,`color ${Ce}`].join(","),"+ span":{marginInlineStart:Ie,opacity:1,transition:[`opacity ${Ce} ${ze}`,`margin ${Ce}`,`color ${Ce}`].join(",")}},[`${Ze}-item-icon`]:Object.assign({},(0,De.Ro)()),[`&${Ze}-item-only-child`]:{[`> ${Se}, > ${Ze}-item-icon`]:{marginInlineEnd:0}}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ze}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},sn=Xe=>{const{componentCls:Ze,motionDurationSlow:Ce,motionEaseInOut:me,borderRadius:ze,menuArrowSize:gt,menuArrowOffset:Se}=Xe;return{[`${Ze}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Xe.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ce} ${me}, opacity ${Ce}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:ze,transition:[`background ${Ce} ${me}`,`transform ${Ce} ${me}`,`top ${Ce} ${me}`,`color ${Ce} ${me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Se})`},"&::after":{transform:`rotate(-45deg) translateY(${Se})`}}}}},mt=Xe=>{const{antCls:Ze,componentCls:Ce,fontSize:me,motionDurationSlow:ze,motionDurationMid:gt,motionEaseInOut:Se,paddingXS:pe,padding:Ie,colorSplit:Le,lineWidth:he,zIndexPopup:Ge,borderRadiusLG:Vt,subMenuItemBorderRadius:Ct,menuArrowSize:Lt,menuArrowOffset:Bt,lineType:Tt,menuPanelMaskInset:we,groupTitleLineHeight:We,groupTitleFontSize:lt}=Xe;return[{"":{[`${Ce}`]:Object.assign(Object.assign({},(0,De.dF)()),{"&-hidden":{display:"none"}})},[`${Ce}-submenu-hidden`]:{display:"none"}},{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,De.Wf)(Xe)),(0,De.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ze} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ce}-item`]:{flex:"none"}},[`${Ce}-item, ${Ce}-submenu, ${Ce}-submenu-title`]:{borderRadius:Xe.itemBorderRadius},[`${Ce}-item-group-title`]:{padding:`${pe}px ${Ie}px`,fontSize:lt,lineHeight:We,transition:`all ${ze}`},[`&-horizontal ${Ce}-submenu`]:{transition:[`border-color ${ze} ${Se}`,`background ${ze} ${Se}`].join(",")},[`${Ce}-submenu, ${Ce}-submenu-inline`]:{transition:[`border-color ${ze} ${Se}`,`background ${ze} ${Se}`,`padding ${gt} ${Se}`].join(",")},[`${Ce}-submenu ${Ce}-sub`]:{cursor:"initial",transition:[`background ${ze} ${Se}`,`padding ${ze} ${Se}`].join(",")},[`${Ce}-title-content`]:{transition:`color ${ze}`},[`${Ce}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ce}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Le,borderStyle:Tt,borderWidth:0,borderTopWidth:he,marginBlock:he,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Et(Xe)),{[`${Ce}-item-group`]:{[`${Ce}-item-group-list`]:{margin:0,padding:0,[`${Ce}-item, ${Ce}-submenu-title`]:{paddingInline:`${me*2}px ${Ie}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ge,borderRadius:Vt,boxShadow:"none",transformOrigin:"0 0",[`&${Ce}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${we}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:we},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Xe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Xe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Xe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Xe.paddingXS},[`> ${Ce}`]:Object.assign(Object.assign(Object.assign({borderRadius:Vt},Et(Xe)),sn(Xe)),{[`${Ce}-item, ${Ce}-submenu > ${Ce}-submenu-title`]:{borderRadius:Ct},[`${Ce}-submenu-title::after`]:{transition:`transform ${ze} ${Se}`}})}}),sn(Xe)),{[`&-inline-collapsed ${Ce}-submenu-arrow,
|
|
&-inline ${Ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Bt})`},"&::after":{transform:`rotate(45deg) translateX(-${Bt})`}},[`${Ce}-submenu-open${Ce}-submenu-inline > ${Ce}-submenu-title > ${Ce}-submenu-arrow`]:{transform:`translateY(-${Lt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Bt})`},"&::before":{transform:`rotate(45deg) translateX(${Bt})`}}})},{[`${Ze}-layout-header`]:{[Ce]:{lineHeight:"inherit"}}}]};var rn=(Xe,Ze)=>(0,hn.Z)("Menu",me=>{if(Ze===!1)return[];const{colorBgElevated:ze,colorPrimary:gt,colorTextLightSolid:Se,controlHeightLG:pe,fontSize:Ie,darkItemColor:Le,darkDangerItemColor:he,darkItemBg:Ge,darkSubMenuItemBg:Vt,darkItemSelectedColor:Ct,darkItemSelectedBg:Lt,darkDangerItemSelectedBg:Bt,darkItemHoverBg:Tt,darkGroupTitleColor:we,darkItemHoverColor:We,darkItemDisabledColor:lt,darkDangerItemHoverColor:vt,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:en}=me,Yt=Ie/7*5,ln=(0,it.TS)(me,{menuArrowSize:Yt,menuHorizontalHeight:pe*1.15,menuArrowOffset:`${Yt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ze}),Dn=(0,it.TS)(ln,{itemColor:Le,itemHoverColor:We,groupTitleColor:we,itemSelectedColor:Ct,itemBg:Ge,popupBg:Ge,subMenuItemBg:Vt,itemActiveBg:"transparent",itemSelectedBg:Lt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Tt,itemDisabledColor:lt,dangerItemColor:he,dangerItemHoverColor:vt,dangerItemSelectedColor:zt,dangerItemActiveBg:en,dangerItemSelectedBg:Bt,menuSubMenuBg:Vt,horizontalItemSelectedColor:Se,horizontalItemSelectedBg:gt});return[mt(ln),St(ln),Ue(ln),kt(ln,"light"),kt(Dn,"dark"),Zt(ln),(0,ye.Z)(ln),(0,wt.oN)(ln,"slide-up"),(0,wt.oN)(ln,"slide-down"),(0,pt._y)(ln,"zoom-big")]},me=>{const{colorPrimary:ze,colorError:gt,colorTextDisabled:Se,colorErrorBg:pe,colorText:Ie,colorTextDescription:Le,colorBgContainer:he,colorFillAlter:Ge,colorFillContent:Vt,lineWidth:Ct,lineWidthBold:Lt,controlItemBgActive:Bt,colorBgTextHover:Tt,controlHeightLG:we,lineHeight:We,colorBgElevated:lt,marginXXS:vt,padding:zt,fontSize:en,controlHeightSM:Yt,fontSizeLG:ln,colorTextLightSolid:Dn,colorErrorHover:Yn}=me,Tn=new be.C(Dn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:Ie,itemColor:Ie,colorItemTextHover:Ie,itemHoverColor:Ie,colorItemTextHoverHorizontal:ze,horizontalItemHoverColor:ze,colorGroupTitle:Le,groupTitleColor:Le,colorItemTextSelected:ze,itemSelectedColor:ze,colorItemTextSelectedHorizontal:ze,horizontalItemSelectedColor:ze,colorItemBg:he,itemBg:he,colorItemBgHover:Tt,itemHoverBg:Tt,colorItemBgActive:Vt,itemActiveBg:Bt,colorSubItemBg:Ge,subMenuItemBg:Ge,colorItemBgSelected:Bt,itemSelectedBg:Bt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Lt,activeBarHeight:Lt,colorActiveBarBorderSize:Ct,activeBarBorderWidth:Ct,colorItemTextDisabled:Se,itemDisabledColor:Se,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:pe,dangerItemActiveBg:pe,colorDangerItemBgSelected:pe,dangerItemSelectedBg:pe,itemMarginInline:me.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:we,groupTitleLineHeight:We,collapsedWidth:we*2,popupBg:lt,itemMarginBlock:vt,itemPaddingInline:zt,horizontalLineHeight:`${we*1.15}px`,iconSize:en,iconMarginInlineEnd:Yt-en,collapsedIconSize:ln,groupTitleFontSize:en,darkItemDisabledColor:new be.C(Dn).setAlpha(.25).toRgbString(),darkItemColor:Tn,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Dn,darkItemSelectedBg:ze,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Tn,darkItemHoverColor:Dn,darkDangerItemHoverColor:Yn,darkDangerItemSelectedColor:Dn,darkDangerItemActiveBg:gt}},{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"]]})(Xe),xe=function(Xe,Ze){var Ce={};for(var me in Xe)Object.prototype.hasOwnProperty.call(Xe,me)&&Ze.indexOf(me)<0&&(Ce[me]=Xe[me]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,me=Object.getOwnPropertySymbols(Xe);ze<me.length;ze++)Ze.indexOf(me[ze])<0&&Object.prototype.propertyIsEnumerable.call(Xe,me[ze])&&(Ce[me[ze]]=Xe[me[ze]]);return Ce},xt=(0,ve.forwardRef)((Xe,Ze)=>{var Ce,me;const ze=ve.useContext(ne.Z),gt=ze||{},{getPrefixCls:Se,getPopupContainer:pe,direction:Ie,menu:Le}=ve.useContext(Re.E_),he=Se(),{prefixCls:Ge,className:Vt,style:Ct,theme:Lt="light",expandIcon:Bt,_internalDisableMenuItemTitleTooltip:Tt,inlineCollapsed:we,siderCollapsed:We,items:lt,children:vt,rootClassName:zt,mode:en,selectable:Yt,onClick:ln,overflowedIndicatorPopupClassName:Dn}=Xe,Yn=xe(Xe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Tn=(0,nt.Z)(Yn,["collapsedWidth"]),Xn=Be(lt)||vt;(Ce=gt.validator)===null||Ce===void 0||Ce.call(gt,{mode:en});const ya=(0,ee.useEvent)(function(){var Pn;ln==null||ln.apply(void 0,arguments),(Pn=gt.onClick)===null||Pn===void 0||Pn.call(gt)}),ba=gt.mode||en,Bn=Yt!=null?Yt:gt.selectable,Da=ve.useMemo(()=>We!==void 0?We:we,[we,We]),xa={horizontal:{motionName:`${he}-slide-up`},inline:(0,ae.Z)(he),other:{motionName:`${he}-zoom-big`}},ca=Se("menu",Ge||gt.prefixCls),[Ta,to]=rn(ca,!ze),an=Me()(`${ca}-${Lt}`,Le==null?void 0:Le.className,Vt);let pn;if(typeof Bt=="function")pn=Bt;else if(Bt===null||Bt===!1)pn=null;else if(gt.expandIcon===null||gt.expandIcon===!1)pn=null;else{const Pn=Bt!=null?Bt:gt.expandIcon;pn=(0,He.Tm)(Pn,{className:Me()(`${ca}-submenu-expand-icon`,(0,He.l$)(Pn)?(me=Pn.props)===null||me===void 0?void 0:me.className:"")})}const En=ve.useMemo(()=>({prefixCls:ca,inlineCollapsed:Da||!1,direction:Ie,firstLevel:!0,theme:Lt,mode:ba,disableMenuItemTitleTooltip:Tt}),[ca,Da,Ie,Tt,Lt]);return Ta(ve.createElement(ne.Z.Provider,{value:null},ve.createElement(y.Provider,{value:En},ve.createElement(oe.ZP,Object.assign({getPopupContainer:pe,overflowedIndicator:ve.createElement(z.Z,null),overflowedIndicatorPopupClassName:Me()(ca,`${ca}-${Lt}`,Dn),mode:ba,selectable:Bn,onClick:ya},Tn,{inlineCollapsed:Da,style:Object.assign(Object.assign({},Le==null?void 0:Le.style),Ct),className:an,prefixCls:ca,direction:Ie,defaultMotions:xa,expandIcon:pn,ref:Ze,rootClassName:Me()(zt,to)}),Xn))))});const An=(0,ve.forwardRef)((Xe,Ze)=>{const Ce=(0,ve.useRef)(null),me=ve.useContext(Te.D);return(0,ve.useImperativeHandle)(Ze,()=>({menu:Ce.current,focus:ze=>{var gt;(gt=Ce.current)===null||gt===void 0||gt.focus(ze)}})),ve.createElement(xt,Object.assign({ref:Ce},Xe,me))});An.Item=x,An.SubMenu=E,An.Divider=rt,An.ItemGroup=oe.BW;var Nn=An},58421:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return gt}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},tt=Te,Me=te(7657),Re=function(pe,Ie){return ve.createElement(Me.Z,(0,oe.Z)({},pe,{ref:Ie,icon:tt}))},le=ve.forwardRef(Re),ot=le,rt=te(49198),at=te(33853),nt=te(38819),ut=te(92310),He=te.n(ut),ie=te(4635),y=te(20439),a=te(99153),x=te(84851),b=te(19257),E=te(93046),z=te(26112),ee={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ae=ee,ne=te(91735),ge=function(Se){(0,b.Z)(Ie,Se);var pe=(0,E.Z)(Ie);function Ie(){var Le;(0,a.Z)(this,Ie);for(var he=arguments.length,Ge=new Array(he),Vt=0;Vt<he;Vt++)Ge[Vt]=arguments[Vt];return Le=pe.call.apply(pe,[this].concat(Ge)),Le.state={goInputText:""},Le.getValidValue=function(){var Ct=Le.state.goInputText;return!Ct||Number.isNaN(Ct)?void 0:Number(Ct)},Le.buildOptionText=function(Ct){return"".concat(Ct," ").concat(Le.props.locale.items_per_page)},Le.changeSize=function(Ct){Le.props.changeSize(Number(Ct))},Le.handleChange=function(Ct){Le.setState({goInputText:Ct.target.value})},Le.handleBlur=function(Ct){var Lt=Le.props,Bt=Lt.goButton,Tt=Lt.quickGo,we=Lt.rootPrefixCls,We=Le.state.goInputText;Bt||We===""||(Le.setState({goInputText:""}),!(Ct.relatedTarget&&(Ct.relatedTarget.className.indexOf("".concat(we,"-item-link"))>=0||Ct.relatedTarget.className.indexOf("".concat(we,"-item"))>=0))&&Tt(Le.getValidValue()))},Le.go=function(Ct){var Lt=Le.state.goInputText;Lt!==""&&(Ct.keyCode===ae.ENTER||Ct.type==="click")&&(Le.setState({goInputText:""}),Le.props.quickGo(Le.getValidValue()))},Le}return(0,x.Z)(Ie,[{key:"getPageSizeOptions",value:function(){var he=this.props,Ge=he.pageSize,Vt=he.pageSizeOptions;return Vt.some(function(Ct){return Ct.toString()===Ge.toString()})?Vt:Vt.concat([Ge.toString()]).sort(function(Ct,Lt){var Bt=Number.isNaN(Number(Ct))?0:Number(Ct),Tt=Number.isNaN(Number(Lt))?0:Number(Lt);return Bt-Tt})}},{key:"render",value:function(){var he=this,Ge=this.props,Vt=Ge.pageSize,Ct=Ge.locale,Lt=Ge.rootPrefixCls,Bt=Ge.changeSize,Tt=Ge.quickGo,we=Ge.goButton,We=Ge.selectComponentClass,lt=Ge.buildOptionText,vt=Ge.selectPrefixCls,zt=Ge.disabled,en=this.state.goInputText,Yt="".concat(Lt,"-options"),ln=We,Dn=null,Yn=null,Tn=null;if(!Bt&&!Tt)return null;var Xn=this.getPageSizeOptions();if(Bt&&ln){var ya=Xn.map(function(ba,Bn){return ve.createElement(ln.Option,{key:Bn,value:ba.toString()},(lt||he.buildOptionText)(ba))});Dn=ve.createElement(ln,{disabled:zt,prefixCls:vt,showSearch:!1,className:"".concat(Yt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Vt||Xn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Bn){return Bn.parentNode},"aria-label":Ct.page_size,defaultOpen:!1},ya)}return Tt&&(we&&(Tn=typeof we=="boolean"?ve.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:zt,className:"".concat(Yt,"-quick-jumper-button")},Ct.jump_to_confirm):ve.createElement("span",{onClick:this.go,onKeyUp:this.go},we)),Yn=ve.createElement("div",{className:"".concat(Yt,"-quick-jumper")},Ct.jump_to,ve.createElement("input",{disabled:zt,type:"text",value:en,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ct.page}),Ct.page,Tn)),ve.createElement("li",{className:"".concat(Yt)},Dn,Yn)}}]),Ie}(ve.Component);ge.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=ge,Be=function(pe){var Ie,Le=pe.rootPrefixCls,he=pe.page,Ge=pe.active,Vt=pe.className,Ct=pe.showTitle,Lt=pe.onClick,Bt=pe.onKeyPress,Tt=pe.itemRender,we="".concat(Le,"-item"),We=He()(we,"".concat(we,"-").concat(he),(Ie={},(0,ie.Z)(Ie,"".concat(we,"-active"),Ge),(0,ie.Z)(Ie,"".concat(we,"-disabled"),!he),(0,ie.Z)(Ie,pe.className,Vt),Ie)),lt=function(){Lt(he)},vt=function(Yt){Bt(Yt,Lt,he)},zt=Tt(he,"page",ve.createElement("a",{rel:"nofollow"},he));return zt?ve.createElement("li",{title:Ct?he.toString():null,className:We,onClick:lt,onKeyPress:vt,tabIndex:0},zt):null},be=Be;function De(){}function ye(Se){var pe=Number(Se);return typeof pe=="number"&&!Number.isNaN(pe)&&isFinite(pe)&&Math.floor(pe)===pe}var wt=function(pe,Ie,Le){return Le};function pt(Se,pe,Ie){var Le=typeof Se=="undefined"?pe.pageSize:Se;return Math.floor((Ie.total-1)/Le)+1}var hn=function(Se){(0,b.Z)(Ie,Se);var pe=(0,E.Z)(Ie);function Ie(Le){var he;(0,a.Z)(this,Ie),he=pe.call(this,Le),he.paginationNode=ve.createRef(),he.getJumpPrevPage=function(){return Math.max(1,he.state.current-(he.props.showLessItems?3:5))},he.getJumpNextPage=function(){return Math.min(pt(void 0,he.state,he.props),he.state.current+(he.props.showLessItems?3:5))},he.getItemIcon=function(Bt,Tt){var we=he.props.prefixCls,We=Bt||ve.createElement("button",{type:"button","aria-label":Tt,className:"".concat(we,"-item-link")});return typeof Bt=="function"&&(We=ve.createElement(Bt,(0,y.Z)({},he.props))),We},he.isValid=function(Bt){var Tt=he.props.total;return ye(Bt)&&Bt!==he.state.current&&ye(Tt)&&Tt>0},he.shouldDisplayQuickJumper=function(){var Bt=he.props,Tt=Bt.showQuickJumper,we=Bt.total,We=he.state.pageSize;return we<=We?!1:Tt},he.handleKeyDown=function(Bt){(Bt.keyCode===ae.ARROW_UP||Bt.keyCode===ae.ARROW_DOWN)&&Bt.preventDefault()},he.handleKeyUp=function(Bt){var Tt=he.getValidValue(Bt),we=he.state.currentInputValue;Tt!==we&&he.setState({currentInputValue:Tt}),Bt.keyCode===ae.ENTER?he.handleChange(Tt):Bt.keyCode===ae.ARROW_UP?he.handleChange(Tt-1):Bt.keyCode===ae.ARROW_DOWN&&he.handleChange(Tt+1)},he.handleBlur=function(Bt){var Tt=he.getValidValue(Bt);he.handleChange(Tt)},he.changePageSize=function(Bt){var Tt=he.state.current,we=pt(Bt,he.state,he.props);Tt=Tt>we?we:Tt,we===0&&(Tt=he.state.current),typeof Bt=="number"&&("pageSize"in he.props||he.setState({pageSize:Bt}),"current"in he.props||he.setState({current:Tt,currentInputValue:Tt})),he.props.onShowSizeChange(Tt,Bt),"onChange"in he.props&&he.props.onChange&&he.props.onChange(Tt,Bt)},he.handleChange=function(Bt){var Tt=he.props,we=Tt.disabled,We=Tt.onChange,lt=he.state,vt=lt.pageSize,zt=lt.current,en=lt.currentInputValue;if(he.isValid(Bt)&&!we){var Yt=pt(void 0,he.state,he.props),ln=Bt;return Bt>Yt?ln=Yt:Bt<1&&(ln=1),"current"in he.props||he.setState({current:ln}),ln!==en&&he.setState({currentInputValue:ln}),We(ln,vt),ln}return zt},he.prev=function(){he.hasPrev()&&he.handleChange(he.state.current-1)},he.next=function(){he.hasNext()&&he.handleChange(he.state.current+1)},he.jumpPrev=function(){he.handleChange(he.getJumpPrevPage())},he.jumpNext=function(){he.handleChange(he.getJumpNextPage())},he.hasPrev=function(){return he.state.current>1},he.hasNext=function(){return he.state.current<pt(void 0,he.state,he.props)},he.runIfEnter=function(Bt,Tt){if(Bt.key==="Enter"||Bt.charCode===13){for(var we=arguments.length,We=new Array(we>2?we-2:0),lt=2;lt<we;lt++)We[lt-2]=arguments[lt];Tt.apply(void 0,We)}},he.runIfEnterPrev=function(Bt){he.runIfEnter(Bt,he.prev)},he.runIfEnterNext=function(Bt){he.runIfEnter(Bt,he.next)},he.runIfEnterJumpPrev=function(Bt){he.runIfEnter(Bt,he.jumpPrev)},he.runIfEnterJumpNext=function(Bt){he.runIfEnter(Bt,he.jumpNext)},he.handleGoTO=function(Bt){(Bt.keyCode===ae.ENTER||Bt.type==="click")&&he.handleChange(he.state.currentInputValue)},he.renderPrev=function(Bt){var Tt=he.props,we=Tt.prevIcon,We=Tt.itemRender,lt=We(Bt,"prev",he.getItemIcon(we,"prev page")),vt=!he.hasPrev();return(0,ve.isValidElement)(lt)?(0,ve.cloneElement)(lt,{disabled:vt}):lt},he.renderNext=function(Bt){var Tt=he.props,we=Tt.nextIcon,We=Tt.itemRender,lt=We(Bt,"next",he.getItemIcon(we,"next page")),vt=!he.hasNext();return(0,ve.isValidElement)(lt)?(0,ve.cloneElement)(lt,{disabled:vt}):lt};var Ge=Le.onChange!==De,Vt="current"in Le;Vt&&!Ge&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ct=Le.defaultCurrent;"current"in Le&&(Ct=Le.current);var Lt=Le.defaultPageSize;return"pageSize"in Le&&(Lt=Le.pageSize),Ct=Math.min(Ct,pt(Lt,void 0,Le)),he.state={current:Ct,currentInputValue:Ct,pageSize:Lt},he}return(0,x.Z)(Ie,[{key:"componentDidUpdate",value:function(he,Ge){var Vt=this.props.prefixCls;if(Ge.current!==this.state.current&&this.paginationNode.current){var Ct=this.paginationNode.current.querySelector(".".concat(Vt,"-item-").concat(Ge.current));if(Ct&&document.activeElement===Ct){var Lt;Ct==null||(Lt=Ct.blur)===null||Lt===void 0||Lt.call(Ct)}}}},{key:"getValidValue",value:function(he){var Ge=he.target.value,Vt=pt(void 0,this.state,this.props),Ct=this.state.currentInputValue,Lt;return Ge===""?Lt=Ge:Number.isNaN(Number(Ge))?Lt=Ct:Ge>=Vt?Lt=Vt:Lt=Number(Ge),Lt}},{key:"getShowSizeChanger",value:function(){var he=this.props,Ge=he.showSizeChanger,Vt=he.total,Ct=he.totalBoundaryShowSizeChanger;return typeof Ge!="undefined"?Ge:Vt>Ct}},{key:"render",value:function(){var he=this.props,Ge=he.prefixCls,Vt=he.className,Ct=he.style,Lt=he.disabled,Bt=he.hideOnSinglePage,Tt=he.total,we=he.locale,We=he.showQuickJumper,lt=he.showLessItems,vt=he.showTitle,zt=he.showTotal,en=he.simple,Yt=he.itemRender,ln=he.showPrevNextJumpers,Dn=he.jumpPrevIcon,Yn=he.jumpNextIcon,Tn=he.selectComponentClass,Xn=he.selectPrefixCls,ya=he.pageSizeOptions,ba=this.state,Bn=ba.current,Da=ba.pageSize,xa=ba.currentInputValue;if(Bt===!0&&Tt<=Da)return null;var ca=pt(void 0,this.state,this.props),Ta=[],to=null,an=null,pn=null,En=null,Pn=null,ra=We&&We.goButton,Ca=lt?1:2,Kn=Bn-1>0?Bn-1:0,Ve=Bn+1<ca?Bn+1:ca,et=(0,z.Z)(this.props,{aria:!0,data:!0}),Ye=zt&&ve.createElement("li",{className:"".concat(Ge,"-total-text")},zt(Tt,[Tt===0?0:(Bn-1)*Da+1,Bn*Da>Tt?Tt:Bn*Da]));if(en){ra&&(typeof ra=="boolean"?Pn=ve.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},we.jump_to_confirm):Pn=ve.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ra),Pn=ve.createElement("li",{title:vt?"".concat(we.jump_to).concat(Bn,"/").concat(ca):null,className:"".concat(Ge,"-simple-pager")},Pn));var Rt=this.renderPrev(Kn);return ve.createElement("ul",(0,oe.Z)({className:He()(Ge,"".concat(Ge,"-simple"),(0,ie.Z)({},"".concat(Ge,"-disabled"),Lt),Vt),style:Ct,ref:this.paginationNode},et),Ye,Rt?ve.createElement("li",{title:vt?we.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:He()("".concat(Ge,"-prev"),(0,ie.Z)({},"".concat(Ge,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Rt):null,ve.createElement("li",{title:vt?"".concat(Bn,"/").concat(ca):null,className:"".concat(Ge,"-simple-pager")},ve.createElement("input",{type:"text",value:xa,disabled:Lt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ve.createElement("span",{className:"".concat(Ge,"-slash")},"/"),ca),ve.createElement("li",{title:vt?we.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:He()("".concat(Ge,"-next"),(0,ie.Z)({},"".concat(Ge,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ve)),Pn)}if(ca<=3+Ca*2){var Sn={locale:we,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:vt,itemRender:Yt};ca||Ta.push(ve.createElement(be,(0,oe.Z)({},Sn,{key:"noPager",page:1,className:"".concat(Ge,"-item-disabled")})));for(var _t=1;_t<=ca;_t+=1){var va=Bn===_t;Ta.push(ve.createElement(be,(0,oe.Z)({},Sn,{key:_t,page:_t,active:va})))}}else{var zn=lt?we.prev_3:we.prev_5,kn=lt?we.next_3:we.next_5,wa=Yt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Dn,"prev page")),ia=Yt(this.getJumpNextPage(),"jump-next",this.getItemIcon(Yn,"next page"));ln&&(to=wa?ve.createElement("li",{title:vt?zn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:He()("".concat(Ge,"-jump-prev"),(0,ie.Z)({},"".concat(Ge,"-jump-prev-custom-icon"),!!Dn))},wa):null,an=ia?ve.createElement("li",{title:vt?kn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:He()("".concat(Ge,"-jump-next"),(0,ie.Z)({},"".concat(Ge,"-jump-next-custom-icon"),!!Yn))},ia):null),En=ve.createElement(be,{locale:we,last:!0,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ca,page:ca,active:!1,showTitle:vt,itemRender:Yt}),pn=ve.createElement(be,{locale:we,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:vt,itemRender:Yt});var tn=Math.max(1,Bn-Ca),Ga=Math.min(Bn+Ca,ca);Bn-1<=Ca&&(Ga=1+Ca*2),ca-Bn<=Ca&&(tn=ca-Ca*2);for(var po=tn;po<=Ga;po+=1){var Qa=Bn===po;Ta.push(ve.createElement(be,{locale:we,rootPrefixCls:Ge,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:po,page:po,active:Qa,showTitle:vt,itemRender:Yt}))}Bn-1>=Ca*2&&Bn!==3&&(Ta[0]=(0,ve.cloneElement)(Ta[0],{className:"".concat(Ge,"-item-after-jump-prev")}),Ta.unshift(to)),ca-Bn>=Ca*2&&Bn!==ca-2&&(Ta[Ta.length-1]=(0,ve.cloneElement)(Ta[Ta.length-1],{className:"".concat(Ge,"-item-before-jump-next")}),Ta.push(an)),tn!==1&&Ta.unshift(pn),Ga!==ca&&Ta.push(En)}var $a=!this.hasPrev()||!ca,Ke=!this.hasNext()||!ca,Ot=this.renderPrev(Kn),At=this.renderNext(Ve);return ve.createElement("ul",(0,oe.Z)({className:He()(Ge,Vt,(0,ie.Z)({},"".concat(Ge,"-disabled"),Lt)),style:Ct,ref:this.paginationNode},et),Ye,Ot?ve.createElement("li",{title:vt?we.prev_page:null,onClick:this.prev,tabIndex:$a?null:0,onKeyPress:this.runIfEnterPrev,className:He()("".concat(Ge,"-prev"),(0,ie.Z)({},"".concat(Ge,"-disabled"),$a)),"aria-disabled":$a},Ot):null,Ta,At?ve.createElement("li",{title:vt?we.next_page:null,onClick:this.next,tabIndex:Ke?null:0,onKeyPress:this.runIfEnterNext,className:He()("".concat(Ge,"-next"),(0,ie.Z)({},"".concat(Ge,"-disabled"),Ke)),"aria-disabled":Ke},At):null,ve.createElement(fe,{disabled:Lt,locale:we,rootPrefixCls:Ge,selectComponentClass:Tn,selectPrefixCls:Xn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Bn,pageSize:Da,pageSizeOptions:ya,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ra}))}}],[{key:"getDerivedStateFromProps",value:function(he,Ge){var Vt={};if("current"in he&&(Vt.current=he.current,he.current!==Ge.current&&(Vt.currentInputValue=Vt.current)),"pageSize"in he&&he.pageSize!==Ge.pageSize){var Ct=Ge.current,Lt=pt(he.pageSize,Ge,he);Ct=Ct>Lt?Lt:Ct,"current"in he||(Vt.current=Ct,Vt.currentInputValue=Ct),Vt.pageSize=he.pageSize}return Vt}}]),Ie}(ve.Component);hn.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:De,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:De,locale:ne.Z,style:{},itemRender:wt,totalBoundaryShowSizeChanger:50};var it=hn,dt=te(22075),St=te(36355),Ft=te(19716),Zt=te(8628),Jt=te(9763),Je=te(57809);const kt=Se=>ve.createElement(Je.default,Object.assign({},Se,{showSearch:!0,size:"small"})),Xt=Se=>ve.createElement(Je.default,Object.assign({},Se,{showSearch:!0,size:"middle"}));kt.Option=Je.default.Option,Xt.Option=Je.default.Option;var Fe=te(9937),Ue=te(17313),Et=te(83116),sn=te(37613);const mt=Se=>{const{componentCls:pe}=Se;return{[`${pe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${pe}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${pe}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}}},[`&${pe}-disabled`]:{cursor:"not-allowed",[`${pe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Se.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Se.colorBorder,backgroundColor:Se.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Se.itemActiveBgDisabled},a:{color:Se.itemActiveColorDisabled}}},[`${pe}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${pe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${pe}-simple-pager`]:{color:Se.colorTextDisabled},[`${pe}-jump-prev, ${pe}-jump-next`]:{[`${pe}-item-link-icon`]:{opacity:0},[`${pe}-item-ellipsis`]:{opacity:1}}},[`&${pe}-simple`]:{[`${pe}-prev, ${pe}-next`]:{[`&${pe}-disabled ${pe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},rn=Se=>{const{componentCls:pe}=Se;return{[`&${pe}-mini ${pe}-total-text, &${pe}-mini ${pe}-simple-pager`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`},[`&${pe}-mini ${pe}-item`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM-2}px`},[`&${pe}-mini:not(${pe}-disabled) ${pe}-item:not(${pe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},[`&${pe}-mini ${pe}-prev, &${pe}-mini ${pe}-next`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM}px`},[`&${pe}-mini:not(${pe}-disabled)`]:{[`${pe}-prev, ${pe}-next`]:{[`&:hover ${pe}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${pe}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${pe}-disabled:hover ${pe}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${pe}-mini ${pe}-prev ${pe}-item-link,
|
|
&${pe}-mini ${pe}-next ${pe}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`}},[`&${pe}-mini ${pe}-jump-prev, &${pe}-mini ${pe}-jump-next`]:{height:Se.itemSizeSM,marginInlineEnd:0,lineHeight:`${Se.itemSizeSM}px`},[`&${pe}-mini ${pe}-options`]:{marginInlineStart:Se.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Se.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Fe.x0)(Se)),{width:Se.paginationMiniQuickJumperInputWidth,height:Se.controlHeightSM})}}}},xe=Se=>{const{componentCls:pe}=Se;return{[`
|
|
&${pe}-simple ${pe}-prev,
|
|
&${pe}-simple ${pe}-next
|
|
`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`,verticalAlign:"top",[`${pe}-item-link`]:{height:Se.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive},"&::after":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`}}},[`&${pe}-simple ${pe}-simple-pager`]:{display:"inline-block",height:Se.itemSizeSM,marginInlineEnd:Se.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Se.marginXS,padding:`0 ${Se.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Se.itemInputBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,borderRadius:Se.borderRadius,outline:"none",transition:`border-color ${Se.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Se.colorPrimary},"&:focus":{borderColor:Se.colorPrimaryHover,boxShadow:`${Se.inputOutlineOffset}px 0 ${Se.controlOutlineWidth}px ${Se.controlOutline}`},"&[disabled]":{color:Se.colorTextDisabled,backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,cursor:"not-allowed"}}}}},It=Se=>{const{componentCls:pe}=Se;return{[`${pe}-jump-prev, ${pe}-jump-next`]:{outline:0,[`${pe}-item-container`]:{position:"relative",[`${pe}-item-link-icon`]:{color:Se.colorPrimary,fontSize:Se.fontSizeSM,opacity:0,transition:`all ${Se.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${pe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Se.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Se.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Se.paginationEllipsisTextIndent,opacity:1,transition:`all ${Se.motionDurationMid}`}},"&:hover":{[`${pe}-item-link-icon`]:{opacity:1},[`${pe}-item-ellipsis`]:{opacity:0}}},[`
|
|
${pe}-prev,
|
|
${pe}-jump-prev,
|
|
${pe}-jump-next
|
|
`]:{marginInlineEnd:Se.marginXS},[`
|
|
${pe}-prev,
|
|
${pe}-next,
|
|
${pe}-jump-prev,
|
|
${pe}-jump-next
|
|
`]:{display:"inline-block",minWidth:Se.itemSize,height:Se.itemSize,color:Se.colorText,fontFamily:Se.fontFamily,lineHeight:`${Se.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Se.borderRadius,cursor:"pointer",transition:`all ${Se.motionDurationMid}`},[`${pe}-prev, ${pe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Se.colorText,cursor:"pointer",userSelect:"none"},[`${pe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Se.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Se.lineWidth}px ${Se.lineType} transparent`,borderRadius:Se.borderRadius,outline:"none",transition:`all ${Se.motionDurationMid}`},[`&:hover ${pe}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${pe}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${pe}-disabled:hover`]:{[`${pe}-item-link`]:{backgroundColor:"transparent"}}},[`${pe}-slash`]:{marginInlineEnd:Se.paginationSlashMarginInlineEnd,marginInlineStart:Se.paginationSlashMarginInlineStart},[`${pe}-options`]:{display:"inline-block",marginInlineStart:Se.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Se.controlHeight,marginInlineStart:Se.marginXS,lineHeight:`${Se.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Fe.ik)(Se)),{width:Se.controlHeightLG*1.25,height:Se.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Se.marginXS,marginInlineEnd:Se.marginXS})}}}},xt=Se=>{const{componentCls:pe}=Se;return{[`${pe}-item`]:{display:"inline-block",minWidth:Se.itemSize,height:Se.itemSize,marginInlineEnd:Se.marginXS,fontFamily:Se.fontFamily,lineHeight:`${Se.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Se.lineWidth}px ${Se.lineType} transparent`,borderRadius:Se.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Se.paginationItemPaddingInline}px`,color:Se.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${pe}-item-active)`]:{"&:hover":{transition:`all ${Se.motionDurationMid}`,backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},"&-active":{fontWeight:Se.fontWeightStrong,backgroundColor:Se.itemActiveBg,borderColor:Se.colorPrimary,a:{color:Se.colorPrimary},"&:hover":{borderColor:Se.colorPrimaryHover},"&:hover a":{color:Se.colorPrimaryHover}}}}},An=Se=>{const{componentCls:pe}=Se;return{[pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ue.Wf)(Se)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${pe}-total-text`]:{display:"inline-block",height:Se.itemSize,marginInlineEnd:Se.marginXS,lineHeight:`${Se.itemSize-2}px`,verticalAlign:"middle"}}),xt(Se)),It(Se)),xe(Se)),rn(Se)),mt(Se)),{[`@media only screen and (max-width: ${Se.screenLG}px)`]:{[`${pe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Se.screenSM}px)`]:{[`${pe}-options`]:{display:"none"}}}),[`&${Se.componentCls}-rtl`]:{direction:"rtl"}}},Nn=Se=>{const{componentCls:pe}=Se;return{[`${pe}${pe}-disabled:not(${pe}-mini)`]:{"&, &:hover":{[`${pe}-item-link`]:{borderColor:Se.colorBorder}},"&:focus-visible":{[`${pe}-item-link`]:{borderColor:Se.colorBorder}},[`${pe}-item, ${pe}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,[`&:hover:not(${pe}-item-active)`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,a:{color:Se.colorTextDisabled}},[`&${pe}-item-active`]:{backgroundColor:Se.itemActiveBgDisabled}},[`${pe}-prev, ${pe}-next`]:{"&:hover button":{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,color:Se.colorTextDisabled},[`${pe}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder}}},[`${pe}:not(${pe}-mini)`]:{[`${pe}-prev, ${pe}-next`]:{"&:hover button":{borderColor:Se.colorPrimaryHover,backgroundColor:Se.itemBg},[`${pe}-item-link`]:{backgroundColor:Se.itemLinkBg,borderColor:Se.colorBorder},[`&:hover ${pe}-item-link`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,color:Se.colorPrimary},[`&${pe}-disabled`]:{[`${pe}-item-link`]:{borderColor:Se.colorBorder,color:Se.colorTextDisabled}}},[`${pe}-item`]:{backgroundColor:Se.itemBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,[`&:hover:not(${pe}-item-active)`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,a:{color:Se.colorPrimary}},"&-active":{borderColor:Se.colorPrimary}}}}},Xe=Se=>{const{componentCls:pe}=Se;return{[`${pe}:not(${pe}-disabled)`]:{[`${pe}-item`]:Object.assign({},(0,Ue.Qy)(Se)),[`${pe}-jump-prev, ${pe}-jump-next`]:{"&:focus-visible":Object.assign({[`${pe}-item-link-icon`]:{opacity:1},[`${pe}-item-ellipsis`]:{opacity:0}},(0,Ue.oN)(Se))},[`${pe}-prev, ${pe}-next`]:{[`&:focus-visible ${pe}-item-link`]:Object.assign({},(0,Ue.oN)(Se))}}}};var Ze=(0,Et.Z)("Pagination",Se=>{const pe=(0,sn.TS)(Se,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Se.marginXXS/2,paginationMiniQuickJumperInputWidth:Se.controlHeightLG*1.1,paginationItemPaddingInline:Se.marginXXS*1.5,paginationEllipsisLetterSpacing:Se.marginXXS/2,paginationSlashMarginInlineStart:Se.marginXXS,paginationSlashMarginInlineEnd:Se.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Fe.e5)(Se),(0,Fe.TM)(Se));return[An(pe),Xe(pe),Se.wireframe&&Nn(pe)]},Se=>({itemBg:Se.colorBgContainer,itemSize:Se.controlHeight,itemSizeSM:Se.controlHeightSM,itemActiveBg:Se.colorBgContainer,itemLinkBg:Se.colorBgContainer,itemActiveColorDisabled:Se.colorTextDisabled,itemActiveBgDisabled:Se.controlItemBgActiveDisabled,itemInputBg:Se.colorBgContainer,miniOptionsSizeChangerTop:0})),Ce=function(Se,pe){var Ie={};for(var Le in Se)Object.prototype.hasOwnProperty.call(Se,Le)&&pe.indexOf(Le)<0&&(Ie[Le]=Se[Le]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Le=Object.getOwnPropertySymbols(Se);he<Le.length;he++)pe.indexOf(Le[he])<0&&Object.prototype.propertyIsEnumerable.call(Se,Le[he])&&(Ie[Le[he]]=Se[Le[he]]);return Ie},ze=Se=>{const{prefixCls:pe,selectPrefixCls:Ie,className:Le,rootClassName:he,style:Ge,size:Vt,locale:Ct,selectComponentClass:Lt,responsive:Bt,showSizeChanger:Tt}=Se,we=Ce(Se,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:We}=(0,Zt.Z)(Bt),{getPrefixCls:lt,direction:vt,pagination:zt={}}=ve.useContext(St.E_),en=lt("pagination",pe),[Yt,ln]=Ze(en),Dn=Tt!=null?Tt:zt.showSizeChanger,Yn=ve.useMemo(()=>{const ca=ve.createElement("span",{className:`${en}-item-ellipsis`},"\u2022\u2022\u2022"),Ta=ve.createElement("button",{className:`${en}-item-link`,type:"button",tabIndex:-1},vt==="rtl"?ve.createElement(nt.Z,null):ve.createElement(at.Z,null)),to=ve.createElement("button",{className:`${en}-item-link`,type:"button",tabIndex:-1},vt==="rtl"?ve.createElement(at.Z,null):ve.createElement(nt.Z,null)),an=ve.createElement("a",{className:`${en}-item-link`},ve.createElement("div",{className:`${en}-item-container`},vt==="rtl"?ve.createElement(rt.Z,{className:`${en}-item-link-icon`}):ve.createElement(ot,{className:`${en}-item-link-icon`}),ca)),pn=ve.createElement("a",{className:`${en}-item-link`},ve.createElement("div",{className:`${en}-item-container`},vt==="rtl"?ve.createElement(ot,{className:`${en}-item-link-icon`}):ve.createElement(rt.Z,{className:`${en}-item-link-icon`}),ca));return{prevIcon:Ta,nextIcon:to,jumpPrevIcon:an,jumpNextIcon:pn}},[vt,en]),[Tn]=(0,Jt.Z)("Pagination",dt.Z),Xn=Object.assign(Object.assign({},Tn),Ct),ya=(0,Ft.Z)(Vt),ba=ya==="small"||!!(We&&!ya&&Bt),Bn=lt("select",Ie),Da=He()({[`${en}-mini`]:ba,[`${en}-rtl`]:vt==="rtl"},zt==null?void 0:zt.className,Le,he,ln),xa=Object.assign(Object.assign({},zt==null?void 0:zt.style),Ge);return Yt(ve.createElement(it,Object.assign({},Yn,we,{style:xa,prefixCls:en,selectPrefixCls:Bn,className:Da,selectComponentClass:Lt||(ba?kt:Xt),locale:Xn,showSizeChanger:Dn})))},gt=ze},93948:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return Tt}});var oe=te(59301),ve=te(29679),Te=te(40001),tt=te(19248),Me=te(99267),Re=te(92310),le=te.n(Re),ot=te(2738),rt=te(36355),at=te(14809),nt=te(20439),ut=te(62646),He={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ie=function(){var We=(0,oe.useRef)([]),lt=(0,oe.useRef)(null);return(0,oe.useEffect)(function(){var vt=Date.now(),zt=!1;We.current.forEach(function(en){if(en){zt=!0;var Yt=en.style;Yt.transitionDuration=".3s, .3s, .3s, .06s",lt.current&&vt-lt.current<100&&(Yt.transitionDuration="0s, 0s")}}),zt&&(lt.current=Date.now())}),We.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(We){var lt=(0,nt.Z)((0,nt.Z)({},He),We),vt=lt.className,zt=lt.percent,en=lt.prefixCls,Yt=lt.strokeColor,ln=lt.strokeLinecap,Dn=lt.strokeWidth,Yn=lt.style,Tn=lt.trailColor,Xn=lt.trailWidth,ya=lt.transition,ba=(0,ut.Z)(lt,y);delete ba.gapPosition;var Bn=Array.isArray(zt)?zt:[zt],Da=Array.isArray(Yt)?Yt:[Yt],xa=ie(),ca=Dn/2,Ta=100-Dn/2,to="M ".concat(ln==="round"?ca:0,",").concat(ca,`
|
|
L `).concat(ln==="round"?Ta:100,",").concat(ca),an="0 0 100 ".concat(Dn),pn=0;return oe.createElement("svg",(0,at.Z)({className:le()("".concat(en,"-line"),vt),viewBox:an,preserveAspectRatio:"none",style:Yn},ba),oe.createElement("path",{className:"".concat(en,"-line-trail"),d:to,strokeLinecap:ln,stroke:Tn,strokeWidth:Xn||Dn,fillOpacity:"0"}),Bn.map(function(En,Pn){var ra=1;switch(ln){case"round":ra=1-Dn/100;break;case"square":ra=1-Dn/2/100;break;default:ra=1;break}var Ca={strokeDasharray:"".concat(En*ra,"px, 100px"),strokeDashoffset:"-".concat(pn,"px"),transition:ya||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Kn=Da[Pn]||Da[Da.length-1];return pn+=En,oe.createElement("path",{key:Pn,className:"".concat(en,"-line-path"),d:to,strokeLinecap:ln,stroke:Kn,strokeWidth:Dn,fillOpacity:"0",ref:function(et){xa[Pn]=et},style:Ca})}))},x=a,b=te(93664),E=te(50298),z=te(47273),ee=0,ae=(0,z.Z)();function ne(){var we;return ae?(we=ee,ee+=1):we="TEST_OR_SSR",we}var ge=function(we){var We=oe.useState(),lt=(0,E.Z)(We,2),vt=lt[0],zt=lt[1];return oe.useEffect(function(){zt("rc_progress_".concat(ne()))},[]),we||vt},fe=function(We){var lt=We.bg,vt=We.children;return oe.createElement("div",{style:{width:"100%",height:"100%",background:lt}},vt)};function Be(we,We){return Object.keys(we).map(function(lt){var vt=parseFloat(lt),zt="".concat(Math.floor(vt*We),"%");return"".concat(we[lt]," ").concat(zt)})}var be=oe.forwardRef(function(we,We){var lt=we.prefixCls,vt=we.color,zt=we.gradientId,en=we.radius,Yt=we.style,ln=we.ptg,Dn=we.strokeLinecap,Yn=we.strokeWidth,Tn=we.size,Xn=we.gapDegree,ya=vt&&(0,b.Z)(vt)==="object",ba=ya?"#FFF":void 0,Bn=Tn/2,Da=oe.createElement("circle",{className:"".concat(lt,"-circle-path"),r:en,cx:Bn,cy:Bn,stroke:ba,strokeLinecap:Dn,strokeWidth:Yn,opacity:ln===0?0:1,style:Yt,ref:We});if(!ya)return Da;var xa="".concat(zt,"-conic"),ca=Xn?"".concat(180+Xn/2,"deg"):"0deg",Ta=Be(vt,(360-Xn)/360),to=Be(vt,1),an="conic-gradient(from ".concat(ca,", ").concat(Ta.join(", "),")"),pn="linear-gradient(to ".concat(Xn?"bottom":"top",", ").concat(to.join(", "),")");return oe.createElement(oe.Fragment,null,oe.createElement("mask",{id:xa},Da),oe.createElement("foreignObject",{x:0,y:0,width:Tn,height:Tn,mask:"url(#".concat(xa,")")},oe.createElement(fe,{bg:pn},oe.createElement(fe,{bg:an}))))}),De=be,ye=100,wt=function(We,lt,vt,zt,en,Yt,ln,Dn,Yn,Tn){var Xn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ya=vt/100*360*((360-Yt)/360),ba=Yt===0?0:{bottom:0,top:180,left:90,right:-90}[ln],Bn=(100-zt)/100*lt;Yn==="round"&&zt!==100&&(Bn+=Tn/2,Bn>=lt&&(Bn=lt-.01));var Da=ye/2;return{stroke:typeof Dn=="string"?Dn:void 0,strokeDasharray:"".concat(lt,"px ").concat(We),strokeDashoffset:Bn+Xn,transform:"rotate(".concat(en+ya+ba,"deg)"),transformOrigin:"".concat(Da,"px ").concat(Da,"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}},pt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function hn(we){var We=we!=null?we:[];return Array.isArray(We)?We:[We]}var it=function(We){var lt=(0,nt.Z)((0,nt.Z)({},He),We),vt=lt.id,zt=lt.prefixCls,en=lt.steps,Yt=lt.strokeWidth,ln=lt.trailWidth,Dn=lt.gapDegree,Yn=Dn===void 0?0:Dn,Tn=lt.gapPosition,Xn=lt.trailColor,ya=lt.strokeLinecap,ba=lt.style,Bn=lt.className,Da=lt.strokeColor,xa=lt.percent,ca=(0,ut.Z)(lt,pt),Ta=ye/2,to=ge(vt),an="".concat(to,"-gradient"),pn=Ta-Yt/2,En=Math.PI*2*pn,Pn=Yn>0?90+Yn/2:-90,ra=En*((360-Yn)/360),Ca=(0,b.Z)(en)==="object"?en:{count:en,space:2},Kn=Ca.count,Ve=Ca.space,et=hn(xa),Ye=hn(Da),Rt=Ye.find(function(ia){return ia&&(0,b.Z)(ia)==="object"}),Sn=Rt&&(0,b.Z)(Rt)==="object",_t=Sn?"butt":ya,va=wt(En,ra,0,100,Pn,Yn,Tn,Xn,_t,Yt),zn=ie(),kn=function(){var tn=0;return et.map(function(Ga,po){var Qa=Ye[po]||Ye[Ye.length-1],$a=wt(En,ra,tn,Ga,Pn,Yn,Tn,Qa,_t,Yt);return tn+=Ga,oe.createElement(De,{key:po,color:Qa,ptg:Ga,radius:pn,prefixCls:zt,gradientId:an,style:$a,strokeLinecap:_t,strokeWidth:Yt,gapDegree:Yn,ref:function(Ot){zn[po]=Ot},size:ye})}).reverse()},wa=function(){var tn=Math.round(Kn*(et[0]/100)),Ga=100/Kn,po=0;return new Array(Kn).fill(null).map(function(Qa,$a){var Ke=$a<=tn-1?Ye[0]:Xn,Ot=Ke&&(0,b.Z)(Ke)==="object"?"url(#".concat(an,")"):void 0,At=wt(En,ra,po,Ga,Pn,Yn,Tn,Ke,"butt",Yt,Ve);return po+=(ra-At.strokeDashoffset+Ve)*100/ra,oe.createElement("circle",{key:$a,className:"".concat(zt,"-circle-path"),r:pn,cx:Ta,cy:Ta,stroke:Ot,strokeWidth:Yt,opacity:1,style:At,ref:function(un){zn[$a]=un}})})};return oe.createElement("svg",(0,at.Z)({className:le()("".concat(zt,"-circle"),Bn),viewBox:"0 0 ".concat(ye," ").concat(ye),style:ba,id:vt,role:"presentation"},ca),!Kn&&oe.createElement("circle",{className:"".concat(zt,"-circle-trail"),r:pn,cx:Ta,cy:Ta,stroke:Xn,strokeLinecap:_t,strokeWidth:ln||Yt,style:va}),Kn?wa():kn())},dt=it,St={Line:x,Circle:dt},Ft=te(6848),Zt=te(30071);function Jt(we){return!we||we<0?0:we>100?100:we}function Je(we){let{success:We,successPercent:lt}=we,vt=lt;return We&&"progress"in We&&(vt=We.progress),We&&"percent"in We&&(vt=We.percent),vt}const kt=we=>{let{percent:We,success:lt,successPercent:vt}=we;const zt=Jt(Je({success:lt,successPercent:vt}));return[zt,Jt(Jt(We)-zt)]},Xt=we=>{let{success:We={},strokeColor:lt}=we;const{strokeColor:vt}=We;return[vt||Zt.presetPrimaryColors.green,lt||null]},Fe=(we,We,lt)=>{var vt,zt,en,Yt;let ln=-1,Dn=-1;if(We==="step"){const Yn=lt.steps,Tn=lt.strokeWidth;typeof we=="string"||typeof we=="undefined"?(ln=we==="small"?2:14,Dn=Tn!=null?Tn:8):typeof we=="number"?[ln,Dn]=[we,we]:[ln=14,Dn=8]=we,ln*=Yn}else if(We==="line"){const Yn=lt==null?void 0:lt.strokeWidth;typeof we=="string"||typeof we=="undefined"?Dn=Yn||(we==="small"?6:8):typeof we=="number"?[ln,Dn]=[we,we]:[ln=-1,Dn=8]=we}else(We==="circle"||We==="dashboard")&&(typeof we=="string"||typeof we=="undefined"?[ln,Dn]=we==="small"?[60,60]:[120,120]:typeof we=="number"?[ln,Dn]=[we,we]:(ln=(zt=(vt=we[0])!==null&&vt!==void 0?vt:we[1])!==null&&zt!==void 0?zt:120,Dn=(Yt=(en=we[0])!==null&&en!==void 0?en:we[1])!==null&&Yt!==void 0?Yt:120));return[ln,Dn]},Ue=3,Et=we=>Ue/we*100;var mt=we=>{const{prefixCls:We,trailColor:lt=null,strokeLinecap:vt="round",gapPosition:zt,gapDegree:en,width:Yt=120,type:ln,children:Dn,success:Yn,size:Tn=Yt}=we,[Xn,ya]=Fe(Tn,"circle");let{strokeWidth:ba}=we;ba===void 0&&(ba=Math.max(Et(Xn),6));const Bn={width:Xn,height:ya,fontSize:Xn*.15+6},Da=oe.useMemo(()=>{if(en||en===0)return en;if(ln==="dashboard")return 75},[en,ln]),xa=zt||ln==="dashboard"&&"bottom"||void 0,ca=Object.prototype.toString.call(we.strokeColor)==="[object Object]",Ta=Xt({success:Yn,strokeColor:we.strokeColor}),to=le()(`${We}-inner`,{[`${We}-circle-gradient`]:ca}),an=oe.createElement(dt,{percent:kt(we),strokeWidth:ba,trailWidth:ba,strokeColor:Ta,strokeLinecap:vt,trailColor:lt,prefixCls:We,gapDegree:Da,gapPosition:xa});return oe.createElement("div",{className:to,style:Bn},Xn<=20?oe.createElement(Ft.Z,{title:Dn},oe.createElement("span",null,an)):oe.createElement(oe.Fragment,null,an,Dn))},rn=function(we,We){var lt={};for(var vt in we)Object.prototype.hasOwnProperty.call(we,vt)&&We.indexOf(vt)<0&&(lt[vt]=we[vt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,vt=Object.getOwnPropertySymbols(we);zt<vt.length;zt++)We.indexOf(vt[zt])<0&&Object.prototype.propertyIsEnumerable.call(we,vt[zt])&&(lt[vt[zt]]=we[vt[zt]]);return lt};const xe=we=>{let We=[];return Object.keys(we).forEach(lt=>{const vt=parseFloat(lt.replace(/%/g,""));isNaN(vt)||We.push({key:vt,value:we[lt]})}),We=We.sort((lt,vt)=>lt.key-vt.key),We.map(lt=>{let{key:vt,value:zt}=lt;return`${zt} ${vt}%`}).join(", ")},It=(we,We)=>{const{from:lt=Zt.presetPrimaryColors.blue,to:vt=Zt.presetPrimaryColors.blue,direction:zt=We==="rtl"?"to left":"to right"}=we,en=rn(we,["from","to","direction"]);if(Object.keys(en).length!==0){const Yt=xe(en);return{backgroundImage:`linear-gradient(${zt}, ${Yt})`}}return{backgroundImage:`linear-gradient(${zt}, ${lt}, ${vt})`}};var An=we=>{const{prefixCls:We,direction:lt,percent:vt,size:zt,strokeWidth:en,strokeColor:Yt,strokeLinecap:ln="round",children:Dn,trailColor:Yn=null,success:Tn}=we,Xn=Yt&&typeof Yt!="string"?It(Yt,lt):{backgroundColor:Yt},ya=ln==="square"||ln==="butt"?0:void 0,ba={backgroundColor:Yn||void 0,borderRadius:ya},Bn=zt!=null?zt:[-1,en||(zt==="small"?6:8)],[Da,xa]=Fe(Bn,"line",{strokeWidth:en}),ca=Object.assign({width:`${Jt(vt)}%`,height:xa,borderRadius:ya},Xn),Ta=Je(we),to={width:`${Jt(Ta)}%`,height:xa,borderRadius:ya,backgroundColor:Tn==null?void 0:Tn.strokeColor},an={width:Da<0?"100%":Da,height:xa};return oe.createElement(oe.Fragment,null,oe.createElement("div",{className:`${We}-outer`,style:an},oe.createElement("div",{className:`${We}-inner`,style:ba},oe.createElement("div",{className:`${We}-bg`,style:ca}),Ta!==void 0?oe.createElement("div",{className:`${We}-success-bg`,style:to}):null)),Dn)},Xe=we=>{const{size:We,steps:lt,percent:vt=0,strokeWidth:zt=8,strokeColor:en,trailColor:Yt=null,prefixCls:ln,children:Dn}=we,Yn=Math.round(lt*(vt/100)),Tn=We==="small"?2:14,Xn=We!=null?We:[Tn,zt],[ya,ba]=Fe(Xn,"step",{steps:lt,strokeWidth:zt}),Bn=ya/lt,Da=new Array(lt);for(let xa=0;xa<lt;xa++){const ca=Array.isArray(en)?en[xa]:en;Da[xa]=oe.createElement("div",{key:xa,className:le()(`${ln}-steps-item`,{[`${ln}-steps-item-active`]:xa<=Yn-1}),style:{backgroundColor:xa<=Yn-1?ca:Yt,width:Bn,height:ba}})}return oe.createElement("div",{className:`${ln}-steps-outer`},Da,Dn)},Ze=te(93083),Ce=te(17313),me=te(83116),ze=te(37613);const gt=we=>{const We=we?"100%":"-100%";return new Ze.Keyframes(`antProgress${we?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${We}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${We}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Se=we=>{const{componentCls:We,iconCls:lt}=we;return{[We]:Object.assign(Object.assign({},(0,Ce.Wf)(we)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:we.fontSize,marginInlineEnd:we.marginXS,marginBottom:we.marginXS},[`${We}-outer`]:{display:"inline-block",width:"100%"},[`&${We}-show-info`]:{[`${We}-outer`]:{marginInlineEnd:`calc(-2em - ${we.marginXS}px)`,paddingInlineEnd:`calc(2em + ${we.paddingXS}px)`}},[`${We}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:we.remainingColor,borderRadius:we.lineBorderRadius},[`${We}-inner:not(${We}-circle-gradient)`]:{[`${We}-circle-path`]:{stroke:we.defaultColor}},[`${We}-success-bg, ${We}-bg`]:{position:"relative",backgroundColor:we.defaultColor,borderRadius:we.lineBorderRadius,transition:`all ${we.motionDurationSlow} ${we.motionEaseInOutCirc}`},[`${We}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:we.colorSuccess},[`${We}-text`]:{display:"inline-block",width:"2em",marginInlineStart:we.marginXS,color:we.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[lt]:{fontSize:we.fontSize}},[`&${We}-status-active`]:{[`${We}-bg::before`]:{position:"absolute",inset:0,backgroundColor:we.colorBgContainer,borderRadius:we.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:we.progressActiveMotionDuration,animationTimingFunction:we.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${We}-rtl${We}-status-active`]:{[`${We}-bg::before`]:{animationName:gt(!0)}},[`&${We}-status-exception`]:{[`${We}-bg`]:{backgroundColor:we.colorError},[`${We}-text`]:{color:we.colorError}},[`&${We}-status-exception ${We}-inner:not(${We}-circle-gradient)`]:{[`${We}-circle-path`]:{stroke:we.colorError}},[`&${We}-status-success`]:{[`${We}-bg`]:{backgroundColor:we.colorSuccess},[`${We}-text`]:{color:we.colorSuccess}},[`&${We}-status-success ${We}-inner:not(${We}-circle-gradient)`]:{[`${We}-circle-path`]:{stroke:we.colorSuccess}}})}},pe=we=>{const{componentCls:We,iconCls:lt}=we;return{[We]:{[`${We}-circle-trail`]:{stroke:we.remainingColor},[`&${We}-circle ${We}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${We}-circle ${We}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:we.circleTextColor,fontSize:we.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[lt]:{fontSize:`${we.fontSize/we.fontSizeSM}em`}},[`${We}-circle&-status-exception`]:{[`${We}-text`]:{color:we.colorError}},[`${We}-circle&-status-success`]:{[`${We}-text`]:{color:we.colorSuccess}}},[`${We}-inline-circle`]:{lineHeight:1,[`${We}-inner`]:{verticalAlign:"bottom"}}}},Ie=we=>{const{componentCls:We}=we;return{[We]:{[`${We}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:we.progressStepMinWidth,marginInlineEnd:we.progressStepMarginInlineEnd,backgroundColor:we.remainingColor,transition:`all ${we.motionDurationSlow}`,"&-active":{backgroundColor:we.defaultColor}}}}}},Le=we=>{const{componentCls:We,iconCls:lt}=we;return{[We]:{[`${We}-small&-line, ${We}-small&-line ${We}-text ${lt}`]:{fontSize:we.fontSizeSM}}}};var he=(0,me.Z)("Progress",we=>{const We=we.marginXXS/2,lt=(0,ze.TS)(we,{progressStepMarginInlineEnd:We,progressStepMinWidth:We,progressActiveMotionDuration:"2.4s"});return[Se(lt),pe(lt),Ie(lt),Le(lt)]},we=>({circleTextColor:we.colorText,defaultColor:we.colorInfo,remainingColor:we.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ge=function(we,We){var lt={};for(var vt in we)Object.prototype.hasOwnProperty.call(we,vt)&&We.indexOf(vt)<0&&(lt[vt]=we[vt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,vt=Object.getOwnPropertySymbols(we);zt<vt.length;zt++)We.indexOf(vt[zt])<0&&Object.prototype.propertyIsEnumerable.call(we,vt[zt])&&(lt[vt[zt]]=we[vt[zt]]);return lt};const Vt=null,Ct=["normal","exception","active","success"];var Bt=oe.forwardRef((we,We)=>{const{prefixCls:lt,className:vt,rootClassName:zt,steps:en,strokeColor:Yt,percent:ln=0,size:Dn="default",showInfo:Yn=!0,type:Tn="line",status:Xn,format:ya,style:ba}=we,Bn=Ge(we,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Da=oe.useMemo(()=>{var et,Ye;const Rt=Je(we);return parseInt(Rt!==void 0?(et=Rt!=null?Rt:0)===null||et===void 0?void 0:et.toString():(Ye=ln!=null?ln:0)===null||Ye===void 0?void 0:Ye.toString(),10)},[ln,we.success,we.successPercent]),xa=oe.useMemo(()=>!Ct.includes(Xn)&&Da>=100?"success":Xn||"normal",[Xn,Da]),{getPrefixCls:ca,direction:Ta,progress:to}=oe.useContext(rt.E_),an=ca("progress",lt),[pn,En]=he(an),Pn=oe.useMemo(()=>{if(!Yn)return null;const et=Je(we);let Ye;const Rt=ya||(_t=>`${_t}%`),Sn=Tn==="line";return ya||xa!=="exception"&&xa!=="success"?Ye=Rt(Jt(ln),Jt(et)):xa==="exception"?Ye=Sn?oe.createElement(tt.Z,null):oe.createElement(Me.Z,null):xa==="success"&&(Ye=Sn?oe.createElement(ve.Z,null):oe.createElement(Te.Z,null)),oe.createElement("span",{className:`${an}-text`,title:typeof Ye=="string"?Ye:void 0},Ye)},[Yn,ln,Da,xa,Tn,an,ya]),ra=Array.isArray(Yt)?Yt[0]:Yt,Ca=typeof Yt=="string"||Array.isArray(Yt)?Yt:void 0;let Kn;Tn==="line"?Kn=en?oe.createElement(Xe,Object.assign({},we,{strokeColor:Ca,prefixCls:an,steps:en}),Pn):oe.createElement(An,Object.assign({},we,{strokeColor:ra,prefixCls:an,direction:Ta}),Pn):(Tn==="circle"||Tn==="dashboard")&&(Kn=oe.createElement(mt,Object.assign({},we,{strokeColor:ra,prefixCls:an,progressStatus:xa}),Pn));const Ve=le()(an,`${an}-status-${xa}`,`${an}-${Tn==="dashboard"&&"circle"||en&&"steps"||Tn}`,{[`${an}-inline-circle`]:Tn==="circle"&&Fe(Dn,"circle")[0]<=20,[`${an}-show-info`]:Yn,[`${an}-${Dn}`]:typeof Dn=="string",[`${an}-rtl`]:Ta==="rtl"},to==null?void 0:to.className,vt,zt,En);return pn(oe.createElement("div",Object.assign({ref:We,style:Object.assign(Object.assign({},to==null?void 0:to.style),ba),className:Ve,role:"progressbar","aria-valuenow":Da},(0,ot.Z)(Bn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Kn))}),Tt=Bt},13570:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return Jt}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},tt=Te,Me=te(7657),Re=function(kt,Xt){return ve.createElement(Me.Z,(0,oe.Z)({},kt,{ref:Xt,icon:tt}))},le=ve.forwardRef(Re),ot=le,rt=te(92310),at=te.n(rt),nt=te(4635),ut=te(50298),He=te(62646),ie=te(18929),y=te(10228),a=te(26112);function x(Je,kt){var Xt=Je.disabled,Fe=Je.prefixCls,Ue=Je.character,Et=Je.characterRender,sn=Je.index,mt=Je.count,rn=Je.value,xe=Je.allowHalf,It=Je.focused,xt=Je.onHover,An=Je.onClick,Nn=function(pe){xt(pe,sn)},Xe=function(pe){An(pe,sn)},Ze=function(pe){pe.keyCode===y.Z.ENTER&&An(pe,sn)},Ce=sn+1,me=new Set([Fe]);rn===0&&sn===0&&It?me.add("".concat(Fe,"-focused")):xe&&rn+.5>=Ce&&rn<Ce?(me.add("".concat(Fe,"-half")),me.add("".concat(Fe,"-active")),It&&me.add("".concat(Fe,"-focused"))):(Ce<=rn?me.add("".concat(Fe,"-full")):me.add("".concat(Fe,"-zero")),Ce===rn&&It&&me.add("".concat(Fe,"-focused")));var ze=typeof Ue=="function"?Ue(Je):Ue,gt=ve.createElement("li",{className:at()(Array.from(me)),ref:kt},ve.createElement("div",{onClick:Xt?null:Xe,onKeyDown:Xt?null:Ze,onMouseMove:Xt?null:Nn,role:"radio","aria-checked":rn>sn?"true":"false","aria-posinset":sn+1,"aria-setsize":mt,tabIndex:Xt?-1:0},ve.createElement("div",{className:"".concat(Fe,"-first")},ze),ve.createElement("div",{className:"".concat(Fe,"-second")},ze)));return Et&&(gt=Et(gt,Je)),gt}var b=ve.forwardRef(x);function E(){var Je=ve.useRef({});function kt(Fe){return Je.current[Fe]}function Xt(Fe){return function(Ue){Je.current[Fe]=Ue}}return[kt,Xt]}function z(Je){var kt=Je.pageXOffset,Xt="scrollLeft";if(typeof kt!="number"){var Fe=Je.document;kt=Fe.documentElement[Xt],typeof kt!="number"&&(kt=Fe.body[Xt])}return kt}function ee(Je){var kt,Xt,Fe=Je.ownerDocument,Ue=Fe.body,Et=Fe&&Fe.documentElement,sn=Je.getBoundingClientRect();return kt=sn.left,Xt=sn.top,kt-=Et.clientLeft||Ue.clientLeft||0,Xt-=Et.clientTop||Ue.clientTop||0,{left:kt,top:Xt}}function ae(Je){var kt=ee(Je),Xt=Je.ownerDocument,Fe=Xt.defaultView||Xt.parentWindow;return kt.left+=z(Fe),kt.left}var ne=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ge(Je,kt){var Xt,Fe=Je.prefixCls,Ue=Fe===void 0?"rc-rate":Fe,Et=Je.className,sn=Je.defaultValue,mt=Je.value,rn=Je.count,xe=rn===void 0?5:rn,It=Je.allowHalf,xt=It===void 0?!1:It,An=Je.allowClear,Nn=An===void 0?!0:An,Xe=Je.character,Ze=Xe===void 0?"\u2605":Xe,Ce=Je.characterRender,me=Je.disabled,ze=Je.direction,gt=ze===void 0?"ltr":ze,Se=Je.tabIndex,pe=Se===void 0?0:Se,Ie=Je.autoFocus,Le=Je.onHoverChange,he=Je.onChange,Ge=Je.onFocus,Vt=Je.onBlur,Ct=Je.onKeyDown,Lt=Je.onMouseLeave,Bt=(0,He.Z)(Je,ne),Tt=E(),we=(0,ut.Z)(Tt,2),We=we[0],lt=we[1],vt=ve.useRef(null),zt=function(){if(!me){var _t;(_t=vt.current)===null||_t===void 0||_t.focus()}};ve.useImperativeHandle(kt,function(){return{focus:zt,blur:function(){if(!me){var _t;(_t=vt.current)===null||_t===void 0||_t.blur()}}}});var en=(0,ie.Z)(sn||0,{value:mt}),Yt=(0,ut.Z)(en,2),ln=Yt[0],Dn=Yt[1],Yn=(0,ie.Z)(null),Tn=(0,ut.Z)(Yn,2),Xn=Tn[0],ya=Tn[1],ba=function(_t,va){var zn=gt==="rtl",kn=_t+1;if(xt){var wa=We(_t),ia=ae(wa),tn=wa.clientWidth;(zn&&va-ia>tn/2||!zn&&va-ia<tn/2)&&(kn-=.5)}return kn},Bn=function(_t){Dn(_t),he==null||he(_t)},Da=ve.useState(!1),xa=(0,ut.Z)(Da,2),ca=xa[0],Ta=xa[1],to=function(){Ta(!0),Ge==null||Ge()},an=function(){Ta(!1),Vt==null||Vt()},pn=ve.useState(null),En=(0,ut.Z)(pn,2),Pn=En[0],ra=En[1],Ca=function(_t,va){var zn=ba(va,_t.pageX);zn!==Xn&&(ra(zn),ya(null)),Le==null||Le(zn)},Kn=function(_t){me||(ra(null),ya(null),Le==null||Le(void 0)),_t&&(Lt==null||Lt(_t))},Ve=function(_t,va){var zn=ba(va,_t.pageX),kn=!1;Nn&&(kn=zn===ln),Kn(),Bn(kn?0:zn),ya(kn?zn:null)},et=function(_t){var va=_t.keyCode,zn=gt==="rtl",kn=ln;va===y.Z.RIGHT&&kn<xe&&!zn?(xt?kn+=.5:kn+=1,Bn(kn),_t.preventDefault()):va===y.Z.LEFT&&kn>0&&!zn||va===y.Z.RIGHT&&kn>0&&zn?(xt?kn-=.5:kn-=1,Bn(kn),_t.preventDefault()):va===y.Z.LEFT&&kn<xe&&zn&&(xt?kn+=.5:kn+=1,Bn(kn),_t.preventDefault()),Ct==null||Ct(_t)};ve.useEffect(function(){Ie&&!me&&zt()},[]);var Ye=new Array(xe).fill(0).map(function(Sn,_t){return ve.createElement(b,{ref:lt(_t),index:_t,count:xe,disabled:me,prefixCls:"".concat(Ue,"-star"),allowHalf:xt,value:Pn===null?ln:Pn,onClick:Ve,onHover:Ca,key:Sn||_t,character:Ze,characterRender:Ce,focused:ca})}),Rt=at()(Ue,Et,(Xt={},(0,nt.Z)(Xt,"".concat(Ue,"-disabled"),me),(0,nt.Z)(Xt,"".concat(Ue,"-rtl"),gt==="rtl"),Xt));return ve.createElement("ul",(0,oe.Z)({className:Rt,onMouseLeave:Kn,tabIndex:me?-1:pe,onFocus:me?null:to,onBlur:me?null:an,onKeyDown:me?null:et,ref:vt,role:"radiogroup"},(0,a.Z)(Bt,{aria:!0,data:!0,attr:!0})),Ye)}var fe=ve.forwardRef(ge),Be=fe,be=te(36355),De=te(6848),ye=te(17313),wt=te(83116),pt=te(37613);const hn=Je=>{const{componentCls:kt}=Je;return{[`${kt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Je.marginXS},"> div":{transition:`all ${Je.motionDurationMid}, outline 0s`,"&:hover":{transform:Je.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Je.lineWidth}px dashed ${Je.starColor}`,transform:Je.starHoverScale}},"&-first, &-second":{color:Je.starBg,transition:`all ${Je.motionDurationMid}`,userSelect:"none",[Je.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${kt}-star-first, &-half ${kt}-star-second`]:{opacity:1},[`&-half ${kt}-star-first, &-full ${kt}-star-second`]:{color:"inherit"}}}},it=Je=>({[`&-rtl${Je.componentCls}`]:{direction:"rtl"}}),dt=Je=>{const{componentCls:kt}=Je;return{[kt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(Je)),{display:"inline-block",margin:0,padding:0,color:Je.starColor,fontSize:Je.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${kt} ${kt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),hn(Je)),{[`+ ${kt}-text`]:{display:"inline-block",marginInlineStart:Je.marginXS,fontSize:Je.fontSize}}),it(Je))}};var St=(0,wt.Z)("Rate",Je=>{const kt=(0,pt.TS)(Je,{});return[dt(kt)]},Je=>({starColor:Je.yellow6,starSize:Je.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Je.colorFillContent})),Ft=function(Je,kt){var Xt={};for(var Fe in Je)Object.prototype.hasOwnProperty.call(Je,Fe)&&kt.indexOf(Fe)<0&&(Xt[Fe]=Je[Fe]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Fe=Object.getOwnPropertySymbols(Je);Ue<Fe.length;Ue++)kt.indexOf(Fe[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Je,Fe[Ue])&&(Xt[Fe[Ue]]=Je[Fe[Ue]]);return Xt},Jt=ve.forwardRef((Je,kt)=>{const{prefixCls:Xt,className:Fe,rootClassName:Ue,style:Et,tooltips:sn,character:mt=ve.createElement(ot,null)}=Je,rn=Ft(Je,["prefixCls","className","rootClassName","style","tooltips","character"]),xe=(me,ze)=>{let{index:gt}=ze;return sn?ve.createElement(De.Z,{title:sn[gt]},me):me},{getPrefixCls:It,direction:xt,rate:An}=ve.useContext(be.E_),Nn=It("rate",Xt),[Xe,Ze]=St(Nn),Ce=Object.assign(Object.assign({},An==null?void 0:An.style),Et);return Xe(ve.createElement(Be,Object.assign({ref:kt,character:mt,characterRender:xe},rn,{className:at()(Fe,Ue,Ze,An==null?void 0:An.className),style:Ce,prefixCls:Nn,direction:xt})))})},61621:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return Ze}});var oe=te(92310),ve=te.n(oe),Te=te(59301),tt=te(36355),Me=te(2738),le=Ce=>{const{prefixCls:me,className:ze,style:gt,size:Se,shape:pe}=Ce,Ie=ve()({[`${me}-lg`]:Se==="large",[`${me}-sm`]:Se==="small"}),Le=ve()({[`${me}-circle`]:pe==="circle",[`${me}-square`]:pe==="square",[`${me}-round`]:pe==="round"}),he=Te.useMemo(()=>typeof Se=="number"?{width:Se,height:Se,lineHeight:`${Se}px`}:{},[Se]);return Te.createElement("span",{className:ve()(me,Ie,Le,ze),style:Object.assign(Object.assign({},he),gt)})},ot=te(93083),rt=te(83116),at=te(37613);const nt=new ot.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ut=Ce=>({height:Ce,lineHeight:`${Ce}px`}),He=Ce=>Object.assign({width:Ce},ut(Ce)),ie=Ce=>({background:Ce.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:nt,animationDuration:Ce.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Ce=>Object.assign({width:Ce*5,minWidth:Ce*5},ut(Ce)),a=Ce=>{const{skeletonAvatarCls:me,gradientFromColor:ze,controlHeight:gt,controlHeightLG:Se,controlHeightSM:pe}=Ce;return{[`${me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze},He(gt)),[`${me}${me}-circle`]:{borderRadius:"50%"},[`${me}${me}-lg`]:Object.assign({},He(Se)),[`${me}${me}-sm`]:Object.assign({},He(pe))}},x=Ce=>{const{controlHeight:me,borderRadiusSM:ze,skeletonInputCls:gt,controlHeightLG:Se,controlHeightSM:pe,gradientFromColor:Ie}=Ce;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ie,borderRadius:ze},y(me)),[`${gt}-lg`]:Object.assign({},y(Se)),[`${gt}-sm`]:Object.assign({},y(pe))}},b=Ce=>Object.assign({width:Ce},ut(Ce)),E=Ce=>{const{skeletonImageCls:me,imageSizeBase:ze,gradientFromColor:gt,borderRadiusSM:Se}=Ce;return{[`${me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:Se},b(ze*2)),{[`${me}-path`]:{fill:"#bfbfbf"},[`${me}-svg`]:Object.assign(Object.assign({},b(ze)),{maxWidth:ze*4,maxHeight:ze*4}),[`${me}-svg${me}-svg-circle`]:{borderRadius:"50%"}}),[`${me}${me}-circle`]:{borderRadius:"50%"}}},z=(Ce,me,ze)=>{const{skeletonButtonCls:gt}=Ce;return{[`${ze}${gt}-circle`]:{width:me,minWidth:me,borderRadius:"50%"},[`${ze}${gt}-round`]:{borderRadius:me}}},ee=Ce=>Object.assign({width:Ce*2,minWidth:Ce*2},ut(Ce)),ae=Ce=>{const{borderRadiusSM:me,skeletonButtonCls:ze,controlHeight:gt,controlHeightLG:Se,controlHeightSM:pe,gradientFromColor:Ie}=Ce;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ie,borderRadius:me,width:gt*2,minWidth:gt*2},ee(gt))},z(Ce,gt,ze)),{[`${ze}-lg`]:Object.assign({},ee(Se))}),z(Ce,Se,`${ze}-lg`)),{[`${ze}-sm`]:Object.assign({},ee(pe))}),z(Ce,pe,`${ze}-sm`))},ne=Ce=>{const{componentCls:me,skeletonAvatarCls:ze,skeletonTitleCls:gt,skeletonParagraphCls:Se,skeletonButtonCls:pe,skeletonInputCls:Ie,skeletonImageCls:Le,controlHeight:he,controlHeightLG:Ge,controlHeightSM:Vt,gradientFromColor:Ct,padding:Lt,marginSM:Bt,borderRadius:Tt,titleHeight:we,blockRadius:We,paragraphLiHeight:lt,controlHeightXS:vt,paragraphMarginTop:zt}=Ce;return{[`${me}`]:{display:"table",width:"100%",[`${me}-header`]:{display:"table-cell",paddingInlineEnd:Lt,verticalAlign:"top",[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ct},He(he)),[`${ze}-circle`]:{borderRadius:"50%"},[`${ze}-lg`]:Object.assign({},He(Ge)),[`${ze}-sm`]:Object.assign({},He(Vt))},[`${me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:we,background:Ct,borderRadius:We,[`+ ${Se}`]:{marginBlockStart:Vt}},[`${Se}`]:{padding:0,"> li":{width:"100%",height:lt,listStyle:"none",background:Ct,borderRadius:We,"+ li":{marginBlockStart:vt}}},[`${Se}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${me}-content`]:{[`${gt}, ${Se} > li`]:{borderRadius:Tt}}},[`${me}-with-avatar ${me}-content`]:{[`${gt}`]:{marginBlockStart:Bt,[`+ ${Se}`]:{marginBlockStart:zt}}},[`${me}${me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(Ce)),a(Ce)),x(Ce)),E(Ce)),[`${me}${me}-block`]:{width:"100%",[`${pe}`]:{width:"100%"},[`${Ie}`]:{width:"100%"}},[`${me}${me}-active`]:{[`
|
|
${gt},
|
|
${Se} > li,
|
|
${ze},
|
|
${pe},
|
|
${Ie},
|
|
${Le}
|
|
`]:Object.assign({},ie(Ce))}}};var ge=(0,rt.Z)("Skeleton",Ce=>{const{componentCls:me}=Ce,ze=(0,at.TS)(Ce,{skeletonAvatarCls:`${me}-avatar`,skeletonTitleCls:`${me}-title`,skeletonParagraphCls:`${me}-paragraph`,skeletonButtonCls:`${me}-button`,skeletonInputCls:`${me}-input`,skeletonImageCls:`${me}-image`,imageSizeBase:Ce.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ce.gradientFromColor} 25%, ${Ce.gradientToColor} 37%, ${Ce.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ne(ze)]},Ce=>{const{colorFillContent:me,colorFill:ze}=Ce,gt=me,Se=ze;return{color:gt,colorGradientEnd:Se,gradientFromColor:gt,gradientToColor:Se,titleHeight:Ce.controlHeight/2,blockRadius:Ce.borderRadiusSM,paragraphMarginTop:Ce.marginLG+Ce.marginXXS,paragraphLiHeight:Ce.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Be=Ce=>{const{prefixCls:me,className:ze,rootClassName:gt,active:Se,shape:pe="circle",size:Ie="default"}=Ce,{getPrefixCls:Le}=Te.useContext(tt.E_),he=Le("skeleton",me),[Ge,Vt]=ge(he),Ct=(0,Me.Z)(Ce,["prefixCls","className"]),Lt=ve()(he,`${he}-element`,{[`${he}-active`]:Se},ze,gt,Vt);return Ge(Te.createElement("div",{className:Lt},Te.createElement(le,Object.assign({prefixCls:`${he}-avatar`,shape:pe,size:Ie},Ct))))},De=Ce=>{const{prefixCls:me,className:ze,rootClassName:gt,active:Se,block:pe=!1,size:Ie="default"}=Ce,{getPrefixCls:Le}=Te.useContext(tt.E_),he=Le("skeleton",me),[Ge,Vt]=ge(he),Ct=(0,Me.Z)(Ce,["prefixCls"]),Lt=ve()(he,`${he}-element`,{[`${he}-active`]:Se,[`${he}-block`]:pe},ze,gt,Vt);return Ge(Te.createElement("div",{className:Lt},Te.createElement(le,Object.assign({prefixCls:`${he}-button`,size:Ie},Ct))))};const ye="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 pt=Ce=>{const{prefixCls:me,className:ze,rootClassName:gt,style:Se,active:pe}=Ce,{getPrefixCls:Ie}=Te.useContext(tt.E_),Le=Ie("skeleton",me),[he,Ge]=ge(Le),Vt=ve()(Le,`${Le}-element`,{[`${Le}-active`]:pe},ze,gt,Ge);return he(Te.createElement("div",{className:Vt},Te.createElement("div",{className:ve()(`${Le}-image`,ze),style:Se},Te.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Le}-image-svg`},Te.createElement("path",{d:ye,className:`${Le}-image-path`})))))},it=Ce=>{const{prefixCls:me,className:ze,rootClassName:gt,active:Se,block:pe,size:Ie="default"}=Ce,{getPrefixCls:Le}=Te.useContext(tt.E_),he=Le("skeleton",me),[Ge,Vt]=ge(he),Ct=(0,Me.Z)(Ce,["prefixCls"]),Lt=ve()(he,`${he}-element`,{[`${he}-active`]:Se,[`${he}-block`]:pe},ze,gt,Vt);return Ge(Te.createElement("div",{className:Lt},Te.createElement(le,Object.assign({prefixCls:`${he}-input`,size:Ie},Ct))))},dt=te(14809),St={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"},Ft=St,Zt=te(7657),Jt=function(me,ze){return Te.createElement(Zt.Z,(0,dt.Z)({},me,{ref:ze,icon:Ft}))},Je=Te.forwardRef(Jt),kt=Je,Fe=Ce=>{const{prefixCls:me,className:ze,rootClassName:gt,style:Se,active:pe,children:Ie}=Ce,{getPrefixCls:Le}=Te.useContext(tt.E_),he=Le("skeleton",me),[Ge,Vt]=ge(he),Ct=ve()(he,`${he}-element`,{[`${he}-active`]:pe},Vt,ze,gt),Lt=Ie!=null?Ie:Te.createElement(kt,null);return Ge(Te.createElement("div",{className:Ct},Te.createElement("div",{className:ve()(`${he}-image`,ze),style:Se},Lt)))},Ue=te(95190),sn=Ce=>{const me=Le=>{const{width:he,rows:Ge=2}=Ce;if(Array.isArray(he))return he[Le];if(Ge-1===Le)return he},{prefixCls:ze,className:gt,style:Se,rows:pe}=Ce,Ie=(0,Ue.Z)(Array(pe)).map((Le,he)=>Te.createElement("li",{key:he,style:{width:me(he)}}));return Te.createElement("ul",{className:ve()(ze,gt),style:Se},Ie)},rn=Ce=>{let{prefixCls:me,className:ze,width:gt,style:Se}=Ce;return Te.createElement("h3",{className:ve()(me,ze),style:Object.assign({width:gt},Se)})};function xe(Ce){return Ce&&typeof Ce=="object"?Ce:{}}function It(Ce,me){return Ce&&!me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function xt(Ce,me){return!Ce&&me?{width:"38%"}:Ce&&me?{width:"50%"}:{}}function An(Ce,me){const ze={};return(!Ce||!me)&&(ze.width="61%"),!Ce&&me?ze.rows=3:ze.rows=2,ze}const Nn=Ce=>{const{prefixCls:me,loading:ze,className:gt,rootClassName:Se,style:pe,children:Ie,avatar:Le=!1,title:he=!0,paragraph:Ge=!0,active:Vt,round:Ct}=Ce,{getPrefixCls:Lt,direction:Bt,skeleton:Tt}=Te.useContext(tt.E_),we=Lt("skeleton",me),[We,lt]=ge(we);if(ze||!("loading"in Ce)){const vt=!!Le,zt=!!he,en=!!Ge;let Yt;if(vt){const Yn=Object.assign(Object.assign({prefixCls:`${we}-avatar`},It(zt,en)),xe(Le));Yt=Te.createElement("div",{className:`${we}-header`},Te.createElement(le,Object.assign({},Yn)))}let ln;if(zt||en){let Yn;if(zt){const Xn=Object.assign(Object.assign({prefixCls:`${we}-title`},xt(vt,en)),xe(he));Yn=Te.createElement(rn,Object.assign({},Xn))}let Tn;if(en){const Xn=Object.assign(Object.assign({prefixCls:`${we}-paragraph`},An(vt,zt)),xe(Ge));Tn=Te.createElement(sn,Object.assign({},Xn))}ln=Te.createElement("div",{className:`${we}-content`},Yn,Tn)}const Dn=ve()(we,{[`${we}-with-avatar`]:vt,[`${we}-active`]:Vt,[`${we}-rtl`]:Bt==="rtl",[`${we}-round`]:Ct},Tt==null?void 0:Tt.className,gt,Se,lt);return We(Te.createElement("div",{className:Dn,style:Object.assign(Object.assign({},Tt==null?void 0:Tt.style),pe)},Yt,ln))}return typeof Ie!="undefined"?Ie:null};Nn.Button=De,Nn.Avatar=Be,Nn.Input=it,Nn.Image=pt,Nn.Node=Fe;var Xe=Nn,Ze=Xe},31797:function(ht,Dt,te){"use strict";te.d(Dt,{default:function(){return ge}});var oe=te(59301),ve=te(56762),Te=te(92343),tt=te(92310),Me=te.n(tt),Re=te(36355),le=te(61621),rt=fe=>{const{value:Be,formatter:be,precision:De,decimalSeparator:ye,groupSeparator:wt="",prefixCls:pt}=fe;let hn;if(typeof be=="function")hn=be(Be);else{const it=String(Be),dt=it.match(/^(-?)(\d*)(\.(\d+))?$/);if(!dt||it==="-")hn=it;else{const St=dt[1];let Ft=dt[2]||"0",Zt=dt[4]||"";Ft=Ft.replace(/\B(?=(\d{3})+(?!\d))/g,wt),typeof De=="number"&&(Zt=Zt.padEnd(De,"0").slice(0,De>0?De:0)),Zt&&(Zt=`${ye}${Zt}`),hn=[oe.createElement("span",{key:"int",className:`${pt}-content-value-int`},St,Ft),Zt&&oe.createElement("span",{key:"decimal",className:`${pt}-content-value-decimal`},Zt)]}}return oe.createElement("span",{className:`${pt}-content-value`},hn)},at=te(17313),nt=te(83116),ut=te(37613);const He=fe=>{const{componentCls:Be,marginXXS:be,padding:De,colorTextDescription:ye,titleFontSize:wt,colorTextHeading:pt,contentFontSize:hn,fontFamily:it}=fe;return{[`${Be}`]:Object.assign(Object.assign({},(0,at.Wf)(fe)),{[`${Be}-title`]:{marginBottom:be,color:ye,fontSize:wt},[`${Be}-skeleton`]:{paddingTop:De},[`${Be}-content`]:{color:pt,fontSize:hn,fontFamily:it,[`${Be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Be}-content-prefix, ${Be}-content-suffix`]:{display:"inline-block"},[`${Be}-content-prefix`]:{marginInlineEnd:be},[`${Be}-content-suffix`]:{marginInlineStart:be}}})}};var ie=(0,nt.Z)("Statistic",fe=>{const Be=(0,ut.TS)(fe,{});return[He(Be)]},fe=>{const{fontSizeHeading3:Be,fontSize:be}=fe;return{titleFontSize:be,contentFontSize:Be}}),a=fe=>{const{prefixCls:Be,className:be,rootClassName:De,style:ye,valueStyle:wt,value:pt=0,title:hn,valueRender:it,prefix:dt,suffix:St,loading:Ft=!1,onMouseEnter:Zt,onMouseLeave:Jt,decimalSeparator:Je=".",groupSeparator:kt=","}=fe,{getPrefixCls:Xt,direction:Fe,statistic:Ue}=oe.useContext(Re.E_),Et=Xt("statistic",Be),[sn,mt]=ie(Et),rn=oe.createElement(rt,Object.assign({decimalSeparator:Je,groupSeparator:kt,prefixCls:Et},fe,{value:pt})),xe=Me()(Et,{[`${Et}-rtl`]:Fe==="rtl"},Ue==null?void 0:Ue.className,be,De,mt);return sn(oe.createElement("div",{className:xe,style:Object.assign(Object.assign({},Ue==null?void 0:Ue.style),ye),onMouseEnter:Zt,onMouseLeave:Jt},hn&&oe.createElement("div",{className:`${Et}-title`},hn),oe.createElement(le.Z,{paragraph:!1,loading:Ft,className:`${Et}-skeleton`},oe.createElement("div",{style:wt,className:`${Et}-content`},dt&&oe.createElement("span",{className:`${Et}-content-prefix`},dt),it?it(rn):rn,St&&oe.createElement("span",{className:`${Et}-content-suffix`},St)))))};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(fe,Be){let be=fe;const De=/\[[^\]]*]/g,ye=(Be.match(De)||[]).map(it=>it.slice(1,-1)),wt=Be.replace(De,"[]"),pt=x.reduce((it,dt)=>{let[St,Ft]=dt;if(it.includes(St)){const Zt=Math.floor(be/Ft);return be-=Zt*Ft,it.replace(new RegExp(`${St}+`,"g"),Jt=>{const Je=Jt.length;return Zt.toString().padStart(Je,"0")})}return it},wt);let hn=0;return pt.replace(De,()=>{const it=ye[hn];return hn+=1,it})}function E(fe,Be){const{format:be=""}=Be,De=new Date(fe).getTime(),ye=Date.now(),wt=Math.max(De-ye,0);return b(wt,be)}const z=1e3/30;function ee(fe){return new Date(fe).getTime()}const ae=fe=>{const{value:Be,format:be="HH:mm:ss",onChange:De,onFinish:ye}=fe,wt=(0,ve.Z)(),pt=oe.useRef(null),hn=()=>{ye==null||ye(),pt.current&&(clearInterval(pt.current),pt.current=null)},it=()=>{const Ft=ee(Be);Ft>=Date.now()&&(pt.current=setInterval(()=>{wt(),De==null||De(Ft-Date.now()),Ft<Date.now()&&hn()},z))};oe.useEffect(()=>(it(),()=>{pt.current&&(clearInterval(pt.current),pt.current=null)}),[Be]);const dt=(Ft,Zt)=>E(Ft,Object.assign(Object.assign({},Zt),{format:be})),St=Ft=>(0,Te.Tm)(Ft,{title:void 0});return oe.createElement(a,Object.assign({},fe,{valueRender:St,formatter:dt}))};var ne=oe.memo(ae);a.Countdown=ne;var ge=a},15969:function(ht,Dt,te){"use strict";te.d(Dt,{N:function(){return oe}});const oe=ve=>({color:ve.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ve.motionDurationSlow}`,"&:focus, &:hover":{color:ve.colorLinkHover},"&:active":{color:ve.colorLinkActive}})},1710:function(ht,Dt,te){"use strict";te.d(Dt,{default:function(){return ar}});var oe={},ve="rc-table-internal-hook",Te=te(50298),tt=te(6089),Me=te(34280),Re=te(13697),le=te(59301),ot=te(4676);function rt(de){var ue=le.createContext(void 0),Pe=function(Oe){var ke=Oe.value,qe=Oe.children,Qe=le.useRef(ke);Qe.current=ke;var $e=le.useState(function(){return{getValue:function(){return Qe.current},listeners:new Set}}),ft=(0,Te.Z)($e,1),st=ft[0];return(0,Me.Z)(function(){(0,ot.unstable_batchedUpdates)(function(){st.listeners.forEach(function(ct){ct(ke)})})},[ke]),le.createElement(ue.Provider,{value:st},qe)};return{Context:ue,Provider:Pe,defaultValue:de}}function at(de,ue){var Pe=(0,tt.Z)(typeof ue=="function"?ue:function(ct){if(ue===void 0)return ct;if(!Array.isArray(ue))return ct[ue];var Gt={};return ue.forEach(function(Ht){Gt[Ht]=ct[Ht]}),Gt}),Ee=le.useContext(de==null?void 0:de.Context),Oe=Ee||{},ke=Oe.listeners,qe=Oe.getValue,Qe=le.useRef();Qe.current=Pe(Ee?qe():de==null?void 0:de.defaultValue);var $e=le.useState({}),ft=(0,Te.Z)($e,2),st=ft[1];return(0,Me.Z)(function(){if(!Ee)return;function ct(Gt){var Ht=Pe(Gt);(0,Re.Z)(Qe.current,Ht,!0)||st({})}return ke.add(ct),function(){ke.delete(ct)}},[Ee]),Qe.current}var nt=te(14809),ut=te(8654);function He(){var de=le.createContext(null);function ue(){return le.useContext(de)}function Pe(Oe,ke){var qe=(0,ut.Yr)(Oe),Qe=function(ft,st){var ct=qe?{ref:st}:{},Gt=le.useRef(0),Ht=le.useRef(ft),Kt=ue();return Kt!==null?le.createElement(Oe,(0,nt.Z)({},ft,ct)):((!ke||ke(Ht.current,ft))&&(Gt.current+=1),Ht.current=ft,le.createElement(de.Provider,{value:Gt.current},le.createElement(Oe,(0,nt.Z)({},ft,ct))))};return qe?le.forwardRef(Qe):Qe}function Ee(Oe,ke){var qe=(0,ut.Yr)(Oe),Qe=function(ft,st){var ct=qe?{ref:st}:{};return ue(),le.createElement(Oe,(0,nt.Z)({},ft,ct))};return qe?le.memo(le.forwardRef(Qe),ke):le.memo(Qe,ke)}return{makeImmutable:Pe,responseImmutable:Ee,useImmutableMark:ue}}var ie=He(),y=ie.makeImmutable,a=ie.responseImmutable,x=ie.useImmutableMark,b=He(),E=b.makeImmutable,z=b.responseImmutable,ee=b.useImmutableMark,ae=rt(),ne=ae;function ge(de,ue){var Pe=le.useRef(0);Pe.current+=1;var Ee=le.useRef(de),Oe=[];Object.keys(de||{}).map(function(qe){var Qe;(de==null?void 0:de[qe])!==((Qe=Ee.current)===null||Qe===void 0?void 0:Qe[qe])&&Oe.push(qe)}),Ee.current=de;var ke=le.useRef([]);return Oe.length&&(ke.current=Oe),le.useDebugValue(Pe.current),le.useDebugValue(ke.current.join(", ")),ue&&console.log("".concat(ue,":"),Pe.current,ke.current),Pe.current}var fe=null,Be=le.memo(function(){var de=ge();return le.createElement("h1",null,"Render Times: ",de)});Be.displayName="RenderBlock";var be=te(93664),De=te(20439),ye=te(4635),wt=te(92310),pt=te.n(wt),hn=te(80547),it=te(97938),dt=te(48736),St=le.createContext({renderWithProps:!1}),Ft=St,Zt="RC_TABLE_KEY";function Jt(de){return de==null?[]:Array.isArray(de)?de:[de]}function Je(de){var ue=[],Pe={};return de.forEach(function(Ee){for(var Oe=Ee||{},ke=Oe.key,qe=Oe.dataIndex,Qe=ke||Jt(qe).join("-")||Zt;Pe[Qe];)Qe="".concat(Qe,"_next");Pe[Qe]=!0,ue.push(Qe)}),ue}function kt(de){return de!=null}function Xt(de){return de&&(0,be.Z)(de)==="object"&&!Array.isArray(de)&&!le.isValidElement(de)}function Fe(de,ue,Pe,Ee,Oe,ke){var qe=le.useContext(Ft),Qe=ee(),$e=(0,hn.Z)(function(){if(kt(Ee))return[Ee];var ft=ue==null||ue===""?[]:Array.isArray(ue)?ue:[ue],st=(0,it.Z)(de,ft),ct=st,Gt=void 0;if(Oe){var Ht=Oe(st,de,Pe);Xt(Ht)?(ct=Ht.children,Gt=Ht.props,qe.renderWithProps=!0):ct=Ht}return[ct,Gt]},[Qe,de,Ee,ue,Oe,Pe],function(ft,st){if(ke){var ct=(0,Te.Z)(ft,2),Gt=ct[1],Ht=(0,Te.Z)(st,2),Kt=Ht[1];return ke(Kt,Gt)}return qe.renderWithProps?!0:!(0,Re.Z)(ft,st,!0)});return $e}function Ue(de,ue,Pe,Ee){var Oe=de+ue-1;return de<=Ee&&Oe>=Pe}function Et(de,ue){return at(ne,function(Pe){var Ee=Ue(de,ue||1,Pe.hoverStartRow,Pe.hoverEndRow);return[Ee,Pe.onHover]})}var sn=function(ue){var Pe=ue.ellipsis,Ee=ue.rowType,Oe=ue.children,ke,qe=Pe===!0?{showTitle:!0}:Pe;return qe&&(qe.showTitle||Ee==="header")&&(typeof Oe=="string"||typeof Oe=="number"?ke=Oe.toString():le.isValidElement(Oe)&&typeof Oe.props.children=="string"&&(ke=Oe.props.children)),ke};function mt(de){var ue,Pe,Ee,Oe,ke,qe,Qe,$e,ft=de.component,st=de.children,ct=de.ellipsis,Gt=de.scope,Ht=de.prefixCls,Kt=de.className,cn=de.align,on=de.record,xn=de.render,vn=de.dataIndex,wn=de.renderIndex,na=de.shouldCellUpdate,la=de.index,jn=de.rowType,aa=de.colSpan,La=de.rowSpan,On=de.fixLeft,Vn=de.fixRight,Rn=de.firstFixLeft,Cn=de.lastFixLeft,Ln=de.firstFixRight,oa=de.lastFixRight,Ia=de.appendNode,Na=de.additionalProps,Qn=Na===void 0?{}:Na,Oa=de.isSticky,Ra="".concat(Ht,"-cell"),Ha=at(ne,["supportSticky","allColumnsFixedLeft"]),Ma=Ha.supportSticky,Co=Ha.allColumnsFixedLeft,Va=Fe(on,vn,wn,st,xn,na),Sa=(0,Te.Z)(Va,2),No=Sa[0],ma=Sa[1],mo={},ao=typeof On=="number"&&Ma,Xo=typeof Vn=="number"&&Ma;ao&&(mo.position="sticky",mo.left=On),Xo&&(mo.position="sticky",mo.right=Vn);var fa=(ue=(Pe=(Ee=ma==null?void 0:ma.colSpan)!==null&&Ee!==void 0?Ee:Qn.colSpan)!==null&&Pe!==void 0?Pe:aa)!==null&&ue!==void 0?ue:1,sa=(Oe=(ke=(qe=ma==null?void 0:ma.rowSpan)!==null&&qe!==void 0?qe:Qn.rowSpan)!==null&&ke!==void 0?ke:La)!==null&&Oe!==void 0?Oe:1,da=Et(la,sa),ea=(0,Te.Z)(da,2),Hn=ea[0],Ut=ea[1],Fn=function(ga){var vr;on&&Ut(la,la+sa-1),Qn==null||(vr=Qn.onMouseEnter)===null||vr===void 0||vr.call(Qn,ga)},Ba=function(ga){var vr;on&&Ut(-1,-1),Qn==null||(vr=Qn.onMouseLeave)===null||vr===void 0||vr.call(Qn,ga)};if(fa===0||sa===0)return null;var za=(Qe=Qn.title)!==null&&Qe!==void 0?Qe:sn({rowType:jn,ellipsis:ct,children:No}),dr=pt()(Ra,Kt,($e={},(0,ye.Z)($e,"".concat(Ra,"-fix-left"),ao&&Ma),(0,ye.Z)($e,"".concat(Ra,"-fix-left-first"),Rn&&Ma),(0,ye.Z)($e,"".concat(Ra,"-fix-left-last"),Cn&&Ma),(0,ye.Z)($e,"".concat(Ra,"-fix-left-all"),Cn&&Co&&Ma),(0,ye.Z)($e,"".concat(Ra,"-fix-right"),Xo&&Ma),(0,ye.Z)($e,"".concat(Ra,"-fix-right-first"),Ln&&Ma),(0,ye.Z)($e,"".concat(Ra,"-fix-right-last"),oa&&Ma),(0,ye.Z)($e,"".concat(Ra,"-ellipsis"),ct),(0,ye.Z)($e,"".concat(Ra,"-with-append"),Ia),(0,ye.Z)($e,"".concat(Ra,"-fix-sticky"),(ao||Xo)&&Oa&&Ma),(0,ye.Z)($e,"".concat(Ra,"-row-hover"),!ma&&Hn),$e),Qn.className,ma==null?void 0:ma.className),or={};cn&&(or.textAlign=cn);var Or=(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({},mo),Qn.style),or),ma==null?void 0:ma.style),Zo=No;return(0,be.Z)(Zo)==="object"&&!Array.isArray(Zo)&&!le.isValidElement(Zo)&&(Zo=null),ct&&(Cn||Ln)&&(Zo=le.createElement("span",{className:"".concat(Ra,"-content")},Zo)),le.createElement(ft,(0,nt.Z)({},ma,Qn,{className:dr,style:Or,title:za,scope:Gt,onMouseEnter:Fn,onMouseLeave:Ba,colSpan:fa!==1?fa:null,rowSpan:sa!==1?sa:null}),Ia,Zo)}var rn=le.memo(mt);function xe(de,ue,Pe,Ee,Oe,ke){var qe=Pe[de]||{},Qe=Pe[ue]||{},$e,ft;qe.fixed==="left"?$e=Ee.left[Oe==="rtl"?ue:de]:Qe.fixed==="right"&&(ft=Ee.right[Oe==="rtl"?de:ue]);var st=!1,ct=!1,Gt=!1,Ht=!1,Kt=Pe[ue+1],cn=Pe[de-1],on=!(ke!=null&&ke.children);if(Oe==="rtl"){if($e!==void 0){var xn=cn&&cn.fixed==="left";Ht=!xn&&on}else if(ft!==void 0){var vn=Kt&&Kt.fixed==="right";Gt=!vn&&on}}else if($e!==void 0){var wn=Kt&&Kt.fixed==="left";st=!wn&&on}else if(ft!==void 0){var na=cn&&cn.fixed==="right";ct=!na&&on}return{fixLeft:$e,fixRight:ft,lastFixLeft:st,firstFixRight:ct,lastFixRight:Gt,firstFixLeft:Ht,isSticky:Ee.isSticky}}var It=le.createContext({}),xt=It;function An(de){var ue=de.className,Pe=de.index,Ee=de.children,Oe=de.colSpan,ke=Oe===void 0?1:Oe,qe=de.rowSpan,Qe=de.align,$e=at(ne,["prefixCls","direction"]),ft=$e.prefixCls,st=$e.direction,ct=le.useContext(xt),Gt=ct.scrollColumnIndex,Ht=ct.stickyOffsets,Kt=ct.flattenColumns,cn=ct.columns,on=Pe+ke-1,xn=on+1===Gt?ke+1:ke,vn=xe(Pe,Pe+xn-1,Kt,Ht,st,cn==null?void 0:cn[Pe]);return le.createElement(rn,(0,nt.Z)({className:ue,index:Pe,component:"td",prefixCls:ft,record:null,dataIndex:null,align:Qe,colSpan:xn,rowSpan:qe,render:function(){return Ee}},vn))}var Nn=te(62646),Xe=["children"];function Ze(de){var ue=de.children,Pe=(0,Nn.Z)(de,Xe);return le.createElement("tr",Pe,ue)}function Ce(de){var ue=de.children;return ue}Ce.Row=Ze,Ce.Cell=An;var me=Ce;function ze(de){var ue=de.children,Pe=de.stickyOffsets,Ee=de.flattenColumns,Oe=de.columns,ke=at(ne,"prefixCls"),qe=Ee.length-1,Qe=Ee[qe],$e=le.useMemo(function(){return{stickyOffsets:Pe,flattenColumns:Ee,scrollColumnIndex:Qe!=null&&Qe.scrollbar?qe:null,columns:Oe}},[Qe,Ee,qe,Pe,Oe]);return le.createElement(xt.Provider,{value:$e},le.createElement("tfoot",{className:"".concat(ke,"-summary")},ue))}var gt=z(ze),Se=me,pe=te(70425),Ie=te(29301),Le=te(29194),he=te(24514),Ge=te(75152),Vt=te(26112);function Ct(de,ue,Pe,Ee,Oe,ke,qe){de.push({record:ue,indent:Pe,index:qe});var Qe=ke(ue),$e=Oe==null?void 0:Oe.has(Qe);if(ue&&Array.isArray(ue[Ee])&&$e)for(var ft=0;ft<ue[Ee].length;ft+=1)Ct(de,ue[Ee][ft],Pe+1,Ee,Oe,ke,ft)}function Lt(de,ue,Pe,Ee){var Oe=le.useMemo(function(){if(Pe!=null&&Pe.size){for(var ke=[],qe=0;qe<(de==null?void 0:de.length);qe+=1){var Qe=de[qe];Ct(ke,Qe,0,ue,Pe,Ee,qe)}return ke}return de==null?void 0:de.map(function($e,ft){return{record:$e,indent:0,index:ft}})},[de,ue,Pe,Ee]);return Oe}function Bt(de){var ue=de.prefixCls,Pe=de.children,Ee=de.component,Oe=de.cellComponent,ke=de.className,qe=de.expanded,Qe=de.colSpan,$e=de.isEmpty,ft=at(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),st=ft.scrollbarSize,ct=ft.fixHeader,Gt=ft.fixColumn,Ht=ft.componentWidth,Kt=ft.horizonScroll,cn=Pe;return($e?Kt&&Ht:Gt)&&(cn=le.createElement("div",{style:{width:Ht-(ct?st:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ue,"-expanded-row-fixed")},cn)),le.createElement(Ee,{className:ke,style:{display:qe?null:"none"}},le.createElement(rn,{component:Oe,prefixCls:ue,colSpan:Qe},cn))}var Tt=Bt;function we(de,ue,Pe,Ee){var Oe=at(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ke=Oe.flattenColumns,qe=Oe.expandableType,Qe=Oe.expandedKeys,$e=Oe.childrenColumnName,ft=Oe.onTriggerExpand,st=Oe.rowExpandable,ct=Oe.onRow,Gt=Oe.expandRowByClick,Ht=Oe.rowClassName,Kt=qe==="nest",cn=qe==="row"&&(!st||st(de)),on=cn||Kt,xn=Qe&&Qe.has(ue),vn=$e&&de&&de[$e],wn=(0,pe.useEvent)(ft),na=ct==null?void 0:ct(de,Pe),la=na==null?void 0:na.onClick,jn=function(Vn){Gt&&on&&ft(de,Vn);for(var Rn=arguments.length,Cn=new Array(Rn>1?Rn-1:0),Ln=1;Ln<Rn;Ln++)Cn[Ln-1]=arguments[Ln];la==null||la.apply(void 0,[Vn].concat(Cn))},aa;typeof Ht=="string"?aa=Ht:typeof Ht=="function"&&(aa=Ht(de,Pe,Ee));var La=Je(ke);return(0,De.Z)((0,De.Z)({},Oe),{},{columnsKey:La,nestExpandable:Kt,expanded:xn,hasNestChildren:vn,record:de,onTriggerExpand:wn,rowSupportExpand:cn,expandable:on,rowProps:(0,De.Z)((0,De.Z)({},na),{},{className:pt()(aa,na==null?void 0:na.className),onClick:jn})})}function We(de,ue,Pe,Ee,Oe){var ke=de.record,qe=de.prefixCls,Qe=de.columnsKey,$e=de.fixedInfoList,ft=de.expandIconColumnIndex,st=de.nestExpandable,ct=de.indentSize,Gt=de.expandIcon,Ht=de.expanded,Kt=de.hasNestChildren,cn=de.onTriggerExpand,on=Qe[Pe],xn=$e[Pe],vn;Pe===(ft||0)&&st&&(vn=le.createElement(le.Fragment,null,le.createElement("span",{style:{paddingLeft:"".concat(ct*Ee,"px")},className:"".concat(qe,"-row-indent indent-level-").concat(Ee)}),Gt({prefixCls:qe,expanded:Ht,expandable:Kt,record:ke,onExpand:cn})));var wn;return ue.onCell&&(wn=ue.onCell(ke,Oe)),{key:on,fixedInfo:xn,appendCellNode:vn,additionalCellProps:wn||{}}}function lt(de){var ue=de.className,Pe=de.style,Ee=de.record,Oe=de.index,ke=de.renderIndex,qe=de.rowKey,Qe=de.indent,$e=Qe===void 0?0:Qe,ft=de.rowComponent,st=de.cellComponent,ct=de.scopeCellComponent,Gt=we(Ee,qe,Oe,$e),Ht=Gt.prefixCls,Kt=Gt.flattenColumns,cn=Gt.expandedRowClassName,on=Gt.expandedRowRender,xn=Gt.rowProps,vn=Gt.expanded,wn=Gt.rowSupportExpand,na=le.useState(!1),la=(0,Te.Z)(na,2),jn=la[0],aa=la[1];le.useEffect(function(){vn&&aa(!0)},[vn]);var La=le.createElement(ft,(0,nt.Z)({},xn,{"data-row-key":qe,className:pt()(ue,"".concat(Ht,"-row"),"".concat(Ht,"-row-level-").concat($e),xn==null?void 0:xn.className),style:(0,De.Z)((0,De.Z)({},Pe),xn==null?void 0:xn.style)}),Kt.map(function(Cn,Ln){var oa=Cn.render,Ia=Cn.dataIndex,Na=Cn.className,Qn=We(Gt,Cn,Ln,$e,Oe),Oa=Qn.key,Ra=Qn.fixedInfo,Ha=Qn.appendCellNode,Ma=Qn.additionalCellProps;return le.createElement(rn,(0,nt.Z)({className:Na,ellipsis:Cn.ellipsis,align:Cn.align,scope:Cn.rowScope,component:Cn.rowScope?ct:st,prefixCls:Ht,key:Oa,record:Ee,index:Oe,renderIndex:ke,dataIndex:Ia,render:oa,shouldCellUpdate:Cn.shouldCellUpdate},Ra,{appendNode:Ha,additionalProps:Ma}))})),On;if(wn&&(jn||vn)){var Vn=on(Ee,Oe,$e+1,vn),Rn=cn&&cn(Ee,Oe,$e);On=le.createElement(Tt,{expanded:vn,className:pt()("".concat(Ht,"-expanded-row"),"".concat(Ht,"-expanded-row-level-").concat($e+1),Rn),prefixCls:Ht,component:ft,cellComponent:st,colSpan:Kt.length,isEmpty:!1},Vn)}return le.createElement(le.Fragment,null,La,On)}lt.displayName="BodyRow";var vt=z(lt);function zt(de){var ue=de.columnKey,Pe=de.onColumnResize,Ee=le.useRef();return le.useEffect(function(){Ee.current&&Pe(ue,Ee.current.offsetWidth)},[]),le.createElement(Ie.Z,{data:ue},le.createElement("td",{ref:Ee,style:{padding:0,border:0,height:0}},le.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function en(de){var ue=de.prefixCls,Pe=de.columnsKey,Ee=de.onColumnResize;return le.createElement("tr",{"aria-hidden":"true",className:"".concat(ue,"-measure-row"),style:{height:0,fontSize:0}},le.createElement(Ie.Z.Collection,{onBatchResize:function(ke){ke.forEach(function(qe){var Qe=qe.data,$e=qe.size;Ee(Qe,$e.offsetWidth)})}},Pe.map(function(Oe){return le.createElement(zt,{key:Oe,columnKey:Oe,onColumnResize:Ee})})))}function Yt(de){var ue=de.data,Pe=de.measureColumnWidth,Ee=at(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Oe=Ee.prefixCls,ke=Ee.getComponent,qe=Ee.onColumnResize,Qe=Ee.flattenColumns,$e=Ee.getRowKey,ft=Ee.expandedKeys,st=Ee.childrenColumnName,ct=Ee.emptyNode,Gt=Lt(ue,st,ft,$e),Ht=le.useRef({renderWithProps:!1}),Kt=ke(["body","wrapper"],"tbody"),cn=ke(["body","row"],"tr"),on=ke(["body","cell"],"td"),xn=ke(["body","cell"],"th"),vn;ue.length?vn=Gt.map(function(na,la){var jn=na.record,aa=na.indent,La=na.index,On=$e(jn,la);return le.createElement(vt,{key:On,rowKey:On,record:jn,index:la,renderIndex:La,rowComponent:cn,cellComponent:on,scopeCellComponent:xn,getRowKey:$e,indent:aa})}):vn=le.createElement(Tt,{expanded:!0,className:"".concat(Oe,"-placeholder"),prefixCls:Oe,component:cn,cellComponent:on,colSpan:Qe.length,isEmpty:!0},ct);var wn=Je(Qe);return le.createElement(Ft.Provider,{value:Ht.current},le.createElement(Kt,{className:"".concat(Oe,"-tbody")},Pe&&le.createElement(en,{prefixCls:Oe,columnsKey:wn,onColumnResize:qe}),vn))}Yt.displayName="Body";var ln=z(Yt),Dn=["expandable"],Yn="RC_TABLE_INTERNAL_COL_DEFINE";function Tn(de){var ue=de.expandable,Pe=(0,Nn.Z)(de,Dn),Ee;return"expandable"in de?Ee=(0,De.Z)((0,De.Z)({},Pe),ue):Ee=Pe,Ee.showExpandColumn===!1&&(Ee.expandIconColumnIndex=-1),Ee}var Xn=["columnType"];function ya(de){for(var ue=de.colWidths,Pe=de.columns,Ee=de.columCount,Oe=[],ke=Ee||Pe.length,qe=!1,Qe=ke-1;Qe>=0;Qe-=1){var $e=ue[Qe],ft=Pe&&Pe[Qe],st=ft&&ft[Yn];if($e||st||qe){var ct=st||{},Gt=ct.columnType,Ht=(0,Nn.Z)(ct,Xn);Oe.unshift(le.createElement("col",(0,nt.Z)({key:Qe,style:{width:$e}},Ht))),qe=!0}}return le.createElement("colgroup",null,Oe)}var ba=ya,Bn=te(95190),Da=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function xa(de,ue){return(0,le.useMemo)(function(){for(var Pe=[],Ee=0;Ee<ue;Ee+=1){var Oe=de[Ee];if(Oe!==void 0)Pe[Ee]=Oe;else return null}return Pe},[de.join("_"),ue])}var ca=le.forwardRef(function(de,ue){var Pe=de.className,Ee=de.noData,Oe=de.columns,ke=de.flattenColumns,qe=de.colWidths,Qe=de.columCount,$e=de.stickyOffsets,ft=de.direction,st=de.fixHeader,ct=de.stickyTopOffset,Gt=de.stickyBottomOffset,Ht=de.stickyClassName,Kt=de.onScroll,cn=de.maxContentScroll,on=de.children,xn=(0,Nn.Z)(de,Da),vn=at(ne,["prefixCls","scrollbarSize","isSticky"]),wn=vn.prefixCls,na=vn.scrollbarSize,la=vn.isSticky,jn=la&&!st?0:na,aa=le.useRef(null),La=le.useCallback(function(Na){(0,ut.mH)(ue,Na),(0,ut.mH)(aa,Na)},[]);le.useEffect(function(){var Na;function Qn(Oa){var Ra=Oa,Ha=Ra.currentTarget,Ma=Ra.deltaX;Ma&&(Kt({currentTarget:Ha,scrollLeft:Ha.scrollLeft+Ma}),Oa.preventDefault())}return(Na=aa.current)===null||Na===void 0||Na.addEventListener("wheel",Qn),function(){var Oa;(Oa=aa.current)===null||Oa===void 0||Oa.removeEventListener("wheel",Qn)}},[]);var On=le.useMemo(function(){return ke.every(function(Na){return Na.width})},[ke]),Vn=ke[ke.length-1],Rn={fixed:Vn?Vn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(wn,"-cell-scrollbar")}}},Cn=(0,le.useMemo)(function(){return jn?[].concat((0,Bn.Z)(Oe),[Rn]):Oe},[jn,Oe]),Ln=(0,le.useMemo)(function(){return jn?[].concat((0,Bn.Z)(ke),[Rn]):ke},[jn,ke]),oa=(0,le.useMemo)(function(){var Na=$e.right,Qn=$e.left;return(0,De.Z)((0,De.Z)({},$e),{},{left:ft==="rtl"?[].concat((0,Bn.Z)(Qn.map(function(Oa){return Oa+jn})),[0]):Qn,right:ft==="rtl"?Na:[].concat((0,Bn.Z)(Na.map(function(Oa){return Oa+jn})),[0]),isSticky:la})},[jn,$e,la]),Ia=xa(qe,Qe);return le.createElement("div",{style:(0,De.Z)({overflow:"hidden"},la?{top:ct,bottom:Gt}:{}),ref:La,className:pt()(Pe,(0,ye.Z)({},Ht,!!Ht))},le.createElement("table",{style:{tableLayout:"fixed",visibility:Ee||Ia?null:"hidden"}},(!Ee||!cn||On)&&le.createElement(ba,{colWidths:Ia?[].concat((0,Bn.Z)(Ia),[jn]):[],columCount:Qe+1,columns:Ln}),on((0,De.Z)((0,De.Z)({},xn),{},{stickyOffsets:oa,columns:Cn,flattenColumns:Ln}))))});ca.displayName="FixedHolder";var Ta=le.memo(ca);function to(de){var ue=de.cells,Pe=de.stickyOffsets,Ee=de.flattenColumns,Oe=de.rowComponent,ke=de.cellComponent,qe=de.tdCellComponent,Qe=de.onHeaderRow,$e=de.index,ft=at(ne,["prefixCls","direction"]),st=ft.prefixCls,ct=ft.direction,Gt;Qe&&(Gt=Qe(ue.map(function(Kt){return Kt.column}),$e));var Ht=Je(ue.map(function(Kt){return Kt.column}));return le.createElement(Oe,Gt,ue.map(function(Kt,cn){var on=Kt.column,xn=xe(Kt.colStart,Kt.colEnd,Ee,Pe,ct,on),vn;return on&&on.onHeaderCell&&(vn=Kt.column.onHeaderCell(on)),le.createElement(rn,(0,nt.Z)({},Kt,{scope:on.title?Kt.colSpan>1?"colgroup":"col":null,ellipsis:on.ellipsis,align:on.align,component:on.title?ke:qe,prefixCls:st,key:Ht[cn]},xn,{additionalProps:vn,rowType:"header"}))}))}to.displayName="HeaderRow";var an=to;function pn(de){var ue=[];function Pe(qe,Qe){var $e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ue[$e]=ue[$e]||[];var ft=Qe,st=qe.filter(Boolean).map(function(ct){var Gt={key:ct.key,className:ct.className||"",children:ct.title,column:ct,colStart:ft},Ht=1,Kt=ct.children;return Kt&&Kt.length>0&&(Ht=Pe(Kt,ft,$e+1).reduce(function(cn,on){return cn+on},0),Gt.hasSubColumns=!0),"colSpan"in ct&&(Ht=ct.colSpan),"rowSpan"in ct&&(Gt.rowSpan=ct.rowSpan),Gt.colSpan=Ht,Gt.colEnd=Gt.colStart+Ht-1,ue[$e].push(Gt),ft+=Ht,Ht});return st}Pe(de,0);for(var Ee=ue.length,Oe=function(Qe){ue[Qe].forEach(function($e){!("rowSpan"in $e)&&!$e.hasSubColumns&&($e.rowSpan=Ee-Qe)})},ke=0;ke<Ee;ke+=1)Oe(ke);return ue}function En(de){var ue=de.stickyOffsets,Pe=de.columns,Ee=de.flattenColumns,Oe=de.onHeaderRow,ke=at(ne,["prefixCls","getComponent"]),qe=ke.prefixCls,Qe=ke.getComponent,$e=le.useMemo(function(){return pn(Pe)},[Pe]),ft=Qe(["header","wrapper"],"thead"),st=Qe(["header","row"],"tr"),ct=Qe(["header","cell"],"th"),Gt=Qe(["header","cell"],"td");return le.createElement(ft,{className:"".concat(qe,"-thead")},$e.map(function(Ht,Kt){var cn=le.createElement(an,{key:Kt,flattenColumns:Ee,cells:Ht,stickyOffsets:ue,rowComponent:st,cellComponent:ct,tdCellComponent:Gt,onHeaderRow:Oe,index:Kt});return cn}))}var Pn=z(En),ra=te(11592);function Ca(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 Kn(de,ue){return le.useMemo(function(){if(ue&&ue>0){var Pe=0,Ee=0;de.forEach(function(ft){var st=Ca(ue,ft.width);st?Pe+=st:Ee+=1});var Oe=ue-Pe,ke=Ee,qe=Oe/Ee,Qe=0,$e=de.map(function(ft){var st=(0,De.Z)({},ft),ct=Ca(ue,st.width);if(ct)st.width=ct;else{var Gt=Math.floor(qe);st.width=ke===1?Oe:Gt,Oe-=Gt,ke-=1}return Qe+=st.width,st});return[$e,Qe]}return[de,ue]},[de,ue])}var Ve=["children"],et=["fixed"];function Ye(de){return(0,ra.Z)(de).filter(function(ue){return le.isValidElement(ue)}).map(function(ue){var Pe=ue.key,Ee=ue.props,Oe=Ee.children,ke=(0,Nn.Z)(Ee,Ve),qe=(0,De.Z)({key:Pe},ke);return Oe&&(qe.children=Ye(Oe)),qe})}function Rt(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return de.filter(function(Pe){return Pe&&(0,be.Z)(Pe)==="object"}).reduce(function(Pe,Ee,Oe){var ke=Ee.fixed,qe=ke===!0?"left":ke,Qe="".concat(ue,"-").concat(Oe),$e=Ee.children;return $e&&$e.length>0?[].concat((0,Bn.Z)(Pe),(0,Bn.Z)(Rt($e,Qe).map(function(ft){return(0,De.Z)({fixed:qe},ft)}))):[].concat((0,Bn.Z)(Pe),[(0,De.Z)((0,De.Z)({key:Qe},Ee),{},{fixed:qe})])},[])}function Sn(de){for(var ue=!0,Pe=0;Pe<de.length;Pe+=1){var Ee=de[Pe];if(ue&&Ee.fixed!=="left")ue=!1;else if(!ue&&Ee.fixed==="left"){warning(!1,"Index ".concat(Pe-1," of `columns` missing `fixed='left'` prop."));break}}for(var Oe=!0,ke=de.length-1;ke>=0;ke-=1){var qe=de[ke];if(Oe&&qe.fixed!=="right")Oe=!1;else if(!Oe&&qe.fixed==="right"){warning(!1,"Index ".concat(ke+1," of `columns` missing `fixed='right'` prop."));break}}}function _t(de){return de.map(function(ue){var Pe=ue.fixed,Ee=(0,Nn.Z)(ue,et),Oe=Pe;return Pe==="left"?Oe="right":Pe==="right"&&(Oe="left"),(0,De.Z)({fixed:Oe},Ee)})}function va(de,ue){var Pe=de.prefixCls,Ee=de.columns,Oe=de.children,ke=de.expandable,qe=de.expandedKeys,Qe=de.columnTitle,$e=de.getRowKey,ft=de.onTriggerExpand,st=de.expandIcon,ct=de.rowExpandable,Gt=de.expandIconColumnIndex,Ht=de.direction,Kt=de.expandRowByClick,cn=de.columnWidth,on=de.fixed,xn=de.scrollWidth,vn=le.useMemo(function(){return Ee||Ye(Oe)},[Ee,Oe]),wn=le.useMemo(function(){if(ke){var Vn,Rn=vn.slice();if(!Rn.includes(oe)){var Cn=Gt||0;Cn>=0&&Rn.splice(Cn,0,oe)}var Ln=Rn.indexOf(oe);Rn=Rn.filter(function(Qn,Oa){return Qn!==oe||Oa===Ln});var oa=vn[Ln],Ia;(on==="left"||on)&&!Gt?Ia="left":(on==="right"||on)&&Gt===vn.length?Ia="right":Ia=oa?oa.fixed:null;var Na=(Vn={},(0,ye.Z)(Vn,Yn,{className:"".concat(Pe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ye.Z)(Vn,"title",Qe),(0,ye.Z)(Vn,"fixed",Ia),(0,ye.Z)(Vn,"className","".concat(Pe,"-row-expand-icon-cell")),(0,ye.Z)(Vn,"width",cn),(0,ye.Z)(Vn,"render",function(Oa,Ra,Ha){var Ma=$e(Ra,Ha),Co=qe.has(Ma),Va=ct?ct(Ra):!0,Sa=st({prefixCls:Pe,expanded:Co,expandable:Va,record:Ra,onExpand:ft});return Kt?le.createElement("span",{onClick:function(ma){return ma.stopPropagation()}},Sa):Sa}),Vn);return Rn.map(function(Qn){return Qn===oe?Na:Qn})}return vn.filter(function(Qn){return Qn!==oe})},[ke,vn,$e,qe,st,Ht]),na=le.useMemo(function(){var Vn=wn;return ue&&(Vn=ue(Vn)),Vn.length||(Vn=[{render:function(){return null}}]),Vn},[ue,wn,Ht]),la=le.useMemo(function(){return Ht==="rtl"?_t(Rt(na)):Rt(na)},[na,Ht,xn]),jn=Kn(la,xn),aa=(0,Te.Z)(jn,2),La=aa[0],On=aa[1];return[na,La,On]}var zn=va;function kn(de){var ue,Pe=de.prefixCls,Ee=de.record,Oe=de.onExpand,ke=de.expanded,qe=de.expandable,Qe="".concat(Pe,"-row-expand-icon");if(!qe)return le.createElement("span",{className:pt()(Qe,"".concat(Pe,"-row-spaced"))});var $e=function(st){Oe(Ee,st),st.stopPropagation()};return le.createElement("span",{className:pt()(Qe,(ue={},(0,ye.Z)(ue,"".concat(Pe,"-row-expanded"),ke),(0,ye.Z)(ue,"".concat(Pe,"-row-collapsed"),!ke),ue)),onClick:$e})}function wa(de,ue,Pe){var Ee=[];function Oe(ke){(ke||[]).forEach(function(qe,Qe){Ee.push(ue(qe,Qe)),Oe(qe[Pe])})}return Oe(de),Ee}function ia(de,ue,Pe){var Ee=Tn(de),Oe=Ee.expandIcon,ke=Ee.expandedRowKeys,qe=Ee.defaultExpandedRowKeys,Qe=Ee.defaultExpandAllRows,$e=Ee.expandedRowRender,ft=Ee.onExpand,st=Ee.onExpandedRowsChange,ct=Ee.childrenColumnName,Gt=Oe||kn,Ht=ct||"children",Kt=le.useMemo(function(){return $e?"row":de.expandable&&de.internalHooks===ve&&de.expandable.__PARENT_RENDER_ICON__||ue.some(function(la){return la&&(0,be.Z)(la)==="object"&&la[Ht]})?"nest":!1},[!!$e,ue]),cn=le.useState(function(){return qe||(Qe?wa(ue,Pe,Ht):[])}),on=(0,Te.Z)(cn,2),xn=on[0],vn=on[1],wn=le.useMemo(function(){return new Set(ke||xn||[])},[ke,xn]),na=le.useCallback(function(la){var jn=Pe(la,ue.indexOf(la)),aa,La=wn.has(jn);La?(wn.delete(jn),aa=(0,Bn.Z)(wn)):aa=[].concat((0,Bn.Z)(wn),[jn]),vn(aa),ft&&ft(!La,la),st&&st(aa)},[Pe,wn,ue,ft,st]);return[Ee,Kt,wn,Gt,Ht,na]}function tn(de,ue,Pe,Ee){var Oe=de.map(function(ke,qe){return xe(qe,qe,de,ue,Pe,Ee==null?void 0:Ee[qe])});return(0,hn.Z)(function(){return Oe},[Oe],function(ke,qe){return!(0,Re.Z)(ke,qe)})}function Ga(de){var ue=(0,le.useRef)(de),Pe=(0,le.useState)({}),Ee=(0,Te.Z)(Pe,2),Oe=Ee[1],ke=(0,le.useRef)(null),qe=(0,le.useRef)([]);function Qe($e){qe.current.push($e);var ft=Promise.resolve();ke.current=ft,ft.then(function(){if(ke.current===ft){var st=qe.current,ct=ue.current;qe.current=[],st.forEach(function(Gt){ue.current=Gt(ue.current)}),ke.current=null,ct!==ue.current&&Oe({})}})}return(0,le.useEffect)(function(){return function(){ke.current=null}},[]),[ue.current,Qe]}function po(de){var ue=(0,le.useRef)(de||null),Pe=(0,le.useRef)();function Ee(){window.clearTimeout(Pe.current)}function Oe(qe){ue.current=qe,Ee(),Pe.current=window.setTimeout(function(){ue.current=null,Pe.current=void 0},100)}function ke(){return ue.current}return(0,le.useEffect)(function(){return Ee},[]),[Oe,ke]}function Qa(){var de=le.useState(-1),ue=(0,Te.Z)(de,2),Pe=ue[0],Ee=ue[1],Oe=le.useState(-1),ke=(0,Te.Z)(Oe,2),qe=ke[0],Qe=ke[1],$e=le.useCallback(function(ft,st){Ee(ft),Qe(st)},[]);return[Pe,qe,$e]}var $a=te(47273),Ke=(0,$a.Z)()?window:null;function Ot(de,ue){var Pe=(0,be.Z)(de)==="object"?de:{},Ee=Pe.offsetHeader,Oe=Ee===void 0?0:Ee,ke=Pe.offsetSummary,qe=ke===void 0?0:ke,Qe=Pe.offsetScroll,$e=Qe===void 0?0:Qe,ft=Pe.getContainer,st=ft===void 0?function(){return Ke}:ft,ct=st()||Ke;return le.useMemo(function(){var Gt=!!de;return{isSticky:Gt,stickyClassName:Gt?"".concat(ue,"-sticky-holder"):"",offsetHeader:Oe,offsetSummary:qe,offsetScroll:$e,container:ct}},[$e,Oe,qe,ue,ct])}function At(de,ue,Pe){var Ee=(0,le.useMemo)(function(){for(var Oe=[],ke=[],qe=0,Qe=0,$e=0;$e<ue;$e+=1)if(Pe==="rtl"){ke[$e]=Qe,Qe+=de[$e]||0;var ft=ue-$e-1;Oe[ft]=qe,qe+=de[ft]||0}else{Oe[$e]=qe,qe+=de[$e]||0;var st=ue-$e-1;ke[st]=Qe,Qe+=de[st]||0}return{left:Oe,right:ke}},[de,ue,Pe]);return Ee}var Qt=At;function un(de){var ue=de.className,Pe=de.children;return le.createElement("div",{className:ue},Pe)}var fn=un,nn=te(8224),qt=te(55468),Aa=function(ue,Pe){var Ee,Oe,ke=ue.scrollBodyRef,qe=ue.onScroll,Qe=ue.offsetScroll,$e=ue.container,ft=at(ne,"prefixCls"),st=((Ee=ke.current)===null||Ee===void 0?void 0:Ee.scrollWidth)||0,ct=((Oe=ke.current)===null||Oe===void 0?void 0:Oe.clientWidth)||0,Gt=st&&ct*(ct/st),Ht=le.useRef(),Kt=Ga({scrollLeft:0,isHiddenScrollBar:!1}),cn=(0,Te.Z)(Kt,2),on=cn[0],xn=cn[1],vn=le.useRef({delta:0,x:0}),wn=le.useState(!1),na=(0,Te.Z)(wn,2),la=na[0],jn=na[1],aa=function(){jn(!1)},La=function(Ln){Ln.persist(),vn.current.delta=Ln.pageX-on.scrollLeft,vn.current.x=0,jn(!0),Ln.preventDefault()},On=function(Ln){var oa,Ia=Ln||((oa=window)===null||oa===void 0?void 0:oa.event),Na=Ia.buttons;if(!la||Na===0){la&&jn(!1);return}var Qn=vn.current.x+Ln.pageX-vn.current.x-vn.current.delta;Qn<=0&&(Qn=0),Qn+Gt>=ct&&(Qn=ct-Gt),qe({scrollLeft:Qn/ct*(st+2)}),vn.current.x=Ln.pageX},Vn=function(){if(ke.current){var Ln=(0,qt.os)(ke.current).top,oa=Ln+ke.current.offsetHeight,Ia=$e===window?document.documentElement.scrollTop+window.innerHeight:(0,qt.os)($e).top+$e.clientHeight;oa-(0,Ge.Z)()<=Ia||Ln>=Ia-Qe?xn(function(Na){return(0,De.Z)((0,De.Z)({},Na),{},{isHiddenScrollBar:!0})}):xn(function(Na){return(0,De.Z)((0,De.Z)({},Na),{},{isHiddenScrollBar:!1})})}},Rn=function(Ln){xn(function(oa){return(0,De.Z)((0,De.Z)({},oa),{},{scrollLeft:Ln/st*ct||0})})};return le.useImperativeHandle(Pe,function(){return{setScrollLeft:Rn}}),le.useEffect(function(){var Cn=(0,nn.Z)(document.body,"mouseup",aa,!1),Ln=(0,nn.Z)(document.body,"mousemove",On,!1);return Vn(),function(){Cn.remove(),Ln.remove()}},[Gt,la]),le.useEffect(function(){var Cn=(0,nn.Z)($e,"scroll",Vn,!1),Ln=(0,nn.Z)(window,"resize",Vn,!1);return function(){Cn.remove(),Ln.remove()}},[$e]),le.useEffect(function(){on.isHiddenScrollBar||xn(function(Cn){var Ln=ke.current;return Ln?(0,De.Z)((0,De.Z)({},Cn),{},{scrollLeft:Ln.scrollLeft/Ln.scrollWidth*Ln.clientWidth}):Cn})},[on.isHiddenScrollBar]),st<=ct||!Gt||on.isHiddenScrollBar?null:le.createElement("div",{style:{height:(0,Ge.Z)(),width:ct,bottom:Qe},className:"".concat(ft,"-sticky-scroll")},le.createElement("div",{onMouseDown:La,ref:Ht,className:pt()("".concat(ft,"-sticky-scroll-bar"),(0,ye.Z)({},"".concat(ft,"-sticky-scroll-bar-active"),la)),style:{width:"".concat(Gt,"px"),transform:"translate3d(".concat(on.scrollLeft,"px, 0, 0)")}}))},pa=le.forwardRef(Aa);function Nt(de){return null}var lo=Nt;function oo(de){return null}var Do=oo,ko="rc-table",yn=[],Jn={};function Ea(){return"No Data"}function Un(de){var ue,Pe=(0,De.Z)({rowKey:"key",prefixCls:ko,emptyText:Ea},de),Ee=Pe.prefixCls,Oe=Pe.className,ke=Pe.rowClassName,qe=Pe.style,Qe=Pe.data,$e=Pe.rowKey,ft=Pe.scroll,st=Pe.tableLayout,ct=Pe.direction,Gt=Pe.title,Ht=Pe.footer,Kt=Pe.summary,cn=Pe.caption,on=Pe.id,xn=Pe.showHeader,vn=Pe.components,wn=Pe.emptyText,na=Pe.onRow,la=Pe.onHeaderRow,jn=Pe.internalHooks,aa=Pe.transformColumns,La=Pe.internalRefs,On=Pe.tailor,Vn=Pe.sticky,Rn=Qe||yn,Cn=!!Rn.length,Ln=jn===ve,oa=le.useCallback(function(Po,jo){return(0,it.Z)(vn,Po)||jo},[vn]),Ia=le.useMemo(function(){return typeof $e=="function"?$e:function(Po){var jo=Po&&Po[$e];return jo}},[$e]),Na=oa(["body"]),Qn=Qa(),Oa=(0,Te.Z)(Qn,3),Ra=Oa[0],Ha=Oa[1],Ma=Oa[2],Co=ia(Pe,Rn,Ia),Va=(0,Te.Z)(Co,6),Sa=Va[0],No=Va[1],ma=Va[2],mo=Va[3],ao=Va[4],Xo=Va[5],fa=ft==null?void 0:ft.x,sa=le.useState(0),da=(0,Te.Z)(sa,2),ea=da[0],Hn=da[1],Ut=zn((0,De.Z)((0,De.Z)((0,De.Z)({},Pe),Sa),{},{expandable:!!Sa.expandedRowRender,columnTitle:Sa.columnTitle,expandedKeys:ma,getRowKey:Ia,onTriggerExpand:Xo,expandIcon:mo,expandIconColumnIndex:Sa.expandIconColumnIndex,direction:ct,scrollWidth:Ln&&On&&typeof fa=="number"?fa:null}),Ln?aa:null),Fn=(0,Te.Z)(Ut,3),Ba=Fn[0],za=Fn[1],dr=Fn[2],or=dr!=null?dr:fa,Or=le.useMemo(function(){return{columns:Ba,flattenColumns:za}},[Ba,za]),Zo=le.useRef(),Mo=le.useRef(),ga=le.useRef(),vr=le.useRef(),Pr=le.useRef(),io=le.useState(!1),fo=(0,Te.Z)(io,2),zo=fo[0],er=fo[1],Qo=le.useState(!1),Ua=(0,Te.Z)(Qo,2),yr=Ua[0],gr=Ua[1],vo=Ga(new Map),ha=(0,Te.Z)(vo,2),qo=ha[0],pr=ha[1],_r=Je(za),Rr=_r.map(function(Po){return qo.get(Po)}),Dr=le.useMemo(function(){return Rr},[Rr.join("_")]),Er=Qt(Dr,za.length,ct),tr=ft&&kt(ft.y),Vo=ft&&kt(or)||!!Sa.fixed,Jr=Vo&&za.some(function(Po){var jo=Po.fixed;return jo}),oi=le.useRef(),Vr=Ot(Vn,Ee),Xr=Vr.isSticky,Li=Vr.offsetHeader,al=Vr.offsetSummary,qa=Vr.offsetScroll,Bo=Vr.stickyClassName,hr=Vr.container,Go=le.useMemo(function(){return Kt==null?void 0:Kt(Rn)},[Kt,Rn]),Lr=(tr||Xr)&&le.isValidElement(Go)&&Go.type===me&&Go.props.fixed,Br,br,Qr;tr&&(br={overflowY:"scroll",maxHeight:ft.y}),Vo&&(Br={overflowX:"auto"},tr||(br={overflowY:"hidden"}),Qr={width:or===!0?"auto":or,minWidth:"100%"});var ol=le.useCallback(function(Po,jo){(0,Le.Z)(Zo.current)&&pr(function(Mr){if(Mr.get(Po)!==jo){var ei=new Map(Mr);return ei.set(Po,jo),ei}return Mr})},[]),os=po(null),rl=(0,Te.Z)(os,2),rs=rl[0],Rl=rl[1];function Ri(Po,jo){jo&&(typeof jo=="function"?jo(Po):jo.scrollLeft!==Po&&(jo.scrollLeft=Po,jo.scrollLeft!==Po&&setTimeout(function(){jo.scrollLeft=Po},0)))}var si=(0,tt.Z)(function(Po){var jo=Po.currentTarget,Mr=Po.scrollLeft,ei=ct==="rtl",ti=typeof Mr=="number"?Mr:jo.scrollLeft,Gl=jo||Jn;if(!Rl()||Rl()===Gl){var hl;rs(Gl),Ri(ti,Mo.current),Ri(ti,ga.current),Ri(ti,Pr.current),Ri(ti,(hl=oi.current)===null||hl===void 0?void 0:hl.setScrollLeft)}var Sl=jo||Mo.current;if(Sl){var Pl=Sl.scrollWidth,Bi=Sl.clientWidth;if(Pl===Bi){er(!1),gr(!1);return}ei?(er(-ti<Pl-Bi),gr(-ti>0)):(er(ti>0),gr(ti<Pl-Bi))}}),di=function(){Vo&&ga.current?si({currentTarget:ga.current}):(er(!1),gr(!1))},Ml=function(jo){var Mr=jo.width;Mr!==ea&&(di(),Hn(Zo.current?Zo.current.offsetWidth:Mr))},Tl=le.useRef(!1);le.useEffect(function(){Tl.current&&di()},[Vo,Qe,Ba.length]),le.useEffect(function(){Tl.current=!0},[]);var il=le.useState(0),ll=(0,Te.Z)(il,2),Mi=ll[0],Ti=ll[1],is=le.useState(!0),zi=(0,Te.Z)(is,2),sl=zi[0],ls=zi[1];le.useEffect(function(){(!On||!Ln)&&(ga.current instanceof Element?Ti((0,Ge.o)(ga.current).width):Ti((0,Ge.o)(vr.current).width)),ls((0,he.G)("position","sticky"))},[]),le.useEffect(function(){Ln&&La&&(La.body.current=ga.current)});var dl=le.useCallback(function(Po){return le.createElement(le.Fragment,null,le.createElement(Pn,Po),Lr==="top"&&le.createElement(gt,Po,Go))},[Lr,Go]),ss=le.useCallback(function(Po){return le.createElement(gt,Po,Go)},[Go]),zl=oa(["table"],"table"),Hi=le.useMemo(function(){return st||(Jr?or==="max-content"?"auto":"fixed":tr||Xr||za.some(function(Po){var jo=Po.ellipsis;return jo})?"fixed":"auto")},[tr,Jr,za,st,Xr]),Zi,gl={colWidths:Dr,columCount:za.length,stickyOffsets:Er,onHeaderRow:la,fixHeader:tr,scroll:ft},Hl=le.useMemo(function(){return Cn?null:typeof wn=="function"?wn():wn},[Cn,wn]),Zl=le.createElement(ln,{data:Rn,measureColumnWidth:tr||Vo||Xr}),cl=le.createElement(ba,{colWidths:za.map(function(Po){var jo=Po.width;return jo}),columns:za}),ul=cn!=null?le.createElement("caption",{className:"".concat(Ee,"-caption")},cn):void 0,ds=(0,Vt.Z)(Pe,{data:!0}),ml=(0,Vt.Z)(Pe,{aria:!0});if(tr||Xr){var fl;typeof Na=="function"?(fl=Na(Rn,{scrollbarSize:Mi,ref:ga,onScroll:si}),gl.colWidths=za.map(function(Po,jo){var Mr=Po.width,ei=jo===za.length-1?Mr-Mi:Mr;return typeof ei=="number"&&!Number.isNaN(ei)?ei:0})):fl=le.createElement("div",{style:(0,De.Z)((0,De.Z)({},Br),br),onScroll:si,ref:ga,className:pt()("".concat(Ee,"-body"))},le.createElement(zl,(0,nt.Z)({style:(0,De.Z)((0,De.Z)({},Qr),{},{tableLayout:Hi})},ml),ul,cl,Zl,!Lr&&Go&&le.createElement(gt,{stickyOffsets:Er,flattenColumns:za,columns:Ba},Go)));var vl=(0,De.Z)((0,De.Z)((0,De.Z)({noData:!Rn.length,maxContentScroll:Vo&&or==="max-content"},gl),Or),{},{direction:ct,stickyClassName:Bo,onScroll:si});Zi=le.createElement(le.Fragment,null,xn!==!1&&le.createElement(Ta,(0,nt.Z)({},vl,{stickyTopOffset:Li,className:"".concat(Ee,"-header"),ref:Mo}),dl),fl,Lr&&Lr!=="top"&&le.createElement(Ta,(0,nt.Z)({},vl,{stickyBottomOffset:al,className:"".concat(Ee,"-summary"),ref:Pr}),ss),Xr&&le.createElement(pa,{ref:oi,offsetScroll:qa,scrollBodyRef:ga,onScroll:si,container:hr}))}else Zi=le.createElement("div",{style:(0,De.Z)((0,De.Z)({},Br),br),className:pt()("".concat(Ee,"-content")),onScroll:si,ref:ga},le.createElement(zl,(0,nt.Z)({style:(0,De.Z)((0,De.Z)({},Qr),{},{tableLayout:Hi})},ml),ul,cl,xn!==!1&&le.createElement(Pn,(0,nt.Z)({},gl,Or)),Zl,Go&&le.createElement(gt,{stickyOffsets:Er,flattenColumns:za,columns:Ba},Go)));var Gi=le.createElement("div",(0,nt.Z)({className:pt()(Ee,Oe,(ue={},(0,ye.Z)(ue,"".concat(Ee,"-rtl"),ct==="rtl"),(0,ye.Z)(ue,"".concat(Ee,"-ping-left"),zo),(0,ye.Z)(ue,"".concat(Ee,"-ping-right"),yr),(0,ye.Z)(ue,"".concat(Ee,"-layout-fixed"),st==="fixed"),(0,ye.Z)(ue,"".concat(Ee,"-fixed-header"),tr),(0,ye.Z)(ue,"".concat(Ee,"-fixed-column"),Jr),(0,ye.Z)(ue,"".concat(Ee,"-scroll-horizontal"),Vo),(0,ye.Z)(ue,"".concat(Ee,"-has-fix-left"),za[0]&&za[0].fixed),(0,ye.Z)(ue,"".concat(Ee,"-has-fix-right"),za[za.length-1]&&za[za.length-1].fixed==="right"),ue)),style:qe,id:on,ref:Zo},ds),Gt&&le.createElement(fn,{className:"".concat(Ee,"-title")},Gt(Rn)),le.createElement("div",{ref:vr,className:"".concat(Ee,"-container")},Zi),Ht&&le.createElement(fn,{className:"".concat(Ee,"-footer")},Ht(Rn)));Vo&&(Gi=le.createElement(Ie.Z,{onResize:Ml},Gi));var pl=tn(za,Er,ct,Ba),gs=le.useMemo(function(){return{scrollX:or,prefixCls:Ee,getComponent:oa,scrollbarSize:Mi,direction:ct,fixedInfoList:pl,isSticky:Xr,supportSticky:sl,componentWidth:ea,fixHeader:tr,fixColumn:Jr,horizonScroll:Vo,tableLayout:Hi,rowClassName:ke,expandedRowClassName:Sa.expandedRowClassName,expandIcon:mo,expandableType:No,expandRowByClick:Sa.expandRowByClick,expandedRowRender:Sa.expandedRowRender,onTriggerExpand:Xo,expandIconColumnIndex:Sa.expandIconColumnIndex,indentSize:Sa.indentSize,allColumnsFixedLeft:za.every(function(Po){return Po.fixed==="left"}),emptyNode:Hl,columns:Ba,flattenColumns:za,onColumnResize:ol,hoverStartRow:Ra,hoverEndRow:Ha,onHover:Ma,rowExpandable:Sa.rowExpandable,onRow:na,getRowKey:Ia,expandedKeys:ma,childrenColumnName:ao}},[or,Ee,oa,Mi,ct,pl,Xr,sl,ea,tr,Jr,Vo,Hi,ke,Sa.expandedRowClassName,mo,No,Sa.expandRowByClick,Sa.expandedRowRender,Xo,Sa.expandIconColumnIndex,Sa.indentSize,Hl,Ba,za,ol,Ra,Ha,Ma,Sa.rowExpandable,na,Ia,ma,ao]);return le.createElement(ne.Provider,{value:gs},Gi)}function ja(de){return E(Un,de)}var Wa=ja();Wa.EXPAND_COLUMN=oe,Wa.INTERNAL_HOOKS=ve,Wa.Column=lo,Wa.ColumnGroup=Do,Wa.Summary=Se;var Fa=Wa,Eo=te(6790),bo=rt(null),Ar=rt(null);function xr(de,ue,Pe){var Ee=ue||1;return Pe[de+Ee]-(Pe[de]||0)}function Sr(de){var ue=de.rowInfo,Pe=de.column,Ee=de.colIndex,Oe=de.indent,ke=de.index,qe=de.renderIndex,Qe=de.record,$e=de.style,ft=de.className,st=de.inverse,ct=de.getHeight,Gt=Pe.render,Ht=Pe.dataIndex,Kt=Pe.className,cn=Pe.width,on=at(Ar,["columnsOffset"]),xn=on.columnsOffset,vn=We(ue,Pe,Ee,Oe,ke),wn=vn.key,na=vn.fixedInfo,la=vn.appendCellNode,jn=vn.additionalCellProps,aa=jn.style,La=jn.colSpan,On=La===void 0?1:La,Vn=jn.rowSpan,Rn=Vn===void 0?1:Vn,Cn=Ee-1,Ln=xr(Cn,On,xn),oa=On>1?cn-Ln:0,Ia=(0,De.Z)((0,De.Z)((0,De.Z)({},aa),$e),{},{flex:"0 0 ".concat(Ln,"px"),width:"".concat(Ln,"px"),marginRight:oa,pointerEvents:"auto"}),Na=le.useMemo(function(){return st?Rn<=1:On===0||Rn===0||Rn>1},[Rn,On,st]);Na?Ia.visibility="hidden":st&&(Ia.height=ct==null?void 0:ct(Rn));var Qn=Na?function(){return null}:Gt,Oa={};return(Rn===0||On===0)&&(Oa.rowSpan=1,Oa.colSpan=1),le.createElement(rn,(0,nt.Z)({className:pt()(Kt,ft),ellipsis:Pe.ellipsis,align:Pe.align,scope:Pe.rowScope,component:"div",prefixCls:ue.prefixCls,key:wn,record:Qe,index:ke,renderIndex:qe,dataIndex:Ht,render:Qn,shouldCellUpdate:Pe.shouldCellUpdate},na,{appendNode:la,additionalProps:(0,De.Z)((0,De.Z)({},jn),{},{style:Ia},Oa)}))}var jr=Sr,Ur=["data","index","className","rowKey","style","extra","getHeight"],$r=le.forwardRef(function(de,ue){var Pe=de.data,Ee=de.index,Oe=de.className,ke=de.rowKey,qe=de.style,Qe=de.extra,$e=de.getHeight,ft=(0,Nn.Z)(de,Ur),st=Pe.record,ct=Pe.indent,Gt=Pe.index,Ht=at(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Kt=Ht.scrollX,cn=Ht.flattenColumns,on=Ht.prefixCls,xn=Ht.fixColumn,vn=Ht.componentWidth,wn=we(st,ke,Ee,ct),na=wn.rowSupportExpand,la=wn.expanded,jn=wn.rowProps,aa=wn.expandedRowRender,La=wn.expandedRowClassName,On;if(na&&la){var Vn=aa(st,Ee,ct+1,la),Rn=La==null?void 0:La(st,Ee,ct),Cn={};xn&&(Cn={style:(0,ye.Z)({},"--virtual-width","".concat(vn,"px"))});var Ln="".concat(on,"-expanded-row-cell");On=le.createElement("div",{className:pt()("".concat(on,"-expanded-row"),"".concat(on,"-expanded-row-level-").concat(ct+1),Rn)},le.createElement(rn,{component:"div",prefixCls:on,className:pt()(Ln,(0,ye.Z)({},"".concat(Ln,"-fixed"),xn)),additionalProps:Cn},Vn))}var oa=(0,De.Z)((0,De.Z)({},qe),{},{width:Kt});Qe&&(oa.position="absolute",oa.pointerEvents="none");var Ia=le.createElement("div",(0,nt.Z)({},jn,ft,{ref:na?null:ue,className:pt()(Oe,"".concat(on,"-row"),jn==null?void 0:jn.className,(0,ye.Z)({},"".concat(on,"-row-extra"),Qe)),style:(0,De.Z)((0,De.Z)({},oa),jn==null?void 0:jn.style)}),cn.map(function(Na,Qn){return le.createElement(jr,{key:Qn,rowInfo:wn,column:Na,colIndex:Qn,indent:ct,index:Ee,renderIndex:Gt,record:st,inverse:Qe,getHeight:$e})}));return na?le.createElement("div",{ref:ue},Ia,On):Ia}),Tr=z($r),cr=Tr,Ho=le.forwardRef(function(de,ue){var Pe=de.data,Ee=de.onScroll,Oe=at(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),ke=Oe.flattenColumns,qe=Oe.onColumnResize,Qe=Oe.getRowKey,$e=Oe.expandedKeys,ft=Oe.prefixCls,st=Oe.childrenColumnName,ct=Oe.emptyNode,Gt=Oe.scrollX,Ht=at(bo),Kt=Ht.scrollY,cn=Ht.listItemHeight,on=le.useRef(),xn=Lt(Pe,st,$e,Qe),vn=le.useMemo(function(){var On=0;return ke.map(function(Vn){var Rn=Vn.width,Cn=Vn.key;return On+=Rn,[Cn,Rn,On]})},[ke]),wn=le.useMemo(function(){return vn.map(function(On){return On[2]})},[vn]);le.useEffect(function(){vn.forEach(function(On){var Vn=(0,Te.Z)(On,2),Rn=Vn[0],Cn=Vn[1];qe(Rn,Cn)})},[vn]),le.useImperativeHandle(ue,function(){var On={};return Object.defineProperty(On,"scrollLeft",{get:function(){var Rn;return((Rn=on.current)===null||Rn===void 0?void 0:Rn.getScrollInfo().x)||0},set:function(Rn){var Cn;(Cn=on.current)===null||Cn===void 0||Cn.scrollTo({left:Rn})}}),On});var na=function(Vn,Rn){var Cn,Ln=(Cn=xn[Rn])===null||Cn===void 0?void 0:Cn.record,oa=Vn.onCell;if(oa){var Ia,Na=oa(Ln,Rn);return(Ia=Na==null?void 0:Na.rowSpan)!==null&&Ia!==void 0?Ia:1}return 1},la=function(Vn){var Rn=Vn.start,Cn=Vn.end,Ln=Vn.getSize,oa=Vn.offsetY;if(Cn<0)return null;for(var Ia=ke.filter(function(fa){return na(fa,Rn)===0}),Na=Rn,Qn=function(sa){if(Ia=Ia.filter(function(da){return na(da,sa)===0}),!Ia.length)return Na=sa,"break"},Oa=Rn;Oa>=0;Oa-=1){var Ra=Qn(Oa);if(Ra==="break")break}for(var Ha=ke.filter(function(fa){return na(fa,Cn)!==1}),Ma=Cn,Co=function(sa){if(Ha=Ha.filter(function(da){return na(da,sa)!==1}),!Ha.length)return Ma=Math.max(sa-1,Cn),"break"},Va=Cn;Va<xn.length;Va+=1){var Sa=Co(Va);if(Sa==="break")break}for(var No=[],ma=function(sa){var da=xn[sa];if(!da)return"continue";ke.some(function(ea){return na(ea,sa)>1})&&No.push(sa)},mo=Na;mo<=Ma;mo+=1)var ao=ma(mo);var Xo=No.map(function(fa){var sa=xn[fa],da=Qe(sa.record,fa),ea=function(Fn){var Ba=fa+Fn-1,za=Qe(xn[Ba].record,Ba),dr=Ln(da,za);return dr.bottom-dr.top},Hn=Ln(da);return le.createElement(cr,{key:fa,data:sa,rowKey:da,index:fa,style:{top:-oa+Hn.top},extra:!0,getHeight:ea})});return Xo},jn=le.useMemo(function(){return{columnsOffset:wn}},[wn]),aa="".concat(ft,"-tbody"),La;return xn.length?La=le.createElement(Eo.Z,{fullHeight:!1,ref:on,className:pt()(aa,"".concat(aa,"-virtual")),height:Kt,itemHeight:cn||24,data:xn,itemKey:function(Vn){return Qe(Vn.record)},scrollWidth:Gt,onVirtualScroll:function(Vn){var Rn=Vn.x;Ee({scrollLeft:Rn})},extraRender:la},function(On,Vn,Rn){var Cn=Qe(On.record,Vn);return le.createElement(cr,(0,nt.Z)({data:On,rowKey:Cn,index:Vn},Rn))}):La=le.createElement("div",{className:pt()("".concat(ft,"-placeholder"))},le.createElement(rn,{component:"div",prefixCls:ft},ct)),le.createElement(Ar.Provider,{value:jn},La)}),Cr=z(Ho),kr=Cr,Ir=function(ue,Pe){var Ee=Pe.ref,Oe=Pe.onScroll;return le.createElement(kr,{ref:Ee,data:ue,onScroll:Oe})},Nr=100;function wr(de){var ue=de.columns,Pe=de.scroll,Ee=de.prefixCls,Oe=Ee===void 0?ko:Ee,ke=de.className,qe=de.listItemHeight,Qe=Pe||{},$e=Qe.x,ft=Qe.y;typeof $e!="number"&&($e=((ue||[]).length+1)*Nr),typeof ft!="number"&&(ft=500);var st=le.useMemo(function(){return{scrollY:ft,listItemHeight:qe}},[ft,qe]);return le.createElement(bo.Provider,{value:st},le.createElement(Fa,(0,nt.Z)({},de,{className:pt()(ke,"".concat(Oe,"-virtual")),scroll:(0,De.Z)((0,De.Z)({},Pe),{},{x:$e}),components:{body:Ir},columns:ue,internalHooks:ve,tailor:!0})))}function Kr(de){return E(wr,de)}var Ya=Kr(),Ko=null;function _o(de){return null}var ur=_o;function mr(de){return null}var Fr=mr,ri=te(2738),qr=te(68031),Uo=te(36355),$o=te(93891),zr=te(19716),gi=te(8628),ci=te(31724),bi=te(58421),ua=te(71418),Zn=te(88088);function qn(de){return function(Pe){let{prefixCls:Ee,onExpand:Oe,record:ke,expanded:qe,expandable:Qe}=Pe;const $e=`${Ee}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:ft=>{Oe(ke,ft),ft.stopPropagation()},className:pt()($e,{[`${$e}-spaced`]:!Qe,[`${$e}-expanded`]:Qe&&qe,[`${$e}-collapsed`]:Qe&&!qe}),"aria-label":qe?de.collapse:de.expand,"aria-expanded":qe})}}var _n=qn;function _a(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 Io(de,ue){return ue?`${ue}-${de}`:`${de}`}function Wo(de,ue){return typeof de=="function"?de(ue):de}function Yo(de,ue){const Pe=Wo(de,ue);return Object.prototype.toString.call(Pe)==="[object Object]"?"":Pe}var ir={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"},lr=ir,Hr=te(7657),fr=function(ue,Pe){return le.createElement(Hr.Z,(0,nt.Z)({},ue,{ref:Pe,icon:lr}))},Ka=le.forwardRef(fr),co=Ka,To=te(56762);function so(de){const ue=le.useRef(de),Pe=(0,To.Z)();return[()=>ue.current,Ee=>{ue.current=Ee,Pe()}]}var ho=te(3113),nr=te(24905),Ro=te(38854),Wr=te(64165),Zr=te(20834),ui=te(40875),Ki=te(5112),mi=te(17574),Gr=te(47472),Ni=te(92832);function Di(de){let{value:ue,onChange:Pe,filterSearch:Ee,tablePrefixCls:Oe,locale:ke}=de;return Ee?le.createElement("div",{className:`${Oe}-filter-dropdown-search`},le.createElement(Ni.default,{prefix:le.createElement(Gr.Z,null),placeholder:ke.filterSearchPlaceholder,onChange:Pe,value:ue,htmlSize:1,className:`${Oe}-filter-dropdown-search-input`})):null}var xi=Di,Fi=te(10228);const jl=de=>{const{keyCode:ue}=de;ue===Fi.Z.ENTER&&de.stopPropagation()};var Kl=le.forwardRef((de,ue)=>le.createElement("div",{className:de.className,onClick:Pe=>Pe.stopPropagation(),onKeyDown:jl,ref:ue},de.children));function fi(de){let ue=[];return(de||[]).forEach(Pe=>{let{value:Ee,children:Oe}=Pe;ue.push(Ee),Oe&&(ue=[].concat((0,Bn.Z)(ue),(0,Bn.Z)(fi(Oe))))}),ue}function Wl(de){return de.some(ue=>{let{children:Pe}=ue;return Pe})}function Wi(de,ue){return typeof ue=="string"||typeof ue=="number"?ue==null?void 0:ue.toString().toLowerCase().includes(de.trim().toLowerCase()):!1}function Vi(de){let{filters:ue,prefixCls:Pe,filteredKeys:Ee,filterMultiple:Oe,searchValue:ke,filterSearch:qe}=de;return ue.map((Qe,$e)=>{const ft=String(Qe.value);if(Qe.children)return{key:ft||$e,label:Qe.text,popupClassName:`${Pe}-dropdown-submenu`,children:Vi({filters:Qe.children,prefixCls:Pe,filteredKeys:Ee,filterMultiple:Oe,searchValue:ke,filterSearch:qe})};const st=Oe?nr.default:Ki.ZP,ct={key:Qe.value!==void 0?ft:$e,label:le.createElement(le.Fragment,null,le.createElement(st,{checked:Ee.includes(ft)}),le.createElement("span",null,Qe.text))};return ke.trim()?typeof qe=="function"?qe(ke,Qe)?ct:null:Wi(ke,Qe.text)?ct:null:ct})}function Vl(de){var ue,Pe;const{tablePrefixCls:Ee,prefixCls:Oe,column:ke,dropdownPrefixCls:qe,columnKey:Qe,filterMultiple:$e,filterMode:ft="menu",filterSearch:st=!1,filterState:ct,triggerFilter:Gt,locale:Ht,children:Kt,getPopupContainer:cn}=de,{filterDropdownOpen:on,onFilterDropdownOpenChange:xn,filterResetToDefaultFilteredValue:vn,defaultFilteredValue:wn,filterDropdownVisible:na,onFilterDropdownVisibleChange:la}=ke,[jn,aa]=le.useState(!1),La=!!(ct&&(!((ue=ct.filteredKeys)===null||ue===void 0)&&ue.length||ct.forceFiltered)),On=Ut=>{aa(Ut),xn==null||xn(Ut),la==null||la(Ut)},Vn=(Pe=on!=null?on:na)!==null&&Pe!==void 0?Pe:jn,Rn=ct==null?void 0:ct.filteredKeys,[Cn,Ln]=so(Rn||[]),oa=Ut=>{let{selectedKeys:Fn}=Ut;Ln(Fn)},Ia=(Ut,Fn)=>{let{node:Ba,checked:za}=Fn;oa($e?{selectedKeys:Ut}:{selectedKeys:za&&Ba.key?[Ba.key]:[]})};le.useEffect(()=>{jn&&oa({selectedKeys:Rn||[]})},[Rn]);const[Na,Qn]=le.useState([]),Oa=Ut=>{Qn(Ut)},[Ra,Ha]=le.useState(""),Ma=Ut=>{const{value:Fn}=Ut.target;Ha(Fn)};le.useEffect(()=>{jn||Ha("")},[jn]);const Co=Ut=>{const Fn=Ut&&Ut.length?Ut:null;if(Fn===null&&(!ct||!ct.filteredKeys)||(0,Re.Z)(Fn,ct==null?void 0:ct.filteredKeys,!0))return null;Gt({column:ke,key:Qe,filteredKeys:Fn})},Va=()=>{On(!1),Co(Cn())},Sa=function(){let{confirm:Ut,closeDropdown:Fn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ut&&Co([]),Fn&&On(!1),Ha(""),Ln(vn?(wn||[]).map(Ba=>String(Ba)):[])},No=function(){let{closeDropdown:Ut}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ut&&On(!1),Co(Cn())},ma=Ut=>{Ut&&Rn!==void 0&&Ln(Rn||[]),On(Ut),!Ut&&!ke.filterDropdown&&Va()},mo=pt()({[`${qe}-menu-without-submenu`]:!Wl(ke.filters||[])}),ao=Ut=>{if(Ut.target.checked){const Fn=fi(ke==null?void 0:ke.filters).map(Ba=>String(Ba));Ln(Fn)}else Ln([])},Xo=Ut=>{let{filters:Fn}=Ut;return(Fn||[]).map((Ba,za)=>{const dr=String(Ba.value),or={title:Ba.text,key:Ba.value!==void 0?dr:za};return Ba.children&&(or.children=Xo({filters:Ba.children})),or})},fa=Ut=>{var Fn;return Object.assign(Object.assign({},Ut),{text:Ut.title,value:Ut.key,children:((Fn=Ut.children)===null||Fn===void 0?void 0:Fn.map(Ba=>fa(Ba)))||[]})};let sa;if(typeof ke.filterDropdown=="function")sa=ke.filterDropdown({prefixCls:`${qe}-custom`,setSelectedKeys:Ut=>oa({selectedKeys:Ut}),selectedKeys:Cn(),confirm:No,clearFilters:Sa,filters:ke.filters,visible:Vn,close:()=>{On(!1)}});else if(ke.filterDropdown)sa=ke.filterDropdown;else{const Ut=Cn()||[],Fn=()=>(ke.filters||[]).length===0?le.createElement(Wr.Z,{image:Wr.Z.PRESENTED_IMAGE_SIMPLE,description:Ht.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ft==="tree"?le.createElement(le.Fragment,null,le.createElement(xi,{filterSearch:st,value:Ra,onChange:Ma,tablePrefixCls:Ee,locale:Ht}),le.createElement("div",{className:`${Ee}-filter-dropdown-tree`},$e?le.createElement(nr.default,{checked:Ut.length===fi(ke.filters).length,indeterminate:Ut.length>0&&Ut.length<fi(ke.filters).length,className:`${Ee}-filter-dropdown-checkall`,onChange:ao},Ht.filterCheckall):null,le.createElement(mi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:$e,checkStrictly:!$e,className:`${qe}-menu`,onCheck:Ia,checkedKeys:Ut,selectedKeys:Ut,showIcon:!1,treeData:Xo({filters:ke.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ra.trim()?za=>typeof st=="function"?st(Ra,fa(za)):Wi(Ra,za.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(xi,{filterSearch:st,value:Ra,onChange:Ma,tablePrefixCls:Ee,locale:Ht}),le.createElement(Zr.default,{selectable:!0,multiple:$e,prefixCls:`${qe}-menu`,className:mo,onSelect:oa,onDeselect:oa,selectedKeys:Ut,getPopupContainer:cn,openKeys:Na,onOpenChange:Oa,items:Vi({filters:ke.filters||[],filterSearch:st,prefixCls:Oe,filteredKeys:Cn(),filterMultiple:$e,searchValue:Ra})})),Ba=()=>vn?(0,Re.Z)((wn||[]).map(za=>String(za)),Ut,!0):Ut.length===0;sa=le.createElement(le.Fragment,null,Fn(),le.createElement("div",{className:`${Oe}-dropdown-btns`},le.createElement(ho.ZP,{type:"link",size:"small",disabled:Ba(),onClick:()=>Sa()},Ht.filterReset),le.createElement(ho.ZP,{type:"primary",size:"small",onClick:Va},Ht.filterConfirm)))}ke.filterDropdown&&(sa=le.createElement(ui.J,{selectable:void 0},sa));const da=()=>le.createElement(Kl,{className:`${Oe}-dropdown`},sa);let ea;typeof ke.filterIcon=="function"?ea=ke.filterIcon(La):ke.filterIcon?ea=ke.filterIcon:ea=le.createElement(co,null);const{direction:Hn}=le.useContext(Uo.E_);return le.createElement("div",{className:`${Oe}-column`},le.createElement("span",{className:`${Ee}-column-title`},Kt),le.createElement(Ro.Z,{dropdownRender:da,trigger:["click"],open:Vn,onOpenChange:ma,getPopupContainer:cn,placement:Hn==="rtl"?"bottomLeft":"bottomRight"},le.createElement("span",{role:"button",tabIndex:-1,className:pt()(`${Oe}-trigger`,{active:La}),onClick:Ut=>{Ut.stopPropagation()}},ea)))}var Ul=Vl;function Ui(de,ue,Pe){let Ee=[];return(de||[]).forEach((Oe,ke)=>{var qe;const Qe=Io(ke,Pe);if(Oe.filters||"filterDropdown"in Oe||"onFilter"in Oe)if("filteredValue"in Oe){let $e=Oe.filteredValue;"filterDropdown"in Oe||($e=(qe=$e==null?void 0:$e.map(String))!==null&&qe!==void 0?qe:$e),Ee.push({column:Oe,key:_a(Oe,Qe),filteredKeys:$e,forceFiltered:Oe.filtered})}else Ee.push({column:Oe,key:_a(Oe,Qe),filteredKeys:ue&&Oe.defaultFilteredValue?Oe.defaultFilteredValue:void 0,forceFiltered:Oe.filtered});"children"in Oe&&(Ee=[].concat((0,Bn.Z)(Ee),(0,Bn.Z)(Ui(Oe.children,ue,Qe))))}),Ee}function bl(de,ue,Pe,Ee,Oe,ke,qe,Qe){return Pe.map(($e,ft)=>{const st=Io(ft,Qe),{filterMultiple:ct=!0,filterMode:Gt,filterSearch:Ht}=$e;let Kt=$e;if(Kt.filters||Kt.filterDropdown){const cn=_a(Kt,st),on=Ee.find(xn=>{let{key:vn}=xn;return cn===vn});Kt=Object.assign(Object.assign({},Kt),{title:xn=>le.createElement(Ul,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ue,column:Kt,columnKey:cn,filterState:on,filterMultiple:ct,filterMode:Gt,filterSearch:Ht,triggerFilter:ke,locale:Oe,getPopupContainer:qe},Wo($e.title,xn))})}return"children"in Kt&&(Kt=Object.assign(Object.assign({},Kt),{children:bl(de,ue,Kt.children,Ee,Oe,ke,qe,st)})),Kt})}function Ci(de){const ue={};return de.forEach(Pe=>{let{key:Ee,filteredKeys:Oe,column:ke}=Pe;const{filters:qe,filterDropdown:Qe}=ke;if(Qe)ue[Ee]=Oe||null;else if(Array.isArray(Oe)){const $e=fi(qe);ue[Ee]=$e.filter(ft=>Oe.includes(String(ft)))}else ue[Ee]=null}),ue}function $i(de,ue){return ue.reduce((Pe,Ee)=>{const{column:{onFilter:Oe,filters:ke},filteredKeys:qe}=Ee;return Oe&&qe&&qe.length?Pe.filter(Qe=>qe.some($e=>{const ft=fi(ke),st=ft.findIndex(Gt=>String(Gt)===String($e)),ct=st!==-1?ft[st]:$e;return Oe(ct,Qe)})):Pe},de)}const Yi=de=>de.flatMap(ue=>"children"in ue?[ue].concat((0,Bn.Z)(Yi(ue.children||[]))):[ue]);function xl(de){let{prefixCls:ue,dropdownPrefixCls:Pe,mergedColumns:Ee,onFilterChange:Oe,getPopupContainer:ke,locale:qe}=de;const Qe=le.useMemo(()=>Yi(Ee||[]),[Ee]),[$e,ft]=le.useState(()=>Ui(Qe,!0)),st=le.useMemo(()=>{const Kt=Ui(Qe,!1);if(Kt.length===0)return Kt;let cn=!0,on=!0;if(Kt.forEach(xn=>{let{filteredKeys:vn}=xn;vn!==void 0?cn=!1:on=!1}),cn){const xn=(Qe||[]).map((vn,wn)=>_a(vn,Io(wn)));return $e.filter(vn=>{let{key:wn}=vn;return xn.includes(wn)}).map(vn=>{const wn=Qe[xn.findIndex(na=>na===vn.key)];return Object.assign(Object.assign({},vn),{column:Object.assign(Object.assign({},vn.column),wn),forceFiltered:wn.filtered})})}return Kt},[Qe,$e]),ct=le.useMemo(()=>Ci(st),[st]),Gt=Kt=>{const cn=st.filter(on=>{let{key:xn}=on;return xn!==Kt.key});cn.push(Kt),ft(cn),Oe(Ci(cn),cn)};return[Kt=>bl(ue,Pe,Kt,st,qe,Gt,ke),st,ct]}var Cl=xl;function wl(de,ue,Pe){const Ee=le.useRef({});function Oe(ke){if(!Ee.current||Ee.current.data!==de||Ee.current.childrenColumnName!==ue||Ee.current.getRowKey!==Pe){let Qe=function($e){$e.forEach((ft,st)=>{const ct=Pe(ft,st);qe.set(ct,ft),ft&&typeof ft=="object"&&ue in ft&&Qe(ft[ue]||[])})};const qe=new Map;Qe(de),Ee.current={data:de,childrenColumnName:ue,kvMap:qe,getRowKey:Pe}}return Ee.current.kvMap.get(ke)}return[Oe]}var El=te(50371),Ll=function(de,ue){var Pe={};for(var Ee in de)Object.prototype.hasOwnProperty.call(de,Ee)&&ue.indexOf(Ee)<0&&(Pe[Ee]=de[Ee]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Ee=Object.getOwnPropertySymbols(de);Oe<Ee.length;Oe++)ue.indexOf(Ee[Oe])<0&&Object.prototype.propertyIsEnumerable.call(de,Ee[Oe])&&(Pe[Ee[Oe]]=de[Ee[Oe]]);return Pe};const wi=10;function ii(de,ue){const Pe={current:de.current,pageSize:de.pageSize};return Object.keys(ue&&typeof ue=="object"?ue:{}).forEach(Oe=>{const ke=de[Oe];typeof ke!="function"&&(Pe[Oe]=ke)}),Pe}function Ji(de,ue,Pe){const Ee=Pe&&typeof Pe=="object"?Pe:{},{total:Oe=0}=Ee,ke=Ll(Ee,["total"]),[qe,Qe]=(0,le.useState)(()=>({current:"defaultCurrent"in ke?ke.defaultCurrent:1,pageSize:"defaultPageSize"in ke?ke.defaultPageSize:wi})),$e=(0,El.Z)(qe,ke,{total:Oe>0?Oe:de}),ft=Math.ceil((Oe||de)/$e.pageSize);$e.current>ft&&($e.current=ft||1);const st=(Gt,Ht)=>{Qe({current:Gt!=null?Gt:1,pageSize:Ht||$e.pageSize})},ct=(Gt,Ht)=>{var Kt;Pe&&((Kt=Pe.onChange)===null||Kt===void 0||Kt.call(Pe,Gt,Ht)),st(Gt,Ht),ue(Gt,Ht||($e==null?void 0:$e.pageSize))};return Pe===!1?[{},()=>{}]:[Object.assign(Object.assign({},$e),{onChange:ct}),st]}var $l=Ji,Yl=te(84105),li=te(35654),Oi=te(90782),Xi=te(71430),Jl=te(18929);const Yr={},Qi="SELECT_ALL",qi="SELECT_INVERT",_i="SELECT_NONE",Bl=[],Al=(de,ue)=>{let Pe=[];return(ue||[]).forEach(Ee=>{Pe.push(Ee),Ee&&typeof Ee=="object"&&de in Ee&&(Pe=[].concat((0,Bn.Z)(Pe),(0,Bn.Z)(Al(de,Ee[de]))))}),Pe};var Nl=(de,ue)=>{const{preserveSelectedRowKeys:Pe,selectedRowKeys:Ee,defaultSelectedRowKeys:Oe,getCheckboxProps:ke,onChange:qe,onSelect:Qe,onSelectAll:$e,onSelectInvert:ft,onSelectNone:st,onSelectMultiple:ct,columnWidth:Gt,type:Ht,selections:Kt,fixed:cn,renderCell:on,hideSelectAll:xn,checkStrictly:vn=!0}=ue||{},{prefixCls:wn,data:na,pageData:la,getRecordByKey:jn,getRowKey:aa,expandType:La,childrenColumnName:On,locale:Vn,getPopupContainer:Rn}=de,[Cn,Ln]=(0,Jl.Z)(Ee||Oe||Bl,{value:Ee}),oa=le.useRef(new Map),Ia=(0,le.useCallback)(fa=>{if(Pe){const sa=new Map;fa.forEach(da=>{let ea=jn(da);!ea&&oa.current.has(da)&&(ea=oa.current.get(da)),sa.set(da,ea)}),oa.current=sa}},[jn,Pe]);le.useEffect(()=>{Ia(Cn)},[Cn]);const{keyEntities:Na}=(0,le.useMemo)(()=>{if(vn)return{keyEntities:null};let fa=na;if(Pe){const sa=new Set(na.map((ea,Hn)=>aa(ea,Hn))),da=Array.from(oa.current).reduce((ea,Hn)=>{let[Ut,Fn]=Hn;return sa.has(Ut)?ea:ea.concat(Fn)},[]);fa=[].concat((0,Bn.Z)(fa),(0,Bn.Z)(da))}return(0,Xi.I8)(fa,{externalGetKey:aa,childrenPropName:On})},[na,aa,vn,On,Pe]),Qn=(0,le.useMemo)(()=>Al(On,la),[On,la]),Oa=(0,le.useMemo)(()=>{const fa=new Map;return Qn.forEach((sa,da)=>{const ea=aa(sa,da),Hn=(ke?ke(sa):null)||{};fa.set(ea,Hn)}),fa},[Qn,aa,ke]),Ra=(0,le.useCallback)(fa=>{var sa;return!!(!((sa=Oa.get(aa(fa)))===null||sa===void 0)&&sa.disabled)},[Oa,aa]),[Ha,Ma]=(0,le.useMemo)(()=>{if(vn)return[Cn||[],[]];const{checkedKeys:fa,halfCheckedKeys:sa}=(0,Oi.S)(Cn,!0,Na,Ra);return[fa||[],sa]},[Cn,vn,Na,Ra]),Co=(0,le.useMemo)(()=>{const fa=Ht==="radio"?Ha.slice(0,1):Ha;return new Set(fa)},[Ha,Ht]),Va=(0,le.useMemo)(()=>Ht==="radio"?new Set:new Set(Ma),[Ma,Ht]),[Sa,No]=(0,le.useState)(null);le.useEffect(()=>{ue||Ln(Bl)},[!!ue]);const ma=(0,le.useCallback)((fa,sa)=>{let da,ea;Ia(fa),Pe?(da=fa,ea=fa.map(Hn=>oa.current.get(Hn))):(da=[],ea=[],fa.forEach(Hn=>{const Ut=jn(Hn);Ut!==void 0&&(da.push(Hn),ea.push(Ut))})),Ln(da),qe==null||qe(da,ea,{type:sa})},[Ln,jn,qe,Pe]),mo=(0,le.useCallback)((fa,sa,da,ea)=>{if(Qe){const Hn=da.map(Ut=>jn(Ut));Qe(jn(fa),sa,Hn,ea)}ma(da,"single")},[Qe,jn,ma]),ao=(0,le.useMemo)(()=>!Kt||xn?null:(Kt===!0?[Qi,qi,_i]:Kt).map(sa=>sa===Qi?{key:"all",text:Vn.selectionAll,onSelect(){ma(na.map((da,ea)=>aa(da,ea)).filter(da=>{const ea=Oa.get(da);return!(ea!=null&&ea.disabled)||Co.has(da)}),"all")}}:sa===qi?{key:"invert",text:Vn.selectInvert,onSelect(){const da=new Set(Co);la.forEach((Hn,Ut)=>{const Fn=aa(Hn,Ut),Ba=Oa.get(Fn);Ba!=null&&Ba.disabled||(da.has(Fn)?da.delete(Fn):da.add(Fn))});const ea=Array.from(da);ft&&ft(ea),ma(ea,"invert")}}:sa===_i?{key:"none",text:Vn.selectNone,onSelect(){st==null||st(),ma(Array.from(Co).filter(da=>{const ea=Oa.get(da);return ea==null?void 0:ea.disabled}),"none")}}:sa).map(sa=>Object.assign(Object.assign({},sa),{onSelect:function(){for(var da,ea,Hn=arguments.length,Ut=new Array(Hn),Fn=0;Fn<Hn;Fn++)Ut[Fn]=arguments[Fn];(ea=sa.onSelect)===null||ea===void 0||(da=ea).call.apply(da,[sa].concat(Ut)),No(null)}})),[Kt,Co,la,aa,ft,ma]);return[(0,le.useCallback)(fa=>{var sa;if(!ue)return fa.filter(io=>io!==Yr);let da=(0,Bn.Z)(fa);const ea=new Set(Co),Hn=Qn.map(aa).filter(io=>!Oa.get(io).disabled),Ut=Hn.every(io=>ea.has(io)),Fn=Hn.some(io=>ea.has(io)),Ba=()=>{const io=[];Ut?Hn.forEach(zo=>{ea.delete(zo),io.push(zo)}):Hn.forEach(zo=>{ea.has(zo)||(ea.add(zo),io.push(zo))});const fo=Array.from(ea);$e==null||$e(!Ut,fo.map(zo=>jn(zo)),io.map(zo=>jn(zo))),ma(fo,"all"),No(null)};let za;if(Ht!=="radio"){let io;if(ao){const Ua={getPopupContainer:Rn,items:ao.map((yr,gr)=>{const{key:vo,text:ha,onSelect:qo}=yr;return{key:vo!=null?vo:gr,onClick:()=>{qo==null||qo(Hn)},label:ha}})};io=le.createElement("div",{className:`${wn}-selection-extra`},le.createElement(Ro.Z,{menu:Ua,getPopupContainer:Rn},le.createElement("span",null,le.createElement(Yl.Z,null))))}const fo=Qn.map((Ua,yr)=>{const gr=aa(Ua,yr),vo=Oa.get(gr)||{};return Object.assign({checked:ea.has(gr)},vo)}).filter(Ua=>{let{disabled:yr}=Ua;return yr}),zo=!!fo.length&&fo.length===Qn.length,er=zo&&fo.every(Ua=>{let{checked:yr}=Ua;return yr}),Qo=zo&&fo.some(Ua=>{let{checked:yr}=Ua;return yr});za=!xn&&le.createElement("div",{className:`${wn}-selection`},le.createElement(nr.default,{checked:zo?er:!!Qn.length&&Ut,indeterminate:zo?!er&&Qo:!Ut&&Fn,onChange:Ba,disabled:Qn.length===0||zo,"aria-label":io?"Custom selection":"Select all",skipGroup:!0}),io)}let dr;Ht==="radio"?dr=(io,fo,zo)=>{const er=aa(fo,zo),Qo=ea.has(er);return{node:le.createElement(Ki.ZP,Object.assign({},Oa.get(er),{checked:Qo,onClick:Ua=>Ua.stopPropagation(),onChange:Ua=>{ea.has(er)||mo(er,!0,[er],Ua.nativeEvent)}})),checked:Qo}}:dr=(io,fo,zo)=>{var er;const Qo=aa(fo,zo),Ua=ea.has(Qo),yr=Va.has(Qo),gr=Oa.get(Qo);let vo;return La==="nest"?vo=yr:vo=(er=gr==null?void 0:gr.indeterminate)!==null&&er!==void 0?er:yr,{node:le.createElement(nr.default,Object.assign({},gr,{indeterminate:vo,checked:Ua,skipGroup:!0,onClick:ha=>ha.stopPropagation(),onChange:ha=>{let{nativeEvent:qo}=ha;const{shiftKey:pr}=qo;let _r=-1,Rr=-1;if(pr&&vn){const Dr=new Set([Sa,Qo]);Hn.some((Er,tr)=>{if(Dr.has(Er))if(_r===-1)_r=tr;else return Rr=tr,!0;return!1})}if(Rr!==-1&&_r!==Rr&&vn){const Dr=Hn.slice(_r,Rr+1),Er=[];Ua?Dr.forEach(Vo=>{ea.has(Vo)&&(Er.push(Vo),ea.delete(Vo))}):Dr.forEach(Vo=>{ea.has(Vo)||(Er.push(Vo),ea.add(Vo))});const tr=Array.from(ea);ct==null||ct(!Ua,tr.map(Vo=>jn(Vo)),Er.map(Vo=>jn(Vo))),ma(tr,"multiple")}else{const Dr=Ha;if(vn){const Er=Ua?(0,li._5)(Dr,Qo):(0,li.L0)(Dr,Qo);mo(Qo,!Ua,Er,qo)}else{const Er=(0,Oi.S)([].concat((0,Bn.Z)(Dr),[Qo]),!0,Na,Ra),{checkedKeys:tr,halfCheckedKeys:Vo}=Er;let Jr=tr;if(Ua){const oi=new Set(tr);oi.delete(Qo),Jr=(0,Oi.S)(Array.from(oi),{checked:!1,halfCheckedKeys:Vo},Na,Ra).checkedKeys}mo(Qo,!Ua,Jr,qo)}}No(Ua?null:Qo)}})),checked:Ua}};const or=(io,fo,zo)=>{const{node:er,checked:Qo}=dr(io,fo,zo);return on?on(Qo,fo,zo,er):er};if(!da.includes(Yr))if(da.findIndex(io=>{var fo;return((fo=io[Yn])===null||fo===void 0?void 0:fo.columnType)==="EXPAND_COLUMN"})===0){const[io,...fo]=da;da=[io,Yr].concat((0,Bn.Z)(fo))}else da=[Yr].concat((0,Bn.Z)(da));const Or=da.indexOf(Yr);da=da.filter((io,fo)=>io!==Yr||fo===Or);const Zo=da[Or-1],Mo=da[Or+1];let ga=cn;ga===void 0&&((Mo==null?void 0:Mo.fixed)!==void 0?ga=Mo.fixed:(Zo==null?void 0:Zo.fixed)!==void 0&&(ga=Zo.fixed)),ga&&Zo&&((sa=Zo[Yn])===null||sa===void 0?void 0:sa.columnType)==="EXPAND_COLUMN"&&Zo.fixed===void 0&&(Zo.fixed=ga);const vr=pt()(`${wn}-selection-col`,{[`${wn}-selection-col-with-dropdown`]:Kt&&Ht==="checkbox"}),Pr={fixed:ga,width:Gt,className:`${wn}-selection-column`,title:ue.columnTitle||za,render:or,onCell:ue.onCell,[Yn]:{className:vr}};return da.map(io=>io===Yr?Pr:io)},[aa,Qn,ue,Ha,Co,Va,Gt,ao,La,Sa,Oa,ct,mo,Ra]),Co]},Xl=te(89489),Ql=te(59477),el=te(6848);const ki="ascend",vi="descend";function Ei(de){return typeof de.sorter=="object"&&typeof de.sorter.multiple=="number"?de.sorter.multiple:!1}function Dl(de){return typeof de=="function"?de:de&&typeof de=="object"&&de.compare?de.compare:!1}function ql(de,ue){return ue?de[de.indexOf(ue)+1]:de[0]}function Fl(de,ue,Pe){let Ee=[];function Oe(ke,qe){Ee.push({column:ke,key:_a(ke,qe),multiplePriority:Ei(ke),sortOrder:ke.sortOrder})}return(de||[]).forEach((ke,qe)=>{const Qe=Io(qe,Pe);ke.children?("sortOrder"in ke&&Oe(ke,Qe),Ee=[].concat((0,Bn.Z)(Ee),(0,Bn.Z)(Fl(ke.children,ue,Qe)))):ke.sorter&&("sortOrder"in ke?Oe(ke,Qe):ue&&ke.defaultSortOrder&&Ee.push({column:ke,key:_a(ke,Qe),multiplePriority:Ei(ke),sortOrder:ke.defaultSortOrder}))}),Ee}function tl(de,ue,Pe,Ee,Oe,ke,qe,Qe){return(ue||[]).map(($e,ft)=>{const st=Io(ft,Qe);let ct=$e;if(ct.sorter){const Gt=ct.sortDirections||Oe,Ht=ct.showSorterTooltip===void 0?qe:ct.showSorterTooltip,Kt=_a(ct,st),cn=Pe.find(La=>{let{key:On}=La;return On===Kt}),on=cn?cn.sortOrder:null,xn=ql(Gt,on);let vn;if($e.sortIcon)vn=$e.sortIcon({sortOrder:on});else{const La=Gt.includes(ki)&&le.createElement(Ql.Z,{className:pt()(`${de}-column-sorter-up`,{active:on===ki})}),On=Gt.includes(vi)&&le.createElement(Xl.Z,{className:pt()(`${de}-column-sorter-down`,{active:on===vi})});vn=le.createElement("span",{className:pt()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(La&&On)})},le.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},La,On))}const{cancelSort:wn,triggerAsc:na,triggerDesc:la}=ke||{};let jn=wn;xn===vi?jn=la:xn===ki&&(jn=na);const aa=typeof Ht=="object"?Ht:{title:jn};ct=Object.assign(Object.assign({},ct),{className:pt()(ct.className,{[`${de}-column-sort`]:on}),title:La=>{const On=le.createElement("div",{className:`${de}-column-sorters`},le.createElement("span",{className:`${de}-column-title`},Wo($e.title,La)),vn);return Ht?le.createElement(el.Z,Object.assign({},aa),On):On},onHeaderCell:La=>{const On=$e.onHeaderCell&&$e.onHeaderCell(La)||{},Vn=On.onClick,Rn=On.onKeyDown;On.onClick=oa=>{Ee({column:$e,key:Kt,sortOrder:xn,multiplePriority:Ei($e)}),Vn==null||Vn(oa)},On.onKeyDown=oa=>{oa.keyCode===Fi.Z.ENTER&&(Ee({column:$e,key:Kt,sortOrder:xn,multiplePriority:Ei($e)}),Rn==null||Rn(oa))};const Cn=Yo($e.title,{}),Ln=Cn==null?void 0:Cn.toString();return on?On["aria-sort"]=on==="ascend"?"ascending":"descending":On["aria-label"]=Ln||"",On.className=pt()(On.className,`${de}-column-has-sorters`),On.tabIndex=0,$e.ellipsis&&(On.title=(Cn!=null?Cn:"").toString()),On}})}return"children"in ct&&(ct=Object.assign(Object.assign({},ct),{children:tl(de,ct.children,Pe,Ee,Oe,ke,qe,st)})),ct})}function Ol(de){const{column:ue,sortOrder:Pe}=de;return{column:ue,order:Pe,field:ue.dataIndex,columnKey:ue.key}}function kl(de){const ue=de.filter(Pe=>{let{sortOrder:Ee}=Pe;return Ee}).map(Ol);return ue.length===0&&de.length?Object.assign(Object.assign({},Ol(de[de.length-1])),{column:void 0}):ue.length<=1?ue[0]||{}:ue}function nl(de,ue,Pe){const Ee=ue.slice().sort((qe,Qe)=>Qe.multiplePriority-qe.multiplePriority),Oe=de.slice(),ke=Ee.filter(qe=>{let{column:{sorter:Qe},sortOrder:$e}=qe;return Dl(Qe)&&$e});return ke.length?Oe.sort((qe,Qe)=>{for(let $e=0;$e<ke.length;$e+=1){const ft=ke[$e],{column:{sorter:st},sortOrder:ct}=ft,Gt=Dl(st);if(Gt&&ct){const Ht=Gt(qe,Qe,ct);if(Ht!==0)return ct===ki?Ht:-Ht}}return 0}).map(qe=>{const Qe=qe[Pe];return Qe?Object.assign(Object.assign({},qe),{[Pe]:nl(Qe,ue,Pe)}):qe}):Oe}function _l(de){let{prefixCls:ue,mergedColumns:Pe,onSorterChange:Ee,sortDirections:Oe,tableLocale:ke,showSorterTooltip:qe}=de;const[Qe,$e]=le.useState(Fl(Pe,!0)),ft=le.useMemo(()=>{let Kt=!0;const cn=Fl(Pe,!1);if(!cn.length)return Qe;const on=[];function xn(wn){Kt?on.push(wn):on.push(Object.assign(Object.assign({},wn),{sortOrder:null}))}let vn=null;return cn.forEach(wn=>{vn===null?(xn(wn),wn.sortOrder&&(wn.multiplePriority===!1?Kt=!1:vn=!0)):(vn&&wn.multiplePriority!==!1||(Kt=!1),xn(wn))}),on},[Pe,Qe]),st=le.useMemo(()=>{const Kt=ft.map(cn=>{let{column:on,sortOrder:xn}=cn;return{column:on,order:xn}});return{sortColumns:Kt,sortColumn:Kt[0]&&Kt[0].column,sortOrder:Kt[0]&&Kt[0].order}},[ft]);function ct(Kt){let cn;Kt.multiplePriority===!1||!ft.length||ft[0].multiplePriority===!1?cn=[Kt]:cn=[].concat((0,Bn.Z)(ft.filter(on=>{let{key:xn}=on;return xn!==Kt.key})),[Kt]),$e(cn),Ee(kl(cn),cn)}return[Kt=>tl(ue,Kt,ft,ct,Oe,ke,qe),ft,st,()=>kl(ft)]}function es(de,ue){return de.map(Pe=>{const Ee=Object.assign({},Pe);return Ee.title=Wo(Pe.title,ue),"children"in Ee&&(Ee.children=es(Ee.children,ue)),Ee})}function ts(de){return[le.useCallback(Pe=>es(Pe,de),[de])]}var Il=ja((de,ue)=>{const{_renderTimes:Pe}=de,{_renderTimes:Ee}=ue;return Pe!==Ee}),pi=Kr((de,ue)=>{const{_renderTimes:Pe}=de,{_renderTimes:Ee}=ue;return Pe!==Ee}),hi=te(64993),Ii=te(17313),ns=te(83116),as=te(37613),se=de=>{const{componentCls:ue}=de,Pe=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,Ee=(Oe,ke,qe)=>({[`&${ue}-${Oe}`]:{[`> ${ue}-container`]:{[`> ${ue}-content, > ${ue}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`-${ke}px -${qe+de.lineWidth}px`}}}}}});return{[`${ue}-wrapper`]:{[`${ue}${ue}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ue}-title`]:{border:Pe,borderBottom:0},[`> ${ue}-container`]:{borderInlineStart:Pe,borderTop:Pe,[`
|
|
> ${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:Pe},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Pe},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ue}-cell-fix-right-first::after`]:{borderInlineEnd:Pe}},"\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:Pe,content:'""'}}}}}},[`&${ue}-scroll-horizontal`]:{[`> ${ue}-container > ${ue}-body`]:{"> table > tbody":{[`
|
|
> tr${ue}-expanded-row,
|
|
> tr${ue}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ee("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle)),Ee("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall)),{[`> ${ue}-footer`]:{border:Pe,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:Pe}}}},Ae=de=>{const{componentCls:ue}=de;return{[`${ue}-wrapper`]:{[`${ue}-cell-ellipsis`]:Object.assign(Object.assign({},Ii.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"}})}}},_e=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}}}}},je=te(15969),Pt=de=>{const{componentCls:ue,antCls:Pe,controlInteractiveSize:Ee,motionDurationSlow:Oe,lineWidth:ke,paddingXS:qe,lineType:Qe,tableBorderColor:$e,tableExpandIconBg:ft,tableExpandColumnWidth:st,borderRadius:ct,fontSize:Gt,fontSizeSM:Ht,lineHeight:Kt,tablePaddingVertical:cn,tablePaddingHorizontal:on,tableExpandedRowBg:xn,paddingXXS:vn}=de,wn=Ee/2-ke,na=wn*2+ke*3,la=`${ke}px ${Qe} ${$e}`,jn=vn-ke;return{[`${ue}-wrapper`]:{[`${ue}-expand-icon-col`]:{width:st},[`${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,je.N)(de)),{position:"relative",float:"left",boxSizing:"border-box",width:na,height:na,padding:0,color:"inherit",lineHeight:`${na}px`,background:ft,border:la,borderRadius:ct,transform:`scale(${Ee/na})`,transition:`all ${Oe}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Oe} ease-out`,content:'""'},"&::before":{top:wn,insetInlineEnd:jn,insetInlineStart:jn,height:ke},"&::after":{top:jn,bottom:jn,insetInlineStart:wn,width:ke,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ue}-row-indent + ${ue}-row-expand-icon`]:{marginTop:(Gt*Kt-ke*3)/2-Math.ceil((Ht*1.4-ke*3)/2),marginInlineEnd:qe},[`tr${ue}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:xn}},[`${Pe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ue}-expanded-row-fixed`]:{position:"relative",margin:`-${cn}px -${on}px`,padding:`${cn}px ${on}px`}}}},bn=de=>{const{componentCls:ue,antCls:Pe,iconCls:Ee,tableFilterDropdownWidth:Oe,tableFilterDropdownSearchWidth:ke,paddingXXS:qe,paddingXS:Qe,colorText:$e,lineWidth:ft,lineType:st,tableBorderColor:ct,tableHeaderIconColor:Gt,fontSizeSM:Ht,tablePaddingHorizontal:Kt,borderRadius:cn,motionDurationSlow:on,colorTextDescription:xn,colorPrimary:vn,tableHeaderFilterActiveBg:wn,colorTextDisabled:na,tableFilterDropdownBg:la,tableFilterDropdownHeight:jn,controlItemBgHover:aa,controlItemBgActive:La,boxShadowSecondary:On,filterDropdownMenuBg:Vn}=de,Rn=`${Pe}-dropdown`,Cn=`${ue}-filter-dropdown`,Ln=`${Pe}-tree`,oa=`${ft}px ${st} ${ct}`;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 ${-Kt/2}px`,padding:`0 ${qe}px`,color:Gt,fontSize:Ht,borderRadius:cn,cursor:"pointer",transition:`all ${on}`,"&:hover":{color:xn,background:wn},"&.active":{color:vn}}}},{[`${Pe}-dropdown`]:{[Cn]:Object.assign(Object.assign({},(0,Ii.Wf)(de)),{minWidth:Oe,backgroundColor:la,borderRadius:cn,boxShadow:On,overflow:"hidden",[`${Rn}-menu`]:{maxHeight:jn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Vn,"&:empty::after":{display:"block",padding:`${Qe}px 0`,color:na,fontSize:Ht,textAlign:"center",content:'"Not Found"'}},[`${Cn}-tree`]:{paddingBlock:`${Qe}px 0`,paddingInline:Qe,[Ln]:{padding:0},[`${Ln}-treenode ${Ln}-node-content-wrapper:hover`]:{backgroundColor:aa},[`${Ln}-treenode-checkbox-checked ${Ln}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:La}}},[`${Cn}-search`]:{padding:Qe,borderBottom:oa,"&-input":{input:{minWidth:ke},[Ee]:{color:na}}},[`${Cn}-checkall`]:{width:"100%",marginBottom:qe,marginInlineStart:qe},[`${Cn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Qe-ft}px ${Qe}px`,overflow:"hidden",borderTop:oa}})}},{[`${Pe}-dropdown ${Cn}, ${Cn}-submenu`]:{[`${Pe}-checkbox-wrapper + span`]:{paddingInlineStart:Qe,color:$e},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},$t=de=>{const{componentCls:ue,lineWidth:Pe,colorSplit:Ee,motionDurationSlow:Oe,zIndexTableFixed:ke,tableBg:qe,zIndexTableSticky:Qe}=de,$e=Ee;return{[`${ue}-wrapper`]:{[`
|
|
${ue}-cell-fix-left,
|
|
${ue}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:ke,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:-Pe,width:30,transform:"translateX(100%)",transition:`box-shadow ${Oe}`,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:-Pe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Oe}`,content:'""',pointerEvents:"none"},[`${ue}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Qe+1,width:30,transition:`box-shadow ${Oe}`,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 ${$e}`}},[`
|
|
${ue}-cell-fix-left-first::after,
|
|
${ue}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${$e}`},[`${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 ${$e}`}},[`
|
|
${ue}-cell-fix-right-first::after,
|
|
${ue}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${$e}`}}}}},gn=de=>{const{componentCls:ue,antCls:Pe}=de;return{[`${ue}-wrapper`]:{[`${ue}-pagination${Pe}-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"}}}}},jt=de=>{const{componentCls:ue,tableRadius:Pe}=de;return{[`${ue}-wrapper`]:{[ue]:{[`${ue}-title, ${ue}-header`]:{borderRadius:`${Pe}px ${Pe}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:Pe,borderStartEndRadius:Pe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Pe},"> *:last-child":{borderStartEndRadius:Pe}}},"&-footer":{borderRadius:`0 0 ${Pe}px ${Pe}px`}}}}},Gn=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"}}}}},Wn=de=>{const{componentCls:ue,antCls:Pe,iconCls:Ee,fontSizeIcon:Oe,padding:ke,paddingXS:qe,tableHeaderIconColor:Qe,tableHeaderIconColorHover:$e,tableSelectionColumnWidth:ft}=de;return{[`${ue}-wrapper`]:{[`${ue}-selection-col`]:{width:ft,[`&${ue}-selection-col-with-dropdown`]:{width:ft+Oe+ke/4}},[`${ue}-bordered ${ue}-selection-col`]:{width:ft+qe*2,[`&${ue}-selection-col-with-dropdown`]:{width:ft+Oe+ke/4+qe*2}},[`
|
|
table tr th${ue}-selection-column,
|
|
table tr td${ue}-selection-column
|
|
`]:{paddingInlineEnd:de.paddingXS,paddingInlineStart:de.paddingXS,textAlign:"center",[`${Pe}-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`,[Ee]:{color:Qe,fontSize:Oe,verticalAlign:"baseline","&:hover":{color:$e}}}}}},$n=de=>{const{componentCls:ue}=de,Pe=(Ee,Oe,ke,qe)=>({[`${ue}${ue}-${Ee}`]:{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:`${Oe}px ${ke}px`},[`${ue}-filter-trigger`]:{marginInlineEnd:`-${ke/2}px`},[`${ue}-expanded-row-fixed`]:{margin:`-${Oe}px -${ke}px`},[`${ue}-tbody`]:{[`${ue}-wrapper:only-child ${ue}`]:{marginBlock:`-${Oe}px`,marginInline:`${de.tableExpandColumnWidth-ke}px -${ke}px`}},[`${ue}-selection-column`]:{paddingInlineStart:`${ke/4}px`}}});return{[`${ue}-wrapper`]:Object.assign(Object.assign({},Pe("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle,de.tableFontSizeMiddle)),Pe("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall,de.tableFontSizeSmall))}},Ja=de=>{const{componentCls:ue,marginXXS:Pe,fontSizeIcon:Ee,tableHeaderIconColor:Oe,tableHeaderIconColorHover:ke}=de;return{[`${ue}-wrapper`]:{[`${ue}-thead th${ue}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${de.motionDurationSlow}`,"&:hover":{background:de.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:de.colorPrimary},[`
|
|
&${ue}-cell-fix-left:hover,
|
|
&${ue}-cell-fix-right:hover
|
|
`]:{background:de.tableFixedHeaderSortActiveBg}},[`${ue}-thead th${ue}-column-sort`]:{background:de.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ue}-column-sort`]:{background:de.tableBodySortBg},[`${ue}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ue}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ue}-column-sorter`]:{marginInlineStart:Pe,color:Oe,fontSize:0,transition:`color ${de.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ee,"&.active":{color:de.colorPrimary}},[`${ue}-column-sorter-up + ${ue}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ue}-column-sorters:hover ${ue}-column-sorter`]:{color:ke}}}},Xa=de=>{const{componentCls:ue,opacityLoading:Pe,tableScrollThumbBg:Ee,tableScrollThumbBgHover:Oe,tableScrollThumbSize:ke,tableScrollBg:qe,zIndexTableSticky:Qe,stickyScrollBarBorderRadius:$e}=de,ft=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`;return{[`${ue}-wrapper`]:{[`${ue}-sticky`]:{"&-holder":{position:"sticky",zIndex:Qe,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ke}px !important`,zIndex:Qe,display:"flex",alignItems:"center",background:qe,borderTop:ft,opacity:Pe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ke,backgroundColor:Ee,borderRadius:$e,transition:`all ${de.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Oe}}}}}}},xo=de=>{const{componentCls:ue,lineWidth:Pe,tableBorderColor:Ee}=de,Oe=`${Pe}px ${de.lineType} ${Ee}`;return{[`${ue}-wrapper`]:{[`${ue}-summary`]:{position:"relative",zIndex:de.zIndexTableFixed,background:de.tableBg,"> tr":{"> th, > td":{borderBottom:Oe}}},[`div${ue}-summary`]:{boxShadow:`0 -${Pe}px 0 ${Ee}`}}}},Jo=de=>{const{componentCls:ue}=de,Pe=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,Ee=`${ue}-expanded-row-cell`;return{[`${ue}-wrapper`]:{[`${ue}-tbody-virtual`]:{[`${ue}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ue}-cell`]:{borderBottom:Pe},[`${ue}-expanded-row`]:{[`${Ee}${Ee}-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:Pe,position:"absolute"},[`${ue}-cell`]:{borderInlineEnd:Pe,[`&${ue}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-de.lineWidth,borderInlineStart:Pe}}}}}}};const yo=de=>{const{componentCls:ue,fontWeightStrong:Pe,tablePaddingVertical:Ee,tablePaddingHorizontal:Oe,lineWidth:ke,lineType:qe,tableBorderColor:Qe,tableFontSize:$e,tableBg:ft,tableRadius:st,tableHeaderTextColor:ct,motionDurationMid:Gt,tableHeaderBg:Ht,tableHeaderCellSplitColor:Kt,tableRowHoverBg:cn,tableSelectedRowBg:on,tableSelectedRowHoverBg:xn,tableFooterTextColor:vn,tableFooterBg:wn,paddingContentVerticalLG:na}=de,la=`${ke}px ${qe} ${Qe}`;return{[`${ue}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ii.dF)()),{[ue]:Object.assign(Object.assign({},(0,Ii.Wf)(de)),{fontSize:$e,background:ft,borderRadius:`${st}px ${st}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${st}px ${st}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:`${na}px ${Oe}px`,overflowWrap:"break-word"},[`${ue}-title`]:{padding:`${Ee}px ${Oe}px`},[`${ue}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ct,fontWeight:Pe,textAlign:"start",background:Ht,borderBottom:la,transition:`background ${Gt} 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:Kt,transform:"translateY(-50%)",transition:`background-color ${Gt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ue}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Gt}, border-color ${Gt}`,borderBottom:la,[`
|
|
> ${ue}-wrapper:only-child,
|
|
> ${ue}-expanded-row-fixed > ${ue}-wrapper:only-child
|
|
`]:{[ue]:{marginBlock:`-${Ee}px`,marginInline:`${de.tableExpandColumnWidth-Oe}px -${Oe}px`,[`${ue}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ct,fontWeight:Pe,textAlign:"start",background:Ht,borderBottom:la,transition:`background ${Gt} ease`},[`
|
|
&${ue}-row:hover > th,
|
|
&${ue}-row:hover > td,
|
|
> th${ue}-cell-row-hover,
|
|
> td${ue}-cell-row-hover
|
|
`]:{background:cn},[`&${ue}-row-selected`]:{"> th, > td":{background:on},"&:hover > th, &:hover > td":{background:xn}}}},[`${ue}-footer`]:{padding:`${Ee}px ${Oe}px`,color:vn,background:wn}})}};var eo=(0,ns.Z)("Table",de=>{const{colorTextHeading:ue,colorSplit:Pe,colorIcon:Ee,colorIconHover:Oe,opacityLoading:ke,colorBgContainer:qe,controlInteractiveSize:Qe,headerBg:$e,headerColor:ft,headerSortActiveBg:st,headerSortHoverBg:ct,bodySortBg:Gt,rowHoverBg:Ht,rowSelectedBg:Kt,rowSelectedHoverBg:cn,rowExpandedBg:on,cellPaddingBlock:xn,cellPaddingInline:vn,cellPaddingBlockMD:wn,cellPaddingInlineMD:na,cellPaddingBlockSM:la,cellPaddingInlineSM:jn,borderColor:aa,footerBg:La,footerColor:On,headerBorderRadius:Vn,cellFontSize:Rn,cellFontSizeMD:Cn,cellFontSizeSM:Ln,headerSplitColor:oa,fixedHeaderSortActiveBg:Ia,headerFilterHoverBg:Na,filterDropdownBg:Qn,expandIconBg:Oa,selectionColumnWidth:Ra,stickyScrollBarBg:Ha}=de,Ma=new hi.C(Ee),Co=new hi.C(Oe),Va=2,Sa=(0,as.TS)(de,{tableFontSize:Rn,tableBg:qe,tableRadius:Vn,tablePaddingVertical:xn,tablePaddingHorizontal:vn,tablePaddingVerticalMiddle:wn,tablePaddingHorizontalMiddle:na,tablePaddingVerticalSmall:la,tablePaddingHorizontalSmall:jn,tableBorderColor:aa,tableHeaderTextColor:ft,tableHeaderBg:$e,tableFooterTextColor:On,tableFooterBg:La,tableHeaderCellSplitColor:oa,tableHeaderSortBg:st,tableHeaderSortHoverBg:ct,tableHeaderIconColor:Ma.clone().setAlpha(Ma.getAlpha()*ke).toRgbString(),tableHeaderIconColorHover:Co.clone().setAlpha(Co.getAlpha()*ke).toRgbString(),tableBodySortBg:Gt,tableFixedHeaderSortActiveBg:Ia,tableHeaderFilterActiveBg:Na,tableFilterDropdownBg:Qn,tableRowHoverBg:Ht,tableSelectedRowBg:Kt,tableSelectedRowHoverBg:cn,zIndexTableFixed:Va,zIndexTableSticky:Va+1,tableFontSizeMiddle:Cn,tableFontSizeSmall:Ln,tableSelectionColumnWidth:Ra,tableExpandIconBg:Oa,tableExpandColumnWidth:Qe+2*de.padding,tableExpandedRowBg:on,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ha,tableScrollThumbBgHover:ue,tableScrollBg:Pe});return[yo(Sa),gn(Sa),xo(Sa),Ja(Sa),bn(Sa),se(Sa),jt(Sa),Pt(Sa),xo(Sa),_e(Sa),Wn(Sa),$t(Sa),Xa(Sa),Ae(Sa),$n(Sa),Gn(Sa),Jo(Sa)]},de=>{const{colorFillAlter:ue,colorBgContainer:Pe,colorTextHeading:Ee,colorFillSecondary:Oe,colorFillContent:ke,controlItemBgActive:qe,controlItemBgActiveHover:Qe,padding:$e,paddingSM:ft,paddingXS:st,colorBorderSecondary:ct,borderRadiusLG:Gt,fontSize:Ht,controlHeight:Kt,colorTextPlaceholder:cn}=de,on=new hi.C(Oe).onBackground(Pe).toHexShortString(),xn=new hi.C(ke).onBackground(Pe).toHexShortString(),vn=new hi.C(ue).onBackground(Pe).toHexShortString();return{headerBg:vn,headerColor:Ee,headerSortActiveBg:on,headerSortHoverBg:xn,bodySortBg:vn,rowHoverBg:vn,rowSelectedBg:qe,rowSelectedHoverBg:Qe,rowExpandedBg:ue,cellPaddingBlock:$e,cellPaddingInline:$e,cellPaddingBlockMD:ft,cellPaddingInlineMD:st,cellPaddingBlockSM:st,cellPaddingInlineSM:st,borderColor:ct,headerBorderRadius:Gt,footerBg:vn,footerColor:Ee,cellFontSize:Ht,cellFontSizeMD:Ht,cellFontSizeSM:Ht,headerSplitColor:ct,fixedHeaderSortActiveBg:on,headerFilterHoverBg:ke,filterDropdownMenuBg:Pe,filterDropdownBg:Pe,expandIconBg:Pe,selectionColumnWidth:Kt,stickyScrollBarBg:cn,stickyScrollBarBorderRadius:100}});const no=[],Lo=(de,ue)=>{const{prefixCls:Pe,className:Ee,rootClassName:Oe,style:ke,size:qe,bordered:Qe,dropdownPrefixCls:$e,dataSource:ft,pagination:st,rowSelection:ct,rowKey:Gt="key",rowClassName:Ht,columns:Kt,children:cn,childrenColumnName:on,onChange:xn,getPopupContainer:vn,loading:wn,expandIcon:na,expandable:la,expandedRowRender:jn,expandIconColumnIndex:aa,indentSize:La,scroll:On,sortDirections:Vn,locale:Rn,showSorterTooltip:Cn=!0,virtual:Ln}=de,oa=le.useMemo(()=>Kt||Ye(cn),[Kt,cn]),Ia=le.useMemo(()=>oa.some(qa=>qa.responsive),[oa]),Na=(0,gi.Z)(Ia),Qn=le.useMemo(()=>{const qa=new Set(Object.keys(Na).filter(Bo=>Na[Bo]));return oa.filter(Bo=>!Bo.responsive||Bo.responsive.some(hr=>qa.has(hr)))},[oa,Na]),Oa=(0,ri.Z)(de,["className","style","columns"]),{locale:Ra=ci.Z,direction:Ha,table:Ma,renderEmpty:Co,getPrefixCls:Va,getPopupContainer:Sa}=le.useContext(Uo.E_),No=(0,zr.Z)(qe),ma=Object.assign(Object.assign({},Ra.Table),Rn),mo=ft||no,ao=Va("table",Pe),Xo=Va("dropdown",$e),fa=Object.assign({childrenColumnName:on,expandIconColumnIndex:aa},la),{childrenColumnName:sa="children"}=fa,da=le.useMemo(()=>mo.some(qa=>qa==null?void 0:qa[sa])?"nest":jn||la&&la.expandedRowRender?"row":null,[mo]),ea={body:le.useRef()},Hn=le.useMemo(()=>typeof Gt=="function"?Gt:qa=>qa==null?void 0:qa[Gt],[Gt]),[Ut]=wl(mo,sa,Hn),Fn={},Ba=function(qa,Bo){let hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Go,Lr,Br;const br=Object.assign(Object.assign({},Fn),qa);hr&&((Go=Fn.resetPagination)===null||Go===void 0||Go.call(Fn),!((Lr=br.pagination)===null||Lr===void 0)&&Lr.current&&(br.pagination.current=1),st&&st.onChange&&st.onChange(1,(Br=br.pagination)===null||Br===void 0?void 0:Br.pageSize)),On&&On.scrollToFirstRowOnChange!==!1&&ea.body.current&&(0,qr.Z)(0,{getContainer:()=>ea.body.current}),xn==null||xn(br.pagination,br.filters,br.sorter,{currentDataSource:$i(nl(mo,br.sorterStates,sa),br.filterStates),action:Bo})},za=(qa,Bo)=>{Ba({sorter:qa,sorterStates:Bo},"sort",!1)},[dr,or,Or,Zo]=_l({prefixCls:ao,mergedColumns:Qn,onSorterChange:za,sortDirections:Vn||["ascend","descend"],tableLocale:ma,showSorterTooltip:Cn}),Mo=le.useMemo(()=>nl(mo,or,sa),[mo,or]);Fn.sorter=Zo(),Fn.sorterStates=or;const ga=(qa,Bo)=>{Ba({filters:qa,filterStates:Bo},"filter",!0)},[vr,Pr,io]=Cl({prefixCls:ao,locale:ma,dropdownPrefixCls:Xo,mergedColumns:Qn,onFilterChange:ga,getPopupContainer:vn||Sa}),fo=$i(Mo,Pr);Fn.filters=io,Fn.filterStates=Pr;const zo=le.useMemo(()=>{const qa={};return Object.keys(io).forEach(Bo=>{io[Bo]!==null&&(qa[Bo]=io[Bo])}),Object.assign(Object.assign({},Or),{filters:qa})},[Or,io]),[er]=ts(zo),Qo=(qa,Bo)=>{Ba({pagination:Object.assign(Object.assign({},Fn.pagination),{current:qa,pageSize:Bo})},"paginate")},[Ua,yr]=$l(fo.length,Qo,st);Fn.pagination=st===!1?{}:ii(Ua,st),Fn.resetPagination=yr;const gr=le.useMemo(()=>{if(st===!1||!Ua.pageSize)return fo;const{current:qa=1,total:Bo,pageSize:hr=wi}=Ua;return fo.length<Bo?fo.length>hr?fo.slice((qa-1)*hr,qa*hr):fo:fo.slice((qa-1)*hr,qa*hr)},[!!st,fo,Ua&&Ua.current,Ua&&Ua.pageSize,Ua&&Ua.total]),[vo,ha]=Nl({prefixCls:ao,data:fo,pageData:gr,getRowKey:Hn,getRecordByKey:Ut,expandType:da,childrenColumnName:sa,locale:ma,getPopupContainer:vn||Sa},ct),qo=(qa,Bo,hr)=>{let Go;return typeof Ht=="function"?Go=pt()(Ht(qa,Bo,hr)):Go=pt()(Ht),pt()({[`${ao}-row-selected`]:ha.has(Hn(qa,Bo))},Go)};fa.__PARENT_RENDER_ICON__=fa.expandIcon,fa.expandIcon=fa.expandIcon||na||_n(ma),da==="nest"&&fa.expandIconColumnIndex===void 0?fa.expandIconColumnIndex=ct?1:0:fa.expandIconColumnIndex>0&&ct&&(fa.expandIconColumnIndex-=1),typeof fa.indentSize!="number"&&(fa.indentSize=typeof La=="number"?La:15);const pr=le.useCallback(qa=>er(vo(vr(dr(qa)))),[dr,vr,vo]);let _r,Rr;if(st!==!1&&(Ua!=null&&Ua.total)){let qa;Ua.size?qa=Ua.size:qa=No==="small"||No==="middle"?"small":void 0;const Bo=Lr=>le.createElement(bi.Z,Object.assign({},Ua,{className:pt()(`${ao}-pagination ${ao}-pagination-${Lr}`,Ua.className),size:qa})),hr=Ha==="rtl"?"left":"right",{position:Go}=Ua;if(Go!==null&&Array.isArray(Go)){const Lr=Go.find(Qr=>Qr.includes("top")),Br=Go.find(Qr=>Qr.includes("bottom")),br=Go.every(Qr=>`${Qr}`=="none");!Lr&&!Br&&!br&&(Rr=Bo(hr)),Lr&&(_r=Bo(Lr.toLowerCase().replace("top",""))),Br&&(Rr=Bo(Br.toLowerCase().replace("bottom","")))}else Rr=Bo(hr)}let Dr;typeof wn=="boolean"?Dr={spinning:wn}:typeof wn=="object"&&(Dr=Object.assign({spinning:!0},wn));const[Er,tr]=eo(ao),[,Vo]=(0,Zn.Z)(),Jr=pt()(`${ao}-wrapper`,Ma==null?void 0:Ma.className,{[`${ao}-wrapper-rtl`]:Ha==="rtl"},Ee,Oe,tr),oi=Object.assign(Object.assign({},Ma==null?void 0:Ma.style),ke),Vr=Rn&&Rn.emptyText||(Co==null?void 0:Co("Table"))||le.createElement($o.Z,{componentName:"Table"}),Xr=Ln?pi:Il,Li={},al=le.useMemo(()=>{const{fontSize:qa,lineHeight:Bo,padding:hr,paddingXS:Go,paddingSM:Lr}=Vo,Br=Math.floor(qa*Bo);switch(No){case"large":return hr*2+Br;case"small":return Go*2+Br;default:return Lr*2+Br}},[Vo,No]);return Ln&&(Li.listItemHeight=al),Er(le.createElement("div",{ref:ue,className:Jr,style:oi},le.createElement(ua.Z,Object.assign({spinning:!1},Dr),_r,le.createElement(Xr,Object.assign({},Li,Oa,{columns:Qn,direction:Ha,expandable:fa,prefixCls:ao,className:pt()({[`${ao}-middle`]:No==="middle",[`${ao}-small`]:No==="small",[`${ao}-bordered`]:Qe,[`${ao}-empty`]:mo.length===0}),data:gr,rowKey:Hn,rowClassName:qo,emptyText:Vr,internalHooks:ve,internalRefs:ea,transformColumns:pr})),Rr)))};var Oo=le.forwardRef(Lo);const uo=(de,ue)=>{const Pe=le.useRef(0);return Pe.current+=1,le.createElement(Oo,Object.assign({},de,{ref:ue,_renderTimes:Pe.current}))},So=le.forwardRef(uo);So.SELECTION_COLUMN=Yr,So.EXPAND_COLUMN=oe,So.SELECTION_ALL=Qi,So.SELECTION_INVERT=qi,So.SELECTION_NONE=_i,So.Column=ur,So.ColumnGroup=Fr,So.Summary=Se;var sr=So,ar=sr},17574:function(ht,Dt,te){"use strict";te.d(Dt,{default:function(){return Zt}});var oe=te(79556),ve=te(95190),Te=te(52671),tt=te(8657),Me=te(14809),Re=te(59301),le={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"},ot=le,rt=te(7657),at=function(Je,kt){return Re.createElement(rt.Z,(0,Me.Z)({},Je,{ref:kt,icon:ot}))},nt=Re.forwardRef(at),ut=nt,He=te(92310),ie=te.n(He),y=te(35654),a=te(71430),x=te(36355),b=te(56082),E=te(62892),z=te(20648);const ee=4;function ae(Jt){const{dropPosition:Je,dropLevelOffset:kt,prefixCls:Xt,indent:Fe,direction:Ue="ltr"}=Jt,Et=Ue==="ltr"?"left":"right",sn=Ue==="ltr"?"right":"left",mt={[Et]:-kt*Fe+ee,[sn]:0};switch(Je){case-1:mt.top=-3;break;case 1:mt.bottom=-3;break;default:mt.bottom=-3,mt[Et]=Fe+ee;break}return Re.createElement("div",{style:mt,className:`${Xt}-drop-indicator`})}var ne=te(71997),fe=Re.forwardRef((Jt,Je)=>{const{getPrefixCls:kt,direction:Xt,virtual:Fe,tree:Ue}=Re.useContext(x.E_),{prefixCls:Et,className:sn,showIcon:mt=!1,showLine:rn,switcherIcon:xe,blockNode:It=!1,children:xt,checkable:An=!1,selectable:Nn=!0,draggable:Xe,motion:Ze,style:Ce}=Jt,me=kt("tree",Et),ze=kt(),gt=Ze!=null?Ze:Object.assign(Object.assign({},(0,E.Z)(ze)),{motionAppear:!1}),Se=Object.assign(Object.assign({},Jt),{checkable:An,selectable:Nn,showIcon:mt,motion:gt,blockNode:It,showLine:!!rn,dropIndicatorRender:ae}),[pe,Ie]=(0,z.ZP)(me),Le=Re.useMemo(()=>{if(!Xe)return!1;let Ge={};switch(typeof Xe){case"function":Ge.nodeDraggable=Xe;break;case"object":Ge=Object.assign({},Xe);break;default:break}return Ge.icon!==!1&&(Ge.icon=Ge.icon||Re.createElement(b.Z,null)),Ge},[Xe]),he=Ge=>Re.createElement(ne.Z,{prefixCls:me,switcherIcon:xe,treeNodeProps:Ge,showLine:rn});return pe(Re.createElement(oe.Z,Object.assign({itemHeight:20,ref:Je,virtual:Fe},Se,{style:Object.assign(Object.assign({},Ue==null?void 0:Ue.style),Ce),prefixCls:me,className:ie()({[`${me}-icon-hide`]:!mt,[`${me}-block-node`]:It,[`${me}-unselectable`]:!Nn,[`${me}-rtl`]:Xt==="rtl"},Ue==null?void 0:Ue.className,sn,Ie),direction:Xt,checkable:An&&Re.createElement("span",{className:`${me}-checkbox-inner`}),selectable:Nn,switcherIcon:he,draggable:Le}),xt))}),Be;(function(Jt){Jt[Jt.None=0]="None",Jt[Jt.Start=1]="Start",Jt[Jt.End=2]="End"})(Be||(Be={}));function be(Jt,Je){function kt(Xt){const{key:Fe,children:Ue}=Xt;Je(Fe,Xt)!==!1&&be(Ue||[],Je)}Jt.forEach(kt)}function De(Jt){let{treeData:Je,expandedKeys:kt,startKey:Xt,endKey:Fe}=Jt;const Ue=[];let Et=Be.None;if(Xt&&Xt===Fe)return[Xt];if(!Xt||!Fe)return[];function sn(mt){return mt===Xt||mt===Fe}return be(Je,mt=>{if(Et===Be.End)return!1;if(sn(mt)){if(Ue.push(mt),Et===Be.None)Et=Be.Start;else if(Et===Be.Start)return Et=Be.End,!1}else Et===Be.Start&&Ue.push(mt);return kt.includes(mt)}),Ue}function ye(Jt,Je){const kt=(0,ve.Z)(Je),Xt=[];return be(Jt,(Fe,Ue)=>{const Et=kt.indexOf(Fe);return Et!==-1&&(Xt.push(Ue),kt.splice(Et,1)),!!kt.length}),Xt}var wt=function(Jt,Je){var kt={};for(var Xt in Jt)Object.prototype.hasOwnProperty.call(Jt,Xt)&&Je.indexOf(Xt)<0&&(kt[Xt]=Jt[Xt]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,Xt=Object.getOwnPropertySymbols(Jt);Fe<Xt.length;Fe++)Je.indexOf(Xt[Fe])<0&&Object.prototype.propertyIsEnumerable.call(Jt,Xt[Fe])&&(kt[Xt[Fe]]=Jt[Xt[Fe]]);return kt};function pt(Jt){const{isLeaf:Je,expanded:kt}=Jt;return Je?Re.createElement(Te.Z,null):kt?Re.createElement(tt.Z,null):Re.createElement(ut,null)}function hn(Jt){let{treeData:Je,children:kt}=Jt;return Je||(0,a.zn)(kt)}const it=(Jt,Je)=>{var{defaultExpandAll:kt,defaultExpandParent:Xt,defaultExpandedKeys:Fe}=Jt,Ue=wt(Jt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Et=Re.useRef(),sn=Re.useRef(),mt=()=>{const{keyEntities:Le}=(0,a.I8)(hn(Ue));let he;return kt?he=Object.keys(Le):Xt?he=(0,y.r7)(Ue.expandedKeys||Fe||[],Le):he=Ue.expandedKeys||Fe,he},[rn,xe]=Re.useState(Ue.selectedKeys||Ue.defaultSelectedKeys||[]),[It,xt]=Re.useState(()=>mt());Re.useEffect(()=>{"selectedKeys"in Ue&&xe(Ue.selectedKeys)},[Ue.selectedKeys]),Re.useEffect(()=>{"expandedKeys"in Ue&&xt(Ue.expandedKeys)},[Ue.expandedKeys]);const An=(Le,he)=>{var Ge;return"expandedKeys"in Ue||xt(Le),(Ge=Ue.onExpand)===null||Ge===void 0?void 0:Ge.call(Ue,Le,he)},Nn=(Le,he)=>{var Ge;const{multiple:Vt}=Ue,{node:Ct,nativeEvent:Lt}=he,{key:Bt=""}=Ct,Tt=hn(Ue),we=Object.assign(Object.assign({},he),{selected:!0}),We=(Lt==null?void 0:Lt.ctrlKey)||(Lt==null?void 0:Lt.metaKey),lt=Lt==null?void 0:Lt.shiftKey;let vt;Vt&&We?(vt=Le,Et.current=Bt,sn.current=vt,we.selectedNodes=ye(Tt,vt)):Vt&<?(vt=Array.from(new Set([].concat((0,ve.Z)(sn.current||[]),(0,ve.Z)(De({treeData:Tt,expandedKeys:It,startKey:Bt,endKey:Et.current}))))),we.selectedNodes=ye(Tt,vt)):(vt=[Bt],Et.current=Bt,sn.current=vt,we.selectedNodes=ye(Tt,vt)),(Ge=Ue.onSelect)===null||Ge===void 0||Ge.call(Ue,vt,we),"selectedKeys"in Ue||xe(vt)},{getPrefixCls:Xe,direction:Ze}=Re.useContext(x.E_),{prefixCls:Ce,className:me,showIcon:ze=!0,expandAction:gt="click"}=Ue,Se=wt(Ue,["prefixCls","className","showIcon","expandAction"]),pe=Xe("tree",Ce),Ie=ie()(`${pe}-directory`,{[`${pe}-directory-rtl`]:Ze==="rtl"},me);return Re.createElement(fe,Object.assign({icon:pt,ref:Je,blockNode:!0},Se,{showIcon:ze,expandAction:gt,prefixCls:pe,className:Ie,expandedKeys:It,selectedKeys:rn,onSelect:Nn,onExpand:An}))};var St=Re.forwardRef(it);const Ft=fe;Ft.DirectoryTree=St,Ft.TreeNode=oe.O;var Zt=Ft},20648:function(ht,Dt,te){"use strict";te.d(Dt,{TM:function(){return He},Yk:function(){return ut}});var oe=te(93083),ve=te(98447),Te=te(17313),tt=te(8378),Me=te(37613),Re=te(83116);const le=new oe.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ot=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),rt=(ie,y)=>({[`.${ie}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),at=(ie,y)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:ee}=y,ae=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Te.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Te.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:le,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Te.oN)(y)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},ot(ie,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:E,margin:0,lineHeight:`${E}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:E/2*.8,height:E/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ae},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:E,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${E}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ee},[`&${a}-node-selected`]:{backgroundColor:z},[`${a}-iconEle`]:{display:"inline-block",width:E,height:E,lineHeight:`${E}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${E}px`,userSelect:"none"},rt(ie,y)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${E/2}px !important`}}}}})}},nt=ie=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=ie;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ie.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ie.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ie.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:E,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:E},[`${y}-node-content-wrapper`]:{color:E,background:"transparent"}}}}}},ut=(ie,y)=>{const a=`.${ie}`,x=`${a}-treenode`,b=y.paddingXS/2,E=(0,Me.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[at(ie,E),nt(E)]},He=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};Dt.ZP=(0,Re.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,ve.C2)(`${a}-checkbox`,ie)},ut(a,ie),(0,tt.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},He(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return x}});var oe=te(14809),ve=te(59301),Te={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},tt=Te,Me=te(7657),Re=function(E,z){return ve.createElement(Me.Z,(0,oe.Z)({},E,{ref:z,icon:tt}))},le=ve.forwardRef(Re),ot=le,rt=te(52671),at=te(58617),nt=te(15075),ut=te(43531),He=te(92310),ie=te.n(He),y=te(92343),x=b=>{const{prefixCls:E,switcherIcon:z,treeNodeProps:ee,showLine:ae}=b,{isLeaf:ne,expanded:ge,loading:fe}=ee;if(fe)return ve.createElement(at.Z,{className:`${E}-switcher-loading-icon`});let Be;if(ae&&typeof ae=="object"&&(Be=ae.showLeafIcon),ne){if(!ae)return null;if(typeof Be!="boolean"&&Be){const ye=typeof Be=="function"?Be(ee):Be,wt=`${E}-switcher-line-custom-icon`;return(0,y.l$)(ye)?(0,y.Tm)(ye,{className:ie()(ye.props.className||"",wt)}):ye}return Be?ve.createElement(rt.Z,{className:`${E}-switcher-line-icon`}):ve.createElement("span",{className:`${E}-switcher-leaf-line`})}const be=`${E}-switcher-icon`,De=typeof z=="function"?z(ee):z;return(0,y.l$)(De)?(0,y.Tm)(De,{className:ie()(De.props.className||"",be)}):De!==void 0?De:ae?ge?ve.createElement(nt.Z,{className:`${E}-switcher-line-icon`}):ve.createElement(ut.Z,{className:`${E}-switcher-line-icon`}):ve.createElement(ot,{className:be})}},54580:function(ht,Dt,te){"use strict";te.d(Dt,{default:function(){return $a}});var oe=te(59301),ve=te(95190),Te=te(92310),tt=te.n(Te),Me=te(14809),Re=te(99153),le=te(84851),ot=te(19257),rt=te(93046),at=te(4635),nt=te(62646),ut=te(70539),He=te(93664),ie=te(95764),y=te(26112);function a(Ke,Ot){var At="cannot ".concat(Ke.method," ").concat(Ke.action," ").concat(Ot.status,"'"),Qt=new Error(At);return Qt.status=Ot.status,Qt.method=Ke.method,Qt.url=Ke.action,Qt}function x(Ke){var Ot=Ke.responseText||Ke.response;if(!Ot)return Ot;try{return JSON.parse(Ot)}catch(At){return Ot}}function b(Ke){var Ot=new XMLHttpRequest;Ke.onProgress&&Ot.upload&&(Ot.upload.onprogress=function(fn){fn.total>0&&(fn.percent=fn.loaded/fn.total*100),Ke.onProgress(fn)});var At=new FormData;Ke.data&&Object.keys(Ke.data).forEach(function(un){var fn=Ke.data[un];if(Array.isArray(fn)){fn.forEach(function(nn){At.append("".concat(un,"[]"),nn)});return}At.append(un,fn)}),Ke.file instanceof Blob?At.append(Ke.filename,Ke.file,Ke.file.name):At.append(Ke.filename,Ke.file),Ot.onerror=function(fn){Ke.onError(fn)},Ot.onload=function(){return Ot.status<200||Ot.status>=300?Ke.onError(a(Ke,Ot),x(Ot)):Ke.onSuccess(x(Ot),Ot)},Ot.open(Ke.method,Ke.action,!0),Ke.withCredentials&&"withCredentials"in Ot&&(Ot.withCredentials=!0);var Qt=Ke.headers||{};return Qt["X-Requested-With"]!==null&&Ot.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Qt).forEach(function(un){Qt[un]!==null&&Ot.setRequestHeader(un,Qt[un])}),Ot.send(At),{abort:function(){Ot.abort()}}}var E=+new Date,z=0;function ee(){return"rc-upload-".concat(E,"-").concat(++z)}var ae=te(48736),ne=function(Ke,Ot){if(Ke&&Ot){var At=Array.isArray(Ot)?Ot:Ot.split(","),Qt=Ke.name||"",un=Ke.type||"",fn=un.replace(/\/.*$/,"");return At.some(function(nn){var qt=nn.trim();if(/^\*(\/\*)?$/.test(nn))return!0;if(qt.charAt(0)==="."){var Aa=Qt.toLowerCase(),pa=qt.toLowerCase(),Nt=[pa];return(pa===".jpg"||pa===".jpeg")&&(Nt=[".jpg",".jpeg"]),Nt.some(function(lo){return Aa.endsWith(lo)})}return/\/\*$/.test(qt)?fn===qt.replace(/\/.*$/,""):un===qt?!0:/^\w+$/.test(qt)?((0,ae.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(qt,"'.Skip for check.")),!0):!1})}return!0};function ge(Ke,Ot){var At=Ke.createReader(),Qt=[];function un(){At.readEntries(function(fn){var nn=Array.prototype.slice.apply(fn);Qt=Qt.concat(nn);var qt=!nn.length;qt?Ot(Qt):un()})}un()}var fe=function(Ot,At,Qt){var un=function fn(nn,qt){nn&&(nn.path=qt||"",nn.isFile?nn.file(function(Aa){Qt(Aa)&&(nn.fullPath&&!Aa.webkitRelativePath&&(Object.defineProperties(Aa,{webkitRelativePath:{writable:!0}}),Aa.webkitRelativePath=nn.fullPath.replace(/^\//,""),Object.defineProperties(Aa,{webkitRelativePath:{writable:!1}})),At([Aa]))}):nn.isDirectory&&ge(nn,function(Aa){Aa.forEach(function(pa){fn(pa,"".concat(qt).concat(nn.name,"/"))})}))};Ot.forEach(function(fn){un(fn.webkitGetAsEntry())})},Be=fe,be=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],De=function(Ke){(0,ot.Z)(At,Ke);var Ot=(0,rt.Z)(At);function At(){var Qt;(0,Re.Z)(this,At);for(var un=arguments.length,fn=new Array(un),nn=0;nn<un;nn++)fn[nn]=arguments[nn];return Qt=Ot.call.apply(Ot,[this].concat(fn)),Qt.state={uid:ee()},Qt.reqs={},Qt.fileInput=void 0,Qt._isMounted=void 0,Qt.onChange=function(qt){var Aa=Qt.props,pa=Aa.accept,Nt=Aa.directory,lo=qt.target.files,oo=(0,ve.Z)(lo).filter(function(Do){return!Nt||ne(Do,pa)});Qt.uploadFiles(oo),Qt.reset()},Qt.onClick=function(qt){var Aa=Qt.fileInput;if(Aa){var pa=qt.target,Nt=Qt.props.onClick;if(pa&&pa.tagName==="BUTTON"){var lo=Aa.parentNode;lo.focus(),pa.blur()}Aa.click(),Nt&&Nt(qt)}},Qt.onKeyDown=function(qt){qt.key==="Enter"&&Qt.onClick(qt)},Qt.onFileDrop=function(qt){var Aa=Qt.props.multiple;if(qt.preventDefault(),qt.type!=="dragover")if(Qt.props.directory)Be(Array.prototype.slice.call(qt.dataTransfer.items),Qt.uploadFiles,function(Nt){return ne(Nt,Qt.props.accept)});else{var pa=(0,ve.Z)(qt.dataTransfer.files).filter(function(Nt){return ne(Nt,Qt.props.accept)});Aa===!1&&(pa=pa.slice(0,1)),Qt.uploadFiles(pa)}},Qt.uploadFiles=function(qt){var Aa=(0,ve.Z)(qt),pa=Aa.map(function(Nt){return Nt.uid=ee(),Qt.processFile(Nt,Aa)});Promise.all(pa).then(function(Nt){var lo=Qt.props.onBatchStart;lo==null||lo(Nt.map(function(oo){var Do=oo.origin,ko=oo.parsedFile;return{file:Do,parsedFile:ko}})),Nt.filter(function(oo){return oo.parsedFile!==null}).forEach(function(oo){Qt.post(oo)})})},Qt.processFile=function(){var qt=(0,ie.Z)((0,ut.Z)().mark(function Aa(pa,Nt){var lo,oo,Do,ko,yn,Jn,Ea,Un,ja;return(0,ut.Z)().wrap(function(Fa){for(;;)switch(Fa.prev=Fa.next){case 0:if(lo=Qt.props.beforeUpload,oo=pa,!lo){Fa.next=14;break}return Fa.prev=3,Fa.next=6,lo(pa,Nt);case 6:oo=Fa.sent,Fa.next=12;break;case 9:Fa.prev=9,Fa.t0=Fa.catch(3),oo=!1;case 12:if(oo!==!1){Fa.next=14;break}return Fa.abrupt("return",{origin:pa,parsedFile:null,action:null,data:null});case 14:if(Do=Qt.props.action,typeof Do!="function"){Fa.next=21;break}return Fa.next=18,Do(pa);case 18:ko=Fa.sent,Fa.next=22;break;case 21:ko=Do;case 22:if(yn=Qt.props.data,typeof yn!="function"){Fa.next=29;break}return Fa.next=26,yn(pa);case 26:Jn=Fa.sent,Fa.next=30;break;case 29:Jn=yn;case 30:return Ea=((0,He.Z)(oo)==="object"||typeof oo=="string")&&oo?oo:pa,Ea instanceof File?Un=Ea:Un=new File([Ea],pa.name,{type:pa.type}),ja=Un,ja.uid=pa.uid,Fa.abrupt("return",{origin:pa,data:Jn,parsedFile:ja,action:ko});case 35:case"end":return Fa.stop()}},Aa,null,[[3,9]])}));return function(Aa,pa){return qt.apply(this,arguments)}}(),Qt.saveFileInput=function(qt){Qt.fileInput=qt},Qt}return(0,le.Z)(At,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(un){var fn=this,nn=un.data,qt=un.origin,Aa=un.action,pa=un.parsedFile;if(this._isMounted){var Nt=this.props,lo=Nt.onStart,oo=Nt.customRequest,Do=Nt.name,ko=Nt.headers,yn=Nt.withCredentials,Jn=Nt.method,Ea=qt.uid,Un=oo||b,ja={action:Aa,filename:Do,data:nn,file:pa,headers:ko,withCredentials:yn,method:Jn||"post",onProgress:function(Fa){var Eo=fn.props.onProgress;Eo==null||Eo(Fa,pa)},onSuccess:function(Fa,Eo){var bo=fn.props.onSuccess;bo==null||bo(Fa,pa,Eo),delete fn.reqs[Ea]},onError:function(Fa,Eo){var bo=fn.props.onError;bo==null||bo(Fa,Eo,pa),delete fn.reqs[Ea]}};lo(qt),this.reqs[Ea]=Un(ja)}}},{key:"reset",value:function(){this.setState({uid:ee()})}},{key:"abort",value:function(un){var fn=this.reqs;if(un){var nn=un.uid?un.uid:un;fn[nn]&&fn[nn].abort&&fn[nn].abort(),delete fn[nn]}else Object.keys(fn).forEach(function(qt){fn[qt]&&fn[qt].abort&&fn[qt].abort(),delete fn[qt]})}},{key:"render",value:function(){var un=this.props,fn=un.component,nn=un.prefixCls,qt=un.className,Aa=un.disabled,pa=un.id,Nt=un.style,lo=un.multiple,oo=un.accept,Do=un.capture,ko=un.children,yn=un.directory,Jn=un.openFileDialogOnClick,Ea=un.onMouseEnter,Un=un.onMouseLeave,ja=(0,nt.Z)(un,be),Wa=tt()((0,at.Z)((0,at.Z)((0,at.Z)({},nn,!0),"".concat(nn,"-disabled"),Aa),qt,qt)),Fa=yn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Eo=Aa?{}:{onClick:Jn?this.onClick:function(){},onKeyDown:Jn?this.onKeyDown:function(){},onMouseEnter:Ea,onMouseLeave:Un,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return oe.createElement(fn,(0,Me.Z)({},Eo,{className:Wa,role:"button",style:Nt}),oe.createElement("input",(0,Me.Z)({},(0,y.Z)(ja,{aria:!0,data:!0}),{id:pa,disabled:Aa,type:"file",ref:this.saveFileInput,onClick:function(Ar){return Ar.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:oo},Fa,{multiple:lo,onChange:this.onChange},Do!=null?{capture:Do}:{})),ko)}}]),At}(oe.Component),ye=De;function wt(){}var pt=function(Ke){(0,ot.Z)(At,Ke);var Ot=(0,rt.Z)(At);function At(){var Qt;(0,Re.Z)(this,At);for(var un=arguments.length,fn=new Array(un),nn=0;nn<un;nn++)fn[nn]=arguments[nn];return Qt=Ot.call.apply(Ot,[this].concat(fn)),Qt.uploader=void 0,Qt.saveUploader=function(qt){Qt.uploader=qt},Qt}return(0,le.Z)(At,[{key:"abort",value:function(un){this.uploader.abort(un)}},{key:"render",value:function(){return oe.createElement(ye,(0,Me.Z)({},this.props,{ref:this.saveUploader}))}}]),At}(oe.Component);pt.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:wt,onError:wt,onSuccess:wt,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var hn=pt,it=hn,dt=te(18929),St=te(4676),Ft=te(36355),Zt=te(1684),Jt=te(9763),Je=te(31724),kt={icon:function(Ot,At){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:At}},{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:Ot}}]}},name:"file",theme:"twotone"},Xt=kt,Fe=te(7657),Ue=function(Ot,At){return oe.createElement(Fe.Z,(0,Me.Z)({},Ot,{ref:At,icon:Xt}))},Et=oe.forwardRef(Ue),sn=Et,mt=te(58617),rn={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"},xe=rn,It=function(Ot,At){return oe.createElement(Fe.Z,(0,Me.Z)({},Ot,{ref:At,icon:xe}))},xt=oe.forwardRef(It),An=xt,Nn={icon:function(Ot,At){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:Ot}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:At}},{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:At}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:At}},{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:Ot}}]}},name:"picture",theme:"twotone"},Xe=Nn,Ze=function(Ot,At){return oe.createElement(Fe.Z,(0,Me.Z)({},Ot,{ref:At,icon:Xe}))},Ce=oe.forwardRef(Ze),me=Ce,ze=te(77900),gt=te(56762),Se=te(62892),pe=te(92343),Ie=te(3113);function Le(Ke){return Object.assign(Object.assign({},Ke),{lastModified:Ke.lastModified,lastModifiedDate:Ke.lastModifiedDate,name:Ke.name,size:Ke.size,type:Ke.type,uid:Ke.uid,percent:0,originFileObj:Ke})}function he(Ke,Ot){const At=(0,ve.Z)(Ot),Qt=At.findIndex(un=>{let{uid:fn}=un;return fn===Ke.uid});return Qt===-1?At.push(Ke):At[Qt]=Ke,At}function Ge(Ke,Ot){const At=Ke.uid!==void 0?"uid":"name";return Ot.filter(Qt=>Qt[At]===Ke[At])[0]}function Vt(Ke,Ot){const At=Ke.uid!==void 0?"uid":"name",Qt=Ot.filter(un=>un[At]!==Ke[At]);return Qt.length===Ot.length?null:Qt}const Ct=function(){const Ot=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Qt=Ot[Ot.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Qt)||[""])[0]},Lt=Ke=>Ke.indexOf("image/")===0,Bt=Ke=>{if(Ke.type&&!Ke.thumbUrl)return Lt(Ke.type);const Ot=Ke.thumbUrl||Ke.url||"",At=Ct(Ot);return/^data:image\//.test(Ot)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(At)?!0:!(/^data:/.test(Ot)||At)},Tt=200;function we(Ke){return new Promise(Ot=>{if(!Ke.type||!Lt(Ke.type)){Ot("");return}const At=document.createElement("canvas");At.width=Tt,At.height=Tt,At.style.cssText=`position: fixed; left: 0; top: 0; width: ${Tt}px; height: ${Tt}px; z-index: 9999; display: none;`,document.body.appendChild(At);const Qt=At.getContext("2d"),un=new Image;if(un.onload=()=>{const{width:fn,height:nn}=un;let qt=Tt,Aa=Tt,pa=0,Nt=0;fn>nn?(Aa=nn*(Tt/fn),Nt=-(Aa-qt)/2):(qt=fn*(Tt/nn),pa=-(qt-Aa)/2),Qt.drawImage(un,pa,Nt,qt,Aa);const lo=At.toDataURL();document.body.removeChild(At),window.URL.revokeObjectURL(un.src),Ot(lo)},un.crossOrigin="anonymous",Ke.type.startsWith("image/svg+xml")){const fn=new FileReader;fn.onload=()=>{fn.result&&(un.src=fn.result)},fn.readAsDataURL(Ke)}else if(Ke.type.startsWith("image/gif")){const fn=new FileReader;fn.onload=()=>{fn.result&&Ot(fn.result)},fn.readAsDataURL(Ke)}else un.src=window.URL.createObjectURL(Ke)})}var We=te(26227),lt=te(41464),vt=te(15277),zt=te(93948),en=te(6848),ln=oe.forwardRef((Ke,Ot)=>{let{prefixCls:At,className:Qt,style:un,locale:fn,listType:nn,file:qt,items:Aa,progress:pa,iconRender:Nt,actionIconRender:lo,itemRender:oo,isImgUrl:Do,showPreviewIcon:ko,showRemoveIcon:yn,showDownloadIcon:Jn,previewIcon:Ea,removeIcon:Un,downloadIcon:ja,onPreview:Wa,onDownload:Fa,onClose:Eo}=Ke;var bo,Ar;const{status:xr}=qt,[Sr,jr]=oe.useState(xr);oe.useEffect(()=>{xr!=="removed"&&jr(xr)},[xr]);const[Ur,$r]=oe.useState(!1);oe.useEffect(()=>{const Uo=setTimeout(()=>{$r(!0)},300);return()=>{clearTimeout(Uo)}},[]);const Tr=Nt(qt);let cr=oe.createElement("div",{className:`${At}-icon`},Tr);if(nn==="picture"||nn==="picture-card"||nn==="picture-circle")if(Sr==="uploading"||!qt.thumbUrl&&!qt.url){const Uo=tt()(`${At}-list-item-thumbnail`,{[`${At}-list-item-file`]:Sr!=="uploading"});cr=oe.createElement("div",{className:Uo},Tr)}else{const Uo=Do!=null&&Do(qt)?oe.createElement("img",{src:qt.thumbUrl||qt.url,alt:qt.name,className:`${At}-list-item-image`,crossOrigin:qt.crossOrigin}):Tr,$o=tt()(`${At}-list-item-thumbnail`,{[`${At}-list-item-file`]:Do&&!Do(qt)});cr=oe.createElement("a",{className:$o,onClick:zr=>Wa(qt,zr),href:qt.url||qt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Uo)}const Ho=tt()(`${At}-list-item`,`${At}-list-item-${Sr}`),Cr=typeof qt.linkProps=="string"?JSON.parse(qt.linkProps):qt.linkProps,kr=yn?lo((typeof Un=="function"?Un(qt):Un)||oe.createElement(We.Z,null),()=>Eo(qt),At,fn.removeFile):null,Ir=Jn&&Sr==="done"?lo((typeof ja=="function"?ja(qt):ja)||oe.createElement(lt.Z,null),()=>Fa(qt),At,fn.downloadFile):null,Nr=nn!=="picture-card"&&nn!=="picture-circle"&&oe.createElement("span",{key:"download-delete",className:tt()(`${At}-list-item-actions`,{picture:nn==="picture"})},Ir,kr),wr=tt()(`${At}-list-item-name`),Kr=qt.url?[oe.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:wr,title:qt.name},Cr,{href:qt.url,onClick:Uo=>Wa(qt,Uo)}),qt.name),Nr]:[oe.createElement("span",{key:"view",className:wr,onClick:Uo=>Wa(qt,Uo),title:qt.name},qt.name),Nr],Ya={pointerEvents:"none",opacity:.5},Ko=ko?oe.createElement("a",{href:qt.url||qt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:qt.url||qt.thumbUrl?void 0:Ya,onClick:Uo=>Wa(qt,Uo),title:fn.previewFile},typeof Ea=="function"?Ea(qt):Ea||oe.createElement(vt.Z,null)):null,_o=(nn==="picture-card"||nn==="picture-circle")&&Sr!=="uploading"&&oe.createElement("span",{className:`${At}-list-item-actions`},Ko,Sr==="done"&&Ir,kr),{getPrefixCls:ur}=oe.useContext(Ft.E_),mr=ur(),Fr=oe.createElement("div",{className:Ho},cr,Kr,_o,Ur&&oe.createElement(ze.default,{motionName:`${mr}-fade`,visible:Sr==="uploading",motionDeadline:2e3},Uo=>{let{className:$o}=Uo;const zr="percent"in qt?oe.createElement(zt.Z,Object.assign({},pa,{type:"line",percent:qt.percent,"aria-label":qt["aria-label"],"aria-labelledby":qt["aria-labelledby"]})):null;return oe.createElement("div",{className:tt()(`${At}-list-item-progress`,$o)},zr)})),ri=qt.response&&typeof qt.response=="string"?qt.response:((bo=qt.error)===null||bo===void 0?void 0:bo.statusText)||((Ar=qt.error)===null||Ar===void 0?void 0:Ar.message)||fn.uploadError,qr=Sr==="error"?oe.createElement(en.Z,{title:ri,getPopupContainer:Uo=>Uo.parentNode},Fr):Fr;return oe.createElement("div",{className:tt()(`${At}-list-item-container`,Qt),style:un,ref:Ot},oo?oo(qr,qt,Aa,{download:Fa.bind(null,qt),preview:Wa.bind(null,qt),remove:Eo.bind(null,qt)}):qr)});const Dn=(Ke,Ot)=>{const{listType:At="text",previewFile:Qt=we,onPreview:un,onDownload:fn,onRemove:nn,locale:qt,iconRender:Aa,isImageUrl:pa=Bt,prefixCls:Nt,items:lo=[],showPreviewIcon:oo=!0,showRemoveIcon:Do=!0,showDownloadIcon:ko=!1,removeIcon:yn,previewIcon:Jn,downloadIcon:Ea,progress:Un={size:[-1,2],showInfo:!1},appendAction:ja,appendActionVisible:Wa=!0,itemRender:Fa,disabled:Eo}=Ke,bo=(0,gt.Z)(),[Ar,xr]=oe.useState(!1);oe.useEffect(()=>{At!=="picture"&&At!=="picture-card"&&At!=="picture-circle"||(lo||[]).forEach(Ya=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Ya.originFileObj instanceof File||Ya.originFileObj instanceof Blob)||Ya.thumbUrl!==void 0||(Ya.thumbUrl="",Qt&&Qt(Ya.originFileObj).then(Ko=>{Ya.thumbUrl=Ko||"",bo()}))})},[At,lo,Qt]),oe.useEffect(()=>{xr(!0)},[]);const Sr=(Ya,Ko)=>{if(un)return Ko==null||Ko.preventDefault(),un(Ya)},jr=Ya=>{typeof fn=="function"?fn(Ya):Ya.url&&window.open(Ya.url)},Ur=Ya=>{nn==null||nn(Ya)},$r=Ya=>{if(Aa)return Aa(Ya,At);const Ko=Ya.status==="uploading",_o=pa&&pa(Ya)?oe.createElement(me,null):oe.createElement(sn,null);let ur=Ko?oe.createElement(mt.Z,null):oe.createElement(An,null);return At==="picture"?ur=Ko?oe.createElement(mt.Z,null):_o:(At==="picture-card"||At==="picture-circle")&&(ur=Ko?qt.uploading:_o),ur},Tr=(Ya,Ko,_o,ur)=>{const mr={type:"text",size:"small",title:ur,onClick:Fr=>{Ko(),(0,pe.l$)(Ya)&&Ya.props.onClick&&Ya.props.onClick(Fr)},className:`${_o}-list-item-action`,disabled:Eo};if((0,pe.l$)(Ya)){const Fr=(0,pe.Tm)(Ya,Object.assign(Object.assign({},Ya.props),{onClick:()=>{}}));return oe.createElement(Ie.ZP,Object.assign({},mr,{icon:Fr}))}return oe.createElement(Ie.ZP,Object.assign({},mr),oe.createElement("span",null,Ya))};oe.useImperativeHandle(Ot,()=>({handlePreview:Sr,handleDownload:jr}));const{getPrefixCls:cr}=oe.useContext(Ft.E_),Ho=cr("upload",Nt),Cr=cr(),kr=tt()(`${Ho}-list`,`${Ho}-list-${At}`),Ir=(0,ve.Z)(lo.map(Ya=>({key:Ya.uid,file:Ya})));let wr={motionDeadline:2e3,motionName:`${Ho}-${At==="picture-card"||At==="picture-circle"?"animate-inline":"animate"}`,keys:Ir,motionAppear:Ar};const Kr=oe.useMemo(()=>{const Ya=Object.assign({},(0,Se.Z)(Cr));return delete Ya.onAppearEnd,delete Ya.onEnterEnd,delete Ya.onLeaveEnd,Ya},[Cr]);return At!=="picture-card"&&At!=="picture-circle"&&(wr=Object.assign(Object.assign({},Kr),wr)),oe.createElement("div",{className:kr},oe.createElement(ze.CSSMotionList,Object.assign({},wr,{component:!1}),Ya=>{let{key:Ko,file:_o,className:ur,style:mr}=Ya;return oe.createElement(ln,{key:Ko,locale:qt,prefixCls:Ho,className:ur,style:mr,file:_o,items:lo,progress:Un,listType:At,isImgUrl:pa,showPreviewIcon:oo,showRemoveIcon:Do,showDownloadIcon:ko,removeIcon:yn,previewIcon:Jn,downloadIcon:Ea,iconRender:$r,actionIconRender:Tr,itemRender:Fa,onPreview:Sr,onDownload:jr,onClose:Ur})}),ja&&oe.createElement(ze.default,Object.assign({},wr,{visible:Wa,forceRender:!0}),Ya=>{let{className:Ko,style:_o}=Ya;return(0,pe.Tm)(ja,ur=>({className:tt()(ur.className,Ko),style:Object.assign(Object.assign(Object.assign({},_o),{pointerEvents:Ko?"none":void 0}),ur.style)}))}))};var Tn=oe.forwardRef(Dn),Xn=te(17313),ya=te(8378),ba=te(83116),Bn=te(37613),xa=Ke=>{const{componentCls:Ot,iconCls:At}=Ke;return{[`${Ot}-wrapper`]:{[`${Ot}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ke.colorFillAlter,border:`${Ke.lineWidth}px dashed ${Ke.colorBorder}`,borderRadius:Ke.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ke.motionDurationSlow}`,[Ot]:{padding:`${Ke.padding}px 0`},[`${Ot}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Ot}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Ot}-disabled):hover`]:{borderColor:Ke.colorPrimaryHover},[`p${Ot}-drag-icon`]:{marginBottom:Ke.margin,[At]:{color:Ke.colorPrimary,fontSize:Ke.uploadThumbnailSize}},[`p${Ot}-text`]:{margin:`0 0 ${Ke.marginXXS}px`,color:Ke.colorTextHeading,fontSize:Ke.fontSizeLG},[`p${Ot}-hint`]:{color:Ke.colorTextDescription,fontSize:Ke.fontSize},[`&${Ot}-disabled`]:{cursor:"not-allowed",[`p${Ot}-drag-icon ${At},
|
|
p${Ot}-text,
|
|
p${Ot}-hint
|
|
`]:{color:Ke.colorTextDisabled}}}}}},Ta=Ke=>{const{componentCls:Ot,antCls:At,iconCls:Qt,fontSize:un,lineHeight:fn}=Ke,nn=`${Ot}-list-item`,qt=`${nn}-actions`,Aa=`${nn}-action`,pa=Math.round(un*fn);return{[`${Ot}-wrapper`]:{[`${Ot}-list`]:Object.assign(Object.assign({},(0,Xn.dF)()),{lineHeight:Ke.lineHeight,[nn]:{position:"relative",height:Ke.lineHeight*un,marginTop:Ke.marginXS,fontSize:un,display:"flex",alignItems:"center",transition:`background-color ${Ke.motionDurationSlow}`,"&:hover":{backgroundColor:Ke.controlItemBgHover},[`${nn}-name`]:Object.assign(Object.assign({},Xn.vS),{padding:`0 ${Ke.paddingXS}px`,lineHeight:fn,flex:"auto",transition:`all ${Ke.motionDurationSlow}`}),[qt]:{[Aa]:{opacity:0},[`${Aa}${At}-btn-sm`]:{height:pa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${Aa}:focus-visible,
|
|
&.picture ${Aa}
|
|
`]:{opacity:1},[Qt]:{color:Ke.actionsColor,transition:`all ${Ke.motionDurationSlow}`},[`&:hover ${Qt}`]:{color:Ke.colorText}},[`${Ot}-icon ${Qt}`]:{color:Ke.colorTextDescription,fontSize:un},[`${nn}-progress`]:{position:"absolute",bottom:-Ke.uploadProgressOffset,width:"100%",paddingInlineStart:un+Ke.paddingXS,fontSize:un,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${nn}:hover ${Aa}`]:{opacity:1,color:Ke.colorText},[`${nn}-error`]:{color:Ke.colorError,[`${nn}-name, ${Ot}-icon ${Qt}`]:{color:Ke.colorError},[qt]:{[`${Qt}, ${Qt}:hover`]:{color:Ke.colorError},[Aa]:{opacity:1}}},[`${Ot}-list-item-container`]:{transition:`opacity ${Ke.motionDurationSlow}, height ${Ke.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},to=te(93083),an=te(1950);const pn=new to.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),En=new to.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var ra=Ke=>{const{componentCls:Ot}=Ke,At=`${Ot}-animate-inline`;return[{[`${Ot}-wrapper`]:{[`${At}-appear, ${At}-enter, ${At}-leave`]:{animationDuration:Ke.motionDurationSlow,animationTimingFunction:Ke.motionEaseInOutCirc,animationFillMode:"forwards"},[`${At}-appear, ${At}-enter`]:{animationName:pn},[`${At}-leave`]:{animationName:En}}},{[`${Ot}-wrapper`]:(0,an.J$)(Ke)},pn,En]},Ca=te(30071),Kn=te(64993);const Ve=Ke=>{const{componentCls:Ot,iconCls:At,uploadThumbnailSize:Qt,uploadProgressOffset:un}=Ke,fn=`${Ot}-list`,nn=`${fn}-item`;return{[`${Ot}-wrapper`]:{[`
|
|
${fn}${fn}-picture,
|
|
${fn}${fn}-picture-card,
|
|
${fn}${fn}-picture-circle
|
|
`]:{[nn]:{position:"relative",height:Qt+Ke.lineWidth*2+Ke.paddingXS*2,padding:Ke.paddingXS,border:`${Ke.lineWidth}px ${Ke.lineType} ${Ke.colorBorder}`,borderRadius:Ke.borderRadiusLG,"&:hover":{background:"transparent"},[`${nn}-thumbnail`]:Object.assign(Object.assign({},Xn.vS),{width:Qt,height:Qt,lineHeight:`${Qt+Ke.paddingSM}px`,textAlign:"center",flex:"none",[At]:{fontSize:Ke.fontSizeHeading2,color:Ke.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${nn}-progress`]:{bottom:un,width:`calc(100% - ${Ke.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Qt+Ke.paddingXS}},[`${nn}-error`]:{borderColor:Ke.colorError,[`${nn}-thumbnail ${At}`]:{[`svg path[fill='${Ca.blue[0]}']`]:{fill:Ke.colorErrorBg},[`svg path[fill='${Ca.blue.primary}']`]:{fill:Ke.colorError}}},[`${nn}-uploading`]:{borderStyle:"dashed",[`${nn}-name`]:{marginBottom:un}}},[`${fn}${fn}-picture-circle ${nn}`]:{[`&, &::before, ${nn}-thumbnail`]:{borderRadius:"50%"}}}}},et=Ke=>{const{componentCls:Ot,iconCls:At,fontSizeLG:Qt,colorTextLightSolid:un}=Ke,fn=`${Ot}-list`,nn=`${fn}-item`,qt=Ke.uploadPicCardSize;return{[`
|
|
${Ot}-wrapper${Ot}-picture-card-wrapper,
|
|
${Ot}-wrapper${Ot}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,Xn.dF)()),{display:"inline-block",width:"100%",[`${Ot}${Ot}-select`]:{width:qt,height:qt,marginInlineEnd:Ke.marginXS,marginBottom:Ke.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ke.colorFillAlter,border:`${Ke.lineWidth}px dashed ${Ke.colorBorder}`,borderRadius:Ke.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ke.motionDurationSlow}`,[`> ${Ot}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ot}-disabled):hover`]:{borderColor:Ke.colorPrimary}},[`${fn}${fn}-picture-card, ${fn}${fn}-picture-circle`]:{[`${fn}-item-container`]:{display:"inline-block",width:qt,height:qt,marginBlock:`0 ${Ke.marginXS}px`,marginInline:`0 ${Ke.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[nn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ke.paddingXS*2}px)`,height:`calc(100% - ${Ke.paddingXS*2}px)`,backgroundColor:Ke.colorBgMask,opacity:0,transition:`all ${Ke.motionDurationSlow}`,content:'" "'}},[`${nn}:hover`]:{[`&::before, ${nn}-actions`]:{opacity:1}},[`${nn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ke.motionDurationSlow}`,[`${At}-eye, ${At}-download, ${At}-delete`]:{zIndex:10,width:Qt,margin:`0 ${Ke.marginXXS}px`,fontSize:Qt,cursor:"pointer",transition:`all ${Ke.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${nn}-actions, ${nn}-actions:hover`]:{[`${At}-eye, ${At}-download, ${At}-delete`]:{color:new Kn.C(un).setAlpha(.65).toRgbString(),"&:hover":{color:un}}},[`${nn}-thumbnail, ${nn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${nn}-name`]:{display:"none",textAlign:"center"},[`${nn}-file + ${nn}-name`]:{position:"absolute",bottom:Ke.margin,display:"block",width:`calc(100% - ${Ke.paddingXS*2}px)`},[`${nn}-uploading`]:{[`&${nn}`]:{backgroundColor:Ke.colorFillAlter},[`&::before, ${At}-eye, ${At}-download, ${At}-delete`]:{display:"none"}},[`${nn}-progress`]:{bottom:Ke.marginXL,width:`calc(100% - ${Ke.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Ot}-wrapper${Ot}-picture-circle-wrapper`]:{[`${Ot}${Ot}-select`]:{borderRadius:"50%"}}}};var Rt=Ke=>{const{componentCls:Ot}=Ke;return{[`${Ot}-rtl`]:{direction:"rtl"}}};const Sn=Ke=>{const{componentCls:Ot,colorTextDisabled:At}=Ke;return{[`${Ot}-wrapper`]:Object.assign(Object.assign({},(0,Xn.Wf)(Ke)),{[Ot]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ot}-select`]:{display:"inline-block"},[`${Ot}-disabled`]:{color:At,cursor:"not-allowed"}})}};var _t=(0,ba.Z)("Upload",Ke=>{const{fontSizeHeading3:Ot,fontSize:At,lineHeight:Qt,lineWidth:un,controlHeightLG:fn}=Ke,nn=Math.round(At*Qt),qt=(0,Bn.TS)(Ke,{uploadThumbnailSize:Ot*2,uploadProgressOffset:nn/2+un,uploadPicCardSize:fn*2.55});return[Sn(qt),xa(qt),Ve(qt),et(qt),Ta(qt),ra(qt),Rt(qt),(0,ya.Z)(qt)]},Ke=>({actionsColor:Ke.colorTextDescription})),va=function(Ke,Ot,At,Qt){function un(fn){return fn instanceof At?fn:new At(function(nn){nn(fn)})}return new(At||(At=Promise))(function(fn,nn){function qt(Nt){try{pa(Qt.next(Nt))}catch(lo){nn(lo)}}function Aa(Nt){try{pa(Qt.throw(Nt))}catch(lo){nn(lo)}}function pa(Nt){Nt.done?fn(Nt.value):un(Nt.value).then(qt,Aa)}pa((Qt=Qt.apply(Ke,Ot||[])).next())})};const zn=`__LIST_IGNORE_${Date.now()}__`,kn=(Ke,Ot)=>{const{fileList:At,defaultFileList:Qt,onRemove:un,showUploadList:fn=!0,listType:nn="text",onPreview:qt,onDownload:Aa,onChange:pa,onDrop:Nt,previewFile:lo,disabled:oo,locale:Do,iconRender:ko,isImageUrl:yn,progress:Jn,prefixCls:Ea,className:Un,type:ja="select",children:Wa,style:Fa,itemRender:Eo,maxCount:bo,data:Ar={},multiple:xr=!1,action:Sr="",accept:jr="",supportServerRender:Ur=!0,rootClassName:$r}=Ke,Tr=oe.useContext(Zt.Z),cr=oo!=null?oo:Tr,[Ho,Cr]=(0,dt.Z)(Qt||[],{value:At,postState:Ka=>Ka!=null?Ka:[]}),[kr,Ir]=oe.useState("drop"),Nr=oe.useRef(null);oe.useMemo(()=>{const Ka=Date.now();(At||[]).forEach((co,To)=>{!co.uid&&!Object.isFrozen(co)&&(co.uid=`__AUTO__${Ka}_${To}__`)})},[At]);const wr=(Ka,co,To)=>{let so=(0,ve.Z)(co),ho=!1;bo===1?so=so.slice(-1):bo&&(ho=so.length>bo,so=so.slice(0,bo)),(0,St.flushSync)(()=>{Cr(so)});const nr={file:Ka,fileList:so};To&&(nr.event=To),(!ho||so.some(Ro=>Ro.uid===Ka.uid))&&(0,St.flushSync)(()=>{pa==null||pa(nr)})},Kr=(Ka,co)=>va(void 0,void 0,void 0,function*(){const{beforeUpload:To,transformFile:so}=Ke;let ho=Ka;if(To){const nr=yield To(Ka,co);if(nr===!1)return!1;if(delete Ka[zn],nr===zn)return Object.defineProperty(Ka,zn,{value:!0,configurable:!0}),!1;typeof nr=="object"&&nr&&(ho=nr)}return so&&(ho=yield so(ho)),ho}),Ya=Ka=>{const co=Ka.filter(ho=>!ho.file[zn]);if(!co.length)return;const To=co.map(ho=>Le(ho.file));let so=(0,ve.Z)(Ho);To.forEach(ho=>{so=he(ho,so)}),To.forEach((ho,nr)=>{let Ro=ho;if(co[nr].parsedFile)ho.status="uploading";else{const{originFileObj:Wr}=ho;let Zr;try{Zr=new File([Wr],Wr.name,{type:Wr.type})}catch(ui){Zr=new Blob([Wr],{type:Wr.type}),Zr.name=Wr.name,Zr.lastModifiedDate=new Date,Zr.lastModified=new Date().getTime()}Zr.uid=ho.uid,Ro=Zr}wr(Ro,so)})},Ko=(Ka,co,To)=>{try{typeof Ka=="string"&&(Ka=JSON.parse(Ka))}catch(nr){}if(!Ge(co,Ho))return;const so=Le(co);so.status="done",so.percent=100,so.response=Ka,so.xhr=To;const ho=he(so,Ho);wr(so,ho)},_o=(Ka,co)=>{if(!Ge(co,Ho))return;const To=Le(co);To.status="uploading",To.percent=Ka.percent;const so=he(To,Ho);wr(To,so,Ka)},ur=(Ka,co,To)=>{if(!Ge(To,Ho))return;const so=Le(To);so.error=Ka,so.response=co,so.status="error";const ho=he(so,Ho);wr(so,ho)},mr=Ka=>{let co;Promise.resolve(typeof un=="function"?un(Ka):un).then(To=>{var so;if(To===!1)return;const ho=Vt(Ka,Ho);ho&&(co=Object.assign(Object.assign({},Ka),{status:"removed"}),Ho==null||Ho.forEach(nr=>{const Ro=co.uid!==void 0?"uid":"name";nr[Ro]===co[Ro]&&!Object.isFrozen(nr)&&(nr.status="removed")}),(so=Nr.current)===null||so===void 0||so.abort(co),wr(co,ho))})},Fr=Ka=>{Ir(Ka.type),Ka.type==="drop"&&(Nt==null||Nt(Ka))};oe.useImperativeHandle(Ot,()=>({onBatchStart:Ya,onSuccess:Ko,onProgress:_o,onError:ur,fileList:Ho,upload:Nr.current}));const{getPrefixCls:ri,direction:qr,upload:Uo}=oe.useContext(Ft.E_),$o=ri("upload",Ea),zr=Object.assign(Object.assign({onBatchStart:Ya,onError:ur,onProgress:_o,onSuccess:Ko},Ke),{data:Ar,multiple:xr,action:Sr,accept:jr,supportServerRender:Ur,prefixCls:$o,disabled:cr,beforeUpload:Kr,onChange:void 0});delete zr.className,delete zr.style,(!Wa||cr)&&delete zr.id;const[gi,ci]=_t($o),[bi]=(0,Jt.Z)("Upload",Je.Z.Upload),{showRemoveIcon:ua,showPreviewIcon:Zn,showDownloadIcon:qn,removeIcon:_n,previewIcon:_a,downloadIcon:Io}=typeof fn=="boolean"?{}:fn,Wo=(Ka,co)=>fn?oe.createElement(Tn,{prefixCls:$o,listType:nn,items:Ho,previewFile:lo,onPreview:qt,onDownload:Aa,onRemove:mr,showRemoveIcon:!cr&&ua,showPreviewIcon:Zn,showDownloadIcon:qn,removeIcon:_n,previewIcon:_a,downloadIcon:Io,iconRender:ko,locale:Object.assign(Object.assign({},bi),Do),isImageUrl:yn,progress:Jn,appendAction:Ka,appendActionVisible:co,itemRender:Eo,disabled:cr}):Ka,Yo=tt()(`${$o}-wrapper`,Un,$r,ci,Uo==null?void 0:Uo.className,{[`${$o}-rtl`]:qr==="rtl",[`${$o}-picture-card-wrapper`]:nn==="picture-card",[`${$o}-picture-circle-wrapper`]:nn==="picture-circle"}),ir=Object.assign(Object.assign({},Uo==null?void 0:Uo.style),Fa);if(ja==="drag"){const Ka=tt()(ci,$o,`${$o}-drag`,{[`${$o}-drag-uploading`]:Ho.some(co=>co.status==="uploading"),[`${$o}-drag-hover`]:kr==="dragover",[`${$o}-disabled`]:cr,[`${$o}-rtl`]:qr==="rtl"});return gi(oe.createElement("span",{className:Yo},oe.createElement("div",{className:Ka,style:ir,onDrop:Fr,onDragOver:Fr,onDragLeave:Fr},oe.createElement(it,Object.assign({},zr,{ref:Nr,className:`${$o}-btn`}),oe.createElement("div",{className:`${$o}-drag-container`},Wa))),Wo()))}const lr=tt()($o,`${$o}-select`,{[`${$o}-disabled`]:cr}),fr=(Ka=>oe.createElement("div",{className:lr,style:Ka},oe.createElement(it,Object.assign({},zr,{ref:Nr}))))(Wa?void 0:{display:"none"});return gi(nn==="picture-card"||nn==="picture-circle"?oe.createElement("span",{className:Yo},Wo(fr,!!Wa)):oe.createElement("span",{className:Yo},fr,Wo()))};var ia=oe.forwardRef(kn),tn=function(Ke,Ot){var At={};for(var Qt in Ke)Object.prototype.hasOwnProperty.call(Ke,Qt)&&Ot.indexOf(Qt)<0&&(At[Qt]=Ke[Qt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Qt=Object.getOwnPropertySymbols(Ke);un<Qt.length;un++)Ot.indexOf(Qt[un])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Qt[un])&&(At[Qt[un]]=Ke[Qt[un]]);return At},po=oe.forwardRef((Ke,Ot)=>{var{style:At,height:Qt}=Ke,un=tn(Ke,["style","height"]);return oe.createElement(ia,Object.assign({ref:Ot},un,{type:"drag",style:Object.assign(Object.assign({},At),{height:Qt})}))});const Qa=ia;Qa.Dragger=po,Qa.LIST_IGNORE=zn;var $a=Qa},39417:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return fe}});var oe=te(14809),ve=te(4635),Te=te(62646),tt=te(20439),Me=te(99153),Re=te(84851),le=te(13028),ot=te(19257),rt=te(93046),at=te(92310),nt=te.n(at),ut=te(26112),He=te(59301),ie=te(39378),y=function(be){for(var De=be.prefixCls,ye=be.level,wt=be.isStart,pt=be.isEnd,hn="".concat(De,"-indent-unit"),it=[],dt=0;dt<ye;dt+=1){var St;it.push(He.createElement("span",{key:dt,className:nt()(hn,(St={},(0,ve.Z)(St,"".concat(hn,"-start"),wt[dt]),(0,ve.Z)(St,"".concat(hn,"-end"),pt[dt]),St))}))}return He.createElement("span",{"aria-hidden":"true",className:"".concat(De,"-indent")},it)},a=He.memo(y),x=te(67841),b=te(71430),E=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",ee="close",ae="---",ne=function(Be){(0,ot.Z)(De,Be);var be=(0,rt.Z)(De);function De(){var ye;(0,Me.Z)(this,De);for(var wt=arguments.length,pt=new Array(wt),hn=0;hn<wt;hn++)pt[hn]=arguments[hn];return ye=be.call.apply(be,[this].concat(pt)),ye.state={dragNodeHighlight:!1},ye.selectHandle=void 0,ye.cacheIndent=void 0,ye.onSelectorClick=function(it){var dt=ye.props.context.onNodeClick;dt(it,(0,b.F)(ye.props)),ye.isSelectable()?ye.onSelect(it):ye.onCheck(it)},ye.onSelectorDoubleClick=function(it){var dt=ye.props.context.onNodeDoubleClick;dt(it,(0,b.F)(ye.props))},ye.onSelect=function(it){if(!ye.isDisabled()){var dt=ye.props.context.onNodeSelect;dt(it,(0,b.F)(ye.props))}},ye.onCheck=function(it){if(!ye.isDisabled()){var dt=ye.props,St=dt.disableCheckbox,Ft=dt.checked,Zt=ye.props.context.onNodeCheck;if(!(!ye.isCheckable()||St)){var Jt=!Ft;Zt(it,(0,b.F)(ye.props),Jt)}}},ye.onMouseEnter=function(it){var dt=ye.props.context.onNodeMouseEnter;dt(it,(0,b.F)(ye.props))},ye.onMouseLeave=function(it){var dt=ye.props.context.onNodeMouseLeave;dt(it,(0,b.F)(ye.props))},ye.onContextMenu=function(it){var dt=ye.props.context.onNodeContextMenu;dt(it,(0,b.F)(ye.props))},ye.onDragStart=function(it){var dt=ye.props.context.onNodeDragStart;it.stopPropagation(),ye.setState({dragNodeHighlight:!0}),dt(it,(0,le.Z)(ye));try{it.dataTransfer.setData("text/plain","")}catch(St){}},ye.onDragEnter=function(it){var dt=ye.props.context.onNodeDragEnter;it.preventDefault(),it.stopPropagation(),dt(it,(0,le.Z)(ye))},ye.onDragOver=function(it){var dt=ye.props.context.onNodeDragOver;it.preventDefault(),it.stopPropagation(),dt(it,(0,le.Z)(ye))},ye.onDragLeave=function(it){var dt=ye.props.context.onNodeDragLeave;it.stopPropagation(),dt(it,(0,le.Z)(ye))},ye.onDragEnd=function(it){var dt=ye.props.context.onNodeDragEnd;it.stopPropagation(),ye.setState({dragNodeHighlight:!1}),dt(it,(0,le.Z)(ye))},ye.onDrop=function(it){var dt=ye.props.context.onNodeDrop;it.preventDefault(),it.stopPropagation(),ye.setState({dragNodeHighlight:!1}),dt(it,(0,le.Z)(ye))},ye.onExpand=function(it){var dt=ye.props,St=dt.loading,Ft=dt.context.onNodeExpand;St||Ft(it,(0,b.F)(ye.props))},ye.setSelectHandle=function(it){ye.selectHandle=it},ye.getNodeState=function(){var it=ye.props.expanded;return ye.isLeaf()?null:it?z:ee},ye.hasChildren=function(){var it=ye.props.eventKey,dt=ye.props.context.keyEntities,St=(0,x.Z)(dt,it)||{},Ft=St.children;return!!(Ft||[]).length},ye.isLeaf=function(){var it=ye.props,dt=it.isLeaf,St=it.loaded,Ft=ye.props.context.loadData,Zt=ye.hasChildren();return dt===!1?!1:dt||!Ft&&!Zt||Ft&&St&&!Zt},ye.isDisabled=function(){var it=ye.props.disabled,dt=ye.props.context.disabled;return!!(dt||it)},ye.isCheckable=function(){var it=ye.props.checkable,dt=ye.props.context.checkable;return!dt||it===!1?!1:dt},ye.syncLoadData=function(it){var dt=it.expanded,St=it.loading,Ft=it.loaded,Zt=ye.props.context,Jt=Zt.loadData,Je=Zt.onNodeLoad;St||Jt&&dt&&!ye.isLeaf()&&!ye.hasChildren()&&!Ft&&Je((0,b.F)(ye.props))},ye.isDraggable=function(){var it=ye.props,dt=it.data,St=it.context.draggable;return!!(St&&(!St.nodeDraggable||St.nodeDraggable(dt)))},ye.renderDragHandler=function(){var it=ye.props.context,dt=it.draggable,St=it.prefixCls;return dt!=null&&dt.icon?He.createElement("span",{className:"".concat(St,"-draggable-icon")},dt.icon):null},ye.renderSwitcherIconDom=function(it){var dt=ye.props.switcherIcon,St=ye.props.context.switcherIcon,Ft=dt||St;return typeof Ft=="function"?Ft((0,tt.Z)((0,tt.Z)({},ye.props),{},{isLeaf:it})):Ft},ye.renderSwitcher=function(){var it=ye.props.expanded,dt=ye.props.context.prefixCls;if(ye.isLeaf()){var St=ye.renderSwitcherIconDom(!0);return St!==!1?He.createElement("span",{className:nt()("".concat(dt,"-switcher"),"".concat(dt,"-switcher-noop"))},St):null}var Ft=nt()("".concat(dt,"-switcher"),"".concat(dt,"-switcher_").concat(it?z:ee)),Zt=ye.renderSwitcherIconDom(!1);return Zt!==!1?He.createElement("span",{onClick:ye.onExpand,className:Ft},Zt):null},ye.renderCheckbox=function(){var it=ye.props,dt=it.checked,St=it.halfChecked,Ft=it.disableCheckbox,Zt=ye.props.context.prefixCls,Jt=ye.isDisabled(),Je=ye.isCheckable();if(!Je)return null;var kt=typeof Je!="boolean"?Je:null;return He.createElement("span",{className:nt()("".concat(Zt,"-checkbox"),dt&&"".concat(Zt,"-checkbox-checked"),!dt&&St&&"".concat(Zt,"-checkbox-indeterminate"),(Jt||Ft)&&"".concat(Zt,"-checkbox-disabled")),onClick:ye.onCheck},kt)},ye.renderIcon=function(){var it=ye.props.loading,dt=ye.props.context.prefixCls;return He.createElement("span",{className:nt()("".concat(dt,"-iconEle"),"".concat(dt,"-icon__").concat(ye.getNodeState()||"docu"),it&&"".concat(dt,"-icon_loading"))})},ye.renderSelector=function(){var it=ye.state.dragNodeHighlight,dt=ye.props,St=dt.title,Ft=St===void 0?ae:St,Zt=dt.selected,Jt=dt.icon,Je=dt.loading,kt=dt.data,Xt=ye.props.context,Fe=Xt.prefixCls,Ue=Xt.showIcon,Et=Xt.icon,sn=Xt.loadData,mt=Xt.titleRender,rn=ye.isDisabled(),xe="".concat(Fe,"-node-content-wrapper"),It;if(Ue){var xt=Jt||Et;It=xt?He.createElement("span",{className:nt()("".concat(Fe,"-iconEle"),"".concat(Fe,"-icon__customize"))},typeof xt=="function"?xt(ye.props):xt):ye.renderIcon()}else sn&&Je&&(It=ye.renderIcon());var An;typeof Ft=="function"?An=Ft(kt):mt?An=mt(kt):An=Ft;var Nn=He.createElement("span",{className:"".concat(Fe,"-title")},An);return He.createElement("span",{ref:ye.setSelectHandle,title:typeof Ft=="string"?Ft:"",className:nt()("".concat(xe),"".concat(xe,"-").concat(ye.getNodeState()||"normal"),!rn&&(Zt||it)&&"".concat(Fe,"-node-selected")),onMouseEnter:ye.onMouseEnter,onMouseLeave:ye.onMouseLeave,onContextMenu:ye.onContextMenu,onClick:ye.onSelectorClick,onDoubleClick:ye.onSelectorDoubleClick},It,Nn,ye.renderDropIndicator())},ye.renderDropIndicator=function(){var it=ye.props,dt=it.disabled,St=it.eventKey,Ft=ye.props.context,Zt=Ft.draggable,Jt=Ft.dropLevelOffset,Je=Ft.dropPosition,kt=Ft.prefixCls,Xt=Ft.indent,Fe=Ft.dropIndicatorRender,Ue=Ft.dragOverNodeKey,Et=Ft.direction,sn=!!Zt,mt=!dt&&sn&&Ue===St,rn=Xt!=null?Xt:ye.cacheIndent;return ye.cacheIndent=Xt,mt?Fe({dropPosition:Je,dropLevelOffset:Jt,indent:rn,prefixCls:kt,direction:Et}):null},ye}return(0,Re.Z)(De,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var wt=this.props.selectable,pt=this.props.context.selectable;return typeof wt=="boolean"?wt:pt}},{key:"render",value:function(){var wt,pt=this.props,hn=pt.eventKey,it=pt.className,dt=pt.style,St=pt.dragOver,Ft=pt.dragOverGapTop,Zt=pt.dragOverGapBottom,Jt=pt.isLeaf,Je=pt.isStart,kt=pt.isEnd,Xt=pt.expanded,Fe=pt.selected,Ue=pt.checked,Et=pt.halfChecked,sn=pt.loading,mt=pt.domRef,rn=pt.active,xe=pt.data,It=pt.onMouseMove,xt=pt.selectable,An=(0,Te.Z)(pt,E),Nn=this.props.context,Xe=Nn.prefixCls,Ze=Nn.filterTreeNode,Ce=Nn.keyEntities,me=Nn.dropContainerKey,ze=Nn.dropTargetKey,gt=Nn.draggingNodeKey,Se=this.isDisabled(),pe=(0,ut.Z)(An,{aria:!0,data:!0}),Ie=(0,x.Z)(Ce,hn)||{},Le=Ie.level,he=kt[kt.length-1],Ge=this.isDraggable(),Vt=!Se&&Ge,Ct=gt===hn,Lt=xt!==void 0?{"aria-selected":!!xt}:void 0;return He.createElement("div",(0,oe.Z)({ref:mt,className:nt()(it,"".concat(Xe,"-treenode"),(wt={},(0,ve.Z)(wt,"".concat(Xe,"-treenode-disabled"),Se),(0,ve.Z)(wt,"".concat(Xe,"-treenode-switcher-").concat(Xt?"open":"close"),!Jt),(0,ve.Z)(wt,"".concat(Xe,"-treenode-checkbox-checked"),Ue),(0,ve.Z)(wt,"".concat(Xe,"-treenode-checkbox-indeterminate"),Et),(0,ve.Z)(wt,"".concat(Xe,"-treenode-selected"),Fe),(0,ve.Z)(wt,"".concat(Xe,"-treenode-loading"),sn),(0,ve.Z)(wt,"".concat(Xe,"-treenode-active"),rn),(0,ve.Z)(wt,"".concat(Xe,"-treenode-leaf-last"),he),(0,ve.Z)(wt,"".concat(Xe,"-treenode-draggable"),Ge),(0,ve.Z)(wt,"dragging",Ct),(0,ve.Z)(wt,"drop-target",ze===hn),(0,ve.Z)(wt,"drop-container",me===hn),(0,ve.Z)(wt,"drag-over",!Se&&St),(0,ve.Z)(wt,"drag-over-gap-top",!Se&&Ft),(0,ve.Z)(wt,"drag-over-gap-bottom",!Se&&Zt),(0,ve.Z)(wt,"filter-node",Ze&&Ze((0,b.F)(this.props))),wt)),style:dt,draggable:Vt,"aria-grabbed":Ct,onDragStart:Vt?this.onDragStart:void 0,onDragEnter:Ge?this.onDragEnter:void 0,onDragOver:Ge?this.onDragOver:void 0,onDragLeave:Ge?this.onDragLeave:void 0,onDrop:Ge?this.onDrop:void 0,onDragEnd:Ge?this.onDragEnd:void 0,onMouseMove:It},Lt,pe),He.createElement(a,{prefixCls:Xe,level:Le,isStart:Je,isEnd:kt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),De}(He.Component),ge=function(be){return He.createElement(ie.k.Consumer,null,function(De){return He.createElement(ne,(0,oe.Z)({},be,{context:De}))})};ge.displayName="TreeNode",ge.isTreeNode=1;var fe=ge},39378:function(ht,Dt,te){"use strict";te.d(Dt,{k:function(){return ve}});var oe=te(59301),ve=oe.createContext(null)},79556:function(ht,Dt,te){"use strict";te.d(Dt,{O:function(){return fe.Z},Z:function(){return Nn}});var oe=te(14809),ve=te(4635),Te=te(93664),tt=te(20439),Me=te(95190),Re=te(99153),le=te(84851),ot=te(13028),rt=te(19257),at=te(93046),nt=te(92310),ut=te.n(nt),He=te(10228),ie=te(26112),y=te(48736),a=te(59301),x=te(39378);function b(Xe){var Ze=Xe.dropPosition,Ce=Xe.dropLevelOffset,me=Xe.indent,ze={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ze){case-1:ze.top=0,ze.left=-Ce*me;break;case 1:ze.bottom=0,ze.left=-Ce*me;break;case 0:ze.bottom=0,ze.left=me;break}return a.createElement("div",{style:ze})}function E(Xe){if(Xe==null)throw new TypeError("Cannot destructure "+Xe)}var z=te(50298),ee=te(62646),ae=te(34280),ne=te(6790),ge=te(77900),fe=te(39417);function Be(Xe,Ze){var Ce=a.useState(!1),me=(0,z.Z)(Ce,2),ze=me[0],gt=me[1];a.useLayoutEffect(function(){if(ze)return Xe(),function(){Ze()}},[ze]),a.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var be=te(71430),De=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ye=function(Ze,Ce){var me=Ze.className,ze=Ze.style,gt=Ze.motion,Se=Ze.motionNodes,pe=Ze.motionType,Ie=Ze.onMotionStart,Le=Ze.onMotionEnd,he=Ze.active,Ge=Ze.treeNodeRequiredProps,Vt=(0,ee.Z)(Ze,De),Ct=a.useState(!0),Lt=(0,z.Z)(Ct,2),Bt=Lt[0],Tt=Lt[1],we=a.useContext(x.k),We=we.prefixCls,lt=Se&&pe!=="hide";(0,ae.Z)(function(){Se&<!==Bt&&Tt(lt)},[Se]);var vt=function(){Se&&Ie()},zt=a.useRef(!1),en=function(){Se&&!zt.current&&(zt.current=!0,Le())};Be(vt,en);var Yt=function(Dn){lt===Dn&&en()};return Se?a.createElement(ge.default,(0,oe.Z)({ref:Ce,visible:Bt},gt,{motionAppear:pe==="show",onVisibleChanged:Yt}),function(ln,Dn){var Yn=ln.className,Tn=ln.style;return a.createElement("div",{ref:Dn,className:ut()("".concat(We,"-treenode-motion"),Yn),style:Tn},Se.map(function(Xn){var ya=(0,oe.Z)({},(E(Xn.data),Xn.data)),ba=Xn.title,Bn=Xn.key,Da=Xn.isStart,xa=Xn.isEnd;delete ya.children;var ca=(0,be.H8)(Bn,Ge);return a.createElement(fe.Z,(0,oe.Z)({},ya,ca,{title:ba,active:he,data:Xn.data,key:Bn,isStart:Da,isEnd:xa}))}))}):a.createElement(fe.Z,(0,oe.Z)({domRef:Ce,className:me,style:ze},Vt,{active:he}))};ye.displayName="MotionTreeNode";var wt=a.forwardRef(ye),pt=wt;function hn(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ce=Xe.length,me=Ze.length;if(Math.abs(Ce-me)!==1)return{add:!1,key:null};function ze(gt,Se){var pe=new Map;gt.forEach(function(Le){pe.set(Le,!0)});var Ie=Se.filter(function(Le){return!pe.has(Le)});return Ie.length===1?Ie[0]:null}return Ce<me?{add:!0,key:ze(Xe,Ze)}:{add:!1,key:ze(Ze,Xe)}}function it(Xe,Ze,Ce){var me=Xe.findIndex(function(pe){return pe.key===Ce}),ze=Xe[me+1],gt=Ze.findIndex(function(pe){return pe.key===Ce});if(ze){var Se=Ze.findIndex(function(pe){return pe.key===ze.key});return Ze.slice(gt+1,Se)}return Ze.slice(gt+1)}var dt=["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"],St={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ft=function(){},Zt="RC_TREE_MOTION_".concat(Math.random()),Jt={key:Zt},Je={key:Zt,level:0,index:0,pos:"0",node:Jt,nodes:[Jt]},kt={parent:null,children:[],pos:Je.pos,data:Jt,title:null,key:Zt,isStart:[],isEnd:[]};function Xt(Xe,Ze,Ce,me){return Ze===!1||!Ce?Xe:Xe.slice(0,Math.ceil(Ce/me)+1)}function Fe(Xe){var Ze=Xe.key,Ce=Xe.pos;return(0,be.km)(Ze,Ce)}function Ue(Xe){for(var Ze=String(Xe.data.key),Ce=Xe;Ce.parent;)Ce=Ce.parent,Ze="".concat(Ce.data.key," > ").concat(Ze);return Ze}var Et=a.forwardRef(function(Xe,Ze){var Ce=Xe.prefixCls,me=Xe.data,ze=Xe.selectable,gt=Xe.checkable,Se=Xe.expandedKeys,pe=Xe.selectedKeys,Ie=Xe.checkedKeys,Le=Xe.loadedKeys,he=Xe.loadingKeys,Ge=Xe.halfCheckedKeys,Vt=Xe.keyEntities,Ct=Xe.disabled,Lt=Xe.dragging,Bt=Xe.dragOverNodeKey,Tt=Xe.dropPosition,we=Xe.motion,We=Xe.height,lt=Xe.itemHeight,vt=Xe.virtual,zt=Xe.focusable,en=Xe.activeItem,Yt=Xe.focused,ln=Xe.tabIndex,Dn=Xe.onKeyDown,Yn=Xe.onFocus,Tn=Xe.onBlur,Xn=Xe.onActiveChange,ya=Xe.onListChangeStart,ba=Xe.onListChangeEnd,Bn=(0,ee.Z)(Xe,dt),Da=a.useRef(null),xa=a.useRef(null);a.useImperativeHandle(Ze,function(){return{scrollTo:function($a){Da.current.scrollTo($a)},getIndentWidth:function(){return xa.current.offsetWidth}}});var ca=a.useState(Se),Ta=(0,z.Z)(ca,2),to=Ta[0],an=Ta[1],pn=a.useState(me),En=(0,z.Z)(pn,2),Pn=En[0],ra=En[1],Ca=a.useState(me),Kn=(0,z.Z)(Ca,2),Ve=Kn[0],et=Kn[1],Ye=a.useState([]),Rt=(0,z.Z)(Ye,2),Sn=Rt[0],_t=Rt[1],va=a.useState(null),zn=(0,z.Z)(va,2),kn=zn[0],wa=zn[1],ia=a.useRef(me);ia.current=me;function tn(){var Qa=ia.current;ra(Qa),et(Qa),_t([]),wa(null),ba()}(0,ae.Z)(function(){an(Se);var Qa=hn(to,Se);if(Qa.key!==null)if(Qa.add){var $a=Pn.findIndex(function(fn){var nn=fn.key;return nn===Qa.key}),Ke=Xt(it(Pn,me,Qa.key),vt,We,lt),Ot=Pn.slice();Ot.splice($a+1,0,kt),et(Ot),_t(Ke),wa("show")}else{var At=me.findIndex(function(fn){var nn=fn.key;return nn===Qa.key}),Qt=Xt(it(me,Pn,Qa.key),vt,We,lt),un=me.slice();un.splice(At+1,0,kt),et(un),_t(Qt),wa("hide")}else Pn!==me&&(ra(me),et(me))},[Se,me]),a.useEffect(function(){Lt||tn()},[Lt]);var Ga=we?Ve:me,po={expandedKeys:Se,selectedKeys:pe,loadedKeys:Le,loadingKeys:he,checkedKeys:Ie,halfCheckedKeys:Ge,dragOverNodeKey:Bt,dropPosition:Tt,keyEntities:Vt};return a.createElement(a.Fragment,null,Yt&&en&&a.createElement("span",{style:St,"aria-live":"assertive"},Ue(en)),a.createElement("div",null,a.createElement("input",{style:St,disabled:zt===!1||Ct,tabIndex:zt!==!1?ln:null,onKeyDown:Dn,onFocus:Yn,onBlur:Tn,value:"",onChange:Ft,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(Ce,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(Ce,"-indent")},a.createElement("div",{ref:xa,className:"".concat(Ce,"-indent-unit")}))),a.createElement(ne.Z,(0,oe.Z)({},Bn,{data:Ga,itemKey:Fe,height:We,fullHeight:!1,virtual:vt,itemHeight:lt,prefixCls:"".concat(Ce,"-list"),ref:Da,onVisibleChange:function($a,Ke){var Ot=new Set($a),At=Ke.filter(function(Qt){return!Ot.has(Qt)});At.some(function(Qt){return Fe(Qt)===Zt})&&tn()}}),function(Qa){var $a=Qa.pos,Ke=(0,oe.Z)({},(E(Qa.data),Qa.data)),Ot=Qa.title,At=Qa.key,Qt=Qa.isStart,un=Qa.isEnd,fn=(0,be.km)(At,$a);delete Ke.key,delete Ke.children;var nn=(0,be.H8)(fn,po);return a.createElement(pt,(0,oe.Z)({},Ke,nn,{title:Ot,active:!!en&&At===en.key,pos:$a,data:Qa.data,isStart:Qt,isEnd:un,motion:we,motionNodes:At===Zt?Sn:null,motionType:kn,onMotionStart:ya,onMotionEnd:tn,treeNodeRequiredProps:po,onMouseMove:function(){Xn(null)}}))}))});Et.displayName="NodeList";var sn=Et,mt=te(35654),rn=te(90782),xe=te(67841),It=10,xt=function(Xe){(0,rt.Z)(Ce,Xe);var Ze=(0,at.Z)(Ce);function Ce(){var me;(0,Re.Z)(this,Ce);for(var ze=arguments.length,gt=new Array(ze),Se=0;Se<ze;Se++)gt[Se]=arguments[Se];return me=Ze.call.apply(Ze,[this].concat(gt)),me.destroyed=!1,me.delayedDragEnterLogic=void 0,me.loadingRetryTimes={},me.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,be.w$)()},me.dragStartMousePosition=null,me.dragNode=void 0,me.currentMouseOverDroppableNodeKey=null,me.listRef=a.createRef(),me.onNodeDragStart=function(pe,Ie){var Le=me.state,he=Le.expandedKeys,Ge=Le.keyEntities,Vt=me.props.onDragStart,Ct=Ie.props.eventKey;me.dragNode=Ie,me.dragStartMousePosition={x:pe.clientX,y:pe.clientY};var Lt=(0,mt._5)(he,Ct);me.setState({draggingNodeKey:Ct,dragChildrenKeys:(0,mt.wA)(Ct,Ge),indent:me.listRef.current.getIndentWidth()}),me.setExpandedKeys(Lt),window.addEventListener("dragend",me.onWindowDragEnd),Vt==null||Vt({event:pe,node:(0,be.F)(Ie.props)})},me.onNodeDragEnter=function(pe,Ie){var Le=me.state,he=Le.expandedKeys,Ge=Le.keyEntities,Vt=Le.dragChildrenKeys,Ct=Le.flattenNodes,Lt=Le.indent,Bt=me.props,Tt=Bt.onDragEnter,we=Bt.onExpand,We=Bt.allowDrop,lt=Bt.direction,vt=Ie.props,zt=vt.pos,en=vt.eventKey,Yt=(0,ot.Z)(me),ln=Yt.dragNode;if(me.currentMouseOverDroppableNodeKey!==en&&(me.currentMouseOverDroppableNodeKey=en),!ln){me.resetDragState();return}var Dn=(0,mt.OM)(pe,ln,Ie,Lt,me.dragStartMousePosition,We,Ct,Ge,he,lt),Yn=Dn.dropPosition,Tn=Dn.dropLevelOffset,Xn=Dn.dropTargetKey,ya=Dn.dropContainerKey,ba=Dn.dropTargetPos,Bn=Dn.dropAllowed,Da=Dn.dragOverNodeKey;if(Vt.indexOf(Xn)!==-1||!Bn){me.resetDragState();return}if(me.delayedDragEnterLogic||(me.delayedDragEnterLogic={}),Object.keys(me.delayedDragEnterLogic).forEach(function(xa){clearTimeout(me.delayedDragEnterLogic[xa])}),ln.props.eventKey!==Ie.props.eventKey&&(pe.persist(),me.delayedDragEnterLogic[zt]=window.setTimeout(function(){if(me.state.draggingNodeKey!==null){var xa=(0,Me.Z)(he),ca=(0,xe.Z)(Ge,Ie.props.eventKey);ca&&(ca.children||[]).length&&(xa=(0,mt.L0)(he,Ie.props.eventKey)),"expandedKeys"in me.props||me.setExpandedKeys(xa),we==null||we(xa,{node:(0,be.F)(Ie.props),expanded:!0,nativeEvent:pe.nativeEvent})}},800)),ln.props.eventKey===Xn&&Tn===0){me.resetDragState();return}me.setState({dragOverNodeKey:Da,dropPosition:Yn,dropLevelOffset:Tn,dropTargetKey:Xn,dropContainerKey:ya,dropTargetPos:ba,dropAllowed:Bn}),Tt==null||Tt({event:pe,node:(0,be.F)(Ie.props),expandedKeys:he})},me.onNodeDragOver=function(pe,Ie){var Le=me.state,he=Le.dragChildrenKeys,Ge=Le.flattenNodes,Vt=Le.keyEntities,Ct=Le.expandedKeys,Lt=Le.indent,Bt=me.props,Tt=Bt.onDragOver,we=Bt.allowDrop,We=Bt.direction,lt=(0,ot.Z)(me),vt=lt.dragNode;if(vt){var zt=(0,mt.OM)(pe,vt,Ie,Lt,me.dragStartMousePosition,we,Ge,Vt,Ct,We),en=zt.dropPosition,Yt=zt.dropLevelOffset,ln=zt.dropTargetKey,Dn=zt.dropContainerKey,Yn=zt.dropAllowed,Tn=zt.dropTargetPos,Xn=zt.dragOverNodeKey;he.indexOf(ln)!==-1||!Yn||(vt.props.eventKey===ln&&Yt===0?me.state.dropPosition===null&&me.state.dropLevelOffset===null&&me.state.dropTargetKey===null&&me.state.dropContainerKey===null&&me.state.dropTargetPos===null&&me.state.dropAllowed===!1&&me.state.dragOverNodeKey===null||me.resetDragState():en===me.state.dropPosition&&Yt===me.state.dropLevelOffset&&ln===me.state.dropTargetKey&&Dn===me.state.dropContainerKey&&Tn===me.state.dropTargetPos&&Yn===me.state.dropAllowed&&Xn===me.state.dragOverNodeKey||me.setState({dropPosition:en,dropLevelOffset:Yt,dropTargetKey:ln,dropContainerKey:Dn,dropTargetPos:Tn,dropAllowed:Yn,dragOverNodeKey:Xn}),Tt==null||Tt({event:pe,node:(0,be.F)(Ie.props)}))}},me.onNodeDragLeave=function(pe,Ie){me.currentMouseOverDroppableNodeKey===Ie.props.eventKey&&!pe.currentTarget.contains(pe.relatedTarget)&&(me.resetDragState(),me.currentMouseOverDroppableNodeKey=null);var Le=me.props.onDragLeave;Le==null||Le({event:pe,node:(0,be.F)(Ie.props)})},me.onWindowDragEnd=function(pe){me.onNodeDragEnd(pe,null,!0),window.removeEventListener("dragend",me.onWindowDragEnd)},me.onNodeDragEnd=function(pe,Ie){var Le=me.props.onDragEnd;me.setState({dragOverNodeKey:null}),me.cleanDragState(),Le==null||Le({event:pe,node:(0,be.F)(Ie.props)}),me.dragNode=null,window.removeEventListener("dragend",me.onWindowDragEnd)},me.onNodeDrop=function(pe,Ie){var Le,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ge=me.state,Vt=Ge.dragChildrenKeys,Ct=Ge.dropPosition,Lt=Ge.dropTargetKey,Bt=Ge.dropTargetPos,Tt=Ge.dropAllowed;if(Tt){var we=me.props.onDrop;if(me.setState({dragOverNodeKey:null}),me.cleanDragState(),Lt!==null){var We=(0,tt.Z)((0,tt.Z)({},(0,be.H8)(Lt,me.getTreeNodeRequiredProps())),{},{active:((Le=me.getActiveItem())===null||Le===void 0?void 0:Le.key)===Lt,data:(0,xe.Z)(me.state.keyEntities,Lt).node}),lt=Vt.indexOf(Lt)!==-1;(0,y.ZP)(!lt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var vt=(0,mt.yx)(Bt),zt={event:pe,node:(0,be.F)(We),dragNode:me.dragNode?(0,be.F)(me.dragNode.props):null,dragNodesKeys:[me.dragNode.props.eventKey].concat(Vt),dropToGap:Ct!==0,dropPosition:Ct+Number(vt[vt.length-1])};he||we==null||we(zt),me.dragNode=null}}},me.cleanDragState=function(){var pe=me.state.draggingNodeKey;pe!==null&&me.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),me.dragStartMousePosition=null,me.currentMouseOverDroppableNodeKey=null},me.triggerExpandActionExpand=function(pe,Ie){var Le=me.state,he=Le.expandedKeys,Ge=Le.flattenNodes,Vt=Ie.expanded,Ct=Ie.key,Lt=Ie.isLeaf;if(!(Lt||pe.shiftKey||pe.metaKey||pe.ctrlKey)){var Bt=Ge.filter(function(we){return we.key===Ct})[0],Tt=(0,be.F)((0,tt.Z)((0,tt.Z)({},(0,be.H8)(Ct,me.getTreeNodeRequiredProps())),{},{data:Bt.data}));me.setExpandedKeys(Vt?(0,mt._5)(he,Ct):(0,mt.L0)(he,Ct)),me.onNodeExpand(pe,Tt)}},me.onNodeClick=function(pe,Ie){var Le=me.props,he=Le.onClick,Ge=Le.expandAction;Ge==="click"&&me.triggerExpandActionExpand(pe,Ie),he==null||he(pe,Ie)},me.onNodeDoubleClick=function(pe,Ie){var Le=me.props,he=Le.onDoubleClick,Ge=Le.expandAction;Ge==="doubleClick"&&me.triggerExpandActionExpand(pe,Ie),he==null||he(pe,Ie)},me.onNodeSelect=function(pe,Ie){var Le=me.state.selectedKeys,he=me.state,Ge=he.keyEntities,Vt=he.fieldNames,Ct=me.props,Lt=Ct.onSelect,Bt=Ct.multiple,Tt=Ie.selected,we=Ie[Vt.key],We=!Tt;We?Bt?Le=(0,mt.L0)(Le,we):Le=[we]:Le=(0,mt._5)(Le,we);var lt=Le.map(function(vt){var zt=(0,xe.Z)(Ge,vt);return zt?zt.node:null}).filter(function(vt){return vt});me.setUncontrolledState({selectedKeys:Le}),Lt==null||Lt(Le,{event:"select",selected:We,node:Ie,selectedNodes:lt,nativeEvent:pe.nativeEvent})},me.onNodeCheck=function(pe,Ie,Le){var he=me.state,Ge=he.keyEntities,Vt=he.checkedKeys,Ct=he.halfCheckedKeys,Lt=me.props,Bt=Lt.checkStrictly,Tt=Lt.onCheck,we=Ie.key,We,lt={event:"check",node:Ie,checked:Le,nativeEvent:pe.nativeEvent};if(Bt){var vt=Le?(0,mt.L0)(Vt,we):(0,mt._5)(Vt,we),zt=(0,mt._5)(Ct,we);We={checked:vt,halfChecked:zt},lt.checkedNodes=vt.map(function(Tn){return(0,xe.Z)(Ge,Tn)}).filter(function(Tn){return Tn}).map(function(Tn){return Tn.node}),me.setUncontrolledState({checkedKeys:vt})}else{var en=(0,rn.S)([].concat((0,Me.Z)(Vt),[we]),!0,Ge),Yt=en.checkedKeys,ln=en.halfCheckedKeys;if(!Le){var Dn=new Set(Yt);Dn.delete(we);var Yn=(0,rn.S)(Array.from(Dn),{checked:!1,halfCheckedKeys:ln},Ge);Yt=Yn.checkedKeys,ln=Yn.halfCheckedKeys}We=Yt,lt.checkedNodes=[],lt.checkedNodesPositions=[],lt.halfCheckedKeys=ln,Yt.forEach(function(Tn){var Xn=(0,xe.Z)(Ge,Tn);if(Xn){var ya=Xn.node,ba=Xn.pos;lt.checkedNodes.push(ya),lt.checkedNodesPositions.push({node:ya,pos:ba})}}),me.setUncontrolledState({checkedKeys:Yt},!1,{halfCheckedKeys:ln})}Tt==null||Tt(We,lt)},me.onNodeLoad=function(pe){var Ie=pe.key,Le=new Promise(function(he,Ge){me.setState(function(Vt){var Ct=Vt.loadedKeys,Lt=Ct===void 0?[]:Ct,Bt=Vt.loadingKeys,Tt=Bt===void 0?[]:Bt,we=me.props,We=we.loadData,lt=we.onLoad;if(!We||Lt.indexOf(Ie)!==-1||Tt.indexOf(Ie)!==-1)return null;var vt=We(pe);return vt.then(function(){var zt=me.state.loadedKeys,en=(0,mt.L0)(zt,Ie);lt==null||lt(en,{event:"load",node:pe}),me.setUncontrolledState({loadedKeys:en}),me.setState(function(Yt){return{loadingKeys:(0,mt._5)(Yt.loadingKeys,Ie)}}),he()}).catch(function(zt){if(me.setState(function(Yt){return{loadingKeys:(0,mt._5)(Yt.loadingKeys,Ie)}}),me.loadingRetryTimes[Ie]=(me.loadingRetryTimes[Ie]||0)+1,me.loadingRetryTimes[Ie]>=It){var en=me.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),me.setUncontrolledState({loadedKeys:(0,mt.L0)(en,Ie)}),he()}Ge(zt)}),{loadingKeys:(0,mt.L0)(Tt,Ie)}})});return Le.catch(function(){}),Le},me.onNodeMouseEnter=function(pe,Ie){var Le=me.props.onMouseEnter;Le==null||Le({event:pe,node:Ie})},me.onNodeMouseLeave=function(pe,Ie){var Le=me.props.onMouseLeave;Le==null||Le({event:pe,node:Ie})},me.onNodeContextMenu=function(pe,Ie){var Le=me.props.onRightClick;Le&&(pe.preventDefault(),Le({event:pe,node:Ie}))},me.onFocus=function(){var pe=me.props.onFocus;me.setState({focused:!0});for(var Ie=arguments.length,Le=new Array(Ie),he=0;he<Ie;he++)Le[he]=arguments[he];pe==null||pe.apply(void 0,Le)},me.onBlur=function(){var pe=me.props.onBlur;me.setState({focused:!1}),me.onActiveChange(null);for(var Ie=arguments.length,Le=new Array(Ie),he=0;he<Ie;he++)Le[he]=arguments[he];pe==null||pe.apply(void 0,Le)},me.getTreeNodeRequiredProps=function(){var pe=me.state,Ie=pe.expandedKeys,Le=pe.selectedKeys,he=pe.loadedKeys,Ge=pe.loadingKeys,Vt=pe.checkedKeys,Ct=pe.halfCheckedKeys,Lt=pe.dragOverNodeKey,Bt=pe.dropPosition,Tt=pe.keyEntities;return{expandedKeys:Ie||[],selectedKeys:Le||[],loadedKeys:he||[],loadingKeys:Ge||[],checkedKeys:Vt||[],halfCheckedKeys:Ct||[],dragOverNodeKey:Lt,dropPosition:Bt,keyEntities:Tt}},me.setExpandedKeys=function(pe){var Ie=me.state,Le=Ie.treeData,he=Ie.fieldNames,Ge=(0,be.oH)(Le,pe,he);me.setUncontrolledState({expandedKeys:pe,flattenNodes:Ge},!0)},me.onNodeExpand=function(pe,Ie){var Le=me.state.expandedKeys,he=me.state,Ge=he.listChanging,Vt=he.fieldNames,Ct=me.props,Lt=Ct.onExpand,Bt=Ct.loadData,Tt=Ie.expanded,we=Ie[Vt.key];if(!Ge){var We=Le.indexOf(we),lt=!Tt;if((0,y.ZP)(Tt&&We!==-1||!Tt&&We===-1,"Expand state not sync with index check"),lt?Le=(0,mt.L0)(Le,we):Le=(0,mt._5)(Le,we),me.setExpandedKeys(Le),Lt==null||Lt(Le,{node:Ie,expanded:lt,nativeEvent:pe.nativeEvent}),lt&&Bt){var vt=me.onNodeLoad(Ie);vt&&vt.then(function(){var zt=(0,be.oH)(me.state.treeData,Le,Vt);me.setUncontrolledState({flattenNodes:zt})}).catch(function(){var zt=me.state.expandedKeys,en=(0,mt._5)(zt,we);me.setExpandedKeys(en)})}}},me.onListChangeStart=function(){me.setUncontrolledState({listChanging:!0})},me.onListChangeEnd=function(){setTimeout(function(){me.setUncontrolledState({listChanging:!1})})},me.onActiveChange=function(pe){var Ie=me.state.activeKey,Le=me.props.onActiveChange;Ie!==pe&&(me.setState({activeKey:pe}),pe!==null&&me.scrollTo({key:pe}),Le==null||Le(pe))},me.getActiveItem=function(){var pe=me.state,Ie=pe.activeKey,Le=pe.flattenNodes;return Ie===null?null:Le.find(function(he){var Ge=he.key;return Ge===Ie})||null},me.offsetActiveKey=function(pe){var Ie=me.state,Le=Ie.flattenNodes,he=Ie.activeKey,Ge=Le.findIndex(function(Lt){var Bt=Lt.key;return Bt===he});Ge===-1&&pe<0&&(Ge=Le.length),Ge=(Ge+pe+Le.length)%Le.length;var Vt=Le[Ge];if(Vt){var Ct=Vt.key;me.onActiveChange(Ct)}else me.onActiveChange(null)},me.onKeyDown=function(pe){var Ie=me.state,Le=Ie.activeKey,he=Ie.expandedKeys,Ge=Ie.checkedKeys,Vt=Ie.fieldNames,Ct=me.props,Lt=Ct.onKeyDown,Bt=Ct.checkable,Tt=Ct.selectable;switch(pe.which){case He.Z.UP:{me.offsetActiveKey(-1),pe.preventDefault();break}case He.Z.DOWN:{me.offsetActiveKey(1),pe.preventDefault();break}}var we=me.getActiveItem();if(we&&we.data){var We=me.getTreeNodeRequiredProps(),lt=we.data.isLeaf===!1||!!(we.data[Vt.children]||[]).length,vt=(0,be.F)((0,tt.Z)((0,tt.Z)({},(0,be.H8)(Le,We)),{},{data:we.data,active:!0}));switch(pe.which){case He.Z.LEFT:{lt&&he.includes(Le)?me.onNodeExpand({},vt):we.parent&&me.onActiveChange(we.parent.key),pe.preventDefault();break}case He.Z.RIGHT:{lt&&!he.includes(Le)?me.onNodeExpand({},vt):we.children&&we.children.length&&me.onActiveChange(we.children[0].key),pe.preventDefault();break}case He.Z.ENTER:case He.Z.SPACE:{Bt&&!vt.disabled&&vt.checkable!==!1&&!vt.disableCheckbox?me.onNodeCheck({},vt,!Ge.includes(Le)):!Bt&&Tt&&!vt.disabled&&vt.selectable!==!1&&me.onNodeSelect({},vt);break}}}Lt==null||Lt(pe)},me.setUncontrolledState=function(pe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!me.destroyed){var he=!1,Ge=!0,Vt={};Object.keys(pe).forEach(function(Ct){if(Ct in me.props){Ge=!1;return}he=!0,Vt[Ct]=pe[Ct]}),he&&(!Ie||Ge)&&me.setState((0,tt.Z)((0,tt.Z)({},Vt),Le))}},me.scrollTo=function(pe){me.listRef.current.scrollTo(pe)},me}return(0,le.Z)(Ce,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ze=this.props.activeKey;ze!==void 0&&ze!==this.state.activeKey&&(this.setState({activeKey:ze}),ze!==null&&this.scrollTo({key:ze}))}},{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 ze,gt=this.state,Se=gt.focused,pe=gt.flattenNodes,Ie=gt.keyEntities,Le=gt.draggingNodeKey,he=gt.activeKey,Ge=gt.dropLevelOffset,Vt=gt.dropContainerKey,Ct=gt.dropTargetKey,Lt=gt.dropPosition,Bt=gt.dragOverNodeKey,Tt=gt.indent,we=this.props,We=we.prefixCls,lt=we.className,vt=we.style,zt=we.showLine,en=we.focusable,Yt=we.tabIndex,ln=Yt===void 0?0:Yt,Dn=we.selectable,Yn=we.showIcon,Tn=we.icon,Xn=we.switcherIcon,ya=we.draggable,ba=we.checkable,Bn=we.checkStrictly,Da=we.disabled,xa=we.motion,ca=we.loadData,Ta=we.filterTreeNode,to=we.height,an=we.itemHeight,pn=we.virtual,En=we.titleRender,Pn=we.dropIndicatorRender,ra=we.onContextMenu,Ca=we.onScroll,Kn=we.direction,Ve=we.rootClassName,et=we.rootStyle,Ye=(0,ie.Z)(this.props,{aria:!0,data:!0}),Rt;return ya&&((0,Te.Z)(ya)==="object"?Rt=ya:typeof ya=="function"?Rt={nodeDraggable:ya}:Rt={}),a.createElement(x.k.Provider,{value:{prefixCls:We,selectable:Dn,showIcon:Yn,icon:Tn,switcherIcon:Xn,draggable:Rt,draggingNodeKey:Le,checkable:ba,checkStrictly:Bn,disabled:Da,keyEntities:Ie,dropLevelOffset:Ge,dropContainerKey:Vt,dropTargetKey:Ct,dropPosition:Lt,dragOverNodeKey:Bt,indent:Tt,direction:Kn,dropIndicatorRender:Pn,loadData:ca,filterTreeNode:Ta,titleRender:En,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}},a.createElement("div",{role:"tree",className:ut()(We,lt,Ve,(ze={},(0,ve.Z)(ze,"".concat(We,"-show-line"),zt),(0,ve.Z)(ze,"".concat(We,"-focused"),Se),(0,ve.Z)(ze,"".concat(We,"-active-focused"),he!==null),ze)),style:et},a.createElement(sn,(0,oe.Z)({ref:this.listRef,prefixCls:We,style:vt,data:pe,disabled:Da,selectable:Dn,checkable:!!ba,motion:xa,dragging:Le!==null,height:to,itemHeight:an,virtual:pn,focusable:en,focused:Se,tabIndex:ln,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ra,onScroll:Ca},this.getTreeNodeRequiredProps(),Ye))))}}],[{key:"getDerivedStateFromProps",value:function(ze,gt){var Se=gt.prevProps,pe={prevProps:ze};function Ie(en){return!Se&&en in ze||Se&&Se[en]!==ze[en]}var Le,he=gt.fieldNames;if(Ie("fieldNames")&&(he=(0,be.w$)(ze.fieldNames),pe.fieldNames=he),Ie("treeData")?Le=ze.treeData:Ie("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Le=(0,be.zn)(ze.children)),Le){pe.treeData=Le;var Ge=(0,be.I8)(Le,{fieldNames:he});pe.keyEntities=(0,tt.Z)((0,ve.Z)({},Zt,Je),Ge.keyEntities)}var Vt=pe.keyEntities||gt.keyEntities;if(Ie("expandedKeys")||Se&&Ie("autoExpandParent"))pe.expandedKeys=ze.autoExpandParent||!Se&&ze.defaultExpandParent?(0,mt.r7)(ze.expandedKeys,Vt):ze.expandedKeys;else if(!Se&&ze.defaultExpandAll){var Ct=(0,tt.Z)({},Vt);delete Ct[Zt],pe.expandedKeys=Object.keys(Ct).map(function(en){return Ct[en].key})}else!Se&&ze.defaultExpandedKeys&&(pe.expandedKeys=ze.autoExpandParent||ze.defaultExpandParent?(0,mt.r7)(ze.defaultExpandedKeys,Vt):ze.defaultExpandedKeys);if(pe.expandedKeys||delete pe.expandedKeys,Le||pe.expandedKeys){var Lt=(0,be.oH)(Le||gt.treeData,pe.expandedKeys||gt.expandedKeys,he);pe.flattenNodes=Lt}if(ze.selectable&&(Ie("selectedKeys")?pe.selectedKeys=(0,mt.BT)(ze.selectedKeys,ze):!Se&&ze.defaultSelectedKeys&&(pe.selectedKeys=(0,mt.BT)(ze.defaultSelectedKeys,ze))),ze.checkable){var Bt;if(Ie("checkedKeys")?Bt=(0,mt.E6)(ze.checkedKeys)||{}:!Se&&ze.defaultCheckedKeys?Bt=(0,mt.E6)(ze.defaultCheckedKeys)||{}:Le&&(Bt=(0,mt.E6)(ze.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),Bt){var Tt=Bt,we=Tt.checkedKeys,We=we===void 0?[]:we,lt=Tt.halfCheckedKeys,vt=lt===void 0?[]:lt;if(!ze.checkStrictly){var zt=(0,rn.S)(We,!0,Vt);We=zt.checkedKeys,vt=zt.halfCheckedKeys}pe.checkedKeys=We,pe.halfCheckedKeys=vt}}return Ie("loadedKeys")&&(pe.loadedKeys=ze.loadedKeys),pe}}]),Ce}(a.Component);xt.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:b,allowDrop:function(){return!0},expandAction:!1},xt.TreeNode=fe.Z;var An=xt,Nn=An},35654:function(ht,Dt,te){"use strict";te.d(Dt,{BT:function(){return a},E6:function(){return E},L0:function(){return at},OM:function(){return y},_5:function(){return rt},r7:function(){return z},wA:function(){return ut},yx:function(){return nt}});var oe=te(95190),ve=te(93664),Te=te(48736),tt=te(59301),Me=te(39417),Re=te(67841),le=te(71430),ot=null;function rt(ee,ae){if(!ee)return[];var ne=ee.slice(),ge=ne.indexOf(ae);return ge>=0&&ne.splice(ge,1),ne}function at(ee,ae){var ne=(ee||[]).slice();return ne.indexOf(ae)===-1&&ne.push(ae),ne}function nt(ee){return ee.split("-")}function ut(ee,ae){var ne=[],ge=(0,Re.Z)(ae,ee);function fe(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Be.forEach(function(be){var De=be.key,ye=be.children;ne.push(De),fe(ye)})}return fe(ge.children),ne}function He(ee){if(ee.parent){var ae=nt(ee.pos);return Number(ae[ae.length-1])===ee.parent.children.length-1}return!1}function ie(ee){var ae=nt(ee.pos);return Number(ae[ae.length-1])===0}function y(ee,ae,ne,ge,fe,Be,be,De,ye,wt){var pt,hn=ee.clientX,it=ee.clientY,dt=ee.target.getBoundingClientRect(),St=dt.top,Ft=dt.height,Zt=(wt==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-hn),Jt=(Zt-12)/ge,Je=(0,Re.Z)(De,ne.props.eventKey);if(it<St+Ft/2){var kt=be.findIndex(function(Nn){return Nn.key===Je.key}),Xt=kt<=0?0:kt-1,Fe=be[Xt].key;Je=(0,Re.Z)(De,Fe)}var Ue=Je.key,Et=Je,sn=Je.key,mt=0,rn=0;if(!ye.includes(Ue))for(var xe=0;xe<Jt&&He(Je);xe+=1)Je=Je.parent,rn+=1;var It=ae.props.data,xt=Je.node,An=!0;return ie(Je)&&Je.level===0&&it<St+Ft/2&&Be({dragNode:It,dropNode:xt,dropPosition:-1})&&Je.key===ne.props.eventKey?mt=-1:(Et.children||[]).length&&ye.includes(sn)?Be({dragNode:It,dropNode:xt,dropPosition:0})?mt=0:An=!1:rn===0?Jt>-1.5?Be({dragNode:It,dropNode:xt,dropPosition:1})?mt=1:An=!1:Be({dragNode:It,dropNode:xt,dropPosition:0})?mt=0:Be({dragNode:It,dropNode:xt,dropPosition:1})?mt=1:An=!1:Be({dragNode:It,dropNode:xt,dropPosition:1})?mt=1:An=!1,{dropPosition:mt,dropLevelOffset:rn,dropTargetKey:Je.key,dropTargetPos:Je.pos,dragOverNodeKey:sn,dropContainerKey:mt===0?null:((pt=Je.parent)===null||pt===void 0?void 0:pt.key)||null,dropAllowed:An}}function a(ee,ae){if(ee){var ne=ae.multiple;return ne?ee.slice():ee.length?[ee[0]]:ee}}var x=function(ae){return ae};function b(ee,ae){if(!ee)return[];var ne=ae||{},ge=ne.processProps,fe=ge===void 0?x:ge,Be=Array.isArray(ee)?ee:[ee];return Be.map(function(be){var De=be.children,ye=_objectWithoutProperties(be,ot),wt=b(De,ae);return React.createElement(TreeNode,_extends({key:ye.key},fe(ye)),wt)})}function E(ee){if(!ee)return null;var ae;if(Array.isArray(ee))ae={checkedKeys:ee,halfCheckedKeys:void 0};else if((0,ve.Z)(ee)==="object")ae={checkedKeys:ee.checked||void 0,halfCheckedKeys:ee.halfChecked||void 0};else return(0,Te.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function z(ee,ae){var ne=new Set;function ge(fe){if(!ne.has(fe)){var Be=(0,Re.Z)(ae,fe);if(Be){ne.add(fe);var be=Be.parent,De=Be.node;De.disabled||be&&ge(be.key)}}}return(ee||[]).forEach(function(fe){ge(fe)}),(0,oe.Z)(ne)}},90782:function(ht,Dt,te){"use strict";te.d(Dt,{S:function(){return le}});var oe=te(48736),ve=te(67841);function Te(ot,rt){var at=new Set;return ot.forEach(function(nt){rt.has(nt)||at.add(nt)}),at}function tt(ot){var rt=ot||{},at=rt.disabled,nt=rt.disableCheckbox,ut=rt.checkable;return!!(at||nt)||ut===!1}function Me(ot,rt,at,nt){for(var ut=new Set(ot),He=new Set,ie=0;ie<=at;ie+=1){var y=rt.get(ie)||new Set;y.forEach(function(E){var z=E.key,ee=E.node,ae=E.children,ne=ae===void 0?[]:ae;ut.has(z)&&!nt(ee)&&ne.filter(function(ge){return!nt(ge.node)}).forEach(function(ge){ut.add(ge.key)})})}for(var a=new Set,x=at;x>=0;x-=1){var b=rt.get(x)||new Set;b.forEach(function(E){var z=E.parent,ee=E.node;if(!(nt(ee)||!E.parent||a.has(E.parent.key))){if(nt(E.parent.node)){a.add(z.key);return}var ae=!0,ne=!1;(z.children||[]).filter(function(ge){return!nt(ge.node)}).forEach(function(ge){var fe=ge.key,Be=ut.has(fe);ae&&!Be&&(ae=!1),!ne&&(Be||He.has(fe))&&(ne=!0)}),ae&&ut.add(z.key),ne&&He.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(ut),halfCheckedKeys:Array.from(Te(He,ut))}}function Re(ot,rt,at,nt,ut){for(var He=new Set(ot),ie=new Set(rt),y=0;y<=nt;y+=1){var a=at.get(y)||new Set;a.forEach(function(z){var ee=z.key,ae=z.node,ne=z.children,ge=ne===void 0?[]:ne;!He.has(ee)&&!ie.has(ee)&&!ut(ae)&&ge.filter(function(fe){return!ut(fe.node)}).forEach(function(fe){He.delete(fe.key)})})}ie=new Set;for(var x=new Set,b=nt;b>=0;b-=1){var E=at.get(b)||new Set;E.forEach(function(z){var ee=z.parent,ae=z.node;if(!(ut(ae)||!z.parent||x.has(z.parent.key))){if(ut(z.parent.node)){x.add(ee.key);return}var ne=!0,ge=!1;(ee.children||[]).filter(function(fe){return!ut(fe.node)}).forEach(function(fe){var Be=fe.key,be=He.has(Be);ne&&!be&&(ne=!1),!ge&&(be||ie.has(Be))&&(ge=!0)}),ne||He.delete(ee.key),ge&&ie.add(ee.key),x.add(ee.key)}})}return{checkedKeys:Array.from(He),halfCheckedKeys:Array.from(Te(ie,He))}}function le(ot,rt,at,nt){var ut=[],He;nt?He=nt:He=tt;var ie=new Set(ot.filter(function(b){var E=!!(0,ve.Z)(at,b);return E||ut.push(b),E})),y=new Map,a=0;Object.keys(at).forEach(function(b){var E=at[b],z=E.level,ee=y.get(z);ee||(ee=new Set,y.set(z,ee)),ee.add(E),a=Math.max(a,z)}),(0,oe.ZP)(!ut.length,"Tree missing follow keys: ".concat(ut.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return rt===!0?x=Me(ie,y,a,He):x=Re(ie,rt.halfCheckedKeys,y,a,He),x}},67841:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return oe}});function oe(ve,Te){return ve[Te]}},71430:function(ht,Dt,te){"use strict";te.d(Dt,{F:function(){return z},H8:function(){return E},I8:function(){return b},km:function(){return ut},oH:function(){return a},w$:function(){return He},zn:function(){return y}});var oe=te(93664),ve=te(95190),Te=te(20439),tt=te(62646),Me=te(11592),Re=te(2738),le=te(48736),ot=te(67841),rt=["children"];function at(ee,ae){return"".concat(ee,"-").concat(ae)}function nt(ee){return ee&&ee.type&&ee.type.isTreeNode}function ut(ee,ae){return ee!=null?ee:ae}function He(ee){var ae=ee||{},ne=ae.title,ge=ae._title,fe=ae.key,Be=ae.children,be=ne||"title";return{title:be,_title:ge||[be],key:fe||"key",children:Be||"children"}}function ie(ee,ae){var ne=new Map;function ge(fe){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(be){var De=be[ae.key],ye=be[ae.children];warning(De!=null,"Tree node must have a certain key: [".concat(Be).concat(De,"]"));var wt=String(De);warning(!ne.has(wt)||De===null||De===void 0,"Same 'key' exist in the Tree: ".concat(wt)),ne.set(wt,!0),ge(ye,"".concat(Be).concat(wt," > "))})}ge(ee)}function y(ee){function ae(ne){var ge=(0,Me.Z)(ne);return ge.map(function(fe){if(!nt(fe))return(0,le.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var Be=fe.key,be=fe.props,De=be.children,ye=(0,tt.Z)(be,rt),wt=(0,Te.Z)({key:Be},ye),pt=ae(De);return pt.length&&(wt.children=pt),wt}).filter(function(fe){return fe})}return ae(ee)}function a(ee,ae,ne){var ge=He(ne),fe=ge._title,Be=ge.key,be=ge.children,De=new Set(ae===!0?[]:ae),ye=[];function wt(pt){var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return pt.map(function(it,dt){for(var St=at(hn?hn.pos:"0",dt),Ft=ut(it[Be],St),Zt,Jt=0;Jt<fe.length;Jt+=1){var Je=fe[Jt];if(it[Je]!==void 0){Zt=it[Je];break}}var kt=(0,Te.Z)((0,Te.Z)({},(0,Re.Z)(it,[].concat((0,ve.Z)(fe),[Be,be]))),{},{title:Zt,key:Ft,parent:hn,pos:St,children:null,data:it,isStart:[].concat((0,ve.Z)(hn?hn.isStart:[]),[dt===0]),isEnd:[].concat((0,ve.Z)(hn?hn.isEnd:[]),[dt===pt.length-1])});return ye.push(kt),ae===!0||De.has(Ft)?kt.children=wt(it[be]||[],kt):kt.children=[],kt})}return wt(ee),ye}function x(ee,ae,ne){var ge={};(0,oe.Z)(ne)==="object"?ge=ne:ge={externalGetKey:ne},ge=ge||{};var fe=ge,Be=fe.childrenPropName,be=fe.externalGetKey,De=fe.fieldNames,ye=He(De),wt=ye.key,pt=ye.children,hn=Be||pt,it;be?typeof be=="string"?it=function(Ft){return Ft[be]}:typeof be=="function"&&(it=function(Ft){return be(Ft)}):it=function(Ft,Zt){return ut(Ft[wt],Zt)};function dt(St,Ft,Zt,Jt){var Je=St?St[hn]:ee,kt=St?at(Zt.pos,Ft):"0",Xt=St?[].concat((0,ve.Z)(Jt),[St]):[];if(St){var Fe=it(St,kt),Ue={node:St,index:Ft,pos:kt,key:Fe,parentPos:Zt.node?Zt.pos:null,level:Zt.level+1,nodes:Xt};ae(Ue)}Je&&Je.forEach(function(Et,sn){dt(Et,sn,{node:St,pos:kt,level:Zt?Zt.level+1:-1},Xt)})}dt(null)}function b(ee){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=ae.initWrapper,ge=ae.processEntity,fe=ae.onProcessFinished,Be=ae.externalGetKey,be=ae.childrenPropName,De=ae.fieldNames,ye=arguments.length>2?arguments[2]:void 0,wt=Be||ye,pt={},hn={},it={posEntities:pt,keyEntities:hn};return ne&&(it=ne(it)||it),x(ee,function(dt){var St=dt.node,Ft=dt.index,Zt=dt.pos,Jt=dt.key,Je=dt.parentPos,kt=dt.level,Xt=dt.nodes,Fe={node:St,nodes:Xt,index:Ft,key:Jt,pos:Zt,level:kt},Ue=ut(Jt,Zt);pt[Zt]=Fe,hn[Ue]=Fe,Fe.parent=pt[Je],Fe.parent&&(Fe.parent.children=Fe.parent.children||[],Fe.parent.children.push(Fe)),ge&&ge(Fe,it)},{externalGetKey:wt,childrenPropName:be,fieldNames:De}),fe&&fe(it),it}function E(ee,ae){var ne=ae.expandedKeys,ge=ae.selectedKeys,fe=ae.loadedKeys,Be=ae.loadingKeys,be=ae.checkedKeys,De=ae.halfCheckedKeys,ye=ae.dragOverNodeKey,wt=ae.dropPosition,pt=ae.keyEntities,hn=(0,ot.Z)(pt,ee),it={eventKey:ee,expanded:ne.indexOf(ee)!==-1,selected:ge.indexOf(ee)!==-1,loaded:fe.indexOf(ee)!==-1,loading:Be.indexOf(ee)!==-1,checked:be.indexOf(ee)!==-1,halfChecked:De.indexOf(ee)!==-1,pos:String(hn?hn.pos:""),dragOver:ye===ee&&wt===0,dragOverGapTop:ye===ee&&wt===-1,dragOverGapBottom:ye===ee&&wt===1};return it}function z(ee){var ae=ee.data,ne=ee.expanded,ge=ee.selected,fe=ee.checked,Be=ee.loaded,be=ee.loading,De=ee.halfChecked,ye=ee.dragOver,wt=ee.dragOverGapTop,pt=ee.dragOverGapBottom,hn=ee.pos,it=ee.active,dt=ee.eventKey,St=(0,Te.Z)((0,Te.Z)({},ae),{},{expanded:ne,selected:ge,checked:fe,loaded:Be,loading:be,halfChecked:De,dragOver:ye,dragOverGapTop:wt,dragOverGapBottom:pt,pos:hn,active:it,key:dt});return"props"in St||Object.defineProperty(St,"props",{get:function(){return(0,le.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ee}}),St}},8224:function(ht,Dt,te){"use strict";te.d(Dt,{Z:function(){return ve}});var oe=te(4676);function ve(Te,tt,Me,Re){var le=oe.unstable_batchedUpdates?function(rt){oe.unstable_batchedUpdates(Me,rt)}:Me;return Te!=null&&Te.addEventListener&&Te.addEventListener(tt,le,Re),{remove:function(){Te!=null&&Te.removeEventListener&&Te.removeEventListener(tt,le,Re)}}}},55468:function(ht,Dt,te){"use strict";te.d(Dt,{g1:function(){return nt},os:function(){return He}});var oe=/margin|padding|width|height|max|min|offset/,ve={left:!0,top:!0},Te={cssFloat:1,styleFloat:1,float:1};function tt(ie){return ie.nodeType===1?ie.ownerDocument.defaultView.getComputedStyle(ie,null):{}}function Me(ie,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return ie.offsetHeight;if(y==="width")return ie.offsetWidth}return y in ve||(ve[y]=oe.test(y)),ve[y]?parseFloat(a)||0:a}function Re(ie,y){var a=arguments.length,x=tt(ie);return y=Te[y]?"cssFloat"in ie.style?"cssFloat":"styleFloat":y,a===1?x:Me(ie,y,x[y]||ie.style[y])}function le(ie,y,a){var x=arguments.length;if(y=Te[y]?"cssFloat"in ie.style?"cssFloat":"styleFloat":y,x===3)return typeof a=="number"&&oe.test(y)&&(a="".concat(a,"px")),ie.style[y]=a,a;for(var b in y)y.hasOwnProperty(b)&&le(ie,b,y[b]);return tt(ie)}function ot(ie){return ie===document.body?document.documentElement.clientWidth:ie.offsetWidth}function rt(ie){return ie===document.body?window.innerHeight||document.documentElement.clientHeight:ie.offsetHeight}function at(){var ie=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ie,height:y}}function nt(){var ie=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:ie,height:y}}function ut(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function He(ie){var y=ie.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(ht,Dt,te){"use strict";te.d(Dt,{G:function(){return tt}});var oe=te(47273),ve=function(Re){if((0,oe.Z)()&&window.document.documentElement){var le=Array.isArray(Re)?Re:[Re],ot=window.document.documentElement;return le.some(function(rt){return rt in ot.style})}return!1},Te=function(Re,le){if(!ve(Re))return!1;var ot=document.createElement("div"),rt=ot.style[Re];return ot.style[Re]=le,ot.style[Re]!==rt};function tt(Me,Re){return!Array.isArray(Me)&&Re!==void 0?Te(Me,Re):ve(Me)}},96908:function(ht){"use strict";ht.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhL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