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.
251 lines
967 KiB
251 lines
967 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[1953],{89489:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},59477:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},26227:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={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"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},49198:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},41464:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={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"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},87169:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},52671:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},8657:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},56082:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},33853:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},12893:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},15075:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},32134:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-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 8h152v152c0 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-8z"}},{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"}}]},name:"plus-circle",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},43531:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},38819:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return $e}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ze,Ye){return ie.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:Ye,icon:Ge}))},re=ie.forwardRef(Fe),$e=re},88010:function(Ft,Rt){"use strict";Rt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},43809:function(Ft,Rt){"use strict";Rt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},74413:function(){"use strict";function Ft(oe,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=oe,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(Ft.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(Ft.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(Ft.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(Ft.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,y){var a=go.Shape._FigureParameters[oe];return a?a[y]:null},go.Shape.setFigureParameter=function(oe,y,a){if(!(a instanceof Ft))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 b=go.Shape._FigureParameters[oe];b||(b=[],go.Shape._FigureParameters[oe]=b),b[y]=a};var Rt=[];function te(oe,y){var a=Rt.pop();return a===void 0?new go.Point(oe,y):(a.x=oe,a.y=y,a)}function ee(){var oe=Rt.pop();return oe===void 0?new go.Point:oe}function ie(oe){Rt.push(oe)}function we(oe,y,a,b,E,x,z,ne,ae){ae||(ae=new go.Point);var le=oe-a,de=E-z,ge=NaN,be=NaN;if(le===0)if(de===0)oe===a&&(ge=oe,be=y);else{var fe=(x-ne)/de,Le=x-fe*E;ge=oe,be=fe*ge+Le}else if(de===0){var ue=(y-b)/le,ot=y-ue*oe;ge=E,be=ue*ge+ot}else{var ue=(y-b)/le,fe=(x-ne)/de,ot=y-ue*oe,Le=x-fe*E;ge=(Le-ot)/(ue-fe),be=ue*ge+ot}return ae.x=ge,ae.y=be,ae}function Ge(oe,y,a,b,E,x,z,ne,ae,le,de,ge,be,fe){var Le=1-ae,ue=ae,ot=oe*Le+a*ue,De=y*Le+b*ue,Je=a*Le+E*ue,ye=b*Le+x*ue,ke=E*Le+z*ue,qe=x*Le+ne*ue,Xe=ot*Le+Je*ue,Ve=De*Le+ye*ue,kt=Je*Le+ke*ue,_e=ye*Le+qe*ue,Ot=Xe*Le+kt*ue,en=Ve*Le+_e*ue;le.x=ot,le.y=De,de.x=Xe,de.y=Ve,ge.x=Ot,ge.y=en,be.x=kt,be.y=_e,fe.x=ke,fe.y=qe}var Ce=new go.Spot(.156,.156),Fe=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ft("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*re,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(oe,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*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(oe,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=Ce,E.spot2=Fe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(oe,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(oe,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,re*y,0,y,(1-re)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,re*a,(1-re)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,re*a,re*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-re)*y,0,0,(1-re)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,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(oe,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(oe,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(oe,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 Ft("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Ft("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-y?b=-y:b>y&&(b=y);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new Ft("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Ft("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=20:b<-y?b=-y/2:b>y&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new Ft("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)?b=10:b<-y?b=-y/2:b>y&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E<y/2&&x.setSpots(E/y,0,(y-E)/y,1),x}});var $e=[];function Ue(){var oe=$e.pop();return oe===void 0?[]:oe}function ze(oe){oe.length=0,$e.push(oe)}function Ye(oe){for(var y=Ue(),a=.5,b=.5,E=Math.PI*1.5,x=0,z=0;z<oe;z++)x=2*Math.PI/oe*z+E,y[z]=new go.Point(b+a*Math.cos(x),b+a*Math.sin(x));return y.push(y[0]),y}function pt(oe){var y=Te(oe),a=Ue();a[0]=y[0];for(var b=1,E=1;b<y.length;b+=2,E+=3)a[E]=y[b],a[E+1]=y[b],a[E+2]=y[b+1];return ze(y),a}function Te(oe){for(var y=Ye(oe),a=Ue(),b=Math.floor(y.length/2),E=y.length-1,x=oe%2===0?2:1,z=0;z<E;z++){var ne=y[z],ae=y[z+1],le=y[(b+z-1)%E],de=y[(b+z+x)%E];a[z*2]=ne,a[z*2+1]=we(ne.x,ne.y,le.x,le.y,ae.x,ae.y,de.x,de.y,new go.Point)}return a[a.length]=a[0],ze(y),a}go.Shape.defineFigureGenerator("Pentagon",function(oe,y,a){var b=Ye(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<5;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(oe,y,a){var b=Ye(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<6;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(oe,y,a){var b=Ye(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<7;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(oe,y,a){var b=Ye(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<8;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(oe,y,a){var b=Ye(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<9;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(oe,y,a){var b=Ye(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<10;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(oe,y,a){var b=Ye(12),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<12;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(oe,y,a){var b=Te(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<10;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(oe,y,a){var b=Te(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<12;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(oe,y,a){var b=Te(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<14;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(oe,y,a){var b=Te(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<16;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(oe,y,a){var b=Te(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<18;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(oe,y,a){var b=Te(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<20;z++)x.add(new go.PathSegment(go.PathSegment.Line,b[z].x*y,b[z].y*a));return x.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(oe,y,a){var b=pt(5),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(oe,y,a){var b=pt(6),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(oe,y,a){var b=pt(7),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(oe,y,a){var b=pt(8),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(oe,y,a){var b=pt(9),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(oe,y,a){var b=pt(10),E=new go.Geometry,x=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(x);for(var z=1;z<b.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,b[z+2].x*y,b[z+2].y*a,b[z].x*y,b[z].y*a,b[z+1].x*y,b[z+1].y*a));return x.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new Ft("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Ft("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(oe,y,a){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var x=new go.Geometry,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,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<y/2&&E<a/2&&(z.add(new go.PathSegment(go.PathSegment.Move,b,E)),z.add(new go.PathSegment(go.PathSegment.Line,b,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,y-b,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,y-b,E).close())),x.setSpots(0,0,1,1,b,E,-b,-E),x}),go.Shape.setFigureParameter("Ring",0,new Ft("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=y/2,x=new go.Geometry,z=new go.PathFigure(y,y/2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var ne=Math.max(E-b,0);return ne>0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ne,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ne,ne).close())),x.spot1=Ce,x.spot2=Fe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(oe,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(oe,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Ft("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ft("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,y,a){var b=oe?oe.parameter1:NaN,E=oe?oe.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var z=E%360,ne=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,z,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,y,a){var b=re/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,x*a,y,(1-b)*a,(E+b)*y,(x+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,y,a){var b=oe?oe.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),y===0||a===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 x=y/2,z=a/2,ne=Math.atan2(a,y),ae=b-Math.min(Math.cos(ne)*b/2,x),le=b-Math.min(Math.sin(ne)*b/2,z),E=new go.Geometry,de=new go.PathFigure(ae,0,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),de.add(new go.PathSegment(go.PathSegment.Line,y-ae,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,le)),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,y,a-le)),de.add(new go.PathSegment(go.PathSegment.Line,y-ae,a)),de.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),de.add(new go.PathSegment(go.PathSegment.Line,ae,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Ft("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ft("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,re*y,0,y,(.5-re/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+re/2)*a,re*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,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(oe,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(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ne=0,ae=x*re;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ae+ne)*a,(.5-ae+z)*y,(.5+x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+ae+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-ae+ne)*a,(.5+ae+z)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ae+z)*y,(.5-x+ne)*a,(.5-x+z+.05)*y,(.5-ae+ne-.02)*a)),x=.2,z=0,ne=-.3,ae=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+ae+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-ae+ne)*a,(.5+ae+z)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-ae+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ae+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ae+ne)*a,(.5-ae+z)*y,(.5+x+ne)*a)),x=.2,z=-.3,ne=0,ae=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z-.05)*y,(.5-ae+ne-.02)*a,(.5+ae+z)*y,(.5-x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-ae+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-ae+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+ae+ne)*a,(.5-ae+z)*y,(.5+x+ne)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ae+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+ae+ne)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ne=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ne*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ne,x*y,x*y).close()),E=new go.PathFigure(y*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ne=.75,E=new go.PathFigure((z+x)*y,ne*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ne,x*y,x*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(oe,y,a){var b=.8535533905932737,E=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=.5,ne=.5,ae=new go.PathFigure(z*y,(ne-x)*a);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),x=.4,E=re*.4;var le=ee(),de=ee(),ge=ee(),be=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.42,le,de,ge,be,be);var fe=ee(),Le=ee(),ue=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.58,be,be,ue,fe,Le);var ot=ee(),De=ee(),Je=ee();Ge(z,ne+x,z-E,ne+x,z-x,ne+E,z-x,ne,.42,ot,De,Je,be,be);var ye=ee(),ke=ee(),qe=ee();return Ge(z,ne+x,z-E,ne+x,z-x,ne+E,z-x,ne,.58,be,be,qe,ye,ke),ae.add(new go.PathSegment(go.PathSegment.Move,qe.x*y,qe.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,ye.x*y,ye.y*a,ke.x*y,ke.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*y,ge.y*a,le.x*y,le.y*a,de.x*y,de.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,qe.x*y,qe.y*a).close()),ae.add(new go.PathSegment(go.PathSegment.Move,Je.x*y,Je.y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,ue.x*y,ue.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,fe.x*y,fe.y*a,Le.x*y,Le.y*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Je.x*y,Je.y*a,ot.x*y,ot.y*a,De.x*y,De.y*a).close()),ie(le),ie(de),ie(ge),ie(be),ie(fe),ie(Le),ie(ue),ie(ot),ie(De),ie(Je),ie(ye),ie(ke),ie(qe),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(oe,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 Ft("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.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,E,.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(oe,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(oe,y,a){var b=new go.Geometry,E=re*.4,x=.4,z=.5,ne=.5,ae=ee(),le=ee(),de=ee(),ge=ee(),be=new go.PathFigure((z-x)*y,ne*a,!1);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.44,de,ge,le,ae,ae),be.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,de.x*y,de.y*a,ge.x*y,ge.y*a));var fe=te(le.x,le.y);Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.56,ae,ae,le,de,ge);var Le=te(le.x,le.y);be.add(new go.PathSegment(go.PathSegment.Line,(fe.x*.1+.95*.9)*y,fe.y*.1*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,fe.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,(Le.x*.1+.9)*y,.15*a)),be.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.9)*y,(Le.y*.1+.05*.9)*a)),be.add(new go.PathSegment(go.PathSegment.Line,Le.x*y,Le.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,de.x*y,de.y*a,ge.x*y,ge.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),x=.35,E=re*.35;var ue=new go.PathFigure(z*y,(ne-x)*a,!1);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a));var ot=new go.PathFigure((z-x)*y,ne*a,!1);return b.add(ot),ie(ae),ie(le),ie(de),ie(ge),ie(fe),ie(Le),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(oe,y,a){var b=new go.Geometry,E=.375,x=0,z=-.125,ne=E*re,ae=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ne+z)*a,(.5+ne+x)*y,(.5-E+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,(.5+E+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()),E=.325,x=0,z=-.125,ne=E*re;var ae=new go.PathFigure((1-.5+E+x)*y,(.5+z)*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ne+z)*a,(.5+ne+x)*y,(.5+E+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ne+z)*a,(.5-ne+x)*y,(.5-E+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ne+z)*a));var ae=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);return b.add(ae),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(oe,y,a){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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(oe,y,a){var b=oe?oe.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,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(oe,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(oe,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(oe,y,a){var b=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 b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,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(oe,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(oe,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(oe,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(oe,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(oe,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ft("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ft("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*y,z=(.5-E/2)*a,ne=(.5+E/2)*a,ae=new go.Geometry,le=new go.PathFigure(0,z,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),le.add(new go.PathSegment(go.PathSegment.Line,x,0)),le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,x,a)),le.add(new go.PathSegment(go.PathSegment.Line,x,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ae.spot1=new go.Spot(0,z/a);var de=we(0,ne/a,1,ne/a,x/y,1,1,.5,ee());return ae.spot2=new go.Spot(de.x,de.y),ie(de),ae}),go.Shape.setFigureParameter("Arrow2",0,new Ft("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ft("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var x=y-b,z=(a-E)/2,ne=z+E,ae=new go.Geometry,le=new go.PathFigure(0,z,!0);ae.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),le.add(new go.PathSegment(go.PathSegment.Line,x,0)),le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,x,a)),le.add(new go.PathSegment(go.PathSegment.Line,x,ne)),le.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ae.spot1=new go.Spot(0,z/a);var de=we(0,ne/a,1,ne/a,x/y,1,1,.5,ee());return ae.spot2=new go.Spot(de.x,de.y),ie(de),ae}),go.Shape.defineFigureGenerator("Chevron",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ft("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ae=we(0,.5,.3,0,0,E/a,.1,E/a,ee());return z.spot1=new go.Spot(ae.x,ae.y),ae=we(.7,1,1,.5,0,x/a,1,x/a,ae),z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ft("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ft("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ne=(a-E)/2,ae=ne+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ne=0,ae=a):(x=0,z=a,ne=0,ae=a));var le=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close());var ge=we(0,.5,.3,ne/a,0,x/a,1,x/a,ee());return le.spot1=new go.Spot(ge.x,ge.y),ge=we(.7,ae/a,1,.5,0,z/a,1,z/a,ge),le.spot2=new go.Spot(ge.x,ge.y),ie(ge),le}),go.Shape.setFigureParameter("IBeamArrow",0,new Ft("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,E/a);var ae=we(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ft("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ft("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=40);var E=oe?oe.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ne=(a-E)/2,ae=ne+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ne=0,ae=a):(x=0,z=a,ne=0,ae=a));var le=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,0,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close()),le.spot1=new go.Spot(0,x/a);var ge=we(.7,ae/a,1,.5,0,z/a,1,z/a,ee());return le.spot2=new go.Spot(ge.x,ge.y),ie(ge),le}),go.Shape.setFigureParameter("Pointer",0,new Ft("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var z=we(.2,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),ie(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Ft("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var z=we(0,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),ie(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ft("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var ae=we(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ft("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,x=E+b;b>a&&(E=0,x=a);var z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,E/a);var ae=we(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),ie(ae),z}),go.Shape.setFigureParameter("SquareArrow",0,new Ft("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(0,.9*a,!0);return b.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+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(0,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+x)*y,0,1*y,re*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-re*b,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,1*a,0,a-re*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ne=new go.PathFigure(y,b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-re*b,(.5+x)*y,2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*y,2*b,0,2*b-re*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(0,a-b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+x)*y,0,y,re*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-re*b,(.5+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,a,0,a-re*b));var ne=new go.PathFigure(0,a-b,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-re*b,(.5-x)*y,a-2*b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+x)*y,a-2*b,y,a-b-re*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0));var ne=new go.PathFigure(b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+re*b,0,2*b,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+x)*a,b+re*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(y-b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var ne=new go.PathFigure(y-b,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-re*b,0,y-2*b,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+x)*a,y-b-re*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(oe,y,a){var b=new go.Geometry,E=.2,x=.1,z=re*E,ne=re*x,ae=.5,le=.1,de=new go.PathFigure(ae*y,(le+x)*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-E)*y,le*a,(ae-z)*y,(le+x)*a,(ae-E)*y,(le+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-x)*a,(ae-E)*y,(le-ne)*a,(ae-z)*y,(le-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+E)*y,le*a,(ae+z)*y,(le-x)*a,(ae+E)*y,(le-ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+x)*a,(ae+E)*y,(le+ne)*a,(ae+z)*y,(le+x)*a));var ge=.05,be=re*ge;ae=.05,le=.25;var fe=new go.PathFigure(.5*y,.2*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ae=.95,le=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ge)*y,le*a,(ae+be)*y,(le-ge)*a,(ae+ge)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ge=.025,be=re*ge,ae=.825,le=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ge)*a,(ae+ge)*y,(le-be)*a,(ae+be)*y,(le-ge)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ge)*y,le*a,(ae-be)*y,(le-ge)*a,(ae-ge)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ge=.05,be=re*ge,ae=.5,le=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ge)*a,(ae+ge)*y,(le-be)*a,(ae+be)*y,(le-ge)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ge)*y,le*a,(ae-be)*y,(le-ge)*a,(ae-ge)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ge=.025,be=re*ge,ae=.175,le=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ge)*a,(ae+ge)*y,(le-be)*a,(ae+be)*y,(le-ge)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ge)*y,le*a,(ae-be)*y,(le-ge)*a,(ae-ge)*y,(le-be)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ge=.05,be=re*ge,ae=.05,le=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ge)*a,(ae-ge)*y,(le-be)*a,(ae-be)*y,(le-ge)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Ft("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,y,a){var b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(y,.1*a,!0);b.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+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*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-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+E)*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+x)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(y,.1*a,!0);b.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+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*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-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=re*.2,z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*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+x)*y,0,y,(.2-x)*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+x)*a,(.8+x)*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-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ne=new go.PathFigure(0,E*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(oe,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(oe,y,a){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,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.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 ne=new go.PathFigure(E*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),b}),go.Shape.defineFigureGenerator("Junction",function(oe,y,a){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=re*.5,ne=.5,ae=new go.PathFigure(y,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,y,(ne+z)*a,(ne+z)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-z)*y,a,0,(ne+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,0,0,(ne-z)*a,(ne-z)*y,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,ne*a,(ne+z)*y,0,y,(ne-z)*a));var le=new go.PathFigure((x+E)*y,(x+E)*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),le.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+E)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(x+E)*y,x*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+E)*a,(x+E)*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)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(oe,y,a){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,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(oe,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,z=new go.PathFigure(0,0,!0);b.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 ne=new go.PathFigure(.5*E*y,E*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ne=new go.PathFigure(y,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(oe,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-E)*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*y,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.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)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,y,a){var b=new go.Geometry,E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(oe,y,a){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,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ne=new go.PathFigure(y,x*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var ae=new go.PathFigure(.8*y,.75*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Ground",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*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,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(oe,y,a){var b=new go.Geometry,E=re*.1,x=.1,z=.9,ne=.5,ae=new go.PathFigure(.8*y,.5*a,!0);b.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 le=new go.PathFigure((z+x)*y,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne-x)*a,(z+x)*y,(ne-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=re*.4,z=re*.1,ne=.1,ae=.9,le=.5,de=new go.PathFigure(.8*y,.5*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-x)*a));var ge=new go.PathFigure((ae+ne)*y,le*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+ne)*a,(ae+ne)*y,(le+z)*a,(ae+z)*y,(le+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y,le*a,(ae-z)*y,(le+ne)*a,(ae-ne)*y,(le+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-ne)*a,(ae-ne)*y,(le-z)*a,(ae-z)*y,(le-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y,le*a,(ae+z)*y,(le-ne)*a,(ae+ne)*y,(le-z)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=0,ne=.5,ae=new go.PathFigure(.8*y,.5*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ne+x)*a,(z+x)*y,(ne+E)*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+x)*y,(ne-E)*a,.7*y,(ne-x)*a)),E=.1,x=re*.1,z=.9,ne=.5;var le=new go.PathFigure((z-E)*y,ne*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=0,ne=.5,ae=new go.PathFigure(0,0,!0);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ne-E)*a,.8*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ne+x)*a,(z+x+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=.2,ne=.5,ae=new go.PathFigure(.1*y,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var le=new go.PathFigure(.8*y,.5*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ne-E)*a,.7*y,(ne-x)*a)),E=.1,x=re*.1,z=.9,ne=.5;var de=new go.PathFigure((z-E)*y,ne*a,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*E,z=.2,ne=.5,ae=new go.PathFigure(.1*y,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var le=new go.PathFigure(.2*y,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ne-E)*a,.9*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(oe,y,a){var b=new go.Geometry,E=re*.1,x=.1,z=.1,ne=.5,ae=new go.PathFigure((z-E*.5)*y,a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.3,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.5,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.7,ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.9,ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E*.5)*y,a,(z+x)*y,0,(z+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=.5,ne=.5,ae=new go.PathFigure((z-x)*y,ne*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne-x)*a,(z+x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ne*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ne*a,z*y,(ne-x)*a,z*y,(ne+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Diode",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*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,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(oe,y,a){var b=new go.Geometry,E=y,x=a;y=y*.38,a=a*.6;var z=re*.8,ne=.8,ae=0,le=.5,de=(E-y)/2,ge=(x-a)/2,be=new go.PathFigure(ae*y+de,(le+ne)*a+ge,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+de,le*a+ge,(ae-z)*y+de,(le+ne)*a+ge,(ae-ne)*y+de,(le+z)*a+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le-ne)*a+ge,(ae-ne)*y+de,(le-z)*a+ge,(ae-z)*y+de,(le-ne)*a+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+z*.5)*y+de,le*a+ge,ae*y+de,(le-ne)*a+ge,(ae-ne+z*.5)*y+de,(le-z)*a+ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le+ne)*a+ge,(ae-ne+z*.5)*y+de,(le+z)*a+ge,ae*y+de,(le+ne)*a+ge).close()),z=re*.4,ne=.4,ae=.2,le=.5;var fe=new go.PathFigure(ae*y+de,(le+ne)*a+ge,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+de,le*a+ge,(ae-z)*y+de,(le+ne)*a+ge,(ae-ne)*y+de,(le+z)*a+ge)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le-ne)*a+ge,(ae-ne)*y+de,(le-z)*a+ge,(ae-z)*y+de,(le-ne)*a+ge)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+z*.5)*y+de,le*a+ge,ae*y+de,(le-ne)*a+ge,(ae-ne+z*.5)*y+de,(le-z)*a+ge)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le+ne)*a+ge,(ae-ne+z*.5)*y+de,(le+z)*a+ge,ae*y+de,(le+ne)*a+ge).close()),z=re*.2,ne=.2,ae=.5,le=.5;var Le=new go.PathFigure((ae-ne)*y+de,le*a+ge,!0);b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le-ne)*a+ge,(ae-ne)*y+de,(le-z)*a+ge,(ae-z)*y+de,(le-ne)*a+ge)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+de,le*a+ge,(ae+z)*y+de,(le-ne)*a+ge,(ae+ne)*y+de,(le-z)*a+ge)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le+ne)*a+ge,(ae+ne)*y+de,(le+z)*a+ge,(ae+z)*y+de,(le+ne)*a+ge)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+de,le*a+ge,(ae-z)*y+de,(le+ne)*a+ge,(ae-ne)*y+de,(le+z)*a+ge)),z=re*.4,ne=.4,ae=.8,le=.5;var ue=new go.PathFigure(ae*y+de,(le-ne)*a+ge,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+de,le*a+ge,(ae+z)*y+de,(le-ne)*a+ge,(ae+ne)*y+de,(le-z)*a+ge)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le+ne)*a+ge,(ae+ne)*y+de,(le+z)*a+ge,(ae+z)*y+de,(le+ne)*a+ge)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-z*.5)*y+de,le*a+ge,ae*y+de,(le+ne)*a+ge,(ae+ne-z*.5)*y+de,(le+z)*a+ge)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le-ne)*a+ge,(ae+ne-z*.5)*y+de,(le-z)*a+ge,ae*y+de,(le-ne)*a+ge).close()),z=re*.8,ne=.8,ae=1,le=.5;var ot=new go.PathFigure(ae*y+de,(le-ne)*a+ge,!0);return b.add(ot),ot.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+de,le*a+ge,(ae+z)*y+de,(le-ne)*a+ge,(ae+ne)*y+de,(le-z)*a+ge)),ot.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le+ne)*a+ge,(ae+ne)*y+de,(le+z)*a+ge,(ae+z)*y+de,(le+ne)*a+ge)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-z*.5)*y+de,le*a+ge,ae*y+de,(le+ne)*a+ge,(ae+ne-z*.5)*y+de,(le+z)*a+ge)),ot.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(le-ne)*a+ge,(ae+ne-z*.5)*y+de,(le-z)*a+ge,ae*y+de,(le-ne)*a+ge).close()),b}),go.Shape.defineFigureGenerator("Email",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);b.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 ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(oe,y,a){var b=new go.Geometry,E=re*.4,x=.4,z=.5,ne=.5,ae=ee(),le=ee(),de=ee(),ge=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.5,ae,ae,le,de,ge);var be=te(le.x,le.y),fe=new go.PathFigure(le.x*y,le.y*a,!0);b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,de.x*y,de.y*a,ge.x*y,ge.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),Ge(z-x,ne,z-x,ne-E,z-E,ne-x,z,ne-x,.5,de,ge,le,ae,ae),fe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,de.x*y,de.y*a,ge.x*y,ge.y*a)),E=re*.3,x=.3,Ge(z-x,ne,z-x,ne-E,z-E,ne-x,z,ne-x,.5,de,ge,le,ae,ae),fe.add(new go.PathSegment(go.PathSegment.Line,le.x*y,le.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,ge.x*y,ge.y*a,de.x*y,de.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.5,ae,ae,le,de,ge),fe.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,ge.x*y,ge.y*a,de.x*y,de.y*a).close());var fe=new go.PathFigure(.45*y,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ie(ae),ie(le),ie(de),ie(ge),ie(be),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ne,ae){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*y,(.8+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*y,(.5+ae)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*y,(.8+ae)*a).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,y,a){var b=new go.Geometry,E=.5,x=0,z=0,ne=E*re,ae=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,de=1,ge=.5,be=.5,fe=0,Le=new go.PathFigure(ae*y,(1-le)*a,!1);return b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,de*y,ge*a,de*y,.7*a,de*y,ge*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(be+x)*y,(fe+x)*a,(.5+E+x)*y,(.5-ne+x)*a,(.5+ne+x)*y,(.5-E+x)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ne+z)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-E+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,.9*a)),Le.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(0,.5*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ne=.5,ae=z,le=Math.PI/4,de=4*(1-Math.cos(le))/(3*Math.sin(le)),ge=de*.5,be=z,fe=z,Le=de*be,ue=de*fe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-be)*y,ae*a,(ne-(Le+be)/2)*y,(ae+(fe+ue)/2)*a,(ne-be)*y,(ae+ue)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-fe)*a,(ne-be)*y,(ae-ue)*a,(ne-Le)*y,(ae-fe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+be)*y,ae*a,(ne+Le)*y,(ae-fe)*a,(ne+be)*y,(ae-ue)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+be)*y,(ae+ue)*a,(ne+(Le+be)/2)*y,(ae+(fe+ue)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var ot=new go.PathFigure(.2*y,a,!1);b.add(ot),ot.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var De=new go.PathFigure(.8*y,a,!1);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(.1*y,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Caution",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=new go.PathFigure(y,E*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+x)*a,(E+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-x)*y,a,0,(E+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-x)*a,(E-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+x)*y,0,y,(E-x)*a));var ne=new go.PathFigure(E*y,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),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,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ne=re*.1,ae=.2,le=.9,de=new go.PathFigure((ae-z)*y,le*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-z)*a,(ae-z)*y,(le-ne)*a,(ae-ne)*y,(le-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,le*a,(ae+ne)*y,(le-z)*a,(ae+z)*y,(le-ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+z)*a,(ae+z)*y,(le+ne)*a,(ae+ne)*y,(le+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,le*a,(ae-ne)*y,(le+z)*a,(ae-z)*y,(le+ne)*a).close()),z=.1,ne=re*.1,ae=.8,le=.9;var ge=new go.PathFigure((ae-z)*y,le*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le-z)*a,(ae-z)*y,(le-ne)*a,(ae-ne)*y,(le-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,le*a,(ae+ne)*y,(le-z)*a,(ae+z)*y,(le-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(le+z)*a,(ae+z)*y,(le+ne)*a,(ae+ne)*y,(le+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,le*a,(ae-ne)*y,(le+z)*a,(ae-z)*y,(le+ne)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);b.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 ne=new go.PathFigure(.5*y,.7*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ae=.1,le=re*.1,de=.1,ge=.9,be=new go.PathFigure((de-ae)*y,ge*a,!0);b.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge-ae)*a,(de-ae)*y,(ge-le)*a,(de-le)*y,(ge-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y,ge*a,(de+le)*y,(ge-ae)*a,(de+ae)*y,(ge-le)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge+ae)*a,(de+ae)*y,(ge+le)*a,(de+le)*y,(ge+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y,ge*a,(de-le)*y,(ge+ae)*a,(de-ae)*y,(ge+le)*a)),ae=.1,le=re*.1,de=.4,ge=.9;var fe=new go.PathFigure((de-ae)*y,ge*a,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge-ae)*a,(de-ae)*y,(ge-le)*a,(de-le)*y,(ge-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y,ge*a,(de+le)*y,(ge-ae)*a,(de+ae)*y,(ge-le)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge+ae)*a,(de+ae)*y,(ge+le)*a,(de+le)*y,(ge+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y,ge*a,(de-le)*y,(ge+ae)*a,(de-ae)*y,(ge+le)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);b.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 de=.05,ge=re*.05,be=.175,fe=.95,ne=new go.PathFigure((be-de)*y,fe*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-de)*a,(be-de)*y,(fe-ge)*a,(be-ge)*y,(fe-de)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*y,fe*a,(be+ge)*y,(fe-de)*a,(be+de)*y,(fe-ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+de)*a,(be+de)*y,(fe+ge)*a,(be+ge)*y,(fe+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*y,fe*a,(be-ge)*y,(fe+de)*a,(be-de)*y,(fe+ge)*a));var de=.05,ge=re*.05,be=.375,fe=.95,ae=new go.PathFigure((be-de)*y,fe*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-de)*a,(be-de)*y,(fe-ge)*a,(be-ge)*y,(fe-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*y,fe*a,(be+ge)*y,(fe-de)*a,(be+de)*y,(fe-ge)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+de)*a,(be+de)*y,(fe+ge)*a,(be+ge)*y,(fe+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*y,fe*a,(be-ge)*y,(fe+de)*a,(be-de)*y,(fe+ge)*a));var de=.05,ge=re*.05,be=.625,fe=.95,le=new go.PathFigure((be-de)*y,fe*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-de)*a,(be-de)*y,(fe-ge)*a,(be-ge)*y,(fe-de)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*y,fe*a,(be+ge)*y,(fe-de)*a,(be+de)*y,(fe-ge)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+de)*a,(be+de)*y,(fe+ge)*a,(be+ge)*y,(fe+de)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*y,fe*a,(be-ge)*y,(fe+de)*a,(be-de)*y,(fe+ge)*a));var de=.05,ge=re*.05,be=.825,fe=.95,Le=new go.PathFigure((be-de)*y,fe*a,!0);b.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe-de)*a,(be-de)*y,(fe-ge)*a,(be-ge)*y,(fe-de)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(be+de)*y,fe*a,(be+ge)*y,(fe-de)*a,(be+de)*y,(fe-ge)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,be*y,(fe+de)*a,(be+de)*y,(fe+ge)*a,(be+ge)*y,(fe+de)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(be-de)*y,fe*a,(be-ge)*y,(fe+de)*a,(be-de)*y,(fe+ge)*a).close());var ue=new go.PathFigure(0,a,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);b.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 ne=.05,ae=re*.05,le=.35,de=.775,ge=new go.PathFigure((le-ne)*y,de*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(de-ne)*a,(le-ne)*y,(de-ae)*a,(le-ae)*y,(de-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*y,de*a,(le+ae)*y,(de-ne)*a,(le+ne)*y,(de-ae)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(de+ne)*a,(le+ne)*y,(de+ae)*a,(le+ae)*y,(de+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*y,de*a,(le-ae)*y,(de+ne)*a,(le-ne)*y,(de+ae)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*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.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),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)),b}),go.Shape.defineFigureGenerator("Bookmark",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),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)),b}),go.Shape.defineFigureGenerator("Globe",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(oe,y,a){var b=new go.Geometry,E=.3,x=re*.3,z=.5,ne=.7,ae=new go.PathFigure((z-E)*y,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a));var le=new go.PathFigure(0,.7*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),b}),go.Shape.defineFigureGenerator("Battery",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*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.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=.5,ne=.5,ae=new go.PathFigure((z-E)*y,ne*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a));var le=new go.PathFigure(.15*y,.5*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(oe,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=.5,ne=.5,ae=new go.PathFigure((z-E)*y,ne*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a).close()),E=.05,x=re*.05,z=.5,ne=.8;var le=new go.PathFigure((z-E)*y,ne*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ne*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);b.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 ne=new go.PathFigure(.678*y,.85*a,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ae=new go.PathFigure(.5*y,.1*a,!1);return b.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()),b}),go.Shape.defineFigureGenerator("Staircase",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);b.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 ne=new go.PathFigure(y*.612,a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ae=new go.PathFigure(y*.816,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("PC",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);b.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 ne=new go.PathFigure(y*.055,.18*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ae=new go.PathFigure(y*1,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Plane",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);b.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 ne=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ne.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 b.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()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,y,a){var b=new go.Geometry,E=8,x=E*re,z=new go.PathFigure(E,0,!1);b.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-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ne=new go.PathFigure(y*.83,0,!1);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ae=new go.PathFigure(y*.83,a*1,!1);b.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 le=new go.PathFigure(y*.78,a*.05,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,y,a){var b=oe?oe.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*re,x=a*.8,z=new go.Geometry,ne=new go.PathFigure(b,0,!0);return z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,x,y,x-E,y-E,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,b,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,.8,-E,-E)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(oe,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(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Beaker",function(oe,y,a){var b=new go.Geometry,E=15,x=E*re,z=new go.PathFigure(y*.62,a*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),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()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Bin",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(oe,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),b}),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")},80727: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 Ft={},Rt="5.0",te={},ee=null,ie=!1,we=!1,Ge=null,Ce=!1,Fe=null,re=null,$e=0;$e<arguments.length;$e++){var Ue=arguments[$e];if(Ue!==null)switch(typeof Ue){case"number":Rt=Ue.toFixed(1);break;case"string":Ue.match(new RegExp("^[0-9]\\.[0-9]+$"))?Rt=Ue:Ge=Ue;break;case"object":typeof Ue.is3D!="undefined"?ee=Ue:te=Ue;break;case"boolean":ie=Ue,we=!0;break}}ee===null&&(ee={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&&!we&&(ie=!0)),Ge!==null&&te.id===void 0&&(te.id=Ge);var ze="",Ye="",pt=!1,Te=null,oe=null,y=null,a=!1,b=null,E=null,x=null,z=null,ne=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ae=function(Me){return parseFloat(Me)>4?parseFloat(Me):5};Ft.setHTML5Codebase=function(Me,Ze){re=Me,_e(Me,Ze)},Ft.setJavaCodebase=Ft.setJavaCodebaseVersion=Ft.isCompiledInstalled=Ft.setPreCompiledScriptPath=Ft.setPreCompiledResourcePath=function(){},Ft.setHTML5CodebaseVersion=function(Me,Ze){var yt=parseFloat(Me);if(yt!==NaN&&yt<5){console.log("The GeoGebra HTML5 codebase version "+yt+" is deprecated. Using version latest instead.");return}Fe=Me,kt(Me,Ze)},Ft.getHTML5CodebaseVersion=function(){return oe},Ft.getParameters=function(){return te},Ft.setFontsCSSURL=function(Me){z=Me},Ft.setGiacJSURL=function(Me){},Ft.setJNLPFile=function(Me){ze=Me},Ft.setJNLPBaseDir=function(Me){},Ft.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ze="auto",yt=te.id,Ut,ft=!1,Qt=0;Qt<arguments.length;Qt++){var Be=arguments[Qt];typeof Be=="string"?(Be=Be.toLowerCase(),Be.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ze=Be:yt=arguments[Qt]):typeof Be=="boolean"?ft=Be:Be instanceof HTMLElement&&(Ut=Be)}$t();function $t(){if(!Ce){setTimeout($t,200);return}Ze=Xe(Ze);var hn=Ut||document.getElementById(yt);if(!hn){console.log("possibly bug on ajax loading? ");return}if(Ft.removeExistingApplet(hn,!1),te.width===void 0&&hn.clientWidth&&(te.width=hn.clientWidth),te.height===void 0&&hn.clientHeight&&(te.height=hn.clientHeight),!(te.width&&te.height)&&Ze==="html5"&&(delete te.width,delete te.height),Te=Ze,Ze==="screenshot")De(hn,te);else{var St=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?St=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(St=(!le()||Me())&&de()),St?(Te="screenshot",ye(hn,te,ft,Ze)):ot(hn,te,ft)}}};function le(){try{return window.self!==window.top}catch(Me){return!0}}function de(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ft.getViews=function(){return ee},Ft.isJavaInstalled=function(){return!1};var ge=function(Me){var Ze=function(Qt){var Be=JSON.parse(Qt),$t=function(ct){return ct.type=="G"||ct.type=="E"},hn=Be.elements?Be.elements.filter($t)[0]:Be;if(!hn||!hn.url){yt();return}te.fileName=hn.url,be(hn.settings||{}),ee.is3D=!0;var St="https://www.geogebra.org/images/";Ft.setPreviewImage(b||hn.previewUrl,St+"GeoGebra_loading.png",St+"applet_play.png"),Me()},yt=function(){te.onError&&te.onError(),Ot("Error: Fetching material (id "+te.material_id+") failed.",te)},Ut=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ft="/materials/"+te.material_id+"?scope=basic";fe("https://"+Ut+"/api/proxy.php?path="+encodeURIComponent(ft),Ze,yt)};function be(Me){var Ze=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(yt){Me[yt]=!!Me[yt]}),Ze.forEach(function(yt){te[yt]===void 0&&Me[yt]!==void 0&&(te[yt]=Me[yt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function fe(Me,Ze,yt){var Ut=new XMLHttpRequest;Ut.open("GET",Me),Ut.onload=function(){Ze(Ut.responseText)},Ut.onerror=yt,Ut.send()}Ft.isHTML5Installed=function(){return!0},Ft.getLoadedAppletType=function(){return Te},Ft.setPreviewImage=function(Me,Ze,yt){b=Me,E=Ze,x=yt},Ft.removeExistingApplet=function(Me,Ze){var yt;typeof Me=="string"&&(Me=document.getElementById(Me)),Te=null;var Ut=null;for(yt=0;yt<Me.childNodes.length;yt++){var ft=Me.childNodes[yt],Qt=ft.className;Qt==="applet_screenshot"?Ze?(ft.style.display="block",Te="screenshot"):ft.style.display="none":Qt!=="applet_scaler prerender"&&(Me.removeChild(ft),Ut=Qt&&Qt.indexOf("appletParameters")!=-1?ft.id:null,yt--)}var Be=te.id!==void 0?te.id:Ut,$t=window[Be];$t&&typeof $t.getBase64=="function"&&($t.remove(),window[Be]=null)},Ft.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Me=Ft.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},Ft.startAnimation=function(){var Me=Ft.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},Ft.stopAnimation=function(){var Me=Ft.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},Ft.getAppletObject=function(){var Me=te.id!==void 0?te.id:"ggbApplet";return window[Me]},Ft.resize=function(){};var Le=function(Me,Ze,yt){var Ut=document.createElement("param");Ut.setAttribute("name",Ze),Ut.setAttribute("value",yt),Me.appendChild(Ut)},ue=function(Me){return Me&&Me!=="false"},ot=function(Me,Ze,yt){ae(oe)<=4.2&&(yt=!0);var Ut=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Ut=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ft=document.createElement("div");ft.classList.add("appletParameters","notranslate");var Qt=Ze.width,Be=Ze.height;if(Ze.disableAutoScale=Ze.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ze.disableAutoScale,Ze.width!==void 0)if(ae(oe)<=4.4)ue(Ze.showToolBar)&&(Ze.height-=7),ue(Ze.showAlgebraInput)&&(Ze.height-=37),Ze.width<605&&ue(Ze.showToolBar)&&(Ze.width=605,Qt=605);else{var $t=100;(ue(Ze.showToolBar)||ue(Ze.showMenuBar))&&(Ze.hasOwnProperty("customToolBar")&&(Ze.customToolbar=Ze.customToolBar),$t=ue(Ze.showMenuBar)?245:155),Qt<$t&&(Ze.width=$t,Qt=$t)}ft.style.border="none",ft.style.display="inline-block";for(var hn in Ze)Ze.hasOwnProperty(hn)&&hn!=="appletOnLoad"&&ft.setAttribute("data-param-"+hn,Ze[hn]);z&&ft.setAttribute("data-param-fontscssurl",z),Ft.resize=function(){GGBAppletUtils.responsiveResize(Me,Ze)},window.addEventListener("resize",function(Ee){Ft.resize()});var St=typeof Ze.appletOnLoad=="function"?Ze.appletOnLoad:function(){};if(!yt&&Ze.width!==void 0){Ze.hasOwnProperty("showSplash")||ft.setAttribute("data-param-showSplash","false");var ct=Me.querySelector(".applet_scaler.prerender"),Qe=ct!==null;if(Qe)var Re=ct.querySelector(".ggb_preview");else{var Re=qe(Qt,Be,Ze.borderColor,!1);ct=document.createElement("div"),ct.className="applet_scaler",ct.style.position="relative",ct.style.display="block",ct.style.width=Qt+"px",ct.style.height=Be+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ct,"66%"),ae(oe)>=5?(Ze.appletOnLoad=function(Ee){var et=Me.querySelector(".ggb_preview");et&&et.parentNode.removeChild(et),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ct),window.GGBT_wsf_view&&$(window).trigger("resize"),St(Ee)},Qe||ct.appendChild(Re)):ft.appendChild(Re),ct.appendChild(ft),Qe||Me.appendChild(ct),setTimeout(function(){Ft.resize()},1)}else{var Pe=document.createElement("div");Pe.className="applet_scaler",Pe.style.position="relative",Pe.style.display="block",Pe.appendChild(ft),Me.appendChild(Pe),Ze.appletOnLoad=function(Ee){Ft.resize(),St(Ee)}}function se(Ee,et){et&&typeof et.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ee,et.appletOnLoad):renderGGBElement(Ee),Ot("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",et)}function Ne(Ee,et){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ee,params:et}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Kt){se(Kt.article,Kt.params)}),html5AppletsToProcess=null)},ae(oe)<5&&(Ee.className+=" geogebraweb")):se(Ee,et)}if(Ut){scriptLoadStarted=!0;for(var it=0;it<ft.childNodes.length;it++){var Se=ft.childNodes[it].tagName;Se==="TABLE"&&(ft.removeChild(ft.childNodes[it]),it--)}if(ggbHTML5LoadedScript!==null){var ve=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ve!=null&&ve.parentNode.removeChild(ve)}var tt=document.createElement("script"),Oe=function(){Ne(ft,Ze)};tt.src=Ye+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=tt.src,Ot("GeoGebra HTML5 codebase loaded: '"+Ye+"'.",Ze),!re&&(!Fe||Fe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Oe()):Ye.requirejs?__webpack_require__.e(4184).then(function(){var Ee=[__webpack_require__(74620)];Oe.apply(null,Ee)}.bind(this)).catch(__webpack_require__.oe):(tt.onload=Oe,Me.appendChild(tt))}else Ne(ft,Ze);Ze.height=Be,Ze.width=Qt},De=function(Me,Ze,yt){var Ut=qe(Ze.width,Ze.height,Ze.borderColor,yt),ft=document.createElement("div");ft.style.position="relative",ft.style.display="block",ft.style.width=Ze.width+"px",ft.style.height=Ze.height+"px",ft.className="applet_screenshot applet_scaler"+(yt?" applet_screenshot_play":""),ft.appendChild(Ut);var Qt=GGBAppletUtils.getScale(Ze,Me,yt);yt?(Me.appendChild(ke()),window.GGBT_wsf_view||(Me.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ft,"66%"),Me.appendChild(ft),Qt!==1&&!isNaN(Qt)&&(GGBAppletUtils.scaleElement(ft,Qt),ft.style.width=Ze.width+"px",ft.style.height=Ze.height+"px",ft.parentNode.style.width=Ze.width*Qt+"px",ft.parentNode.style.height=Ze.height*Qt+"px"),Ft.resize=function(){Je(Me,Ut,ft,yt)},window.addEventListener("resize",function(Be){Ft.resize()}),Ft.resize()};function Je(Me,Ze,yt,Ut){if(Me.contains(Ze)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Me.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}var ft=GGBAppletUtils.getScale(te,Me,Ut);yt.parentNode!==null&&(!isNaN(ft)&&ft!==1?(GGBAppletUtils.scaleElement(yt,ft),yt.parentNode.style.width=te.width*ft+"px",yt.parentNode.style.height=te.height*ft+"px"):(GGBAppletUtils.scaleElement(yt,1),yt.parentNode.style.width=te.width+"px",yt.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Me),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ft.onExitFullscreen=function(Me,Ze){Ze.appendChild(Me)};var ye=function(Me,Ze,yt,Ut){De(Me,Ze,!0);for(var ft=function(){var $t=[];for(Be=0;Be<Me.childNodes.length;Be++)$t.push(Me.childNodes[Be]);if(window.GGBT_wsf_view){var hn=window.GGBT_wsf_view.renderFullScreen(Me,Ze.id),St=document.getElementById("fullscreencontainer"),ct=jQuery(Me).find(".fullscreencontent");ct.length>0?(hn.remove(),ct.attr("id","fullscreencontent").show(),jQuery(St).append(ct),window.dispatchEvent(new Event("resize"))):ot(hn,Ze,!1),window.GGBT_wsf_view.launchFullScreen(St)}else Te=Ut,ot(Me,Ze,!1);if(!window.GGBT_wsf_view)for(Be=0;Be<$t.length;Be++)Me.removeChild($t[Be])},Qt=Me.getElementsByClassName("ggb_preview_play"),Be=0;Be<Qt.length;Be++)Qt[Be].addEventListener("click",ft,!1),Qt[Be].addEventListener("ontouchstart",ft,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Me),de()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ke=function(){var Me=document.createElement("div");if(Me.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ze='.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");}',yt=document.createElement("style");yt.styleSheet?yt.styleSheet.cssText=Ze:yt.appendChild(document.createTextNode(Ze)),document.getElementsByTagName("head")[0].appendChild(yt)}return Me},qe=function(Me,Ze,yt,Ut){var ft=document.createElement("div");ft.className="ggb_preview",ft.style.position="absolute",ft.style.zIndex="90",ft.style.width=Me-2+"px",ft.style.height=Ze-2+"px",ft.style.top="0px",ft.style.left="0px",ft.style.overflow="hidden",ft.style.backgroundColor="white";var Qt="lightgrey";yt!==void 0&&(yt==="none"?Qt="transparent":Qt=yt),ft.style.border="1px solid "+Qt;var Be=document.createElement("img");if(Be.style.position="relative",Be.style.zIndex="1000",Be.style.top="-1px",Be.style.left="-1px",b!==null&&Be.setAttribute("src",b),Be.style.opacity=.7,E!==null){var $t,hn,St;if(!Ut){$t=document.createElement("img"),$t.style.position="absolute",$t.style.zIndex="1001",$t.style.opacity=1,Be.style.opacity=.3,hn=360,hn>Me/4*3&&(hn=Me/4*3),St=hn/5.8,$t.setAttribute("src",E),$t.setAttribute("width",hn),$t.setAttribute("height",St);var ct=(Me-hn)/2,Qe=(Ze-St)/2;$t.style.left=ct+"px",$t.style.top=Qe+"px",ft.appendChild($t)}}return ft.appendChild(Be),ft},Xe=function(Me){return Me=Me.toLowerCase(),Me==="html5"||Me==="screenshot"?Me:"html5"},Ve=["web","webSimple","web3d","tablet","tablet3d","phone"],kt=function(Me,Ze){if(oe=Me,Ze){_e(oe,!0);return}var yt=!ie;if(yt){var Ut=ae(oe);!isNaN(Ut)&&Ut<4.4&&(yt=!1)}var ft,Qt;window.location.protocol.substr(0,4)==="http"?ft=window.location.protocol:ft="http:";var Be=oe.indexOf("//");Be>0?Qt=oe:Be===0?Qt=ft+oe:Qt="https://www.geogebra.org/apps/5.2.814.0/";for(var $t in Ve)if(oe.slice(Ve[$t].length*-1)===Ve[$t]||oe.slice((Ve[$t].length+1)*-1)===Ve[$t]+"/"){_e(Qt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&yt&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!ue(te.showToolBar)&&!ue(te.showMenuBar)&&!ue(te.showAlgebraInput)&&!ue(te.enableRightClick)&&(!te.appName||te.appName=="classic")?Qt+="webSimple/":Qt+="web3d/",_e(Qt,!1)},_e=function(Me,Ze){if(Me.requirejs){Ye=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),Ye=Me,Ze===null&&(Ze=Me.indexOf("http")===-1),pt=Ze,y="web.nocache.js",a=!1;var yt=Ye.split("/");yt.length>1&&(!Ze&&yt[yt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Ve.indexOf(yt[yt.length-2])>=0&&(y=yt[yt.length-2]+".nocache.js")),yt=Me.split("/"),oe=yt[yt.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var Ut=parseFloat(oe);Ut!==NaN&&Ut<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ut+" is deprecated. Using version latest instead."),kt("5.0",Ze))},Ot=function(Me,Ze){window.console&&window.console.log&&(!Ze||typeof Ze.showLogging=="undefined"||Ze.showLogging&&Ze.showLogging!=="false")&&console.log(Me)};te.material_id!==void 0?ge(en):en();function en(){var Me=Rt;Fe!==null?Me=Fe:parseFloat(Me)<5&&(Me="5.0"),kt(Me,!1),re!==null&&_e(re,pt),Ce=!0}return Ft},GGBAppletUtils=function(){"use strict";function Ft(){return window.GGBT_wsf_edit!==void 0}function Rt(Ce,Fe){Fe!=1?(Ce.style.transformOrigin="0% 0% 0px",Ce.style.webkitTransformOrigin="0% 0% 0px",Ce.style.transform="scale("+Fe+","+Fe+")",Ce.style.webkitTransform="scale("+Fe+","+Fe+")",Ce.style.maxWidth="initial",Ce.querySelector(".ggb_preview")!==null&&(Ce.querySelector(".ggb_preview").style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ce.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ce.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ce.style.transform="none",Ce.style.webkitTransform="none")}function te(Ce,Fe,re,$e,Ue,ze){var Ye=null;if(ze!=null&&ze!="")for(var pt=Ce.parentNode;pt!=null;)if((" "+pt.className+" ").indexOf(" "+ze+" ")>-1){Ye=pt;break}else pt=pt.parentNode;var Te=0,oe=0,y=0,a=0,b=0,E=0,x=0;if(Ye)Te=Ye.offsetWidth,oe=Math.max($e?Ye.offsetWidth:0,Ye.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Te=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Te):(Te=window.innerWidth,oe=window.innerHeight,y=window.innerWidth),Ce){var z=Ce.getBoundingClientRect();z.left>0&&z.left<=Te&&(Ue===void 0||!Ue)&&(document.dir==="rtl"?(b=Te-z.width-z.left,E=y<=480?10:30):(E=z.left,b=y<=480?10:30),a=E+b)}if(Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=Ce.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Ce&&((re===void 0||!re)&&Fe>0&&Fe+a<Te?Te=Fe:Te-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(oe-=x)),{width:Te,height:oe}}function ee(Ce,Fe,re,$e,Ue){if(Ce.isScreenshoGenerator)return 1;var ze=$e!==void 0&&$e,Ye=Ce.noScaleMargin!=null&&Ce.noScaleMargin,pt=function(ne){return ne&&ne!=="false"},Te=pt(Ce.autoHeight),oe=te(Fe,Ce.width,re,Te,ze&&window.GGBT_wsf_view||Ye,Ue),y=parseInt(oe.width),a=Ce.width,b=Ce.height;if(a===void 0){var E=Fe.querySelector(".appletParameters");E&&(a=E.offsetWidth,b=E.offsetHeight)}var x=y/a,z=ze?1:oe.height/b;return re!==void 0&&!re&&(x=Math.min(1,x),z=Math.min(1,z)),Math.min(x,z)}function ie(Ce,Fe,re){var $e=1,Ue,ze=!1;if(Ce.hasOwnProperty("allowUpscale")&&(ze=Ce.allowUpscale),Ce.hasOwnProperty("scale")&&($e=parseFloat(Ce.scale),(isNaN($e)||$e===null||$e===0)&&($e=1),$e>1&&(ze=!0)),Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ze=!0),!(Ce.hasOwnProperty("disableAutoScale")&&Ce.disableAutoScale))Ue=ee(Ce,Fe,ze,re,Ce.scaleContainerClass);else return $e;return ze&&(!Ce.hasOwnProperty("scale")||$e===1)?Ue:Math.min($e,Ue)}function we(Ce){var Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),$e=Ce.getBoundingClientRect(),Ue=(Fe-$e.width)/2,ze=(re-$e.height)/2;ze<0&&(ze=0),Ce.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ue<40?Ce.style.left="40px":Ce.style.left=Ue+"px",Ce.style.top=ze+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ze<40?Ce.style.top="40px":Ce.style.top=ze+"px",Ce.style.left=Ue+"px")}function Ge(Ce,Fe){var re=Ce.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Fe.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ce)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var $e=ie(Fe,Ce);Ft()&&re.setAttribute("data-param-scale",$e);for(var Ue=null,ze=0;ze<Ce.childNodes.length;ze++)if(Ce.childNodes[ze].className!==void 0&&Ce.childNodes[ze].className.match(/^applet_scaler/)){Ue=Ce.childNodes[ze];break}if(Ue!==null&&Ue.querySelector(".noscale")!==null)return;var Ye=Fe.id!==void 0?Fe.id:"ggbApplet",pt=window[Ye];(pt==null||!pt.recalculateEnvironments)&&Ue!==null&&!Ue.className.match(/fullscreen/)&&(Ue.parentNode.style.transform="",!isNaN($e)&&$e!==1?(Ue.parentNode.style.width=Fe.width*$e+"px",Ue.parentNode.style.height=Fe.height*$e+"px",Rt(Ue,$e)):(Rt(Ue,1),Ue.parentNode.style.width=Fe.width+"px",Ue.parentNode.style.height=Fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&we(Ce),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:Ge,isFlexibleWorksheetEditor:Ft,positionCenter:we,getScale:ie,scaleElement:Rt}}();__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 Ft=n.location.search;return Ft.indexOf(J)!=-1||Ft.indexOf(K)!=-1}function q(Ft,Rt){}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(Ft){var Rt=s[L].bindings;s[L].bindings=function(){for(var te=Rt?Rt():{},ee=Ft[webModule.__softPermutationId],ie=O;ie<ee.length;ie++){var we=ee[ie];te[we[O]]=we[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Ft=o.createElement(Q);if(Ft.id=L,Ft.style.cssText=R+S,Ft.tabIndex=-1,o.body.appendChild(Ft),t=Ft.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Rt=document.compatMode==U?V:W;t.write(Rt+X),t.close()}}}function w(Ft){function Rt(ee){function ie(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var we=ie();if(we){ee();return}function Ge(){if(!we){if(!ie())return;we=!0,ee(),o.removeEventListener&&o.removeEventListener(Z,Ge,!1),Ce&&clearInterval(Ce)}}o.addEventListener&&o.addEventListener(Z,Ge,!1);var Ce=setInterval(function(){Ge()},$)}function te(ee){var ie=u(),we=ie.body,Ge=ie.createElement(_);Ge.language=ab,Ge.crossOrigin=W,Ge.src=ee,webModule.__errFn&&(Ge.onerror=function(){webModule.__errFn(L,new Error(bb+ee))}),we.appendChild(Ge)}Rt(function(){te(Ft)})}webModule.__startLoadingFragment=function(Ft){return C(Ft)},webModule.__installRunAsyncCode=function(Ft){var Rt=u(),te=Rt.body,ee=Rt.createElement(_);ee.language=ab,ee.text=Ft,te.appendChild(ee),te.removeChild(ee)};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(Ft){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ft){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ft){var Rt=c[Ft];return Rt==null?null:Rt},r=d,webModule.__errFn=e}function B(){function Ft(Ce){var Fe=Ce.lastIndexOf(rb);Fe==-1&&(Fe=Ce.length);var re=Ce.indexOf(sb);re==-1&&(re=Ce.length);var $e=Ce.lastIndexOf(tb,Math.min(re,Fe));return $e>=O?Ce.substring(O,$e+P):W}function Rt(Ce){if(!Ce.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=Ce+vb,Ce=Ft(Fe.src)}return Ce}function te(){var Ce=__gwt_getMetaProperty(wb);return Ce!=null?Ce:W}function ee(){for(var Ce=o.getElementsByTagName(_),Fe=O;Fe<Ce.length;++Fe)if(Ce[Fe].src.indexOf(xb)!=-1)return Ft(Ce[Fe].src);return W}function ie(){var Ce=o.getElementsByTagName(yb);return Ce.length>O?Ce[Ce.length-P].href:W}function we(){var Ce=o.location;return Ce.href==Ce.protocol+zb+Ce.host+Ce.pathname+Ce.search+Ce.hash}var Ge=te();return Ge==W&&(Ge=ee()),Ge==W&&(Ge=ie()),Ge==W&&we()&&(Ge=Ft(o.location.href)),Ge=Rt(Ge),Ge}function C(Ft){return Ft.match(/^\//)||Ft.match(/^[a-zA-Z]+:\/\//)?Ft:webModule.__moduleBase+Ft}function D(){var Ft=[],Rt=O,te=[],ee=[];function ie(Ce){var Fe=ee[Ce](),re=te[Ce];if(Fe in re)return Fe;var $e=[];for(var Ue in re)$e[re[Ue]]=Ue;throw r&&r(Ce,$e,Fe),null}if(__gwt_isKnownPropertyValue=function(Ce,Fe){return Fe in te[Ce]},webModule.__getPropMap=function(){var Ce={};for(var Fe in te)te.hasOwnProperty(Fe)&&(Ce[Fe]=ie(Fe));return Ce},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var we;try{we=Cb;var Ge=we.indexOf(Db);Ge!=-1&&(Rt=parseInt(we.substring(Ge+P),$),we=we.substring(O,Ge))}catch(Ce){}return webModule.__softPermutationId=Rt,C(we+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})()},77903:function(Ft,Rt,te){"use strict";te.d(Rt,{Ax:function(){return Ge},Ds:function(){return Ce},KI:function(){return re},SI:function(){return we},f1:function(){return ie}});var ee=te(3294);function ie($e){let Ue=!0;if($e.length>0){for(let ze=0;ze<$e.length;ze++)if($e[ze].compile_success==0||!$e[ze].compile_success){Ue=!1;break}}else Ue=!1;return Ue}function we($e,Ue=""){let ze=[];for(let Ye=0;Ye<$e.length;Ye++){let pt=$e[Ye],Te=Ue?`${Ue}/${pt.name}`:`${pt.name}`;ze.push({title:pt.name,type:pt.type,isLeaf:pt.type!=="tree",key:Te})}return ze}function Ge($e,Ue,ze){for(let Ye=0;Ye<$e.length;Ye++){let pt=$e[Ye];if(pt.key===Ue){pt.children=ze;break}pt.children&&Ge(pt.children,Ue,ze)}return $e}function Ce($e,Ue,ze){let Ye;return function(){let pt=this,Te=arguments,oe=function(){Ye=null,ze||$e.apply(pt,Te)},y=ze&&!Ye;clearTimeout(Ye),Ye=setTimeout(oe,Ue),y&&$e.apply(pt,Te)}}const Fe=!0,re=ee.Z.API_SERVER},57647:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return E}});var ee=te(59301),ie=te(17574),we={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ge=te(73631),Ce=te(5623),Fe=te(16149),re=Object.defineProperty,$e=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Te=(x,z,ne)=>z in x?re(x,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):x[z]=ne,oe=(x,z)=>{for(var ne in z||(z={}))Ye.call(z,ne)&&Te(x,ne,z[ne]);if(ze)for(var ne of ze(z))pt.call(z,ne)&&Te(x,ne,z[ne]);return x},y=(x,z)=>$e(x,Ue(z)),a=(x,z,ne)=>new Promise((ae,le)=>{var de=fe=>{try{be(ne.next(fe))}catch(Le){le(Le)}},ge=fe=>{try{be(ne.throw(fe))}catch(Le){le(Le)}},be=fe=>fe.done?ae(fe.value):Promise.resolve(fe.value).then(de,ge);be((ne=ne.apply(x,z)).next())}),E=({value:x,onChange:z,scrollId:ne})=>{const[ae,le]=(0,ee.useState)([]);(0,ee.useEffect)(()=>{de()},[]);const de=()=>a(void 0,null,function*(){const ot=yield(0,Fe.NZ)({});if(ot!=null&&ot.data){const De=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:ee.createElement("img",{src:Ge,className:we.folderIcon}),isLeaf:!1,children:ge(ot.data||[])}];le(De)}}),ge=ot=>ot.map(De=>({title:De.name,key:De.group_id,icon:ee.createElement("img",{src:Ge,className:we.folderIcon}),isLeaf:De.children.length===0,children:ge(De.children)})),be=(ot,De,Je)=>ot.map(ye=>ye.key===De?oe(oe({},ye),Je):ye.children?y(oe({},ye),{children:be(ye.children,De,Je)}):ye),fe=(ot,De,Je)=>ot.map(ye=>{if(ye.key===De)return y(oe({},ye),{icon:Je?ee.createElement("img",{src:Ce,className:we.folderIcon}):ee.createElement("img",{src:Ge,className:we.folderIcon})});if(ye.children)return y(oe({},ye),{children:fe(ye.children,De,Je)})}),Le=(ot,De)=>{le(Je=>fe(Je,De.node.key,De.expanded))},ue=x?{selectedKeys:x,defaultExpandedKeys:x}:{};return ae.length>0&&ee.createElement("div",{id:ne||""},ee.createElement(ie.default,oe({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ae,className:we.folderWrapper,onSelect:z,onExpand:Le},ue)))}},73524:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return Ye}});var ee=te(59301),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},we=te(92310),Ge=te.n(we),Ce=te(71418),Fe=te(2859),re=te(99064),$e=te(955),Ue=(pt,Te,oe)=>new Promise((y,a)=>{var b=z=>{try{x(oe.next(z))}catch(ne){a(ne)}},E=z=>{try{x(oe.throw(z))}catch(ne){a(ne)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(b,E);x((oe=oe.apply(pt,Te)).next())}),Ye=({data:pt,className:Te,fullWidth:oe,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:x})=>{const z=(0,ee.useRef)(null),ne=(0,ee.useRef)(null),ae=(0,ee.useRef)(null),le=(0,ee.useRef)(null),[de,ge]=(0,ee.useState)(!1),[be,fe]=(0,ee.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ee.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),pt!=null&&pt.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",pt!=null&&pt.src&&Le()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[pt==null?void 0:pt.visible]);const Le=()=>Ue(void 0,null,function*(){ge(!0),fe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ye=yield(0,$e.ZJ)(pt==null?void 0:pt.src);z.current.src="",z.current.src=ye,z.current.onload=function(){Je()},ge(!1),fe("")}),ue=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},ot=ye=>Ue(void 0,null,function*(){ge(!0),fe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ke=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:pt.title,file:ye.dataUrl}});ke!=null&&ke.id&&!x?(yield(0,re.ZP)(`/api/attachments/${pt.id}/add_subitem.json`,{method:"post",body:{subitem_id:ke==null?void 0:ke.id,settings:JSON.stringify(ye.state)}})).status===0&&b():ke!=null&&ke.id&&b(ke),document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",ge(!1),fe("")}),De=()=>{const ye=document.querySelector('a[href="https://markerjs.com/"]');ye&&ye.parentNode&&(ye.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(qe=>{const Xe=document.querySelector(qe.name);Xe&&Xe.setAttribute("title",qe.title)})},Je=()=>{ne.current=new Fe.hP(z.current),ne.current.targetRoot=le.current,ne.current.addEventListener("render",ot),ne.current.addEventListener("beforeclose",ue),E&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),pt!=null&&pt.snapshotData&&ne.current.restoreState(pt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),De()},300)};return ee.createElement(ee.Fragment,null,(pt==null?void 0:pt.visible)&&ee.createElement(Ce.Z,{spinning:de,tip:be,style:{position:"absolute"}},ee.createElement("div",{ref:le,className:Ge()(ie.imageDimensions,Te,oe?ie.fullWidth:""),style:y},ee.createElement("img",{className:ie.img,ref:z}))))}},14791:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return Pe},$:function(){return Re}});var ee=te(59301),ie={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},we=te(92310),Ge=te.n(we),Ce=te(78241),Fe=te(8591),re=te(43418),$e=te(5871),Ue=te(95237),ze=te(24905),Ye=te(38854),pt=te(54580),Te=te(3113),oe=te(93948),y=te(19842),a=te(92832),b=te(5112),E=te(6848),x=te(43604),z=te(29458),ne=te(3294),ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvI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/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",be=te(99064),fe=te(57647),Le=te(5623),ue=te(50304),ot=te(59879),De=te(28451),Je=te(15342),ye=te.n(Je),ke=(se,Ne,it)=>new Promise((Se,ve)=>{var tt=et=>{try{Ee(it.next(et))}catch(Kt){ve(Kt)}},Oe=et=>{try{Ee(it.throw(et))}catch(Kt){ve(Kt)}},Ee=et=>et.done?Se(et.value):Promise.resolve(et.value).then(tt,Oe);Ee((it=it.apply(se,Ne)).next())}),Xe=ee.memo(({tagName:se="div",value:Ne="",className:it,style:Se={},onBlur:ve,id:tt})=>{const Oe=(0,ee.useRef)(null);(0,ee.useEffect)(()=>{if(!Oe.current)return;ke(void 0,null,function*(){const Kt=Oe.current;Kt.innerHTML="";const ht=Ne==null?void 0:Ne.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const It of ht)if(It.startsWith("$$")&&It.endsWith("$$")||It.startsWith("`$$")&&It.endsWith("$$`")){const Tt=It.startsWith("`$$")?It.slice(3,-3):It.slice(2,-2),Zt=document.createElement("span");Zt.setAttribute("contentEditable","false"),Zt.setAttribute("title",It),Zt.className="edu_latex",Kt.appendChild(Zt),ye().render(Tt,Zt,{throwOnError:!1})}else{const Tt=It==null?void 0:It.replace(/<[^>]*>/g,Zt=>Zt.startsWith("<img")?Zt:Zt.replace(/</g,"<"));Kt.insertAdjacentHTML("beforeend",Tt)}})},[tt]);const Ee=()=>{var et,Kt;if(ve&&Oe.current){const It=Oe.current.cloneNode(!0),Tt=It.querySelectorAll("span.edu_latex");for(let Zt of Tt){const xe=Zt.getAttribute("title"),dt=document.createTextNode(xe||""),vt=Zt;(Kt=(et=vt.parentNode)==null?void 0:et.replaceChild)==null||Kt.call(et,dt,vt)}ve(It.innerHTML)}};return ee.createElement(ee.Fragment,null,ee.createElement(se,{ref:Oe,contentEditable:!0,className:it,style:Se,onBlur:Ee}))}),Ve=te(24065),kt=te(34604),_e=Object.defineProperty,Ot=Object.defineProperties,en=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,Ut=(se,Ne,it)=>Ne in se?_e(se,Ne,{enumerable:!0,configurable:!0,writable:!0,value:it}):se[Ne]=it,ft=(se,Ne)=>{for(var it in Ne||(Ne={}))Ze.call(Ne,it)&&Ut(se,it,Ne[it]);if(Me)for(var it of Me(Ne))yt.call(Ne,it)&&Ut(se,it,Ne[it]);return se},Qt=(se,Ne)=>Ot(se,en(Ne)),Be=(se,Ne,it)=>new Promise((Se,ve)=>{var tt=et=>{try{Ee(it.next(et))}catch(Kt){ve(Kt)}},Oe=et=>{try{Ee(it.throw(et))}catch(Kt){ve(Kt)}},Ee=et=>et.done?Se(et.value):Promise.resolve(et.value).then(tt,Oe);Ee((it=it.apply(se,Ne)).next())});const $t=se=>{se.preventDefault();let it=(se.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,it)},hn=se=>{se.key==="Enter"&&se.preventDefault()},St=({children:se,style:Ne})=>ee.createElement("div",{className:ie.leftBox,style:Ne,onPaste:$t},se),ct=({children:se,style:Ne,className:it})=>ee.createElement("div",{className:Ge()(ie.rightBox,it),style:Ne,onPaste:$t},se),Qe=({className:se,style:Ne={},width:it=1200,onCancel:Se=()=>{},onSuccess:ve=()=>{},gather:tt={},mode:Oe=1,stickyTop:Ee=0,subDisciplineId:et=[],hideWordFeatures:Kt,dataSource:ht=[],customLeftHeadNode:It,customRightHeadNode:Tt,customLeftContent:Zt,hideRecognition:xe=!1,onExchange:dt,isSingleSelection:vt=!1,underpinBackgroundStyle:mt={},headExtraNode:Nt,isRefreshItemBank:Vt=!1,okText:nn="\u786E\u5B9A\u5BFC\u5165"})=>{var an;const[Sn,On]=(0,ee.useState)(1),[Lt,Ct]=(0,ee.useState)(0),[Wt,cn]=(0,ee.useState)(""),[sn,Nn]=(0,ee.useState)(!1),[at,Bt]=(0,ee.useState)([]),[Jt,yn]=(0,ee.useState)([]),[he,We]=(0,ee.useState)(!1),[st,gt]=(0,ee.useState)(!1),[bt,Xt]=(0,ee.useState)(!1),[xt,He]=(0,ee.useState)(!1),[Ke,Ie]=(0,ee.useState)([]),[ut,jt]=(0,ee.useState)(1),[Dt,pn]=(0,ee.useState)(!1),[fn,qt]=(0,ee.useState)(!1),[xn,Qn]=(0,ee.useState)(!0),[on,Un]=(0,ee.useState)(0),[$n,ca]=(0,ee.useState)(1),[qn,nt]=(0,ee.useState)(""),[zt,Pt]=(0,ee.useState)([]),[_t,dn]=(0,ee.useState)(0),[vn,un]=(0,ee.useState)(0),[ln,Wn]=(0,ee.useState)(0),[Xn,Gt]=(0,ee.useState)(0),[aa,ya]=(0,ee.useState)(0),[Ca]=Ce.default.useForm(),[pa]=Ce.default.useForm(),Fn=(0,ee.useRef)(null),Mn=(0,ee.useRef)(null),Vn=(0,ee.useRef)(),Ln=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],na=["C","C++","Java","Python","JavaScript","Ruby"];(0,ee.useEffect)(()=>{ht!=null&&ht.length&&ia(ht)},[ht]),(0,ee.useEffect)(()=>{Sn===2&&Fn.current.focus()},[Sn]),(0,ee.useEffect)(()=>{bt&&da()},[bt]);const ha=()=>{if(Sn===1){Fe.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>Be(void 0,null,function*(){On(1)})})},da=()=>Be(void 0,null,function*(){const pe=yield(0,be.ZP)("/api/disciplines.json",{method:"get",params:{source:Oe===1?"new_question":"subject"}});Ie(pe.disciplines||[])}),Ba=pe=>{const Mt=[],rn=(Cn,Ht)=>{Cn.length>=2&&Mt.push(Cn.join(""));for(let Dn=Ht;Dn<pe.length;Dn++)Cn.push(pe[Dn]),rn(Cn,Dn+1),Cn.pop()};return rn([],0),Mt},oa=pe=>(pe=pe||"",pe=String(pe),pe=pe.replace(/\s+/g,""),pe),Ma=pe=>(pe=pe||"",pe=String(pe),pe=pe.replace(/<div>/g,""),pe=pe.replace(/<br>/g,`
|
|
`),pe=pe.replace(/<\/div>/g,`
|
|
`),pe=fo(pe),pe),eo=pe=>pe.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),fo=pe=>pe.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),ja=pe=>{var Mt;const rn=pe.clipboardData;if(rn){const Cn=rn.types.toString(),Ht=rn.items;if(Cn==="Files"||rn.types.indexOf("Files")>-1){pe.preventDefault();try{let Dn=Ht[1];((Mt=Ht[0])==null?void 0:Mt.kind)==="file"&&(Dn=Ht[0]);const Pn=Dn.getAsFile();(0,De.I)(Pn,mn=>{var En;if(mn.id){if(((En=Pn==null?void 0:Pn.type)==null?void 0:En.indexOf("image"))>-1){const bn=`<img src='${ne.Z.API_SERVER}${mn.url}'>`;document.execCommand("insertText",!1,bn)}}else(mn==null?void 0:mn.status)===401&&(document.location.href="/user/login")})}catch(Dn){Fe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Da(pe,Mt){return Be(this,null,function*(){if(typeof pe=="string")return yield Mt(pe);if(typeof pe!="object"||pe===null)return pe;if(Array.isArray(pe))return yield Promise.all(pe.map(Ht=>Be(this,null,function*(){return yield Da(Ht,Mt)})));const rn={};for(const Cn in pe)if(Object.prototype.hasOwnProperty.call(pe,Cn)){const Ht=pe[Cn];typeof Ht=="string"?rn[Cn]=yield Mt(Ht):typeof Ht=="object"?rn[Cn]=yield Da(Ht,Mt):rn[Cn]=Ht}return rn})}const Xa=()=>Be(void 0,null,function*(){var pe;Nn(!0),cn("\u5904\u7406\u4E2D"),yield new Promise(Cn=>setTimeout(Cn,1e3));let Mt=(pe=Mn.current)==null?void 0:pe.querySelectorAll('[data-text="edit"]'),rn="";try{Mt.forEach(function(Cn){var Ht,Dn,Pn,mn;const En=Cn.cloneNode(!0),bn=En.querySelectorAll("span.edu_latex");for(let Hn of bn){const Tn=Hn.getAttribute("title"),Ha=document.createTextNode(Tn),Aa=Hn;(Dn=(Ht=Aa.parentNode)==null?void 0:Ht.replaceChild)==null||Dn.call(Ht,Ha,Aa)}const kn=En.querySelectorAll("span[style]");for(let Hn of kn)if(Hn.style.fontFamily){const Tn=Hn.innerHTML,Ha=document.createTextNode(Tn),Aa=Hn;(mn=(Pn=Aa.parentNode)==null?void 0:Pn.replaceChild)==null||mn.call(Pn,Ha,Aa)}En==null||En.childNodes.forEach(function(Hn){Hn.nodeType===Node.ELEMENT_NODE&&Hn.localName!=="h5"&&Hn.localName!=="h4"?rn+=`<p>${Hn.innerHTML}</p>`:Hn.nodeType===Node.TEXT_NODE&&(rn+=`<p>${Hn.textContent}</p>`)})}),In("/api/intelligent_imports/import.json",{html:fo(rn)})}catch(Cn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Cn)}}),ka=pe=>{let Mt=pe.filter(rn=>!!(rn!=null&&rn.type));return Mt=Mt.map(rn=>{var Cn;const Ht=(Cn=Mo.find(Pn=>Pn.id===(rn==null?void 0:rn.type)))==null?void 0:Cn.deal,Dn=Qt(ft({},rn),{id:String(Math.random()).slice(-6),knowledgePoint:oa(rn==null?void 0:rn.knowledgePoint)});return Ht?Ht(Dn):Dn}),Mt},Ga=()=>{if(Sn===1){Fe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:Xa})},Na=()=>ee.createElement("div",{className:ie.row},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,{style:{height:675}},Sn===1&&ee.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>On(2)},ee.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",ee.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",ee.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",ee.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",ee.createElement("br",null)),ee.createElement("div",{className:ie.imgBox,style:{marginTop:75}},ee.createElement("img",{width:56,src:le}),ee.createElement("span",null,"\u7F16\u8F91\u533A"))),Sn===2&&ee.createElement("div",{"data-text":"edit",onBlur:()=>{Fn.current.innerHTML||On(1)},ref:Fn,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),ee.createElement("div",{className:ie.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},ee.createElement("div",{className:ie.imgBox,style:{marginTop:240}},ee.createElement("img",{width:56,src:de}),ee.createElement("span",null,"\u9884\u89C8\u533A")))),_n=(pe,Mt,rn,Cn)=>{var Ht;console.log(pe,Mt,rn,Cn,"onDataChange\u4FEE\u6539\u6570\u503C");const Dn=JSON.parse(JSON.stringify(Jt));Cn===void 0?Dn[Mt][pe]=rn:Dn[Mt].questions[Cn][pe]=rn;const Pn=ft({},Dn[Mt]),mn=(Ht=Mo.find(En=>En.id===(Pn==null?void 0:Pn.type)))==null?void 0:Ht.deal;Dn[Mt]=mn(Pn),yn(Dn)},Za=(pe,Mt,rn)=>{var Cn;const Ht=rn!==void 0,Dn=(Cn=Mo.find(En=>En.id===(pe==null?void 0:pe.type)))==null?void 0:Cn.type,Pn=`${Mt+1}.${rn===void 0?"":rn+1+"."}`,mn=`${(pe==null?void 0:pe.type)==="7"?"{{":""}${Pn}\u3010${Dn}\u3011${(pe==null?void 0:pe.question)||""}`;return ee.createElement(ee.Fragment,null,Ht&&ee.createElement("h4",{contentEditable:!0}),ee.createElement(Xe,{id:pe==null?void 0:pe.id,tagName:"div",value:mn}))},uo=(pe,Mt)=>Be(void 0,null,function*(){var rn;const Cn=yield dt(pe,Mt),Ht=(rn=Cn==null?void 0:Cn.data)==null?void 0:rn.content;if(Ht!=null&&Ht.length){const Dn=ka(Ht)[0];at.splice(Mt,1,Dn),Jt.splice(Mt,1,Dn),Bt([...at]),yn([...Jt])}}),za=(pe,Mt,rn)=>{var Cn;const Ht=rn!==void 0,Dn=(Cn=Mo.find(mn=>mn.id===(pe==null?void 0:pe.type)))==null?void 0:Cn.type,Pn=`${Mt+1}.${rn===void 0?"":rn+1+"."}`;return Ht?ee.createElement("div",{style:{padding:"10px 18px"}},`${Pn}\u3010${Dn}\u3011`,ee.createElement(Xe,{id:pe==null?void 0:pe.id,tagName:"span",className:ie.edit,onBlur:mn=>_n("question",Mt,mn,rn),value:(pe==null?void 0:pe.question)||""})):ee.createElement(ee.Fragment,null,ee.createElement("div",{className:ie.actionHead},ee.createElement("div",{className:"c-light-primary"},`${Pn}\u3010${Dn}\u3011`),Oe!==1&&ee.createElement($e.Z,{disabled:(pe==null?void 0:pe.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:mn=>_n("score",Mt,mn,rn),value:pe==null?void 0:pe.score}),ee.createElement(Ue.Z,{align:"middle",style:{marginLeft:"auto"}},!!dt&&ee.createElement("span",{className:"current c-light-primary mr30",onClick:()=>uo(pe,Mt)},ee.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),ee.createElement(ze.default,{onChange:mn=>_n("checked",Mt,mn.target.checked,rn),checked:!!(pe!=null&&pe.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),ee.createElement(Xe,{id:pe==null?void 0:pe.id,tagName:"div",style:{padding:"10px 18px"},className:ie.edit,onBlur:mn=>_n("question",Mt,mn,rn),value:pe==null?void 0:pe.question}))},to=(pe,Mt,rn)=>ee.createElement(ee.Fragment,null,["0","1","2","4"].includes(pe==null?void 0:pe.type)&&ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u7B54\u6848\uFF1A${Mt||""}`,tagName:"p"}),!rn&&ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u96BE\u5EA6\uFF1A${(pe==null?void 0:pe.difficulty)||""}`,tagName:"p"}),(pe==null?void 0:pe.type)!=="7"&&ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u89E3\u6790\uFF1A${(pe==null?void 0:pe.analyze)||""}`,tagName:"p"}),!rn&&ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(pe==null?void 0:pe.knowledgePoint)||""}`,tagName:"p"})),lo=(pe,Mt,rn,Cn)=>{const Ht=Cn!==void 0,Dn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Pn=Ht&&!pe.last&&!pe.errorMsg?{marginBottom:10}:{},mn=Dn.map(En=>({key:En,label:En,onClick:()=>_n("difficulty",rn,En,Cn)}));return ee.createElement("div",{className:ie.liWrap,style:Pn},["4"].includes(pe==null?void 0:pe.type)&&ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),ee.createElement(Xe,{id:pe==null?void 0:pe.id,tagName:"div",className:`${ie.edit} c-black`,onBlur:En=>_n("answer",rn,[En],Cn),value:Mt})),!Ht&&ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(Ye.Z,{menu:{items:mn}},ee.createElement("span",{className:"c-light-primary"},pe==null?void 0:pe.difficulty,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(pe==null?void 0:pe.type)!=="7"&&ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),ee.createElement(Xe,{id:pe==null?void 0:pe.id,tagName:"div",className:`${ie.edit} c-grey-333`,onBlur:En=>_n("analyze",rn,En,Cn),value:pe==null?void 0:pe.analyze})),!Ht&&ee.createElement("div",{onKeyDown:hn,className:ie.li},ee.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),ee.createElement(Xe,{id:pe==null?void 0:pe.id,tagName:"div",value:(pe==null?void 0:pe.knowledgePoint)||"",className:`${ie.edit} c-grey-333`,onBlur:En=>_n("knowledgePoint",rn,oa(Ma(En)),Cn)})))},ua=pe=>ee.createElement(ee.Fragment,null,typeof(pe==null?void 0:pe.errorMsg)=="string"&&!!(pe!=null&&pe.errorMsg)&&ee.createElement("h5",{contentEditable:!1},ee.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),ee.createElement("div",null,pe==null?void 0:pe.errorMsg))),Ka=pe=>ee.createElement(ee.Fragment,null,typeof(pe==null?void 0:pe.errorMsg)=="string"&&!!(pe!=null&&pe.errorMsg)&&ee.createElement("h5",null,ee.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),ee.createElement("div",null,pe==null?void 0:pe.errorMsg))),wa=(pe,Mt,rn,Cn)=>{let Ht="flex";return(vt&&on!==Cn||he&&!(rn!=null&&rn.errorMsg))&&(Ht="none"),ee.createElement("div",{className:ie.row,style:{display:Ht}},ee.createElement("div",{className:ie.leftLayout},Zt||ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},pe))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ct,{className:rn!=null&&rn.errorMsg?ie.error:""},Mt)))},Mo=[{id:"0",type:"\u5355\u9009\u9898",element:(pe,Mt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,Mt,rn),(Ht=pe==null?void 0:pe.options)==null?void 0:Ht.map((Hn,Tn)=>ee.createElement(Xe,{id:pe==null?void 0:pe.id,key:Tn,value:`${Ln[Tn]}.${Hn}`,tagName:"p"})),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Jt[Mt];const bn=En==null?void 0:En.options,kn=ee.createElement(ee.Fragment,null,za(En,Mt,rn),bn==null?void 0:bn.map((Hn,Tn)=>{var Ha;return ee.createElement("div",{key:Tn,className:ie.option},ee.createElement("aside",{className:((Ha=En==null?void 0:En.answer)==null?void 0:Ha[0])===Ln[Tn]?ie.active:"",onClick:()=>_n("answer",Mt,[Ln[Tn]],rn)},Ln[Tn]),ee.createElement(Xe,{id:En==null?void 0:En.id,tagName:"div",className:`${ie.text}`,onBlur:Aa=>{bn[Tn]=Aa,_n("options",Mt,bn,rn)},value:Hn}))}),lo(En,"",Mt,rn),Ka(En));return Dn?[mn,kn]:wa(mn,kn,En,Mt)},deal:pe=>{var Mt,rn,Cn;pe.score=pe.score===void 0?2:pe.score;let Ht=oa((Mt=pe==null?void 0:pe.answer)==null?void 0:Mt[0]).toUpperCase();pe.answer=Ht?[Ht]:[];let Dn=[];if(!(pe!=null&&pe.options))Dn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{pe.options=(rn=pe.options)==null?void 0:rn.slice(0,8);const Pn=pe.options.map(En=>En==null?void 0:En.trim().replace(/^\s+|\s+$/g,""));new Set(Pn).size!==Pn.length&&Dn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Ht||Dn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Ht&&(Ln.slice(0,((Cn=pe==null?void 0:pe.options)==null?void 0:Cn.length)||8).includes(Ht)||Dn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),oa(pe==null?void 0:pe.question)||Dn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Dn.join(`
|
|
`),pe}},{id:"1",type:"\u591A\u9009\u9898",element:(pe,Mt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,Mt,rn),(Ht=pe==null?void 0:pe.options)==null?void 0:Ht.map((Hn,Tn)=>ee.createElement(Xe,{id:pe==null?void 0:pe.id,key:Tn,value:`${Ln[Tn]}.${Hn}`,tagName:"p"})),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Jt[Mt];const bn=En==null?void 0:En.options,kn=ee.createElement(ee.Fragment,null,za(En,Mt,rn),bn==null?void 0:bn.map((Hn,Tn)=>{var Ha,Aa;return ee.createElement("div",{key:Tn,className:ie.option},ee.createElement("aside",{className:(Aa=(Ha=En==null?void 0:En.answer)==null?void 0:Ha[0])!=null&&Aa.includes(Ln[Tn])?ie.active:"",onClick:()=>{var $a;let io=(($a=En==null?void 0:En.answer)==null?void 0:$a[0])||"";const Ao=Ln[Tn];io.includes(Ao)?io=io.replace(new RegExp(Ao,"g"),""):io+=Ao,io=io.split("").sort().join(""),_n("answer",Mt,[io],rn)}},Ln[Tn]),ee.createElement(Xe,{id:En==null?void 0:En.id,tagName:"div",className:`${ie.text}`,onBlur:$a=>{bn[Tn]=$a,_n("options",Mt,bn,rn)},value:Hn}))}),lo(En,"",Mt,rn),Ka(En));return Dn?[mn,kn]:wa(mn,kn,En,Mt)},deal:pe=>{var Mt,rn,Cn;pe.score=pe.score===void 0?2:pe.score;let Ht=oa((Mt=pe==null?void 0:pe.answer)==null?void 0:Mt[0]).toUpperCase().split("").sort().join("");pe.answer=Ht?[Ht]:[];let Dn=[];if(!(pe!=null&&pe.options))Dn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{pe.options=(rn=pe.options)==null?void 0:rn.slice(0,8);const Pn=pe.options.map(En=>En==null?void 0:En.trim().replace(/^\s+|\s+$/g,""));new Set(Pn).size!==Pn.length&&Dn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Ht||Dn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Ht){const Pn=Ln.slice(0,((Cn=pe==null?void 0:pe.options)==null?void 0:Cn.length)||8);Ba(Pn).includes(Ht)||Dn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return oa(pe==null?void 0:pe.question)||Dn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Dn.join(`
|
|
`),pe}},{id:"2",type:"\u5224\u65AD\u9898",element:(pe,Mt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,Mt,rn),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Jt[Mt];const bn=["\u6B63\u786E","\u9519\u8BEF"];let kn=((Ht=En==null?void 0:En.answer)==null?void 0:Ht[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(kn)?kn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(kn)&&(kn="\u9519\u8BEF");const Hn=ee.createElement(ee.Fragment,null,za(En,Mt,rn),bn==null?void 0:bn.map((Tn,Ha)=>ee.createElement("div",{key:Ha,className:ie.option},ee.createElement("aside",{style:{borderRadius:2},className:kn===Tn?ie.active:"",onClick:()=>_n("answer",Mt,[Tn],rn)},Tn==="\u6B63\u786E"?"T":"F"),ee.createElement("div",{style:{pointerEvents:"none"},className:`${ie.text}`},Tn))),lo(En,"",Mt,rn),Ka(En));return Dn?[mn,Hn]:wa(mn,Hn,En,Mt)},deal:pe=>{var Mt;pe.score=pe.score===void 0?2:pe.score;let rn=oa((Mt=pe==null?void 0:pe.answer)==null?void 0:Mt[0]);pe.answer=rn?[rn]:[];let Cn=[];return rn||Cn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),rn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(rn)&&Cn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),oa(pe==null?void 0:pe.question)||Cn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Cn.join(`
|
|
`),pe}},{id:"3",type:"\u586B\u7A7A\u9898",element:(pe,Mt,rn)=>{var Cn,Ht;const Dn=rn!==void 0,Pn=ee.createElement(ee.Fragment,null,Za(pe,Mt,rn),(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn.map((bn,kn)=>ee.createElement(Xe,{id:pe==null?void 0:pe.id,key:kn,tagName:"p",value:`\u7B54\u6848${kn+1}\uFF1A${bn.text||""}`})),to(pe,"",Dn),ua(pe));let mn=Dn?pe:Jt[Mt];const En=ee.createElement(ee.Fragment,null,za(mn,Mt,rn),(Ht=mn==null?void 0:mn.answer)==null?void 0:Ht.map((bn,kn)=>ee.createElement("div",{key:kn,className:ie.option},ee.createElement("aside",{className:ie.fill},"\u586B\u7A7A\u9879",kn+1),bn.model===1&&ee.createElement(Xe,{id:mn==null?void 0:mn.id,tagName:"div",onBlur:Hn=>{mn.answer[kn].latex=Ma(Hn),_n("answer",Mt,mn.answer,rn)},className:`${ie.text}`,value:bn.latex}),bn.model===2&&ee.createElement(ot.Z,{value:bn.latex,onChange:Hn=>{mn.answer[kn].latex=Hn,_n("answer",Mt,mn.answer,rn)}}))),lo(mn,"",Mt,rn),Ka(mn));return Dn?[Pn,En]:wa(Pn,En,mn,Mt)},deal:pe=>{var Mt,rn,Cn,Ht;pe.score=pe.score===void 0?2:pe.score,pe.question=(Mt=pe.question)==null?void 0:Mt.replaceAll("\u2581","_");const Dn=(rn=pe.answer)==null?void 0:rn.map(mn=>{if(Object.prototype.toString.call(mn)==="[object Object]")return mn;const En={model:1,text:mn,latex:mn};return mn.startsWith("$$")&&mn.endsWith("$$")||mn.startsWith("`$$")&&mn.endsWith("$$`")?(En.model=2,En.latex=mn.slice(2,-2)):En.latex=Ma(mn),En});pe.answer=Dn;let Pn=[];return Dn||Pn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),oa(pe==null?void 0:pe.question)?pe!=null&&pe.question.includes("_")?(Cn=pe==null?void 0:pe.answer)!=null&&Cn.length&&((pe==null?void 0:pe.question.match(/_+/g))||[]).length!==((Ht=pe==null?void 0:pe.answer)==null?void 0:Ht.length)&&Pn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Pn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Pn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Pn.join(`
|
|
`),pe}},{id:"4",type:"\u7B80\u7B54\u9898",element:(pe,Mt,rn)=>{var Cn,Ht;const Dn=rn!==void 0;let Pn=(Cn=pe==null?void 0:pe.answer)==null?void 0:Cn[0];const mn=ee.createElement(ee.Fragment,null,Za(pe,Mt,rn),to(pe,Pn,Dn),ua(pe));let En=Dn?pe:Jt[Mt];const bn=ee.createElement(ee.Fragment,null,za(En,Mt,rn),lo(En,(Ht=En==null?void 0:En.answer)==null?void 0:Ht[0],Mt,rn),Ka(En));return Dn?[mn,bn]:wa(mn,bn,En,Mt)},deal:pe=>{pe.score=pe.score===void 0?5:pe.score;let Mt=[];return oa(pe==null?void 0:pe.question)||Mt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),pe.errorMsg=Mt.join(`
|
|
`),pe}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(pe,Mt)=>{var rn,Cn;const Ht=Jt[Mt],Dn=na.slice(0,4).map(Pn=>({key:Pn,label:Pn,onClick:()=>_n("platform",Mt,Pn)}));return ee.createElement("div",{className:ie.row,style:{display:he?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Za(pe,Mt),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(pe==null?void 0:pe.description)||""}`,tagName:"p"}),to(pe),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${pe==null?void 0:pe.timeLimit}`,tagName:"p"}),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(pe==null?void 0:pe.platform)||""}`,tagName:"p"}),ee.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),ee.createElement("h4",null),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:(pe==null?void 0:pe.code)||"",tagName:"div"}),(rn=pe==null?void 0:pe.inputs)==null?void 0:rn.map((Pn,mn)=>{var En;return ee.createElement(ee.Fragment,{key:mn},ee.createElement("h4",null),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${mn+1})\u8F93\u5165\uFF1A${Pn||""}`,tagName:"div"}),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${mn+1})\u8F93\u51FA\uFF1A${((En=pe==null?void 0:pe.outputs)==null?void 0:En[mn])||""}`,tagName:"div"}))}),ua(pe)))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ct,{className:Ht!=null&&Ht.errorMsg?ie.error:""},za(Ht,Mt),ee.createElement("div",{className:ie.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),ee.createElement(Xe,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.description,tagName:"div",onBlur:Pn=>_n("description",Mt,Pn)}))),lo(Ht,"",Mt),ee.createElement("div",{className:ie.liWrap},ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),ee.createElement(Xe,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.timeLimit,tagName:"div",onBlur:Pn=>_n("timeLimit",Mt,Ma(Pn))})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(Ye.Z,{menu:{items:Dn}},ee.createElement("span",{className:"c-light-primary"},Ht==null?void 0:Ht.platform,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),ee.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},ee.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),ee.createElement(Xe,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.code)||"",onBlur:Pn=>_n("code",Mt,Ma(Pn)),tagName:"div"}))),(Cn=Ht==null?void 0:Ht.inputs)==null?void 0:Cn.map((Pn,mn)=>{var En;return ee.createElement("div",{className:ie.liWrap,key:mn},ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",mn+1,")\u8F93\u5165\uFF1A"),ee.createElement(Xe,{id:Ht==null?void 0:Ht.id,value:Pn||"",className:ie.edit,onBlur:bn=>{const kn=[...(Ht==null?void 0:Ht.inputs)||[]];kn[mn]=Ma(bn),_n("inputs",Mt,kn)},tagName:"div"})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",mn+1,")\u8F93\u51FA\uFF1A"),ee.createElement(Xe,{id:Ht==null?void 0:Ht.id,value:((En=Ht==null?void 0:Ht.outputs)==null?void 0:En[mn])||"",className:ie.edit,onBlur:bn=>{const kn=[...(Ht==null?void 0:Ht.outputs)||[]];kn[mn]=Ma(bn),_n("outputs",Mt,kn)},tagName:"div"})))}),Ka(Ht))))},deal:pe=>{var Mt,rn,Cn;pe.score=pe.score===void 0?10:pe.score,pe.code=(Mt=pe.code)==null?void 0:Mt.trim();let Ht=[];oa(pe==null?void 0:pe.question)?((rn=pe==null?void 0:pe.question)==null?void 0:rn.length)>60&&Ht.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Ht.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),oa(pe==null?void 0:pe.description)||Ht.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Dn=oa(String((pe==null?void 0:pe.timeLimit)||""));if(pe.timeLimit=Dn,(!Dn||Dn&&!["3","4","5","6","7","8","9","10"].includes(Dn))&&Ht.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),pe.platform=oa(pe==null?void 0:pe.platform),pe!=null&&pe.platform){const Pn=["c","c++","java","python"],mn=(Cn=pe==null?void 0:pe.platform)==null?void 0:Cn.toLowerCase(),En=Pn.findIndex(bn=>bn===mn);En>-1?pe.platform=na[En]:Ht.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Ht.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(pe!=null&&pe.inputs)||!(pe!=null&&pe.outputs))pe.inputs=[],pe.outputs=[],Ht.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Pn=Math.min(pe.inputs.length,pe.outputs.length);pe.inputs=pe.inputs.slice(0,Pn),pe.outputs=pe.outputs.slice(0,Pn),pe.outputs.some(mn=>!oa(mn))&&Ht.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return pe.errorMsg=Ht.join(`
|
|
`),pe}},{id:"7",type:"\u7EC4\u5408\u9898",element:(pe,Mt)=>{var rn,Cn;const Ht=Jt[Mt];return ee.createElement("div",{className:ie.row,style:{display:he?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Za(pe,Mt),to(pe),(rn=pe==null?void 0:pe.questions)==null?void 0:rn.map((Dn,Pn)=>{var mn;const En=(mn=Mo.find(bn=>bn.id===(Dn==null?void 0:Dn.type)))==null?void 0:mn.element;return ee.createElement(ee.Fragment,{key:`left-${pe.id}-${Pn}`},En(Dn,Mt,Pn)[0])}),ua(pe),ee.createElement("p",{contentEditable:!0},"}}")))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ct,{className:Ht!=null&&Ht.errorMsg?ie.error:""},za(Ht,Mt),lo(Ht,"",Mt),(Cn=Ht==null?void 0:Ht.questions)==null?void 0:Cn.map((Dn,Pn)=>{var mn;const En=(mn=Mo.find(bn=>bn.id===(Dn==null?void 0:Dn.type)))==null?void 0:mn.element;return ee.createElement(ee.Fragment,{key:`right-${Ht.id}-${Pn}`},En(Dn,Mt,Pn)[1])}),Ka(Ht))))},deal:pe=>{var Mt,rn,Cn,Ht,Dn;const Pn=ka,mn=[...Mo],En=mn.findIndex(Tn=>Tn.id==="0"),bn=mn.findIndex(Tn=>Tn.id==="1");if(En!==-1){const Tn=mn[En].deal;mn[En].deal=Ha=>{const Aa=Tn(Ha);return Aa.errorMsg&&(Aa.errorMsg=Aa.errorMsg.split(`
|
|
`).filter($a=>$a!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
|
|
`)),Aa}}if(bn!==-1){const Tn=mn[bn].deal;mn[bn].deal=Ha=>{const Aa=Tn(Ha);return Aa.errorMsg&&(Aa.errorMsg=Aa.errorMsg.split(`
|
|
`).filter($a=>$a!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
|
|
`)),Aa}}pe.questions=(Mt=pe.questions)!=null&&Mt.length?ka(pe.questions.slice(0,20)):[],pe.questions=(rn=pe.questions)==null?void 0:rn.map((Tn,Ha)=>{var Aa;if(Tn.type==="0"||Tn.type==="1"){const $a=(Aa=Tn.options)==null?void 0:Aa.map(io=>io==null?void 0:io.trim().replace(/^\s+|\s+$/g,""));$a&&new Set($a).size!==$a.length&&(Tn.errorMsg=(Tn.errorMsg?Tn.errorMsg+`
|
|
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Qt(ft({},Tn),{last:Ha===pe.questions.length-1})});const kn=(Cn=pe.questions)==null?void 0:Cn.reduce((Tn,Ha)=>{const Aa=parseFloat(Ha.score);return isNaN(Aa)?Tn:Tn+Aa},0);pe.score=kn;let Hn=[];return(Ht=pe.questions)!=null&&Ht.length?pe.errorMsg=((Dn=pe.questions)==null?void 0:Dn.findIndex(Tn=>!!Tn.errorMsg))>-1:Hn.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),oa(pe==null?void 0:pe.question)||Hn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Hn.length&&(pe.errorMsg=Hn.join(`
|
|
`)),pe}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(pe,Mt)=>{var rn,Cn;const Ht=Jt[Mt],Dn=na.map(Pn=>({key:Pn,label:Pn,onClick:()=>_n("platform",Mt,Pn)}));return ee.createElement("div",{className:ie.row,style:{display:he?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:ie.leftLayout},ee.createElement(St,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},Za(pe,Mt),to(pe),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${pe==null?void 0:pe.timeLimit}`,tagName:"p"}),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(pe==null?void 0:pe.platform)||""}`,tagName:"p"}),ee.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),ee.createElement("h4",null),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:(pe==null?void 0:pe.code)||"",tagName:"div"}),ee.createElement("h4",null),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(pe==null?void 0:pe.input)||""}`,tagName:"p"}),ee.createElement(Xe,{id:pe==null?void 0:pe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(pe==null?void 0:pe.output)||""}`,tagName:"p"}),(rn=pe==null?void 0:pe.answer)==null?void 0:rn.map((Pn,mn)=>ee.createElement(Xe,{key:mn,id:pe==null?void 0:pe.id,value:`\u7B54\u6848${mn+1}\uFF1A${Pn||""}`,tagName:"p"})),ua(pe)))),ee.createElement("div",{className:ie.rightLayout},ee.createElement(ct,{className:Ht!=null&&Ht.errorMsg?ie.error:""},za(Ht,Mt),lo(Ht,"",Mt),ee.createElement("div",{className:ie.liWrap},ee.createElement("div",{className:ie.li,onKeyDown:hn},ee.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),ee.createElement(Xe,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.timeLimit,tagName:"div",onBlur:Pn=>_n("timeLimit",Mt,Ma(Pn))})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(Ye.Z,{menu:{items:Dn}},ee.createElement("span",{className:"c-light-primary"},Ht==null?void 0:Ht.platform,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),ee.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},ee.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),ee.createElement(Xe,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.code)||"",onBlur:Pn=>_n("code",Mt,Ma(Pn)),tagName:"div"})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),ee.createElement(Xe,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.input)||"",onBlur:Pn=>_n("input",Mt,Ma(Pn)),tagName:"div"})),ee.createElement("div",{className:ie.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),ee.createElement(Xe,{className:ie.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.output)||"",onBlur:Pn=>_n("output",Mt,Ma(Pn)),tagName:"div"}))),ee.createElement("div",{className:ie.liWrap},(Cn=Ht==null?void 0:Ht.answer)==null?void 0:Cn.map((Pn,mn)=>ee.createElement("div",{className:ie.li,key:mn},ee.createElement("aside",null,"\u7B54\u6848",mn+1,"\uFF1A"),ee.createElement(Xe,{id:Ht==null?void 0:Ht.id,value:Pn||"",className:ie.edit,onBlur:En=>{const bn=[...(Ht==null?void 0:Ht.answer)||[]];bn[mn]=Ma(En),_n("output",Mt,bn)},tagName:"div"})))),Ka(Ht))))},deal:pe=>{var Mt,rn,Cn,Ht,Dn,Pn,mn,En;pe.score=pe.score===void 0?10:pe.score,pe.code=(Cn=(rn=(Mt=pe.code)==null?void 0:Mt.trim())==null?void 0:rn.replace(/@_@/g,"@\u2581@"))==null?void 0:Cn.replace(/@__@/g,"@\u2581\u2581@");let bn=[];if(oa(pe==null?void 0:pe.question)||bn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),oa(pe==null?void 0:pe.code)?/@▁@|@▁▁@/.test(pe==null?void 0:pe.code)?(Ht=pe==null?void 0:pe.answer)!=null&&Ht.length&&((Dn=pe==null?void 0:pe.code.match(/@▁@|@▁▁@/g))==null?void 0:Dn.length)!==((Pn=pe==null?void 0:pe.answer)==null?void 0:Pn.length)&&bn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):bn.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):bn.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),pe!=null&&pe.answer?(mn=pe.answer)!=null&&mn.some(Hn=>!oa(Hn))&&bn.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):bn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),pe.platform=oa(pe==null?void 0:pe.platform),pe!=null&&pe.platform){const Hn=["c","c++","java","python","javascript","ruby"],Tn=(En=pe==null?void 0:pe.platform)==null?void 0:En.toLowerCase(),Ha=Hn.findIndex(Aa=>Aa===Tn);Ha>-1?pe.platform=na[Ha]:bn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else bn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");oa(pe==null?void 0:pe.output)||bn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const kn=oa(String((pe==null?void 0:pe.timeLimit)||""));return pe.timeLimit=kn,(!kn||kn&&!["3","4","5","6","7","8","9","10"].includes(kn))&&bn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),pe.errorMsg=bn.join(`
|
|
`),pe}}],Go=()=>ee.createElement(ee.Fragment,null,at.filter(pe=>{var Mt;return!!((Mt=Mo.find(Cn=>Cn.id===(pe==null?void 0:pe.type)))==null?void 0:Mt.element)}).map((pe,Mt)=>{var rn;const Cn=(rn=Mo.find(Ht=>Ht.id===(pe==null?void 0:pe.type)))==null?void 0:rn.element;return ee.createElement(ee.Fragment,{key:pe.id},Cn(pe,Mt))})),tr=()=>Be(void 0,null,function*(){const pe=Jt.filter(Mt=>!Mt.checked);if(Sn!==3||!pe.length){Fe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Ca.setFieldsValue({sub_discipline_id:et}),Xt(!0)}),ia=pe=>Be(void 0,null,function*(){const Mt=ka(pe);Bt(Mt),yn(JSON.parse(JSON.stringify(Mt))),On(3),Nn(!1),pn(!1),We(!1)});(0,ee.useEffect)(()=>{if(xn)return;const pe=()=>{Ct(Mt=>Mt>=90?(clearInterval(Vn.current),90):Mt+1)};return Vn.current=setInterval(pe,5e4/90),()=>clearInterval(Vn.current)},[xn]);const In=(pe,Mt)=>{Qn(!1);const rn=new FormData;Object.keys(Mt).forEach(Ht=>{rn.append(Ht,Mt[Ht])});const Cn=new window.XMLHttpRequest;Cn.withCredentials=!0,Cn.addEventListener("load",function(Ht){return Be(this,null,function*(){var Dn,Pn;try{const mn=JSON.parse((Dn=Ht==null?void 0:Ht.target)==null?void 0:Dn.response);if(Qn(!0),Ct(100),yield new Promise(En=>setTimeout(()=>En(),780)),mn.status===0){if(!((Pn=mn==null?void 0:mn.data)!=null&&Pn.length)){Fe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Nn(!1);return}ia((mn==null?void 0:mn.data)||[])}else Nn(!1),Fe.ZP.warning(mn==null?void 0:mn.message)}catch(mn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",mn)}})}),Cn.addEventListener("error",()=>{Nn(!1)}),Cn.open("POST",`${ne.Z.API_SERVER}${pe}`),Cn.send(rn)},Rn=pe=>Be(void 0,null,function*(){const Mt=pe.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(Mt)==-1?(Fe.ZP.error(`${pe.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(Nn(!0),cn("\u5904\u7406\u4E2D"),In("/api/intelligent_imports/import.json",{file:pe}),Promise.reject())}),jn=pe=>Be(void 0,null,function*(){const Mt=pe.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Mt)==-1?(Fe.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):pe.size/1024/1024>200?(Fe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(zt!=null&&zt.length?re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>Pt([pe])}):Pt([pe]),Promise.reject())});let xa=[{key:1,label:ee.createElement(pt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Rn},ee.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,Ve.Ny)()||(0,Ve.$O)())&&xa.push({key:2,label:ee.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{pn(!0)}});const Wa=[Jt.length,(an=Jt.filter(pe=>!!(pe!=null&&pe.errorMsg)))==null?void 0:an.length];return ee.createElement("div",{className:Ge()(ie.intelligentBox,"intelligent-body-curb",se),style:Qt(ft({},Ne),{width:it}),ref:Mn},ee.createElement("div",{className:ie.underpin},ee.createElement("b",{style:mt}),ee.createElement("b",{style:mt})),ee.createElement("div",{className:ie.head,style:{top:Ee}},ee.createElement("div",{className:ie.leftLayout},It||ee.createElement(ee.Fragment,null,ee.createElement(Ue.Z,{align:"middle"},ee.createElement("div",{className:ie.title},"\u8BD5\u9898\u7F16\u8F91"),!Kt&&ee.createElement(z.op,{href:`${ne.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",ee.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),ee.createElement(z.op,{onClick:ha,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Kt&&ee.createElement(Ye.Z,{overlayClassName:ie.menu,menu:{items:xa}},ee.createElement(z.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Nt&&Nt),ee.createElement("div",{className:ie.tip},ee.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),ee.createElement(Ue.Z,{className:ie.rightLayout,style:{alignItems:"start"}},Tt||ee.createElement(ee.Fragment,null,ee.createElement("div",{className:ie.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Sn)&&ee.createElement(ze.default,{className:"ml20",checked:he,onChange:pe=>We(pe.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Sn)&&ee.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",ee.createElement("span",{className:"ml5 mr5 c-light-primary"},Wa[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",ee.createElement("span",{className:"ml5 mr5 c-red-e53"},Wa[1]),"\u9898")),vt&&ee.createElement("div",{className:ie.tabs},at==null?void 0:at.map((pe,Mt)=>ee.createElement("div",{onClick:()=>{Un(Mt)},className:on===Mt&&ie.active,key:Mt},"\u65B0\u9898",Mt+1)))),ee.createElement("div",{className:ie.centerBox},ee.createElement("img",{className:"mb10",src:ge,width:56}),!xe&&ee.createElement(z.op,{onClick:Ga},"\u8BC6\u522B"))),[1,2].includes(Sn)&&Na(),[3].includes(Sn)&&Go(),ee.createElement("div",{className:"pb10"}),ee.createElement("div",{className:ie.buttonFixed},ee.createElement("div",{className:ie.buttonWrap},ee.createElement(Te.ZP,{size:"middle",className:`${ie.button} mr20`,onClick:Se},"\u53D6\u6D88"),ee.createElement(Te.ZP,{size:"middle",type:"primary",className:`${ie.button}`,onClick:tr},nn))),ee.createElement(re.default,{centered:!0,closable:!1,destroyOnClose:!0,open:sn,title:null,footer:null,width:320,afterClose:()=>Ct(0)},ee.createElement(Ue.Z,{align:"middle",style:{flexDirection:"column"}},ee.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Wt,ee.createElement("span",{className:ie.dotLoading},ee.createElement("span",null,"."),ee.createElement("span",null,"."),ee.createElement("span",null,"."))),ee.createElement(oe.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:Lt}),ee.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",ee.createElement("span",{className:"ml5 c-light-primary"},Lt,"%")))),ee.createElement(re.default,{centered:!0,open:bt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:st,width:480,onCancel:()=>Xt(!1),onOk:()=>Ca.submit(),afterClose:()=>{Ca.resetFields()}},ee.createElement(Ce.default,{style:{maxHeight:550},form:Ca,layout:"horizontal",colon:!1,size:"large",onFinish:pe=>Be(void 0,null,function*(){var Mt,rn,Cn,Ht,Dn;const Pn=Jt.filter(bn=>!bn.checked&&!bn.errorMsg);gt(!0);const mn=()=>Be(void 0,null,function*(){var bn,kn;const Hn=yield(0,be.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Qt(ft(ft({},tt),pe),{list:Pn,mode:Oe})});Hn.status===0&&(Vt&&((bn=Hn==null?void 0:Hn.data)!=null&&bn.success)&&window.location.pathname==="/problemset"&&(kt.Z.publish("refresh-item-bank",pe.group_id),yield new Promise(Tn=>setTimeout(()=>Tn(),1500))),Fe.ZP.success(`\u6210\u529F\u5BFC\u5165${(kn=Hn==null?void 0:Hn.data)==null?void 0:kn.success}\u9053\u8BD5\u9898`,3),ve(),Xt(!1)),gt(!1)});if(Oe!==1){yield mn();return}const En=yield(0,be.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Jt,mode:Oe}});if(En.status===0){if(!((Mt=En==null?void 0:En.data)!=null&&Mt.error_size)){yield mn();return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{gt(!1)},title:"\u63D0\u793A",content:ee.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",ee.createElement("span",{className:"c-light-primary ml5 mr5"},(rn=En==null?void 0:En.data)==null?void 0:rn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",ee.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Cn=En==null?void 0:En.data)==null?void 0:Cn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",ee.createElement("span",{className:"ml5 mr5"},(Dn=(Ht=En==null?void 0:En.data)==null?void 0:Ht.index)==null?void 0:Dn.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:mn})}})},ee.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),ee.createElement(Ce.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},ee.createElement(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:Ke})),Oe===1&&ee.createElement(Ce.default.Item,{label:ee.createElement(Ue.Z,{align:"middle",style:{justifyContent:"space-between"}},ee.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),ee.createElement("div",{onClick:()=>He(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},ee.createElement("img",{className:"mr5 primary-hover",src:Le}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},ee.createElement(fe.Z,{key:ut})))),ee.createElement(re.default,{centered:!0,open:xt,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:fn,onCancel:()=>He(!1),onOk:()=>pa.submit(),afterClose:()=>{pa.resetFields()}},ee.createElement(Ce.default,{style:{maxHeight:550},form:pa,layout:"horizontal",colon:!1,size:"large",onFinish:pe=>Be(void 0,null,function*(){var Mt;qt(!0),(yield(0,be.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:pe.name,parent_id:(Mt=pe==null?void 0:pe.parent_id)==null?void 0:Mt[0]}})).status===0?(jt(ut+1),setTimeout(()=>{Fe.ZP.success("\u64CD\u4F5C\u6210\u529F"),He(!1),qt(!1)},1e3)):qt(!1)})},ee.createElement(Ce.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},ee.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),ee.createElement(Ce.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},ee.createElement(fe.Z,null)))),ee.createElement(re.default,{centered:!0,open:Dt,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>pn(!1),onOk:()=>{if($n===1&&!oa(qn)){Fe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if($n===2&&!oa(qn)&&!(zt!=null&&zt.length)){Fe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const pe=[{name:"\u5355\u9009\u9898",num:_t||0},{name:"\u591A\u9009\u9898",num:vn||0},{name:"\u5224\u65AD\u9898",num:ln||0},{name:"\u586B\u7A7A\u9898",num:Xn||0},{name:"\u7B80\u7B54\u9898",num:aa||0}];if(pe.reduce((Cn,Ht)=>Cn+Ht.num,0)===0){Fe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log($n,_t,vn),Nn(!0),cn("\u5904\u7406\u4E2D");const rn={type:$n,query:qn,item_types:JSON.stringify(pe)};$n===2&&(rn.file=(zt==null?void 0:zt[0])||null),In("/api/intelligent_imports/large_model_intelligent_qa.json",rn)}},ee.createElement(Ue.Z,{align:"middle",className:"mb10 c-black"},ee.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),ee.createElement(b.ZP.Group,{value:$n,onChange:pe=>ca(pe.target.value)},ee.createElement(b.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),ee.createElement(b.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),ee.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:qn,placeholder:$n===1?"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\uFF0C\u591A\u4E2A\u77E5\u8BC6\u70B9\u7528\u201C\u3001\u201D\u5206\u9694\u5F00":"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:pe=>{nt(pe.target.value)}}),$n===2&&ee.createElement(ee.Fragment,null,ee.createElement(pt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:zt,beforeUpload:jn,className:"mb20",onRemove:()=>Pt([])},ee.createElement(E.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},ee.createElement(z.op,{style:{borderRadius:2}},ee.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),ee.createElement("div",{style:{height:20}})),ee.createElement(Ue.Z,{align:"middle",className:"c-black"},ee.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),ee.createElement(Ue.Z,{gutter:16},ee.createElement(x.Z,null,ee.createElement("label",null,"\u5355\u9009\u9898"),ee.createElement($e.Z,{min:0,max:10,value:_t,onChange:dn,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u591A\u9009\u9898"),ee.createElement($e.Z,{min:0,max:10,value:vn,onChange:un,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u5224\u65AD\u9898"),ee.createElement($e.Z,{min:0,max:10,value:ln,onChange:Wn,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u586B\u7A7A\u9898"),ee.createElement($e.Z,{min:0,max:10,value:Xn,onChange:Gt,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u7B80\u7B54\u9898"),ee.createElement($e.Z,{min:0,max:10,value:aa,onChange:ya,style:{marginLeft:"8px"}}))))))},Re=ae;var Pe=Qe},68664:function(Ft,Rt,te){"use strict";te.d(Rt,{N:function(){return a}});var ee=te(59301),ie=te(57809),we=te(43418),Ge=te(92832),Ce=te(8591),Fe=te(95237),re=te(43604),$e=te(99064),Ue={wrap:"wrap___F7E3F",selectWrapper:"selectWrapper____kESB",tips:"tips___aHjQY",linkBtn:"linkBtn___uggVr",mainText:"mainText____S1I0",public_tips:"public_tips___sZVWd",inputCss:"inputCss___t66EO",bt:"bt___lXptu",add_style:"add_style___knrMF"},ze=te(92310),Ye=te.n(ze),pt=te(87169),Te=te(59301),oe=(b,E,x)=>new Promise((z,ne)=>{var ae=ge=>{try{de(x.next(ge))}catch(be){ne(be)}},le=ge=>{try{de(x.throw(ge))}catch(be){ne(be)}},de=ge=>ge.done?z(ge.value):Promise.resolve(ge.value).then(ae,le);de((x=x.apply(b,E)).next())});const{Option:y}=ie.default,a=({subId:b,value:E,selectvalues:x,disabled:z,knowledgeOptions:ne=[],className:ae,height:le,onChange:de=()=>{},onAddKnowledgeFinish:ge=()=>{},zIndex:be=1e3})=>{const fe=(0,ee.useRef)(),[Le,ue]=(0,ee.useState)([]);E=E||[];const ot=(Je,ye)=>{Je?(ue([...ye]),de([...ye])):(ue([]),de([]))};(0,ee.useEffect)(()=>{(x==null?void 0:x.length)>0?(ue([...x]),de([...x])):(ue([]),de([]))},[ne]),(0,ee.useEffect)(()=>{(E==null?void 0:E.length)>0&&de([...E])},[ne]);const De=Je=>{Je.preventDefault(),fe.current="",we.default.confirm({centered:!0,width:585,zIndex:be,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u65B0\u5EFA\u77E5\u8BC6\u70B9",className:"custom-modal-divider",content:Te.createElement("div",{className:"font14"},Te.createElement("div",{className:Ue.public_tips},Te.createElement(pt.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("div",{style:{width:"95px"}},Te.createElement("span",{className:Ue.bt},"*"),"\u77E5\u8BC6\u70B9\u540D\u79F0"),Te.createElement(Ge.default,{className:Ue.inputCss,style:{width:"calc(100% - 95px)"},maxLength:20,size:"middle",showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0",defaultValue:fe.current,onChange:ye=>{fe.current=ye.target.value}}))),onOk:()=>new Promise((ye,ke)=>oe(void 0,null,function*(){if(!fe.current)return Ce.ZP.warning("\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"),ke();if(fe.current.length>20)return Ce.ZP.warning("\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u77E5\u8BC6\u70B9\u540D\u79F0"),ke();const qe=yield(0,$e.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:fe.current,sub_discipline_id:b}});if((qe==null?void 0:qe.status)===0){ge({id:qe.tag_discipline_id,name:fe.current,type:"personal"});let Xe=x||[];Xe.push(qe.tag_discipline_id),de([...Xe]),ue([...Xe]),de([...Xe])}return ye()}))})};return Te.createElement(Fe.Z,{wrap:!1,align:"middle",className:Ye()(Ue.wrap,ae)},Te.createElement(re.Z,null,Te.createElement(ie.default,{mode:"multiple",disabled:!b||z,className:Ue.selectWrapper,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",onChange:ot,style:{width:le||490},showSearch:!0,allowClear:!0,value:Le,filterOption:(Je,ye)=>ye.label.indexOf(Je.toLowerCase())>=0},ne==null?void 0:ne.map(Je=>Te.createElement(y,{key:Je.id,value:Je.id,label:Je.name},Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Je.name),(Je==null?void 0:Je.type)==="personal"&&Te.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),b&&Te.createElement(re.Z,{className:`ml20 ${le&&Ue.add_style}`},Te.createElement("span",{className:Ue.tips},"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Te.createElement("span",{className:Ue.linkBtn,onClick:De},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))}},59879:function(Ft,Rt,te){"use strict";var ee=te(59301),ie=te(88010),we=te(48136),Ge=te(41588),Ce=te(43418),Fe=te(59301);const re=(0,ee.forwardRef)(({callback:$e,width:Ue,onChange:ze,disabled:Ye,readOnly:pt,type:Te="",value:oe="",style:y={}},a)=>{const b=(0,ee.useRef)(),E=(0,ee.useRef)(),[x,z]=(0,ee.useState)(0),[ne,ae]=(0,ee.useState)(0),[le,de]=(0,ee.useState)(!1),ge=()=>{var ue=document.createElement("div");ue.innerHTML=b.current.getValue();var ot=ue.innerText;return $e&&$e(ot),ot};(0,ee.useImperativeHandle)(a,()=>({getData:ge}));const be=ue=>{ue.preventDefault();const ot=ue.clientX-x,De=ue.clientY-ne;document.body.onmousemove=Je=>{let ye=Je.clientX-ot,ke=Je.clientY-De;const qe=document.getElementsByClassName("markdown-popup-form")[0],Xe=window.innerWidth-qe.offsetWidth,Ve=window.innerHeight-qe.offsetHeight;ye=Math.max(0,Math.min(ye,Xe)),ke=Math.max(0,Math.min(ke,Ve)),fe(Je.clientX,Je.clientY,ot,De)&&(z(ye),ae(ke))},document.body.onmouseup=function(){document.body.onmousemove=null}},fe=(ue,ot,De,Je)=>{const ye=document.body.clientHeight,ke=document.body.clientWidth;return ue<20&&De>ue||ue>ke-20&&De<ue||ot<20&&Je>ot||ot>ye-20&&Je<ot?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,ee.useEffect)(()=>{le&&setTimeout(()=>{const ue=document.getElementsByClassName("markdown-popup-form")[0],ot=window.innerWidth/2-ue.offsetWidth/2,De=window.innerHeight/2-ue.offsetHeight/2;z(ot),ae(De)},0)},[le]);const Le=()=>{Ye||pt||de(!0)};return Fe.createElement("div",{style:y},Fe.createElement("div",{style:{width:Ue||"100%",position:"relative"},className:`${ie.Z.mathFillWrap} ${Ye||pt?"cursorDefault":""}`,onClick:()=>Le()},Fe.createElement("math-field",{disabled:Ye,locale:"zh_cn",class:`${ie.Z.mathField} ${Te}`,readOnly:pt,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:oe?18:14},value:oe||""})),Fe.createElement(Ce.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:x,top:ne},title:Fe.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:le,onOk:()=>{const ue=E.current.getData();b.current.setValue(ue),ze(ue),de(!1)},onCancel:()=>{de(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Fe.createElement(Ge.Z,{value:oe,ref:E,onChange:ze,showSaveButton:!1})))});Rt.Z=re},41588:function(Ft,Rt,te){"use strict";var ee=te(59301),ie=te(95237),we=te(43604),Ge=te(99313),Ce=te(3113),Fe=te(85149),re=te(88010),$e=te(48136),Ue=te(59301);const ze=(0,ee.forwardRef)(({callback:Ye,showSaveButton:pt,value:Te=""},oe)=>{const y=(0,ee.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 "}]}]}],b=[{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}`}]}]}],E=ne=>{y.current.setValue(y.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ue.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},a.map((ne,ae)=>Ue.createElement(we.Z,{flex:"110px",className:re.Z.item},Ue.createElement("div",null,Ue.createElement(Fe.Z,{value:`$$${ne.value}$$`}),ne.name),Ue.createElement("div",{className:re.Z.children},ne.children.map((le,de)=>Ue.createElement("div",{key:de},Ue.createElement("h1",null,le.name),Ue.createElement(ie.Z,{gutter:[10,10]},le.data.map((ge,be)=>Ue.createElement(we.Z,{key:be,onClick:()=>E(ge),className:re.Z.diamond},Ue.createElement(Fe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ue.createElement(ie.Z,{className:re.Z.lists,gutter:[10,10]},b.map((ne,ae)=>Ue.createElement(we.Z,{flex:"110px",className:re.Z.item},Ue.createElement("div",null,Ue.createElement(Fe.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),Ue.createElement("div",{className:re.Z.children},ne.children.map((le,de)=>Ue.createElement("div",{key:de},le.name&&Ue.createElement("h1",null,le.name),Ue.createElement(ie.Z,{gutter:[10,10]},le.data.map((ge,be)=>Ue.createElement(we.Z,{key:be,onClick:()=>E(ge),className:re.Z.diamond},Ue.createElement(Fe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],z=()=>{var ne=document.createElement("div");ne.innerHTML=y.current.getValue();var ae=ne.innerText;return Ye&&Ye(ae),ae};return(0,ee.useImperativeHandle)(oe,()=>({getData:z})),Ue.createElement("div",{className:re.Z.mathWrap},Ue.createElement(Ge.default,{defaultActiveKey:"1",items:x}),Ue.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Te||""),pt&&Ue.createElement("div",{className:re.Z.button},Ue.createElement(Ce.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Rt.Z=ze},90502:function(Ft,Rt,te){"use strict";te.d(Rt,{t:function(){return Qe}});var ee=te(59301),ie=te(92832),we=te(78241),Ge=te(43418),Ce=te(95237),Fe=te(43604),re=te(5871),$e=te(57809),Ue=te(5112),ze=te(41984),Ye=te(89070),pt=te(43809),Te=te(8591),oe=te(3113),y=te(71418),a=te(24334),b={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},E=te(99064),x=te(88264),z=te(12290),ne=te(56102),ae=te(74440),le=te(59301),de=Object.defineProperty,ge=Object.defineProperties,be=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ot=(Re,Pe,se)=>Pe in Re?de(Re,Pe,{enumerable:!0,configurable:!0,writable:!0,value:se}):Re[Pe]=se,De=(Re,Pe)=>{for(var se in Pe||(Pe={}))Le.call(Pe,se)&&ot(Re,se,Pe[se]);if(fe)for(var se of fe(Pe))ue.call(Pe,se)&&ot(Re,se,Pe[se]);return Re},Je=(Re,Pe)=>ge(Re,be(Pe)),ye=(Re,Pe,se)=>new Promise((Ne,it)=>{var Se=Oe=>{try{tt(se.next(Oe))}catch(Ee){it(Ee)}},ve=Oe=>{try{tt(se.throw(Oe))}catch(Ee){it(Ee)}},tt=Oe=>Oe.done?Ne(Oe.value):Promise.resolve(Oe.value).then(Se,ve);tt((se=se.apply(Re,Pe)).next())}),qe=({buttonProps:Re,buttonText:Pe,form:se,hackIdentifier:Ne="",answerKey:it,data:Se})=>{const[ve,tt]=(0,ee.useState)(!1),[Oe,Ee]=(0,ee.useState)(!1),[et,Kt]=(0,ee.useState)(!1),[ht,It]=(0,ee.useState)({}),[Tt,Zt]=(0,ee.useState)(""),[xe,dt]=(0,ee.useState)(""),vt=(0,ee.useRef)(Ne),mt=(0,ee.useRef)(""),Nt=(0,ee.useRef)(!1);(0,ee.useEffect)(()=>{et&&Sn()},[et]),(0,ee.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Vt=()=>new Date().getTime(),nn=Se==null?void 0:Se.code,an=()=>{var Ct,Wt;let cn=nn?Se==null?void 0:Se.code:(Ct=se.getFieldValue("hack_codes"))==null?void 0:Ct.code,sn=nn?Se==null?void 0:Se.answer_content:se.getFieldValue(it),Nn=nn?Se==null?void 0:Se.input:(Wt=se.getFieldValue("hack_sets"))==null?void 0:Wt.input;sn==null||sn.forEach(at=>{const Bt=at.value||at.answer_text||"";cn=cn.replace(/(@▁@|@▁▁@)/,Bt)}),dt(Nn),Zt(cn),It({}),Kt(!0)},Sn=()=>ye(void 0,null,function*(){var Ct,Wt,cn,sn;const Nn=Vt(),at=nn?Se==null?void 0:Se.time_limit:(Ct=se.getFieldsValue())==null?void 0:Ct.hack.time_limit,Bt=nn?(Wt=Se==null?void 0:Se.answer_content)==null?void 0:Wt.length:(sn=(cn=se.getFieldsValue())==null?void 0:cn.standard_answers)==null?void 0:sn.length;tt(!0),yield(0,x.bM)(mt.current,{test_hack_code:Tt,test_input:xe});function Jt(){return ye(this,null,function*(){const{status:yn,data:he}=yield(0,x.rX)(mt.current,"submit"),st=Vt()-Nn>(at+3)*1e3*Bt;if(Nt.current){if(st){Te.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),tt(!1);return}if(yn===0){tt(!1),It(Je(De({},he),{showText:!0}));return}setTimeout(Jt,1e3)}})}Jt()}),On=()=>ye(void 0,null,function*(){var Ct,Wt,cn,sn,Nn,at,Bt;if(!Se){try{yield se.validateFields()}catch(We){(cn=(Wt=(Ct=We==null?void 0:We.errorFields)==null?void 0:Ct[0])==null?void 0:Wt.name)!=null&&cn.includes("standard_answers")?Te.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Te.ZP.error(We.errorFields[0].errors[0]),se.scrollToField(We.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ee(!0);let yn="";const he=se.getFieldsValue();vt.current?yn=yield(0,E.ZP)(`/api/problems/${vt.current}.json`,{method:"put",body:Je(De({},he),{hack:Je(De({},he==null?void 0:he.hack),{sub_discipline_id:(Bt=(at=he==null?void 0:he.hack)==null?void 0:at.sub_discipline_id)==null?void 0:Bt[1],difficult:he.difficulty,item_banks_group_id:he.item_banks_group_id}),hack_codes:Je(De({},he.hack_codes),{code:a.Base64.encode(he.hack_codes.code)}),update_hack_sets:[De({},he.hack_sets)],is_blank:!0})}):(yn=yield(0,E.ZP)("/api/problems.json",{method:"post",body:Je(De({},he),{hack:Je(De({},he==null?void 0:he.hack),{sub_discipline_id:(Nn=(sn=he==null?void 0:he.hack)==null?void 0:sn.sub_discipline_id)==null?void 0:Nn[1],difficult:he.difficulty,item_banks_group_id:he.item_banks_group_id}),hack_codes:Je(De({},he.hack_codes),{code:a.Base64.encode(he.hack_codes.code)}),hack_sets:[De({},he.hack_sets)],is_blank:!0})}),vt.current=yn==null?void 0:yn.identifier,sessionStorage.projectFill=yn==null?void 0:yn.identifier)}const Jt=yield(0,E.ZP)(`/api/problems/${vt.current}/start.json`,{method:"get"});if((Jt==null?void 0:Jt.status)===0){mt.current=Jt==null?void 0:Jt.identifier,Nt.current=!0,Ee(!1),an();return}Ee(!1)}),Lt=Ct=>{const{status:Wt,error_msg:cn,execute_time:sn,output:Nn,input:at,expected_output:Bt}=Ct;let Jt=null;switch(Wt){case ae.h.OK:Jt=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",sn/1e3,"\u79D2"),le.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ae.h.NOMATCH:Jt=le.createElement(le.Fragment,null,le.createElement("div",null,"\u8F93\u5165\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},at),le.createElement("div",null,"\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Nn&&a.Base64.decode(Nn)),le.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),le.createElement("pre",{style:{fontFamily:"initial"}},Bt&&a.Base64.decode(Bt)));break;case ae.h.EXECUTEFAILURE:Jt=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,at)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(cn)));break;case ae.h.COMPILEFAILURE:Jt=le.createElement(le.Fragment,null,le.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",le.createElement("pre",null,at)),le.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),le.createElement("pre",{className:"error"},a.Base64.decode(cn)));break;case ae.h.PODFAILURE:Jt=le.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ae.h.TIMEOUT:Jt=le.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return le.createElement(le.Fragment,null," ",Jt," ")};return le.createElement("div",null,le.createElement(oe.ZP,Je(De({loading:Oe},Re),{onClick:On}),Pe),le.createElement(Ge.default,{open:et,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:ve,cancelButtonProps:{style:{display:"none"}},onOk:()=>Sn(),onCancel:()=>{Nt.current=!1,Kt(!1)}},le.createElement("div",{className:b.result},le.createElement("div",{className:b.left},le.createElement("div",{className:"mb20"},le.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Se&&le.createElement(ne.CopyToClipboard,{text:Tt,onCopy:()=>Te.ZP.success("\u590D\u5236\u6210\u529F")},le.createElement("span",{style:{float:"right"},className:"current c-light-primary"},le.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),le.createElement(z.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Tt,onChange:Ct=>Zt(Ct)})),le.createElement("div",{className:b.right},le.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),le.createElement("div",{className:b.box},le.createElement("div",{className:b.li},le.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:xe,onChange:Ct=>dt(Ct.target.value),bordered:!1,style:{height:180}}))),le.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),le.createElement("div",{className:b.box},le.createElement(y.Z,{spinning:ve,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},le.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},Lt(ht))))))))},Xe=te(87169),Ve=te(59301),kt=Object.defineProperty,_e=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,yt=(Re,Pe,se)=>Pe in Re?kt(Re,Pe,{enumerable:!0,configurable:!0,writable:!0,value:se}):Re[Pe]=se,Ut=(Re,Pe)=>{for(var se in Pe||(Pe={}))Me.call(Pe,se)&&yt(Re,se,Pe[se]);if(en)for(var se of en(Pe))Ze.call(Pe,se)&&yt(Re,se,Pe[se]);return Re},ft=(Re,Pe)=>_e(Re,Ot(Pe)),Qt=(Re,Pe)=>{var se={};for(var Ne in Re)Me.call(Re,Ne)&&Pe.indexOf(Ne)<0&&(se[Ne]=Re[Ne]);if(Re!=null&&en)for(var Ne of en(Re))Pe.indexOf(Ne)<0&&Ze.call(Re,Ne)&&(se[Ne]=Re[Ne]);return se};const{TextArea:Be}=ie.default,$t=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],hn=({value:Re,onChange:Pe})=>Ve.createElement(Switch,{checked:Re,onChange:se=>{Pe(se)}}),St="@\u2581@",ct="@\u2581\u2581@",Qe=({questionTitlePlaceholder:Re,form:Pe,scoreByBlank:se=!1,hackidentifier:Ne,answerKey:it})=>{const[Se,ve]=(0,ee.useState)(!1),[tt,Oe]=(0,ee.useState)(!1),et=(0,Ye.useParams)().type==="edit",Kt=(mt,Nt)=>{const Vt=Nt.line;let nn=0;for(let Sn=0;Sn<Vt;Sn++)nn+=mt.getLine(Sn).split(St).length-1;for(let Sn=0;Sn<Vt;Sn++)nn+=mt.getLine(Sn).split(ct).length-1;const an=mt.getLine(Vt).substring(0,Nt.ch);return nn+=an.split(St).length-1,nn+=an.split(ct).length-1,nn},ht=(mt,Nt,Vt,nn)=>{const an=mt.getRange(Nt.from,Nt.to);let Sn=0;if(Nt.text.forEach(On=>{Sn+=On.split(St).length-1}),Nt.text.forEach(On=>{Sn+=On.split(ct).length-1}),Nt.origin!=="setValue"){if(an&&(an.indexOf(St)!==-1||an.indexOf(ct)!==-1)){const On=an.split(St).length-1+an.split(ct).length-1,Lt=Kt(mt,Nt.from);if(console.log(`\u5220\u9664${On}\u4E2A\uFF0C \u524D\u9762\u6709${Lt}\u4E2A\uFF0C\u65B0\u589E${Sn}\u4E2A`),On>1){const Ct=Array.from({length:On},(Wt,cn)=>Lt+cn);nn(Ct)}else nn(Lt)}else if(Sn>0){const On=Kt(mt,Nt.from);console.log(`\u65B0\u589E${Sn}\u4E2A\uFF0C\u4E4B\u524D\u6709${On}\u4E2A`),Vt(Sn,On)}}},It=()=>{const mt=Pe.getFieldValue(it);Pe.setFieldsValue({[it]:mt==null?void 0:mt.map((Nt,Vt)=>ft(Ut({},Nt),{position:Vt+1}))})},Tt=(0,ee.useRef)(),Zt=(mt,Nt)=>{for(let Vt=0;Vt<mt;Vt++)Tt.current({position:null,answer_text:""},Nt+Vt);It()},xe=(0,ee.useRef)(),dt=mt=>{xe.current(mt),It()},vt=we.default.useWatch(it,Pe);return Ve.createElement("div",{className:pt.Z.wrap},Ve.createElement(we.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(ze.h,{scrollId:"name",watch:!0,height:140})),Ve.createElement("div",{className:pt.Z.questionTitleEditorWrap},Ve.createElement(we.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(ze.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(mt,Nt)=>{const Vt=Pe.getFieldValue(it);console.log("--preAnswerData",Vt,Nt),Pe.setFieldsValue({[it]:Vt==null?void 0:Vt.map((nn,an)=>{var Sn;return ft(Ut({},nn),{position:an+1,multi_line:(Sn=Nt==null?void 0:Nt[an])==null?void 0:Sn.multiLine})})})},placeholder:Re,onCMBeforeChange:(mt,Nt)=>{ht(mt,Nt,Zt,dt)}}))),Ve.createElement(we.default.List,{name:it,rules:[{validator(mt,Nt){if(!(Nt!=null&&Nt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Vt of Nt){const{answer_text:nn}=Vt||{};if((nn==null?void 0:nn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(mt,{add:Nt,remove:Vt},{errors:nn})=>(Tt.current=Nt,xe.current=Vt,Ve.createElement(Ve.Fragment,null,Ve.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},Ve.createElement(we.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),Ve.createElement("div",{onClick:()=>{Ge.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:Ve.createElement("div",null,Ve.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",Ve.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),Ve.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},Ve.createElement(Xe.Z,{style:{marginRight:3,color:"#3061D0"}}),Ve.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),mt.map((an,Sn)=>{var On=an,{key:Lt,name:Ct}=On,Wt=Qt(On,["key","name"]),cn,sn;return Ve.createElement(Ce.Z,{className:"mb20",key:Lt,align:"middle",wrap:!1},Ve.createElement(Fe.Z,{flex:"0 0 auto",className:`${pt.Z.blankIndex}`},"\u586B\u7A7A\u9879",Sn+1),Ve.createElement(Fe.Z,{flex:1},Ve.createElement(Ce.Z,{align:"top",justify:"space-between",wrap:!1},Ve.createElement(Fe.Z,null,Ve.createElement(we.default.Item,ft(Ut({},Wt),{name:[Ct,"answer_text"],noStyle:!0}),(cn=vt==null?void 0:vt[Ct])!=null&&cn.multi_line||(sn=vt==null?void 0:vt[Ct])!=null&&sn.multiLine?Ve.createElement(Be,{spellCheck:!1,style:{marginLeft:10,width:550}}):Ve.createElement(ie.default,{style:{marginLeft:10,width:550},className:pt.Z.blankInput,size:"large",maxLength:1e3,onBlur:Nn=>{}}))),se&&Ve.createElement(Fe.Z,{flex:"224px"},Ve.createElement(we.default.Item,ft(Ut({},Wt),{name:[Ct,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Ve.createElement(re.Z,{size:"large",className:pt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),Ve.createElement("div",{onClick:()=>ve(!0)},Ve.createElement(we.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Se}))),Ve.createElement(we.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},Ve.createElement($e.default,{size:"large"},$t.map(mt=>Ve.createElement($e.default.Option,{key:mt.title,value:mt.key}," ",mt.title)))),Ve.createElement(we.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},Ve.createElement(we.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},Ve.createElement(re.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),Ve.createElement("span",{className:"ml10 font14"},"\u79D2")),Ve.createElement(we.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},Ve.createElement(Ue.ZP.Group,{style:{marginTop:-10}},Ve.createElement(Ue.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Ve.createElement(Ue.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Ve.createElement(Ue.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),Ve.createElement(we.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),Ve.createElement("div",{style:{background:"#F6F7F9",padding:15}},Ve.createElement(we.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},Ve.createElement(Be,{rows:4})),Ve.createElement(we.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},Ve.createElement(Be,{rows:4}))),Ve.createElement(qe,{form:Pe,answerKey:it,hackIdentifier:Ne,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:Ve.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},65357:function(Ft,Rt,te){"use strict";te.d(Rt,{u:function(){return le}});var ee=te(59301),ie=te(95237),we=te(43604),Ge=te(6848),Ce=te(78241),Fe=te(43809),re=te(32134),$e=te(12893),Ue=te(41984),ze=te(59301),Ye=Object.defineProperty,pt=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(de,ge,be)=>ge in de?Ye(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:be}):de[ge]=be,E=(de,ge)=>{for(var be in ge||(ge={}))y.call(ge,be)&&b(de,be,ge[be]);if(oe)for(var be of oe(ge))a.call(ge,be)&&b(de,be,ge[be]);return de},x=(de,ge)=>pt(de,Te(ge)),z=(de,ge)=>{var be={};for(var fe in de)y.call(de,fe)&&ge.indexOf(fe)<0&&(be[fe]=de[fe]);if(de!=null&&oe)for(var fe of oe(de))ge.indexOf(fe)<0&&a.call(de,fe)&&(be[fe]=de[fe]);return be};const ne=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ae=({value:de,onChange:ge,choiceTextKey:be,answerKey:fe,index:Le,isEdit:ue,setInputActive:ot,form:De,choiceOptionsPath:Je,allowChangeMode:ye,showAddIcon:ke,addItem:qe,deleteItem:Xe})=>{console.log(de,"value");const Ve=(de==null?void 0:de[fe])===1,kt=()=>{const Ot=De.getFieldValue(Je);De.setFieldValue(Je,Ot.map(en=>x(E({},en),{[fe]:0})))},_e=()=>{Ve?ge(x(E({},de),{[fe]:0})):(ye||kt(),ge(x(E({},de),{[fe]:1})))};return ze.createElement(ie.Z,{className:Fe.Z.choiceWrap,align:"middle",wrap:!1},ze.createElement(we.Z,{onClick:_e,className:`${Fe.Z.choiceIndex} ${Ve?Fe.Z.activeAnswer:""}`},ne[Le]),ze.createElement(we.Z,{flex:1,className:`${Fe.Z.editorWrap} ml15`,onClick:ot},ze.createElement(Ue.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ue,value:de==null?void 0:de[be],onChange:Ot=>{ge(x(E({},de),{[be]:Ot}))}})),ze.createElement(we.Z,{flex:"0 0 auto",className:"ml15"},ze.createElement("div",{onClick:_e,className:`${Fe.Z.setAnswerBtn} ${Ve?Fe.Z.activeAnswer:""}`},Ve?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),ze.createElement(we.Z,{className:Fe.Z.actionWrapper},ze.createElement(Ge.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},ze.createElement(re.Z,{className:Fe.Z.addIcon,onClick:qe,style:{visibility:ke?"visible":"hidden"}})),ze.createElement(Ge.Z,{title:"\u5220\u9664"},ze.createElement($e.Z,{className:Fe.Z.deleteIcon,onClick:Xe,style:{visibility:Le>1?"visible":"hidden"}}))))},le=({questionTitlePlaceholder:de,titleKey:ge,choiceKey:be,analysisKey:fe,choiceTextKey:Le,answerKey:ue,choiceOptionsPath:ot,allowChangeMode:De=!0,form:Je,showAnalysis:ye=!0})=>{const[ke,qe]=(0,ee.useState)(),[Xe,Ve]=(0,ee.useState)(!1);return ze.createElement("div",{className:Fe.Z.wrap},ze.createElement("div",{className:Fe.Z.questionTitleEditorWrap},ze.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:ge,labelCol:{span:24},rules:[{required:!0}]},ze.createElement(Ue.h,{scrollId:Array.isArray(ge)?ge.join("_"):`${ge}`,watch:!0,height:140,placeholder:de}))),ze.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ze.createElement(Ce.default.List,{name:be,rules:[{validator(kt,_e){const Ot=_e.some(Me=>Me[ue]===1),en=_e.findIndex(Me=>{var Ze;return((Ze=Me[Le])==null?void 0:Ze.length)<=0});return en!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[en]}\u9009\u9879\u7684\u5185\u5BB9`)):Ot?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(kt,{add:_e,remove:Ot})=>ze.createElement("div",{id:Array.isArray(ot)?ot.join("_"):`${ot}`},kt.map((en,Me)=>{var Ze=en,{key:yt,name:Ut}=Ze,ft=z(Ze,["key","name"]);const Qt=ke===yt,Be=()=>{qe(yt)},$t=Me<7&&Me===kt.length-1,hn=()=>_e({[Le]:"",[ue]:0}),St=()=>Ot(Ut);return ze.createElement(Ce.default.Item,x(E({},ft),{key:yt,name:Ut,className:Fe.Z.choiceListWrap,rules:[{validator(ct,Qe){return Qe!=null&&Qe.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Me]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),ze.createElement(ae,{choiceTextKey:Le,answerKey:ue,index:Me,isEdit:Qt,setInputActive:Be,form:Je,choiceOptionsPath:ot,allowChangeMode:De,showAddIcon:$t,addItem:hn,deleteItem:St}))}),kt.length<8&&ze.createElement("div",{className:`${Fe.Z.addBtn} mb30`,onClick:()=>_e({[Le]:"",[ue]:0})},"\u6DFB\u52A0\u9009\u9879"))),ye&&ze.createElement("div",{onClick:()=>Ve(!0)},ze.createElement(Ce.default.Item,{name:fe,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ze.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Xe}))))}},70472:function(Ft,Rt,te){"use strict";te.d(Rt,{u:function(){return De}});var ee=te(59301),ie=te(43418),we=te(95237),Ge=te(43604),Ce=te(92832),Fe=te(6848),re=te(78673),$e=te(78241),Ue=te(5112),ze=te(5871),Ye=te(41984),pt=te(12893),Te=te(61485),oe=te(43809),y=te(59879),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,le=(Je,ye,ke)=>ye in Je?b(Je,ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Je[ye]=ke,de=(Je,ye)=>{for(var ke in ye||(ye={}))ne.call(ye,ke)&&le(Je,ke,ye[ke]);if(z)for(var ke of z(ye))ae.call(ye,ke)&&le(Je,ke,ye[ke]);return Je},ge=(Je,ye)=>E(Je,x(ye)),be=(Je,ye)=>{var ke={};for(var qe in Je)ne.call(Je,qe)&&ye.indexOf(qe)<0&&(ke[qe]=Je[qe]);if(Je!=null&&z)for(var qe of z(Je))ye.indexOf(qe)<0&&ae.call(Je,qe)&&(ke[qe]=Je[qe]);return ke};const fe=({value:Je,onChange:ye})=>{const ke=Xe=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const Ve=[...Je];Ve.splice(Xe,1),ye(Ve)}})},qe=()=>{const Xe=[...Je];Xe.push(""),ye(Xe)};return a.createElement(we.Z,{className:"ml20"},a.createElement(Ge.Z,{flex:1},Je==null?void 0:Je.map((Xe,Ve)=>a.createElement(we.Z,{key:`${Xe}_${Ve}`,className:"mb20"},a.createElement(Ce.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Xe,autoSize:{maxRows:3},maxLength:1e3,onBlur:kt=>{const _e=[...Je],Ot=kt.target.value.trim();_e[Ve]=Ot,ye(_e)}}),a.createElement(Fe.Z,{title:"\u5220\u9664"},a.createElement(pt.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:Ve>0?"visible":"hidden"},onClick:()=>ke(Ve)}))))),a.createElement(Ge.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{qe()}},"\u65B0\u589E\u7B54\u6848")))},Le=({value:Je,onChange:ye})=>{const ke=Xe=>{ie.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:oe.Z.modal,onOk:()=>{const Ve=[...Je];Ve.splice(Xe,1),ye(Ve)}})},qe=()=>{const Xe=[...Je];Xe.push(""),ye(Xe)};return a.createElement(we.Z,{className:"ml20"},a.createElement(Ge.Z,{flex:1},Je==null?void 0:Je.map((Xe,Ve)=>a.createElement(we.Z,{key:`${Xe}_${Ve}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:Xe,style:{flex:1},onChange:kt=>{const _e=[...Je];_e[Ve]=kt,ye(_e)}}),a.createElement(Fe.Z,{title:"\u5220\u9664"},a.createElement(pt.Z,{className:oe.Z.deleteIcon,style:{marginLeft:15,visibility:Ve>0?"visible":"hidden"},onClick:()=>ke(Ve)}))))),a.createElement(Ge.Z,null,a.createElement("div",{className:`${oe.Z.addBtn}`,onClick:()=>{qe()}},"\u65B0\u589E\u7B54\u6848")))},ue=({value:Je=!0,onChange:ye})=>a.createElement(re.Z,{checked:!Je,onChange:ke=>{ye(!ke)}}),ot="\u2581",De=({questionTitlePlaceholder:Je,form:ye,scoreByBlank:ke=!1,answerKey:qe})=>{const[Xe,Ve]=(0,ee.useState)(!1),kt=(ft,Qt)=>{const Be=Qt.line;let $t=0;for(let St=0;St<Be;St++)$t+=ft.getLine(St).split(ot).length-1;const hn=ft.getLine(Be).substring(0,Qt.ch);return $t+=hn.split(ot).length-1,$t},_e=(ft,Qt,Be,$t)=>{const hn=ft.getRange(Qt.from,Qt.to);let St=0;if(Qt.text.forEach(ct=>{St+=ct.split(ot).length-1}),Qt.origin!=="setValue"){if(hn&&hn.indexOf(ot)!==-1){const ct=hn.split(ot).length-1,Qe=kt(ft,Qt.from);if(console.log(`\u5220\u9664${ct}\u4E2A\uFF0C \u524D\u9762\u6709${Qe}\u4E2A\uFF0C\u65B0\u589E${St}\u4E2A`),ct>1){const Re=Array.from({length:ct},(Pe,se)=>Qe+se);$t(Re)}else $t(Qe)}else if(St>0){const ct=kt(ft,Qt.from);console.log(`\u65B0\u589E${St}\u4E2A\uFF0C\u4E4B\u524D\u6709${ct}\u4E2A`),Be(St,ct)}}},Ot=()=>{const ft=ye.getFieldValue(qe);ye.setFieldsValue({[qe]:ft.map((Qt,Be)=>ge(de({},Qt),{position:Be+1}))})},en=(0,ee.useRef)(),Me=(ft,Qt)=>{for(let Be=0;Be<ft;Be++)en.current({position:null,answer_text:[""],model:1},Qt+Be);Ot()},Ze=(0,ee.useRef)(),yt=ft=>{Ze.current(ft),Ot()},Ut=$e.default.useWatch(qe,ye);return a.createElement("div",{className:oe.Z.wrap},a.createElement("div",{className:oe.Z.questionTitleEditorWrap},a.createElement($e.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ye.h,{scrollId:"name",watch:!0,height:140,placeholder:Je,showNullButton:!0,onCMBeforeChange:(ft,Qt)=>{_e(ft,Qt,Me,yt)}}))),a.createElement($e.default.List,{name:qe,rules:[{validator(ft,Qt){if(!(Qt!=null&&Qt.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Be of Qt){const{answer_text:$t}=Be||{};if($t!=null&&$t.some(hn=>(hn==null?void 0:hn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ft,{add:Qt,remove:Be},{errors:$t})=>(en.current=Qt,Ze.current=Be,a.createElement(a.Fragment,null,a.createElement($e.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(ft!=null&&ft.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),ft.map((hn,St)=>{var ct=hn,{key:Qe,name:Re}=ct,Pe=be(ct,["key","name"]),se,Ne;return a.createElement("div",{style:{marginBottom:10},key:Qe},a.createElement(we.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ge.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${oe.Z.blankIndex}`},"\u586B\u7A7A\u9879",St+1),a.createElement($e.default.Item,ge(de({},Pe),{name:[Re,"model"],noStyle:!0}),a.createElement(Ue.ZP.Group,{onChange:()=>{const it=ye.getFieldValue(qe);ye.setFieldsValue({[qe]:it.map((Se,ve)=>ge(de({},Se),{answer_text:Re===ve?[""]:Se.answer_text}))})}},a.createElement(Ue.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Fe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Te.Z,null))),a.createElement(Ue.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Fe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Te.Z,null)))))),a.createElement(we.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ge.Z,{flex:1},a.createElement(we.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ge.Z,{flex:1},a.createElement($e.default.Item,ge(de({},Pe),{name:[Re,"answer_text"],noStyle:!0}),((Ne=(se=ye.getFieldValue(qe))==null?void 0:se[Re])==null?void 0:Ne.model)===1?a.createElement(fe,null):a.createElement(Le,null))),ke&&a.createElement(Ge.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement($e.default.Item,ge(de({},Pe),{name:[Re,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:oe.Z.blankInputNumberWrapper}),a.createElement(ze.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement($e.default.Item,ge(de({},Pe),{name:[Re,"position"],noStyle:!0}),a.createElement(Ce.default,{type:"hidden"})))))})))),a.createElement(we.Z,{align:"middle"},a.createElement($e.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Ge.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(we.Z,{align:"middle"},a.createElement($e.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(re.Z,null)),a.createElement(Ge.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ut==null?void 0:Ut.length)>1&&a.createElement(we.Z,{align:"middle",className:(Ut==null?void 0:Ut.length)>1?"mb30":`${oe.Z.hide}`},a.createElement($e.default.Item,{name:"is_ordered"},a.createElement(ue,null)),a.createElement(Ge.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>Ve(!0)},a.createElement($e.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ye.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Xe}))))}},11832:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return z}});var ee=te(59301),ie=te(95237),we=te(43604),Ge=te(78241),Ce=te(43809),Fe=te(41984),re=te(59301),$e=Object.defineProperty,Ue=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,oe=(ne,ae,le)=>ae in ne?$e(ne,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):ne[ae]=le,y=(ne,ae)=>{for(var le in ae||(ae={}))pt.call(ae,le)&&oe(ne,le,ae[le]);if(Ye)for(var le of Ye(ae))Te.call(ae,le)&&oe(ne,le,ae[le]);return ne},a=(ne,ae)=>Ue(ne,ze(ae)),b=(ne,ae)=>{var le={};for(var de in ne)pt.call(ne,de)&&ae.indexOf(de)<0&&(le[de]=ne[de]);if(ne!=null&&Ye)for(var de of Ye(ne))ae.indexOf(de)<0&&Te.call(ne,de)&&(le[de]=ne[de]);return le};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},x=({value:ne,onChange:ae,form:le})=>{const de=(ne==null?void 0:ne.is_answer)===1,ge=ne==null?void 0:ne.choice_text,be=()=>{const fe=le.getFieldsValue().choices.map(Le=>({choice_text:Le.choice_text,is_answer:0}));le.setFieldsValue({choices:fe}),ae(a(y({},ne),{is_answer:1}))};return re.createElement(ie.Z,{className:Ce.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},re.createElement(we.Z,{onClick:be,className:`${Ce.Z.choiceIndex} ${Ce.Z.judgementIndex} ${de?Ce.Z.activeAnswer:""}`},E[ge]),re.createElement(we.Z,{flex:1,className:`${Ce.Z.editorWrap} ml15`},re.createElement("div",{className:`${Ce.Z.inputBorder} ${Ce.Z.placeholder} ${de?Ce.Z.activeJudgementAnswer:""}`},ge)),re.createElement(we.Z,{flex:"0 0 auto",className:"ml15"},re.createElement("div",{onClick:be,className:`${Ce.Z.setAnswerBtn} ${de?Ce.Z.activeAnswer:""}`},de?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},z=({questionTitlePlaceholder:ne,choiceKey:ae,form:le})=>{const[de,ge]=(0,ee.useState)(!1);return re.createElement("div",{className:Ce.Z.wrap},re.createElement("div",{className:Ce.Z.questionTitleEditorWrap},re.createElement(Ge.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},re.createElement(Fe.h,{scrollId:"name",watch:!0,height:140,placeholder:ne}))),re.createElement(Ge.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},re.createElement(Ge.default.List,{name:"choices",rules:[{validator(be,fe){return fe.some(ue=>(ue==null?void 0:ue.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},be=>re.createElement("div",{id:"choices"},be.map(fe=>{var Le=fe,{key:ue,name:ot}=Le,De=b(Le,["key","name"]);return re.createElement(Ge.default.Item,a(y({},De),{key:ue,name:ot,noStyle:!0}),re.createElement(x,{form:le}))})))),re.createElement("div",{onClick:()=>ge(!0)},re.createElement(Ge.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},re.createElement(Fe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:de}))))}},41984:function(Ft,Rt,te){"use strict";te.d(Rt,{h:function(){return y},x:function(){return a}});var ee=te(12290),ie=te(43809),we=te(85149),Ge=te(59301),Ce=Object.defineProperty,Fe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Ye=(b,E,x)=>E in b?Ce(b,E,{enumerable:!0,configurable:!0,writable:!0,value:x}):b[E]=x,pt=(b,E)=>{for(var x in E||(E={}))Ue.call(E,x)&&Ye(b,x,E[x]);if($e)for(var x of $e(E))ze.call(E,x)&&Ye(b,x,E[x]);return b},Te=(b,E)=>Fe(b,re(E)),oe=(b,E)=>{var x={};for(var z in b)Ue.call(b,z)&&E.indexOf(z)<0&&(x[z]=b[z]);if(b!=null&&$e)for(var z of $e(b))E.indexOf(z)<0&&ze.call(b,z)&&(x[z]=b[z]);return x};const y=b=>{var E=b,{value:x,onChange:z,scrollId:ne}=E,ae=oe(E,["value","onChange","scrollId"]);return Ge.createElement("div",{id:ne||""},Ge.createElement(ee.Z,Te(pt({},ae),{defaultValue:x,onChange:(le,de)=>{de!=null&&de.length?z(le,de):z(le)}})))},a=({value:b,onChange:E,placeholder:x,height:z=140,isEdit:ne,miniToolbar:ae,watch:le=!0})=>ne?Ge.createElement(ee.Z,{watch:le,isFocus:!0,height:z||void 0,placeholder:x,defaultValue:b,onChange:E,miniToolbar:ae}):Ge.createElement("div",{style:{cursor:"pointer"}},b?Ge.createElement(we.Z,{className:ie.Z.inputBorder,value:b}):Ge.createElement("div",{className:`${ie.Z.inputBorder} ${ie.Z.placeholder} inputBorderError`},x))},35173:function(Ft,Rt,te){"use strict";te.d(Rt,{W:function(){return Le}});var ee=te(59301),ie=te(8591),we=te(12563),Ge=te(78241),Ce=te(78673),Fe=te(95237),re=te(43604),$e=te(6848),Ue=te(92832),ze=te(5871),Ye=te(43809),pt=te(41984),Te=te(12290),oe=te(61485),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(ue,ot,De)=>ot in ue?y(ue,ot,{enumerable:!0,configurable:!0,writable:!0,value:De}):ue[ot]=De,ae=(ue,ot)=>{for(var De in ot||(ot={}))x.call(ot,De)&&ne(ue,De,ot[De]);if(E)for(var De of E(ot))z.call(ot,De)&&ne(ue,De,ot[De]);return ue},le=(ue,ot)=>a(ue,b(ot)),de=(ue,ot)=>{var De={};for(var Je in ue)x.call(ue,Je)&&ot.indexOf(Je)<0&&(De[Je]=ue[Je]);if(ue!=null&&E)for(var Je of E(ue))ot.indexOf(Je)<0&&z.call(ue,Je)&&(De[Je]=ue[Je]);return De};const ge=ue=>{var ot=ue,{value:De,onChange:Je}=ot,ye=de(ot,["value","onChange"]);const ke=qe=>{Je([qe])};return ee.createElement(Te.Z,le(ae({},ye),{defaultValue:De==null?void 0:De[0],onChange:ke}))},be=ue=>{if(!ue)return!1;if(/^s*$/.test(ue)||ue.trim()===""){ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let ot=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return ue==="|"?(ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},fe=({value:ue=[],onClose:ot})=>ee.createElement(we.default,{closable:!0,onClose:ot,className:Ye.Z.keywordTag},ee.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ue.join(" \u6216 "))),Le=({questionTitlePlaceholder:ue,form:ot,showKeywords:De,isMustKeyWords:Je=De})=>{const[ye,ke]=(0,ee.useState)(!1),[qe,Xe]=(0,ee.useState)(""),Ve=Ge.default.useWatch("use_keywords",ot),kt=Ge.default.useWatch("question_score",ot);return ee.createElement("div",{className:Ye.Z.wrap},ee.createElement("div",{className:Ye.Z.questionTitleEditorWrap},ee.createElement(Ge.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ee.createElement(pt.h,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),ee.createElement(Ge.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},ee.createElement(ge,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),De&&!Je&&ee.createElement(Ge.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},ee.createElement(Ce.Z,{defaultChecked:!0})),De&&Je&&ee.createElement(Fe.Z,{align:"middle",className:"mb30"},ee.createElement(Ge.default.Item,{name:"use_keywords",valuePropName:"checked"},ee.createElement(Ce.Z,null)),ee.createElement(re.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),ee.createElement(re.Z,null,ee.createElement($e.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},ee.createElement(oe.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Ve||!Je)&&ee.createElement(Ge.default.List,{name:"keywords",rules:[{validator(_e,Ot){return Je?Ot!=null&&Ot.length?(Ot==null?void 0:Ot.reduce((Me,Ze)=>Me+Ze.score,0))>parseFloat(kt)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(_e,{add:Ot,remove:en})=>ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${Ye.Z.title} mb10`},Je?"\u5173\u952E\u8BCD":ee.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),ee.createElement(Fe.Z,{align:"middle",className:"font14 mb30"},ee.createElement(re.Z,{flex:1},ee.createElement(Ue.default,{value:qe,onChange:Me=>{Xe(Me.target.value)},maxLength:50,allowClear:!0,onPressEnter:Me=>{var Ze,yt,Ut,ft;const Qt=`${(Ze=Me.target)==null?void 0:Ze.value}`,Be=(Ut=(yt=Qt==null?void 0:Qt.split("|"))==null?void 0:yt.filter(St=>!!St))==null?void 0:Ut.map(St=>St==null?void 0:St.trim()),$t=ot.getFieldValue("keywords"),hn=((ft=$t==null?void 0:$t.map(St=>St==null?void 0:St.keyword))==null?void 0:ft.flat())||[];for(const St of Be)if(hn.includes(St)){ie.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}be(Qt)&&(Ot({keyword:Be,score:1}),Xe(""))},className:Ye.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),ee.createElement(re.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),_e.map(Me=>{var Ze=Me,{key:yt,name:Ut}=Ze,ft=de(Ze,["key","name"]);return ee.createElement(Fe.Z,{key:yt,className:"mb20",style:{marginRight:148}},ee.createElement(re.Z,{flex:1},ee.createElement(Fe.Z,{align:"middle",justify:"space-between"},ee.createElement(Ge.default.Item,le(ae({},ft),{name:[Ut,"keyword"]}),ee.createElement(fe,{onClose:()=>en(Ut)})),Je&&ee.createElement(Ge.default.Item,le(ae({},ft),{name:[Ut,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ye.Z.blankInputNumberWrapper}),ee.createElement(ze.Z,{className:Ye.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),ee.createElement("div",{onClick:()=>ke(!0)},ee.createElement(Ge.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ee.createElement(pt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ye}))))}},94734:function(Ft,Rt,te){"use strict";te.d(Rt,{tc:function(){return On.t},uh:function(){return ee.u},rL:function(){return Sn},u8:function(){return we.u},ZZ:function(){return ie.Z},Wk:function(){return Ge.W}});var ee=te(65357),ie=te(11832),we=te(70472),Ge=te(35173),Ce=te(59301),Fe=te(36381),re=te(78241),$e=te(95237),Ue=te(43604),ze=te(5871),Ye=te(6848),pt=te(38854),Te=te(43809),oe=te(12893),y=te(41984),a=te(43418),b=te(92832),E=te(78673),x=te(59301),z=Object.defineProperty,ne=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,be=(Lt,Ct,Wt)=>Ct in Lt?z(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ct]=Wt,fe=(Lt,Ct)=>{for(var Wt in Ct||(Ct={}))de.call(Ct,Wt)&&be(Lt,Wt,Ct[Wt]);if(le)for(var Wt of le(Ct))ge.call(Ct,Wt)&&be(Lt,Wt,Ct[Wt]);return Lt},Le=(Lt,Ct)=>ne(Lt,ae(Ct)),ue=(Lt,Ct)=>{var Wt={};for(var cn in Lt)de.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Wt[cn]=Lt[cn]);if(Lt!=null&&le)for(var cn of le(Lt))Ct.indexOf(cn)<0&&ge.call(Lt,cn)&&(Wt[cn]=Lt[cn]);return Wt};const ot=({value:Lt,onChange:Ct})=>{const Wt=sn=>{a.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Te.Z.modal,onOk:()=>{const Nn=[...Lt];Nn.splice(sn,1),Ct(Nn)}})},cn=()=>{const sn=[...Lt];sn.push(""),Ct(sn)};return x.createElement($e.Z,{className:"ml20"},x.createElement(Ue.Z,{flex:1},Lt==null?void 0:Lt.map((sn,Nn)=>x.createElement($e.Z,{key:`${sn}_${Nn}`,align:"middle",className:"mb20"},x.createElement(b.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:sn,autoSize:{maxRows:3},maxLength:1e3,onBlur:at=>{const Bt=[...Lt],Jt=at.target.value.trim();Bt[Nn]=Jt,Ct(Bt)}}),x.createElement(Ye.Z,{title:"\u5220\u9664"},x.createElement(oe.Z,{className:Te.Z.deleteIcon,style:{marginLeft:15,visibility:Nn>0?"visible":"hidden"},onClick:()=>Wt(Nn)}))))),x.createElement(Ue.Z,null,x.createElement("div",{className:`${Te.Z.addBtn}`,onClick:()=>{cn()}},"\u65B0\u589E\u7B54\u6848")))},De=({value:Lt=!0,onChange:Ct})=>x.createElement(E.Z,{checked:!Lt,onChange:Wt=>{Ct(!Wt)}}),Je="\u2581",ye=({questionTitlePlaceholder:Lt,form:Ct,name:Wt,scoreByBlank:cn=!1,answerKey:sn,titleKey:Nn="name",analysisKey:at="analysis",isOrdered:Bt="is_ordered"})=>{var Jt,yn;const[he,We]=(0,Ce.useState)(!1),st=(ut,jt)=>{const Dt=jt.line;let pn=0;for(let qt=0;qt<Dt;qt++)pn+=ut.getLine(qt).split(Je).length-1;const fn=ut.getLine(Dt).substring(0,jt.ch);return pn+=fn.split(Je).length-1,pn},gt=(ut,jt,Dt,pn)=>{const fn=ut.getRange(jt.from,jt.to);let qt=0;if(jt.text.forEach(xn=>{qt+=xn.split(Je).length-1}),jt.origin!=="setValue"){if(fn&&fn.indexOf(Je)!==-1){const xn=fn.split(Je).length-1,Qn=st(ut,jt.from);if(console.log(`\u5220\u9664${xn}\u4E2A\uFF0C \u524D\u9762\u6709${Qn}\u4E2A\uFF0C\u65B0\u589E${qt}\u4E2A`),xn>1){const on=Array.from({length:xn},(Un,$n)=>Qn+$n);pn(on)}else pn(Qn)}else if(qt>0){const xn=st(ut,jt.from);console.log(`\u65B0\u589E${qt}\u4E2A\uFF0C\u4E4B\u524D\u6709${xn}\u4E2A`),Dt(qt,xn)}}},bt=()=>{const ut=Ct.getFieldValue(["sub_item_banks",...sn]);Ct.setFieldValue(["sub_item_banks",...sn],ut==null?void 0:ut.map((jt,Dt)=>Le(fe({},jt),{position:Dt+1})))},Xt=(0,Ce.useRef)(),xt=(ut,jt)=>{for(let Dt=0;Dt<ut;Dt++)Xt.current({position:null,answer_text:[""]},jt+Dt);bt()},He=(0,Ce.useRef)(),Ke=ut=>{He.current(ut),bt()},Ie=(yn=(Jt=Ct.getFieldValue("sub_item_banks"))==null?void 0:Jt[sn==null?void 0:sn[0]])==null?void 0:yn[sn==null?void 0:sn[1]];return(0,Ce.useEffect)(()=>{console.log("========",Ct.getFieldsValue())},[Ct]),x.createElement("div",{className:Te.Z.wrap},x.createElement("div",{className:Te.Z.questionTitleEditorWrap},x.createElement(re.default.Item,{label:"\u9898\u5E72",name:Nn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt,showNullButton:!0,onCMBeforeChange:(ut,jt)=>{gt(ut,jt,xt,Ke)}}))),x.createElement(re.default.List,{name:sn,rules:[{validator(ut,jt){if((jt==null?void 0:jt.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Dt of jt){const{answer_text:pn}=Dt||{};if(pn!=null&&pn.some(fn=>(fn==null?void 0:fn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ut,{add:jt,remove:Dt},{errors:pn})=>(Xt.current=jt,He.current=Dt,x.createElement(x.Fragment,null,x.createElement(re.default.Item,{label:x.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(ut!=null&&ut.length)&&x.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),ut.map((fn,qt)=>{var xn=fn,{key:Qn,name:on}=xn,Un=ue(xn,["key","name"]);return x.createElement($e.Z,{align:"top",key:Qn},x.createElement(Ue.Z,{className:`${Te.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",qt+1),x.createElement(Ue.Z,{flex:1},x.createElement($e.Z,{align:"top",justify:"space-between"},x.createElement(Ue.Z,{flex:1},x.createElement(re.default.Item,Le(fe({},Un),{name:[on,"answer_text"],noStyle:!0}),x.createElement(ot,null))),cn&&x.createElement(Ue.Z,{flex:"224px"},x.createElement(re.default.Item,Le(fe({},Un),{name:[on,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Te.Z.blankInputNumberWrapper}),x.createElement(ze.Z,{className:Te.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),x.createElement(re.default.Item,Le(fe({},Un),{name:[on,"position"],noStyle:!0}),x.createElement(b.default,{type:"hidden"}))))})))),x.createElement($e.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Wt,"downcase"],valuePropName:"checked"},x.createElement(E.Z,null)),x.createElement(Ue.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),x.createElement($e.Z,{align:"middle"},x.createElement(re.default.Item,{name:[Wt,"no_space"],valuePropName:"checked"},x.createElement(E.Z,null)),x.createElement(Ue.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ie==null?void 0:Ie.length)>1&&x.createElement($e.Z,{align:"middle",className:(Ie==null?void 0:Ie.length)>1?"mb30":`${Te.Z.hide}`},x.createElement(re.default.Item,{name:Bt},x.createElement(De,null)),x.createElement(Ue.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),x.createElement("div",{className:"mt30",onClick:()=>We(!0)},x.createElement(re.default.Item,{name:at,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:he}))))};var ke=te(59301),qe=Object.defineProperty,Xe=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,en=(Lt,Ct,Wt)=>Ct in Lt?qe(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ct]=Wt,Me=(Lt,Ct)=>{for(var Wt in Ct||(Ct={}))_e.call(Ct,Wt)&&en(Lt,Wt,Ct[Wt]);if(kt)for(var Wt of kt(Ct))Ot.call(Ct,Wt)&&en(Lt,Wt,Ct[Wt]);return Lt},Ze=(Lt,Ct)=>Xe(Lt,Ve(Ct)),yt=(Lt,Ct)=>{var Wt={};for(var cn in Lt)_e.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Wt[cn]=Lt[cn]);if(Lt!=null&&kt)for(var cn of kt(Lt))Ct.indexOf(cn)<0&&Ot.call(Lt,cn)&&(Wt[cn]=Lt[cn]);return Wt};const Ut={\u6B63\u786E:"T",\u9519\u8BEF:"F"},ft=({value:Lt,onChange:Ct,form:Wt,choiceKey:cn})=>{const sn=(Lt==null?void 0:Lt.is_answer)===1,Nn=Lt==null?void 0:Lt.choice_text,at=()=>{var Bt;const Jt=(Bt=Wt==null?void 0:Wt.getFieldValue(["sub_item_banks",...cn]))==null?void 0:Bt.map(yn=>({choice_text:yn.choice_text,is_answer:0}));Wt==null||Wt.setFieldValue(["sub_item_banks",...cn],Jt),Ct(Ze(Me({},Lt),{is_answer:1}))};return ke.createElement($e.Z,{className:Te.Z.choiceWrap,align:"middle",wrap:!1},ke.createElement(Ue.Z,{onClick:at,className:`${Te.Z.choiceIndex} ${Te.Z.judgementIndex} ${sn?Te.Z.activeAnswer:""}`},Ut[Nn]),ke.createElement(Ue.Z,{flex:1,className:`${Te.Z.editorWrap} ml15`},ke.createElement("div",{className:`${Te.Z.inputBorder} ${Te.Z.placeholder} ${sn?Te.Z.activeJudgementAnswer:""}`},Nn)),ke.createElement(Ue.Z,{flex:"0 0 auto",className:"ml15"},ke.createElement("div",{onClick:at,className:`${Te.Z.setAnswerBtn} ${sn?Te.Z.activeAnswer:""}`},sn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Qt=({questionTitlePlaceholder:Lt,choiceKey:Ct="choices",form:Wt,titleKey:cn="name",analysisKey:sn="analysis"})=>{const[Nn,at]=(0,Ce.useState)(!1);return ke.createElement("div",{className:Te.Z.wrap},ke.createElement("div",{className:Te.Z.questionTitleEditorWrap},ke.createElement(re.default.Item,{label:"\u9898\u5E72",name:cn,labelCol:{span:24},rules:[{required:!0}]},ke.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),ke.createElement(re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},ke.createElement(re.default.List,{name:Ct,rules:[{validator(Bt,Jt){return Jt.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Bt=>ke.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Bt.map(Jt=>{var yn=Jt,{key:he,name:We}=yn,st=yt(yn,["key","name"]);return ke.createElement(re.default.Item,Ze(Me({},st),{key:he,name:We,noStyle:!0}),ke.createElement(ft,{form:Wt,choiceKey:Ct}))})))),ke.createElement("div",{className:"mt30",onClick:()=>at(!0)},ke.createElement(re.default.Item,{name:sn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ke.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Nn}))))};var Be=te(8591),$t=te(12563),hn=te(12290),St=te(61485),ct=Object.defineProperty,Qe=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,it=(Lt,Ct,Wt)=>Ct in Lt?ct(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ct]=Wt,Se=(Lt,Ct)=>{for(var Wt in Ct||(Ct={}))se.call(Ct,Wt)&&it(Lt,Wt,Ct[Wt]);if(Pe)for(var Wt of Pe(Ct))Ne.call(Ct,Wt)&&it(Lt,Wt,Ct[Wt]);return Lt},ve=(Lt,Ct)=>Qe(Lt,Re(Ct)),tt=(Lt,Ct)=>{var Wt={};for(var cn in Lt)se.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Wt[cn]=Lt[cn]);if(Lt!=null&&Pe)for(var cn of Pe(Lt))Ct.indexOf(cn)<0&&Ne.call(Lt,cn)&&(Wt[cn]=Lt[cn]);return Wt};const Oe=Lt=>{var Ct=Lt,{value:Wt,onChange:cn}=Ct,sn=tt(Ct,["value","onChange"]);const Nn=at=>{cn([at])};return Ce.createElement(hn.Z,ve(Se({},sn),{defaultValue:Wt==null?void 0:Wt[0],onChange:Nn}))},Ee=Lt=>{if(!Lt)return!1;let Ct=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Lt==="|"?(Be.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},et=({value:Lt=[],onClose:Ct})=>Ce.createElement($t.default,{closable:!0,onClose:Ct,className:Te.Z.keywordTag},Ce.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Lt.join(" \u6216 "))),Kt=({questionTitlePlaceholder:Lt,form:Ct,showKeywords:Wt,isMustKeyWords:cn=Wt,titleKey:sn="name",analysisKey:Nn="analysis",answerTexts:at="answer_texts",keywords:Bt="keywords",useKeywords:Jt="use_keywords",indexs:yn})=>{const[he,We]=(0,Ce.useState)(!1),[st,gt]=(0,Ce.useState)(""),[bt,Xt]=(0,Ce.useState)(!1),xt=re.default.useWatch("question_score",Ct);return Ce.createElement("div",{className:Te.Z.wrap},Ce.createElement("div",{className:Te.Z.questionTitleEditorWrap},Ce.createElement(re.default.Item,{label:"\u9898\u5E72",name:sn,labelCol:{span:24},rules:[{required:!0}]},Ce.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),Ce.createElement(re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:at,labelCol:{span:24}},Ce.createElement(Oe,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Wt&&!cn&&Ce.createElement(re.default.Item,{hidden:!0,name:Jt,valuePropName:"checked"},Ce.createElement(E.Z,{defaultChecked:!0})),Wt&&cn&&Ce.createElement($e.Z,{align:"middle",className:"mb30"},Ce.createElement(re.default.Item,{name:Jt,valuePropName:"checked"},Ce.createElement(E.Z,{onChange:()=>{var He,Ke,Ie,ut,jt,Dt;console.log(Ct.getFieldsValue()),Xt((Ie=(Ke=(He=Ct.getFieldsValue())==null?void 0:He.sub_item_banks)==null?void 0:Ke[yn])==null?void 0:Ie.use_keywords),console.log((Dt=(jt=(ut=Ct.getFieldsValue())==null?void 0:ut.sub_item_banks)==null?void 0:jt[yn])==null?void 0:Dt.use_keywords),console.log(bt)}})),Ce.createElement(Ue.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Ce.createElement(Ue.Z,null,Ce.createElement(Ye.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},Ce.createElement(St.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(bt||!cn)&&Ce.createElement(re.default.List,{name:Bt,rules:[{validator(He,Ke){return cn?Ke!=null&&Ke.length?(Ke==null?void 0:Ke.reduce((ut,jt)=>ut+jt.score,0))>parseFloat(xt)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(He,{add:Ke,remove:Ie})=>Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:`${Te.Z.title} mb10`},cn?"\u5173\u952E\u8BCD":Ce.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),Ce.createElement($e.Z,{align:"middle",className:"font14 mb30"},Ce.createElement(Ue.Z,{flex:1},Ce.createElement(b.default,{value:st,onChange:ut=>{gt(ut.target.value)},maxLength:50,allowClear:!0,onPressEnter:ut=>{var jt,Dt,pn,fn;const qt=`${(jt=ut.target)==null?void 0:jt.value}`,xn=(pn=(Dt=qt==null?void 0:qt.split("|"))==null?void 0:Dt.filter(Un=>!!Un))==null?void 0:pn.map(Un=>Un==null?void 0:Un.trim()),Qn=Ct.getFieldValue(["sub_item_banks",...Bt]),on=((fn=Qn==null?void 0:Qn.map(Un=>Un==null?void 0:Un.keyword))==null?void 0:fn.flat())||[];for(const Un of xn)if(on.includes(Un)){Be.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ee(qt)&&(Ke({keyword:xn,score:1}),gt(""))},className:Te.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),Ce.createElement(Ue.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),He.map(ut=>{var jt=ut,{key:Dt,name:pn}=jt,fn=tt(jt,["key","name"]);return Ce.createElement($e.Z,{key:Dt,className:"mb20",style:{marginRight:148}},Ce.createElement(Ue.Z,{flex:1},Ce.createElement($e.Z,{align:"middle",justify:"space-between"},Ce.createElement(re.default.Item,ve(Se({},fn),{name:[pn,"keyword"]}),Ce.createElement(et,{onClose:()=>Ie(pn)})),cn&&Ce.createElement(re.default.Item,ve(Se({},fn),{name:[pn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Te.Z.blankInputNumberWrapper}),Ce.createElement(ze.Z,{className:Te.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),Ce.createElement("div",{onClick:()=>We(!0)},Ce.createElement(re.default.Item,{name:Nn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ce.createElement(y.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:he}))))};var ht=te(59301),It=Object.defineProperty,Tt=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,mt=(Lt,Ct,Wt)=>Ct in Lt?It(Lt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Lt[Ct]=Wt,Nt=(Lt,Ct)=>{for(var Wt in Ct||(Ct={}))dt.call(Ct,Wt)&&mt(Lt,Wt,Ct[Wt]);if(xe)for(var Wt of xe(Ct))vt.call(Ct,Wt)&&mt(Lt,Wt,Ct[Wt]);return Lt},Vt=(Lt,Ct)=>Tt(Lt,Zt(Ct)),nn=(Lt,Ct)=>{var Wt={};for(var cn in Lt)dt.call(Lt,cn)&&Ct.indexOf(cn)<0&&(Wt[cn]=Lt[cn]);if(Lt!=null&&xe)for(var cn of xe(Lt))Ct.indexOf(cn)<0&&vt.call(Lt,cn)&&(Wt[cn]=Lt[cn]);return Wt};const{Panel:an}=Fe.default,Sn=({questionTitlePlaceholder:Lt,choiceKey:Ct,form:Wt,withScore:cn})=>{const[sn,Nn]=(0,Ce.useState)([]),at=Bt=>{Nn(Bt)};return ht.createElement("div",{className:Te.Z.wrap},ht.createElement("div",{className:Te.Z.questionTitleEditorWrap},ht.createElement(re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ht.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:Lt}))),ht.createElement(re.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),ht.createElement(re.default.List,{name:"sub_item_banks",rules:[{validator(Bt,Jt){return Jt?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Bt,{add:Jt,remove:yn,move:he})=>{const We=Wt.getFieldValue("sub_item_banks");return ht.createElement(ht.Fragment,null,ht.createElement(Fe.default,{className:Bt.length>0?Te.Z.collapseWrapper:"",bordered:!1,activeKey:sn,onChange:at,expandIcon:({isActive:st})=>ht.createElement("i",{className:`iconfont icon-weizhankai ${st?Te.Z.open:Te.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Bt.map((st,gt)=>{var bt=st,{key:Xt,name:xt}=bt,He=nn(bt,["key","name"]),Ke,Ie,ut,jt,Dt,pn,fn,qt,xn,Qn;return ht.createElement(an,{className:Te.Z.panel,forceRender:!0,header:ht.createElement("div",{className:Te.Z.panelHeader},"\u7B2C",gt+1,"\u5C0F\u9898",ht.createElement("span",null,"\uFF08",((Ke=We==null?void 0:We[xt])==null?void 0:Ke.item_type)=="SINGLE"?"\u5355\u9009\u9898":((Ie=We==null?void 0:We[xt])==null?void 0:Ie.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((ut=We==null?void 0:We[xt])==null?void 0:ut.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((jt=We==null?void 0:We[xt])==null?void 0:jt.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:xt,extra:ht.createElement($e.Z,{align:"middle",onClick:on=>on.stopPropagation()},cn&&ht.createElement(Ue.Z,null,ht.createElement(re.default.Item,Vt(Nt({},He),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[xt,"question_score"],className:Te.Z.blankInputNumberWrapper}),ht.createElement(ze.Z,{className:Te.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),ht.createElement(Ue.Z,null,ht.createElement($e.Z,{align:"middle",className:"pl40",justify:"end"},gt!==0&&ht.createElement("div",{onClick:()=>{var on;he(gt,gt-1);const Un=(on=Wt.getFieldValue("sub_item_banks"))==null?void 0:on.map(($n,ca)=>(Bt.map((qn,nt)=>{ca===nt&&($n.q_position=Number(qn.name)+1)}),$n));Wt.setFieldValue("sub_item_banks",Un)}},ht.createElement(Ye.Z,{title:"\u4E0A\u79FB"},ht.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),gt<Bt.length-1&&ht.createElement("div",{onClick:()=>{var on;he(gt,gt+1);const Un=(on=Wt.getFieldValue("sub_item_banks"))==null?void 0:on.map(($n,ca)=>(Bt.map((qn,nt)=>{ca===nt&&($n.q_position=Number(qn.name)+1)}),$n));Wt.setFieldValue("sub_item_banks",Un)},className:gt===0?"":"ml15"},ht.createElement(Ye.Z,{title:"\u4E0B\u79FB"},ht.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),ht.createElement(Ue.Z,null,ht.createElement(Ye.Z,{title:"\u5220\u9664"},ht.createElement(oe.Z,{className:`${Te.Z.deleteIcon} ml15`,onClick:()=>yn(xt)}))))},ht.createElement(re.default.Item,Vt(Nt({},He),{name:xt}),(((Dt=We==null?void 0:We[xt])==null?void 0:Dt.item_type)=="SINGLE"||((pn=We==null?void 0:We[xt])==null?void 0:pn.item_type)=="MULTIPLE")&&ht.createElement(ee.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((fn=We==null?void 0:We[xt])==null?void 0:fn.item_type)=="MULTIPLE",form:Wt,choiceKey:[xt,"choices"],titleKey:[xt,"name"],analysisKey:[xt,"analysis"],choiceOptionsPath:["sub_item_banks",xt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((qt=We==null?void 0:We[xt])==null?void 0:qt.item_type)=="COMPLETION"&&ht.createElement(ye,{form:Wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:xt,titleKey:[xt,"name"],analysisKey:[xt,"analysis"],isOrdered:[xt,"is_ordered"],answerKey:[xt,"standard_answers"]}),((xn=We==null?void 0:We[xt])==null?void 0:xn.item_type)=="JUDGMENT"&&ht.createElement(Qt,{form:Wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[xt,"name"],analysisKey:[xt,"analysis"],choiceKey:[xt,"choices"]}),((Qn=We==null?void 0:We[xt])==null?void 0:Qn.item_type)=="SUBJECTIVE"&&ht.createElement(Kt,{showKeywords:!0,isMustKeyWords:!1,form:Wt,titleKey:[xt,"name"],analysisKey:[xt,"analysis"],answerTexts:[xt,"answer_texts"],useKeywords:[xt,"use_keywords"],keywords:[xt,"keywords"],indexs:xt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Bt.length<20&&ht.createElement(pt.Z,{menu:{items:[{label:ht.createElement("div",{onClick:()=>{Jt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:ht.createElement("div",{onClick:()=>{Jt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:ht.createElement("div",{onClick:()=>{Jt({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:ht.createElement("div",{onClick:()=>{Jt({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:ht.createElement("div",{onClick:()=>{Jt({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),Nn([Bt==null?void 0:Bt.length,...sn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(st=>st.show).map(st=>({label:st.label,key:st.key}))}},ht.createElement("div",{className:`${Te.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var On=te(90502)},97692:function(Ft,Rt,te){"use strict";te.d(Rt,{h:function(){return ne}});var ee=te(59301),ie=te(57809),we=te(78241),Ge=te(3113),Ce=te(89780),Fe=te.n(Ce),re=te(37036),$e=te(95625),Ue=Object.defineProperty,ze=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(ae,le,de)=>le in ae?Ue(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:de}):ae[le]=de,a=(ae,le)=>{for(var de in le||(le={}))Te.call(le,de)&&y(ae,de,le[de]);if(pt)for(var de of pt(le))oe.call(le,de)&&y(ae,de,le[de]);return ae},b=(ae,le)=>ze(ae,Ye(le));const E=ie.default.Option,x={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"]};Rt.Z=({callback:ae,onCancel:le})=>{const[de,ge]=(0,ee.useState)("python");function be(Le){ge(z[Le][1])}function fe(Le){ae(Le)}return ee.createElement(we.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:fe,style:{width:500}}),ee.createElement(we.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(ie.default,{getPopupContainer:Le=>Le.parentNode,onChange:be},Object.keys(z).map(Le=>ee.createElement(E,{key:Le,value:Le},z[Le][0])))),ee.createElement(we.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(ne,{mode:de})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Ge.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function ne({value:ae,onChange:le,mode:de,options:ge={}}){const be=(0,ee.useRef)(),[fe,Le]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(fe){let ue=function(ot){const De=ot.getValue();le&&le(De)};return fe.on("change",ue),()=>{fe.off("change",ue)}}},[fe,le]),(0,ee.useEffect)(()=>{fe&&fe.setOption("mode",de)},[fe,de]),(0,ee.useEffect)(()=>{fe&&(ae!==fe.getValue()||ae==="")&&setTimeout(()=>{fe.setValue(ae||"")},300)},[fe,ae]),(0,ee.useEffect)(()=>{if(be.current&&!fe){const ue=Fe().fromTextArea(be.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));Le(ue)}},[be.current,fe]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:be}))}},12290:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return xt}});var ee=te(59301),ie=te(89780),we=te.n(ie),Ge=te(76374),Ce=te(37036),Fe=te(6313),re=te(25717),$e=te(99498),Ue=te(25419),ze=te(67549),Ye=te(85149),pt=({value:He="",className:Ke,showTextOnly:Ie,showLines:ut,style:jt={}})=>{const Dt=(0,ee.useMemo)(()=>"",[He]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:Dt}}))},Te=te(59301),oe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(He,Ke,Ie)=>Ke in He?oe(He,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):He[Ke]=Ie,ne=(He,Ke)=>{for(var Ie in Ke||(Ke={}))E.call(Ke,Ie)&&z(He,Ie,Ke[Ie]);if(b)for(var Ie of b(Ke))x.call(Ke,Ie)&&z(He,Ie,Ke[Ie]);return He},ae=(He,Ke)=>y(He,a(Ke));let le=[{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 de({onActionCallback:He,title:Ke,icon:Ie,actionName:ut,className:jt="",children:Dt}){function pn(){He(ut)}return Te.createElement("a",{title:Ke,className:jt,onClick:pn},Te.createElement("i",{className:`${Ie}`}),Dt)}var ge=({watch:He,showNullButton:Ke,showNullProgramButton:Ie,onActionCallback:ut,fullScreen:jt,insertTemp:Dt,hidetoolBar:pn,extraUse:fn})=>{const qt=[...le,{title:`${He?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${He?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Te.createElement("ul",{className:"markdown-toolbar-container"},!pn&&qt.map((xn,Qn)=>Te.createElement("li",{key:Qn},xn.actionName?Te.createElement(de,ae(ne({},xn),{onActionCallback:ut})):Te.createElement("span",{className:"v-line"}))),Ke?Te.createElement("li",null,Te.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ut},Te.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ie?Te.createElement(Te.Fragment,null,Te.createElement("li",null,Te.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ut},Te.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Te.createElement("li",null,Te.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ut},Te.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Dt&&Te.createElement("li",null,Te.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Dt}`,onActionCallback:ut},Te.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),fn&&Te.createElement("li",null,fn),Te.createElement("li",{className:"btn-full-screen"},Te.createElement(de,{icon:`${jt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:jt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ut})))},be=te(79346),fe=te(78241),Le=te(92832),ue=te(3113),ot=Object.defineProperty,De=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Xe=(He,Ke,Ie)=>Ke in He?ot(He,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):He[Ke]=Ie,Ve=(He,Ke)=>{for(var Ie in Ke||(Ke={}))ke.call(Ke,Ie)&&Xe(He,Ie,Ke[Ie]);if(ye)for(var Ie of ye(Ke))qe.call(Ke,Ie)&&Xe(He,Ie,Ke[Ie]);return He},kt=(He,Ke)=>De(He,Je(Ke));const _e={labelCol:{span:4},wrapperCol:{span:20}};var Ot=({callback:He,onCancel:Ke})=>{function Ie(ut){He(ut)}return ee.createElement(fe.default,kt(Ve({},_e),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ie,style:{width:500}}),ee.createElement(fe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(Le.default,null)),ee.createElement(fe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(Le.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(ue.ZP,{type:"ghost",onClick:Ke},"\u53D6\u6D88")))},en=te(97692),Me=te(28451),Ze=te(43418),yt=te(95237),Ut=te(73524),ft=te(59301),Qt=({callback:He,onCancel:Ke})=>{const Ie=document.createElement("canvas"),ut=Ie.getContext("2d");Ie.width=1e3,Ie.height=800,ut.fillStyle="#ffffff",ut.fillRect(0,0,Ie.width,Ie.height);const jt=Ie.toDataURL("image/png");return ft.createElement(Ze.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ft.createElement(yt.Z,{style:{height:"100vh"}},ft.createElement(Ut.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:jt,visible:!0,title:String(Date.now())},onOk:Dt=>{He({src:Dt.url})},onClose:Ke})))},Be=te(12378);function $t(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit($t,go.CommandHandler),$t.prototype.canAlignSelection=function(){var He=this.diagram;return!(He===null||He.isReadOnly||He.isModelReadOnly||He.selection.count<2)},$t.prototype.alignLeft=function(){var He=this.diagram;He.startTransaction("aligning left");var Ke=1/0;He.selection.each(function(Ie){Ie instanceof go.Link||(Ke=Math.min(Ie.position.x,Ke))}),He.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ke,Ie.position.y))}),He.commitTransaction("aligning left")},$t.prototype.alignRight=function(){var He=this.diagram;He.startTransaction("aligning right");var Ke=-1/0;He.selection.each(function(Ie){if(!(Ie instanceof go.Link)){var ut=Ie.actualBounds.x+Ie.actualBounds.width;Ke=Math.max(ut,Ke)}}),He.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ke-Ie.actualBounds.width,Ie.position.y))}),He.commitTransaction("aligning right")},$t.prototype.alignTop=function(){var He=this.diagram;He.startTransaction("alignTop");var Ke=1/0;He.selection.each(function(Ie){Ie instanceof go.Link||(Ke=Math.min(Ie.position.y,Ke))}),He.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ie.position.x,Ke))}),He.commitTransaction("alignTop")},$t.prototype.alignBottom=function(){var He=this.diagram;He.startTransaction("aligning bottom");var Ke=-1/0;He.selection.each(function(Ie){if(!(Ie instanceof go.Link)){var ut=Ie.actualBounds.y+Ie.actualBounds.height;Ke=Math.max(ut,Ke)}}),He.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ie.actualBounds.x,Ke-Ie.actualBounds.height))}),He.commitTransaction("aligning bottom")},$t.prototype.alignCenterX=function(){var He=this.diagram,Ke=He.selection.first();if(Ke){He.startTransaction("aligning Center X");var Ie=Ke.actualBounds.x+Ke.actualBounds.width/2;He.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(Ie-ut.actualBounds.width/2,ut.actualBounds.y))}),He.commitTransaction("aligning Center X")}},$t.prototype.alignCenterY=function(){var He=this.diagram,Ke=He.selection.first();if(Ke){He.startTransaction("aligning Center Y");var Ie=Ke.actualBounds.y+Ke.actualBounds.height/2;He.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(ut.actualBounds.x,Ie-ut.actualBounds.height/2))}),He.commitTransaction("aligning Center Y")}},$t.prototype.alignColumn=function(He){var Ke=this.diagram;Ke.startTransaction("align Column"),He===void 0&&(He=0),He=parseFloat(He);var Ie=new Array;Ke.selection.each(function(fn){fn instanceof go.Link||Ie.push(fn)});for(var ut=0;ut<Ie.length-1;ut++){var jt=Ie[ut],Dt=jt.actualBounds.y+jt.actualBounds.height+He,pn=Ie[ut+1];pn.move(new go.Point(jt.actualBounds.x,Dt))}Ke.commitTransaction("align Column")},$t.prototype.alignRow=function(He){He===void 0&&(He=0),He=parseFloat(He);var Ke=this.diagram;Ke.startTransaction("align Row");var Ie=new Array;Ke.selection.each(function(fn){fn instanceof go.Link||Ie.push(fn)});for(var ut=0;ut<Ie.length-1;ut++){var jt=Ie[ut],Dt=jt.actualBounds.x+jt.actualBounds.width+He,pn=Ie[ut+1];pn.move(new go.Point(Dt,jt.actualBounds.y))}Ke.commitTransaction("align Row")},$t.prototype.canRotate=function(He){var Ke=this.diagram;return!(Ke===null||Ke.isReadOnly||Ke.isModelReadOnly||Ke.selection.count<1)},$t.prototype.rotate=function(He){He===void 0&&(He=90);var Ke=this.diagram;Ke.startTransaction("rotate "+He.toString());var Ke=this.diagram;Ke.selection.each(function(Ie){Ie instanceof go.Link||Ie instanceof go.Group||(Ie.angle+=He)}),Ke.commitTransaction("rotate "+He.toString())},$t.prototype.pullToFront=function(){var He=this.diagram;He.startTransaction("pullToFront");var Ke=new go.Map;He.selection.each(function(Ie){Ke.set(Ie.layer,0)}),Ke.iteratorKeys.each(function(Ie){var ut=0;Ie.parts.each(function(jt){if(!jt.isSelected){var Dt=jt.zOrder;isNaN(Dt)?jt.zOrder=0:ut=Math.max(ut,Dt)}}),Ke.set(Ie,ut)}),He.selection.each(function(Ie){$t._assignZOrder(Ie,Ke.get(Ie.layer)+1)}),He.commitTransaction("pullToFront")},$t.prototype.pushToBack=function(){var He=this.diagram;He.startTransaction("pushToBack");var Ke=new go.Map;He.selection.each(function(Ie){Ke.set(Ie.layer,0)}),Ke.iteratorKeys.each(function(Ie){var ut=0;Ie.parts.each(function(jt){if(!jt.isSelected){var Dt=jt.zOrder;isNaN(Dt)?jt.zOrder=0:ut=Math.min(ut,Dt)}}),Ke.set(Ie,ut)}),He.selection.each(function(Ie){$t._assignZOrder(Ie,Ke.get(Ie.layer)-1-$t._findGroupDepth(Ie))}),He.commitTransaction("pushToBack")},$t._assignZOrder=function(He,Ke,Ie){Ie===void 0&&(Ie=He),He.layer===Ie.layer&&(He.zOrder=Ke),He instanceof go.Group&&He.memberParts.each(function(ut){$t._assignZOrder(ut,Ke+1,Ie)})},$t._findGroupDepth=function(He){if(He instanceof go.Group){var Ke=0;return He.memberParts.each(function(Ie){Ke=Math.max(Ke,$t._findGroupDepth(Ie))}),Ke+1}else return 0},$t.prototype.doKeyDown=function(){var He=this.diagram;if(He!==null){var Ke=He.lastInput;if(Ke.key==="Up"||Ke.key==="Down"||Ke.key==="Left"||Ke.key==="Right"){var Ie=this.arrowKeyBehavior;if(Ie==="none")return;if(Ie==="select"){this._arrowKeySelect();return}else if(Ie==="move"){this._arrowKeyMove();return}else if(Ie==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},$t.prototype._getAllParts=function(){var He=new Array;return this.diagram.nodes.each(function(Ke){He.push(Ke)}),this.diagram.parts.each(function(Ke){He.push(Ke)}),He},$t.prototype._arrowKeyMove=function(){var He=this.diagram,Ke=He.lastInput,Ie=0,ut=0;if(Ke.control||Ke.meta)Ie=1,ut=1;else if(He.grid!==null){var jt=He.grid.gridCellSize;ut=jt.width,Ie=jt.height}He.startTransaction("arrowKeyMove"),He.selection.each(function(Dt){Ke.key==="Up"?Dt.move(new go.Point(Dt.actualBounds.x,Dt.actualBounds.y-Ie)):Ke.key==="Down"?Dt.move(new go.Point(Dt.actualBounds.x,Dt.actualBounds.y+Ie)):Ke.key==="Left"?Dt.move(new go.Point(Dt.actualBounds.x-ut,Dt.actualBounds.y)):Ke.key==="Right"&&Dt.move(new go.Point(Dt.actualBounds.x+ut,Dt.actualBounds.y))}),He.commitTransaction("arrowKeyMove")},$t.prototype._arrowKeySelect=function(){var He=this.diagram,Ke=He.lastInput,Ie=null;Ke.key==="Up"?Ie=this._findNearestPartTowards(270):Ke.key==="Down"?Ie=this._findNearestPartTowards(90):Ke.key==="Left"?Ie=this._findNearestPartTowards(180):Ke.key==="Right"&&(Ie=this._findNearestPartTowards(0)),Ie!==null&&(Ke.shift?Ie.isSelected=!0:Ke.control||Ke.meta?Ie.isSelected=!Ie.isSelected:He.select(Ie))},$t.prototype._findNearestPartTowards=function(He){var Ke=this.diagram.selection.first();if(Ke===null)return null;for(var Ie=Ke.actualBounds.center,ut=this._getAllParts(),jt=1/0,Dt=Ke,pn=0;pn<ut.length;pn++){var fn=ut[pn];if(fn!==Ke&&fn.canSelect()){var qt=fn.actualBounds.center,xn=Ie.directionPoint(qt),Qn=this._angleCloseness(xn,He);if(Qn<=45){var on=Ie.distanceSquaredPoint(qt);on*=1+Math.sin(Qn*Math.PI/180),on<jt&&(jt=on,Dt=fn)}}}return Dt},$t.prototype._angleCloseness=function(He,Ke){return Math.min(Math.abs(Ke-He),Math.min(Math.abs(Ke+360-He),Math.abs(Ke-360-He)))},$t.prototype._arrowKeyTree=function(){var He=this.diagram,Ke=He.selection.first();if(Ke instanceof go.Node){var Ie=He.lastInput;if(Ie.key==="Right"){if(!Ke.isTreeLeaf)if(!Ke.isTreeExpanded)He.commandHandler.canExpandTree(Ke)&&He.commandHandler.expandTree(Ke);else{var ut=this._sortTreeChildrenByY(Ke).first();ut!==null&&He.select(ut)}}else if(Ie.key==="Left")if(!Ke.isTreeLeaf&&Ke.isTreeExpanded)He.commandHandler.canCollapseTree(Ke)&&He.commandHandler.collapseTree(Ke);else{var jt=Ke.findTreeParentNode();jt!==null&&He.select(jt)}else if(Ie.key==="Up"){var jt=Ke.findTreeParentNode();if(jt!==null){var Dt=this._sortTreeChildrenByY(jt),pn=Dt.indexOf(Ke);if(pn>0){for(var fn=Dt.elt(pn-1);fn!==null&&fn.isTreeExpanded&&!fn.isTreeLeaf;){var qt=this._sortTreeChildrenByY(fn);fn=qt.last()}fn!==null&&He.select(fn)}else He.select(jt)}}else if(Ie.key==="Down")if(Ke.isTreeExpanded&&!Ke.isTreeLeaf){var ut=this._sortTreeChildrenByY(Ke).first();ut!==null&&He.select(ut)}else for(;Ke!==null;){var jt=Ke.findTreeParentNode();if(jt===null)break;var Dt=this._sortTreeChildrenByY(jt),pn=Dt.indexOf(Ke);if(pn<Dt.length-1){He.select(Dt.elt(pn+1));break}else Ke=jt}var xn=He.selection.first();xn!==null&&He.scrollToRect(xn.actualBounds)}},$t.prototype._sortTreeChildrenByY=function(He){var Ke=new go.List().addAll(He.findTreeChildrenNodes());return Ke.sort(function(Ie,ut){var jt=Ie.location,Dt=ut.location;return jt.y<Dt.y?-1:jt.y>Dt.y?1:jt.x<Dt.x?-1:jt.x>Dt.x?1:0}),Ke},$t.prototype.copyToClipboard=function(He){go.CommandHandler.prototype.copyToClipboard.call(this,He),this._lastPasteOffset.set(this.pasteOffset)},$t.prototype.pasteFromClipboard=function(){var He=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(He,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),He},Object.defineProperty($t.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(He){if(He!=="move"&&He!=="select"&&He!=="scroll"&&He!=="tree"&&He!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+He);this._arrowKeyBehavior=He}}),Object.defineProperty($t.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(He){if(!(He instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+He);this._pasteOffset.set(He)}});var hn=$t,St=te(74413),ct=te(43604),Qe=te(99064),Re={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Pe=te(59301),se=(He,Ke,Ie)=>new Promise((ut,jt)=>{var Dt=qt=>{try{fn(Ie.next(qt))}catch(xn){jt(xn)}},pn=qt=>{try{fn(Ie.throw(qt))}catch(xn){jt(xn)}},fn=qt=>qt.done?ut(qt.value):Promise.resolve(qt.value).then(Dt,pn);fn((Ie=Ie.apply(He,Ke)).next())});function Ne({onCancel:He,callback:Ke}){let Ie=(0,ee.useRef)(),ut=(0,ee.useRef)(),jt=(0,ee.useRef)(),Dt=(0,ee.useRef)(!1);const pn=(0,ee.useRef)(!1),[fn,qt]=(0,ee.useState)(0);function xn(){const on=Be.bx.make,Un={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"};Ie.current=new Be.S0(ut.current,{padding:20,grid:on(Be.s_,"Grid",on(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),on(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Fn=>{var Mn=Fn.diagram.commandHandler.addTopLevelParts(Fn.diagram.selection,!0);Mn||Fn.diagram.currentTool.doCancel()},commandHandler:on(hn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Fn=>{var Mn=Fn.subject;Mn.location=Mn.location.copy().snapToGridPoint(Fn.diagram.grid.gridOrigin,Fn.diagram.grid.gridCellSize),setTimeout(()=>{Fn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Fn=>{var Mn=Fn.subject;setTimeout(()=>{Fn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Fn=>{var Mn=Fn.parameter.part;Mn.invalidateConnectedLinks();var Vn=Fn.subject;Fn.diagram.toolManager.linkingTool.isForwards?Vn.toNode.invalidateConnectedLinks():Vn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ie.current.nodeTemplate=on(Be.NB,"Auto",{locationSpot:Be.z6.Center,locationObjectName:"SHAPE",desiredSize:new Be.$u(120,60),minSize:new Be.$u(40,40),resizable:!0,resizeCellSize:new Be.$u(10,10),rotatable:!0},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),new Be.KX("desiredSize","size",Be.$u.parse).makeTwoWay(Be.$u.stringify),on(Be.bn,{name:"SHAPE",fill:Un.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("figure"),new Be.KX("fill"),new Be.KX("stroke","borderColor"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),on(Be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),on(Be.al,{margin:1,textAlign:"center",overflow:Be.al.OverflowEllipsis,editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),Ie.current.nodeTemplate.toolTip=on("ToolTip",on(Be.s_,"Vertical",{maxSize:new Be.$u(200,NaN)},on(Be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Be.KX("text")),on(Be.al,{font:"10pt sans-serif",textAlign:"center"},new Be.KX("text","details"))));function $n(Fn,Mn){var Vn=(Ln,na)=>{Ln.handled=!0,Ln.diagram.model.commit(ha=>{var da=na.part.adornedPart,Ba=new Be.E9().setRectSpot(da.actualBounds,Fn);Ba.subtract(da.location),Ba.scale(2,2),Ba.x+=Math.sign(Ba.x)*130,Ba.y+=Math.sign(Ba.y)*130,Ba.add(da.location),Ba.snapToGridPoint(Ln.diagram.grid.gridOrigin,Ln.diagram.grid.gridCellSize);var oa=ha.copyNodeData(da.data);ha.setGroupKeyForNodeData(oa,ha.getGroupKeyForNodeData(da.data)),ha.addNodeData(oa);var Ma={from:da.key,to:ha.getKeyForNodeData(oa)};ha.addLinkData(Ma);var eo=Ln.diagram.findNodeForData(oa);eo.location=Ba,Ln.diagram.select(eo),setTimeout(()=>{Ln.diagram.commandHandler.editTextBlock()},20)})};return on(Be.bn,{figure:Mn,alignment:Fn,alignmentFocus:Fn.opposite(),width:Fn.equals(Be.z6.Top)||Fn.equals(Be.z6.Bottom)?25:18,height:Fn.equals(Be.z6.Top)||Fn.equals(Be.z6.Bottom)?18:25,fill:"orange",stroke:Un.white,strokeWidth:4,mouseEnter:(Ln,na)=>na.fill="dodgerblue",mouseLeave:(Ln,na)=>na.fill="orange",isActionable:!0,click:Vn,contextClick:Vn})}function ca(Fn){return on(Be.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:(Mn,Vn)=>Vn.fill="dodgerblue",mouseLeave:(Mn,Vn)=>Vn.fill="orange",click:(Mn,Vn)=>{Mn.diagram.commandHandler.showContextMenu(Vn.part.adornedPart)}},Fn||{})}Ie.current.nodeTemplate.selectionAdornmentTemplate=on(Be.uz,"Spot",on(Be.Vm,{padding:10}),$n(Be.z6.Top,"TriangleUp"),$n(Be.z6.Left,"TriangleLeft"),$n(Be.z6.Right,"TriangleRight"),$n(Be.z6.Bottom,"TriangleDown"),ca({alignment:new Be.z6(.75,0)}));function qn(Fn,Mn){return(Vn,Ln)=>{Vn.handled=!0,Vn.diagram.model.commit(na=>{na.set(Ln.part.adornedPart.data,Fn,Mn)})}}function nt(Fn,Mn){return Mn||(Mn="color"),on(Be.bn,{width:16,height:16,stroke:"lightgray",fill:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.stroke="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.stroke="lightgray",click:qn(Mn,Fn),contextClick:qn(Mn,Fn)})}function zt(){return[on("ContextMenuButton",on(Be.s_,"Horizontal",nt(Un.white,"fill"),nt(Un.beige,"fill"),nt(Un.extralightblue,"fill"),nt(Un.extralightred,"fill"))),on("ContextMenuButton",on(Be.s_,"Horizontal",nt(Un.lightgray,"fill"),nt(Un.lightgreen,"fill"),nt(Un.lightblue,"fill"),nt(Un.lightred,"fill")))]}function Pt(){return[on("ContextMenuButton",on(Be.s_,"Horizontal",nt(Un.black),nt(Un.green),nt(Un.blue),nt(Un.red))),on("ContextMenuButton",on(Be.s_,"Horizontal",nt(Un.white),nt(Un.magenta),nt(Un.purple),nt(Un.orange)))]}function _t(Fn,Mn){return Mn||(Mn="thickness"),on(Be.bn,"LineH",{width:16,height:16,strokeWidth:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:qn(Mn,Fn),contextClick:qn(Mn,Fn)})}function dn(Fn,Mn){return Mn||(Mn="dash"),on(Be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:qn(Mn,Fn),contextClick:qn(Mn,Fn)})}function vn(){return[on("ContextMenuButton",on(Be.s_,"Horizontal",_t(1),_t(2),_t(3),_t(4))),on("ContextMenuButton",on(Be.s_,"Horizontal",dn(null),dn([2,4]),dn([4,4])))]}function un(Fn,Mn){return Mn||(Mn="figure"),on(Be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Fn,margin:1,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.fill="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.fill="lightgray",click:qn(Mn,Fn),contextClick:qn(Mn,Fn)})}Ie.current.nodeTemplate.contextMenu=on("ContextMenu",on("ContextMenuButton",on(Be.s_,"Horizontal",un("Rectangle"),un("RoundedRectangle"),un("Ellipse"),un("Diamond"))),on("ContextMenuButton",on(Be.s_,"Horizontal",un("Parallelogram2"),un("ManualOperation"),un("Procedure"),un("Cylinder1"))),on("ContextMenuButton",on(Be.s_,"Horizontal",un("Terminator"),un("CreateRequest"),un("Document"),un("TriangleDown"))),zt(),Pt(),vn()),Ie.current.groupTemplate=on(Be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Fn,Mn)=>{var Vn=Mn.addMembers(Mn.diagram.selection,!0);Vn||Mn.diagram.currentTool.doCancel()},avoidable:!1},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),on(Be.s_,"Auto",{name:"BODY"},on(Be.bn,{parameter1:10,fill:Un.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("fill"),new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),on(Be.Vm,{background:"transparent",margin:20})),on(Be.al,{alignment:Be.z6.Top,alignmentFocus:Be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Be.KX("text"),new Be.KX("stroke","color"))),Ie.current.groupTemplate.selectionAdornmentTemplate=on(Be.uz,"Spot",on(Be.s_,"Auto",on(Be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),on(Be.Vm,{margin:1.5})),ca({alignment:Be.z6.TopRight,alignmentFocus:Be.z6.BottomRight})),Ie.current.groupTemplate.contextMenu=on("ContextMenu",zt(),Pt(),vn()),Ie.current.linkTemplate=on(Be.rU,{layerName:"Foreground",routing:Be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Be.KX("fromSpot","fromSpot",Be.z6.parse),new Be.KX("toSpot","toSpot",Be.z6.parse),new Be.KX("fromShortLength","dir",Fn=>Fn>=1?10:0),new Be.KX("toShortLength","dir",Fn=>Fn>=1?10:0),new Be.KX("points").makeTwoWay(),on(Be.bn,{strokeWidth:2},new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),on(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,0),segmentOrientation:Be.rU.OrientAlong,alignmentFocus:Be.z6.Right,figure:"circle",width:10,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Fn=>Fn===1)),on(Be.bn,{segmentIndex:-1,segmentOffset:new Be.E9(-10,6),segmentOrientation:Be.rU.OrientPlus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Fn=>Fn>=1),new Be.KX("width","thickness",Fn=>7+3*Fn),new Be.KX("height","thickness",Fn=>7+3*Fn),new Be.KX("segmentOffset","thickness",Fn=>new Be.E9(-15,4+1.5*Fn))),on(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,-6),segmentOrientation:Be.rU.OrientMinus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",Fn=>Fn===2),new Be.KX("width","thickness",Fn=>7+3*Fn),new Be.KX("height","thickness",Fn=>7+3*Fn),new Be.KX("segmentOffset","thickness",Fn=>new Be.E9(-15,4+1.5*Fn))),on(Be.al,{alignmentFocus:new Be.z6(0,1,-4,0),editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),Ie.current.linkTemplate.selectionAdornmentTemplate=on(Be.uz,on(Be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ln(2)},new Be.KX("pathPattern","thickness",ln)),ca({alignmentFocus:new Be.z6(0,0,-6,-4)}));function ln(Fn){return on(Be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Fn+4).toString()+" H3"})}function Wn(Fn){var Mn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Fn===0?Mn="M0 0 M16 16 M0 8 L16 8":Fn===2&&(Mn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),on(Be.bn,{geometryString:Mn,margin:2,background:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:qn("dir",Fn),contextClick:qn("dir",Fn)})}function Xn(Fn){var Mn=(Vn,Ln)=>{Vn.handled=!0,Vn.diagram.model.commit(na=>{var ha=Ln.part.adornedPart;na.set(ha.data,Fn?"toSpot":"fromSpot",Be.z6.stringify(Be.z6.AllSides)),(Fn?ha.toNode:ha.fromNode).invalidateConnectedLinks()})};return on(Be.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Vn,Ln)=>Ln.background="dodgerblue",mouseLeave:(Vn,Ln)=>Ln.background="transparent",click:Mn,contextClick:Mn})}function Gt(Fn,Mn){var Vn=0,Ln=Be.z6.RightSide;Fn.equals(Be.z6.Top)?(Vn=270,Ln=Be.z6.TopSide):Fn.equals(Be.z6.Left)?(Vn=180,Ln=Be.z6.LeftSide):Fn.equals(Be.z6.Bottom)&&(Vn=90,Ln=Be.z6.BottomSide),Mn||(Vn-=180);var na=(ha,da)=>{ha.handled=!0,ha.diagram.model.commit(Ba=>{var oa=da.part.adornedPart;Ba.set(oa.data,Mn?"toSpot":"fromSpot",Be.z6.stringify(Ln)),(Mn?oa.toNode:oa.fromNode).invalidateConnectedLinks()})};return on(Be.bn,{alignment:Fn,alignmentFocus:Fn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Vn,background:"transparent",mouseEnter:(ha,da)=>da.background="dodgerblue",mouseLeave:(ha,da)=>da.background="transparent",click:na,contextClick:na})}Ie.current.linkTemplate.contextMenu=on("ContextMenu",Pt(),vn(),on("ContextMenuButton",on(Be.s_,"Horizontal",Wn(0),Wn(1),Wn(2))),on("ContextMenuButton",on(Be.s_,"Horizontal",on(Be.s_,"Spot",Xn(!1),Gt(Be.z6.Top,!1),Gt(Be.z6.Left,!1),Gt(Be.z6.Right,!1),Gt(Be.z6.Bottom,!1)),on(Be.s_,"Spot",{margin:new Be.Zt(0,0,0,2)},Xn(!0),Gt(Be.z6.Top,!0),Gt(Be.z6.Left,!0),Gt(Be.z6.Right,!0),Gt(Be.z6.Bottom,!0)))));const aa=`{ "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 ya=["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 Ca(Fn){return console.log("shapeName:",Fn),ya.indexOf(Fn)>=0}var pa=new Be.YI(jt.current,{maxSelectionCount:1,linkTemplate:on(Be.rU,{locationSpot:Be.z6.Center,selectionAdornmentTemplate:on(Be.uz,"Link",{locationSpot:Be.z6.Center},on(Be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),on(Be.bn,{toArrow:"Standard",stroke:null}))},{routing:Be.rU.AvoidsNodes,curve:Be.rU.JumpOver,corner:5,toShortLength:4},new Be.KX("points"),on(Be.bn,{isPanelMain:!0,strokeWidth:2}),on(Be.bn,{toArrow:"Standard",stroke:null})),model:new Be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Be.bn.getFigureGenerators().toArray().map(Fn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Fn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ie.current.addDiagramListener("TextEdited",function(Fn){var Mn;const Vn=Fn.subject.part;var Ln=(Mn=document.activeElement)==null?void 0:Mn.value;typeof Ln=="string"&&Ln.trim()===""&&Ie.current.model.commit(function(na){na.set(Vn.data,"text","\u672A\u547D\u540D"),Ie.current.commandHandler.stopCommand()},"increment")}),pa.nodeTemplate=on(Be.NB,"Auto",{locationSpot:Be.z6.Center},new Be.KX("location","location",Be.E9.parse).makeTwoWay(Be.E9.stringify),on(Be.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 Be.KX("stroke").makeTwoWay(),new Be.KX("fill").makeTwoWay(),new Be.KX("figure")),on(Be.al,{margin:new Be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Be.$u(16,16),maxSize:new Be.$u(10,NaN),textAlign:"center",editable:!0},new Be.KX("key").makeTwoWay())),setTimeout(()=>{Ie.current.grid=on(Be.s_,"Grid",on(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),on(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ie.current.grid.visible=!0,Ie.current.grid.gridCellStroke="darkgray",Ie.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ie.current,Ie.current}const Qn=()=>se(this,null,function*(){var on=Ie.current.makeImage();const Un=yield(0,Qe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:on.src}});Ke({src:Un.url})});return(0,ee.useEffect)(()=>(setTimeout(()=>{xn()},500),qt(fn+1),()=>{Ie.current=null}),[]),Pe.createElement("div",{ref:pn,className:Dt.current?`${Re.maxH60} body-overflow-initial`:"body-overflow-initial"},Pe.createElement(Ze.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!fn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Pe.createElement(yt.Z,null,Pe.createElement(ct.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Pe.createElement(ct.Z,{onClick:()=>{var on,Un,$n=Ie.current.selection.first();if(Dt.current=!Dt.current,document.activeElement&&$n){let ca=(Un=(on=document.activeElement)==null?void 0:on.value)==null?void 0:Un.trim();typeof ca=="string"&&Ie.current.model.commit(function(qn){qn.set($n.data,"text",ca||"\u672A\u547D\u540D"),Ie.current.commandHandler.stopCommand()},"increment")}qt(fn+1)}},Pe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:He},Pe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Re.flowChartWrp},Pe.createElement("div",{style:{display:"flex",height:"100%"}},Pe.createElement("div",{style:{width:"300px",height:"100%"}},Pe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Pe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Re.myPaletteDiv,ref:jt})),Pe.createElement("div",{style:{flex:1,position:"relative"}},Pe.createElement("div",{ref:ut,style:{height:"80vh"}}))),Pe.createElement("div",{className:"tr"},Pe.createElement(ue.ZP,{size:"large",onClick:Qn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var it=Ne,Se=te(5112),ve=te(5871);const tt=Se.ZP.Group,Oe={margin:"0 8px"};var Ee=({callback:He,onCancel:Ke})=>{function Ie(ut){He(ut)}return ee.createElement(fe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ie},ee.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ee.createElement("span",{style:Oe},"\u5355\u5143\u683C\u6570\uFF1A"),ee.createElement("span",{style:Oe},"\u884C\u6570"),ee.createElement(fe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ee.createElement(ve.Z,null)),ee.createElement("span",{style:Oe},"\u5217\u6570"),ee.createElement(fe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ee.createElement(ve.Z,null))),ee.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ee.createElement("span",{style:Oe},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ee.createElement(fe.default.Item,{name:"align"},ee.createElement(tt,null,ee.createElement(Se.ZP,{value:"default"},ee.createElement("i",{className:"fa fa-align-justify"})),ee.createElement(Se.ZP,{value:"left"},ee.createElement("i",{className:"fa fa-align-left"})),ee.createElement(Se.ZP,{value:"center"},ee.createElement("i",{className:"fa fa-align-center"})),ee.createElement(Se.ZP,{value:"right"},ee.createElement("i",{className:"fa fa-align-right"}))))),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(ue.ZP,{type:"ghost",onClick:Ke},"\u53D6\u6D88")))},et=te(78673),Kt=te(80727),ht=te.n(Kt),Tt=(0,ee.forwardRef)(({use3d:He,width:Ke,height:Ie,callback:ut,showSaveButton:jt},Dt)=>{const pn=(0,ee.useRef)(),fn=(0,ee.useRef)(),[qt,xn]=(0,ee.useState)(!1),Qn=(0,ee.useRef)({id:pn,appName:"graphing",width:Ke||1e3,height:Ie||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ee.useEffect)(()=>{fn.current=new(ht())(Qn.current,!0),window.onload=function(){fn.current.inject("applet_container")}},[]);const on=()=>{var Un=window.ggbApplet.getPNGBase64(1,!0,72);return ut&&ut(Un),Un};return(0,ee.useEffect)(()=>{Qn.current.appName=qt?"3D":"graphing",fn.current.inject("applet_container")},[qt]),(0,ee.useEffect)(()=>{xn(He)},[He]),(0,ee.useImperativeHandle)(Dt,()=>({getImgData:on})),ee.createElement(ee.Fragment,null,ee.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:pn}),ee.createElement(yt.Z,{align:"middle"},ee.createElement(ct.Z,{flex:1},ee.createElement(et.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:qt,onChange:Un=>xn(Un)})),ee.createElement(ct.Z,null,ee.createElement(ue.ZP,{size:"large",onClick:on,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Zt=te(41588),xe=te(1012),dt=te(8591);const vt="link",mt="upload-image",Nt="add-flowchart",Vt="draw-image",nn="add-flowchart",an="code-block",Sn="add-table",On="------------",Lt={default:On,left:`:${On}`,center:`:${On}:`,right:`${On}:`};var Ct=te(58856),Wt=(He,Ke,Ie)=>new Promise((ut,jt)=>{var Dt=qt=>{try{fn(Ie.next(qt))}catch(xn){jt(xn)}},pn=qt=>{try{fn(Ie.throw(qt))}catch(xn){jt(xn)}},fn=qt=>qt.done?ut(qt.value):Promise.resolve(qt.value).then(Dt,pn);fn((Ie=Ie.apply(He,Ke)).next())});function cn(){}let sn=0;const Nn=1e4,at="\u2581",Bt="@\u2581\u2581@",Jt="@\u2581@",yn=`
|
|
**\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`,he=["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 We(He){return/^\d+$/.test(He)?`${He}px`:He}const gt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",bt={[gt+"-B"]:"bold",[gt+"-I"]:"italic"},Xt={[vt]:"\u6DFB\u52A0\u94FE\u63A5",[an]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[mt]:"\u6DFB\u52A0\u56FE\u7247",[Vt]:"\u6DFB\u52A0\u753B\u56FE",[Nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Sn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var xt=({defaultValue:He="",onChange:Ke,width:Ie="100%",height:ut=400,miniToolbar:jt=!1,isFocus:Dt=!1,watch:pn,insertTemp:fn,mode:qt="markdown",id:xn="markdown-editor-id",showResizeBar:Qn=!1,noStorage:on=!1,showNullButton:Un=!1,showNullProgramButton:$n=!1,hidetoolBar:ca=!1,fullScreen:qn=!1,onBlur:nt,onCMBeforeChange:zt,onFullScreen:Pt,className:_t="",disablePaste:dn=!1,disabled:vn=!1,disabledFill:un=!1,placeholder:ln="",values:Wn="",extraUse:Xn})=>{const[Gt,aa]=(0,ee.useState)(null),[ya,Ca]=(0,ee.useState)(He),[pa,Fn]=(0,ee.useState)(pn),[Mn,Vn]=(0,ee.useState)(qn),[Ln,na]=(0,ee.useState)(""),[ha,da]=(0,ee.useState)(0),[Ba,oa]=(0,ee.useState)(ut),[Ma,eo]=(0,ee.useState)(!1),fo=(0,ee.useRef)((0,xe.Z)()),ja=(0,ee.useRef)(!1),Da=(0,ee.useRef)(),[Xa,ka]=(0,ee.useState)(0),[Ga,Na]=(0,ee.useState)(0),_n=(0,ee.useRef)(),Za=(0,ee.useRef)(),uo=(0,ee.useRef)(),za=(0,ee.useRef)(),to=()=>Wt(void 0,null,function*(){var ia;const In=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:fo.current}});(ia=In==null?void 0:In.attachments)!=null&&ia.length&&(console.log("cm:",Gt,_n),In.attachments.map(Rn=>{Rn.content_type.indexOf("image")>-1?Gt.replaceSelection(``):Rn.content_type.indexOf("video")>-1?Gt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Rn.content_type.indexOf("pdf")>-1?Gt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Rn.id}?type=${Rn.content_type}&disposition=inline" target="_blank">${Rn.name}</a>`):Gt.replaceSelection(`[${Rn.name}](${ENV.API_SERVER}/api/attachments/${Rn.id}?type=${Rn.content_type})`)}))});(0,ee.useEffect)(()=>{const ia=window.scrollY||window.pageYOffset;Ca(Wn),Gt==null||Gt.setValue(Wn),window.scrollTo(0,ia)},[Wn]),(0,ee.useEffect)(()=>{Pt==null||Pt(Mn)},[Mn]),(0,ee.useEffect)(()=>{if(_n.current){let ia=function(Rn,jn){var xa;if(dn){jn.preventDefault();return}const Wa=jn.clipboardData;if(Wa){const pe=Wa.types.toString(),Mt=Wa.items;if(pe==="Files"||Wa.types.indexOf("Files")>-1){if(jn.preventDefault(),qt=="stex")return;try{let rn=Mt[1];((xa=Mt[0])==null?void 0:xa.kind)==="file"&&(rn=Mt[0]);const Cn=rn.getAsFile(),Ht=Cn.name.split(".").pop();(0,Me.I)(Cn,Dn=>{var Pn,mn,En;Dn.id?((Pn=Cn==null?void 0:Cn.type)==null?void 0:Pn.indexOf("image"))>-1?In.replaceSelection(`<img width="100%" src="/api/attachments/${Dn.id}?type=${Dn.content_type})" alt="" />`):((mn=Cn==null?void 0:Cn.type)==null?void 0:mn.indexOf("video"))>-1?In.replaceSelection(`<video width="100%" controls src="/api/attachments/${Dn.id}"></video>`):((En=Cn==null?void 0:Cn.type)==null?void 0:En.indexOf("pdf"))>-1?In.replaceSelection(`<a href="/api/attachments/${Dn.id}?type=${Cn.type}&disposition=inline" target="_blank">${Cn.name}</a>`):he.includes(Ht)?In.replaceSelection(`<a href="/api/attachments/${Dn.id}?type=office&disposition=inline" target="_blank">${Cn.name}</a>`):In.replaceSelection(`[${Cn.name}](/api/attachments/${Dn.id}?type=${Dn.content_type})`):(Dn==null?void 0:Dn.status)===401&&(dt.ZP.warning((Dn==null?void 0:Dn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(rn){dt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const In=we().fromTextArea(_n.current,{mode:qt,lineNumbers:!jt,lineWrapping:!0,value:He,autoCloseTags:!$n,autoCloseBrackets:!0});return In.on("keyup",function(Rn,jn){jn.keyCode===8&&(Rn.getValue()==""?In.setOption("placeholder",ln):In.setOption("placeholder",null))}),In.on("keydown",function(Rn,jn){if(jn.keyCode===8){var xa=ua(Rn);xa&&jn.preventDefault()}}),Dt&&In.focus(),In.on("paste",ia),In.on("dragleave",function(Rn,jn){Za.current.classList.remove("mouse-hover-md")}),vn&&In.on("beforeChange",function(Rn,jn){(jn.origin==="paste"||jn.origin==="+input")&&jn.cancel()}),aa(In),()=>{In.off("paste",ia)}}},[]);const lo=(0,ee.useCallback)(()=>{if(Za.current)try{}catch(ia){console.log(ia,"---- to set md editor body height")}},[Ba,Za,Mn]);(0,ee.useEffect)(()=>{function ia(){let In=new Ge.Z(Rn=>{for(let jn of Rn)(jn.target.offsetHeight>0||jn.target.offsetWidth>0)&&(lo(),Gt.setSize("100%","100%"),Gt.refresh())});return In.observe(_n.current.parentElement),In}if(Gt){const In=ia();return()=>{var Rn,jn;(Rn=_n.current)!=null&&Rn.parentElement&&In.unobserve((jn=_n.current)==null?void 0:jn.parentElement)}}},[Gt,lo]),(0,ee.useEffect)(()=>{if(Gt){let ia=[];for(const[In,Rn]of Object.entries(bt)){let jn={[In]:()=>{Ka(Rn)}};ia.push(jn),Gt.addKeyMap(jn)}return Da.current=setInterval(()=>{ja.current&&to()},4e3),()=>{clearInterval(Da.current);for(let In of ia)Gt.removeKeyMap(In)}}},[Gt]),(0,ee.useEffect)(()=>{qn!==Mn&&Vn(qn)},[qn]),(0,Ct.Z)(()=>{if(!on&&ha>0){let ia=new Date().getTime(),In=window.sessionStorage.getItem(xn);ia>=ha+Nn&&(!In||In!==ya)&&(window.sessionStorage.setItem(xn,ya),eo(!0))}},Nn),(0,ee.useEffect)(()=>{Fn(pn)},[Gt,pn]),(0,ee.useEffect)(()=>{Gt&&Dt&&Gt.focus()},[Gt,Dt]),(0,ee.useEffect)(()=>{if(pa&&Gt){let ia=function(Rn){let jn=Rn.target;if(za.current){let xa=jn.scrollTop/jn.scrollHeight;za.current.scrollTop=za.current.scrollHeight*xa}};const In=Gt.getScrollerElement();return In.addEventListener("scroll",ia),()=>{In.removeEventListener("scroll",ia)}}},[Gt,pa]),(0,ee.useEffect)(()=>{if(Gt&&zt){let ia=function(In,Rn){zt(In,Rn)};return Gt.on("beforeChange",ia),()=>{Gt.off("beforeChange",ia)}}},[Gt,zt]),(0,ee.useEffect)(()=>{if(Gt&&nt){let ia=function(){nt(Gt.getValue())};return Gt.on("blur",ia),()=>{Gt.off("blur",ia)}}},[Gt,nt]);function ua(ia,In){var Rn=ia.getDoc(),jn=Rn.getCursor(),xa=Rn.getLine(jn.line),Wa=xa.charAt(jn.ch-1),pe=xa.lastIndexOf("@\u2581@",jn.ch),Mt=xa.lastIndexOf("@\u2581\u2581@",jn.ch),rn=pe>Mt?pe:Mt,Cn=pe>Mt?3:4;if(Bt.indexOf(Wa)===-1)return null;if(console.log("change1:",In,ia,xa,jn,rn,pe,Mt,Wa),rn>=0&&jn.ch-rn<5){var Ht=rn+Cn;return Rn.replaceRange("",{line:jn.line,ch:rn},{line:jn.line,ch:Ht}),{line:jn.line,ch:Ht}}return null}(0,ee.useEffect)(()=>{if(Gt){let ia=function(In,Rn){const jn=In.getValue();Ca(jn),da(new Date().getTime()),In.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ke&&($n?Ke(jn,vo(jn)):Ke(jn))};return Gt.on("change",ia),()=>{Gt.off("change",ia)}}},[Gt,Ke]),(0,ee.useEffect)(()=>{if(Gt)if(He==null)Gt.setValue(""),Ca("");else{const ia=window.scrollY||window.pageYOffset;He!==Gt.getValue()&&(Gt.setValue(He),Ca(He),Gt.setCursor(vn?1:Gt.lineCount(),0),window.scrollTo(0,ia))}},[Gt,He]);const Ka=(0,ee.useCallback)(ia=>{const In=Gt.getCursor(),Rn=Gt.getSelection();let jn=Rn.split(`
|
|
`);switch(ia){case"bold":return Gt.replaceSelection("**"+Rn+"**"),Rn===""&&Gt.setCursor(In.line,In.ch+2),Gt.focus();case"italic":return Gt.replaceSelection("*"+Rn+"*"),Rn===""&&Gt.setCursor(In.line,In.ch+1),Gt.focus();case"code":return Gt.replaceSelection("`"+Rn+"`"),Rn===""&&Gt.setCursor(In.line,In.ch+1),Gt.focus();case"inline-latex":return na("inline-latex"),Gt.focus();case"latex":return Gt.replaceSelection("```latex\n"+Rn+"\n```"),Gt.setCursor(In.line+1,Rn.length+1),Gt.focus();case"line-break":return Gt.replaceSelection(`<br/>
|
|
`),Gt.focus();case"list-ul":return Rn===""?Gt.replaceSelection("- "+Rn):Gt.replaceSelection(jn.map(xa=>xa===""?"":`- ${xa}`).join(`
|
|
`)),Gt.focus();case"list-ol":return Rn===""?Gt.replaceSelection("1. "+Rn):Gt.replaceSelection(jn.map((xa,Wa)=>xa===""?"":`${Wa+1}. ${xa}`).join(`
|
|
`)),Gt.focus();case"add-null-ch":return Rn===""&&Gt.setCursor(In.line,In.ch),Gt.replaceSelection(at),Gt.focus();case"add-signal":return Rn===""&&Gt.setCursor(In.line,In.ch),Gt.replaceSelection(Jt),Gt.focus();case"add-multiple":return Rn===""&&Gt.setCursor(In.line,In.ch),Gt.replaceSelection(Bt),Gt.focus();case"inster-template-1":return Rn===""&&Gt.setCursor(In.line,In.ch),Gt.replaceSelection(yn),Gt.focus();case"eraser":return Gt.setValue(""),Gt.focus();case"trigger-watch":return Fn(!pa),Gt.focus();case"trigger-full-screen":return Vn(!Mn),Gt.focus();case vt:na(vt);return;case an:na(an);return;case mt:na(mt);return;case Vt:na(Vt);return;case"maths-latex":na("maths-latex");return;case Nt:na(Nt);return;case Sn:na(Sn);return;default:throw new Error}},[Gt,pa,Mn]),wa=(0,ee.useCallback)((ia,In)=>{var Rn,jn,xa,Wa,pe,Mt;switch(na(""),Ln){case vt:const{title:Pn,link:mn}=ia;return Gt.replaceSelection(`[${Pn}](${mn})`),Gt.focus();case an:const{language:En,content:bn}=ia;return Gt.replaceSelection(["```"+En,bn,"```"].join(`
|
|
`)),Gt.focus();case"maths-latex":for(var rn=atob(ia),Cn=new Uint8Array(rn.length),Ht=0;Ht<rn.length;Ht++)Cn[Ht]=rn.charCodeAt(Ht);var Dn=new Blob([Cn],{type:"image/png"});(0,Me.I)(Dn,ko=>{ko.id?Gt.replaceSelection(``):(ko==null?void 0:ko.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Gt.replaceSelection("`$$"+ia+"$$`");break;case mt:case Vt:case nn:const{src:kn,alt:Hn}=ia,Tn=In,Ha=(xa=(jn=(Rn=Tn==null?void 0:Tn.name)==null?void 0:Rn.split("."))==null?void 0:jn.pop)==null?void 0:xa.call(jn);return((Wa=Tn==null?void 0:Tn.type)==null?void 0:Wa.indexOf("image"))>-1||!(Tn!=null&&Tn.type)?Tn.align||Tn.width?Gt.replaceSelection(`<p style="text-align:${Tn.align||"initial"}"><img width="${Tn.width?Tn.width+"%":"initial"}" src="${kn}" alt="${Hn||""}" /></p>`):Gt.replaceSelection(`<img width="100%" src="${kn}" alt="${Hn||""}" />`):((pe=Tn==null?void 0:Tn.type)==null?void 0:pe.indexOf("video"))>-1?Gt.replaceSelection(`<video width="100%" controls src="${kn}"></video>`):((Mt=Tn==null?void 0:Tn.type)==null?void 0:Mt.indexOf("pdf"))>-1?Gt.replaceSelection(`<a href="${kn}?type=${Tn.type}&disposition=inline" target="_blank">${Tn.name}</a>`):he.includes(Ha)?Gt.replaceSelection(`<a href="${kn}?type=office&disposition=inline" target="_blank">${Tn.name}</a>`):Gt.replaceSelection(`[${Tn.name}](${kn})`),Gt.focus();case Sn:const{row:Aa,col:$a,align:io}=ia;let Ao=`
|
|
`;for(let ko=0;ko<Aa;ko++){let dr=[],ur=[];for(let nr=0;nr<$a;nr++)ko===1&&ur.push(Lt[io]),dr.push(" ");ko===1&&(Ao+=`| ${ur.join(" | ")} |
|
|
`),Ao+=`| ${dr.join($a===1?"":" | ")} |
|
|
`}return Gt.replaceSelection(Ao+`
|
|
`),Gt.focus();default:throw new Error}},[Gt,Ln]),ao=(0,ee.useMemo)(()=>{switch(Ln){case vt:return ee.createElement(Ot,{callback:wa,onCancel:Po});case an:return ee.createElement(en.Z,{callback:wa,onCancel:Po});case mt:return ee.createElement(Me.Z,{callback:wa,onCancel:Po});case Nt:return ee.createElement(it,{callback:wa,onCancel:Po});case Sn:return ee.createElement(Ee,{callback:wa,onCancel:Po});case"maths-latex":return ee.createElement(Tt,{showSaveButton:!0,callback:wa});case"inline-latex":return ee.createElement(Zt.Z,{showSaveButton:!0,callback:wa});default:return null}},[Ln]);function Po(){na("")}(0,ee.useEffect)(()=>{if(uo.current){let ia=function(pe){xa=!0,Wa=pe.pageY},In=function(){xa=!1},Rn=function(pe){if(xa){let Mt=pe.pageY-Wa;Mt<0&&(Mt=0),Mt>300&&(Mt=300);let rn=ut+Mt+"px";oa(rn)}},jn=uo.current,xa=!1,Wa=0;return jn.addEventListener("mousedown",ia),document.addEventListener("mousemove",Rn),document.addEventListener("mouseup",In),()=>{jn.removeEventListener("mousedown",ia),document.removeEventListener("mousemove",Rn),document.removeEventListener("mouseup",In)}}},[Gt,uo]),(0,ee.useEffect)(()=>{oa(ut)},[ut]);const No=We(Ie),Qo=We(Ba),zo={width:No,height:Qo},po=(0,ee.useMemo)(()=>{if(ha){let ia=new Date(ha),In=ia.getHours(),Rn=ia.getMinutes(),jn=ia.getSeconds();return In=In<10?"0"+In:In,Rn=Rn<10?"0"+Rn:Rn,jn=jn<10?"0"+jn:jn,`${In}:${Rn}:${jn}`}return 0},[ha]),vo=ia=>{const In=[];if($n){let Rn=-1;ia=ia.replace(/(@▁▁@|@▁@)/g,function(jn,xa,Wa){In.push({multiLine:jn!==Jt})})}return In};function jo(){window.sessionStorage.removeItem(xn),eo(!1),da(0)}function Mo(){eo(!1),da(0),Gt.setValue(window.sessionStorage.getItem(xn))}(0,ee.useEffect)(()=>{Xt[Ln]&&Ln!==Vt&&Ln!==Nt&&setTimeout(()=>{const ia=document.getElementsByClassName("markdown-popup-form")[0],In=window.innerWidth/2-ia.offsetWidth/2,Rn=window.innerHeight/2-ia.offsetHeight/2;ka(In),Na(Rn)},0)},[Ln]);const Go=ia=>{ia.preventDefault();const In=ia.clientX-Xa,Rn=ia.clientY-Ga;document.body.onmousemove=jn=>{let xa=jn.clientX-In,Wa=jn.clientY-Rn;const pe=document.getElementsByClassName("markdown-popup-form")[0],Mt=window.innerWidth-pe.offsetWidth,rn=window.innerHeight-pe.offsetHeight;xa=Math.max(0,Math.min(xa,Mt)),Wa=Math.max(0,Math.min(Wa,rn)),tr(jn.clientX,jn.clientY,In,Rn)&&(ka(xa),Na(Wa))},document.body.onmouseup=function(){document.body.onmousemove=null}},tr=(ia,In,Rn,jn)=>{const xa=document.body.clientHeight,Wa=document.body.clientWidth;return ia<20&&Rn>ia||ia>Wa-20&&Rn<ia||In<20&&jn>In||In>xa-20&&jn<In?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:"markdown-editor-wrapper",ref:Za},ee.createElement("div",{className:`markdown-editor-container ${_t} ${pa?"on-preview":""} ${jt?"mini":""} ${Mn?"full-screen":""}`,style:zo},ee.createElement(ge,{insertTemp:fn,watch:pa,fullScreen:Mn,showNullButton:Un,showNullProgramButton:$n,onActionCallback:Ka,hidetoolBar:ca,extraUse:Xn}),ee.createElement("div",{className:"markdown-editor-body"},ee.createElement("div",{className:"codemirror-container"},ee.createElement("textarea",{ref:_n,placeholder:ln})),pa?ee.createElement("div",{ref:za,className:"preview-container"},qt==="stex"&&ee.createElement(pt,{value:ya}),qt!=="stex"&&ee.createElement(Ye.Z,{disabledFill:un,showProgramFill:$n,value:ya})):null))),Qn?ee.createElement("a",{ref:uo,className:"editor-resize"}):null,Ln===Vt&&ee.createElement(Qt,{callback:wa,onCancel:Po}),Ln===Nt&&ee.createElement(it,{callback:wa,onCancel:Po}),ee.createElement(be.Z,null,Xt[Ln]&&Ln!==Vt&&Ln!==Nt?ee.createElement(Ze.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Xa,top:Ga},title:ee.createElement("div",{style:{cursor:"move"},onMouseDown:Go},Xt[Ln]),open:!0,onCancel:Po,footer:null,destroyOnClose:!0,width:Ln===Nt?"1200px":null,height:Ln===Nt?"80vh":null,className:"markdown-popup-form"},ao):null))}},28451:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return de},I:function(){return be}});var ee=te(78241),ie=te(8591),we=te(92832),Ge=te(81327),Ce=te(5871),Fe=te(5112),re=te(3113),$e=te(77903),Ue=te(59301),ze=te(24065),Ye=te(59301),pt=Object.defineProperty,Te=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(fe,Le,ue)=>Le in fe?pt(fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:ue}):fe[Le]=ue,x=(fe,Le)=>{for(var ue in Le||(Le={}))a.call(Le,ue)&&E(fe,ue,Le[ue]);if(y)for(var ue of y(Le))b.call(Le,ue)&&E(fe,ue,Le[ue]);return fe},z=(fe,Le)=>Te(fe,oe(Le));const{useForm:ne}=ee.default,ae={width:280,marginRight:10},le={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:fe,onCancel:Le})=>{const[ue]=ne();let ot=(0,Ue.useRef)();function De(ke){ot.current.width=ue.getFieldValue("width"),ot.current.align=ue.getFieldValue("align"),fe(ke,ot.current)}function Je(ke,qe){if(ke.status===-1){ie.ZP.error(ke.message);return}ue.setFieldsValue({src:`/api/attachments/${ke.id}`,type:qe.type})}function ye(ke){let qe=ke.target.files[0];ot.current=qe,be(qe,Je)}return Ye.createElement(ee.default,z(x({form:ue},le),{className:"upload-image-panel",onFinish:De,style:{width:470,overflow:"hidden"}}),Ye.createElement(ee.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ye.createElement("div",{className:"flex-container"},Ye.createElement(ee.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ye.createElement(we.default,{style:ae})),Ye.createElement(ge,{onFileChange:ye}))),Ye.createElement(ee.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ye.createElement(we.default,{style:{width:264}})),Ye.createElement(ee.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ye.createElement(Ge.Z,null,Ye.createElement(ee.default.Item,{name:"width",style:{margin:0}},Ye.createElement(Ce.Z,{style:{width:264}})),Ye.createElement("span",{className:"ml8"},"%"))),Ye.createElement(ee.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ye.createElement(Fe.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"}]})),Ye.createElement("aside",null,Ye.createElement(ee.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ye.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ye.createElement(re.ZP,{type:"default",onClick:Le},"\u53D6\u6D88"))))};function ge({onFileChange:fe}){return Ye.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ye.createElement("input",{type:"file",onChange:fe}))}function be(fe,Le){if(!fe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ze.bg)())throw ie.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ue=new FormData;ue.append("editormd-image-file",fe),ue.append("file_param_name","editormd-image-file"),ue.append("byxhr","true");var ot=new window.XMLHttpRequest;ot.withCredentials=!0,ot.addEventListener("load",function(De){Le(JSON.parse(De.target.responseText),fe)},!1),ot.addEventListener("error",function(De){console.error(De)},!1),ot.open("POST",`${$e.KI}/api/attachments.json`),ot.send(ue)}},79346:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return we}});var ee=te(59301),ie=te(4676);class we extends ee.Component{constructor(Ce){super(Ce);const Fe=window.document;this.node=Fe.createElement("div"),Fe.body.appendChild(this.node)}render(){const{children:Ce}=this.props;return(0,ie.createPortal)(Ce,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(Ft,Rt,te){"use strict";te.d(Rt,{i:function(){return ae},Z:function(){return de}});var ee={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ie=te(71418),we=te(6848),Ge=te(92310),Ce=te.n(Ge),Fe=te(955),re=te(8797),$e=te(24065),Ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIf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ALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ne=te(59301);const ae=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ue,swimg:ze},{name:"101\u8BA1\u5212",ptimg:Ye,swimg:pt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Te,swimg:oe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:z}];var de=({className:ge,dataSource:be=[],col:fe=4,right:Le,bottom:ue=23,precision:ot=0,wrapWidth:De=1200,trackEventItems:Je,loading:ye,onRemove:ke=()=>{},isCurrent:qe=!0,showAlias:Xe=!1})=>{const Ve=Math.floor((De-(fe-1)*Le)/fe),kt=[{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(_e=>(window.ENV==="build"&&(_e.ptimg=`/react/build${_e.ptimg}`,_e.swimg=`/react/build${_e.swimg}`),_e));return ne.createElement(ie.Z,{spinning:ye},ne.createElement("div",{className:Ce()(ee.list,ge)},!!(be!=null&&be.length)&&(be==null?void 0:be.map((_e,Ot)=>{var en;const{name:Me,id:Ze,identifier:yt,featured:Ut,school_name:ft,image_url:Qt,excellent:Be,is_plan:$t}=_e;return ne.createElement("div",{key:Ze,className:ee.wrap,style:{width:Ve,marginRight:(1+Ot)%fe===0?0:Le+ot,marginBottom:ue}},ne.createElement("a",{className:ee.li,onClick:hn=>{hn.preventDefault(),hn.stopPropagation(),Je&&(0,Fe.L9)([Je]),(0,Fe.xg)(`/paths/${yt}`)}},ne.createElement("div",{className:ee.img},ne.createElement("img",{className:ee.cover,src:`${Qt}`}),qe&&(0,$e.bg)()&&(_e==null?void 0:_e.studying)&&ne.createElement("div",{className:`${ee.movebq} user-path-items`,onClick:hn=>{hn.stopPropagation(),ke(_e)}},ne.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ne.createElement("span",{className:"c-red"},"\u79FB\u9664")),(en=_e==null?void 0:_e.subject_tags)==null?void 0:en.map((hn,St)=>{var ct,Qe;if(St===0){const Pe=(ct=kt.find(se=>se.name==hn))==null?void 0:ct.swimg;return ne.createElement("img",{className:ee.sign,src:Pe,style:{left:"-4px"}})}const Re=(Qe=kt.find(Pe=>Pe.name==hn))==null?void 0:Qe.ptimg;return ne.createElement("img",{className:ee.sign,src:Re,style:{left:`${48+52*(St-1)+2*St}px`}})}),ne.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(_e==null?void 0:_e.excellent)&&ne.createElement("div",{className:ee.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ne.createElement("div",{className:ee.name},ne.createElement(we.Z,{title:Xe&&(_e!=null&&_e.excellent_alias_name)?ne.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Me}`,ne.createElement("br",null),ne.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${_e==null?void 0:_e.excellent_alias_name}`)):Me},ne.createElement("span",{className:ee.e},Xe&&(_e==null?void 0:_e.excellent_alias_name)||Me))),ne.createElement("div",{className:ee.tags},ne.createElement("div",null,ne.createElement(we.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ne.createElement("span",null,_e.stages_count))),ne.createElement(we.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ne.createElement("span",null,_e.members_count)))))))})),!be.length&&ne.createElement(re.Z,null)))}},29458:function(Ft,Rt,te){"use strict";te.d(Rt,{jL:function(){return Ce},w9:function(){return _e},QD:function(){return Zt},cQ:function(){return ke.Z},op:function(){return Ee},O5:function(){return yn},_b:function(){return Vt},t7:function(){return E},Gi:function(){return Ut},YG:function(){return Ze},qp:function(){return Ye},vr:function(){return vt},qE:function(){return ht},Je:function(){return ne},wb:function(){return ye},cq:function(){return St},tp:function(){return oe}});var ee=te(59301),ie={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"},we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjH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cezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ce=({dataSource:he=[],img:We,imgWidth:st=346,title:gt,sunTitle:bt,bannerExtraContent:Xt})=>ee.createElement("div",{className:ie.banner},ee.createElement("div",{className:ie.content},ee.createElement("aside",null,ee.createElement("p",null,ee.createElement("b",null,gt),ee.createElement("span",null,bt)),he.length>0&&ee.createElement("div",{className:ie.btns},he.map((xt,He)=>ee.createElement("div",{key:He,onClick:xt.click},xt.name,xt.sign?ee.createElement("img",{src:we,width:39}):null))),Xt),We&&ee.createElement("img",{style:{marginTop:33,marginRight:38},src:We,width:st}))),Fe={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"},re=te(92310),$e=te.n(re),Ue=te(89392),Ye=({dataSource:he=[],value:We,onChange:st,onTitleChange:gt,className:bt,title:Xt,titleWidth:xt=41,style:He={},fontColor:Ke="#6A7283",showCount:Ie})=>{const[ut,jt]=(0,ee.useState)(0),[Dt,pn]=(0,ee.useState)(!1),fn=(0,ee.useRef)(null),qt=(0,ee.useRef)(null);return(0,ee.useEffect)(()=>{var xn;he.length!==0&&(((xn=fn==null?void 0:fn.current)==null?void 0:xn.clientHeight)>97?jt(1):jt(0)),he.length===0&&jt(0),pn(!1)},[he]),ee.createElement("div",{className:$e()(Fe.row,bt),style:He},ee.createElement("div",{onClick:(0,Ue.throttle)(()=>gt==null?void 0:gt(),2e3),style:{width:xt,marginTop:Dt?12:4},className:`${Fe.title} ${gt?"current":""}`},Xt),ee.createElement("div",{className:Dt?`${Fe.tagsWrap} ${Fe.tagsBorderWrap}`:Fe.tagsWrap},ee.createElement("div",{className:Fe.bar,ref:qt,style:ut>0?{height:ut===1?97:"auto",overflow:ut===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ee.createElement("div",{className:Fe.tag,ref:fn},he==null?void 0:he.map(xn=>ee.createElement("span",{onClick:()=>st(xn.id),key:xn.id,style:{color:Ke},className:We===xn.id?Fe.active:""},ee.createElement("span",{title:xn.name,className:Fe.name},xn.name),!!Ie&&ee.createElement("span",{className:Fe.num},xn.count))))),!!ut&&ee.createElement(ee.Fragment,null,ut===1?ee.createElement("div",{onClick:()=>{var xn;jt(2),((xn=fn==null?void 0:fn.current)==null?void 0:xn.clientHeight)>245?pn(!0):pn(!1)},className:Fe.action},"\u5C55\u5F00",ee.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ee.createElement("div",{onClick:()=>{qt.current.scrollTop=0,jt(1),pn(!1)},className:Fe.action},"\u6536\u8D77",ee.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},pt={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"},oe=({dataSource:he=[],value:We,onChange:st,className:gt,style:bt={}})=>ee.createElement("div",{style:bt,className:$e()(pt.tabs,gt)},he.map(Xt=>ee.createElement("span",{onClick:()=>st(Xt.id),className:We===Xt.id?pt.active:"",key:Xt.id},Xt.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),E=({dataSource:he=[],value:We="",onChange:st,onInputChange:gt=()=>{},className:bt,style:Xt={},placeholder:xt,allowClear:He=!1})=>{var Ke;const[Ie,ut]=(0,ee.useState)(""),[jt,Dt]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var qt;let xn=We;(qt=JSON.stringify(We))!=null&&qt.includes("{")&&(ut(We.id),xn=We.value||"");try{Dt(decodeURIComponent(xn||""))}catch(Qn){Dt(decodeURIComponent(xn||""))}},[We]);const pn=()=>{st(encodeURIComponent(jt),Ie||null)},fn=qt=>{qt!==Ie&&(ut(qt),st(encodeURIComponent(jt),qt))};return ee.createElement("div",{className:$e()(y.input,bt),style:Xt},!!he.length&&ee.createElement("div",{className:y.dropdown},ee.createElement("div",{className:y.text},(Ke=he.find(qt=>qt.id===Ie))==null?void 0:Ke.name,ee.createElement("i",{className:"iconfont icon-zhankai4"}),ee.createElement("b",{className:y.b1}),ee.createElement("b",{className:y.b2})),ee.createElement("div",{className:y.menu},he.map((qt,xn)=>ee.createElement("div",{key:xn,onClick:()=>fn(qt.id)},qt.name)))),ee.createElement(a.default,{onPressEnter:pn,value:jt,onChange:qt=>{Dt(qt.target.value),gt(encodeURIComponent(qt.target.value),Ie||null)},bordered:!1,placeholder:xt}),ee.createElement("i",{onClick:pn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},x={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"},ne=({value:he,onChange:We,className:st,total:gt,pageSize:bt,style:Xt={}})=>{const xt=he<2,He=he>=Math.ceil(gt/bt);return gt<=bt?ee.createElement(ee.Fragment,null):ee.createElement("div",{className:$e()(x.quickPager,st),style:Xt},ee.createElement("div",{onClick:()=>{xt||We(he-1,"prev")},className:xt?x.disabled:""},"\u4E0A\u4E00\u9875"),ee.createElement("div",{onClick:()=>{He||We(he+1,"next")},className:He?x.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"},le=te(71418),de=te(6848),ge=te(13570),be=te(3294),fe=te(955),Le=te(96908),ue=te(57177),ot=te(81378),De=te(8797),ye=({className:he,dataSource:We=[],col:st=4,right:gt,bottom:bt=23,precision:Xt=0,wrapWidth:xt=1200,trackEventItems:He,loading:Ke})=>{const Ie=Math.floor((xt-(st-1)*gt)/st);return ee.createElement(le.Z,{spinning:Ke},ee.createElement("div",{className:$e()(ae.list,he)},!!We.length&&We.map((ut,jt)=>{const{name:Dt,id:pn,identifier:fn,power:qt,cover_image_id:xn,pic:Qn}=ut;return ee.createElement("div",{className:ae.wrap,key:pn,style:{width:Ie,marginRight:(1+jt)%st===0?0:gt+Xt,marginBottom:bt}},ee.createElement("a",{target:"_blank",href:`/shixuns/${fn}/challenges`,className:ae.li,onClick:on=>{on.preventDefault(),He&&(0,fe.L9)([He]),qt&&(0,fe.xg)(`/shixuns/${fn}/challenges`)}},ee.createElement("div",{className:ae.img},ee.createElement("img",{className:ae.cover,src:`${Qn}`}),ut.is_jupyter&&ee.createElement("img",{className:ae.sign,src:Le}),ut.is_jupyter_lab&&ee.createElement("img",{className:ae.sign,src:ue}),ut.is_unity_3d&&ee.createElement("img",{className:ae.sign,src:ot})),ee.createElement("div",{className:ae.name},ee.createElement(de.Z,{title:Dt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:ae.e},Dt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{className:ae.tags},ee.createElement(de.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ee.createElement("span",null,ut.challenges_count))),!!ut.myshixuns_count&&ee.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ee.createElement("span",null,ut.myshixuns_count))),ee.createElement(de.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ee.createElement("span",null,ee.createElement("span",null,ut.level))),ee.createElement("div",{className:ae.rate},ee.createElement(ge.Z,{allowHalf:!0,disabled:!0,defaultValue:ut.score_info}),ee.createElement("span",null,"\xA0",ut.score_info?`${ut.score_info}\u5206`:"5\u5206")))),!qt&&ee.createElement("div",{className:ae.lockWrap},ee.createElement("img",{src:`${be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!We.length&&ee.createElement(De.Z,null)))},ke=te(33847),qe={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"},Xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9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ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ve=te(59301),_e=({className:he,dataSource:We=[],col:st=4,right:gt,bottom:bt=23,precision:Xt=0,wrapWidth:xt=1200,trackEventItems:He,loading:Ke})=>{const Ie=Math.floor((xt-(st-1)*gt)/st);return Ve.createElement(le.Z,{spinning:Ke},Ve.createElement("div",{className:$e()(qe.list,he)},!!We.length&&We.map((ut,jt)=>{const{subject_identifier:Dt,id:pn,identifier:fn,power:qt}=ut,xn=ut.is_public!=0&&ut.is_public;return Ve.createElement("div",{className:qe.wrap,key:pn,style:{width:Ie,marginRight:(1+jt)%st===0?0:gt+Xt,marginBottom:bt}},Ve.createElement("a",{className:qe.li,onClick:Qn=>{Qn.preventDefault(),He&&(0,fe.L9)([He]),(0,fe.xg)(ut.first_category_url)}},Ve.createElement("div",{className:qe.top},Ve.createElement(de.Z,{title:ut.name},Ve.createElement("div",{className:qe.name},ut.name)),Ve.createElement("img",{className:qe.img,src:be.Z.IMG_SERVER+"/images/"+ut.avatar_url}),Ve.createElement("div",{className:qe.text,title:ut.creator},ut.creator),Dt&&Ve.createElement("div",{className:qe.btns},Ve.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ve.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),xn&&Ve.createElement("div",{className:qe.sign},"\u516C\u5F00")),Ve.createElement("div",{className:qe.bottom},ut.visits>0&&Ve.createElement(de.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ve.createElement("span",null,Ve.createElement("i",{className:"iconfont icon-liulanyan"}),Ve.createElement("span",null,ut.visits))),ut.course_members_count>0&&Ve.createElement(de.Z,{title:"\u6210\u5458",placement:"bottom"},Ve.createElement("span",null,Ve.createElement("i",{className:"iconfont icon-chengyuan"}),ut.course_members_count)),ut.tasks_count>0&&Ve.createElement(de.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ve.createElement("span",null,Ve.createElement("i",{className:"iconfont icon-zuoye"}),ut.tasks_count)),ut.is_end?Ve.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Ve.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ut.is_accessible&&Ve.createElement("div",{className:qe.lockWrap},Ve.createElement("img",{src:`${be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ve.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!We.length&&Ve.createElement(De.Z,null)))},Ot={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"},en=te(89070),Ze=({dataSource:he=[],value:We,onChange:st,className:gt,style:bt={},tabBarExtraContent:Xt})=>ee.createElement("div",{className:$e()(Ot.tabs,gt),style:bt},ee.createElement("div",{className:Ot.tabsWrap},he.map((xt,He)=>ee.createElement("aside",{className:Ot.tab,onClick:()=>{st(xt.id),xt.link&&en.history.push(xt.link)},key:He},ee.createElement("div",{className:We===xt.id?Ot.active:""},xt.name),(xt==null?void 0:xt.resetCount)==null&&(xt==null?void 0:xt.total)!==void 0&&ee.createElement("span",null,"\uFF08",xt==null?void 0:xt.total,"\uFF09"),(xt==null?void 0:xt.resetCount)!==void 0&&(xt==null?void 0:xt.total)!==void 0&&ee.createElement(de.Z,{title:(xt==null?void 0:xt.tip)!=null?xt==null?void 0:xt.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},xt==null?void 0:xt.resetCount),"/",ee.createElement("span",null,xt==null?void 0:xt.total),"\uFF09"))))),ee.createElement("div",{className:Ot.tabBar},Xt)),Ut=({className:he,style:We={},children:st})=>ee.createElement("div",{className:$e()(he),style:We},st),ft={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"},Qt=te(38854),Be=te(20834);const $t=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var St=({sortValue:he,dropValue:We,className:st,onSort:gt,onDrop:bt,dataSource:Xt=$t})=>{var xt;return ee.createElement("div",{className:$e()(ft.orderWrap,st)},ee.createElement(Qt.Z,{dropdownRender:()=>ee.createElement(Be.default,null,Xt.map((He,Ke)=>ee.createElement(Be.default.Item,{key:Ke,onClick:()=>bt(He.id)},He.name)))},ee.createElement("span",{className:ft.orderTextWrap},(xt=Xt.find(He=>We===He.id))==null?void 0:xt.name)),ee.createElement("span",{className:ft.orderIconWrap},ee.createElement("span",{className:ft.orderAsc},ee.createElement("i",{className:he==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ft.cursorPointer} ${ft.active}`:`iconfont icon-sanjiaoxing-up font12 ${ft.cursorPointer}`,onClick:()=>gt(he==="asc"?"desc":"asc")})),ee.createElement("span",{className:ft.orderDesc},ee.createElement("i",{className:he==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ft.cursorPointer} ${ft.active}`:`iconfont icon-sanjiaoxing-down font12 ${ft.cursorPointer}`,onClick:()=>gt(he==="asc"?"desc":"asc")}))))},ct={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"},Qe=te(3113),Re=Object.defineProperty,Pe=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,it=(he,We,st)=>We in he?Re(he,We,{enumerable:!0,configurable:!0,writable:!0,value:st}):he[We]=st,Se=(he,We)=>{for(var st in We||(We={}))se.call(We,st)&&it(he,st,We[st]);if(Pe)for(var st of Pe(We))Ne.call(We,st)&&it(he,st,We[st]);return he},ve=(he,We)=>{var st={};for(var gt in he)se.call(he,gt)&&We.indexOf(gt)<0&&(st[gt]=he[gt]);if(he!=null&&Pe)for(var gt of Pe(he))We.indexOf(gt)<0&&Ne.call(he,gt)&&(st[gt]=he[gt]);return st},tt=(he,We,st)=>new Promise((gt,bt)=>{var Xt=Ke=>{try{He(st.next(Ke))}catch(Ie){bt(Ie)}},xt=Ke=>{try{He(st.throw(Ke))}catch(Ie){bt(Ie)}},He=Ke=>Ke.done?gt(Ke.value):Promise.resolve(Ke.value).then(Xt,xt);He((st=st.apply(he,We)).next())}),Ee=he=>{var We=he,{className:st,style:gt,children:bt,loading:Xt=!1,openLoading:xt,onClick:He=()=>{},size:Ke="middle",shape:Ie="round"}=We,ut=ve(We,["className","style","children","loading","openLoading","onClick","size","shape"]);const[jt,Dt]=(0,ee.useState)(!1);return ee.createElement(Qe.ZP,Se({onClick:(0,Ue.throttle)(pn=>tt(void 0,null,function*(){xt&&Dt(!0);try{yield He(pn)}catch(fn){console.log("error",fn)}xt&&Dt(!1)}),2e3,{leading:!0,trailing:!1}),className:$e()(ct.btn,ct[`${Ke}-${Ie}`],st),style:gt,size:Ke,shape:Ie,loading:jt||Xt},ut),bt)},et={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"},ht=({className:he,style:We,children:st=null,onClick:gt,title:bt})=>ee.createElement("div",{className:$e()(et.head,he),style:We},ee.createElement("span",{className:"primary-hover",onClick:gt},ee.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ee.createElement("b",{title:bt},bt),ee.createElement("div",{className:et.node},st)),It={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"},Zt=({confirmShow:he=!0,confirmTitle:We,confirmClick:st,cancelShow:gt=!0,cancelTitle:bt,cancelClick:Xt,className:xt,style:He,confirmLoading:Ke=!1})=>ee.createElement("div",{className:$e()(It.btns,xt),style:He},he&&ee.createElement(Qe.ZP,{loading:Ke,onClick:st,type:"primary",className:It.confirm},We),gt&&ee.createElement(Qe.ZP,{onClick:Xt,className:It.cancel},bt)),xe={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"},vt=({className:he,style:We={},LeftContent:st,children:gt,RightContent:bt})=>ee.createElement("div",{className:$e()(xe.fixedBottom,he),style:We},ee.createElement("div",{className:xe.wrap},ee.createElement("div",{className:xe.left},st),ee.createElement("div",{className:xe.center},gt),ee.createElement("div",{className:xe.right},bt))),mt={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"},Vt=({className:he,style:We={},dataSource:st=[]})=>ee.createElement("div",{className:$e()(mt.crumbs,he),style:We},st.map((gt,bt)=>bt<st.length-1?ee.createElement(ee.Fragment,{key:bt},gt.path||gt.onClick?ee.createElement("span",{className:mt.hover,onClick:gt!=null&>.onClick?gt.onClick:()=>en.history.push(gt.path)},gt.name):ee.createElement("span",null,gt.name),ee.createElement("span",null,"\xA0",">","\xA0")):ee.createElement("span",{key:bt,style:{color:"#5F6368"}},gt.name))),nn=te(31797),an=Object.defineProperty,Sn=Object.defineProperties,On=Object.getOwnPropertyDescriptors,Lt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,cn=(he,We,st)=>We in he?an(he,We,{enumerable:!0,configurable:!0,writable:!0,value:st}):he[We]=st,sn=(he,We)=>{for(var st in We||(We={}))Ct.call(We,st)&&cn(he,st,We[st]);if(Lt)for(var st of Lt(We))Wt.call(We,st)&&cn(he,st,We[st]);return he},Nn=(he,We)=>Sn(he,On(We)),at=(he,We)=>{var st={};for(var gt in he)Ct.call(he,gt)&&We.indexOf(gt)<0&&(st[gt]=he[gt]);if(he!=null&&Lt)for(var gt of Lt(he))We.indexOf(gt)<0&&Wt.call(he,gt)&&(st[gt]=he[gt]);return st};const{Countdown:Bt}=nn.default;var yn=he=>{var We=he,{onChange:st}=We,gt=at(We,["onChange"]);const[bt,Xt]=(0,ee.useState)(null);(0,ee.useEffect)(()=>{typeof bt=="number"&&bt>=0&&st(bt)},[bt]);const xt=He=>{const Ke=Math.floor(He/1e3);Xt(Ke)};return ee.createElement(Bt,Nn(sn({},gt),{onChange:xt}))}},58856:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return ie}});var ee=te(59301);function ie(we,Ge){const Ce=(0,ee.useRef)();(0,ee.useEffect)(()=>{Ce.current=we}),(0,ee.useEffect)(()=>{function Fe(){Ce.current()}if(Ge!==null){let re=setInterval(Fe,Ge);return()=>clearInterval(re)}},[Ge])}},74440:function(Ft,Rt,te){"use strict";te.d(Rt,{h:function(){return ee}});var ee=(ie=>(ie[ie.NOMATCH=-1]="NOMATCH",ie[ie.OK=0]="OK",ie[ie.TIMEOUT=2]="TIMEOUT",ie[ie.PODFAILURE=3]="PODFAILURE",ie[ie.COMPILEFAILURE=4]="COMPILEFAILURE",ie[ie.EXECUTEFAILURE=5]="EXECUTEFAILURE",ie[ie.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ie))(ee||{})},88264:function(Ft,Rt,te){"use strict";te.d(Rt,{H7:function(){return y},MK:function(){return oe},MU:function(){return ze},X6:function(){return pt},bM:function(){return Ue},fi:function(){return a},fu:function(){return $e},n4:function(){return b},rX:function(){return Te},vl:function(){return E},zO:function(){return Ye}});var ee=te(99064),ie=Object.defineProperty,we=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Fe=(x,z,ne)=>z in x?ie(x,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):x[z]=ne,re=(x,z)=>{for(var ne in z||(z={}))Ge.call(z,ne)&&Fe(x,ne,z[ne]);if(we)for(var ne of we(z))Ce.call(z,ne)&&Fe(x,ne,z[ne]);return x};function $e(x,z){return(0,ee.U2)(`myproblems/${x}.json`,re({hidePopLogin:!0},z||{}))}function Ue(x,z){return(0,ee.v_)(`myproblems/${x}/code_submit.json`,z)}function ze(x,z){return(0,ee.v_)(`myproblems/${x}/code_debug.json`,z)}function Ye(x,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ee.U2)(`myproblems/${x}/submit_records.json`,z)}function pt(x){return(0,ee.U2)("myproblems/record_detail.json",{id:x})}function Te(x,z){return(0,ee.U2)(`myproblems/${x}/result.json`,{mode:z})}function oe(x,z){return(0,ee.v_)(`myproblems/${x}/add_notes.json`,z)}function y(x,z){return(0,ee.v_)(`myproblems/${x}/restore_initial_code.json`,z)}function a(x){return(0,ee.v_)(`myproblems/${x}/sync_code.json`)}function b(x,z){return(0,ee.v_)(`myproblems/${x}/update_code.json`,z)}function E(x,z){return(0,ee.v_)(`discusses/${x}/plus.json`,z)}},83685:function(Ft,Rt,te){"use strict";te.d(Rt,{D0:function(){return re},R8:function(){return Ge},jw:function(){return Fe},y3:function(){return $e}});var ee=te(57809),ie=te(59301);const{Option:we}=ee.default;var Ge=(Ue=>(Ue[Ue.language=0]="language",Ue[Ue.difficult=1]="difficult",Ue[Ue.category=2]="category",Ue[Ue.openOrNot=3]="openOrNot",Ue))(Ge||{});const Ce={0:[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],1:[{title:"\u7B80\u5355",key:1},{title:"\u4E2D\u7B49",key:2},{title:"\u56F0\u96BE",key:3}],2:[{title:"\u7A0B\u5E8F\u8BBE\u8BA1",key:1},{title:"\u7B97\u6CD5",key:2}],3:[{title:"\u516C\u5F00",key:1},{title:"\u79C1\u6709",key:0}]};function Fe(Ue){return Ce[Ue].map(ze=>ie.createElement(we,{key:ze.title,value:ze.key}," ",ze.title," "))}function re(Ue,ze){Ue.map(Ye=>{const{id:pt,name:Te,sub_disciplines:oe}=Ye;let y={value:pt,label:Te};ze.push(y),oe&&oe.length>0&&(y.children=[],re(oe,y.children))})}function $e(Ue,ze){var Ye;let pt=[];for(let Te=0;Te<Ue.length;Te++){const oe=Ue[Te];if(((Ye=oe.sub_disciplines)==null?void 0:Ye.length)>0){pt[0]=oe.id;for(let y=0;y<oe.sub_disciplines.length;y++){const a=oe.sub_disciplines[y];if(a.id===ze)return pt[1]=a.id,[pt,a.tag_disciplines||a.sub_disciplines||[]]}}}return[pt,[]]}},82617:function(Ft,Rt,te){"use strict";te.r(Rt),te.d(Rt,{default:function(){return Me}});var ee=te(59301),ie=te(89070),we=te(78241),Ge=te(8591),Ce=te(43418),Fe=te(66104),re=te(5112),$e=te(95237),Ue=te(19842),ze=te(57809),Ye=te(98228),pt=te(6848),Te=te(54580),oe=te(1710),y=te(3113),a=te(3294),b={bgWrapper:"bgWrapper___yZrnF",bg:"bg___DMAyj",main:"main___l1oS8",addTypeRadio:"addTypeRadio___eH2zI",formWrap:"formWrap___ydPvR",questionTypeRadio:"questionTypeRadio___jQze1",difficultyWrapper:"difficultyWrapper___W9ML_",cascaderWrapper:"cascaderWrapper___AUd1O",courseCascader:"courseCascader___UEeI3",knowledgeWrapper:"knowledgeWrapper___sIao8",treeWrapper:"treeWrapper___t5heq",uploadTips:"uploadTips___v_XSU",uploadTipsIcon:"uploadTipsIcon___gfQUD",downloadBtn:"downloadBtn___BqNPb",uploadBtn:"uploadBtn___p7bAk",buttonFixed:"buttonFixed___j1UZJ",buttonWrap:"buttonWrap___FfqsJ",button:"button___TuRr2",topicWrap:"topicWrap___v5_lJ",cascaderPopup:"cascaderPopup___nXZ4B",unfold:"unfold____IJ2y"},E=te(94734),x=te(955),z=te(68664),ne=te(61485),ae=te(99064),le=te(14791),de=te(83685),ge=te(24334),be=te(16149),fe=te(59301),Le=Object.defineProperty,ue=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ke=(Ze,yt,Ut)=>yt in Ze?Le(Ze,yt,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Ze[yt]=Ut,qe=(Ze,yt)=>{for(var Ut in yt||(yt={}))Je.call(yt,Ut)&&ke(Ze,Ut,yt[Ut]);if(De)for(var Ut of De(yt))ye.call(yt,Ut)&&ke(Ze,Ut,yt[Ut]);return Ze},Xe=(Ze,yt)=>ue(Ze,ot(yt)),Ve=(Ze,yt,Ut)=>new Promise((ft,Qt)=>{var Be=St=>{try{hn(Ut.next(St))}catch(ct){Qt(ct)}},$t=St=>{try{hn(Ut.throw(St))}catch(ct){Qt(ct)}},hn=St=>St.done?ft(St.value):Promise.resolve(St.value).then(Be,$t);hn((Ut=Ut.apply(Ze,yt)).next())});const kt=Ze=>Ze==="SINGLE"||Ze==="MULTIPLE"?"SELECT":Ze,_e=Ze=>Ze.map(yt=>Xe(qe({},yt),{is_answer:yt.is_answer?1:0})),Ot=({form:Ze,currentItemType:yt,editId:Ut})=>({SELECT:fe.createElement(E.uh,{form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"name",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"is_answer",allowChangeMode:!0}),JUDGMENT:fe.createElement(E.ZZ,{form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices"}),COMPLETION:fe.createElement(E.u8,{form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"}),SUBJECTIVE:fe.createElement(E.Wk,{showKeywords:!0,isMustKeyWords:!1,form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),COMBINATION:fe.createElement(E.rL,{form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices",withScore:!1}),BPROGRAM:fe.createElement(E.tc,{form:Ze,hackidentifier:Ut,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"})})[yt]||null,en=({problemset:Ze,loading:yt,dispatch:Ut})=>{var ft,Qt,Be,$t;const hn=(0,ie.useParams)(),[St]=(0,ie.useSearchParams)(),[ct]=we.default.useForm(),[Qe,Re]=(0,ee.useState)(),[Pe,se]=(0,ee.useState)([]),Ne=(0,ee.useRef)(),[it,Se]=(0,ee.useState)(1),[ve,tt]=(0,ee.useState)([]),[Oe,Ee]=(0,ee.useState)(),[et,Kt]=(0,ee.useState)(!1),[ht,It]=(0,ee.useState)(),[Tt,Zt]=(0,ee.useState)("SELECT"),xe=we.default.useWatch("knowledge",ct),[dt,vt]=(0,ee.useState)([]);(0,ee.useEffect)(()=>{Nt()},[]);const mt=at=>at.map(Bt=>({title:Bt.name,value:Bt.group_id,children:mt(Bt.children)})),Nt=()=>Ve(void 0,null,function*(){const at=yield(0,be.NZ)({});if(at!=null&&at.data){const Bt=[{title:"\u6839\u76EE\u5F55",value:0,children:mt(at.data||[])}];vt(Bt)}});(0,ee.useEffect)(()=>(Ut({type:"globalSetting/footerToggle",payload:!1}),()=>{Ut({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ee.useEffect)(()=>(it===1&&window.addEventListener("beforeunload",nn),()=>{window.removeEventListener("beforeunload",nn)}),[it]),(0,ee.useEffect)(()=>{const at=St.get("pages");Re(at);const Bt=hn.id;Ne.current=Bt},[]);const Vt=hn.type==="edit";(0,ee.useEffect)(()=>{function at(){return Ve(this,null,function*(){const Bt=yield Ut({type:"problemset/getEditDisciplines",payload:{source:"new_question"}})})}at(),St.get("type")==="1"?Ne.current&&Ut({type:"problemset/getEditDataBprogram",payload:{id:Ne.current}}):Ne.current&&Ut({type:"problemset/getEditData",payload:{id:Ne.current}})},[]),(0,ee.useEffect)(()=>{var at,Bt,Jt,yn,he,We;if(!Vt)It({item_type:"SELECT",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),difficulty:2,item_banks_group_id:[Number(St.get("group_id"))||0]});else{if(!(Ze!=null&&Ze.editData))return;const{discipline:st,sub_discipline:gt,sub_discipline_id:bt,tag_disciplines:Xt,item_type:xt,choices:He=[],sub_item_banks:Ke=[]}=(Ze==null?void 0:Ze.editData)||{};if(St.get("type")==="1"){if(Zt("BPROGRAM"),(at=Ze==null?void 0:Ze.disciplinesData)!=null&&at.disciplines){const[Ie,ut]=(0,de.y3)((Bt=Ze==null?void 0:Ze.disciplinesData)==null?void 0:Bt.disciplines,bt),jt={item_type:"BPROGRAM",standard_answers:Ze.editData.standard_answer,difficulty:Ze.editData.difficult,item_banks_group_id:Ze.editData.item_banks_group_id,course:Ie,knowledge:(Jt=Ze.editData)==null?void 0:Jt.tag_discipline_ids,hack:qe({},Ze.editData),hack_codes:Xe(qe({},Ze.editData),{code:ge.Base64.decode(((yn=Ze.editData)==null?void 0:yn.code)||"")}),hack_sets:qe({},(We=(he=Ze.editData)==null?void 0:he.hack_sets)==null?void 0:We[0])};It(jt),bt&&sn(bt).then(Dt=>{})}}else{const Ie=Xe(qe({},Ze==null?void 0:Ze.editData),{item_type:kt(xt),choices:_e(He),course:[st==null?void 0:st.id,gt==null?void 0:gt.id],knowledge:Xt==null?void 0:Xt.map(ut=>ut.id),sub_item_banks:Ke.map(ut=>Xe(qe({},ut),{choices:_e(ut.choices)}))});It(Ie),Zt(kt(xt)),gt!=null&>.id&&sn(gt==null?void 0:gt.id).then(ut=>{var jt;const Dt=ut==null?void 0:ut.map(pn=>pn.id);Dt!=null&&Dt.includes((jt=Xt==null?void 0:Xt[0])==null?void 0:jt.id)||se(pn=>[...pn,...Xt])})}}},[Ze.editData,Ze==null?void 0:Ze.disciplinesData]);const nn=at=>{at.preventDefault(),at.returnValue=""},an=at=>{const{course:Bt,knowledge:Jt,difficulty:yn,item_banks_group_id:he}=ct.getFieldsValue(),We={item_type:at,course:Bt,knowledge:Jt,difficulty:yn,item_banks_group_id:he};switch(ct.resetFields(),ct.setFieldsValue(We),Zt(at),at){case"SELECT":ct.setFieldsValue({choices:Array.from({length:4},()=>({choice_text:"",is_answer:0}))});break;case"JUDGMENT":ct.setFieldsValue({choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}]});break;case"COMPLETION":ct.setFieldsValue({standard_answers:[],downcase:!0,no_space:!0});break;case"SUBJECTIVE":ct.setFieldsValue({answer_texts:[],use_keywords:!0});break;case"COMBINATION":break;case"PROGRAM":break;case"BPROGRAM":ct.setFieldsValue({hack:{time_limit:3,allow_student_debug:!1,submit_rule:1}});break}},Sn=(at,Bt)=>{var Jt;if(console.log(at,"changedValues"),at!=null&&at.item_type){if((at==null?void 0:at.item_type)==="PROGRAM"){const{course:yn,knowledge:he,difficulty:We,item_banks_group_id:st}=ct.getFieldsValue();console.log({course:yn,knowledge:he,difficulty:We,item_banks_group_id:st},"resetInitValues"),(0,x.xg)(`/problems/newcreate?discipline_id=${(yn==null?void 0:yn[0])||""}&sub_discipline_id=${(yn==null?void 0:yn[1])||""}&difficult=${We||""}&banksIds=${st||""}&tagIds=${he==null?void 0:he.map(bt=>bt.value).join(",")}`)}an(at==null?void 0:at.item_type)}if(at!=null&&at.course){const[yn,he]=at.course;sn(he),ct.setFieldsValue({knowledge:[]})}if((Jt=at==null?void 0:at.hack)!=null&&Jt.sub_discipline_id){const[yn,he]=at.hack.sub_discipline_id;sn(he),ct.setFieldsValue({hack:{tag_discipline_ids:[]}})}},On=at=>{se([...Pe,qe({},at)])},[Lt,Ct]=(0,ee.useState)("");(0,ee.useEffect)(()=>{Ct(new Date)},[ct.getFieldValue("course")]);const Wt=()=>Ve(void 0,null,function*(){var at,Bt,Jt,yn;const he=ct.getFieldsValue(),We=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const ut=Ie.map(Dt=>{var pn;return(pn=Dt.choice_text)==null?void 0:pn.trim().replace(/^\s+|\s+$/g,"")});return new Set(ut).size!==ut.length};if(he.item_type==="SELECT"&&We(he.choices)){Ge.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}if(he.item_type==="COMBINATION"&&((at=he.sub_item_banks)==null?void 0:at.some(ut=>ut.item_type==="SINGLE"||ut.item_type==="MULTIPLE"?We(ut.choices):!1))){Ge.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}(he==null?void 0:he.item_type)=="COMPLETION"&&he.is_ordered==null&&(he.is_ordered=!0);let{course:st=[],item_type:gt,item_banks_group_id:bt,knowledge:Xt=[],choices:xt}=he||{};const[He,Ke]=st;if(it===1){if(gt==="PROGRAM"){(0,x.xg)("/problems/newcreate");return}let Ie=[];(Xt==null?void 0:Xt.length)>0&&((Bt=Xt==null?void 0:Xt[0])!=null&&Bt.value?Xt==null||Xt.map(pn=>{Ie.push(pn==null?void 0:pn.value)}):Ie=Xt);const ut=Array.isArray(bt)?bt:[bt];if(gt==="BPROGRAM"){let pn=Xe(qe({},he),{knowledge:Ie,item_banks_group_ids:ut,hack:Xe(qe({},he==null?void 0:he.hack),{sub_discipline_id:Ke,difficult:he.difficulty,item_banks_group_ids:ut,tag_discipline_ids:Ie}),hack_codes:Xe(qe({},he.hack_codes),{code:ge.Base64.encode(he.hack_codes.code)}),hack_sets:[qe({},he.hack_sets)],update_hack_sets:[qe({},he.hack_sets)],is_blank:!0});console.log(pn,"datas"),Vt||sessionStorage.projectFill?(yield(0,ae.ZP)(`/api/problems/${Ne.current||sessionStorage.projectFill}.json`,{method:"put",body:qe({},pn)})).status===0&&ie.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${he.item_banks_group_id}`:""}&page=${St.get("page")}`):(yield(0,ae.ZP)("/api/problems.json",{method:"post",body:qe({},pn)})).status===0&&Ce.default.confirm({title:"\u63D0\u793A",centered:!0,icon:null,content:"\u8BD5\u9898\u65B0\u589E\u6210\u529F",okText:"\u7EE7\u7EED\u65B0\u589E",cancelText:"\u8FD4\u56DE\u5217\u8868",onOk(){an(Tt)},onCancel(){ie.history.replace(`/problemset?group_id=${bt}`)}});return}if(gt==="SELECT"&&(gt=xt.filter(pn=>pn.is_answer===1).length>1?"MULTIPLE":"SINGLE"),gt==="COMBINATION"){let{sub_item_banks:pn}=he||{};he.sub_item_banks=pn==null?void 0:pn.map(fn=>qe({},fn))}const jt=Xe(qe({},he),{discipline_id:He,sub_discipline_id:Ke,item_banks_group_ids:ut,tag_discipline_ids:Ie,knowledge:Ie,item_type:gt});let Dt;Vt?Dt=yield Ut({type:"problemset/editProblemset",payload:Xe(qe({},jt),{id:Ne.current})}):Dt=yield Ut({type:"problemset/addProblemset",payload:jt}),Dt.status===0&&(Vt?ie.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${bt}`:""}&page=${St.get("page")}`):Ce.default.confirm({title:"\u63D0\u793A",centered:!0,icon:null,content:"\u8BD5\u9898\u65B0\u589E\u6210\u529F",okText:"\u7EE7\u7EED\u65B0\u589E",cancelText:"\u8FD4\u56DE\u5217\u8868",onOk(){an(Tt)},onCancel(){ie.history.replace(`/problemset?group_id=${bt}`)}}))}else{if((ve==null?void 0:ve.length)<=0){Ge.ZP.info("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}Kt(!0);const Ie=new FormData;Ie.append("file",ve[0]),Ie.append("sub_discipline_id",Ke);const ut=yield(0,ae.ZP)("/api/item_banks/file_import.json",{method:"post",body:Ie},!0);if(Kt(!1),(ut==null?void 0:ut.status)===0){if(((Jt=ut==null?void 0:ut.fail)==null?void 0:Jt.length)>0){Ee(ut==null?void 0:ut.fail),Ge.ZP.error("\u4E0A\u4F20\u5931\u8D25\u9898\u6570\u4E3A"+((yn=ut==null?void 0:ut.fail)==null?void 0:yn.length)+"\uFF0C\u53EF\u5728\u5E95\u90E8\u8BD5\u9898\u5217\u8868\u67E5\u770B\u9519\u8BEF\u539F\u56E0\u3002");return}ct.setFieldsValue({course:[]}),tt([]),Ee([]),Ge.ZP.info("\u4E0A\u4F20\u6210\u529F")}}}),cn=at=>Ve(void 0,null,function*(){var Bt,Jt,yn,he,We;at.errorFields[0].name.includes("standard_answers")?((yn=(Jt=(Bt=at==null?void 0:at.errorFields)==null?void 0:Bt[0])==null?void 0:Jt.errors)==null?void 0:yn[0])==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"?((0,x.pE)(),Ge.ZP.error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879")):Ge.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ge.ZP.error(at.errorFields[0].errors[0]),ct.scrollToField((We=(he=at==null?void 0:at.errorFields)==null?void 0:he[0])==null?void 0:We.name,{behavior:"smooth",block:"center"})}),sn=at=>Ve(void 0,null,function*(){const Bt=yield Ut({type:"exercise/getTagDiscipline",payload:{sub_discipline_id:at}});return se(Bt.tag_disciplines),Bt==null?void 0:Bt.tag_disciplines}),Nn=[{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"message",key:"message"}];return fe.createElement("div",{className:b.bgWrapper},fe.createElement("section",{className:b.bg},fe.createElement(Fe.Z,{className:"mb20",separator:">"},fe.createElement(Fe.Z.Item,{href:"/problemset"},"\u8BD5\u9898\u5E93"),fe.createElement(Fe.Z.Item,null,Vt?"\u7F16\u8F91":"\u65B0\u589E","\u8BD5\u9898")),fe.createElement("div",{className:b.main},!Vt&&fe.createElement(re.ZP.Group,{className:b.addTypeRadio,optionType:"button",options:[{label:"\u5355\u4E2A\u6DFB\u52A0",value:1},{label:"\u6279\u91CF\u5BFC\u5165",value:2},{label:fe.createElement("div",null,fe.createElement("img",{width:26,style:{position:"absolute",top:-5},src:le.$}),fe.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),value:3}],onChange:at=>{Se(at.target.value),tt([]),Ee([])},value:it}),it===1&&ht&&fe.createElement(we.default,{form:ct,className:b.formWrap,layout:"horizontal",colon:!1,onValuesChange:Sn,onFinish:Wt,onFinishFailed:cn,initialValues:ht},fe.createElement(we.default.Item,{label:"\u8BD5\u9898\u7C7B\u578B",name:"item_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9898\u578B"}]},fe.createElement(re.ZP.Group,{disabled:Vt,optionType:"button",className:b.questionTypeRadio,options:[{label:"\u9009\u62E9\u9898",value:"SELECT"},{label:"\u5224\u65AD\u9898",value:"JUDGMENT"},{label:"\u586B\u7A7A\u9898",value:"COMPLETION"},{label:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"},{label:"\u7F16\u7A0B\u9898",value:"PROGRAM"},{label:"\u7EC4\u5408\u9898",value:"COMBINATION"},{label:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM"}]})),fe.createElement("div",{style:{display:Tt==="PROGRAM"?"none":"flex",background:"#F6F7F9",alignItems:"center",padding:"27px 20px"}},fe.createElement($e.Z,{align:"middle"},fe.createElement(we.default.Item,{label:"\u77E5\u8BC6\u70B9",labelCol:{flex:"62px"},className:b.cascaderWrapper,name:"course"},fe.createElement(Ue.Z,{className:b.courseCascader,popupClassName:b.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},showArrow:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",allowClear:!0,options:Ze.courseOptions,style:{width:177},onChange:at=>{at||ct.setFieldsValue({knowledge:[]})}})),fe.createElement(we.default.Item,{label:"",name:"knowledge",className:"mb0"},fe.createElement(z.N,{key:Lt,height:260,selectvalues:xe,subId:((ft=ct.getFieldsValue().course)==null?void 0:ft[1])||(($t=(Be=(Qt=ct.getFieldsValue())==null?void 0:Qt.hack)==null?void 0:Be.sub_discipline_id)==null?void 0:$t[1]),knowledgeOptions:Pe,onAddKnowledgeFinish:On,className:b.knowledgeWrapper}))),fe.createElement(we.default.Item,{name:"difficulty",label:"\u96BE\u5EA6",className:b.difficultyWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},fe.createElement(ze.default,{style:{width:120,height:46}},fe.createElement(ze.default.Option,{value:1},"\u7B80\u5355"),fe.createElement(ze.default.Option,{value:2},"\u9002\u4E2D"),fe.createElement(ze.default.Option,{value:3},"\u56F0\u96BE"))),fe.createElement(we.default.Item,{label:"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55",className:b.difficultyWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"item_banks_group_id",style:{marginLeft:"auto"}},fe.createElement(Ye.default,{style:{width:270},treeDefaultExpandedKeys:[0],placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",popupClassName:b.treeWrapper,treeData:dt}))),fe.createElement("div",{className:b.topicWrap},fe.createElement(Ot,{editId:Ne.current,currentItemType:Tt,form:ct}))),it===2&&fe.createElement("div",null,fe.createElement(we.default,{form:ct,className:b.formWrap,layout:"vertical",onValuesChange:Sn,onFinish:Wt},fe.createElement(we.default.Item,{className:b.cascaderWrapper,label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},fe.createElement(Ue.Z,{className:b.courseCascader,popupClassName:b.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",showArrow:!0,allowClear:!1,options:Ze.courseOptions,style:{width:490}})),fe.createElement("div",{className:"mb30"},fe.createElement("span",{className:b.uploadTips},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898",fe.createElement(pt.Z,{title:fe.createElement("div",null,fe.createElement("div",null,"\u63D0\u793A:"),fe.createElement("div",null,"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B"),fe.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),fe.createElement("div",null,"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),fe.createElement("div",null,"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))},fe.createElement(ne.Z,{className:b.uploadTipsIcon}))),fe.createElement("a",{className:`${b.downloadBtn} ml30`,href:a.Z.API_SERVER+"/api/item_banks/down_template",download:!0},"\u4E0B\u8F7D\u8BD5\u9898\u6A21\u7248",fe.createElement("i",{className:"iconfont icon-xiazai4 ml10",style:{fontSize:14}}))),fe.createElement(Te.default,{onRemove:()=>{tt([])},beforeUpload:at=>{if(console.log(at),(at==null?void 0:at.size)>1024*1024*50)return Ge.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;let Bt=[];return Bt.push(at),tt([...Bt]),!1},fileList:ve,accept:".xls,.xlsx",showUploadList:{removeIcon:fe.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160"}})}},fe.createElement("div",{className:b.uploadBtn},fe.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}}),"\u70B9\u51FB\u4E0A\u4F20"))),fe.createElement("br",null),(Oe==null?void 0:Oe.length)>0&&fe.createElement("span",{style:{fontSize:"18px",display:"flex",width:"100%",justifyContent:"center"}},"\u9519\u8BEF\u5217\u8868"),(Oe==null?void 0:Oe.length)>0&&fe.createElement(oe.default,{style:{marginTop:"10px"},dataSource:Oe,columns:Nn})),it===3&&fe.createElement(le.Z,{mode:1,onCancel:()=>ie.history.push("/problemset")})),it!==3&&fe.createElement("div",{className:b.buttonFixed},fe.createElement("div",{className:b.buttonWrap},fe.createElement(y.ZP,{size:"middle",className:`${b.button} mr20`,onClick:()=>ie.history.push(`/problemset?page=${St.get("page")}`)},"\u53D6\u6D88"),fe.createElement(y.ZP,{size:"middle",type:"primary",className:`${b.button} mr20`,onClick:()=>ct.submit(),loading:yt["problemset/editProblemset"]||yt["problemset/addProblemset"]||et},Tt==="PROGRAM"&&it===1?"\u7ACB\u5373\u521B\u5EFA":"\u4FDD\u5B58\u9898\u76EE")))))};var Me=(0,ie.connect)(({problemset:Ze,loading:yt,globalSetting:Ut})=>({problemset:Ze,globalSetting:Ut,loading:yt.effects}))(en)},50371:function(Ft,Rt){"use strict";function te(){const ee=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ie=1;ie<arguments.length;ie++){const we=ie<0||arguments.length<=ie?void 0:arguments[ie];we&&Object.keys(we).forEach(Ge=>{const Ce=we[Ge];Ce!==void 0&&(ee[Ge]=Ce)})}return ee}Rt.Z=te},13845:function(Ft,Rt,te){"use strict";te.d(Rt,{F:function(){return ee},Z:function(){return ie}});function ee(we){return we!=null&&we===we.window}function ie(we,Ge){var Ce,Fe;if(typeof window=="undefined")return 0;const re=Ge?"scrollTop":"scrollLeft";let $e=0;return ee(we)?$e=we[Ge?"pageYOffset":"pageXOffset"]:we instanceof Document?$e=we.documentElement[re]:(we instanceof HTMLElement||we)&&($e=we[re]),we&&!ee(we)&&typeof $e!="number"&&($e=(Fe=((Ce=we.ownerDocument)!==null&&Ce!==void 0?Ce:we).documentElement)===null||Fe===void 0?void 0:Fe[re]),$e}},56762:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return ie}});var ee=te(59301);function ie(){const[,we]=ee.useReducer(Ge=>Ge+1,0);return we}},68031:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return Ge}});var ee=te(16089);function ie(Ce,Fe,re,$e){const Ue=re-Fe;return Ce/=$e/2,Ce<1?Ue/2*Ce*Ce*Ce+Fe:Ue/2*((Ce-=2)*Ce*Ce+2)+Fe}var we=te(13845);function Ge(Ce){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:$e,duration:Ue=450}=Fe,ze=re(),Ye=(0,we.Z)(ze,!0),pt=Date.now(),Te=()=>{const y=Date.now()-pt,a=ie(y>Ue?Ue:y,Ye,Ce,Ue);(0,we.F)(ze)?ze.scrollTo(window.pageXOffset,a):ze instanceof Document||ze.constructor.name==="HTMLDocument"?ze.documentElement.scrollTop=a:ze.scrollTop=a,y<Ue?(0,ee.Z)(Te):typeof $e=="function"&&$e()};(0,ee.Z)(Te)}},66104:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return Je}});var ee=te(92310),ie=te.n(ee),we=te(11592),Ge=te(26112),Ce=te(59301),Fe=te(92343),re=te(36355),$e=te(84105),Ue=te(91857);const ze=ye=>{let{children:ke}=ye;const{getPrefixCls:qe}=Ce.useContext(re.E_),Xe=qe("breadcrumb");return Ce.createElement("li",{className:`${Xe}-separator`,"aria-hidden":"true"},ke===""?ke:ke||"/")};ze.__ANT_BREADCRUMB_SEPARATOR=!0;var Ye=ze,pt=function(ye,ke){var qe={};for(var Xe in ye)Object.prototype.hasOwnProperty.call(ye,Xe)&&ke.indexOf(Xe)<0&&(qe[Xe]=ye[Xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Xe=Object.getOwnPropertySymbols(ye);Ve<Xe.length;Ve++)ke.indexOf(Xe[Ve])<0&&Object.prototype.propertyIsEnumerable.call(ye,Xe[Ve])&&(qe[Xe[Ve]]=ye[Xe[Ve]]);return qe};function Te(ye,ke){if(ye.title===void 0||ye.title===null)return null;const qe=Object.keys(ke).join("|");return typeof ye.title=="object"?ye.title:String(ye.title).replace(new RegExp(`:(${qe})`,"g"),(Xe,Ve)=>ke[Ve]||Xe)}function oe(ye,ke,qe,Xe){if(qe==null)return null;const{className:Ve,onClick:kt}=ke,_e=pt(ke,["className","onClick"]),Ot=Object.assign(Object.assign({},(0,Ge.Z)(_e,{data:!0,aria:!0})),{onClick:kt});return Xe!==void 0?Ce.createElement("a",Object.assign({},Ot,{className:ie()(`${ye}-link`,Ve),href:Xe}),qe):Ce.createElement("span",Object.assign({},Ot,{className:ie()(`${ye}-link`,Ve)}),qe)}function y(ye,ke){return(Xe,Ve,kt,_e,Ot)=>{if(ke)return ke(Xe,Ve,kt,_e);const en=Te(Xe,Ve);return oe(ye,Xe,en,Ot)}}var a=function(ye,ke){var qe={};for(var Xe in ye)Object.prototype.hasOwnProperty.call(ye,Xe)&&ke.indexOf(Xe)<0&&(qe[Xe]=ye[Xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Xe=Object.getOwnPropertySymbols(ye);Ve<Xe.length;Ve++)ke.indexOf(Xe[Ve])<0&&Object.prototype.propertyIsEnumerable.call(ye,Xe[Ve])&&(qe[Xe[Ve]]=ye[Xe[Ve]]);return qe};const b=ye=>{const{prefixCls:ke,separator:qe="/",children:Xe,menu:Ve,overlay:kt,dropdownProps:_e,href:Ot}=ye,Me=(Ze=>{if(Ve||kt){const yt=Object.assign({},_e);if(Ve){const Ut=Ve||{},{items:ft}=Ut,Qt=a(Ut,["items"]);yt.menu=Object.assign(Object.assign({},Qt),{items:ft==null?void 0:ft.map((Be,$t)=>{var{key:hn,title:St,label:ct,path:Qe}=Be,Re=a(Be,["key","title","label","path"]);let Pe=ct!=null?ct:St;return Qe&&(Pe=Ce.createElement("a",{href:`${Ot}${Qe}`},Pe)),Object.assign(Object.assign({},Re),{key:hn!=null?hn:$t,label:Pe})})})}else kt&&(yt.overlay=kt);return Ce.createElement(Ue.Z,Object.assign({placement:"bottom"},yt),Ce.createElement("span",{className:`${ke}-overlay-link`},Ze,Ce.createElement($e.Z,null)))}return Ze})(Xe);return Me!=null?Ce.createElement(Ce.Fragment,null,Ce.createElement("li",null,Me),qe&&Ce.createElement(Ye,null,qe)):null},E=ye=>{const{prefixCls:ke,children:qe,href:Xe}=ye,Ve=a(ye,["prefixCls","children","href"]),{getPrefixCls:kt}=Ce.useContext(re.E_),_e=kt("breadcrumb",ke);return Ce.createElement(b,Object.assign({},Ve,{prefixCls:_e}),oe(_e,Ve,qe,Xe))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,z=te(17313),ne=te(83116),ae=te(37613);const le=ye=>{const{componentCls:ke,iconCls:qe}=ye;return{[ke]:Object.assign(Object.assign({},(0,z.Wf)(ye)),{color:ye.itemColor,fontSize:ye.fontSize,[qe]:{fontSize:ye.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ye.linkColor,transition:`color ${ye.motionDurationMid}`,padding:`0 ${ye.paddingXXS}px`,borderRadius:ye.borderRadiusSM,height:ye.lineHeight*ye.fontSize,display:"inline-block",marginInline:-ye.marginXXS,"&:hover":{color:ye.linkHoverColor,backgroundColor:ye.colorBgTextHover}},(0,z.Qy)(ye)),"li:last-child":{color:ye.lastItemColor},[`${ke}-separator`]:{marginInline:ye.separatorMargin,color:ye.separatorColor},[`${ke}-link`]:{[`
|
|
> ${qe} + span,
|
|
> ${qe} + a
|
|
`]:{marginInlineStart:ye.marginXXS}},[`${ke}-overlay-link`]:{borderRadius:ye.borderRadiusSM,height:ye.lineHeight*ye.fontSize,display:"inline-block",padding:`0 ${ye.paddingXXS}px`,marginInline:-ye.marginXXS,[`> ${qe}`]:{marginInlineStart:ye.marginXXS,fontSize:ye.fontSizeIcon},"&:hover":{color:ye.linkHoverColor,backgroundColor:ye.colorBgTextHover,a:{color:ye.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ye.componentCls}-rtl`]:{direction:"rtl"}})}};var de=(0,ne.Z)("Breadcrumb",ye=>{const ke=(0,ae.TS)(ye,{});return[le(ke)]},ye=>({itemColor:ye.colorTextDescription,lastItemColor:ye.colorText,iconFontSize:ye.fontSize,linkColor:ye.colorTextDescription,linkHoverColor:ye.colorText,separatorColor:ye.colorTextDescription,separatorMargin:ye.marginXS})),ge=function(ye,ke){var qe={};for(var Xe in ye)Object.prototype.hasOwnProperty.call(ye,Xe)&&ke.indexOf(Xe)<0&&(qe[Xe]=ye[Xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Xe=Object.getOwnPropertySymbols(ye);Ve<Xe.length;Ve++)ke.indexOf(Xe[Ve])<0&&Object.prototype.propertyIsEnumerable.call(ye,Xe[Ve])&&(qe[Xe[Ve]]=ye[Xe[Ve]]);return qe};function be(ye){const{breadcrumbName:ke,children:qe}=ye,Xe=ge(ye,["breadcrumbName","children"]),Ve=Object.assign({title:ke},Xe);return qe&&(Ve.menu={items:qe.map(kt=>{var{breadcrumbName:_e}=kt,Ot=ge(kt,["breadcrumbName"]);return Object.assign(Object.assign({},Ot),{title:_e})})}),Ve}function fe(ye,ke){return(0,Ce.useMemo)(()=>ye||(ke?ke.map(be):null),[ye,ke])}var Le=function(ye,ke){var qe={};for(var Xe in ye)Object.prototype.hasOwnProperty.call(ye,Xe)&&ke.indexOf(Xe)<0&&(qe[Xe]=ye[Xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Xe=Object.getOwnPropertySymbols(ye);Ve<Xe.length;Ve++)ke.indexOf(Xe[Ve])<0&&Object.prototype.propertyIsEnumerable.call(ye,Xe[Ve])&&(qe[Xe[Ve]]=ye[Xe[Ve]]);return qe};const ue=(ye,ke)=>{if(ke===void 0)return ke;let qe=(ke||"").replace(/^\//,"");return Object.keys(ye).forEach(Xe=>{qe=qe.replace(`:${Xe}`,ye[Xe])}),qe},ot=ye=>{const{prefixCls:ke,separator:qe="/",style:Xe,className:Ve,rootClassName:kt,routes:_e,items:Ot,children:en,itemRender:Me,params:Ze={}}=ye,yt=Le(ye,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Ut,direction:ft,breadcrumb:Qt}=Ce.useContext(re.E_);let Be;const $t=Ut("breadcrumb",ke),[hn,St]=de($t),ct=fe(Ot,_e),Qe=y($t,Me);if(ct&&ct.length>0){const se=[],Ne=Ot||_e;Be=ct.map((it,Se)=>{const{path:ve,key:tt,type:Oe,menu:Ee,overlay:et,onClick:Kt,className:ht,separator:It,dropdownProps:Tt}=it,Zt=ue(Ze,ve);Zt!==void 0&&se.push(Zt);const xe=tt!=null?tt:Se;if(Oe==="separator")return Ce.createElement(Ye,{key:xe},It);const dt={},vt=Se===ct.length-1;Ee?dt.menu=Ee:et&&(dt.overlay=et);let{href:mt}=it;return se.length&&Zt!==void 0&&(mt=`#/${se.join("/")}`),Ce.createElement(b,Object.assign({key:xe},dt,(0,Ge.Z)(it,{data:!0,aria:!0}),{className:ht,dropdownProps:Tt,href:mt,separator:vt?"":qe,onClick:Kt,prefixCls:$t}),Qe(it,Ze,Ne,se,mt))})}else if(en){const se=(0,we.Z)(en).length;Be=(0,we.Z)(en).map((Ne,it)=>{if(!Ne)return Ne;const Se=it===se-1;return(0,Fe.Tm)(Ne,{separator:Se?"":qe,key:it})})}const Re=ie()($t,Qt==null?void 0:Qt.className,{[`${$t}-rtl`]:ft==="rtl"},Ve,kt,St),Pe=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Xe);return hn(Ce.createElement("nav",Object.assign({className:Re,style:Pe},yt),Ce.createElement("ol",null,Be)))};ot.Item=x,ot.Separator=Ye;var De=ot,Je=De},19842:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return yn}});var ee=te(26407),ie=te(59301),we=te(33853),Ge=te(58617),Ce=te(38819),Fe=te(92310),re=te.n(Fe),$e=te(92413),Ue=te(33606),ze=te(37061),Ye=te(77861),pt=te(17115),Te=te(90782),oe=te(6089),y=te(18929),a=ie.createContext(null),b=a,E=te(39559),x=te(400),z=te(33708),ne="__rc_cascader_search_mark__",ae=function(We,st,gt){var bt=gt.label;return st.some(function(Xt){return String(Xt[bt]).toLowerCase().includes(We.toLowerCase())})},le=function(We,st,gt,bt){return st.map(function(Xt){return Xt[bt.label]}).join(" / ")},de=function(he,We,st,gt,bt,Xt){var xt=bt.filter,He=xt===void 0?ae:xt,Ke=bt.render,Ie=Ke===void 0?le:Ke,ut=bt.limit,jt=ut===void 0?50:ut,Dt=bt.sort;return ie.useMemo(function(){var pn=[];if(!he)return[];function fn(qt,xn){var Qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;qt.forEach(function(on){if(!(!Dt&&jt!==!1&&jt>0&&pn.length>=jt)){var Un=[].concat((0,ee.Z)(xn),[on]),$n=on[st.children],ca=Qn||on.disabled;if((!$n||$n.length===0||Xt)&&He(he,Un,{label:st.label})){var qn;pn.push((0,z.Z)((0,z.Z)({},on),{},(qn={disabled:ca},(0,x.Z)(qn,st.label,Ie(he,Un,gt,st)),(0,x.Z)(qn,ne,Un),(0,x.Z)(qn,st.children,void 0),qn)))}$n&&fn(on[st.children],Un,ca)}})}return fn(We,[]),Dt&&pn.sort(function(qt,xn){return Dt(qt[ne],xn[ne],he,st)}),jt!==!1&&jt>0?pn.slice(0,jt):pn},[he,We,st,gt,Ie,Xt,He,Dt,jt])},ge="__RC_CASCADER_SPLIT__",be="SHOW_PARENT",fe="SHOW_CHILD";function Le(he){return he.join(ge)}function ue(he){return he.map(Le)}function ot(he){return he.split(ge)}function De(he){var We=he||{},st=We.label,gt=We.value,bt=We.children,Xt=gt||"value";return{label:st||"label",value:Xt,key:Xt,children:bt||"children"}}function Je(he,We){var st,gt;return(st=he.isLeaf)!==null&&st!==void 0?st:!((gt=he[We.children])!==null&>!==void 0&>.length)}function ye(he){var We=he.parentElement;if(We){var st=he.offsetTop-We.offsetTop;st-We.scrollTop<0?We.scrollTo({top:st}):st+he.offsetHeight-We.scrollTop>We.offsetHeight&&We.scrollTo({top:st+he.offsetHeight-We.offsetHeight})}}function ke(he,We){return he.map(function(st){var gt;return(gt=st[ne])===null||gt===void 0?void 0:gt.map(function(bt){return bt[We.value]})})}function qe(he,We,st){var gt=new Set(he),bt=We();return he.filter(function(Xt){var xt=bt[Xt],He=xt?xt.parent:null,Ke=xt?xt.children:null;return xt&&xt.node.disabled?!0:st===fe?!(Ke&&Ke.some(function(Ie){return Ie.key&>.has(Ie.key)})):!(He&&!He.node.disabled&>.has(He.key))})}function Xe(he,We,st){for(var gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,bt=We,Xt=[],xt=function(){var Ie,ut,jt,Dt=he[He],pn=(Ie=bt)===null||Ie===void 0?void 0:Ie.findIndex(function(qt){var xn=qt[st.value];return gt?String(xn)===String(Dt):xn===Dt}),fn=pn!==-1?(ut=bt)===null||ut===void 0?void 0:ut[pn]:null;Xt.push({value:(jt=fn==null?void 0:fn[st.value])!==null&&jt!==void 0?jt:Dt,index:pn,option:fn}),bt=fn==null?void 0:fn[st.children]},He=0;He<he.length;He+=1)xt();return Xt}var Ve=function(he,We,st,gt,bt){return ie.useMemo(function(){var Xt=bt||function(xt){var He=gt?xt.slice(-1):xt,Ke=" / ";return He.every(function(Ie){return["string","number"].includes((0,E.Z)(Ie))})?He.join(Ke):He.reduce(function(Ie,ut,jt){var Dt=ie.isValidElement(ut)?ie.cloneElement(ut,{key:jt}):ut;return jt===0?[Dt]:[].concat((0,ee.Z)(Ie),[Ke,Dt])},[])};return he.map(function(xt){var He,Ke,Ie=Xe(xt,We,st),ut=Xt(Ie.map(function(Dt){var pn,fn=Dt.option,qt=Dt.value;return(pn=fn==null?void 0:fn[st.label])!==null&&pn!==void 0?pn:qt}),Ie.map(function(Dt){var pn=Dt.option;return pn})),jt=Le(xt);return{label:ut,value:jt,key:jt,valueCells:xt,disabled:(He=Ie[Ie.length-1])===null||He===void 0||(Ke=He.option)===null||Ke===void 0?void 0:Ke.disabled}})},[he,We,st,bt,gt])},kt=te(71430),_e=function(he,We){var st=ie.useRef({options:null,info:null}),gt=ie.useCallback(function(){return st.current.options!==he&&(st.current.options=he,st.current.info=(0,kt.I8)(he,{fieldNames:We,initWrapper:function(Xt){return(0,z.Z)((0,z.Z)({},Xt),{},{pathKeyEntities:{}})},processEntity:function(Xt,xt){var He=Xt.nodes.map(function(Ke){return Ke[We.value]}).join(ge);xt.pathKeyEntities[He]=Xt,Xt.key=He}})),st.current.info.pathKeyEntities},[We,he]);return gt},Ot=function(he,We){return ie.useCallback(function(st){var gt=[],bt=[];return st.forEach(function(Xt){var xt=Xe(Xt,he,We);xt.every(function(He){return He.option})?bt.push(Xt):gt.push(Xt)}),[bt,gt]},[he,We])},en=te(48736);function Me(he){return ie.useMemo(function(){if(!he)return[!1,{}];var We={matchInputWidth:!0,limit:50};return he&&(0,E.Z)(he)==="object"&&(We=(0,z.Z)((0,z.Z)({},We),he)),We.limit<=0&&delete We.limit,[!0,We]},[he])}var Ze=ie.memo(function(he){var We=he.children;return We},function(he,We){return!We.open}),yt=Ze;function Ut(he){var We,st=he.prefixCls,gt=he.checked,bt=he.halfChecked,Xt=he.disabled,xt=he.onClick,He=he.disableCheckbox,Ke=ie.useContext(b),Ie=Ke.checkable,ut=typeof Ie!="boolean"?Ie:null;return ie.createElement("span",{className:re()("".concat(st),(We={},(0,x.Z)(We,"".concat(st,"-checked"),gt),(0,x.Z)(We,"".concat(st,"-indeterminate"),!gt&&bt),(0,x.Z)(We,"".concat(st,"-disabled"),Xt||He),We)),onClick:xt},ut)}var ft="__cascader_fix_label__";function Qt(he){var We=he.prefixCls,st=he.multiple,gt=he.options,bt=he.activeValue,Xt=he.prevValuePath,xt=he.onToggleOpen,He=he.onSelect,Ke=he.onActive,Ie=he.checkedSet,ut=he.halfCheckedSet,jt=he.loadingKeys,Dt=he.isSelectable,pn=he.searchValue,fn="".concat(We,"-menu"),qt="".concat(We,"-menu-item"),xn=ie.useContext(b),Qn=xn.fieldNames,on=xn.changeOnSelect,Un=xn.expandTrigger,$n=xn.expandIcon,ca=xn.loadingIcon,qn=xn.dropdownMenuColumnStyle,nt=Un==="hover",zt=ie.useMemo(function(){return gt.map(function(Pt){var _t,dn=Pt.disabled,vn=Pt.disableCheckbox,un=Pt[ne],ln=(_t=Pt[ft])!==null&&_t!==void 0?_t:Pt[Qn.label],Wn=Pt[Qn.value],Xn=Je(Pt,Qn),Gt=un?un.map(function(Fn){return Fn[Qn.value]}):[].concat((0,ee.Z)(Xt),[Wn]),aa=Le(Gt),ya=jt.includes(aa),Ca=Ie.has(aa),pa=ut.has(aa);return{disabled:dn,label:ln,value:Wn,isLeaf:Xn,isLoading:ya,checked:Ca,halfChecked:pa,option:Pt,disableCheckbox:vn,fullPath:Gt,fullPathKey:aa}})},[gt,Ie,Qn,ut,jt,Xt]);return ie.createElement("ul",{className:fn,role:"menu"},zt.map(function(Pt){var _t,dn=Pt.disabled,vn=Pt.label,un=Pt.value,ln=Pt.isLeaf,Wn=Pt.isLoading,Xn=Pt.checked,Gt=Pt.halfChecked,aa=Pt.option,ya=Pt.fullPath,Ca=Pt.fullPathKey,pa=Pt.disableCheckbox,Fn=function(){if(!(dn||pn)){var na=(0,ee.Z)(ya);nt&&ln&&na.pop(),Ke(na)}},Mn=function(){Dt(aa)&&He(ya,ln)},Vn;return typeof aa.title=="string"?Vn=aa.title:typeof vn=="string"&&(Vn=vn),ie.createElement("li",{key:Ca,className:re()(qt,(_t={},(0,x.Z)(_t,"".concat(qt,"-expand"),!ln),(0,x.Z)(_t,"".concat(qt,"-active"),bt===un||bt===Ca),(0,x.Z)(_t,"".concat(qt,"-disabled"),dn),(0,x.Z)(_t,"".concat(qt,"-loading"),Wn),_t)),style:qn,role:"menuitemcheckbox",title:Vn,"aria-checked":Xn,"data-path-key":Ca,onClick:function(){Fn(),!pa&&(!st||ln)&&Mn()},onDoubleClick:function(){on&&xt(!1)},onMouseEnter:function(){nt&&Fn()},onMouseDown:function(na){na.preventDefault()}},st&&ie.createElement(Ut,{prefixCls:"".concat(We,"-checkbox"),checked:Xn,halfChecked:Gt,disabled:dn||pa,disableCheckbox:pa,onClick:function(na){pa||(na.stopPropagation(),Mn())}}),ie.createElement("div",{className:"".concat(qt,"-content")},vn),!Wn&&$n&&!ln&&ie.createElement("div",{className:"".concat(qt,"-expand-icon")},$n),Wn&&ca&&ie.createElement("div",{className:"".concat(qt,"-loading-icon")},ca))}))}var Be=function(){var he=(0,Ye.lk)(),We=he.multiple,st=he.open,gt=ie.useContext(b),bt=gt.values,Xt=ie.useState([]),xt=(0,Ue.Z)(Xt,2),He=xt[0],Ke=xt[1];return ie.useEffect(function(){if(st&&!We){var Ie=bt[0];Ke(Ie||[])}},[st]),[He,Ke]},$t=te(10228),hn=function(he,We,st,gt,bt,Xt){var xt=(0,Ye.lk)(),He=xt.direction,Ke=xt.searchValue,Ie=xt.toggleOpen,ut=xt.open,jt=He==="rtl",Dt=ie.useMemo(function(){for(var qn=-1,nt=We,zt=[],Pt=[],_t=gt.length,dn=ke(We,st),vn=function(aa){var ya=nt.findIndex(function(Ca,pa){return(dn[pa]?Le(dn[pa]):Ca[st.value])===gt[aa]});if(ya===-1)return"break";qn=ya,zt.push(qn),Pt.push(gt[aa]),nt=nt[qn][st.children]},un=0;un<_t&&nt;un+=1){var ln=vn(un);if(ln==="break")break}for(var Wn=We,Xn=0;Xn<zt.length-1;Xn+=1)Wn=Wn[zt[Xn]][st.children];return[Pt,qn,Wn,dn]},[gt,st,We]),pn=(0,Ue.Z)(Dt,4),fn=pn[0],qt=pn[1],xn=pn[2],Qn=pn[3],on=function(nt){bt(nt)},Un=function(nt){var zt=xn.length,Pt=qt;Pt===-1&&nt<0&&(Pt=zt);for(var _t=0;_t<zt;_t+=1){Pt=(Pt+nt+zt)%zt;var dn=xn[Pt];if(dn&&!dn.disabled){var vn=fn.slice(0,-1).concat(Qn[Pt]?Le(Qn[Pt]):dn[st.value]);on(vn);return}}},$n=function(){if(fn.length>1){var nt=fn.slice(0,-1);on(nt)}else Ie(!1)},ca=function(){var nt,zt=((nt=xn[qt])===null||nt===void 0?void 0:nt[st.children])||[],Pt=zt.find(function(dn){return!dn.disabled});if(Pt){var _t=[].concat((0,ee.Z)(fn),[Pt[st.value]]);on(_t)}};ie.useImperativeHandle(he,function(){return{onKeyDown:function(nt){var zt=nt.which;switch(zt){case $t.Z.UP:case $t.Z.DOWN:{var Pt=0;zt===$t.Z.UP?Pt=-1:zt===$t.Z.DOWN&&(Pt=1),Pt!==0&&Un(Pt);break}case $t.Z.LEFT:{if(Ke)break;jt?ca():$n();break}case $t.Z.RIGHT:{if(Ke)break;jt?$n():ca();break}case $t.Z.BACKSPACE:{Ke||$n();break}case $t.Z.ENTER:{if(fn.length){var _t=xn[qt],dn=(_t==null?void 0:_t[ne])||[];dn.length?Xt(dn.map(function(vn){return vn[st.value]}),dn[dn.length-1]):Xt(fn,xn[qt])}break}case $t.Z.ESC:Ie(!1),ut&&nt.stopPropagation()}},onKeyUp:function(){}}})},St=ie.forwardRef(function(he,We){var st,gt,bt,Xt,xt=(0,Ye.lk)(),He=xt.prefixCls,Ke=xt.multiple,Ie=xt.searchValue,ut=xt.toggleOpen,jt=xt.notFoundContent,Dt=xt.direction,pn=xt.open,fn=ie.useRef(),qt=Dt==="rtl",xn=ie.useContext(b),Qn=xn.options,on=xn.values,Un=xn.halfValues,$n=xn.fieldNames,ca=xn.changeOnSelect,qn=xn.onSelect,nt=xn.searchOptions,zt=xn.dropdownPrefixCls,Pt=xn.loadData,_t=xn.expandTrigger,dn=zt||He,vn=ie.useState([]),un=(0,Ue.Z)(vn,2),ln=un[0],Wn=un[1],Xn=function(Da){if(!(!Pt||Ie)){var Xa=Xe(Da,Qn,$n),ka=Xa.map(function(_n){var Za=_n.option;return Za}),Ga=ka[ka.length-1];if(Ga&&!Je(Ga,$n)){var Na=Le(Da);Wn(function(_n){return[].concat((0,ee.Z)(_n),[Na])}),Pt(ka)}}};ie.useEffect(function(){ln.length&&ln.forEach(function(ja){var Da=ot(ja),Xa=Xe(Da,Qn,$n,!0).map(function(Ga){var Na=Ga.option;return Na}),ka=Xa[Xa.length-1];(!ka||ka[$n.children]||Je(ka,$n))&&Wn(function(Ga){return Ga.filter(function(Na){return Na!==ja})})})},[Qn,ln,$n]);var Gt=ie.useMemo(function(){return new Set(ue(on))},[on]),aa=ie.useMemo(function(){return new Set(ue(Un))},[Un]),ya=Be(),Ca=(0,Ue.Z)(ya,2),pa=Ca[0],Fn=Ca[1],Mn=function(Da){Fn(Da),Xn(Da)},Vn=function(Da){var Xa=Da.disabled,ka=Je(Da,$n);return!Xa&&(ka||ca||Ke)},Ln=function(Da,Xa){var ka=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;qn(Da),!Ke&&(Xa||ca&&(_t==="hover"||ka))&&ut(!1)},na=ie.useMemo(function(){return Ie?nt:Qn},[Ie,nt,Qn]),ha=ie.useMemo(function(){for(var ja=[{options:na}],Da=na,Xa=ke(Da,$n),ka=function(){var Za=pa[Ga],uo=Da.find(function(to,lo){return(Xa[lo]?Le(Xa[lo]):to[$n.value])===Za}),za=uo==null?void 0:uo[$n.children];if(!(za!=null&&za.length))return"break";Da=za,ja.push({options:za})},Ga=0;Ga<pa.length;Ga+=1){var Na=ka();if(Na==="break")break}return ja},[na,pa,$n]),da=function(Da,Xa){Vn(Xa)&&Ln(Da,Je(Xa,$n),!0)};hn(We,na,$n,pa,Mn,da),ie.useEffect(function(){for(var ja=0;ja<pa.length;ja+=1){var Da,Xa=pa.slice(0,ja+1),ka=Le(Xa),Ga=(Da=fn.current)===null||Da===void 0?void 0:Da.querySelector('li[data-path-key="'.concat(ka.replace(/\\{0,2}"/g,'\\"'),'"]'));Ga&&ye(Ga)}},[pa]);var Ba=!((st=ha[0])!==null&&st!==void 0&&(gt=st.options)!==null&>!==void 0&>.length),oa=[(bt={},(0,x.Z)(bt,$n.value,"__EMPTY__"),(0,x.Z)(bt,ft,jt),(0,x.Z)(bt,"disabled",!0),bt)],Ma=(0,z.Z)((0,z.Z)({},he),{},{multiple:!Ba&&Ke,onSelect:Ln,onActive:Mn,onToggleOpen:ut,checkedSet:Gt,halfCheckedSet:aa,loadingKeys:ln,isSelectable:Vn}),eo=Ba?[{options:oa}]:ha,fo=eo.map(function(ja,Da){var Xa=pa.slice(0,Da),ka=pa[Da];return ie.createElement(Qt,(0,$e.Z)({key:Da},Ma,{searchValue:Ie,prefixCls:dn,options:ja.options,prevValuePath:Xa,activeValue:ka}))});return ie.createElement(yt,{open:pn},ie.createElement("div",{className:re()("".concat(dn,"-menus"),(Xt={},(0,x.Z)(Xt,"".concat(dn,"-menu-empty"),Ba),(0,x.Z)(Xt,"".concat(dn,"-rtl"),qt),Xt)),ref:fn},fo))}),ct=St;function Qe(he){var We=he.onPopupVisibleChange,st=he.popupVisible,gt=he.popupClassName,bt=he.popupPlacement;warning(!We,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(st===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(gt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(bt===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Re(he,We){if(he){var st=function gt(bt){for(var Xt=0;Xt<bt.length;Xt++){var xt=bt[Xt];if(xt[We==null?void 0:We.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(xt[We==null?void 0:We.children])&>(xt[We==null?void 0:We.children]))return!0}};st(he)}}var Pe=null,se=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function Ne(he){return Array.isArray(he)&&Array.isArray(he[0])}function it(he){return he?Ne(he)?he:(he.length===0?[]:[he]).map(function(We){return Array.isArray(We)?We:[We]}):[]}var Se=ie.forwardRef(function(he,We){var st=he.id,gt=he.prefixCls,bt=gt===void 0?"rc-cascader":gt,Xt=he.fieldNames,xt=he.defaultValue,He=he.value,Ke=he.changeOnSelect,Ie=he.onChange,ut=he.displayRender,jt=he.checkable,Dt=he.autoClearSearchValue,pn=Dt===void 0?!0:Dt,fn=he.searchValue,qt=he.onSearch,xn=he.showSearch,Qn=he.expandTrigger,on=he.options,Un=he.dropdownPrefixCls,$n=he.loadData,ca=he.popupVisible,qn=he.open,nt=he.popupClassName,zt=he.dropdownClassName,Pt=he.dropdownMenuColumnStyle,_t=he.popupPlacement,dn=he.placement,vn=he.onDropdownVisibleChange,un=he.onPopupVisibleChange,ln=he.expandIcon,Wn=ln===void 0?">":ln,Xn=he.loadingIcon,Gt=he.children,aa=he.dropdownMatchSelectWidth,ya=aa===void 0?!1:aa,Ca=he.showCheckedStrategy,pa=Ca===void 0?be:Ca,Fn=(0,ze.Z)(he,se),Mn=(0,pt.ZP)(st),Vn=!!jt,Ln=(0,y.Z)(xt,{value:He,postState:it}),na=(0,Ue.Z)(Ln,2),ha=na[0],da=na[1],Ba=ie.useMemo(function(){return De(Xt)},[JSON.stringify(Xt)]),oa=ie.useMemo(function(){return on||[]},[on]),Ma=_e(oa,Ba),eo=ie.useCallback(function(In){var Rn=Ma();return In.map(function(jn){var xa=Rn[jn].nodes;return xa.map(function(Wa){return Wa[Ba.value]})})},[Ma,Ba]),fo=(0,y.Z)("",{value:fn,postState:function(Rn){return Rn||""}}),ja=(0,Ue.Z)(fo,2),Da=ja[0],Xa=ja[1],ka=function(Rn,jn){Xa(Rn),jn.source!=="blur"&&qt&&qt(Rn)},Ga=Me(xn),Na=(0,Ue.Z)(Ga,2),_n=Na[0],Za=Na[1],uo=de(Da,oa,Ba,Un||bt,Za,Ke),za=Ot(oa,Ba),to=ie.useMemo(function(){var In=za(ha),Rn=(0,Ue.Z)(In,2),jn=Rn[0],xa=Rn[1];if(!Vn||!ha.length)return[jn,[],xa];var Wa=ue(jn),pe=Ma(),Mt=(0,Te.S)(Wa,!0,pe),rn=Mt.checkedKeys,Cn=Mt.halfCheckedKeys;return[eo(rn),eo(Cn),xa]},[Vn,ha,Ma,eo,za]),lo=(0,Ue.Z)(to,3),ua=lo[0],Ka=lo[1],wa=lo[2],ao=ie.useMemo(function(){var In=ue(ua),Rn=qe(In,Ma,pa);return[].concat((0,ee.Z)(wa),(0,ee.Z)(eo(Rn)))},[ua,Ma,eo,wa,pa]),Po=Ve(ao,oa,Ba,Vn,ut),No=(0,oe.Z)(function(In){if(da(In),Ie){var Rn=it(In),jn=Rn.map(function(pe){return Xe(pe,oa,Ba).map(function(Mt){return Mt.option})}),xa=Vn?Rn:Rn[0],Wa=Vn?jn:jn[0];Ie(xa,Wa)}}),Qo=(0,oe.Z)(function(In){if((!Vn||pn)&&Xa(""),!Vn)No(In);else{var Rn=Le(In),jn=ue(ua),xa=ue(Ka),Wa=jn.includes(Rn),pe=wa.some(function(bn){return Le(bn)===Rn}),Mt=ua,rn=wa;if(pe&&!Wa)rn=wa.filter(function(bn){return Le(bn)!==Rn});else{var Cn=Wa?jn.filter(function(bn){return bn!==Rn}):[].concat((0,ee.Z)(jn),[Rn]),Ht=Ma(),Dn;if(Wa){var Pn=(0,Te.S)(Cn,{checked:!1,halfCheckedKeys:xa},Ht);Dn=Pn.checkedKeys}else{var mn=(0,Te.S)(Cn,!0,Ht);Dn=mn.checkedKeys}var En=qe(Dn,Ma,pa);Mt=eo(En)}No([].concat((0,ee.Z)(rn),(0,ee.Z)(Mt)))}}),zo=function(Rn,jn){if(jn.type==="clear"){No([]);return}var xa=jn.values[0],Wa=xa.valueCells;Qo(Wa)},po=qn!==void 0?qn:ca,vo=zt||nt,jo=dn||_t,Mo=function(Rn){vn==null||vn(Rn),un==null||un(Rn)},Go=ie.useMemo(function(){return{options:oa,fieldNames:Ba,values:ua,halfValues:Ka,changeOnSelect:Ke,onSelect:Qo,checkable:jt,searchOptions:uo,dropdownPrefixCls:Un,loadData:$n,expandTrigger:Qn,expandIcon:Wn,loadingIcon:Xn,dropdownMenuColumnStyle:Pt}},[oa,Ba,ua,Ka,Ke,Qo,jt,uo,Un,$n,Qn,Wn,Xn,Pt]),tr=!(Da?uo:oa).length,ia=Da&&Za.matchInputWidth||tr?{}:{minWidth:"auto"};return ie.createElement(b.Provider,{value:Go},ie.createElement(Ye.Ac,(0,$e.Z)({},Fn,{ref:We,id:Mn,prefixCls:bt,autoClearSearchValue:pn,dropdownMatchSelectWidth:ya,dropdownStyle:ia,displayValues:Po,onDisplayValuesChange:zo,mode:Vn?"multiple":void 0,searchValue:Da,onSearch:ka,showSearch:_n,OptionList:ct,emptyOptions:tr,open:po,dropdownClassName:vo,placement:jo,onDropdownVisibleChange:Mo,getRawInputElement:function(){return Gt}})))});Se.SHOW_PARENT=be,Se.SHOW_CHILD=fe;var ve=Se,tt=ve,Oe=te(2738),Ee=te(62892),et=te(53487),Kt=te(19080),ht=te(36355),It=te(93891),Tt=te(1684),Zt=te(19716),xe=te(32441),dt=te(14154),vt=te(58582),mt=te(84443),Nt=te(66339),Vt=te(33234),nn=te(98447),an=te(17313),Sn=te(74207),On=te(83116);const Lt=he=>{const{prefixCls:We,componentCls:st,antCls:gt}=he,bt=`${st}-menu-item`,Xt=`
|
|
&${bt}-expand ${bt}-expand-icon,
|
|
${bt}-loading-icon
|
|
`;return[{[st]:{width:he.controlWidth}},{[`${st}-dropdown`]:[(0,nn.C2)(`${We}-checkbox`,he),{[`&${gt}-select-dropdown`]:{padding:0}},{[st]:{"&-checkbox":{top:0,marginInlineEnd:he.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${st}-menu-empty`]:{[`${st}-menu`]:{width:"100%",height:"auto",[bt]:{color:he.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:he.controlItemWidth,height:he.dropdownHeight,margin:0,padding:he.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${he.lineWidth}px ${he.lineType} ${he.colorSplit}`},"&-item":Object.assign(Object.assign({},an.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:he.optionPadding,lineHeight:he.lineHeight,cursor:"pointer",transition:`all ${he.motionDurationMid}`,borderRadius:he.borderRadiusSM,"&:hover":{background:he.controlItemBgHover},"&-disabled":{color:he.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Xt]:{color:he.colorTextDisabled}},[`&-active:not(${bt}-disabled)`]:{"&, &:hover":{fontWeight:he.optionSelectedFontWeight,backgroundColor:he.optionSelectedBg}},"&-content":{flex:"auto"},[Xt]:{marginInlineStart:he.paddingXXS,color:he.colorTextDescription,fontSize:he.fontSizeIcon},"&-keyword":{color:he.colorHighlight}})}}}]},{[`${st}-dropdown-rtl`]:{direction:"rtl"}},(0,Sn.c)(he)]};var Ct=(0,On.Z)("Cascader",he=>[Lt(he)],he=>{const We=Math.round((he.controlHeight-he.fontSize*he.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:he.controlItemBgActive,optionSelectedFontWeight:he.fontWeightStrong,optionPadding:`${We}px ${he.paddingSM}px`,menuPadding:he.paddingXXS}}),Wt=function(he,We){var st={};for(var gt in he)Object.prototype.hasOwnProperty.call(he,gt)&&We.indexOf(gt)<0&&(st[gt]=he[gt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,gt=Object.getOwnPropertySymbols(he);bt<gt.length;bt++)We.indexOf(gt[bt])<0&&Object.prototype.propertyIsEnumerable.call(he,gt[bt])&&(st[gt[bt]]=he[gt[bt]]);return st};const{SHOW_CHILD:cn,SHOW_PARENT:sn}=tt;function Nn(he,We,st){const gt=he.toLowerCase().split(We).reduce((xt,He,Ke)=>Ke===0?[He]:[].concat((0,ee.Z)(xt),[We,He]),[]),bt=[];let Xt=0;return gt.forEach((xt,He)=>{const Ke=Xt+xt.length;let Ie=he.slice(Xt,Ke);Xt=Ke,He%2===1&&(Ie=ie.createElement("span",{className:`${st}-menu-item-keyword`,key:`separator-${He}`},Ie)),bt.push(Ie)}),bt}const at=(he,We,st,gt)=>{const bt=[],Xt=he.toLowerCase();return We.forEach((xt,He)=>{He!==0&&bt.push(" / ");let Ke=xt[gt.label];const Ie=typeof Ke;(Ie==="string"||Ie==="number")&&(Ke=Nn(String(Ke),Xt,st)),bt.push(Ke)}),bt},Bt=ie.forwardRef((he,We)=>{const{prefixCls:st,size:gt,disabled:bt,className:Xt,rootClassName:xt,multiple:He,bordered:Ke=!0,transitionName:Ie,choiceTransitionName:ut="",popupClassName:jt,dropdownClassName:Dt,expandIcon:pn,placement:fn,showSearch:qt,allowClear:xn=!0,notFoundContent:Qn,direction:on,getPopupContainer:Un,status:$n,showArrow:ca,builtinPlacements:qn,style:nt}=he,zt=Wt(he,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Pt=(0,Oe.Z)(zt,["suffixIcon"]),{getPopupContainer:_t,getPrefixCls:dn,renderEmpty:vn,direction:un,popupOverflow:ln,cascader:Wn}=ie.useContext(ht.E_),Xn=on||un,Gt=Xn==="rtl",{status:aa,hasFeedback:ya,isFormItemInput:Ca,feedbackIcon:pa}=ie.useContext(xe.aM),Fn=(0,Kt.F)(aa,$n),Mn=Qn||(vn==null?void 0:vn("Cascader"))||ie.createElement(It.Z,{componentName:"Cascader"}),Vn=dn(),Ln=dn("select",st),na=dn("cascader",st),[ha,da]=(0,dt.Z)(Ln),[Ba]=Ct(na),{compactSize:oa,compactItemClassnames:Ma}=(0,Vt.ri)(Ln,on),eo=re()(jt||Dt,`${na}-dropdown`,{[`${na}-dropdown-rtl`]:Xn==="rtl"},xt,da),fo=ie.useMemo(()=>{if(!qt)return qt;let wa={render:at};return typeof qt=="object"&&(wa=Object.assign(Object.assign({},wa),qt)),wa},[qt]),ja=(0,Zt.Z)(wa=>{var ao;return(ao=gt!=null?gt:oa)!==null&&ao!==void 0?ao:wa}),Da=ie.useContext(Tt.Z),Xa=bt!=null?bt:Da;let ka=pn;pn||(ka=Gt?ie.createElement(we.Z,null):ie.createElement(Ce.Z,null));const Ga=ie.createElement("span",{className:`${Ln}-menu-item-loading-icon`},ie.createElement(Ge.Z,{spin:!0})),Na=ie.useMemo(()=>He?ie.createElement("span",{className:`${na}-checkbox-inner`}):!1,[He]),_n=(0,mt.Z)(he.suffixIcon,ca),{suffixIcon:Za,removeIcon:uo,clearIcon:za}=(0,Nt.Z)(Object.assign(Object.assign({},he),{hasFeedback:ya,feedbackIcon:pa,showSuffixIcon:_n,multiple:He,prefixCls:Ln,componentName:"Cascader"})),to=ie.useMemo(()=>fn!==void 0?fn:Gt?"bottomRight":"bottomLeft",[fn,Gt]),lo=(0,vt.Z)(qn,ln),ua=xn===!0?{clearIcon:za}:xn,Ka=ie.createElement(tt,Object.assign({prefixCls:Ln,className:re()(!st&&na,{[`${Ln}-lg`]:ja==="large",[`${Ln}-sm`]:ja==="small",[`${Ln}-rtl`]:Gt,[`${Ln}-borderless`]:!Ke,[`${Ln}-in-form-item`]:Ca},(0,Kt.Z)(Ln,Fn,ya),Ma,Wn==null?void 0:Wn.className,Xt,xt,da),disabled:Xa,style:Object.assign(Object.assign({},Wn==null?void 0:Wn.style),nt)},Pt,{builtinPlacements:lo,direction:Xn,placement:to,notFoundContent:Mn,allowClear:ua,showSearch:fo,expandIcon:ka,suffixIcon:Za,removeIcon:uo,loadingIcon:Ga,checkable:Na,dropdownClassName:eo,dropdownPrefixCls:st||na,choiceTransitionName:(0,Ee.m)(Vn,"",ut),transitionName:(0,Ee.m)(Vn,"slide-up",Ie),getPopupContainer:Un||_t,ref:We}));return Ba(ha(Ka))}),Jt=(0,et.Z)(Bt);Bt.SHOW_PARENT=sn,Bt.SHOW_CHILD=cn,Bt._InternalPanelDoNotUseOrYouWillBeFired=Jt;var yn=Bt},24905:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return de}});var ee=te(92310),ie=te.n(ee),we=te(5630),Ge=te(59301),Ce=te(36355),Fe=te(1684),re=te(32441),Ue=Ge.createContext(null),ze=te(98447),Ye=te(14088),pt=te(4572),Te=function(ge,be){var fe={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&be.indexOf(Le)<0&&(fe[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Le=Object.getOwnPropertySymbols(ge);ue<Le.length;ue++)be.indexOf(Le[ue])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[ue])&&(fe[Le[ue]]=ge[Le[ue]]);return fe};const oe=(ge,be)=>{var fe;const{prefixCls:Le,className:ue,rootClassName:ot,children:De,indeterminate:Je=!1,style:ye,onMouseEnter:ke,onMouseLeave:qe,skipGroup:Xe=!1,disabled:Ve}=ge,kt=Te(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:_e,direction:Ot,checkbox:en}=Ge.useContext(Ce.E_),Me=Ge.useContext(Ue),{isFormItemInput:Ze}=Ge.useContext(re.aM),yt=Ge.useContext(Fe.Z),Ut=(fe=(Me==null?void 0:Me.disabled)||Ve)!==null&&fe!==void 0?fe:yt,ft=Ge.useRef(kt.value);Ge.useEffect(()=>{Me==null||Me.registerValue(kt.value)},[]),Ge.useEffect(()=>{if(!Xe)return kt.value!==ft.current&&(Me==null||Me.cancelValue(ft.current),Me==null||Me.registerValue(kt.value),ft.current=kt.value),()=>Me==null?void 0:Me.cancelValue(kt.value)},[kt.value]);const Qt=_e("checkbox",Le),[Be,$t]=(0,ze.ZP)(Qt),hn=Object.assign({},kt);Me&&!Xe&&(hn.onChange=function(){kt.onChange&&kt.onChange.apply(kt,arguments),Me.toggleOption&&Me.toggleOption({label:De,value:kt.value})},hn.name=Me.name,hn.checked=Me.value.includes(kt.value));const St=ie()(`${Qt}-wrapper`,{[`${Qt}-rtl`]:Ot==="rtl",[`${Qt}-wrapper-checked`]:hn.checked,[`${Qt}-wrapper-disabled`]:Ut,[`${Qt}-wrapper-in-form-item`]:Ze},en==null?void 0:en.className,ue,ot,$t),ct=ie()({[`${Qt}-indeterminate`]:Je},pt.A,$t),Qe=Je?"mixed":void 0;return Be(Ge.createElement(Ye.Z,{component:"Checkbox",disabled:Ut},Ge.createElement("label",{className:St,style:Object.assign(Object.assign({},en==null?void 0:en.style),ye),onMouseEnter:ke,onMouseLeave:qe},Ge.createElement(we.Z,Object.assign({"aria-checked":Qe},hn,{prefixCls:Qt,className:ct,disabled:Ut,ref:be})),De!==void 0&&Ge.createElement("span",null,De))))};var a=Ge.forwardRef(oe),b=te(26407),E=te(2738),x=function(ge,be){var fe={};for(var Le in ge)Object.prototype.hasOwnProperty.call(ge,Le)&&be.indexOf(Le)<0&&(fe[Le]=ge[Le]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,Le=Object.getOwnPropertySymbols(ge);ue<Le.length;ue++)be.indexOf(Le[ue])<0&&Object.prototype.propertyIsEnumerable.call(ge,Le[ue])&&(fe[Le[ue]]=ge[Le[ue]]);return fe};const z=(ge,be)=>{const{defaultValue:fe,children:Le,options:ue=[],prefixCls:ot,className:De,rootClassName:Je,style:ye,onChange:ke}=ge,qe=x(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Xe,direction:Ve}=Ge.useContext(Ce.E_),[kt,_e]=Ge.useState(qe.value||fe||[]),[Ot,en]=Ge.useState([]);Ge.useEffect(()=>{"value"in qe&&_e(qe.value||[])},[qe.value]);const Me=Ge.useMemo(()=>ue.map(Re=>typeof Re=="string"||typeof Re=="number"?{label:Re,value:Re}:Re),[ue]),Ze=Re=>{en(Pe=>Pe.filter(se=>se!==Re))},yt=Re=>{en(Pe=>[].concat((0,b.Z)(Pe),[Re]))},Ut=Re=>{const Pe=kt.indexOf(Re.value),se=(0,b.Z)(kt);Pe===-1?se.push(Re.value):se.splice(Pe,1),"value"in qe||_e(se),ke==null||ke(se.filter(Ne=>Ot.includes(Ne)).sort((Ne,it)=>{const Se=Me.findIndex(tt=>tt.value===Ne),ve=Me.findIndex(tt=>tt.value===it);return Se-ve}))},ft=Xe("checkbox",ot),Qt=`${ft}-group`,[Be,$t]=(0,ze.ZP)(ft),hn=(0,E.Z)(qe,["value","disabled"]),St=ue.length?Me.map(Re=>Ge.createElement(a,{prefixCls:ft,key:Re.value.toString(),disabled:"disabled"in Re?Re.disabled:qe.disabled,value:Re.value,checked:kt.includes(Re.value),onChange:Re.onChange,className:`${Qt}-item`,style:Re.style,title:Re.title},Re.label)):Le,ct={toggleOption:Ut,value:kt,disabled:qe.disabled,name:qe.name,registerValue:yt,cancelValue:Ze},Qe=ie()(Qt,{[`${Qt}-rtl`]:Ve==="rtl"},De,Je,$t);return Be(Ge.createElement("div",Object.assign({className:Qe,style:ye},hn,{ref:be}),Ge.createElement(Ue.Provider,{value:ct},St)))},ne=Ge.forwardRef(z);var ae=Ge.memo(ne);const le=a;le.Group=ae,le.__ANT_CHECKBOX=!0;var de=le},98447:function(Ft,Rt,te){"use strict";te.d(Rt,{C2:function(){return Ce}});var ee=te(17313),ie=te(37613),we=te(83116);const Ge=Fe=>{const{checkboxCls:re}=Fe,$e=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,ee.Wf)(Fe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Fe.marginXS,[`> ${Fe.antCls}-row`]:{flex:1}}),[$e]:Object.assign(Object.assign({},(0,ee.Wf)(Fe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${$e}`]:{marginInlineStart:0},[`&${$e}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,ee.Wf)(Fe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Fe.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,ee.oN)(Fe))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Fe.checkboxSize,height:Fe.checkboxSize,direction:"ltr",backgroundColor:Fe.colorBgContainer,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,borderRadius:Fe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Fe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Fe.checkboxSize/14*5,height:Fe.checkboxSize/14*8,border:`${Fe.lineWidthBold}px solid ${Fe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Fe.motionDurationFast} ${Fe.motionEaseInBack}, opacity ${Fe.motionDurationFast}`}},"& + span":{paddingInlineStart:Fe.paddingXS,paddingInlineEnd:Fe.paddingXS}})},{[`
|
|
${$e}:not(${$e}-disabled),
|
|
${re}:not(${re}-disabled)
|
|
`]:{[`&:hover ${re}-inner`]:{borderColor:Fe.colorPrimary}},[`${$e}:not(${$e}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:Fe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:Fe.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:Fe.colorPrimary,borderColor:Fe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Fe.motionDurationMid} ${Fe.motionEaseOutBack} ${Fe.motionDurationFast}`}}},[`
|
|
${$e}-checked:not(${$e}-disabled),
|
|
${re}-checked:not(${re}-disabled)
|
|
`]:{[`&:hover ${re}-inner`]:{backgroundColor:Fe.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:Fe.colorBgContainer,borderColor:Fe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Fe.fontSizeLG/2,height:Fe.fontSizeLG/2,backgroundColor:Fe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${$e}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,"&:after":{borderColor:Fe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Fe.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:Fe.colorTextDisabled}}}]};function Ce(Fe,re){const $e=(0,ie.TS)(re,{checkboxCls:`.${Fe}`,checkboxSize:re.controlInteractiveSize});return[Ge($e)]}Rt.ZP=(0,we.Z)("Checkbox",(Fe,re)=>{let{prefixCls:$e}=re;return[Ce($e,Fe)]})},36381:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return hn}});var ee=te(38819),ie=te(92310),we=te.n(ie),Ge=te(92413),Ce=te(26407),Fe=te(33606),re=te(39559),$e=te(18929),Ue=te(48736),ze=te(59301),Ye=te(37061),pt=te(11592),Te=te(400),oe=te(77900),y=te(10228),a=ze.forwardRef(function(St,ct){var Qe=St.prefixCls,Re=St.forceRender,Pe=St.className,se=St.style,Ne=St.children,it=St.isActive,Se=St.role,ve=ze.useState(it||Re),tt=(0,Fe.Z)(ve,2),Oe=tt[0],Ee=tt[1];return ze.useEffect(function(){(Re||it)&&Ee(!0)},[Re,it]),Oe?ze.createElement("div",{ref:ct,className:we()("".concat(Qe,"-content"),(0,Te.Z)((0,Te.Z)({},"".concat(Qe,"-content-active"),it),"".concat(Qe,"-content-inactive"),!it),Pe),style:se,role:Se},ze.createElement("div",{className:"".concat(Qe,"-content-box")},Ne)):null});a.displayName="PanelContent";var b=a,E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],x=ze.forwardRef(function(St,ct){var Qe=St.showArrow,Re=Qe===void 0?!0:Qe,Pe=St.headerClass,se=St.isActive,Ne=St.onItemClick,it=St.forceRender,Se=St.className,ve=St.prefixCls,tt=St.collapsible,Oe=St.accordion,Ee=St.panelKey,et=St.extra,Kt=St.header,ht=St.expandIcon,It=St.openMotion,Tt=St.destroyInactivePanel,Zt=St.children,xe=(0,Ye.Z)(St,E),dt=tt==="disabled",vt=tt==="header",mt=tt==="icon",Nt=et!=null&&typeof et!="boolean",Vt=function(){Ne==null||Ne(Ee)},nn=function(Wt){(Wt.key==="Enter"||Wt.keyCode===y.Z.ENTER||Wt.which===y.Z.ENTER)&&Vt()},an=typeof ht=="function"?ht(St):ze.createElement("i",{className:"arrow"});an&&(an=ze.createElement("div",{className:"".concat(ve,"-expand-icon"),onClick:["header","icon"].includes(tt)?Vt:void 0},an));var Sn=we()((0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(ve,"-item"),!0),"".concat(ve,"-item-active"),se),"".concat(ve,"-item-disabled"),dt),Se),On=we()(Pe,(0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(ve,"-header"),!0),"".concat(ve,"-header-collapsible-only"),vt),"".concat(ve,"-icon-collapsible-only"),mt)),Lt={className:On,"aria-expanded":se,"aria-disabled":dt,onKeyDown:nn};return!vt&&!mt&&(Lt.onClick=Vt,Lt.role=Oe?"tab":"button",Lt.tabIndex=dt?-1:0),ze.createElement("div",(0,Ge.Z)({},xe,{ref:ct,className:Sn}),ze.createElement("div",Lt,Re&&an,ze.createElement("span",{className:"".concat(ve,"-header-text"),onClick:tt==="header"?Vt:void 0},Kt),Nt&&ze.createElement("div",{className:"".concat(ve,"-extra")},et)),ze.createElement(oe.default,(0,Ge.Z)({visible:se,leavedClassName:"".concat(ve,"-content-hidden")},It,{forceRender:it,removeOnLeave:Tt}),function(Ct,Wt){var cn=Ct.className,sn=Ct.style;return ze.createElement(b,{ref:Wt,prefixCls:ve,className:cn,style:sn,isActive:se,forceRender:it,role:Oe?"tabpanel":void 0},Zt)}))}),z=x,ne=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ae=function(ct,Qe){var Re=Qe.prefixCls,Pe=Qe.accordion,se=Qe.collapsible,Ne=Qe.destroyInactivePanel,it=Qe.onItemClick,Se=Qe.activeKey,ve=Qe.openMotion,tt=Qe.expandIcon;return ct.map(function(Oe,Ee){var et=Oe.children,Kt=Oe.label,ht=Oe.key,It=Oe.collapsible,Tt=Oe.onItemClick,Zt=Oe.destroyInactivePanel,xe=(0,Ye.Z)(Oe,ne),dt=String(ht!=null?ht:Ee),vt=It!=null?It:se,mt=Zt!=null?Zt:Ne,Nt=function(an){vt!=="disabled"&&(it(an),Tt==null||Tt(an))},Vt=!1;return Pe?Vt=Se[0]===dt:Vt=Se.indexOf(dt)>-1,ze.createElement(z,(0,Ge.Z)({},xe,{prefixCls:Re,key:dt,panelKey:dt,isActive:Vt,accordion:Pe,openMotion:ve,expandIcon:tt,header:Kt,collapsible:vt,onItemClick:Nt,destroyInactivePanel:mt}),et)})},le=function(ct,Qe,Re){if(!ct)return null;var Pe=Re.prefixCls,se=Re.accordion,Ne=Re.collapsible,it=Re.destroyInactivePanel,Se=Re.onItemClick,ve=Re.activeKey,tt=Re.openMotion,Oe=Re.expandIcon,Ee=ct.key||String(Qe),et=ct.props,Kt=et.header,ht=et.headerClass,It=et.destroyInactivePanel,Tt=et.collapsible,Zt=et.onItemClick,xe=!1;se?xe=ve[0]===Ee:xe=ve.indexOf(Ee)>-1;var dt=Tt!=null?Tt:Ne,vt=function(Vt){dt!=="disabled"&&(Se(Vt),Zt==null||Zt(Vt))},mt={key:Ee,panelKey:Ee,header:Kt,headerClass:ht,isActive:xe,prefixCls:Pe,destroyInactivePanel:It!=null?It:it,openMotion:tt,accordion:se,children:ct.props.children,onItemClick:vt,expandIcon:Oe,collapsible:dt};return typeof ct.type=="string"?ct:(Object.keys(mt).forEach(function(Nt){typeof mt[Nt]=="undefined"&&delete mt[Nt]}),ze.cloneElement(ct,mt))};function de(St,ct,Qe){return Array.isArray(St)?ae(St,Qe):(0,pt.Z)(ct).map(function(Re,Pe){return le(Re,Pe,Qe)})}var ge=de,be=te(26112);function fe(St){var ct=St;if(!Array.isArray(ct)){var Qe=(0,re.Z)(ct);ct=Qe==="number"||Qe==="string"?[ct]:[]}return ct.map(function(Re){return String(Re)})}var Le=ze.forwardRef(function(St,ct){var Qe=St.prefixCls,Re=Qe===void 0?"rc-collapse":Qe,Pe=St.destroyInactivePanel,se=Pe===void 0?!1:Pe,Ne=St.style,it=St.accordion,Se=St.className,ve=St.children,tt=St.collapsible,Oe=St.openMotion,Ee=St.expandIcon,et=St.activeKey,Kt=St.defaultActiveKey,ht=St.onChange,It=St.items,Tt=we()(Re,Se),Zt=(0,$e.Z)([],{value:et,onChange:function(nn){return ht==null?void 0:ht(nn)},defaultValue:Kt,postState:fe}),xe=(0,Fe.Z)(Zt,2),dt=xe[0],vt=xe[1],mt=function(nn){return vt(function(){if(it)return dt[0]===nn?[]:[nn];var an=dt.indexOf(nn),Sn=an>-1;return Sn?dt.filter(function(On){return On!==nn}):[].concat((0,Ce.Z)(dt),[nn])})};(0,Ue.ZP)(!ve,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Nt=ge(It,ve,{prefixCls:Re,accordion:it,openMotion:Oe,expandIcon:Ee,collapsible:tt,destroyInactivePanel:se,onItemClick:mt,activeKey:dt});return ze.createElement("div",(0,Ge.Z)({ref:ct,className:Tt,style:Ne,role:it?"tablist":void 0},(0,be.Z)(St,{aria:!0,data:!0})),Nt)}),ue=Object.assign(Le,{Panel:z}),ot=ue,De=ue.Panel,Je=te(2738),ye=te(62892),ke=te(92343),qe=te(36355),Xe=te(19716),kt=ze.forwardRef((St,ct)=>{const{getPrefixCls:Qe}=ze.useContext(qe.E_),{prefixCls:Re,className:Pe,showArrow:se=!0}=St,Ne=Qe("collapse",Re),it=we()({[`${Ne}-no-arrow`]:!se},Pe);return ze.createElement(ot.Panel,Object.assign({ref:ct},St,{prefixCls:Ne,className:it}))}),_e=te(17313),Ot=te(8378),en=te(83116),Me=te(37613);const Ze=St=>{const{componentCls:ct,contentBg:Qe,padding:Re,headerBg:Pe,headerPadding:se,collapseHeaderPaddingSM:Ne,collapseHeaderPaddingLG:it,collapsePanelBorderRadius:Se,lineWidth:ve,lineType:tt,colorBorder:Oe,colorText:Ee,colorTextHeading:et,colorTextDisabled:Kt,fontSize:ht,fontSizeLG:It,lineHeight:Tt,marginSM:Zt,paddingSM:xe,paddingLG:dt,paddingXS:vt,motionDurationSlow:mt,fontSizeIcon:Nt,contentPadding:Vt}=St,nn=`${ve}px ${tt} ${Oe}`;return{[ct]:Object.assign(Object.assign({},(0,_e.Wf)(St)),{backgroundColor:Pe,border:nn,borderBottom:0,borderRadius:`${Se}px`,"&-rtl":{direction:"rtl"},[`& > ${ct}-item`]:{borderBottom:nn,"&:last-child":{[`
|
|
&,
|
|
& > ${ct}-header`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`> ${ct}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:se,color:et,lineHeight:Tt,cursor:"pointer",transition:`all ${mt}, visibility 0s`,[`> ${ct}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ct}-expand-icon`]:{height:ht*Tt,display:"flex",alignItems:"center",paddingInlineEnd:Zt},[`${ct}-arrow`]:Object.assign(Object.assign({},(0,_e.Ro)()),{fontSize:Nt,svg:{transition:`transform ${mt}`}}),[`${ct}-header-text`]:{marginInlineEnd:"auto"}},[`${ct}-header-collapsible-only`]:{cursor:"default",[`${ct}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ct}-icon-collapsible-only`]:{cursor:"default",[`${ct}-expand-icon`]:{cursor:"pointer"}}},[`${ct}-content`]:{color:Ee,backgroundColor:Qe,borderTop:nn,[`& > ${ct}-content-box`]:{padding:Vt},"&-hidden":{display:"none"}},"&-small":{[`> ${ct}-item`]:{[`> ${ct}-header`]:{padding:Ne,paddingInlineStart:vt,[`> ${ct}-expand-icon`]:{marginInlineStart:xe-vt}},[`> ${ct}-content > ${ct}-content-box`]:{padding:xe}}},"&-large":{[`> ${ct}-item`]:{fontSize:It,[`> ${ct}-header`]:{padding:it,paddingInlineStart:Re,[`> ${ct}-expand-icon`]:{height:It*Tt,marginInlineStart:dt-Re}},[`> ${ct}-content > ${ct}-content-box`]:{padding:dt}}},[`${ct}-item:last-child`]:{[`> ${ct}-content`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`& ${ct}-item-disabled > ${ct}-header`]:{"\n &,\n & > .arrow\n ":{color:Kt,cursor:"not-allowed"}},[`&${ct}-icon-position-end`]:{[`& > ${ct}-item`]:{[`> ${ct}-header`]:{[`${ct}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Zt}}}}})}},yt=St=>{const{componentCls:ct}=St,Qe=`> ${ct}-item > ${ct}-header ${ct}-arrow svg`;return{[`${ct}-rtl`]:{[Qe]:{transform:"rotate(180deg)"}}}},Ut=St=>{const{componentCls:ct,headerBg:Qe,paddingXXS:Re,colorBorder:Pe}=St;return{[`${ct}-borderless`]:{backgroundColor:Qe,border:0,[`> ${ct}-item`]:{borderBottom:`1px solid ${Pe}`},[`
|
|
> ${ct}-item:last-child,
|
|
> ${ct}-item:last-child ${ct}-header
|
|
`]:{borderRadius:0},[`> ${ct}-item:last-child`]:{borderBottom:0},[`> ${ct}-item > ${ct}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ct}-item > ${ct}-content > ${ct}-content-box`]:{paddingTop:Re}}}},ft=St=>{const{componentCls:ct,paddingSM:Qe}=St;return{[`${ct}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ct}-item`]:{borderBottom:0,[`> ${ct}-content`]:{backgroundColor:"transparent",border:0,[`> ${ct}-content-box`]:{paddingBlock:Qe}}}}}};var Qt=(0,en.Z)("Collapse",St=>{const ct=(0,Me.TS)(St,{collapseHeaderPaddingSM:`${St.paddingXS}px ${St.paddingSM}px`,collapseHeaderPaddingLG:`${St.padding}px ${St.paddingLG}px`,collapsePanelBorderRadius:St.borderRadiusLG});return[Ze(ct),Ut(ct),ft(ct),yt(ct),(0,Ot.Z)(ct)]},St=>({headerPadding:`${St.paddingSM}px ${St.padding}px`,headerBg:St.colorFillAlter,contentPadding:`${St.padding}px 16px`,contentBg:St.colorBgContainer})),$t=Object.assign(ze.forwardRef((St,ct)=>{const{getPrefixCls:Qe,direction:Re,collapse:Pe}=ze.useContext(qe.E_),{prefixCls:se,className:Ne,rootClassName:it,style:Se,bordered:ve=!0,ghost:tt,size:Oe,expandIconPosition:Ee="start",children:et,expandIcon:Kt}=St,ht=(0,Xe.Z)(nn=>{var an;return(an=Oe!=null?Oe:nn)!==null&&an!==void 0?an:"middle"}),It=Qe("collapse",se),Tt=Qe(),[Zt,xe]=Qt(It),dt=ze.useMemo(()=>Ee==="left"?"start":Ee==="right"?"end":Ee,[Ee]),vt=function(){let nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const an=Kt?Kt(nn):ze.createElement(ee.Z,{rotate:nn.isActive?90:void 0});return(0,ke.Tm)(an,()=>({className:we()(an.props.className,`${It}-arrow`)}))},mt=we()(`${It}-icon-position-${dt}`,{[`${It}-borderless`]:!ve,[`${It}-rtl`]:Re==="rtl",[`${It}-ghost`]:!!tt,[`${It}-${ht}`]:ht!=="middle"},Pe==null?void 0:Pe.className,Ne,it,xe),Nt=Object.assign(Object.assign({},(0,ye.Z)(Tt)),{motionAppear:!1,leavedClassName:`${It}-content-hidden`}),Vt=ze.useMemo(()=>et?(0,pt.Z)(et).map((nn,an)=>{var Sn,On;if(!((Sn=nn.props)===null||Sn===void 0)&&Sn.disabled){const Lt=(On=nn.key)!==null&&On!==void 0?On:String(an),{disabled:Ct,collapsible:Wt}=nn.props,cn=Object.assign(Object.assign({},(0,Je.Z)(nn.props,["disabled"])),{key:Lt,collapsible:Wt!=null?Wt:Ct?"disabled":void 0});return(0,ke.Tm)(nn,cn)}return nn}):null,[et]);return Zt(ze.createElement(ot,Object.assign({ref:ct,openMotion:Nt},(0,Je.Z)(St,["rootClassName"]),{expandIcon:vt,prefixCls:It,className:mt,style:Object.assign(Object.assign({},Pe==null?void 0:Pe.style),Se)}),Vt))}),{Panel:kt}),hn=$t},91857:function(Ft,Rt,te){"use strict";var ee=te(59301),ie=te(38819),we=te(92310),Ge=te.n(we),Ce=te(31561),Fe=te(70425),re=te(18929),$e=te(2738),Ue=te(79676),ze=te(53487),Ye=te(92343),pt=te(36355),Te=te(20834),oe=te(40875),y=te(88088),a=te(47211);const b=null,E=ae=>{const{menu:le,arrow:de,prefixCls:ge,children:be,trigger:fe,disabled:Le,dropdownRender:ue,getPopupContainer:ot,overlayClassName:De,rootClassName:Je,open:ye,onOpenChange:ke,visible:qe,onVisibleChange:Xe,mouseEnterDelay:Ve=.15,mouseLeaveDelay:kt=.1,autoAdjustOverflow:_e=!0,placement:Ot="",overlay:en,transitionName:Me}=ae,{getPopupContainer:Ze,getPrefixCls:yt,direction:Ut}=ee.useContext(pt.E_),ft=ee.useMemo(()=>{const Ee=yt();return Me!==void 0?Me:Ot.includes("top")?`${Ee}-slide-down`:`${Ee}-slide-up`},[yt,Ot,Me]),Qt=ee.useMemo(()=>Ot?Ot.includes("Center")?Ot.slice(0,Ot.indexOf("Center")):Ot:Ut==="rtl"?"bottomRight":"bottomLeft",[Ot,Ut]),Be=yt("dropdown",ge),[$t,hn]=(0,a.Z)(Be),[,St]=(0,y.Z)(),ct=ee.Children.only(be),Qe=(0,Ye.Tm)(ct,{className:Ge()(`${Be}-trigger`,{[`${Be}-rtl`]:Ut==="rtl"},ct.props.className),disabled:Le}),Re=Le?[]:fe;let Pe;Re&&Re.includes("contextMenu")&&(Pe=!0);const[se,Ne]=(0,re.Z)(!1,{value:ye!=null?ye:qe}),it=(0,Fe.useEvent)(Ee=>{ke==null||ke(Ee),Xe==null||Xe(Ee),Ne(Ee)}),Se=Ge()(De,Je,hn,{[`${Be}-rtl`]:Ut==="rtl"}),ve=(0,Ue.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:_e,offset:St.marginXXS,arrowWidth:de?St.sizePopupArrow:0,borderRadius:St.borderRadius}),tt=ee.useCallback(()=>{Ne(!1)},[]),Oe=()=>{let Ee;return le!=null&&le.items?Ee=ee.createElement(Te.default,Object.assign({},le)):typeof en=="function"?Ee=en():Ee=en,ue&&(Ee=ue(Ee)),Ee=ee.Children.only(typeof Ee=="string"?ee.createElement("span",null,Ee):Ee),ee.createElement(oe.J,{prefixCls:`${Be}-menu`,expandIcon:ee.createElement("span",{className:`${Be}-menu-submenu-arrow`},ee.createElement(ie.Z,{className:`${Be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:tt,validator:et=>{let{mode:Kt}=et}},Ee)};return $t(ee.createElement(Ce.Z,Object.assign({alignPoint:Pe},(0,$e.Z)(ae,["rootClassName"]),{mouseEnterDelay:Ve,mouseLeaveDelay:kt,visible:se,builtinPlacements:ve,arrow:!!de,overlayClassName:Se,prefixCls:Be,getPopupContainer:ot||Ze,transitionName:ft,trigger:Re,overlay:Oe,placement:Qt,onVisibleChange:it}),Qe))};function x(ae){return Object.assign(Object.assign({},ae),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,ze.Z)(E,"dropdown",ae=>ae,x),ne=ae=>ee.createElement(z,Object.assign({},ae),ee.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ne,Rt.Z=E},38854:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return y}});var ee=te(91857),ie=te(92310),we=te.n(ie),Ge=te(59301),Ce=te(18785),Fe=te(3113),re=te(36355),$e=te(81327),Ue=te(33234),ze=te(47211),Ye=function(a,b){var E={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(E[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(a);z<x.length;z++)b.indexOf(x[z])<0&&Object.prototype.propertyIsEnumerable.call(a,x[z])&&(E[x[z]]=a[x[z]]);return E};const pt=a=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ge.useContext(re.E_),{prefixCls:z,type:ne="default",danger:ae,disabled:le,loading:de,onClick:ge,htmlType:be,children:fe,className:Le,menu:ue,arrow:ot,autoFocus:De,overlay:Je,trigger:ye,align:ke,open:qe,onOpenChange:Xe,placement:Ve,getPopupContainer:kt,href:_e,icon:Ot=Ge.createElement(Ce.Z,null),title:en,buttonsRender:Me=Oe=>Oe,mouseEnterDelay:Ze,mouseLeaveDelay:yt,overlayClassName:Ut,overlayStyle:ft,destroyPopupOnHide:Qt,dropdownRender:Be}=a,$t=Ye(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),hn=E("dropdown",z),St=`${hn}-button`,[ct,Qe]=(0,ze.Z)(hn),Re={menu:ue,arrow:ot,autoFocus:De,align:ke,disabled:le,trigger:le?[]:ye,onOpenChange:Xe,getPopupContainer:kt||b,mouseEnterDelay:Ze,mouseLeaveDelay:yt,overlayClassName:Ut,overlayStyle:ft,destroyPopupOnHide:Qt,dropdownRender:Be},{compactSize:Pe,compactItemClassnames:se}=(0,Ue.ri)(hn,x),Ne=we()(St,se,Le,Qe);"overlay"in a&&(Re.overlay=Je),"open"in a&&(Re.open=qe),"placement"in a?Re.placement=Ve:Re.placement=x==="rtl"?"bottomLeft":"bottomRight";const it=Ge.createElement(Fe.ZP,{type:ne,danger:ae,disabled:le,loading:de,onClick:ge,htmlType:be,href:_e,title:en},fe),Se=Ge.createElement(Fe.ZP,{type:ne,danger:ae,icon:Ot}),[ve,tt]=Me([it,Se]);return ct(Ge.createElement($e.Z.Compact,Object.assign({className:Ne,size:Pe,block:!0},$t),ve,Ge.createElement(ee.Z,Object.assign({},Re),tt)))};pt.__ANT_BUTTON=!0;var Te=pt;const oe=ee.Z;oe.Button=Te;var y=oe},47211:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return Ye}});var ee=te(17313),ie=te(13826),we=te(92899),Ge=te(29878),Ce=te(19447),Fe=te(83116),re=te(37613),Ue=pt=>{const{componentCls:Te,menuCls:oe,colorError:y,colorTextLightSolid:a}=pt,b=`${oe}-item`;return{[`${Te}, ${Te}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ze=pt=>{const{componentCls:Te,menuCls:oe,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ne,fontSize:ae,dropdownEdgeChildPadding:le,colorTextDisabled:de,fontSizeIcon:ge,controlPaddingHorizontal:be,colorBgElevated:fe}=pt;return[{[Te]:Object.assign(Object.assign({},(0,ee.Wf)(pt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:ge}},[`${Te}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:ge},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${Te}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Te}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Te}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${Te}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Te}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${Te}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${Te}-placement-bottomRight`]:{animationName:ie.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Te}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Te}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${Te}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Te}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${Te}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${Te}-placement-topRight`]:{animationName:ie.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Te}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${Te}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${Te}-placement-bottomRight`]:{animationName:ie.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Te}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${Te}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${Te}-placement-topRight`]:{animationName:ie.ly}})},(0,Ce.ZP)(pt,{colorBg:fe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Te} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Te}, ${Te}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:le,listStyleType:"none",backgroundColor:fe,backgroundClip:"padding-box",borderRadius:pt.borderRadiusLG,outline:"none",boxShadow:pt.boxShadowSecondary},(0,ee.Qy)(pt)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${be}px`,color:pt.colorTextDescription,transition:`all ${z}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:ae,marginInlineEnd:pt.marginXS,fontSize:pt.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${be}px`,color:pt.colorText,fontWeight:"normal",fontSize:ae,lineHeight:pt.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:pt.borderRadiusSM,"&:hover, &-active":{backgroundColor:pt.controlItemBgHover}},(0,ee.Qy)(pt)),{"&-selected":{color:pt.colorPrimary,backgroundColor:pt.controlItemBgActive,"&:hover, &-active":{backgroundColor:pt.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:fe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${pt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:pt.colorSplit},[`${Te}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pt.paddingXS,[`${Te}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pt.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${pt.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:be+pt.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${Te}-menu-submenu-title`]:{[`&, ${Te}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:fe,cursor:"not-allowed"}},[`${oe}-submenu-selected ${Te}-menu-submenu-title`]:{color:pt.colorPrimary}})}},[(0,ie.oN)(pt,"slide-up"),(0,ie.oN)(pt,"slide-down"),(0,we.Fm)(pt,"move-up"),(0,we.Fm)(pt,"move-down"),(0,Ge._y)(pt,"zoom-big")]]};var Ye=(0,Fe.Z)("Dropdown",(pt,Te)=>{let{rootPrefixCls:oe}=Te;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:z,componentCls:ne,borderRadiusLG:ae}=pt,le=(b-E*x)/2,{dropdownArrowOffset:de}=(0,Ce.fS)({contentRadius:ae}),ge=(0,re.TS)(pt,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+y,dropdownArrowOffset:de,dropdownPaddingVertical:le,dropdownEdgeChildPadding:z});return[ze(ge),Ue(ge)]},pt=>({zIndexPopup:pt.zIndexPopupBase+50}))},8628:function(Ft,Rt,te){"use strict";var ee=te(59301),ie=te(34280),we=te(56762),Ge=te(69507);function Ce(){let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,ee.useRef)({}),$e=(0,we.Z)(),Ue=(0,Ge.ZP)();return(0,ie.Z)(()=>{const ze=Ue.subscribe(Ye=>{re.current=Ye,Fe&&$e()});return()=>Ue.unsubscribe(ze)},[]),re.current}Rt.Z=Ce},45818:function(Ft,Rt,te){"use strict";te.d(Rt,{D:function(){return z},Z:function(){return le}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ge,be){return ie.createElement(Ce.Z,(0,ee.Z)({},ge,{ref:be,icon:Ge}))},re=ie.forwardRef(Fe),$e=re,Ue=te(33853),ze=te(38819),Ye=te(92310),pt=te.n(Ye),Te=te(2738),y=de=>!isNaN(parseFloat(de))&&isFinite(de),a=te(36355),b=te(84966),E=function(de,ge){var be={};for(var fe in de)Object.prototype.hasOwnProperty.call(de,fe)&&ge.indexOf(fe)<0&&(be[fe]=de[fe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,fe=Object.getOwnPropertySymbols(de);Le<fe.length;Le++)ge.indexOf(fe[Le])<0&&Object.prototype.propertyIsEnumerable.call(de,fe[Le])&&(be[fe[Le]]=de[fe[Le]]);return be};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=ie.createContext({}),ne=(()=>{let de=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${ge}${de}`}})();var le=ie.forwardRef((de,ge)=>{const{prefixCls:be,className:fe,trigger:Le,children:ue,defaultCollapsed:ot=!1,theme:De="dark",style:Je={},collapsible:ye=!1,reverseArrow:ke=!1,width:qe=200,collapsedWidth:Xe=80,zeroWidthTriggerStyle:Ve,breakpoint:kt,onCollapse:_e,onBreakpoint:Ot}=de,en=E(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Me}=(0,ie.useContext)(b.Gs),[Ze,yt]=(0,ie.useState)("collapsed"in de?de.collapsed:ot),[Ut,ft]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in de&&yt(de.collapsed)},[de.collapsed]);const Qt=(Qe,Re)=>{"collapsed"in de||yt(Qe),_e==null||_e(Qe,Re)},Be=(0,ie.useRef)();Be.current=Qe=>{ft(Qe.matches),Ot==null||Ot(Qe.matches),Ze!==Qe.matches&&Qt(Qe.matches,"responsive")},(0,ie.useEffect)(()=>{function Qe(Pe){return Be.current(Pe)}let Re;if(typeof window!="undefined"){const{matchMedia:Pe}=window;if(Pe&&kt&&kt in x){Re=Pe(`(max-width: ${x[kt]})`);try{Re.addEventListener("change",Qe)}catch(se){Re.addListener(Qe)}Qe(Re)}}return()=>{try{Re==null||Re.removeEventListener("change",Qe)}catch(Pe){Re==null||Re.removeListener(Qe)}}},[kt]),(0,ie.useEffect)(()=>{const Qe=ne("ant-sider-");return Me.addSider(Qe),()=>Me.removeSider(Qe)},[]);const $t=()=>{Qt(!Ze,"clickTrigger")},{getPrefixCls:hn}=(0,ie.useContext)(a.E_),St=()=>{const Qe=hn("layout-sider",be),Re=(0,Te.Z)(en,["collapsed"]),Pe=Ze?Xe:qe,se=y(Pe)?`${Pe}px`:String(Pe),Ne=parseFloat(String(Xe||0))===0?ie.createElement("span",{onClick:$t,className:pt()(`${Qe}-zero-width-trigger`,`${Qe}-zero-width-trigger-${ke?"right":"left"}`),style:Ve},Le||ie.createElement($e,null)):null,ve={expanded:ke?ie.createElement(ze.Z,null):ie.createElement(Ue.Z,null),collapsed:ke?ie.createElement(Ue.Z,null):ie.createElement(ze.Z,null)}[Ze?"collapsed":"expanded"],tt=Le!==null?Ne||ie.createElement("div",{className:`${Qe}-trigger`,onClick:$t,style:{width:se}},Le||ve):null,Oe=Object.assign(Object.assign({},Je),{flex:`0 0 ${se}`,maxWidth:se,minWidth:se,width:se}),Ee=pt()(Qe,`${Qe}-${De}`,{[`${Qe}-collapsed`]:!!Ze,[`${Qe}-has-trigger`]:ye&&Le!==null&&!Ne,[`${Qe}-below`]:!!Ut,[`${Qe}-zero-width`]:parseFloat(se)===0},fe);return ie.createElement("aside",Object.assign({className:Ee},Re,{style:Oe,ref:ge}),ie.createElement("div",{className:`${Qe}-children`},ue),ye||Ut&&Ne?tt:null)},ct=ie.useMemo(()=>({siderCollapsed:Ze}),[Ze]);return ie.createElement(z.Provider,{value:ct},St())})},84966:function(Ft,Rt,te){"use strict";te.d(Rt,{VY:function(){return z},$_:function(){return x},h4:function(){return E},Gs:function(){return Te},ZP:function(){return ne}});var ee=te(26407),ie=te(92310),we=te.n(ie),Ge=te(2738),Ce=te(59301),Fe=te(36355),re=te(83116),Ue=ae=>{const{componentCls:le,bodyBg:de,lightSiderBg:ge,lightTriggerBg:be,lightTriggerColor:fe}=ae;return{[`${le}-sider-light`]:{background:ge,[`${le}-sider-trigger`]:{color:fe,background:be},[`${le}-sider-zero-width-trigger`]:{color:fe,background:be,border:`1px solid ${de}`,borderInlineStart:0}}}};const ze=ae=>{const{antCls:le,componentCls:de,colorText:ge,triggerColor:be,footerBg:fe,triggerBg:Le,headerHeight:ue,headerPadding:ot,headerColor:De,footerPadding:Je,triggerHeight:ye,zeroTriggerHeight:ke,zeroTriggerWidth:qe,motionDurationMid:Xe,motionDurationSlow:Ve,fontSize:kt,borderRadius:_e,bodyBg:Ot,headerBg:en,siderBg:Me}=ae;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ot,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:Me,transition:`all ${Xe}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${le}-menu${le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ye},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ye,color:be,lineHeight:`${ye}px`,textAlign:"center",background:Le,cursor:"pointer",transition:`all ${Xe}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ue,insetInlineEnd:-qe,zIndex:1,width:qe,height:ke,color:be,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Me,borderStartStartRadius:0,borderStartEndRadius:_e,borderEndEndRadius:_e,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ve} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ve}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-qe,borderStartStartRadius:_e,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:_e}}}}},Ue(ae)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:ue,padding:ot,color:De,lineHeight:`${ue}px`,background:en,[`${le}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Je,color:ge,fontSize:kt,background:fe},[`${de}-content`]:{flex:"auto",minHeight:0}}};var Ye=(0,re.Z)("Layout",ae=>[ze(ae)],ae=>{const{colorBgLayout:le,controlHeight:de,controlHeightLG:ge,colorText:be,controlHeightSM:fe,marginXXS:Le,colorTextLightSolid:ue,colorBgContainer:ot}=ae,De=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:le,colorBgTrigger:"#002140",bodyBg:le,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${De}px`,headerColor:be,footerPadding:`${fe}px ${De}px`,footerBg:le,siderBg:"#001529",triggerHeight:ge+Le*2,triggerBg:"#002140",triggerColor:ue,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:ot,lightTriggerBg:ot,lightTriggerColor:be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),pt=function(ae,le){var de={};for(var ge in ae)Object.prototype.hasOwnProperty.call(ae,ge)&&le.indexOf(ge)<0&&(de[ge]=ae[ge]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ge=Object.getOwnPropertySymbols(ae);be<ge.length;be++)le.indexOf(ge[be])<0&&Object.prototype.propertyIsEnumerable.call(ae,ge[be])&&(de[ge[be]]=ae[ge[be]]);return de};const Te=Ce.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function oe(ae){let{suffixCls:le,tagName:de,displayName:ge}=ae;return be=>Ce.forwardRef((Le,ue)=>Ce.createElement(be,Object.assign({ref:ue,suffixCls:le,tagName:de},Le)))}const y=Ce.forwardRef((ae,le)=>{const{prefixCls:de,suffixCls:ge,className:be,tagName:fe}=ae,Le=pt(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ue}=Ce.useContext(Fe.E_),ot=ue("layout",de),[De,Je]=Ye(ot),ye=ge?`${ot}-${ge}`:ot;return De(Ce.createElement(fe,Object.assign({className:we()(de||ye,be,Je),ref:le},Le)))}),a=Ce.forwardRef((ae,le)=>{const{direction:de}=Ce.useContext(Fe.E_),[ge,be]=Ce.useState([]),{prefixCls:fe,className:Le,rootClassName:ue,children:ot,hasSider:De,tagName:Je,style:ye}=ae,ke=pt(ae,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),qe=(0,Ge.Z)(ke,["suffixCls"]),{getPrefixCls:Xe,layout:Ve}=Ce.useContext(Fe.E_),kt=Xe("layout",fe),[_e,Ot]=Ye(kt),en=we()(kt,{[`${kt}-has-sider`]:typeof De=="boolean"?De:ge.length>0,[`${kt}-rtl`]:de==="rtl"},Ve==null?void 0:Ve.className,Le,ue,Ot),Me=Ce.useMemo(()=>({siderHook:{addSider:Ze=>{be(yt=>[].concat((0,ee.Z)(yt),[Ze]))},removeSider:Ze=>{be(yt=>yt.filter(Ut=>Ut!==Ze))}}}),[]);return _e(Ce.createElement(Te.Provider,{value:Me},Ce.createElement(Je,Object.assign({ref:le,className:en,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),ye)},qe),ot)))}),b=oe({tagName:"div",displayName:"Layout"})(a),E=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ne=b},40875:function(Ft,Rt,te){"use strict";te.d(Rt,{J:function(){return Fe}});var ee=te(59301),ie=te(33234),we=te(70425),Ge=function(re,$e){var Ue={};for(var ze in re)Object.prototype.hasOwnProperty.call(re,ze)&&$e.indexOf(ze)<0&&(Ue[ze]=re[ze]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,ze=Object.getOwnPropertySymbols(re);Ye<ze.length;Ye++)$e.indexOf(ze[Ye])<0&&Object.prototype.propertyIsEnumerable.call(re,ze[Ye])&&(Ue[ze[Ye]]=re[ze[Ye]]);return Ue};const Ce=ee.createContext(null),Fe=ee.forwardRef((re,$e)=>{const{children:Ue}=re,ze=Ge(re,["children"]),Ye=ee.useContext(Ce),pt=ee.useMemo(()=>Object.assign(Object.assign({},Ye),ze),[Ye,ze.prefixCls,ze.mode,ze.selectable]);return ee.createElement(Ce.Provider,{value:pt},ee.createElement(ie.BR,null,(0,we.supportNodeRef)(Ue)?ee.cloneElement(Ue,{ref:$e}):Ue))});Rt.Z=Ce},20834:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return ct}});var ee=te(15285),ie=te(59301),we=te(45818),Ge=te(92310),Ce=te.n(Ge),Fe=te(36355),re=function(Qe,Re){var Pe={};for(var se in Qe)Object.prototype.hasOwnProperty.call(Qe,se)&&Re.indexOf(se)<0&&(Pe[se]=Qe[se]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,se=Object.getOwnPropertySymbols(Qe);Ne<se.length;Ne++)Re.indexOf(se[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Qe,se[Ne])&&(Pe[se[Ne]]=Qe[se[Ne]]);return Pe},Ue=Qe=>{const{prefixCls:Re,className:Pe,dashed:se}=Qe,Ne=re(Qe,["prefixCls","className","dashed"]),{getPrefixCls:it}=ie.useContext(Fe.E_),Se=it("menu",Re),ve=Ce()({[`${Se}-item-divider-dashed`]:!!se},Pe);return ie.createElement(ee.iz,Object.assign({className:ve},Ne))},ze=te(11592),Ye=te(2738),pt=te(6848),Te=te(92343),y=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Qe=>{var Re;const{className:Pe,children:se,icon:Ne,title:it,danger:Se}=Qe,{prefixCls:ve,firstLevel:tt,direction:Oe,disableMenuItemTitleTooltip:Ee,inlineCollapsed:et}=ie.useContext(y),Kt=dt=>{const vt=ie.createElement("span",{className:`${ve}-title-content`},se);return(!Ne||(0,Te.l$)(se)&&se.type==="span")&&se&&dt&&tt&&typeof se=="string"?ie.createElement("div",{className:`${ve}-inline-collapsed-noicon`},se.charAt(0)):vt},{siderCollapsed:ht}=ie.useContext(we.D);let It=it;typeof it=="undefined"?It=tt?se:"":it===!1&&(It="");const Tt={title:It};!ht&&!et&&(Tt.title=null,Tt.open=!1);const Zt=(0,ze.Z)(se).length;let xe=ie.createElement(ee.ck,Object.assign({},(0,Ye.Z)(Qe,["title","icon","danger"]),{className:Ce()({[`${ve}-item-danger`]:Se,[`${ve}-item-only-child`]:(Ne?Zt+1:Zt)===1},Pe),title:typeof it=="string"?it:void 0}),(0,Te.Tm)(Ne,{className:Ce()((0,Te.l$)(Ne)?(Re=Ne.props)===null||Re===void 0?void 0:Re.className:"",`${ve}-item-icon`)}),Kt(et));return Ee||(xe=ie.createElement(pt.Z,Object.assign({},Tt,{placement:Oe==="rtl"?"left":"right",overlayClassName:`${ve}-inline-collapsed-tooltip`}),xe)),xe},x=Qe=>{var Re;const{popupClassName:Pe,icon:se,title:Ne,theme:it}=Qe,Se=ie.useContext(y),{prefixCls:ve,inlineCollapsed:tt,theme:Oe}=Se,Ee=(0,ee.Xl)();let et;if(!se)et=tt&&!Ee.length&&Ne&&typeof Ne=="string"?ie.createElement("div",{className:`${ve}-inline-collapsed-noicon`},Ne.charAt(0)):ie.createElement("span",{className:`${ve}-title-content`},Ne);else{const ht=(0,Te.l$)(Ne)&&Ne.type==="span";et=ie.createElement(ie.Fragment,null,(0,Te.Tm)(se,{className:Ce()((0,Te.l$)(se)?(Re=se.props)===null||Re===void 0?void 0:Re.className:"",`${ve}-item-icon`)}),ht?Ne:ie.createElement("span",{className:`${ve}-title-content`},Ne))}const Kt=ie.useMemo(()=>Object.assign(Object.assign({},Se),{firstLevel:!1}),[Se]);return ie.createElement(y.Provider,{value:Kt},ie.createElement(ee.Wd,Object.assign({},(0,Ye.Z)(Qe,["icon"]),{title:et,popupClassName:Ce()(ve,Pe,`${ve}-${it||Oe}`)})))},z=te(18785),ne=te(70425),ae=te(62892),le=te(40875),de=function(Qe,Re){var Pe={};for(var se in Qe)Object.prototype.hasOwnProperty.call(Qe,se)&&Re.indexOf(se)<0&&(Pe[se]=Qe[se]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,se=Object.getOwnPropertySymbols(Qe);Ne<se.length;Ne++)Re.indexOf(se[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Qe,se[Ne])&&(Pe[se[Ne]]=Qe[se[Ne]]);return Pe};function ge(Qe){return(Qe||[]).map((Re,Pe)=>{if(Re&&typeof Re=="object"){const se=Re,{label:Ne,children:it,key:Se,type:ve}=se,tt=de(se,["label","children","key","type"]),Oe=Se!=null?Se:`tmp-${Pe}`;return it||ve==="group"?ve==="group"?ie.createElement(ee.BW,Object.assign({key:Oe},tt,{title:Ne}),ge(it)):ie.createElement(x,Object.assign({key:Oe},tt,{title:Ne}),ge(it)):ve==="divider"?ie.createElement(Ue,Object.assign({key:Oe},tt)):ie.createElement(b,Object.assign({key:Oe},tt),Ne)}return null}).filter(Re=>Re)}function be(Qe){return ie.useMemo(()=>Qe&&ge(Qe),[Qe])}var fe=te(64993),Le=te(17313),ue=te(8378),ot=te(13826),De=te(29878),Je=te(83116),ye=te(37613),qe=Qe=>{const{componentCls:Re,motionDurationSlow:Pe,horizontalLineHeight:se,colorSplit:Ne,lineWidth:it,lineType:Se,itemPaddingInline:ve}=Qe;return{[`${Re}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${it}px ${Se} ${Ne}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Re}-item, ${Re}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ve},[`> ${Re}-item:hover,
|
|
> ${Re}-item-active,
|
|
> ${Re}-submenu ${Re}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Re}-item, ${Re}-submenu-title`]:{transition:[`border-color ${Pe}`,`background ${Pe}`].join(",")},[`${Re}-submenu-arrow`]:{display:"none"}}}},Ve=Qe=>{let{componentCls:Re,menuArrowOffset:Pe}=Qe;return{[`${Re}-rtl`]:{direction:"rtl"},[`${Re}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Re}-rtl${Re}-vertical,
|
|
${Re}-submenu-rtl ${Re}-vertical`]:{[`${Re}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Pe})`},"&::after":{transform:`rotate(45deg) translateY(${Pe})`}}}}};const kt=Qe=>Object.assign({},(0,Le.oN)(Qe));var Ot=(Qe,Re)=>{const{componentCls:Pe,itemColor:se,itemSelectedColor:Ne,groupTitleColor:it,itemBg:Se,subMenuItemBg:ve,itemSelectedBg:tt,activeBarHeight:Oe,activeBarWidth:Ee,activeBarBorderWidth:et,motionDurationSlow:Kt,motionEaseInOut:ht,motionEaseOut:It,itemPaddingInline:Tt,motionDurationMid:Zt,itemHoverColor:xe,lineType:dt,colorSplit:vt,itemDisabledColor:mt,dangerItemColor:Nt,dangerItemHoverColor:Vt,dangerItemSelectedColor:nn,dangerItemActiveBg:an,dangerItemSelectedBg:Sn,itemHoverBg:On,itemActiveBg:Lt,menuSubMenuBg:Ct,horizontalItemSelectedColor:Wt,horizontalItemSelectedBg:cn,horizontalItemBorderRadius:sn,horizontalItemHoverBg:Nn,popupBg:at}=Qe;return{[`${Pe}-${Re}, ${Pe}-${Re} > ${Pe}`]:{color:se,background:Se,[`&${Pe}-root:focus-visible`]:Object.assign({},kt(Qe)),[`${Pe}-item-group-title`]:{color:it},[`${Pe}-submenu-selected`]:{[`> ${Pe}-submenu-title`]:{color:Ne}},[`${Pe}-item-disabled, ${Pe}-submenu-disabled`]:{color:`${mt} !important`},[`${Pe}-item:not(${Pe}-item-selected):not(${Pe}-submenu-selected)`]:{[`&:hover, > ${Pe}-submenu-title:hover`]:{color:xe}},[`&:not(${Pe}-horizontal)`]:{[`${Pe}-item:not(${Pe}-item-selected)`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:Lt}},[`${Pe}-submenu-title`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:Lt}}},[`${Pe}-item-danger`]:{color:Nt,[`&${Pe}-item:hover`]:{[`&:not(${Pe}-item-selected):not(${Pe}-submenu-selected)`]:{color:Vt}},[`&${Pe}-item:active`]:{background:an}},[`${Pe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Pe}-item-selected`]:{color:Ne,[`&${Pe}-item-danger`]:{color:nn},"a, a:hover":{color:"inherit"}},[`& ${Pe}-item-selected`]:{backgroundColor:tt,[`&${Pe}-item-danger`]:{backgroundColor:Sn}},[`${Pe}-item, ${Pe}-submenu-title`]:{[`&:not(${Pe}-item-disabled):focus-visible`]:Object.assign({},kt(Qe))},[`&${Pe}-submenu > ${Pe}`]:{backgroundColor:Ct},[`&${Pe}-popup > ${Pe}`]:{backgroundColor:at},[`&${Pe}-horizontal`]:Object.assign(Object.assign({},Re==="dark"?{borderBottom:0}:{}),{[`> ${Pe}-item, > ${Pe}-submenu`]:{top:et,marginTop:-et,marginBottom:0,borderRadius:sn,"&::after":{position:"absolute",insetInline:Tt,bottom:0,borderBottom:`${Oe}px solid transparent`,transition:`border-color ${Kt} ${ht}`,content:'""'},"&:hover, &-active, &-open":{background:Nn,"&::after":{borderBottomWidth:Oe,borderBottomColor:Wt}},"&-selected":{color:Wt,backgroundColor:cn,"&:hover":{backgroundColor:cn},"&::after":{borderBottomWidth:Oe,borderBottomColor:Wt}}}}),[`&${Pe}-root`]:{[`&${Pe}-inline, &${Pe}-vertical`]:{borderInlineEnd:`${et}px ${dt} ${vt}`}},[`&${Pe}-inline`]:{[`${Pe}-sub${Pe}-inline`]:{background:ve},[`${Pe}-item, ${Pe}-submenu-title`]:et&&Ee?{width:`calc(100% + ${et}px)`}:{},[`${Pe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ee}px solid ${Ne}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Zt} ${It}`,`opacity ${Zt} ${It}`].join(","),content:'""'},[`&${Pe}-item-danger`]:{"&::after":{borderInlineEndColor:nn}}},[`${Pe}-selected, ${Pe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Zt} ${ht}`,`opacity ${Zt} ${ht}`].join(",")}}}}}};const en=Qe=>{const{componentCls:Re,itemHeight:Pe,itemMarginInline:se,padding:Ne,menuArrowSize:it,marginXS:Se,itemMarginBlock:ve}=Qe,tt=Ne+it+Se;return{[`${Re}-item`]:{position:"relative",overflow:"hidden"},[`${Re}-item, ${Re}-submenu-title`]:{height:Pe,lineHeight:`${Pe}px`,paddingInline:Ne,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:ve,width:`calc(100% - ${se*2}px)`},[`> ${Re}-item,
|
|
> ${Re}-submenu > ${Re}-submenu-title`]:{height:Pe,lineHeight:`${Pe}px`},[`${Re}-item-group-list ${Re}-submenu-title,
|
|
${Re}-submenu-title`]:{paddingInlineEnd:tt}}};var Ze=Qe=>{const{componentCls:Re,iconCls:Pe,itemHeight:se,colorTextLightSolid:Ne,dropdownWidth:it,controlHeightLG:Se,motionDurationMid:ve,motionEaseOut:tt,paddingXL:Oe,itemMarginInline:Ee,fontSizeLG:et,motionDurationSlow:Kt,paddingXS:ht,boxShadowSecondary:It,collapsedWidth:Tt,collapsedIconSize:Zt}=Qe,xe={height:se,lineHeight:`${se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Re]:{"&-inline, &-vertical":Object.assign({[`&${Re}-root`]:{boxShadow:"none"}},en(Qe))},[`${Re}-submenu-popup`]:{[`${Re}-vertical`]:Object.assign(Object.assign({},en(Qe)),{boxShadow:It})}},{[`${Re}-submenu-popup ${Re}-vertical${Re}-sub`]:{minWidth:it,maxHeight:`calc(100vh - ${Se*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Re}-inline`]:{width:"100%",[`&${Re}-root`]:{[`${Re}-item, ${Re}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Kt}`,`background ${Kt}`,`padding ${ve} ${tt}`].join(","),[`> ${Re}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Re}-sub${Re}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Re}-submenu > ${Re}-submenu-title`]:xe,[`& ${Re}-item-group-title`]:{paddingInlineStart:Oe}},[`${Re}-item`]:xe}},{[`${Re}-inline-collapsed`]:{width:Tt,[`&${Re}-root`]:{[`${Re}-item, ${Re}-submenu ${Re}-submenu-title`]:{[`> ${Re}-inline-collapsed-noicon`]:{fontSize:et,textAlign:"center"}}},[`> ${Re}-item,
|
|
> ${Re}-item-group > ${Re}-item-group-list > ${Re}-item,
|
|
> ${Re}-item-group > ${Re}-item-group-list > ${Re}-submenu > ${Re}-submenu-title,
|
|
> ${Re}-submenu > ${Re}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${et/2}px - ${Ee}px)`,textOverflow:"clip",[`
|
|
${Re}-submenu-arrow,
|
|
${Re}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Re}-item-icon, ${Pe}`]:{margin:0,fontSize:Zt,lineHeight:`${se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Re}-item-icon, ${Pe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Re}-item-icon, ${Pe}`]:{display:"none"},"a, a:hover":{color:Ne}},[`${Re}-item-group-title`]:Object.assign(Object.assign({},Le.vS),{paddingInline:ht})}}]};const yt=Qe=>{const{componentCls:Re,motionDurationSlow:Pe,motionDurationMid:se,motionEaseInOut:Ne,motionEaseOut:it,iconCls:Se,iconSize:ve,iconMarginInlineEnd:tt}=Qe;return{[`${Re}-item, ${Re}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Pe}`,`background ${Pe}`,`padding ${Pe} ${Ne}`].join(","),[`${Re}-item-icon, ${Se}`]:{minWidth:ve,fontSize:ve,transition:[`font-size ${se} ${it}`,`margin ${Pe} ${Ne}`,`color ${Pe}`].join(","),"+ span":{marginInlineStart:tt,opacity:1,transition:[`opacity ${Pe} ${Ne}`,`margin ${Pe}`,`color ${Pe}`].join(",")}},[`${Re}-item-icon`]:Object.assign({},(0,Le.Ro)()),[`&${Re}-item-only-child`]:{[`> ${Se}, > ${Re}-item-icon`]:{marginInlineEnd:0}}},[`${Re}-item-disabled, ${Re}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Re}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ut=Qe=>{const{componentCls:Re,motionDurationSlow:Pe,motionEaseInOut:se,borderRadius:Ne,menuArrowSize:it,menuArrowOffset:Se}=Qe;return{[`${Re}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Qe.margin,width:it,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Pe} ${se}, opacity ${Pe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:it*.6,height:it*.15,backgroundColor:"currentcolor",borderRadius:Ne,transition:[`background ${Pe} ${se}`,`transform ${Pe} ${se}`,`top ${Pe} ${se}`,`color ${Pe} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Se})`},"&::after":{transform:`rotate(-45deg) translateY(${Se})`}}}}},ft=Qe=>{const{antCls:Re,componentCls:Pe,fontSize:se,motionDurationSlow:Ne,motionDurationMid:it,motionEaseInOut:Se,paddingXS:ve,padding:tt,colorSplit:Oe,lineWidth:Ee,zIndexPopup:et,borderRadiusLG:Kt,subMenuItemBorderRadius:ht,menuArrowSize:It,menuArrowOffset:Tt,lineType:Zt,menuPanelMaskInset:xe,groupTitleLineHeight:dt,groupTitleFontSize:vt}=Qe;return[{"":{[`${Pe}`]:Object.assign(Object.assign({},(0,Le.dF)()),{"&-hidden":{display:"none"}})},[`${Pe}-submenu-hidden`]:{display:"none"}},{[Pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Le.Wf)(Qe)),(0,Le.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ne} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Pe}-item`]:{flex:"none"}},[`${Pe}-item, ${Pe}-submenu, ${Pe}-submenu-title`]:{borderRadius:Qe.itemBorderRadius},[`${Pe}-item-group-title`]:{padding:`${ve}px ${tt}px`,fontSize:vt,lineHeight:dt,transition:`all ${Ne}`},[`&-horizontal ${Pe}-submenu`]:{transition:[`border-color ${Ne} ${Se}`,`background ${Ne} ${Se}`].join(",")},[`${Pe}-submenu, ${Pe}-submenu-inline`]:{transition:[`border-color ${Ne} ${Se}`,`background ${Ne} ${Se}`,`padding ${it} ${Se}`].join(",")},[`${Pe}-submenu ${Pe}-sub`]:{cursor:"initial",transition:[`background ${Ne} ${Se}`,`padding ${Ne} ${Se}`].join(",")},[`${Pe}-title-content`]:{transition:`color ${Ne}`},[`${Pe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Pe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Oe,borderStyle:Zt,borderWidth:0,borderTopWidth:Ee,marginBlock:Ee,padding:0,"&-dashed":{borderStyle:"dashed"}}}),yt(Qe)),{[`${Pe}-item-group`]:{[`${Pe}-item-group-list`]:{margin:0,padding:0,[`${Pe}-item, ${Pe}-submenu-title`]:{paddingInline:`${se*2}px ${tt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:et,borderRadius:Kt,boxShadow:"none",transformOrigin:"0 0",[`&${Pe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${xe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:xe},"\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:Qe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Qe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Qe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Qe.paddingXS},[`> ${Pe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Kt},yt(Qe)),Ut(Qe)),{[`${Pe}-item, ${Pe}-submenu > ${Pe}-submenu-title`]:{borderRadius:ht},[`${Pe}-submenu-title::after`]:{transition:`transform ${Ne} ${Se}`}})}}),Ut(Qe)),{[`&-inline-collapsed ${Pe}-submenu-arrow,
|
|
&-inline ${Pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Tt})`},"&::after":{transform:`rotate(45deg) translateX(-${Tt})`}},[`${Pe}-submenu-open${Pe}-submenu-inline > ${Pe}-submenu-title > ${Pe}-submenu-arrow`]:{transform:`translateY(-${It*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Tt})`},"&::before":{transform:`rotate(45deg) translateX(${Tt})`}}})},{[`${Re}-layout-header`]:{[Pe]:{lineHeight:"inherit"}}}]};var Qt=(Qe,Re)=>(0,Je.Z)("Menu",se=>{if(Re===!1)return[];const{colorBgElevated:Ne,colorPrimary:it,colorTextLightSolid:Se,controlHeightLG:ve,fontSize:tt,darkItemColor:Oe,darkDangerItemColor:Ee,darkItemBg:et,darkSubMenuItemBg:Kt,darkItemSelectedColor:ht,darkItemSelectedBg:It,darkDangerItemSelectedBg:Tt,darkItemHoverBg:Zt,darkGroupTitleColor:xe,darkItemHoverColor:dt,darkItemDisabledColor:vt,darkDangerItemHoverColor:mt,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:Vt}=se,nn=tt/7*5,an=(0,ye.TS)(se,{menuArrowSize:nn,menuHorizontalHeight:ve*1.15,menuArrowOffset:`${nn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ne}),Sn=(0,ye.TS)(an,{itemColor:Oe,itemHoverColor:dt,groupTitleColor:xe,itemSelectedColor:ht,itemBg:et,popupBg:et,subMenuItemBg:Kt,itemActiveBg:"transparent",itemSelectedBg:It,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Zt,itemDisabledColor:vt,dangerItemColor:Ee,dangerItemHoverColor:mt,dangerItemSelectedColor:Nt,dangerItemActiveBg:Vt,dangerItemSelectedBg:Tt,menuSubMenuBg:Kt,horizontalItemSelectedColor:Se,horizontalItemSelectedBg:it});return[ft(an),qe(an),Ze(an),Ot(an,"light"),Ot(Sn,"dark"),Ve(an),(0,ue.Z)(an),(0,ot.oN)(an,"slide-up"),(0,ot.oN)(an,"slide-down"),(0,De._y)(an,"zoom-big")]},se=>{const{colorPrimary:Ne,colorError:it,colorTextDisabled:Se,colorErrorBg:ve,colorText:tt,colorTextDescription:Oe,colorBgContainer:Ee,colorFillAlter:et,colorFillContent:Kt,lineWidth:ht,lineWidthBold:It,controlItemBgActive:Tt,colorBgTextHover:Zt,controlHeightLG:xe,lineHeight:dt,colorBgElevated:vt,marginXXS:mt,padding:Nt,fontSize:Vt,controlHeightSM:nn,fontSizeLG:an,colorTextLightSolid:Sn,colorErrorHover:On}=se,Lt=new fe.C(Sn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:tt,itemColor:tt,colorItemTextHover:tt,itemHoverColor:tt,colorItemTextHoverHorizontal:Ne,horizontalItemHoverColor:Ne,colorGroupTitle:Oe,groupTitleColor:Oe,colorItemTextSelected:Ne,itemSelectedColor:Ne,colorItemTextSelectedHorizontal:Ne,horizontalItemSelectedColor:Ne,colorItemBg:Ee,itemBg:Ee,colorItemBgHover:Zt,itemHoverBg:Zt,colorItemBgActive:Kt,itemActiveBg:Tt,colorSubItemBg:et,subMenuItemBg:et,colorItemBgSelected:Tt,itemSelectedBg:Tt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:It,activeBarHeight:It,colorActiveBarBorderSize:ht,activeBarBorderWidth:ht,colorItemTextDisabled:Se,itemDisabledColor:Se,colorDangerItemText:it,dangerItemColor:it,colorDangerItemTextHover:it,dangerItemHoverColor:it,colorDangerItemTextSelected:it,dangerItemSelectedColor:it,colorDangerItemBgActive:ve,dangerItemActiveBg:ve,colorDangerItemBgSelected:ve,dangerItemSelectedBg:ve,itemMarginInline:se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:xe,groupTitleLineHeight:dt,collapsedWidth:xe*2,popupBg:vt,itemMarginBlock:mt,itemPaddingInline:Nt,horizontalLineHeight:`${xe*1.15}px`,iconSize:Vt,iconMarginInlineEnd:nn-Vt,collapsedIconSize:an,groupTitleFontSize:Vt,darkItemDisabledColor:new fe.C(Sn).setAlpha(.25).toRgbString(),darkItemColor:Lt,darkDangerItemColor:it,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Sn,darkItemSelectedBg:Ne,darkDangerItemSelectedBg:it,darkItemHoverBg:"transparent",darkGroupTitleColor:Lt,darkItemHoverColor:Sn,darkDangerItemHoverColor:On,darkDangerItemSelectedColor:Sn,darkDangerItemActiveBg:it}},{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"]]})(Qe),Be=function(Qe,Re){var Pe={};for(var se in Qe)Object.prototype.hasOwnProperty.call(Qe,se)&&Re.indexOf(se)<0&&(Pe[se]=Qe[se]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,se=Object.getOwnPropertySymbols(Qe);Ne<se.length;Ne++)Re.indexOf(se[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Qe,se[Ne])&&(Pe[se[Ne]]=Qe[se[Ne]]);return Pe},hn=(0,ie.forwardRef)((Qe,Re)=>{var Pe,se;const Ne=ie.useContext(le.Z),it=Ne||{},{getPrefixCls:Se,getPopupContainer:ve,direction:tt,menu:Oe}=ie.useContext(Fe.E_),Ee=Se(),{prefixCls:et,className:Kt,style:ht,theme:It="light",expandIcon:Tt,_internalDisableMenuItemTitleTooltip:Zt,inlineCollapsed:xe,siderCollapsed:dt,items:vt,children:mt,rootClassName:Nt,mode:Vt,selectable:nn,onClick:an,overflowedIndicatorPopupClassName:Sn}=Qe,On=Be(Qe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Lt=(0,Ye.Z)(On,["collapsedWidth"]),Ct=be(vt)||mt;(Pe=it.validator)===null||Pe===void 0||Pe.call(it,{mode:Vt});const Wt=(0,ne.useEvent)(function(){var gt;an==null||an.apply(void 0,arguments),(gt=it.onClick)===null||gt===void 0||gt.call(it)}),cn=it.mode||Vt,sn=nn!=null?nn:it.selectable,Nn=ie.useMemo(()=>dt!==void 0?dt:xe,[xe,dt]),at={horizontal:{motionName:`${Ee}-slide-up`},inline:(0,ae.Z)(Ee),other:{motionName:`${Ee}-zoom-big`}},Bt=Se("menu",et||it.prefixCls),[Jt,yn]=Qt(Bt,!Ne),he=Ce()(`${Bt}-${It}`,Oe==null?void 0:Oe.className,Kt);let We;if(typeof Tt=="function")We=Tt;else if(Tt===null||Tt===!1)We=null;else if(it.expandIcon===null||it.expandIcon===!1)We=null;else{const gt=Tt!=null?Tt:it.expandIcon;We=(0,Te.Tm)(gt,{className:Ce()(`${Bt}-submenu-expand-icon`,(0,Te.l$)(gt)?(se=gt.props)===null||se===void 0?void 0:se.className:"")})}const st=ie.useMemo(()=>({prefixCls:Bt,inlineCollapsed:Nn||!1,direction:tt,firstLevel:!0,theme:It,mode:cn,disableMenuItemTitleTooltip:Zt}),[Bt,Nn,tt,Zt,It]);return Jt(ie.createElement(le.Z.Provider,{value:null},ie.createElement(y.Provider,{value:st},ie.createElement(ee.ZP,Object.assign({getPopupContainer:ve,overflowedIndicator:ie.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ce()(Bt,`${Bt}-${It}`,Sn),mode:cn,selectable:sn,onClick:Wt},Lt,{inlineCollapsed:Nn,style:Object.assign(Object.assign({},Oe==null?void 0:Oe.style),ht),className:he,prefixCls:Bt,direction:tt,defaultMotions:at,expandIcon:We,ref:Re,rootClassName:Ce()(Nt,yn)}),Ct))))});const St=(0,ie.forwardRef)((Qe,Re)=>{const Pe=(0,ie.useRef)(null),se=ie.useContext(we.D);return(0,ie.useImperativeHandle)(Re,()=>({menu:Pe.current,focus:Ne=>{var it;(it=Pe.current)===null||it===void 0||it.focus(Ne)}})),ie.createElement(hn,Object.assign({ref:Pe},Qe,se))});St.Item=b,St.SubMenu=x,St.Divider=Ue,St.ItemGroup=ee.BW;var ct=St},58421:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return it}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ge=we,Ce=te(7657),Fe=function(ve,tt){return ie.createElement(Ce.Z,(0,ee.Z)({},ve,{ref:tt,icon:Ge}))},re=ie.forwardRef(Fe),$e=re,Ue=te(49198),ze=te(33853),Ye=te(38819),pt=te(92310),Te=te.n(pt),oe=te(400),y=te(33708),a=te(6909),b=te(4771),E=te(9427),x=te(25440),z=te(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ae=ne,le=te(91735),de=function(Se){(0,E.Z)(tt,Se);var ve=(0,x.Z)(tt);function tt(){var Oe;(0,a.Z)(this,tt);for(var Ee=arguments.length,et=new Array(Ee),Kt=0;Kt<Ee;Kt++)et[Kt]=arguments[Kt];return Oe=ve.call.apply(ve,[this].concat(et)),Oe.state={goInputText:""},Oe.getValidValue=function(){var ht=Oe.state.goInputText;return!ht||Number.isNaN(ht)?void 0:Number(ht)},Oe.buildOptionText=function(ht){return"".concat(ht," ").concat(Oe.props.locale.items_per_page)},Oe.changeSize=function(ht){Oe.props.changeSize(Number(ht))},Oe.handleChange=function(ht){Oe.setState({goInputText:ht.target.value})},Oe.handleBlur=function(ht){var It=Oe.props,Tt=It.goButton,Zt=It.quickGo,xe=It.rootPrefixCls,dt=Oe.state.goInputText;Tt||dt===""||(Oe.setState({goInputText:""}),!(ht.relatedTarget&&(ht.relatedTarget.className.indexOf("".concat(xe,"-item-link"))>=0||ht.relatedTarget.className.indexOf("".concat(xe,"-item"))>=0))&&Zt(Oe.getValidValue()))},Oe.go=function(ht){var It=Oe.state.goInputText;It!==""&&(ht.keyCode===ae.ENTER||ht.type==="click")&&(Oe.setState({goInputText:""}),Oe.props.quickGo(Oe.getValidValue()))},Oe}return(0,b.Z)(tt,[{key:"getPageSizeOptions",value:function(){var Ee=this.props,et=Ee.pageSize,Kt=Ee.pageSizeOptions;return Kt.some(function(ht){return ht.toString()===et.toString()})?Kt:Kt.concat([et.toString()]).sort(function(ht,It){var Tt=Number.isNaN(Number(ht))?0:Number(ht),Zt=Number.isNaN(Number(It))?0:Number(It);return Tt-Zt})}},{key:"render",value:function(){var Ee=this,et=this.props,Kt=et.pageSize,ht=et.locale,It=et.rootPrefixCls,Tt=et.changeSize,Zt=et.quickGo,xe=et.goButton,dt=et.selectComponentClass,vt=et.buildOptionText,mt=et.selectPrefixCls,Nt=et.disabled,Vt=this.state.goInputText,nn="".concat(It,"-options"),an=dt,Sn=null,On=null,Lt=null;if(!Tt&&!Zt)return null;var Ct=this.getPageSizeOptions();if(Tt&&an){var Wt=Ct.map(function(cn,sn){return ie.createElement(an.Option,{key:sn,value:cn.toString()},(vt||Ee.buildOptionText)(cn))});Sn=ie.createElement(an,{disabled:Nt,prefixCls:mt,showSearch:!1,className:"".concat(nn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Kt||Ct[0]).toString(),onChange:this.changeSize,getPopupContainer:function(sn){return sn.parentNode},"aria-label":ht.page_size,defaultOpen:!1},Wt)}return Zt&&(xe&&(Lt=typeof xe=="boolean"?ie.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nt,className:"".concat(nn,"-quick-jumper-button")},ht.jump_to_confirm):ie.createElement("span",{onClick:this.go,onKeyUp:this.go},xe)),On=ie.createElement("div",{className:"".concat(nn,"-quick-jumper")},ht.jump_to,ie.createElement("input",{disabled:Nt,type:"text",value:Vt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ht.page}),ht.page,Lt)),ie.createElement("li",{className:"".concat(nn)},Sn,On)}}]),tt}(ie.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var ge=de,be=function(ve){var tt,Oe=ve.rootPrefixCls,Ee=ve.page,et=ve.active,Kt=ve.className,ht=ve.showTitle,It=ve.onClick,Tt=ve.onKeyPress,Zt=ve.itemRender,xe="".concat(Oe,"-item"),dt=Te()(xe,"".concat(xe,"-").concat(Ee),(tt={},(0,oe.Z)(tt,"".concat(xe,"-active"),et),(0,oe.Z)(tt,"".concat(xe,"-disabled"),!Ee),(0,oe.Z)(tt,ve.className,Kt),tt)),vt=function(){It(Ee)},mt=function(nn){Tt(nn,It,Ee)},Nt=Zt(Ee,"page",ie.createElement("a",{rel:"nofollow"},Ee));return Nt?ie.createElement("li",{title:ht?Ee.toString():null,className:dt,onClick:vt,onKeyPress:mt,tabIndex:0},Nt):null},fe=be;function Le(){}function ue(Se){var ve=Number(Se);return typeof ve=="number"&&!Number.isNaN(ve)&&isFinite(ve)&&Math.floor(ve)===ve}var ot=function(ve,tt,Oe){return Oe};function De(Se,ve,tt){var Oe=typeof Se=="undefined"?ve.pageSize:Se;return Math.floor((tt.total-1)/Oe)+1}var Je=function(Se){(0,E.Z)(tt,Se);var ve=(0,x.Z)(tt);function tt(Oe){var Ee;(0,a.Z)(this,tt),Ee=ve.call(this,Oe),Ee.paginationNode=ie.createRef(),Ee.getJumpPrevPage=function(){return Math.max(1,Ee.state.current-(Ee.props.showLessItems?3:5))},Ee.getJumpNextPage=function(){return Math.min(De(void 0,Ee.state,Ee.props),Ee.state.current+(Ee.props.showLessItems?3:5))},Ee.getItemIcon=function(Tt,Zt){var xe=Ee.props.prefixCls,dt=Tt||ie.createElement("button",{type:"button","aria-label":Zt,className:"".concat(xe,"-item-link")});return typeof Tt=="function"&&(dt=ie.createElement(Tt,(0,y.Z)({},Ee.props))),dt},Ee.isValid=function(Tt){var Zt=Ee.props.total;return ue(Tt)&&Tt!==Ee.state.current&&ue(Zt)&&Zt>0},Ee.shouldDisplayQuickJumper=function(){var Tt=Ee.props,Zt=Tt.showQuickJumper,xe=Tt.total,dt=Ee.state.pageSize;return xe<=dt?!1:Zt},Ee.handleKeyDown=function(Tt){(Tt.keyCode===ae.ARROW_UP||Tt.keyCode===ae.ARROW_DOWN)&&Tt.preventDefault()},Ee.handleKeyUp=function(Tt){var Zt=Ee.getValidValue(Tt),xe=Ee.state.currentInputValue;Zt!==xe&&Ee.setState({currentInputValue:Zt}),Tt.keyCode===ae.ENTER?Ee.handleChange(Zt):Tt.keyCode===ae.ARROW_UP?Ee.handleChange(Zt-1):Tt.keyCode===ae.ARROW_DOWN&&Ee.handleChange(Zt+1)},Ee.handleBlur=function(Tt){var Zt=Ee.getValidValue(Tt);Ee.handleChange(Zt)},Ee.changePageSize=function(Tt){var Zt=Ee.state.current,xe=De(Tt,Ee.state,Ee.props);Zt=Zt>xe?xe:Zt,xe===0&&(Zt=Ee.state.current),typeof Tt=="number"&&("pageSize"in Ee.props||Ee.setState({pageSize:Tt}),"current"in Ee.props||Ee.setState({current:Zt,currentInputValue:Zt})),Ee.props.onShowSizeChange(Zt,Tt),"onChange"in Ee.props&&Ee.props.onChange&&Ee.props.onChange(Zt,Tt)},Ee.handleChange=function(Tt){var Zt=Ee.props,xe=Zt.disabled,dt=Zt.onChange,vt=Ee.state,mt=vt.pageSize,Nt=vt.current,Vt=vt.currentInputValue;if(Ee.isValid(Tt)&&!xe){var nn=De(void 0,Ee.state,Ee.props),an=Tt;return Tt>nn?an=nn:Tt<1&&(an=1),"current"in Ee.props||Ee.setState({current:an}),an!==Vt&&Ee.setState({currentInputValue:an}),dt(an,mt),an}return Nt},Ee.prev=function(){Ee.hasPrev()&&Ee.handleChange(Ee.state.current-1)},Ee.next=function(){Ee.hasNext()&&Ee.handleChange(Ee.state.current+1)},Ee.jumpPrev=function(){Ee.handleChange(Ee.getJumpPrevPage())},Ee.jumpNext=function(){Ee.handleChange(Ee.getJumpNextPage())},Ee.hasPrev=function(){return Ee.state.current>1},Ee.hasNext=function(){return Ee.state.current<De(void 0,Ee.state,Ee.props)},Ee.runIfEnter=function(Tt,Zt){if(Tt.key==="Enter"||Tt.charCode===13){for(var xe=arguments.length,dt=new Array(xe>2?xe-2:0),vt=2;vt<xe;vt++)dt[vt-2]=arguments[vt];Zt.apply(void 0,dt)}},Ee.runIfEnterPrev=function(Tt){Ee.runIfEnter(Tt,Ee.prev)},Ee.runIfEnterNext=function(Tt){Ee.runIfEnter(Tt,Ee.next)},Ee.runIfEnterJumpPrev=function(Tt){Ee.runIfEnter(Tt,Ee.jumpPrev)},Ee.runIfEnterJumpNext=function(Tt){Ee.runIfEnter(Tt,Ee.jumpNext)},Ee.handleGoTO=function(Tt){(Tt.keyCode===ae.ENTER||Tt.type==="click")&&Ee.handleChange(Ee.state.currentInputValue)},Ee.renderPrev=function(Tt){var Zt=Ee.props,xe=Zt.prevIcon,dt=Zt.itemRender,vt=dt(Tt,"prev",Ee.getItemIcon(xe,"prev page")),mt=!Ee.hasPrev();return(0,ie.isValidElement)(vt)?(0,ie.cloneElement)(vt,{disabled:mt}):vt},Ee.renderNext=function(Tt){var Zt=Ee.props,xe=Zt.nextIcon,dt=Zt.itemRender,vt=dt(Tt,"next",Ee.getItemIcon(xe,"next page")),mt=!Ee.hasNext();return(0,ie.isValidElement)(vt)?(0,ie.cloneElement)(vt,{disabled:mt}):vt};var et=Oe.onChange!==Le,Kt="current"in Oe;Kt&&!et&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ht=Oe.defaultCurrent;"current"in Oe&&(ht=Oe.current);var It=Oe.defaultPageSize;return"pageSize"in Oe&&(It=Oe.pageSize),ht=Math.min(ht,De(It,void 0,Oe)),Ee.state={current:ht,currentInputValue:ht,pageSize:It},Ee}return(0,b.Z)(tt,[{key:"componentDidUpdate",value:function(Ee,et){var Kt=this.props.prefixCls;if(et.current!==this.state.current&&this.paginationNode.current){var ht=this.paginationNode.current.querySelector(".".concat(Kt,"-item-").concat(et.current));if(ht&&document.activeElement===ht){var It;ht==null||(It=ht.blur)===null||It===void 0||It.call(ht)}}}},{key:"getValidValue",value:function(Ee){var et=Ee.target.value,Kt=De(void 0,this.state,this.props),ht=this.state.currentInputValue,It;return et===""?It=et:Number.isNaN(Number(et))?It=ht:et>=Kt?It=Kt:It=Number(et),It}},{key:"getShowSizeChanger",value:function(){var Ee=this.props,et=Ee.showSizeChanger,Kt=Ee.total,ht=Ee.totalBoundaryShowSizeChanger;return typeof et!="undefined"?et:Kt>ht}},{key:"render",value:function(){var Ee=this.props,et=Ee.prefixCls,Kt=Ee.className,ht=Ee.style,It=Ee.disabled,Tt=Ee.hideOnSinglePage,Zt=Ee.total,xe=Ee.locale,dt=Ee.showQuickJumper,vt=Ee.showLessItems,mt=Ee.showTitle,Nt=Ee.showTotal,Vt=Ee.simple,nn=Ee.itemRender,an=Ee.showPrevNextJumpers,Sn=Ee.jumpPrevIcon,On=Ee.jumpNextIcon,Lt=Ee.selectComponentClass,Ct=Ee.selectPrefixCls,Wt=Ee.pageSizeOptions,cn=this.state,sn=cn.current,Nn=cn.pageSize,at=cn.currentInputValue;if(Tt===!0&&Zt<=Nn)return null;var Bt=De(void 0,this.state,this.props),Jt=[],yn=null,he=null,We=null,st=null,gt=null,bt=dt&&dt.goButton,Xt=vt?1:2,xt=sn-1>0?sn-1:0,He=sn+1<Bt?sn+1:Bt,Ke=(0,z.Z)(this.props,{aria:!0,data:!0}),Ie=Nt&&ie.createElement("li",{className:"".concat(et,"-total-text")},Nt(Zt,[Zt===0?0:(sn-1)*Nn+1,sn*Nn>Zt?Zt:sn*Nn]));if(Vt){bt&&(typeof bt=="boolean"?gt=ie.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xe.jump_to_confirm):gt=ie.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},bt),gt=ie.createElement("li",{title:mt?"".concat(xe.jump_to).concat(sn,"/").concat(Bt):null,className:"".concat(et,"-simple-pager")},gt));var ut=this.renderPrev(xt);return ie.createElement("ul",(0,ee.Z)({className:Te()(et,"".concat(et,"-simple"),(0,oe.Z)({},"".concat(et,"-disabled"),It),Kt),style:ht,ref:this.paginationNode},Ke),Ie,ut?ie.createElement("li",{title:mt?xe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Te()("".concat(et,"-prev"),(0,oe.Z)({},"".concat(et,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ut):null,ie.createElement("li",{title:mt?"".concat(sn,"/").concat(Bt):null,className:"".concat(et,"-simple-pager")},ie.createElement("input",{type:"text",value:at,disabled:It,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ie.createElement("span",{className:"".concat(et,"-slash")},"/"),Bt),ie.createElement("li",{title:mt?xe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Te()("".concat(et,"-next"),(0,oe.Z)({},"".concat(et,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(He)),gt)}if(Bt<=3+Xt*2){var jt={locale:xe,rootPrefixCls:et,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:mt,itemRender:nn};Bt||Jt.push(ie.createElement(fe,(0,ee.Z)({},jt,{key:"noPager",page:1,className:"".concat(et,"-item-disabled")})));for(var Dt=1;Dt<=Bt;Dt+=1){var pn=sn===Dt;Jt.push(ie.createElement(fe,(0,ee.Z)({},jt,{key:Dt,page:Dt,active:pn})))}}else{var fn=vt?xe.prev_3:xe.prev_5,qt=vt?xe.next_3:xe.next_5,xn=nn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Sn,"prev page")),Qn=nn(this.getJumpNextPage(),"jump-next",this.getItemIcon(On,"next page"));an&&(yn=xn?ie.createElement("li",{title:mt?fn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Te()("".concat(et,"-jump-prev"),(0,oe.Z)({},"".concat(et,"-jump-prev-custom-icon"),!!Sn))},xn):null,he=Qn?ie.createElement("li",{title:mt?qt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Te()("".concat(et,"-jump-next"),(0,oe.Z)({},"".concat(et,"-jump-next-custom-icon"),!!On))},Qn):null),st=ie.createElement(fe,{locale:xe,last:!0,rootPrefixCls:et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Bt,page:Bt,active:!1,showTitle:mt,itemRender:nn}),We=ie.createElement(fe,{locale:xe,rootPrefixCls:et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:mt,itemRender:nn});var on=Math.max(1,sn-Xt),Un=Math.min(sn+Xt,Bt);sn-1<=Xt&&(Un=1+Xt*2),Bt-sn<=Xt&&(on=Bt-Xt*2);for(var $n=on;$n<=Un;$n+=1){var ca=sn===$n;Jt.push(ie.createElement(fe,{locale:xe,rootPrefixCls:et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$n,page:$n,active:ca,showTitle:mt,itemRender:nn}))}sn-1>=Xt*2&&sn!==3&&(Jt[0]=(0,ie.cloneElement)(Jt[0],{className:"".concat(et,"-item-after-jump-prev")}),Jt.unshift(yn)),Bt-sn>=Xt*2&&sn!==Bt-2&&(Jt[Jt.length-1]=(0,ie.cloneElement)(Jt[Jt.length-1],{className:"".concat(et,"-item-before-jump-next")}),Jt.push(he)),on!==1&&Jt.unshift(We),Un!==Bt&&Jt.push(st)}var qn=!this.hasPrev()||!Bt,nt=!this.hasNext()||!Bt,zt=this.renderPrev(xt),Pt=this.renderNext(He);return ie.createElement("ul",(0,ee.Z)({className:Te()(et,Kt,(0,oe.Z)({},"".concat(et,"-disabled"),It)),style:ht,ref:this.paginationNode},Ke),Ie,zt?ie.createElement("li",{title:mt?xe.prev_page:null,onClick:this.prev,tabIndex:qn?null:0,onKeyPress:this.runIfEnterPrev,className:Te()("".concat(et,"-prev"),(0,oe.Z)({},"".concat(et,"-disabled"),qn)),"aria-disabled":qn},zt):null,Jt,Pt?ie.createElement("li",{title:mt?xe.next_page:null,onClick:this.next,tabIndex:nt?null:0,onKeyPress:this.runIfEnterNext,className:Te()("".concat(et,"-next"),(0,oe.Z)({},"".concat(et,"-disabled"),nt)),"aria-disabled":nt},Pt):null,ie.createElement(ge,{disabled:It,locale:xe,rootPrefixCls:et,selectComponentClass:Lt,selectPrefixCls:Ct,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:sn,pageSize:Nn,pageSizeOptions:Wt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:bt}))}}],[{key:"getDerivedStateFromProps",value:function(Ee,et){var Kt={};if("current"in Ee&&(Kt.current=Ee.current,Ee.current!==et.current&&(Kt.currentInputValue=Kt.current)),"pageSize"in Ee&&Ee.pageSize!==et.pageSize){var ht=et.current,It=De(Ee.pageSize,et,Ee);ht=ht>It?It:ht,"current"in Ee||(Kt.current=ht,Kt.currentInputValue=ht),Kt.pageSize=Ee.pageSize}return Kt}}]),tt}(ie.Component);Je.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Le,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Le,locale:le.Z,style:{},itemRender:ot,totalBoundaryShowSizeChanger:50};var ye=Je,ke=te(22075),qe=te(36355),Xe=te(19716),Ve=te(8628),kt=te(9763),_e=te(57809);const Ot=Se=>ie.createElement(_e.default,Object.assign({},Se,{showSearch:!0,size:"small"})),en=Se=>ie.createElement(_e.default,Object.assign({},Se,{showSearch:!0,size:"middle"}));Ot.Option=_e.default.Option,en.Option=_e.default.Option;var Me=te(9937),Ze=te(17313),yt=te(83116),Ut=te(37613);const ft=Se=>{const{componentCls:ve}=Se;return{[`${ve}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ve}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}}},[`&${ve}-disabled`]:{cursor:"not-allowed",[`${ve}-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}}},[`${ve}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ve}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ve}-simple-pager`]:{color:Se.colorTextDisabled},[`${ve}-jump-prev, ${ve}-jump-next`]:{[`${ve}-item-link-icon`]:{opacity:0},[`${ve}-item-ellipsis`]:{opacity:1}}},[`&${ve}-simple`]:{[`${ve}-prev, ${ve}-next`]:{[`&${ve}-disabled ${ve}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Qt=Se=>{const{componentCls:ve}=Se;return{[`&${ve}-mini ${ve}-total-text, &${ve}-mini ${ve}-simple-pager`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`},[`&${ve}-mini ${ve}-item`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM-2}px`},[`&${ve}-mini:not(${ve}-disabled) ${ve}-item:not(${ve}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},[`&${ve}-mini ${ve}-prev, &${ve}-mini ${ve}-next`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM}px`},[`&${ve}-mini:not(${ve}-disabled)`]:{[`${ve}-prev, ${ve}-next`]:{[`&:hover ${ve}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${ve}-disabled:hover ${ve}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${ve}-mini ${ve}-prev ${ve}-item-link,
|
|
&${ve}-mini ${ve}-next ${ve}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`}},[`&${ve}-mini ${ve}-jump-prev, &${ve}-mini ${ve}-jump-next`]:{height:Se.itemSizeSM,marginInlineEnd:0,lineHeight:`${Se.itemSizeSM}px`},[`&${ve}-mini ${ve}-options`]:{marginInlineStart:Se.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Se.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Me.x0)(Se)),{width:Se.paginationMiniQuickJumperInputWidth,height:Se.controlHeightSM})}}}},Be=Se=>{const{componentCls:ve}=Se;return{[`
|
|
&${ve}-simple ${ve}-prev,
|
|
&${ve}-simple ${ve}-next
|
|
`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`,verticalAlign:"top",[`${ve}-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`}}},[`&${ve}-simple ${ve}-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"}}}}},$t=Se=>{const{componentCls:ve}=Se;return{[`${ve}-jump-prev, ${ve}-jump-next`]:{outline:0,[`${ve}-item-container`]:{position:"relative",[`${ve}-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"}},[`${ve}-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":{[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}}},[`
|
|
${ve}-prev,
|
|
${ve}-jump-prev,
|
|
${ve}-jump-next
|
|
`]:{marginInlineEnd:Se.marginXS},[`
|
|
${ve}-prev,
|
|
${ve}-next,
|
|
${ve}-jump-prev,
|
|
${ve}-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}`},[`${ve}-prev, ${ve}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Se.colorText,cursor:"pointer",userSelect:"none"},[`${ve}-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 ${ve}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${ve}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${ve}-disabled:hover`]:{[`${ve}-item-link`]:{backgroundColor:"transparent"}}},[`${ve}-slash`]:{marginInlineEnd:Se.paginationSlashMarginInlineEnd,marginInlineStart:Se.paginationSlashMarginInlineStart},[`${ve}-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,Me.ik)(Se)),{width:Se.controlHeightLG*1.25,height:Se.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Se.marginXS,marginInlineEnd:Se.marginXS})}}}},hn=Se=>{const{componentCls:ve}=Se;return{[`${ve}-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(${ve}-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}}}}},St=Se=>{const{componentCls:ve}=Se;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(Se)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ve}-total-text`]:{display:"inline-block",height:Se.itemSize,marginInlineEnd:Se.marginXS,lineHeight:`${Se.itemSize-2}px`,verticalAlign:"middle"}}),hn(Se)),$t(Se)),Be(Se)),Qt(Se)),ft(Se)),{[`@media only screen and (max-width: ${Se.screenLG}px)`]:{[`${ve}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Se.screenSM}px)`]:{[`${ve}-options`]:{display:"none"}}}),[`&${Se.componentCls}-rtl`]:{direction:"rtl"}}},ct=Se=>{const{componentCls:ve}=Se;return{[`${ve}${ve}-disabled:not(${ve}-mini)`]:{"&, &:hover":{[`${ve}-item-link`]:{borderColor:Se.colorBorder}},"&:focus-visible":{[`${ve}-item-link`]:{borderColor:Se.colorBorder}},[`${ve}-item, ${ve}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,[`&:hover:not(${ve}-item-active)`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,a:{color:Se.colorTextDisabled}},[`&${ve}-item-active`]:{backgroundColor:Se.itemActiveBgDisabled}},[`${ve}-prev, ${ve}-next`]:{"&:hover button":{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,color:Se.colorTextDisabled},[`${ve}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder}}},[`${ve}:not(${ve}-mini)`]:{[`${ve}-prev, ${ve}-next`]:{"&:hover button":{borderColor:Se.colorPrimaryHover,backgroundColor:Se.itemBg},[`${ve}-item-link`]:{backgroundColor:Se.itemLinkBg,borderColor:Se.colorBorder},[`&:hover ${ve}-item-link`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,color:Se.colorPrimary},[`&${ve}-disabled`]:{[`${ve}-item-link`]:{borderColor:Se.colorBorder,color:Se.colorTextDisabled}}},[`${ve}-item`]:{backgroundColor:Se.itemBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,[`&:hover:not(${ve}-item-active)`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,a:{color:Se.colorPrimary}},"&-active":{borderColor:Se.colorPrimary}}}}},Qe=Se=>{const{componentCls:ve}=Se;return{[`${ve}:not(${ve}-disabled)`]:{[`${ve}-item`]:Object.assign({},(0,Ze.Qy)(Se)),[`${ve}-jump-prev, ${ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${ve}-item-link-icon`]:{opacity:1},[`${ve}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(Se))},[`${ve}-prev, ${ve}-next`]:{[`&:focus-visible ${ve}-item-link`]:Object.assign({},(0,Ze.oN)(Se))}}}};var Re=(0,yt.Z)("Pagination",Se=>{const ve=(0,Ut.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,Me.e5)(Se),(0,Me.TM)(Se));return[St(ve),Qe(ve),Se.wireframe&&ct(ve)]},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})),Pe=function(Se,ve){var tt={};for(var Oe in Se)Object.prototype.hasOwnProperty.call(Se,Oe)&&ve.indexOf(Oe)<0&&(tt[Oe]=Se[Oe]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Oe=Object.getOwnPropertySymbols(Se);Ee<Oe.length;Ee++)ve.indexOf(Oe[Ee])<0&&Object.prototype.propertyIsEnumerable.call(Se,Oe[Ee])&&(tt[Oe[Ee]]=Se[Oe[Ee]]);return tt},Ne=Se=>{const{prefixCls:ve,selectPrefixCls:tt,className:Oe,rootClassName:Ee,style:et,size:Kt,locale:ht,selectComponentClass:It,responsive:Tt,showSizeChanger:Zt}=Se,xe=Pe(Se,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:dt}=(0,Ve.Z)(Tt),{getPrefixCls:vt,direction:mt,pagination:Nt={}}=ie.useContext(qe.E_),Vt=vt("pagination",ve),[nn,an]=Re(Vt),Sn=Zt!=null?Zt:Nt.showSizeChanger,On=ie.useMemo(()=>{const Bt=ie.createElement("span",{className:`${Vt}-item-ellipsis`},"\u2022\u2022\u2022"),Jt=ie.createElement("button",{className:`${Vt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?ie.createElement(Ye.Z,null):ie.createElement(ze.Z,null)),yn=ie.createElement("button",{className:`${Vt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?ie.createElement(ze.Z,null):ie.createElement(Ye.Z,null)),he=ie.createElement("a",{className:`${Vt}-item-link`},ie.createElement("div",{className:`${Vt}-item-container`},mt==="rtl"?ie.createElement(Ue.Z,{className:`${Vt}-item-link-icon`}):ie.createElement($e,{className:`${Vt}-item-link-icon`}),Bt)),We=ie.createElement("a",{className:`${Vt}-item-link`},ie.createElement("div",{className:`${Vt}-item-container`},mt==="rtl"?ie.createElement($e,{className:`${Vt}-item-link-icon`}):ie.createElement(Ue.Z,{className:`${Vt}-item-link-icon`}),Bt));return{prevIcon:Jt,nextIcon:yn,jumpPrevIcon:he,jumpNextIcon:We}},[mt,Vt]),[Lt]=(0,kt.Z)("Pagination",ke.Z),Ct=Object.assign(Object.assign({},Lt),ht),Wt=(0,Xe.Z)(Kt),cn=Wt==="small"||!!(dt&&!Wt&&Tt),sn=vt("select",tt),Nn=Te()({[`${Vt}-mini`]:cn,[`${Vt}-rtl`]:mt==="rtl"},Nt==null?void 0:Nt.className,Oe,Ee,an),at=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),et);return nn(ie.createElement(ye,Object.assign({},On,xe,{style:at,prefixCls:Vt,selectPrefixCls:sn,className:Nn,selectComponentClass:It||(cn?Ot:en),locale:Ct,showSizeChanger:Sn})))},it=Ne},93948:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return Zt}});var ee=te(59301),ie=te(29679),we=te(40001),Ge=te(19248),Ce=te(99267),Fe=te(92310),re=te.n(Fe),$e=te(2738),Ue=te(36355),ze=te(92413),Ye=te(33708),pt=te(37061),Te={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var dt=(0,ee.useRef)([]),vt=(0,ee.useRef)(null);return(0,ee.useEffect)(function(){var mt=Date.now(),Nt=!1;dt.current.forEach(function(Vt){if(Vt){Nt=!0;var nn=Vt.style;nn.transitionDuration=".3s, .3s, .3s, .06s",vt.current&&mt-vt.current<100&&(nn.transitionDuration="0s, 0s")}}),Nt&&(vt.current=Date.now())}),dt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(dt){var vt=(0,Ye.Z)((0,Ye.Z)({},Te),dt),mt=vt.className,Nt=vt.percent,Vt=vt.prefixCls,nn=vt.strokeColor,an=vt.strokeLinecap,Sn=vt.strokeWidth,On=vt.style,Lt=vt.trailColor,Ct=vt.trailWidth,Wt=vt.transition,cn=(0,pt.Z)(vt,y);delete cn.gapPosition;var sn=Array.isArray(Nt)?Nt:[Nt],Nn=Array.isArray(nn)?nn:[nn],at=oe(),Bt=Sn/2,Jt=100-Sn/2,yn="M ".concat(an==="round"?Bt:0,",").concat(Bt,`
|
|
L `).concat(an==="round"?Jt:100,",").concat(Bt),he="0 0 100 ".concat(Sn),We=0;return ee.createElement("svg",(0,ze.Z)({className:re()("".concat(Vt,"-line"),mt),viewBox:he,preserveAspectRatio:"none",style:On},cn),ee.createElement("path",{className:"".concat(Vt,"-line-trail"),d:yn,strokeLinecap:an,stroke:Lt,strokeWidth:Ct||Sn,fillOpacity:"0"}),sn.map(function(st,gt){var bt=1;switch(an){case"round":bt=1-Sn/100;break;case"square":bt=1-Sn/2/100;break;default:bt=1;break}var Xt={strokeDasharray:"".concat(st*bt,"px, 100px"),strokeDashoffset:"-".concat(We,"px"),transition:Wt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},xt=Nn[gt]||Nn[Nn.length-1];return We+=st,ee.createElement("path",{key:gt,className:"".concat(Vt,"-line-path"),d:yn,strokeLinecap:an,stroke:xt,strokeWidth:Sn,fillOpacity:"0",ref:function(Ke){at[gt]=Ke},style:Xt})}))},b=a,E=te(39559),x=te(33606),z=te(47273),ne=0,ae=(0,z.Z)();function le(){var xe;return ae?(xe=ne,ne+=1):xe="TEST_OR_SSR",xe}var de=function(xe){var dt=ee.useState(),vt=(0,x.Z)(dt,2),mt=vt[0],Nt=vt[1];return ee.useEffect(function(){Nt("rc_progress_".concat(le()))},[]),xe||mt},ge=function(dt){var vt=dt.bg,mt=dt.children;return ee.createElement("div",{style:{width:"100%",height:"100%",background:vt}},mt)};function be(xe,dt){return Object.keys(xe).map(function(vt){var mt=parseFloat(vt),Nt="".concat(Math.floor(mt*dt),"%");return"".concat(xe[vt]," ").concat(Nt)})}var fe=ee.forwardRef(function(xe,dt){var vt=xe.prefixCls,mt=xe.color,Nt=xe.gradientId,Vt=xe.radius,nn=xe.style,an=xe.ptg,Sn=xe.strokeLinecap,On=xe.strokeWidth,Lt=xe.size,Ct=xe.gapDegree,Wt=mt&&(0,E.Z)(mt)==="object",cn=Wt?"#FFF":void 0,sn=Lt/2,Nn=ee.createElement("circle",{className:"".concat(vt,"-circle-path"),r:Vt,cx:sn,cy:sn,stroke:cn,strokeLinecap:Sn,strokeWidth:On,opacity:an===0?0:1,style:nn,ref:dt});if(!Wt)return Nn;var at="".concat(Nt,"-conic"),Bt=Ct?"".concat(180+Ct/2,"deg"):"0deg",Jt=be(mt,(360-Ct)/360),yn=be(mt,1),he="conic-gradient(from ".concat(Bt,", ").concat(Jt.join(", "),")"),We="linear-gradient(to ".concat(Ct?"bottom":"top",", ").concat(yn.join(", "),")");return ee.createElement(ee.Fragment,null,ee.createElement("mask",{id:at},Nn),ee.createElement("foreignObject",{x:0,y:0,width:Lt,height:Lt,mask:"url(#".concat(at,")")},ee.createElement(ge,{bg:We},ee.createElement(ge,{bg:he}))))}),Le=fe,ue=100,ot=function(dt,vt,mt,Nt,Vt,nn,an,Sn,On,Lt){var Ct=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Wt=mt/100*360*((360-nn)/360),cn=nn===0?0:{bottom:0,top:180,left:90,right:-90}[an],sn=(100-Nt)/100*vt;On==="round"&&Nt!==100&&(sn+=Lt/2,sn>=vt&&(sn=vt-.01));var Nn=ue/2;return{stroke:typeof Sn=="string"?Sn:void 0,strokeDasharray:"".concat(vt,"px ").concat(dt),strokeDashoffset:sn+Ct,transform:"rotate(".concat(Vt+Wt+cn,"deg)"),transformOrigin:"".concat(Nn,"px ").concat(Nn,"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}},De=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Je(xe){var dt=xe!=null?xe:[];return Array.isArray(dt)?dt:[dt]}var ye=function(dt){var vt=(0,Ye.Z)((0,Ye.Z)({},Te),dt),mt=vt.id,Nt=vt.prefixCls,Vt=vt.steps,nn=vt.strokeWidth,an=vt.trailWidth,Sn=vt.gapDegree,On=Sn===void 0?0:Sn,Lt=vt.gapPosition,Ct=vt.trailColor,Wt=vt.strokeLinecap,cn=vt.style,sn=vt.className,Nn=vt.strokeColor,at=vt.percent,Bt=(0,pt.Z)(vt,De),Jt=ue/2,yn=de(mt),he="".concat(yn,"-gradient"),We=Jt-nn/2,st=Math.PI*2*We,gt=On>0?90+On/2:-90,bt=st*((360-On)/360),Xt=(0,E.Z)(Vt)==="object"?Vt:{count:Vt,space:2},xt=Xt.count,He=Xt.space,Ke=Je(at),Ie=Je(Nn),ut=Ie.find(function(Qn){return Qn&&(0,E.Z)(Qn)==="object"}),jt=ut&&(0,E.Z)(ut)==="object",Dt=jt?"butt":Wt,pn=ot(st,bt,0,100,gt,On,Lt,Ct,Dt,nn),fn=oe(),qt=function(){var on=0;return Ke.map(function(Un,$n){var ca=Ie[$n]||Ie[Ie.length-1],qn=ot(st,bt,on,Un,gt,On,Lt,ca,Dt,nn);return on+=Un,ee.createElement(Le,{key:$n,color:ca,ptg:Un,radius:We,prefixCls:Nt,gradientId:he,style:qn,strokeLinecap:Dt,strokeWidth:nn,gapDegree:On,ref:function(zt){fn[$n]=zt},size:ue})}).reverse()},xn=function(){var on=Math.round(xt*(Ke[0]/100)),Un=100/xt,$n=0;return new Array(xt).fill(null).map(function(ca,qn){var nt=qn<=on-1?Ie[0]:Ct,zt=nt&&(0,E.Z)(nt)==="object"?"url(#".concat(he,")"):void 0,Pt=ot(st,bt,$n,Un,gt,On,Lt,nt,"butt",nn,He);return $n+=(bt-Pt.strokeDashoffset+He)*100/bt,ee.createElement("circle",{key:qn,className:"".concat(Nt,"-circle-path"),r:We,cx:Jt,cy:Jt,stroke:zt,strokeWidth:nn,opacity:1,style:Pt,ref:function(dn){fn[qn]=dn}})})};return ee.createElement("svg",(0,ze.Z)({className:re()("".concat(Nt,"-circle"),sn),viewBox:"0 0 ".concat(ue," ").concat(ue),style:cn,id:mt,role:"presentation"},Bt),!xt&&ee.createElement("circle",{className:"".concat(Nt,"-circle-trail"),r:We,cx:Jt,cy:Jt,stroke:Ct,strokeLinecap:Dt,strokeWidth:an||nn,style:pn}),xt?xn():qt())},ke=ye,qe={Line:b,Circle:ke},Xe=te(6848),Ve=te(93398);function kt(xe){return!xe||xe<0?0:xe>100?100:xe}function _e(xe){let{success:dt,successPercent:vt}=xe,mt=vt;return dt&&"progress"in dt&&(mt=dt.progress),dt&&"percent"in dt&&(mt=dt.percent),mt}const Ot=xe=>{let{percent:dt,success:vt,successPercent:mt}=xe;const Nt=kt(_e({success:vt,successPercent:mt}));return[Nt,kt(kt(dt)-Nt)]},en=xe=>{let{success:dt={},strokeColor:vt}=xe;const{strokeColor:mt}=dt;return[mt||Ve.presetPrimaryColors.green,vt||null]},Me=(xe,dt,vt)=>{var mt,Nt,Vt,nn;let an=-1,Sn=-1;if(dt==="step"){const On=vt.steps,Lt=vt.strokeWidth;typeof xe=="string"||typeof xe=="undefined"?(an=xe==="small"?2:14,Sn=Lt!=null?Lt:8):typeof xe=="number"?[an,Sn]=[xe,xe]:[an=14,Sn=8]=xe,an*=On}else if(dt==="line"){const On=vt==null?void 0:vt.strokeWidth;typeof xe=="string"||typeof xe=="undefined"?Sn=On||(xe==="small"?6:8):typeof xe=="number"?[an,Sn]=[xe,xe]:[an=-1,Sn=8]=xe}else(dt==="circle"||dt==="dashboard")&&(typeof xe=="string"||typeof xe=="undefined"?[an,Sn]=xe==="small"?[60,60]:[120,120]:typeof xe=="number"?[an,Sn]=[xe,xe]:(an=(Nt=(mt=xe[0])!==null&&mt!==void 0?mt:xe[1])!==null&&Nt!==void 0?Nt:120,Sn=(nn=(Vt=xe[0])!==null&&Vt!==void 0?Vt:xe[1])!==null&&nn!==void 0?nn:120));return[an,Sn]},Ze=3,yt=xe=>Ze/xe*100;var ft=xe=>{const{prefixCls:dt,trailColor:vt=null,strokeLinecap:mt="round",gapPosition:Nt,gapDegree:Vt,width:nn=120,type:an,children:Sn,success:On,size:Lt=nn}=xe,[Ct,Wt]=Me(Lt,"circle");let{strokeWidth:cn}=xe;cn===void 0&&(cn=Math.max(yt(Ct),6));const sn={width:Ct,height:Wt,fontSize:Ct*.15+6},Nn=ee.useMemo(()=>{if(Vt||Vt===0)return Vt;if(an==="dashboard")return 75},[Vt,an]),at=Nt||an==="dashboard"&&"bottom"||void 0,Bt=Object.prototype.toString.call(xe.strokeColor)==="[object Object]",Jt=en({success:On,strokeColor:xe.strokeColor}),yn=re()(`${dt}-inner`,{[`${dt}-circle-gradient`]:Bt}),he=ee.createElement(ke,{percent:Ot(xe),strokeWidth:cn,trailWidth:cn,strokeColor:Jt,strokeLinecap:mt,trailColor:vt,prefixCls:dt,gapDegree:Nn,gapPosition:at});return ee.createElement("div",{className:yn,style:sn},Ct<=20?ee.createElement(Xe.Z,{title:Sn},ee.createElement("span",null,he)):ee.createElement(ee.Fragment,null,he,Sn))},Qt=function(xe,dt){var vt={};for(var mt in xe)Object.prototype.hasOwnProperty.call(xe,mt)&&dt.indexOf(mt)<0&&(vt[mt]=xe[mt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,mt=Object.getOwnPropertySymbols(xe);Nt<mt.length;Nt++)dt.indexOf(mt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,mt[Nt])&&(vt[mt[Nt]]=xe[mt[Nt]]);return vt};const Be=xe=>{let dt=[];return Object.keys(xe).forEach(vt=>{const mt=parseFloat(vt.replace(/%/g,""));isNaN(mt)||dt.push({key:mt,value:xe[vt]})}),dt=dt.sort((vt,mt)=>vt.key-mt.key),dt.map(vt=>{let{key:mt,value:Nt}=vt;return`${Nt} ${mt}%`}).join(", ")},$t=(xe,dt)=>{const{from:vt=Ve.presetPrimaryColors.blue,to:mt=Ve.presetPrimaryColors.blue,direction:Nt=dt==="rtl"?"to left":"to right"}=xe,Vt=Qt(xe,["from","to","direction"]);if(Object.keys(Vt).length!==0){const nn=Be(Vt);return{backgroundImage:`linear-gradient(${Nt}, ${nn})`}}return{backgroundImage:`linear-gradient(${Nt}, ${vt}, ${mt})`}};var St=xe=>{const{prefixCls:dt,direction:vt,percent:mt,size:Nt,strokeWidth:Vt,strokeColor:nn,strokeLinecap:an="round",children:Sn,trailColor:On=null,success:Lt}=xe,Ct=nn&&typeof nn!="string"?$t(nn,vt):{backgroundColor:nn},Wt=an==="square"||an==="butt"?0:void 0,cn={backgroundColor:On||void 0,borderRadius:Wt},sn=Nt!=null?Nt:[-1,Vt||(Nt==="small"?6:8)],[Nn,at]=Me(sn,"line",{strokeWidth:Vt}),Bt=Object.assign({width:`${kt(mt)}%`,height:at,borderRadius:Wt},Ct),Jt=_e(xe),yn={width:`${kt(Jt)}%`,height:at,borderRadius:Wt,backgroundColor:Lt==null?void 0:Lt.strokeColor},he={width:Nn<0?"100%":Nn,height:at};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${dt}-outer`,style:he},ee.createElement("div",{className:`${dt}-inner`,style:cn},ee.createElement("div",{className:`${dt}-bg`,style:Bt}),Jt!==void 0?ee.createElement("div",{className:`${dt}-success-bg`,style:yn}):null)),Sn)},Qe=xe=>{const{size:dt,steps:vt,percent:mt=0,strokeWidth:Nt=8,strokeColor:Vt,trailColor:nn=null,prefixCls:an,children:Sn}=xe,On=Math.round(vt*(mt/100)),Lt=dt==="small"?2:14,Ct=dt!=null?dt:[Lt,Nt],[Wt,cn]=Me(Ct,"step",{steps:vt,strokeWidth:Nt}),sn=Wt/vt,Nn=new Array(vt);for(let at=0;at<vt;at++){const Bt=Array.isArray(Vt)?Vt[at]:Vt;Nn[at]=ee.createElement("div",{key:at,className:re()(`${an}-steps-item`,{[`${an}-steps-item-active`]:at<=On-1}),style:{backgroundColor:at<=On-1?Bt:nn,width:sn,height:cn}})}return ee.createElement("div",{className:`${an}-steps-outer`},Nn,Sn)},Re=te(93083),Pe=te(17313),se=te(83116),Ne=te(37613);const it=xe=>{const dt=xe?"100%":"-100%";return new Re.Keyframes(`antProgress${xe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${dt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${dt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Se=xe=>{const{componentCls:dt,iconCls:vt}=xe;return{[dt]:Object.assign(Object.assign({},(0,Pe.Wf)(xe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:xe.fontSize,marginInlineEnd:xe.marginXS,marginBottom:xe.marginXS},[`${dt}-outer`]:{display:"inline-block",width:"100%"},[`&${dt}-show-info`]:{[`${dt}-outer`]:{marginInlineEnd:`calc(-2em - ${xe.marginXS}px)`,paddingInlineEnd:`calc(2em + ${xe.paddingXS}px)`}},[`${dt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:xe.remainingColor,borderRadius:xe.lineBorderRadius},[`${dt}-inner:not(${dt}-circle-gradient)`]:{[`${dt}-circle-path`]:{stroke:xe.defaultColor}},[`${dt}-success-bg, ${dt}-bg`]:{position:"relative",backgroundColor:xe.defaultColor,borderRadius:xe.lineBorderRadius,transition:`all ${xe.motionDurationSlow} ${xe.motionEaseInOutCirc}`},[`${dt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:xe.colorSuccess},[`${dt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:xe.marginXS,color:xe.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[vt]:{fontSize:xe.fontSize}},[`&${dt}-status-active`]:{[`${dt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:xe.colorBgContainer,borderRadius:xe.lineBorderRadius,opacity:0,animationName:it(),animationDuration:xe.progressActiveMotionDuration,animationTimingFunction:xe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${dt}-rtl${dt}-status-active`]:{[`${dt}-bg::before`]:{animationName:it(!0)}},[`&${dt}-status-exception`]:{[`${dt}-bg`]:{backgroundColor:xe.colorError},[`${dt}-text`]:{color:xe.colorError}},[`&${dt}-status-exception ${dt}-inner:not(${dt}-circle-gradient)`]:{[`${dt}-circle-path`]:{stroke:xe.colorError}},[`&${dt}-status-success`]:{[`${dt}-bg`]:{backgroundColor:xe.colorSuccess},[`${dt}-text`]:{color:xe.colorSuccess}},[`&${dt}-status-success ${dt}-inner:not(${dt}-circle-gradient)`]:{[`${dt}-circle-path`]:{stroke:xe.colorSuccess}}})}},ve=xe=>{const{componentCls:dt,iconCls:vt}=xe;return{[dt]:{[`${dt}-circle-trail`]:{stroke:xe.remainingColor},[`&${dt}-circle ${dt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${dt}-circle ${dt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:xe.circleTextColor,fontSize:xe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[vt]:{fontSize:`${xe.fontSize/xe.fontSizeSM}em`}},[`${dt}-circle&-status-exception`]:{[`${dt}-text`]:{color:xe.colorError}},[`${dt}-circle&-status-success`]:{[`${dt}-text`]:{color:xe.colorSuccess}}},[`${dt}-inline-circle`]:{lineHeight:1,[`${dt}-inner`]:{verticalAlign:"bottom"}}}},tt=xe=>{const{componentCls:dt}=xe;return{[dt]:{[`${dt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:xe.progressStepMinWidth,marginInlineEnd:xe.progressStepMarginInlineEnd,backgroundColor:xe.remainingColor,transition:`all ${xe.motionDurationSlow}`,"&-active":{backgroundColor:xe.defaultColor}}}}}},Oe=xe=>{const{componentCls:dt,iconCls:vt}=xe;return{[dt]:{[`${dt}-small&-line, ${dt}-small&-line ${dt}-text ${vt}`]:{fontSize:xe.fontSizeSM}}}};var Ee=(0,se.Z)("Progress",xe=>{const dt=xe.marginXXS/2,vt=(0,Ne.TS)(xe,{progressStepMarginInlineEnd:dt,progressStepMinWidth:dt,progressActiveMotionDuration:"2.4s"});return[Se(vt),ve(vt),tt(vt),Oe(vt)]},xe=>({circleTextColor:xe.colorText,defaultColor:xe.colorInfo,remainingColor:xe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),et=function(xe,dt){var vt={};for(var mt in xe)Object.prototype.hasOwnProperty.call(xe,mt)&&dt.indexOf(mt)<0&&(vt[mt]=xe[mt]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,mt=Object.getOwnPropertySymbols(xe);Nt<mt.length;Nt++)dt.indexOf(mt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(xe,mt[Nt])&&(vt[mt[Nt]]=xe[mt[Nt]]);return vt};const Kt=null,ht=["normal","exception","active","success"];var Tt=ee.forwardRef((xe,dt)=>{const{prefixCls:vt,className:mt,rootClassName:Nt,steps:Vt,strokeColor:nn,percent:an=0,size:Sn="default",showInfo:On=!0,type:Lt="line",status:Ct,format:Wt,style:cn}=xe,sn=et(xe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Nn=ee.useMemo(()=>{var Ke,Ie;const ut=_e(xe);return parseInt(ut!==void 0?(Ke=ut!=null?ut:0)===null||Ke===void 0?void 0:Ke.toString():(Ie=an!=null?an:0)===null||Ie===void 0?void 0:Ie.toString(),10)},[an,xe.success,xe.successPercent]),at=ee.useMemo(()=>!ht.includes(Ct)&&Nn>=100?"success":Ct||"normal",[Ct,Nn]),{getPrefixCls:Bt,direction:Jt,progress:yn}=ee.useContext(Ue.E_),he=Bt("progress",vt),[We,st]=Ee(he),gt=ee.useMemo(()=>{if(!On)return null;const Ke=_e(xe);let Ie;const ut=Wt||(Dt=>`${Dt}%`),jt=Lt==="line";return Wt||at!=="exception"&&at!=="success"?Ie=ut(kt(an),kt(Ke)):at==="exception"?Ie=jt?ee.createElement(Ge.Z,null):ee.createElement(Ce.Z,null):at==="success"&&(Ie=jt?ee.createElement(ie.Z,null):ee.createElement(we.Z,null)),ee.createElement("span",{className:`${he}-text`,title:typeof Ie=="string"?Ie:void 0},Ie)},[On,an,Nn,at,Lt,he,Wt]),bt=Array.isArray(nn)?nn[0]:nn,Xt=typeof nn=="string"||Array.isArray(nn)?nn:void 0;let xt;Lt==="line"?xt=Vt?ee.createElement(Qe,Object.assign({},xe,{strokeColor:Xt,prefixCls:he,steps:Vt}),gt):ee.createElement(St,Object.assign({},xe,{strokeColor:bt,prefixCls:he,direction:Jt}),gt):(Lt==="circle"||Lt==="dashboard")&&(xt=ee.createElement(ft,Object.assign({},xe,{strokeColor:bt,prefixCls:he,progressStatus:at}),gt));const He=re()(he,`${he}-status-${at}`,`${he}-${Lt==="dashboard"&&"circle"||Vt&&"steps"||Lt}`,{[`${he}-inline-circle`]:Lt==="circle"&&Me(Sn,"circle")[0]<=20,[`${he}-show-info`]:On,[`${he}-${Sn}`]:typeof Sn=="string",[`${he}-rtl`]:Jt==="rtl"},yn==null?void 0:yn.className,mt,Nt,st);return We(ee.createElement("div",Object.assign({ref:dt,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),cn),className:He,role:"progressbar","aria-valuenow":Nn},(0,$e.Z)(sn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),xt))}),Zt=Tt},13570:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return kt}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ge=we,Ce=te(7657),Fe=function(Ot,en){return ie.createElement(Ce.Z,(0,ee.Z)({},Ot,{ref:en,icon:Ge}))},re=ie.forwardRef(Fe),$e=re,Ue=te(92310),ze=te.n(Ue),Ye=te(400),pt=te(33606),Te=te(37061),oe=te(18929),y=te(10228),a=te(26112);function b(_e,Ot){var en=_e.disabled,Me=_e.prefixCls,Ze=_e.character,yt=_e.characterRender,Ut=_e.index,ft=_e.count,Qt=_e.value,Be=_e.allowHalf,$t=_e.focused,hn=_e.onHover,St=_e.onClick,ct=function(ve){hn(ve,Ut)},Qe=function(ve){St(ve,Ut)},Re=function(ve){ve.keyCode===y.Z.ENTER&&St(ve,Ut)},Pe=Ut+1,se=new Set([Me]);Qt===0&&Ut===0&&$t?se.add("".concat(Me,"-focused")):Be&&Qt+.5>=Pe&&Qt<Pe?(se.add("".concat(Me,"-half")),se.add("".concat(Me,"-active")),$t&&se.add("".concat(Me,"-focused"))):(Pe<=Qt?se.add("".concat(Me,"-full")):se.add("".concat(Me,"-zero")),Pe===Qt&&$t&&se.add("".concat(Me,"-focused")));var Ne=typeof Ze=="function"?Ze(_e):Ze,it=ie.createElement("li",{className:ze()(Array.from(se)),ref:Ot},ie.createElement("div",{onClick:en?null:Qe,onKeyDown:en?null:Re,onMouseMove:en?null:ct,role:"radio","aria-checked":Qt>Ut?"true":"false","aria-posinset":Ut+1,"aria-setsize":ft,tabIndex:en?-1:0},ie.createElement("div",{className:"".concat(Me,"-first")},Ne),ie.createElement("div",{className:"".concat(Me,"-second")},Ne)));return yt&&(it=yt(it,_e)),it}var E=ie.forwardRef(b);function x(){var _e=ie.useRef({});function Ot(Me){return _e.current[Me]}function en(Me){return function(Ze){_e.current[Me]=Ze}}return[Ot,en]}function z(_e){var Ot=_e.pageXOffset,en="scrollLeft";if(typeof Ot!="number"){var Me=_e.document;Ot=Me.documentElement[en],typeof Ot!="number"&&(Ot=Me.body[en])}return Ot}function ne(_e){var Ot,en,Me=_e.ownerDocument,Ze=Me.body,yt=Me&&Me.documentElement,Ut=_e.getBoundingClientRect();return Ot=Ut.left,en=Ut.top,Ot-=yt.clientLeft||Ze.clientLeft||0,en-=yt.clientTop||Ze.clientTop||0,{left:Ot,top:en}}function ae(_e){var Ot=ne(_e),en=_e.ownerDocument,Me=en.defaultView||en.parentWindow;return Ot.left+=z(Me),Ot.left}var le=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(_e,Ot){var en,Me=_e.prefixCls,Ze=Me===void 0?"rc-rate":Me,yt=_e.className,Ut=_e.defaultValue,ft=_e.value,Qt=_e.count,Be=Qt===void 0?5:Qt,$t=_e.allowHalf,hn=$t===void 0?!1:$t,St=_e.allowClear,ct=St===void 0?!0:St,Qe=_e.character,Re=Qe===void 0?"\u2605":Qe,Pe=_e.characterRender,se=_e.disabled,Ne=_e.direction,it=Ne===void 0?"ltr":Ne,Se=_e.tabIndex,ve=Se===void 0?0:Se,tt=_e.autoFocus,Oe=_e.onHoverChange,Ee=_e.onChange,et=_e.onFocus,Kt=_e.onBlur,ht=_e.onKeyDown,It=_e.onMouseLeave,Tt=(0,Te.Z)(_e,le),Zt=x(),xe=(0,pt.Z)(Zt,2),dt=xe[0],vt=xe[1],mt=ie.useRef(null),Nt=function(){if(!se){var Dt;(Dt=mt.current)===null||Dt===void 0||Dt.focus()}};ie.useImperativeHandle(Ot,function(){return{focus:Nt,blur:function(){if(!se){var Dt;(Dt=mt.current)===null||Dt===void 0||Dt.blur()}}}});var Vt=(0,oe.Z)(Ut||0,{value:ft}),nn=(0,pt.Z)(Vt,2),an=nn[0],Sn=nn[1],On=(0,oe.Z)(null),Lt=(0,pt.Z)(On,2),Ct=Lt[0],Wt=Lt[1],cn=function(Dt,pn){var fn=it==="rtl",qt=Dt+1;if(hn){var xn=dt(Dt),Qn=ae(xn),on=xn.clientWidth;(fn&&pn-Qn>on/2||!fn&&pn-Qn<on/2)&&(qt-=.5)}return qt},sn=function(Dt){Sn(Dt),Ee==null||Ee(Dt)},Nn=ie.useState(!1),at=(0,pt.Z)(Nn,2),Bt=at[0],Jt=at[1],yn=function(){Jt(!0),et==null||et()},he=function(){Jt(!1),Kt==null||Kt()},We=ie.useState(null),st=(0,pt.Z)(We,2),gt=st[0],bt=st[1],Xt=function(Dt,pn){var fn=cn(pn,Dt.pageX);fn!==Ct&&(bt(fn),Wt(null)),Oe==null||Oe(fn)},xt=function(Dt){se||(bt(null),Wt(null),Oe==null||Oe(void 0)),Dt&&(It==null||It(Dt))},He=function(Dt,pn){var fn=cn(pn,Dt.pageX),qt=!1;ct&&(qt=fn===an),xt(),sn(qt?0:fn),Wt(qt?fn:null)},Ke=function(Dt){var pn=Dt.keyCode,fn=it==="rtl",qt=an;pn===y.Z.RIGHT&&qt<Be&&!fn?(hn?qt+=.5:qt+=1,sn(qt),Dt.preventDefault()):pn===y.Z.LEFT&&qt>0&&!fn||pn===y.Z.RIGHT&&qt>0&&fn?(hn?qt-=.5:qt-=1,sn(qt),Dt.preventDefault()):pn===y.Z.LEFT&&qt<Be&&fn&&(hn?qt+=.5:qt+=1,sn(qt),Dt.preventDefault()),ht==null||ht(Dt)};ie.useEffect(function(){tt&&!se&&Nt()},[]);var Ie=new Array(Be).fill(0).map(function(jt,Dt){return ie.createElement(E,{ref:vt(Dt),index:Dt,count:Be,disabled:se,prefixCls:"".concat(Ze,"-star"),allowHalf:hn,value:gt===null?an:gt,onClick:He,onHover:Xt,key:jt||Dt,character:Re,characterRender:Pe,focused:Bt})}),ut=ze()(Ze,yt,(en={},(0,Ye.Z)(en,"".concat(Ze,"-disabled"),se),(0,Ye.Z)(en,"".concat(Ze,"-rtl"),it==="rtl"),en));return ie.createElement("ul",(0,ee.Z)({className:ut,onMouseLeave:xt,tabIndex:se?-1:ve,onFocus:se?null:yn,onBlur:se?null:he,onKeyDown:se?null:Ke,ref:mt,role:"radiogroup"},(0,a.Z)(Tt,{aria:!0,data:!0,attr:!0})),Ie)}var ge=ie.forwardRef(de),be=ge,fe=te(36355),Le=te(6848),ue=te(17313),ot=te(83116),De=te(37613);const Je=_e=>{const{componentCls:Ot}=_e;return{[`${Ot}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:_e.marginXS},"> div":{transition:`all ${_e.motionDurationMid}, outline 0s`,"&:hover":{transform:_e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${_e.lineWidth}px dashed ${_e.starColor}`,transform:_e.starHoverScale}},"&-first, &-second":{color:_e.starBg,transition:`all ${_e.motionDurationMid}`,userSelect:"none",[_e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ot}-star-first, &-half ${Ot}-star-second`]:{opacity:1},[`&-half ${Ot}-star-first, &-full ${Ot}-star-second`]:{color:"inherit"}}}},ye=_e=>({[`&-rtl${_e.componentCls}`]:{direction:"rtl"}}),ke=_e=>{const{componentCls:Ot}=_e;return{[Ot]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ue.Wf)(_e)),{display:"inline-block",margin:0,padding:0,color:_e.starColor,fontSize:_e.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Ot} ${Ot}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Je(_e)),{[`+ ${Ot}-text`]:{display:"inline-block",marginInlineStart:_e.marginXS,fontSize:_e.fontSize}}),ye(_e))}};var qe=(0,ot.Z)("Rate",_e=>{const Ot=(0,De.TS)(_e,{});return[ke(Ot)]},_e=>({starColor:_e.yellow6,starSize:_e.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:_e.colorFillContent})),Xe=function(_e,Ot){var en={};for(var Me in _e)Object.prototype.hasOwnProperty.call(_e,Me)&&Ot.indexOf(Me)<0&&(en[Me]=_e[Me]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Me=Object.getOwnPropertySymbols(_e);Ze<Me.length;Ze++)Ot.indexOf(Me[Ze])<0&&Object.prototype.propertyIsEnumerable.call(_e,Me[Ze])&&(en[Me[Ze]]=_e[Me[Ze]]);return en},kt=ie.forwardRef((_e,Ot)=>{const{prefixCls:en,className:Me,rootClassName:Ze,style:yt,tooltips:Ut,character:ft=ie.createElement($e,null)}=_e,Qt=Xe(_e,["prefixCls","className","rootClassName","style","tooltips","character"]),Be=(se,Ne)=>{let{index:it}=Ne;return Ut?ie.createElement(Le.Z,{title:Ut[it]},se):se},{getPrefixCls:$t,direction:hn,rate:St}=ie.useContext(fe.E_),ct=$t("rate",en),[Qe,Re]=qe(ct),Pe=Object.assign(Object.assign({},St==null?void 0:St.style),yt);return Qe(ie.createElement(be,Object.assign({ref:Ot,character:ft,characterRender:Be},Qt,{className:ze()(Me,Ze,Re,St==null?void 0:St.className),style:Pe,prefixCls:ct,direction:hn})))})},61621:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return Re}});var ee=te(92310),ie=te.n(ee),we=te(59301),Ge=te(36355),Ce=te(2738),re=Pe=>{const{prefixCls:se,className:Ne,style:it,size:Se,shape:ve}=Pe,tt=ie()({[`${se}-lg`]:Se==="large",[`${se}-sm`]:Se==="small"}),Oe=ie()({[`${se}-circle`]:ve==="circle",[`${se}-square`]:ve==="square",[`${se}-round`]:ve==="round"}),Ee=we.useMemo(()=>typeof Se=="number"?{width:Se,height:Se,lineHeight:`${Se}px`}:{},[Se]);return we.createElement("span",{className:ie()(se,tt,Oe,Ne),style:Object.assign(Object.assign({},Ee),it)})},$e=te(93083),Ue=te(83116),ze=te(37613);const Ye=new $e.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),pt=Pe=>({height:Pe,lineHeight:`${Pe}px`}),Te=Pe=>Object.assign({width:Pe},pt(Pe)),oe=Pe=>({background:Pe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ye,animationDuration:Pe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Pe=>Object.assign({width:Pe*5,minWidth:Pe*5},pt(Pe)),a=Pe=>{const{skeletonAvatarCls:se,gradientFromColor:Ne,controlHeight:it,controlHeightLG:Se,controlHeightSM:ve}=Pe;return{[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ne},Te(it)),[`${se}${se}-circle`]:{borderRadius:"50%"},[`${se}${se}-lg`]:Object.assign({},Te(Se)),[`${se}${se}-sm`]:Object.assign({},Te(ve))}},b=Pe=>{const{controlHeight:se,borderRadiusSM:Ne,skeletonInputCls:it,controlHeightLG:Se,controlHeightSM:ve,gradientFromColor:tt}=Pe;return{[`${it}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:tt,borderRadius:Ne},y(se)),[`${it}-lg`]:Object.assign({},y(Se)),[`${it}-sm`]:Object.assign({},y(ve))}},E=Pe=>Object.assign({width:Pe},pt(Pe)),x=Pe=>{const{skeletonImageCls:se,imageSizeBase:Ne,gradientFromColor:it,borderRadiusSM:Se}=Pe;return{[`${se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:it,borderRadius:Se},E(Ne*2)),{[`${se}-path`]:{fill:"#bfbfbf"},[`${se}-svg`]:Object.assign(Object.assign({},E(Ne)),{maxWidth:Ne*4,maxHeight:Ne*4}),[`${se}-svg${se}-svg-circle`]:{borderRadius:"50%"}}),[`${se}${se}-circle`]:{borderRadius:"50%"}}},z=(Pe,se,Ne)=>{const{skeletonButtonCls:it}=Pe;return{[`${Ne}${it}-circle`]:{width:se,minWidth:se,borderRadius:"50%"},[`${Ne}${it}-round`]:{borderRadius:se}}},ne=Pe=>Object.assign({width:Pe*2,minWidth:Pe*2},pt(Pe)),ae=Pe=>{const{borderRadiusSM:se,skeletonButtonCls:Ne,controlHeight:it,controlHeightLG:Se,controlHeightSM:ve,gradientFromColor:tt}=Pe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:tt,borderRadius:se,width:it*2,minWidth:it*2},ne(it))},z(Pe,it,Ne)),{[`${Ne}-lg`]:Object.assign({},ne(Se))}),z(Pe,Se,`${Ne}-lg`)),{[`${Ne}-sm`]:Object.assign({},ne(ve))}),z(Pe,ve,`${Ne}-sm`))},le=Pe=>{const{componentCls:se,skeletonAvatarCls:Ne,skeletonTitleCls:it,skeletonParagraphCls:Se,skeletonButtonCls:ve,skeletonInputCls:tt,skeletonImageCls:Oe,controlHeight:Ee,controlHeightLG:et,controlHeightSM:Kt,gradientFromColor:ht,padding:It,marginSM:Tt,borderRadius:Zt,titleHeight:xe,blockRadius:dt,paragraphLiHeight:vt,controlHeightXS:mt,paragraphMarginTop:Nt}=Pe;return{[`${se}`]:{display:"table",width:"100%",[`${se}-header`]:{display:"table-cell",paddingInlineEnd:It,verticalAlign:"top",[`${Ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ht},Te(Ee)),[`${Ne}-circle`]:{borderRadius:"50%"},[`${Ne}-lg`]:Object.assign({},Te(et)),[`${Ne}-sm`]:Object.assign({},Te(Kt))},[`${se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${it}`]:{width:"100%",height:xe,background:ht,borderRadius:dt,[`+ ${Se}`]:{marginBlockStart:Kt}},[`${Se}`]:{padding:0,"> li":{width:"100%",height:vt,listStyle:"none",background:ht,borderRadius:dt,"+ li":{marginBlockStart:mt}}},[`${Se}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${se}-content`]:{[`${it}, ${Se} > li`]:{borderRadius:Zt}}},[`${se}-with-avatar ${se}-content`]:{[`${it}`]:{marginBlockStart:Tt,[`+ ${Se}`]:{marginBlockStart:Nt}}},[`${se}${se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(Pe)),a(Pe)),b(Pe)),x(Pe)),[`${se}${se}-block`]:{width:"100%",[`${ve}`]:{width:"100%"},[`${tt}`]:{width:"100%"}},[`${se}${se}-active`]:{[`
|
|
${it},
|
|
${Se} > li,
|
|
${Ne},
|
|
${ve},
|
|
${tt},
|
|
${Oe}
|
|
`]:Object.assign({},oe(Pe))}}};var de=(0,Ue.Z)("Skeleton",Pe=>{const{componentCls:se}=Pe,Ne=(0,ze.TS)(Pe,{skeletonAvatarCls:`${se}-avatar`,skeletonTitleCls:`${se}-title`,skeletonParagraphCls:`${se}-paragraph`,skeletonButtonCls:`${se}-button`,skeletonInputCls:`${se}-input`,skeletonImageCls:`${se}-image`,imageSizeBase:Pe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Pe.gradientFromColor} 25%, ${Pe.gradientToColor} 37%, ${Pe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[le(Ne)]},Pe=>{const{colorFillContent:se,colorFill:Ne}=Pe,it=se,Se=Ne;return{color:it,colorGradientEnd:Se,gradientFromColor:it,gradientToColor:Se,titleHeight:Pe.controlHeight/2,blockRadius:Pe.borderRadiusSM,paragraphMarginTop:Pe.marginLG+Pe.marginXXS,paragraphLiHeight:Pe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=Pe=>{const{prefixCls:se,className:Ne,rootClassName:it,active:Se,shape:ve="circle",size:tt="default"}=Pe,{getPrefixCls:Oe}=we.useContext(Ge.E_),Ee=Oe("skeleton",se),[et,Kt]=de(Ee),ht=(0,Ce.Z)(Pe,["prefixCls","className"]),It=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se},Ne,it,Kt);return et(we.createElement("div",{className:It},we.createElement(re,Object.assign({prefixCls:`${Ee}-avatar`,shape:ve,size:tt},ht))))},Le=Pe=>{const{prefixCls:se,className:Ne,rootClassName:it,active:Se,block:ve=!1,size:tt="default"}=Pe,{getPrefixCls:Oe}=we.useContext(Ge.E_),Ee=Oe("skeleton",se),[et,Kt]=de(Ee),ht=(0,Ce.Z)(Pe,["prefixCls"]),It=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se,[`${Ee}-block`]:ve},Ne,it,Kt);return et(we.createElement("div",{className:It},we.createElement(re,Object.assign({prefixCls:`${Ee}-button`,size:tt},ht))))};const ue="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 De=Pe=>{const{prefixCls:se,className:Ne,rootClassName:it,style:Se,active:ve}=Pe,{getPrefixCls:tt}=we.useContext(Ge.E_),Oe=tt("skeleton",se),[Ee,et]=de(Oe),Kt=ie()(Oe,`${Oe}-element`,{[`${Oe}-active`]:ve},Ne,it,et);return Ee(we.createElement("div",{className:Kt},we.createElement("div",{className:ie()(`${Oe}-image`,Ne),style:Se},we.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Oe}-image-svg`},we.createElement("path",{d:ue,className:`${Oe}-image-path`})))))},ye=Pe=>{const{prefixCls:se,className:Ne,rootClassName:it,active:Se,block:ve,size:tt="default"}=Pe,{getPrefixCls:Oe}=we.useContext(Ge.E_),Ee=Oe("skeleton",se),[et,Kt]=de(Ee),ht=(0,Ce.Z)(Pe,["prefixCls"]),It=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se,[`${Ee}-block`]:ve},Ne,it,Kt);return et(we.createElement("div",{className:It},we.createElement(re,Object.assign({prefixCls:`${Ee}-input`,size:tt},ht))))},ke=te(92413),qe={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"},Xe=qe,Ve=te(7657),kt=function(se,Ne){return we.createElement(Ve.Z,(0,ke.Z)({},se,{ref:Ne,icon:Xe}))},_e=we.forwardRef(kt),Ot=_e,Me=Pe=>{const{prefixCls:se,className:Ne,rootClassName:it,style:Se,active:ve,children:tt}=Pe,{getPrefixCls:Oe}=we.useContext(Ge.E_),Ee=Oe("skeleton",se),[et,Kt]=de(Ee),ht=ie()(Ee,`${Ee}-element`,{[`${Ee}-active`]:ve},Kt,Ne,it),It=tt!=null?tt:we.createElement(Ot,null);return et(we.createElement("div",{className:ht},we.createElement("div",{className:ie()(`${Ee}-image`,Ne),style:Se},It)))},Ze=te(26407),Ut=Pe=>{const se=Oe=>{const{width:Ee,rows:et=2}=Pe;if(Array.isArray(Ee))return Ee[Oe];if(et-1===Oe)return Ee},{prefixCls:Ne,className:it,style:Se,rows:ve}=Pe,tt=(0,Ze.Z)(Array(ve)).map((Oe,Ee)=>we.createElement("li",{key:Ee,style:{width:se(Ee)}}));return we.createElement("ul",{className:ie()(Ne,it),style:Se},tt)},Qt=Pe=>{let{prefixCls:se,className:Ne,width:it,style:Se}=Pe;return we.createElement("h3",{className:ie()(se,Ne),style:Object.assign({width:it},Se)})};function Be(Pe){return Pe&&typeof Pe=="object"?Pe:{}}function $t(Pe,se){return Pe&&!se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function hn(Pe,se){return!Pe&&se?{width:"38%"}:Pe&&se?{width:"50%"}:{}}function St(Pe,se){const Ne={};return(!Pe||!se)&&(Ne.width="61%"),!Pe&&se?Ne.rows=3:Ne.rows=2,Ne}const ct=Pe=>{const{prefixCls:se,loading:Ne,className:it,rootClassName:Se,style:ve,children:tt,avatar:Oe=!1,title:Ee=!0,paragraph:et=!0,active:Kt,round:ht}=Pe,{getPrefixCls:It,direction:Tt,skeleton:Zt}=we.useContext(Ge.E_),xe=It("skeleton",se),[dt,vt]=de(xe);if(Ne||!("loading"in Pe)){const mt=!!Oe,Nt=!!Ee,Vt=!!et;let nn;if(mt){const On=Object.assign(Object.assign({prefixCls:`${xe}-avatar`},$t(Nt,Vt)),Be(Oe));nn=we.createElement("div",{className:`${xe}-header`},we.createElement(re,Object.assign({},On)))}let an;if(Nt||Vt){let On;if(Nt){const Ct=Object.assign(Object.assign({prefixCls:`${xe}-title`},hn(mt,Vt)),Be(Ee));On=we.createElement(Qt,Object.assign({},Ct))}let Lt;if(Vt){const Ct=Object.assign(Object.assign({prefixCls:`${xe}-paragraph`},St(mt,Nt)),Be(et));Lt=we.createElement(Ut,Object.assign({},Ct))}an=we.createElement("div",{className:`${xe}-content`},On,Lt)}const Sn=ie()(xe,{[`${xe}-with-avatar`]:mt,[`${xe}-active`]:Kt,[`${xe}-rtl`]:Tt==="rtl",[`${xe}-round`]:ht},Zt==null?void 0:Zt.className,it,Se,vt);return dt(we.createElement("div",{className:Sn,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),ve)},nn,an))}return typeof tt!="undefined"?tt:null};ct.Button=Le,ct.Avatar=be,ct.Input=ye,ct.Image=De,ct.Node=Me;var Qe=ct,Re=Qe},31797:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return de}});var ee=te(59301),ie=te(56762),we=te(92343),Ge=te(92310),Ce=te.n(Ge),Fe=te(36355),re=te(61621),Ue=ge=>{const{value:be,formatter:fe,precision:Le,decimalSeparator:ue,groupSeparator:ot="",prefixCls:De}=ge;let Je;if(typeof fe=="function")Je=fe(be);else{const ye=String(be),ke=ye.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||ye==="-")Je=ye;else{const qe=ke[1];let Xe=ke[2]||"0",Ve=ke[4]||"";Xe=Xe.replace(/\B(?=(\d{3})+(?!\d))/g,ot),typeof Le=="number"&&(Ve=Ve.padEnd(Le,"0").slice(0,Le>0?Le:0)),Ve&&(Ve=`${ue}${Ve}`),Je=[ee.createElement("span",{key:"int",className:`${De}-content-value-int`},qe,Xe),Ve&&ee.createElement("span",{key:"decimal",className:`${De}-content-value-decimal`},Ve)]}}return ee.createElement("span",{className:`${De}-content-value`},Je)},ze=te(17313),Ye=te(83116),pt=te(37613);const Te=ge=>{const{componentCls:be,marginXXS:fe,padding:Le,colorTextDescription:ue,titleFontSize:ot,colorTextHeading:De,contentFontSize:Je,fontFamily:ye}=ge;return{[`${be}`]:Object.assign(Object.assign({},(0,ze.Wf)(ge)),{[`${be}-title`]:{marginBottom:fe,color:ue,fontSize:ot},[`${be}-skeleton`]:{paddingTop:Le},[`${be}-content`]:{color:De,fontSize:Je,fontFamily:ye,[`${be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${be}-content-prefix, ${be}-content-suffix`]:{display:"inline-block"},[`${be}-content-prefix`]:{marginInlineEnd:fe},[`${be}-content-suffix`]:{marginInlineStart:fe}}})}};var oe=(0,Ye.Z)("Statistic",ge=>{const be=(0,pt.TS)(ge,{});return[Te(be)]},ge=>{const{fontSizeHeading3:be,fontSize:fe}=ge;return{titleFontSize:fe,contentFontSize:be}}),a=ge=>{const{prefixCls:be,className:fe,rootClassName:Le,style:ue,valueStyle:ot,value:De=0,title:Je,valueRender:ye,prefix:ke,suffix:qe,loading:Xe=!1,onMouseEnter:Ve,onMouseLeave:kt,decimalSeparator:_e=".",groupSeparator:Ot=","}=ge,{getPrefixCls:en,direction:Me,statistic:Ze}=ee.useContext(Fe.E_),yt=en("statistic",be),[Ut,ft]=oe(yt),Qt=ee.createElement(Ue,Object.assign({decimalSeparator:_e,groupSeparator:Ot,prefixCls:yt},ge,{value:De})),Be=Ce()(yt,{[`${yt}-rtl`]:Me==="rtl"},Ze==null?void 0:Ze.className,fe,Le,ft);return Ut(ee.createElement("div",{className:Be,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ue),onMouseEnter:Ve,onMouseLeave:kt},Je&&ee.createElement("div",{className:`${yt}-title`},Je),ee.createElement(re.Z,{paragraph:!1,loading:Xe,className:`${yt}-skeleton`},ee.createElement("div",{style:ot,className:`${yt}-content`},ke&&ee.createElement("span",{className:`${yt}-content-prefix`},ke),ye?ye(Qt):Qt,qe&&ee.createElement("span",{className:`${yt}-content-suffix`},qe)))))};const b=[["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 E(ge,be){let fe=ge;const Le=/\[[^\]]*]/g,ue=(be.match(Le)||[]).map(ye=>ye.slice(1,-1)),ot=be.replace(Le,"[]"),De=b.reduce((ye,ke)=>{let[qe,Xe]=ke;if(ye.includes(qe)){const Ve=Math.floor(fe/Xe);return fe-=Ve*Xe,ye.replace(new RegExp(`${qe}+`,"g"),kt=>{const _e=kt.length;return Ve.toString().padStart(_e,"0")})}return ye},ot);let Je=0;return De.replace(Le,()=>{const ye=ue[Je];return Je+=1,ye})}function x(ge,be){const{format:fe=""}=be,Le=new Date(ge).getTime(),ue=Date.now(),ot=Math.max(Le-ue,0);return E(ot,fe)}const z=1e3/30;function ne(ge){return new Date(ge).getTime()}const ae=ge=>{const{value:be,format:fe="HH:mm:ss",onChange:Le,onFinish:ue}=ge,ot=(0,ie.Z)(),De=ee.useRef(null),Je=()=>{ue==null||ue(),De.current&&(clearInterval(De.current),De.current=null)},ye=()=>{const Xe=ne(be);Xe>=Date.now()&&(De.current=setInterval(()=>{ot(),Le==null||Le(Xe-Date.now()),Xe<Date.now()&&Je()},z))};ee.useEffect(()=>(ye(),()=>{De.current&&(clearInterval(De.current),De.current=null)}),[be]);const ke=(Xe,Ve)=>x(Xe,Object.assign(Object.assign({},Ve),{format:fe})),qe=Xe=>(0,we.Tm)(Xe,{title:void 0});return ee.createElement(a,Object.assign({},ge,{valueRender:qe,formatter:ke}))};var le=ee.memo(ae);a.Countdown=le;var de=a},15969:function(Ft,Rt,te){"use strict";te.d(Rt,{N:function(){return ee}});const ee=ie=>({color:ie.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ie.motionDurationSlow}`,"&:focus, &:hover":{color:ie.colorLinkHover},"&:active":{color:ie.colorLinkActive}})},1710:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return wl}});var ee={},ie="rc-table-internal-hook",we=te(33606),Ge=te(6089),Ce=te(34280),Fe=te(13697),re=te(59301),$e=te(4676);function Ue(ce){var me=re.createContext(void 0),Ae=function(rt){var lt=rt.value,wt=rt.children,At=re.useRef(lt);At.current=lt;var Et=re.useState(function(){return{getValue:function(){return At.current},listeners:new Set}}),Yt=(0,we.Z)(Et,1),gn=Yt[0];return(0,Ce.Z)(function(){(0,$e.unstable_batchedUpdates)(function(){gn.listeners.forEach(function(tn){tn(lt)})})},[lt]),re.createElement(me.Provider,{value:gn},wt)};return{Context:me,Provider:Ae,defaultValue:ce}}function ze(ce,me){var Ae=(0,Ge.Z)(typeof me=="function"?me:function(tn){if(me===void 0)return tn;if(!Array.isArray(me))return tn[me];var An={};return me.forEach(function(Bn){An[Bn]=tn[Bn]}),An}),je=re.useContext(ce==null?void 0:ce.Context),rt=je||{},lt=rt.listeners,wt=rt.getValue,At=re.useRef();At.current=Ae(je?wt():ce==null?void 0:ce.defaultValue);var Et=re.useState({}),Yt=(0,we.Z)(Et,2),gn=Yt[1];return(0,Ce.Z)(function(){if(!je)return;function tn(An){var Bn=Ae(An);(0,Fe.Z)(At.current,Bn,!0)||gn({})}return lt.add(tn),function(){lt.delete(tn)}},[je]),At.current}var Ye=te(92413),pt=te(8654);function Te(){var ce=re.createContext(null);function me(){return re.useContext(ce)}function Ae(rt,lt){var wt=(0,pt.Yr)(rt),At=function(Yt,gn){var tn=wt?{ref:gn}:{},An=re.useRef(0),Bn=re.useRef(Yt),wn=me();return wn!==null?re.createElement(rt,(0,Ye.Z)({},Yt,tn)):((!lt||lt(Bn.current,Yt))&&(An.current+=1),Bn.current=Yt,re.createElement(ce.Provider,{value:An.current},re.createElement(rt,(0,Ye.Z)({},Yt,tn))))};return wt?re.forwardRef(At):At}function je(rt,lt){var wt=(0,pt.Yr)(rt),At=function(Yt,gn){var tn=wt?{ref:gn}:{};return me(),re.createElement(rt,(0,Ye.Z)({},Yt,tn))};return wt?re.memo(re.forwardRef(At),lt):re.memo(At,lt)}return{makeImmutable:Ae,responseImmutable:je,useImmutableMark:me}}var oe=Te(),y=oe.makeImmutable,a=oe.responseImmutable,b=oe.useImmutableMark,E=Te(),x=E.makeImmutable,z=E.responseImmutable,ne=E.useImmutableMark,ae=Ue(),le=ae;function de(ce,me){var Ae=re.useRef(0);Ae.current+=1;var je=re.useRef(ce),rt=[];Object.keys(ce||{}).map(function(wt){var At;(ce==null?void 0:ce[wt])!==((At=je.current)===null||At===void 0?void 0:At[wt])&&rt.push(wt)}),je.current=ce;var lt=re.useRef([]);return rt.length&&(lt.current=rt),re.useDebugValue(Ae.current),re.useDebugValue(lt.current.join(", ")),me&&console.log("".concat(me,":"),Ae.current,lt.current),Ae.current}var ge=null,be=re.memo(function(){var ce=de();return re.createElement("h1",null,"Render Times: ",ce)});be.displayName="RenderBlock";var fe=te(39559),Le=te(33708),ue=te(400),ot=te(92310),De=te.n(ot),Je=te(80547),ye=te(97938),ke=te(48736),qe=re.createContext({renderWithProps:!1}),Xe=qe,Ve="RC_TABLE_KEY";function kt(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function _e(ce){var me=[],Ae={};return ce.forEach(function(je){for(var rt=je||{},lt=rt.key,wt=rt.dataIndex,At=lt||kt(wt).join("-")||Ve;Ae[At];)At="".concat(At,"_next");Ae[At]=!0,me.push(At)}),me}function Ot(ce){return ce!=null}function en(ce){return ce&&(0,fe.Z)(ce)==="object"&&!Array.isArray(ce)&&!re.isValidElement(ce)}function Me(ce,me,Ae,je,rt,lt){var wt=re.useContext(Xe),At=ne(),Et=(0,Je.Z)(function(){if(Ot(je))return[je];var Yt=me==null||me===""?[]:Array.isArray(me)?me:[me],gn=(0,ye.Z)(ce,Yt),tn=gn,An=void 0;if(rt){var Bn=rt(gn,ce,Ae);en(Bn)?(tn=Bn.children,An=Bn.props,wt.renderWithProps=!0):tn=Bn}return[tn,An]},[At,ce,je,me,rt,Ae],function(Yt,gn){if(lt){var tn=(0,we.Z)(Yt,2),An=tn[1],Bn=(0,we.Z)(gn,2),wn=Bn[1];return lt(wn,An)}return wt.renderWithProps?!0:!(0,Fe.Z)(Yt,gn,!0)});return Et}function Ze(ce,me,Ae,je){var rt=ce+me-1;return ce<=je&&rt>=Ae}function yt(ce,me){return ze(le,function(Ae){var je=Ze(ce,me||1,Ae.hoverStartRow,Ae.hoverEndRow);return[je,Ae.onHover]})}var Ut=function(me){var Ae=me.ellipsis,je=me.rowType,rt=me.children,lt,wt=Ae===!0?{showTitle:!0}:Ae;return wt&&(wt.showTitle||je==="header")&&(typeof rt=="string"||typeof rt=="number"?lt=rt.toString():re.isValidElement(rt)&&typeof rt.props.children=="string"&&(lt=rt.props.children)),lt};function ft(ce){var me,Ae,je,rt,lt,wt,At,Et,Yt=ce.component,gn=ce.children,tn=ce.ellipsis,An=ce.scope,Bn=ce.prefixCls,wn=ce.className,Gn=ce.align,Zn=ce.record,Kn=ce.render,zn=ce.dataIndex,Yn=ce.renderIndex,fa=ce.shouldCellUpdate,va=ce.index,la=ce.rowType,La=ce.colSpan,Ra=ce.rowSpan,ea=ce.fixLeft,sa=ce.fixRight,ta=ce.firstFixLeft,Jn=ce.lastFixLeft,ra=ce.firstFixRight,Fa=ce.lastFixRight,Ua=ce.appendNode,Ia=ce.additionalProps,Sa=Ia===void 0?{}:Ia,Va=ce.isSticky,Ja="".concat(Bn,"-cell"),ho=ze(le,["supportSticky","allColumnsFixedLeft"]),no=ho.supportSticky,Bo=ho.allColumnsFixedLeft,wo=Me(Zn,zn,Yn,gn,Kn,fa),Ta=(0,we.Z)(wo,2),Lo=Ta[0],oo=Ta[1],Eo={},yo=typeof ea=="number"&&no,Xo=typeof sa=="number"&&no;yo&&(Eo.position="sticky",Eo.left=ea),Xo&&(Eo.position="sticky",Eo.right=sa);var ba=(me=(Ae=(je=oo==null?void 0:oo.colSpan)!==null&&je!==void 0?je:Sa.colSpan)!==null&&Ae!==void 0?Ae:La)!==null&&me!==void 0?me:1,Ea=(rt=(lt=(wt=oo==null?void 0:oo.rowSpan)!==null&&wt!==void 0?wt:Sa.rowSpan)!==null&<!==void 0?lt:Ra)!==null&&rt!==void 0?rt:1,Pa=yt(va,Ea),ga=(0,we.Z)(Pa,2),ro=ga[0],ma=ga[1],Oa=function(Oo){var $o;Zn&&ma(va,va+Ea-1),Sa==null||($o=Sa.onMouseEnter)===null||$o===void 0||$o.call(Sa,Oo)},_a=function(Oo){var $o;Zn&&ma(-1,-1),Sa==null||($o=Sa.onMouseLeave)===null||$o===void 0||$o.call(Sa,Oo)};if(ba===0||Ea===0)return null;var Ya=(At=Sa.title)!==null&&At!==void 0?At:Ut({rowType:la,ellipsis:tn,children:Lo}),Ko=De()(Ja,wn,(Et={},(0,ue.Z)(Et,"".concat(Ja,"-fix-left"),yo&&no),(0,ue.Z)(Et,"".concat(Ja,"-fix-left-first"),ta&&no),(0,ue.Z)(Et,"".concat(Ja,"-fix-left-last"),Jn&&no),(0,ue.Z)(Et,"".concat(Ja,"-fix-left-all"),Jn&&Bo&&no),(0,ue.Z)(Et,"".concat(Ja,"-fix-right"),Xo&&no),(0,ue.Z)(Et,"".concat(Ja,"-fix-right-first"),ra&&no),(0,ue.Z)(Et,"".concat(Ja,"-fix-right-last"),Fa&&no),(0,ue.Z)(Et,"".concat(Ja,"-ellipsis"),tn),(0,ue.Z)(Et,"".concat(Ja,"-with-append"),Ua),(0,ue.Z)(Et,"".concat(Ja,"-fix-sticky"),(yo||Xo)&&Va&&no),(0,ue.Z)(Et,"".concat(Ja,"-row-hover"),!oo&&ro),Et),Sa.className,oo==null?void 0:oo.className),Zo={};Gn&&(Zo.textAlign=Gn);var lr=(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},Eo),Sa.style),Zo),oo==null?void 0:oo.style),Do=Lo;return(0,fe.Z)(Do)==="object"&&!Array.isArray(Do)&&!re.isValidElement(Do)&&(Do=null),tn&&(Jn||ra)&&(Do=re.createElement("span",{className:"".concat(Ja,"-content")},Do)),re.createElement(Yt,(0,Ye.Z)({},oo,Sa,{className:Ko,style:lr,title:Ya,scope:An,onMouseEnter:Oa,onMouseLeave:_a,colSpan:ba!==1?ba:null,rowSpan:Ea!==1?Ea:null}),Ua,Do)}var Qt=re.memo(ft);function Be(ce,me,Ae,je,rt,lt){var wt=Ae[ce]||{},At=Ae[me]||{},Et,Yt;wt.fixed==="left"?Et=je.left[rt==="rtl"?me:ce]:At.fixed==="right"&&(Yt=je.right[rt==="rtl"?ce:me]);var gn=!1,tn=!1,An=!1,Bn=!1,wn=Ae[me+1],Gn=Ae[ce-1],Zn=!(lt!=null&<.children);if(rt==="rtl"){if(Et!==void 0){var Kn=Gn&&Gn.fixed==="left";Bn=!Kn&&Zn}else if(Yt!==void 0){var zn=wn&&wn.fixed==="right";An=!zn&&Zn}}else if(Et!==void 0){var Yn=wn&&wn.fixed==="left";gn=!Yn&&Zn}else if(Yt!==void 0){var fa=Gn&&Gn.fixed==="right";tn=!fa&&Zn}return{fixLeft:Et,fixRight:Yt,lastFixLeft:gn,firstFixRight:tn,lastFixRight:An,firstFixLeft:Bn,isSticky:je.isSticky}}var $t=re.createContext({}),hn=$t;function St(ce){var me=ce.className,Ae=ce.index,je=ce.children,rt=ce.colSpan,lt=rt===void 0?1:rt,wt=ce.rowSpan,At=ce.align,Et=ze(le,["prefixCls","direction"]),Yt=Et.prefixCls,gn=Et.direction,tn=re.useContext(hn),An=tn.scrollColumnIndex,Bn=tn.stickyOffsets,wn=tn.flattenColumns,Gn=tn.columns,Zn=Ae+lt-1,Kn=Zn+1===An?lt+1:lt,zn=Be(Ae,Ae+Kn-1,wn,Bn,gn,Gn==null?void 0:Gn[Ae]);return re.createElement(Qt,(0,Ye.Z)({className:me,index:Ae,component:"td",prefixCls:Yt,record:null,dataIndex:null,align:At,colSpan:Kn,rowSpan:wt,render:function(){return je}},zn))}var ct=te(37061),Qe=["children"];function Re(ce){var me=ce.children,Ae=(0,ct.Z)(ce,Qe);return re.createElement("tr",Ae,me)}function Pe(ce){var me=ce.children;return me}Pe.Row=Re,Pe.Cell=St;var se=Pe;function Ne(ce){var me=ce.children,Ae=ce.stickyOffsets,je=ce.flattenColumns,rt=ce.columns,lt=ze(le,"prefixCls"),wt=je.length-1,At=je[wt],Et=re.useMemo(function(){return{stickyOffsets:Ae,flattenColumns:je,scrollColumnIndex:At!=null&&At.scrollbar?wt:null,columns:rt}},[At,je,wt,Ae,rt]);return re.createElement(hn.Provider,{value:Et},re.createElement("tfoot",{className:"".concat(lt,"-summary")},me))}var it=z(Ne),Se=se,ve=te(70425),tt=te(29301),Oe=te(29194),Ee=te(24514),et=te(75152),Kt=te(26112);function ht(ce,me,Ae,je,rt,lt,wt){ce.push({record:me,indent:Ae,index:wt});var At=lt(me),Et=rt==null?void 0:rt.has(At);if(me&&Array.isArray(me[je])&&Et)for(var Yt=0;Yt<me[je].length;Yt+=1)ht(ce,me[je][Yt],Ae+1,je,rt,lt,Yt)}function It(ce,me,Ae,je){var rt=re.useMemo(function(){if(Ae!=null&&Ae.size){for(var lt=[],wt=0;wt<(ce==null?void 0:ce.length);wt+=1){var At=ce[wt];ht(lt,At,0,me,Ae,je,wt)}return lt}return ce==null?void 0:ce.map(function(Et,Yt){return{record:Et,indent:0,index:Yt}})},[ce,me,Ae,je]);return rt}function Tt(ce){var me=ce.prefixCls,Ae=ce.children,je=ce.component,rt=ce.cellComponent,lt=ce.className,wt=ce.expanded,At=ce.colSpan,Et=ce.isEmpty,Yt=ze(le,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),gn=Yt.scrollbarSize,tn=Yt.fixHeader,An=Yt.fixColumn,Bn=Yt.componentWidth,wn=Yt.horizonScroll,Gn=Ae;return(Et?wn&&Bn:An)&&(Gn=re.createElement("div",{style:{width:Bn-(tn?gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},Gn)),re.createElement(je,{className:lt,style:{display:wt?null:"none"}},re.createElement(Qt,{component:rt,prefixCls:me,colSpan:At},Gn))}var Zt=Tt;function xe(ce,me,Ae,je){var rt=ze(le,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),lt=rt.flattenColumns,wt=rt.expandableType,At=rt.expandedKeys,Et=rt.childrenColumnName,Yt=rt.onTriggerExpand,gn=rt.rowExpandable,tn=rt.onRow,An=rt.expandRowByClick,Bn=rt.rowClassName,wn=wt==="nest",Gn=wt==="row"&&(!gn||gn(ce)),Zn=Gn||wn,Kn=At&&At.has(me),zn=Et&&ce&&ce[Et],Yn=(0,ve.useEvent)(Yt),fa=tn==null?void 0:tn(ce,Ae),va=fa==null?void 0:fa.onClick,la=function(sa){An&&Zn&&Yt(ce,sa);for(var ta=arguments.length,Jn=new Array(ta>1?ta-1:0),ra=1;ra<ta;ra++)Jn[ra-1]=arguments[ra];va==null||va.apply(void 0,[sa].concat(Jn))},La;typeof Bn=="string"?La=Bn:typeof Bn=="function"&&(La=Bn(ce,Ae,je));var Ra=_e(lt);return(0,Le.Z)((0,Le.Z)({},rt),{},{columnsKey:Ra,nestExpandable:wn,expanded:Kn,hasNestChildren:zn,record:ce,onTriggerExpand:Yn,rowSupportExpand:Gn,expandable:Zn,rowProps:(0,Le.Z)((0,Le.Z)({},fa),{},{className:De()(La,fa==null?void 0:fa.className),onClick:la})})}function dt(ce,me,Ae,je,rt){var lt=ce.record,wt=ce.prefixCls,At=ce.columnsKey,Et=ce.fixedInfoList,Yt=ce.expandIconColumnIndex,gn=ce.nestExpandable,tn=ce.indentSize,An=ce.expandIcon,Bn=ce.expanded,wn=ce.hasNestChildren,Gn=ce.onTriggerExpand,Zn=At[Ae],Kn=Et[Ae],zn;Ae===(Yt||0)&&gn&&(zn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(tn*je,"px")},className:"".concat(wt,"-row-indent indent-level-").concat(je)}),An({prefixCls:wt,expanded:Bn,expandable:wn,record:lt,onExpand:Gn})));var Yn;return me.onCell&&(Yn=me.onCell(lt,rt)),{key:Zn,fixedInfo:Kn,appendCellNode:zn,additionalCellProps:Yn||{}}}function vt(ce){var me=ce.className,Ae=ce.style,je=ce.record,rt=ce.index,lt=ce.renderIndex,wt=ce.rowKey,At=ce.indent,Et=At===void 0?0:At,Yt=ce.rowComponent,gn=ce.cellComponent,tn=ce.scopeCellComponent,An=xe(je,wt,rt,Et),Bn=An.prefixCls,wn=An.flattenColumns,Gn=An.expandedRowClassName,Zn=An.expandedRowRender,Kn=An.rowProps,zn=An.expanded,Yn=An.rowSupportExpand,fa=re.useState(!1),va=(0,we.Z)(fa,2),la=va[0],La=va[1];re.useEffect(function(){zn&&La(!0)},[zn]);var Ra=re.createElement(Yt,(0,Ye.Z)({},Kn,{"data-row-key":wt,className:De()(me,"".concat(Bn,"-row"),"".concat(Bn,"-row-level-").concat(Et),Kn==null?void 0:Kn.className),style:(0,Le.Z)((0,Le.Z)({},Ae),Kn==null?void 0:Kn.style)}),wn.map(function(Jn,ra){var Fa=Jn.render,Ua=Jn.dataIndex,Ia=Jn.className,Sa=dt(An,Jn,ra,Et,rt),Va=Sa.key,Ja=Sa.fixedInfo,ho=Sa.appendCellNode,no=Sa.additionalCellProps;return re.createElement(Qt,(0,Ye.Z)({className:Ia,ellipsis:Jn.ellipsis,align:Jn.align,scope:Jn.rowScope,component:Jn.rowScope?tn:gn,prefixCls:Bn,key:Va,record:je,index:rt,renderIndex:lt,dataIndex:Ua,render:Fa,shouldCellUpdate:Jn.shouldCellUpdate},Ja,{appendNode:ho,additionalProps:no}))})),ea;if(Yn&&(la||zn)){var sa=Zn(je,rt,Et+1,zn),ta=Gn&&Gn(je,rt,Et);ea=re.createElement(Zt,{expanded:zn,className:De()("".concat(Bn,"-expanded-row"),"".concat(Bn,"-expanded-row-level-").concat(Et+1),ta),prefixCls:Bn,component:Yt,cellComponent:gn,colSpan:wn.length,isEmpty:!1},sa)}return re.createElement(re.Fragment,null,Ra,ea)}vt.displayName="BodyRow";var mt=z(vt);function Nt(ce){var me=ce.columnKey,Ae=ce.onColumnResize,je=re.useRef();return re.useEffect(function(){je.current&&Ae(me,je.current.offsetWidth)},[]),re.createElement(tt.Z,{data:me},re.createElement("td",{ref:je,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Vt(ce){var me=ce.prefixCls,Ae=ce.columnsKey,je=ce.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(tt.Z.Collection,{onBatchResize:function(lt){lt.forEach(function(wt){var At=wt.data,Et=wt.size;je(At,Et.offsetWidth)})}},Ae.map(function(rt){return re.createElement(Nt,{key:rt,columnKey:rt,onColumnResize:je})})))}function nn(ce){var me=ce.data,Ae=ce.measureColumnWidth,je=ze(le,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),rt=je.prefixCls,lt=je.getComponent,wt=je.onColumnResize,At=je.flattenColumns,Et=je.getRowKey,Yt=je.expandedKeys,gn=je.childrenColumnName,tn=je.emptyNode,An=It(me,gn,Yt,Et),Bn=re.useRef({renderWithProps:!1}),wn=lt(["body","wrapper"],"tbody"),Gn=lt(["body","row"],"tr"),Zn=lt(["body","cell"],"td"),Kn=lt(["body","cell"],"th"),zn;me.length?zn=An.map(function(fa,va){var la=fa.record,La=fa.indent,Ra=fa.index,ea=Et(la,va);return re.createElement(mt,{key:ea,rowKey:ea,record:la,index:va,renderIndex:Ra,rowComponent:Gn,cellComponent:Zn,scopeCellComponent:Kn,getRowKey:Et,indent:La})}):zn=re.createElement(Zt,{expanded:!0,className:"".concat(rt,"-placeholder"),prefixCls:rt,component:Gn,cellComponent:Zn,colSpan:At.length,isEmpty:!0},tn);var Yn=_e(At);return re.createElement(Xe.Provider,{value:Bn.current},re.createElement(wn,{className:"".concat(rt,"-tbody")},Ae&&re.createElement(Vt,{prefixCls:rt,columnsKey:Yn,onColumnResize:wt}),zn))}nn.displayName="Body";var an=z(nn),Sn=["expandable"],On="RC_TABLE_INTERNAL_COL_DEFINE";function Lt(ce){var me=ce.expandable,Ae=(0,ct.Z)(ce,Sn),je;return"expandable"in ce?je=(0,Le.Z)((0,Le.Z)({},Ae),me):je=Ae,je.showExpandColumn===!1&&(je.expandIconColumnIndex=-1),je}var Ct=["columnType"];function Wt(ce){for(var me=ce.colWidths,Ae=ce.columns,je=ce.columCount,rt=[],lt=je||Ae.length,wt=!1,At=lt-1;At>=0;At-=1){var Et=me[At],Yt=Ae&&Ae[At],gn=Yt&&Yt[On];if(Et||gn||wt){var tn=gn||{},An=tn.columnType,Bn=(0,ct.Z)(tn,Ct);rt.unshift(re.createElement("col",(0,Ye.Z)({key:At,style:{width:Et}},Bn))),wt=!0}}return re.createElement("colgroup",null,rt)}var cn=Wt,sn=te(26407),Nn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function at(ce,me){return(0,re.useMemo)(function(){for(var Ae=[],je=0;je<me;je+=1){var rt=ce[je];if(rt!==void 0)Ae[je]=rt;else return null}return Ae},[ce.join("_"),me])}var Bt=re.forwardRef(function(ce,me){var Ae=ce.className,je=ce.noData,rt=ce.columns,lt=ce.flattenColumns,wt=ce.colWidths,At=ce.columCount,Et=ce.stickyOffsets,Yt=ce.direction,gn=ce.fixHeader,tn=ce.stickyTopOffset,An=ce.stickyBottomOffset,Bn=ce.stickyClassName,wn=ce.onScroll,Gn=ce.maxContentScroll,Zn=ce.children,Kn=(0,ct.Z)(ce,Nn),zn=ze(le,["prefixCls","scrollbarSize","isSticky"]),Yn=zn.prefixCls,fa=zn.scrollbarSize,va=zn.isSticky,la=va&&!gn?0:fa,La=re.useRef(null),Ra=re.useCallback(function(Ia){(0,pt.mH)(me,Ia),(0,pt.mH)(La,Ia)},[]);re.useEffect(function(){var Ia;function Sa(Va){var Ja=Va,ho=Ja.currentTarget,no=Ja.deltaX;no&&(wn({currentTarget:ho,scrollLeft:ho.scrollLeft+no}),Va.preventDefault())}return(Ia=La.current)===null||Ia===void 0||Ia.addEventListener("wheel",Sa),function(){var Va;(Va=La.current)===null||Va===void 0||Va.removeEventListener("wheel",Sa)}},[]);var ea=re.useMemo(function(){return lt.every(function(Ia){return Ia.width})},[lt]),sa=lt[lt.length-1],ta={fixed:sa?sa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Yn,"-cell-scrollbar")}}},Jn=(0,re.useMemo)(function(){return la?[].concat((0,sn.Z)(rt),[ta]):rt},[la,rt]),ra=(0,re.useMemo)(function(){return la?[].concat((0,sn.Z)(lt),[ta]):lt},[la,lt]),Fa=(0,re.useMemo)(function(){var Ia=Et.right,Sa=Et.left;return(0,Le.Z)((0,Le.Z)({},Et),{},{left:Yt==="rtl"?[].concat((0,sn.Z)(Sa.map(function(Va){return Va+la})),[0]):Sa,right:Yt==="rtl"?Ia:[].concat((0,sn.Z)(Ia.map(function(Va){return Va+la})),[0]),isSticky:va})},[la,Et,va]),Ua=at(wt,At);return re.createElement("div",{style:(0,Le.Z)({overflow:"hidden"},va?{top:tn,bottom:An}:{}),ref:Ra,className:De()(Ae,(0,ue.Z)({},Bn,!!Bn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:je||Ua?null:"hidden"}},(!je||!Gn||ea)&&re.createElement(cn,{colWidths:Ua?[].concat((0,sn.Z)(Ua),[la]):[],columCount:At+1,columns:ra}),Zn((0,Le.Z)((0,Le.Z)({},Kn),{},{stickyOffsets:Fa,columns:Jn,flattenColumns:ra}))))});Bt.displayName="FixedHolder";var Jt=re.memo(Bt);function yn(ce){var me=ce.cells,Ae=ce.stickyOffsets,je=ce.flattenColumns,rt=ce.rowComponent,lt=ce.cellComponent,wt=ce.tdCellComponent,At=ce.onHeaderRow,Et=ce.index,Yt=ze(le,["prefixCls","direction"]),gn=Yt.prefixCls,tn=Yt.direction,An;At&&(An=At(me.map(function(wn){return wn.column}),Et));var Bn=_e(me.map(function(wn){return wn.column}));return re.createElement(rt,An,me.map(function(wn,Gn){var Zn=wn.column,Kn=Be(wn.colStart,wn.colEnd,je,Ae,tn,Zn),zn;return Zn&&Zn.onHeaderCell&&(zn=wn.column.onHeaderCell(Zn)),re.createElement(Qt,(0,Ye.Z)({},wn,{scope:Zn.title?wn.colSpan>1?"colgroup":"col":null,ellipsis:Zn.ellipsis,align:Zn.align,component:Zn.title?lt:wt,prefixCls:gn,key:Bn[Gn]},Kn,{additionalProps:zn,rowType:"header"}))}))}yn.displayName="HeaderRow";var he=yn;function We(ce){var me=[];function Ae(wt,At){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[Et]=me[Et]||[];var Yt=At,gn=wt.filter(Boolean).map(function(tn){var An={key:tn.key,className:tn.className||"",children:tn.title,column:tn,colStart:Yt},Bn=1,wn=tn.children;return wn&&wn.length>0&&(Bn=Ae(wn,Yt,Et+1).reduce(function(Gn,Zn){return Gn+Zn},0),An.hasSubColumns=!0),"colSpan"in tn&&(Bn=tn.colSpan),"rowSpan"in tn&&(An.rowSpan=tn.rowSpan),An.colSpan=Bn,An.colEnd=An.colStart+Bn-1,me[Et].push(An),Yt+=Bn,Bn});return gn}Ae(ce,0);for(var je=me.length,rt=function(At){me[At].forEach(function(Et){!("rowSpan"in Et)&&!Et.hasSubColumns&&(Et.rowSpan=je-At)})},lt=0;lt<je;lt+=1)rt(lt);return me}function st(ce){var me=ce.stickyOffsets,Ae=ce.columns,je=ce.flattenColumns,rt=ce.onHeaderRow,lt=ze(le,["prefixCls","getComponent"]),wt=lt.prefixCls,At=lt.getComponent,Et=re.useMemo(function(){return We(Ae)},[Ae]),Yt=At(["header","wrapper"],"thead"),gn=At(["header","row"],"tr"),tn=At(["header","cell"],"th"),An=At(["header","cell"],"td");return re.createElement(Yt,{className:"".concat(wt,"-thead")},Et.map(function(Bn,wn){var Gn=re.createElement(he,{key:wn,flattenColumns:je,cells:Bn,stickyOffsets:me,rowComponent:gn,cellComponent:tn,tdCellComponent:An,onHeaderRow:rt,index:wn});return Gn}))}var gt=z(st),bt=te(11592);function Xt(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof me=="number"?me:me.endsWith("%")?ce*parseFloat(me)/100:null}function xt(ce,me){return re.useMemo(function(){if(me&&me>0){var Ae=0,je=0;ce.forEach(function(Yt){var gn=Xt(me,Yt.width);gn?Ae+=gn:je+=1});var rt=me-Ae,lt=je,wt=rt/je,At=0,Et=ce.map(function(Yt){var gn=(0,Le.Z)({},Yt),tn=Xt(me,gn.width);if(tn)gn.width=tn;else{var An=Math.floor(wt);gn.width=lt===1?rt:An,rt-=An,lt-=1}return At+=gn.width,gn});return[Et,At]}return[ce,me]},[ce,me])}var He=["children"],Ke=["fixed"];function Ie(ce){return(0,bt.Z)(ce).filter(function(me){return re.isValidElement(me)}).map(function(me){var Ae=me.key,je=me.props,rt=je.children,lt=(0,ct.Z)(je,He),wt=(0,Le.Z)({key:Ae},lt);return rt&&(wt.children=Ie(rt)),wt})}function ut(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(Ae){return Ae&&(0,fe.Z)(Ae)==="object"}).reduce(function(Ae,je,rt){var lt=je.fixed,wt=lt===!0?"left":lt,At="".concat(me,"-").concat(rt),Et=je.children;return Et&&Et.length>0?[].concat((0,sn.Z)(Ae),(0,sn.Z)(ut(Et,At).map(function(Yt){return(0,Le.Z)({fixed:wt},Yt)}))):[].concat((0,sn.Z)(Ae),[(0,Le.Z)((0,Le.Z)({key:At},je),{},{fixed:wt})])},[])}function jt(ce){for(var me=!0,Ae=0;Ae<ce.length;Ae+=1){var je=ce[Ae];if(me&&je.fixed!=="left")me=!1;else if(!me&&je.fixed==="left"){warning(!1,"Index ".concat(Ae-1," of `columns` missing `fixed='left'` prop."));break}}for(var rt=!0,lt=ce.length-1;lt>=0;lt-=1){var wt=ce[lt];if(rt&&wt.fixed!=="right")rt=!1;else if(!rt&&wt.fixed==="right"){warning(!1,"Index ".concat(lt+1," of `columns` missing `fixed='right'` prop."));break}}}function Dt(ce){return ce.map(function(me){var Ae=me.fixed,je=(0,ct.Z)(me,Ke),rt=Ae;return Ae==="left"?rt="right":Ae==="right"&&(rt="left"),(0,Le.Z)({fixed:rt},je)})}function pn(ce,me){var Ae=ce.prefixCls,je=ce.columns,rt=ce.children,lt=ce.expandable,wt=ce.expandedKeys,At=ce.columnTitle,Et=ce.getRowKey,Yt=ce.onTriggerExpand,gn=ce.expandIcon,tn=ce.rowExpandable,An=ce.expandIconColumnIndex,Bn=ce.direction,wn=ce.expandRowByClick,Gn=ce.columnWidth,Zn=ce.fixed,Kn=ce.scrollWidth,zn=re.useMemo(function(){return je||Ie(rt)},[je,rt]),Yn=re.useMemo(function(){if(lt){var sa,ta=zn.slice();if(!ta.includes(ee)){var Jn=An||0;Jn>=0&&ta.splice(Jn,0,ee)}var ra=ta.indexOf(ee);ta=ta.filter(function(Sa,Va){return Sa!==ee||Va===ra});var Fa=zn[ra],Ua;(Zn==="left"||Zn)&&!An?Ua="left":(Zn==="right"||Zn)&&An===zn.length?Ua="right":Ua=Fa?Fa.fixed:null;var Ia=(sa={},(0,ue.Z)(sa,On,{className:"".concat(Ae,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ue.Z)(sa,"title",At),(0,ue.Z)(sa,"fixed",Ua),(0,ue.Z)(sa,"className","".concat(Ae,"-row-expand-icon-cell")),(0,ue.Z)(sa,"width",Gn),(0,ue.Z)(sa,"render",function(Va,Ja,ho){var no=Et(Ja,ho),Bo=wt.has(no),wo=tn?tn(Ja):!0,Ta=gn({prefixCls:Ae,expanded:Bo,expandable:wo,record:Ja,onExpand:Yt});return wn?re.createElement("span",{onClick:function(oo){return oo.stopPropagation()}},Ta):Ta}),sa);return ta.map(function(Sa){return Sa===ee?Ia:Sa})}return zn.filter(function(Sa){return Sa!==ee})},[lt,zn,Et,wt,gn,Bn]),fa=re.useMemo(function(){var sa=Yn;return me&&(sa=me(sa)),sa.length||(sa=[{render:function(){return null}}]),sa},[me,Yn,Bn]),va=re.useMemo(function(){return Bn==="rtl"?Dt(ut(fa)):ut(fa)},[fa,Bn,Kn]),la=xt(va,Kn),La=(0,we.Z)(la,2),Ra=La[0],ea=La[1];return[fa,Ra,ea]}var fn=pn;function qt(ce){var me,Ae=ce.prefixCls,je=ce.record,rt=ce.onExpand,lt=ce.expanded,wt=ce.expandable,At="".concat(Ae,"-row-expand-icon");if(!wt)return re.createElement("span",{className:De()(At,"".concat(Ae,"-row-spaced"))});var Et=function(gn){rt(je,gn),gn.stopPropagation()};return re.createElement("span",{className:De()(At,(me={},(0,ue.Z)(me,"".concat(Ae,"-row-expanded"),lt),(0,ue.Z)(me,"".concat(Ae,"-row-collapsed"),!lt),me)),onClick:Et})}function xn(ce,me,Ae){var je=[];function rt(lt){(lt||[]).forEach(function(wt,At){je.push(me(wt,At)),rt(wt[Ae])})}return rt(ce),je}function Qn(ce,me,Ae){var je=Lt(ce),rt=je.expandIcon,lt=je.expandedRowKeys,wt=je.defaultExpandedRowKeys,At=je.defaultExpandAllRows,Et=je.expandedRowRender,Yt=je.onExpand,gn=je.onExpandedRowsChange,tn=je.childrenColumnName,An=rt||qt,Bn=tn||"children",wn=re.useMemo(function(){return Et?"row":ce.expandable&&ce.internalHooks===ie&&ce.expandable.__PARENT_RENDER_ICON__||me.some(function(va){return va&&(0,fe.Z)(va)==="object"&&va[Bn]})?"nest":!1},[!!Et,me]),Gn=re.useState(function(){return wt||(At?xn(me,Ae,Bn):[])}),Zn=(0,we.Z)(Gn,2),Kn=Zn[0],zn=Zn[1],Yn=re.useMemo(function(){return new Set(lt||Kn||[])},[lt,Kn]),fa=re.useCallback(function(va){var la=Ae(va,me.indexOf(va)),La,Ra=Yn.has(la);Ra?(Yn.delete(la),La=(0,sn.Z)(Yn)):La=[].concat((0,sn.Z)(Yn),[la]),zn(La),Yt&&Yt(!Ra,va),gn&&gn(La)},[Ae,Yn,me,Yt,gn]);return[je,wn,Yn,An,Bn,fa]}function on(ce,me,Ae,je){var rt=ce.map(function(lt,wt){return Be(wt,wt,ce,me,Ae,je==null?void 0:je[wt])});return(0,Je.Z)(function(){return rt},[rt],function(lt,wt){return!(0,Fe.Z)(lt,wt)})}function Un(ce){var me=(0,re.useRef)(ce),Ae=(0,re.useState)({}),je=(0,we.Z)(Ae,2),rt=je[1],lt=(0,re.useRef)(null),wt=(0,re.useRef)([]);function At(Et){wt.current.push(Et);var Yt=Promise.resolve();lt.current=Yt,Yt.then(function(){if(lt.current===Yt){var gn=wt.current,tn=me.current;wt.current=[],gn.forEach(function(An){me.current=An(me.current)}),lt.current=null,tn!==me.current&&rt({})}})}return(0,re.useEffect)(function(){return function(){lt.current=null}},[]),[me.current,At]}function $n(ce){var me=(0,re.useRef)(ce||null),Ae=(0,re.useRef)();function je(){window.clearTimeout(Ae.current)}function rt(wt){me.current=wt,je(),Ae.current=window.setTimeout(function(){me.current=null,Ae.current=void 0},100)}function lt(){return me.current}return(0,re.useEffect)(function(){return je},[]),[rt,lt]}function ca(){var ce=re.useState(-1),me=(0,we.Z)(ce,2),Ae=me[0],je=me[1],rt=re.useState(-1),lt=(0,we.Z)(rt,2),wt=lt[0],At=lt[1],Et=re.useCallback(function(Yt,gn){je(Yt),At(gn)},[]);return[Ae,wt,Et]}var qn=te(47273),nt=(0,qn.Z)()?window:null;function zt(ce,me){var Ae=(0,fe.Z)(ce)==="object"?ce:{},je=Ae.offsetHeader,rt=je===void 0?0:je,lt=Ae.offsetSummary,wt=lt===void 0?0:lt,At=Ae.offsetScroll,Et=At===void 0?0:At,Yt=Ae.getContainer,gn=Yt===void 0?function(){return nt}:Yt,tn=gn()||nt;return re.useMemo(function(){var An=!!ce;return{isSticky:An,stickyClassName:An?"".concat(me,"-sticky-holder"):"",offsetHeader:rt,offsetSummary:wt,offsetScroll:Et,container:tn}},[Et,rt,wt,me,tn])}function Pt(ce,me,Ae){var je=(0,re.useMemo)(function(){for(var rt=[],lt=[],wt=0,At=0,Et=0;Et<me;Et+=1)if(Ae==="rtl"){lt[Et]=At,At+=ce[Et]||0;var Yt=me-Et-1;rt[Yt]=wt,wt+=ce[Yt]||0}else{rt[Et]=wt,wt+=ce[Et]||0;var gn=me-Et-1;lt[gn]=At,At+=ce[gn]||0}return{left:rt,right:lt}},[ce,me,Ae]);return je}var _t=Pt;function dn(ce){var me=ce.className,Ae=ce.children;return re.createElement("div",{className:me},Ae)}var vn=dn,un=te(8224),ln=te(55468),Wn=function(me,Ae){var je,rt,lt=me.scrollBodyRef,wt=me.onScroll,At=me.offsetScroll,Et=me.container,Yt=ze(le,"prefixCls"),gn=((je=lt.current)===null||je===void 0?void 0:je.scrollWidth)||0,tn=((rt=lt.current)===null||rt===void 0?void 0:rt.clientWidth)||0,An=gn&&tn*(tn/gn),Bn=re.useRef(),wn=Un({scrollLeft:0,isHiddenScrollBar:!1}),Gn=(0,we.Z)(wn,2),Zn=Gn[0],Kn=Gn[1],zn=re.useRef({delta:0,x:0}),Yn=re.useState(!1),fa=(0,we.Z)(Yn,2),va=fa[0],la=fa[1],La=function(){la(!1)},Ra=function(ra){ra.persist(),zn.current.delta=ra.pageX-Zn.scrollLeft,zn.current.x=0,la(!0),ra.preventDefault()},ea=function(ra){var Fa,Ua=ra||((Fa=window)===null||Fa===void 0?void 0:Fa.event),Ia=Ua.buttons;if(!va||Ia===0){va&&la(!1);return}var Sa=zn.current.x+ra.pageX-zn.current.x-zn.current.delta;Sa<=0&&(Sa=0),Sa+An>=tn&&(Sa=tn-An),wt({scrollLeft:Sa/tn*(gn+2)}),zn.current.x=ra.pageX},sa=function(){if(lt.current){var ra=(0,ln.os)(lt.current).top,Fa=ra+lt.current.offsetHeight,Ua=Et===window?document.documentElement.scrollTop+window.innerHeight:(0,ln.os)(Et).top+Et.clientHeight;Fa-(0,et.Z)()<=Ua||ra>=Ua-At?Kn(function(Ia){return(0,Le.Z)((0,Le.Z)({},Ia),{},{isHiddenScrollBar:!0})}):Kn(function(Ia){return(0,Le.Z)((0,Le.Z)({},Ia),{},{isHiddenScrollBar:!1})})}},ta=function(ra){Kn(function(Fa){return(0,Le.Z)((0,Le.Z)({},Fa),{},{scrollLeft:ra/gn*tn||0})})};return re.useImperativeHandle(Ae,function(){return{setScrollLeft:ta}}),re.useEffect(function(){var Jn=(0,un.Z)(document.body,"mouseup",La,!1),ra=(0,un.Z)(document.body,"mousemove",ea,!1);return sa(),function(){Jn.remove(),ra.remove()}},[An,va]),re.useEffect(function(){var Jn=(0,un.Z)(Et,"scroll",sa,!1),ra=(0,un.Z)(window,"resize",sa,!1);return function(){Jn.remove(),ra.remove()}},[Et]),re.useEffect(function(){Zn.isHiddenScrollBar||Kn(function(Jn){var ra=lt.current;return ra?(0,Le.Z)((0,Le.Z)({},Jn),{},{scrollLeft:ra.scrollLeft/ra.scrollWidth*ra.clientWidth}):Jn})},[Zn.isHiddenScrollBar]),gn<=tn||!An||Zn.isHiddenScrollBar?null:re.createElement("div",{style:{height:(0,et.Z)(),width:tn,bottom:At},className:"".concat(Yt,"-sticky-scroll")},re.createElement("div",{onMouseDown:Ra,ref:Bn,className:De()("".concat(Yt,"-sticky-scroll-bar"),(0,ue.Z)({},"".concat(Yt,"-sticky-scroll-bar-active"),va)),style:{width:"".concat(An,"px"),transform:"translate3d(".concat(Zn.scrollLeft,"px, 0, 0)")}}))},Xn=re.forwardRef(Wn);function Gt(ce){return null}var aa=Gt;function ya(ce){return null}var Ca=ya,pa="rc-table",Fn=[],Mn={};function Vn(){return"No Data"}function Ln(ce){var me,Ae=(0,Le.Z)({rowKey:"key",prefixCls:pa,emptyText:Vn},ce),je=Ae.prefixCls,rt=Ae.className,lt=Ae.rowClassName,wt=Ae.style,At=Ae.data,Et=Ae.rowKey,Yt=Ae.scroll,gn=Ae.tableLayout,tn=Ae.direction,An=Ae.title,Bn=Ae.footer,wn=Ae.summary,Gn=Ae.caption,Zn=Ae.id,Kn=Ae.showHeader,zn=Ae.components,Yn=Ae.emptyText,fa=Ae.onRow,va=Ae.onHeaderRow,la=Ae.internalHooks,La=Ae.transformColumns,Ra=Ae.internalRefs,ea=Ae.tailor,sa=Ae.sticky,ta=At||Fn,Jn=!!ta.length,ra=la===ie,Fa=re.useCallback(function(mo,Co){return(0,ye.Z)(zn,mo)||Co},[zn]),Ua=re.useMemo(function(){return typeof Et=="function"?Et:function(mo){var Co=mo&&mo[Et];return Co}},[Et]),Ia=Fa(["body"]),Sa=ca(),Va=(0,we.Z)(Sa,3),Ja=Va[0],ho=Va[1],no=Va[2],Bo=Qn(Ae,ta,Ua),wo=(0,we.Z)(Bo,6),Ta=wo[0],Lo=wo[1],oo=wo[2],Eo=wo[3],yo=wo[4],Xo=wo[5],ba=Yt==null?void 0:Yt.x,Ea=re.useState(0),Pa=(0,we.Z)(Ea,2),ga=Pa[0],ro=Pa[1],ma=fn((0,Le.Z)((0,Le.Z)((0,Le.Z)({},Ae),Ta),{},{expandable:!!Ta.expandedRowRender,columnTitle:Ta.columnTitle,expandedKeys:oo,getRowKey:Ua,onTriggerExpand:Xo,expandIcon:Eo,expandIconColumnIndex:Ta.expandIconColumnIndex,direction:tn,scrollWidth:ra&&ea&&typeof ba=="number"?ba:null}),ra?La:null),Oa=(0,we.Z)(ma,3),_a=Oa[0],Ya=Oa[1],Ko=Oa[2],Zo=Ko!=null?Ko:ba,lr=re.useMemo(function(){return{columns:_a,flattenColumns:Ya}},[_a,Ya]),Do=re.useRef(),ar=re.useRef(),Oo=re.useRef(),$o=re.useRef(),br=re.useRef(),so=re.useState(!1),co=(0,we.Z)(so,2),bo=co[0],Io=co[1],Ro=re.useState(!1),Qa=(0,we.Z)(Ro,2),Vo=Qa[0],Wo=Qa[1],er=Un(new Map),gr=(0,we.Z)(er,2),sr=gr[0],Lr=gr[1],hr=_e(Ya),or=hr.map(function(mo){return sr.get(mo)}),Yo=re.useMemo(function(){return or},[or.join("_")]),Jo=_t(Yo,Ya.length,tn),To=Yt&&Ot(Yt.y),xo=Yt&&Ot(Zo)||!!Ta.fixed,mr=xo&&Ya.some(function(mo){var Co=mo.fixed;return Co}),xr=re.useRef(),yr=zt(sa,je),fr=yr.isSticky,Ir=yr.offsetHeader,Ur=yr.offsetSummary,qa=yr.offsetScroll,So=yr.stickyClassName,Ho=yr.container,Fo=re.useMemo(function(){return wn==null?void 0:wn(ta)},[wn,ta]),Uo=(To||fr)&&re.isValidElement(Fo)&&Fo.type===se&&Fo.props.fixed,_o,qo,Sr;To&&(qo={overflowY:"scroll",maxHeight:Yt.y}),xo&&(_o={overflowX:"auto"},To||(qo={overflowY:"hidden"}),Sr={width:Zo===!0?"auto":Zo,minWidth:"100%"});var vi=re.useCallback(function(mo,Co){(0,Oe.Z)(Do.current)&&Lr(function(rr){if(rr.get(mo)!==Co){var Er=new Map(rr);return Er.set(mo,Co),Er}return rr})},[]),Al=$n(null),hi=(0,we.Z)(Al,2),Ll=hi[0],Si=hi[1];function Rr(mo,Co){Co&&(typeof Co=="function"?Co(mo):Co.scrollLeft!==mo&&(Co.scrollLeft=mo,Co.scrollLeft!==mo&&setTimeout(function(){Co.scrollLeft=mo},0)))}var wr=(0,Ge.Z)(function(mo){var Co=mo.currentTarget,rr=mo.scrollLeft,Er=tn==="rtl",Cr=typeof rr=="number"?rr:Co.scrollLeft,Ii=Co||Mn;if(!Si()||Si()===Ii){var $r;Ll(Ii),Rr(Cr,ar.current),Rr(Cr,Oo.current),Rr(Cr,br.current),Rr(Cr,($r=xr.current)===null||$r===void 0?void 0:$r.setScrollLeft)}var Yr=Co||ar.current;if(Yr){var _r=Yr.scrollWidth,qr=Yr.clientWidth;if(_r===qr){Io(!1),Wo(!1);return}Er?(Io(-Cr<_r-qr),Wo(-Cr>0)):(Io(Cr>0),Wo(Cr<_r-qr))}}),Pi=function(){xo&&Oo.current?wr({currentTarget:Oo.current}):(Io(!1),Wo(!1))},Dl=function(Co){var rr=Co.width;rr!==ga&&(Pi(),ro(Do.current?Do.current.offsetWidth:rr))},yi=re.useRef(!1);re.useEffect(function(){yi.current&&Pi()},[xo,At,_a.length]),re.useEffect(function(){yi.current=!0},[]);var Ol=re.useState(0),Ei=(0,we.Z)(Ol,2),Tr=Ei[0],Ci=Ei[1],Nl=re.useState(!0),bi=(0,we.Z)(Nl,2),xi=bi[0],Il=bi[1];re.useEffect(function(){(!ea||!ra)&&(Oo.current instanceof Element?Ci((0,et.o)(Oo.current).width):Ci((0,et.o)($o.current).width)),Il((0,Ee.G)("position","sticky"))},[]),re.useEffect(function(){ra&&Ra&&(Ra.body.current=Oo.current)});var Rl=re.useCallback(function(mo){return re.createElement(re.Fragment,null,re.createElement(gt,mo),Uo==="top"&&re.createElement(it,mo,Fo))},[Uo,Fo]),Tl=re.useCallback(function(mo){return re.createElement(it,mo,Fo)},[Fo]),Fi=Fa(["table"],"table"),Mr=re.useMemo(function(){return gn||(mr?Zo==="max-content"?"auto":"fixed":To||fr||Ya.some(function(mo){var Co=mo.ellipsis;return Co})?"fixed":"auto")},[To,mr,Ya,gn,fr]),Vr,Jr={colWidths:Yo,columCount:Ya.length,stickyOffsets:Jo,onHeaderRow:va,fixHeader:To,scroll:Yt},Bi=re.useMemo(function(){return Jn?null:typeof Yn=="function"?Yn():Yn},[Jn,Yn]),wi=re.createElement(an,{data:ta,measureColumnWidth:To||xo||fr}),Ai=re.createElement(cn,{colWidths:Ya.map(function(mo){var Co=mo.width;return Co}),columns:Ya}),Li=Gn!=null?re.createElement("caption",{className:"".concat(je,"-caption")},Gn):void 0,Ml=(0,Kt.Z)(Ae,{data:!0}),Di=(0,Kt.Z)(Ae,{aria:!0});if(To||fr){var Qr;typeof Ia=="function"?(Qr=Ia(ta,{scrollbarSize:Tr,ref:Oo,onScroll:wr}),Jr.colWidths=Ya.map(function(mo,Co){var rr=mo.width,Er=Co===Ya.length-1?rr-Tr:rr;return typeof Er=="number"&&!Number.isNaN(Er)?Er:0})):Qr=re.createElement("div",{style:(0,Le.Z)((0,Le.Z)({},_o),qo),onScroll:wr,ref:Oo,className:De()("".concat(je,"-body"))},re.createElement(Fi,(0,Ye.Z)({style:(0,Le.Z)((0,Le.Z)({},Sr),{},{tableLayout:Mr})},Di),Li,Ai,wi,!Uo&&Fo&&re.createElement(it,{stickyOffsets:Jo,flattenColumns:Ya,columns:_a},Fo)));var Oi=(0,Le.Z)((0,Le.Z)((0,Le.Z)({noData:!ta.length,maxContentScroll:xo&&Zo==="max-content"},Jr),lr),{},{direction:tn,stickyClassName:So,onScroll:wr});Vr=re.createElement(re.Fragment,null,Kn!==!1&&re.createElement(Jt,(0,Ye.Z)({},Oi,{stickyTopOffset:Ir,className:"".concat(je,"-header"),ref:ar}),Rl),Qr,Uo&&Uo!=="top"&&re.createElement(Jt,(0,Ye.Z)({},Oi,{stickyBottomOffset:Ur,className:"".concat(je,"-summary"),ref:br}),Tl),fr&&re.createElement(Xn,{ref:xr,offsetScroll:qa,scrollBodyRef:Oo,onScroll:wr,container:Ho}))}else Vr=re.createElement("div",{style:(0,Le.Z)((0,Le.Z)({},_o),qo),className:De()("".concat(je,"-content")),onScroll:wr,ref:Oo},re.createElement(Fi,(0,Ye.Z)({style:(0,Le.Z)((0,Le.Z)({},Sr),{},{tableLayout:Mr})},Di),Li,Ai,Kn!==!1&&re.createElement(gt,(0,Ye.Z)({},Jr,lr)),wi,Fo&&re.createElement(it,{stickyOffsets:Jo,flattenColumns:Ya,columns:_a},Fo)));var Xr=re.createElement("div",(0,Ye.Z)({className:De()(je,rt,(me={},(0,ue.Z)(me,"".concat(je,"-rtl"),tn==="rtl"),(0,ue.Z)(me,"".concat(je,"-ping-left"),bo),(0,ue.Z)(me,"".concat(je,"-ping-right"),Vo),(0,ue.Z)(me,"".concat(je,"-layout-fixed"),gn==="fixed"),(0,ue.Z)(me,"".concat(je,"-fixed-header"),To),(0,ue.Z)(me,"".concat(je,"-fixed-column"),mr),(0,ue.Z)(me,"".concat(je,"-scroll-horizontal"),xo),(0,ue.Z)(me,"".concat(je,"-has-fix-left"),Ya[0]&&Ya[0].fixed),(0,ue.Z)(me,"".concat(je,"-has-fix-right"),Ya[Ya.length-1]&&Ya[Ya.length-1].fixed==="right"),me)),style:wt,id:Zn,ref:Do},Ml),An&&re.createElement(vn,{className:"".concat(je,"-title")},An(ta)),re.createElement("div",{ref:$o,className:"".concat(je,"-container")},Vr),Bn&&re.createElement(vn,{className:"".concat(je,"-footer")},Bn(ta)));xo&&(Xr=re.createElement(tt.Z,{onResize:Dl},Xr));var Ni=on(Ya,Jo,tn,_a),kl=re.useMemo(function(){return{scrollX:Zo,prefixCls:je,getComponent:Fa,scrollbarSize:Tr,direction:tn,fixedInfoList:Ni,isSticky:fr,supportSticky:xi,componentWidth:ga,fixHeader:To,fixColumn:mr,horizonScroll:xo,tableLayout:Mr,rowClassName:lt,expandedRowClassName:Ta.expandedRowClassName,expandIcon:Eo,expandableType:Lo,expandRowByClick:Ta.expandRowByClick,expandedRowRender:Ta.expandedRowRender,onTriggerExpand:Xo,expandIconColumnIndex:Ta.expandIconColumnIndex,indentSize:Ta.indentSize,allColumnsFixedLeft:Ya.every(function(mo){return mo.fixed==="left"}),emptyNode:Bi,columns:_a,flattenColumns:Ya,onColumnResize:vi,hoverStartRow:Ja,hoverEndRow:ho,onHover:no,rowExpandable:Ta.rowExpandable,onRow:fa,getRowKey:Ua,expandedKeys:oo,childrenColumnName:yo}},[Zo,je,Fa,Tr,tn,Ni,fr,xi,ga,To,mr,xo,Mr,lt,Ta.expandedRowClassName,Eo,Lo,Ta.expandRowByClick,Ta.expandedRowRender,Xo,Ta.expandIconColumnIndex,Ta.indentSize,Bi,_a,Ya,vi,Ja,ho,no,Ta.rowExpandable,fa,Ua,oo,yo]);return re.createElement(le.Provider,{value:kl},Xr)}function na(ce){return x(Ln,ce)}var ha=na();ha.EXPAND_COLUMN=ee,ha.INTERNAL_HOOKS=ie,ha.Column=aa,ha.ColumnGroup=Ca,ha.Summary=Se;var da=ha,Ba=te(24916),oa=Ue(null),Ma=Ue(null);function eo(ce,me,Ae){var je=me||1;return Ae[ce+je]-(Ae[ce]||0)}function fo(ce){var me=ce.rowInfo,Ae=ce.column,je=ce.colIndex,rt=ce.indent,lt=ce.index,wt=ce.renderIndex,At=ce.record,Et=ce.style,Yt=ce.className,gn=ce.inverse,tn=ce.getHeight,An=Ae.render,Bn=Ae.dataIndex,wn=Ae.className,Gn=Ae.width,Zn=ze(Ma,["columnsOffset"]),Kn=Zn.columnsOffset,zn=dt(me,Ae,je,rt,lt),Yn=zn.key,fa=zn.fixedInfo,va=zn.appendCellNode,la=zn.additionalCellProps,La=la.style,Ra=la.colSpan,ea=Ra===void 0?1:Ra,sa=la.rowSpan,ta=sa===void 0?1:sa,Jn=je-1,ra=eo(Jn,ea,Kn),Fa=ea>1?Gn-ra:0,Ua=(0,Le.Z)((0,Le.Z)((0,Le.Z)({},La),Et),{},{flex:"0 0 ".concat(ra,"px"),width:"".concat(ra,"px"),marginRight:Fa,pointerEvents:"auto"}),Ia=re.useMemo(function(){return gn?ta<=1:ea===0||ta===0||ta>1},[ta,ea,gn]);Ia?Ua.visibility="hidden":gn&&(Ua.height=tn==null?void 0:tn(ta));var Sa=Ia?function(){return null}:An,Va={};return(ta===0||ea===0)&&(Va.rowSpan=1,Va.colSpan=1),re.createElement(Qt,(0,Ye.Z)({className:De()(wn,Yt),ellipsis:Ae.ellipsis,align:Ae.align,scope:Ae.rowScope,component:"div",prefixCls:me.prefixCls,key:Yn,record:At,index:lt,renderIndex:wt,dataIndex:Bn,render:Sa,shouldCellUpdate:Ae.shouldCellUpdate},fa,{appendNode:va,additionalProps:(0,Le.Z)((0,Le.Z)({},la),{},{style:Ua},Va)}))}var ja=fo,Da=["data","index","className","rowKey","style","extra","getHeight"],Xa=re.forwardRef(function(ce,me){var Ae=ce.data,je=ce.index,rt=ce.className,lt=ce.rowKey,wt=ce.style,At=ce.extra,Et=ce.getHeight,Yt=(0,ct.Z)(ce,Da),gn=Ae.record,tn=Ae.indent,An=Ae.index,Bn=ze(le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),wn=Bn.scrollX,Gn=Bn.flattenColumns,Zn=Bn.prefixCls,Kn=Bn.fixColumn,zn=Bn.componentWidth,Yn=xe(gn,lt,je,tn),fa=Yn.rowSupportExpand,va=Yn.expanded,la=Yn.rowProps,La=Yn.expandedRowRender,Ra=Yn.expandedRowClassName,ea;if(fa&&va){var sa=La(gn,je,tn+1,va),ta=Ra==null?void 0:Ra(gn,je,tn),Jn={};Kn&&(Jn={style:(0,ue.Z)({},"--virtual-width","".concat(zn,"px"))});var ra="".concat(Zn,"-expanded-row-cell");ea=re.createElement("div",{className:De()("".concat(Zn,"-expanded-row"),"".concat(Zn,"-expanded-row-level-").concat(tn+1),ta)},re.createElement(Qt,{component:"div",prefixCls:Zn,className:De()(ra,(0,ue.Z)({},"".concat(ra,"-fixed"),Kn)),additionalProps:Jn},sa))}var Fa=(0,Le.Z)((0,Le.Z)({},wt),{},{width:wn});At&&(Fa.position="absolute",Fa.pointerEvents="none");var Ua=re.createElement("div",(0,Ye.Z)({},la,Yt,{ref:fa?null:me,className:De()(rt,"".concat(Zn,"-row"),la==null?void 0:la.className,(0,ue.Z)({},"".concat(Zn,"-row-extra"),At)),style:(0,Le.Z)((0,Le.Z)({},Fa),la==null?void 0:la.style)}),Gn.map(function(Ia,Sa){return re.createElement(ja,{key:Sa,rowInfo:Yn,column:Ia,colIndex:Sa,indent:tn,index:je,renderIndex:An,record:gn,inverse:At,getHeight:Et})}));return fa?re.createElement("div",{ref:me},Ua,ea):Ua}),ka=z(Xa),Ga=ka,Na=re.forwardRef(function(ce,me){var Ae=ce.data,je=ce.onScroll,rt=ze(le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),lt=rt.flattenColumns,wt=rt.onColumnResize,At=rt.getRowKey,Et=rt.expandedKeys,Yt=rt.prefixCls,gn=rt.childrenColumnName,tn=rt.emptyNode,An=rt.scrollX,Bn=ze(oa),wn=Bn.scrollY,Gn=Bn.listItemHeight,Zn=re.useRef(),Kn=It(Ae,gn,Et,At),zn=re.useMemo(function(){var ea=0;return lt.map(function(sa){var ta=sa.width,Jn=sa.key;return ea+=ta,[Jn,ta,ea]})},[lt]),Yn=re.useMemo(function(){return zn.map(function(ea){return ea[2]})},[zn]);re.useEffect(function(){zn.forEach(function(ea){var sa=(0,we.Z)(ea,2),ta=sa[0],Jn=sa[1];wt(ta,Jn)})},[zn]),re.useImperativeHandle(me,function(){var ea={};return Object.defineProperty(ea,"scrollLeft",{get:function(){var ta;return((ta=Zn.current)===null||ta===void 0?void 0:ta.getScrollInfo().x)||0},set:function(ta){var Jn;(Jn=Zn.current)===null||Jn===void 0||Jn.scrollTo({left:ta})}}),ea});var fa=function(sa,ta){var Jn,ra=(Jn=Kn[ta])===null||Jn===void 0?void 0:Jn.record,Fa=sa.onCell;if(Fa){var Ua,Ia=Fa(ra,ta);return(Ua=Ia==null?void 0:Ia.rowSpan)!==null&&Ua!==void 0?Ua:1}return 1},va=function(sa){var ta=sa.start,Jn=sa.end,ra=sa.getSize,Fa=sa.offsetY;if(Jn<0)return null;for(var Ua=lt.filter(function(ba){return fa(ba,ta)===0}),Ia=ta,Sa=function(Ea){if(Ua=Ua.filter(function(Pa){return fa(Pa,Ea)===0}),!Ua.length)return Ia=Ea,"break"},Va=ta;Va>=0;Va-=1){var Ja=Sa(Va);if(Ja==="break")break}for(var ho=lt.filter(function(ba){return fa(ba,Jn)!==1}),no=Jn,Bo=function(Ea){if(ho=ho.filter(function(Pa){return fa(Pa,Ea)!==1}),!ho.length)return no=Math.max(Ea-1,Jn),"break"},wo=Jn;wo<Kn.length;wo+=1){var Ta=Bo(wo);if(Ta==="break")break}for(var Lo=[],oo=function(Ea){var Pa=Kn[Ea];if(!Pa)return"continue";lt.some(function(ga){return fa(ga,Ea)>1})&&Lo.push(Ea)},Eo=Ia;Eo<=no;Eo+=1)var yo=oo(Eo);var Xo=Lo.map(function(ba){var Ea=Kn[ba],Pa=At(Ea.record,ba),ga=function(Oa){var _a=ba+Oa-1,Ya=At(Kn[_a].record,_a),Ko=ra(Pa,Ya);return Ko.bottom-Ko.top},ro=ra(Pa);return re.createElement(Ga,{key:ba,data:Ea,rowKey:Pa,index:ba,style:{top:-Fa+ro.top},extra:!0,getHeight:ga})});return Xo},la=re.useMemo(function(){return{columnsOffset:Yn}},[Yn]),La="".concat(Yt,"-tbody"),Ra;return Kn.length?Ra=re.createElement(Ba.Z,{fullHeight:!1,ref:Zn,className:De()(La,"".concat(La,"-virtual")),height:wn,itemHeight:Gn||24,data:Kn,itemKey:function(sa){return At(sa.record)},scrollWidth:An,onVirtualScroll:function(sa){var ta=sa.x;je({scrollLeft:ta})},extraRender:va},function(ea,sa,ta){var Jn=At(ea.record,sa);return re.createElement(Ga,(0,Ye.Z)({data:ea,rowKey:Jn,index:sa},ta))}):Ra=re.createElement("div",{className:De()("".concat(Yt,"-placeholder"))},re.createElement(Qt,{component:"div",prefixCls:Yt},tn)),re.createElement(Ma.Provider,{value:la},Ra)}),_n=z(Na),Za=_n,uo=function(me,Ae){var je=Ae.ref,rt=Ae.onScroll;return re.createElement(Za,{ref:je,data:me,onScroll:rt})},za=100;function to(ce){var me=ce.columns,Ae=ce.scroll,je=ce.prefixCls,rt=je===void 0?pa:je,lt=ce.className,wt=ce.listItemHeight,At=Ae||{},Et=At.x,Yt=At.y;typeof Et!="number"&&(Et=((me||[]).length+1)*za),typeof Yt!="number"&&(Yt=500);var gn=re.useMemo(function(){return{scrollY:Yt,listItemHeight:wt}},[Yt,wt]);return re.createElement(oa.Provider,{value:gn},re.createElement(da,(0,Ye.Z)({},ce,{className:De()(lt,"".concat(rt,"-virtual")),scroll:(0,Le.Z)((0,Le.Z)({},Ae),{},{x:Et}),components:{body:uo},columns:me,internalHooks:ie,tailor:!0})))}function lo(ce){return x(to,ce)}var ua=lo(),Ka=null;function wa(ce){return null}var ao=wa;function Po(ce){return null}var No=Po,Qo=te(2738),zo=te(68031),po=te(36355),vo=te(93891),jo=te(19716),Mo=te(8628),Go=te(31724),tr=te(58421),ia=te(71418),In=te(88088);function Rn(ce){return function(Ae){let{prefixCls:je,onExpand:rt,record:lt,expanded:wt,expandable:At}=Ae;const Et=`${je}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:Yt=>{rt(lt,Yt),Yt.stopPropagation()},className:De()(Et,{[`${Et}-spaced`]:!At,[`${Et}-expanded`]:At&&wt,[`${Et}-collapsed`]:At&&!wt}),"aria-label":wt?ce.collapse:ce.expand,"aria-expanded":wt})}}var jn=Rn;function xa(ce,me){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:me}function Wa(ce,me){return me?`${me}-${ce}`:`${ce}`}function pe(ce,me){return typeof ce=="function"?ce(me):ce}function Mt(ce,me){const Ae=pe(ce,me);return Object.prototype.toString.call(Ae)==="[object Object]"?"":Ae}var rn={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"},Cn=rn,Ht=te(7657),Dn=function(me,Ae){return re.createElement(Ht.Z,(0,Ye.Z)({},me,{ref:Ae,icon:Cn}))},Pn=re.forwardRef(Dn),mn=Pn,En=te(56762);function bn(ce){const me=re.useRef(ce),Ae=(0,En.Z)();return[()=>me.current,je=>{me.current=je,Ae()}]}var kn=te(3113),Hn=te(24905),Tn=te(38854),Ha=te(64165),Aa=te(20834),$a=te(40875),io=te(5112),Ao=te(17574),ko=te(47472),dr=te(92832);function ur(ce){let{value:me,onChange:Ae,filterSearch:je,tablePrefixCls:rt,locale:lt}=ce;return je?re.createElement("div",{className:`${rt}-filter-dropdown-search`},re.createElement(dr.default,{prefix:re.createElement(ko.Z,null),placeholder:lt.filterSearchPlaceholder,onChange:Ae,value:me,htmlSize:1,className:`${rt}-filter-dropdown-search-input`})):null}var nr=ur,pr=te(10228);const Fr=ce=>{const{keyCode:me}=ce;me===pr.Z.ENTER&&ce.stopPropagation()};var cr=re.forwardRef((ce,me)=>re.createElement("div",{className:ce.className,onClick:Ae=>Ae.stopPropagation(),onKeyDown:Fr,ref:me},ce.children));function Br(ce){let me=[];return(ce||[]).forEach(Ae=>{let{value:je,children:rt}=Ae;me.push(je),rt&&(me=[].concat((0,sn.Z)(me),(0,sn.Z)(Br(rt))))}),me}function Ri(ce){return ce.some(me=>{let{children:Ae}=me;return Ae})}function ei(ce,me){return typeof me=="string"||typeof me=="number"?me==null?void 0:me.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function ti(ce){let{filters:me,prefixCls:Ae,filteredKeys:je,filterMultiple:rt,searchValue:lt,filterSearch:wt}=ce;return me.map((At,Et)=>{const Yt=String(At.value);if(At.children)return{key:Yt||Et,label:At.text,popupClassName:`${Ae}-dropdown-submenu`,children:ti({filters:At.children,prefixCls:Ae,filteredKeys:je,filterMultiple:rt,searchValue:lt,filterSearch:wt})};const gn=rt?Hn.default:io.ZP,tn={key:At.value!==void 0?Yt:Et,label:re.createElement(re.Fragment,null,re.createElement(gn,{checked:je.includes(Yt)}),re.createElement("span",null,At.text))};return lt.trim()?typeof wt=="function"?wt(lt,At)?tn:null:ei(lt,At.text)?tn:null:tn})}function Ti(ce){var me,Ae;const{tablePrefixCls:je,prefixCls:rt,column:lt,dropdownPrefixCls:wt,columnKey:At,filterMultiple:Et,filterMode:Yt="menu",filterSearch:gn=!1,filterState:tn,triggerFilter:An,locale:Bn,children:wn,getPopupContainer:Gn}=ce,{filterDropdownOpen:Zn,onFilterDropdownOpenChange:Kn,filterResetToDefaultFilteredValue:zn,defaultFilteredValue:Yn,filterDropdownVisible:fa,onFilterDropdownVisibleChange:va}=lt,[la,La]=re.useState(!1),Ra=!!(tn&&(!((me=tn.filteredKeys)===null||me===void 0)&&me.length||tn.forceFiltered)),ea=ma=>{La(ma),Kn==null||Kn(ma),va==null||va(ma)},sa=(Ae=Zn!=null?Zn:fa)!==null&&Ae!==void 0?Ae:la,ta=tn==null?void 0:tn.filteredKeys,[Jn,ra]=bn(ta||[]),Fa=ma=>{let{selectedKeys:Oa}=ma;ra(Oa)},Ua=(ma,Oa)=>{let{node:_a,checked:Ya}=Oa;Fa(Et?{selectedKeys:ma}:{selectedKeys:Ya&&_a.key?[_a.key]:[]})};re.useEffect(()=>{la&&Fa({selectedKeys:ta||[]})},[ta]);const[Ia,Sa]=re.useState([]),Va=ma=>{Sa(ma)},[Ja,ho]=re.useState(""),no=ma=>{const{value:Oa}=ma.target;ho(Oa)};re.useEffect(()=>{la||ho("")},[la]);const Bo=ma=>{const Oa=ma&&ma.length?ma:null;if(Oa===null&&(!tn||!tn.filteredKeys)||(0,Fe.Z)(Oa,tn==null?void 0:tn.filteredKeys,!0))return null;An({column:lt,key:At,filteredKeys:Oa})},wo=()=>{ea(!1),Bo(Jn())},Ta=function(){let{confirm:ma,closeDropdown:Oa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ma&&Bo([]),Oa&&ea(!1),ho(""),ra(zn?(Yn||[]).map(_a=>String(_a)):[])},Lo=function(){let{closeDropdown:ma}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ma&&ea(!1),Bo(Jn())},oo=ma=>{ma&&ta!==void 0&&ra(ta||[]),ea(ma),!ma&&!lt.filterDropdown&&wo()},Eo=De()({[`${wt}-menu-without-submenu`]:!Ri(lt.filters||[])}),yo=ma=>{if(ma.target.checked){const Oa=Br(lt==null?void 0:lt.filters).map(_a=>String(_a));ra(Oa)}else ra([])},Xo=ma=>{let{filters:Oa}=ma;return(Oa||[]).map((_a,Ya)=>{const Ko=String(_a.value),Zo={title:_a.text,key:_a.value!==void 0?Ko:Ya};return _a.children&&(Zo.children=Xo({filters:_a.children})),Zo})},ba=ma=>{var Oa;return Object.assign(Object.assign({},ma),{text:ma.title,value:ma.key,children:((Oa=ma.children)===null||Oa===void 0?void 0:Oa.map(_a=>ba(_a)))||[]})};let Ea;if(typeof lt.filterDropdown=="function")Ea=lt.filterDropdown({prefixCls:`${wt}-custom`,setSelectedKeys:ma=>Fa({selectedKeys:ma}),selectedKeys:Jn(),confirm:Lo,clearFilters:Ta,filters:lt.filters,visible:sa,close:()=>{ea(!1)}});else if(lt.filterDropdown)Ea=lt.filterDropdown;else{const ma=Jn()||[],Oa=()=>(lt.filters||[]).length===0?re.createElement(Ha.Z,{image:Ha.Z.PRESENTED_IMAGE_SIMPLE,description:Bn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Yt==="tree"?re.createElement(re.Fragment,null,re.createElement(nr,{filterSearch:gn,value:Ja,onChange:no,tablePrefixCls:je,locale:Bn}),re.createElement("div",{className:`${je}-filter-dropdown-tree`},Et?re.createElement(Hn.default,{checked:ma.length===Br(lt.filters).length,indeterminate:ma.length>0&&ma.length<Br(lt.filters).length,className:`${je}-filter-dropdown-checkall`,onChange:yo},Bn.filterCheckall):null,re.createElement(Ao.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Et,checkStrictly:!Et,className:`${wt}-menu`,onCheck:Ua,checkedKeys:ma,selectedKeys:ma,showIcon:!1,treeData:Xo({filters:lt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ja.trim()?Ya=>typeof gn=="function"?gn(Ja,ba(Ya)):ei(Ja,Ya.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(nr,{filterSearch:gn,value:Ja,onChange:no,tablePrefixCls:je,locale:Bn}),re.createElement(Aa.default,{selectable:!0,multiple:Et,prefixCls:`${wt}-menu`,className:Eo,onSelect:Fa,onDeselect:Fa,selectedKeys:ma,getPopupContainer:Gn,openKeys:Ia,onOpenChange:Va,items:ti({filters:lt.filters||[],filterSearch:gn,prefixCls:rt,filteredKeys:Jn(),filterMultiple:Et,searchValue:Ja})})),_a=()=>zn?(0,Fe.Z)((Yn||[]).map(Ya=>String(Ya)),ma,!0):ma.length===0;Ea=re.createElement(re.Fragment,null,Oa(),re.createElement("div",{className:`${rt}-dropdown-btns`},re.createElement(kn.ZP,{type:"link",size:"small",disabled:_a(),onClick:()=>Ta()},Bn.filterReset),re.createElement(kn.ZP,{type:"primary",size:"small",onClick:wo},Bn.filterConfirm)))}lt.filterDropdown&&(Ea=re.createElement($a.J,{selectable:void 0},Ea));const Pa=()=>re.createElement(cr,{className:`${rt}-dropdown`},Ea);let ga;typeof lt.filterIcon=="function"?ga=lt.filterIcon(Ra):lt.filterIcon?ga=lt.filterIcon:ga=re.createElement(mn,null);const{direction:ro}=re.useContext(po.E_);return re.createElement("div",{className:`${rt}-column`},re.createElement("span",{className:`${je}-column-title`},wn),re.createElement(Tn.Z,{dropdownRender:Pa,trigger:["click"],open:sa,onOpenChange:oo,getPopupContainer:Gn,placement:ro==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:De()(`${rt}-trigger`,{active:Ra}),onClick:ma=>{ma.stopPropagation()}},ga)))}var Mi=Ti;function kr(ce,me,Ae){let je=[];return(ce||[]).forEach((rt,lt)=>{var wt;const At=Wa(lt,Ae);if(rt.filters||"filterDropdown"in rt||"onFilter"in rt)if("filteredValue"in rt){let Et=rt.filteredValue;"filterDropdown"in rt||(Et=(wt=Et==null?void 0:Et.map(String))!==null&&wt!==void 0?wt:Et),je.push({column:rt,key:xa(rt,At),filteredKeys:Et,forceFiltered:rt.filtered})}else je.push({column:rt,key:xa(rt,At),filteredKeys:me&&rt.defaultFilteredValue?rt.defaultFilteredValue:void 0,forceFiltered:rt.filtered});"children"in rt&&(je=[].concat((0,sn.Z)(je),(0,sn.Z)(kr(rt.children,me,At))))}),je}function ni(ce,me,Ae,je,rt,lt,wt,At){return Ae.map((Et,Yt)=>{const gn=Wa(Yt,At),{filterMultiple:tn=!0,filterMode:An,filterSearch:Bn}=Et;let wn=Et;if(wn.filters||wn.filterDropdown){const Gn=xa(wn,gn),Zn=je.find(Kn=>{let{key:zn}=Kn;return Gn===zn});wn=Object.assign(Object.assign({},wn),{title:Kn=>re.createElement(Mi,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:me,column:wn,columnKey:Gn,filterState:Zn,filterMultiple:tn,filterMode:An,filterSearch:Bn,triggerFilter:lt,locale:rt,getPopupContainer:wt},pe(Et.title,Kn))})}return"children"in wn&&(wn=Object.assign(Object.assign({},wn),{children:ni(ce,me,wn.children,je,rt,lt,wt,gn)})),wn})}function ai(ce){const me={};return ce.forEach(Ae=>{let{key:je,filteredKeys:rt,column:lt}=Ae;const{filters:wt,filterDropdown:At}=lt;if(At)me[je]=rt||null;else if(Array.isArray(rt)){const Et=Br(wt);me[je]=Et.filter(Yt=>rt.includes(String(Yt)))}else me[je]=null}),me}function oi(ce,me){return me.reduce((Ae,je)=>{const{column:{onFilter:rt,filters:lt},filteredKeys:wt}=je;return rt&&wt&&wt.length?Ae.filter(At=>wt.some(Et=>{const Yt=Br(lt),gn=Yt.findIndex(An=>String(An)===String(Et)),tn=gn!==-1?Yt[gn]:Et;return rt(tn,At)})):Ae},ce)}const ri=ce=>ce.flatMap(me=>"children"in me?[me].concat((0,sn.Z)(ri(me.children||[]))):[me]);function ki(ce){let{prefixCls:me,dropdownPrefixCls:Ae,mergedColumns:je,onFilterChange:rt,getPopupContainer:lt,locale:wt}=ce;const At=re.useMemo(()=>ri(je||[]),[je]),[Et,Yt]=re.useState(()=>kr(At,!0)),gn=re.useMemo(()=>{const wn=kr(At,!1);if(wn.length===0)return wn;let Gn=!0,Zn=!0;if(wn.forEach(Kn=>{let{filteredKeys:zn}=Kn;zn!==void 0?Gn=!1:Zn=!1}),Gn){const Kn=(At||[]).map((zn,Yn)=>xa(zn,Wa(Yn)));return Et.filter(zn=>{let{key:Yn}=zn;return Kn.includes(Yn)}).map(zn=>{const Yn=At[Kn.findIndex(fa=>fa===zn.key)];return Object.assign(Object.assign({},zn),{column:Object.assign(Object.assign({},zn.column),Yn),forceFiltered:Yn.filtered})})}return wn},[At,Et]),tn=re.useMemo(()=>ai(gn),[gn]),An=wn=>{const Gn=gn.filter(Zn=>{let{key:Kn}=Zn;return Kn!==wn.key});Gn.push(wn),Yt(Gn),rt(ai(Gn),Gn)};return[wn=>ni(me,Ae,wn,gn,wt,An,lt),gn,tn]}var Zi=ki;function zi(ce,me,Ae){const je=re.useRef({});function rt(lt){if(!je.current||je.current.data!==ce||je.current.childrenColumnName!==me||je.current.getRowKey!==Ae){let At=function(Et){Et.forEach((Yt,gn)=>{const tn=Ae(Yt,gn);wt.set(tn,Yt),Yt&&typeof Yt=="object"&&me in Yt&&At(Yt[me]||[])})};const wt=new Map;At(ce),je.current={data:ce,childrenColumnName:me,kvMap:wt,getRowKey:Ae}}return je.current.kvMap.get(lt)}return[rt]}var Hi=te(50371),ji=function(ce,me){var Ae={};for(var je in ce)Object.prototype.hasOwnProperty.call(ce,je)&&me.indexOf(je)<0&&(Ae[je]=ce[je]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,je=Object.getOwnPropertySymbols(ce);rt<je.length;rt++)me.indexOf(je[rt])<0&&Object.prototype.propertyIsEnumerable.call(ce,je[rt])&&(Ae[je[rt]]=ce[je[rt]]);return Ae};const ii=10;function Gi(ce,me){const Ae={current:ce.current,pageSize:ce.pageSize};return Object.keys(me&&typeof me=="object"?me:{}).forEach(rt=>{const lt=ce[rt];typeof lt!="function"&&(Ae[rt]=lt)}),Ae}function Ki(ce,me,Ae){const je=Ae&&typeof Ae=="object"?Ae:{},{total:rt=0}=je,lt=ji(je,["total"]),[wt,At]=(0,re.useState)(()=>({current:"defaultCurrent"in lt?lt.defaultCurrent:1,pageSize:"defaultPageSize"in lt?lt.defaultPageSize:ii})),Et=(0,Hi.Z)(wt,lt,{total:rt>0?rt:ce}),Yt=Math.ceil((rt||ce)/Et.pageSize);Et.current>Yt&&(Et.current=Yt||1);const gn=(An,Bn)=>{At({current:An!=null?An:1,pageSize:Bn||Et.pageSize})},tn=(An,Bn)=>{var wn;Ae&&((wn=Ae.onChange)===null||wn===void 0||wn.call(Ae,An,Bn)),gn(An,Bn),me(An,Bn||(Et==null?void 0:Et.pageSize))};return Ae===!1?[{},()=>{}]:[Object.assign(Object.assign({},Et),{onChange:tn}),gn]}var Wi=Ki,Ui=te(84105),li=te(35654),Zr=te(90782),Vi=te(71430),Ji=te(18929);const Pr={},zr="SELECT_ALL",Hr="SELECT_INVERT",jr="SELECT_NONE",si=[],di=(ce,me)=>{let Ae=[];return(me||[]).forEach(je=>{Ae.push(je),je&&typeof je=="object"&&ce in je&&(Ae=[].concat((0,sn.Z)(Ae),(0,sn.Z)(di(ce,je[ce]))))}),Ae};var Qi=(ce,me)=>{const{preserveSelectedRowKeys:Ae,selectedRowKeys:je,defaultSelectedRowKeys:rt,getCheckboxProps:lt,onChange:wt,onSelect:At,onSelectAll:Et,onSelectInvert:Yt,onSelectNone:gn,onSelectMultiple:tn,columnWidth:An,type:Bn,selections:wn,fixed:Gn,renderCell:Zn,hideSelectAll:Kn,checkStrictly:zn=!0}=me||{},{prefixCls:Yn,data:fa,pageData:va,getRecordByKey:la,getRowKey:La,expandType:Ra,childrenColumnName:ea,locale:sa,getPopupContainer:ta}=ce,[Jn,ra]=(0,Ji.Z)(je||rt||si,{value:je}),Fa=re.useRef(new Map),Ua=(0,re.useCallback)(ba=>{if(Ae){const Ea=new Map;ba.forEach(Pa=>{let ga=la(Pa);!ga&&Fa.current.has(Pa)&&(ga=Fa.current.get(Pa)),Ea.set(Pa,ga)}),Fa.current=Ea}},[la,Ae]);re.useEffect(()=>{Ua(Jn)},[Jn]);const{keyEntities:Ia}=(0,re.useMemo)(()=>{if(zn)return{keyEntities:null};let ba=fa;if(Ae){const Ea=new Set(fa.map((ga,ro)=>La(ga,ro))),Pa=Array.from(Fa.current).reduce((ga,ro)=>{let[ma,Oa]=ro;return Ea.has(ma)?ga:ga.concat(Oa)},[]);ba=[].concat((0,sn.Z)(ba),(0,sn.Z)(Pa))}return(0,Vi.I8)(ba,{externalGetKey:La,childrenPropName:ea})},[fa,La,zn,ea,Ae]),Sa=(0,re.useMemo)(()=>di(ea,va),[ea,va]),Va=(0,re.useMemo)(()=>{const ba=new Map;return Sa.forEach((Ea,Pa)=>{const ga=La(Ea,Pa),ro=(lt?lt(Ea):null)||{};ba.set(ga,ro)}),ba},[Sa,La,lt]),Ja=(0,re.useCallback)(ba=>{var Ea;return!!(!((Ea=Va.get(La(ba)))===null||Ea===void 0)&&Ea.disabled)},[Va,La]),[ho,no]=(0,re.useMemo)(()=>{if(zn)return[Jn||[],[]];const{checkedKeys:ba,halfCheckedKeys:Ea}=(0,Zr.S)(Jn,!0,Ia,Ja);return[ba||[],Ea]},[Jn,zn,Ia,Ja]),Bo=(0,re.useMemo)(()=>{const ba=Bn==="radio"?ho.slice(0,1):ho;return new Set(ba)},[ho,Bn]),wo=(0,re.useMemo)(()=>Bn==="radio"?new Set:new Set(no),[no,Bn]),[Ta,Lo]=(0,re.useState)(null);re.useEffect(()=>{me||ra(si)},[!!me]);const oo=(0,re.useCallback)((ba,Ea)=>{let Pa,ga;Ua(ba),Ae?(Pa=ba,ga=ba.map(ro=>Fa.current.get(ro))):(Pa=[],ga=[],ba.forEach(ro=>{const ma=la(ro);ma!==void 0&&(Pa.push(ro),ga.push(ma))})),ra(Pa),wt==null||wt(Pa,ga,{type:Ea})},[ra,la,wt,Ae]),Eo=(0,re.useCallback)((ba,Ea,Pa,ga)=>{if(At){const ro=Pa.map(ma=>la(ma));At(la(ba),Ea,ro,ga)}oo(Pa,"single")},[At,la,oo]),yo=(0,re.useMemo)(()=>!wn||Kn?null:(wn===!0?[zr,Hr,jr]:wn).map(Ea=>Ea===zr?{key:"all",text:sa.selectionAll,onSelect(){oo(fa.map((Pa,ga)=>La(Pa,ga)).filter(Pa=>{const ga=Va.get(Pa);return!(ga!=null&&ga.disabled)||Bo.has(Pa)}),"all")}}:Ea===Hr?{key:"invert",text:sa.selectInvert,onSelect(){const Pa=new Set(Bo);va.forEach((ro,ma)=>{const Oa=La(ro,ma),_a=Va.get(Oa);_a!=null&&_a.disabled||(Pa.has(Oa)?Pa.delete(Oa):Pa.add(Oa))});const ga=Array.from(Pa);Yt&&Yt(ga),oo(ga,"invert")}}:Ea===jr?{key:"none",text:sa.selectNone,onSelect(){gn==null||gn(),oo(Array.from(Bo).filter(Pa=>{const ga=Va.get(Pa);return ga==null?void 0:ga.disabled}),"none")}}:Ea).map(Ea=>Object.assign(Object.assign({},Ea),{onSelect:function(){for(var Pa,ga,ro=arguments.length,ma=new Array(ro),Oa=0;Oa<ro;Oa++)ma[Oa]=arguments[Oa];(ga=Ea.onSelect)===null||ga===void 0||(Pa=ga).call.apply(Pa,[Ea].concat(ma)),Lo(null)}})),[wn,Bo,va,La,Yt,oo]);return[(0,re.useCallback)(ba=>{var Ea;if(!me)return ba.filter(so=>so!==Pr);let Pa=(0,sn.Z)(ba);const ga=new Set(Bo),ro=Sa.map(La).filter(so=>!Va.get(so).disabled),ma=ro.every(so=>ga.has(so)),Oa=ro.some(so=>ga.has(so)),_a=()=>{const so=[];ma?ro.forEach(bo=>{ga.delete(bo),so.push(bo)}):ro.forEach(bo=>{ga.has(bo)||(ga.add(bo),so.push(bo))});const co=Array.from(ga);Et==null||Et(!ma,co.map(bo=>la(bo)),so.map(bo=>la(bo))),oo(co,"all"),Lo(null)};let Ya;if(Bn!=="radio"){let so;if(yo){const Qa={getPopupContainer:ta,items:yo.map((Vo,Wo)=>{const{key:er,text:gr,onSelect:sr}=Vo;return{key:er!=null?er:Wo,onClick:()=>{sr==null||sr(ro)},label:gr}})};so=re.createElement("div",{className:`${Yn}-selection-extra`},re.createElement(Tn.Z,{menu:Qa,getPopupContainer:ta},re.createElement("span",null,re.createElement(Ui.Z,null))))}const co=Sa.map((Qa,Vo)=>{const Wo=La(Qa,Vo),er=Va.get(Wo)||{};return Object.assign({checked:ga.has(Wo)},er)}).filter(Qa=>{let{disabled:Vo}=Qa;return Vo}),bo=!!co.length&&co.length===Sa.length,Io=bo&&co.every(Qa=>{let{checked:Vo}=Qa;return Vo}),Ro=bo&&co.some(Qa=>{let{checked:Vo}=Qa;return Vo});Ya=!Kn&&re.createElement("div",{className:`${Yn}-selection`},re.createElement(Hn.default,{checked:bo?Io:!!Sa.length&&ma,indeterminate:bo?!Io&&Ro:!ma&&Oa,onChange:_a,disabled:Sa.length===0||bo,"aria-label":so?"Custom selection":"Select all",skipGroup:!0}),so)}let Ko;Bn==="radio"?Ko=(so,co,bo)=>{const Io=La(co,bo),Ro=ga.has(Io);return{node:re.createElement(io.ZP,Object.assign({},Va.get(Io),{checked:Ro,onClick:Qa=>Qa.stopPropagation(),onChange:Qa=>{ga.has(Io)||Eo(Io,!0,[Io],Qa.nativeEvent)}})),checked:Ro}}:Ko=(so,co,bo)=>{var Io;const Ro=La(co,bo),Qa=ga.has(Ro),Vo=wo.has(Ro),Wo=Va.get(Ro);let er;return Ra==="nest"?er=Vo:er=(Io=Wo==null?void 0:Wo.indeterminate)!==null&&Io!==void 0?Io:Vo,{node:re.createElement(Hn.default,Object.assign({},Wo,{indeterminate:er,checked:Qa,skipGroup:!0,onClick:gr=>gr.stopPropagation(),onChange:gr=>{let{nativeEvent:sr}=gr;const{shiftKey:Lr}=sr;let hr=-1,or=-1;if(Lr&&zn){const Yo=new Set([Ta,Ro]);ro.some((Jo,To)=>{if(Yo.has(Jo))if(hr===-1)hr=To;else return or=To,!0;return!1})}if(or!==-1&&hr!==or&&zn){const Yo=ro.slice(hr,or+1),Jo=[];Qa?Yo.forEach(xo=>{ga.has(xo)&&(Jo.push(xo),ga.delete(xo))}):Yo.forEach(xo=>{ga.has(xo)||(Jo.push(xo),ga.add(xo))});const To=Array.from(ga);tn==null||tn(!Qa,To.map(xo=>la(xo)),Jo.map(xo=>la(xo))),oo(To,"multiple")}else{const Yo=ho;if(zn){const Jo=Qa?(0,li._5)(Yo,Ro):(0,li.L0)(Yo,Ro);Eo(Ro,!Qa,Jo,sr)}else{const Jo=(0,Zr.S)([].concat((0,sn.Z)(Yo),[Ro]),!0,Ia,Ja),{checkedKeys:To,halfCheckedKeys:xo}=Jo;let mr=To;if(Qa){const xr=new Set(To);xr.delete(Ro),mr=(0,Zr.S)(Array.from(xr),{checked:!1,halfCheckedKeys:xo},Ia,Ja).checkedKeys}Eo(Ro,!Qa,mr,sr)}}Lo(Qa?null:Ro)}})),checked:Qa}};const Zo=(so,co,bo)=>{const{node:Io,checked:Ro}=Ko(so,co,bo);return Zn?Zn(Ro,co,bo,Io):Io};if(!Pa.includes(Pr))if(Pa.findIndex(so=>{var co;return((co=so[On])===null||co===void 0?void 0:co.columnType)==="EXPAND_COLUMN"})===0){const[so,...co]=Pa;Pa=[so,Pr].concat((0,sn.Z)(co))}else Pa=[Pr].concat((0,sn.Z)(Pa));const lr=Pa.indexOf(Pr);Pa=Pa.filter((so,co)=>so!==Pr||co===lr);const Do=Pa[lr-1],ar=Pa[lr+1];let Oo=Gn;Oo===void 0&&((ar==null?void 0:ar.fixed)!==void 0?Oo=ar.fixed:(Do==null?void 0:Do.fixed)!==void 0&&(Oo=Do.fixed)),Oo&&Do&&((Ea=Do[On])===null||Ea===void 0?void 0:Ea.columnType)==="EXPAND_COLUMN"&&Do.fixed===void 0&&(Do.fixed=Oo);const $o=De()(`${Yn}-selection-col`,{[`${Yn}-selection-col-with-dropdown`]:wn&&Bn==="checkbox"}),br={fixed:Oo,width:An,className:`${Yn}-selection-column`,title:me.columnTitle||Ya,render:Zo,onCell:me.onCell,[On]:{className:$o}};return Pa.map(so=>so===Pr?br:so)},[La,Sa,me,ho,Bo,wo,An,yo,Ra,Ta,Va,tn,Eo,Ja]),Bo]},Xi=te(89489),$i=te(59477),Yi=te(6848);const Dr="ascend",Gr="descend";function Or(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function ui(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function _i(ce,me){return me?ce[ce.indexOf(me)+1]:ce[0]}function Kr(ce,me,Ae){let je=[];function rt(lt,wt){je.push({column:lt,key:xa(lt,wt),multiplePriority:Or(lt),sortOrder:lt.sortOrder})}return(ce||[]).forEach((lt,wt)=>{const At=Wa(wt,Ae);lt.children?("sortOrder"in lt&&rt(lt,At),je=[].concat((0,sn.Z)(je),(0,sn.Z)(Kr(lt.children,me,At)))):lt.sorter&&("sortOrder"in lt?rt(lt,At):me&<.defaultSortOrder&&je.push({column:lt,key:xa(lt,At),multiplePriority:Or(lt),sortOrder:lt.defaultSortOrder}))}),je}function ci(ce,me,Ae,je,rt,lt,wt,At){return(me||[]).map((Et,Yt)=>{const gn=Wa(Yt,At);let tn=Et;if(tn.sorter){const An=tn.sortDirections||rt,Bn=tn.showSorterTooltip===void 0?wt:tn.showSorterTooltip,wn=xa(tn,gn),Gn=Ae.find(Ra=>{let{key:ea}=Ra;return ea===wn}),Zn=Gn?Gn.sortOrder:null,Kn=_i(An,Zn);let zn;if(Et.sortIcon)zn=Et.sortIcon({sortOrder:Zn});else{const Ra=An.includes(Dr)&&re.createElement($i.Z,{className:De()(`${ce}-column-sorter-up`,{active:Zn===Dr})}),ea=An.includes(Gr)&&re.createElement(Xi.Z,{className:De()(`${ce}-column-sorter-down`,{active:Zn===Gr})});zn=re.createElement("span",{className:De()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Ra&&ea)})},re.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Ra,ea))}const{cancelSort:Yn,triggerAsc:fa,triggerDesc:va}=lt||{};let la=Yn;Kn===Gr?la=va:Kn===Dr&&(la=fa);const La=typeof Bn=="object"?Bn:{title:la};tn=Object.assign(Object.assign({},tn),{className:De()(tn.className,{[`${ce}-column-sort`]:Zn}),title:Ra=>{const ea=re.createElement("div",{className:`${ce}-column-sorters`},re.createElement("span",{className:`${ce}-column-title`},pe(Et.title,Ra)),zn);return Bn?re.createElement(Yi.Z,Object.assign({},La),ea):ea},onHeaderCell:Ra=>{const ea=Et.onHeaderCell&&Et.onHeaderCell(Ra)||{},sa=ea.onClick,ta=ea.onKeyDown;ea.onClick=Fa=>{je({column:Et,key:wn,sortOrder:Kn,multiplePriority:Or(Et)}),sa==null||sa(Fa)},ea.onKeyDown=Fa=>{Fa.keyCode===pr.Z.ENTER&&(je({column:Et,key:wn,sortOrder:Kn,multiplePriority:Or(Et)}),ta==null||ta(Fa))};const Jn=Mt(Et.title,{}),ra=Jn==null?void 0:Jn.toString();return Zn?ea["aria-sort"]=Zn==="ascend"?"ascending":"descending":ea["aria-label"]=ra||"",ea.className=De()(ea.className,`${ce}-column-has-sorters`),ea.tabIndex=0,Et.ellipsis&&(ea.title=(Jn!=null?Jn:"").toString()),ea}})}return"children"in tn&&(tn=Object.assign(Object.assign({},tn),{children:ci(ce,tn.children,Ae,je,rt,lt,wt,gn)})),tn})}function gi(ce){const{column:me,sortOrder:Ae}=ce;return{column:me,order:Ae,field:me.dataIndex,columnKey:me.key}}function mi(ce){const me=ce.filter(Ae=>{let{sortOrder:je}=Ae;return je}).map(gi);return me.length===0&&ce.length?Object.assign(Object.assign({},gi(ce[ce.length-1])),{column:void 0}):me.length<=1?me[0]||{}:me}function Wr(ce,me,Ae){const je=me.slice().sort((wt,At)=>At.multiplePriority-wt.multiplePriority),rt=ce.slice(),lt=je.filter(wt=>{let{column:{sorter:At},sortOrder:Et}=wt;return ui(At)&&Et});return lt.length?rt.sort((wt,At)=>{for(let Et=0;Et<lt.length;Et+=1){const Yt=lt[Et],{column:{sorter:gn},sortOrder:tn}=Yt,An=ui(gn);if(An&&tn){const Bn=An(wt,At,tn);if(Bn!==0)return tn===Dr?Bn:-Bn}}return 0}).map(wt=>{const At=wt[Ae];return At?Object.assign(Object.assign({},wt),{[Ae]:Wr(At,me,Ae)}):wt}):rt}function qi(ce){let{prefixCls:me,mergedColumns:Ae,onSorterChange:je,sortDirections:rt,tableLocale:lt,showSorterTooltip:wt}=ce;const[At,Et]=re.useState(Kr(Ae,!0)),Yt=re.useMemo(()=>{let wn=!0;const Gn=Kr(Ae,!1);if(!Gn.length)return At;const Zn=[];function Kn(Yn){wn?Zn.push(Yn):Zn.push(Object.assign(Object.assign({},Yn),{sortOrder:null}))}let zn=null;return Gn.forEach(Yn=>{zn===null?(Kn(Yn),Yn.sortOrder&&(Yn.multiplePriority===!1?wn=!1:zn=!0)):(zn&&Yn.multiplePriority!==!1||(wn=!1),Kn(Yn))}),Zn},[Ae,At]),gn=re.useMemo(()=>{const wn=Yt.map(Gn=>{let{column:Zn,sortOrder:Kn}=Gn;return{column:Zn,order:Kn}});return{sortColumns:wn,sortColumn:wn[0]&&wn[0].column,sortOrder:wn[0]&&wn[0].order}},[Yt]);function tn(wn){let Gn;wn.multiplePriority===!1||!Yt.length||Yt[0].multiplePriority===!1?Gn=[wn]:Gn=[].concat((0,sn.Z)(Yt.filter(Zn=>{let{key:Kn}=Zn;return Kn!==wn.key})),[wn]),Et(Gn),je(mi(Gn),Gn)}return[wn=>ci(me,wn,Yt,tn,rt,lt,wt),Yt,gn,()=>mi(Yt)]}function fi(ce,me){return ce.map(Ae=>{const je=Object.assign({},Ae);return je.title=pe(Ae.title,me),"children"in je&&(je.children=fi(je.children,me)),je})}function el(ce){return[re.useCallback(Ae=>fi(Ae,ce),[ce])]}var tl=na((ce,me)=>{const{_renderTimes:Ae}=ce,{_renderTimes:je}=me;return Ae!==je}),nl=lo((ce,me)=>{const{_renderTimes:Ae}=ce,{_renderTimes:je}=me;return Ae!==je}),Ar=te(64993),Nr=te(17313),al=te(83116),ol=te(37613),rl=ce=>{const{componentCls:me}=ce,Ae=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,je=(rt,lt,wt)=>({[`&${me}-${rt}`]:{[`> ${me}-container`]:{[`> ${me}-content, > ${me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${lt}px -${wt+ce.lineWidth}px`}}}}}});return{[`${me}-wrapper`]:{[`${me}${me}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${me}-title`]:{border:Ae,borderBottom:0},[`> ${me}-container`]:{borderInlineStart:Ae,borderTop:Ae,[`
|
|
> ${me}-content,
|
|
> ${me}-header,
|
|
> ${me}-body,
|
|
> ${me}-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:Ae},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ae},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${me}-cell-fix-right-first::after`]:{borderInlineEnd:Ae}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:Ae,content:'""'}}}}}},[`&${me}-scroll-horizontal`]:{[`> ${me}-container > ${me}-body`]:{"> table > tbody":{[`
|
|
> tr${me}-expanded-row,
|
|
> tr${me}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},je("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),je("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${me}-footer`]:{border:Ae,borderTop:0}}),[`${me}-cell`]:{[`${me}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${me}-bordered ${me}-cell-scrollbar`]:{borderInlineEnd:Ae}}}},il=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper`]:{[`${me}-cell-ellipsis`]:Object.assign(Object.assign({},Nr.vS),{wordBreak:"keep-all",[`
|
|
&${me}-cell-fix-left-last,
|
|
&${me}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${me}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${me}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ll=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper`]:{[`${me}-tbody > tr${me}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},sl=te(15969),dl=ce=>{const{componentCls:me,antCls:Ae,controlInteractiveSize:je,motionDurationSlow:rt,lineWidth:lt,paddingXS:wt,lineType:At,tableBorderColor:Et,tableExpandIconBg:Yt,tableExpandColumnWidth:gn,borderRadius:tn,fontSize:An,fontSizeSM:Bn,lineHeight:wn,tablePaddingVertical:Gn,tablePaddingHorizontal:Zn,tableExpandedRowBg:Kn,paddingXXS:zn}=ce,Yn=je/2-lt,fa=Yn*2+lt*3,va=`${lt}px ${At} ${Et}`,la=zn-lt;return{[`${me}-wrapper`]:{[`${me}-expand-icon-col`]:{width:gn},[`${me}-row-expand-icon-cell`]:{textAlign:"center",[`${me}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${me}-row-indent`]:{height:1,float:"left"},[`${me}-row-expand-icon`]:Object.assign(Object.assign({},(0,sl.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:fa,height:fa,padding:0,color:"inherit",lineHeight:`${fa}px`,background:Yt,border:va,borderRadius:tn,transform:`scale(${je/fa})`,transition:`all ${rt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${rt} ease-out`,content:'""'},"&::before":{top:Yn,insetInlineEnd:la,insetInlineStart:la,height:lt},"&::after":{top:la,bottom:la,insetInlineStart:Yn,width:lt,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"}}),[`${me}-row-indent + ${me}-row-expand-icon`]:{marginTop:(An*wn-lt*3)/2-Math.ceil((Bn*1.4-lt*3)/2),marginInlineEnd:wt},[`tr${me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Kn}},[`${Ae}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${me}-expanded-row-fixed`]:{position:"relative",margin:`-${Gn}px -${Zn}px`,padding:`${Gn}px ${Zn}px`}}}},ul=ce=>{const{componentCls:me,antCls:Ae,iconCls:je,tableFilterDropdownWidth:rt,tableFilterDropdownSearchWidth:lt,paddingXXS:wt,paddingXS:At,colorText:Et,lineWidth:Yt,lineType:gn,tableBorderColor:tn,tableHeaderIconColor:An,fontSizeSM:Bn,tablePaddingHorizontal:wn,borderRadius:Gn,motionDurationSlow:Zn,colorTextDescription:Kn,colorPrimary:zn,tableHeaderFilterActiveBg:Yn,colorTextDisabled:fa,tableFilterDropdownBg:va,tableFilterDropdownHeight:la,controlItemBgHover:La,controlItemBgActive:Ra,boxShadowSecondary:ea,filterDropdownMenuBg:sa}=ce,ta=`${Ae}-dropdown`,Jn=`${me}-filter-dropdown`,ra=`${Ae}-tree`,Fa=`${Yt}px ${gn} ${tn}`;return[{[`${me}-wrapper`]:{[`${me}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${me}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-wt,marginInline:`${wt}px ${-wn/2}px`,padding:`0 ${wt}px`,color:An,fontSize:Bn,borderRadius:Gn,cursor:"pointer",transition:`all ${Zn}`,"&:hover":{color:Kn,background:Yn},"&.active":{color:zn}}}},{[`${Ae}-dropdown`]:{[Jn]:Object.assign(Object.assign({},(0,Nr.Wf)(ce)),{minWidth:rt,backgroundColor:va,borderRadius:Gn,boxShadow:ea,overflow:"hidden",[`${ta}-menu`]:{maxHeight:la,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:sa,"&:empty::after":{display:"block",padding:`${At}px 0`,color:fa,fontSize:Bn,textAlign:"center",content:'"Not Found"'}},[`${Jn}-tree`]:{paddingBlock:`${At}px 0`,paddingInline:At,[ra]:{padding:0},[`${ra}-treenode ${ra}-node-content-wrapper:hover`]:{backgroundColor:La},[`${ra}-treenode-checkbox-checked ${ra}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ra}}},[`${Jn}-search`]:{padding:At,borderBottom:Fa,"&-input":{input:{minWidth:lt},[je]:{color:fa}}},[`${Jn}-checkall`]:{width:"100%",marginBottom:wt,marginInlineStart:wt},[`${Jn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${At-Yt}px ${At}px`,overflow:"hidden",borderTop:Fa}})}},{[`${Ae}-dropdown ${Jn}, ${Jn}-submenu`]:{[`${Ae}-checkbox-wrapper + span`]:{paddingInlineStart:At,color:Et},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},cl=ce=>{const{componentCls:me,lineWidth:Ae,colorSplit:je,motionDurationSlow:rt,zIndexTableFixed:lt,tableBg:wt,zIndexTableSticky:At}=ce,Et=je;return{[`${me}-wrapper`]:{[`
|
|
${me}-cell-fix-left,
|
|
${me}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:lt,background:wt},[`
|
|
${me}-cell-fix-left-first::after,
|
|
${me}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Ae,width:30,transform:"translateX(100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${me}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${me}-cell-fix-right-first::after,
|
|
${me}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-Ae,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${me}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:At+1,width:30,transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${me}-ping-left`]:{[`&:not(${me}-has-fix-left) ${me}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Et}`}},[`
|
|
${me}-cell-fix-left-first::after,
|
|
${me}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Et}`},[`${me}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${me}-ping-right`]:{[`&:not(${me}-has-fix-right) ${me}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Et}`}},[`
|
|
${me}-cell-fix-right-first::after,
|
|
${me}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Et}`}}}}},gl=ce=>{const{componentCls:me,antCls:Ae}=ce;return{[`${me}-wrapper`]:{[`${me}-pagination${Ae}-pagination`]:{margin:`${ce.margin}px 0`},[`${me}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ml=ce=>{const{componentCls:me,tableRadius:Ae}=ce;return{[`${me}-wrapper`]:{[me]:{[`${me}-title, ${me}-header`]:{borderRadius:`${Ae}px ${Ae}px 0 0`},[`${me}-title + ${me}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${me}-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:Ae,borderStartEndRadius:Ae,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ae},"> *:last-child":{borderStartEndRadius:Ae}}},"&-footer":{borderRadius:`0 0 ${Ae}px ${Ae}px`}}}}},fl=ce=>{const{componentCls:me}=ce;return{[`${me}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${me}-pagination-left`]:{justifyContent:"flex-end"},[`${me}-pagination-right`]:{justifyContent:"flex-start"},[`${me}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${me}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${me}-row-indent`]:{float:"right"}}}}},pl=ce=>{const{componentCls:me,antCls:Ae,iconCls:je,fontSizeIcon:rt,padding:lt,paddingXS:wt,tableHeaderIconColor:At,tableHeaderIconColorHover:Et,tableSelectionColumnWidth:Yt}=ce;return{[`${me}-wrapper`]:{[`${me}-selection-col`]:{width:Yt,[`&${me}-selection-col-with-dropdown`]:{width:Yt+rt+lt/4}},[`${me}-bordered ${me}-selection-col`]:{width:Yt+wt*2,[`&${me}-selection-col-with-dropdown`]:{width:Yt+rt+lt/4+wt*2}},[`
|
|
table tr th${me}-selection-column,
|
|
table tr td${me}-selection-column
|
|
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${Ae}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${me}-selection-column${me}-cell-fix-left`]:{zIndex:ce.zIndexTableFixed+1},[`table tr th${me}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${me}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${me}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[je]:{color:At,fontSize:rt,verticalAlign:"baseline","&:hover":{color:Et}}}}}},vl=ce=>{const{componentCls:me}=ce,Ae=(je,rt,lt,wt)=>({[`${me}${me}-${je}`]:{fontSize:wt,[`
|
|
${me}-title,
|
|
${me}-footer,
|
|
${me}-cell,
|
|
${me}-thead > tr > th,
|
|
${me}-tbody > tr > th,
|
|
${me}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${rt}px ${lt}px`},[`${me}-filter-trigger`]:{marginInlineEnd:`-${lt/2}px`},[`${me}-expanded-row-fixed`]:{margin:`-${rt}px -${lt}px`},[`${me}-tbody`]:{[`${me}-wrapper:only-child ${me}`]:{marginBlock:`-${rt}px`,marginInline:`${ce.tableExpandColumnWidth-lt}px -${lt}px`}},[`${me}-selection-column`]:{paddingInlineStart:`${lt/4}px`}}});return{[`${me}-wrapper`]:Object.assign(Object.assign({},Ae("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),Ae("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},hl=ce=>{const{componentCls:me,marginXXS:Ae,fontSizeIcon:je,tableHeaderIconColor:rt,tableHeaderIconColorHover:lt}=ce;return{[`${me}-wrapper`]:{[`${me}-thead th${me}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
|
|
&${me}-cell-fix-left:hover,
|
|
&${me}-cell-fix-right:hover
|
|
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${me}-thead th${me}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${me}-column-sort`]:{background:ce.tableBodySortBg},[`${me}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${me}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${me}-column-sorter`]:{marginInlineStart:Ae,color:rt,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:je,"&.active":{color:ce.colorPrimary}},[`${me}-column-sorter-up + ${me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${me}-column-sorters:hover ${me}-column-sorter`]:{color:lt}}}},Sl=ce=>{const{componentCls:me,opacityLoading:Ae,tableScrollThumbBg:je,tableScrollThumbBgHover:rt,tableScrollThumbSize:lt,tableScrollBg:wt,zIndexTableSticky:At,stickyScrollBarBorderRadius:Et}=ce,Yt=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:At,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${lt}px !important`,zIndex:At,display:"flex",alignItems:"center",background:wt,borderTop:Yt,opacity:Ae,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:lt,backgroundColor:je,borderRadius:Et,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:rt}}}}}}},pi=ce=>{const{componentCls:me,lineWidth:Ae,tableBorderColor:je}=ce,rt=`${Ae}px ${ce.lineType} ${je}`;return{[`${me}-wrapper`]:{[`${me}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:rt}}},[`div${me}-summary`]:{boxShadow:`0 -${Ae}px 0 ${je}`}}}},Pl=ce=>{const{componentCls:me}=ce,Ae=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,je=`${me}-expanded-row-cell`;return{[`${me}-wrapper`]:{[`${me}-tbody-virtual`]:{[`${me}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${me}-cell`]:{borderBottom:Ae},[`${me}-expanded-row`]:{[`${je}${je}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${me}-bordered`]:{[`${me}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Ae,position:"absolute"},[`${me}-cell`]:{borderInlineEnd:Ae,[`&${me}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:Ae}}}}}}};const yl=ce=>{const{componentCls:me,fontWeightStrong:Ae,tablePaddingVertical:je,tablePaddingHorizontal:rt,lineWidth:lt,lineType:wt,tableBorderColor:At,tableFontSize:Et,tableBg:Yt,tableRadius:gn,tableHeaderTextColor:tn,motionDurationMid:An,tableHeaderBg:Bn,tableHeaderCellSplitColor:wn,tableRowHoverBg:Gn,tableSelectedRowBg:Zn,tableSelectedRowHoverBg:Kn,tableFooterTextColor:zn,tableFooterBg:Yn,paddingContentVerticalLG:fa}=ce,va=`${lt}px ${wt} ${At}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Nr.dF)()),{[me]:Object.assign(Object.assign({},(0,Nr.Wf)(ce)),{fontSize:Et,background:Yt,borderRadius:`${gn}px ${gn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${gn}px ${gn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${me}-cell,
|
|
${me}-thead > tr > th,
|
|
${me}-tbody > tr > th,
|
|
${me}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${fa}px ${rt}px`,overflowWrap:"break-word"},[`${me}-title`]:{padding:`${je}px ${rt}px`},[`${me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:tn,fontWeight:Ae,textAlign:"start",background:Bn,borderBottom:va,transition:`background ${An} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${me}-selection-column):not(${me}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:wn,transform:"translateY(-50%)",transition:`background-color ${An}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${An}, border-color ${An}`,borderBottom:va,[`
|
|
> ${me}-wrapper:only-child,
|
|
> ${me}-expanded-row-fixed > ${me}-wrapper:only-child
|
|
`]:{[me]:{marginBlock:`-${je}px`,marginInline:`${ce.tableExpandColumnWidth-rt}px -${rt}px`,[`${me}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:tn,fontWeight:Ae,textAlign:"start",background:Bn,borderBottom:va,transition:`background ${An} ease`},[`
|
|
&${me}-row:hover > th,
|
|
&${me}-row:hover > td,
|
|
> th${me}-cell-row-hover,
|
|
> td${me}-cell-row-hover
|
|
`]:{background:Gn},[`&${me}-row-selected`]:{"> th, > td":{background:Zn},"&:hover > th, &:hover > td":{background:Kn}}}},[`${me}-footer`]:{padding:`${je}px ${rt}px`,color:zn,background:Yn}})}};var El=(0,al.Z)("Table",ce=>{const{colorTextHeading:me,colorSplit:Ae,colorIcon:je,colorIconHover:rt,opacityLoading:lt,colorBgContainer:wt,controlInteractiveSize:At,headerBg:Et,headerColor:Yt,headerSortActiveBg:gn,headerSortHoverBg:tn,bodySortBg:An,rowHoverBg:Bn,rowSelectedBg:wn,rowSelectedHoverBg:Gn,rowExpandedBg:Zn,cellPaddingBlock:Kn,cellPaddingInline:zn,cellPaddingBlockMD:Yn,cellPaddingInlineMD:fa,cellPaddingBlockSM:va,cellPaddingInlineSM:la,borderColor:La,footerBg:Ra,footerColor:ea,headerBorderRadius:sa,cellFontSize:ta,cellFontSizeMD:Jn,cellFontSizeSM:ra,headerSplitColor:Fa,fixedHeaderSortActiveBg:Ua,headerFilterHoverBg:Ia,filterDropdownBg:Sa,expandIconBg:Va,selectionColumnWidth:Ja,stickyScrollBarBg:ho}=ce,no=new Ar.C(je),Bo=new Ar.C(rt),wo=2,Ta=(0,ol.TS)(ce,{tableFontSize:ta,tableBg:wt,tableRadius:sa,tablePaddingVertical:Kn,tablePaddingHorizontal:zn,tablePaddingVerticalMiddle:Yn,tablePaddingHorizontalMiddle:fa,tablePaddingVerticalSmall:va,tablePaddingHorizontalSmall:la,tableBorderColor:La,tableHeaderTextColor:Yt,tableHeaderBg:Et,tableFooterTextColor:ea,tableFooterBg:Ra,tableHeaderCellSplitColor:Fa,tableHeaderSortBg:gn,tableHeaderSortHoverBg:tn,tableHeaderIconColor:no.clone().setAlpha(no.getAlpha()*lt).toRgbString(),tableHeaderIconColorHover:Bo.clone().setAlpha(Bo.getAlpha()*lt).toRgbString(),tableBodySortBg:An,tableFixedHeaderSortActiveBg:Ua,tableHeaderFilterActiveBg:Ia,tableFilterDropdownBg:Sa,tableRowHoverBg:Bn,tableSelectedRowBg:wn,tableSelectedRowHoverBg:Gn,zIndexTableFixed:wo,zIndexTableSticky:wo+1,tableFontSizeMiddle:Jn,tableFontSizeSmall:ra,tableSelectionColumnWidth:Ja,tableExpandIconBg:Va,tableExpandColumnWidth:At+2*ce.padding,tableExpandedRowBg:Zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ho,tableScrollThumbBgHover:me,tableScrollBg:Ae});return[yl(Ta),gl(Ta),pi(Ta),hl(Ta),ul(Ta),rl(Ta),ml(Ta),dl(Ta),pi(Ta),ll(Ta),pl(Ta),cl(Ta),Sl(Ta),il(Ta),vl(Ta),fl(Ta),Pl(Ta)]},ce=>{const{colorFillAlter:me,colorBgContainer:Ae,colorTextHeading:je,colorFillSecondary:rt,colorFillContent:lt,controlItemBgActive:wt,controlItemBgActiveHover:At,padding:Et,paddingSM:Yt,paddingXS:gn,colorBorderSecondary:tn,borderRadiusLG:An,fontSize:Bn,controlHeight:wn,colorTextPlaceholder:Gn}=ce,Zn=new Ar.C(rt).onBackground(Ae).toHexShortString(),Kn=new Ar.C(lt).onBackground(Ae).toHexShortString(),zn=new Ar.C(me).onBackground(Ae).toHexShortString();return{headerBg:zn,headerColor:je,headerSortActiveBg:Zn,headerSortHoverBg:Kn,bodySortBg:zn,rowHoverBg:zn,rowSelectedBg:wt,rowSelectedHoverBg:At,rowExpandedBg:me,cellPaddingBlock:Et,cellPaddingInline:Et,cellPaddingBlockMD:Yt,cellPaddingInlineMD:gn,cellPaddingBlockSM:gn,cellPaddingInlineSM:gn,borderColor:tn,headerBorderRadius:An,footerBg:zn,footerColor:je,cellFontSize:Bn,cellFontSizeMD:Bn,cellFontSizeSM:Bn,headerSplitColor:tn,fixedHeaderSortActiveBg:Zn,headerFilterHoverBg:lt,filterDropdownMenuBg:Ae,filterDropdownBg:Ae,expandIconBg:Ae,selectionColumnWidth:wn,stickyScrollBarBg:Gn,stickyScrollBarBorderRadius:100}});const Cl=[],bl=(ce,me)=>{const{prefixCls:Ae,className:je,rootClassName:rt,style:lt,size:wt,bordered:At,dropdownPrefixCls:Et,dataSource:Yt,pagination:gn,rowSelection:tn,rowKey:An="key",rowClassName:Bn,columns:wn,children:Gn,childrenColumnName:Zn,onChange:Kn,getPopupContainer:zn,loading:Yn,expandIcon:fa,expandable:va,expandedRowRender:la,expandIconColumnIndex:La,indentSize:Ra,scroll:ea,sortDirections:sa,locale:ta,showSorterTooltip:Jn=!0,virtual:ra}=ce,Fa=re.useMemo(()=>wn||Ie(Gn),[wn,Gn]),Ua=re.useMemo(()=>Fa.some(qa=>qa.responsive),[Fa]),Ia=(0,Mo.Z)(Ua),Sa=re.useMemo(()=>{const qa=new Set(Object.keys(Ia).filter(So=>Ia[So]));return Fa.filter(So=>!So.responsive||So.responsive.some(Ho=>qa.has(Ho)))},[Fa,Ia]),Va=(0,Qo.Z)(ce,["className","style","columns"]),{locale:Ja=Go.Z,direction:ho,table:no,renderEmpty:Bo,getPrefixCls:wo,getPopupContainer:Ta}=re.useContext(po.E_),Lo=(0,jo.Z)(wt),oo=Object.assign(Object.assign({},Ja.Table),ta),Eo=Yt||Cl,yo=wo("table",Ae),Xo=wo("dropdown",Et),ba=Object.assign({childrenColumnName:Zn,expandIconColumnIndex:La},va),{childrenColumnName:Ea="children"}=ba,Pa=re.useMemo(()=>Eo.some(qa=>qa==null?void 0:qa[Ea])?"nest":la||va&&va.expandedRowRender?"row":null,[Eo]),ga={body:re.useRef()},ro=re.useMemo(()=>typeof An=="function"?An:qa=>qa==null?void 0:qa[An],[An]),[ma]=zi(Eo,Ea,ro),Oa={},_a=function(qa,So){let Ho=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Fo,Uo,_o;const qo=Object.assign(Object.assign({},Oa),qa);Ho&&((Fo=Oa.resetPagination)===null||Fo===void 0||Fo.call(Oa),!((Uo=qo.pagination)===null||Uo===void 0)&&Uo.current&&(qo.pagination.current=1),gn&&gn.onChange&&gn.onChange(1,(_o=qo.pagination)===null||_o===void 0?void 0:_o.pageSize)),ea&&ea.scrollToFirstRowOnChange!==!1&&ga.body.current&&(0,zo.Z)(0,{getContainer:()=>ga.body.current}),Kn==null||Kn(qo.pagination,qo.filters,qo.sorter,{currentDataSource:oi(Wr(Eo,qo.sorterStates,Ea),qo.filterStates),action:So})},Ya=(qa,So)=>{_a({sorter:qa,sorterStates:So},"sort",!1)},[Ko,Zo,lr,Do]=qi({prefixCls:yo,mergedColumns:Sa,onSorterChange:Ya,sortDirections:sa||["ascend","descend"],tableLocale:oo,showSorterTooltip:Jn}),ar=re.useMemo(()=>Wr(Eo,Zo,Ea),[Eo,Zo]);Oa.sorter=Do(),Oa.sorterStates=Zo;const Oo=(qa,So)=>{_a({filters:qa,filterStates:So},"filter",!0)},[$o,br,so]=Zi({prefixCls:yo,locale:oo,dropdownPrefixCls:Xo,mergedColumns:Sa,onFilterChange:Oo,getPopupContainer:zn||Ta}),co=oi(ar,br);Oa.filters=so,Oa.filterStates=br;const bo=re.useMemo(()=>{const qa={};return Object.keys(so).forEach(So=>{so[So]!==null&&(qa[So]=so[So])}),Object.assign(Object.assign({},lr),{filters:qa})},[lr,so]),[Io]=el(bo),Ro=(qa,So)=>{_a({pagination:Object.assign(Object.assign({},Oa.pagination),{current:qa,pageSize:So})},"paginate")},[Qa,Vo]=Wi(co.length,Ro,gn);Oa.pagination=gn===!1?{}:Gi(Qa,gn),Oa.resetPagination=Vo;const Wo=re.useMemo(()=>{if(gn===!1||!Qa.pageSize)return co;const{current:qa=1,total:So,pageSize:Ho=ii}=Qa;return co.length<So?co.length>Ho?co.slice((qa-1)*Ho,qa*Ho):co:co.slice((qa-1)*Ho,qa*Ho)},[!!gn,co,Qa&&Qa.current,Qa&&Qa.pageSize,Qa&&Qa.total]),[er,gr]=Qi({prefixCls:yo,data:co,pageData:Wo,getRowKey:ro,getRecordByKey:ma,expandType:Pa,childrenColumnName:Ea,locale:oo,getPopupContainer:zn||Ta},tn),sr=(qa,So,Ho)=>{let Fo;return typeof Bn=="function"?Fo=De()(Bn(qa,So,Ho)):Fo=De()(Bn),De()({[`${yo}-row-selected`]:gr.has(ro(qa,So))},Fo)};ba.__PARENT_RENDER_ICON__=ba.expandIcon,ba.expandIcon=ba.expandIcon||fa||jn(oo),Pa==="nest"&&ba.expandIconColumnIndex===void 0?ba.expandIconColumnIndex=tn?1:0:ba.expandIconColumnIndex>0&&tn&&(ba.expandIconColumnIndex-=1),typeof ba.indentSize!="number"&&(ba.indentSize=typeof Ra=="number"?Ra:15);const Lr=re.useCallback(qa=>Io(er($o(Ko(qa)))),[Ko,$o,er]);let hr,or;if(gn!==!1&&(Qa!=null&&Qa.total)){let qa;Qa.size?qa=Qa.size:qa=Lo==="small"||Lo==="middle"?"small":void 0;const So=Uo=>re.createElement(tr.Z,Object.assign({},Qa,{className:De()(`${yo}-pagination ${yo}-pagination-${Uo}`,Qa.className),size:qa})),Ho=ho==="rtl"?"left":"right",{position:Fo}=Qa;if(Fo!==null&&Array.isArray(Fo)){const Uo=Fo.find(Sr=>Sr.includes("top")),_o=Fo.find(Sr=>Sr.includes("bottom")),qo=Fo.every(Sr=>`${Sr}`=="none");!Uo&&!_o&&!qo&&(or=So(Ho)),Uo&&(hr=So(Uo.toLowerCase().replace("top",""))),_o&&(or=So(_o.toLowerCase().replace("bottom","")))}else or=So(Ho)}let Yo;typeof Yn=="boolean"?Yo={spinning:Yn}:typeof Yn=="object"&&(Yo=Object.assign({spinning:!0},Yn));const[Jo,To]=El(yo),[,xo]=(0,In.Z)(),mr=De()(`${yo}-wrapper`,no==null?void 0:no.className,{[`${yo}-wrapper-rtl`]:ho==="rtl"},je,rt,To),xr=Object.assign(Object.assign({},no==null?void 0:no.style),lt),yr=ta&&ta.emptyText||(Bo==null?void 0:Bo("Table"))||re.createElement(vo.Z,{componentName:"Table"}),fr=ra?nl:tl,Ir={},Ur=re.useMemo(()=>{const{fontSize:qa,lineHeight:So,padding:Ho,paddingXS:Fo,paddingSM:Uo}=xo,_o=Math.floor(qa*So);switch(Lo){case"large":return Ho*2+_o;case"small":return Fo*2+_o;default:return Uo*2+_o}},[xo,Lo]);return ra&&(Ir.listItemHeight=Ur),Jo(re.createElement("div",{ref:me,className:mr,style:xr},re.createElement(ia.Z,Object.assign({spinning:!1},Yo),hr,re.createElement(fr,Object.assign({},Ir,Va,{columns:Sa,direction:ho,expandable:ba,prefixCls:yo,className:De()({[`${yo}-middle`]:Lo==="middle",[`${yo}-small`]:Lo==="small",[`${yo}-bordered`]:At,[`${yo}-empty`]:Eo.length===0}),data:Wo,rowKey:ro,rowClassName:sr,emptyText:yr,internalHooks:ie,internalRefs:ga,transformColumns:Lr})),or)))};var xl=re.forwardRef(bl);const Fl=(ce,me)=>{const Ae=re.useRef(0);return Ae.current+=1,re.createElement(xl,Object.assign({},ce,{ref:me,_renderTimes:Ae.current}))},vr=re.forwardRef(Fl);vr.SELECTION_COLUMN=Pr,vr.EXPAND_COLUMN=ee,vr.SELECTION_ALL=zr,vr.SELECTION_INVERT=Hr,vr.SELECTION_NONE=jr,vr.Column=ao,vr.ColumnGroup=No,vr.Summary=Se;var Bl=vr,wl=Bl},12563:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return Le}});var ee=te(59301),ie=te(99267),we=te(92310),Ge=te.n(we),Ce=te(36785),Fe=te(47729),re=te(14088),$e=te(36355),Ue=te(17313),ze=te(37613),Ye=te(83116);const pt=ue=>{const{paddingXXS:ot,lineWidth:De,tagPaddingHorizontal:Je,componentCls:ye}=ue,ke=Je-De,qe=ot-De;return{[ye]:Object.assign(Object.assign({},(0,Ue.Wf)(ue)),{display:"inline-block",height:"auto",marginInlineEnd:ue.marginXS,paddingInline:ke,fontSize:ue.tagFontSize,lineHeight:ue.tagLineHeight,whiteSpace:"nowrap",background:ue.defaultBg,border:`${ue.lineWidth}px ${ue.lineType} ${ue.colorBorder}`,borderRadius:ue.borderRadiusSM,opacity:1,transition:`all ${ue.motionDurationMid}`,textAlign:"start",position:"relative",[`&${ye}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ue.defaultColor},[`${ye}-close-icon`]:{marginInlineStart:qe,color:ue.colorTextDescription,fontSize:ue.tagIconSize,cursor:"pointer",transition:`all ${ue.motionDurationMid}`,"&:hover":{color:ue.colorTextHeading}},[`&${ye}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ue.iconCls}-close, ${ue.iconCls}-close:hover`]:{color:ue.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${ye}-checkable-checked):hover`]:{color:ue.colorPrimary,backgroundColor:ue.colorFillSecondary},"&:active, &-checked":{color:ue.colorTextLightSolid},"&-checked":{backgroundColor:ue.colorPrimary,"&:hover":{backgroundColor:ue.colorPrimaryHover}},"&:active":{backgroundColor:ue.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ue.iconCls} + span, > span + ${ue.iconCls}`]:{marginInlineStart:ke}}),[`${ye}-borderless`]:{borderColor:"transparent",background:ue.tagBorderlessBg}}},Te=ue=>{const{lineWidth:ot,fontSizeIcon:De}=ue,Je=ue.fontSizeSM,ye=`${ue.lineHeightSM*Je}px`;return(0,ze.TS)(ue,{tagFontSize:Je,tagLineHeight:ye,tagIconSize:De-2*ot,tagPaddingHorizontal:8,tagBorderlessBg:ue.colorFillTertiary})},oe=ue=>({defaultBg:ue.colorFillQuaternary,defaultColor:ue.colorText});var y=(0,Ye.Z)("Tag",ue=>{const ot=Te(ue);return pt(ot)},oe),a=function(ue,ot){var De={};for(var Je in ue)Object.prototype.hasOwnProperty.call(ue,Je)&&ot.indexOf(Je)<0&&(De[Je]=ue[Je]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Je=Object.getOwnPropertySymbols(ue);ye<Je.length;ye++)ot.indexOf(Je[ye])<0&&Object.prototype.propertyIsEnumerable.call(ue,Je[ye])&&(De[Je[ye]]=ue[Je[ye]]);return De},E=ue=>{const{prefixCls:ot,style:De,className:Je,checked:ye,onChange:ke,onClick:qe}=ue,Xe=a(ue,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ve,tag:kt}=ee.useContext($e.E_),_e=yt=>{ke==null||ke(!ye),qe==null||qe(yt)},Ot=Ve("tag",ot),[en,Me]=y(Ot),Ze=Ge()(Ot,`${Ot}-checkable`,{[`${Ot}-checkable-checked`]:ye},kt==null?void 0:kt.className,Je,Me);return en(ee.createElement("span",Object.assign({},Xe,{style:Object.assign(Object.assign({},De),kt==null?void 0:kt.style),className:Ze,onClick:_e})))},x=te(45157);const z=ue=>(0,x.Z)(ue,(ot,De)=>{let{textColor:Je,lightBorderColor:ye,lightColor:ke,darkColor:qe}=De;return{[`${ue.componentCls}-${ot}`]:{color:Je,background:ke,borderColor:ye,"&-inverse":{color:ue.colorTextLightSolid,background:qe,borderColor:qe},[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ne=(0,Ye.b)(["Tag","preset"],ue=>{const ot=Te(ue);return z(ot)},oe);function ae(ue){return typeof ue!="string"?ue:ue.charAt(0).toUpperCase()+ue.slice(1)}const le=(ue,ot,De)=>{const Je=ae(De);return{[`${ue.componentCls}-${ot}`]:{color:ue[`color${De}`],background:ue[`color${Je}Bg`],borderColor:ue[`color${Je}Border`],[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}};var de=(0,Ye.b)(["Tag","status"],ue=>{const ot=Te(ue);return[le(ot,"success","Success"),le(ot,"processing","Info"),le(ot,"error","Error"),le(ot,"warning","Warning")]},oe),ge=function(ue,ot){var De={};for(var Je in ue)Object.prototype.hasOwnProperty.call(ue,Je)&&ot.indexOf(Je)<0&&(De[Je]=ue[Je]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Je=Object.getOwnPropertySymbols(ue);ye<Je.length;ye++)ot.indexOf(Je[ye])<0&&Object.prototype.propertyIsEnumerable.call(ue,Je[ye])&&(De[Je[ye]]=ue[Je[ye]]);return De};const be=(ue,ot)=>{const{prefixCls:De,className:Je,rootClassName:ye,style:ke,children:qe,icon:Xe,color:Ve,onClose:kt,closeIcon:_e,closable:Ot,bordered:en=!0}=ue,Me=ge(ue,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:Ze,direction:yt,tag:Ut}=ee.useContext($e.E_),[ft,Qt]=ee.useState(!0);ee.useEffect(()=>{"visible"in Me&&Qt(Me.visible)},[Me.visible]);const Be=(0,Ce.o2)(Ve),$t=(0,Ce.yT)(Ve),hn=Be||$t,St=Object.assign(Object.assign({backgroundColor:Ve&&!hn?Ve:void 0},Ut==null?void 0:Ut.style),ke),ct=Ze("tag",De),[Qe,Re]=y(ct),Pe=Ge()(ct,Ut==null?void 0:Ut.className,{[`${ct}-${Ve}`]:hn,[`${ct}-has-color`]:Ve&&!hn,[`${ct}-hidden`]:!ft,[`${ct}-rtl`]:yt==="rtl",[`${ct}-borderless`]:!en},Je,ye,Re),se=Oe=>{Oe.stopPropagation(),kt==null||kt(Oe),!Oe.defaultPrevented&&Qt(!1)},[,Ne]=(0,Fe.Z)(Ot,_e,Oe=>Oe===null?ee.createElement(ie.Z,{className:`${ct}-close-icon`,onClick:se}):ee.createElement("span",{className:`${ct}-close-icon`,onClick:se},Oe),null,!1),it=typeof Me.onClick=="function"||qe&&qe.type==="a",Se=Xe||null,ve=Se?ee.createElement(ee.Fragment,null,Se,qe&&ee.createElement("span",null,qe)):qe,tt=ee.createElement("span",Object.assign({},Me,{ref:ot,className:Pe,style:St}),ve,Ne,Be&&ee.createElement(ne,{key:"preset",prefixCls:ct}),$t&&ee.createElement(de,{key:"status",prefixCls:ct}));return Qe(it?ee.createElement(re.Z,{component:"Tag"},tt):tt)},fe=ee.forwardRef(be);fe.CheckableTag=E;var Le=fe},98228:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return Nn}});var ee=te(92310),ie=te.n(ee),we=te(92413),Ge=te(26407),Ce=te(33708),Fe=te(33606),re=te(37061),$e=te(39559),Ue=te(77861),ze=te(17115),Ye=te(90782),pt=te(18929),Te=te(48736),oe=te(59301),y=function(at){var Bt=oe.useRef({valueLabels:new Map});return oe.useMemo(function(){var Jt=Bt.current.valueLabels,yn=new Map,he=at.map(function(We){var st,gt=We.value,bt=(st=We.label)!==null&&st!==void 0?st:Jt.get(gt);return yn.set(gt,bt),(0,Ce.Z)((0,Ce.Z)({},We),{},{label:bt})});return Bt.current.valueLabels=yn,[he]},[at])},a=function(at,Bt,Jt,yn){return oe.useMemo(function(){var he=at.map(function(bt){var Xt=bt.value;return Xt}),We=Bt.map(function(bt){var Xt=bt.value;return Xt}),st=he.filter(function(bt){return!yn[bt]});if(Jt){var gt=(0,Ye.S)(he,!0,yn);he=gt.checkedKeys,We=gt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ge.Z)(st),(0,Ge.Z)(he)))),We]},[at,Bt,Jt,yn])},b=te(71430),E=function(at,Bt){return oe.useMemo(function(){var Jt=(0,b.I8)(at,{fieldNames:Bt,initWrapper:function(he){return(0,Ce.Z)((0,Ce.Z)({},he),{},{valueEntities:new Map})},processEntity:function(he,We){var st=he.node[Bt.value];if(0)var gt;We.valueEntities.set(st,he)}});return Jt},[at,Bt])},x=te(400),z=te(11592),ne=function(){return null},ae=ne,le=["children","value"];function de(at){return(0,z.Z)(at).map(function(Bt){if(!oe.isValidElement(Bt)||!Bt.type)return null;var Jt=Bt,yn=Jt.key,he=Jt.props,We=he.children,st=he.value,gt=(0,re.Z)(he,le),bt=(0,Ce.Z)({key:yn,value:st},gt),Xt=de(We);return Xt.length&&(bt.children=Xt),bt}).filter(function(Bt){return Bt})}function ge(at){if(!at)return at;var Bt=(0,Ce.Z)({},at);return"props"in Bt||Object.defineProperty(Bt,"props",{get:function(){return(0,Te.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Bt}}),Bt}function be(at,Bt,Jt,yn,he,We){var st=null,gt=null;function bt(){function Xt(xt){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return xt.map(function(Ie,ut){var jt="".concat(He,"-").concat(ut),Dt=Ie[We.value],pn=Jt.includes(Dt),fn=Xt(Ie[We.children]||[],jt,pn),qt=oe.createElement(ae,Ie,fn.map(function(Qn){return Qn.node}));if(Bt===Dt&&(st=qt),pn){var xn={pos:jt,node:qt,children:fn};return Ke||gt.push(xn),xn}return null}).filter(function(Ie){return Ie})}gt||(gt=[],Xt(yn),gt.sort(function(xt,He){var Ke=xt.node.props.value,Ie=He.node.props.value,ut=Jt.indexOf(Ke),jt=Jt.indexOf(Ie);return ut-jt}))}Object.defineProperty(at,"triggerNode",{get:function(){return(0,Te.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),bt(),st}}),Object.defineProperty(at,"allCheckedNodes",{get:function(){return(0,Te.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),bt(),he?gt:gt.map(function(xt){var He=xt.node;return He})}})}var fe=function(at,Bt,Jt){var yn=Jt.treeNodeFilterProp,he=Jt.filterTreeNode,We=Jt.fieldNames,st=We.children;return oe.useMemo(function(){if(!Bt||he===!1)return at;var gt;if(typeof he=="function")gt=he;else{var bt=Bt.toUpperCase();gt=function(He,Ke){var Ie=Ke[yn];return String(Ie).toUpperCase().includes(bt)}}function Xt(xt){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return xt.reduce(function(Ke,Ie){var ut=Ie[st],jt=He||gt(Bt,ge(Ie)),Dt=Xt(ut||[],jt);return(jt||Dt.length)&&Ke.push((0,Ce.Z)((0,Ce.Z)({},Ie),{},(0,x.Z)({isLeaf:void 0},st,Dt))),Ke},[])}return Xt(at)},[at,Bt,st,yn,he])};function Le(at){var Bt=oe.useRef();Bt.current=at;var Jt=oe.useCallback(function(){return Bt.current.apply(Bt,arguments)},[]);return Jt}function ue(at,Bt){var Jt=Bt.id,yn=Bt.pId,he=Bt.rootPId,We={},st=[],gt=at.map(function(bt){var Xt=(0,Ce.Z)({},bt),xt=Xt[Jt];return We[xt]=Xt,Xt.key=Xt.key||xt,Xt});return gt.forEach(function(bt){var Xt=bt[yn],xt=We[Xt];xt&&(xt.children=xt.children||[],xt.children.push(bt)),(Xt===he||!xt&&he===null)&&st.push(bt)}),st}function ot(at,Bt,Jt){return oe.useMemo(function(){return at?Jt?ue(at,(0,Ce.Z)({id:"id",pId:"pId",rootPId:null},Jt!==!0?Jt:{})):at:de(Bt)},[Bt,Jt,at])}var De=oe.createContext(null),Je=De,ye=te(10228),ke=te(80547),qe=te(23130),Xe=oe.createContext(null),Ve=Xe;function kt(at){return Array.isArray(at)?at:at!==void 0?[at]:[]}function _e(at){var Bt=at||{},Jt=Bt.label,yn=Bt.value,he=Bt.children,We=yn||"value";return{_title:Jt?[Jt]:["title","label"],value:We,key:We,children:he||"children"}}function Ot(at){return!at||at.disabled||at.disableCheckbox||at.checkable===!1}function en(at,Bt){var Jt=[];function yn(he){he.forEach(function(We){var st=We[Bt.children];st&&(Jt.push(We[Bt.value]),yn(st))})}return yn(at),Jt}function Me(at){return at==null}var Ze={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},yt=function(Bt,Jt){var yn=(0,Ue.lk)(),he=yn.prefixCls,We=yn.multiple,st=yn.searchValue,gt=yn.toggleOpen,bt=yn.open,Xt=yn.notFoundContent,xt=oe.useContext(Ve),He=xt.virtual,Ke=xt.listHeight,Ie=xt.listItemHeight,ut=xt.treeData,jt=xt.fieldNames,Dt=xt.onSelect,pn=xt.dropdownMatchSelectWidth,fn=xt.treeExpandAction,qt=oe.useContext(Je),xn=qt.checkable,Qn=qt.checkedKeys,on=qt.halfCheckedKeys,Un=qt.treeExpandedKeys,$n=qt.treeDefaultExpandAll,ca=qt.treeDefaultExpandedKeys,qn=qt.onTreeExpand,nt=qt.treeIcon,zt=qt.showTreeIcon,Pt=qt.switcherIcon,_t=qt.treeLine,dn=qt.treeNodeFilterProp,vn=qt.loadData,un=qt.treeLoadedKeys,ln=qt.treeMotion,Wn=qt.onTreeLoad,Xn=qt.keyEntities,Gt=oe.useRef(),aa=(0,ke.Z)(function(){return ut},[bt,ut],function(_n,Za){return Za[0]&&_n[1]!==Za[1]}),ya=oe.useState(null),Ca=(0,Fe.Z)(ya,2),pa=Ca[0],Fn=Ca[1],Mn=Xn[pa],Vn=oe.useMemo(function(){return xn?{checked:Qn,halfChecked:on}:null},[xn,Qn,on]);oe.useEffect(function(){if(bt&&!We&&Qn.length){var _n;(_n=Gt.current)===null||_n===void 0||_n.scrollTo({key:Qn[0]}),Fn(Qn[0])}},[bt]);var Ln=String(st).toLowerCase(),na=function(Za){return Ln?String(Za[dn]).toLowerCase().includes(Ln):!1},ha=oe.useState(ca),da=(0,Fe.Z)(ha,2),Ba=da[0],oa=da[1],Ma=oe.useState(null),eo=(0,Fe.Z)(Ma,2),fo=eo[0],ja=eo[1],Da=oe.useMemo(function(){return Un?(0,Ge.Z)(Un):st?fo:Ba},[Ba,fo,Un,st]);oe.useEffect(function(){st&&ja(en(ut,jt))},[st]);var Xa=function(Za){oa(Za),ja(Za),qn&&qn(Za)},ka=function(Za){Za.preventDefault()},Ga=function(Za,uo){var za=uo.node;xn&&Ot(za)||(Dt(za.key,{selected:!Qn.includes(za.key)}),We||gt(!1))};if(oe.useImperativeHandle(Jt,function(){var _n;return{scrollTo:(_n=Gt.current)===null||_n===void 0?void 0:_n.scrollTo,onKeyDown:function(uo){var za,to=uo.which;switch(to){case ye.Z.UP:case ye.Z.DOWN:case ye.Z.LEFT:case ye.Z.RIGHT:(za=Gt.current)===null||za===void 0||za.onKeyDown(uo);break;case ye.Z.ENTER:{if(Mn){var lo=(Mn==null?void 0:Mn.node)||{},ua=lo.selectable,Ka=lo.value;ua!==!1&&Ga(null,{node:{key:pa},selected:!Qn.includes(Ka)})}break}case ye.Z.ESC:gt(!1)}},onKeyUp:function(){}}}),aa.length===0)return oe.createElement("div",{role:"listbox",className:"".concat(he,"-empty"),onMouseDown:ka},Xt);var Na={fieldNames:jt};return un&&(Na.loadedKeys=un),Da&&(Na.expandedKeys=Da),oe.createElement("div",{onMouseDown:ka},Mn&&bt&&oe.createElement("span",{style:Ze,"aria-live":"assertive"},Mn.node.value),oe.createElement(qe.Z,(0,we.Z)({ref:Gt,focusable:!1,prefixCls:"".concat(he,"-tree"),treeData:aa,height:Ke,itemHeight:Ie,virtual:He!==!1&&pn!==!1,multiple:We,icon:nt,showIcon:zt,switcherIcon:Pt,showLine:_t,loadData:st?null:vn,motion:ln,activeKey:pa,checkable:xn,checkStrictly:!0,checkedKeys:Vn,selectedKeys:xn?[]:Qn,defaultExpandAll:$n},Na,{onActiveChange:Fn,onSelect:Ga,onCheck:Ga,onExpand:Xa,onLoad:Wn,filterTreeNode:na,expandAction:fn})))},Ut=oe.forwardRef(yt);Ut.displayName="OptionList";var ft=Ut,Qt="SHOW_ALL",Be="SHOW_PARENT",$t="SHOW_CHILD";function hn(at,Bt,Jt,yn){var he=new Set(at);return Bt===$t?at.filter(function(We){var st=Jt[We];return!(st&&st.children&&st.children.some(function(gt){var bt=gt.node;return he.has(bt[yn.value])})&&st.children.every(function(gt){var bt=gt.node;return Ot(bt)||he.has(bt[yn.value])}))}):Bt===Be?at.filter(function(We){var st=Jt[We],gt=st?st.parent:null;return!(gt&&!Ot(gt.node)&&he.has(gt.key))}):at}function St(at){var Bt=at.searchPlaceholder,Jt=at.treeCheckStrictly,yn=at.treeCheckable,he=at.labelInValue,We=at.value,st=at.multiple;warning(!Bt,"`searchPlaceholder` has been removed."),Jt&&he===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(he||Jt)&&warning(toArray(We).every(function(gt){return gt&&_typeof(gt)==="object"&&"value"in gt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Jt||st||yn?warning(!We||Array.isArray(We),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(We),"`value` should not be array when `TreeSelect` is single mode.")}var ct=null,Qe=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function Re(at){return!at||(0,$e.Z)(at)!=="object"}var Pe=oe.forwardRef(function(at,Bt){var Jt=at.id,yn=at.prefixCls,he=yn===void 0?"rc-tree-select":yn,We=at.value,st=at.defaultValue,gt=at.onChange,bt=at.onSelect,Xt=at.onDeselect,xt=at.searchValue,He=at.inputValue,Ke=at.onSearch,Ie=at.autoClearSearchValue,ut=Ie===void 0?!0:Ie,jt=at.filterTreeNode,Dt=at.treeNodeFilterProp,pn=Dt===void 0?"value":Dt,fn=at.showCheckedStrategy,qt=at.treeNodeLabelProp,xn=at.multiple,Qn=at.treeCheckable,on=at.treeCheckStrictly,Un=at.labelInValue,$n=at.fieldNames,ca=at.treeDataSimpleMode,qn=at.treeData,nt=at.children,zt=at.loadData,Pt=at.treeLoadedKeys,_t=at.onTreeLoad,dn=at.treeDefaultExpandAll,vn=at.treeExpandedKeys,un=at.treeDefaultExpandedKeys,ln=at.onTreeExpand,Wn=at.treeExpandAction,Xn=at.virtual,Gt=at.listHeight,aa=Gt===void 0?200:Gt,ya=at.listItemHeight,Ca=ya===void 0?20:ya,pa=at.onDropdownVisibleChange,Fn=at.dropdownMatchSelectWidth,Mn=Fn===void 0?!0:Fn,Vn=at.treeLine,Ln=at.treeIcon,na=at.showTreeIcon,ha=at.switcherIcon,da=at.treeMotion,Ba=(0,re.Z)(at,Qe),oa=(0,ze.ZP)(Jt),Ma=Qn&&!on,eo=Qn||on,fo=on||Un,ja=eo||xn,Da=(0,pt.Z)(st,{value:We}),Xa=(0,Fe.Z)(Da,2),ka=Xa[0],Ga=Xa[1],Na=oe.useMemo(function(){return Qn?fn||$t:Qt},[fn,Qn]),_n=oe.useMemo(function(){return _e($n)},[JSON.stringify($n)]),Za=(0,pt.Z)("",{value:xt!==void 0?xt:He,postState:function(kn){return kn||""}}),uo=(0,Fe.Z)(Za,2),za=uo[0],to=uo[1],lo=function(kn){to(kn),Ke==null||Ke(kn)},ua=ot(qn,nt,ca),Ka=E(ua,_n),wa=Ka.keyEntities,ao=Ka.valueEntities,Po=oe.useCallback(function(bn){var kn=[],Hn=[];return bn.forEach(function(Tn){ao.has(Tn)?Hn.push(Tn):kn.push(Tn)}),{missingRawValues:kn,existRawValues:Hn}},[ao]),No=fe(ua,za,{fieldNames:_n,treeNodeFilterProp:pn,filterTreeNode:jt}),Qo=oe.useCallback(function(bn){if(bn){if(qt)return bn[qt];for(var kn=_n._title,Hn=0;Hn<kn.length;Hn+=1){var Tn=bn[kn[Hn]];if(Tn!==void 0)return Tn}}},[_n,qt]),zo=oe.useCallback(function(bn){var kn=kt(bn);return kn.map(function(Hn){return Re(Hn)?{value:Hn}:Hn})},[]),po=oe.useCallback(function(bn){var kn=zo(bn);return kn.map(function(Hn){var Tn=Hn.label,Ha=Hn.value,Aa=Hn.halfChecked,$a,io=ao.get(Ha);if(io){var Ao;Tn=(Ao=Tn)!==null&&Ao!==void 0?Ao:Qo(io.node),$a=io.node.disabled}else if(Tn===void 0){var ko=zo(ka).find(function(dr){return dr.value===Ha});Tn=ko.label}return{label:Tn,value:Ha,halfChecked:Aa,disabled:$a}})},[ao,Qo,zo,ka]),vo=oe.useMemo(function(){return zo(ka)},[zo,ka]),jo=oe.useMemo(function(){var bn=[],kn=[];return vo.forEach(function(Hn){Hn.halfChecked?kn.push(Hn):bn.push(Hn)}),[bn,kn]},[vo]),Mo=(0,Fe.Z)(jo,2),Go=Mo[0],tr=Mo[1],ia=oe.useMemo(function(){return Go.map(function(bn){return bn.value})},[Go]),In=a(Go,tr,Ma,wa),Rn=(0,Fe.Z)(In,2),jn=Rn[0],xa=Rn[1],Wa=oe.useMemo(function(){var bn=hn(jn,Na,wa,_n),kn=bn.map(function(Aa){var $a,io,Ao;return($a=(io=wa[Aa])===null||io===void 0||(Ao=io.node)===null||Ao===void 0?void 0:Ao[_n.value])!==null&&$a!==void 0?$a:Aa}),Hn=kn.map(function(Aa){var $a=Go.find(function(io){return io.value===Aa});return{value:Aa,label:$a==null?void 0:$a.label}}),Tn=po(Hn),Ha=Tn[0];return!ja&&Ha&&Me(Ha.value)&&Me(Ha.label)?[]:Tn.map(function(Aa){var $a;return(0,Ce.Z)((0,Ce.Z)({},Aa),{},{label:($a=Aa.label)!==null&&$a!==void 0?$a:Aa.value})})},[_n,ja,jn,Go,po,Na,wa]),pe=y(Wa),Mt=(0,Fe.Z)(pe,1),rn=Mt[0],Cn=Le(function(bn,kn,Hn){var Tn=po(bn);if(Ga(Tn),ut&&to(""),gt){var Ha=bn;if(Ma){var Aa=hn(bn,Na,wa,_n);Ha=Aa.map(function(ir){var cr=ao.get(ir);return cr?cr.node[_n.value]:ir})}var $a=kn||{triggerValue:void 0,selected:void 0},io=$a.triggerValue,Ao=$a.selected,ko=Ha;if(on){var dr=tr.filter(function(ir){return!Ha.includes(ir.value)});ko=[].concat((0,Ge.Z)(ko),(0,Ge.Z)(dr))}var ur=po(ko),nr={preValue:Go,triggerValue:io},pr=!0;(on||Hn==="selection"&&!Ao)&&(pr=!1),be(nr,io,bn,ua,pr,_n),eo?nr.checked=Ao:nr.selected=Ao;var Fr=fo?ur:ur.map(function(ir){return ir.value});gt(ja?Fr:Fr[0],fo?null:ur.map(function(ir){return ir.label}),nr)}}),Ht=oe.useCallback(function(bn,kn){var Hn,Tn=kn.selected,Ha=kn.source,Aa=wa[bn],$a=Aa==null?void 0:Aa.node,io=(Hn=$a==null?void 0:$a[_n.value])!==null&&Hn!==void 0?Hn:bn;if(!ja)Cn([io],{selected:!0,triggerValue:io},"option");else{var Ao=Tn?[].concat((0,Ge.Z)(ia),[io]):jn.filter(function(cr){return cr!==io});if(Ma){var ko=Po(Ao),dr=ko.missingRawValues,ur=ko.existRawValues,nr=ur.map(function(cr){return ao.get(cr).key}),pr;if(Tn){var Fr=(0,Ye.S)(nr,!0,wa);pr=Fr.checkedKeys}else{var ir=(0,Ye.S)(nr,{checked:!1,halfCheckedKeys:xa},wa);pr=ir.checkedKeys}Ao=[].concat((0,Ge.Z)(dr),(0,Ge.Z)(pr.map(function(cr){return wa[cr].node[_n.value]})))}Cn(Ao,{selected:Tn,triggerValue:io},Ha||"option")}Tn||!ja?bt==null||bt(io,ge($a)):Xt==null||Xt(io,ge($a))},[Po,ao,wa,_n,ja,ia,Cn,Ma,bt,Xt,jn,xa]),Dn=oe.useCallback(function(bn){if(pa){var kn={};Object.defineProperty(kn,"documentClickClose",{get:function(){return(0,Te.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),pa(bn,kn)}},[pa]),Pn=Le(function(bn,kn){var Hn=bn.map(function(Tn){return Tn.value});if(kn.type==="clear"){Cn(Hn,{},"selection");return}kn.values.length&&Ht(kn.values[0].value,{selected:!1,source:"selection"})}),mn=oe.useMemo(function(){return{virtual:Xn,dropdownMatchSelectWidth:Mn,listHeight:aa,listItemHeight:Ca,treeData:No,fieldNames:_n,onSelect:Ht,treeExpandAction:Wn}},[Xn,Mn,aa,Ca,No,_n,Ht,Wn]),En=oe.useMemo(function(){return{checkable:eo,loadData:zt,treeLoadedKeys:Pt,onTreeLoad:_t,checkedKeys:jn,halfCheckedKeys:xa,treeDefaultExpandAll:dn,treeExpandedKeys:vn,treeDefaultExpandedKeys:un,onTreeExpand:ln,treeIcon:Ln,treeMotion:da,showTreeIcon:na,switcherIcon:ha,treeLine:Vn,treeNodeFilterProp:pn,keyEntities:wa}},[eo,zt,Pt,_t,jn,xa,dn,vn,un,ln,Ln,da,na,ha,Vn,pn,wa]);return oe.createElement(Ve.Provider,{value:mn},oe.createElement(Je.Provider,{value:En},oe.createElement(Ue.Ac,(0,we.Z)({ref:Bt},Ba,{id:oa,prefixCls:he,mode:ja?"multiple":void 0,displayValues:rn,onDisplayValuesChange:Pn,searchValue:za,onSearch:lo,OptionList:ft,emptyOptions:!ua.length,onDropdownVisibleChange:Dn,dropdownMatchSelectWidth:Mn}))))}),se=Pe;se.TreeNode=ae,se.SHOW_ALL=Qt,se.SHOW_PARENT=Be,se.SHOW_CHILD=$t;var Ne=se,it=Ne,Se=te(2738),ve=te(53487),tt=te(62892),Oe=te(19080),Ee=te(36355),et=te(1684),Kt=te(93891),ht=te(19716),It=te(32441),Tt=te(14154),Zt=te(58582),xe=te(84443),dt=te(66339),vt=te(33234),mt=te(71997),Nt=te(98447),Vt=te(37613),nn=te(83116),an=te(20648);const Sn=at=>{const{componentCls:Bt,treePrefixCls:Jt,colorBgElevated:yn}=at,he=`.${Jt}`;return[{[`${Bt}-dropdown`]:[{padding:`${at.paddingXS}px ${at.paddingXS/2}px`},(0,an.Yk)(Jt,(0,Vt.TS)(at,{colorBgContainer:yn})),{[he]:{borderRadius:0,[`${he}-list-holder-inner`]:{alignItems:"stretch",[`${he}-treenode`]:{[`${he}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Nt.C2)(`${Jt}-checkbox`,at),{"&-rtl":{direction:"rtl",[`${he}-switcher${he}-switcher_close`]:{[`${he}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function On(at,Bt){return(0,nn.Z)("TreeSelect",Jt=>{const yn=(0,Vt.TS)(Jt,{treePrefixCls:Bt});return[Sn(yn)]},an.TM)(at)}var Lt=function(at,Bt){var Jt={};for(var yn in at)Object.prototype.hasOwnProperty.call(at,yn)&&Bt.indexOf(yn)<0&&(Jt[yn]=at[yn]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,yn=Object.getOwnPropertySymbols(at);he<yn.length;he++)Bt.indexOf(yn[he])<0&&Object.prototype.propertyIsEnumerable.call(at,yn[he])&&(Jt[yn[he]]=at[yn[he]]);return Jt};const Ct=(at,Bt)=>{var Jt,{prefixCls:yn,size:he,disabled:We,bordered:st=!0,className:gt,rootClassName:bt,treeCheckable:Xt,multiple:xt,listHeight:He=256,listItemHeight:Ke=26,placement:Ie,notFoundContent:ut,switcherIcon:jt,treeLine:Dt,getPopupContainer:pn,popupClassName:fn,dropdownClassName:qt,treeIcon:xn=!1,transitionName:Qn,choiceTransitionName:on="",status:Un,treeExpandAction:$n,builtinPlacements:ca,dropdownMatchSelectWidth:qn,popupMatchSelectWidth:nt,allowClear:zt}=at,Pt=Lt(at,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:_t,getPrefixCls:dn,renderEmpty:vn,direction:un,virtual:ln,popupMatchSelectWidth:Wn,popupOverflow:Xn}=oe.useContext(Ee.E_),Gt=dn(),aa=dn("select",yn),ya=dn("select-tree",yn),Ca=dn("tree-select",yn),{compactSize:pa,compactItemClassnames:Fn}=(0,vt.ri)(aa,un),[Mn,Vn]=(0,Tt.Z)(aa),[Ln]=On(Ca,ya),na=ie()(fn||qt,`${Ca}-dropdown`,{[`${Ca}-dropdown-rtl`]:un==="rtl"},bt,Vn),ha=!!(Xt||xt),da=(0,xe.Z)(Pt.suffixIcon,Pt.showArrow),Ba=(Jt=nt!=null?nt:qn)!==null&&Jt!==void 0?Jt:Wn,{status:oa,hasFeedback:Ma,isFormItemInput:eo,feedbackIcon:fo}=oe.useContext(It.aM),ja=(0,Oe.F)(oa,Un),{suffixIcon:Da,removeIcon:Xa,clearIcon:ka}=(0,dt.Z)(Object.assign(Object.assign({},Pt),{multiple:ha,showSuffixIcon:da,hasFeedback:Ma,feedbackIcon:fo,prefixCls:aa,componentName:"TreeSelect"})),Ga=zt===!0?{clearIcon:ka}:zt;let Na;ut!==void 0?Na=ut:Na=(vn==null?void 0:vn("Select"))||oe.createElement(Kt.Z,{componentName:"Select"});const _n=(0,Se.Z)(Pt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Za=oe.useMemo(()=>Ie!==void 0?Ie:un==="rtl"?"bottomRight":"bottomLeft",[Ie,un]),uo=(0,Zt.Z)(ca,Xn),za=(0,ht.Z)(ao=>{var Po;return(Po=he!=null?he:pa)!==null&&Po!==void 0?Po:ao}),to=oe.useContext(et.Z),lo=We!=null?We:to,ua=ie()(!yn&&Ca,{[`${aa}-lg`]:za==="large",[`${aa}-sm`]:za==="small",[`${aa}-rtl`]:un==="rtl",[`${aa}-borderless`]:!st,[`${aa}-in-form-item`]:eo},(0,Oe.Z)(aa,ja,Ma),Fn,gt,bt,Vn),Ka=ao=>oe.createElement(mt.Z,{prefixCls:ya,switcherIcon:jt,treeNodeProps:ao,showLine:Dt}),wa=oe.createElement(it,Object.assign({virtual:ln,disabled:lo},_n,{dropdownMatchSelectWidth:Ba,builtinPlacements:uo,ref:Bt,prefixCls:aa,className:ua,listHeight:He,listItemHeight:Ke,treeCheckable:Xt&&oe.createElement("span",{className:`${aa}-tree-checkbox-inner`}),treeLine:!!Dt,suffixIcon:Da,multiple:ha,placement:Za,removeIcon:Xa,allowClear:Ga,switcherIcon:Ka,showTreeIcon:xn,notFoundContent:Na,getPopupContainer:pn||_t,treeMotion:null,dropdownClassName:na,choiceTransitionName:(0,tt.m)(Gt,"",on),transitionName:(0,tt.m)(Gt,"slide-up",Qn),treeExpandAction:$n}));return Mn(Ln(wa))},cn=oe.forwardRef(Ct),sn=(0,ve.Z)(cn);cn.TreeNode=ae,cn.SHOW_ALL=Qt,cn.SHOW_PARENT=Be,cn.SHOW_CHILD=$t,cn._InternalPanelDoNotUseOrYouWillBeFired=sn;var Nn=cn},17574:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return Ve}});var ee=te(23130),ie=te(26407),we=te(52671),Ge=te(8657),Ce=te(92413),Fe=te(59301),re={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"},$e=re,Ue=te(7657),ze=function(_e,Ot){return Fe.createElement(Ue.Z,(0,Ce.Z)({},_e,{ref:Ot,icon:$e}))},Ye=Fe.forwardRef(ze),pt=Ye,Te=te(92310),oe=te.n(Te),y=te(35654),a=te(71430),b=te(36355),E=te(56082),x=te(62892),z=te(20648);const ne=4;function ae(kt){const{dropPosition:_e,dropLevelOffset:Ot,prefixCls:en,indent:Me,direction:Ze="ltr"}=kt,yt=Ze==="ltr"?"left":"right",Ut=Ze==="ltr"?"right":"left",ft={[yt]:-Ot*Me+ne,[Ut]:0};switch(_e){case-1:ft.top=-3;break;case 1:ft.bottom=-3;break;default:ft.bottom=-3,ft[yt]=Me+ne;break}return Fe.createElement("div",{style:ft,className:`${en}-drop-indicator`})}var le=te(71997),ge=Fe.forwardRef((kt,_e)=>{const{getPrefixCls:Ot,direction:en,virtual:Me,tree:Ze}=Fe.useContext(b.E_),{prefixCls:yt,className:Ut,showIcon:ft=!1,showLine:Qt,switcherIcon:Be,blockNode:$t=!1,children:hn,checkable:St=!1,selectable:ct=!0,draggable:Qe,motion:Re,style:Pe}=kt,se=Ot("tree",yt),Ne=Ot(),it=Re!=null?Re:Object.assign(Object.assign({},(0,x.Z)(Ne)),{motionAppear:!1}),Se=Object.assign(Object.assign({},kt),{checkable:St,selectable:ct,showIcon:ft,motion:it,blockNode:$t,showLine:!!Qt,dropIndicatorRender:ae}),[ve,tt]=(0,z.ZP)(se),Oe=Fe.useMemo(()=>{if(!Qe)return!1;let et={};switch(typeof Qe){case"function":et.nodeDraggable=Qe;break;case"object":et=Object.assign({},Qe);break;default:break}return et.icon!==!1&&(et.icon=et.icon||Fe.createElement(E.Z,null)),et},[Qe]),Ee=et=>Fe.createElement(le.Z,{prefixCls:se,switcherIcon:Be,treeNodeProps:et,showLine:Qt});return ve(Fe.createElement(ee.Z,Object.assign({itemHeight:20,ref:_e,virtual:Me},Se,{style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),Pe),prefixCls:se,className:oe()({[`${se}-icon-hide`]:!ft,[`${se}-block-node`]:$t,[`${se}-unselectable`]:!ct,[`${se}-rtl`]:en==="rtl"},Ze==null?void 0:Ze.className,Ut,tt),direction:en,checkable:St&&Fe.createElement("span",{className:`${se}-checkbox-inner`}),selectable:ct,switcherIcon:Ee,draggable:Oe}),hn))}),be;(function(kt){kt[kt.None=0]="None",kt[kt.Start=1]="Start",kt[kt.End=2]="End"})(be||(be={}));function fe(kt,_e){function Ot(en){const{key:Me,children:Ze}=en;_e(Me,en)!==!1&&fe(Ze||[],_e)}kt.forEach(Ot)}function Le(kt){let{treeData:_e,expandedKeys:Ot,startKey:en,endKey:Me}=kt;const Ze=[];let yt=be.None;if(en&&en===Me)return[en];if(!en||!Me)return[];function Ut(ft){return ft===en||ft===Me}return fe(_e,ft=>{if(yt===be.End)return!1;if(Ut(ft)){if(Ze.push(ft),yt===be.None)yt=be.Start;else if(yt===be.Start)return yt=be.End,!1}else yt===be.Start&&Ze.push(ft);return Ot.includes(ft)}),Ze}function ue(kt,_e){const Ot=(0,ie.Z)(_e),en=[];return fe(kt,(Me,Ze)=>{const yt=Ot.indexOf(Me);return yt!==-1&&(en.push(Ze),Ot.splice(yt,1)),!!Ot.length}),en}var ot=function(kt,_e){var Ot={};for(var en in kt)Object.prototype.hasOwnProperty.call(kt,en)&&_e.indexOf(en)<0&&(Ot[en]=kt[en]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,en=Object.getOwnPropertySymbols(kt);Me<en.length;Me++)_e.indexOf(en[Me])<0&&Object.prototype.propertyIsEnumerable.call(kt,en[Me])&&(Ot[en[Me]]=kt[en[Me]]);return Ot};function De(kt){const{isLeaf:_e,expanded:Ot}=kt;return _e?Fe.createElement(we.Z,null):Ot?Fe.createElement(Ge.Z,null):Fe.createElement(pt,null)}function Je(kt){let{treeData:_e,children:Ot}=kt;return _e||(0,a.zn)(Ot)}const ye=(kt,_e)=>{var{defaultExpandAll:Ot,defaultExpandParent:en,defaultExpandedKeys:Me}=kt,Ze=ot(kt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const yt=Fe.useRef(),Ut=Fe.useRef(),ft=()=>{const{keyEntities:Oe}=(0,a.I8)(Je(Ze));let Ee;return Ot?Ee=Object.keys(Oe):en?Ee=(0,y.r7)(Ze.expandedKeys||Me||[],Oe):Ee=Ze.expandedKeys||Me,Ee},[Qt,Be]=Fe.useState(Ze.selectedKeys||Ze.defaultSelectedKeys||[]),[$t,hn]=Fe.useState(()=>ft());Fe.useEffect(()=>{"selectedKeys"in Ze&&Be(Ze.selectedKeys)},[Ze.selectedKeys]),Fe.useEffect(()=>{"expandedKeys"in Ze&&hn(Ze.expandedKeys)},[Ze.expandedKeys]);const St=(Oe,Ee)=>{var et;return"expandedKeys"in Ze||hn(Oe),(et=Ze.onExpand)===null||et===void 0?void 0:et.call(Ze,Oe,Ee)},ct=(Oe,Ee)=>{var et;const{multiple:Kt}=Ze,{node:ht,nativeEvent:It}=Ee,{key:Tt=""}=ht,Zt=Je(Ze),xe=Object.assign(Object.assign({},Ee),{selected:!0}),dt=(It==null?void 0:It.ctrlKey)||(It==null?void 0:It.metaKey),vt=It==null?void 0:It.shiftKey;let mt;Kt&&dt?(mt=Oe,yt.current=Tt,Ut.current=mt,xe.selectedNodes=ue(Zt,mt)):Kt&&vt?(mt=Array.from(new Set([].concat((0,ie.Z)(Ut.current||[]),(0,ie.Z)(Le({treeData:Zt,expandedKeys:$t,startKey:Tt,endKey:yt.current}))))),xe.selectedNodes=ue(Zt,mt)):(mt=[Tt],yt.current=Tt,Ut.current=mt,xe.selectedNodes=ue(Zt,mt)),(et=Ze.onSelect)===null||et===void 0||et.call(Ze,mt,xe),"selectedKeys"in Ze||Be(mt)},{getPrefixCls:Qe,direction:Re}=Fe.useContext(b.E_),{prefixCls:Pe,className:se,showIcon:Ne=!0,expandAction:it="click"}=Ze,Se=ot(Ze,["prefixCls","className","showIcon","expandAction"]),ve=Qe("tree",Pe),tt=oe()(`${ve}-directory`,{[`${ve}-directory-rtl`]:Re==="rtl"},se);return Fe.createElement(ge,Object.assign({icon:De,ref:_e,blockNode:!0},Se,{showIcon:Ne,expandAction:it,prefixCls:ve,className:tt,expandedKeys:$t,selectedKeys:Qt,onSelect:ct,onExpand:St}))};var qe=Fe.forwardRef(ye);const Xe=ge;Xe.DirectoryTree=qe,Xe.TreeNode=ee.O;var Ve=Xe},20648:function(Ft,Rt,te){"use strict";te.d(Rt,{TM:function(){return Te},Yk:function(){return pt}});var ee=te(93083),ie=te(98447),we=te(17313),Ge=te(8378),Ce=te(37613),Fe=te(83116);const re=new ee.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),$e=(oe,y)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Ue=(oe,y)=>({[`.${oe}-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:'""'}}}),ze=(oe,y)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:E,titleHeight:x,nodeSelectedBg:z,nodeHoverBg:ne}=y,ae=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,we.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,we.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:re,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}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,we.oN)(y)),[`&:not(${b}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},$e(oe,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}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:x/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/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:x,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${a}-node-selected`]:{backgroundColor:z},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},Ue(oe,y)),[`${b}.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:x/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${b}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},Ye=oe=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:x}=oe;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:x},[`${y}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},pt=(oe,y)=>{const a=`.${oe}`,b=`${a}-treenode`,E=y.paddingXS/2,x=(0,Ce.TS)(y,{treeCls:a,treeNodeCls:b,treeNodePadding:E});return[ze(oe,x),Ye(x)]},Te=oe=>{const{controlHeightSM:y}=oe;return{titleHeight:y,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};Rt.ZP=(0,Fe.Z)("Tree",(oe,y)=>{let{prefixCls:a}=y;return[{[oe.componentCls]:(0,ie.C2)(`${a}-checkbox`,oe)},pt(a,oe),(0,Ge.Z)(oe)]},oe=>{const{colorTextLightSolid:y,colorPrimary:a}=oe;return Object.assign(Object.assign({},Te(oe)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return b}});var ee=te(92413),ie=te(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ge=we,Ce=te(7657),Fe=function(x,z){return ie.createElement(Ce.Z,(0,ee.Z)({},x,{ref:z,icon:Ge}))},re=ie.forwardRef(Fe),$e=re,Ue=te(52671),ze=te(58617),Ye=te(15075),pt=te(43531),Te=te(92310),oe=te.n(Te),y=te(92343),b=E=>{const{prefixCls:x,switcherIcon:z,treeNodeProps:ne,showLine:ae}=E,{isLeaf:le,expanded:de,loading:ge}=ne;if(ge)return ie.createElement(ze.Z,{className:`${x}-switcher-loading-icon`});let be;if(ae&&typeof ae=="object"&&(be=ae.showLeafIcon),le){if(!ae)return null;if(typeof be!="boolean"&&be){const ue=typeof be=="function"?be(ne):be,ot=`${x}-switcher-line-custom-icon`;return(0,y.l$)(ue)?(0,y.Tm)(ue,{className:oe()(ue.props.className||"",ot)}):ue}return be?ie.createElement(Ue.Z,{className:`${x}-switcher-line-icon`}):ie.createElement("span",{className:`${x}-switcher-leaf-line`})}const fe=`${x}-switcher-icon`,Le=typeof z=="function"?z(ne):z;return(0,y.l$)(Le)?(0,y.Tm)(Le,{className:oe()(Le.props.className||"",fe)}):Le!==void 0?Le:ae?de?ie.createElement(Ye.Z,{className:`${x}-switcher-line-icon`}):ie.createElement(pt.Z,{className:`${x}-switcher-line-icon`}):ie.createElement($e,{className:fe})}},54580:function(Ft,Rt,te){"use strict";te.d(Rt,{default:function(){return qn}});var ee=te(59301),ie=te(26407),we=te(92310),Ge=te.n(we),Ce=te(92413),Fe=te(6909),re=te(4771),$e=te(9427),Ue=te(25440),ze=te(400),Ye=te(37061),pt=te(85195),Te=te(39559),oe=te(20569),y=te(26112);function a(nt,zt){var Pt="cannot ".concat(nt.method," ").concat(nt.action," ").concat(zt.status,"'"),_t=new Error(Pt);return _t.status=zt.status,_t.method=nt.method,_t.url=nt.action,_t}function b(nt){var zt=nt.responseText||nt.response;if(!zt)return zt;try{return JSON.parse(zt)}catch(Pt){return zt}}function E(nt){var zt=new XMLHttpRequest;nt.onProgress&&zt.upload&&(zt.upload.onprogress=function(vn){vn.total>0&&(vn.percent=vn.loaded/vn.total*100),nt.onProgress(vn)});var Pt=new FormData;nt.data&&Object.keys(nt.data).forEach(function(dn){var vn=nt.data[dn];if(Array.isArray(vn)){vn.forEach(function(un){Pt.append("".concat(dn,"[]"),un)});return}Pt.append(dn,vn)}),nt.file instanceof Blob?Pt.append(nt.filename,nt.file,nt.file.name):Pt.append(nt.filename,nt.file),zt.onerror=function(vn){nt.onError(vn)},zt.onload=function(){return zt.status<200||zt.status>=300?nt.onError(a(nt,zt),b(zt)):nt.onSuccess(b(zt),zt)},zt.open(nt.method,nt.action,!0),nt.withCredentials&&"withCredentials"in zt&&(zt.withCredentials=!0);var _t=nt.headers||{};return _t["X-Requested-With"]!==null&&zt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(_t).forEach(function(dn){_t[dn]!==null&&zt.setRequestHeader(dn,_t[dn])}),zt.send(Pt),{abort:function(){zt.abort()}}}var x=+new Date,z=0;function ne(){return"rc-upload-".concat(x,"-").concat(++z)}var ae=te(48736),le=function(nt,zt){if(nt&&zt){var Pt=Array.isArray(zt)?zt:zt.split(","),_t=nt.name||"",dn=nt.type||"",vn=dn.replace(/\/.*$/,"");return Pt.some(function(un){var ln=un.trim();if(/^\*(\/\*)?$/.test(un))return!0;if(ln.charAt(0)==="."){var Wn=_t.toLowerCase(),Xn=ln.toLowerCase(),Gt=[Xn];return(Xn===".jpg"||Xn===".jpeg")&&(Gt=[".jpg",".jpeg"]),Gt.some(function(aa){return Wn.endsWith(aa)})}return/\/\*$/.test(ln)?vn===ln.replace(/\/.*$/,""):dn===ln?!0:/^\w+$/.test(ln)?((0,ae.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(ln,"'.Skip for check.")),!0):!1})}return!0};function de(nt,zt){var Pt=nt.createReader(),_t=[];function dn(){Pt.readEntries(function(vn){var un=Array.prototype.slice.apply(vn);_t=_t.concat(un);var ln=!un.length;ln?zt(_t):dn()})}dn()}var ge=function(zt,Pt,_t){var dn=function vn(un,ln){un&&(un.path=ln||"",un.isFile?un.file(function(Wn){_t(Wn)&&(un.fullPath&&!Wn.webkitRelativePath&&(Object.defineProperties(Wn,{webkitRelativePath:{writable:!0}}),Wn.webkitRelativePath=un.fullPath.replace(/^\//,""),Object.defineProperties(Wn,{webkitRelativePath:{writable:!1}})),Pt([Wn]))}):un.isDirectory&&de(un,function(Wn){Wn.forEach(function(Xn){vn(Xn,"".concat(ln).concat(un.name,"/"))})}))};zt.forEach(function(vn){dn(vn.webkitGetAsEntry())})},be=ge,fe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Le=function(nt){(0,$e.Z)(Pt,nt);var zt=(0,Ue.Z)(Pt);function Pt(){var _t;(0,Fe.Z)(this,Pt);for(var dn=arguments.length,vn=new Array(dn),un=0;un<dn;un++)vn[un]=arguments[un];return _t=zt.call.apply(zt,[this].concat(vn)),_t.state={uid:ne()},_t.reqs={},_t.fileInput=void 0,_t._isMounted=void 0,_t.onChange=function(ln){var Wn=_t.props,Xn=Wn.accept,Gt=Wn.directory,aa=ln.target.files,ya=(0,ie.Z)(aa).filter(function(Ca){return!Gt||le(Ca,Xn)});_t.uploadFiles(ya),_t.reset()},_t.onClick=function(ln){var Wn=_t.fileInput;if(Wn){var Xn=ln.target,Gt=_t.props.onClick;if(Xn&&Xn.tagName==="BUTTON"){var aa=Wn.parentNode;aa.focus(),Xn.blur()}Wn.click(),Gt&&Gt(ln)}},_t.onKeyDown=function(ln){ln.key==="Enter"&&_t.onClick(ln)},_t.onFileDrop=function(ln){var Wn=_t.props.multiple;if(ln.preventDefault(),ln.type!=="dragover")if(_t.props.directory)be(Array.prototype.slice.call(ln.dataTransfer.items),_t.uploadFiles,function(Gt){return le(Gt,_t.props.accept)});else{var Xn=(0,ie.Z)(ln.dataTransfer.files).filter(function(Gt){return le(Gt,_t.props.accept)});Wn===!1&&(Xn=Xn.slice(0,1)),_t.uploadFiles(Xn)}},_t.uploadFiles=function(ln){var Wn=(0,ie.Z)(ln),Xn=Wn.map(function(Gt){return Gt.uid=ne(),_t.processFile(Gt,Wn)});Promise.all(Xn).then(function(Gt){var aa=_t.props.onBatchStart;aa==null||aa(Gt.map(function(ya){var Ca=ya.origin,pa=ya.parsedFile;return{file:Ca,parsedFile:pa}})),Gt.filter(function(ya){return ya.parsedFile!==null}).forEach(function(ya){_t.post(ya)})})},_t.processFile=function(){var ln=(0,oe.Z)((0,pt.Z)().mark(function Wn(Xn,Gt){var aa,ya,Ca,pa,Fn,Mn,Vn,Ln,na;return(0,pt.Z)().wrap(function(da){for(;;)switch(da.prev=da.next){case 0:if(aa=_t.props.beforeUpload,ya=Xn,!aa){da.next=14;break}return da.prev=3,da.next=6,aa(Xn,Gt);case 6:ya=da.sent,da.next=12;break;case 9:da.prev=9,da.t0=da.catch(3),ya=!1;case 12:if(ya!==!1){da.next=14;break}return da.abrupt("return",{origin:Xn,parsedFile:null,action:null,data:null});case 14:if(Ca=_t.props.action,typeof Ca!="function"){da.next=21;break}return da.next=18,Ca(Xn);case 18:pa=da.sent,da.next=22;break;case 21:pa=Ca;case 22:if(Fn=_t.props.data,typeof Fn!="function"){da.next=29;break}return da.next=26,Fn(Xn);case 26:Mn=da.sent,da.next=30;break;case 29:Mn=Fn;case 30:return Vn=((0,Te.Z)(ya)==="object"||typeof ya=="string")&&ya?ya:Xn,Vn instanceof File?Ln=Vn:Ln=new File([Vn],Xn.name,{type:Xn.type}),na=Ln,na.uid=Xn.uid,da.abrupt("return",{origin:Xn,data:Mn,parsedFile:na,action:pa});case 35:case"end":return da.stop()}},Wn,null,[[3,9]])}));return function(Wn,Xn){return ln.apply(this,arguments)}}(),_t.saveFileInput=function(ln){_t.fileInput=ln},_t}return(0,re.Z)(Pt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(dn){var vn=this,un=dn.data,ln=dn.origin,Wn=dn.action,Xn=dn.parsedFile;if(this._isMounted){var Gt=this.props,aa=Gt.onStart,ya=Gt.customRequest,Ca=Gt.name,pa=Gt.headers,Fn=Gt.withCredentials,Mn=Gt.method,Vn=ln.uid,Ln=ya||E,na={action:Wn,filename:Ca,data:un,file:Xn,headers:pa,withCredentials:Fn,method:Mn||"post",onProgress:function(da){var Ba=vn.props.onProgress;Ba==null||Ba(da,Xn)},onSuccess:function(da,Ba){var oa=vn.props.onSuccess;oa==null||oa(da,Xn,Ba),delete vn.reqs[Vn]},onError:function(da,Ba){var oa=vn.props.onError;oa==null||oa(da,Ba,Xn),delete vn.reqs[Vn]}};aa(ln),this.reqs[Vn]=Ln(na)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(dn){var vn=this.reqs;if(dn){var un=dn.uid?dn.uid:dn;vn[un]&&vn[un].abort&&vn[un].abort(),delete vn[un]}else Object.keys(vn).forEach(function(ln){vn[ln]&&vn[ln].abort&&vn[ln].abort(),delete vn[ln]})}},{key:"render",value:function(){var dn=this.props,vn=dn.component,un=dn.prefixCls,ln=dn.className,Wn=dn.disabled,Xn=dn.id,Gt=dn.style,aa=dn.multiple,ya=dn.accept,Ca=dn.capture,pa=dn.children,Fn=dn.directory,Mn=dn.openFileDialogOnClick,Vn=dn.onMouseEnter,Ln=dn.onMouseLeave,na=(0,Ye.Z)(dn,fe),ha=Ge()((0,ze.Z)((0,ze.Z)((0,ze.Z)({},un,!0),"".concat(un,"-disabled"),Wn),ln,ln)),da=Fn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Ba=Wn?{}:{onClick:Mn?this.onClick:function(){},onKeyDown:Mn?this.onKeyDown:function(){},onMouseEnter:Vn,onMouseLeave:Ln,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ee.createElement(vn,(0,Ce.Z)({},Ba,{className:ha,role:"button",style:Gt}),ee.createElement("input",(0,Ce.Z)({},(0,y.Z)(na,{aria:!0,data:!0}),{id:Xn,disabled:Wn,type:"file",ref:this.saveFileInput,onClick:function(Ma){return Ma.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ya},da,{multiple:aa,onChange:this.onChange},Ca!=null?{capture:Ca}:{})),pa)}}]),Pt}(ee.Component),ue=Le;function ot(){}var De=function(nt){(0,$e.Z)(Pt,nt);var zt=(0,Ue.Z)(Pt);function Pt(){var _t;(0,Fe.Z)(this,Pt);for(var dn=arguments.length,vn=new Array(dn),un=0;un<dn;un++)vn[un]=arguments[un];return _t=zt.call.apply(zt,[this].concat(vn)),_t.uploader=void 0,_t.saveUploader=function(ln){_t.uploader=ln},_t}return(0,re.Z)(Pt,[{key:"abort",value:function(dn){this.uploader.abort(dn)}},{key:"render",value:function(){return ee.createElement(ue,(0,Ce.Z)({},this.props,{ref:this.saveUploader}))}}]),Pt}(ee.Component);De.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ot,onError:ot,onSuccess:ot,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Je=De,ye=Je,ke=te(18929),qe=te(4676),Xe=te(36355),Ve=te(1684),kt=te(9763),_e=te(31724),Ot={icon:function(zt,Pt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Pt}},{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:zt}}]}},name:"file",theme:"twotone"},en=Ot,Me=te(7657),Ze=function(zt,Pt){return ee.createElement(Me.Z,(0,Ce.Z)({},zt,{ref:Pt,icon:en}))},yt=ee.forwardRef(Ze),Ut=yt,ft=te(58617),Qt={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"},Be=Qt,$t=function(zt,Pt){return ee.createElement(Me.Z,(0,Ce.Z)({},zt,{ref:Pt,icon:Be}))},hn=ee.forwardRef($t),St=hn,ct={icon:function(zt,Pt){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:zt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Pt}},{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:Pt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Pt}},{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:zt}}]}},name:"picture",theme:"twotone"},Qe=ct,Re=function(zt,Pt){return ee.createElement(Me.Z,(0,Ce.Z)({},zt,{ref:Pt,icon:Qe}))},Pe=ee.forwardRef(Re),se=Pe,Ne=te(77900),it=te(56762),Se=te(62892),ve=te(92343),tt=te(3113);function Oe(nt){return Object.assign(Object.assign({},nt),{lastModified:nt.lastModified,lastModifiedDate:nt.lastModifiedDate,name:nt.name,size:nt.size,type:nt.type,uid:nt.uid,percent:0,originFileObj:nt})}function Ee(nt,zt){const Pt=(0,ie.Z)(zt),_t=Pt.findIndex(dn=>{let{uid:vn}=dn;return vn===nt.uid});return _t===-1?Pt.push(nt):Pt[_t]=nt,Pt}function et(nt,zt){const Pt=nt.uid!==void 0?"uid":"name";return zt.filter(_t=>_t[Pt]===nt[Pt])[0]}function Kt(nt,zt){const Pt=nt.uid!==void 0?"uid":"name",_t=zt.filter(dn=>dn[Pt]!==nt[Pt]);return _t.length===zt.length?null:_t}const ht=function(){const zt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),_t=zt[zt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(_t)||[""])[0]},It=nt=>nt.indexOf("image/")===0,Tt=nt=>{if(nt.type&&!nt.thumbUrl)return It(nt.type);const zt=nt.thumbUrl||nt.url||"",Pt=ht(zt);return/^data:image\//.test(zt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Pt)?!0:!(/^data:/.test(zt)||Pt)},Zt=200;function xe(nt){return new Promise(zt=>{if(!nt.type||!It(nt.type)){zt("");return}const Pt=document.createElement("canvas");Pt.width=Zt,Pt.height=Zt,Pt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Zt}px; height: ${Zt}px; z-index: 9999; display: none;`,document.body.appendChild(Pt);const _t=Pt.getContext("2d"),dn=new Image;if(dn.onload=()=>{const{width:vn,height:un}=dn;let ln=Zt,Wn=Zt,Xn=0,Gt=0;vn>un?(Wn=un*(Zt/vn),Gt=-(Wn-ln)/2):(ln=vn*(Zt/un),Xn=-(ln-Wn)/2),_t.drawImage(dn,Xn,Gt,ln,Wn);const aa=Pt.toDataURL();document.body.removeChild(Pt),window.URL.revokeObjectURL(dn.src),zt(aa)},dn.crossOrigin="anonymous",nt.type.startsWith("image/svg+xml")){const vn=new FileReader;vn.onload=()=>{vn.result&&(dn.src=vn.result)},vn.readAsDataURL(nt)}else if(nt.type.startsWith("image/gif")){const vn=new FileReader;vn.onload=()=>{vn.result&&zt(vn.result)},vn.readAsDataURL(nt)}else dn.src=window.URL.createObjectURL(nt)})}var dt=te(26227),vt=te(41464),mt=te(15277),Nt=te(93948),Vt=te(6848),an=ee.forwardRef((nt,zt)=>{let{prefixCls:Pt,className:_t,style:dn,locale:vn,listType:un,file:ln,items:Wn,progress:Xn,iconRender:Gt,actionIconRender:aa,itemRender:ya,isImgUrl:Ca,showPreviewIcon:pa,showRemoveIcon:Fn,showDownloadIcon:Mn,previewIcon:Vn,removeIcon:Ln,downloadIcon:na,onPreview:ha,onDownload:da,onClose:Ba}=nt;var oa,Ma;const{status:eo}=ln,[fo,ja]=ee.useState(eo);ee.useEffect(()=>{eo!=="removed"&&ja(eo)},[eo]);const[Da,Xa]=ee.useState(!1);ee.useEffect(()=>{const po=setTimeout(()=>{Xa(!0)},300);return()=>{clearTimeout(po)}},[]);const ka=Gt(ln);let Ga=ee.createElement("div",{className:`${Pt}-icon`},ka);if(un==="picture"||un==="picture-card"||un==="picture-circle")if(fo==="uploading"||!ln.thumbUrl&&!ln.url){const po=Ge()(`${Pt}-list-item-thumbnail`,{[`${Pt}-list-item-file`]:fo!=="uploading"});Ga=ee.createElement("div",{className:po},ka)}else{const po=Ca!=null&&Ca(ln)?ee.createElement("img",{src:ln.thumbUrl||ln.url,alt:ln.name,className:`${Pt}-list-item-image`,crossOrigin:ln.crossOrigin}):ka,vo=Ge()(`${Pt}-list-item-thumbnail`,{[`${Pt}-list-item-file`]:Ca&&!Ca(ln)});Ga=ee.createElement("a",{className:vo,onClick:jo=>ha(ln,jo),href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer"},po)}const Na=Ge()(`${Pt}-list-item`,`${Pt}-list-item-${fo}`),_n=typeof ln.linkProps=="string"?JSON.parse(ln.linkProps):ln.linkProps,Za=Fn?aa((typeof Ln=="function"?Ln(ln):Ln)||ee.createElement(dt.Z,null),()=>Ba(ln),Pt,vn.removeFile):null,uo=Mn&&fo==="done"?aa((typeof na=="function"?na(ln):na)||ee.createElement(vt.Z,null),()=>da(ln),Pt,vn.downloadFile):null,za=un!=="picture-card"&&un!=="picture-circle"&&ee.createElement("span",{key:"download-delete",className:Ge()(`${Pt}-list-item-actions`,{picture:un==="picture"})},uo,Za),to=Ge()(`${Pt}-list-item-name`),lo=ln.url?[ee.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:to,title:ln.name},_n,{href:ln.url,onClick:po=>ha(ln,po)}),ln.name),za]:[ee.createElement("span",{key:"view",className:to,onClick:po=>ha(ln,po),title:ln.name},ln.name),za],ua={pointerEvents:"none",opacity:.5},Ka=pa?ee.createElement("a",{href:ln.url||ln.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ln.url||ln.thumbUrl?void 0:ua,onClick:po=>ha(ln,po),title:vn.previewFile},typeof Vn=="function"?Vn(ln):Vn||ee.createElement(mt.Z,null)):null,wa=(un==="picture-card"||un==="picture-circle")&&fo!=="uploading"&&ee.createElement("span",{className:`${Pt}-list-item-actions`},Ka,fo==="done"&&uo,Za),{getPrefixCls:ao}=ee.useContext(Xe.E_),Po=ao(),No=ee.createElement("div",{className:Na},Ga,lo,wa,Da&&ee.createElement(Ne.default,{motionName:`${Po}-fade`,visible:fo==="uploading",motionDeadline:2e3},po=>{let{className:vo}=po;const jo="percent"in ln?ee.createElement(Nt.Z,Object.assign({},Xn,{type:"line",percent:ln.percent,"aria-label":ln["aria-label"],"aria-labelledby":ln["aria-labelledby"]})):null;return ee.createElement("div",{className:Ge()(`${Pt}-list-item-progress`,vo)},jo)})),Qo=ln.response&&typeof ln.response=="string"?ln.response:((oa=ln.error)===null||oa===void 0?void 0:oa.statusText)||((Ma=ln.error)===null||Ma===void 0?void 0:Ma.message)||vn.uploadError,zo=fo==="error"?ee.createElement(Vt.Z,{title:Qo,getPopupContainer:po=>po.parentNode},No):No;return ee.createElement("div",{className:Ge()(`${Pt}-list-item-container`,_t),style:dn,ref:zt},ya?ya(zo,ln,Wn,{download:da.bind(null,ln),preview:ha.bind(null,ln),remove:Ba.bind(null,ln)}):zo)});const Sn=(nt,zt)=>{const{listType:Pt="text",previewFile:_t=xe,onPreview:dn,onDownload:vn,onRemove:un,locale:ln,iconRender:Wn,isImageUrl:Xn=Tt,prefixCls:Gt,items:aa=[],showPreviewIcon:ya=!0,showRemoveIcon:Ca=!0,showDownloadIcon:pa=!1,removeIcon:Fn,previewIcon:Mn,downloadIcon:Vn,progress:Ln={size:[-1,2],showInfo:!1},appendAction:na,appendActionVisible:ha=!0,itemRender:da,disabled:Ba}=nt,oa=(0,it.Z)(),[Ma,eo]=ee.useState(!1);ee.useEffect(()=>{Pt!=="picture"&&Pt!=="picture-card"&&Pt!=="picture-circle"||(aa||[]).forEach(ua=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ua.originFileObj instanceof File||ua.originFileObj instanceof Blob)||ua.thumbUrl!==void 0||(ua.thumbUrl="",_t&&_t(ua.originFileObj).then(Ka=>{ua.thumbUrl=Ka||"",oa()}))})},[Pt,aa,_t]),ee.useEffect(()=>{eo(!0)},[]);const fo=(ua,Ka)=>{if(dn)return Ka==null||Ka.preventDefault(),dn(ua)},ja=ua=>{typeof vn=="function"?vn(ua):ua.url&&window.open(ua.url)},Da=ua=>{un==null||un(ua)},Xa=ua=>{if(Wn)return Wn(ua,Pt);const Ka=ua.status==="uploading",wa=Xn&&Xn(ua)?ee.createElement(se,null):ee.createElement(Ut,null);let ao=Ka?ee.createElement(ft.Z,null):ee.createElement(St,null);return Pt==="picture"?ao=Ka?ee.createElement(ft.Z,null):wa:(Pt==="picture-card"||Pt==="picture-circle")&&(ao=Ka?ln.uploading:wa),ao},ka=(ua,Ka,wa,ao)=>{const Po={type:"text",size:"small",title:ao,onClick:No=>{Ka(),(0,ve.l$)(ua)&&ua.props.onClick&&ua.props.onClick(No)},className:`${wa}-list-item-action`,disabled:Ba};if((0,ve.l$)(ua)){const No=(0,ve.Tm)(ua,Object.assign(Object.assign({},ua.props),{onClick:()=>{}}));return ee.createElement(tt.ZP,Object.assign({},Po,{icon:No}))}return ee.createElement(tt.ZP,Object.assign({},Po),ee.createElement("span",null,ua))};ee.useImperativeHandle(zt,()=>({handlePreview:fo,handleDownload:ja}));const{getPrefixCls:Ga}=ee.useContext(Xe.E_),Na=Ga("upload",Gt),_n=Ga(),Za=Ge()(`${Na}-list`,`${Na}-list-${Pt}`),uo=(0,ie.Z)(aa.map(ua=>({key:ua.uid,file:ua})));let to={motionDeadline:2e3,motionName:`${Na}-${Pt==="picture-card"||Pt==="picture-circle"?"animate-inline":"animate"}`,keys:uo,motionAppear:Ma};const lo=ee.useMemo(()=>{const ua=Object.assign({},(0,Se.Z)(_n));return delete ua.onAppearEnd,delete ua.onEnterEnd,delete ua.onLeaveEnd,ua},[_n]);return Pt!=="picture-card"&&Pt!=="picture-circle"&&(to=Object.assign(Object.assign({},lo),to)),ee.createElement("div",{className:Za},ee.createElement(Ne.CSSMotionList,Object.assign({},to,{component:!1}),ua=>{let{key:Ka,file:wa,className:ao,style:Po}=ua;return ee.createElement(an,{key:Ka,locale:ln,prefixCls:Na,className:ao,style:Po,file:wa,items:aa,progress:Ln,listType:Pt,isImgUrl:Xn,showPreviewIcon:ya,showRemoveIcon:Ca,showDownloadIcon:pa,removeIcon:Fn,previewIcon:Mn,downloadIcon:Vn,iconRender:Xa,actionIconRender:ka,itemRender:da,onPreview:fo,onDownload:ja,onClose:Da})}),na&&ee.createElement(Ne.default,Object.assign({},to,{visible:ha,forceRender:!0}),ua=>{let{className:Ka,style:wa}=ua;return(0,ve.Tm)(na,ao=>({className:Ge()(ao.className,Ka),style:Object.assign(Object.assign(Object.assign({},wa),{pointerEvents:Ka?"none":void 0}),ao.style)}))}))};var Lt=ee.forwardRef(Sn),Ct=te(17313),Wt=te(8378),cn=te(83116),sn=te(37613),at=nt=>{const{componentCls:zt,iconCls:Pt}=nt;return{[`${zt}-wrapper`]:{[`${zt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:nt.colorFillAlter,border:`${nt.lineWidth}px dashed ${nt.colorBorder}`,borderRadius:nt.borderRadiusLG,cursor:"pointer",transition:`border-color ${nt.motionDurationSlow}`,[zt]:{padding:`${nt.padding}px 0`},[`${zt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${zt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${zt}-disabled):hover`]:{borderColor:nt.colorPrimaryHover},[`p${zt}-drag-icon`]:{marginBottom:nt.margin,[Pt]:{color:nt.colorPrimary,fontSize:nt.uploadThumbnailSize}},[`p${zt}-text`]:{margin:`0 0 ${nt.marginXXS}px`,color:nt.colorTextHeading,fontSize:nt.fontSizeLG},[`p${zt}-hint`]:{color:nt.colorTextDescription,fontSize:nt.fontSize},[`&${zt}-disabled`]:{cursor:"not-allowed",[`p${zt}-drag-icon ${Pt},
|
|
p${zt}-text,
|
|
p${zt}-hint
|
|
`]:{color:nt.colorTextDisabled}}}}}},Jt=nt=>{const{componentCls:zt,antCls:Pt,iconCls:_t,fontSize:dn,lineHeight:vn}=nt,un=`${zt}-list-item`,ln=`${un}-actions`,Wn=`${un}-action`,Xn=Math.round(dn*vn);return{[`${zt}-wrapper`]:{[`${zt}-list`]:Object.assign(Object.assign({},(0,Ct.dF)()),{lineHeight:nt.lineHeight,[un]:{position:"relative",height:nt.lineHeight*dn,marginTop:nt.marginXS,fontSize:dn,display:"flex",alignItems:"center",transition:`background-color ${nt.motionDurationSlow}`,"&:hover":{backgroundColor:nt.controlItemBgHover},[`${un}-name`]:Object.assign(Object.assign({},Ct.vS),{padding:`0 ${nt.paddingXS}px`,lineHeight:vn,flex:"auto",transition:`all ${nt.motionDurationSlow}`}),[ln]:{[Wn]:{opacity:0},[`${Wn}${Pt}-btn-sm`]:{height:Xn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${Wn}:focus-visible,
|
|
&.picture ${Wn}
|
|
`]:{opacity:1},[_t]:{color:nt.actionsColor,transition:`all ${nt.motionDurationSlow}`},[`&:hover ${_t}`]:{color:nt.colorText}},[`${zt}-icon ${_t}`]:{color:nt.colorTextDescription,fontSize:dn},[`${un}-progress`]:{position:"absolute",bottom:-nt.uploadProgressOffset,width:"100%",paddingInlineStart:dn+nt.paddingXS,fontSize:dn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${un}:hover ${Wn}`]:{opacity:1,color:nt.colorText},[`${un}-error`]:{color:nt.colorError,[`${un}-name, ${zt}-icon ${_t}`]:{color:nt.colorError},[ln]:{[`${_t}, ${_t}:hover`]:{color:nt.colorError},[Wn]:{opacity:1}}},[`${zt}-list-item-container`]:{transition:`opacity ${nt.motionDurationSlow}, height ${nt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yn=te(93083),he=te(1950);const We=new yn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),st=new yn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var bt=nt=>{const{componentCls:zt}=nt,Pt=`${zt}-animate-inline`;return[{[`${zt}-wrapper`]:{[`${Pt}-appear, ${Pt}-enter, ${Pt}-leave`]:{animationDuration:nt.motionDurationSlow,animationTimingFunction:nt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Pt}-appear, ${Pt}-enter`]:{animationName:We},[`${Pt}-leave`]:{animationName:st}}},{[`${zt}-wrapper`]:(0,he.J$)(nt)},We,st]},Xt=te(93398),xt=te(64993);const He=nt=>{const{componentCls:zt,iconCls:Pt,uploadThumbnailSize:_t,uploadProgressOffset:dn}=nt,vn=`${zt}-list`,un=`${vn}-item`;return{[`${zt}-wrapper`]:{[`
|
|
${vn}${vn}-picture,
|
|
${vn}${vn}-picture-card,
|
|
${vn}${vn}-picture-circle
|
|
`]:{[un]:{position:"relative",height:_t+nt.lineWidth*2+nt.paddingXS*2,padding:nt.paddingXS,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,borderRadius:nt.borderRadiusLG,"&:hover":{background:"transparent"},[`${un}-thumbnail`]:Object.assign(Object.assign({},Ct.vS),{width:_t,height:_t,lineHeight:`${_t+nt.paddingSM}px`,textAlign:"center",flex:"none",[Pt]:{fontSize:nt.fontSizeHeading2,color:nt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${un}-progress`]:{bottom:dn,width:`calc(100% - ${nt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:_t+nt.paddingXS}},[`${un}-error`]:{borderColor:nt.colorError,[`${un}-thumbnail ${Pt}`]:{[`svg path[fill='${Xt.blue[0]}']`]:{fill:nt.colorErrorBg},[`svg path[fill='${Xt.blue.primary}']`]:{fill:nt.colorError}}},[`${un}-uploading`]:{borderStyle:"dashed",[`${un}-name`]:{marginBottom:dn}}},[`${vn}${vn}-picture-circle ${un}`]:{[`&, &::before, ${un}-thumbnail`]:{borderRadius:"50%"}}}}},Ke=nt=>{const{componentCls:zt,iconCls:Pt,fontSizeLG:_t,colorTextLightSolid:dn}=nt,vn=`${zt}-list`,un=`${vn}-item`,ln=nt.uploadPicCardSize;return{[`
|
|
${zt}-wrapper${zt}-picture-card-wrapper,
|
|
${zt}-wrapper${zt}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,Ct.dF)()),{display:"inline-block",width:"100%",[`${zt}${zt}-select`]:{width:ln,height:ln,marginInlineEnd:nt.marginXS,marginBottom:nt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:nt.colorFillAlter,border:`${nt.lineWidth}px dashed ${nt.colorBorder}`,borderRadius:nt.borderRadiusLG,cursor:"pointer",transition:`border-color ${nt.motionDurationSlow}`,[`> ${zt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${zt}-disabled):hover`]:{borderColor:nt.colorPrimary}},[`${vn}${vn}-picture-card, ${vn}${vn}-picture-circle`]:{[`${vn}-item-container`]:{display:"inline-block",width:ln,height:ln,marginBlock:`0 ${nt.marginXS}px`,marginInline:`0 ${nt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[un]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${nt.paddingXS*2}px)`,height:`calc(100% - ${nt.paddingXS*2}px)`,backgroundColor:nt.colorBgMask,opacity:0,transition:`all ${nt.motionDurationSlow}`,content:'" "'}},[`${un}:hover`]:{[`&::before, ${un}-actions`]:{opacity:1}},[`${un}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${nt.motionDurationSlow}`,[`${Pt}-eye, ${Pt}-download, ${Pt}-delete`]:{zIndex:10,width:_t,margin:`0 ${nt.marginXXS}px`,fontSize:_t,cursor:"pointer",transition:`all ${nt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${un}-actions, ${un}-actions:hover`]:{[`${Pt}-eye, ${Pt}-download, ${Pt}-delete`]:{color:new xt.C(dn).setAlpha(.65).toRgbString(),"&:hover":{color:dn}}},[`${un}-thumbnail, ${un}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${un}-name`]:{display:"none",textAlign:"center"},[`${un}-file + ${un}-name`]:{position:"absolute",bottom:nt.margin,display:"block",width:`calc(100% - ${nt.paddingXS*2}px)`},[`${un}-uploading`]:{[`&${un}`]:{backgroundColor:nt.colorFillAlter},[`&::before, ${Pt}-eye, ${Pt}-download, ${Pt}-delete`]:{display:"none"}},[`${un}-progress`]:{bottom:nt.marginXL,width:`calc(100% - ${nt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${zt}-wrapper${zt}-picture-circle-wrapper`]:{[`${zt}${zt}-select`]:{borderRadius:"50%"}}}};var ut=nt=>{const{componentCls:zt}=nt;return{[`${zt}-rtl`]:{direction:"rtl"}}};const jt=nt=>{const{componentCls:zt,colorTextDisabled:Pt}=nt;return{[`${zt}-wrapper`]:Object.assign(Object.assign({},(0,Ct.Wf)(nt)),{[zt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${zt}-select`]:{display:"inline-block"},[`${zt}-disabled`]:{color:Pt,cursor:"not-allowed"}})}};var Dt=(0,cn.Z)("Upload",nt=>{const{fontSizeHeading3:zt,fontSize:Pt,lineHeight:_t,lineWidth:dn,controlHeightLG:vn}=nt,un=Math.round(Pt*_t),ln=(0,sn.TS)(nt,{uploadThumbnailSize:zt*2,uploadProgressOffset:un/2+dn,uploadPicCardSize:vn*2.55});return[jt(ln),at(ln),He(ln),Ke(ln),Jt(ln),bt(ln),ut(ln),(0,Wt.Z)(ln)]},nt=>({actionsColor:nt.colorTextDescription})),pn=function(nt,zt,Pt,_t){function dn(vn){return vn instanceof Pt?vn:new Pt(function(un){un(vn)})}return new(Pt||(Pt=Promise))(function(vn,un){function ln(Gt){try{Xn(_t.next(Gt))}catch(aa){un(aa)}}function Wn(Gt){try{Xn(_t.throw(Gt))}catch(aa){un(aa)}}function Xn(Gt){Gt.done?vn(Gt.value):dn(Gt.value).then(ln,Wn)}Xn((_t=_t.apply(nt,zt||[])).next())})};const fn=`__LIST_IGNORE_${Date.now()}__`,qt=(nt,zt)=>{const{fileList:Pt,defaultFileList:_t,onRemove:dn,showUploadList:vn=!0,listType:un="text",onPreview:ln,onDownload:Wn,onChange:Xn,onDrop:Gt,previewFile:aa,disabled:ya,locale:Ca,iconRender:pa,isImageUrl:Fn,progress:Mn,prefixCls:Vn,className:Ln,type:na="select",children:ha,style:da,itemRender:Ba,maxCount:oa,data:Ma={},multiple:eo=!1,action:fo="",accept:ja="",supportServerRender:Da=!0,rootClassName:Xa}=nt,ka=ee.useContext(Ve.Z),Ga=ya!=null?ya:ka,[Na,_n]=(0,ke.Z)(_t||[],{value:Pt,postState:Pn=>Pn!=null?Pn:[]}),[Za,uo]=ee.useState("drop"),za=ee.useRef(null);ee.useMemo(()=>{const Pn=Date.now();(Pt||[]).forEach((mn,En)=>{!mn.uid&&!Object.isFrozen(mn)&&(mn.uid=`__AUTO__${Pn}_${En}__`)})},[Pt]);const to=(Pn,mn,En)=>{let bn=(0,ie.Z)(mn),kn=!1;oa===1?bn=bn.slice(-1):oa&&(kn=bn.length>oa,bn=bn.slice(0,oa)),(0,qe.flushSync)(()=>{_n(bn)});const Hn={file:Pn,fileList:bn};En&&(Hn.event=En),(!kn||bn.some(Tn=>Tn.uid===Pn.uid))&&(0,qe.flushSync)(()=>{Xn==null||Xn(Hn)})},lo=(Pn,mn)=>pn(void 0,void 0,void 0,function*(){const{beforeUpload:En,transformFile:bn}=nt;let kn=Pn;if(En){const Hn=yield En(Pn,mn);if(Hn===!1)return!1;if(delete Pn[fn],Hn===fn)return Object.defineProperty(Pn,fn,{value:!0,configurable:!0}),!1;typeof Hn=="object"&&Hn&&(kn=Hn)}return bn&&(kn=yield bn(kn)),kn}),ua=Pn=>{const mn=Pn.filter(kn=>!kn.file[fn]);if(!mn.length)return;const En=mn.map(kn=>Oe(kn.file));let bn=(0,ie.Z)(Na);En.forEach(kn=>{bn=Ee(kn,bn)}),En.forEach((kn,Hn)=>{let Tn=kn;if(mn[Hn].parsedFile)kn.status="uploading";else{const{originFileObj:Ha}=kn;let Aa;try{Aa=new File([Ha],Ha.name,{type:Ha.type})}catch($a){Aa=new Blob([Ha],{type:Ha.type}),Aa.name=Ha.name,Aa.lastModifiedDate=new Date,Aa.lastModified=new Date().getTime()}Aa.uid=kn.uid,Tn=Aa}to(Tn,bn)})},Ka=(Pn,mn,En)=>{try{typeof Pn=="string"&&(Pn=JSON.parse(Pn))}catch(Hn){}if(!et(mn,Na))return;const bn=Oe(mn);bn.status="done",bn.percent=100,bn.response=Pn,bn.xhr=En;const kn=Ee(bn,Na);to(bn,kn)},wa=(Pn,mn)=>{if(!et(mn,Na))return;const En=Oe(mn);En.status="uploading",En.percent=Pn.percent;const bn=Ee(En,Na);to(En,bn,Pn)},ao=(Pn,mn,En)=>{if(!et(En,Na))return;const bn=Oe(En);bn.error=Pn,bn.response=mn,bn.status="error";const kn=Ee(bn,Na);to(bn,kn)},Po=Pn=>{let mn;Promise.resolve(typeof dn=="function"?dn(Pn):dn).then(En=>{var bn;if(En===!1)return;const kn=Kt(Pn,Na);kn&&(mn=Object.assign(Object.assign({},Pn),{status:"removed"}),Na==null||Na.forEach(Hn=>{const Tn=mn.uid!==void 0?"uid":"name";Hn[Tn]===mn[Tn]&&!Object.isFrozen(Hn)&&(Hn.status="removed")}),(bn=za.current)===null||bn===void 0||bn.abort(mn),to(mn,kn))})},No=Pn=>{uo(Pn.type),Pn.type==="drop"&&(Gt==null||Gt(Pn))};ee.useImperativeHandle(zt,()=>({onBatchStart:ua,onSuccess:Ka,onProgress:wa,onError:ao,fileList:Na,upload:za.current}));const{getPrefixCls:Qo,direction:zo,upload:po}=ee.useContext(Xe.E_),vo=Qo("upload",Vn),jo=Object.assign(Object.assign({onBatchStart:ua,onError:ao,onProgress:wa,onSuccess:Ka},nt),{data:Ma,multiple:eo,action:fo,accept:ja,supportServerRender:Da,prefixCls:vo,disabled:Ga,beforeUpload:lo,onChange:void 0});delete jo.className,delete jo.style,(!ha||Ga)&&delete jo.id;const[Mo,Go]=Dt(vo),[tr]=(0,kt.Z)("Upload",_e.Z.Upload),{showRemoveIcon:ia,showPreviewIcon:In,showDownloadIcon:Rn,removeIcon:jn,previewIcon:xa,downloadIcon:Wa}=typeof vn=="boolean"?{}:vn,pe=(Pn,mn)=>vn?ee.createElement(Lt,{prefixCls:vo,listType:un,items:Na,previewFile:aa,onPreview:ln,onDownload:Wn,onRemove:Po,showRemoveIcon:!Ga&&ia,showPreviewIcon:In,showDownloadIcon:Rn,removeIcon:jn,previewIcon:xa,downloadIcon:Wa,iconRender:pa,locale:Object.assign(Object.assign({},tr),Ca),isImageUrl:Fn,progress:Mn,appendAction:Pn,appendActionVisible:mn,itemRender:Ba,disabled:Ga}):Pn,Mt=Ge()(`${vo}-wrapper`,Ln,Xa,Go,po==null?void 0:po.className,{[`${vo}-rtl`]:zo==="rtl",[`${vo}-picture-card-wrapper`]:un==="picture-card",[`${vo}-picture-circle-wrapper`]:un==="picture-circle"}),rn=Object.assign(Object.assign({},po==null?void 0:po.style),da);if(na==="drag"){const Pn=Ge()(Go,vo,`${vo}-drag`,{[`${vo}-drag-uploading`]:Na.some(mn=>mn.status==="uploading"),[`${vo}-drag-hover`]:Za==="dragover",[`${vo}-disabled`]:Ga,[`${vo}-rtl`]:zo==="rtl"});return Mo(ee.createElement("span",{className:Mt},ee.createElement("div",{className:Pn,style:rn,onDrop:No,onDragOver:No,onDragLeave:No},ee.createElement(ye,Object.assign({},jo,{ref:za,className:`${vo}-btn`}),ee.createElement("div",{className:`${vo}-drag-container`},ha))),pe()))}const Cn=Ge()(vo,`${vo}-select`,{[`${vo}-disabled`]:Ga}),Dn=(Pn=>ee.createElement("div",{className:Cn,style:Pn},ee.createElement(ye,Object.assign({},jo,{ref:za}))))(ha?void 0:{display:"none"});return Mo(un==="picture-card"||un==="picture-circle"?ee.createElement("span",{className:Mt},pe(Dn,!!ha)):ee.createElement("span",{className:Mt},Dn,pe()))};var Qn=ee.forwardRef(qt),on=function(nt,zt){var Pt={};for(var _t in nt)Object.prototype.hasOwnProperty.call(nt,_t)&&zt.indexOf(_t)<0&&(Pt[_t]=nt[_t]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,_t=Object.getOwnPropertySymbols(nt);dn<_t.length;dn++)zt.indexOf(_t[dn])<0&&Object.prototype.propertyIsEnumerable.call(nt,_t[dn])&&(Pt[_t[dn]]=nt[_t[dn]]);return Pt},$n=ee.forwardRef((nt,zt)=>{var{style:Pt,height:_t}=nt,dn=on(nt,["style","height"]);return ee.createElement(Qn,Object.assign({ref:zt},dn,{type:"drag",style:Object.assign(Object.assign({},Pt),{height:_t})}))});const ca=Qn;ca.Dragger=$n,ca.LIST_IGNORE=fn;var qn=ca},24334:function(Ft,Rt,te){var ee,ie;(function(we,Ge){Ft.exports=Ge(we)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(we){"use strict";we=we||{};var Ge=we.Base64,Ce="2.6.4",Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(De){for(var Je={},ye=0,ke=De.length;ye<ke;ye++)Je[De.charAt(ye)]=ye;return Je}(Fe),$e=String.fromCharCode,Ue=function(De){if(De.length<2){var Je=De.charCodeAt(0);return Je<128?De:Je<2048?$e(192|Je>>>6)+$e(128|Je&63):$e(224|Je>>>12&15)+$e(128|Je>>>6&63)+$e(128|Je&63)}else{var Je=65536+(De.charCodeAt(0)-55296)*1024+(De.charCodeAt(1)-56320);return $e(240|Je>>>18&7)+$e(128|Je>>>12&63)+$e(128|Je>>>6&63)+$e(128|Je&63)}},ze=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ye=function(De){return De.replace(ze,Ue)},pt=function(De){var Je=[0,2,1][De.length%3],ye=De.charCodeAt(0)<<16|(De.length>1?De.charCodeAt(1):0)<<8|(De.length>2?De.charCodeAt(2):0),ke=[Fe.charAt(ye>>>18),Fe.charAt(ye>>>12&63),Je>=2?"=":Fe.charAt(ye>>>6&63),Je>=1?"=":Fe.charAt(ye&63)];return ke.join("")},Te=we.btoa&&typeof we.btoa=="function"?function(De){return we.btoa(De)}:function(De){if(De.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return De.replace(/[\s\S]{1,3}/g,pt)},oe=function(De){return Te(Ye(String(De)))},y=function(De){return De.replace(/[+\/]/g,function(Je){return Je=="+"?"-":"_"}).replace(/=/g,"")},a=function(De,Je){return Je?y(oe(De)):oe(De)},b=function(De){return a(De,!0)},E;we.Uint8Array&&(E=function(De,Je){for(var ye="",ke=0,qe=De.length;ke<qe;ke+=3){var Xe=De[ke],Ve=De[ke+1],kt=De[ke+2],_e=Xe<<16|Ve<<8|kt;ye+=Fe.charAt(_e>>>18)+Fe.charAt(_e>>>12&63)+(typeof Ve!="undefined"?Fe.charAt(_e>>>6&63):"=")+(typeof kt!="undefined"?Fe.charAt(_e&63):"=")}return Je?y(ye):ye});var x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,z=function(De){switch(De.length){case 4:var Je=(7&De.charCodeAt(0))<<18|(63&De.charCodeAt(1))<<12|(63&De.charCodeAt(2))<<6|63&De.charCodeAt(3),ye=Je-65536;return $e((ye>>>10)+55296)+$e((ye&1023)+56320);case 3:return $e((15&De.charCodeAt(0))<<12|(63&De.charCodeAt(1))<<6|63&De.charCodeAt(2));default:return $e((31&De.charCodeAt(0))<<6|63&De.charCodeAt(1))}},ne=function(De){return De.replace(x,z)},ae=function(De){var Je=De.length,ye=Je%4,ke=(Je>0?re[De.charAt(0)]<<18:0)|(Je>1?re[De.charAt(1)]<<12:0)|(Je>2?re[De.charAt(2)]<<6:0)|(Je>3?re[De.charAt(3)]:0),qe=[$e(ke>>>16),$e(ke>>>8&255),$e(ke&255)];return qe.length-=[0,0,2,1][ye],qe.join("")},le=we.atob&&typeof we.atob=="function"?function(De){return we.atob(De)}:function(De){return De.replace(/\S{1,4}/g,ae)},de=function(De){return le(String(De).replace(/[^A-Za-z0-9\+\/]/g,""))},ge=function(De){return ne(le(De))},be=function(De){return String(De).replace(/[-_]/g,function(Je){return Je=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},fe=function(De){return ge(be(De))},Le;we.Uint8Array&&(Le=function(De){return Uint8Array.from(de(be(De)),function(Je){return Je.charCodeAt(0)})});var ue=function(){var De=we.Base64;return we.Base64=Ge,De};if(we.Base64={VERSION:Ce,atob:de,btoa:Te,fromBase64:fe,toBase64:a,utob:Ye,encode:a,encodeURI:b,btou:ne,decode:fe,noConflict:ue,fromUint8Array:E,toUint8Array:Le},typeof Object.defineProperty=="function"){var ot=function(De){return{value:De,enumerable:!1,writable:!0,configurable:!0}};we.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",ot(function(){return fe(this)})),Object.defineProperty(String.prototype,"toBase64",ot(function(De){return a(this,De)})),Object.defineProperty(String.prototype,"toBase64URI",ot(function(){return a(this,!0)}))}}return we.Meteor&&(Base64=we.Base64),Ft.exports?Ft.exports.Base64=we.Base64:(ee=[],ie=function(){return we.Base64}.apply(Rt,ee),ie!==void 0&&(Ft.exports=ie)),{Base64:we.Base64}})},39417:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return ge}});var ee=te(92413),ie=te(400),we=te(37061),Ge=te(33708),Ce=te(6909),Fe=te(4771),re=te(25314),$e=te(9427),Ue=te(25440),ze=te(92310),Ye=te.n(ze),pt=te(26112),Te=te(59301),oe=te(39378),y=function(fe){for(var Le=fe.prefixCls,ue=fe.level,ot=fe.isStart,De=fe.isEnd,Je="".concat(Le,"-indent-unit"),ye=[],ke=0;ke<ue;ke+=1){var qe;ye.push(Te.createElement("span",{key:ke,className:Ye()(Je,(qe={},(0,ie.Z)(qe,"".concat(Je,"-start"),ot[ke]),(0,ie.Z)(qe,"".concat(Je,"-end"),De[ke]),qe))}))}return Te.createElement("span",{"aria-hidden":"true",className:"".concat(Le,"-indent")},ye)},a=Te.memo(y),b=te(67841),E=te(71430),x=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",ne="close",ae="---",le=function(be){(0,$e.Z)(Le,be);var fe=(0,Ue.Z)(Le);function Le(){var ue;(0,Ce.Z)(this,Le);for(var ot=arguments.length,De=new Array(ot),Je=0;Je<ot;Je++)De[Je]=arguments[Je];return ue=fe.call.apply(fe,[this].concat(De)),ue.state={dragNodeHighlight:!1},ue.selectHandle=void 0,ue.cacheIndent=void 0,ue.onSelectorClick=function(ye){var ke=ue.props.context.onNodeClick;ke(ye,(0,E.F)(ue.props)),ue.isSelectable()?ue.onSelect(ye):ue.onCheck(ye)},ue.onSelectorDoubleClick=function(ye){var ke=ue.props.context.onNodeDoubleClick;ke(ye,(0,E.F)(ue.props))},ue.onSelect=function(ye){if(!ue.isDisabled()){var ke=ue.props.context.onNodeSelect;ke(ye,(0,E.F)(ue.props))}},ue.onCheck=function(ye){if(!ue.isDisabled()){var ke=ue.props,qe=ke.disableCheckbox,Xe=ke.checked,Ve=ue.props.context.onNodeCheck;if(!(!ue.isCheckable()||qe)){var kt=!Xe;Ve(ye,(0,E.F)(ue.props),kt)}}},ue.onMouseEnter=function(ye){var ke=ue.props.context.onNodeMouseEnter;ke(ye,(0,E.F)(ue.props))},ue.onMouseLeave=function(ye){var ke=ue.props.context.onNodeMouseLeave;ke(ye,(0,E.F)(ue.props))},ue.onContextMenu=function(ye){var ke=ue.props.context.onNodeContextMenu;ke(ye,(0,E.F)(ue.props))},ue.onDragStart=function(ye){var ke=ue.props.context.onNodeDragStart;ye.stopPropagation(),ue.setState({dragNodeHighlight:!0}),ke(ye,(0,re.Z)(ue));try{ye.dataTransfer.setData("text/plain","")}catch(qe){}},ue.onDragEnter=function(ye){var ke=ue.props.context.onNodeDragEnter;ye.preventDefault(),ye.stopPropagation(),ke(ye,(0,re.Z)(ue))},ue.onDragOver=function(ye){var ke=ue.props.context.onNodeDragOver;ye.preventDefault(),ye.stopPropagation(),ke(ye,(0,re.Z)(ue))},ue.onDragLeave=function(ye){var ke=ue.props.context.onNodeDragLeave;ye.stopPropagation(),ke(ye,(0,re.Z)(ue))},ue.onDragEnd=function(ye){var ke=ue.props.context.onNodeDragEnd;ye.stopPropagation(),ue.setState({dragNodeHighlight:!1}),ke(ye,(0,re.Z)(ue))},ue.onDrop=function(ye){var ke=ue.props.context.onNodeDrop;ye.preventDefault(),ye.stopPropagation(),ue.setState({dragNodeHighlight:!1}),ke(ye,(0,re.Z)(ue))},ue.onExpand=function(ye){var ke=ue.props,qe=ke.loading,Xe=ke.context.onNodeExpand;qe||Xe(ye,(0,E.F)(ue.props))},ue.setSelectHandle=function(ye){ue.selectHandle=ye},ue.getNodeState=function(){var ye=ue.props.expanded;return ue.isLeaf()?null:ye?z:ne},ue.hasChildren=function(){var ye=ue.props.eventKey,ke=ue.props.context.keyEntities,qe=(0,b.Z)(ke,ye)||{},Xe=qe.children;return!!(Xe||[]).length},ue.isLeaf=function(){var ye=ue.props,ke=ye.isLeaf,qe=ye.loaded,Xe=ue.props.context.loadData,Ve=ue.hasChildren();return ke===!1?!1:ke||!Xe&&!Ve||Xe&&qe&&!Ve},ue.isDisabled=function(){var ye=ue.props.disabled,ke=ue.props.context.disabled;return!!(ke||ye)},ue.isCheckable=function(){var ye=ue.props.checkable,ke=ue.props.context.checkable;return!ke||ye===!1?!1:ke},ue.syncLoadData=function(ye){var ke=ye.expanded,qe=ye.loading,Xe=ye.loaded,Ve=ue.props.context,kt=Ve.loadData,_e=Ve.onNodeLoad;qe||kt&&ke&&!ue.isLeaf()&&!ue.hasChildren()&&!Xe&&_e((0,E.F)(ue.props))},ue.isDraggable=function(){var ye=ue.props,ke=ye.data,qe=ye.context.draggable;return!!(qe&&(!qe.nodeDraggable||qe.nodeDraggable(ke)))},ue.renderDragHandler=function(){var ye=ue.props.context,ke=ye.draggable,qe=ye.prefixCls;return ke!=null&&ke.icon?Te.createElement("span",{className:"".concat(qe,"-draggable-icon")},ke.icon):null},ue.renderSwitcherIconDom=function(ye){var ke=ue.props.switcherIcon,qe=ue.props.context.switcherIcon,Xe=ke||qe;return typeof Xe=="function"?Xe((0,Ge.Z)((0,Ge.Z)({},ue.props),{},{isLeaf:ye})):Xe},ue.renderSwitcher=function(){var ye=ue.props.expanded,ke=ue.props.context.prefixCls;if(ue.isLeaf()){var qe=ue.renderSwitcherIconDom(!0);return qe!==!1?Te.createElement("span",{className:Ye()("".concat(ke,"-switcher"),"".concat(ke,"-switcher-noop"))},qe):null}var Xe=Ye()("".concat(ke,"-switcher"),"".concat(ke,"-switcher_").concat(ye?z:ne)),Ve=ue.renderSwitcherIconDom(!1);return Ve!==!1?Te.createElement("span",{onClick:ue.onExpand,className:Xe},Ve):null},ue.renderCheckbox=function(){var ye=ue.props,ke=ye.checked,qe=ye.halfChecked,Xe=ye.disableCheckbox,Ve=ue.props.context.prefixCls,kt=ue.isDisabled(),_e=ue.isCheckable();if(!_e)return null;var Ot=typeof _e!="boolean"?_e:null;return Te.createElement("span",{className:Ye()("".concat(Ve,"-checkbox"),ke&&"".concat(Ve,"-checkbox-checked"),!ke&&qe&&"".concat(Ve,"-checkbox-indeterminate"),(kt||Xe)&&"".concat(Ve,"-checkbox-disabled")),onClick:ue.onCheck},Ot)},ue.renderIcon=function(){var ye=ue.props.loading,ke=ue.props.context.prefixCls;return Te.createElement("span",{className:Ye()("".concat(ke,"-iconEle"),"".concat(ke,"-icon__").concat(ue.getNodeState()||"docu"),ye&&"".concat(ke,"-icon_loading"))})},ue.renderSelector=function(){var ye=ue.state.dragNodeHighlight,ke=ue.props,qe=ke.title,Xe=qe===void 0?ae:qe,Ve=ke.selected,kt=ke.icon,_e=ke.loading,Ot=ke.data,en=ue.props.context,Me=en.prefixCls,Ze=en.showIcon,yt=en.icon,Ut=en.loadData,ft=en.titleRender,Qt=ue.isDisabled(),Be="".concat(Me,"-node-content-wrapper"),$t;if(Ze){var hn=kt||yt;$t=hn?Te.createElement("span",{className:Ye()("".concat(Me,"-iconEle"),"".concat(Me,"-icon__customize"))},typeof hn=="function"?hn(ue.props):hn):ue.renderIcon()}else Ut&&_e&&($t=ue.renderIcon());var St;typeof Xe=="function"?St=Xe(Ot):ft?St=ft(Ot):St=Xe;var ct=Te.createElement("span",{className:"".concat(Me,"-title")},St);return Te.createElement("span",{ref:ue.setSelectHandle,title:typeof Xe=="string"?Xe:"",className:Ye()("".concat(Be),"".concat(Be,"-").concat(ue.getNodeState()||"normal"),!Qt&&(Ve||ye)&&"".concat(Me,"-node-selected")),onMouseEnter:ue.onMouseEnter,onMouseLeave:ue.onMouseLeave,onContextMenu:ue.onContextMenu,onClick:ue.onSelectorClick,onDoubleClick:ue.onSelectorDoubleClick},$t,ct,ue.renderDropIndicator())},ue.renderDropIndicator=function(){var ye=ue.props,ke=ye.disabled,qe=ye.eventKey,Xe=ue.props.context,Ve=Xe.draggable,kt=Xe.dropLevelOffset,_e=Xe.dropPosition,Ot=Xe.prefixCls,en=Xe.indent,Me=Xe.dropIndicatorRender,Ze=Xe.dragOverNodeKey,yt=Xe.direction,Ut=!!Ve,ft=!ke&&Ut&&Ze===qe,Qt=en!=null?en:ue.cacheIndent;return ue.cacheIndent=en,ft?Me({dropPosition:_e,dropLevelOffset:kt,indent:Qt,prefixCls:Ot,direction:yt}):null},ue}return(0,Fe.Z)(Le,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var ot=this.props.selectable,De=this.props.context.selectable;return typeof ot=="boolean"?ot:De}},{key:"render",value:function(){var ot,De=this.props,Je=De.eventKey,ye=De.className,ke=De.style,qe=De.dragOver,Xe=De.dragOverGapTop,Ve=De.dragOverGapBottom,kt=De.isLeaf,_e=De.isStart,Ot=De.isEnd,en=De.expanded,Me=De.selected,Ze=De.checked,yt=De.halfChecked,Ut=De.loading,ft=De.domRef,Qt=De.active,Be=De.data,$t=De.onMouseMove,hn=De.selectable,St=(0,we.Z)(De,x),ct=this.props.context,Qe=ct.prefixCls,Re=ct.filterTreeNode,Pe=ct.keyEntities,se=ct.dropContainerKey,Ne=ct.dropTargetKey,it=ct.draggingNodeKey,Se=this.isDisabled(),ve=(0,pt.Z)(St,{aria:!0,data:!0}),tt=(0,b.Z)(Pe,Je)||{},Oe=tt.level,Ee=Ot[Ot.length-1],et=this.isDraggable(),Kt=!Se&&et,ht=it===Je,It=hn!==void 0?{"aria-selected":!!hn}:void 0;return Te.createElement("div",(0,ee.Z)({ref:ft,className:Ye()(ye,"".concat(Qe,"-treenode"),(ot={},(0,ie.Z)(ot,"".concat(Qe,"-treenode-disabled"),Se),(0,ie.Z)(ot,"".concat(Qe,"-treenode-switcher-").concat(en?"open":"close"),!kt),(0,ie.Z)(ot,"".concat(Qe,"-treenode-checkbox-checked"),Ze),(0,ie.Z)(ot,"".concat(Qe,"-treenode-checkbox-indeterminate"),yt),(0,ie.Z)(ot,"".concat(Qe,"-treenode-selected"),Me),(0,ie.Z)(ot,"".concat(Qe,"-treenode-loading"),Ut),(0,ie.Z)(ot,"".concat(Qe,"-treenode-active"),Qt),(0,ie.Z)(ot,"".concat(Qe,"-treenode-leaf-last"),Ee),(0,ie.Z)(ot,"".concat(Qe,"-treenode-draggable"),et),(0,ie.Z)(ot,"dragging",ht),(0,ie.Z)(ot,"drop-target",Ne===Je),(0,ie.Z)(ot,"drop-container",se===Je),(0,ie.Z)(ot,"drag-over",!Se&&qe),(0,ie.Z)(ot,"drag-over-gap-top",!Se&&Xe),(0,ie.Z)(ot,"drag-over-gap-bottom",!Se&&Ve),(0,ie.Z)(ot,"filter-node",Re&&Re((0,E.F)(this.props))),ot)),style:ke,draggable:Kt,"aria-grabbed":ht,onDragStart:Kt?this.onDragStart:void 0,onDragEnter:et?this.onDragEnter:void 0,onDragOver:et?this.onDragOver:void 0,onDragLeave:et?this.onDragLeave:void 0,onDrop:et?this.onDrop:void 0,onDragEnd:et?this.onDragEnd:void 0,onMouseMove:$t},It,ve),Te.createElement(a,{prefixCls:Qe,level:Oe,isStart:_e,isEnd:Ot}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Le}(Te.Component),de=function(fe){return Te.createElement(oe.k.Consumer,null,function(Le){return Te.createElement(le,(0,ee.Z)({},fe,{context:Le}))})};de.displayName="TreeNode",de.isTreeNode=1;var ge=de},39378:function(Ft,Rt,te){"use strict";te.d(Rt,{k:function(){return ie}});var ee=te(59301),ie=ee.createContext(null)},23130:function(Ft,Rt,te){"use strict";te.d(Rt,{O:function(){return ge.Z},Z:function(){return ct}});var ee=te(92413),ie=te(400),we=te(39559),Ge=te(33708),Ce=te(26407),Fe=te(6909),re=te(4771),$e=te(25314),Ue=te(9427),ze=te(25440),Ye=te(92310),pt=te.n(Ye),Te=te(10228),oe=te(26112),y=te(48736),a=te(59301),b=te(39378);function E(Qe){var Re=Qe.dropPosition,Pe=Qe.dropLevelOffset,se=Qe.indent,Ne={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Re){case-1:Ne.top=0,Ne.left=-Pe*se;break;case 1:Ne.bottom=0,Ne.left=-Pe*se;break;case 0:Ne.bottom=0,Ne.left=se;break}return a.createElement("div",{style:Ne})}function x(Qe){if(Qe==null)throw new TypeError("Cannot destructure "+Qe)}var z=te(33606),ne=te(37061),ae=te(34280),le=te(24916),de=te(77900),ge=te(39417);function be(Qe,Re){var Pe=a.useState(!1),se=(0,z.Z)(Pe,2),Ne=se[0],it=se[1];a.useLayoutEffect(function(){if(Ne)return Qe(),function(){Re()}},[Ne]),a.useLayoutEffect(function(){return it(!0),function(){it(!1)}},[])}var fe=te(71430),Le=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ue=function(Re,Pe){var se=Re.className,Ne=Re.style,it=Re.motion,Se=Re.motionNodes,ve=Re.motionType,tt=Re.onMotionStart,Oe=Re.onMotionEnd,Ee=Re.active,et=Re.treeNodeRequiredProps,Kt=(0,ne.Z)(Re,Le),ht=a.useState(!0),It=(0,z.Z)(ht,2),Tt=It[0],Zt=It[1],xe=a.useContext(b.k),dt=xe.prefixCls,vt=Se&&ve!=="hide";(0,ae.Z)(function(){Se&&vt!==Tt&&Zt(vt)},[Se]);var mt=function(){Se&&tt()},Nt=a.useRef(!1),Vt=function(){Se&&!Nt.current&&(Nt.current=!0,Oe())};be(mt,Vt);var nn=function(Sn){vt===Sn&&Vt()};return Se?a.createElement(de.default,(0,ee.Z)({ref:Pe,visible:Tt},it,{motionAppear:ve==="show",onVisibleChanged:nn}),function(an,Sn){var On=an.className,Lt=an.style;return a.createElement("div",{ref:Sn,className:pt()("".concat(dt,"-treenode-motion"),On),style:Lt},Se.map(function(Ct){var Wt=(0,ee.Z)({},(x(Ct.data),Ct.data)),cn=Ct.title,sn=Ct.key,Nn=Ct.isStart,at=Ct.isEnd;delete Wt.children;var Bt=(0,fe.H8)(sn,et);return a.createElement(ge.Z,(0,ee.Z)({},Wt,Bt,{title:cn,active:Ee,data:Ct.data,key:sn,isStart:Nn,isEnd:at}))}))}):a.createElement(ge.Z,(0,ee.Z)({domRef:Pe,className:se,style:Ne},Kt,{active:Ee}))};ue.displayName="MotionTreeNode";var ot=a.forwardRef(ue),De=ot;function Je(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Pe=Qe.length,se=Re.length;if(Math.abs(Pe-se)!==1)return{add:!1,key:null};function Ne(it,Se){var ve=new Map;it.forEach(function(Oe){ve.set(Oe,!0)});var tt=Se.filter(function(Oe){return!ve.has(Oe)});return tt.length===1?tt[0]:null}return Pe<se?{add:!0,key:Ne(Qe,Re)}:{add:!1,key:Ne(Re,Qe)}}function ye(Qe,Re,Pe){var se=Qe.findIndex(function(ve){return ve.key===Pe}),Ne=Qe[se+1],it=Re.findIndex(function(ve){return ve.key===Pe});if(Ne){var Se=Re.findIndex(function(ve){return ve.key===Ne.key});return Re.slice(it+1,Se)}return Re.slice(it+1)}var ke=["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"],qe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Xe=function(){},Ve="RC_TREE_MOTION_".concat(Math.random()),kt={key:Ve},_e={key:Ve,level:0,index:0,pos:"0",node:kt,nodes:[kt]},Ot={parent:null,children:[],pos:_e.pos,data:kt,title:null,key:Ve,isStart:[],isEnd:[]};function en(Qe,Re,Pe,se){return Re===!1||!Pe?Qe:Qe.slice(0,Math.ceil(Pe/se)+1)}function Me(Qe){var Re=Qe.key,Pe=Qe.pos;return(0,fe.km)(Re,Pe)}function Ze(Qe){for(var Re=String(Qe.data.key),Pe=Qe;Pe.parent;)Pe=Pe.parent,Re="".concat(Pe.data.key," > ").concat(Re);return Re}var yt=a.forwardRef(function(Qe,Re){var Pe=Qe.prefixCls,se=Qe.data,Ne=Qe.selectable,it=Qe.checkable,Se=Qe.expandedKeys,ve=Qe.selectedKeys,tt=Qe.checkedKeys,Oe=Qe.loadedKeys,Ee=Qe.loadingKeys,et=Qe.halfCheckedKeys,Kt=Qe.keyEntities,ht=Qe.disabled,It=Qe.dragging,Tt=Qe.dragOverNodeKey,Zt=Qe.dropPosition,xe=Qe.motion,dt=Qe.height,vt=Qe.itemHeight,mt=Qe.virtual,Nt=Qe.focusable,Vt=Qe.activeItem,nn=Qe.focused,an=Qe.tabIndex,Sn=Qe.onKeyDown,On=Qe.onFocus,Lt=Qe.onBlur,Ct=Qe.onActiveChange,Wt=Qe.onListChangeStart,cn=Qe.onListChangeEnd,sn=(0,ne.Z)(Qe,ke),Nn=a.useRef(null),at=a.useRef(null);a.useImperativeHandle(Re,function(){return{scrollTo:function(qn){Nn.current.scrollTo(qn)},getIndentWidth:function(){return at.current.offsetWidth}}});var Bt=a.useState(Se),Jt=(0,z.Z)(Bt,2),yn=Jt[0],he=Jt[1],We=a.useState(se),st=(0,z.Z)(We,2),gt=st[0],bt=st[1],Xt=a.useState(se),xt=(0,z.Z)(Xt,2),He=xt[0],Ke=xt[1],Ie=a.useState([]),ut=(0,z.Z)(Ie,2),jt=ut[0],Dt=ut[1],pn=a.useState(null),fn=(0,z.Z)(pn,2),qt=fn[0],xn=fn[1],Qn=a.useRef(se);Qn.current=se;function on(){var ca=Qn.current;bt(ca),Ke(ca),Dt([]),xn(null),cn()}(0,ae.Z)(function(){he(Se);var ca=Je(yn,Se);if(ca.key!==null)if(ca.add){var qn=gt.findIndex(function(vn){var un=vn.key;return un===ca.key}),nt=en(ye(gt,se,ca.key),mt,dt,vt),zt=gt.slice();zt.splice(qn+1,0,Ot),Ke(zt),Dt(nt),xn("show")}else{var Pt=se.findIndex(function(vn){var un=vn.key;return un===ca.key}),_t=en(ye(se,gt,ca.key),mt,dt,vt),dn=se.slice();dn.splice(Pt+1,0,Ot),Ke(dn),Dt(_t),xn("hide")}else gt!==se&&(bt(se),Ke(se))},[Se,se]),a.useEffect(function(){It||on()},[It]);var Un=xe?He:se,$n={expandedKeys:Se,selectedKeys:ve,loadedKeys:Oe,loadingKeys:Ee,checkedKeys:tt,halfCheckedKeys:et,dragOverNodeKey:Tt,dropPosition:Zt,keyEntities:Kt};return a.createElement(a.Fragment,null,nn&&Vt&&a.createElement("span",{style:qe,"aria-live":"assertive"},Ze(Vt)),a.createElement("div",null,a.createElement("input",{style:qe,disabled:Nt===!1||ht,tabIndex:Nt!==!1?an:null,onKeyDown:Sn,onFocus:On,onBlur:Lt,value:"",onChange:Xe,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(Pe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(Pe,"-indent")},a.createElement("div",{ref:at,className:"".concat(Pe,"-indent-unit")}))),a.createElement(le.Z,(0,ee.Z)({},sn,{data:Un,itemKey:Me,height:dt,fullHeight:!1,virtual:mt,itemHeight:vt,prefixCls:"".concat(Pe,"-list"),ref:Nn,onVisibleChange:function(qn,nt){var zt=new Set(qn),Pt=nt.filter(function(_t){return!zt.has(_t)});Pt.some(function(_t){return Me(_t)===Ve})&&on()}}),function(ca){var qn=ca.pos,nt=(0,ee.Z)({},(x(ca.data),ca.data)),zt=ca.title,Pt=ca.key,_t=ca.isStart,dn=ca.isEnd,vn=(0,fe.km)(Pt,qn);delete nt.key,delete nt.children;var un=(0,fe.H8)(vn,$n);return a.createElement(De,(0,ee.Z)({},nt,un,{title:zt,active:!!Vt&&Pt===Vt.key,pos:qn,data:ca.data,isStart:_t,isEnd:dn,motion:xe,motionNodes:Pt===Ve?jt:null,motionType:qt,onMotionStart:Wt,onMotionEnd:on,treeNodeRequiredProps:$n,onMouseMove:function(){Ct(null)}}))}))});yt.displayName="NodeList";var Ut=yt,ft=te(35654),Qt=te(90782),Be=te(67841),$t=10,hn=function(Qe){(0,Ue.Z)(Pe,Qe);var Re=(0,ze.Z)(Pe);function Pe(){var se;(0,Fe.Z)(this,Pe);for(var Ne=arguments.length,it=new Array(Ne),Se=0;Se<Ne;Se++)it[Se]=arguments[Se];return se=Re.call.apply(Re,[this].concat(it)),se.destroyed=!1,se.delayedDragEnterLogic=void 0,se.loadingRetryTimes={},se.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,fe.w$)()},se.dragStartMousePosition=null,se.dragNode=void 0,se.currentMouseOverDroppableNodeKey=null,se.listRef=a.createRef(),se.onNodeDragStart=function(ve,tt){var Oe=se.state,Ee=Oe.expandedKeys,et=Oe.keyEntities,Kt=se.props.onDragStart,ht=tt.props.eventKey;se.dragNode=tt,se.dragStartMousePosition={x:ve.clientX,y:ve.clientY};var It=(0,ft._5)(Ee,ht);se.setState({draggingNodeKey:ht,dragChildrenKeys:(0,ft.wA)(ht,et),indent:se.listRef.current.getIndentWidth()}),se.setExpandedKeys(It),window.addEventListener("dragend",se.onWindowDragEnd),Kt==null||Kt({event:ve,node:(0,fe.F)(tt.props)})},se.onNodeDragEnter=function(ve,tt){var Oe=se.state,Ee=Oe.expandedKeys,et=Oe.keyEntities,Kt=Oe.dragChildrenKeys,ht=Oe.flattenNodes,It=Oe.indent,Tt=se.props,Zt=Tt.onDragEnter,xe=Tt.onExpand,dt=Tt.allowDrop,vt=Tt.direction,mt=tt.props,Nt=mt.pos,Vt=mt.eventKey,nn=(0,$e.Z)(se),an=nn.dragNode;if(se.currentMouseOverDroppableNodeKey!==Vt&&(se.currentMouseOverDroppableNodeKey=Vt),!an){se.resetDragState();return}var Sn=(0,ft.OM)(ve,an,tt,It,se.dragStartMousePosition,dt,ht,et,Ee,vt),On=Sn.dropPosition,Lt=Sn.dropLevelOffset,Ct=Sn.dropTargetKey,Wt=Sn.dropContainerKey,cn=Sn.dropTargetPos,sn=Sn.dropAllowed,Nn=Sn.dragOverNodeKey;if(Kt.indexOf(Ct)!==-1||!sn){se.resetDragState();return}if(se.delayedDragEnterLogic||(se.delayedDragEnterLogic={}),Object.keys(se.delayedDragEnterLogic).forEach(function(at){clearTimeout(se.delayedDragEnterLogic[at])}),an.props.eventKey!==tt.props.eventKey&&(ve.persist(),se.delayedDragEnterLogic[Nt]=window.setTimeout(function(){if(se.state.draggingNodeKey!==null){var at=(0,Ce.Z)(Ee),Bt=(0,Be.Z)(et,tt.props.eventKey);Bt&&(Bt.children||[]).length&&(at=(0,ft.L0)(Ee,tt.props.eventKey)),"expandedKeys"in se.props||se.setExpandedKeys(at),xe==null||xe(at,{node:(0,fe.F)(tt.props),expanded:!0,nativeEvent:ve.nativeEvent})}},800)),an.props.eventKey===Ct&&Lt===0){se.resetDragState();return}se.setState({dragOverNodeKey:Nn,dropPosition:On,dropLevelOffset:Lt,dropTargetKey:Ct,dropContainerKey:Wt,dropTargetPos:cn,dropAllowed:sn}),Zt==null||Zt({event:ve,node:(0,fe.F)(tt.props),expandedKeys:Ee})},se.onNodeDragOver=function(ve,tt){var Oe=se.state,Ee=Oe.dragChildrenKeys,et=Oe.flattenNodes,Kt=Oe.keyEntities,ht=Oe.expandedKeys,It=Oe.indent,Tt=se.props,Zt=Tt.onDragOver,xe=Tt.allowDrop,dt=Tt.direction,vt=(0,$e.Z)(se),mt=vt.dragNode;if(mt){var Nt=(0,ft.OM)(ve,mt,tt,It,se.dragStartMousePosition,xe,et,Kt,ht,dt),Vt=Nt.dropPosition,nn=Nt.dropLevelOffset,an=Nt.dropTargetKey,Sn=Nt.dropContainerKey,On=Nt.dropAllowed,Lt=Nt.dropTargetPos,Ct=Nt.dragOverNodeKey;Ee.indexOf(an)!==-1||!On||(mt.props.eventKey===an&&nn===0?se.state.dropPosition===null&&se.state.dropLevelOffset===null&&se.state.dropTargetKey===null&&se.state.dropContainerKey===null&&se.state.dropTargetPos===null&&se.state.dropAllowed===!1&&se.state.dragOverNodeKey===null||se.resetDragState():Vt===se.state.dropPosition&&nn===se.state.dropLevelOffset&&an===se.state.dropTargetKey&&Sn===se.state.dropContainerKey&&Lt===se.state.dropTargetPos&&On===se.state.dropAllowed&&Ct===se.state.dragOverNodeKey||se.setState({dropPosition:Vt,dropLevelOffset:nn,dropTargetKey:an,dropContainerKey:Sn,dropTargetPos:Lt,dropAllowed:On,dragOverNodeKey:Ct}),Zt==null||Zt({event:ve,node:(0,fe.F)(tt.props)}))}},se.onNodeDragLeave=function(ve,tt){se.currentMouseOverDroppableNodeKey===tt.props.eventKey&&!ve.currentTarget.contains(ve.relatedTarget)&&(se.resetDragState(),se.currentMouseOverDroppableNodeKey=null);var Oe=se.props.onDragLeave;Oe==null||Oe({event:ve,node:(0,fe.F)(tt.props)})},se.onWindowDragEnd=function(ve){se.onNodeDragEnd(ve,null,!0),window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDragEnd=function(ve,tt){var Oe=se.props.onDragEnd;se.setState({dragOverNodeKey:null}),se.cleanDragState(),Oe==null||Oe({event:ve,node:(0,fe.F)(tt.props)}),se.dragNode=null,window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDrop=function(ve,tt){var Oe,Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,et=se.state,Kt=et.dragChildrenKeys,ht=et.dropPosition,It=et.dropTargetKey,Tt=et.dropTargetPos,Zt=et.dropAllowed;if(Zt){var xe=se.props.onDrop;if(se.setState({dragOverNodeKey:null}),se.cleanDragState(),It!==null){var dt=(0,Ge.Z)((0,Ge.Z)({},(0,fe.H8)(It,se.getTreeNodeRequiredProps())),{},{active:((Oe=se.getActiveItem())===null||Oe===void 0?void 0:Oe.key)===It,data:(0,Be.Z)(se.state.keyEntities,It).node}),vt=Kt.indexOf(It)!==-1;(0,y.ZP)(!vt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var mt=(0,ft.yx)(Tt),Nt={event:ve,node:(0,fe.F)(dt),dragNode:se.dragNode?(0,fe.F)(se.dragNode.props):null,dragNodesKeys:[se.dragNode.props.eventKey].concat(Kt),dropToGap:ht!==0,dropPosition:ht+Number(mt[mt.length-1])};Ee||xe==null||xe(Nt),se.dragNode=null}}},se.cleanDragState=function(){var ve=se.state.draggingNodeKey;ve!==null&&se.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),se.dragStartMousePosition=null,se.currentMouseOverDroppableNodeKey=null},se.triggerExpandActionExpand=function(ve,tt){var Oe=se.state,Ee=Oe.expandedKeys,et=Oe.flattenNodes,Kt=tt.expanded,ht=tt.key,It=tt.isLeaf;if(!(It||ve.shiftKey||ve.metaKey||ve.ctrlKey)){var Tt=et.filter(function(xe){return xe.key===ht})[0],Zt=(0,fe.F)((0,Ge.Z)((0,Ge.Z)({},(0,fe.H8)(ht,se.getTreeNodeRequiredProps())),{},{data:Tt.data}));se.setExpandedKeys(Kt?(0,ft._5)(Ee,ht):(0,ft.L0)(Ee,ht)),se.onNodeExpand(ve,Zt)}},se.onNodeClick=function(ve,tt){var Oe=se.props,Ee=Oe.onClick,et=Oe.expandAction;et==="click"&&se.triggerExpandActionExpand(ve,tt),Ee==null||Ee(ve,tt)},se.onNodeDoubleClick=function(ve,tt){var Oe=se.props,Ee=Oe.onDoubleClick,et=Oe.expandAction;et==="doubleClick"&&se.triggerExpandActionExpand(ve,tt),Ee==null||Ee(ve,tt)},se.onNodeSelect=function(ve,tt){var Oe=se.state.selectedKeys,Ee=se.state,et=Ee.keyEntities,Kt=Ee.fieldNames,ht=se.props,It=ht.onSelect,Tt=ht.multiple,Zt=tt.selected,xe=tt[Kt.key],dt=!Zt;dt?Tt?Oe=(0,ft.L0)(Oe,xe):Oe=[xe]:Oe=(0,ft._5)(Oe,xe);var vt=Oe.map(function(mt){var Nt=(0,Be.Z)(et,mt);return Nt?Nt.node:null}).filter(function(mt){return mt});se.setUncontrolledState({selectedKeys:Oe}),It==null||It(Oe,{event:"select",selected:dt,node:tt,selectedNodes:vt,nativeEvent:ve.nativeEvent})},se.onNodeCheck=function(ve,tt,Oe){var Ee=se.state,et=Ee.keyEntities,Kt=Ee.checkedKeys,ht=Ee.halfCheckedKeys,It=se.props,Tt=It.checkStrictly,Zt=It.onCheck,xe=tt.key,dt,vt={event:"check",node:tt,checked:Oe,nativeEvent:ve.nativeEvent};if(Tt){var mt=Oe?(0,ft.L0)(Kt,xe):(0,ft._5)(Kt,xe),Nt=(0,ft._5)(ht,xe);dt={checked:mt,halfChecked:Nt},vt.checkedNodes=mt.map(function(Lt){return(0,Be.Z)(et,Lt)}).filter(function(Lt){return Lt}).map(function(Lt){return Lt.node}),se.setUncontrolledState({checkedKeys:mt})}else{var Vt=(0,Qt.S)([].concat((0,Ce.Z)(Kt),[xe]),!0,et),nn=Vt.checkedKeys,an=Vt.halfCheckedKeys;if(!Oe){var Sn=new Set(nn);Sn.delete(xe);var On=(0,Qt.S)(Array.from(Sn),{checked:!1,halfCheckedKeys:an},et);nn=On.checkedKeys,an=On.halfCheckedKeys}dt=nn,vt.checkedNodes=[],vt.checkedNodesPositions=[],vt.halfCheckedKeys=an,nn.forEach(function(Lt){var Ct=(0,Be.Z)(et,Lt);if(Ct){var Wt=Ct.node,cn=Ct.pos;vt.checkedNodes.push(Wt),vt.checkedNodesPositions.push({node:Wt,pos:cn})}}),se.setUncontrolledState({checkedKeys:nn},!1,{halfCheckedKeys:an})}Zt==null||Zt(dt,vt)},se.onNodeLoad=function(ve){var tt=ve.key,Oe=new Promise(function(Ee,et){se.setState(function(Kt){var ht=Kt.loadedKeys,It=ht===void 0?[]:ht,Tt=Kt.loadingKeys,Zt=Tt===void 0?[]:Tt,xe=se.props,dt=xe.loadData,vt=xe.onLoad;if(!dt||It.indexOf(tt)!==-1||Zt.indexOf(tt)!==-1)return null;var mt=dt(ve);return mt.then(function(){var Nt=se.state.loadedKeys,Vt=(0,ft.L0)(Nt,tt);vt==null||vt(Vt,{event:"load",node:ve}),se.setUncontrolledState({loadedKeys:Vt}),se.setState(function(nn){return{loadingKeys:(0,ft._5)(nn.loadingKeys,tt)}}),Ee()}).catch(function(Nt){if(se.setState(function(nn){return{loadingKeys:(0,ft._5)(nn.loadingKeys,tt)}}),se.loadingRetryTimes[tt]=(se.loadingRetryTimes[tt]||0)+1,se.loadingRetryTimes[tt]>=$t){var Vt=se.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),se.setUncontrolledState({loadedKeys:(0,ft.L0)(Vt,tt)}),Ee()}et(Nt)}),{loadingKeys:(0,ft.L0)(Zt,tt)}})});return Oe.catch(function(){}),Oe},se.onNodeMouseEnter=function(ve,tt){var Oe=se.props.onMouseEnter;Oe==null||Oe({event:ve,node:tt})},se.onNodeMouseLeave=function(ve,tt){var Oe=se.props.onMouseLeave;Oe==null||Oe({event:ve,node:tt})},se.onNodeContextMenu=function(ve,tt){var Oe=se.props.onRightClick;Oe&&(ve.preventDefault(),Oe({event:ve,node:tt}))},se.onFocus=function(){var ve=se.props.onFocus;se.setState({focused:!0});for(var tt=arguments.length,Oe=new Array(tt),Ee=0;Ee<tt;Ee++)Oe[Ee]=arguments[Ee];ve==null||ve.apply(void 0,Oe)},se.onBlur=function(){var ve=se.props.onBlur;se.setState({focused:!1}),se.onActiveChange(null);for(var tt=arguments.length,Oe=new Array(tt),Ee=0;Ee<tt;Ee++)Oe[Ee]=arguments[Ee];ve==null||ve.apply(void 0,Oe)},se.getTreeNodeRequiredProps=function(){var ve=se.state,tt=ve.expandedKeys,Oe=ve.selectedKeys,Ee=ve.loadedKeys,et=ve.loadingKeys,Kt=ve.checkedKeys,ht=ve.halfCheckedKeys,It=ve.dragOverNodeKey,Tt=ve.dropPosition,Zt=ve.keyEntities;return{expandedKeys:tt||[],selectedKeys:Oe||[],loadedKeys:Ee||[],loadingKeys:et||[],checkedKeys:Kt||[],halfCheckedKeys:ht||[],dragOverNodeKey:It,dropPosition:Tt,keyEntities:Zt}},se.setExpandedKeys=function(ve){var tt=se.state,Oe=tt.treeData,Ee=tt.fieldNames,et=(0,fe.oH)(Oe,ve,Ee);se.setUncontrolledState({expandedKeys:ve,flattenNodes:et},!0)},se.onNodeExpand=function(ve,tt){var Oe=se.state.expandedKeys,Ee=se.state,et=Ee.listChanging,Kt=Ee.fieldNames,ht=se.props,It=ht.onExpand,Tt=ht.loadData,Zt=tt.expanded,xe=tt[Kt.key];if(!et){var dt=Oe.indexOf(xe),vt=!Zt;if((0,y.ZP)(Zt&&dt!==-1||!Zt&&dt===-1,"Expand state not sync with index check"),vt?Oe=(0,ft.L0)(Oe,xe):Oe=(0,ft._5)(Oe,xe),se.setExpandedKeys(Oe),It==null||It(Oe,{node:tt,expanded:vt,nativeEvent:ve.nativeEvent}),vt&&Tt){var mt=se.onNodeLoad(tt);mt&&mt.then(function(){var Nt=(0,fe.oH)(se.state.treeData,Oe,Kt);se.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=se.state.expandedKeys,Vt=(0,ft._5)(Nt,xe);se.setExpandedKeys(Vt)})}}},se.onListChangeStart=function(){se.setUncontrolledState({listChanging:!0})},se.onListChangeEnd=function(){setTimeout(function(){se.setUncontrolledState({listChanging:!1})})},se.onActiveChange=function(ve){var tt=se.state.activeKey,Oe=se.props.onActiveChange;tt!==ve&&(se.setState({activeKey:ve}),ve!==null&&se.scrollTo({key:ve}),Oe==null||Oe(ve))},se.getActiveItem=function(){var ve=se.state,tt=ve.activeKey,Oe=ve.flattenNodes;return tt===null?null:Oe.find(function(Ee){var et=Ee.key;return et===tt})||null},se.offsetActiveKey=function(ve){var tt=se.state,Oe=tt.flattenNodes,Ee=tt.activeKey,et=Oe.findIndex(function(It){var Tt=It.key;return Tt===Ee});et===-1&&ve<0&&(et=Oe.length),et=(et+ve+Oe.length)%Oe.length;var Kt=Oe[et];if(Kt){var ht=Kt.key;se.onActiveChange(ht)}else se.onActiveChange(null)},se.onKeyDown=function(ve){var tt=se.state,Oe=tt.activeKey,Ee=tt.expandedKeys,et=tt.checkedKeys,Kt=tt.fieldNames,ht=se.props,It=ht.onKeyDown,Tt=ht.checkable,Zt=ht.selectable;switch(ve.which){case Te.Z.UP:{se.offsetActiveKey(-1),ve.preventDefault();break}case Te.Z.DOWN:{se.offsetActiveKey(1),ve.preventDefault();break}}var xe=se.getActiveItem();if(xe&&xe.data){var dt=se.getTreeNodeRequiredProps(),vt=xe.data.isLeaf===!1||!!(xe.data[Kt.children]||[]).length,mt=(0,fe.F)((0,Ge.Z)((0,Ge.Z)({},(0,fe.H8)(Oe,dt)),{},{data:xe.data,active:!0}));switch(ve.which){case Te.Z.LEFT:{vt&&Ee.includes(Oe)?se.onNodeExpand({},mt):xe.parent&&se.onActiveChange(xe.parent.key),ve.preventDefault();break}case Te.Z.RIGHT:{vt&&!Ee.includes(Oe)?se.onNodeExpand({},mt):xe.children&&xe.children.length&&se.onActiveChange(xe.children[0].key),ve.preventDefault();break}case Te.Z.ENTER:case Te.Z.SPACE:{Tt&&!mt.disabled&&mt.checkable!==!1&&!mt.disableCheckbox?se.onNodeCheck({},mt,!et.includes(Oe)):!Tt&&Zt&&!mt.disabled&&mt.selectable!==!1&&se.onNodeSelect({},mt);break}}}It==null||It(ve)},se.setUncontrolledState=function(ve){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!se.destroyed){var Ee=!1,et=!0,Kt={};Object.keys(ve).forEach(function(ht){if(ht in se.props){et=!1;return}Ee=!0,Kt[ht]=ve[ht]}),Ee&&(!tt||et)&&se.setState((0,Ge.Z)((0,Ge.Z)({},Kt),Oe))}},se.scrollTo=function(ve){se.listRef.current.scrollTo(ve)},se}return(0,re.Z)(Pe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ne=this.props.activeKey;Ne!==void 0&&Ne!==this.state.activeKey&&(this.setState({activeKey:Ne}),Ne!==null&&this.scrollTo({key:Ne}))}},{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 Ne,it=this.state,Se=it.focused,ve=it.flattenNodes,tt=it.keyEntities,Oe=it.draggingNodeKey,Ee=it.activeKey,et=it.dropLevelOffset,Kt=it.dropContainerKey,ht=it.dropTargetKey,It=it.dropPosition,Tt=it.dragOverNodeKey,Zt=it.indent,xe=this.props,dt=xe.prefixCls,vt=xe.className,mt=xe.style,Nt=xe.showLine,Vt=xe.focusable,nn=xe.tabIndex,an=nn===void 0?0:nn,Sn=xe.selectable,On=xe.showIcon,Lt=xe.icon,Ct=xe.switcherIcon,Wt=xe.draggable,cn=xe.checkable,sn=xe.checkStrictly,Nn=xe.disabled,at=xe.motion,Bt=xe.loadData,Jt=xe.filterTreeNode,yn=xe.height,he=xe.itemHeight,We=xe.virtual,st=xe.titleRender,gt=xe.dropIndicatorRender,bt=xe.onContextMenu,Xt=xe.onScroll,xt=xe.direction,He=xe.rootClassName,Ke=xe.rootStyle,Ie=(0,oe.Z)(this.props,{aria:!0,data:!0}),ut;return Wt&&((0,we.Z)(Wt)==="object"?ut=Wt:typeof Wt=="function"?ut={nodeDraggable:Wt}:ut={}),a.createElement(b.k.Provider,{value:{prefixCls:dt,selectable:Sn,showIcon:On,icon:Lt,switcherIcon:Ct,draggable:ut,draggingNodeKey:Oe,checkable:cn,checkStrictly:sn,disabled:Nn,keyEntities:tt,dropLevelOffset:et,dropContainerKey:Kt,dropTargetKey:ht,dropPosition:It,dragOverNodeKey:Tt,indent:Zt,direction:xt,dropIndicatorRender:gt,loadData:Bt,filterTreeNode:Jt,titleRender:st,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:pt()(dt,vt,He,(Ne={},(0,ie.Z)(Ne,"".concat(dt,"-show-line"),Nt),(0,ie.Z)(Ne,"".concat(dt,"-focused"),Se),(0,ie.Z)(Ne,"".concat(dt,"-active-focused"),Ee!==null),Ne)),style:Ke},a.createElement(Ut,(0,ee.Z)({ref:this.listRef,prefixCls:dt,style:mt,data:ve,disabled:Nn,selectable:Sn,checkable:!!cn,motion:at,dragging:Oe!==null,height:yn,itemHeight:he,virtual:We,focusable:Vt,focused:Se,tabIndex:an,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:bt,onScroll:Xt},this.getTreeNodeRequiredProps(),Ie))))}}],[{key:"getDerivedStateFromProps",value:function(Ne,it){var Se=it.prevProps,ve={prevProps:Ne};function tt(Vt){return!Se&&Vt in Ne||Se&&Se[Vt]!==Ne[Vt]}var Oe,Ee=it.fieldNames;if(tt("fieldNames")&&(Ee=(0,fe.w$)(Ne.fieldNames),ve.fieldNames=Ee),tt("treeData")?Oe=Ne.treeData:tt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Oe=(0,fe.zn)(Ne.children)),Oe){ve.treeData=Oe;var et=(0,fe.I8)(Oe,{fieldNames:Ee});ve.keyEntities=(0,Ge.Z)((0,ie.Z)({},Ve,_e),et.keyEntities)}var Kt=ve.keyEntities||it.keyEntities;if(tt("expandedKeys")||Se&&tt("autoExpandParent"))ve.expandedKeys=Ne.autoExpandParent||!Se&&Ne.defaultExpandParent?(0,ft.r7)(Ne.expandedKeys,Kt):Ne.expandedKeys;else if(!Se&&Ne.defaultExpandAll){var ht=(0,Ge.Z)({},Kt);delete ht[Ve],ve.expandedKeys=Object.keys(ht).map(function(Vt){return ht[Vt].key})}else!Se&&Ne.defaultExpandedKeys&&(ve.expandedKeys=Ne.autoExpandParent||Ne.defaultExpandParent?(0,ft.r7)(Ne.defaultExpandedKeys,Kt):Ne.defaultExpandedKeys);if(ve.expandedKeys||delete ve.expandedKeys,Oe||ve.expandedKeys){var It=(0,fe.oH)(Oe||it.treeData,ve.expandedKeys||it.expandedKeys,Ee);ve.flattenNodes=It}if(Ne.selectable&&(tt("selectedKeys")?ve.selectedKeys=(0,ft.BT)(Ne.selectedKeys,Ne):!Se&&Ne.defaultSelectedKeys&&(ve.selectedKeys=(0,ft.BT)(Ne.defaultSelectedKeys,Ne))),Ne.checkable){var Tt;if(tt("checkedKeys")?Tt=(0,ft.E6)(Ne.checkedKeys)||{}:!Se&&Ne.defaultCheckedKeys?Tt=(0,ft.E6)(Ne.defaultCheckedKeys)||{}:Oe&&(Tt=(0,ft.E6)(Ne.checkedKeys)||{checkedKeys:it.checkedKeys,halfCheckedKeys:it.halfCheckedKeys}),Tt){var Zt=Tt,xe=Zt.checkedKeys,dt=xe===void 0?[]:xe,vt=Zt.halfCheckedKeys,mt=vt===void 0?[]:vt;if(!Ne.checkStrictly){var Nt=(0,Qt.S)(dt,!0,Kt);dt=Nt.checkedKeys,mt=Nt.halfCheckedKeys}ve.checkedKeys=dt,ve.halfCheckedKeys=mt}}return tt("loadedKeys")&&(ve.loadedKeys=Ne.loadedKeys),ve}}]),Pe}(a.Component);hn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},hn.TreeNode=ge.Z;var St=hn,ct=St},35654:function(Ft,Rt,te){"use strict";te.d(Rt,{BT:function(){return a},E6:function(){return x},L0:function(){return ze},OM:function(){return y},_5:function(){return Ue},r7:function(){return z},wA:function(){return pt},yx:function(){return Ye}});var ee=te(26407),ie=te(39559),we=te(48736),Ge=te(59301),Ce=te(39417),Fe=te(67841),re=te(71430),$e=null;function Ue(ne,ae){if(!ne)return[];var le=ne.slice(),de=le.indexOf(ae);return de>=0&&le.splice(de,1),le}function ze(ne,ae){var le=(ne||[]).slice();return le.indexOf(ae)===-1&&le.push(ae),le}function Ye(ne){return ne.split("-")}function pt(ne,ae){var le=[],de=(0,Fe.Z)(ae,ne);function ge(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];be.forEach(function(fe){var Le=fe.key,ue=fe.children;le.push(Le),ge(ue)})}return ge(de.children),le}function Te(ne){if(ne.parent){var ae=Ye(ne.pos);return Number(ae[ae.length-1])===ne.parent.children.length-1}return!1}function oe(ne){var ae=Ye(ne.pos);return Number(ae[ae.length-1])===0}function y(ne,ae,le,de,ge,be,fe,Le,ue,ot){var De,Je=ne.clientX,ye=ne.clientY,ke=ne.target.getBoundingClientRect(),qe=ke.top,Xe=ke.height,Ve=(ot==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-Je),kt=(Ve-12)/de,_e=(0,Fe.Z)(Le,le.props.eventKey);if(ye<qe+Xe/2){var Ot=fe.findIndex(function(ct){return ct.key===_e.key}),en=Ot<=0?0:Ot-1,Me=fe[en].key;_e=(0,Fe.Z)(Le,Me)}var Ze=_e.key,yt=_e,Ut=_e.key,ft=0,Qt=0;if(!ue.includes(Ze))for(var Be=0;Be<kt&&Te(_e);Be+=1)_e=_e.parent,Qt+=1;var $t=ae.props.data,hn=_e.node,St=!0;return oe(_e)&&_e.level===0&&ye<qe+Xe/2&&be({dragNode:$t,dropNode:hn,dropPosition:-1})&&_e.key===le.props.eventKey?ft=-1:(yt.children||[]).length&&ue.includes(Ut)?be({dragNode:$t,dropNode:hn,dropPosition:0})?ft=0:St=!1:Qt===0?kt>-1.5?be({dragNode:$t,dropNode:hn,dropPosition:1})?ft=1:St=!1:be({dragNode:$t,dropNode:hn,dropPosition:0})?ft=0:be({dragNode:$t,dropNode:hn,dropPosition:1})?ft=1:St=!1:be({dragNode:$t,dropNode:hn,dropPosition:1})?ft=1:St=!1,{dropPosition:ft,dropLevelOffset:Qt,dropTargetKey:_e.key,dropTargetPos:_e.pos,dragOverNodeKey:Ut,dropContainerKey:ft===0?null:((De=_e.parent)===null||De===void 0?void 0:De.key)||null,dropAllowed:St}}function a(ne,ae){if(ne){var le=ae.multiple;return le?ne.slice():ne.length?[ne[0]]:ne}}var b=function(ae){return ae};function E(ne,ae){if(!ne)return[];var le=ae||{},de=le.processProps,ge=de===void 0?b:de,be=Array.isArray(ne)?ne:[ne];return be.map(function(fe){var Le=fe.children,ue=_objectWithoutProperties(fe,$e),ot=E(Le,ae);return React.createElement(TreeNode,_extends({key:ue.key},ge(ue)),ot)})}function x(ne){if(!ne)return null;var ae;if(Array.isArray(ne))ae={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,ie.Z)(ne)==="object")ae={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,we.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function z(ne,ae){var le=new Set;function de(ge){if(!le.has(ge)){var be=(0,Fe.Z)(ae,ge);if(be){le.add(ge);var fe=be.parent,Le=be.node;Le.disabled||fe&&de(fe.key)}}}return(ne||[]).forEach(function(ge){de(ge)}),(0,ee.Z)(le)}},90782:function(Ft,Rt,te){"use strict";te.d(Rt,{S:function(){return re}});var ee=te(48736),ie=te(67841);function we($e,Ue){var ze=new Set;return $e.forEach(function(Ye){Ue.has(Ye)||ze.add(Ye)}),ze}function Ge($e){var Ue=$e||{},ze=Ue.disabled,Ye=Ue.disableCheckbox,pt=Ue.checkable;return!!(ze||Ye)||pt===!1}function Ce($e,Ue,ze,Ye){for(var pt=new Set($e),Te=new Set,oe=0;oe<=ze;oe+=1){var y=Ue.get(oe)||new Set;y.forEach(function(x){var z=x.key,ne=x.node,ae=x.children,le=ae===void 0?[]:ae;pt.has(z)&&!Ye(ne)&&le.filter(function(de){return!Ye(de.node)}).forEach(function(de){pt.add(de.key)})})}for(var a=new Set,b=ze;b>=0;b-=1){var E=Ue.get(b)||new Set;E.forEach(function(x){var z=x.parent,ne=x.node;if(!(Ye(ne)||!x.parent||a.has(x.parent.key))){if(Ye(x.parent.node)){a.add(z.key);return}var ae=!0,le=!1;(z.children||[]).filter(function(de){return!Ye(de.node)}).forEach(function(de){var ge=de.key,be=pt.has(ge);ae&&!be&&(ae=!1),!le&&(be||Te.has(ge))&&(le=!0)}),ae&&pt.add(z.key),le&&Te.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(pt),halfCheckedKeys:Array.from(we(Te,pt))}}function Fe($e,Ue,ze,Ye,pt){for(var Te=new Set($e),oe=new Set(Ue),y=0;y<=Ye;y+=1){var a=ze.get(y)||new Set;a.forEach(function(z){var ne=z.key,ae=z.node,le=z.children,de=le===void 0?[]:le;!Te.has(ne)&&!oe.has(ne)&&!pt(ae)&&de.filter(function(ge){return!pt(ge.node)}).forEach(function(ge){Te.delete(ge.key)})})}oe=new Set;for(var b=new Set,E=Ye;E>=0;E-=1){var x=ze.get(E)||new Set;x.forEach(function(z){var ne=z.parent,ae=z.node;if(!(pt(ae)||!z.parent||b.has(z.parent.key))){if(pt(z.parent.node)){b.add(ne.key);return}var le=!0,de=!1;(ne.children||[]).filter(function(ge){return!pt(ge.node)}).forEach(function(ge){var be=ge.key,fe=Te.has(be);le&&!fe&&(le=!1),!de&&(fe||oe.has(be))&&(de=!0)}),le||Te.delete(ne.key),de&&oe.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(Te),halfCheckedKeys:Array.from(we(oe,Te))}}function re($e,Ue,ze,Ye){var pt=[],Te;Ye?Te=Ye:Te=Ge;var oe=new Set($e.filter(function(E){var x=!!(0,ie.Z)(ze,E);return x||pt.push(E),x})),y=new Map,a=0;Object.keys(ze).forEach(function(E){var x=ze[E],z=x.level,ne=y.get(z);ne||(ne=new Set,y.set(z,ne)),ne.add(x),a=Math.max(a,z)}),(0,ee.ZP)(!pt.length,"Tree missing follow keys: ".concat(pt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return Ue===!0?b=Ce(oe,y,a,Te):b=Fe(oe,Ue.halfCheckedKeys,y,a,Te),b}},67841:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return ee}});function ee(ie,we){return ie[we]}},71430:function(Ft,Rt,te){"use strict";te.d(Rt,{F:function(){return z},H8:function(){return x},I8:function(){return E},km:function(){return pt},oH:function(){return a},w$:function(){return Te},zn:function(){return y}});var ee=te(39559),ie=te(26407),we=te(33708),Ge=te(37061),Ce=te(11592),Fe=te(2738),re=te(48736),$e=te(67841),Ue=["children"];function ze(ne,ae){return"".concat(ne,"-").concat(ae)}function Ye(ne){return ne&&ne.type&&ne.type.isTreeNode}function pt(ne,ae){return ne!=null?ne:ae}function Te(ne){var ae=ne||{},le=ae.title,de=ae._title,ge=ae.key,be=ae.children,fe=le||"title";return{title:fe,_title:de||[fe],key:ge||"key",children:be||"children"}}function oe(ne,ae){var le=new Map;function de(ge){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ge||[]).forEach(function(fe){var Le=fe[ae.key],ue=fe[ae.children];warning(Le!=null,"Tree node must have a certain key: [".concat(be).concat(Le,"]"));var ot=String(Le);warning(!le.has(ot)||Le===null||Le===void 0,"Same 'key' exist in the Tree: ".concat(ot)),le.set(ot,!0),de(ue,"".concat(be).concat(ot," > "))})}de(ne)}function y(ne){function ae(le){var de=(0,Ce.Z)(le);return de.map(function(ge){if(!Ye(ge))return(0,re.ZP)(!ge,"Tree/TreeNode can only accept TreeNode as children."),null;var be=ge.key,fe=ge.props,Le=fe.children,ue=(0,Ge.Z)(fe,Ue),ot=(0,we.Z)({key:be},ue),De=ae(Le);return De.length&&(ot.children=De),ot}).filter(function(ge){return ge})}return ae(ne)}function a(ne,ae,le){var de=Te(le),ge=de._title,be=de.key,fe=de.children,Le=new Set(ae===!0?[]:ae),ue=[];function ot(De){var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return De.map(function(ye,ke){for(var qe=ze(Je?Je.pos:"0",ke),Xe=pt(ye[be],qe),Ve,kt=0;kt<ge.length;kt+=1){var _e=ge[kt];if(ye[_e]!==void 0){Ve=ye[_e];break}}var Ot=(0,we.Z)((0,we.Z)({},(0,Fe.Z)(ye,[].concat((0,ie.Z)(ge),[be,fe]))),{},{title:Ve,key:Xe,parent:Je,pos:qe,children:null,data:ye,isStart:[].concat((0,ie.Z)(Je?Je.isStart:[]),[ke===0]),isEnd:[].concat((0,ie.Z)(Je?Je.isEnd:[]),[ke===De.length-1])});return ue.push(Ot),ae===!0||Le.has(Xe)?Ot.children=ot(ye[fe]||[],Ot):Ot.children=[],Ot})}return ot(ne),ue}function b(ne,ae,le){var de={};(0,ee.Z)(le)==="object"?de=le:de={externalGetKey:le},de=de||{};var ge=de,be=ge.childrenPropName,fe=ge.externalGetKey,Le=ge.fieldNames,ue=Te(Le),ot=ue.key,De=ue.children,Je=be||De,ye;fe?typeof fe=="string"?ye=function(Xe){return Xe[fe]}:typeof fe=="function"&&(ye=function(Xe){return fe(Xe)}):ye=function(Xe,Ve){return pt(Xe[ot],Ve)};function ke(qe,Xe,Ve,kt){var _e=qe?qe[Je]:ne,Ot=qe?ze(Ve.pos,Xe):"0",en=qe?[].concat((0,ie.Z)(kt),[qe]):[];if(qe){var Me=ye(qe,Ot),Ze={node:qe,index:Xe,pos:Ot,key:Me,parentPos:Ve.node?Ve.pos:null,level:Ve.level+1,nodes:en};ae(Ze)}_e&&_e.forEach(function(yt,Ut){ke(yt,Ut,{node:qe,pos:Ot,level:Ve?Ve.level+1:-1},en)})}ke(null)}function E(ne){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=ae.initWrapper,de=ae.processEntity,ge=ae.onProcessFinished,be=ae.externalGetKey,fe=ae.childrenPropName,Le=ae.fieldNames,ue=arguments.length>2?arguments[2]:void 0,ot=be||ue,De={},Je={},ye={posEntities:De,keyEntities:Je};return le&&(ye=le(ye)||ye),b(ne,function(ke){var qe=ke.node,Xe=ke.index,Ve=ke.pos,kt=ke.key,_e=ke.parentPos,Ot=ke.level,en=ke.nodes,Me={node:qe,nodes:en,index:Xe,key:kt,pos:Ve,level:Ot},Ze=pt(kt,Ve);De[Ve]=Me,Je[Ze]=Me,Me.parent=De[_e],Me.parent&&(Me.parent.children=Me.parent.children||[],Me.parent.children.push(Me)),de&&de(Me,ye)},{externalGetKey:ot,childrenPropName:fe,fieldNames:Le}),ge&&ge(ye),ye}function x(ne,ae){var le=ae.expandedKeys,de=ae.selectedKeys,ge=ae.loadedKeys,be=ae.loadingKeys,fe=ae.checkedKeys,Le=ae.halfCheckedKeys,ue=ae.dragOverNodeKey,ot=ae.dropPosition,De=ae.keyEntities,Je=(0,$e.Z)(De,ne),ye={eventKey:ne,expanded:le.indexOf(ne)!==-1,selected:de.indexOf(ne)!==-1,loaded:ge.indexOf(ne)!==-1,loading:be.indexOf(ne)!==-1,checked:fe.indexOf(ne)!==-1,halfChecked:Le.indexOf(ne)!==-1,pos:String(Je?Je.pos:""),dragOver:ue===ne&&ot===0,dragOverGapTop:ue===ne&&ot===-1,dragOverGapBottom:ue===ne&&ot===1};return ye}function z(ne){var ae=ne.data,le=ne.expanded,de=ne.selected,ge=ne.checked,be=ne.loaded,fe=ne.loading,Le=ne.halfChecked,ue=ne.dragOver,ot=ne.dragOverGapTop,De=ne.dragOverGapBottom,Je=ne.pos,ye=ne.active,ke=ne.eventKey,qe=(0,we.Z)((0,we.Z)({},ae),{},{expanded:le,selected:de,checked:ge,loaded:be,loading:fe,halfChecked:Le,dragOver:ue,dragOverGapTop:ot,dragOverGapBottom:De,pos:Je,active:ye,key:ke});return"props"in qe||Object.defineProperty(qe,"props",{get:function(){return(0,re.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),qe}},8224:function(Ft,Rt,te){"use strict";te.d(Rt,{Z:function(){return ie}});var ee=te(4676);function ie(we,Ge,Ce,Fe){var re=ee.unstable_batchedUpdates?function(Ue){ee.unstable_batchedUpdates(Ce,Ue)}:Ce;return we!=null&&we.addEventListener&&we.addEventListener(Ge,re,Fe),{remove:function(){we!=null&&we.removeEventListener&&we.removeEventListener(Ge,re,Fe)}}}},55468:function(Ft,Rt,te){"use strict";te.d(Rt,{g1:function(){return Ye},os:function(){return Te}});var ee=/margin|padding|width|height|max|min|offset/,ie={left:!0,top:!0},we={cssFloat:1,styleFloat:1,float:1};function Ge(oe){return oe.nodeType===1?oe.ownerDocument.defaultView.getComputedStyle(oe,null):{}}function Ce(oe,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return oe.offsetHeight;if(y==="width")return oe.offsetWidth}return y in ie||(ie[y]=ee.test(y)),ie[y]?parseFloat(a)||0:a}function Fe(oe,y){var a=arguments.length,b=Ge(oe);return y=we[y]?"cssFloat"in oe.style?"cssFloat":"styleFloat":y,a===1?b:Ce(oe,y,b[y]||oe.style[y])}function re(oe,y,a){var b=arguments.length;if(y=we[y]?"cssFloat"in oe.style?"cssFloat":"styleFloat":y,b===3)return typeof a=="number"&&ee.test(y)&&(a="".concat(a,"px")),oe.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&re(oe,E,y[E]);return Ge(oe)}function $e(oe){return oe===document.body?document.documentElement.clientWidth:oe.offsetWidth}function Ue(oe){return oe===document.body?window.innerHeight||document.documentElement.clientHeight:oe.offsetHeight}function ze(){var oe=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:oe,height:y}}function Ye(){var oe=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:oe,height:y}}function pt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Te(oe){var y=oe.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(Ft,Rt,te){"use strict";te.d(Rt,{G:function(){return Ge}});var ee=te(47273),ie=function(Fe){if((0,ee.Z)()&&window.document.documentElement){var re=Array.isArray(Fe)?Fe:[Fe],$e=window.document.documentElement;return re.some(function(Ue){return Ue in $e.style})}return!1},we=function(Fe,re){if(!ie(Fe))return!1;var $e=document.createElement("div"),Ue=$e.style[Fe];return $e.style[Fe]=re,$e.style[Fe]!==Ue};function Ge(Ce,Fe){return!Array.isArray(Ce)&&Fe!==void 0?we(Ce,Fe):ie(Ce)}},73631:function(Ft){"use strict";Ft.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XN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