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
976 KiB
251 lines
976 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[1953],{89489:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},59477:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},26227:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},49198:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},41464:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},87169:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},52671:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},8657:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},56082:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},33853:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},12893:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},15075:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},32134:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},43531:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},38819:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return $e}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ze,_e){return le.createElement(Ce.Z,(0,ee.Z)({},ze,{ref:_e,icon:Ge}))},re=le.forwardRef(Fe),$e=re},99587:function(Bt,Tt){"use strict";Tt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},8423:function(Bt,Tt){"use strict";Tt.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"}},63720:function(){"use strict";function Bt(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(Bt.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(Bt.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(Bt.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(Bt.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 Bt))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 Tt=[];function te(oe,y){var a=Tt.pop();return a===void 0?new go.Point(oe,y):(a.x=oe,a.y=y,a)}function ee(){var oe=Tt.pop();return oe===void 0?new go.Point:oe}function le(oe){Tt.push(oe)}function Be(oe,y,a,b,E,x,z,ne,ae){ae||(ae=new go.Point);var ie=oe-a,de=E-z,ge=NaN,xe=NaN;if(ie===0)if(de===0)oe===a&&(ge=oe,xe=y);else{var pe=(x-ne)/de,we=x-pe*E;ge=oe,xe=pe*ge+we}else if(de===0){var ue=(y-b)/ie,nt=y-ue*oe;ge=E,xe=ue*ge+nt}else{var ue=(y-b)/ie,pe=(x-ne)/de,nt=y-ue*oe,we=x-pe*E;ge=(we-nt)/(ue-pe),xe=ue*ge+nt}return ae.x=ge,ae.y=xe,ae}function Ge(oe,y,a,b,E,x,z,ne,ae,ie,de,ge,xe,pe){var we=1-ae,ue=ae,nt=oe*we+a*ue,De=y*we+b*ue,Qe=a*we+E*ue,ye=b*we+x*ue,ke=E*we+z*ue,qe=x*we+ne*ue,Xe=nt*we+Qe*ue,Ve=De*we+ye*ue,kt=Qe*we+ke*ue,st=ye*we+qe*ue,Nt=Xe*we+kt*ue,Zt=Ve*we+st*ue;ie.x=nt,ie.y=De,de.x=Xe,de.y=Ve,ge.x=Nt,ge.y=Zt,xe.x=kt,xe.y=st,pe.x=ke,pe.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 Bt("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 Bt("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 Bt("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 Bt("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 Bt("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 Bt("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 _e(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 vt(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=_e(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],ie=y[(b+z-1)%E],de=y[(b+z+x)%E];a[z*2]=ne,a[z*2+1]=Be(ne.x,ne.y,ie.x,ie.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=_e(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=_e(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=_e(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=_e(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=_e(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=_e(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=_e(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=vt(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=vt(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=vt(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=vt(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=vt(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=vt(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 Bt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Bt("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 Bt("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 Bt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Bt("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 Bt("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 Bt("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 Bt("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),ie=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,ie)),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,y,a-ie)),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-ie)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Bt("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 Bt("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 Bt("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 ie=ee(),de=ee(),ge=ee(),xe=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.42,ie,de,ge,xe,xe);var pe=ee(),we=ee(),ue=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.58,xe,xe,ue,pe,we);var nt=ee(),De=ee(),Qe=ee();Ge(z,ne+x,z-E,ne+x,z-x,ne+E,z-x,ne,.42,nt,De,Qe,xe,xe);var ye=ee(),ke=ee(),qe=ee();return Ge(z,ne+x,z-E,ne+x,z-x,ne+E,z-x,ne,.58,xe,xe,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,ie.x*y,ie.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,Qe.x*y,Qe.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,pe.x*y,pe.y*a,we.x*y,we.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,Qe.x*y,Qe.y*a,nt.x*y,nt.y*a,De.x*y,De.y*a).close()),le(ie),le(de),le(ge),le(xe),le(pe),le(we),le(ue),le(nt),le(De),le(Qe),le(ye),le(ke),le(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 Bt("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(),ie=ee(),de=ee(),ge=ee(),xe=new go.PathFigure((z-x)*y,ne*a,!1);b.add(xe),xe.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,ie,ae,ae),xe.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*y,ie.y*a,de.x*y,de.y*a,ge.x*y,ge.y*a));var pe=te(ie.x,ie.y);Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.56,ae,ae,ie,de,ge);var we=te(ie.x,ie.y);xe.add(new go.PathSegment(go.PathSegment.Line,(pe.x*.1+.95*.9)*y,pe.y*.1*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*y,pe.y*.1*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),xe.add(new go.PathSegment(go.PathSegment.Line,y,0)),xe.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*y,.15*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(we.x*.1+.9)*y,(we.y*.1+.05*.9)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,we.x*y,we.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,de.x*y,de.y*a,ge.x*y,ge.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),xe.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 nt=new go.PathFigure((z-x)*y,ne*a,!1);return b.add(nt),le(ae),le(ie),le(de),le(ge),le(pe),le(we),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 Bt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Bt("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,ie=new go.PathFigure(0,z,!0);ae.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,x,z)),ie.add(new go.PathSegment(go.PathSegment.Line,x,0)),ie.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,x,a)),ie.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ae.spot1=new go.Spot(0,z/a);var de=Be(0,ne/a,1,ne/a,x/y,1,1,.5,ee());return ae.spot2=new go.Spot(de.x,de.y),le(de),ae}),go.Shape.setFigureParameter("Arrow2",0,new Bt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Bt("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,ie=new go.PathFigure(0,z,!0);ae.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,x,z)),ie.add(new go.PathSegment(go.PathSegment.Line,x,0)),ie.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,x,a)),ie.add(new go.PathSegment(go.PathSegment.Line,x,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ae.spot1=new go.Spot(0,z/a);var de=Be(0,ne/a,1,ne/a,x/y,1,1,.5,ee());return ae.spot2=new go.Spot(de.x,de.y),le(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 Bt("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=Be(0,.5,.3,0,0,E/a,.1,E/a,ee());return z.spot1=new go.Spot(ae.x,ae.y),ae=Be(.7,1,1,.5,0,x/a,1,x/a,ae),z.spot2=new go.Spot(ae.x,ae.y),le(ae),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Bt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Bt("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 ie=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);ie.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=Be(0,.5,.3,ne/a,0,x/a,1,x/a,ee());return ie.spot1=new go.Spot(ge.x,ge.y),ge=Be(.7,ae/a,1,.5,0,z/a,1,z/a,ge),ie.spot2=new go.Spot(ge.x,ge.y),le(ge),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new Bt("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=Be(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),le(ae),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new Bt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Bt("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 ie=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);ie.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()),ie.spot1=new go.Spot(0,x/a);var ge=Be(.7,ae/a,1,.5,0,z/a,1,z/a,ee());return ie.spot2=new go.Spot(ge.x,ge.y),le(ge),ie}),go.Shape.setFigureParameter("Pointer",0,new Bt("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=Be(.2,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),le(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Bt("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=Be(0,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),le(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Bt("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=Be(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),le(ae),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Bt("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=Be(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(ae.x,ae.y),le(ae),z}),go.Shape.setFigureParameter("SquareArrow",0,new Bt("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,ie=.1,de=new go.PathFigure(ae*y,(ie+x)*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-E)*y,ie*a,(ae-z)*y,(ie+x)*a,(ae-E)*y,(ie+ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-x)*a,(ae-E)*y,(ie-ne)*a,(ae-z)*y,(ie-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+E)*y,ie*a,(ae+z)*y,(ie-x)*a,(ae+E)*y,(ie-ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie+x)*a,(ae+E)*y,(ie+ne)*a,(ae+z)*y,(ie+x)*a));var ge=.05,xe=re*ge;ae=.05,ie=.25;var pe=new go.PathFigure(.5*y,.2*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ae=.95,ie=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ge)*y,ie*a,(ae+xe)*y,(ie-ge)*a,(ae+ge)*y,(ie-xe)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ge=.025,xe=re*ge,ae=.825,ie=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-ge)*a,(ae+ge)*y,(ie-xe)*a,(ae+xe)*y,(ie-ge)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ge)*y,ie*a,(ae-xe)*y,(ie-ge)*a,(ae-ge)*y,(ie-xe)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ge=.05,xe=re*ge,ae=.5,ie=.7,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-ge)*a,(ae+ge)*y,(ie-xe)*a,(ae+xe)*y,(ie-ge)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ge)*y,ie*a,(ae-xe)*y,(ie-ge)*a,(ae-ge)*y,(ie-xe)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ge=.025,xe=re*ge,ae=.175,ie=.35,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-ge)*a,(ae+ge)*y,(ie-xe)*a,(ae+xe)*y,(ie-ge)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ge)*y,ie*a,(ae-xe)*y,(ie-ge)*a,(ae-ge)*y,(ie-xe)*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ge=.05,xe=re*ge,ae=.05,ie=.25,pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-ge)*a,(ae-ge)*y,(ie-xe)*a,(ae-xe)*y,(ie-ge)*a)),pe.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 Bt("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 ie=new go.PathFigure((x+E)*y,(x+E)*a,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),ie.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+E)*a)),ie.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 ie=new go.PathFigure((z+x)*y,ne*a,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-E)*y,(ne+x)*a,(z-x)*y,(ne+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-E)*a,(z-E)*y,(ne-x)*a)),ie.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,ie=.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,ie*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie+ne)*a,(ae+ne)*y,(ie+z)*a,(ae+z)*y,(ie+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y,ie*a,(ae-z)*y,(ie+ne)*a,(ae-ne)*y,(ie+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-ne)*a,(ae-ne)*y,(ie-z)*a,(ae-z)*y,(ie-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y,ie*a,(ae+z)*y,(ie-ne)*a,(ae+ne)*y,(ie-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 ie=new go.PathFigure((z-E)*y,ne*a,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ie.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 ie=new go.PathFigure(.8*y,.5*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ie.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 ie=new go.PathFigure(.2*y,0,!0);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ne-E)*a,.9*y,(ne-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ie.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,ie=.5,de=(E-y)/2,ge=(x-a)/2,xe=new go.PathFigure(ae*y+de,(ie+ne)*a+ge,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+de,ie*a+ge,(ae-z)*y+de,(ie+ne)*a+ge,(ae-ne)*y+de,(ie+z)*a+ge)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie-ne)*a+ge,(ae-ne)*y+de,(ie-z)*a+ge,(ae-z)*y+de,(ie-ne)*a+ge)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+z*.5)*y+de,ie*a+ge,ae*y+de,(ie-ne)*a+ge,(ae-ne+z*.5)*y+de,(ie-z)*a+ge)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie+ne)*a+ge,(ae-ne+z*.5)*y+de,(ie+z)*a+ge,ae*y+de,(ie+ne)*a+ge).close()),z=re*.4,ne=.4,ae=.2,ie=.5;var pe=new go.PathFigure(ae*y+de,(ie+ne)*a+ge,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+de,ie*a+ge,(ae-z)*y+de,(ie+ne)*a+ge,(ae-ne)*y+de,(ie+z)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie-ne)*a+ge,(ae-ne)*y+de,(ie-z)*a+ge,(ae-z)*y+de,(ie-ne)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne+z*.5)*y+de,ie*a+ge,ae*y+de,(ie-ne)*a+ge,(ae-ne+z*.5)*y+de,(ie-z)*a+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie+ne)*a+ge,(ae-ne+z*.5)*y+de,(ie+z)*a+ge,ae*y+de,(ie+ne)*a+ge).close()),z=re*.2,ne=.2,ae=.5,ie=.5;var we=new go.PathFigure((ae-ne)*y+de,ie*a+ge,!0);b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie-ne)*a+ge,(ae-ne)*y+de,(ie-z)*a+ge,(ae-z)*y+de,(ie-ne)*a+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+de,ie*a+ge,(ae+z)*y+de,(ie-ne)*a+ge,(ae+ne)*y+de,(ie-z)*a+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie+ne)*a+ge,(ae+ne)*y+de,(ie+z)*a+ge,(ae+z)*y+de,(ie+ne)*a+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ne)*y+de,ie*a+ge,(ae-z)*y+de,(ie+ne)*a+ge,(ae-ne)*y+de,(ie+z)*a+ge)),z=re*.4,ne=.4,ae=.8,ie=.5;var ue=new go.PathFigure(ae*y+de,(ie-ne)*a+ge,!0);b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+de,ie*a+ge,(ae+z)*y+de,(ie-ne)*a+ge,(ae+ne)*y+de,(ie-z)*a+ge)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie+ne)*a+ge,(ae+ne)*y+de,(ie+z)*a+ge,(ae+z)*y+de,(ie+ne)*a+ge)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-z*.5)*y+de,ie*a+ge,ae*y+de,(ie+ne)*a+ge,(ae+ne-z*.5)*y+de,(ie+z)*a+ge)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie-ne)*a+ge,(ae+ne-z*.5)*y+de,(ie-z)*a+ge,ae*y+de,(ie-ne)*a+ge).close()),z=re*.8,ne=.8,ae=1,ie=.5;var nt=new go.PathFigure(ae*y+de,(ie-ne)*a+ge,!0);return b.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne)*y+de,ie*a+ge,(ae+z)*y+de,(ie-ne)*a+ge,(ae+ne)*y+de,(ie-z)*a+ge)),nt.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie+ne)*a+ge,(ae+ne)*y+de,(ie+z)*a+ge,(ae+z)*y+de,(ie+ne)*a+ge)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ne-z*.5)*y+de,ie*a+ge,ae*y+de,(ie+ne)*a+ge,(ae+ne-z*.5)*y+de,(ie+z)*a+ge)),nt.add(new go.PathSegment(go.PathSegment.Bezier,ae*y+de,(ie-ne)*a+ge,(ae+ne-z*.5)*y+de,(ie-z)*a+ge,ae*y+de,(ie-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(),ie=ee(),de=ee(),ge=ee();Ge(z,ne-x,z+E,ne-x,z+x,ne-E,z+x,ne,.5,ae,ae,ie,de,ge);var xe=te(ie.x,ie.y),pe=new go.PathFigure(ie.x*y,ie.y*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,de.x*y,de.y*a,ge.x*y,ge.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+E)*a,(z+E)*y,(ne+x)*a)),pe.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,ie,ae,ae),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*y,ie.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,ie,ae,ae),pe.add(new go.PathSegment(go.PathSegment.Line,ie.x*y,ie.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,ge.x*y,ge.y*a,de.x*y,de.y*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+E)*a,(z-E)*y,(ne+x)*a)),pe.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,ie,de,ge),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*y,ie.y*a,ge.x*y,ge.y*a,de.x*y,de.y*a).close());var pe=new go.PathFigure(.45*y,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),le(ae),le(ie),le(de),le(ge),le(xe),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,ie=.5-.5*Math.SQRT2/2,de=1,ge=.5,xe=.5,pe=0,we=new go.PathFigure(ae*y,(1-ie)*a,!1);return b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,de*y,ge*a,de*y,.7*a,de*y,ge*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(xe+x)*y,(pe+x)*a,(.5+E+x)*y,(.5-ne+x)*a,(.5+ne+x)*y,(.5-E+x)*a)),we.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)),we.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)),we.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),we.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),we.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,ie=Math.PI/4,de=4*(1-Math.cos(ie))/(3*Math.sin(ie)),ge=de*.5,xe=z,pe=z,we=de*xe,ue=de*pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-xe)*y,ae*a,(ne-(we+xe)/2)*y,(ae+(pe+ue)/2)*a,(ne-xe)*y,(ae+ue)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-pe)*a,(ne-xe)*y,(ae-ue)*a,(ne-we)*y,(ae-pe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+xe)*y,ae*a,(ne+we)*y,(ae-pe)*a,(ne+xe)*y,(ae-ue)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+xe)*y,(ae+ue)*a,(ne+(we+xe)/2)*y,(ae+(pe+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 nt=new go.PathFigure(.2*y,a,!1);b.add(nt),nt.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,ie=.9,de=new go.PathFigure((ae-z)*y,ie*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-z)*a,(ae-z)*y,(ie-ne)*a,(ae-ne)*y,(ie-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,ie*a,(ae+ne)*y,(ie-z)*a,(ae+z)*y,(ie-ne)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie+z)*a,(ae+z)*y,(ie+ne)*a,(ae+ne)*y,(ie+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,ie*a,(ae-ne)*y,(ie+z)*a,(ae-z)*y,(ie+ne)*a).close()),z=.1,ne=re*.1,ae=.8,ie=.9;var ge=new go.PathFigure((ae-z)*y,ie*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-z)*a,(ae-z)*y,(ie-ne)*a,(ae-ne)*y,(ie-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae+z)*y,ie*a,(ae+ne)*y,(ie-z)*a,(ae+z)*y,(ie-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie+z)*a,(ae+z)*y,(ie+ne)*a,(ae+ne)*y,(ie+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ae-z)*y,ie*a,(ae-ne)*y,(ie+z)*a,(ae-z)*y,(ie+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,ie=re*.1,de=.1,ge=.9,xe=new go.PathFigure((de-ae)*y,ge*a,!0);b.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge-ae)*a,(de-ae)*y,(ge-ie)*a,(de-ie)*y,(ge-ae)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y,ge*a,(de+ie)*y,(ge-ae)*a,(de+ae)*y,(ge-ie)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge+ae)*a,(de+ae)*y,(ge+ie)*a,(de+ie)*y,(ge+ae)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y,ge*a,(de-ie)*y,(ge+ae)*a,(de-ae)*y,(ge+ie)*a)),ae=.1,ie=re*.1,de=.4,ge=.9;var pe=new go.PathFigure((de-ae)*y,ge*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge-ae)*a,(de-ae)*y,(ge-ie)*a,(de-ie)*y,(ge-ae)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ae)*y,ge*a,(de+ie)*y,(ge-ae)*a,(de+ae)*y,(ge-ie)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ge+ae)*a,(de+ae)*y,(ge+ie)*a,(de+ie)*y,(ge+ae)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ae)*y,ge*a,(de-ie)*y,(ge+ae)*a,(de-ae)*y,(ge+ie)*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,xe=.175,pe=.95,ne=new go.PathFigure((xe-de)*y,pe*a,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe-de)*a,(xe-de)*y,(pe-ge)*a,(xe-ge)*y,(pe-de)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe+de)*y,pe*a,(xe+ge)*y,(pe-de)*a,(xe+de)*y,(pe-ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe+de)*a,(xe+de)*y,(pe+ge)*a,(xe+ge)*y,(pe+de)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe-de)*y,pe*a,(xe-ge)*y,(pe+de)*a,(xe-de)*y,(pe+ge)*a));var de=.05,ge=re*.05,xe=.375,pe=.95,ae=new go.PathFigure((xe-de)*y,pe*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe-de)*a,(xe-de)*y,(pe-ge)*a,(xe-ge)*y,(pe-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(xe+de)*y,pe*a,(xe+ge)*y,(pe-de)*a,(xe+de)*y,(pe-ge)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe+de)*a,(xe+de)*y,(pe+ge)*a,(xe+ge)*y,(pe+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(xe-de)*y,pe*a,(xe-ge)*y,(pe+de)*a,(xe-de)*y,(pe+ge)*a));var de=.05,ge=re*.05,xe=.625,pe=.95,ie=new go.PathFigure((xe-de)*y,pe*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe-de)*a,(xe-de)*y,(pe-ge)*a,(xe-ge)*y,(pe-de)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(xe+de)*y,pe*a,(xe+ge)*y,(pe-de)*a,(xe+de)*y,(pe-ge)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe+de)*a,(xe+de)*y,(pe+ge)*a,(xe+ge)*y,(pe+de)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(xe-de)*y,pe*a,(xe-ge)*y,(pe+de)*a,(xe-de)*y,(pe+ge)*a));var de=.05,ge=re*.05,xe=.825,pe=.95,we=new go.PathFigure((xe-de)*y,pe*a,!0);b.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe-de)*a,(xe-de)*y,(pe-ge)*a,(xe-ge)*y,(pe-de)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(xe+de)*y,pe*a,(xe+ge)*y,(pe-de)*a,(xe+de)*y,(pe-ge)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(pe+de)*a,(xe+de)*y,(pe+ge)*a,(xe+ge)*y,(pe+de)*a)),we.add(new go.PathSegment(go.PathSegment.Bezier,(xe-de)*y,pe*a,(xe-ge)*y,(pe+de)*a,(xe-de)*y,(pe+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,ie=.35,de=.775,ge=new go.PathFigure((ie-ne)*y,de*a,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-ne)*a,(ie-ne)*y,(de-ae)*a,(ie-ae)*y,(de-ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,de*a,(ie+ae)*y,(de-ne)*a,(ie+ne)*y,(de-ae)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de+ne)*a,(ie+ne)*y,(de+ae)*a,(ie+ae)*y,(de+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,de*a,(ie-ae)*y,(de+ne)*a,(ie-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 ie=new go.PathFigure(0,.7*a,!1);return b.add(ie),ie.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 ie=new go.PathFigure(.15*y,.5*a,!1);return b.add(ie),ie.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 ie=new go.PathFigure((z-E)*y,ne*a,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-E)*a,(z-E)*y,(ne-x)*a,(z-x)*y,(ne-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ne*a,(z+x)*y,(ne-E)*a,(z+E)*y,(ne-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+E)*a,(z+E)*y,(ne+x)*a,(z+x)*y,(ne+E)*a)),ie.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()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ie.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 ie=new go.PathFigure(y*.78,a*.05,!1);return b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ie.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")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Bt={},Tt="5.0",te={},ee=null,le=!1,Be=!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":Tt=Ue.toFixed(1);break;case"string":Ue.match(new RegExp("^[0-9]\\.[0-9]+$"))?Tt=Ue:Ge=Ue;break;case"object":typeof Ue.is3D!="undefined"?ee=Ue:te=Ue;break;case"boolean":le=Ue,Be=!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&&!Be&&(le=!0)),Ge!==null&&te.id===void 0&&(te.id=Ge);var ze="",_e="",vt=!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};Bt.setHTML5Codebase=function(Me,Ze){re=Me,st(Me,Ze)},Bt.setJavaCodebase=Bt.setJavaCodebaseVersion=Bt.isCompiledInstalled=Bt.setPreCompiledScriptPath=Bt.setPreCompiledResourcePath=function(){},Bt.setHTML5CodebaseVersion=function(Me,Ze){var Et=parseFloat(Me);if(Et!==NaN&&Et<5){console.log("The GeoGebra HTML5 codebase version "+Et+" is deprecated. Using version latest instead.");return}Fe=Me,kt(Me,Ze)},Bt.getHTML5CodebaseVersion=function(){return oe},Bt.getParameters=function(){return te},Bt.setFontsCSSURL=function(Me){z=Me},Bt.setGiacJSURL=function(Me){},Bt.setJNLPFile=function(Me){ze=Me},Bt.setJNLPBaseDir=function(Me){},Bt.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ze="auto",Et=te.id,Gt,pt=!1,Kt=0;Kt<arguments.length;Kt++){var Le=arguments[Kt];typeof Le=="string"?(Le=Le.toLowerCase(),Le.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ze=Le:Et=arguments[Kt]):typeof Le=="boolean"?pt=Le:Le instanceof HTMLElement&&(Gt=Le)}Qt();function Qt(){if(!Ce){setTimeout(Qt,200);return}Ze=Xe(Ze);var Pn=Gt||document.getElementById(Et);if(!Pn){console.log("possibly bug on ajax loading? ");return}if(Bt.removeExistingApplet(Pn,!1),te.width===void 0&&Pn.clientWidth&&(te.width=Pn.clientWidth),te.height===void 0&&Pn.clientHeight&&(te.height=Pn.clientHeight),!(te.width&&te.height)&&Ze==="html5"&&(delete te.width,delete te.height),Te=Ze,Ze==="screenshot")De(Pn,te);else{var St=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?St=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(St=(!ie()||Me())&&de()),St?(Te="screenshot",ye(Pn,te,pt,Ze)):nt(Pn,te,pt)}}};function ie(){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}Bt.getViews=function(){return ee},Bt.isJavaInstalled=function(){return!1};var ge=function(Me){var Ze=function(Kt){var Le=JSON.parse(Kt),Qt=function(dt){return dt.type=="G"||dt.type=="E"},Pn=Le.elements?Le.elements.filter(Qt)[0]:Le;if(!Pn||!Pn.url){Et();return}te.fileName=Pn.url,xe(Pn.settings||{}),ee.is3D=!0;var St="https://www.geogebra.org/images/";Bt.setPreviewImage(b||Pn.previewUrl,St+"GeoGebra_loading.png",St+"applet_play.png"),Me()},Et=function(){te.onError&&te.onError(),Nt("Error: Fetching material (id "+te.material_id+") failed.",te)},Gt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",pt="/materials/"+te.material_id+"?scope=basic";pe("https://"+Gt+"/api/proxy.php?path="+encodeURIComponent(pt),Ze,Et)};function xe(Me){var Ze=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Et){Me[Et]=!!Me[Et]}),Ze.forEach(function(Et){te[Et]===void 0&&Me[Et]!==void 0&&(te[Et]=Me[Et])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function pe(Me,Ze,Et){var Gt=new XMLHttpRequest;Gt.open("GET",Me),Gt.onload=function(){Ze(Gt.responseText)},Gt.onerror=Et,Gt.send()}Bt.isHTML5Installed=function(){return!0},Bt.getLoadedAppletType=function(){return Te},Bt.setPreviewImage=function(Me,Ze,Et){b=Me,E=Ze,x=Et},Bt.removeExistingApplet=function(Me,Ze){var Et;typeof Me=="string"&&(Me=document.getElementById(Me)),Te=null;var Gt=null;for(Et=0;Et<Me.childNodes.length;Et++){var pt=Me.childNodes[Et],Kt=pt.className;Kt==="applet_screenshot"?Ze?(pt.style.display="block",Te="screenshot"):pt.style.display="none":Kt!=="applet_scaler prerender"&&(Me.removeChild(pt),Gt=Kt&&Kt.indexOf("appletParameters")!=-1?pt.id:null,Et--)}var Le=te.id!==void 0?te.id:Gt,Qt=window[Le];Qt&&typeof Qt.getBase64=="function"&&(Qt.remove(),window[Le]=null)},Bt.refreshHitPoints=function(){if(ae(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Me=Bt.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},Bt.startAnimation=function(){var Me=Bt.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},Bt.stopAnimation=function(){var Me=Bt.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},Bt.getAppletObject=function(){var Me=te.id!==void 0?te.id:"ggbApplet";return window[Me]},Bt.resize=function(){};var we=function(Me,Ze,Et){var Gt=document.createElement("param");Gt.setAttribute("name",Ze),Gt.setAttribute("value",Et),Me.appendChild(Gt)},ue=function(Me){return Me&&Me!=="false"},nt=function(Me,Ze,Et){ae(oe)<=4.2&&(Et=!0);var Gt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Gt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var pt=document.createElement("div");pt.classList.add("appletParameters","notranslate");var Kt=Ze.width,Le=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,Kt=605);else{var Qt=100;(ue(Ze.showToolBar)||ue(Ze.showMenuBar))&&(Ze.hasOwnProperty("customToolBar")&&(Ze.customToolbar=Ze.customToolBar),Qt=ue(Ze.showMenuBar)?245:155),Kt<Qt&&(Ze.width=Qt,Kt=Qt)}pt.style.border="none",pt.style.display="inline-block";for(var Pn in Ze)Ze.hasOwnProperty(Pn)&&Pn!=="appletOnLoad"&&pt.setAttribute("data-param-"+Pn,Ze[Pn]);z&&pt.setAttribute("data-param-fontscssurl",z),Bt.resize=function(){GGBAppletUtils.responsiveResize(Me,Ze)},window.addEventListener("resize",function(Ee){Bt.resize()});var St=typeof Ze.appletOnLoad=="function"?Ze.appletOnLoad:function(){};if(!Et&&Ze.width!==void 0){Ze.hasOwnProperty("showSplash")||pt.setAttribute("data-param-showSplash","false");var dt=Me.querySelector(".applet_scaler.prerender"),Je=dt!==null;if(Je)var Re=dt.querySelector(".ggb_preview");else{var Re=qe(Kt,Le,Ze.borderColor,!1);dt=document.createElement("div"),dt.className="applet_scaler",dt.style.position="relative",dt.style.display="block",dt.style.width=Kt+"px",dt.style.height=Le+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(dt,"66%"),ae(oe)>=5?(Ze.appletOnLoad=function(Ee){var tt=Me.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(dt),window.GGBT_wsf_view&&$(window).trigger("resize"),St(Ee)},Je||dt.appendChild(Re)):pt.appendChild(Re),dt.appendChild(pt),Je||Me.appendChild(dt),setTimeout(function(){Bt.resize()},1)}else{var ve=document.createElement("div");ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.appendChild(pt),Me.appendChild(ve),Ze.appletOnLoad=function(Ee){Bt.resize(),St(Ee)}}function se(Ee,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ee,tt.appletOnLoad):renderGGBElement(Ee),Nt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Oe(Ee,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ee,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(_t){se(_t.article,_t.params)}),html5AppletsToProcess=null)},ae(oe)<5&&(Ee.className+=" geogebraweb")):se(Ee,tt)}if(Gt){scriptLoadStarted=!0;for(var gt=0;gt<pt.childNodes.length;gt++){var Se=pt.childNodes[gt].tagName;Se==="TABLE"&&(pt.removeChild(pt.childNodes[gt]),gt--)}if(ggbHTML5LoadedScript!==null){var he=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');he!=null&&he.parentNode.removeChild(he)}var Ye=document.createElement("script"),Ne=function(){Oe(pt,Ze)};Ye.src=_e+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=oe,ggbHTML5LoadedScript=Ye.src,Nt("GeoGebra HTML5 codebase loaded: '"+_e+"'.",Ze),!re&&(!Fe||Fe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Ne()):_e.requirejs?__webpack_require__.e(7963).then(function(){var Ee=[__webpack_require__(87963)];Ne.apply(null,Ee)}.bind(this)).catch(__webpack_require__.oe):(Ye.onload=Ne,Me.appendChild(Ye))}else Oe(pt,Ze);Ze.height=Le,Ze.width=Kt},De=function(Me,Ze,Et){var Gt=qe(Ze.width,Ze.height,Ze.borderColor,Et),pt=document.createElement("div");pt.style.position="relative",pt.style.display="block",pt.style.width=Ze.width+"px",pt.style.height=Ze.height+"px",pt.className="applet_screenshot applet_scaler"+(Et?" applet_screenshot_play":""),pt.appendChild(Gt);var Kt=GGBAppletUtils.getScale(Ze,Me,Et);Et?(Me.appendChild(ke()),window.GGBT_wsf_view||(Me.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(pt,"66%"),Me.appendChild(pt),Kt!==1&&!isNaN(Kt)&&(GGBAppletUtils.scaleElement(pt,Kt),pt.style.width=Ze.width+"px",pt.style.height=Ze.height+"px",pt.parentNode.style.width=Ze.width*Kt+"px",pt.parentNode.style.height=Ze.height*Kt+"px"),Bt.resize=function(){Qe(Me,Gt,pt,Et)},window.addEventListener("resize",function(Le){Bt.resize()}),Bt.resize()};function Qe(Me,Ze,Et,Gt){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 pt=GGBAppletUtils.getScale(te,Me,Gt);Et.parentNode!==null&&(!isNaN(pt)&&pt!==1?(GGBAppletUtils.scaleElement(Et,pt),Et.parentNode.style.width=te.width*pt+"px",Et.parentNode.style.height=te.height*pt+"px"):(GGBAppletUtils.scaleElement(Et,1),Et.parentNode.style.width=te.width+"px",Et.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Me),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Bt.onExitFullscreen=function(Me,Ze){Ze.appendChild(Me)};var ye=function(Me,Ze,Et,Gt){De(Me,Ze,!0);for(var pt=function(){var Qt=[];for(Le=0;Le<Me.childNodes.length;Le++)Qt.push(Me.childNodes[Le]);if(window.GGBT_wsf_view){var Pn=window.GGBT_wsf_view.renderFullScreen(Me,Ze.id),St=document.getElementById("fullscreencontainer"),dt=jQuery(Me).find(".fullscreencontent");dt.length>0?(Pn.remove(),dt.attr("id","fullscreencontent").show(),jQuery(St).append(dt),window.dispatchEvent(new Event("resize"))):nt(Pn,Ze,!1),window.GGBT_wsf_view.launchFullScreen(St)}else Te=Gt,nt(Me,Ze,!1);if(!window.GGBT_wsf_view)for(Le=0;Le<Qt.length;Le++)Me.removeChild(Qt[Le])},Kt=Me.getElementsByClassName("ggb_preview_play"),Le=0;Le<Kt.length;Le++)Kt[Le].addEventListener("click",pt,!1),Kt[Le].addEventListener("ontouchstart",pt,!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");}',Et=document.createElement("style");Et.styleSheet?Et.styleSheet.cssText=Ze:Et.appendChild(document.createTextNode(Ze)),document.getElementsByTagName("head")[0].appendChild(Et)}return Me},qe=function(Me,Ze,Et,Gt){var pt=document.createElement("div");pt.className="ggb_preview",pt.style.position="absolute",pt.style.zIndex="90",pt.style.width=Me-2+"px",pt.style.height=Ze-2+"px",pt.style.top="0px",pt.style.left="0px",pt.style.overflow="hidden",pt.style.backgroundColor="white";var Kt="lightgrey";Et!==void 0&&(Et==="none"?Kt="transparent":Kt=Et),pt.style.border="1px solid "+Kt;var Le=document.createElement("img");if(Le.style.position="relative",Le.style.zIndex="1000",Le.style.top="-1px",Le.style.left="-1px",b!==null&&Le.setAttribute("src",b),Le.style.opacity=.7,E!==null){var Qt,Pn,St;if(!Gt){Qt=document.createElement("img"),Qt.style.position="absolute",Qt.style.zIndex="1001",Qt.style.opacity=1,Le.style.opacity=.3,Pn=360,Pn>Me/4*3&&(Pn=Me/4*3),St=Pn/5.8,Qt.setAttribute("src",E),Qt.setAttribute("width",Pn),Qt.setAttribute("height",St);var dt=(Me-Pn)/2,Je=(Ze-St)/2;Qt.style.left=dt+"px",Qt.style.top=Je+"px",pt.appendChild(Qt)}}return pt.appendChild(Le),pt},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){st(oe,!0);return}var Et=!le;if(Et){var Gt=ae(oe);!isNaN(Gt)&&Gt<4.4&&(Et=!1)}var pt,Kt;window.location.protocol.substr(0,4)==="http"?pt=window.location.protocol:pt="http:";var Le=oe.indexOf("//");Le>0?Kt=oe:Le===0?Kt=pt+oe:Kt="https://www.geogebra.org/apps/5.2.814.0/";for(var Qt in Ve)if(oe.slice(Ve[Qt].length*-1)===Ve[Qt]||oe.slice((Ve[Qt].length+1)*-1)===Ve[Qt]+"/"){st(Kt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Et&&!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")?Kt+="webSimple/":Kt+="web3d/",st(Kt,!1)},st=function(Me,Ze){if(Me.requirejs){_e=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),_e=Me,Ze===null&&(Ze=Me.indexOf("http")===-1),vt=Ze,y="web.nocache.js",a=!1;var Et=_e.split("/");Et.length>1&&(!Ze&&Et[Et.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Ve.indexOf(Et[Et.length-2])>=0&&(y=Et[Et.length-2]+".nocache.js")),Et=Me.split("/"),oe=Et[Et.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 Gt=parseFloat(oe);Gt!==NaN&&Gt<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Gt+" is deprecated. Using version latest instead."),kt("5.0",Ze))},Nt=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(Zt):Zt();function Zt(){var Me=Tt;Fe!==null?Me=Fe:parseFloat(Me)<5&&(Me="5.0"),kt(Me,!1),re!==null&&st(re,vt),Ce=!0}return Bt},GGBAppletUtils=function(){"use strict";function Bt(){return window.GGBT_wsf_edit!==void 0}function Tt(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 _e=null;if(ze!=null&&ze!="")for(var vt=Ce.parentNode;vt!=null;)if((" "+vt.className+" ").indexOf(" "+ze+" ")>-1){_e=vt;break}else vt=vt.parentNode;var Te=0,oe=0,y=0,a=0,b=0,E=0,x=0;if(_e)Te=_e.offsetWidth,oe=Math.max($e?_e.offsetWidth:0,_e.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,_e=Ce.noScaleMargin!=null&&Ce.noScaleMargin,vt=function(ne){return ne&&ne!=="false"},Te=vt(Ce.autoHeight),oe=te(Fe,Ce.width,re,Te,ze&&window.GGBT_wsf_view||_e,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 le(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 Be(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=le(Fe,Ce);Bt()&&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 _e=Fe.id!==void 0?Fe.id:"ggbApplet",vt=window[_e];(vt==null||!vt.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",Tt(Ue,$e)):(Tt(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()&&Be(Ce),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:Ge,isFlexibleWorksheetEditor:Bt,positionCenter:Be,getScale:le,scaleElement:Tt}}();__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 Bt=n.location.search;return Bt.indexOf(J)!=-1||Bt.indexOf(K)!=-1}function q(Bt,Tt){}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(Bt){var Tt=s[L].bindings;s[L].bindings=function(){for(var te=Tt?Tt():{},ee=Bt[webModule.__softPermutationId],le=O;le<ee.length;le++){var Be=ee[le];te[Be[O]]=Be[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Bt=o.createElement(Q);if(Bt.id=L,Bt.style.cssText=R+S,Bt.tabIndex=-1,o.body.appendChild(Bt),t=Bt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Tt=document.compatMode==U?V:W;t.write(Tt+X),t.close()}}}function w(Bt){function Tt(ee){function le(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Be=le();if(Be){ee();return}function Ge(){if(!Be){if(!le())return;Be=!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 le=u(),Be=le.body,Ge=le.createElement(_);Ge.language=ab,Ge.crossOrigin=W,Ge.src=ee,webModule.__errFn&&(Ge.onerror=function(){webModule.__errFn(L,new Error(bb+ee))}),Be.appendChild(Ge)}Tt(function(){te(Bt)})}webModule.__startLoadingFragment=function(Bt){return C(Bt)},webModule.__installRunAsyncCode=function(Bt){var Tt=u(),te=Tt.body,ee=Tt.createElement(_);ee.language=ab,ee.text=Bt,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(Bt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Bt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Bt){var Tt=c[Bt];return Tt==null?null:Tt},r=d,webModule.__errFn=e}function B(){function Bt(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 Tt(Ce){if(!Ce.match(/^\w+:\/\//)){var Fe=o.createElement(ub);Fe.src=Ce+vb,Ce=Bt(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 Bt(Ce[Fe].src);return W}function le(){var Ce=o.getElementsByTagName(yb);return Ce.length>O?Ce[Ce.length-P].href:W}function Be(){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=le()),Ge==W&&Be()&&(Ge=Bt(o.location.href)),Ge=Tt(Ge),Ge}function C(Bt){return Bt.match(/^\//)||Bt.match(/^[a-zA-Z]+:\/\//)?Bt:webModule.__moduleBase+Bt}function D(){var Bt=[],Tt=O,te=[],ee=[];function le(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]=le(Fe));return Ce},webModule.__computePropValue=le,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Ge=Be.indexOf(Db);Ge!=-1&&(Tt=parseInt(Be.substring(Ge+P),$),Be=Be.substring(O,Ge))}catch(Ce){}return webModule.__softPermutationId=Tt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(Bt,Tt,te){"use strict";te.d(Tt,{Ax:function(){return Ge},Ds:function(){return Ce},KI:function(){return re},SI:function(){return Be},f1:function(){return le}});var ee=te(346);function le($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 Be($e,Ue=""){let ze=[];for(let _e=0;_e<$e.length;_e++){let vt=$e[_e],Te=Ue?`${Ue}/${vt.name}`:`${vt.name}`;ze.push({title:vt.name,type:vt.type,isLeaf:vt.type!=="tree",key:Te})}return ze}function Ge($e,Ue,ze){for(let _e=0;_e<$e.length;_e++){let vt=$e[_e];if(vt.key===Ue){vt.children=ze;break}vt.children&&Ge(vt.children,Ue,ze)}return $e}function Ce($e,Ue,ze){let _e;return function(){let vt=this,Te=arguments,oe=function(){_e=null,ze||$e.apply(vt,Te)},y=ze&&!_e;clearTimeout(_e),_e=setTimeout(oe,Ue),y&&$e.apply(vt,Te)}}const Fe=!0,re=ee.Z.API_SERVER},38518:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return E}});var ee=te(59301),le=te(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ge=te(73631),Ce=te(5623),Fe=te(46722),re=Object.defineProperty,$e=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,vt=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={}))_e.call(z,ne)&&Te(x,ne,z[ne]);if(ze)for(var ne of ze(z))vt.call(z,ne)&&Te(x,ne,z[ne]);return x},y=(x,z)=>$e(x,Ue(z)),a=(x,z,ne)=>new Promise((ae,ie)=>{var de=pe=>{try{xe(ne.next(pe))}catch(we){ie(we)}},ge=pe=>{try{xe(ne.throw(pe))}catch(we){ie(we)}},xe=pe=>pe.done?ae(pe.value):Promise.resolve(pe.value).then(de,ge);xe((ne=ne.apply(x,z)).next())}),E=({value:x,onChange:z,scrollId:ne})=>{const[ae,ie]=(0,ee.useState)([]);(0,ee.useEffect)(()=>{de()},[]);const de=()=>a(void 0,null,function*(){const nt=yield(0,Fe.NZ)({});if(nt!=null&&nt.data){const De=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:ee.createElement("img",{src:Ge,className:Be.folderIcon}),isLeaf:!1,children:ge(nt.data||[])}];ie(De)}}),ge=nt=>nt.map(De=>({title:De.name,key:De.group_id,icon:ee.createElement("img",{src:Ge,className:Be.folderIcon}),isLeaf:De.children.length===0,children:ge(De.children)})),xe=(nt,De,Qe)=>nt.map(ye=>ye.key===De?oe(oe({},ye),Qe):ye.children?y(oe({},ye),{children:xe(ye.children,De,Qe)}):ye),pe=(nt,De,Qe)=>nt.map(ye=>{if(ye.key===De)return y(oe({},ye),{icon:Qe?ee.createElement("img",{src:Ce,className:Be.folderIcon}):ee.createElement("img",{src:Ge,className:Be.folderIcon})});if(ye.children)return y(oe({},ye),{children:pe(ye.children,De,Qe)})}),we=(nt,De)=>{ie(Qe=>pe(Qe,De.node.key,De.expanded))},ue=x?{selectedKeys:x,defaultExpandedKeys:x}:{};return ae.length>0&&ee.createElement("div",{id:ne||""},ee.createElement(le.default,oe({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ae,className:Be.folderWrapper,onSelect:z,onExpand:we},ue)))}},9507:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return _e}});var ee=te(59301),le={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=te(92310),Ge=te.n(Be),Ce=te(71418),Fe=te(2859),re=te(38986),$e=te(51257),Ue=(vt,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(vt,Te)).next())}),_e=({data:vt,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),ie=(0,ee.useRef)(null),[de,ge]=(0,ee.useState)(!1),[xe,pe]=(0,ee.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ee.useEffect)(()=>{ae.current||(ae.current=document.createElement("style"),document.head.appendChild(ae.current)),vt!=null&&vt.visible?(document.body.setAttribute("data-custom","y-hidden"),ae.current.innerHTML=" html { overflow-y: hidden; }",vt!=null&&vt.src&&we()):(document.body.removeAttribute("data-custom"),ae.current&&(document.head.removeChild(ae.current),ae.current=null))},[vt==null?void 0:vt.visible]);const we=()=>Ue(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ye=yield(0,$e.ZJ)(vt==null?void 0:vt.src);z.current.src="",z.current.src=ye,z.current.onload=function(){Qe()},ge(!1),pe("")}),ue=()=>{document.body.removeAttribute("data-custom"),ae.current.innerHTML=" ",a()},nt=ye=>Ue(void 0,null,function*(){ge(!0),pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ke=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:vt.title,file:ye.dataUrl}});ke!=null&&ke.id&&!x?(yield(0,re.ZP)(`/api/attachments/${vt.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),pe("")}),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)})},Qe=()=>{ne.current=new Fe.hP(z.current),ne.current.targetRoot=ie.current,ne.current.addEventListener("render",nt),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(),vt!=null&&vt.snapshotData&&ne.current.restoreState(vt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),De()},300)};return ee.createElement(ee.Fragment,null,(vt==null?void 0:vt.visible)&&ee.createElement(Ce.Z,{spinning:de,tip:xe,style:{position:"absolute"}},ee.createElement("div",{ref:ie,className:Ge()(le.imageDimensions,Te,oe?le.fullWidth:""),style:y},ee.createElement("img",{className:le.img,ref:z}))))}},50043:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return Re},$:function(){return Je}});var ee=te(59301),le={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"},Be=te(92310),Ge=te.n(Be),Ce=te(78241),Fe=te(8591),re=te(43418),$e=te(5871),Ue=te(95237),ze=te(24905),_e=te(38854),vt=te(54580),Te=te(3113),oe=te(93948),y=te(19842),a=te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A4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",xe=te(38986),pe=te(38518),we=te(5623),ue=te(8944),nt=te(19105),De=te(17077),Qe=te(15342),ye=te.n(Qe),ke=(ve,se,Oe)=>new Promise((gt,Se)=>{var he=Ee=>{try{Ne(Oe.next(Ee))}catch(tt){Se(tt)}},Ye=Ee=>{try{Ne(Oe.throw(Ee))}catch(tt){Se(tt)}},Ne=Ee=>Ee.done?gt(Ee.value):Promise.resolve(Ee.value).then(he,Ye);Ne((Oe=Oe.apply(ve,se)).next())}),Xe=ee.memo(({tagName:ve="div",value:se="",className:Oe,style:gt={},onBlur:Se,id:he})=>{const Ye=(0,ee.useRef)(null);(0,ee.useEffect)(()=>{if(!Ye.current)return;ke(void 0,null,function*(){const tt=Ye.current;tt.innerHTML="";const _t=se==null?void 0:se.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const ft of _t)if(ft.startsWith("$$")&&ft.endsWith("$$")||ft.startsWith("`$$")&&ft.endsWith("$$`")){const zt=ft.startsWith("`$$")?ft.slice(3,-3):ft.slice(2,-2),Ot=document.createElement("span");Ot.setAttribute("contentEditable","false"),Ot.setAttribute("title",ft),Ot.className="edu_latex",tt.appendChild(Ot),ye().render(zt,Ot,{throwOnError:!1})}else{const zt=ft==null?void 0:ft.replace(/<[^>]*>/g,Ot=>Ot.startsWith("<img")?Ot:Ot.replace(/</g,"<"));tt.insertAdjacentHTML("beforeend",zt)}})},[he]);const Ne=()=>{var Ee,tt;if(Se&&Ye.current){const ft=Ye.current.cloneNode(!0),zt=ft.querySelectorAll("span.edu_latex");for(let Ot of zt){const Vt=Ot.getAttribute("title"),be=document.createTextNode(Vt||""),lt=Ot;(tt=(Ee=lt.parentNode)==null?void 0:Ee.replaceChild)==null||tt.call(Ee,be,lt)}Se(ft.innerHTML)}};return ee.createElement(ee.Fragment,null,ee.createElement(ve,{ref:Ye,contentEditable:!0,className:Oe,style:gt,onBlur:Ne}))}),Ve=te(49535),kt=Object.defineProperty,st=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Et=(ve,se,Oe)=>se in ve?kt(ve,se,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ve[se]=Oe,Gt=(ve,se)=>{for(var Oe in se||(se={}))Me.call(se,Oe)&&Et(ve,Oe,se[Oe]);if(Zt)for(var Oe of Zt(se))Ze.call(se,Oe)&&Et(ve,Oe,se[Oe]);return ve},pt=(ve,se)=>st(ve,Nt(se)),Kt=(ve,se,Oe)=>new Promise((gt,Se)=>{var he=Ee=>{try{Ne(Oe.next(Ee))}catch(tt){Se(tt)}},Ye=Ee=>{try{Ne(Oe.throw(Ee))}catch(tt){Se(tt)}},Ne=Ee=>Ee.done?gt(Ee.value):Promise.resolve(Ee.value).then(he,Ye);Ne((Oe=Oe.apply(ve,se)).next())});const Le=ve=>{ve.preventDefault();let Oe=(ve.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Oe)},Qt=ve=>{ve.key==="Enter"&&ve.preventDefault()},Pn=({children:ve,style:se})=>ee.createElement("div",{className:le.leftBox,style:se,onPaste:Le},ve),St=({children:ve,style:se,className:Oe})=>ee.createElement("div",{className:Ge()(le.rightBox,Oe),style:se,onPaste:Le},ve),dt=({className:ve,style:se={},width:Oe=1200,onCancel:gt=()=>{},onSuccess:Se=()=>{},gather:he={},mode:Ye=1,stickyTop:Ne=0,subDisciplineId:Ee=[],hideWordFeatures:tt,dataSource:_t=[],customLeftHeadNode:ft,customRightHeadNode:zt,customLeftContent:Ot,hideRecognition:Vt=!1,onExchange:be,isSingleSelection:lt=!1,underpinBackgroundStyle:ht={},headExtraNode:mt,isRefreshItemBank:Rt=!1,okText:Jt="\u786E\u5B9A\u5BFC\u5165"})=>{var on;const[$t,yn]=(0,ee.useState)(1),[Dn,At]=(0,ee.useState)(0),[xt,Wt]=(0,ee.useState)(""),[fn,sn]=(0,ee.useState)(!1),[Rn,ot]=(0,ee.useState)([]),[Pt,an]=(0,ee.useState)([]),[vn,Pe]=(0,ee.useState)(!1),[We,it]=(0,ee.useState)(!1),[ct,Ft]=(0,ee.useState)(!1),[Xt,bt]=(0,ee.useState)(!1),[je,Ke]=(0,ee.useState)([]),[Ie,ut]=(0,ee.useState)(1),[Ht,Dt]=(0,ee.useState)(!1),[pn,mn]=(0,ee.useState)(!1),[tn,Cn]=(0,ee.useState)(!0),[Qn,ln]=(0,ee.useState)(0),[Hn,qn]=(0,ee.useState)(1),[ua,ta]=(0,ee.useState)(""),[et,jt]=(0,ee.useState)([]),[yt,qt]=(0,ee.useState)(0),[dn,hn]=(0,ee.useState)(0),[un,cn]=(0,ee.useState)(0),[Gn,Xn]=(0,ee.useState)(0),[Ut,ra]=(0,ee.useState)(0),[ha]=Ce.default.useForm(),[Fa]=Ce.default.useForm(),va=(0,ee.useRef)(null),xn=(0,ee.useRef)(null),Tn=(0,ee.useRef)(),jn=["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"],wn=["C","C++","Java","Python","JavaScript","Ruby"];(0,ee.useEffect)(()=>{_t!=null&&_t.length&&qo(_t)},[_t]),(0,ee.useEffect)(()=>{$t===2&&va.current.focus()},[$t]),(0,ee.useEffect)(()=>{ct&&Pa()},[ct]);const la=()=>{if($t===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:()=>Kt(void 0,null,function*(){yn(1)})})},Pa=()=>Kt(void 0,null,function*(){const fe=yield(0,xe.ZP)("/api/disciplines.json",{method:"get",params:{source:Ye===1?"new_question":"subject"}});Ke(fe.disciplines||[])}),ca=fe=>{const Mt=[],en=(En,It)=>{En.length>=2&&Mt.push(En.join(""));for(let Ln=It;Ln<fe.length;Ln++)En.push(fe[Ln]),en(En,Ln+1),En.pop()};return en([],0),Mt},ea=fe=>(fe=fe||"",fe=String(fe),fe=fe.replace(/\s+/g,""),fe),ya=fe=>(fe=fe||"",fe=String(fe),fe=fe.replace(/<div>/g,""),fe=fe.replace(/<br>/g,`
|
|
`),fe=fe.replace(/<\/div>/g,`
|
|
`),fe=$a(fe),fe),to=fe=>fe.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),$a=fe=>fe.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),fo=fe=>{var Mt;const en=fe.clipboardData;if(en){const En=en.types.toString(),It=en.items;if(En==="Files"||en.types.indexOf("Files")>-1){fe.preventDefault();try{let Ln=It[1];((Mt=It[0])==null?void 0:Mt.kind)==="file"&&(Ln=It[0]);const An=Ln.getAsFile();(0,De.I)(An,rn=>{var Sn;if(rn.id){if(((Sn=An==null?void 0:An.type)==null?void 0:Sn.indexOf("image"))>-1){const Vn=`<img src='${ne.Z.API_SERVER}${rn.url}'>`;document.execCommand("insertText",!1,Vn)}}else(rn==null?void 0:rn.status)===401&&(document.location.href="/user/login")})}catch(Ln){Fe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Ma(fe,Mt){return Kt(this,null,function*(){if(typeof fe=="string")return yield Mt(fe);if(typeof fe!="object"||fe===null)return fe;if(Array.isArray(fe))return yield Promise.all(fe.map(It=>Kt(this,null,function*(){return yield Ma(It,Mt)})));const en={};for(const En in fe)if(Object.prototype.hasOwnProperty.call(fe,En)){const It=fe[En];typeof It=="string"?en[En]=yield Mt(It):typeof It=="object"?en[En]=yield Ma(It,Mt):en[En]=It}return en})}const Oa=()=>Kt(void 0,null,function*(){var fe;sn(!0),Wt("\u5904\u7406\u4E2D"),yield new Promise(En=>setTimeout(En,1e3));let Mt=(fe=xn.current)==null?void 0:fe.querySelectorAll('[data-text="edit"]'),en="";try{Mt.forEach(function(En){var It,Ln,An,rn;const Sn=En.cloneNode(!0),Vn=Sn.querySelectorAll("span.edu_latex");for(let On of Vn){const Mn=On.getAttribute("title"),aa=document.createTextNode(Mn),Da=On;(Ln=(It=Da.parentNode)==null?void 0:It.replaceChild)==null||Ln.call(It,aa,Da)}const Nn=Sn.querySelectorAll("span[style]");for(let On of Nn)if(On.style.fontFamily){const Mn=On.innerHTML,aa=document.createTextNode(Mn),Da=On;(rn=(An=Da.parentNode)==null?void 0:An.replaceChild)==null||rn.call(An,aa,Da)}Sn==null||Sn.childNodes.forEach(function(On){On.nodeType===Node.ELEMENT_NODE&&On.localName!=="h5"&&On.localName!=="h4"?en+=`<p>${On.innerHTML}</p>`:On.nodeType===Node.TEXT_NODE&&(en+=`<p>${On.textContent}</p>`)})}),ia("/api/intelligent_imports/import.json",{html:$a(en)})}catch(En){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",En)}}),Ga=fe=>{let Mt=fe.filter(en=>!!(en!=null&&en.type));return Mt=Mt.map(en=>{var En;const It=(En=Bo.find(An=>An.id===(en==null?void 0:en.type)))==null?void 0:En.deal,Ln=pt(Gt({},en),{id:String(Math.random()).slice(-6),knowledgePoint:ea(en==null?void 0:en.knowledgePoint)});return It?It(Ln):Ln}),Mt},za=()=>{if($t===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:Oa})},Ha=()=>ee.createElement("div",{className:le.row},ee.createElement("div",{className:le.leftLayout},ee.createElement(Pn,{style:{height:675}},$t===1&&ee.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>yn(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:le.imgBox,style:{marginTop:75}},ee.createElement("img",{width:56,src:ie}),ee.createElement("span",null,"\u7F16\u8F91\u533A"))),$t===2&&ee.createElement("div",{"data-text":"edit",onBlur:()=>{va.current.innerHTML||yn(1)},ref:va,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),ee.createElement("div",{className:le.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},ee.createElement("div",{className:le.imgBox,style:{marginTop:240}},ee.createElement("img",{width:56,src:de}),ee.createElement("span",null,"\u9884\u89C8\u533A")))),na=(fe,Mt,en,En)=>{var It;console.log(fe,Mt,en,En,"onDataChange\u4FEE\u6539\u6570\u503C");const Ln=JSON.parse(JSON.stringify(Pt));En===void 0?Ln[Mt][fe]=en:Ln[Mt].questions[En][fe]=en;const An=Gt({},Ln[Mt]),rn=(It=Bo.find(Sn=>Sn.id===(An==null?void 0:An.type)))==null?void 0:It.deal;Ln[Mt]=rn(An),an(Ln)},Ea=(fe,Mt,en)=>{var En;const It=en!==void 0,Ln=(En=Bo.find(Sn=>Sn.id===(fe==null?void 0:fe.type)))==null?void 0:En.type,An=`${Mt+1}.${en===void 0?"":en+1+"."}`,rn=`${(fe==null?void 0:fe.type)==="7"?"{{":""}${An}\u3010${Ln}\u3011${(fe==null?void 0:fe.question)||""}`;return ee.createElement(ee.Fragment,null,It&&ee.createElement("h4",{contentEditable:!0}),ee.createElement(Xe,{id:fe==null?void 0:fe.id,tagName:"div",value:rn}))},Ja=(fe,Mt)=>Kt(void 0,null,function*(){var en;const En=yield be(fe,Mt),It=(en=En==null?void 0:En.data)==null?void 0:en.content;if(It!=null&&It.length){const Ln=Ga(It)[0];Rn.splice(Mt,1,Ln),Pt.splice(Mt,1,Ln),ot([...Rn]),an([...Pt])}}),Qa=(fe,Mt,en)=>{var En;const It=en!==void 0,Ln=(En=Bo.find(rn=>rn.id===(fe==null?void 0:fe.type)))==null?void 0:En.type,An=`${Mt+1}.${en===void 0?"":en+1+"."}`;return It?ee.createElement("div",{style:{padding:"10px 18px"}},`${An}\u3010${Ln}\u3011`,ee.createElement(Xe,{id:fe==null?void 0:fe.id,tagName:"span",className:le.edit,onBlur:rn=>na("question",Mt,rn,en),value:(fe==null?void 0:fe.question)||""})):ee.createElement(ee.Fragment,null,ee.createElement("div",{className:le.actionHead},ee.createElement("div",{className:"c-light-primary"},`${An}\u3010${Ln}\u3011`),Ye!==1&&ee.createElement($e.Z,{disabled:(fe==null?void 0:fe.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:rn=>na("score",Mt,rn,en),value:fe==null?void 0:fe.score}),ee.createElement(Ue.Z,{align:"middle",style:{marginLeft:"auto"}},!!be&&ee.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Ja(fe,Mt)},ee.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),ee.createElement(ze.default,{onChange:rn=>na("checked",Mt,rn.target.checked,en),checked:!!(fe!=null&&fe.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),ee.createElement(Xe,{id:fe==null?void 0:fe.id,tagName:"div",style:{padding:"10px 18px"},className:le.edit,onBlur:rn=>na("question",Mt,rn,en),value:fe==null?void 0:fe.question}))},Za=(fe,Mt,en)=>ee.createElement(ee.Fragment,null,["0","1","2","4"].includes(fe==null?void 0:fe.type)&&ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u7B54\u6848\uFF1A${Mt||""}`,tagName:"p"}),!en&&ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u96BE\u5EA6\uFF1A${(fe==null?void 0:fe.difficulty)||""}`,tagName:"p"}),(fe==null?void 0:fe.type)!=="7"&&ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u89E3\u6790\uFF1A${(fe==null?void 0:fe.analyze)||""}`,tagName:"p"}),!en&&ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(fe==null?void 0:fe.knowledgePoint)||""}`,tagName:"p"})),no=(fe,Mt,en,En)=>{const It=En!==void 0,Ln=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],An=It&&!fe.last&&!fe.errorMsg?{marginBottom:10}:{},rn=Ln.map(Sn=>({key:Sn,label:Sn,onClick:()=>na("difficulty",en,Sn,En)}));return ee.createElement("div",{className:le.liWrap,style:An},["4"].includes(fe==null?void 0:fe.type)&&ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),ee.createElement(Xe,{id:fe==null?void 0:fe.id,tagName:"div",className:`${le.edit} c-black`,onBlur:Sn=>na("answer",en,[Sn],En),value:Mt})),!It&&ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(_e.Z,{menu:{items:rn}},ee.createElement("span",{className:"c-light-primary"},fe==null?void 0:fe.difficulty,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(fe==null?void 0:fe.type)!=="7"&&ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),ee.createElement(Xe,{id:fe==null?void 0:fe.id,tagName:"div",className:`${le.edit} c-grey-333`,onBlur:Sn=>na("analyze",en,Sn,En),value:fe==null?void 0:fe.analyze})),!It&&ee.createElement("div",{onKeyDown:Qt,className:le.li},ee.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),ee.createElement(Xe,{id:fe==null?void 0:fe.id,tagName:"div",value:(fe==null?void 0:fe.knowledgePoint)||"",className:`${le.edit} c-grey-333`,onBlur:Sn=>na("knowledgePoint",en,ea(ya(Sn)),En)})))},lo=fe=>ee.createElement(ee.Fragment,null,typeof(fe==null?void 0:fe.errorMsg)=="string"&&!!(fe!=null&&fe.errorMsg)&&ee.createElement("h5",{contentEditable:!1},ee.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),ee.createElement("div",null,fe==null?void 0:fe.errorMsg))),ga=fe=>ee.createElement(ee.Fragment,null,typeof(fe==null?void 0:fe.errorMsg)=="string"&&!!(fe!=null&&fe.errorMsg)&&ee.createElement("h5",null,ee.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),ee.createElement("div",null,fe==null?void 0:fe.errorMsg))),Wa=(fe,Mt,en,En)=>{let It="flex";return(lt&&Qn!==En||vn&&!(en!=null&&en.errorMsg))&&(It="none"),ee.createElement("div",{className:le.row,style:{display:It}},ee.createElement("div",{className:le.leftLayout},Ot||ee.createElement(Pn,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:le.question},fe))),ee.createElement("div",{className:le.rightLayout},ee.createElement(St,{className:en!=null&&en.errorMsg?le.error:""},Mt)))},Bo=[{id:"0",type:"\u5355\u9009\u9898",element:(fe,Mt,en)=>{var En,It;const Ln=en!==void 0;let An=(En=fe==null?void 0:fe.answer)==null?void 0:En[0];const rn=ee.createElement(ee.Fragment,null,Ea(fe,Mt,en),(It=fe==null?void 0:fe.options)==null?void 0:It.map((On,Mn)=>ee.createElement(Xe,{id:fe==null?void 0:fe.id,key:Mn,value:`${jn[Mn]}.${On}`,tagName:"p"})),Za(fe,An,Ln),lo(fe));let Sn=Ln?fe:Pt[Mt];const Vn=Sn==null?void 0:Sn.options,Nn=ee.createElement(ee.Fragment,null,Qa(Sn,Mt,en),Vn==null?void 0:Vn.map((On,Mn)=>{var aa;return ee.createElement("div",{key:Mn,className:le.option},ee.createElement("aside",{className:((aa=Sn==null?void 0:Sn.answer)==null?void 0:aa[0])===jn[Mn]?le.active:"",onClick:()=>na("answer",Mt,[jn[Mn]],en)},jn[Mn]),ee.createElement(Xe,{id:Sn==null?void 0:Sn.id,tagName:"div",className:`${le.text}`,onBlur:Da=>{Vn[Mn]=Da,na("options",Mt,Vn,en)},value:On}))}),no(Sn,"",Mt,en),ga(Sn));return Ln?[rn,Nn]:Wa(rn,Nn,Sn,Mt)},deal:fe=>{var Mt,en,En;fe.score=fe.score===void 0?2:fe.score;let It=ea((Mt=fe==null?void 0:fe.answer)==null?void 0:Mt[0]).toUpperCase();fe.answer=It?[It]:[];let Ln=[];if(!(fe!=null&&fe.options))Ln.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{fe.options=(en=fe.options)==null?void 0:en.slice(0,8);const An=fe.options.map(Sn=>Sn==null?void 0:Sn.trim().replace(/^\s+|\s+$/g,""));new Set(An).size!==An.length&&Ln.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return It||Ln.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),It&&(jn.slice(0,((En=fe==null?void 0:fe.options)==null?void 0:En.length)||8).includes(It)||Ln.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")),ea(fe==null?void 0:fe.question)||Ln.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=Ln.join(`
|
|
`),fe}},{id:"1",type:"\u591A\u9009\u9898",element:(fe,Mt,en)=>{var En,It;const Ln=en!==void 0;let An=(En=fe==null?void 0:fe.answer)==null?void 0:En[0];const rn=ee.createElement(ee.Fragment,null,Ea(fe,Mt,en),(It=fe==null?void 0:fe.options)==null?void 0:It.map((On,Mn)=>ee.createElement(Xe,{id:fe==null?void 0:fe.id,key:Mn,value:`${jn[Mn]}.${On}`,tagName:"p"})),Za(fe,An,Ln),lo(fe));let Sn=Ln?fe:Pt[Mt];const Vn=Sn==null?void 0:Sn.options,Nn=ee.createElement(ee.Fragment,null,Qa(Sn,Mt,en),Vn==null?void 0:Vn.map((On,Mn)=>{var aa,Da;return ee.createElement("div",{key:Mn,className:le.option},ee.createElement("aside",{className:(Da=(aa=Sn==null?void 0:Sn.answer)==null?void 0:aa[0])!=null&&Da.includes(jn[Mn])?le.active:"",onClick:()=>{var Xa;let _a=((Xa=Sn==null?void 0:Sn.answer)==null?void 0:Xa[0])||"";const Po=jn[Mn];_a.includes(Po)?_a=_a.replace(new RegExp(Po,"g"),""):_a+=Po,_a=_a.split("").sort().join(""),na("answer",Mt,[_a],en)}},jn[Mn]),ee.createElement(Xe,{id:Sn==null?void 0:Sn.id,tagName:"div",className:`${le.text}`,onBlur:Xa=>{Vn[Mn]=Xa,na("options",Mt,Vn,en)},value:On}))}),no(Sn,"",Mt,en),ga(Sn));return Ln?[rn,Nn]:Wa(rn,Nn,Sn,Mt)},deal:fe=>{var Mt,en,En;fe.score=fe.score===void 0?2:fe.score;let It=ea((Mt=fe==null?void 0:fe.answer)==null?void 0:Mt[0]).toUpperCase().split("").sort().join("");fe.answer=It?[It]:[];let Ln=[];if(!(fe!=null&&fe.options))Ln.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{fe.options=(en=fe.options)==null?void 0:en.slice(0,8);const An=fe.options.map(Sn=>Sn==null?void 0:Sn.trim().replace(/^\s+|\s+$/g,""));new Set(An).size!==An.length&&Ln.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(It||Ln.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),It){const An=jn.slice(0,((En=fe==null?void 0:fe.options)==null?void 0:En.length)||8);ca(An).includes(It)||Ln.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 ea(fe==null?void 0:fe.question)||Ln.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=Ln.join(`
|
|
`),fe}},{id:"2",type:"\u5224\u65AD\u9898",element:(fe,Mt,en)=>{var En,It;const Ln=en!==void 0;let An=(En=fe==null?void 0:fe.answer)==null?void 0:En[0];const rn=ee.createElement(ee.Fragment,null,Ea(fe,Mt,en),Za(fe,An,Ln),lo(fe));let Sn=Ln?fe:Pt[Mt];const Vn=["\u6B63\u786E","\u9519\u8BEF"];let Nn=((It=Sn==null?void 0:Sn.answer)==null?void 0:It[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Nn)?Nn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Nn)&&(Nn="\u9519\u8BEF");const On=ee.createElement(ee.Fragment,null,Qa(Sn,Mt,en),Vn==null?void 0:Vn.map((Mn,aa)=>ee.createElement("div",{key:aa,className:le.option},ee.createElement("aside",{style:{borderRadius:2},className:Nn===Mn?le.active:"",onClick:()=>na("answer",Mt,[Mn],en)},Mn==="\u6B63\u786E"?"T":"F"),ee.createElement("div",{style:{pointerEvents:"none"},className:`${le.text}`},Mn))),no(Sn,"",Mt,en),ga(Sn));return Ln?[rn,On]:Wa(rn,On,Sn,Mt)},deal:fe=>{var Mt;fe.score=fe.score===void 0?2:fe.score;let en=ea((Mt=fe==null?void 0:fe.answer)==null?void 0:Mt[0]);fe.answer=en?[en]:[];let En=[];return en||En.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),en&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(en)&&En.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"),ea(fe==null?void 0:fe.question)||En.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=En.join(`
|
|
`),fe}},{id:"3",type:"\u586B\u7A7A\u9898",element:(fe,Mt,en)=>{var En,It;const Ln=en!==void 0,An=ee.createElement(ee.Fragment,null,Ea(fe,Mt,en),(En=fe==null?void 0:fe.answer)==null?void 0:En.map((Vn,Nn)=>ee.createElement(Xe,{id:fe==null?void 0:fe.id,key:Nn,tagName:"p",value:`\u7B54\u6848${Nn+1}\uFF1A${Vn.text||""}`})),Za(fe,"",Ln),lo(fe));let rn=Ln?fe:Pt[Mt];const Sn=ee.createElement(ee.Fragment,null,Qa(rn,Mt,en),(It=rn==null?void 0:rn.answer)==null?void 0:It.map((Vn,Nn)=>ee.createElement("div",{key:Nn,className:le.option},ee.createElement("aside",{className:le.fill},"\u586B\u7A7A\u9879",Nn+1),Vn.model===1&&ee.createElement(Xe,{id:rn==null?void 0:rn.id,tagName:"div",onBlur:On=>{rn.answer[Nn].latex=ya(On),na("answer",Mt,rn.answer,en)},className:`${le.text}`,value:Vn.latex}),Vn.model===2&&ee.createElement(nt.Z,{value:Vn.latex,onChange:On=>{rn.answer[Nn].latex=On,na("answer",Mt,rn.answer,en)}}))),no(rn,"",Mt,en),ga(rn));return Ln?[An,Sn]:Wa(An,Sn,rn,Mt)},deal:fe=>{var Mt,en,En,It;fe.score=fe.score===void 0?2:fe.score,fe.question=(Mt=fe.question)==null?void 0:Mt.replaceAll("\u2581","_");const Ln=(en=fe.answer)==null?void 0:en.map(rn=>{if(Object.prototype.toString.call(rn)==="[object Object]")return rn;const Sn={model:1,text:rn,latex:rn};return rn.startsWith("$$")&&rn.endsWith("$$")||rn.startsWith("`$$")&&rn.endsWith("$$`")?(Sn.model=2,Sn.latex=rn.slice(2,-2)):Sn.latex=ya(rn),Sn});fe.answer=Ln;let An=[];return Ln||An.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),ea(fe==null?void 0:fe.question)?fe!=null&&fe.question.includes("_")?(En=fe==null?void 0:fe.answer)!=null&&En.length&&((fe==null?void 0:fe.question.match(/_+/g))||[]).length!==((It=fe==null?void 0:fe.answer)==null?void 0:It.length)&&An.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):An.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):An.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=An.join(`
|
|
`),fe}},{id:"4",type:"\u7B80\u7B54\u9898",element:(fe,Mt,en)=>{var En,It;const Ln=en!==void 0;let An=(En=fe==null?void 0:fe.answer)==null?void 0:En[0];const rn=ee.createElement(ee.Fragment,null,Ea(fe,Mt,en),Za(fe,An,Ln),lo(fe));let Sn=Ln?fe:Pt[Mt];const Vn=ee.createElement(ee.Fragment,null,Qa(Sn,Mt,en),no(Sn,(It=Sn==null?void 0:Sn.answer)==null?void 0:It[0],Mt,en),ga(Sn));return Ln?[rn,Vn]:Wa(rn,Vn,Sn,Mt)},deal:fe=>{fe.score=fe.score===void 0?5:fe.score;let Mt=[];return ea(fe==null?void 0:fe.question)||Mt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),fe.errorMsg=Mt.join(`
|
|
`),fe}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(fe,Mt)=>{var en,En;const It=Pt[Mt],Ln=wn.slice(0,4).map(An=>({key:An,label:An,onClick:()=>na("platform",Mt,An)}));return ee.createElement("div",{className:le.row,style:{display:vn?It!=null&&It.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:le.leftLayout},ee.createElement(Pn,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:le.question},Ea(fe,Mt),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(fe==null?void 0:fe.description)||""}`,tagName:"p"}),Za(fe),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${fe==null?void 0:fe.timeLimit}`,tagName:"p"}),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(fe==null?void 0:fe.platform)||""}`,tagName:"p"}),ee.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),ee.createElement("h4",null),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:(fe==null?void 0:fe.code)||"",tagName:"div"}),(en=fe==null?void 0:fe.inputs)==null?void 0:en.map((An,rn)=>{var Sn;return ee.createElement(ee.Fragment,{key:rn},ee.createElement("h4",null),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${rn+1})\u8F93\u5165\uFF1A${An||""}`,tagName:"div"}),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${rn+1})\u8F93\u51FA\uFF1A${((Sn=fe==null?void 0:fe.outputs)==null?void 0:Sn[rn])||""}`,tagName:"div"}))}),lo(fe)))),ee.createElement("div",{className:le.rightLayout},ee.createElement(St,{className:It!=null&&It.errorMsg?le.error:""},Qa(It,Mt),ee.createElement("div",{className:le.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),ee.createElement(Xe,{className:le.edit,id:It==null?void 0:It.id,value:It==null?void 0:It.description,tagName:"div",onBlur:An=>na("description",Mt,An)}))),no(It,"",Mt),ee.createElement("div",{className:le.liWrap},ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),ee.createElement(Xe,{className:le.edit,id:It==null?void 0:It.id,value:It==null?void 0:It.timeLimit,tagName:"div",onBlur:An=>na("timeLimit",Mt,ya(An))})),ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(_e.Z,{menu:{items:Ln}},ee.createElement("span",{className:"c-light-primary"},It==null?void 0:It.platform,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),ee.createElement("div",{className:le.li,style:{flexDirection:"column",alignItems:"start"}},ee.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),ee.createElement(Xe,{className:le.edit,id:It==null?void 0:It.id,value:(It==null?void 0:It.code)||"",onBlur:An=>na("code",Mt,ya(An)),tagName:"div"}))),(En=It==null?void 0:It.inputs)==null?void 0:En.map((An,rn)=>{var Sn;return ee.createElement("div",{className:le.liWrap,key:rn},ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",rn+1,")\u8F93\u5165\uFF1A"),ee.createElement(Xe,{id:It==null?void 0:It.id,value:An||"",className:le.edit,onBlur:Vn=>{const Nn=[...(It==null?void 0:It.inputs)||[]];Nn[rn]=ya(Vn),na("inputs",Mt,Nn)},tagName:"div"})),ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",rn+1,")\u8F93\u51FA\uFF1A"),ee.createElement(Xe,{id:It==null?void 0:It.id,value:((Sn=It==null?void 0:It.outputs)==null?void 0:Sn[rn])||"",className:le.edit,onBlur:Vn=>{const Nn=[...(It==null?void 0:It.outputs)||[]];Nn[rn]=ya(Vn),na("outputs",Mt,Nn)},tagName:"div"})))}),ga(It))))},deal:fe=>{var Mt,en,En;fe.score=fe.score===void 0?10:fe.score,fe.code=(Mt=fe.code)==null?void 0:Mt.trim();let It=[];ea(fe==null?void 0:fe.question)?((en=fe==null?void 0:fe.question)==null?void 0:en.length)>60&&It.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):It.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ea(fe==null?void 0:fe.description)||It.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Ln=ea(String((fe==null?void 0:fe.timeLimit)||""));if(fe.timeLimit=Ln,(!Ln||Ln&&!["3","4","5","6","7","8","9","10"].includes(Ln))&&It.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),fe.platform=ea(fe==null?void 0:fe.platform),fe!=null&&fe.platform){const An=["c","c++","java","python"],rn=(En=fe==null?void 0:fe.platform)==null?void 0:En.toLowerCase(),Sn=An.findIndex(Vn=>Vn===rn);Sn>-1?fe.platform=wn[Sn]:It.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else It.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(fe!=null&&fe.inputs)||!(fe!=null&&fe.outputs))fe.inputs=[],fe.outputs=[],It.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 An=Math.min(fe.inputs.length,fe.outputs.length);fe.inputs=fe.inputs.slice(0,An),fe.outputs=fe.outputs.slice(0,An),fe.outputs.some(rn=>!ea(rn))&&It.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return fe.errorMsg=It.join(`
|
|
`),fe}},{id:"7",type:"\u7EC4\u5408\u9898",element:(fe,Mt)=>{var en,En;const It=Pt[Mt];return ee.createElement("div",{className:le.row,style:{display:vn?It!=null&&It.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:le.leftLayout},ee.createElement(Pn,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:le.question},Ea(fe,Mt),Za(fe),(en=fe==null?void 0:fe.questions)==null?void 0:en.map((Ln,An)=>{var rn;const Sn=(rn=Bo.find(Vn=>Vn.id===(Ln==null?void 0:Ln.type)))==null?void 0:rn.element;return ee.createElement(ee.Fragment,{key:`left-${fe.id}-${An}`},Sn(Ln,Mt,An)[0])}),lo(fe),ee.createElement("p",{contentEditable:!0},"}}")))),ee.createElement("div",{className:le.rightLayout},ee.createElement(St,{className:It!=null&&It.errorMsg?le.error:""},Qa(It,Mt),no(It,"",Mt),(En=It==null?void 0:It.questions)==null?void 0:En.map((Ln,An)=>{var rn;const Sn=(rn=Bo.find(Vn=>Vn.id===(Ln==null?void 0:Ln.type)))==null?void 0:rn.element;return ee.createElement(ee.Fragment,{key:`right-${It.id}-${An}`},Sn(Ln,Mt,An)[1])}),ga(It))))},deal:fe=>{var Mt,en,En,It,Ln;const An=Ga,rn=[...Bo],Sn=rn.findIndex(Mn=>Mn.id==="0"),Vn=rn.findIndex(Mn=>Mn.id==="1");if(Sn!==-1){const Mn=rn[Sn].deal;rn[Sn].deal=aa=>{const Da=Mn(aa);return Da.errorMsg&&(Da.errorMsg=Da.errorMsg.split(`
|
|
`).filter(Xa=>Xa!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
|
|
`)),Da}}if(Vn!==-1){const Mn=rn[Vn].deal;rn[Vn].deal=aa=>{const Da=Mn(aa);return Da.errorMsg&&(Da.errorMsg=Da.errorMsg.split(`
|
|
`).filter(Xa=>Xa!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
|
|
`)),Da}}fe.questions=(Mt=fe.questions)!=null&&Mt.length?Ga(fe.questions.slice(0,20)):[],fe.questions=(en=fe.questions)==null?void 0:en.map((Mn,aa)=>{var Da;if(Mn.type==="0"||Mn.type==="1"){const Xa=(Da=Mn.options)==null?void 0:Da.map(_a=>_a==null?void 0:_a.trim().replace(/^\s+|\s+$/g,""));Xa&&new Set(Xa).size!==Xa.length&&(Mn.errorMsg=(Mn.errorMsg?Mn.errorMsg+`
|
|
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return pt(Gt({},Mn),{last:aa===fe.questions.length-1})});const Nn=(En=fe.questions)==null?void 0:En.reduce((Mn,aa)=>{const Da=parseFloat(aa.score);return isNaN(Da)?Mn:Mn+Da},0);fe.score=Nn;let On=[];return(It=fe.questions)!=null&&It.length?fe.errorMsg=((Ln=fe.questions)==null?void 0:Ln.findIndex(Mn=>!!Mn.errorMsg))>-1:On.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),ea(fe==null?void 0:fe.question)||On.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),On.length&&(fe.errorMsg=On.join(`
|
|
`)),fe}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(fe,Mt)=>{var en,En;const It=Pt[Mt],Ln=wn.map(An=>({key:An,label:An,onClick:()=>na("platform",Mt,An)}));return ee.createElement("div",{className:le.row,style:{display:vn?It!=null&&It.errorMsg?"flex":"none":"flex"}},ee.createElement("div",{className:le.leftLayout},ee.createElement(Pn,null,ee.createElement("div",{"data-text":"edit",contentEditable:!0,className:le.question},Ea(fe,Mt),Za(fe),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${fe==null?void 0:fe.timeLimit}`,tagName:"p"}),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(fe==null?void 0:fe.platform)||""}`,tagName:"p"}),ee.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),ee.createElement("h4",null),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:(fe==null?void 0:fe.code)||"",tagName:"div"}),ee.createElement("h4",null),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(fe==null?void 0:fe.input)||""}`,tagName:"p"}),ee.createElement(Xe,{id:fe==null?void 0:fe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(fe==null?void 0:fe.output)||""}`,tagName:"p"}),(en=fe==null?void 0:fe.answer)==null?void 0:en.map((An,rn)=>ee.createElement(Xe,{key:rn,id:fe==null?void 0:fe.id,value:`\u7B54\u6848${rn+1}\uFF1A${An||""}`,tagName:"p"})),lo(fe)))),ee.createElement("div",{className:le.rightLayout},ee.createElement(St,{className:It!=null&&It.errorMsg?le.error:""},Qa(It,Mt),no(It,"",Mt),ee.createElement("div",{className:le.liWrap},ee.createElement("div",{className:le.li,onKeyDown:Qt},ee.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),ee.createElement(Xe,{className:le.edit,id:It==null?void 0:It.id,value:It==null?void 0:It.timeLimit,tagName:"div",onBlur:An=>na("timeLimit",Mt,ya(An))})),ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),ee.createElement("div",{className:"c-black"},ee.createElement(_e.Z,{menu:{items:Ln}},ee.createElement("span",{className:"c-light-primary"},It==null?void 0:It.platform,ee.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),ee.createElement("div",{className:le.li,style:{flexDirection:"column",alignItems:"start"}},ee.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),ee.createElement(Xe,{className:le.edit,id:It==null?void 0:It.id,value:(It==null?void 0:It.code)||"",onBlur:An=>na("code",Mt,ya(An)),tagName:"div"})),ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),ee.createElement(Xe,{className:le.edit,id:It==null?void 0:It.id,value:(It==null?void 0:It.input)||"",onBlur:An=>na("input",Mt,ya(An)),tagName:"div"})),ee.createElement("div",{className:le.li},ee.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),ee.createElement(Xe,{className:le.edit,id:It==null?void 0:It.id,value:(It==null?void 0:It.output)||"",onBlur:An=>na("output",Mt,ya(An)),tagName:"div"}))),ee.createElement("div",{className:le.liWrap},(En=It==null?void 0:It.answer)==null?void 0:En.map((An,rn)=>ee.createElement("div",{className:le.li,key:rn},ee.createElement("aside",null,"\u7B54\u6848",rn+1,"\uFF1A"),ee.createElement(Xe,{id:It==null?void 0:It.id,value:An||"",className:le.edit,onBlur:Sn=>{const Vn=[...(It==null?void 0:It.answer)||[]];Vn[rn]=ya(Sn),na("output",Mt,Vn)},tagName:"div"})))),ga(It))))},deal:fe=>{var Mt,en,En,It,Ln,An,rn,Sn;fe.score=fe.score===void 0?10:fe.score,fe.code=(En=(en=(Mt=fe.code)==null?void 0:Mt.trim())==null?void 0:en.replace(/@_@/g,"@\u2581@"))==null?void 0:En.replace(/@__@/g,"@\u2581\u2581@");let Vn=[];if(ea(fe==null?void 0:fe.question)||Vn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ea(fe==null?void 0:fe.code)?/@▁@|@▁▁@/.test(fe==null?void 0:fe.code)?(It=fe==null?void 0:fe.answer)!=null&&It.length&&((Ln=fe==null?void 0:fe.code.match(/@▁@|@▁▁@/g))==null?void 0:Ln.length)!==((An=fe==null?void 0:fe.answer)==null?void 0:An.length)&&Vn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Vn.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"):Vn.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),fe!=null&&fe.answer?(rn=fe.answer)!=null&&rn.some(On=>!ea(On))&&Vn.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Vn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),fe.platform=ea(fe==null?void 0:fe.platform),fe!=null&&fe.platform){const On=["c","c++","java","python","javascript","ruby"],Mn=(Sn=fe==null?void 0:fe.platform)==null?void 0:Sn.toLowerCase(),aa=On.findIndex(Da=>Da===Mn);aa>-1?fe.platform=wn[aa]:Vn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Vn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");ea(fe==null?void 0:fe.output)||Vn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Nn=ea(String((fe==null?void 0:fe.timeLimit)||""));return fe.timeLimit=Nn,(!Nn||Nn&&!["3","4","5","6","7","8","9","10"].includes(Nn))&&Vn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),fe.errorMsg=Vn.join(`
|
|
`),fe}}],tr=()=>ee.createElement(ee.Fragment,null,Rn.filter(fe=>{var Mt;return!!((Mt=Bo.find(En=>En.id===(fe==null?void 0:fe.type)))==null?void 0:Mt.element)}).map((fe,Mt)=>{var en;const En=(en=Bo.find(It=>It.id===(fe==null?void 0:fe.type)))==null?void 0:en.element;return ee.createElement(ee.Fragment,{key:fe.id},En(fe,Mt))})),jo=()=>Kt(void 0,null,function*(){const fe=Pt.filter(Mt=>!Mt.checked);if($t!==3||!fe.length){Fe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}ha.setFieldsValue({sub_discipline_id:Ee}),Ft(!0)}),qo=fe=>Kt(void 0,null,function*(){const Mt=Ga(fe);ot(Mt),an(JSON.parse(JSON.stringify(Mt))),yn(3),sn(!1),Dt(!1),Pe(!1)});(0,ee.useEffect)(()=>{if(tn)return;const fe=()=>{At(Mt=>Mt>=90?(clearInterval(Tn.current),90):Mt+1)};return Tn.current=setInterval(fe,5e4/90),()=>clearInterval(Tn.current)},[tn]);const ia=(fe,Mt)=>{Cn(!1);const en=new FormData;Object.keys(Mt).forEach(It=>{en.append(It,Mt[It])});const En=new window.XMLHttpRequest;En.withCredentials=!0,En.addEventListener("load",function(It){return Kt(this,null,function*(){var Ln,An;try{const rn=JSON.parse((Ln=It==null?void 0:It.target)==null?void 0:Ln.response);if(Cn(!0),At(100),yield new Promise(Sn=>setTimeout(()=>Sn(),780)),rn.status===0){if(!((An=rn==null?void 0:rn.data)!=null&&An.length)){Fe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),sn(!1);return}qo((rn==null?void 0:rn.data)||[])}else sn(!1),Fe.ZP.warning(rn==null?void 0:rn.message)}catch(rn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",rn)}})}),En.addEventListener("error",()=>{sn(!1)}),En.open("POST",`${ne.Z.API_SERVER}${fe}`),En.send(en)},kn=fe=>Kt(void 0,null,function*(){const Mt=fe.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(Mt)==-1?(Fe.ZP.error(`${fe.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()):(sn(!0),Wt("\u5904\u7406\u4E2D"),ia("/api/intelligent_imports/import.json",{file:fe}),Promise.reject())}),In=fe=>Kt(void 0,null,function*(){const Mt=fe.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()):fe.size/1024/1024>200?(Fe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(et!=null&&et.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:()=>jt([fe])}):jt([fe]),Promise.reject())});let Kn=[{key:1,label:ee.createElement(vt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:kn},ee.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const Aa=[Pt.length,(on=Pt.filter(fe=>!!(fe!=null&&fe.errorMsg)))==null?void 0:on.length];return ee.createElement("div",{className:Ge()(le.intelligentBox,"intelligent-body-curb",ve),style:pt(Gt({},se),{width:Oe}),ref:xn},ee.createElement("div",{className:le.underpin},ee.createElement("b",{style:ht}),ee.createElement("b",{style:ht})),ee.createElement("div",{className:le.head,style:{top:Ne}},ee.createElement("div",{className:le.leftLayout},ft||ee.createElement(ee.Fragment,null,ee.createElement(Ue.Z,{align:"middle"},ee.createElement("div",{className:le.title},"\u8BD5\u9898\u7F16\u8F91"),!tt&&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:la,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!tt&&ee.createElement(_e.Z,{overlayClassName:le.menu,menu:{items:Kn}},ee.createElement(z.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!mt&&mt),ee.createElement("div",{className:le.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:le.rightLayout,style:{alignItems:"start"}},zt||ee.createElement(ee.Fragment,null,ee.createElement("div",{className:le.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes($t)&&ee.createElement(ze.default,{className:"ml20",checked:vn,onChange:fe=>Pe(fe.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes($t)&&ee.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",ee.createElement("span",{className:"ml5 mr5 c-light-primary"},Aa[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",ee.createElement("span",{className:"ml5 mr5 c-red-e53"},Aa[1]),"\u9898")),lt&&ee.createElement("div",{className:le.tabs},Rn==null?void 0:Rn.map((fe,Mt)=>ee.createElement("div",{onClick:()=>{ln(Mt)},className:Qn===Mt&&le.active,key:Mt},"\u65B0\u9898",Mt+1)))),ee.createElement("div",{className:le.centerBox},ee.createElement("img",{className:"mb10",src:ge,width:56}),!Vt&&ee.createElement(z.op,{onClick:za},"\u8BC6\u522B"))),[1,2].includes($t)&&Ha(),[3].includes($t)&&tr(),ee.createElement("div",{className:"pb10"}),ee.createElement("div",{className:le.buttonFixed},ee.createElement("div",{className:le.buttonWrap},ee.createElement(Te.ZP,{size:"middle",className:`${le.button} mr20`,onClick:gt},"\u53D6\u6D88"),ee.createElement(Te.ZP,{size:"middle",type:"primary",className:`${le.button}`,onClick:jo},Jt))),ee.createElement(re.default,{centered:!0,closable:!1,destroyOnClose:!0,open:fn,title:null,footer:null,width:320,afterClose:()=>At(0)},ee.createElement(Ue.Z,{align:"middle",style:{flexDirection:"column"}},ee.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},xt,ee.createElement("span",{className:le.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:Dn}),ee.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",ee.createElement("span",{className:"ml5 c-light-primary"},Dn,"%")))),ee.createElement(re.default,{centered:!0,open:ct,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:We,width:480,onCancel:()=>Ft(!1),onOk:()=>ha.submit(),afterClose:()=>{ha.resetFields()}},ee.createElement(Ce.default,{style:{maxHeight:550},form:ha,layout:"horizontal",colon:!1,size:"large",onFinish:fe=>Kt(void 0,null,function*(){var Mt,en,En,It,Ln;const An=Pt.filter(Vn=>!Vn.checked&&!Vn.errorMsg);it(!0);const rn=()=>Kt(void 0,null,function*(){var Vn,Nn;const On=yield(0,xe.ZP)("/api/intelligent_imports/save.json",{method:"post",body:pt(Gt(Gt({},he),fe),{list:An,mode:Ye})});On.status===0&&(Rt&&((Vn=On==null?void 0:On.data)!=null&&Vn.success)&&window.location.pathname==="/problemset"&&(Ve.Z.publish("refresh-item-bank",fe.group_id),yield new Promise(Mn=>setTimeout(()=>Mn(),1500))),Fe.ZP.success(`\u6210\u529F\u5BFC\u5165${(Nn=On==null?void 0:On.data)==null?void 0:Nn.success}\u9053\u8BD5\u9898`,3),Se(),Ft(!1)),it(!1)});if(Ye!==1){yield rn();return}const Sn=yield(0,xe.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Pt,mode:Ye}});if(Sn.status===0){if(!((Mt=Sn==null?void 0:Sn.data)!=null&&Mt.error_size)){yield rn();return}re.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{it(!1)},title:"\u63D0\u793A",content:ee.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",ee.createElement("span",{className:"c-light-primary ml5 mr5"},(en=Sn==null?void 0:Sn.data)==null?void 0:en.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",ee.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(En=Sn==null?void 0:Sn.data)==null?void 0:En.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",ee.createElement("span",{className:"ml5 mr5"},(Ln=(It=Sn==null?void 0:Sn.data)==null?void 0:It.index)==null?void 0:Ln.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:rn})}})},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:je})),Ye===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:()=>bt(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},ee.createElement("img",{className:"mr5 primary-hover",src:we}),"\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(pe.Z,{key:Ie})))),ee.createElement(re.default,{centered:!0,open:Xt,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:pn,onCancel:()=>bt(!1),onOk:()=>Fa.submit(),afterClose:()=>{Fa.resetFields()}},ee.createElement(Ce.default,{style:{maxHeight:550},form:Fa,layout:"horizontal",colon:!1,size:"large",onFinish:fe=>Kt(void 0,null,function*(){var Mt;mn(!0),(yield(0,xe.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:fe.name,parent_id:(Mt=fe==null?void 0:fe.parent_id)==null?void 0:Mt[0]}})).status===0?(ut(Ie+1),setTimeout(()=>{Fe.ZP.success("\u64CD\u4F5C\u6210\u529F"),bt(!1),mn(!1)},1e3)):mn(!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(pe.Z,null)))),ee.createElement(re.default,{centered:!0,open:Ht,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>Dt(!1),onOk:()=>{if(Hn===1&&!ea(ua)){Fe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(Hn===2&&!ea(ua)&&!(et!=null&&et.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 fe=[{name:"\u5355\u9009\u9898",num:yt||0},{name:"\u591A\u9009\u9898",num:dn||0},{name:"\u5224\u65AD\u9898",num:un||0},{name:"\u586B\u7A7A\u9898",num:Gn||0},{name:"\u7B80\u7B54\u9898",num:Ut||0}];if(fe.reduce((En,It)=>En+It.num,0)===0){Fe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(Hn,yt,dn),sn(!0),Wt("\u5904\u7406\u4E2D");const en={type:Hn,query:ua,item_types:JSON.stringify(fe)};Hn===2&&(en.file=(et==null?void 0:et[0])||null),ia("/api/intelligent_imports/large_model_intelligent_qa.json",en)}},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:Hn,onChange:fe=>qn(fe.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:ua,placeholder:Hn===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:fe=>{ta(fe.target.value)}}),Hn===2&&ee.createElement(ee.Fragment,null,ee.createElement(vt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:et,beforeUpload:In,className:"mb20",onRemove:()=>jt([])},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:yt,onChange:qt,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u591A\u9009\u9898"),ee.createElement($e.Z,{min:0,max:10,value:dn,onChange:hn,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u5224\u65AD\u9898"),ee.createElement($e.Z,{min:0,max:10,value:un,onChange:cn,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u586B\u7A7A\u9898"),ee.createElement($e.Z,{min:0,max:10,value:Gn,onChange:Xn,style:{marginLeft:"8px"}})),ee.createElement(x.Z,null,ee.createElement("label",null,"\u7B80\u7B54\u9898"),ee.createElement($e.Z,{min:0,max:10,value:Ut,onChange:ra,style:{marginLeft:"8px"}}))))))},Je=ae;var Re=dt},1041:function(Bt,Tt,te){"use strict";te.d(Tt,{N:function(){return a}});var ee=te(59301),le=te(57809),Be=te(43418),Ge=te(92832),Ce=te(8591),Fe=te(95237),re=te(43604),$e=te(38986),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),_e=te.n(ze),vt=te(87169),Te=te(59301),oe=(b,E,x)=>new Promise((z,ne)=>{var ae=ge=>{try{de(x.next(ge))}catch(xe){ne(xe)}},ie=ge=>{try{de(x.throw(ge))}catch(xe){ne(xe)}},de=ge=>ge.done?z(ge.value):Promise.resolve(ge.value).then(ae,ie);de((x=x.apply(b,E)).next())});const{Option:y}=le.default,a=({subId:b,value:E,selectvalues:x,disabled:z,knowledgeOptions:ne=[],className:ae,height:ie,onChange:de=()=>{},onAddKnowledgeFinish:ge=()=>{},zIndex:xe=1e3})=>{const pe=(0,ee.useRef)(),[we,ue]=(0,ee.useState)([]);E=E||[];const nt=(Qe,ye)=>{Qe?(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=Qe=>{Qe.preventDefault(),pe.current="",Be.default.confirm({centered:!0,width:585,zIndex:xe,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(vt.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:pe.current,onChange:ye=>{pe.current=ye.target.value}}))),onOk:()=>new Promise((ye,ke)=>oe(void 0,null,function*(){if(!pe.current)return Ce.ZP.warning("\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"),ke();if(pe.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:pe.current,sub_discipline_id:b}});if((qe==null?void 0:qe.status)===0){ge({id:qe.tag_discipline_id,name:pe.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:_e()(Ue.wrap,ae)},Te.createElement(re.Z,null,Te.createElement(le.default,{mode:"multiple",disabled:!b||z,className:Ue.selectWrapper,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",onChange:nt,style:{width:ie||490},showSearch:!0,allowClear:!0,value:we,filterOption:(Qe,ye)=>ye.label.indexOf(Qe.toLowerCase())>=0},ne==null?void 0:ne.map(Qe=>Te.createElement(y,{key:Qe.id,value:Qe.id,label:Qe.name},Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Qe.name),(Qe==null?void 0:Qe.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 ${ie&&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")))}},19105:function(Bt,Tt,te){"use strict";var ee=te(59301),le=te(99587),Be=te(48136),Ge=te(76562),Ce=te(43418),Fe=te(59301);const re=(0,ee.forwardRef)(({callback:$e,width:Ue,onChange:ze,disabled:_e,readOnly:vt,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),[ie,de]=(0,ee.useState)(!1),ge=()=>{var ue=document.createElement("div");ue.innerHTML=b.current.getValue();var nt=ue.innerText;return $e&&$e(nt),nt};(0,ee.useImperativeHandle)(a,()=>({getData:ge}));const xe=ue=>{ue.preventDefault();const nt=ue.clientX-x,De=ue.clientY-ne;document.body.onmousemove=Qe=>{let ye=Qe.clientX-nt,ke=Qe.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)),pe(Qe.clientX,Qe.clientY,nt,De)&&(z(ye),ae(ke))},document.body.onmouseup=function(){document.body.onmousemove=null}},pe=(ue,nt,De,Qe)=>{const ye=document.body.clientHeight,ke=document.body.clientWidth;return ue<20&&De>ue||ue>ke-20&&De<ue||nt<20&&Qe>nt||nt>ye-20&&Qe<nt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,ee.useEffect)(()=>{ie&&setTimeout(()=>{const ue=document.getElementsByClassName("markdown-popup-form")[0],nt=window.innerWidth/2-ue.offsetWidth/2,De=window.innerHeight/2-ue.offsetHeight/2;z(nt),ae(De)},0)},[ie]);const we=()=>{_e||vt||de(!0)};return Fe.createElement("div",{style:y},Fe.createElement("div",{style:{width:Ue||"100%",position:"relative"},className:`${le.Z.mathFillWrap} ${_e||vt?"cursorDefault":""}`,onClick:()=>we()},Fe.createElement("math-field",{disabled:_e,locale:"zh_cn",class:`${le.Z.mathField} ${Te}`,readOnly:vt,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:xe},"\u8F93\u5165\u516C\u5F0F"),open:ie,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})))});Tt.Z=re},76562:function(Bt,Tt,te){"use strict";var ee=te(59301),le=te(95237),Be=te(43604),Ge=te(99313),Ce=te(3113),Fe=te(91842),re=te(99587),$e=te(48136),Ue=te(59301);const ze=(0,ee.forwardRef)(({callback:_e,showSaveButton:vt,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(le.Z,{className:re.Z.lists,gutter:[10,10]},a.map((ne,ae)=>Ue.createElement(Be.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((ie,de)=>Ue.createElement("div",{key:de},Ue.createElement("h1",null,ie.name),Ue.createElement(le.Z,{gutter:[10,10]},ie.data.map((ge,xe)=>Ue.createElement(Be.Z,{key:xe,onClick:()=>E(ge),className:re.Z.diamond},Ue.createElement(Fe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ue.createElement(le.Z,{className:re.Z.lists,gutter:[10,10]},b.map((ne,ae)=>Ue.createElement(Be.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((ie,de)=>Ue.createElement("div",{key:de},ie.name&&Ue.createElement("h1",null,ie.name),Ue.createElement(le.Z,{gutter:[10,10]},ie.data.map((ge,xe)=>Ue.createElement(Be.Z,{key:xe,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 _e&&_e(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||""),vt&&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")))});Tt.Z=ze},68571:function(Bt,Tt,te){"use strict";te.d(Tt,{t:function(){return Je}});var ee=te(59301),le=te(92832),Be=te(78241),Ge=te(43418),Ce=te(95237),Fe=te(43604),re=te(5871),$e=te(57809),Ue=te(5112),ze=te(31457),_e=te(25690),vt=te(8423),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(38986),x=te(81072),z=te(39793),ne=te(56102),ae=te(37345),ie=te(59301),de=Object.defineProperty,ge=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,nt=(Re,ve,se)=>ve in Re?de(Re,ve,{enumerable:!0,configurable:!0,writable:!0,value:se}):Re[ve]=se,De=(Re,ve)=>{for(var se in ve||(ve={}))we.call(ve,se)&&nt(Re,se,ve[se]);if(pe)for(var se of pe(ve))ue.call(ve,se)&&nt(Re,se,ve[se]);return Re},Qe=(Re,ve)=>ge(Re,xe(ve)),ye=(Re,ve,se)=>new Promise((Oe,gt)=>{var Se=Ne=>{try{Ye(se.next(Ne))}catch(Ee){gt(Ee)}},he=Ne=>{try{Ye(se.throw(Ne))}catch(Ee){gt(Ee)}},Ye=Ne=>Ne.done?Oe(Ne.value):Promise.resolve(Ne.value).then(Se,he);Ye((se=se.apply(Re,ve)).next())}),qe=({buttonProps:Re,buttonText:ve,form:se,hackIdentifier:Oe="",answerKey:gt,data:Se})=>{const[he,Ye]=(0,ee.useState)(!1),[Ne,Ee]=(0,ee.useState)(!1),[tt,_t]=(0,ee.useState)(!1),[ft,zt]=(0,ee.useState)({}),[Ot,Vt]=(0,ee.useState)(""),[be,lt]=(0,ee.useState)(""),ht=(0,ee.useRef)(Oe),mt=(0,ee.useRef)(""),Rt=(0,ee.useRef)(!1);(0,ee.useEffect)(()=>{tt&&yn()},[tt]),(0,ee.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const Jt=()=>new Date().getTime(),on=Se==null?void 0:Se.code,$t=()=>{var xt,Wt;let fn=on?Se==null?void 0:Se.code:(xt=se.getFieldValue("hack_codes"))==null?void 0:xt.code,sn=on?Se==null?void 0:Se.answer_content:se.getFieldValue(gt),Rn=on?Se==null?void 0:Se.input:(Wt=se.getFieldValue("hack_sets"))==null?void 0:Wt.input;sn==null||sn.forEach(ot=>{const Pt=ot.value||ot.answer_text||"";fn=fn.replace(/(@▁@|@▁▁@)/,Pt)}),lt(Rn),Vt(fn),zt({}),_t(!0)},yn=()=>ye(void 0,null,function*(){var xt,Wt,fn,sn;const Rn=Jt(),ot=on?Se==null?void 0:Se.time_limit:(xt=se.getFieldsValue())==null?void 0:xt.hack.time_limit,Pt=on?(Wt=Se==null?void 0:Se.answer_content)==null?void 0:Wt.length:(sn=(fn=se.getFieldsValue())==null?void 0:fn.standard_answers)==null?void 0:sn.length;Ye(!0),yield(0,x.bM)(mt.current,{test_hack_code:Ot,test_input:be});function an(){return ye(this,null,function*(){const{status:vn,data:Pe}=yield(0,x.rX)(mt.current,"submit"),it=Jt()-Rn>(ot+3)*1e3*Pt;if(Rt.current){if(it){Te.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Ye(!1);return}if(vn===0){Ye(!1),zt(Qe(De({},Pe),{showText:!0}));return}setTimeout(an,1e3)}})}an()}),Dn=()=>ye(void 0,null,function*(){var xt,Wt,fn,sn,Rn,ot,Pt;if(!Se){try{yield se.validateFields()}catch(We){(fn=(Wt=(xt=We==null?void 0:We.errorFields)==null?void 0:xt[0])==null?void 0:Wt.name)!=null&&fn.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 vn="";const Pe=se.getFieldsValue();ht.current?vn=yield(0,E.ZP)(`/api/problems/${ht.current}.json`,{method:"put",body:Qe(De({},Pe),{hack:Qe(De({},Pe==null?void 0:Pe.hack),{sub_discipline_id:(Pt=(ot=Pe==null?void 0:Pe.hack)==null?void 0:ot.sub_discipline_id)==null?void 0:Pt[1],difficult:Pe.difficulty,item_banks_group_id:Pe.item_banks_group_id}),hack_codes:Qe(De({},Pe.hack_codes),{code:a.Base64.encode(Pe.hack_codes.code)}),update_hack_sets:[De({},Pe.hack_sets)],is_blank:!0})}):(vn=yield(0,E.ZP)("/api/problems.json",{method:"post",body:Qe(De({},Pe),{hack:Qe(De({},Pe==null?void 0:Pe.hack),{sub_discipline_id:(Rn=(sn=Pe==null?void 0:Pe.hack)==null?void 0:sn.sub_discipline_id)==null?void 0:Rn[1],difficult:Pe.difficulty,item_banks_group_id:Pe.item_banks_group_id}),hack_codes:Qe(De({},Pe.hack_codes),{code:a.Base64.encode(Pe.hack_codes.code)}),hack_sets:[De({},Pe.hack_sets)],is_blank:!0})}),ht.current=vn==null?void 0:vn.identifier,sessionStorage.projectFill=vn==null?void 0:vn.identifier)}const an=yield(0,E.ZP)(`/api/problems/${ht.current}/start.json`,{method:"get"});if((an==null?void 0:an.status)===0){mt.current=an==null?void 0:an.identifier,Rt.current=!0,Ee(!1),$t();return}Ee(!1)}),At=xt=>{const{status:Wt,error_msg:fn,execute_time:sn,output:Rn,input:ot,expected_output:Pt}=xt;let an=null;switch(Wt){case ae.h.OK:an=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",sn/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ae.h.NOMATCH:an=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},ot),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Rn&&a.Base64.decode(Rn)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Pt&&a.Base64.decode(Pt)));break;case ae.h.EXECUTEFAILURE:an=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,ot)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(fn)));break;case ae.h.COMPILEFAILURE:an=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,ot)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(fn)));break;case ae.h.PODFAILURE:an=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ae.h.TIMEOUT:an=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",an," ")};return ie.createElement("div",null,ie.createElement(oe.ZP,Qe(De({loading:Ne},Re),{onClick:Dn}),ve),ie.createElement(Ge.default,{open:tt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:he,cancelButtonProps:{style:{display:"none"}},onOk:()=>yn(),onCancel:()=>{Rt.current=!1,_t(!1)}},ie.createElement("div",{className:b.result},ie.createElement("div",{className:b.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Se&&ie.createElement(ne.CopyToClipboard,{text:Ot,onCopy:()=>Te.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(z.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Ot,onChange:xt=>Vt(xt)})),ie.createElement("div",{className:b.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:b.box},ie.createElement("div",{className:b.li},ie.createElement(le.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:be,onChange:xt=>lt(xt.target.value),bordered:!1,style:{height:180}}))),ie.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ie.createElement("div",{className:b.box},ie.createElement(y.Z,{spinning:he,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},At(ft))))))))},Xe=te(87169),Ve=te(59301),kt=Object.defineProperty,st=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Et=(Re,ve,se)=>ve in Re?kt(Re,ve,{enumerable:!0,configurable:!0,writable:!0,value:se}):Re[ve]=se,Gt=(Re,ve)=>{for(var se in ve||(ve={}))Me.call(ve,se)&&Et(Re,se,ve[se]);if(Zt)for(var se of Zt(ve))Ze.call(ve,se)&&Et(Re,se,ve[se]);return Re},pt=(Re,ve)=>st(Re,Nt(ve)),Kt=(Re,ve)=>{var se={};for(var Oe in Re)Me.call(Re,Oe)&&ve.indexOf(Oe)<0&&(se[Oe]=Re[Oe]);if(Re!=null&&Zt)for(var Oe of Zt(Re))ve.indexOf(Oe)<0&&Ze.call(Re,Oe)&&(se[Oe]=Re[Oe]);return se};const{TextArea:Le}=le.default,Qt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Pn=({value:Re,onChange:ve})=>Ve.createElement(Switch,{checked:Re,onChange:se=>{ve(se)}}),St="@\u2581@",dt="@\u2581\u2581@",Je=({questionTitlePlaceholder:Re,form:ve,scoreByBlank:se=!1,hackidentifier:Oe,answerKey:gt})=>{const[Se,he]=(0,ee.useState)(!1),[Ye,Ne]=(0,ee.useState)(!1),tt=(0,_e.useParams)().type==="edit",_t=(mt,Rt)=>{const Jt=Rt.line;let on=0;for(let yn=0;yn<Jt;yn++)on+=mt.getLine(yn).split(St).length-1;for(let yn=0;yn<Jt;yn++)on+=mt.getLine(yn).split(dt).length-1;const $t=mt.getLine(Jt).substring(0,Rt.ch);return on+=$t.split(St).length-1,on+=$t.split(dt).length-1,on},ft=(mt,Rt,Jt,on)=>{const $t=mt.getRange(Rt.from,Rt.to);let yn=0;if(Rt.text.forEach(Dn=>{yn+=Dn.split(St).length-1}),Rt.text.forEach(Dn=>{yn+=Dn.split(dt).length-1}),Rt.origin!=="setValue"){if($t&&($t.indexOf(St)!==-1||$t.indexOf(dt)!==-1)){const Dn=$t.split(St).length-1+$t.split(dt).length-1,At=_t(mt,Rt.from);if(console.log(`\u5220\u9664${Dn}\u4E2A\uFF0C \u524D\u9762\u6709${At}\u4E2A\uFF0C\u65B0\u589E${yn}\u4E2A`),Dn>1){const xt=Array.from({length:Dn},(Wt,fn)=>At+fn);on(xt)}else on(At)}else if(yn>0){const Dn=_t(mt,Rt.from);console.log(`\u65B0\u589E${yn}\u4E2A\uFF0C\u4E4B\u524D\u6709${Dn}\u4E2A`),Jt(yn,Dn)}}},zt=()=>{const mt=ve.getFieldValue(gt);ve.setFieldsValue({[gt]:mt==null?void 0:mt.map((Rt,Jt)=>pt(Gt({},Rt),{position:Jt+1}))})},Ot=(0,ee.useRef)(),Vt=(mt,Rt)=>{for(let Jt=0;Jt<mt;Jt++)Ot.current({position:null,answer_text:""},Rt+Jt);zt()},be=(0,ee.useRef)(),lt=mt=>{be.current(mt),zt()},ht=Be.default.useWatch(gt,ve);return Ve.createElement("div",{className:vt.Z.wrap},Ve.createElement(Be.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:vt.Z.questionTitleEditorWrap},Ve.createElement(Be.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,Rt)=>{const Jt=ve.getFieldValue(gt);console.log("--preAnswerData",Jt,Rt),ve.setFieldsValue({[gt]:Jt==null?void 0:Jt.map((on,$t)=>{var yn;return pt(Gt({},on),{position:$t+1,multi_line:(yn=Rt==null?void 0:Rt[$t])==null?void 0:yn.multiLine})})})},placeholder:Re,onCMBeforeChange:(mt,Rt)=>{ft(mt,Rt,Vt,lt)}}))),Ve.createElement(Be.default.List,{name:gt,rules:[{validator(mt,Rt){if(!(Rt!=null&&Rt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const Jt of Rt){const{answer_text:on}=Jt||{};if((on==null?void 0:on.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(mt,{add:Rt,remove:Jt},{errors:on})=>(Ot.current=Rt,be.current=Jt,Ve.createElement(Ve.Fragment,null,Ve.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},Ve.createElement(Be.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(($t,yn)=>{var Dn=$t,{key:At,name:xt}=Dn,Wt=Kt(Dn,["key","name"]),fn,sn;return Ve.createElement(Ce.Z,{className:"mb20",key:At,align:"middle",wrap:!1},Ve.createElement(Fe.Z,{flex:"0 0 auto",className:`${vt.Z.blankIndex}`},"\u586B\u7A7A\u9879",yn+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(Be.default.Item,pt(Gt({},Wt),{name:[xt,"answer_text"],noStyle:!0}),(fn=ht==null?void 0:ht[xt])!=null&&fn.multi_line||(sn=ht==null?void 0:ht[xt])!=null&&sn.multiLine?Ve.createElement(Le,{spellCheck:!1,style:{marginLeft:10,width:550}}):Ve.createElement(le.default,{style:{marginLeft:10,width:550},className:vt.Z.blankInput,size:"large",maxLength:1e3,onBlur:Rn=>{}}))),se&&Ve.createElement(Fe.Z,{flex:"224px"},Ve.createElement(Be.default.Item,pt(Gt({},Wt),{name:[xt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Ve.createElement(re.Z,{size:"large",className:vt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),Ve.createElement("div",{onClick:()=>he(!0)},Ve.createElement(Be.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(Be.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"},Qt.map(mt=>Ve.createElement($e.default.Option,{key:mt.title,value:mt.key}," ",mt.title)))),Ve.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},Ve.createElement(Be.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(Be.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(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),Ve.createElement("div",{style:{background:"#F6F7F9",padding:15}},Ve.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},Ve.createElement(Le,{rows:4})),Ve.createElement(Be.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(Le,{rows:4}))),Ve.createElement(qe,{form:ve,answerKey:gt,hackIdentifier:Oe,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"}}}))}},81727:function(Bt,Tt,te){"use strict";te.d(Tt,{u:function(){return ie}});var ee=te(59301),le=te(95237),Be=te(43604),Ge=te(6848),Ce=te(78241),Fe=te(8423),re=te(32134),$e=te(12893),Ue=te(31457),ze=te(59301),_e=Object.defineProperty,vt=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(de,ge,xe)=>ge in de?_e(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:xe}):de[ge]=xe,E=(de,ge)=>{for(var xe in ge||(ge={}))y.call(ge,xe)&&b(de,xe,ge[xe]);if(oe)for(var xe of oe(ge))a.call(ge,xe)&&b(de,xe,ge[xe]);return de},x=(de,ge)=>vt(de,Te(ge)),z=(de,ge)=>{var xe={};for(var pe in de)y.call(de,pe)&&ge.indexOf(pe)<0&&(xe[pe]=de[pe]);if(de!=null&&oe)for(var pe of oe(de))ge.indexOf(pe)<0&&a.call(de,pe)&&(xe[pe]=de[pe]);return xe};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:xe,answerKey:pe,index:we,isEdit:ue,setInputActive:nt,form:De,choiceOptionsPath:Qe,allowChangeMode:ye,showAddIcon:ke,addItem:qe,deleteItem:Xe})=>{console.log(de,"value");const Ve=(de==null?void 0:de[pe])===1,kt=()=>{const Nt=De.getFieldValue(Qe);De.setFieldValue(Qe,Nt.map(Zt=>x(E({},Zt),{[pe]:0})))},st=()=>{Ve?ge(x(E({},de),{[pe]:0})):(ye||kt(),ge(x(E({},de),{[pe]:1})))};return ze.createElement(le.Z,{className:Fe.Z.choiceWrap,align:"middle",wrap:!1},ze.createElement(Be.Z,{onClick:st,className:`${Fe.Z.choiceIndex} ${Ve?Fe.Z.activeAnswer:""}`},ne[we]),ze.createElement(Be.Z,{flex:1,className:`${Fe.Z.editorWrap} ml15`,onClick:nt},ze.createElement(Ue.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ue,value:de==null?void 0:de[xe],onChange:Nt=>{ge(x(E({},de),{[xe]:Nt}))}})),ze.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},ze.createElement("div",{onClick:st,className:`${Fe.Z.setAnswerBtn} ${Ve?Fe.Z.activeAnswer:""}`},Ve?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),ze.createElement(Be.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:we>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:de,titleKey:ge,choiceKey:xe,analysisKey:pe,choiceTextKey:we,answerKey:ue,choiceOptionsPath:nt,allowChangeMode:De=!0,form:Qe,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:xe,rules:[{validator(kt,st){const Nt=st.some(Me=>Me[ue]===1),Zt=st.findIndex(Me=>{var Ze;return((Ze=Me[we])==null?void 0:Ze.length)<=0});return Zt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Zt]}\u9009\u9879\u7684\u5185\u5BB9`)):Nt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(kt,{add:st,remove:Nt})=>ze.createElement("div",{id:Array.isArray(nt)?nt.join("_"):`${nt}`},kt.map((Zt,Me)=>{var Ze=Zt,{key:Et,name:Gt}=Ze,pt=z(Ze,["key","name"]);const Kt=ke===Et,Le=()=>{qe(Et)},Qt=Me<7&&Me===kt.length-1,Pn=()=>st({[we]:"",[ue]:0}),St=()=>Nt(Gt);return ze.createElement(Ce.default.Item,x(E({},pt),{key:Et,name:Gt,className:Fe.Z.choiceListWrap,rules:[{validator(dt,Je){return Je!=null&&Je.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ne[Me]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),ze.createElement(ae,{choiceTextKey:we,answerKey:ue,index:Me,isEdit:Kt,setInputActive:Le,form:Qe,choiceOptionsPath:nt,allowChangeMode:De,showAddIcon:Qt,addItem:Pn,deleteItem:St}))}),kt.length<8&&ze.createElement("div",{className:`${Fe.Z.addBtn} mb30`,onClick:()=>st({[we]:"",[ue]:0})},"\u6DFB\u52A0\u9009\u9879"))),ye&&ze.createElement("div",{onClick:()=>Ve(!0)},ze.createElement(Ce.default.Item,{name:pe,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}))))}},92046:function(Bt,Tt,te){"use strict";te.d(Tt,{u:function(){return De}});var ee=te(59301),le=te(43418),Be=te(95237),Ge=te(43604),Ce=te(92832),Fe=te(6848),re=te(78673),$e=te(78241),Ue=te(5112),ze=te(5871),_e=te(31457),vt=te(12893),Te=te(61485),oe=te(8423),y=te(19105),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ie=(Qe,ye,ke)=>ye in Qe?b(Qe,ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Qe[ye]=ke,de=(Qe,ye)=>{for(var ke in ye||(ye={}))ne.call(ye,ke)&&ie(Qe,ke,ye[ke]);if(z)for(var ke of z(ye))ae.call(ye,ke)&&ie(Qe,ke,ye[ke]);return Qe},ge=(Qe,ye)=>E(Qe,x(ye)),xe=(Qe,ye)=>{var ke={};for(var qe in Qe)ne.call(Qe,qe)&&ye.indexOf(qe)<0&&(ke[qe]=Qe[qe]);if(Qe!=null&&z)for(var qe of z(Qe))ye.indexOf(qe)<0&&ae.call(Qe,qe)&&(ke[qe]=Qe[qe]);return ke};const pe=({value:Qe,onChange:ye})=>{const ke=Xe=>{le.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=[...Qe];Ve.splice(Xe,1),ye(Ve)}})},qe=()=>{const Xe=[...Qe];Xe.push(""),ye(Xe)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ge.Z,{flex:1},Qe==null?void 0:Qe.map((Xe,Ve)=>a.createElement(Be.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 st=[...Qe],Nt=kt.target.value.trim();st[Ve]=Nt,ye(st)}}),a.createElement(Fe.Z,{title:"\u5220\u9664"},a.createElement(vt.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")))},we=({value:Qe,onChange:ye})=>{const ke=Xe=>{le.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=[...Qe];Ve.splice(Xe,1),ye(Ve)}})},qe=()=>{const Xe=[...Qe];Xe.push(""),ye(Xe)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ge.Z,{flex:1},Qe==null?void 0:Qe.map((Xe,Ve)=>a.createElement(Be.Z,{key:`${Xe}_${Ve}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:Xe,style:{flex:1},onChange:kt=>{const st=[...Qe];st[Ve]=kt,ye(st)}}),a.createElement(Fe.Z,{title:"\u5220\u9664"},a.createElement(vt.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:Qe=!0,onChange:ye})=>a.createElement(re.Z,{checked:!Qe,onChange:ke=>{ye(!ke)}}),nt="\u2581",De=({questionTitlePlaceholder:Qe,form:ye,scoreByBlank:ke=!1,answerKey:qe})=>{const[Xe,Ve]=(0,ee.useState)(!1),kt=(pt,Kt)=>{const Le=Kt.line;let Qt=0;for(let St=0;St<Le;St++)Qt+=pt.getLine(St).split(nt).length-1;const Pn=pt.getLine(Le).substring(0,Kt.ch);return Qt+=Pn.split(nt).length-1,Qt},st=(pt,Kt,Le,Qt)=>{const Pn=pt.getRange(Kt.from,Kt.to);let St=0;if(Kt.text.forEach(dt=>{St+=dt.split(nt).length-1}),Kt.origin!=="setValue"){if(Pn&&Pn.indexOf(nt)!==-1){const dt=Pn.split(nt).length-1,Je=kt(pt,Kt.from);if(console.log(`\u5220\u9664${dt}\u4E2A\uFF0C \u524D\u9762\u6709${Je}\u4E2A\uFF0C\u65B0\u589E${St}\u4E2A`),dt>1){const Re=Array.from({length:dt},(ve,se)=>Je+se);Qt(Re)}else Qt(Je)}else if(St>0){const dt=kt(pt,Kt.from);console.log(`\u65B0\u589E${St}\u4E2A\uFF0C\u4E4B\u524D\u6709${dt}\u4E2A`),Le(St,dt)}}},Nt=()=>{const pt=ye.getFieldValue(qe);ye.setFieldsValue({[qe]:pt.map((Kt,Le)=>ge(de({},Kt),{position:Le+1}))})},Zt=(0,ee.useRef)(),Me=(pt,Kt)=>{for(let Le=0;Le<pt;Le++)Zt.current({position:null,answer_text:[""],model:1},Kt+Le);Nt()},Ze=(0,ee.useRef)(),Et=pt=>{Ze.current(pt),Nt()},Gt=$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(_e.h,{scrollId:"name",watch:!0,height:140,placeholder:Qe,showNullButton:!0,onCMBeforeChange:(pt,Kt)=>{st(pt,Kt,Me,Et)}}))),a.createElement($e.default.List,{name:qe,rules:[{validator(pt,Kt){if(!(Kt!=null&&Kt.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Le of Kt){const{answer_text:Qt}=Le||{};if(Qt!=null&&Qt.some(Pn=>(Pn==null?void 0:Pn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(pt,{add:Kt,remove:Le},{errors:Qt})=>(Zt.current=Kt,Ze.current=Le,a.createElement(a.Fragment,null,a.createElement($e.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(pt!=null&&pt.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}}),pt.map((Pn,St)=>{var dt=Pn,{key:Je,name:Re}=dt,ve=xe(dt,["key","name"]),se,Oe;return a.createElement("div",{style:{marginBottom:10},key:Je},a.createElement(Be.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({},ve),{name:[Re,"model"],noStyle:!0}),a.createElement(Ue.ZP.Group,{onChange:()=>{const gt=ye.getFieldValue(qe);ye.setFieldsValue({[qe]:gt.map((Se,he)=>ge(de({},Se),{answer_text:Re===he?[""]: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(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ge.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ge.Z,{flex:1},a.createElement($e.default.Item,ge(de({},ve),{name:[Re,"answer_text"],noStyle:!0}),((Oe=(se=ye.getFieldValue(qe))==null?void 0:se[Re])==null?void 0:Oe.model)===1?a.createElement(pe,null):a.createElement(we,null))),ke&&a.createElement(Ge.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement($e.default.Item,ge(de({},ve),{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({},ve),{name:[Re,"position"],noStyle:!0}),a.createElement(Ce.default,{type:"hidden"})))))})))),a.createElement(Be.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(Be.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")),(Gt==null?void 0:Gt.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Gt==null?void 0:Gt.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(_e.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Xe}))))}},14289:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return z}});var ee=te(59301),le=te(95237),Be=te(43604),Ge=te(78241),Ce=te(8423),Fe=te(31457),re=te(59301),$e=Object.defineProperty,Ue=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,oe=(ne,ae,ie)=>ae in ne?$e(ne,ae,{enumerable:!0,configurable:!0,writable:!0,value:ie}):ne[ae]=ie,y=(ne,ae)=>{for(var ie in ae||(ae={}))vt.call(ae,ie)&&oe(ne,ie,ae[ie]);if(_e)for(var ie of _e(ae))Te.call(ae,ie)&&oe(ne,ie,ae[ie]);return ne},a=(ne,ae)=>Ue(ne,ze(ae)),b=(ne,ae)=>{var ie={};for(var de in ne)vt.call(ne,de)&&ae.indexOf(de)<0&&(ie[de]=ne[de]);if(ne!=null&&_e)for(var de of _e(ne))ae.indexOf(de)<0&&Te.call(ne,de)&&(ie[de]=ne[de]);return ie};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},x=({value:ne,onChange:ae,form:ie})=>{const de=(ne==null?void 0:ne.is_answer)===1,ge=ne==null?void 0:ne.choice_text,xe=()=>{const pe=ie.getFieldsValue().choices.map(we=>({choice_text:we.choice_text,is_answer:0}));ie.setFieldsValue({choices:pe}),ae(a(y({},ne),{is_answer:1}))};return re.createElement(le.Z,{className:Ce.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},re.createElement(Be.Z,{onClick:xe,className:`${Ce.Z.choiceIndex} ${Ce.Z.judgementIndex} ${de?Ce.Z.activeAnswer:""}`},E[ge]),re.createElement(Be.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(Be.Z,{flex:"0 0 auto",className:"ml15"},re.createElement("div",{onClick:xe,className:`${Ce.Z.setAnswerBtn} ${de?Ce.Z.activeAnswer:""}`},de?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},z=({questionTitlePlaceholder:ne,choiceKey:ae,form:ie})=>{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(xe,pe){return pe.some(ue=>(ue==null?void 0:ue.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},xe=>re.createElement("div",{id:"choices"},xe.map(pe=>{var we=pe,{key:ue,name:nt}=we,De=b(we,["key","name"]);return re.createElement(Ge.default.Item,a(y({},De),{key:ue,name:nt,noStyle:!0}),re.createElement(x,{form:ie}))})))),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}))))}},31457:function(Bt,Tt,te){"use strict";te.d(Tt,{h:function(){return y},x:function(){return a}});var ee=te(39793),le=te(8423),Be=te(91842),Ge=te(59301),Ce=Object.defineProperty,Fe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,_e=(b,E,x)=>E in b?Ce(b,E,{enumerable:!0,configurable:!0,writable:!0,value:x}):b[E]=x,vt=(b,E)=>{for(var x in E||(E={}))Ue.call(E,x)&&_e(b,x,E[x]);if($e)for(var x of $e(E))ze.call(E,x)&&_e(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(vt({},ae),{defaultValue:x,onChange:(ie,de)=>{de!=null&&de.length?z(ie,de):z(ie)}})))},a=({value:b,onChange:E,placeholder:x,height:z=140,isEdit:ne,miniToolbar:ae,watch:ie=!0})=>ne?Ge.createElement(ee.Z,{watch:ie,isFocus:!0,height:z||void 0,placeholder:x,defaultValue:b,onChange:E,miniToolbar:ae}):Ge.createElement("div",{style:{cursor:"pointer"}},b?Ge.createElement(Be.Z,{className:le.Z.inputBorder,value:b}):Ge.createElement("div",{className:`${le.Z.inputBorder} ${le.Z.placeholder} inputBorderError`},x))},44272:function(Bt,Tt,te){"use strict";te.d(Tt,{W:function(){return we}});var ee=te(59301),le=te(8591),Be=te(12563),Ge=te(78241),Ce=te(78673),Fe=te(95237),re=te(43604),$e=te(6848),Ue=te(92832),ze=te(5871),_e=te(8423),vt=te(31457),Te=te(39793),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,nt,De)=>nt in ue?y(ue,nt,{enumerable:!0,configurable:!0,writable:!0,value:De}):ue[nt]=De,ae=(ue,nt)=>{for(var De in nt||(nt={}))x.call(nt,De)&&ne(ue,De,nt[De]);if(E)for(var De of E(nt))z.call(nt,De)&&ne(ue,De,nt[De]);return ue},ie=(ue,nt)=>a(ue,b(nt)),de=(ue,nt)=>{var De={};for(var Qe in ue)x.call(ue,Qe)&&nt.indexOf(Qe)<0&&(De[Qe]=ue[Qe]);if(ue!=null&&E)for(var Qe of E(ue))nt.indexOf(Qe)<0&&z.call(ue,Qe)&&(De[Qe]=ue[Qe]);return De};const ge=ue=>{var nt=ue,{value:De,onChange:Qe}=nt,ye=de(nt,["value","onChange"]);const ke=qe=>{Qe([qe])};return ee.createElement(Te.Z,ie(ae({},ye),{defaultValue:De==null?void 0:De[0],onChange:ke}))},xe=ue=>{if(!ue)return!1;if(/^s*$/.test(ue)||ue.trim()===""){le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let nt=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==="|"?(le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},pe=({value:ue=[],onClose:nt})=>ee.createElement(Be.default,{closable:!0,onClose:nt,className:_e.Z.keywordTag},ee.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ue.join(" \u6216 "))),we=({questionTitlePlaceholder:ue,form:nt,showKeywords:De,isMustKeyWords:Qe=De})=>{const[ye,ke]=(0,ee.useState)(!1),[qe,Xe]=(0,ee.useState)(""),Ve=Ge.default.useWatch("use_keywords",nt),kt=Ge.default.useWatch("question_score",nt);return ee.createElement("div",{className:_e.Z.wrap},ee.createElement("div",{className:_e.Z.questionTitleEditorWrap},ee.createElement(Ge.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ee.createElement(vt.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&&!Qe&&ee.createElement(Ge.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},ee.createElement(Ce.Z,{defaultChecked:!0})),De&&Qe&&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||!Qe)&&ee.createElement(Ge.default.List,{name:"keywords",rules:[{validator(st,Nt){return Qe?Nt!=null&&Nt.length?(Nt==null?void 0:Nt.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()}}]},(st,{add:Nt,remove:Zt})=>ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${_e.Z.title} mb10`},Qe?"\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,Et,Gt,pt;const Kt=`${(Ze=Me.target)==null?void 0:Ze.value}`,Le=(Gt=(Et=Kt==null?void 0:Kt.split("|"))==null?void 0:Et.filter(St=>!!St))==null?void 0:Gt.map(St=>St==null?void 0:St.trim()),Qt=nt.getFieldValue("keywords"),Pn=((pt=Qt==null?void 0:Qt.map(St=>St==null?void 0:St.keyword))==null?void 0:pt.flat())||[];for(const St of Le)if(Pn.includes(St)){le.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}xe(Kt)&&(Nt({keyword:Le,score:1}),Xe(""))},className:_e.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")),st.map(Me=>{var Ze=Me,{key:Et,name:Gt}=Ze,pt=de(Ze,["key","name"]);return ee.createElement(Fe.Z,{key:Et,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,ie(ae({},pt),{name:[Gt,"keyword"]}),ee.createElement(pe,{onClose:()=>Zt(Gt)})),Qe&&ee.createElement(Ge.default.Item,ie(ae({},pt),{name:[Gt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:_e.Z.blankInputNumberWrapper}),ee.createElement(ze.Z,{className:_e.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(vt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ye}))))}},77762:function(Bt,Tt,te){"use strict";te.d(Tt,{tc:function(){return Dn.t},uh:function(){return ee.u},rL:function(){return yn},u8:function(){return Be.u},ZZ:function(){return le.Z},Wk:function(){return Ge.W}});var ee=te(81727),le=te(14289),Be=te(92046),Ge=te(44272),Ce=te(59301),Fe=te(36381),re=te(78241),$e=te(95237),Ue=te(43604),ze=te(5871),_e=te(6848),vt=te(38854),Te=te(8423),oe=te(12893),y=te(31457),a=te(43418),b=te(92832),E=te(78673),x=te(59301),z=Object.defineProperty,ne=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,xe=(At,xt,Wt)=>xt in At?z(At,xt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):At[xt]=Wt,pe=(At,xt)=>{for(var Wt in xt||(xt={}))de.call(xt,Wt)&&xe(At,Wt,xt[Wt]);if(ie)for(var Wt of ie(xt))ge.call(xt,Wt)&&xe(At,Wt,xt[Wt]);return At},we=(At,xt)=>ne(At,ae(xt)),ue=(At,xt)=>{var Wt={};for(var fn in At)de.call(At,fn)&&xt.indexOf(fn)<0&&(Wt[fn]=At[fn]);if(At!=null&&ie)for(var fn of ie(At))xt.indexOf(fn)<0&&ge.call(At,fn)&&(Wt[fn]=At[fn]);return Wt};const nt=({value:At,onChange:xt})=>{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 Rn=[...At];Rn.splice(sn,1),xt(Rn)}})},fn=()=>{const sn=[...At];sn.push(""),xt(sn)};return x.createElement($e.Z,{className:"ml20"},x.createElement(Ue.Z,{flex:1},At==null?void 0:At.map((sn,Rn)=>x.createElement($e.Z,{key:`${sn}_${Rn}`,align:"middle",className:"mb20"},x.createElement(b.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:sn,autoSize:{maxRows:3},maxLength:1e3,onBlur:ot=>{const Pt=[...At],an=ot.target.value.trim();Pt[Rn]=an,xt(Pt)}}),x.createElement(_e.Z,{title:"\u5220\u9664"},x.createElement(oe.Z,{className:Te.Z.deleteIcon,style:{marginLeft:15,visibility:Rn>0?"visible":"hidden"},onClick:()=>Wt(Rn)}))))),x.createElement(Ue.Z,null,x.createElement("div",{className:`${Te.Z.addBtn}`,onClick:()=>{fn()}},"\u65B0\u589E\u7B54\u6848")))},De=({value:At=!0,onChange:xt})=>x.createElement(E.Z,{checked:!At,onChange:Wt=>{xt(!Wt)}}),Qe="\u2581",ye=({questionTitlePlaceholder:At,form:xt,name:Wt,scoreByBlank:fn=!1,answerKey:sn,titleKey:Rn="name",analysisKey:ot="analysis",isOrdered:Pt="is_ordered"})=>{var an,vn;const[Pe,We]=(0,Ce.useState)(!1),it=(ut,Ht)=>{const Dt=Ht.line;let pn=0;for(let tn=0;tn<Dt;tn++)pn+=ut.getLine(tn).split(Qe).length-1;const mn=ut.getLine(Dt).substring(0,Ht.ch);return pn+=mn.split(Qe).length-1,pn},ct=(ut,Ht,Dt,pn)=>{const mn=ut.getRange(Ht.from,Ht.to);let tn=0;if(Ht.text.forEach(Cn=>{tn+=Cn.split(Qe).length-1}),Ht.origin!=="setValue"){if(mn&&mn.indexOf(Qe)!==-1){const Cn=mn.split(Qe).length-1,Qn=it(ut,Ht.from);if(console.log(`\u5220\u9664${Cn}\u4E2A\uFF0C \u524D\u9762\u6709${Qn}\u4E2A\uFF0C\u65B0\u589E${tn}\u4E2A`),Cn>1){const ln=Array.from({length:Cn},(Hn,qn)=>Qn+qn);pn(ln)}else pn(Qn)}else if(tn>0){const Cn=it(ut,Ht.from);console.log(`\u65B0\u589E${tn}\u4E2A\uFF0C\u4E4B\u524D\u6709${Cn}\u4E2A`),Dt(tn,Cn)}}},Ft=()=>{const ut=xt.getFieldValue(["sub_item_banks",...sn]);xt.setFieldValue(["sub_item_banks",...sn],ut==null?void 0:ut.map((Ht,Dt)=>we(pe({},Ht),{position:Dt+1})))},Xt=(0,Ce.useRef)(),bt=(ut,Ht)=>{for(let Dt=0;Dt<ut;Dt++)Xt.current({position:null,answer_text:[""]},Ht+Dt);Ft()},je=(0,Ce.useRef)(),Ke=ut=>{je.current(ut),Ft()},Ie=(vn=(an=xt.getFieldValue("sub_item_banks"))==null?void 0:an[sn==null?void 0:sn[0]])==null?void 0:vn[sn==null?void 0:sn[1]];return(0,Ce.useEffect)(()=>{console.log("========",xt.getFieldsValue())},[xt]),x.createElement("div",{className:Te.Z.wrap},x.createElement("div",{className:Te.Z.questionTitleEditorWrap},x.createElement(re.default.Item,{label:"\u9898\u5E72",name:Rn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:At,showNullButton:!0,onCMBeforeChange:(ut,Ht)=>{ct(ut,Ht,bt,Ke)}}))),x.createElement(re.default.List,{name:sn,rules:[{validator(ut,Ht){if((Ht==null?void 0:Ht.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Dt of Ht){const{answer_text:pn}=Dt||{};if(pn!=null&&pn.some(mn=>(mn==null?void 0:mn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ut,{add:Ht,remove:Dt},{errors:pn})=>(Xt.current=Ht,je.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((mn,tn)=>{var Cn=mn,{key:Qn,name:ln}=Cn,Hn=ue(Cn,["key","name"]);return x.createElement($e.Z,{align:"top",key:Qn},x.createElement(Ue.Z,{className:`${Te.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",tn+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,we(pe({},Hn),{name:[ln,"answer_text"],noStyle:!0}),x.createElement(nt,null))),fn&&x.createElement(Ue.Z,{flex:"224px"},x.createElement(re.default.Item,we(pe({},Hn),{name:[ln,"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,we(pe({},Hn),{name:[ln,"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:Pt},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:ot,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:Pe}))))};var ke=te(59301),qe=Object.defineProperty,Xe=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Zt=(At,xt,Wt)=>xt in At?qe(At,xt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):At[xt]=Wt,Me=(At,xt)=>{for(var Wt in xt||(xt={}))st.call(xt,Wt)&&Zt(At,Wt,xt[Wt]);if(kt)for(var Wt of kt(xt))Nt.call(xt,Wt)&&Zt(At,Wt,xt[Wt]);return At},Ze=(At,xt)=>Xe(At,Ve(xt)),Et=(At,xt)=>{var Wt={};for(var fn in At)st.call(At,fn)&&xt.indexOf(fn)<0&&(Wt[fn]=At[fn]);if(At!=null&&kt)for(var fn of kt(At))xt.indexOf(fn)<0&&Nt.call(At,fn)&&(Wt[fn]=At[fn]);return Wt};const Gt={\u6B63\u786E:"T",\u9519\u8BEF:"F"},pt=({value:At,onChange:xt,form:Wt,choiceKey:fn})=>{const sn=(At==null?void 0:At.is_answer)===1,Rn=At==null?void 0:At.choice_text,ot=()=>{var Pt;const an=(Pt=Wt==null?void 0:Wt.getFieldValue(["sub_item_banks",...fn]))==null?void 0:Pt.map(vn=>({choice_text:vn.choice_text,is_answer:0}));Wt==null||Wt.setFieldValue(["sub_item_banks",...fn],an),xt(Ze(Me({},At),{is_answer:1}))};return ke.createElement($e.Z,{className:Te.Z.choiceWrap,align:"middle",wrap:!1},ke.createElement(Ue.Z,{onClick:ot,className:`${Te.Z.choiceIndex} ${Te.Z.judgementIndex} ${sn?Te.Z.activeAnswer:""}`},Gt[Rn]),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:""}`},Rn)),ke.createElement(Ue.Z,{flex:"0 0 auto",className:"ml15"},ke.createElement("div",{onClick:ot,className:`${Te.Z.setAnswerBtn} ${sn?Te.Z.activeAnswer:""}`},sn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Kt=({questionTitlePlaceholder:At,choiceKey:xt="choices",form:Wt,titleKey:fn="name",analysisKey:sn="analysis"})=>{const[Rn,ot]=(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:fn,labelCol:{span:24},rules:[{required:!0}]},ke.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:At}))),ke.createElement(re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},ke.createElement(re.default.List,{name:xt,rules:[{validator(Pt,an){return an.some(Pe=>(Pe==null?void 0:Pe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Pt=>ke.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Pt.map(an=>{var vn=an,{key:Pe,name:We}=vn,it=Et(vn,["key","name"]);return ke.createElement(re.default.Item,Ze(Me({},it),{key:Pe,name:We,noStyle:!0}),ke.createElement(pt,{form:Wt,choiceKey:xt}))})))),ke.createElement("div",{className:"mt30",onClick:()=>ot(!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:Rn}))))};var Le=te(8591),Qt=te(12563),Pn=te(39793),St=te(61485),dt=Object.defineProperty,Je=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,gt=(At,xt,Wt)=>xt in At?dt(At,xt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):At[xt]=Wt,Se=(At,xt)=>{for(var Wt in xt||(xt={}))se.call(xt,Wt)&>(At,Wt,xt[Wt]);if(ve)for(var Wt of ve(xt))Oe.call(xt,Wt)&>(At,Wt,xt[Wt]);return At},he=(At,xt)=>Je(At,Re(xt)),Ye=(At,xt)=>{var Wt={};for(var fn in At)se.call(At,fn)&&xt.indexOf(fn)<0&&(Wt[fn]=At[fn]);if(At!=null&&ve)for(var fn of ve(At))xt.indexOf(fn)<0&&Oe.call(At,fn)&&(Wt[fn]=At[fn]);return Wt};const Ne=At=>{var xt=At,{value:Wt,onChange:fn}=xt,sn=Ye(xt,["value","onChange"]);const Rn=ot=>{fn([ot])};return Ce.createElement(Pn.Z,he(Se({},sn),{defaultValue:Wt==null?void 0:Wt[0],onChange:Rn}))},Ee=At=>{if(!At)return!1;let xt=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 At==="|"?(Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},tt=({value:At=[],onClose:xt})=>Ce.createElement(Qt.default,{closable:!0,onClose:xt,className:Te.Z.keywordTag},Ce.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},At.join(" \u6216 "))),_t=({questionTitlePlaceholder:At,form:xt,showKeywords:Wt,isMustKeyWords:fn=Wt,titleKey:sn="name",analysisKey:Rn="analysis",answerTexts:ot="answer_texts",keywords:Pt="keywords",useKeywords:an="use_keywords",indexs:vn})=>{const[Pe,We]=(0,Ce.useState)(!1),[it,ct]=(0,Ce.useState)(""),[Ft,Xt]=(0,Ce.useState)(!1),bt=re.default.useWatch("question_score",xt);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:At}))),Ce.createElement(re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ot,labelCol:{span:24}},Ce.createElement(Ne,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Wt&&!fn&&Ce.createElement(re.default.Item,{hidden:!0,name:an,valuePropName:"checked"},Ce.createElement(E.Z,{defaultChecked:!0})),Wt&&fn&&Ce.createElement($e.Z,{align:"middle",className:"mb30"},Ce.createElement(re.default.Item,{name:an,valuePropName:"checked"},Ce.createElement(E.Z,{onChange:()=>{var je,Ke,Ie,ut,Ht,Dt;console.log(xt.getFieldsValue()),Xt((Ie=(Ke=(je=xt.getFieldsValue())==null?void 0:je.sub_item_banks)==null?void 0:Ke[vn])==null?void 0:Ie.use_keywords),console.log((Dt=(Ht=(ut=xt.getFieldsValue())==null?void 0:ut.sub_item_banks)==null?void 0:Ht[vn])==null?void 0:Dt.use_keywords),console.log(Ft)}})),Ce.createElement(Ue.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Ce.createElement(Ue.Z,null,Ce.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"},Ce.createElement(St.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Ft||!fn)&&Ce.createElement(re.default.List,{name:Pt,rules:[{validator(je,Ke){return fn?Ke!=null&&Ke.length?(Ke==null?void 0:Ke.reduce((ut,Ht)=>ut+Ht.score,0))>parseFloat(bt)?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()}}]},(je,{add:Ke,remove:Ie})=>Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:`${Te.Z.title} mb10`},fn?"\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:it,onChange:ut=>{ct(ut.target.value)},maxLength:50,allowClear:!0,onPressEnter:ut=>{var Ht,Dt,pn,mn;const tn=`${(Ht=ut.target)==null?void 0:Ht.value}`,Cn=(pn=(Dt=tn==null?void 0:tn.split("|"))==null?void 0:Dt.filter(Hn=>!!Hn))==null?void 0:pn.map(Hn=>Hn==null?void 0:Hn.trim()),Qn=xt.getFieldValue(["sub_item_banks",...Pt]),ln=((mn=Qn==null?void 0:Qn.map(Hn=>Hn==null?void 0:Hn.keyword))==null?void 0:mn.flat())||[];for(const Hn of Cn)if(ln.includes(Hn)){Le.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ee(tn)&&(Ke({keyword:Cn,score:1}),ct(""))},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")),je.map(ut=>{var Ht=ut,{key:Dt,name:pn}=Ht,mn=Ye(Ht,["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,he(Se({},mn),{name:[pn,"keyword"]}),Ce.createElement(tt,{onClose:()=>Ie(pn)})),fn&&Ce.createElement(re.default.Item,he(Se({},mn),{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:Rn,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:Pe}))))};var ft=te(59301),zt=Object.defineProperty,Ot=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,mt=(At,xt,Wt)=>xt in At?zt(At,xt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):At[xt]=Wt,Rt=(At,xt)=>{for(var Wt in xt||(xt={}))lt.call(xt,Wt)&&mt(At,Wt,xt[Wt]);if(be)for(var Wt of be(xt))ht.call(xt,Wt)&&mt(At,Wt,xt[Wt]);return At},Jt=(At,xt)=>Ot(At,Vt(xt)),on=(At,xt)=>{var Wt={};for(var fn in At)lt.call(At,fn)&&xt.indexOf(fn)<0&&(Wt[fn]=At[fn]);if(At!=null&&be)for(var fn of be(At))xt.indexOf(fn)<0&&ht.call(At,fn)&&(Wt[fn]=At[fn]);return Wt};const{Panel:$t}=Fe.default,yn=({questionTitlePlaceholder:At,choiceKey:xt,form:Wt,withScore:fn})=>{const[sn,Rn]=(0,Ce.useState)([]),ot=Pt=>{Rn(Pt)};return ft.createElement("div",{className:Te.Z.wrap},ft.createElement("div",{className:Te.Z.questionTitleEditorWrap},ft.createElement(re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ft.createElement(y.h,{scrollId:"name",watch:!0,height:140,placeholder:At}))),ft.createElement(re.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),ft.createElement(re.default.List,{name:"sub_item_banks",rules:[{validator(Pt,an){return an?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Pt,{add:an,remove:vn,move:Pe})=>{const We=Wt.getFieldValue("sub_item_banks");return ft.createElement(ft.Fragment,null,ft.createElement(Fe.default,{className:Pt.length>0?Te.Z.collapseWrapper:"",bordered:!1,activeKey:sn,onChange:ot,expandIcon:({isActive:it})=>ft.createElement("i",{className:`iconfont icon-weizhankai ${it?Te.Z.open:Te.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Pt.map((it,ct)=>{var Ft=it,{key:Xt,name:bt}=Ft,je=on(Ft,["key","name"]),Ke,Ie,ut,Ht,Dt,pn,mn,tn,Cn,Qn;return ft.createElement($t,{className:Te.Z.panel,forceRender:!0,header:ft.createElement("div",{className:Te.Z.panelHeader},"\u7B2C",ct+1,"\u5C0F\u9898",ft.createElement("span",null,"\uFF08",((Ke=We==null?void 0:We[bt])==null?void 0:Ke.item_type)=="SINGLE"?"\u5355\u9009\u9898":((Ie=We==null?void 0:We[bt])==null?void 0:Ie.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((ut=We==null?void 0:We[bt])==null?void 0:ut.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((Ht=We==null?void 0:We[bt])==null?void 0:Ht.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:bt,extra:ft.createElement($e.Z,{align:"middle",onClick:ln=>ln.stopPropagation()},fn&&ft.createElement(Ue.Z,null,ft.createElement(re.default.Item,Jt(Rt({},je),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[bt,"question_score"],className:Te.Z.blankInputNumberWrapper}),ft.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}}))),ft.createElement(Ue.Z,null,ft.createElement($e.Z,{align:"middle",className:"pl40",justify:"end"},ct!==0&&ft.createElement("div",{onClick:()=>{var ln;Pe(ct,ct-1);const Hn=(ln=Wt.getFieldValue("sub_item_banks"))==null?void 0:ln.map((qn,ua)=>(Pt.map((ta,et)=>{ua===et&&(qn.q_position=Number(ta.name)+1)}),qn));Wt.setFieldValue("sub_item_banks",Hn)}},ft.createElement(_e.Z,{title:"\u4E0A\u79FB"},ft.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),ct<Pt.length-1&&ft.createElement("div",{onClick:()=>{var ln;Pe(ct,ct+1);const Hn=(ln=Wt.getFieldValue("sub_item_banks"))==null?void 0:ln.map((qn,ua)=>(Pt.map((ta,et)=>{ua===et&&(qn.q_position=Number(ta.name)+1)}),qn));Wt.setFieldValue("sub_item_banks",Hn)},className:ct===0?"":"ml15"},ft.createElement(_e.Z,{title:"\u4E0B\u79FB"},ft.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),ft.createElement(Ue.Z,null,ft.createElement(_e.Z,{title:"\u5220\u9664"},ft.createElement(oe.Z,{className:`${Te.Z.deleteIcon} ml15`,onClick:()=>vn(bt)}))))},ft.createElement(re.default.Item,Jt(Rt({},je),{name:bt}),(((Dt=We==null?void 0:We[bt])==null?void 0:Dt.item_type)=="SINGLE"||((pn=We==null?void 0:We[bt])==null?void 0:pn.item_type)=="MULTIPLE")&&ft.createElement(ee.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((mn=We==null?void 0:We[bt])==null?void 0:mn.item_type)=="MULTIPLE",form:Wt,choiceKey:[bt,"choices"],titleKey:[bt,"name"],analysisKey:[bt,"analysis"],choiceOptionsPath:["sub_item_banks",bt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((tn=We==null?void 0:We[bt])==null?void 0:tn.item_type)=="COMPLETION"&&ft.createElement(ye,{form:Wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:bt,titleKey:[bt,"name"],analysisKey:[bt,"analysis"],isOrdered:[bt,"is_ordered"],answerKey:[bt,"standard_answers"]}),((Cn=We==null?void 0:We[bt])==null?void 0:Cn.item_type)=="JUDGMENT"&&ft.createElement(Kt,{form:Wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[bt,"name"],analysisKey:[bt,"analysis"],choiceKey:[bt,"choices"]}),((Qn=We==null?void 0:We[bt])==null?void 0:Qn.item_type)=="SUBJECTIVE"&&ft.createElement(_t,{showKeywords:!0,isMustKeyWords:!1,form:Wt,titleKey:[bt,"name"],analysisKey:[bt,"analysis"],answerTexts:[bt,"answer_texts"],useKeywords:[bt,"use_keywords"],keywords:[bt,"keywords"],indexs:bt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Pt.length<20&&ft.createElement(vt.Z,{menu:{items:[{label:ft.createElement("div",{onClick:()=>{an({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),Rn([Pt==null?void 0:Pt.length,...sn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:ft.createElement("div",{onClick:()=>{an({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),Rn([Pt==null?void 0:Pt.length,...sn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:ft.createElement("div",{onClick:()=>{an({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),Rn([Pt==null?void 0:Pt.length,...sn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:ft.createElement("div",{onClick:()=>{an({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),Rn([Pt==null?void 0:Pt.length,...sn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:ft.createElement("div",{onClick:()=>{an({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),Rn([Pt==null?void 0:Pt.length,...sn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(it=>it.show).map(it=>({label:it.label,key:it.key}))}},ft.createElement("div",{className:`${Te.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Dn=te(68571)},69720:function(Bt,Tt,te){"use strict";te.d(Tt,{h:function(){return ne}});var ee=te(59301),le=te(57809),Be=te(78241),Ge=te(3113),Ce=te(89780),Fe=te.n(Ce),re=te(8336),$e=te(12469),Ue=Object.defineProperty,ze=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,vt=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(ae,ie,de)=>ie in ae?Ue(ae,ie,{enumerable:!0,configurable:!0,writable:!0,value:de}):ae[ie]=de,a=(ae,ie)=>{for(var de in ie||(ie={}))Te.call(ie,de)&&y(ae,de,ie[de]);if(vt)for(var de of vt(ie))oe.call(ie,de)&&y(ae,de,ie[de]);return ae},b=(ae,ie)=>ze(ae,_e(ie));const E=le.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"]};Tt.Z=({callback:ae,onCancel:ie})=>{const[de,ge]=(0,ee.useState)("python");function xe(we){ge(z[we][1])}function pe(we){ae(we)}return ee.createElement(Be.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:pe,style:{width:500}}),ee.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(le.default,{getPopupContainer:we=>we.parentNode,onChange:xe},Object.keys(z).map(we=>ee.createElement(E,{key:we,value:we},z[we][0])))),ee.createElement(Be.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:ie},"\u53D6\u6D88")))};function ne({value:ae,onChange:ie,mode:de,options:ge={}}){const xe=(0,ee.useRef)(),[pe,we]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(pe){let ue=function(nt){const De=nt.getValue();ie&&ie(De)};return pe.on("change",ue),()=>{pe.off("change",ue)}}},[pe,ie]),(0,ee.useEffect)(()=>{pe&&pe.setOption("mode",de)},[pe,de]),(0,ee.useEffect)(()=>{pe&&(ae!==pe.getValue()||ae==="")&&setTimeout(()=>{pe.setValue(ae||"")},300)},[pe,ae]),(0,ee.useEffect)(()=>{if(xe.current&&!pe){const ue=Fe().fromTextArea(xe.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));we(ue)}},[xe.current,pe]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:xe}))}},39793:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return bt}});var ee=te(59301),le=te(89780),Be=te.n(le),Ge=te(76374),Ce=te(8336),Fe=te(6313),re=te(25717),$e=te(99498),Ue=te(25419),ze=te(67549),_e=te(91842),vt=({value:je="",className:Ke,showTextOnly:Ie,showLines:ut,style:Ht={}})=>{const Dt=(0,ee.useMemo)(()=>"",[je]);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=(je,Ke,Ie)=>Ke in je?oe(je,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):je[Ke]=Ie,ne=(je,Ke)=>{for(var Ie in Ke||(Ke={}))E.call(Ke,Ie)&&z(je,Ie,Ke[Ie]);if(b)for(var Ie of b(Ke))x.call(Ke,Ie)&&z(je,Ie,Ke[Ie]);return je},ae=(je,Ke)=>y(je,a(Ke));let ie=[{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:je,title:Ke,icon:Ie,actionName:ut,className:Ht="",children:Dt}){function pn(){je(ut)}return Te.createElement("a",{title:Ke,className:Ht,onClick:pn},Te.createElement("i",{className:`${Ie}`}),Dt)}var ge=({watch:je,showNullButton:Ke,showNullProgramButton:Ie,onActionCallback:ut,fullScreen:Ht,insertTemp:Dt,hidetoolBar:pn,extraUse:mn})=>{const tn=[...ie,{title:`${je?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${je?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Te.createElement("ul",{className:"markdown-toolbar-container"},!pn&&tn.map((Cn,Qn)=>Te.createElement("li",{key:Qn},Cn.actionName?Te.createElement(de,ae(ne({},Cn),{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"))),mn&&Te.createElement("li",null,mn),Te.createElement("li",{className:"btn-full-screen"},Te.createElement(de,{icon:`${Ht?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ht?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ut})))},xe=te(91558),pe=te(78241),we=te(92832),ue=te(3113),nt=Object.defineProperty,De=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Xe=(je,Ke,Ie)=>Ke in je?nt(je,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):je[Ke]=Ie,Ve=(je,Ke)=>{for(var Ie in Ke||(Ke={}))ke.call(Ke,Ie)&&Xe(je,Ie,Ke[Ie]);if(ye)for(var Ie of ye(Ke))qe.call(Ke,Ie)&&Xe(je,Ie,Ke[Ie]);return je},kt=(je,Ke)=>De(je,Qe(Ke));const st={labelCol:{span:4},wrapperCol:{span:20}};var Nt=({callback:je,onCancel:Ke})=>{function Ie(ut){je(ut)}return ee.createElement(pe.default,kt(Ve({},st),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ie,style:{width:500}}),ee.createElement(pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(we.default,null)),ee.createElement(pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(we.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")))},Zt=te(69720),Me=te(17077),Ze=te(43418),Et=te(95237),Gt=te(9507),pt=te(59301),Kt=({callback:je,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 Ht=Ie.toDataURL("image/png");return pt.createElement(Ze.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},pt.createElement(Et.Z,{style:{height:"100vh"}},pt.createElement(Gt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ht,visible:!0,title:String(Date.now())},onOk:Dt=>{je({src:Dt.url})},onClose:Ke})))},Le=te(12378);function Qt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Qt,go.CommandHandler),Qt.prototype.canAlignSelection=function(){var je=this.diagram;return!(je===null||je.isReadOnly||je.isModelReadOnly||je.selection.count<2)},Qt.prototype.alignLeft=function(){var je=this.diagram;je.startTransaction("aligning left");var Ke=1/0;je.selection.each(function(Ie){Ie instanceof go.Link||(Ke=Math.min(Ie.position.x,Ke))}),je.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ke,Ie.position.y))}),je.commitTransaction("aligning left")},Qt.prototype.alignRight=function(){var je=this.diagram;je.startTransaction("aligning right");var Ke=-1/0;je.selection.each(function(Ie){if(!(Ie instanceof go.Link)){var ut=Ie.actualBounds.x+Ie.actualBounds.width;Ke=Math.max(ut,Ke)}}),je.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ke-Ie.actualBounds.width,Ie.position.y))}),je.commitTransaction("aligning right")},Qt.prototype.alignTop=function(){var je=this.diagram;je.startTransaction("alignTop");var Ke=1/0;je.selection.each(function(Ie){Ie instanceof go.Link||(Ke=Math.min(Ie.position.y,Ke))}),je.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ie.position.x,Ke))}),je.commitTransaction("alignTop")},Qt.prototype.alignBottom=function(){var je=this.diagram;je.startTransaction("aligning bottom");var Ke=-1/0;je.selection.each(function(Ie){if(!(Ie instanceof go.Link)){var ut=Ie.actualBounds.y+Ie.actualBounds.height;Ke=Math.max(ut,Ke)}}),je.selection.each(function(Ie){Ie instanceof go.Link||Ie.move(new go.Point(Ie.actualBounds.x,Ke-Ie.actualBounds.height))}),je.commitTransaction("aligning bottom")},Qt.prototype.alignCenterX=function(){var je=this.diagram,Ke=je.selection.first();if(Ke){je.startTransaction("aligning Center X");var Ie=Ke.actualBounds.x+Ke.actualBounds.width/2;je.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(Ie-ut.actualBounds.width/2,ut.actualBounds.y))}),je.commitTransaction("aligning Center X")}},Qt.prototype.alignCenterY=function(){var je=this.diagram,Ke=je.selection.first();if(Ke){je.startTransaction("aligning Center Y");var Ie=Ke.actualBounds.y+Ke.actualBounds.height/2;je.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(ut.actualBounds.x,Ie-ut.actualBounds.height/2))}),je.commitTransaction("aligning Center Y")}},Qt.prototype.alignColumn=function(je){var Ke=this.diagram;Ke.startTransaction("align Column"),je===void 0&&(je=0),je=parseFloat(je);var Ie=new Array;Ke.selection.each(function(mn){mn instanceof go.Link||Ie.push(mn)});for(var ut=0;ut<Ie.length-1;ut++){var Ht=Ie[ut],Dt=Ht.actualBounds.y+Ht.actualBounds.height+je,pn=Ie[ut+1];pn.move(new go.Point(Ht.actualBounds.x,Dt))}Ke.commitTransaction("align Column")},Qt.prototype.alignRow=function(je){je===void 0&&(je=0),je=parseFloat(je);var Ke=this.diagram;Ke.startTransaction("align Row");var Ie=new Array;Ke.selection.each(function(mn){mn instanceof go.Link||Ie.push(mn)});for(var ut=0;ut<Ie.length-1;ut++){var Ht=Ie[ut],Dt=Ht.actualBounds.x+Ht.actualBounds.width+je,pn=Ie[ut+1];pn.move(new go.Point(Dt,Ht.actualBounds.y))}Ke.commitTransaction("align Row")},Qt.prototype.canRotate=function(je){var Ke=this.diagram;return!(Ke===null||Ke.isReadOnly||Ke.isModelReadOnly||Ke.selection.count<1)},Qt.prototype.rotate=function(je){je===void 0&&(je=90);var Ke=this.diagram;Ke.startTransaction("rotate "+je.toString());var Ke=this.diagram;Ke.selection.each(function(Ie){Ie instanceof go.Link||Ie instanceof go.Group||(Ie.angle+=je)}),Ke.commitTransaction("rotate "+je.toString())},Qt.prototype.pullToFront=function(){var je=this.diagram;je.startTransaction("pullToFront");var Ke=new go.Map;je.selection.each(function(Ie){Ke.set(Ie.layer,0)}),Ke.iteratorKeys.each(function(Ie){var ut=0;Ie.parts.each(function(Ht){if(!Ht.isSelected){var Dt=Ht.zOrder;isNaN(Dt)?Ht.zOrder=0:ut=Math.max(ut,Dt)}}),Ke.set(Ie,ut)}),je.selection.each(function(Ie){Qt._assignZOrder(Ie,Ke.get(Ie.layer)+1)}),je.commitTransaction("pullToFront")},Qt.prototype.pushToBack=function(){var je=this.diagram;je.startTransaction("pushToBack");var Ke=new go.Map;je.selection.each(function(Ie){Ke.set(Ie.layer,0)}),Ke.iteratorKeys.each(function(Ie){var ut=0;Ie.parts.each(function(Ht){if(!Ht.isSelected){var Dt=Ht.zOrder;isNaN(Dt)?Ht.zOrder=0:ut=Math.min(ut,Dt)}}),Ke.set(Ie,ut)}),je.selection.each(function(Ie){Qt._assignZOrder(Ie,Ke.get(Ie.layer)-1-Qt._findGroupDepth(Ie))}),je.commitTransaction("pushToBack")},Qt._assignZOrder=function(je,Ke,Ie){Ie===void 0&&(Ie=je),je.layer===Ie.layer&&(je.zOrder=Ke),je instanceof go.Group&&je.memberParts.each(function(ut){Qt._assignZOrder(ut,Ke+1,Ie)})},Qt._findGroupDepth=function(je){if(je instanceof go.Group){var Ke=0;return je.memberParts.each(function(Ie){Ke=Math.max(Ke,Qt._findGroupDepth(Ie))}),Ke+1}else return 0},Qt.prototype.doKeyDown=function(){var je=this.diagram;if(je!==null){var Ke=je.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)}},Qt.prototype._getAllParts=function(){var je=new Array;return this.diagram.nodes.each(function(Ke){je.push(Ke)}),this.diagram.parts.each(function(Ke){je.push(Ke)}),je},Qt.prototype._arrowKeyMove=function(){var je=this.diagram,Ke=je.lastInput,Ie=0,ut=0;if(Ke.control||Ke.meta)Ie=1,ut=1;else if(je.grid!==null){var Ht=je.grid.gridCellSize;ut=Ht.width,Ie=Ht.height}je.startTransaction("arrowKeyMove"),je.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))}),je.commitTransaction("arrowKeyMove")},Qt.prototype._arrowKeySelect=function(){var je=this.diagram,Ke=je.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:je.select(Ie))},Qt.prototype._findNearestPartTowards=function(je){var Ke=this.diagram.selection.first();if(Ke===null)return null;for(var Ie=Ke.actualBounds.center,ut=this._getAllParts(),Ht=1/0,Dt=Ke,pn=0;pn<ut.length;pn++){var mn=ut[pn];if(mn!==Ke&&mn.canSelect()){var tn=mn.actualBounds.center,Cn=Ie.directionPoint(tn),Qn=this._angleCloseness(Cn,je);if(Qn<=45){var ln=Ie.distanceSquaredPoint(tn);ln*=1+Math.sin(Qn*Math.PI/180),ln<Ht&&(Ht=ln,Dt=mn)}}}return Dt},Qt.prototype._angleCloseness=function(je,Ke){return Math.min(Math.abs(Ke-je),Math.min(Math.abs(Ke+360-je),Math.abs(Ke-360-je)))},Qt.prototype._arrowKeyTree=function(){var je=this.diagram,Ke=je.selection.first();if(Ke instanceof go.Node){var Ie=je.lastInput;if(Ie.key==="Right"){if(!Ke.isTreeLeaf)if(!Ke.isTreeExpanded)je.commandHandler.canExpandTree(Ke)&&je.commandHandler.expandTree(Ke);else{var ut=this._sortTreeChildrenByY(Ke).first();ut!==null&&je.select(ut)}}else if(Ie.key==="Left")if(!Ke.isTreeLeaf&&Ke.isTreeExpanded)je.commandHandler.canCollapseTree(Ke)&&je.commandHandler.collapseTree(Ke);else{var Ht=Ke.findTreeParentNode();Ht!==null&&je.select(Ht)}else if(Ie.key==="Up"){var Ht=Ke.findTreeParentNode();if(Ht!==null){var Dt=this._sortTreeChildrenByY(Ht),pn=Dt.indexOf(Ke);if(pn>0){for(var mn=Dt.elt(pn-1);mn!==null&&mn.isTreeExpanded&&!mn.isTreeLeaf;){var tn=this._sortTreeChildrenByY(mn);mn=tn.last()}mn!==null&&je.select(mn)}else je.select(Ht)}}else if(Ie.key==="Down")if(Ke.isTreeExpanded&&!Ke.isTreeLeaf){var ut=this._sortTreeChildrenByY(Ke).first();ut!==null&&je.select(ut)}else for(;Ke!==null;){var Ht=Ke.findTreeParentNode();if(Ht===null)break;var Dt=this._sortTreeChildrenByY(Ht),pn=Dt.indexOf(Ke);if(pn<Dt.length-1){je.select(Dt.elt(pn+1));break}else Ke=Ht}var Cn=je.selection.first();Cn!==null&&je.scrollToRect(Cn.actualBounds)}},Qt.prototype._sortTreeChildrenByY=function(je){var Ke=new go.List().addAll(je.findTreeChildrenNodes());return Ke.sort(function(Ie,ut){var Ht=Ie.location,Dt=ut.location;return Ht.y<Dt.y?-1:Ht.y>Dt.y?1:Ht.x<Dt.x?-1:Ht.x>Dt.x?1:0}),Ke},Qt.prototype.copyToClipboard=function(je){go.CommandHandler.prototype.copyToClipboard.call(this,je),this._lastPasteOffset.set(this.pasteOffset)},Qt.prototype.pasteFromClipboard=function(){var je=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(je,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),je},Object.defineProperty(Qt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(je){if(je!=="move"&&je!=="select"&&je!=="scroll"&&je!=="tree"&&je!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+je);this._arrowKeyBehavior=je}}),Object.defineProperty(Qt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(je){if(!(je instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+je);this._pasteOffset.set(je)}});var Pn=Qt,St=te(63720),dt=te(43604),Je=te(38986),Re={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=te(59301),se=(je,Ke,Ie)=>new Promise((ut,Ht)=>{var Dt=tn=>{try{mn(Ie.next(tn))}catch(Cn){Ht(Cn)}},pn=tn=>{try{mn(Ie.throw(tn))}catch(Cn){Ht(Cn)}},mn=tn=>tn.done?ut(tn.value):Promise.resolve(tn.value).then(Dt,pn);mn((Ie=Ie.apply(je,Ke)).next())});function Oe({onCancel:je,callback:Ke}){let Ie=(0,ee.useRef)(),ut=(0,ee.useRef)(),Ht=(0,ee.useRef)(),Dt=(0,ee.useRef)(!1);const pn=(0,ee.useRef)(!1),[mn,tn]=(0,ee.useState)(0);function Cn(){const ln=Le.bx.make,Hn={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 Le.S0(ut.current,{padding:20,grid:ln(Le.s_,"Grid",ln(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ln(Le.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:xn=>{var Tn=xn.diagram.commandHandler.addTopLevelParts(xn.diagram.selection,!0);Tn||xn.diagram.currentTool.doCancel()},commandHandler:ln(Pn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:xn=>{var Tn=xn.subject;Tn.location=Tn.location.copy().snapToGridPoint(xn.diagram.grid.gridOrigin,xn.diagram.grid.gridCellSize),setTimeout(()=>{xn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:xn=>{var Tn=xn.subject;setTimeout(()=>{xn.diagram.commandHandler.editTextBlock()})},LinkRelinked:xn=>{var Tn=xn.parameter.part;Tn.invalidateConnectedLinks();var jn=xn.subject;xn.diagram.toolManager.linkingTool.isForwards?jn.toNode.invalidateConnectedLinks():jn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ie.current.nodeTemplate=ln(Le.NB,"Auto",{locationSpot:Le.z6.Center,locationObjectName:"SHAPE",desiredSize:new Le.$u(120,60),minSize:new Le.$u(40,40),resizable:!0,resizeCellSize:new Le.$u(10,10),rotatable:!0},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),new Le.KX("desiredSize","size",Le.$u.parse).makeTwoWay(Le.$u.stringify),ln(Le.bn,{name:"SHAPE",fill:Hn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("figure"),new Le.KX("fill"),new Le.KX("stroke","borderColor"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),ln(Le.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),ln(Le.al,{margin:1,textAlign:"center",overflow:Le.al.OverflowEllipsis,editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),Ie.current.nodeTemplate.toolTip=ln("ToolTip",ln(Le.s_,"Vertical",{maxSize:new Le.$u(200,NaN)},ln(Le.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Le.KX("text")),ln(Le.al,{font:"10pt sans-serif",textAlign:"center"},new Le.KX("text","details"))));function qn(xn,Tn){var jn=(wn,la)=>{wn.handled=!0,wn.diagram.model.commit(Pa=>{var ca=la.part.adornedPart,ea=new Le.E9().setRectSpot(ca.actualBounds,xn);ea.subtract(ca.location),ea.scale(2,2),ea.x+=Math.sign(ea.x)*130,ea.y+=Math.sign(ea.y)*130,ea.add(ca.location),ea.snapToGridPoint(wn.diagram.grid.gridOrigin,wn.diagram.grid.gridCellSize);var ya=Pa.copyNodeData(ca.data);Pa.setGroupKeyForNodeData(ya,Pa.getGroupKeyForNodeData(ca.data)),Pa.addNodeData(ya);var to={from:ca.key,to:Pa.getKeyForNodeData(ya)};Pa.addLinkData(to);var $a=wn.diagram.findNodeForData(ya);$a.location=ea,wn.diagram.select($a),setTimeout(()=>{wn.diagram.commandHandler.editTextBlock()},20)})};return ln(Le.bn,{figure:Tn,alignment:xn,alignmentFocus:xn.opposite(),width:xn.equals(Le.z6.Top)||xn.equals(Le.z6.Bottom)?25:18,height:xn.equals(Le.z6.Top)||xn.equals(Le.z6.Bottom)?18:25,fill:"orange",stroke:Hn.white,strokeWidth:4,mouseEnter:(wn,la)=>la.fill="dodgerblue",mouseLeave:(wn,la)=>la.fill="orange",isActionable:!0,click:jn,contextClick:jn})}function ua(xn){return ln(Le.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:(Tn,jn)=>jn.fill="dodgerblue",mouseLeave:(Tn,jn)=>jn.fill="orange",click:(Tn,jn)=>{Tn.diagram.commandHandler.showContextMenu(jn.part.adornedPart)}},xn||{})}Ie.current.nodeTemplate.selectionAdornmentTemplate=ln(Le.uz,"Spot",ln(Le.Vm,{padding:10}),qn(Le.z6.Top,"TriangleUp"),qn(Le.z6.Left,"TriangleLeft"),qn(Le.z6.Right,"TriangleRight"),qn(Le.z6.Bottom,"TriangleDown"),ua({alignment:new Le.z6(.75,0)}));function ta(xn,Tn){return(jn,wn)=>{jn.handled=!0,jn.diagram.model.commit(la=>{la.set(wn.part.adornedPart.data,xn,Tn)})}}function et(xn,Tn){return Tn||(Tn="color"),ln(Le.bn,{width:16,height:16,stroke:"lightgray",fill:xn,margin:1,background:"transparent",mouseEnter:(jn,wn)=>wn.stroke="dodgerblue",mouseLeave:(jn,wn)=>wn.stroke="lightgray",click:ta(Tn,xn),contextClick:ta(Tn,xn)})}function jt(){return[ln("ContextMenuButton",ln(Le.s_,"Horizontal",et(Hn.white,"fill"),et(Hn.beige,"fill"),et(Hn.extralightblue,"fill"),et(Hn.extralightred,"fill"))),ln("ContextMenuButton",ln(Le.s_,"Horizontal",et(Hn.lightgray,"fill"),et(Hn.lightgreen,"fill"),et(Hn.lightblue,"fill"),et(Hn.lightred,"fill")))]}function yt(){return[ln("ContextMenuButton",ln(Le.s_,"Horizontal",et(Hn.black),et(Hn.green),et(Hn.blue),et(Hn.red))),ln("ContextMenuButton",ln(Le.s_,"Horizontal",et(Hn.white),et(Hn.magenta),et(Hn.purple),et(Hn.orange)))]}function qt(xn,Tn){return Tn||(Tn="thickness"),ln(Le.bn,"LineH",{width:16,height:16,strokeWidth:xn,margin:1,background:"transparent",mouseEnter:(jn,wn)=>wn.background="dodgerblue",mouseLeave:(jn,wn)=>wn.background="transparent",click:ta(Tn,xn),contextClick:ta(Tn,xn)})}function dn(xn,Tn){return Tn||(Tn="dash"),ln(Le.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:xn,margin:1,background:"transparent",mouseEnter:(jn,wn)=>wn.background="dodgerblue",mouseLeave:(jn,wn)=>wn.background="transparent",click:ta(Tn,xn),contextClick:ta(Tn,xn)})}function hn(){return[ln("ContextMenuButton",ln(Le.s_,"Horizontal",qt(1),qt(2),qt(3),qt(4))),ln("ContextMenuButton",ln(Le.s_,"Horizontal",dn(null),dn([2,4]),dn([4,4])))]}function un(xn,Tn){return Tn||(Tn="figure"),ln(Le.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:xn,margin:1,background:"transparent",mouseEnter:(jn,wn)=>wn.fill="dodgerblue",mouseLeave:(jn,wn)=>wn.fill="lightgray",click:ta(Tn,xn),contextClick:ta(Tn,xn)})}Ie.current.nodeTemplate.contextMenu=ln("ContextMenu",ln("ContextMenuButton",ln(Le.s_,"Horizontal",un("Rectangle"),un("RoundedRectangle"),un("Ellipse"),un("Diamond"))),ln("ContextMenuButton",ln(Le.s_,"Horizontal",un("Parallelogram2"),un("ManualOperation"),un("Procedure"),un("Cylinder1"))),ln("ContextMenuButton",ln(Le.s_,"Horizontal",un("Terminator"),un("CreateRequest"),un("Document"),un("TriangleDown"))),jt(),yt(),hn()),Ie.current.groupTemplate=ln(Le.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Le.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(xn,Tn)=>{var jn=Tn.addMembers(Tn.diagram.selection,!0);jn||Tn.diagram.currentTool.doCancel()},avoidable:!1},new Le.KX("location","loc",Le.E9.parse).makeTwoWay(Le.E9.stringify),ln(Le.s_,"Auto",{name:"BODY"},ln(Le.bn,{parameter1:10,fill:Hn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Le.z6.AllSides,toSpot:Le.z6.AllSides},new Le.KX("fill"),new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),ln(Le.Vm,{background:"transparent",margin:20})),ln(Le.al,{alignment:Le.z6.Top,alignmentFocus:Le.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Le.KX("text"),new Le.KX("stroke","color"))),Ie.current.groupTemplate.selectionAdornmentTemplate=ln(Le.uz,"Spot",ln(Le.s_,"Auto",ln(Le.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),ln(Le.Vm,{margin:1.5})),ua({alignment:Le.z6.TopRight,alignmentFocus:Le.z6.BottomRight})),Ie.current.groupTemplate.contextMenu=ln("ContextMenu",jt(),yt(),hn()),Ie.current.linkTemplate=ln(Le.rU,{layerName:"Foreground",routing:Le.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Le.KX("fromSpot","fromSpot",Le.z6.parse),new Le.KX("toSpot","toSpot",Le.z6.parse),new Le.KX("fromShortLength","dir",xn=>xn>=1?10:0),new Le.KX("toShortLength","dir",xn=>xn>=1?10:0),new Le.KX("points").makeTwoWay(),ln(Le.bn,{strokeWidth:2},new Le.KX("stroke","color"),new Le.KX("strokeWidth","thickness"),new Le.KX("strokeDashArray","dash")),ln(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,0),segmentOrientation:Le.rU.OrientAlong,alignmentFocus:Le.z6.Right,figure:"circle",width:10,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",xn=>xn===1)),ln(Le.bn,{segmentIndex:-1,segmentOffset:new Le.E9(-10,6),segmentOrientation:Le.rU.OrientPlus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",xn=>xn>=1),new Le.KX("width","thickness",xn=>7+3*xn),new Le.KX("height","thickness",xn=>7+3*xn),new Le.KX("segmentOffset","thickness",xn=>new Le.E9(-15,4+1.5*xn))),ln(Le.bn,{segmentIndex:0,segmentOffset:new Le.E9(15,-6),segmentOrientation:Le.rU.OrientMinus90,alignmentFocus:Le.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Le.KX("fill","color"),new Le.KX("visible","dir",xn=>xn===2),new Le.KX("width","thickness",xn=>7+3*xn),new Le.KX("height","thickness",xn=>7+3*xn),new Le.KX("segmentOffset","thickness",xn=>new Le.E9(-15,4+1.5*xn))),ln(Le.al,{alignmentFocus:new Le.z6(0,1,-4,0),editable:!0},new Le.KX("text").makeTwoWay(),new Le.KX("stroke","color"))),Ie.current.linkTemplate.selectionAdornmentTemplate=ln(Le.uz,ln(Le.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:cn(2)},new Le.KX("pathPattern","thickness",cn)),ua({alignmentFocus:new Le.z6(0,0,-6,-4)}));function cn(xn){return ln(Le.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(xn+4).toString()+" H3"})}function Gn(xn){var Tn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return xn===0?Tn="M0 0 M16 16 M0 8 L16 8":xn===2&&(Tn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),ln(Le.bn,{geometryString:Tn,margin:2,background:"transparent",mouseEnter:(jn,wn)=>wn.background="dodgerblue",mouseLeave:(jn,wn)=>wn.background="transparent",click:ta("dir",xn),contextClick:ta("dir",xn)})}function Xn(xn){var Tn=(jn,wn)=>{jn.handled=!0,jn.diagram.model.commit(la=>{var Pa=wn.part.adornedPart;la.set(Pa.data,xn?"toSpot":"fromSpot",Le.z6.stringify(Le.z6.AllSides)),(xn?Pa.toNode:Pa.fromNode).invalidateConnectedLinks()})};return ln(Le.bn,{width:12,height:12,fill:"transparent",mouseEnter:(jn,wn)=>wn.background="dodgerblue",mouseLeave:(jn,wn)=>wn.background="transparent",click:Tn,contextClick:Tn})}function Ut(xn,Tn){var jn=0,wn=Le.z6.RightSide;xn.equals(Le.z6.Top)?(jn=270,wn=Le.z6.TopSide):xn.equals(Le.z6.Left)?(jn=180,wn=Le.z6.LeftSide):xn.equals(Le.z6.Bottom)&&(jn=90,wn=Le.z6.BottomSide),Tn||(jn-=180);var la=(Pa,ca)=>{Pa.handled=!0,Pa.diagram.model.commit(ea=>{var ya=ca.part.adornedPart;ea.set(ya.data,Tn?"toSpot":"fromSpot",Le.z6.stringify(wn)),(Tn?ya.toNode:ya.fromNode).invalidateConnectedLinks()})};return ln(Le.bn,{alignment:xn,alignmentFocus:xn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:jn,background:"transparent",mouseEnter:(Pa,ca)=>ca.background="dodgerblue",mouseLeave:(Pa,ca)=>ca.background="transparent",click:la,contextClick:la})}Ie.current.linkTemplate.contextMenu=ln("ContextMenu",yt(),hn(),ln("ContextMenuButton",ln(Le.s_,"Horizontal",Gn(0),Gn(1),Gn(2))),ln("ContextMenuButton",ln(Le.s_,"Horizontal",ln(Le.s_,"Spot",Xn(!1),Ut(Le.z6.Top,!1),Ut(Le.z6.Left,!1),Ut(Le.z6.Right,!1),Ut(Le.z6.Bottom,!1)),ln(Le.s_,"Spot",{margin:new Le.Zt(0,0,0,2)},Xn(!0),Ut(Le.z6.Top,!0),Ut(Le.z6.Left,!0),Ut(Le.z6.Right,!0),Ut(Le.z6.Bottom,!0)))));const ra=`{ "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 ha=["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 Fa(xn){return console.log("shapeName:",xn),ha.indexOf(xn)>=0}var va=new Le.YI(Ht.current,{maxSelectionCount:1,linkTemplate:ln(Le.rU,{locationSpot:Le.z6.Center,selectionAdornmentTemplate:ln(Le.uz,"Link",{locationSpot:Le.z6.Center},ln(Le.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),ln(Le.bn,{toArrow:"Standard",stroke:null}))},{routing:Le.rU.AvoidsNodes,curve:Le.rU.JumpOver,corner:5,toShortLength:4},new Le.KX("points"),ln(Le.bn,{isPanelMain:!0,strokeWidth:2}),ln(Le.bn,{toArrow:"Standard",stroke:null})),model:new Le.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Le.bn.getFigureGenerators().toArray().map(xn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:xn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ie.current.addDiagramListener("TextEdited",function(xn){var Tn;const jn=xn.subject.part;var wn=(Tn=document.activeElement)==null?void 0:Tn.value;typeof wn=="string"&&wn.trim()===""&&Ie.current.model.commit(function(la){la.set(jn.data,"text","\u672A\u547D\u540D"),Ie.current.commandHandler.stopCommand()},"increment")}),va.nodeTemplate=ln(Le.NB,"Auto",{locationSpot:Le.z6.Center},new Le.KX("location","location",Le.E9.parse).makeTwoWay(Le.E9.stringify),ln(Le.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 Le.KX("stroke").makeTwoWay(),new Le.KX("fill").makeTwoWay(),new Le.KX("figure")),ln(Le.al,{margin:new Le.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Le.$u(16,16),maxSize:new Le.$u(10,NaN),textAlign:"center",editable:!0},new Le.KX("key").makeTwoWay())),setTimeout(()=>{Ie.current.grid=ln(Le.s_,"Grid",ln(Le.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ln(Le.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 ln=Ie.current.makeImage();const Hn=yield(0,Je.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:ln.src}});Ke({src:Hn.url})});return(0,ee.useEffect)(()=>(setTimeout(()=>{Cn()},500),tn(mn+1),()=>{Ie.current=null}),[]),ve.createElement("div",{ref:pn,className:Dt.current?`${Re.maxH60} body-overflow-initial`:"body-overflow-initial"},ve.createElement(Ze.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!mn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ve.createElement(Et.Z,null,ve.createElement(dt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ve.createElement(dt.Z,{onClick:()=>{var ln,Hn,qn=Ie.current.selection.first();if(Dt.current=!Dt.current,document.activeElement&&qn){let ua=(Hn=(ln=document.activeElement)==null?void 0:ln.value)==null?void 0:Hn.trim();typeof ua=="string"&&Ie.current.model.commit(function(ta){ta.set(qn.data,"text",ua||"\u672A\u547D\u540D"),Ie.current.commandHandler.stopCommand()},"increment")}tn(mn+1)}},ve.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:je},ve.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Re.flowChartWrp},ve.createElement("div",{style:{display:"flex",height:"100%"}},ve.createElement("div",{style:{width:"300px",height:"100%"}},ve.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ve.createElement("div",{style:{height:"calc(100% - 50px)"},className:Re.myPaletteDiv,ref:Ht})),ve.createElement("div",{style:{flex:1,position:"relative"}},ve.createElement("div",{ref:ut,style:{height:"80vh"}}))),ve.createElement("div",{className:"tr"},ve.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 gt=Oe,Se=te(5112),he=te(5871);const Ye=Se.ZP.Group,Ne={margin:"0 8px"};var Ee=({callback:je,onCancel:Ke})=>{function Ie(ut){je(ut)}return ee.createElement(pe.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:Ne},"\u5355\u5143\u683C\u6570\uFF1A"),ee.createElement("span",{style:Ne},"\u884C\u6570"),ee.createElement(pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ee.createElement(he.Z,null)),ee.createElement("span",{style:Ne},"\u5217\u6570"),ee.createElement(pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ee.createElement(he.Z,null))),ee.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ee.createElement("span",{style:Ne},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ee.createElement(pe.default.Item,{name:"align"},ee.createElement(Ye,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")))},tt=te(78673),_t=te(43001),ft=te.n(_t),Ot=(0,ee.forwardRef)(({use3d:je,width:Ke,height:Ie,callback:ut,showSaveButton:Ht},Dt)=>{const pn=(0,ee.useRef)(),mn=(0,ee.useRef)(),[tn,Cn]=(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)(()=>{mn.current=new(ft())(Qn.current,!0),window.onload=function(){mn.current.inject("applet_container")}},[]);const ln=()=>{var Hn=window.ggbApplet.getPNGBase64(1,!0,72);return ut&&ut(Hn),Hn};return(0,ee.useEffect)(()=>{Qn.current.appName=tn?"3D":"graphing",mn.current.inject("applet_container")},[tn]),(0,ee.useEffect)(()=>{Cn(je)},[je]),(0,ee.useImperativeHandle)(Dt,()=>({getImgData:ln})),ee.createElement(ee.Fragment,null,ee.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:pn}),ee.createElement(Et.Z,{align:"middle"},ee.createElement(dt.Z,{flex:1},ee.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:tn,onChange:Hn=>Cn(Hn)})),ee.createElement(dt.Z,null,ee.createElement(ue.ZP,{size:"large",onClick:ln,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Vt=te(76562),be=te(1012),lt=te(8591);const ht="link",mt="upload-image",Rt="add-flowchart",Jt="draw-image",on="add-flowchart",$t="code-block",yn="add-table",Dn="------------",At={default:Dn,left:`:${Dn}`,center:`:${Dn}:`,right:`${Dn}:`};var xt=te(37808),Wt=(je,Ke,Ie)=>new Promise((ut,Ht)=>{var Dt=tn=>{try{mn(Ie.next(tn))}catch(Cn){Ht(Cn)}},pn=tn=>{try{mn(Ie.throw(tn))}catch(Cn){Ht(Cn)}},mn=tn=>tn.done?ut(tn.value):Promise.resolve(tn.value).then(Dt,pn);mn((Ie=Ie.apply(je,Ke)).next())});function fn(){}let sn=0;const Rn=1e4,ot="\u2581",Pt="@\u2581\u2581@",an="@\u2581@",vn=`
|
|
**\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`,Pe=["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(je){return/^\d+$/.test(je)?`${je}px`:je}const ct=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ft={[ct+"-B"]:"bold",[ct+"-I"]:"italic"},Xt={[ht]:"\u6DFB\u52A0\u94FE\u63A5",[$t]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[mt]:"\u6DFB\u52A0\u56FE\u7247",[Jt]:"\u6DFB\u52A0\u753B\u56FE",[Rt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[yn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var bt=({defaultValue:je="",onChange:Ke,width:Ie="100%",height:ut=400,miniToolbar:Ht=!1,isFocus:Dt=!1,watch:pn,insertTemp:mn,mode:tn="markdown",id:Cn="markdown-editor-id",showResizeBar:Qn=!1,noStorage:ln=!1,showNullButton:Hn=!1,showNullProgramButton:qn=!1,hidetoolBar:ua=!1,fullScreen:ta=!1,onBlur:et,onCMBeforeChange:jt,onFullScreen:yt,className:qt="",disablePaste:dn=!1,disabled:hn=!1,disabledFill:un=!1,placeholder:cn="",values:Gn="",extraUse:Xn})=>{const[Ut,ra]=(0,ee.useState)(null),[ha,Fa]=(0,ee.useState)(je),[va,xn]=(0,ee.useState)(pn),[Tn,jn]=(0,ee.useState)(ta),[wn,la]=(0,ee.useState)(""),[Pa,ca]=(0,ee.useState)(0),[ea,ya]=(0,ee.useState)(ut),[to,$a]=(0,ee.useState)(!1),fo=(0,ee.useRef)((0,be.Z)()),Ma=(0,ee.useRef)(!1),Oa=(0,ee.useRef)(),[Ga,za]=(0,ee.useState)(0),[Ha,na]=(0,ee.useState)(0),Ea=(0,ee.useRef)(),Ja=(0,ee.useRef)(),Qa=(0,ee.useRef)(),Za=(0,ee.useRef)(),no=()=>Wt(void 0,null,function*(){var ia;const kn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:fo.current}});(ia=kn==null?void 0:kn.attachments)!=null&&ia.length&&(console.log("cm:",Ut,Ea),kn.attachments.map(In=>{In.content_type.indexOf("image")>-1?Ut.replaceSelection(``):In.content_type.indexOf("video")>-1?Ut.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):In.content_type.indexOf("pdf")>-1?Ut.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${In.id}?type=${In.content_type}&disposition=inline" target="_blank">${In.name}</a>`):Ut.replaceSelection(`[${In.name}](${ENV.API_SERVER}/api/attachments/${In.id}?type=${In.content_type})`)}))});(0,ee.useEffect)(()=>{const ia=window.scrollY||window.pageYOffset;Fa(Gn),Ut==null||Ut.setValue(Gn),window.scrollTo(0,ia)},[Gn]),(0,ee.useEffect)(()=>{yt==null||yt(Tn)},[Tn]),(0,ee.useEffect)(()=>{if(Ea.current){let ia=function(In,Kn){var Aa;if(dn){Kn.preventDefault();return}const fe=Kn.clipboardData;if(fe){const Mt=fe.types.toString(),en=fe.items;if(Mt==="Files"||fe.types.indexOf("Files")>-1){if(Kn.preventDefault(),tn=="stex")return;try{let En=en[1];((Aa=en[0])==null?void 0:Aa.kind)==="file"&&(En=en[0]);const It=En.getAsFile(),Ln=It.name.split(".").pop();(0,Me.I)(It,An=>{var rn,Sn,Vn;An.id?((rn=It==null?void 0:It.type)==null?void 0:rn.indexOf("image"))>-1?kn.replaceSelection(`<img width="100%" src="/api/attachments/${An.id}?type=${An.content_type})" alt="" />`):((Sn=It==null?void 0:It.type)==null?void 0:Sn.indexOf("video"))>-1?kn.replaceSelection(`<video width="100%" controls src="/api/attachments/${An.id}"></video>`):((Vn=It==null?void 0:It.type)==null?void 0:Vn.indexOf("pdf"))>-1?kn.replaceSelection(`<a href="/api/attachments/${An.id}?type=${It.type}&disposition=inline" target="_blank">${It.name}</a>`):Pe.includes(Ln)?kn.replaceSelection(`<a href="/api/attachments/${An.id}?type=office&disposition=inline" target="_blank">${It.name}</a>`):kn.replaceSelection(`[${It.name}](/api/attachments/${An.id}?type=${An.content_type})`):(An==null?void 0:An.status)===401&&(lt.ZP.warning((An==null?void 0:An.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(En){lt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const kn=Be().fromTextArea(Ea.current,{mode:tn,lineNumbers:!Ht,lineWrapping:!0,value:je,autoCloseTags:!qn,autoCloseBrackets:!0});return kn.on("keyup",function(In,Kn){Kn.keyCode===8&&(In.getValue()==""?kn.setOption("placeholder",cn):kn.setOption("placeholder",null))}),kn.on("keydown",function(In,Kn){if(Kn.keyCode===8){var Aa=ga(In);Aa&&Kn.preventDefault()}}),Dt&&kn.focus(),kn.on("paste",ia),kn.on("dragleave",function(In,Kn){Ja.current.classList.remove("mouse-hover-md")}),hn&&kn.on("beforeChange",function(In,Kn){(Kn.origin==="paste"||Kn.origin==="+input")&&Kn.cancel()}),ra(kn),()=>{kn.off("paste",ia)}}},[]);const lo=(0,ee.useCallback)(()=>{if(Ja.current)try{}catch(ia){console.log(ia,"---- to set md editor body height")}},[ea,Ja,Tn]);(0,ee.useEffect)(()=>{function ia(){let kn=new Ge.Z(In=>{for(let Kn of In)(Kn.target.offsetHeight>0||Kn.target.offsetWidth>0)&&(lo(),Ut.setSize("100%","100%"),Ut.refresh())});return kn.observe(Ea.current.parentElement),kn}if(Ut){const kn=ia();return()=>{var In,Kn;(In=Ea.current)!=null&&In.parentElement&&kn.unobserve((Kn=Ea.current)==null?void 0:Kn.parentElement)}}},[Ut,lo]),(0,ee.useEffect)(()=>{if(Ut){let ia=[];for(const[kn,In]of Object.entries(Ft)){let Kn={[kn]:()=>{Wa(In)}};ia.push(Kn),Ut.addKeyMap(Kn)}return Oa.current=setInterval(()=>{Ma.current&&no()},4e3),()=>{clearInterval(Oa.current);for(let kn of ia)Ut.removeKeyMap(kn)}}},[Ut]),(0,ee.useEffect)(()=>{ta!==Tn&&jn(ta)},[ta]),(0,xt.Z)(()=>{if(!ln&&Pa>0){let ia=new Date().getTime(),kn=window.sessionStorage.getItem(Cn);ia>=Pa+Rn&&(!kn||kn!==ha)&&(window.sessionStorage.setItem(Cn,ha),$a(!0))}},Rn),(0,ee.useEffect)(()=>{xn(pn)},[Ut,pn]),(0,ee.useEffect)(()=>{Ut&&Dt&&Ut.focus()},[Ut,Dt]),(0,ee.useEffect)(()=>{if(va&&Ut){let ia=function(In){let Kn=In.target;if(Za.current){let Aa=Kn.scrollTop/Kn.scrollHeight;Za.current.scrollTop=Za.current.scrollHeight*Aa}};const kn=Ut.getScrollerElement();return kn.addEventListener("scroll",ia),()=>{kn.removeEventListener("scroll",ia)}}},[Ut,va]),(0,ee.useEffect)(()=>{if(Ut&&jt){let ia=function(kn,In){jt(kn,In)};return Ut.on("beforeChange",ia),()=>{Ut.off("beforeChange",ia)}}},[Ut,jt]),(0,ee.useEffect)(()=>{if(Ut&&et){let ia=function(){et(Ut.getValue())};return Ut.on("blur",ia),()=>{Ut.off("blur",ia)}}},[Ut,et]);function ga(ia,kn){var In=ia.getDoc(),Kn=In.getCursor(),Aa=In.getLine(Kn.line),fe=Aa.charAt(Kn.ch-1),Mt=Aa.lastIndexOf("@\u2581@",Kn.ch),en=Aa.lastIndexOf("@\u2581\u2581@",Kn.ch),En=Mt>en?Mt:en,It=Mt>en?3:4;if(Pt.indexOf(fe)===-1)return null;if(console.log("change1:",kn,ia,Aa,Kn,En,Mt,en,fe),En>=0&&Kn.ch-En<5){var Ln=En+It;return In.replaceRange("",{line:Kn.line,ch:En},{line:Kn.line,ch:Ln}),{line:Kn.line,ch:Ln}}return null}(0,ee.useEffect)(()=>{if(Ut){let ia=function(kn,In){const Kn=kn.getValue();Fa(Kn),ca(new Date().getTime()),kn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ke&&(qn?Ke(Kn,po(Kn)):Ke(Kn))};return Ut.on("change",ia),()=>{Ut.off("change",ia)}}},[Ut,Ke]),(0,ee.useEffect)(()=>{if(Ut)if(je==null)Ut.setValue(""),Fa("");else{const ia=window.scrollY||window.pageYOffset;je!==Ut.getValue()&&(Ut.setValue(je),Fa(je),Ut.setCursor(hn?1:Ut.lineCount(),0),window.scrollTo(0,ia))}},[Ut,je]);const Wa=(0,ee.useCallback)(ia=>{const kn=Ut.getCursor(),In=Ut.getSelection();let Kn=In.split(`
|
|
`);switch(ia){case"bold":return Ut.replaceSelection("**"+In+"**"),In===""&&Ut.setCursor(kn.line,kn.ch+2),Ut.focus();case"italic":return Ut.replaceSelection("*"+In+"*"),In===""&&Ut.setCursor(kn.line,kn.ch+1),Ut.focus();case"code":return Ut.replaceSelection("`"+In+"`"),In===""&&Ut.setCursor(kn.line,kn.ch+1),Ut.focus();case"inline-latex":return la("inline-latex"),Ut.focus();case"latex":return Ut.replaceSelection("```latex\n"+In+"\n```"),Ut.setCursor(kn.line+1,In.length+1),Ut.focus();case"line-break":return Ut.replaceSelection(`<br/>
|
|
`),Ut.focus();case"list-ul":return In===""?Ut.replaceSelection("- "+In):Ut.replaceSelection(Kn.map(Aa=>Aa===""?"":`- ${Aa}`).join(`
|
|
`)),Ut.focus();case"list-ol":return In===""?Ut.replaceSelection("1. "+In):Ut.replaceSelection(Kn.map((Aa,fe)=>Aa===""?"":`${fe+1}. ${Aa}`).join(`
|
|
`)),Ut.focus();case"add-null-ch":return In===""&&Ut.setCursor(kn.line,kn.ch),Ut.replaceSelection(ot),Ut.focus();case"add-signal":return In===""&&Ut.setCursor(kn.line,kn.ch),Ut.replaceSelection(an),Ut.focus();case"add-multiple":return In===""&&Ut.setCursor(kn.line,kn.ch),Ut.replaceSelection(Pt),Ut.focus();case"inster-template-1":return In===""&&Ut.setCursor(kn.line,kn.ch),Ut.replaceSelection(vn),Ut.focus();case"eraser":return Ut.setValue(""),Ut.focus();case"trigger-watch":return xn(!va),Ut.focus();case"trigger-full-screen":return jn(!Tn),Ut.focus();case ht:la(ht);return;case $t:la($t);return;case mt:la(mt);return;case Jt:la(Jt);return;case"maths-latex":la("maths-latex");return;case Rt:la(Rt);return;case yn:la(yn);return;default:throw new Error}},[Ut,va,Tn]),Ia=(0,ee.useCallback)((ia,kn)=>{var In,Kn,Aa,fe,Mt,en;switch(la(""),wn){case ht:const{title:rn,link:Sn}=ia;return Ut.replaceSelection(`[${rn}](${Sn})`),Ut.focus();case $t:const{language:Vn,content:Nn}=ia;return Ut.replaceSelection(["```"+Vn,Nn,"```"].join(`
|
|
`)),Ut.focus();case"maths-latex":for(var En=atob(ia),It=new Uint8Array(En.length),Ln=0;Ln<En.length;Ln++)It[Ln]=En.charCodeAt(Ln);var An=new Blob([It],{type:"image/png"});(0,Me.I)(An,Mo=>{Mo.id?Ut.replaceSelection(``):(Mo==null?void 0:Mo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ut.replaceSelection("`$$"+ia+"$$`");break;case mt:case Jt:case on:const{src:On,alt:Mn}=ia,aa=kn,Da=(Aa=(Kn=(In=aa==null?void 0:aa.name)==null?void 0:In.split("."))==null?void 0:Kn.pop)==null?void 0:Aa.call(Kn);return((fe=aa==null?void 0:aa.type)==null?void 0:fe.indexOf("image"))>-1||!(aa!=null&&aa.type)?aa.align||aa.width?Ut.replaceSelection(`<p style="text-align:${aa.align||"initial"}"><img width="${aa.width?aa.width+"%":"initial"}" src="${On}" alt="${Mn||""}" /></p>`):Ut.replaceSelection(`<img width="100%" src="${On}" alt="${Mn||""}" />`):((Mt=aa==null?void 0:aa.type)==null?void 0:Mt.indexOf("video"))>-1?Ut.replaceSelection(`<video width="100%" controls src="${On}"></video>`):((en=aa==null?void 0:aa.type)==null?void 0:en.indexOf("pdf"))>-1?Ut.replaceSelection(`<a href="${On}?type=${aa.type}&disposition=inline" target="_blank">${aa.name}</a>`):Pe.includes(Da)?Ut.replaceSelection(`<a href="${On}?type=office&disposition=inline" target="_blank">${aa.name}</a>`):Ut.replaceSelection(`[${aa.name}](${On})`),Ut.focus();case yn:const{row:Xa,col:_a,align:Po}=ia;let ko=`
|
|
`;for(let Mo=0;Mo<Xa;Mo++){let dr=[],ur=[];for(let nr=0;nr<_a;nr++)Mo===1&&ur.push(At[Po]),dr.push(" ");Mo===1&&(ko+=`| ${ur.join(" | ")} |
|
|
`),ko+=`| ${dr.join(_a===1?"":" | ")} |
|
|
`}return Ut.replaceSelection(ko+`
|
|
`),Ut.focus();default:throw new Error}},[Ut,wn]),oo=(0,ee.useMemo)(()=>{switch(wn){case ht:return ee.createElement(Nt,{callback:Ia,onCancel:So});case $t:return ee.createElement(Zt.Z,{callback:Ia,onCancel:So});case mt:return ee.createElement(Me.Z,{callback:Ia,onCancel:So});case Rt:return ee.createElement(gt,{callback:Ia,onCancel:So});case yn:return ee.createElement(Ee,{callback:Ia,onCancel:So});case"maths-latex":return ee.createElement(Ot,{showSaveButton:!0,callback:Ia});case"inline-latex":return ee.createElement(Vt.Z,{showSaveButton:!0,callback:Ia});default:return null}},[wn]);function So(){la("")}(0,ee.useEffect)(()=>{if(Qa.current){let ia=function(Mt){Aa=!0,fe=Mt.pageY},kn=function(){Aa=!1},In=function(Mt){if(Aa){let en=Mt.pageY-fe;en<0&&(en=0),en>300&&(en=300);let En=ut+en+"px";ya(En)}},Kn=Qa.current,Aa=!1,fe=0;return Kn.addEventListener("mousedown",ia),document.addEventListener("mousemove",In),document.addEventListener("mouseup",kn),()=>{Kn.removeEventListener("mousedown",ia),document.removeEventListener("mousemove",In),document.removeEventListener("mouseup",kn)}}},[Ut,Qa]),(0,ee.useEffect)(()=>{ya(ut)},[ut]);const Oo=We(Ie),Jo=We(ea),zo={width:Oo,height:Jo},mo=(0,ee.useMemo)(()=>{if(Pa){let ia=new Date(Pa),kn=ia.getHours(),In=ia.getMinutes(),Kn=ia.getSeconds();return kn=kn<10?"0"+kn:kn,In=In<10?"0"+In:In,Kn=Kn<10?"0"+Kn:Kn,`${kn}:${In}:${Kn}`}return 0},[Pa]),po=ia=>{const kn=[];if(qn){let In=-1;ia=ia.replace(/(@▁▁@|@▁@)/g,function(Kn,Aa,fe){kn.push({multiLine:Kn!==an})})}return kn};function Bo(){window.sessionStorage.removeItem(Cn),$a(!1),ca(0)}function tr(){$a(!1),ca(0),Ut.setValue(window.sessionStorage.getItem(Cn))}(0,ee.useEffect)(()=>{Xt[wn]&&wn!==Jt&&wn!==Rt&&setTimeout(()=>{const ia=document.getElementsByClassName("markdown-popup-form")[0],kn=window.innerWidth/2-ia.offsetWidth/2,In=window.innerHeight/2-ia.offsetHeight/2;za(kn),na(In)},0)},[wn]);const jo=ia=>{ia.preventDefault();const kn=ia.clientX-Ga,In=ia.clientY-Ha;document.body.onmousemove=Kn=>{let Aa=Kn.clientX-kn,fe=Kn.clientY-In;const Mt=document.getElementsByClassName("markdown-popup-form")[0],en=window.innerWidth-Mt.offsetWidth,En=window.innerHeight-Mt.offsetHeight;Aa=Math.max(0,Math.min(Aa,en)),fe=Math.max(0,Math.min(fe,En)),qo(Kn.clientX,Kn.clientY,kn,In)&&(za(Aa),na(fe))},document.body.onmouseup=function(){document.body.onmousemove=null}},qo=(ia,kn,In,Kn)=>{const Aa=document.body.clientHeight,fe=document.body.clientWidth;return ia<20&&In>ia||ia>fe-20&&In<ia||kn<20&&Kn>kn||kn>Aa-20&&Kn<kn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:"markdown-editor-wrapper",ref:Ja},ee.createElement("div",{className:`markdown-editor-container ${qt} ${va?"on-preview":""} ${Ht?"mini":""} ${Tn?"full-screen":""}`,style:zo},ee.createElement(ge,{insertTemp:mn,watch:va,fullScreen:Tn,showNullButton:Hn,showNullProgramButton:qn,onActionCallback:Wa,hidetoolBar:ua,extraUse:Xn}),ee.createElement("div",{className:"markdown-editor-body"},ee.createElement("div",{className:"codemirror-container"},ee.createElement("textarea",{ref:Ea,placeholder:cn})),va?ee.createElement("div",{ref:Za,className:"preview-container"},tn==="stex"&&ee.createElement(vt,{value:ha}),tn!=="stex"&&ee.createElement(_e.Z,{disabledFill:un,showProgramFill:qn,value:ha})):null))),Qn?ee.createElement("a",{ref:Qa,className:"editor-resize"}):null,wn===Jt&&ee.createElement(Kt,{callback:Ia,onCancel:So}),wn===Rt&&ee.createElement(gt,{callback:Ia,onCancel:So}),ee.createElement(xe.Z,null,Xt[wn]&&wn!==Jt&&wn!==Rt?ee.createElement(Ze.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ga,top:Ha},title:ee.createElement("div",{style:{cursor:"move"},onMouseDown:jo},Xt[wn]),open:!0,onCancel:So,footer:null,destroyOnClose:!0,width:wn===Rt?"1200px":null,height:wn===Rt?"80vh":null,className:"markdown-popup-form"},oo):null))}},17077:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return de},I:function(){return xe}});var ee=te(78241),le=te(8591),Be=te(92832),Ge=te(81327),Ce=te(5871),Fe=te(5112),re=te(3113),$e=te(46699),Ue=te(59301),ze=te(48790),_e=te(59301),vt=Object.defineProperty,Te=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(pe,we,ue)=>we in pe?vt(pe,we,{enumerable:!0,configurable:!0,writable:!0,value:ue}):pe[we]=ue,x=(pe,we)=>{for(var ue in we||(we={}))a.call(we,ue)&&E(pe,ue,we[ue]);if(y)for(var ue of y(we))b.call(we,ue)&&E(pe,ue,we[ue]);return pe},z=(pe,we)=>Te(pe,oe(we));const{useForm:ne}=ee.default,ae={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:pe,onCancel:we})=>{const[ue]=ne();let nt=(0,Ue.useRef)();function De(ke){nt.current.width=ue.getFieldValue("width"),nt.current.align=ue.getFieldValue("align"),pe(ke,nt.current)}function Qe(ke,qe){if(ke.status===-1){le.ZP.error(ke.message);return}ue.setFieldsValue({src:`/api/attachments/${ke.id}`,type:qe.type})}function ye(ke){let qe=ke.target.files[0];nt.current=qe,xe(qe,Qe)}return _e.createElement(ee.default,z(x({form:ue},ie),{className:"upload-image-panel",onFinish:De,style:{width:470,overflow:"hidden"}}),_e.createElement(ee.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},_e.createElement("div",{className:"flex-container"},_e.createElement(ee.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},_e.createElement(Be.default,{style:ae})),_e.createElement(ge,{onFileChange:ye}))),_e.createElement(ee.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(Be.default,{style:{width:264}})),_e.createElement(ee.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(Ge.Z,null,_e.createElement(ee.default.Item,{name:"width",style:{margin:0}},_e.createElement(Ce.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(ee.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.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"}]})),_e.createElement("aside",null,_e.createElement(ee.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},_e.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),_e.createElement(re.ZP,{type:"default",onClick:we},"\u53D6\u6D88"))))};function ge({onFileChange:pe}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:pe}))}function xe(pe,we){if(!pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ze.bg)())throw le.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",pe),ue.append("file_param_name","editormd-image-file"),ue.append("byxhr","true");var nt=new window.XMLHttpRequest;nt.withCredentials=!0,nt.addEventListener("load",function(De){we(JSON.parse(De.target.responseText),pe)},!1),nt.addEventListener("error",function(De){console.error(De)},!1),nt.open("POST",`${$e.KI}/api/attachments.json`),nt.send(ue)}},91558:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return Be}});var ee=te(59301),le=te(4676);class Be 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,le.createPortal)(Ce,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},52843:function(Bt,Tt,te){"use strict";te.d(Tt,{i:function(){return de},Z:function(){return xe}});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"},le=te(71418),Be=te(6848),Ge=te(92310),Ce=te.n(Ge),Fe=te(51257),re=te(28426),$e=te(48790),Ue="data:image/png;base64,iVBORw0KGgoAAAANSU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7Of0kP5SLdjo4+7WRiQ/RpsmFGlzUVaMpKhp2X4L757waDkZmXasjTodl4aJJqSX7oWwS4BvmbprwXaRoaJGTh1ndqrDY+7pXymvweCOByoxfIcnkOVDYheb7EL2ZUMbIZTaOOXjdujd5pca8aL2XYVj9vdryvc6D3Izitr6WqpdpBAsJMN/cKsz+p4iS2V6U7Q0rOG77i8jSz8vUbWI+2YqXqV6YuBKBGPOklhH/Zx5UCYrIWrXK4Ye7iug3X/iAa67Fno3fat33FOzmmpVbhTyQWu8iGZEWg7JqyDFxGCIlJSNLT2sxZBO0APZkNqlSkIBnowJkK+w+hZkwrDaGPHWI1LX2PrNo57O9YeMbN09Mt8zk+xB91FyPexXCCtHW0/sRfqgH/LCz22f/A7sV2Bi7OtD8AAAAAElFTkSuQmCC",ie=te(59301);const de=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ue,swimg:ze},{name:"101\u8BA1\u5212",ptimg:_e,swimg:vt},{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 xe=({className:pe,dataSource:we=[],col:ue=4,right:nt,bottom:De=23,precision:Qe=0,wrapWidth:ye=1200,trackEventItems:ke,loading:qe,onRemove:Xe=()=>{},isCurrent:Ve=!0,showAlias:kt=!1})=>{const st=Math.floor((ye-(ue-1)*nt)/ue),Nt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Zt=>(window.ENV==="build"&&(Zt.ptimg=`/react/build${Zt.ptimg}`,Zt.swimg=`/react/build${Zt.swimg}`),Zt));return ie.createElement(le.Z,{spinning:qe},ie.createElement("div",{className:Ce()(ee.list,pe)},!!(we!=null&&we.length)&&(we==null?void 0:we.map((Zt,Me)=>{const{name:Ze,id:Et,identifier:Gt,featured:pt,school_name:Kt,image_url:Le,excellent:Qt,is_plan:Pn,subject_tags:St=[]}=Zt,dt=St==null?void 0:St.filter(Je=>Je!=="\u5FC5\u4FEE\u8BFE\u7A0B"&&Je!=="\u9009\u4FEE\u8BFE\u7A0B");return ie.createElement("div",{key:Et,className:ee.wrap,style:{width:st,marginRight:(1+Me)%ue===0?0:nt+Qe,marginBottom:De}},ie.createElement("a",{className:ee.li,onClick:Je=>{Je.preventDefault(),Je.stopPropagation(),ke&&(0,Fe.L9)([ke]),(0,Fe.xg)(`/paths/${Gt}`)}},ie.createElement("div",{className:ee.img},ie.createElement("img",{className:ee.cover,src:`${Le}`}),Ve&&(0,$e.bg)()&&(Zt==null?void 0:Zt.studying)&&ie.createElement("div",{className:`${ee.movebq} user-path-items`,onClick:Je=>{Je.stopPropagation(),Xe(Zt)}},ie.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ie.createElement("span",{className:"c-red"},"\u79FB\u9664")),dt==null?void 0:dt.map((Je,Re)=>{var ve,se;if(Re===0){const gt=(ve=Nt.find(Se=>Se.name==Je))==null?void 0:ve.swimg;return ie.createElement("img",{className:ee.sign,src:gt,style:{left:"-4px"}})}const Oe=(se=Nt.find(gt=>gt.name==Je))==null?void 0:se.ptimg;return ie.createElement("img",{className:ee.sign,src:Oe,style:{left:`${48+52*(Re-1)+2*Re}px`}})}),((Zt==null?void 0:Zt.must)||Zt.not_must)&&ie.createElement("img",{className:ee.sign,src:Zt.must?ne:ae,style:{width:28,left:dt!=null&&dt.length?48+52*((dt==null?void 0:dt.length)-1)+2*(dt==null?void 0:dt.length):7}}),ie.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Zt==null?void 0:Zt.excellent)&&ie.createElement("div",{className:ee.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ie.createElement("div",{className:ee.name},ie.createElement(Be.Z,{title:kt&&(Zt!=null&&Zt.excellent_alias_name)?ie.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ze}`,ie.createElement("br",null),ie.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Zt==null?void 0:Zt.excellent_alias_name}`)):Ze},ie.createElement("span",{className:ee.e},kt&&(Zt==null?void 0:Zt.excellent_alias_name)||Ze))),ie.createElement("div",{className:ee.tags},ie.createElement("div",null,ie.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ie.createElement("span",null,ie.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ie.createElement("span",null,Zt.stages_count))),ie.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ie.createElement("span",null,ie.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ie.createElement("span",null,Zt.members_count)))))))})),!we.length&&ie.createElement(re.Z,null)))}},9148:function(Bt,Tt,te){"use strict";te.d(Tt,{jL:function(){return Ce},w9:function(){return st},QD:function(){return Vt},cQ:function(){return ke.Z},op:function(){return Ee},O5:function(){return vn},_b:function(){return Jt},t7:function(){return E},Gi:function(){return Gt},YG:function(){return Ze},qp:function(){return _e},vr:function(){return ht},qE:function(){return ft},Je:function(){return ne},wb:function(){return ye},cq:function(){return St},tp:function(){return oe}});var ee=te(59301),le={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"},Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXu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D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ce=({dataSource:Pe=[],img:We,imgWidth:it=346,title:ct,sunTitle:Ft,bannerExtraContent:Xt})=>ee.createElement("div",{className:le.banner},ee.createElement("div",{className:le.content},ee.createElement("aside",null,ee.createElement("p",null,ee.createElement("b",null,ct),ee.createElement("span",null,Ft)),Pe.length>0&&ee.createElement("div",{className:le.btns},Pe.map((bt,je)=>ee.createElement("div",{key:je,onClick:bt.click},bt.name,bt.sign?ee.createElement("img",{src:Be,width:39}):null))),Xt),We&&ee.createElement("img",{style:{marginTop:33,marginRight:38},src:We,width:it}))),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),_e=({dataSource:Pe=[],value:We,onChange:it,onTitleChange:ct,className:Ft,title:Xt,titleWidth:bt=41,style:je={},fontColor:Ke="#6A7283",showCount:Ie})=>{const[ut,Ht]=(0,ee.useState)(0),[Dt,pn]=(0,ee.useState)(!1),mn=(0,ee.useRef)(null),tn=(0,ee.useRef)(null);return(0,ee.useEffect)(()=>{var Cn;Pe.length!==0&&(((Cn=mn==null?void 0:mn.current)==null?void 0:Cn.clientHeight)>97?Ht(1):Ht(0)),Pe.length===0&&Ht(0),pn(!1)},[Pe]),ee.createElement("div",{className:$e()(Fe.row,Ft),style:je},ee.createElement("div",{onClick:(0,Ue.throttle)(()=>ct==null?void 0:ct(),2e3),style:{width:bt,marginTop:Dt?12:4},className:`${Fe.title} ${ct?"current":""}`},Xt),ee.createElement("div",{className:Dt?`${Fe.tagsWrap} ${Fe.tagsBorderWrap}`:Fe.tagsWrap},ee.createElement("div",{className:Fe.bar,ref:tn,style:ut>0?{height:ut===1?97:"auto",overflow:ut===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ee.createElement("div",{className:Fe.tag,ref:mn},Pe==null?void 0:Pe.map(Cn=>ee.createElement("span",{onClick:()=>it(Cn.id),key:Cn.id,style:{color:Ke},className:We===Cn.id?Fe.active:""},ee.createElement("span",{title:Cn.name,className:Fe.name},Cn.name),!!Ie&&ee.createElement("span",{className:Fe.num},Cn.count))))),!!ut&&ee.createElement(ee.Fragment,null,ut===1?ee.createElement("div",{onClick:()=>{var Cn;Ht(2),((Cn=mn==null?void 0:mn.current)==null?void 0:Cn.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:()=>{tn.current.scrollTop=0,Ht(1),pn(!1)},className:Fe.action},"\u6536\u8D77",ee.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},vt={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:Pe=[],value:We,onChange:it,className:ct,style:Ft={}})=>ee.createElement("div",{style:Ft,className:$e()(vt.tabs,ct)},Pe.map(Xt=>ee.createElement("span",{onClick:()=>it(Xt.id),className:We===Xt.id?vt.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:Pe=[],value:We="",onChange:it,onInputChange:ct=()=>{},className:Ft,style:Xt={},placeholder:bt,allowClear:je=!1})=>{var Ke;const[Ie,ut]=(0,ee.useState)(""),[Ht,Dt]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var tn;let Cn=We;(tn=JSON.stringify(We))!=null&&tn.includes("{")&&(ut(We.id),Cn=We.value||"");try{Dt(decodeURIComponent(Cn||""))}catch(Qn){Dt(decodeURIComponent(Cn||""))}},[We]);const pn=()=>{it(encodeURIComponent(Ht),Ie||null)},mn=tn=>{tn!==Ie&&(ut(tn),it(encodeURIComponent(Ht),tn))};return ee.createElement("div",{className:$e()(y.input,Ft),style:Xt},!!Pe.length&&ee.createElement("div",{className:y.dropdown},ee.createElement("div",{className:y.text},(Ke=Pe.find(tn=>tn.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},Pe.map((tn,Cn)=>ee.createElement("div",{key:Cn,onClick:()=>mn(tn.id)},tn.name)))),ee.createElement(a.default,{onPressEnter:pn,value:Ht,onChange:tn=>{Dt(tn.target.value),ct(encodeURIComponent(tn.target.value),Ie||null)},bordered:!1,placeholder:bt}),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:Pe,onChange:We,className:it,total:ct,pageSize:Ft,style:Xt={}})=>{const bt=Pe<2,je=Pe>=Math.ceil(ct/Ft);return ct<=Ft?ee.createElement(ee.Fragment,null):ee.createElement("div",{className:$e()(x.quickPager,it),style:Xt},ee.createElement("div",{onClick:()=>{bt||We(Pe-1,"prev")},className:bt?x.disabled:""},"\u4E0A\u4E00\u9875"),ee.createElement("div",{onClick:()=>{je||We(Pe+1,"next")},className:je?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"},ie=te(71418),de=te(6848),ge=te(13570),xe=te(346),pe=te(51257),we=te(96908),ue=te(57177),nt=te(81378),De=te(28426),ye=({className:Pe,dataSource:We=[],col:it=4,right:ct,bottom:Ft=23,precision:Xt=0,wrapWidth:bt=1200,trackEventItems:je,loading:Ke})=>{const Ie=Math.floor((bt-(it-1)*ct)/it);return ee.createElement(ie.Z,{spinning:Ke},ee.createElement("div",{className:$e()(ae.list,Pe)},!!We.length&&We.map((ut,Ht)=>{const{name:Dt,id:pn,identifier:mn,power:tn,cover_image_id:Cn,pic:Qn}=ut;return ee.createElement("div",{className:ae.wrap,key:pn,style:{width:Ie,marginRight:(1+Ht)%it===0?0:ct+Xt,marginBottom:Ft}},ee.createElement("a",{target:"_blank",href:`/shixuns/${mn}/challenges`,className:ae.li,onClick:ln=>{ln.preventDefault(),je&&(0,pe.L9)([je]),tn&&(0,pe.xg)(`/shixuns/${mn}/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:we}),ut.is_jupyter_lab&&ee.createElement("img",{className:ae.sign,src:ue}),ut.is_unity_3d&&ee.createElement("img",{className:ae.sign,src:nt})),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")))),!tn&&ee.createElement("div",{className:ae.lockWrap},ee.createElement("img",{src:`${xe.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(52843),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___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xIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ve=te(59301),st=({className:Pe,dataSource:We=[],col:it=4,right:ct,bottom:Ft=23,precision:Xt=0,wrapWidth:bt=1200,trackEventItems:je,loading:Ke})=>{const Ie=Math.floor((bt-(it-1)*ct)/it);return Ve.createElement(ie.Z,{spinning:Ke},Ve.createElement("div",{className:$e()(qe.list,Pe)},!!We.length&&We.map((ut,Ht)=>{const{subject_identifier:Dt,id:pn,identifier:mn,power:tn}=ut,Cn=ut.is_public!=0&&ut.is_public;return Ve.createElement("div",{className:qe.wrap,key:pn,style:{width:Ie,marginRight:(1+Ht)%it===0?0:ct+Xt,marginBottom:Ft}},Ve.createElement("a",{className:qe.li,onClick:Qn=>{Qn.preventDefault(),je&&(0,pe.L9)([je]),(0,pe.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:xe.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")),Cn&&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:`${xe.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)))},Nt={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"},Zt=te(25690),Ze=({dataSource:Pe=[],value:We,onChange:it,className:ct,style:Ft={},tabBarExtraContent:Xt})=>ee.createElement("div",{className:$e()(Nt.tabs,ct),style:Ft},ee.createElement("div",{className:Nt.tabsWrap},Pe.map((bt,je)=>ee.createElement("aside",{className:Nt.tab,onClick:()=>{it(bt.id),bt.link&&Zt.history.push(bt.link)},key:je},ee.createElement("div",{className:We===bt.id?Nt.active:""},bt.name),(bt==null?void 0:bt.resetCount)==null&&(bt==null?void 0:bt.total)!==void 0&&ee.createElement("span",null,"\uFF08",bt==null?void 0:bt.total,"\uFF09"),(bt==null?void 0:bt.resetCount)!==void 0&&(bt==null?void 0:bt.total)!==void 0&&ee.createElement(de.Z,{title:(bt==null?void 0:bt.tip)!=null?bt==null?void 0:bt.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},bt==null?void 0:bt.resetCount),"/",ee.createElement("span",null,bt==null?void 0:bt.total),"\uFF09"))))),ee.createElement("div",{className:Nt.tabBar},Xt)),Gt=({className:Pe,style:We={},children:it})=>ee.createElement("div",{className:$e()(Pe),style:We},it),pt={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"},Kt=te(38854),Le=te(20834);const Qt=[{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:Pe,dropValue:We,className:it,onSort:ct,onDrop:Ft,dataSource:Xt=Qt})=>{var bt;return ee.createElement("div",{className:$e()(pt.orderWrap,it)},ee.createElement(Kt.Z,{dropdownRender:()=>ee.createElement(Le.default,null,Xt.map((je,Ke)=>ee.createElement(Le.default.Item,{key:Ke,onClick:()=>Ft(je.id)},je.name)))},ee.createElement("span",{className:pt.orderTextWrap},(bt=Xt.find(je=>We===je.id))==null?void 0:bt.name)),ee.createElement("span",{className:pt.orderIconWrap},ee.createElement("span",{className:pt.orderAsc},ee.createElement("i",{className:Pe==="asc"?`iconfont icon-sanjiaoxing-up font12 ${pt.cursorPointer} ${pt.active}`:`iconfont icon-sanjiaoxing-up font12 ${pt.cursorPointer}`,onClick:()=>ct(Pe==="asc"?"desc":"asc")})),ee.createElement("span",{className:pt.orderDesc},ee.createElement("i",{className:Pe==="desc"?`iconfont icon-sanjiaoxing-down font12 ${pt.cursorPointer} ${pt.active}`:`iconfont icon-sanjiaoxing-down font12 ${pt.cursorPointer}`,onClick:()=>ct(Pe==="asc"?"desc":"asc")}))))},dt={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"},Je=te(3113),Re=Object.defineProperty,ve=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,gt=(Pe,We,it)=>We in Pe?Re(Pe,We,{enumerable:!0,configurable:!0,writable:!0,value:it}):Pe[We]=it,Se=(Pe,We)=>{for(var it in We||(We={}))se.call(We,it)&>(Pe,it,We[it]);if(ve)for(var it of ve(We))Oe.call(We,it)&>(Pe,it,We[it]);return Pe},he=(Pe,We)=>{var it={};for(var ct in Pe)se.call(Pe,ct)&&We.indexOf(ct)<0&&(it[ct]=Pe[ct]);if(Pe!=null&&ve)for(var ct of ve(Pe))We.indexOf(ct)<0&&Oe.call(Pe,ct)&&(it[ct]=Pe[ct]);return it},Ye=(Pe,We,it)=>new Promise((ct,Ft)=>{var Xt=Ke=>{try{je(it.next(Ke))}catch(Ie){Ft(Ie)}},bt=Ke=>{try{je(it.throw(Ke))}catch(Ie){Ft(Ie)}},je=Ke=>Ke.done?ct(Ke.value):Promise.resolve(Ke.value).then(Xt,bt);je((it=it.apply(Pe,We)).next())}),Ee=Pe=>{var We=Pe,{className:it,style:ct,children:Ft,loading:Xt=!1,openLoading:bt,onClick:je=()=>{},size:Ke="middle",shape:Ie="round"}=We,ut=he(We,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ht,Dt]=(0,ee.useState)(!1);return ee.createElement(Je.ZP,Se({onClick:(0,Ue.throttle)(pn=>Ye(void 0,null,function*(){bt&&Dt(!0);try{yield je(pn)}catch(mn){console.log("error",mn)}bt&&Dt(!1)}),2e3,{leading:!0,trailing:!1}),className:$e()(dt.btn,dt[`${Ke}-${Ie}`],it),style:ct,size:Ke,shape:Ie,loading:Ht||Xt},ut),Ft)},tt={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"},ft=({className:Pe,style:We,children:it=null,onClick:ct,title:Ft})=>ee.createElement("div",{className:$e()(tt.head,Pe),style:We},ee.createElement("span",{className:"primary-hover",onClick:ct},ee.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ee.createElement("b",{title:Ft},Ft),ee.createElement("div",{className:tt.node},it)),zt={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"},Vt=({confirmShow:Pe=!0,confirmTitle:We,confirmClick:it,cancelShow:ct=!0,cancelTitle:Ft,cancelClick:Xt,className:bt,style:je,confirmLoading:Ke=!1})=>ee.createElement("div",{className:$e()(zt.btns,bt),style:je},Pe&&ee.createElement(Je.ZP,{loading:Ke,onClick:it,type:"primary",className:zt.confirm},We),ct&&ee.createElement(Je.ZP,{onClick:Xt,className:zt.cancel},Ft)),be={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"},ht=({className:Pe,style:We={},LeftContent:it,children:ct,RightContent:Ft})=>ee.createElement("div",{className:$e()(be.fixedBottom,Pe),style:We},ee.createElement("div",{className:be.wrap},ee.createElement("div",{className:be.left},it),ee.createElement("div",{className:be.center},ct),ee.createElement("div",{className:be.right},Ft))),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"},Jt=({className:Pe,style:We={},dataSource:it=[]})=>ee.createElement("div",{className:$e()(mt.crumbs,Pe),style:We},it.map((ct,Ft)=>Ft<it.length-1?ee.createElement(ee.Fragment,{key:Ft},ct.path||ct.onClick?ee.createElement("span",{className:mt.hover,onClick:ct!=null&&ct.onClick?ct.onClick:()=>Zt.history.push(ct.path)},ct.name):ee.createElement("span",null,ct.name),ee.createElement("span",null,"\xA0",">","\xA0")):ee.createElement("span",{key:Ft,style:{color:"#5F6368"}},ct.name))),on=te(31797),$t=Object.defineProperty,yn=Object.defineProperties,Dn=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,fn=(Pe,We,it)=>We in Pe?$t(Pe,We,{enumerable:!0,configurable:!0,writable:!0,value:it}):Pe[We]=it,sn=(Pe,We)=>{for(var it in We||(We={}))xt.call(We,it)&&fn(Pe,it,We[it]);if(At)for(var it of At(We))Wt.call(We,it)&&fn(Pe,it,We[it]);return Pe},Rn=(Pe,We)=>yn(Pe,Dn(We)),ot=(Pe,We)=>{var it={};for(var ct in Pe)xt.call(Pe,ct)&&We.indexOf(ct)<0&&(it[ct]=Pe[ct]);if(Pe!=null&&At)for(var ct of At(Pe))We.indexOf(ct)<0&&Wt.call(Pe,ct)&&(it[ct]=Pe[ct]);return it};const{Countdown:Pt}=on.default;var vn=Pe=>{var We=Pe,{onChange:it}=We,ct=ot(We,["onChange"]);const[Ft,Xt]=(0,ee.useState)(null);(0,ee.useEffect)(()=>{typeof Ft=="number"&&Ft>=0&&it(Ft)},[Ft]);const bt=je=>{const Ke=Math.floor(je/1e3);Xt(Ke)};return ee.createElement(Pt,Rn(sn({},ct),{onChange:bt}))}},37808:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return le}});var ee=te(59301);function le(Be,Ge){const Ce=(0,ee.useRef)();(0,ee.useEffect)(()=>{Ce.current=Be}),(0,ee.useEffect)(()=>{function Fe(){Ce.current()}if(Ge!==null){let re=setInterval(Fe,Ge);return()=>clearInterval(re)}},[Ge])}},37345:function(Bt,Tt,te){"use strict";te.d(Tt,{h:function(){return ee}});var ee=(le=>(le[le.NOMATCH=-1]="NOMATCH",le[le.OK=0]="OK",le[le.TIMEOUT=2]="TIMEOUT",le[le.PODFAILURE=3]="PODFAILURE",le[le.COMPILEFAILURE=4]="COMPILEFAILURE",le[le.EXECUTEFAILURE=5]="EXECUTEFAILURE",le[le.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",le))(ee||{})},81072:function(Bt,Tt,te){"use strict";te.d(Tt,{H7:function(){return y},MK:function(){return oe},MU:function(){return ze},X6:function(){return vt},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 _e}});var ee=te(38986),le=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Fe=(x,z,ne)=>z in x?le(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(Be)for(var ne of Be(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 _e(x,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ee.U2)(`myproblems/${x}/submit_records.json`,z)}function vt(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)}},72937:function(Bt,Tt,te){"use strict";te.d(Tt,{D0:function(){return re},R8:function(){return Ge},jw:function(){return Fe},y3:function(){return $e}});var ee=te(57809),le=te(59301);const{Option:Be}=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=>le.createElement(Be,{key:ze.title,value:ze.key}," ",ze.title," "))}function re(Ue,ze){Ue.map(_e=>{const{id:vt,name:Te,sub_disciplines:oe}=_e;let y={value:vt,label:Te};ze.push(y),oe&&oe.length>0&&(y.children=[],re(oe,y.children))})}function $e(Ue,ze){var _e;let vt=[];for(let Te=0;Te<Ue.length;Te++){const oe=Ue[Te];if(((_e=oe.sub_disciplines)==null?void 0:_e.length)>0){vt[0]=oe.id;for(let y=0;y<oe.sub_disciplines.length;y++){const a=oe.sub_disciplines[y];if(a.id===ze)return vt[1]=a.id,[vt,a.tag_disciplines||a.sub_disciplines||[]]}}}return[vt,[]]}},85953:function(Bt,Tt,te){"use strict";te.r(Tt),te.d(Tt,{default:function(){return Me}});var ee=te(59301),le=te(25690),Be=te(78241),Ge=te(8591),Ce=te(43418),Fe=te(66104),re=te(5112),$e=te(95237),Ue=te(19842),ze=te(57809),_e=te(98228),vt=te(6848),Te=te(54580),oe=te(1710),y=te(3113),a=te(346),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(77762),x=te(51257),z=te(1041),ne=te(61485),ae=te(38986),ie=te(50043),de=te(72937),ge=te(24334),xe=te(46722),pe=te(59301),we=Object.defineProperty,ue=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ke=(Ze,Et,Gt)=>Et in Ze?we(Ze,Et,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ze[Et]=Gt,qe=(Ze,Et)=>{for(var Gt in Et||(Et={}))Qe.call(Et,Gt)&&ke(Ze,Gt,Et[Gt]);if(De)for(var Gt of De(Et))ye.call(Et,Gt)&&ke(Ze,Gt,Et[Gt]);return Ze},Xe=(Ze,Et)=>ue(Ze,nt(Et)),Ve=(Ze,Et,Gt)=>new Promise((pt,Kt)=>{var Le=St=>{try{Pn(Gt.next(St))}catch(dt){Kt(dt)}},Qt=St=>{try{Pn(Gt.throw(St))}catch(dt){Kt(dt)}},Pn=St=>St.done?pt(St.value):Promise.resolve(St.value).then(Le,Qt);Pn((Gt=Gt.apply(Ze,Et)).next())});const kt=Ze=>Ze==="SINGLE"||Ze==="MULTIPLE"?"SELECT":Ze,st=Ze=>Ze.map(Et=>Xe(qe({},Et),{is_answer:Et.is_answer?1:0})),Nt=({form:Ze,currentItemType:Et,editId:Gt})=>({SELECT:pe.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:pe.createElement(E.ZZ,{form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices"}),COMPLETION:pe.createElement(E.u8,{form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"}),SUBJECTIVE:pe.createElement(E.Wk,{showKeywords:!0,isMustKeyWords:!1,form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),COMBINATION:pe.createElement(E.rL,{form:Ze,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:"choices",withScore:!1}),BPROGRAM:pe.createElement(E.tc,{form:Ze,hackidentifier:Gt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,answerKey:"standard_answers"})})[Et]||null,Zt=({problemset:Ze,loading:Et,dispatch:Gt})=>{var pt,Kt,Le,Qt;const Pn=(0,le.useParams)(),[St]=(0,le.useSearchParams)(),[dt]=Be.default.useForm(),[Je,Re]=(0,ee.useState)(),[ve,se]=(0,ee.useState)([]),Oe=(0,ee.useRef)(),[gt,Se]=(0,ee.useState)(1),[he,Ye]=(0,ee.useState)([]),[Ne,Ee]=(0,ee.useState)(),[tt,_t]=(0,ee.useState)(!1),[ft,zt]=(0,ee.useState)(),[Ot,Vt]=(0,ee.useState)("SELECT"),be=Be.default.useWatch("knowledge",dt),[lt,ht]=(0,ee.useState)([]);(0,ee.useEffect)(()=>{Rt()},[]);const mt=ot=>ot.map(Pt=>({title:Pt.name,value:Pt.group_id,children:mt(Pt.children)})),Rt=()=>Ve(void 0,null,function*(){const ot=yield(0,xe.NZ)({});if(ot!=null&&ot.data){const Pt=[{title:"\u6839\u76EE\u5F55",value:0,children:mt(ot.data||[])}];ht(Pt)}});(0,ee.useEffect)(()=>(Gt({type:"globalSetting/footerToggle",payload:!1}),()=>{Gt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ee.useEffect)(()=>(gt===1&&window.addEventListener("beforeunload",on),()=>{window.removeEventListener("beforeunload",on)}),[gt]),(0,ee.useEffect)(()=>{const ot=St.get("pages");Re(ot);const Pt=Pn.id;Oe.current=Pt},[]);const Jt=Pn.type==="edit";(0,ee.useEffect)(()=>{function ot(){return Ve(this,null,function*(){const Pt=yield Gt({type:"problemset/getEditDisciplines",payload:{source:"new_question"}})})}ot(),St.get("type")==="1"?Oe.current&&Gt({type:"problemset/getEditDataBprogram",payload:{id:Oe.current}}):Oe.current&&Gt({type:"problemset/getEditData",payload:{id:Oe.current}})},[]),(0,ee.useEffect)(()=>{var ot,Pt,an,vn,Pe,We;if(!Jt)zt({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:it,sub_discipline:ct,sub_discipline_id:Ft,tag_disciplines:Xt,item_type:bt,choices:je=[],sub_item_banks:Ke=[]}=(Ze==null?void 0:Ze.editData)||{};if(St.get("type")==="1"){if(Vt("BPROGRAM"),(ot=Ze==null?void 0:Ze.disciplinesData)!=null&&ot.disciplines){const[Ie,ut]=(0,de.y3)((Pt=Ze==null?void 0:Ze.disciplinesData)==null?void 0:Pt.disciplines,Ft),Ht={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:(an=Ze.editData)==null?void 0:an.tag_discipline_ids,hack:qe({},Ze.editData),hack_codes:Xe(qe({},Ze.editData),{code:ge.Base64.decode(((vn=Ze.editData)==null?void 0:vn.code)||"")}),hack_sets:qe({},(We=(Pe=Ze.editData)==null?void 0:Pe.hack_sets)==null?void 0:We[0])};zt(Ht),Ft&&sn(Ft).then(Dt=>{})}}else{const Ie=Xe(qe({},Ze==null?void 0:Ze.editData),{item_type:kt(bt),choices:st(je),course:[it==null?void 0:it.id,ct==null?void 0:ct.id],knowledge:Xt==null?void 0:Xt.map(ut=>ut.id),sub_item_banks:Ke.map(ut=>Xe(qe({},ut),{choices:st(ut.choices)}))});zt(Ie),Vt(kt(bt)),ct!=null&&ct.id&&sn(ct==null?void 0:ct.id).then(ut=>{var Ht;const Dt=ut==null?void 0:ut.map(pn=>pn.id);Dt!=null&&Dt.includes((Ht=Xt==null?void 0:Xt[0])==null?void 0:Ht.id)||se(pn=>[...pn,...Xt])})}}},[Ze.editData,Ze==null?void 0:Ze.disciplinesData]);const on=ot=>{ot.preventDefault(),ot.returnValue=""},$t=ot=>{const{course:Pt,knowledge:an,difficulty:vn,item_banks_group_id:Pe}=dt.getFieldsValue(),We={item_type:ot,course:Pt,knowledge:an,difficulty:vn,item_banks_group_id:Pe};switch(dt.resetFields(),dt.setFieldsValue(We),Vt(ot),ot){case"SELECT":dt.setFieldsValue({choices:Array.from({length:4},()=>({choice_text:"",is_answer:0}))});break;case"JUDGMENT":dt.setFieldsValue({choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}]});break;case"COMPLETION":dt.setFieldsValue({standard_answers:[],downcase:!0,no_space:!0});break;case"SUBJECTIVE":dt.setFieldsValue({answer_texts:[],use_keywords:!0});break;case"COMBINATION":break;case"PROGRAM":break;case"BPROGRAM":dt.setFieldsValue({hack:{time_limit:3,allow_student_debug:!1,submit_rule:1}});break}},yn=(ot,Pt)=>{var an;if(console.log(ot,"changedValues"),ot!=null&&ot.item_type){if((ot==null?void 0:ot.item_type)==="PROGRAM"){const{course:vn,knowledge:Pe,difficulty:We,item_banks_group_id:it}=dt.getFieldsValue();console.log({course:vn,knowledge:Pe,difficulty:We,item_banks_group_id:it},"resetInitValues"),(0,x.xg)(`/problems/newcreate?discipline_id=${(vn==null?void 0:vn[0])||""}&sub_discipline_id=${(vn==null?void 0:vn[1])||""}&difficult=${We||""}&banksIds=${it||""}&tagIds=${Pe==null?void 0:Pe.map(Ft=>Ft.value).join(",")}`)}$t(ot==null?void 0:ot.item_type)}if(ot!=null&&ot.course){const[vn,Pe]=ot.course;sn(Pe),dt.setFieldsValue({knowledge:[]})}if((an=ot==null?void 0:ot.hack)!=null&&an.sub_discipline_id){const[vn,Pe]=ot.hack.sub_discipline_id;sn(Pe),dt.setFieldsValue({hack:{tag_discipline_ids:[]}})}},Dn=ot=>{se([...ve,qe({},ot)])},[At,xt]=(0,ee.useState)("");(0,ee.useEffect)(()=>{xt(new Date)},[dt.getFieldValue("course")]);const Wt=()=>Ve(void 0,null,function*(){var ot,Pt,an,vn;const Pe=dt.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(Pe.item_type==="SELECT"&&We(Pe.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(Pe.item_type==="COMBINATION"&&((ot=Pe.sub_item_banks)==null?void 0:ot.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}(Pe==null?void 0:Pe.item_type)=="COMPLETION"&&Pe.is_ordered==null&&(Pe.is_ordered=!0);let{course:it=[],item_type:ct,item_banks_group_id:Ft,knowledge:Xt=[],choices:bt}=Pe||{};const[je,Ke]=it;if(gt===1){if(ct==="PROGRAM"){(0,x.xg)("/problems/newcreate");return}let Ie=[];(Xt==null?void 0:Xt.length)>0&&((Pt=Xt==null?void 0:Xt[0])!=null&&Pt.value?Xt==null||Xt.map(pn=>{Ie.push(pn==null?void 0:pn.value)}):Ie=Xt);const ut=Array.isArray(Ft)?Ft:[Ft];if(ct==="BPROGRAM"){let pn=Xe(qe({},Pe),{knowledge:Ie,item_banks_group_ids:ut,hack:Xe(qe({},Pe==null?void 0:Pe.hack),{sub_discipline_id:Ke,difficult:Pe.difficulty,item_banks_group_ids:ut,tag_discipline_ids:Ie}),hack_codes:Xe(qe({},Pe.hack_codes),{code:ge.Base64.encode(Pe.hack_codes.code)}),hack_sets:[qe({},Pe.hack_sets)],update_hack_sets:[qe({},Pe.hack_sets)],is_blank:!0});console.log(pn,"datas"),Jt||sessionStorage.projectFill?(yield(0,ae.ZP)(`/api/problems/${Oe.current||sessionStorage.projectFill}.json`,{method:"put",body:qe({},pn)})).status===0&&le.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${Pe.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(){$t(Ot)},onCancel(){le.history.replace(`/problemset?group_id=${Ft}`)}});return}if(ct==="SELECT"&&(ct=bt.filter(pn=>pn.is_answer===1).length>1?"MULTIPLE":"SINGLE"),ct==="COMBINATION"){let{sub_item_banks:pn}=Pe||{};Pe.sub_item_banks=pn==null?void 0:pn.map(mn=>qe({},mn))}const Ht=Xe(qe({},Pe),{discipline_id:je,sub_discipline_id:Ke,item_banks_group_ids:ut,tag_discipline_ids:Ie,knowledge:Ie,item_type:ct});let Dt;Jt?Dt=yield Gt({type:"problemset/editProblemset",payload:Xe(qe({},Ht),{id:Oe.current})}):Dt=yield Gt({type:"problemset/addProblemset",payload:Ht}),Dt.status===0&&(Jt?le.history.replace(`/problemset?tabs_key=${St.get("tabs_key")||"0"}${St.get("tabs_key")!=="3"?`&group_id=${Ft}`:""}&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(){$t(Ot)},onCancel(){le.history.replace(`/problemset?group_id=${Ft}`)}}))}else{if((he==null?void 0:he.length)<=0){Ge.ZP.info("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}_t(!0);const Ie=new FormData;Ie.append("file",he[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(_t(!1),(ut==null?void 0:ut.status)===0){if(((an=ut==null?void 0:ut.fail)==null?void 0:an.length)>0){Ee(ut==null?void 0:ut.fail),Ge.ZP.error("\u4E0A\u4F20\u5931\u8D25\u9898\u6570\u4E3A"+((vn=ut==null?void 0:ut.fail)==null?void 0:vn.length)+"\uFF0C\u53EF\u5728\u5E95\u90E8\u8BD5\u9898\u5217\u8868\u67E5\u770B\u9519\u8BEF\u539F\u56E0\u3002");return}dt.setFieldsValue({course:[]}),Ye([]),Ee([]),Ge.ZP.info("\u4E0A\u4F20\u6210\u529F")}}}),fn=ot=>Ve(void 0,null,function*(){var Pt,an,vn,Pe,We;ot.errorFields[0].name.includes("standard_answers")?((vn=(an=(Pt=ot==null?void 0:ot.errorFields)==null?void 0:Pt[0])==null?void 0:an.errors)==null?void 0:vn[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(ot.errorFields[0].errors[0]),dt.scrollToField((We=(Pe=ot==null?void 0:ot.errorFields)==null?void 0:Pe[0])==null?void 0:We.name,{behavior:"smooth",block:"center"})}),sn=ot=>Ve(void 0,null,function*(){const Pt=yield Gt({type:"exercise/getTagDiscipline",payload:{sub_discipline_id:ot}});return se(Pt.tag_disciplines),Pt==null?void 0:Pt.tag_disciplines}),Rn=[{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"message",key:"message"}];return pe.createElement("div",{className:b.bgWrapper},pe.createElement("section",{className:b.bg},pe.createElement(Fe.Z,{className:"mb20",separator:">"},pe.createElement(Fe.Z.Item,{href:"/problemset"},"\u8BD5\u9898\u5E93"),pe.createElement(Fe.Z.Item,null,Jt?"\u7F16\u8F91":"\u65B0\u589E","\u8BD5\u9898")),pe.createElement("div",{className:b.main},!Jt&&pe.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:pe.createElement("div",null,pe.createElement("img",{width:26,style:{position:"absolute",top:-5},src:ie.$}),pe.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),value:3}],onChange:ot=>{Se(ot.target.value),Ye([]),Ee([])},value:gt}),gt===1&&ft&&pe.createElement(Be.default,{form:dt,className:b.formWrap,layout:"horizontal",colon:!1,onValuesChange:yn,onFinish:Wt,onFinishFailed:fn,initialValues:ft},pe.createElement(Be.default.Item,{label:"\u8BD5\u9898\u7C7B\u578B",name:"item_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u9898\u578B"}]},pe.createElement(re.ZP.Group,{disabled:Jt,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"}]})),pe.createElement("div",{style:{display:Ot==="PROGRAM"?"none":"flex",background:"#F6F7F9",alignItems:"center",padding:"27px 20px"}},pe.createElement($e.Z,{align:"middle"},pe.createElement(Be.default.Item,{label:"\u77E5\u8BC6\u70B9",labelCol:{flex:"62px"},className:b.cascaderWrapper,name:"course"},pe.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:ot=>{ot||dt.setFieldsValue({knowledge:[]})}})),pe.createElement(Be.default.Item,{label:"",name:"knowledge",className:"mb0"},pe.createElement(z.N,{key:At,height:260,selectvalues:be,subId:((pt=dt.getFieldsValue().course)==null?void 0:pt[1])||((Qt=(Le=(Kt=dt.getFieldsValue())==null?void 0:Kt.hack)==null?void 0:Le.sub_discipline_id)==null?void 0:Qt[1]),knowledgeOptions:ve,onAddKnowledgeFinish:Dn,className:b.knowledgeWrapper}))),pe.createElement(Be.default.Item,{name:"difficulty",label:"\u96BE\u5EA6",className:b.difficultyWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},pe.createElement(ze.default,{style:{width:120,height:46}},pe.createElement(ze.default.Option,{value:1},"\u7B80\u5355"),pe.createElement(ze.default.Option,{value:2},"\u9002\u4E2D"),pe.createElement(ze.default.Option,{value:3},"\u56F0\u96BE"))),pe.createElement(Be.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"}},pe.createElement(_e.default,{style:{width:270},treeDefaultExpandedKeys:[0],placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",popupClassName:b.treeWrapper,treeData:lt}))),pe.createElement("div",{className:b.topicWrap},pe.createElement(Nt,{editId:Oe.current,currentItemType:Ot,form:dt}))),gt===2&&pe.createElement("div",null,pe.createElement(Be.default,{form:dt,className:b.formWrap,layout:"vertical",onValuesChange:yn,onFinish:Wt},pe.createElement(Be.default.Item,{className:b.cascaderWrapper,label:"\u65B9\u5411&\u8BFE\u7A0B\uFF1A",name:"course",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},pe.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}})),pe.createElement("div",{className:"mb30"},pe.createElement("span",{className:b.uploadTips},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898",pe.createElement(vt.Z,{title:pe.createElement("div",null,pe.createElement("div",null,"\u63D0\u793A:"),pe.createElement("div",null,"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B"),pe.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),pe.createElement("div",null,"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),pe.createElement("div",null,"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))},pe.createElement(ne.Z,{className:b.uploadTipsIcon}))),pe.createElement("a",{className:`${b.downloadBtn} ml30`,href:a.Z.API_SERVER+"/api/item_banks/down_template",download:!0},"\u4E0B\u8F7D\u8BD5\u9898\u6A21\u7248",pe.createElement("i",{className:"iconfont icon-xiazai4 ml10",style:{fontSize:14}}))),pe.createElement(Te.default,{onRemove:()=>{Ye([])},beforeUpload:ot=>{if(console.log(ot),(ot==null?void 0:ot.size)>1024*1024*50)return Ge.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;let Pt=[];return Pt.push(ot),Ye([...Pt]),!1},fileList:he,accept:".xls,.xlsx",showUploadList:{removeIcon:pe.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160"}})}},pe.createElement("div",{className:b.uploadBtn},pe.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}}),"\u70B9\u51FB\u4E0A\u4F20"))),pe.createElement("br",null),(Ne==null?void 0:Ne.length)>0&&pe.createElement("span",{style:{fontSize:"18px",display:"flex",width:"100%",justifyContent:"center"}},"\u9519\u8BEF\u5217\u8868"),(Ne==null?void 0:Ne.length)>0&&pe.createElement(oe.default,{style:{marginTop:"10px"},dataSource:Ne,columns:Rn})),gt===3&&pe.createElement(ie.Z,{mode:1,onCancel:()=>le.history.push("/problemset")})),gt!==3&&pe.createElement("div",{className:b.buttonFixed},pe.createElement("div",{className:b.buttonWrap},pe.createElement(y.ZP,{size:"middle",className:`${b.button} mr20`,onClick:()=>le.history.push(`/problemset?page=${St.get("page")}`)},"\u53D6\u6D88"),pe.createElement(y.ZP,{size:"middle",type:"primary",className:`${b.button} mr20`,onClick:()=>dt.submit(),loading:Et["problemset/editProblemset"]||Et["problemset/addProblemset"]||tt},Ot==="PROGRAM"&>===1?"\u7ACB\u5373\u521B\u5EFA":"\u4FDD\u5B58\u9898\u76EE")))))};var Me=(0,le.connect)(({problemset:Ze,loading:Et,globalSetting:Gt})=>({problemset:Ze,globalSetting:Gt,loading:Et.effects}))(Zt)},50371:function(Bt,Tt){"use strict";function te(){const ee=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let le=1;le<arguments.length;le++){const Be=le<0||arguments.length<=le?void 0:arguments[le];Be&&Object.keys(Be).forEach(Ge=>{const Ce=Be[Ge];Ce!==void 0&&(ee[Ge]=Ce)})}return ee}Tt.Z=te},13845:function(Bt,Tt,te){"use strict";te.d(Tt,{F:function(){return ee},Z:function(){return le}});function ee(Be){return Be!=null&&Be===Be.window}function le(Be,Ge){var Ce,Fe;if(typeof window=="undefined")return 0;const re=Ge?"scrollTop":"scrollLeft";let $e=0;return ee(Be)?$e=Be[Ge?"pageYOffset":"pageXOffset"]:Be instanceof Document?$e=Be.documentElement[re]:(Be instanceof HTMLElement||Be)&&($e=Be[re]),Be&&!ee(Be)&&typeof $e!="number"&&($e=(Fe=((Ce=Be.ownerDocument)!==null&&Ce!==void 0?Ce:Be).documentElement)===null||Fe===void 0?void 0:Fe[re]),$e}},56762:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return le}});var ee=te(59301);function le(){const[,Be]=ee.useReducer(Ge=>Ge+1,0);return Be}},68031:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return Ge}});var ee=te(16089);function le(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 Be=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(),_e=(0,Be.Z)(ze,!0),vt=Date.now(),Te=()=>{const y=Date.now()-vt,a=le(y>Ue?Ue:y,_e,Ce,Ue);(0,Be.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(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return Qe}});var ee=te(92310),le=te.n(ee),Be=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 _e=ze,vt=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,st=vt(ke,["className","onClick"]),Nt=Object.assign(Object.assign({},(0,Ge.Z)(st,{data:!0,aria:!0})),{onClick:kt});return Xe!==void 0?Ce.createElement("a",Object.assign({},Nt,{className:le()(`${ye}-link`,Ve),href:Xe}),qe):Ce.createElement("span",Object.assign({},Nt,{className:le()(`${ye}-link`,Ve)}),qe)}function y(ye,ke){return(Xe,Ve,kt,st,Nt)=>{if(ke)return ke(Xe,Ve,kt,st);const Zt=Te(Xe,Ve);return oe(ye,Xe,Zt,Nt)}}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:st,href:Nt}=ye,Me=(Ze=>{if(Ve||kt){const Et=Object.assign({},st);if(Ve){const Gt=Ve||{},{items:pt}=Gt,Kt=a(Gt,["items"]);Et.menu=Object.assign(Object.assign({},Kt),{items:pt==null?void 0:pt.map((Le,Qt)=>{var{key:Pn,title:St,label:dt,path:Je}=Le,Re=a(Le,["key","title","label","path"]);let ve=dt!=null?dt:St;return Je&&(ve=Ce.createElement("a",{href:`${Nt}${Je}`},ve)),Object.assign(Object.assign({},Re),{key:Pn!=null?Pn:Qt,label:ve})})})}else kt&&(Et.overlay=kt);return Ce.createElement(Ue.Z,Object.assign({placement:"bottom"},Et),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(_e,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_),st=kt("breadcrumb",ke);return Ce.createElement(b,Object.assign({},Ve,{prefixCls:st}),oe(st,Ve,qe,Xe))};E.__ANT_BREADCRUMB_ITEM=!0;var x=E,z=te(17313),ne=te(83116),ae=te(37613);const ie=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[ie(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 xe(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:st}=kt,Nt=ge(kt,["breadcrumbName"]);return Object.assign(Object.assign({},Nt),{title:st})})}),Ve}function pe(ye,ke){return(0,Ce.useMemo)(()=>ye||(ke?ke.map(xe):null),[ye,ke])}var we=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},nt=ye=>{const{prefixCls:ke,separator:qe="/",style:Xe,className:Ve,rootClassName:kt,routes:st,items:Nt,children:Zt,itemRender:Me,params:Ze={}}=ye,Et=we(ye,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Gt,direction:pt,breadcrumb:Kt}=Ce.useContext(re.E_);let Le;const Qt=Gt("breadcrumb",ke),[Pn,St]=de(Qt),dt=pe(Nt,st),Je=y(Qt,Me);if(dt&&dt.length>0){const se=[],Oe=Nt||st;Le=dt.map((gt,Se)=>{const{path:he,key:Ye,type:Ne,menu:Ee,overlay:tt,onClick:_t,className:ft,separator:zt,dropdownProps:Ot}=gt,Vt=ue(Ze,he);Vt!==void 0&&se.push(Vt);const be=Ye!=null?Ye:Se;if(Ne==="separator")return Ce.createElement(_e,{key:be},zt);const lt={},ht=Se===dt.length-1;Ee?lt.menu=Ee:tt&&(lt.overlay=tt);let{href:mt}=gt;return se.length&&Vt!==void 0&&(mt=`#/${se.join("/")}`),Ce.createElement(b,Object.assign({key:be},lt,(0,Ge.Z)(gt,{data:!0,aria:!0}),{className:ft,dropdownProps:Ot,href:mt,separator:ht?"":qe,onClick:_t,prefixCls:Qt}),Je(gt,Ze,Oe,se,mt))})}else if(Zt){const se=(0,Be.Z)(Zt).length;Le=(0,Be.Z)(Zt).map((Oe,gt)=>{if(!Oe)return Oe;const Se=gt===se-1;return(0,Fe.Tm)(Oe,{separator:Se?"":qe,key:gt})})}const Re=le()(Qt,Kt==null?void 0:Kt.className,{[`${Qt}-rtl`]:pt==="rtl"},Ve,kt,St),ve=Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Xe);return Pn(Ce.createElement("nav",Object.assign({className:Re,style:ve},Et),Ce.createElement("ol",null,Le)))};nt.Item=x,nt.Separator=_e;var De=nt,Qe=De},19842:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return vn}});var ee=te(95190),le=te(59301),Be=te(33853),Ge=te(58617),Ce=te(38819),Fe=te(92310),re=te.n(Fe),$e=te(14809),Ue=te(50298),ze=te(62646),_e=te(77861),vt=te(17115),Te=te(90782),oe=te(6089),y=te(18929),a=le.createContext(null),b=a,E=te(93664),x=te(4635),z=te(20439),ne="__rc_cascader_search_mark__",ae=function(We,it,ct){var Ft=ct.label;return it.some(function(Xt){return String(Xt[Ft]).toLowerCase().includes(We.toLowerCase())})},ie=function(We,it,ct,Ft){return it.map(function(Xt){return Xt[Ft.label]}).join(" / ")},de=function(Pe,We,it,ct,Ft,Xt){var bt=Ft.filter,je=bt===void 0?ae:bt,Ke=Ft.render,Ie=Ke===void 0?ie:Ke,ut=Ft.limit,Ht=ut===void 0?50:ut,Dt=Ft.sort;return le.useMemo(function(){var pn=[];if(!Pe)return[];function mn(tn,Cn){var Qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;tn.forEach(function(ln){if(!(!Dt&&Ht!==!1&&Ht>0&&pn.length>=Ht)){var Hn=[].concat((0,ee.Z)(Cn),[ln]),qn=ln[it.children],ua=Qn||ln.disabled;if((!qn||qn.length===0||Xt)&&je(Pe,Hn,{label:it.label})){var ta;pn.push((0,z.Z)((0,z.Z)({},ln),{},(ta={disabled:ua},(0,x.Z)(ta,it.label,Ie(Pe,Hn,ct,it)),(0,x.Z)(ta,ne,Hn),(0,x.Z)(ta,it.children,void 0),ta)))}qn&&mn(ln[it.children],Hn,ua)}})}return mn(We,[]),Dt&&pn.sort(function(tn,Cn){return Dt(tn[ne],Cn[ne],Pe,it)}),Ht!==!1&&Ht>0?pn.slice(0,Ht):pn},[Pe,We,it,ct,Ie,Xt,je,Dt,Ht])},ge="__RC_CASCADER_SPLIT__",xe="SHOW_PARENT",pe="SHOW_CHILD";function we(Pe){return Pe.join(ge)}function ue(Pe){return Pe.map(we)}function nt(Pe){return Pe.split(ge)}function De(Pe){var We=Pe||{},it=We.label,ct=We.value,Ft=We.children,Xt=ct||"value";return{label:it||"label",value:Xt,key:Xt,children:Ft||"children"}}function Qe(Pe,We){var it,ct;return(it=Pe.isLeaf)!==null&&it!==void 0?it:!((ct=Pe[We.children])!==null&&ct!==void 0&&ct.length)}function ye(Pe){var We=Pe.parentElement;if(We){var it=Pe.offsetTop-We.offsetTop;it-We.scrollTop<0?We.scrollTo({top:it}):it+Pe.offsetHeight-We.scrollTop>We.offsetHeight&&We.scrollTo({top:it+Pe.offsetHeight-We.offsetHeight})}}function ke(Pe,We){return Pe.map(function(it){var ct;return(ct=it[ne])===null||ct===void 0?void 0:ct.map(function(Ft){return Ft[We.value]})})}function qe(Pe,We,it){var ct=new Set(Pe),Ft=We();return Pe.filter(function(Xt){var bt=Ft[Xt],je=bt?bt.parent:null,Ke=bt?bt.children:null;return bt&&bt.node.disabled?!0:it===pe?!(Ke&&Ke.some(function(Ie){return Ie.key&&ct.has(Ie.key)})):!(je&&!je.node.disabled&&ct.has(je.key))})}function Xe(Pe,We,it){for(var ct=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ft=We,Xt=[],bt=function(){var Ie,ut,Ht,Dt=Pe[je],pn=(Ie=Ft)===null||Ie===void 0?void 0:Ie.findIndex(function(tn){var Cn=tn[it.value];return ct?String(Cn)===String(Dt):Cn===Dt}),mn=pn!==-1?(ut=Ft)===null||ut===void 0?void 0:ut[pn]:null;Xt.push({value:(Ht=mn==null?void 0:mn[it.value])!==null&&Ht!==void 0?Ht:Dt,index:pn,option:mn}),Ft=mn==null?void 0:mn[it.children]},je=0;je<Pe.length;je+=1)bt();return Xt}var Ve=function(Pe,We,it,ct,Ft){return le.useMemo(function(){var Xt=Ft||function(bt){var je=ct?bt.slice(-1):bt,Ke=" / ";return je.every(function(Ie){return["string","number"].includes((0,E.Z)(Ie))})?je.join(Ke):je.reduce(function(Ie,ut,Ht){var Dt=le.isValidElement(ut)?le.cloneElement(ut,{key:Ht}):ut;return Ht===0?[Dt]:[].concat((0,ee.Z)(Ie),[Ke,Dt])},[])};return Pe.map(function(bt){var je,Ke,Ie=Xe(bt,We,it),ut=Xt(Ie.map(function(Dt){var pn,mn=Dt.option,tn=Dt.value;return(pn=mn==null?void 0:mn[it.label])!==null&&pn!==void 0?pn:tn}),Ie.map(function(Dt){var pn=Dt.option;return pn})),Ht=we(bt);return{label:ut,value:Ht,key:Ht,valueCells:bt,disabled:(je=Ie[Ie.length-1])===null||je===void 0||(Ke=je.option)===null||Ke===void 0?void 0:Ke.disabled}})},[Pe,We,it,Ft,ct])},kt=te(71430),st=function(Pe,We){var it=le.useRef({options:null,info:null}),ct=le.useCallback(function(){return it.current.options!==Pe&&(it.current.options=Pe,it.current.info=(0,kt.I8)(Pe,{fieldNames:We,initWrapper:function(Xt){return(0,z.Z)((0,z.Z)({},Xt),{},{pathKeyEntities:{}})},processEntity:function(Xt,bt){var je=Xt.nodes.map(function(Ke){return Ke[We.value]}).join(ge);bt.pathKeyEntities[je]=Xt,Xt.key=je}})),it.current.info.pathKeyEntities},[We,Pe]);return ct},Nt=function(Pe,We){return le.useCallback(function(it){var ct=[],Ft=[];return it.forEach(function(Xt){var bt=Xe(Xt,Pe,We);bt.every(function(je){return je.option})?Ft.push(Xt):ct.push(Xt)}),[Ft,ct]},[Pe,We])},Zt=te(48736);function Me(Pe){return le.useMemo(function(){if(!Pe)return[!1,{}];var We={matchInputWidth:!0,limit:50};return Pe&&(0,E.Z)(Pe)==="object"&&(We=(0,z.Z)((0,z.Z)({},We),Pe)),We.limit<=0&&delete We.limit,[!0,We]},[Pe])}var Ze=le.memo(function(Pe){var We=Pe.children;return We},function(Pe,We){return!We.open}),Et=Ze;function Gt(Pe){var We,it=Pe.prefixCls,ct=Pe.checked,Ft=Pe.halfChecked,Xt=Pe.disabled,bt=Pe.onClick,je=Pe.disableCheckbox,Ke=le.useContext(b),Ie=Ke.checkable,ut=typeof Ie!="boolean"?Ie:null;return le.createElement("span",{className:re()("".concat(it),(We={},(0,x.Z)(We,"".concat(it,"-checked"),ct),(0,x.Z)(We,"".concat(it,"-indeterminate"),!ct&&Ft),(0,x.Z)(We,"".concat(it,"-disabled"),Xt||je),We)),onClick:bt},ut)}var pt="__cascader_fix_label__";function Kt(Pe){var We=Pe.prefixCls,it=Pe.multiple,ct=Pe.options,Ft=Pe.activeValue,Xt=Pe.prevValuePath,bt=Pe.onToggleOpen,je=Pe.onSelect,Ke=Pe.onActive,Ie=Pe.checkedSet,ut=Pe.halfCheckedSet,Ht=Pe.loadingKeys,Dt=Pe.isSelectable,pn=Pe.searchValue,mn="".concat(We,"-menu"),tn="".concat(We,"-menu-item"),Cn=le.useContext(b),Qn=Cn.fieldNames,ln=Cn.changeOnSelect,Hn=Cn.expandTrigger,qn=Cn.expandIcon,ua=Cn.loadingIcon,ta=Cn.dropdownMenuColumnStyle,et=Hn==="hover",jt=le.useMemo(function(){return ct.map(function(yt){var qt,dn=yt.disabled,hn=yt.disableCheckbox,un=yt[ne],cn=(qt=yt[pt])!==null&&qt!==void 0?qt:yt[Qn.label],Gn=yt[Qn.value],Xn=Qe(yt,Qn),Ut=un?un.map(function(xn){return xn[Qn.value]}):[].concat((0,ee.Z)(Xt),[Gn]),ra=we(Ut),ha=Ht.includes(ra),Fa=Ie.has(ra),va=ut.has(ra);return{disabled:dn,label:cn,value:Gn,isLeaf:Xn,isLoading:ha,checked:Fa,halfChecked:va,option:yt,disableCheckbox:hn,fullPath:Ut,fullPathKey:ra}})},[ct,Ie,Qn,ut,Ht,Xt]);return le.createElement("ul",{className:mn,role:"menu"},jt.map(function(yt){var qt,dn=yt.disabled,hn=yt.label,un=yt.value,cn=yt.isLeaf,Gn=yt.isLoading,Xn=yt.checked,Ut=yt.halfChecked,ra=yt.option,ha=yt.fullPath,Fa=yt.fullPathKey,va=yt.disableCheckbox,xn=function(){if(!(dn||pn)){var la=(0,ee.Z)(ha);et&&cn&&la.pop(),Ke(la)}},Tn=function(){Dt(ra)&&je(ha,cn)},jn;return typeof ra.title=="string"?jn=ra.title:typeof hn=="string"&&(jn=hn),le.createElement("li",{key:Fa,className:re()(tn,(qt={},(0,x.Z)(qt,"".concat(tn,"-expand"),!cn),(0,x.Z)(qt,"".concat(tn,"-active"),Ft===un||Ft===Fa),(0,x.Z)(qt,"".concat(tn,"-disabled"),dn),(0,x.Z)(qt,"".concat(tn,"-loading"),Gn),qt)),style:ta,role:"menuitemcheckbox",title:jn,"aria-checked":Xn,"data-path-key":Fa,onClick:function(){xn(),!va&&(!it||cn)&&Tn()},onDoubleClick:function(){ln&&bt(!1)},onMouseEnter:function(){et&&xn()},onMouseDown:function(la){la.preventDefault()}},it&&le.createElement(Gt,{prefixCls:"".concat(We,"-checkbox"),checked:Xn,halfChecked:Ut,disabled:dn||va,disableCheckbox:va,onClick:function(la){va||(la.stopPropagation(),Tn())}}),le.createElement("div",{className:"".concat(tn,"-content")},hn),!Gn&&qn&&!cn&&le.createElement("div",{className:"".concat(tn,"-expand-icon")},qn),Gn&&ua&&le.createElement("div",{className:"".concat(tn,"-loading-icon")},ua))}))}var Le=function(){var Pe=(0,_e.lk)(),We=Pe.multiple,it=Pe.open,ct=le.useContext(b),Ft=ct.values,Xt=le.useState([]),bt=(0,Ue.Z)(Xt,2),je=bt[0],Ke=bt[1];return le.useEffect(function(){if(it&&!We){var Ie=Ft[0];Ke(Ie||[])}},[it]),[je,Ke]},Qt=te(10228),Pn=function(Pe,We,it,ct,Ft,Xt){var bt=(0,_e.lk)(),je=bt.direction,Ke=bt.searchValue,Ie=bt.toggleOpen,ut=bt.open,Ht=je==="rtl",Dt=le.useMemo(function(){for(var ta=-1,et=We,jt=[],yt=[],qt=ct.length,dn=ke(We,it),hn=function(ra){var ha=et.findIndex(function(Fa,va){return(dn[va]?we(dn[va]):Fa[it.value])===ct[ra]});if(ha===-1)return"break";ta=ha,jt.push(ta),yt.push(ct[ra]),et=et[ta][it.children]},un=0;un<qt&&et;un+=1){var cn=hn(un);if(cn==="break")break}for(var Gn=We,Xn=0;Xn<jt.length-1;Xn+=1)Gn=Gn[jt[Xn]][it.children];return[yt,ta,Gn,dn]},[ct,it,We]),pn=(0,Ue.Z)(Dt,4),mn=pn[0],tn=pn[1],Cn=pn[2],Qn=pn[3],ln=function(et){Ft(et)},Hn=function(et){var jt=Cn.length,yt=tn;yt===-1&&et<0&&(yt=jt);for(var qt=0;qt<jt;qt+=1){yt=(yt+et+jt)%jt;var dn=Cn[yt];if(dn&&!dn.disabled){var hn=mn.slice(0,-1).concat(Qn[yt]?we(Qn[yt]):dn[it.value]);ln(hn);return}}},qn=function(){if(mn.length>1){var et=mn.slice(0,-1);ln(et)}else Ie(!1)},ua=function(){var et,jt=((et=Cn[tn])===null||et===void 0?void 0:et[it.children])||[],yt=jt.find(function(dn){return!dn.disabled});if(yt){var qt=[].concat((0,ee.Z)(mn),[yt[it.value]]);ln(qt)}};le.useImperativeHandle(Pe,function(){return{onKeyDown:function(et){var jt=et.which;switch(jt){case Qt.Z.UP:case Qt.Z.DOWN:{var yt=0;jt===Qt.Z.UP?yt=-1:jt===Qt.Z.DOWN&&(yt=1),yt!==0&&Hn(yt);break}case Qt.Z.LEFT:{if(Ke)break;Ht?ua():qn();break}case Qt.Z.RIGHT:{if(Ke)break;Ht?qn():ua();break}case Qt.Z.BACKSPACE:{Ke||qn();break}case Qt.Z.ENTER:{if(mn.length){var qt=Cn[tn],dn=(qt==null?void 0:qt[ne])||[];dn.length?Xt(dn.map(function(hn){return hn[it.value]}),dn[dn.length-1]):Xt(mn,Cn[tn])}break}case Qt.Z.ESC:Ie(!1),ut&&et.stopPropagation()}},onKeyUp:function(){}}})},St=le.forwardRef(function(Pe,We){var it,ct,Ft,Xt,bt=(0,_e.lk)(),je=bt.prefixCls,Ke=bt.multiple,Ie=bt.searchValue,ut=bt.toggleOpen,Ht=bt.notFoundContent,Dt=bt.direction,pn=bt.open,mn=le.useRef(),tn=Dt==="rtl",Cn=le.useContext(b),Qn=Cn.options,ln=Cn.values,Hn=Cn.halfValues,qn=Cn.fieldNames,ua=Cn.changeOnSelect,ta=Cn.onSelect,et=Cn.searchOptions,jt=Cn.dropdownPrefixCls,yt=Cn.loadData,qt=Cn.expandTrigger,dn=jt||je,hn=le.useState([]),un=(0,Ue.Z)(hn,2),cn=un[0],Gn=un[1],Xn=function(Oa){if(!(!yt||Ie)){var Ga=Xe(Oa,Qn,qn),za=Ga.map(function(Ea){var Ja=Ea.option;return Ja}),Ha=za[za.length-1];if(Ha&&!Qe(Ha,qn)){var na=we(Oa);Gn(function(Ea){return[].concat((0,ee.Z)(Ea),[na])}),yt(za)}}};le.useEffect(function(){cn.length&&cn.forEach(function(Ma){var Oa=nt(Ma),Ga=Xe(Oa,Qn,qn,!0).map(function(Ha){var na=Ha.option;return na}),za=Ga[Ga.length-1];(!za||za[qn.children]||Qe(za,qn))&&Gn(function(Ha){return Ha.filter(function(na){return na!==Ma})})})},[Qn,cn,qn]);var Ut=le.useMemo(function(){return new Set(ue(ln))},[ln]),ra=le.useMemo(function(){return new Set(ue(Hn))},[Hn]),ha=Le(),Fa=(0,Ue.Z)(ha,2),va=Fa[0],xn=Fa[1],Tn=function(Oa){xn(Oa),Xn(Oa)},jn=function(Oa){var Ga=Oa.disabled,za=Qe(Oa,qn);return!Ga&&(za||ua||Ke)},wn=function(Oa,Ga){var za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ta(Oa),!Ke&&(Ga||ua&&(qt==="hover"||za))&&ut(!1)},la=le.useMemo(function(){return Ie?et:Qn},[Ie,et,Qn]),Pa=le.useMemo(function(){for(var Ma=[{options:la}],Oa=la,Ga=ke(Oa,qn),za=function(){var Ja=va[Ha],Qa=Oa.find(function(no,lo){return(Ga[lo]?we(Ga[lo]):no[qn.value])===Ja}),Za=Qa==null?void 0:Qa[qn.children];if(!(Za!=null&&Za.length))return"break";Oa=Za,Ma.push({options:Za})},Ha=0;Ha<va.length;Ha+=1){var na=za();if(na==="break")break}return Ma},[la,va,qn]),ca=function(Oa,Ga){jn(Ga)&&wn(Oa,Qe(Ga,qn),!0)};Pn(We,la,qn,va,Tn,ca),le.useEffect(function(){for(var Ma=0;Ma<va.length;Ma+=1){var Oa,Ga=va.slice(0,Ma+1),za=we(Ga),Ha=(Oa=mn.current)===null||Oa===void 0?void 0:Oa.querySelector('li[data-path-key="'.concat(za.replace(/\\{0,2}"/g,'\\"'),'"]'));Ha&&ye(Ha)}},[va]);var ea=!((it=Pa[0])!==null&&it!==void 0&&(ct=it.options)!==null&&ct!==void 0&&ct.length),ya=[(Ft={},(0,x.Z)(Ft,qn.value,"__EMPTY__"),(0,x.Z)(Ft,pt,Ht),(0,x.Z)(Ft,"disabled",!0),Ft)],to=(0,z.Z)((0,z.Z)({},Pe),{},{multiple:!ea&&Ke,onSelect:wn,onActive:Tn,onToggleOpen:ut,checkedSet:Ut,halfCheckedSet:ra,loadingKeys:cn,isSelectable:jn}),$a=ea?[{options:ya}]:Pa,fo=$a.map(function(Ma,Oa){var Ga=va.slice(0,Oa),za=va[Oa];return le.createElement(Kt,(0,$e.Z)({key:Oa},to,{searchValue:Ie,prefixCls:dn,options:Ma.options,prevValuePath:Ga,activeValue:za}))});return le.createElement(Et,{open:pn},le.createElement("div",{className:re()("".concat(dn,"-menus"),(Xt={},(0,x.Z)(Xt,"".concat(dn,"-menu-empty"),ea),(0,x.Z)(Xt,"".concat(dn,"-rtl"),tn),Xt)),ref:mn},fo))}),dt=St;function Je(Pe){var We=Pe.onPopupVisibleChange,it=Pe.popupVisible,ct=Pe.popupClassName,Ft=Pe.popupPlacement;warning(!We,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(it===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(ct===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Ft===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Re(Pe,We){if(Pe){var it=function ct(Ft){for(var Xt=0;Xt<Ft.length;Xt++){var bt=Ft[Xt];if(bt[We==null?void 0:We.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(bt[We==null?void 0:We.children])&&ct(bt[We==null?void 0:We.children]))return!0}};it(Pe)}}var ve=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 Oe(Pe){return Array.isArray(Pe)&&Array.isArray(Pe[0])}function gt(Pe){return Pe?Oe(Pe)?Pe:(Pe.length===0?[]:[Pe]).map(function(We){return Array.isArray(We)?We:[We]}):[]}var Se=le.forwardRef(function(Pe,We){var it=Pe.id,ct=Pe.prefixCls,Ft=ct===void 0?"rc-cascader":ct,Xt=Pe.fieldNames,bt=Pe.defaultValue,je=Pe.value,Ke=Pe.changeOnSelect,Ie=Pe.onChange,ut=Pe.displayRender,Ht=Pe.checkable,Dt=Pe.autoClearSearchValue,pn=Dt===void 0?!0:Dt,mn=Pe.searchValue,tn=Pe.onSearch,Cn=Pe.showSearch,Qn=Pe.expandTrigger,ln=Pe.options,Hn=Pe.dropdownPrefixCls,qn=Pe.loadData,ua=Pe.popupVisible,ta=Pe.open,et=Pe.popupClassName,jt=Pe.dropdownClassName,yt=Pe.dropdownMenuColumnStyle,qt=Pe.popupPlacement,dn=Pe.placement,hn=Pe.onDropdownVisibleChange,un=Pe.onPopupVisibleChange,cn=Pe.expandIcon,Gn=cn===void 0?">":cn,Xn=Pe.loadingIcon,Ut=Pe.children,ra=Pe.dropdownMatchSelectWidth,ha=ra===void 0?!1:ra,Fa=Pe.showCheckedStrategy,va=Fa===void 0?xe:Fa,xn=(0,ze.Z)(Pe,se),Tn=(0,vt.ZP)(it),jn=!!Ht,wn=(0,y.Z)(bt,{value:je,postState:gt}),la=(0,Ue.Z)(wn,2),Pa=la[0],ca=la[1],ea=le.useMemo(function(){return De(Xt)},[JSON.stringify(Xt)]),ya=le.useMemo(function(){return ln||[]},[ln]),to=st(ya,ea),$a=le.useCallback(function(kn){var In=to();return kn.map(function(Kn){var Aa=In[Kn].nodes;return Aa.map(function(fe){return fe[ea.value]})})},[to,ea]),fo=(0,y.Z)("",{value:mn,postState:function(In){return In||""}}),Ma=(0,Ue.Z)(fo,2),Oa=Ma[0],Ga=Ma[1],za=function(In,Kn){Ga(In),Kn.source!=="blur"&&tn&&tn(In)},Ha=Me(Cn),na=(0,Ue.Z)(Ha,2),Ea=na[0],Ja=na[1],Qa=de(Oa,ya,ea,Hn||Ft,Ja,Ke),Za=Nt(ya,ea),no=le.useMemo(function(){var kn=Za(Pa),In=(0,Ue.Z)(kn,2),Kn=In[0],Aa=In[1];if(!jn||!Pa.length)return[Kn,[],Aa];var fe=ue(Kn),Mt=to(),en=(0,Te.S)(fe,!0,Mt),En=en.checkedKeys,It=en.halfCheckedKeys;return[$a(En),$a(It),Aa]},[jn,Pa,to,$a,Za]),lo=(0,Ue.Z)(no,3),ga=lo[0],Wa=lo[1],Ia=lo[2],oo=le.useMemo(function(){var kn=ue(ga),In=qe(kn,to,va);return[].concat((0,ee.Z)(Ia),(0,ee.Z)($a(In)))},[ga,to,$a,Ia,va]),So=Ve(oo,ya,ea,jn,ut),Oo=(0,oe.Z)(function(kn){if(ca(kn),Ie){var In=gt(kn),Kn=In.map(function(Mt){return Xe(Mt,ya,ea).map(function(en){return en.option})}),Aa=jn?In:In[0],fe=jn?Kn:Kn[0];Ie(Aa,fe)}}),Jo=(0,oe.Z)(function(kn){if((!jn||pn)&&Ga(""),!jn)Oo(kn);else{var In=we(kn),Kn=ue(ga),Aa=ue(Wa),fe=Kn.includes(In),Mt=Ia.some(function(Nn){return we(Nn)===In}),en=ga,En=Ia;if(Mt&&!fe)En=Ia.filter(function(Nn){return we(Nn)!==In});else{var It=fe?Kn.filter(function(Nn){return Nn!==In}):[].concat((0,ee.Z)(Kn),[In]),Ln=to(),An;if(fe){var rn=(0,Te.S)(It,{checked:!1,halfCheckedKeys:Aa},Ln);An=rn.checkedKeys}else{var Sn=(0,Te.S)(It,!0,Ln);An=Sn.checkedKeys}var Vn=qe(An,to,va);en=$a(Vn)}Oo([].concat((0,ee.Z)(En),(0,ee.Z)(en)))}}),zo=function(In,Kn){if(Kn.type==="clear"){Oo([]);return}var Aa=Kn.values[0],fe=Aa.valueCells;Jo(fe)},mo=ta!==void 0?ta:ua,po=jt||et,Bo=dn||qt,tr=function(In){hn==null||hn(In),un==null||un(In)},jo=le.useMemo(function(){return{options:ya,fieldNames:ea,values:ga,halfValues:Wa,changeOnSelect:Ke,onSelect:Jo,checkable:Ht,searchOptions:Qa,dropdownPrefixCls:Hn,loadData:qn,expandTrigger:Qn,expandIcon:Gn,loadingIcon:Xn,dropdownMenuColumnStyle:yt}},[ya,ea,ga,Wa,Ke,Jo,Ht,Qa,Hn,qn,Qn,Gn,Xn,yt]),qo=!(Oa?Qa:ya).length,ia=Oa&&Ja.matchInputWidth||qo?{}:{minWidth:"auto"};return le.createElement(b.Provider,{value:jo},le.createElement(_e.Ac,(0,$e.Z)({},xn,{ref:We,id:Tn,prefixCls:Ft,autoClearSearchValue:pn,dropdownMatchSelectWidth:ha,dropdownStyle:ia,displayValues:So,onDisplayValuesChange:zo,mode:jn?"multiple":void 0,searchValue:Oa,onSearch:za,showSearch:Ea,OptionList:dt,emptyOptions:qo,open:mo,dropdownClassName:po,placement:Bo,onDropdownVisibleChange:tr,getRawInputElement:function(){return Ut}})))});Se.SHOW_PARENT=xe,Se.SHOW_CHILD=pe;var he=Se,Ye=he,Ne=te(2738),Ee=te(62892),tt=te(53487),_t=te(19080),ft=te(36355),zt=te(93891),Ot=te(1684),Vt=te(19716),be=te(32441),lt=te(14154),ht=te(58582),mt=te(84443),Rt=te(66339),Jt=te(33234),on=te(98447),$t=te(17313),yn=te(74207),Dn=te(83116);const At=Pe=>{const{prefixCls:We,componentCls:it,antCls:ct}=Pe,Ft=`${it}-menu-item`,Xt=`
|
|
&${Ft}-expand ${Ft}-expand-icon,
|
|
${Ft}-loading-icon
|
|
`;return[{[it]:{width:Pe.controlWidth}},{[`${it}-dropdown`]:[(0,on.C2)(`${We}-checkbox`,Pe),{[`&${ct}-select-dropdown`]:{padding:0}},{[it]:{"&-checkbox":{top:0,marginInlineEnd:Pe.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${it}-menu-empty`]:{[`${it}-menu`]:{width:"100%",height:"auto",[Ft]:{color:Pe.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Pe.controlItemWidth,height:Pe.dropdownHeight,margin:0,padding:Pe.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorSplit}`},"&-item":Object.assign(Object.assign({},$t.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Pe.optionPadding,lineHeight:Pe.lineHeight,cursor:"pointer",transition:`all ${Pe.motionDurationMid}`,borderRadius:Pe.borderRadiusSM,"&:hover":{background:Pe.controlItemBgHover},"&-disabled":{color:Pe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Xt]:{color:Pe.colorTextDisabled}},[`&-active:not(${Ft}-disabled)`]:{"&, &:hover":{fontWeight:Pe.optionSelectedFontWeight,backgroundColor:Pe.optionSelectedBg}},"&-content":{flex:"auto"},[Xt]:{marginInlineStart:Pe.paddingXXS,color:Pe.colorTextDescription,fontSize:Pe.fontSizeIcon},"&-keyword":{color:Pe.colorHighlight}})}}}]},{[`${it}-dropdown-rtl`]:{direction:"rtl"}},(0,yn.c)(Pe)]};var xt=(0,Dn.Z)("Cascader",Pe=>[At(Pe)],Pe=>{const We=Math.round((Pe.controlHeight-Pe.fontSize*Pe.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Pe.controlItemBgActive,optionSelectedFontWeight:Pe.fontWeightStrong,optionPadding:`${We}px ${Pe.paddingSM}px`,menuPadding:Pe.paddingXXS}}),Wt=function(Pe,We){var it={};for(var ct in Pe)Object.prototype.hasOwnProperty.call(Pe,ct)&&We.indexOf(ct)<0&&(it[ct]=Pe[ct]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,ct=Object.getOwnPropertySymbols(Pe);Ft<ct.length;Ft++)We.indexOf(ct[Ft])<0&&Object.prototype.propertyIsEnumerable.call(Pe,ct[Ft])&&(it[ct[Ft]]=Pe[ct[Ft]]);return it};const{SHOW_CHILD:fn,SHOW_PARENT:sn}=Ye;function Rn(Pe,We,it){const ct=Pe.toLowerCase().split(We).reduce((bt,je,Ke)=>Ke===0?[je]:[].concat((0,ee.Z)(bt),[We,je]),[]),Ft=[];let Xt=0;return ct.forEach((bt,je)=>{const Ke=Xt+bt.length;let Ie=Pe.slice(Xt,Ke);Xt=Ke,je%2===1&&(Ie=le.createElement("span",{className:`${it}-menu-item-keyword`,key:`separator-${je}`},Ie)),Ft.push(Ie)}),Ft}const ot=(Pe,We,it,ct)=>{const Ft=[],Xt=Pe.toLowerCase();return We.forEach((bt,je)=>{je!==0&&Ft.push(" / ");let Ke=bt[ct.label];const Ie=typeof Ke;(Ie==="string"||Ie==="number")&&(Ke=Rn(String(Ke),Xt,it)),Ft.push(Ke)}),Ft},Pt=le.forwardRef((Pe,We)=>{const{prefixCls:it,size:ct,disabled:Ft,className:Xt,rootClassName:bt,multiple:je,bordered:Ke=!0,transitionName:Ie,choiceTransitionName:ut="",popupClassName:Ht,dropdownClassName:Dt,expandIcon:pn,placement:mn,showSearch:tn,allowClear:Cn=!0,notFoundContent:Qn,direction:ln,getPopupContainer:Hn,status:qn,showArrow:ua,builtinPlacements:ta,style:et}=Pe,jt=Wt(Pe,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),yt=(0,Ne.Z)(jt,["suffixIcon"]),{getPopupContainer:qt,getPrefixCls:dn,renderEmpty:hn,direction:un,popupOverflow:cn,cascader:Gn}=le.useContext(ft.E_),Xn=ln||un,Ut=Xn==="rtl",{status:ra,hasFeedback:ha,isFormItemInput:Fa,feedbackIcon:va}=le.useContext(be.aM),xn=(0,_t.F)(ra,qn),Tn=Qn||(hn==null?void 0:hn("Cascader"))||le.createElement(zt.Z,{componentName:"Cascader"}),jn=dn(),wn=dn("select",it),la=dn("cascader",it),[Pa,ca]=(0,lt.Z)(wn),[ea]=xt(la),{compactSize:ya,compactItemClassnames:to}=(0,Jt.ri)(wn,ln),$a=re()(Ht||Dt,`${la}-dropdown`,{[`${la}-dropdown-rtl`]:Xn==="rtl"},bt,ca),fo=le.useMemo(()=>{if(!tn)return tn;let Ia={render:ot};return typeof tn=="object"&&(Ia=Object.assign(Object.assign({},Ia),tn)),Ia},[tn]),Ma=(0,Vt.Z)(Ia=>{var oo;return(oo=ct!=null?ct:ya)!==null&&oo!==void 0?oo:Ia}),Oa=le.useContext(Ot.Z),Ga=Ft!=null?Ft:Oa;let za=pn;pn||(za=Ut?le.createElement(Be.Z,null):le.createElement(Ce.Z,null));const Ha=le.createElement("span",{className:`${wn}-menu-item-loading-icon`},le.createElement(Ge.Z,{spin:!0})),na=le.useMemo(()=>je?le.createElement("span",{className:`${la}-checkbox-inner`}):!1,[je]),Ea=(0,mt.Z)(Pe.suffixIcon,ua),{suffixIcon:Ja,removeIcon:Qa,clearIcon:Za}=(0,Rt.Z)(Object.assign(Object.assign({},Pe),{hasFeedback:ha,feedbackIcon:va,showSuffixIcon:Ea,multiple:je,prefixCls:wn,componentName:"Cascader"})),no=le.useMemo(()=>mn!==void 0?mn:Ut?"bottomRight":"bottomLeft",[mn,Ut]),lo=(0,ht.Z)(ta,cn),ga=Cn===!0?{clearIcon:Za}:Cn,Wa=le.createElement(Ye,Object.assign({prefixCls:wn,className:re()(!it&&la,{[`${wn}-lg`]:Ma==="large",[`${wn}-sm`]:Ma==="small",[`${wn}-rtl`]:Ut,[`${wn}-borderless`]:!Ke,[`${wn}-in-form-item`]:Fa},(0,_t.Z)(wn,xn,ha),to,Gn==null?void 0:Gn.className,Xt,bt,ca),disabled:Ga,style:Object.assign(Object.assign({},Gn==null?void 0:Gn.style),et)},yt,{builtinPlacements:lo,direction:Xn,placement:no,notFoundContent:Tn,allowClear:ga,showSearch:fo,expandIcon:za,suffixIcon:Ja,removeIcon:Qa,loadingIcon:Ha,checkable:na,dropdownClassName:$a,dropdownPrefixCls:it||la,choiceTransitionName:(0,Ee.m)(jn,"",ut),transitionName:(0,Ee.m)(jn,"slide-up",Ie),getPopupContainer:Hn||qt,ref:We}));return ea(Pa(Wa))}),an=(0,tt.Z)(Pt);Pt.SHOW_PARENT=sn,Pt.SHOW_CHILD=fn,Pt._InternalPanelDoNotUseOrYouWillBeFired=an;var vn=Pt},24905:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return de}});var ee=te(92310),le=te.n(ee),Be=te(5630),Ge=te(59301),Ce=te(36355),Fe=te(1684),re=te(32441),Ue=Ge.createContext(null),ze=te(98447),_e=te(14088),vt=te(4572),Te=function(ge,xe){var pe={};for(var we in ge)Object.prototype.hasOwnProperty.call(ge,we)&&xe.indexOf(we)<0&&(pe[we]=ge[we]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,we=Object.getOwnPropertySymbols(ge);ue<we.length;ue++)xe.indexOf(we[ue])<0&&Object.prototype.propertyIsEnumerable.call(ge,we[ue])&&(pe[we[ue]]=ge[we[ue]]);return pe};const oe=(ge,xe)=>{var pe;const{prefixCls:we,className:ue,rootClassName:nt,children:De,indeterminate:Qe=!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:st,direction:Nt,checkbox:Zt}=Ge.useContext(Ce.E_),Me=Ge.useContext(Ue),{isFormItemInput:Ze}=Ge.useContext(re.aM),Et=Ge.useContext(Fe.Z),Gt=(pe=(Me==null?void 0:Me.disabled)||Ve)!==null&&pe!==void 0?pe:Et,pt=Ge.useRef(kt.value);Ge.useEffect(()=>{Me==null||Me.registerValue(kt.value)},[]),Ge.useEffect(()=>{if(!Xe)return kt.value!==pt.current&&(Me==null||Me.cancelValue(pt.current),Me==null||Me.registerValue(kt.value),pt.current=kt.value),()=>Me==null?void 0:Me.cancelValue(kt.value)},[kt.value]);const Kt=st("checkbox",we),[Le,Qt]=(0,ze.ZP)(Kt),Pn=Object.assign({},kt);Me&&!Xe&&(Pn.onChange=function(){kt.onChange&&kt.onChange.apply(kt,arguments),Me.toggleOption&&Me.toggleOption({label:De,value:kt.value})},Pn.name=Me.name,Pn.checked=Me.value.includes(kt.value));const St=le()(`${Kt}-wrapper`,{[`${Kt}-rtl`]:Nt==="rtl",[`${Kt}-wrapper-checked`]:Pn.checked,[`${Kt}-wrapper-disabled`]:Gt,[`${Kt}-wrapper-in-form-item`]:Ze},Zt==null?void 0:Zt.className,ue,nt,Qt),dt=le()({[`${Kt}-indeterminate`]:Qe},vt.A,Qt),Je=Qe?"mixed":void 0;return Le(Ge.createElement(_e.Z,{component:"Checkbox",disabled:Gt},Ge.createElement("label",{className:St,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),ye),onMouseEnter:ke,onMouseLeave:qe},Ge.createElement(Be.Z,Object.assign({"aria-checked":Je},Pn,{prefixCls:Kt,className:dt,disabled:Gt,ref:xe})),De!==void 0&&Ge.createElement("span",null,De))))};var a=Ge.forwardRef(oe),b=te(95190),E=te(2738),x=function(ge,xe){var pe={};for(var we in ge)Object.prototype.hasOwnProperty.call(ge,we)&&xe.indexOf(we)<0&&(pe[we]=ge[we]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,we=Object.getOwnPropertySymbols(ge);ue<we.length;ue++)xe.indexOf(we[ue])<0&&Object.prototype.propertyIsEnumerable.call(ge,we[ue])&&(pe[we[ue]]=ge[we[ue]]);return pe};const z=(ge,xe)=>{const{defaultValue:pe,children:we,options:ue=[],prefixCls:nt,className:De,rootClassName:Qe,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,st]=Ge.useState(qe.value||pe||[]),[Nt,Zt]=Ge.useState([]);Ge.useEffect(()=>{"value"in qe&&st(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=>{Zt(ve=>ve.filter(se=>se!==Re))},Et=Re=>{Zt(ve=>[].concat((0,b.Z)(ve),[Re]))},Gt=Re=>{const ve=kt.indexOf(Re.value),se=(0,b.Z)(kt);ve===-1?se.push(Re.value):se.splice(ve,1),"value"in qe||st(se),ke==null||ke(se.filter(Oe=>Nt.includes(Oe)).sort((Oe,gt)=>{const Se=Me.findIndex(Ye=>Ye.value===Oe),he=Me.findIndex(Ye=>Ye.value===gt);return Se-he}))},pt=Xe("checkbox",nt),Kt=`${pt}-group`,[Le,Qt]=(0,ze.ZP)(pt),Pn=(0,E.Z)(qe,["value","disabled"]),St=ue.length?Me.map(Re=>Ge.createElement(a,{prefixCls:pt,key:Re.value.toString(),disabled:"disabled"in Re?Re.disabled:qe.disabled,value:Re.value,checked:kt.includes(Re.value),onChange:Re.onChange,className:`${Kt}-item`,style:Re.style,title:Re.title},Re.label)):we,dt={toggleOption:Gt,value:kt,disabled:qe.disabled,name:qe.name,registerValue:Et,cancelValue:Ze},Je=le()(Kt,{[`${Kt}-rtl`]:Ve==="rtl"},De,Qe,Qt);return Le(Ge.createElement("div",Object.assign({className:Je,style:ye},Pn,{ref:xe}),Ge.createElement(Ue.Provider,{value:dt},St)))},ne=Ge.forwardRef(z);var ae=Ge.memo(ne);const ie=a;ie.Group=ae,ie.__ANT_CHECKBOX=!0;var de=ie},98447:function(Bt,Tt,te){"use strict";te.d(Tt,{C2:function(){return Ce}});var ee=te(17313),le=te(37613),Be=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,le.TS)(re,{checkboxCls:`.${Fe}`,checkboxSize:re.controlInteractiveSize});return[Ge($e)]}Tt.ZP=(0,Be.Z)("Checkbox",(Fe,re)=>{let{prefixCls:$e}=re;return[Ce($e,Fe)]})},36381:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return Pn}});var ee=te(38819),le=te(92310),Be=te.n(le),Ge=te(14809),Ce=te(95190),Fe=te(50298),re=te(93664),$e=te(18929),Ue=te(48736),ze=te(59301),_e=te(62646),vt=te(11592),Te=te(4635),oe=te(77900),y=te(10228),a=ze.forwardRef(function(St,dt){var Je=St.prefixCls,Re=St.forceRender,ve=St.className,se=St.style,Oe=St.children,gt=St.isActive,Se=St.role,he=ze.useState(gt||Re),Ye=(0,Fe.Z)(he,2),Ne=Ye[0],Ee=Ye[1];return ze.useEffect(function(){(Re||gt)&&Ee(!0)},[Re,gt]),Ne?ze.createElement("div",{ref:dt,className:Be()("".concat(Je,"-content"),(0,Te.Z)((0,Te.Z)({},"".concat(Je,"-content-active"),gt),"".concat(Je,"-content-inactive"),!gt),ve),style:se,role:Se},ze.createElement("div",{className:"".concat(Je,"-content-box")},Oe)):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,dt){var Je=St.showArrow,Re=Je===void 0?!0:Je,ve=St.headerClass,se=St.isActive,Oe=St.onItemClick,gt=St.forceRender,Se=St.className,he=St.prefixCls,Ye=St.collapsible,Ne=St.accordion,Ee=St.panelKey,tt=St.extra,_t=St.header,ft=St.expandIcon,zt=St.openMotion,Ot=St.destroyInactivePanel,Vt=St.children,be=(0,_e.Z)(St,E),lt=Ye==="disabled",ht=Ye==="header",mt=Ye==="icon",Rt=tt!=null&&typeof tt!="boolean",Jt=function(){Oe==null||Oe(Ee)},on=function(Wt){(Wt.key==="Enter"||Wt.keyCode===y.Z.ENTER||Wt.which===y.Z.ENTER)&&Jt()},$t=typeof ft=="function"?ft(St):ze.createElement("i",{className:"arrow"});$t&&($t=ze.createElement("div",{className:"".concat(he,"-expand-icon"),onClick:["header","icon"].includes(Ye)?Jt:void 0},$t));var yn=Be()((0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(he,"-item"),!0),"".concat(he,"-item-active"),se),"".concat(he,"-item-disabled"),lt),Se),Dn=Be()(ve,(0,Te.Z)((0,Te.Z)((0,Te.Z)({},"".concat(he,"-header"),!0),"".concat(he,"-header-collapsible-only"),ht),"".concat(he,"-icon-collapsible-only"),mt)),At={className:Dn,"aria-expanded":se,"aria-disabled":lt,onKeyDown:on};return!ht&&!mt&&(At.onClick=Jt,At.role=Ne?"tab":"button",At.tabIndex=lt?-1:0),ze.createElement("div",(0,Ge.Z)({},be,{ref:dt,className:yn}),ze.createElement("div",At,Re&&$t,ze.createElement("span",{className:"".concat(he,"-header-text"),onClick:Ye==="header"?Jt:void 0},_t),Rt&&ze.createElement("div",{className:"".concat(he,"-extra")},tt)),ze.createElement(oe.default,(0,Ge.Z)({visible:se,leavedClassName:"".concat(he,"-content-hidden")},zt,{forceRender:gt,removeOnLeave:Ot}),function(xt,Wt){var fn=xt.className,sn=xt.style;return ze.createElement(b,{ref:Wt,prefixCls:he,className:fn,style:sn,isActive:se,forceRender:gt,role:Ne?"tabpanel":void 0},Vt)}))}),z=x,ne=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ae=function(dt,Je){var Re=Je.prefixCls,ve=Je.accordion,se=Je.collapsible,Oe=Je.destroyInactivePanel,gt=Je.onItemClick,Se=Je.activeKey,he=Je.openMotion,Ye=Je.expandIcon;return dt.map(function(Ne,Ee){var tt=Ne.children,_t=Ne.label,ft=Ne.key,zt=Ne.collapsible,Ot=Ne.onItemClick,Vt=Ne.destroyInactivePanel,be=(0,_e.Z)(Ne,ne),lt=String(ft!=null?ft:Ee),ht=zt!=null?zt:se,mt=Vt!=null?Vt:Oe,Rt=function($t){ht!=="disabled"&&(gt($t),Ot==null||Ot($t))},Jt=!1;return ve?Jt=Se[0]===lt:Jt=Se.indexOf(lt)>-1,ze.createElement(z,(0,Ge.Z)({},be,{prefixCls:Re,key:lt,panelKey:lt,isActive:Jt,accordion:ve,openMotion:he,expandIcon:Ye,header:_t,collapsible:ht,onItemClick:Rt,destroyInactivePanel:mt}),tt)})},ie=function(dt,Je,Re){if(!dt)return null;var ve=Re.prefixCls,se=Re.accordion,Oe=Re.collapsible,gt=Re.destroyInactivePanel,Se=Re.onItemClick,he=Re.activeKey,Ye=Re.openMotion,Ne=Re.expandIcon,Ee=dt.key||String(Je),tt=dt.props,_t=tt.header,ft=tt.headerClass,zt=tt.destroyInactivePanel,Ot=tt.collapsible,Vt=tt.onItemClick,be=!1;se?be=he[0]===Ee:be=he.indexOf(Ee)>-1;var lt=Ot!=null?Ot:Oe,ht=function(Jt){lt!=="disabled"&&(Se(Jt),Vt==null||Vt(Jt))},mt={key:Ee,panelKey:Ee,header:_t,headerClass:ft,isActive:be,prefixCls:ve,destroyInactivePanel:zt!=null?zt:gt,openMotion:Ye,accordion:se,children:dt.props.children,onItemClick:ht,expandIcon:Ne,collapsible:lt};return typeof dt.type=="string"?dt:(Object.keys(mt).forEach(function(Rt){typeof mt[Rt]=="undefined"&&delete mt[Rt]}),ze.cloneElement(dt,mt))};function de(St,dt,Je){return Array.isArray(St)?ae(St,Je):(0,vt.Z)(dt).map(function(Re,ve){return ie(Re,ve,Je)})}var ge=de,xe=te(26112);function pe(St){var dt=St;if(!Array.isArray(dt)){var Je=(0,re.Z)(dt);dt=Je==="number"||Je==="string"?[dt]:[]}return dt.map(function(Re){return String(Re)})}var we=ze.forwardRef(function(St,dt){var Je=St.prefixCls,Re=Je===void 0?"rc-collapse":Je,ve=St.destroyInactivePanel,se=ve===void 0?!1:ve,Oe=St.style,gt=St.accordion,Se=St.className,he=St.children,Ye=St.collapsible,Ne=St.openMotion,Ee=St.expandIcon,tt=St.activeKey,_t=St.defaultActiveKey,ft=St.onChange,zt=St.items,Ot=Be()(Re,Se),Vt=(0,$e.Z)([],{value:tt,onChange:function(on){return ft==null?void 0:ft(on)},defaultValue:_t,postState:pe}),be=(0,Fe.Z)(Vt,2),lt=be[0],ht=be[1],mt=function(on){return ht(function(){if(gt)return lt[0]===on?[]:[on];var $t=lt.indexOf(on),yn=$t>-1;return yn?lt.filter(function(Dn){return Dn!==on}):[].concat((0,Ce.Z)(lt),[on])})};(0,Ue.ZP)(!he,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Rt=ge(zt,he,{prefixCls:Re,accordion:gt,openMotion:Ne,expandIcon:Ee,collapsible:Ye,destroyInactivePanel:se,onItemClick:mt,activeKey:lt});return ze.createElement("div",(0,Ge.Z)({ref:dt,className:Ot,style:Oe,role:gt?"tablist":void 0},(0,xe.Z)(St,{aria:!0,data:!0})),Rt)}),ue=Object.assign(we,{Panel:z}),nt=ue,De=ue.Panel,Qe=te(2738),ye=te(62892),ke=te(92343),qe=te(36355),Xe=te(19716),kt=ze.forwardRef((St,dt)=>{const{getPrefixCls:Je}=ze.useContext(qe.E_),{prefixCls:Re,className:ve,showArrow:se=!0}=St,Oe=Je("collapse",Re),gt=Be()({[`${Oe}-no-arrow`]:!se},ve);return ze.createElement(nt.Panel,Object.assign({ref:dt},St,{prefixCls:Oe,className:gt}))}),st=te(17313),Nt=te(8378),Zt=te(83116),Me=te(37613);const Ze=St=>{const{componentCls:dt,contentBg:Je,padding:Re,headerBg:ve,headerPadding:se,collapseHeaderPaddingSM:Oe,collapseHeaderPaddingLG:gt,collapsePanelBorderRadius:Se,lineWidth:he,lineType:Ye,colorBorder:Ne,colorText:Ee,colorTextHeading:tt,colorTextDisabled:_t,fontSize:ft,fontSizeLG:zt,lineHeight:Ot,marginSM:Vt,paddingSM:be,paddingLG:lt,paddingXS:ht,motionDurationSlow:mt,fontSizeIcon:Rt,contentPadding:Jt}=St,on=`${he}px ${Ye} ${Ne}`;return{[dt]:Object.assign(Object.assign({},(0,st.Wf)(St)),{backgroundColor:ve,border:on,borderBottom:0,borderRadius:`${Se}px`,"&-rtl":{direction:"rtl"},[`& > ${dt}-item`]:{borderBottom:on,"&:last-child":{[`
|
|
&,
|
|
& > ${dt}-header`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`> ${dt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:se,color:tt,lineHeight:Ot,cursor:"pointer",transition:`all ${mt}, visibility 0s`,[`> ${dt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${dt}-expand-icon`]:{height:ft*Ot,display:"flex",alignItems:"center",paddingInlineEnd:Vt},[`${dt}-arrow`]:Object.assign(Object.assign({},(0,st.Ro)()),{fontSize:Rt,svg:{transition:`transform ${mt}`}}),[`${dt}-header-text`]:{marginInlineEnd:"auto"}},[`${dt}-header-collapsible-only`]:{cursor:"default",[`${dt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${dt}-icon-collapsible-only`]:{cursor:"default",[`${dt}-expand-icon`]:{cursor:"pointer"}}},[`${dt}-content`]:{color:Ee,backgroundColor:Je,borderTop:on,[`& > ${dt}-content-box`]:{padding:Jt},"&-hidden":{display:"none"}},"&-small":{[`> ${dt}-item`]:{[`> ${dt}-header`]:{padding:Oe,paddingInlineStart:ht,[`> ${dt}-expand-icon`]:{marginInlineStart:be-ht}},[`> ${dt}-content > ${dt}-content-box`]:{padding:be}}},"&-large":{[`> ${dt}-item`]:{fontSize:zt,[`> ${dt}-header`]:{padding:gt,paddingInlineStart:Re,[`> ${dt}-expand-icon`]:{height:zt*Ot,marginInlineStart:lt-Re}},[`> ${dt}-content > ${dt}-content-box`]:{padding:lt}}},[`${dt}-item:last-child`]:{[`> ${dt}-content`]:{borderRadius:`0 0 ${Se}px ${Se}px`}},[`& ${dt}-item-disabled > ${dt}-header`]:{"\n &,\n & > .arrow\n ":{color:_t,cursor:"not-allowed"}},[`&${dt}-icon-position-end`]:{[`& > ${dt}-item`]:{[`> ${dt}-header`]:{[`${dt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Vt}}}}})}},Et=St=>{const{componentCls:dt}=St,Je=`> ${dt}-item > ${dt}-header ${dt}-arrow svg`;return{[`${dt}-rtl`]:{[Je]:{transform:"rotate(180deg)"}}}},Gt=St=>{const{componentCls:dt,headerBg:Je,paddingXXS:Re,colorBorder:ve}=St;return{[`${dt}-borderless`]:{backgroundColor:Je,border:0,[`> ${dt}-item`]:{borderBottom:`1px solid ${ve}`},[`
|
|
> ${dt}-item:last-child,
|
|
> ${dt}-item:last-child ${dt}-header
|
|
`]:{borderRadius:0},[`> ${dt}-item:last-child`]:{borderBottom:0},[`> ${dt}-item > ${dt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${dt}-item > ${dt}-content > ${dt}-content-box`]:{paddingTop:Re}}}},pt=St=>{const{componentCls:dt,paddingSM:Je}=St;return{[`${dt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${dt}-item`]:{borderBottom:0,[`> ${dt}-content`]:{backgroundColor:"transparent",border:0,[`> ${dt}-content-box`]:{paddingBlock:Je}}}}}};var Kt=(0,Zt.Z)("Collapse",St=>{const dt=(0,Me.TS)(St,{collapseHeaderPaddingSM:`${St.paddingXS}px ${St.paddingSM}px`,collapseHeaderPaddingLG:`${St.padding}px ${St.paddingLG}px`,collapsePanelBorderRadius:St.borderRadiusLG});return[Ze(dt),Gt(dt),pt(dt),Et(dt),(0,Nt.Z)(dt)]},St=>({headerPadding:`${St.paddingSM}px ${St.padding}px`,headerBg:St.colorFillAlter,contentPadding:`${St.padding}px 16px`,contentBg:St.colorBgContainer})),Qt=Object.assign(ze.forwardRef((St,dt)=>{const{getPrefixCls:Je,direction:Re,collapse:ve}=ze.useContext(qe.E_),{prefixCls:se,className:Oe,rootClassName:gt,style:Se,bordered:he=!0,ghost:Ye,size:Ne,expandIconPosition:Ee="start",children:tt,expandIcon:_t}=St,ft=(0,Xe.Z)(on=>{var $t;return($t=Ne!=null?Ne:on)!==null&&$t!==void 0?$t:"middle"}),zt=Je("collapse",se),Ot=Je(),[Vt,be]=Kt(zt),lt=ze.useMemo(()=>Ee==="left"?"start":Ee==="right"?"end":Ee,[Ee]),ht=function(){let on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const $t=_t?_t(on):ze.createElement(ee.Z,{rotate:on.isActive?90:void 0});return(0,ke.Tm)($t,()=>({className:Be()($t.props.className,`${zt}-arrow`)}))},mt=Be()(`${zt}-icon-position-${lt}`,{[`${zt}-borderless`]:!he,[`${zt}-rtl`]:Re==="rtl",[`${zt}-ghost`]:!!Ye,[`${zt}-${ft}`]:ft!=="middle"},ve==null?void 0:ve.className,Oe,gt,be),Rt=Object.assign(Object.assign({},(0,ye.Z)(Ot)),{motionAppear:!1,leavedClassName:`${zt}-content-hidden`}),Jt=ze.useMemo(()=>tt?(0,vt.Z)(tt).map((on,$t)=>{var yn,Dn;if(!((yn=on.props)===null||yn===void 0)&&yn.disabled){const At=(Dn=on.key)!==null&&Dn!==void 0?Dn:String($t),{disabled:xt,collapsible:Wt}=on.props,fn=Object.assign(Object.assign({},(0,Qe.Z)(on.props,["disabled"])),{key:At,collapsible:Wt!=null?Wt:xt?"disabled":void 0});return(0,ke.Tm)(on,fn)}return on}):null,[tt]);return Vt(ze.createElement(nt,Object.assign({ref:dt,openMotion:Rt},(0,Qe.Z)(St,["rootClassName"]),{expandIcon:ht,prefixCls:zt,className:mt,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),Se)}),Jt))}),{Panel:kt}),Pn=Qt},91857:function(Bt,Tt,te){"use strict";var ee=te(59301),le=te(38819),Be=te(92310),Ge=te.n(Be),Ce=te(31561),Fe=te(70425),re=te(18929),$e=te(2738),Ue=te(79676),ze=te(53487),_e=te(92343),vt=te(36355),Te=te(20834),oe=te(40875),y=te(88088),a=te(47211);const b=null,E=ae=>{const{menu:ie,arrow:de,prefixCls:ge,children:xe,trigger:pe,disabled:we,dropdownRender:ue,getPopupContainer:nt,overlayClassName:De,rootClassName:Qe,open:ye,onOpenChange:ke,visible:qe,onVisibleChange:Xe,mouseEnterDelay:Ve=.15,mouseLeaveDelay:kt=.1,autoAdjustOverflow:st=!0,placement:Nt="",overlay:Zt,transitionName:Me}=ae,{getPopupContainer:Ze,getPrefixCls:Et,direction:Gt}=ee.useContext(vt.E_),pt=ee.useMemo(()=>{const Ee=Et();return Me!==void 0?Me:Nt.includes("top")?`${Ee}-slide-down`:`${Ee}-slide-up`},[Et,Nt,Me]),Kt=ee.useMemo(()=>Nt?Nt.includes("Center")?Nt.slice(0,Nt.indexOf("Center")):Nt:Gt==="rtl"?"bottomRight":"bottomLeft",[Nt,Gt]),Le=Et("dropdown",ge),[Qt,Pn]=(0,a.Z)(Le),[,St]=(0,y.Z)(),dt=ee.Children.only(xe),Je=(0,_e.Tm)(dt,{className:Ge()(`${Le}-trigger`,{[`${Le}-rtl`]:Gt==="rtl"},dt.props.className),disabled:we}),Re=we?[]:pe;let ve;Re&&Re.includes("contextMenu")&&(ve=!0);const[se,Oe]=(0,re.Z)(!1,{value:ye!=null?ye:qe}),gt=(0,Fe.useEvent)(Ee=>{ke==null||ke(Ee),Xe==null||Xe(Ee),Oe(Ee)}),Se=Ge()(De,Qe,Pn,{[`${Le}-rtl`]:Gt==="rtl"}),he=(0,Ue.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:st,offset:St.marginXXS,arrowWidth:de?St.sizePopupArrow:0,borderRadius:St.borderRadius}),Ye=ee.useCallback(()=>{Oe(!1)},[]),Ne=()=>{let Ee;return ie!=null&&ie.items?Ee=ee.createElement(Te.default,Object.assign({},ie)):typeof Zt=="function"?Ee=Zt():Ee=Zt,ue&&(Ee=ue(Ee)),Ee=ee.Children.only(typeof Ee=="string"?ee.createElement("span",null,Ee):Ee),ee.createElement(oe.J,{prefixCls:`${Le}-menu`,expandIcon:ee.createElement("span",{className:`${Le}-menu-submenu-arrow`},ee.createElement(le.Z,{className:`${Le}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ye,validator:tt=>{let{mode:_t}=tt}},Ee)};return Qt(ee.createElement(Ce.Z,Object.assign({alignPoint:ve},(0,$e.Z)(ae,["rootClassName"]),{mouseEnterDelay:Ve,mouseLeaveDelay:kt,visible:se,builtinPlacements:he,arrow:!!de,overlayClassName:Se,prefixCls:Le,getPopupContainer:nt||Ze,transitionName:pt,trigger:Re,overlay:Ne,placement:Kt,onVisibleChange:gt}),Je))};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,Tt.Z=E},38854:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return y}});var ee=te(91857),le=te(92310),Be=te.n(le),Ge=te(59301),Ce=te(18785),Fe=te(3113),re=te(36355),$e=te(81327),Ue=te(33234),ze=te(47211),_e=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 vt=a=>{const{getPopupContainer:b,getPrefixCls:E,direction:x}=Ge.useContext(re.E_),{prefixCls:z,type:ne="default",danger:ae,disabled:ie,loading:de,onClick:ge,htmlType:xe,children:pe,className:we,menu:ue,arrow:nt,autoFocus:De,overlay:Qe,trigger:ye,align:ke,open:qe,onOpenChange:Xe,placement:Ve,getPopupContainer:kt,href:st,icon:Nt=Ge.createElement(Ce.Z,null),title:Zt,buttonsRender:Me=Ne=>Ne,mouseEnterDelay:Ze,mouseLeaveDelay:Et,overlayClassName:Gt,overlayStyle:pt,destroyPopupOnHide:Kt,dropdownRender:Le}=a,Qt=_e(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"]),Pn=E("dropdown",z),St=`${Pn}-button`,[dt,Je]=(0,ze.Z)(Pn),Re={menu:ue,arrow:nt,autoFocus:De,align:ke,disabled:ie,trigger:ie?[]:ye,onOpenChange:Xe,getPopupContainer:kt||b,mouseEnterDelay:Ze,mouseLeaveDelay:Et,overlayClassName:Gt,overlayStyle:pt,destroyPopupOnHide:Kt,dropdownRender:Le},{compactSize:ve,compactItemClassnames:se}=(0,Ue.ri)(Pn,x),Oe=Be()(St,se,we,Je);"overlay"in a&&(Re.overlay=Qe),"open"in a&&(Re.open=qe),"placement"in a?Re.placement=Ve:Re.placement=x==="rtl"?"bottomLeft":"bottomRight";const gt=Ge.createElement(Fe.ZP,{type:ne,danger:ae,disabled:ie,loading:de,onClick:ge,htmlType:xe,href:st,title:Zt},pe),Se=Ge.createElement(Fe.ZP,{type:ne,danger:ae,icon:Nt}),[he,Ye]=Me([gt,Se]);return dt(Ge.createElement($e.Z.Compact,Object.assign({className:Oe,size:ve,block:!0},Qt),he,Ge.createElement(ee.Z,Object.assign({},Re),Ye)))};vt.__ANT_BUTTON=!0;var Te=vt;const oe=ee.Z;oe.Button=Te;var y=oe},47211:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return _e}});var ee=te(17313),le=te(13826),Be=te(92899),Ge=te(29878),Ce=te(19447),Fe=te(83116),re=te(37613),Ue=vt=>{const{componentCls:Te,menuCls:oe,colorError:y,colorTextLightSolid:a}=vt,b=`${oe}-item`;return{[`${Te}, ${Te}-menu-submenu`]:{[`${oe} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ze=vt=>{const{componentCls:Te,menuCls:oe,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ne,fontSize:ae,dropdownEdgeChildPadding:ie,colorTextDisabled:de,fontSizeIcon:ge,controlPaddingHorizontal:xe,colorBgElevated:pe}=vt;return[{[Te]:Object.assign(Object.assign({},(0,ee.Wf)(vt)),{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:le.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:le.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:le.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:le.ly}})},(0,Ce.ZP)(vt,{colorBg:pe,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:ie,listStyleType:"none",backgroundColor:pe,backgroundClip:"padding-box",borderRadius:vt.borderRadiusLG,outline:"none",boxShadow:vt.boxShadowSecondary},(0,ee.Qy)(vt)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${xe}px`,color:vt.colorTextDescription,transition:`all ${z}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:ae,marginInlineEnd:vt.marginXS,fontSize:vt.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 ${xe}px`,color:vt.colorText,fontWeight:"normal",fontSize:ae,lineHeight:vt.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:vt.borderRadiusSM,"&:hover, &-active":{backgroundColor:vt.controlItemBgHover}},(0,ee.Qy)(vt)),{"&-selected":{color:vt.colorPrimary,backgroundColor:vt.controlItemBgActive,"&:hover, &-active":{backgroundColor:vt.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${vt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:vt.colorSplit},[`${Te}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:vt.paddingXS,[`${Te}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:vt.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${vt.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:xe+vt.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${Te}-menu-submenu-title`]:{[`&, ${Te}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:pe,cursor:"not-allowed"}},[`${oe}-submenu-selected ${Te}-menu-submenu-title`]:{color:vt.colorPrimary}})}},[(0,le.oN)(vt,"slide-up"),(0,le.oN)(vt,"slide-down"),(0,Be.Fm)(vt,"move-up"),(0,Be.Fm)(vt,"move-down"),(0,Ge._y)(vt,"zoom-big")]]};var _e=(0,Fe.Z)("Dropdown",(vt,Te)=>{let{rootPrefixCls:oe}=Te;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:z,componentCls:ne,borderRadiusLG:ae}=vt,ie=(b-E*x)/2,{dropdownArrowOffset:de}=(0,Ce.fS)({contentRadius:ae}),ge=(0,re.TS)(vt,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+y,dropdownArrowOffset:de,dropdownPaddingVertical:ie,dropdownEdgeChildPadding:z});return[ze(ge),Ue(ge)]},vt=>({zIndexPopup:vt.zIndexPopupBase+50}))},8628:function(Bt,Tt,te){"use strict";var ee=te(59301),le=te(34280),Be=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,Be.Z)(),Ue=(0,Ge.ZP)();return(0,le.Z)(()=>{const ze=Ue.subscribe(_e=>{re.current=_e,Fe&&$e()});return()=>Ue.unsubscribe(ze)},[]),re.current}Tt.Z=Ce},45818:function(Bt,Tt,te){"use strict";te.d(Tt,{D:function(){return z},Z:function(){return ie}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(ge,xe){return le.createElement(Ce.Z,(0,ee.Z)({},ge,{ref:xe,icon:Ge}))},re=le.forwardRef(Fe),$e=re,Ue=te(33853),ze=te(38819),_e=te(92310),vt=te.n(_e),Te=te(2738),y=de=>!isNaN(parseFloat(de))&&isFinite(de),a=te(36355),b=te(84966),E=function(de,ge){var xe={};for(var pe in de)Object.prototype.hasOwnProperty.call(de,pe)&&ge.indexOf(pe)<0&&(xe[pe]=de[pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,pe=Object.getOwnPropertySymbols(de);we<pe.length;we++)ge.indexOf(pe[we])<0&&Object.prototype.propertyIsEnumerable.call(de,pe[we])&&(xe[pe[we]]=de[pe[we]]);return xe};const x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=le.createContext({}),ne=(()=>{let de=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${ge}${de}`}})();var ie=le.forwardRef((de,ge)=>{const{prefixCls:xe,className:pe,trigger:we,children:ue,defaultCollapsed:nt=!1,theme:De="dark",style:Qe={},collapsible:ye=!1,reverseArrow:ke=!1,width:qe=200,collapsedWidth:Xe=80,zeroWidthTriggerStyle:Ve,breakpoint:kt,onCollapse:st,onBreakpoint:Nt}=de,Zt=E(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Me}=(0,le.useContext)(b.Gs),[Ze,Et]=(0,le.useState)("collapsed"in de?de.collapsed:nt),[Gt,pt]=(0,le.useState)(!1);(0,le.useEffect)(()=>{"collapsed"in de&&Et(de.collapsed)},[de.collapsed]);const Kt=(Je,Re)=>{"collapsed"in de||Et(Je),st==null||st(Je,Re)},Le=(0,le.useRef)();Le.current=Je=>{pt(Je.matches),Nt==null||Nt(Je.matches),Ze!==Je.matches&&Kt(Je.matches,"responsive")},(0,le.useEffect)(()=>{function Je(ve){return Le.current(ve)}let Re;if(typeof window!="undefined"){const{matchMedia:ve}=window;if(ve&&kt&&kt in x){Re=ve(`(max-width: ${x[kt]})`);try{Re.addEventListener("change",Je)}catch(se){Re.addListener(Je)}Je(Re)}}return()=>{try{Re==null||Re.removeEventListener("change",Je)}catch(ve){Re==null||Re.removeListener(Je)}}},[kt]),(0,le.useEffect)(()=>{const Je=ne("ant-sider-");return Me.addSider(Je),()=>Me.removeSider(Je)},[]);const Qt=()=>{Kt(!Ze,"clickTrigger")},{getPrefixCls:Pn}=(0,le.useContext)(a.E_),St=()=>{const Je=Pn("layout-sider",xe),Re=(0,Te.Z)(Zt,["collapsed"]),ve=Ze?Xe:qe,se=y(ve)?`${ve}px`:String(ve),Oe=parseFloat(String(Xe||0))===0?le.createElement("span",{onClick:Qt,className:vt()(`${Je}-zero-width-trigger`,`${Je}-zero-width-trigger-${ke?"right":"left"}`),style:Ve},we||le.createElement($e,null)):null,he={expanded:ke?le.createElement(ze.Z,null):le.createElement(Ue.Z,null),collapsed:ke?le.createElement(Ue.Z,null):le.createElement(ze.Z,null)}[Ze?"collapsed":"expanded"],Ye=we!==null?Oe||le.createElement("div",{className:`${Je}-trigger`,onClick:Qt,style:{width:se}},we||he):null,Ne=Object.assign(Object.assign({},Qe),{flex:`0 0 ${se}`,maxWidth:se,minWidth:se,width:se}),Ee=vt()(Je,`${Je}-${De}`,{[`${Je}-collapsed`]:!!Ze,[`${Je}-has-trigger`]:ye&&we!==null&&!Oe,[`${Je}-below`]:!!Gt,[`${Je}-zero-width`]:parseFloat(se)===0},pe);return le.createElement("aside",Object.assign({className:Ee},Re,{style:Ne,ref:ge}),le.createElement("div",{className:`${Je}-children`},ue),ye||Gt&&Oe?Ye:null)},dt=le.useMemo(()=>({siderCollapsed:Ze}),[Ze]);return le.createElement(z.Provider,{value:dt},St())})},84966:function(Bt,Tt,te){"use strict";te.d(Tt,{VY:function(){return z},$_:function(){return x},h4:function(){return E},Gs:function(){return Te},ZP:function(){return ne}});var ee=te(95190),le=te(92310),Be=te.n(le),Ge=te(2738),Ce=te(59301),Fe=te(36355),re=te(83116),Ue=ae=>{const{componentCls:ie,bodyBg:de,lightSiderBg:ge,lightTriggerBg:xe,lightTriggerColor:pe}=ae;return{[`${ie}-sider-light`]:{background:ge,[`${ie}-sider-trigger`]:{color:pe,background:xe},[`${ie}-sider-zero-width-trigger`]:{color:pe,background:xe,border:`1px solid ${de}`,borderInlineStart:0}}}};const ze=ae=>{const{antCls:ie,componentCls:de,colorText:ge,triggerColor:xe,footerBg:pe,triggerBg:we,headerHeight:ue,headerPadding:nt,headerColor:De,footerPadding:Qe,triggerHeight:ye,zeroTriggerHeight:ke,zeroTriggerWidth:qe,motionDurationMid:Xe,motionDurationSlow:Ve,fontSize:kt,borderRadius:st,bodyBg:Nt,headerBg:Zt,siderBg:Me}=ae;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Nt,"&, *":{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,[`${ie}-menu${ie}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ye},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ye,color:xe,lineHeight:`${ye}px`,textAlign:"center",background:we,cursor:"pointer",transition:`all ${Xe}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ue,insetInlineEnd:-qe,zIndex:1,width:qe,height:ke,color:xe,fontSize:ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Me,borderStartStartRadius:0,borderStartEndRadius:st,borderEndEndRadius:st,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:st,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:st}}}}},Ue(ae)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:ue,padding:nt,color:De,lineHeight:`${ue}px`,background:Zt,[`${ie}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Qe,color:ge,fontSize:kt,background:pe},[`${de}-content`]:{flex:"auto",minHeight:0}}};var _e=(0,re.Z)("Layout",ae=>[ze(ae)],ae=>{const{colorBgLayout:ie,controlHeight:de,controlHeightLG:ge,colorText:xe,controlHeightSM:pe,marginXXS:we,colorTextLightSolid:ue,colorBgContainer:nt}=ae,De=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:ie,colorBgTrigger:"#002140",bodyBg:ie,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${De}px`,headerColor:xe,footerPadding:`${pe}px ${De}px`,footerBg:ie,siderBg:"#001529",triggerHeight:ge+we*2,triggerBg:"#002140",triggerColor:ue,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:nt,lightTriggerBg:nt,lightTriggerColor:xe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),vt=function(ae,ie){var de={};for(var ge in ae)Object.prototype.hasOwnProperty.call(ae,ge)&&ie.indexOf(ge)<0&&(de[ge]=ae[ge]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ge=Object.getOwnPropertySymbols(ae);xe<ge.length;xe++)ie.indexOf(ge[xe])<0&&Object.prototype.propertyIsEnumerable.call(ae,ge[xe])&&(de[ge[xe]]=ae[ge[xe]]);return de};const Te=Ce.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function oe(ae){let{suffixCls:ie,tagName:de,displayName:ge}=ae;return xe=>Ce.forwardRef((we,ue)=>Ce.createElement(xe,Object.assign({ref:ue,suffixCls:ie,tagName:de},we)))}const y=Ce.forwardRef((ae,ie)=>{const{prefixCls:de,suffixCls:ge,className:xe,tagName:pe}=ae,we=vt(ae,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ue}=Ce.useContext(Fe.E_),nt=ue("layout",de),[De,Qe]=_e(nt),ye=ge?`${nt}-${ge}`:nt;return De(Ce.createElement(pe,Object.assign({className:Be()(de||ye,xe,Qe),ref:ie},we)))}),a=Ce.forwardRef((ae,ie)=>{const{direction:de}=Ce.useContext(Fe.E_),[ge,xe]=Ce.useState([]),{prefixCls:pe,className:we,rootClassName:ue,children:nt,hasSider:De,tagName:Qe,style:ye}=ae,ke=vt(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",pe),[st,Nt]=_e(kt),Zt=Be()(kt,{[`${kt}-has-sider`]:typeof De=="boolean"?De:ge.length>0,[`${kt}-rtl`]:de==="rtl"},Ve==null?void 0:Ve.className,we,ue,Nt),Me=Ce.useMemo(()=>({siderHook:{addSider:Ze=>{xe(Et=>[].concat((0,ee.Z)(Et),[Ze]))},removeSider:Ze=>{xe(Et=>Et.filter(Gt=>Gt!==Ze))}}}),[]);return st(Ce.createElement(Te.Provider,{value:Me},Ce.createElement(Qe,Object.assign({ref:ie,className:Zt,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),ye)},qe),nt)))}),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(Bt,Tt,te){"use strict";te.d(Tt,{J:function(){return Fe}});var ee=te(59301),le=te(33234),Be=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 _e=0,ze=Object.getOwnPropertySymbols(re);_e<ze.length;_e++)$e.indexOf(ze[_e])<0&&Object.prototype.propertyIsEnumerable.call(re,ze[_e])&&(Ue[ze[_e]]=re[ze[_e]]);return Ue};const Ce=ee.createContext(null),Fe=ee.forwardRef((re,$e)=>{const{children:Ue}=re,ze=Ge(re,["children"]),_e=ee.useContext(Ce),vt=ee.useMemo(()=>Object.assign(Object.assign({},_e),ze),[_e,ze.prefixCls,ze.mode,ze.selectable]);return ee.createElement(Ce.Provider,{value:vt},ee.createElement(le.BR,null,(0,Be.supportNodeRef)(Ue)?ee.cloneElement(Ue,{ref:$e}):Ue))});Tt.Z=Ce},20834:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return dt}});var ee=te(15285),le=te(59301),Be=te(45818),Ge=te(92310),Ce=te.n(Ge),Fe=te(36355),re=function(Je,Re){var ve={};for(var se in Je)Object.prototype.hasOwnProperty.call(Je,se)&&Re.indexOf(se)<0&&(ve[se]=Je[se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,se=Object.getOwnPropertySymbols(Je);Oe<se.length;Oe++)Re.indexOf(se[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Je,se[Oe])&&(ve[se[Oe]]=Je[se[Oe]]);return ve},Ue=Je=>{const{prefixCls:Re,className:ve,dashed:se}=Je,Oe=re(Je,["prefixCls","className","dashed"]),{getPrefixCls:gt}=le.useContext(Fe.E_),Se=gt("menu",Re),he=Ce()({[`${Se}-item-divider-dashed`]:!!se},ve);return le.createElement(ee.iz,Object.assign({className:he},Oe))},ze=te(11592),_e=te(2738),vt=te(6848),Te=te(92343),y=(0,le.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=Je=>{var Re;const{className:ve,children:se,icon:Oe,title:gt,danger:Se}=Je,{prefixCls:he,firstLevel:Ye,direction:Ne,disableMenuItemTitleTooltip:Ee,inlineCollapsed:tt}=le.useContext(y),_t=lt=>{const ht=le.createElement("span",{className:`${he}-title-content`},se);return(!Oe||(0,Te.l$)(se)&&se.type==="span")&&se&<&&Ye&&typeof se=="string"?le.createElement("div",{className:`${he}-inline-collapsed-noicon`},se.charAt(0)):ht},{siderCollapsed:ft}=le.useContext(Be.D);let zt=gt;typeof gt=="undefined"?zt=Ye?se:"":gt===!1&&(zt="");const Ot={title:zt};!ft&&!tt&&(Ot.title=null,Ot.open=!1);const Vt=(0,ze.Z)(se).length;let be=le.createElement(ee.ck,Object.assign({},(0,_e.Z)(Je,["title","icon","danger"]),{className:Ce()({[`${he}-item-danger`]:Se,[`${he}-item-only-child`]:(Oe?Vt+1:Vt)===1},ve),title:typeof gt=="string"?gt:void 0}),(0,Te.Tm)(Oe,{className:Ce()((0,Te.l$)(Oe)?(Re=Oe.props)===null||Re===void 0?void 0:Re.className:"",`${he}-item-icon`)}),_t(tt));return Ee||(be=le.createElement(vt.Z,Object.assign({},Ot,{placement:Ne==="rtl"?"left":"right",overlayClassName:`${he}-inline-collapsed-tooltip`}),be)),be},x=Je=>{var Re;const{popupClassName:ve,icon:se,title:Oe,theme:gt}=Je,Se=le.useContext(y),{prefixCls:he,inlineCollapsed:Ye,theme:Ne}=Se,Ee=(0,ee.Xl)();let tt;if(!se)tt=Ye&&!Ee.length&&Oe&&typeof Oe=="string"?le.createElement("div",{className:`${he}-inline-collapsed-noicon`},Oe.charAt(0)):le.createElement("span",{className:`${he}-title-content`},Oe);else{const ft=(0,Te.l$)(Oe)&&Oe.type==="span";tt=le.createElement(le.Fragment,null,(0,Te.Tm)(se,{className:Ce()((0,Te.l$)(se)?(Re=se.props)===null||Re===void 0?void 0:Re.className:"",`${he}-item-icon`)}),ft?Oe:le.createElement("span",{className:`${he}-title-content`},Oe))}const _t=le.useMemo(()=>Object.assign(Object.assign({},Se),{firstLevel:!1}),[Se]);return le.createElement(y.Provider,{value:_t},le.createElement(ee.Wd,Object.assign({},(0,_e.Z)(Je,["icon"]),{title:tt,popupClassName:Ce()(he,ve,`${he}-${gt||Ne}`)})))},z=te(18785),ne=te(70425),ae=te(62892),ie=te(40875),de=function(Je,Re){var ve={};for(var se in Je)Object.prototype.hasOwnProperty.call(Je,se)&&Re.indexOf(se)<0&&(ve[se]=Je[se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,se=Object.getOwnPropertySymbols(Je);Oe<se.length;Oe++)Re.indexOf(se[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Je,se[Oe])&&(ve[se[Oe]]=Je[se[Oe]]);return ve};function ge(Je){return(Je||[]).map((Re,ve)=>{if(Re&&typeof Re=="object"){const se=Re,{label:Oe,children:gt,key:Se,type:he}=se,Ye=de(se,["label","children","key","type"]),Ne=Se!=null?Se:`tmp-${ve}`;return gt||he==="group"?he==="group"?le.createElement(ee.BW,Object.assign({key:Ne},Ye,{title:Oe}),ge(gt)):le.createElement(x,Object.assign({key:Ne},Ye,{title:Oe}),ge(gt)):he==="divider"?le.createElement(Ue,Object.assign({key:Ne},Ye)):le.createElement(b,Object.assign({key:Ne},Ye),Oe)}return null}).filter(Re=>Re)}function xe(Je){return le.useMemo(()=>Je&&ge(Je),[Je])}var pe=te(64993),we=te(17313),ue=te(8378),nt=te(13826),De=te(29878),Qe=te(83116),ye=te(37613),qe=Je=>{const{componentCls:Re,motionDurationSlow:ve,horizontalLineHeight:se,colorSplit:Oe,lineWidth:gt,lineType:Se,itemPaddingInline:he}=Je;return{[`${Re}-horizontal`]:{lineHeight:se,border:0,borderBottom:`${gt}px ${Se} ${Oe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Re}-item, ${Re}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:he},[`> ${Re}-item:hover,
|
|
> ${Re}-item-active,
|
|
> ${Re}-submenu ${Re}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Re}-item, ${Re}-submenu-title`]:{transition:[`border-color ${ve}`,`background ${ve}`].join(",")},[`${Re}-submenu-arrow`]:{display:"none"}}}},Ve=Je=>{let{componentCls:Re,menuArrowOffset:ve}=Je;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(-${ve})`},"&::after":{transform:`rotate(45deg) translateY(${ve})`}}}}};const kt=Je=>Object.assign({},(0,we.oN)(Je));var Nt=(Je,Re)=>{const{componentCls:ve,itemColor:se,itemSelectedColor:Oe,groupTitleColor:gt,itemBg:Se,subMenuItemBg:he,itemSelectedBg:Ye,activeBarHeight:Ne,activeBarWidth:Ee,activeBarBorderWidth:tt,motionDurationSlow:_t,motionEaseInOut:ft,motionEaseOut:zt,itemPaddingInline:Ot,motionDurationMid:Vt,itemHoverColor:be,lineType:lt,colorSplit:ht,itemDisabledColor:mt,dangerItemColor:Rt,dangerItemHoverColor:Jt,dangerItemSelectedColor:on,dangerItemActiveBg:$t,dangerItemSelectedBg:yn,itemHoverBg:Dn,itemActiveBg:At,menuSubMenuBg:xt,horizontalItemSelectedColor:Wt,horizontalItemSelectedBg:fn,horizontalItemBorderRadius:sn,horizontalItemHoverBg:Rn,popupBg:ot}=Je;return{[`${ve}-${Re}, ${ve}-${Re} > ${ve}`]:{color:se,background:Se,[`&${ve}-root:focus-visible`]:Object.assign({},kt(Je)),[`${ve}-item-group-title`]:{color:gt},[`${ve}-submenu-selected`]:{[`> ${ve}-submenu-title`]:{color:Oe}},[`${ve}-item-disabled, ${ve}-submenu-disabled`]:{color:`${mt} !important`},[`${ve}-item:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{[`&:hover, > ${ve}-submenu-title:hover`]:{color:be}},[`&:not(${ve}-horizontal)`]:{[`${ve}-item:not(${ve}-item-selected)`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:At}},[`${ve}-submenu-title`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:At}}},[`${ve}-item-danger`]:{color:Rt,[`&${ve}-item:hover`]:{[`&:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{color:Jt}},[`&${ve}-item:active`]:{background:$t}},[`${ve}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ve}-item-selected`]:{color:Oe,[`&${ve}-item-danger`]:{color:on},"a, a:hover":{color:"inherit"}},[`& ${ve}-item-selected`]:{backgroundColor:Ye,[`&${ve}-item-danger`]:{backgroundColor:yn}},[`${ve}-item, ${ve}-submenu-title`]:{[`&:not(${ve}-item-disabled):focus-visible`]:Object.assign({},kt(Je))},[`&${ve}-submenu > ${ve}`]:{backgroundColor:xt},[`&${ve}-popup > ${ve}`]:{backgroundColor:ot},[`&${ve}-horizontal`]:Object.assign(Object.assign({},Re==="dark"?{borderBottom:0}:{}),{[`> ${ve}-item, > ${ve}-submenu`]:{top:tt,marginTop:-tt,marginBottom:0,borderRadius:sn,"&::after":{position:"absolute",insetInline:Ot,bottom:0,borderBottom:`${Ne}px solid transparent`,transition:`border-color ${_t} ${ft}`,content:'""'},"&:hover, &-active, &-open":{background:Rn,"&::after":{borderBottomWidth:Ne,borderBottomColor:Wt}},"&-selected":{color:Wt,backgroundColor:fn,"&:hover":{backgroundColor:fn},"&::after":{borderBottomWidth:Ne,borderBottomColor:Wt}}}}),[`&${ve}-root`]:{[`&${ve}-inline, &${ve}-vertical`]:{borderInlineEnd:`${tt}px ${lt} ${ht}`}},[`&${ve}-inline`]:{[`${ve}-sub${ve}-inline`]:{background:he},[`${ve}-item, ${ve}-submenu-title`]:tt&&Ee?{width:`calc(100% + ${tt}px)`}:{},[`${ve}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ee}px solid ${Oe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Vt} ${zt}`,`opacity ${Vt} ${zt}`].join(","),content:'""'},[`&${ve}-item-danger`]:{"&::after":{borderInlineEndColor:on}}},[`${ve}-selected, ${ve}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Vt} ${ft}`,`opacity ${Vt} ${ft}`].join(",")}}}}}};const Zt=Je=>{const{componentCls:Re,itemHeight:ve,itemMarginInline:se,padding:Oe,menuArrowSize:gt,marginXS:Se,itemMarginBlock:he}=Je,Ye=Oe+gt+Se;return{[`${Re}-item`]:{position:"relative",overflow:"hidden"},[`${Re}-item, ${Re}-submenu-title`]:{height:ve,lineHeight:`${ve}px`,paddingInline:Oe,overflow:"hidden",textOverflow:"ellipsis",marginInline:se,marginBlock:he,width:`calc(100% - ${se*2}px)`},[`> ${Re}-item,
|
|
> ${Re}-submenu > ${Re}-submenu-title`]:{height:ve,lineHeight:`${ve}px`},[`${Re}-item-group-list ${Re}-submenu-title,
|
|
${Re}-submenu-title`]:{paddingInlineEnd:Ye}}};var Ze=Je=>{const{componentCls:Re,iconCls:ve,itemHeight:se,colorTextLightSolid:Oe,dropdownWidth:gt,controlHeightLG:Se,motionDurationMid:he,motionEaseOut:Ye,paddingXL:Ne,itemMarginInline:Ee,fontSizeLG:tt,motionDurationSlow:_t,paddingXS:ft,boxShadowSecondary:zt,collapsedWidth:Ot,collapsedIconSize:Vt}=Je,be={height:se,lineHeight:`${se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Re]:{"&-inline, &-vertical":Object.assign({[`&${Re}-root`]:{boxShadow:"none"}},Zt(Je))},[`${Re}-submenu-popup`]:{[`${Re}-vertical`]:Object.assign(Object.assign({},Zt(Je)),{boxShadow:zt})}},{[`${Re}-submenu-popup ${Re}-vertical${Re}-sub`]:{minWidth:gt,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 ${_t}`,`background ${_t}`,`padding ${he} ${Ye}`].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`]:be,[`& ${Re}-item-group-title`]:{paddingInlineStart:Ne}},[`${Re}-item`]:be}},{[`${Re}-inline-collapsed`]:{width:Ot,[`&${Re}-root`]:{[`${Re}-item, ${Re}-submenu ${Re}-submenu-title`]:{[`> ${Re}-inline-collapsed-noicon`]:{fontSize:tt,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% - ${tt/2}px - ${Ee}px)`,textOverflow:"clip",[`
|
|
${Re}-submenu-arrow,
|
|
${Re}-submenu-expand-icon
|
|
`]:{opacity:0},[`${Re}-item-icon, ${ve}`]:{margin:0,fontSize:Vt,lineHeight:`${se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Re}-item-icon, ${ve}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Re}-item-icon, ${ve}`]:{display:"none"},"a, a:hover":{color:Oe}},[`${Re}-item-group-title`]:Object.assign(Object.assign({},we.vS),{paddingInline:ft})}}]};const Et=Je=>{const{componentCls:Re,motionDurationSlow:ve,motionDurationMid:se,motionEaseInOut:Oe,motionEaseOut:gt,iconCls:Se,iconSize:he,iconMarginInlineEnd:Ye}=Je;return{[`${Re}-item, ${Re}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ve}`,`background ${ve}`,`padding ${ve} ${Oe}`].join(","),[`${Re}-item-icon, ${Se}`]:{minWidth:he,fontSize:he,transition:[`font-size ${se} ${gt}`,`margin ${ve} ${Oe}`,`color ${ve}`].join(","),"+ span":{marginInlineStart:Ye,opacity:1,transition:[`opacity ${ve} ${Oe}`,`margin ${ve}`,`color ${ve}`].join(",")}},[`${Re}-item-icon`]:Object.assign({},(0,we.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"}}}},Gt=Je=>{const{componentCls:Re,motionDurationSlow:ve,motionEaseInOut:se,borderRadius:Oe,menuArrowSize:gt,menuArrowOffset:Se}=Je;return{[`${Re}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Je.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ve} ${se}, opacity ${ve}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:Oe,transition:[`background ${ve} ${se}`,`transform ${ve} ${se}`,`top ${ve} ${se}`,`color ${ve} ${se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Se})`},"&::after":{transform:`rotate(-45deg) translateY(${Se})`}}}}},pt=Je=>{const{antCls:Re,componentCls:ve,fontSize:se,motionDurationSlow:Oe,motionDurationMid:gt,motionEaseInOut:Se,paddingXS:he,padding:Ye,colorSplit:Ne,lineWidth:Ee,zIndexPopup:tt,borderRadiusLG:_t,subMenuItemBorderRadius:ft,menuArrowSize:zt,menuArrowOffset:Ot,lineType:Vt,menuPanelMaskInset:be,groupTitleLineHeight:lt,groupTitleFontSize:ht}=Je;return[{"":{[`${ve}`]:Object.assign(Object.assign({},(0,we.dF)()),{"&-hidden":{display:"none"}})},[`${ve}-submenu-hidden`]:{display:"none"}},{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,we.Wf)(Je)),(0,we.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Oe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ve}-item`]:{flex:"none"}},[`${ve}-item, ${ve}-submenu, ${ve}-submenu-title`]:{borderRadius:Je.itemBorderRadius},[`${ve}-item-group-title`]:{padding:`${he}px ${Ye}px`,fontSize:ht,lineHeight:lt,transition:`all ${Oe}`},[`&-horizontal ${ve}-submenu`]:{transition:[`border-color ${Oe} ${Se}`,`background ${Oe} ${Se}`].join(",")},[`${ve}-submenu, ${ve}-submenu-inline`]:{transition:[`border-color ${Oe} ${Se}`,`background ${Oe} ${Se}`,`padding ${gt} ${Se}`].join(",")},[`${ve}-submenu ${ve}-sub`]:{cursor:"initial",transition:[`background ${Oe} ${Se}`,`padding ${Oe} ${Se}`].join(",")},[`${ve}-title-content`]:{transition:`color ${Oe}`},[`${ve}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ve}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ne,borderStyle:Vt,borderWidth:0,borderTopWidth:Ee,marginBlock:Ee,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Et(Je)),{[`${ve}-item-group`]:{[`${ve}-item-group-list`]:{margin:0,padding:0,[`${ve}-item, ${ve}-submenu-title`]:{paddingInline:`${se*2}px ${Ye}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:tt,borderRadius:_t,boxShadow:"none",transformOrigin:"0 0",[`&${ve}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${be}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:be},"\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:Je.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Je.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Je.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Je.paddingXS},[`> ${ve}`]:Object.assign(Object.assign(Object.assign({borderRadius:_t},Et(Je)),Gt(Je)),{[`${ve}-item, ${ve}-submenu > ${ve}-submenu-title`]:{borderRadius:ft},[`${ve}-submenu-title::after`]:{transition:`transform ${Oe} ${Se}`}})}}),Gt(Je)),{[`&-inline-collapsed ${ve}-submenu-arrow,
|
|
&-inline ${ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ot})`},"&::after":{transform:`rotate(45deg) translateX(-${Ot})`}},[`${ve}-submenu-open${ve}-submenu-inline > ${ve}-submenu-title > ${ve}-submenu-arrow`]:{transform:`translateY(-${zt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ot})`},"&::before":{transform:`rotate(45deg) translateX(${Ot})`}}})},{[`${Re}-layout-header`]:{[ve]:{lineHeight:"inherit"}}}]};var Kt=(Je,Re)=>(0,Qe.Z)("Menu",se=>{if(Re===!1)return[];const{colorBgElevated:Oe,colorPrimary:gt,colorTextLightSolid:Se,controlHeightLG:he,fontSize:Ye,darkItemColor:Ne,darkDangerItemColor:Ee,darkItemBg:tt,darkSubMenuItemBg:_t,darkItemSelectedColor:ft,darkItemSelectedBg:zt,darkDangerItemSelectedBg:Ot,darkItemHoverBg:Vt,darkGroupTitleColor:be,darkItemHoverColor:lt,darkItemDisabledColor:ht,darkDangerItemHoverColor:mt,darkDangerItemSelectedColor:Rt,darkDangerItemActiveBg:Jt}=se,on=Ye/7*5,$t=(0,ye.TS)(se,{menuArrowSize:on,menuHorizontalHeight:he*1.15,menuArrowOffset:`${on*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Oe}),yn=(0,ye.TS)($t,{itemColor:Ne,itemHoverColor:lt,groupTitleColor:be,itemSelectedColor:ft,itemBg:tt,popupBg:tt,subMenuItemBg:_t,itemActiveBg:"transparent",itemSelectedBg:zt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Vt,itemDisabledColor:ht,dangerItemColor:Ee,dangerItemHoverColor:mt,dangerItemSelectedColor:Rt,dangerItemActiveBg:Jt,dangerItemSelectedBg:Ot,menuSubMenuBg:_t,horizontalItemSelectedColor:Se,horizontalItemSelectedBg:gt});return[pt($t),qe($t),Ze($t),Nt($t,"light"),Nt(yn,"dark"),Ve($t),(0,ue.Z)($t),(0,nt.oN)($t,"slide-up"),(0,nt.oN)($t,"slide-down"),(0,De._y)($t,"zoom-big")]},se=>{const{colorPrimary:Oe,colorError:gt,colorTextDisabled:Se,colorErrorBg:he,colorText:Ye,colorTextDescription:Ne,colorBgContainer:Ee,colorFillAlter:tt,colorFillContent:_t,lineWidth:ft,lineWidthBold:zt,controlItemBgActive:Ot,colorBgTextHover:Vt,controlHeightLG:be,lineHeight:lt,colorBgElevated:ht,marginXXS:mt,padding:Rt,fontSize:Jt,controlHeightSM:on,fontSizeLG:$t,colorTextLightSolid:yn,colorErrorHover:Dn}=se,At=new pe.C(yn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:se.zIndexPopupBase+50,radiusItem:se.borderRadiusLG,itemBorderRadius:se.borderRadiusLG,radiusSubMenuItem:se.borderRadiusSM,subMenuItemBorderRadius:se.borderRadiusSM,colorItemText:Ye,itemColor:Ye,colorItemTextHover:Ye,itemHoverColor:Ye,colorItemTextHoverHorizontal:Oe,horizontalItemHoverColor:Oe,colorGroupTitle:Ne,groupTitleColor:Ne,colorItemTextSelected:Oe,itemSelectedColor:Oe,colorItemTextSelectedHorizontal:Oe,horizontalItemSelectedColor:Oe,colorItemBg:Ee,itemBg:Ee,colorItemBgHover:Vt,itemHoverBg:Vt,colorItemBgActive:_t,itemActiveBg:Ot,colorSubItemBg:tt,subMenuItemBg:tt,colorItemBgSelected:Ot,itemSelectedBg:Ot,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:zt,activeBarHeight:zt,colorActiveBarBorderSize:ft,activeBarBorderWidth:ft,colorItemTextDisabled:Se,itemDisabledColor:Se,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:he,dangerItemActiveBg:he,colorDangerItemBgSelected:he,dangerItemSelectedBg:he,itemMarginInline:se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:be,groupTitleLineHeight:lt,collapsedWidth:be*2,popupBg:ht,itemMarginBlock:mt,itemPaddingInline:Rt,horizontalLineHeight:`${be*1.15}px`,iconSize:Jt,iconMarginInlineEnd:on-Jt,collapsedIconSize:$t,groupTitleFontSize:Jt,darkItemDisabledColor:new pe.C(yn).setAlpha(.25).toRgbString(),darkItemColor:At,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:yn,darkItemSelectedBg:Oe,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:At,darkItemHoverColor:yn,darkDangerItemHoverColor:Dn,darkDangerItemSelectedColor:yn,darkDangerItemActiveBg:gt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Je),Le=function(Je,Re){var ve={};for(var se in Je)Object.prototype.hasOwnProperty.call(Je,se)&&Re.indexOf(se)<0&&(ve[se]=Je[se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,se=Object.getOwnPropertySymbols(Je);Oe<se.length;Oe++)Re.indexOf(se[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Je,se[Oe])&&(ve[se[Oe]]=Je[se[Oe]]);return ve},Pn=(0,le.forwardRef)((Je,Re)=>{var ve,se;const Oe=le.useContext(ie.Z),gt=Oe||{},{getPrefixCls:Se,getPopupContainer:he,direction:Ye,menu:Ne}=le.useContext(Fe.E_),Ee=Se(),{prefixCls:tt,className:_t,style:ft,theme:zt="light",expandIcon:Ot,_internalDisableMenuItemTitleTooltip:Vt,inlineCollapsed:be,siderCollapsed:lt,items:ht,children:mt,rootClassName:Rt,mode:Jt,selectable:on,onClick:$t,overflowedIndicatorPopupClassName:yn}=Je,Dn=Le(Je,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),At=(0,_e.Z)(Dn,["collapsedWidth"]),xt=xe(ht)||mt;(ve=gt.validator)===null||ve===void 0||ve.call(gt,{mode:Jt});const Wt=(0,ne.useEvent)(function(){var ct;$t==null||$t.apply(void 0,arguments),(ct=gt.onClick)===null||ct===void 0||ct.call(gt)}),fn=gt.mode||Jt,sn=on!=null?on:gt.selectable,Rn=le.useMemo(()=>lt!==void 0?lt:be,[be,lt]),ot={horizontal:{motionName:`${Ee}-slide-up`},inline:(0,ae.Z)(Ee),other:{motionName:`${Ee}-zoom-big`}},Pt=Se("menu",tt||gt.prefixCls),[an,vn]=Kt(Pt,!Oe),Pe=Ce()(`${Pt}-${zt}`,Ne==null?void 0:Ne.className,_t);let We;if(typeof Ot=="function")We=Ot;else if(Ot===null||Ot===!1)We=null;else if(gt.expandIcon===null||gt.expandIcon===!1)We=null;else{const ct=Ot!=null?Ot:gt.expandIcon;We=(0,Te.Tm)(ct,{className:Ce()(`${Pt}-submenu-expand-icon`,(0,Te.l$)(ct)?(se=ct.props)===null||se===void 0?void 0:se.className:"")})}const it=le.useMemo(()=>({prefixCls:Pt,inlineCollapsed:Rn||!1,direction:Ye,firstLevel:!0,theme:zt,mode:fn,disableMenuItemTitleTooltip:Vt}),[Pt,Rn,Ye,Vt,zt]);return an(le.createElement(ie.Z.Provider,{value:null},le.createElement(y.Provider,{value:it},le.createElement(ee.ZP,Object.assign({getPopupContainer:he,overflowedIndicator:le.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ce()(Pt,`${Pt}-${zt}`,yn),mode:fn,selectable:sn,onClick:Wt},At,{inlineCollapsed:Rn,style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),ft),className:Pe,prefixCls:Pt,direction:Ye,defaultMotions:ot,expandIcon:We,ref:Re,rootClassName:Ce()(Rt,vn)}),xt))))});const St=(0,le.forwardRef)((Je,Re)=>{const ve=(0,le.useRef)(null),se=le.useContext(Be.D);return(0,le.useImperativeHandle)(Re,()=>({menu:ve.current,focus:Oe=>{var gt;(gt=ve.current)===null||gt===void 0||gt.focus(Oe)}})),le.createElement(Pn,Object.assign({ref:ve},Je,se))});St.Item=b,St.SubMenu=x,St.Divider=Ue,St.ItemGroup=ee.BW;var dt=St},58421:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return gt}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(he,Ye){return le.createElement(Ce.Z,(0,ee.Z)({},he,{ref:Ye,icon:Ge}))},re=le.forwardRef(Fe),$e=re,Ue=te(49198),ze=te(33853),_e=te(38819),vt=te(92310),Te=te.n(vt),oe=te(4635),y=te(20439),a=te(99153),b=te(84851),E=te(19257),x=te(93046),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,ie=te(91735),de=function(Se){(0,E.Z)(Ye,Se);var he=(0,x.Z)(Ye);function Ye(){var Ne;(0,a.Z)(this,Ye);for(var Ee=arguments.length,tt=new Array(Ee),_t=0;_t<Ee;_t++)tt[_t]=arguments[_t];return Ne=he.call.apply(he,[this].concat(tt)),Ne.state={goInputText:""},Ne.getValidValue=function(){var ft=Ne.state.goInputText;return!ft||Number.isNaN(ft)?void 0:Number(ft)},Ne.buildOptionText=function(ft){return"".concat(ft," ").concat(Ne.props.locale.items_per_page)},Ne.changeSize=function(ft){Ne.props.changeSize(Number(ft))},Ne.handleChange=function(ft){Ne.setState({goInputText:ft.target.value})},Ne.handleBlur=function(ft){var zt=Ne.props,Ot=zt.goButton,Vt=zt.quickGo,be=zt.rootPrefixCls,lt=Ne.state.goInputText;Ot||lt===""||(Ne.setState({goInputText:""}),!(ft.relatedTarget&&(ft.relatedTarget.className.indexOf("".concat(be,"-item-link"))>=0||ft.relatedTarget.className.indexOf("".concat(be,"-item"))>=0))&&Vt(Ne.getValidValue()))},Ne.go=function(ft){var zt=Ne.state.goInputText;zt!==""&&(ft.keyCode===ae.ENTER||ft.type==="click")&&(Ne.setState({goInputText:""}),Ne.props.quickGo(Ne.getValidValue()))},Ne}return(0,b.Z)(Ye,[{key:"getPageSizeOptions",value:function(){var Ee=this.props,tt=Ee.pageSize,_t=Ee.pageSizeOptions;return _t.some(function(ft){return ft.toString()===tt.toString()})?_t:_t.concat([tt.toString()]).sort(function(ft,zt){var Ot=Number.isNaN(Number(ft))?0:Number(ft),Vt=Number.isNaN(Number(zt))?0:Number(zt);return Ot-Vt})}},{key:"render",value:function(){var Ee=this,tt=this.props,_t=tt.pageSize,ft=tt.locale,zt=tt.rootPrefixCls,Ot=tt.changeSize,Vt=tt.quickGo,be=tt.goButton,lt=tt.selectComponentClass,ht=tt.buildOptionText,mt=tt.selectPrefixCls,Rt=tt.disabled,Jt=this.state.goInputText,on="".concat(zt,"-options"),$t=lt,yn=null,Dn=null,At=null;if(!Ot&&!Vt)return null;var xt=this.getPageSizeOptions();if(Ot&&$t){var Wt=xt.map(function(fn,sn){return le.createElement($t.Option,{key:sn,value:fn.toString()},(ht||Ee.buildOptionText)(fn))});yn=le.createElement($t,{disabled:Rt,prefixCls:mt,showSearch:!1,className:"".concat(on,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(_t||xt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(sn){return sn.parentNode},"aria-label":ft.page_size,defaultOpen:!1},Wt)}return Vt&&(be&&(At=typeof be=="boolean"?le.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Rt,className:"".concat(on,"-quick-jumper-button")},ft.jump_to_confirm):le.createElement("span",{onClick:this.go,onKeyUp:this.go},be)),Dn=le.createElement("div",{className:"".concat(on,"-quick-jumper")},ft.jump_to,le.createElement("input",{disabled:Rt,type:"text",value:Jt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ft.page}),ft.page,At)),le.createElement("li",{className:"".concat(on)},yn,Dn)}}]),Ye}(le.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var ge=de,xe=function(he){var Ye,Ne=he.rootPrefixCls,Ee=he.page,tt=he.active,_t=he.className,ft=he.showTitle,zt=he.onClick,Ot=he.onKeyPress,Vt=he.itemRender,be="".concat(Ne,"-item"),lt=Te()(be,"".concat(be,"-").concat(Ee),(Ye={},(0,oe.Z)(Ye,"".concat(be,"-active"),tt),(0,oe.Z)(Ye,"".concat(be,"-disabled"),!Ee),(0,oe.Z)(Ye,he.className,_t),Ye)),ht=function(){zt(Ee)},mt=function(on){Ot(on,zt,Ee)},Rt=Vt(Ee,"page",le.createElement("a",{rel:"nofollow"},Ee));return Rt?le.createElement("li",{title:ft?Ee.toString():null,className:lt,onClick:ht,onKeyPress:mt,tabIndex:0},Rt):null},pe=xe;function we(){}function ue(Se){var he=Number(Se);return typeof he=="number"&&!Number.isNaN(he)&&isFinite(he)&&Math.floor(he)===he}var nt=function(he,Ye,Ne){return Ne};function De(Se,he,Ye){var Ne=typeof Se=="undefined"?he.pageSize:Se;return Math.floor((Ye.total-1)/Ne)+1}var Qe=function(Se){(0,E.Z)(Ye,Se);var he=(0,x.Z)(Ye);function Ye(Ne){var Ee;(0,a.Z)(this,Ye),Ee=he.call(this,Ne),Ee.paginationNode=le.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(Ot,Vt){var be=Ee.props.prefixCls,lt=Ot||le.createElement("button",{type:"button","aria-label":Vt,className:"".concat(be,"-item-link")});return typeof Ot=="function"&&(lt=le.createElement(Ot,(0,y.Z)({},Ee.props))),lt},Ee.isValid=function(Ot){var Vt=Ee.props.total;return ue(Ot)&&Ot!==Ee.state.current&&ue(Vt)&&Vt>0},Ee.shouldDisplayQuickJumper=function(){var Ot=Ee.props,Vt=Ot.showQuickJumper,be=Ot.total,lt=Ee.state.pageSize;return be<=lt?!1:Vt},Ee.handleKeyDown=function(Ot){(Ot.keyCode===ae.ARROW_UP||Ot.keyCode===ae.ARROW_DOWN)&&Ot.preventDefault()},Ee.handleKeyUp=function(Ot){var Vt=Ee.getValidValue(Ot),be=Ee.state.currentInputValue;Vt!==be&&Ee.setState({currentInputValue:Vt}),Ot.keyCode===ae.ENTER?Ee.handleChange(Vt):Ot.keyCode===ae.ARROW_UP?Ee.handleChange(Vt-1):Ot.keyCode===ae.ARROW_DOWN&&Ee.handleChange(Vt+1)},Ee.handleBlur=function(Ot){var Vt=Ee.getValidValue(Ot);Ee.handleChange(Vt)},Ee.changePageSize=function(Ot){var Vt=Ee.state.current,be=De(Ot,Ee.state,Ee.props);Vt=Vt>be?be:Vt,be===0&&(Vt=Ee.state.current),typeof Ot=="number"&&("pageSize"in Ee.props||Ee.setState({pageSize:Ot}),"current"in Ee.props||Ee.setState({current:Vt,currentInputValue:Vt})),Ee.props.onShowSizeChange(Vt,Ot),"onChange"in Ee.props&&Ee.props.onChange&&Ee.props.onChange(Vt,Ot)},Ee.handleChange=function(Ot){var Vt=Ee.props,be=Vt.disabled,lt=Vt.onChange,ht=Ee.state,mt=ht.pageSize,Rt=ht.current,Jt=ht.currentInputValue;if(Ee.isValid(Ot)&&!be){var on=De(void 0,Ee.state,Ee.props),$t=Ot;return Ot>on?$t=on:Ot<1&&($t=1),"current"in Ee.props||Ee.setState({current:$t}),$t!==Jt&&Ee.setState({currentInputValue:$t}),lt($t,mt),$t}return Rt},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(Ot,Vt){if(Ot.key==="Enter"||Ot.charCode===13){for(var be=arguments.length,lt=new Array(be>2?be-2:0),ht=2;ht<be;ht++)lt[ht-2]=arguments[ht];Vt.apply(void 0,lt)}},Ee.runIfEnterPrev=function(Ot){Ee.runIfEnter(Ot,Ee.prev)},Ee.runIfEnterNext=function(Ot){Ee.runIfEnter(Ot,Ee.next)},Ee.runIfEnterJumpPrev=function(Ot){Ee.runIfEnter(Ot,Ee.jumpPrev)},Ee.runIfEnterJumpNext=function(Ot){Ee.runIfEnter(Ot,Ee.jumpNext)},Ee.handleGoTO=function(Ot){(Ot.keyCode===ae.ENTER||Ot.type==="click")&&Ee.handleChange(Ee.state.currentInputValue)},Ee.renderPrev=function(Ot){var Vt=Ee.props,be=Vt.prevIcon,lt=Vt.itemRender,ht=lt(Ot,"prev",Ee.getItemIcon(be,"prev page")),mt=!Ee.hasPrev();return(0,le.isValidElement)(ht)?(0,le.cloneElement)(ht,{disabled:mt}):ht},Ee.renderNext=function(Ot){var Vt=Ee.props,be=Vt.nextIcon,lt=Vt.itemRender,ht=lt(Ot,"next",Ee.getItemIcon(be,"next page")),mt=!Ee.hasNext();return(0,le.isValidElement)(ht)?(0,le.cloneElement)(ht,{disabled:mt}):ht};var tt=Ne.onChange!==we,_t="current"in Ne;_t&&!tt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ft=Ne.defaultCurrent;"current"in Ne&&(ft=Ne.current);var zt=Ne.defaultPageSize;return"pageSize"in Ne&&(zt=Ne.pageSize),ft=Math.min(ft,De(zt,void 0,Ne)),Ee.state={current:ft,currentInputValue:ft,pageSize:zt},Ee}return(0,b.Z)(Ye,[{key:"componentDidUpdate",value:function(Ee,tt){var _t=this.props.prefixCls;if(tt.current!==this.state.current&&this.paginationNode.current){var ft=this.paginationNode.current.querySelector(".".concat(_t,"-item-").concat(tt.current));if(ft&&document.activeElement===ft){var zt;ft==null||(zt=ft.blur)===null||zt===void 0||zt.call(ft)}}}},{key:"getValidValue",value:function(Ee){var tt=Ee.target.value,_t=De(void 0,this.state,this.props),ft=this.state.currentInputValue,zt;return tt===""?zt=tt:Number.isNaN(Number(tt))?zt=ft:tt>=_t?zt=_t:zt=Number(tt),zt}},{key:"getShowSizeChanger",value:function(){var Ee=this.props,tt=Ee.showSizeChanger,_t=Ee.total,ft=Ee.totalBoundaryShowSizeChanger;return typeof tt!="undefined"?tt:_t>ft}},{key:"render",value:function(){var Ee=this.props,tt=Ee.prefixCls,_t=Ee.className,ft=Ee.style,zt=Ee.disabled,Ot=Ee.hideOnSinglePage,Vt=Ee.total,be=Ee.locale,lt=Ee.showQuickJumper,ht=Ee.showLessItems,mt=Ee.showTitle,Rt=Ee.showTotal,Jt=Ee.simple,on=Ee.itemRender,$t=Ee.showPrevNextJumpers,yn=Ee.jumpPrevIcon,Dn=Ee.jumpNextIcon,At=Ee.selectComponentClass,xt=Ee.selectPrefixCls,Wt=Ee.pageSizeOptions,fn=this.state,sn=fn.current,Rn=fn.pageSize,ot=fn.currentInputValue;if(Ot===!0&&Vt<=Rn)return null;var Pt=De(void 0,this.state,this.props),an=[],vn=null,Pe=null,We=null,it=null,ct=null,Ft=lt&<.goButton,Xt=ht?1:2,bt=sn-1>0?sn-1:0,je=sn+1<Pt?sn+1:Pt,Ke=(0,z.Z)(this.props,{aria:!0,data:!0}),Ie=Rt&&le.createElement("li",{className:"".concat(tt,"-total-text")},Rt(Vt,[Vt===0?0:(sn-1)*Rn+1,sn*Rn>Vt?Vt:sn*Rn]));if(Jt){Ft&&(typeof Ft=="boolean"?ct=le.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},be.jump_to_confirm):ct=le.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ft),ct=le.createElement("li",{title:mt?"".concat(be.jump_to).concat(sn,"/").concat(Pt):null,className:"".concat(tt,"-simple-pager")},ct));var ut=this.renderPrev(bt);return le.createElement("ul",(0,ee.Z)({className:Te()(tt,"".concat(tt,"-simple"),(0,oe.Z)({},"".concat(tt,"-disabled"),zt),_t),style:ft,ref:this.paginationNode},Ke),Ie,ut?le.createElement("li",{title:mt?be.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Te()("".concat(tt,"-prev"),(0,oe.Z)({},"".concat(tt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ut):null,le.createElement("li",{title:mt?"".concat(sn,"/").concat(Pt):null,className:"".concat(tt,"-simple-pager")},le.createElement("input",{type:"text",value:ot,disabled:zt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),le.createElement("span",{className:"".concat(tt,"-slash")},"/"),Pt),le.createElement("li",{title:mt?be.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Te()("".concat(tt,"-next"),(0,oe.Z)({},"".concat(tt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(je)),ct)}if(Pt<=3+Xt*2){var Ht={locale:be,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:mt,itemRender:on};Pt||an.push(le.createElement(pe,(0,ee.Z)({},Ht,{key:"noPager",page:1,className:"".concat(tt,"-item-disabled")})));for(var Dt=1;Dt<=Pt;Dt+=1){var pn=sn===Dt;an.push(le.createElement(pe,(0,ee.Z)({},Ht,{key:Dt,page:Dt,active:pn})))}}else{var mn=ht?be.prev_3:be.prev_5,tn=ht?be.next_3:be.next_5,Cn=on(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(yn,"prev page")),Qn=on(this.getJumpNextPage(),"jump-next",this.getItemIcon(Dn,"next page"));$t&&(vn=Cn?le.createElement("li",{title:mt?mn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Te()("".concat(tt,"-jump-prev"),(0,oe.Z)({},"".concat(tt,"-jump-prev-custom-icon"),!!yn))},Cn):null,Pe=Qn?le.createElement("li",{title:mt?tn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Te()("".concat(tt,"-jump-next"),(0,oe.Z)({},"".concat(tt,"-jump-next-custom-icon"),!!Dn))},Qn):null),it=le.createElement(pe,{locale:be,last:!0,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Pt,page:Pt,active:!1,showTitle:mt,itemRender:on}),We=le.createElement(pe,{locale:be,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:mt,itemRender:on});var ln=Math.max(1,sn-Xt),Hn=Math.min(sn+Xt,Pt);sn-1<=Xt&&(Hn=1+Xt*2),Pt-sn<=Xt&&(ln=Pt-Xt*2);for(var qn=ln;qn<=Hn;qn+=1){var ua=sn===qn;an.push(le.createElement(pe,{locale:be,rootPrefixCls:tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:qn,page:qn,active:ua,showTitle:mt,itemRender:on}))}sn-1>=Xt*2&&sn!==3&&(an[0]=(0,le.cloneElement)(an[0],{className:"".concat(tt,"-item-after-jump-prev")}),an.unshift(vn)),Pt-sn>=Xt*2&&sn!==Pt-2&&(an[an.length-1]=(0,le.cloneElement)(an[an.length-1],{className:"".concat(tt,"-item-before-jump-next")}),an.push(Pe)),ln!==1&&an.unshift(We),Hn!==Pt&&an.push(it)}var ta=!this.hasPrev()||!Pt,et=!this.hasNext()||!Pt,jt=this.renderPrev(bt),yt=this.renderNext(je);return le.createElement("ul",(0,ee.Z)({className:Te()(tt,_t,(0,oe.Z)({},"".concat(tt,"-disabled"),zt)),style:ft,ref:this.paginationNode},Ke),Ie,jt?le.createElement("li",{title:mt?be.prev_page:null,onClick:this.prev,tabIndex:ta?null:0,onKeyPress:this.runIfEnterPrev,className:Te()("".concat(tt,"-prev"),(0,oe.Z)({},"".concat(tt,"-disabled"),ta)),"aria-disabled":ta},jt):null,an,yt?le.createElement("li",{title:mt?be.next_page:null,onClick:this.next,tabIndex:et?null:0,onKeyPress:this.runIfEnterNext,className:Te()("".concat(tt,"-next"),(0,oe.Z)({},"".concat(tt,"-disabled"),et)),"aria-disabled":et},yt):null,le.createElement(ge,{disabled:zt,locale:be,rootPrefixCls:tt,selectComponentClass:At,selectPrefixCls:xt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:sn,pageSize:Rn,pageSizeOptions:Wt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ft}))}}],[{key:"getDerivedStateFromProps",value:function(Ee,tt){var _t={};if("current"in Ee&&(_t.current=Ee.current,Ee.current!==tt.current&&(_t.currentInputValue=_t.current)),"pageSize"in Ee&&Ee.pageSize!==tt.pageSize){var ft=tt.current,zt=De(Ee.pageSize,tt,Ee);ft=ft>zt?zt:ft,"current"in Ee||(_t.current=ft,_t.currentInputValue=ft),_t.pageSize=Ee.pageSize}return _t}}]),Ye}(le.Component);Qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:we,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:we,locale:ie.Z,style:{},itemRender:nt,totalBoundaryShowSizeChanger:50};var ye=Qe,ke=te(22075),qe=te(36355),Xe=te(19716),Ve=te(8628),kt=te(9763),st=te(57809);const Nt=Se=>le.createElement(st.default,Object.assign({},Se,{showSearch:!0,size:"small"})),Zt=Se=>le.createElement(st.default,Object.assign({},Se,{showSearch:!0,size:"middle"}));Nt.Option=st.default.Option,Zt.Option=st.default.Option;var Me=te(9937),Ze=te(17313),Et=te(83116),Gt=te(37613);const pt=Se=>{const{componentCls:he}=Se;return{[`${he}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${he}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${he}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed"}}},[`&${he}-disabled`]:{cursor:"not-allowed",[`${he}-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}}},[`${he}-item-link`]:{color:Se.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${he}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${he}-simple-pager`]:{color:Se.colorTextDisabled},[`${he}-jump-prev, ${he}-jump-next`]:{[`${he}-item-link-icon`]:{opacity:0},[`${he}-item-ellipsis`]:{opacity:1}}},[`&${he}-simple`]:{[`${he}-prev, ${he}-next`]:{[`&${he}-disabled ${he}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Kt=Se=>{const{componentCls:he}=Se;return{[`&${he}-mini ${he}-total-text, &${he}-mini ${he}-simple-pager`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`},[`&${he}-mini ${he}-item`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM-2}px`},[`&${he}-mini:not(${he}-disabled) ${he}-item:not(${he}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},[`&${he}-mini ${he}-prev, &${he}-mini ${he}-next`]:{minWidth:Se.itemSizeSM,height:Se.itemSizeSM,margin:0,lineHeight:`${Se.itemSizeSM}px`},[`&${he}-mini:not(${he}-disabled)`]:{[`${he}-prev, ${he}-next`]:{[`&:hover ${he}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${he}-disabled:hover ${he}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${he}-mini ${he}-prev ${he}-item-link,
|
|
&${he}-mini ${he}-next ${he}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`}},[`&${he}-mini ${he}-jump-prev, &${he}-mini ${he}-jump-next`]:{height:Se.itemSizeSM,marginInlineEnd:0,lineHeight:`${Se.itemSizeSM}px`},[`&${he}-mini ${he}-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})}}}},Le=Se=>{const{componentCls:he}=Se;return{[`
|
|
&${he}-simple ${he}-prev,
|
|
&${he}-simple ${he}-next
|
|
`]:{height:Se.itemSizeSM,lineHeight:`${Se.itemSizeSM}px`,verticalAlign:"top",[`${he}-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`}}},[`&${he}-simple ${he}-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"}}}}},Qt=Se=>{const{componentCls:he}=Se;return{[`${he}-jump-prev, ${he}-jump-next`]:{outline:0,[`${he}-item-container`]:{position:"relative",[`${he}-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"}},[`${he}-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":{[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}}},[`
|
|
${he}-prev,
|
|
${he}-jump-prev,
|
|
${he}-jump-next
|
|
`]:{marginInlineEnd:Se.marginXS},[`
|
|
${he}-prev,
|
|
${he}-next,
|
|
${he}-jump-prev,
|
|
${he}-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}`},[`${he}-prev, ${he}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Se.colorText,cursor:"pointer",userSelect:"none"},[`${he}-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 ${he}-item-link`]:{backgroundColor:Se.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:Se.colorBgTextActive},[`&${he}-disabled:hover`]:{[`${he}-item-link`]:{backgroundColor:"transparent"}}},[`${he}-slash`]:{marginInlineEnd:Se.paginationSlashMarginInlineEnd,marginInlineStart:Se.paginationSlashMarginInlineStart},[`${he}-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})}}}},Pn=Se=>{const{componentCls:he}=Se;return{[`${he}-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(${he}-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:he}=Se;return{[he]: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:'""'},[`${he}-total-text`]:{display:"inline-block",height:Se.itemSize,marginInlineEnd:Se.marginXS,lineHeight:`${Se.itemSize-2}px`,verticalAlign:"middle"}}),Pn(Se)),Qt(Se)),Le(Se)),Kt(Se)),pt(Se)),{[`@media only screen and (max-width: ${Se.screenLG}px)`]:{[`${he}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Se.screenSM}px)`]:{[`${he}-options`]:{display:"none"}}}),[`&${Se.componentCls}-rtl`]:{direction:"rtl"}}},dt=Se=>{const{componentCls:he}=Se;return{[`${he}${he}-disabled:not(${he}-mini)`]:{"&, &:hover":{[`${he}-item-link`]:{borderColor:Se.colorBorder}},"&:focus-visible":{[`${he}-item-link`]:{borderColor:Se.colorBorder}},[`${he}-item, ${he}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,[`&:hover:not(${he}-item-active)`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,a:{color:Se.colorTextDisabled}},[`&${he}-item-active`]:{backgroundColor:Se.itemActiveBgDisabled}},[`${he}-prev, ${he}-next`]:{"&:hover button":{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder,color:Se.colorTextDisabled},[`${he}-item-link`]:{backgroundColor:Se.colorBgContainerDisabled,borderColor:Se.colorBorder}}},[`${he}:not(${he}-mini)`]:{[`${he}-prev, ${he}-next`]:{"&:hover button":{borderColor:Se.colorPrimaryHover,backgroundColor:Se.itemBg},[`${he}-item-link`]:{backgroundColor:Se.itemLinkBg,borderColor:Se.colorBorder},[`&:hover ${he}-item-link`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,color:Se.colorPrimary},[`&${he}-disabled`]:{[`${he}-item-link`]:{borderColor:Se.colorBorder,color:Se.colorTextDisabled}}},[`${he}-item`]:{backgroundColor:Se.itemBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,[`&:hover:not(${he}-item-active)`]:{borderColor:Se.colorPrimary,backgroundColor:Se.itemBg,a:{color:Se.colorPrimary}},"&-active":{borderColor:Se.colorPrimary}}}}},Je=Se=>{const{componentCls:he}=Se;return{[`${he}:not(${he}-disabled)`]:{[`${he}-item`]:Object.assign({},(0,Ze.Qy)(Se)),[`${he}-jump-prev, ${he}-jump-next`]:{"&:focus-visible":Object.assign({[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(Se))},[`${he}-prev, ${he}-next`]:{[`&:focus-visible ${he}-item-link`]:Object.assign({},(0,Ze.oN)(Se))}}}};var Re=(0,Et.Z)("Pagination",Se=>{const he=(0,Gt.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(he),Je(he),Se.wireframe&&dt(he)]},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})),ve=function(Se,he){var Ye={};for(var Ne in Se)Object.prototype.hasOwnProperty.call(Se,Ne)&&he.indexOf(Ne)<0&&(Ye[Ne]=Se[Ne]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Ne=Object.getOwnPropertySymbols(Se);Ee<Ne.length;Ee++)he.indexOf(Ne[Ee])<0&&Object.prototype.propertyIsEnumerable.call(Se,Ne[Ee])&&(Ye[Ne[Ee]]=Se[Ne[Ee]]);return Ye},Oe=Se=>{const{prefixCls:he,selectPrefixCls:Ye,className:Ne,rootClassName:Ee,style:tt,size:_t,locale:ft,selectComponentClass:zt,responsive:Ot,showSizeChanger:Vt}=Se,be=ve(Se,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:lt}=(0,Ve.Z)(Ot),{getPrefixCls:ht,direction:mt,pagination:Rt={}}=le.useContext(qe.E_),Jt=ht("pagination",he),[on,$t]=Re(Jt),yn=Vt!=null?Vt:Rt.showSizeChanger,Dn=le.useMemo(()=>{const Pt=le.createElement("span",{className:`${Jt}-item-ellipsis`},"\u2022\u2022\u2022"),an=le.createElement("button",{className:`${Jt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?le.createElement(_e.Z,null):le.createElement(ze.Z,null)),vn=le.createElement("button",{className:`${Jt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?le.createElement(ze.Z,null):le.createElement(_e.Z,null)),Pe=le.createElement("a",{className:`${Jt}-item-link`},le.createElement("div",{className:`${Jt}-item-container`},mt==="rtl"?le.createElement(Ue.Z,{className:`${Jt}-item-link-icon`}):le.createElement($e,{className:`${Jt}-item-link-icon`}),Pt)),We=le.createElement("a",{className:`${Jt}-item-link`},le.createElement("div",{className:`${Jt}-item-container`},mt==="rtl"?le.createElement($e,{className:`${Jt}-item-link-icon`}):le.createElement(Ue.Z,{className:`${Jt}-item-link-icon`}),Pt));return{prevIcon:an,nextIcon:vn,jumpPrevIcon:Pe,jumpNextIcon:We}},[mt,Jt]),[At]=(0,kt.Z)("Pagination",ke.Z),xt=Object.assign(Object.assign({},At),ft),Wt=(0,Xe.Z)(_t),fn=Wt==="small"||!!(lt&&!Wt&&Ot),sn=ht("select",Ye),Rn=Te()({[`${Jt}-mini`]:fn,[`${Jt}-rtl`]:mt==="rtl"},Rt==null?void 0:Rt.className,Ne,Ee,$t),ot=Object.assign(Object.assign({},Rt==null?void 0:Rt.style),tt);return on(le.createElement(ye,Object.assign({},Dn,be,{style:ot,prefixCls:Jt,selectPrefixCls:sn,className:Rn,selectComponentClass:zt||(fn?Nt:Zt),locale:xt,showSizeChanger:yn})))},gt=Oe},93948:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return Vt}});var ee=te(59301),le=te(29679),Be=te(40001),Ge=te(19248),Ce=te(99267),Fe=te(92310),re=te.n(Fe),$e=te(2738),Ue=te(36355),ze=te(14809),_e=te(20439),vt=te(62646),Te={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var lt=(0,ee.useRef)([]),ht=(0,ee.useRef)(null);return(0,ee.useEffect)(function(){var mt=Date.now(),Rt=!1;lt.current.forEach(function(Jt){if(Jt){Rt=!0;var on=Jt.style;on.transitionDuration=".3s, .3s, .3s, .06s",ht.current&&mt-ht.current<100&&(on.transitionDuration="0s, 0s")}}),Rt&&(ht.current=Date.now())}),lt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(lt){var ht=(0,_e.Z)((0,_e.Z)({},Te),lt),mt=ht.className,Rt=ht.percent,Jt=ht.prefixCls,on=ht.strokeColor,$t=ht.strokeLinecap,yn=ht.strokeWidth,Dn=ht.style,At=ht.trailColor,xt=ht.trailWidth,Wt=ht.transition,fn=(0,vt.Z)(ht,y);delete fn.gapPosition;var sn=Array.isArray(Rt)?Rt:[Rt],Rn=Array.isArray(on)?on:[on],ot=oe(),Pt=yn/2,an=100-yn/2,vn="M ".concat($t==="round"?Pt:0,",").concat(Pt,`
|
|
L `).concat($t==="round"?an:100,",").concat(Pt),Pe="0 0 100 ".concat(yn),We=0;return ee.createElement("svg",(0,ze.Z)({className:re()("".concat(Jt,"-line"),mt),viewBox:Pe,preserveAspectRatio:"none",style:Dn},fn),ee.createElement("path",{className:"".concat(Jt,"-line-trail"),d:vn,strokeLinecap:$t,stroke:At,strokeWidth:xt||yn,fillOpacity:"0"}),sn.map(function(it,ct){var Ft=1;switch($t){case"round":Ft=1-yn/100;break;case"square":Ft=1-yn/2/100;break;default:Ft=1;break}var Xt={strokeDasharray:"".concat(it*Ft,"px, 100px"),strokeDashoffset:"-".concat(We,"px"),transition:Wt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},bt=Rn[ct]||Rn[Rn.length-1];return We+=it,ee.createElement("path",{key:ct,className:"".concat(Jt,"-line-path"),d:vn,strokeLinecap:$t,stroke:bt,strokeWidth:yn,fillOpacity:"0",ref:function(Ke){ot[ct]=Ke},style:Xt})}))},b=a,E=te(93664),x=te(50298),z=te(47273),ne=0,ae=(0,z.Z)();function ie(){var be;return ae?(be=ne,ne+=1):be="TEST_OR_SSR",be}var de=function(be){var lt=ee.useState(),ht=(0,x.Z)(lt,2),mt=ht[0],Rt=ht[1];return ee.useEffect(function(){Rt("rc_progress_".concat(ie()))},[]),be||mt},ge=function(lt){var ht=lt.bg,mt=lt.children;return ee.createElement("div",{style:{width:"100%",height:"100%",background:ht}},mt)};function xe(be,lt){return Object.keys(be).map(function(ht){var mt=parseFloat(ht),Rt="".concat(Math.floor(mt*lt),"%");return"".concat(be[ht]," ").concat(Rt)})}var pe=ee.forwardRef(function(be,lt){var ht=be.prefixCls,mt=be.color,Rt=be.gradientId,Jt=be.radius,on=be.style,$t=be.ptg,yn=be.strokeLinecap,Dn=be.strokeWidth,At=be.size,xt=be.gapDegree,Wt=mt&&(0,E.Z)(mt)==="object",fn=Wt?"#FFF":void 0,sn=At/2,Rn=ee.createElement("circle",{className:"".concat(ht,"-circle-path"),r:Jt,cx:sn,cy:sn,stroke:fn,strokeLinecap:yn,strokeWidth:Dn,opacity:$t===0?0:1,style:on,ref:lt});if(!Wt)return Rn;var ot="".concat(Rt,"-conic"),Pt=xt?"".concat(180+xt/2,"deg"):"0deg",an=xe(mt,(360-xt)/360),vn=xe(mt,1),Pe="conic-gradient(from ".concat(Pt,", ").concat(an.join(", "),")"),We="linear-gradient(to ".concat(xt?"bottom":"top",", ").concat(vn.join(", "),")");return ee.createElement(ee.Fragment,null,ee.createElement("mask",{id:ot},Rn),ee.createElement("foreignObject",{x:0,y:0,width:At,height:At,mask:"url(#".concat(ot,")")},ee.createElement(ge,{bg:We},ee.createElement(ge,{bg:Pe}))))}),we=pe,ue=100,nt=function(lt,ht,mt,Rt,Jt,on,$t,yn,Dn,At){var xt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Wt=mt/100*360*((360-on)/360),fn=on===0?0:{bottom:0,top:180,left:90,right:-90}[$t],sn=(100-Rt)/100*ht;Dn==="round"&&Rt!==100&&(sn+=At/2,sn>=ht&&(sn=ht-.01));var Rn=ue/2;return{stroke:typeof yn=="string"?yn:void 0,strokeDasharray:"".concat(ht,"px ").concat(lt),strokeDashoffset:sn+xt,transform:"rotate(".concat(Jt+Wt+fn,"deg)"),transformOrigin:"".concat(Rn,"px ").concat(Rn,"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 Qe(be){var lt=be!=null?be:[];return Array.isArray(lt)?lt:[lt]}var ye=function(lt){var ht=(0,_e.Z)((0,_e.Z)({},Te),lt),mt=ht.id,Rt=ht.prefixCls,Jt=ht.steps,on=ht.strokeWidth,$t=ht.trailWidth,yn=ht.gapDegree,Dn=yn===void 0?0:yn,At=ht.gapPosition,xt=ht.trailColor,Wt=ht.strokeLinecap,fn=ht.style,sn=ht.className,Rn=ht.strokeColor,ot=ht.percent,Pt=(0,vt.Z)(ht,De),an=ue/2,vn=de(mt),Pe="".concat(vn,"-gradient"),We=an-on/2,it=Math.PI*2*We,ct=Dn>0?90+Dn/2:-90,Ft=it*((360-Dn)/360),Xt=(0,E.Z)(Jt)==="object"?Jt:{count:Jt,space:2},bt=Xt.count,je=Xt.space,Ke=Qe(ot),Ie=Qe(Rn),ut=Ie.find(function(Qn){return Qn&&(0,E.Z)(Qn)==="object"}),Ht=ut&&(0,E.Z)(ut)==="object",Dt=Ht?"butt":Wt,pn=nt(it,Ft,0,100,ct,Dn,At,xt,Dt,on),mn=oe(),tn=function(){var ln=0;return Ke.map(function(Hn,qn){var ua=Ie[qn]||Ie[Ie.length-1],ta=nt(it,Ft,ln,Hn,ct,Dn,At,ua,Dt,on);return ln+=Hn,ee.createElement(we,{key:qn,color:ua,ptg:Hn,radius:We,prefixCls:Rt,gradientId:Pe,style:ta,strokeLinecap:Dt,strokeWidth:on,gapDegree:Dn,ref:function(jt){mn[qn]=jt},size:ue})}).reverse()},Cn=function(){var ln=Math.round(bt*(Ke[0]/100)),Hn=100/bt,qn=0;return new Array(bt).fill(null).map(function(ua,ta){var et=ta<=ln-1?Ie[0]:xt,jt=et&&(0,E.Z)(et)==="object"?"url(#".concat(Pe,")"):void 0,yt=nt(it,Ft,qn,Hn,ct,Dn,At,et,"butt",on,je);return qn+=(Ft-yt.strokeDashoffset+je)*100/Ft,ee.createElement("circle",{key:ta,className:"".concat(Rt,"-circle-path"),r:We,cx:an,cy:an,stroke:jt,strokeWidth:on,opacity:1,style:yt,ref:function(dn){mn[ta]=dn}})})};return ee.createElement("svg",(0,ze.Z)({className:re()("".concat(Rt,"-circle"),sn),viewBox:"0 0 ".concat(ue," ").concat(ue),style:fn,id:mt,role:"presentation"},Pt),!bt&&ee.createElement("circle",{className:"".concat(Rt,"-circle-trail"),r:We,cx:an,cy:an,stroke:xt,strokeLinecap:Dt,strokeWidth:$t||on,style:pn}),bt?Cn():tn())},ke=ye,qe={Line:b,Circle:ke},Xe=te(6848),Ve=te(30071);function kt(be){return!be||be<0?0:be>100?100:be}function st(be){let{success:lt,successPercent:ht}=be,mt=ht;return lt&&"progress"in lt&&(mt=lt.progress),lt&&"percent"in lt&&(mt=lt.percent),mt}const Nt=be=>{let{percent:lt,success:ht,successPercent:mt}=be;const Rt=kt(st({success:ht,successPercent:mt}));return[Rt,kt(kt(lt)-Rt)]},Zt=be=>{let{success:lt={},strokeColor:ht}=be;const{strokeColor:mt}=lt;return[mt||Ve.presetPrimaryColors.green,ht||null]},Me=(be,lt,ht)=>{var mt,Rt,Jt,on;let $t=-1,yn=-1;if(lt==="step"){const Dn=ht.steps,At=ht.strokeWidth;typeof be=="string"||typeof be=="undefined"?($t=be==="small"?2:14,yn=At!=null?At:8):typeof be=="number"?[$t,yn]=[be,be]:[$t=14,yn=8]=be,$t*=Dn}else if(lt==="line"){const Dn=ht==null?void 0:ht.strokeWidth;typeof be=="string"||typeof be=="undefined"?yn=Dn||(be==="small"?6:8):typeof be=="number"?[$t,yn]=[be,be]:[$t=-1,yn=8]=be}else(lt==="circle"||lt==="dashboard")&&(typeof be=="string"||typeof be=="undefined"?[$t,yn]=be==="small"?[60,60]:[120,120]:typeof be=="number"?[$t,yn]=[be,be]:($t=(Rt=(mt=be[0])!==null&&mt!==void 0?mt:be[1])!==null&&Rt!==void 0?Rt:120,yn=(on=(Jt=be[0])!==null&&Jt!==void 0?Jt:be[1])!==null&&on!==void 0?on:120));return[$t,yn]},Ze=3,Et=be=>Ze/be*100;var pt=be=>{const{prefixCls:lt,trailColor:ht=null,strokeLinecap:mt="round",gapPosition:Rt,gapDegree:Jt,width:on=120,type:$t,children:yn,success:Dn,size:At=on}=be,[xt,Wt]=Me(At,"circle");let{strokeWidth:fn}=be;fn===void 0&&(fn=Math.max(Et(xt),6));const sn={width:xt,height:Wt,fontSize:xt*.15+6},Rn=ee.useMemo(()=>{if(Jt||Jt===0)return Jt;if($t==="dashboard")return 75},[Jt,$t]),ot=Rt||$t==="dashboard"&&"bottom"||void 0,Pt=Object.prototype.toString.call(be.strokeColor)==="[object Object]",an=Zt({success:Dn,strokeColor:be.strokeColor}),vn=re()(`${lt}-inner`,{[`${lt}-circle-gradient`]:Pt}),Pe=ee.createElement(ke,{percent:Nt(be),strokeWidth:fn,trailWidth:fn,strokeColor:an,strokeLinecap:mt,trailColor:ht,prefixCls:lt,gapDegree:Rn,gapPosition:ot});return ee.createElement("div",{className:vn,style:sn},xt<=20?ee.createElement(Xe.Z,{title:yn},ee.createElement("span",null,Pe)):ee.createElement(ee.Fragment,null,Pe,yn))},Kt=function(be,lt){var ht={};for(var mt in be)Object.prototype.hasOwnProperty.call(be,mt)&<.indexOf(mt)<0&&(ht[mt]=be[mt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,mt=Object.getOwnPropertySymbols(be);Rt<mt.length;Rt++)lt.indexOf(mt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(be,mt[Rt])&&(ht[mt[Rt]]=be[mt[Rt]]);return ht};const Le=be=>{let lt=[];return Object.keys(be).forEach(ht=>{const mt=parseFloat(ht.replace(/%/g,""));isNaN(mt)||lt.push({key:mt,value:be[ht]})}),lt=lt.sort((ht,mt)=>ht.key-mt.key),lt.map(ht=>{let{key:mt,value:Rt}=ht;return`${Rt} ${mt}%`}).join(", ")},Qt=(be,lt)=>{const{from:ht=Ve.presetPrimaryColors.blue,to:mt=Ve.presetPrimaryColors.blue,direction:Rt=lt==="rtl"?"to left":"to right"}=be,Jt=Kt(be,["from","to","direction"]);if(Object.keys(Jt).length!==0){const on=Le(Jt);return{backgroundImage:`linear-gradient(${Rt}, ${on})`}}return{backgroundImage:`linear-gradient(${Rt}, ${ht}, ${mt})`}};var St=be=>{const{prefixCls:lt,direction:ht,percent:mt,size:Rt,strokeWidth:Jt,strokeColor:on,strokeLinecap:$t="round",children:yn,trailColor:Dn=null,success:At}=be,xt=on&&typeof on!="string"?Qt(on,ht):{backgroundColor:on},Wt=$t==="square"||$t==="butt"?0:void 0,fn={backgroundColor:Dn||void 0,borderRadius:Wt},sn=Rt!=null?Rt:[-1,Jt||(Rt==="small"?6:8)],[Rn,ot]=Me(sn,"line",{strokeWidth:Jt}),Pt=Object.assign({width:`${kt(mt)}%`,height:ot,borderRadius:Wt},xt),an=st(be),vn={width:`${kt(an)}%`,height:ot,borderRadius:Wt,backgroundColor:At==null?void 0:At.strokeColor},Pe={width:Rn<0?"100%":Rn,height:ot};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${lt}-outer`,style:Pe},ee.createElement("div",{className:`${lt}-inner`,style:fn},ee.createElement("div",{className:`${lt}-bg`,style:Pt}),an!==void 0?ee.createElement("div",{className:`${lt}-success-bg`,style:vn}):null)),yn)},Je=be=>{const{size:lt,steps:ht,percent:mt=0,strokeWidth:Rt=8,strokeColor:Jt,trailColor:on=null,prefixCls:$t,children:yn}=be,Dn=Math.round(ht*(mt/100)),At=lt==="small"?2:14,xt=lt!=null?lt:[At,Rt],[Wt,fn]=Me(xt,"step",{steps:ht,strokeWidth:Rt}),sn=Wt/ht,Rn=new Array(ht);for(let ot=0;ot<ht;ot++){const Pt=Array.isArray(Jt)?Jt[ot]:Jt;Rn[ot]=ee.createElement("div",{key:ot,className:re()(`${$t}-steps-item`,{[`${$t}-steps-item-active`]:ot<=Dn-1}),style:{backgroundColor:ot<=Dn-1?Pt:on,width:sn,height:fn}})}return ee.createElement("div",{className:`${$t}-steps-outer`},Rn,yn)},Re=te(93083),ve=te(17313),se=te(83116),Oe=te(37613);const gt=be=>{const lt=be?"100%":"-100%";return new Re.Keyframes(`antProgress${be?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Se=be=>{const{componentCls:lt,iconCls:ht}=be;return{[lt]:Object.assign(Object.assign({},(0,ve.Wf)(be)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:be.fontSize,marginInlineEnd:be.marginXS,marginBottom:be.marginXS},[`${lt}-outer`]:{display:"inline-block",width:"100%"},[`&${lt}-show-info`]:{[`${lt}-outer`]:{marginInlineEnd:`calc(-2em - ${be.marginXS}px)`,paddingInlineEnd:`calc(2em + ${be.paddingXS}px)`}},[`${lt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:be.remainingColor,borderRadius:be.lineBorderRadius},[`${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:be.defaultColor}},[`${lt}-success-bg, ${lt}-bg`]:{position:"relative",backgroundColor:be.defaultColor,borderRadius:be.lineBorderRadius,transition:`all ${be.motionDurationSlow} ${be.motionEaseInOutCirc}`},[`${lt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:be.colorSuccess},[`${lt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:be.marginXS,color:be.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ht]:{fontSize:be.fontSize}},[`&${lt}-status-active`]:{[`${lt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:be.colorBgContainer,borderRadius:be.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:be.progressActiveMotionDuration,animationTimingFunction:be.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${lt}-rtl${lt}-status-active`]:{[`${lt}-bg::before`]:{animationName:gt(!0)}},[`&${lt}-status-exception`]:{[`${lt}-bg`]:{backgroundColor:be.colorError},[`${lt}-text`]:{color:be.colorError}},[`&${lt}-status-exception ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:be.colorError}},[`&${lt}-status-success`]:{[`${lt}-bg`]:{backgroundColor:be.colorSuccess},[`${lt}-text`]:{color:be.colorSuccess}},[`&${lt}-status-success ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:be.colorSuccess}}})}},he=be=>{const{componentCls:lt,iconCls:ht}=be;return{[lt]:{[`${lt}-circle-trail`]:{stroke:be.remainingColor},[`&${lt}-circle ${lt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${lt}-circle ${lt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:be.circleTextColor,fontSize:be.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ht]:{fontSize:`${be.fontSize/be.fontSizeSM}em`}},[`${lt}-circle&-status-exception`]:{[`${lt}-text`]:{color:be.colorError}},[`${lt}-circle&-status-success`]:{[`${lt}-text`]:{color:be.colorSuccess}}},[`${lt}-inline-circle`]:{lineHeight:1,[`${lt}-inner`]:{verticalAlign:"bottom"}}}},Ye=be=>{const{componentCls:lt}=be;return{[lt]:{[`${lt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:be.progressStepMinWidth,marginInlineEnd:be.progressStepMarginInlineEnd,backgroundColor:be.remainingColor,transition:`all ${be.motionDurationSlow}`,"&-active":{backgroundColor:be.defaultColor}}}}}},Ne=be=>{const{componentCls:lt,iconCls:ht}=be;return{[lt]:{[`${lt}-small&-line, ${lt}-small&-line ${lt}-text ${ht}`]:{fontSize:be.fontSizeSM}}}};var Ee=(0,se.Z)("Progress",be=>{const lt=be.marginXXS/2,ht=(0,Oe.TS)(be,{progressStepMarginInlineEnd:lt,progressStepMinWidth:lt,progressActiveMotionDuration:"2.4s"});return[Se(ht),he(ht),Ye(ht),Ne(ht)]},be=>({circleTextColor:be.colorText,defaultColor:be.colorInfo,remainingColor:be.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),tt=function(be,lt){var ht={};for(var mt in be)Object.prototype.hasOwnProperty.call(be,mt)&<.indexOf(mt)<0&&(ht[mt]=be[mt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rt=0,mt=Object.getOwnPropertySymbols(be);Rt<mt.length;Rt++)lt.indexOf(mt[Rt])<0&&Object.prototype.propertyIsEnumerable.call(be,mt[Rt])&&(ht[mt[Rt]]=be[mt[Rt]]);return ht};const _t=null,ft=["normal","exception","active","success"];var Ot=ee.forwardRef((be,lt)=>{const{prefixCls:ht,className:mt,rootClassName:Rt,steps:Jt,strokeColor:on,percent:$t=0,size:yn="default",showInfo:Dn=!0,type:At="line",status:xt,format:Wt,style:fn}=be,sn=tt(be,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Rn=ee.useMemo(()=>{var Ke,Ie;const ut=st(be);return parseInt(ut!==void 0?(Ke=ut!=null?ut:0)===null||Ke===void 0?void 0:Ke.toString():(Ie=$t!=null?$t:0)===null||Ie===void 0?void 0:Ie.toString(),10)},[$t,be.success,be.successPercent]),ot=ee.useMemo(()=>!ft.includes(xt)&&Rn>=100?"success":xt||"normal",[xt,Rn]),{getPrefixCls:Pt,direction:an,progress:vn}=ee.useContext(Ue.E_),Pe=Pt("progress",ht),[We,it]=Ee(Pe),ct=ee.useMemo(()=>{if(!Dn)return null;const Ke=st(be);let Ie;const ut=Wt||(Dt=>`${Dt}%`),Ht=At==="line";return Wt||ot!=="exception"&&ot!=="success"?Ie=ut(kt($t),kt(Ke)):ot==="exception"?Ie=Ht?ee.createElement(Ge.Z,null):ee.createElement(Ce.Z,null):ot==="success"&&(Ie=Ht?ee.createElement(le.Z,null):ee.createElement(Be.Z,null)),ee.createElement("span",{className:`${Pe}-text`,title:typeof Ie=="string"?Ie:void 0},Ie)},[Dn,$t,Rn,ot,At,Pe,Wt]),Ft=Array.isArray(on)?on[0]:on,Xt=typeof on=="string"||Array.isArray(on)?on:void 0;let bt;At==="line"?bt=Jt?ee.createElement(Je,Object.assign({},be,{strokeColor:Xt,prefixCls:Pe,steps:Jt}),ct):ee.createElement(St,Object.assign({},be,{strokeColor:Ft,prefixCls:Pe,direction:an}),ct):(At==="circle"||At==="dashboard")&&(bt=ee.createElement(pt,Object.assign({},be,{strokeColor:Ft,prefixCls:Pe,progressStatus:ot}),ct));const je=re()(Pe,`${Pe}-status-${ot}`,`${Pe}-${At==="dashboard"&&"circle"||Jt&&"steps"||At}`,{[`${Pe}-inline-circle`]:At==="circle"&&Me(yn,"circle")[0]<=20,[`${Pe}-show-info`]:Dn,[`${Pe}-${yn}`]:typeof yn=="string",[`${Pe}-rtl`]:an==="rtl"},vn==null?void 0:vn.className,mt,Rt,it);return We(ee.createElement("div",Object.assign({ref:lt,style:Object.assign(Object.assign({},vn==null?void 0:vn.style),fn),className:je,role:"progressbar","aria-valuenow":Rn},(0,$e.Z)(sn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),bt))}),Vt=Ot},13570:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return kt}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(Nt,Zt){return le.createElement(Ce.Z,(0,ee.Z)({},Nt,{ref:Zt,icon:Ge}))},re=le.forwardRef(Fe),$e=re,Ue=te(92310),ze=te.n(Ue),_e=te(4635),vt=te(50298),Te=te(62646),oe=te(18929),y=te(10228),a=te(26112);function b(st,Nt){var Zt=st.disabled,Me=st.prefixCls,Ze=st.character,Et=st.characterRender,Gt=st.index,pt=st.count,Kt=st.value,Le=st.allowHalf,Qt=st.focused,Pn=st.onHover,St=st.onClick,dt=function(he){Pn(he,Gt)},Je=function(he){St(he,Gt)},Re=function(he){he.keyCode===y.Z.ENTER&&St(he,Gt)},ve=Gt+1,se=new Set([Me]);Kt===0&&Gt===0&&Qt?se.add("".concat(Me,"-focused")):Le&&Kt+.5>=ve&&Kt<ve?(se.add("".concat(Me,"-half")),se.add("".concat(Me,"-active")),Qt&&se.add("".concat(Me,"-focused"))):(ve<=Kt?se.add("".concat(Me,"-full")):se.add("".concat(Me,"-zero")),ve===Kt&&Qt&&se.add("".concat(Me,"-focused")));var Oe=typeof Ze=="function"?Ze(st):Ze,gt=le.createElement("li",{className:ze()(Array.from(se)),ref:Nt},le.createElement("div",{onClick:Zt?null:Je,onKeyDown:Zt?null:Re,onMouseMove:Zt?null:dt,role:"radio","aria-checked":Kt>Gt?"true":"false","aria-posinset":Gt+1,"aria-setsize":pt,tabIndex:Zt?-1:0},le.createElement("div",{className:"".concat(Me,"-first")},Oe),le.createElement("div",{className:"".concat(Me,"-second")},Oe)));return Et&&(gt=Et(gt,st)),gt}var E=le.forwardRef(b);function x(){var st=le.useRef({});function Nt(Me){return st.current[Me]}function Zt(Me){return function(Ze){st.current[Me]=Ze}}return[Nt,Zt]}function z(st){var Nt=st.pageXOffset,Zt="scrollLeft";if(typeof Nt!="number"){var Me=st.document;Nt=Me.documentElement[Zt],typeof Nt!="number"&&(Nt=Me.body[Zt])}return Nt}function ne(st){var Nt,Zt,Me=st.ownerDocument,Ze=Me.body,Et=Me&&Me.documentElement,Gt=st.getBoundingClientRect();return Nt=Gt.left,Zt=Gt.top,Nt-=Et.clientLeft||Ze.clientLeft||0,Zt-=Et.clientTop||Ze.clientTop||0,{left:Nt,top:Zt}}function ae(st){var Nt=ne(st),Zt=st.ownerDocument,Me=Zt.defaultView||Zt.parentWindow;return Nt.left+=z(Me),Nt.left}var ie=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(st,Nt){var Zt,Me=st.prefixCls,Ze=Me===void 0?"rc-rate":Me,Et=st.className,Gt=st.defaultValue,pt=st.value,Kt=st.count,Le=Kt===void 0?5:Kt,Qt=st.allowHalf,Pn=Qt===void 0?!1:Qt,St=st.allowClear,dt=St===void 0?!0:St,Je=st.character,Re=Je===void 0?"\u2605":Je,ve=st.characterRender,se=st.disabled,Oe=st.direction,gt=Oe===void 0?"ltr":Oe,Se=st.tabIndex,he=Se===void 0?0:Se,Ye=st.autoFocus,Ne=st.onHoverChange,Ee=st.onChange,tt=st.onFocus,_t=st.onBlur,ft=st.onKeyDown,zt=st.onMouseLeave,Ot=(0,Te.Z)(st,ie),Vt=x(),be=(0,vt.Z)(Vt,2),lt=be[0],ht=be[1],mt=le.useRef(null),Rt=function(){if(!se){var Dt;(Dt=mt.current)===null||Dt===void 0||Dt.focus()}};le.useImperativeHandle(Nt,function(){return{focus:Rt,blur:function(){if(!se){var Dt;(Dt=mt.current)===null||Dt===void 0||Dt.blur()}}}});var Jt=(0,oe.Z)(Gt||0,{value:pt}),on=(0,vt.Z)(Jt,2),$t=on[0],yn=on[1],Dn=(0,oe.Z)(null),At=(0,vt.Z)(Dn,2),xt=At[0],Wt=At[1],fn=function(Dt,pn){var mn=gt==="rtl",tn=Dt+1;if(Pn){var Cn=lt(Dt),Qn=ae(Cn),ln=Cn.clientWidth;(mn&&pn-Qn>ln/2||!mn&&pn-Qn<ln/2)&&(tn-=.5)}return tn},sn=function(Dt){yn(Dt),Ee==null||Ee(Dt)},Rn=le.useState(!1),ot=(0,vt.Z)(Rn,2),Pt=ot[0],an=ot[1],vn=function(){an(!0),tt==null||tt()},Pe=function(){an(!1),_t==null||_t()},We=le.useState(null),it=(0,vt.Z)(We,2),ct=it[0],Ft=it[1],Xt=function(Dt,pn){var mn=fn(pn,Dt.pageX);mn!==xt&&(Ft(mn),Wt(null)),Ne==null||Ne(mn)},bt=function(Dt){se||(Ft(null),Wt(null),Ne==null||Ne(void 0)),Dt&&(zt==null||zt(Dt))},je=function(Dt,pn){var mn=fn(pn,Dt.pageX),tn=!1;dt&&(tn=mn===$t),bt(),sn(tn?0:mn),Wt(tn?mn:null)},Ke=function(Dt){var pn=Dt.keyCode,mn=gt==="rtl",tn=$t;pn===y.Z.RIGHT&&tn<Le&&!mn?(Pn?tn+=.5:tn+=1,sn(tn),Dt.preventDefault()):pn===y.Z.LEFT&&tn>0&&!mn||pn===y.Z.RIGHT&&tn>0&&mn?(Pn?tn-=.5:tn-=1,sn(tn),Dt.preventDefault()):pn===y.Z.LEFT&&tn<Le&&mn&&(Pn?tn+=.5:tn+=1,sn(tn),Dt.preventDefault()),ft==null||ft(Dt)};le.useEffect(function(){Ye&&!se&&Rt()},[]);var Ie=new Array(Le).fill(0).map(function(Ht,Dt){return le.createElement(E,{ref:ht(Dt),index:Dt,count:Le,disabled:se,prefixCls:"".concat(Ze,"-star"),allowHalf:Pn,value:ct===null?$t:ct,onClick:je,onHover:Xt,key:Ht||Dt,character:Re,characterRender:ve,focused:Pt})}),ut=ze()(Ze,Et,(Zt={},(0,_e.Z)(Zt,"".concat(Ze,"-disabled"),se),(0,_e.Z)(Zt,"".concat(Ze,"-rtl"),gt==="rtl"),Zt));return le.createElement("ul",(0,ee.Z)({className:ut,onMouseLeave:bt,tabIndex:se?-1:he,onFocus:se?null:vn,onBlur:se?null:Pe,onKeyDown:se?null:Ke,ref:mt,role:"radiogroup"},(0,a.Z)(Ot,{aria:!0,data:!0,attr:!0})),Ie)}var ge=le.forwardRef(de),xe=ge,pe=te(36355),we=te(6848),ue=te(17313),nt=te(83116),De=te(37613);const Qe=st=>{const{componentCls:Nt}=st;return{[`${Nt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:st.marginXS},"> div":{transition:`all ${st.motionDurationMid}, outline 0s`,"&:hover":{transform:st.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${st.lineWidth}px dashed ${st.starColor}`,transform:st.starHoverScale}},"&-first, &-second":{color:st.starBg,transition:`all ${st.motionDurationMid}`,userSelect:"none",[st.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Nt}-star-first, &-half ${Nt}-star-second`]:{opacity:1},[`&-half ${Nt}-star-first, &-full ${Nt}-star-second`]:{color:"inherit"}}}},ye=st=>({[`&-rtl${st.componentCls}`]:{direction:"rtl"}}),ke=st=>{const{componentCls:Nt}=st;return{[Nt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ue.Wf)(st)),{display:"inline-block",margin:0,padding:0,color:st.starColor,fontSize:st.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Nt} ${Nt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Qe(st)),{[`+ ${Nt}-text`]:{display:"inline-block",marginInlineStart:st.marginXS,fontSize:st.fontSize}}),ye(st))}};var qe=(0,nt.Z)("Rate",st=>{const Nt=(0,De.TS)(st,{});return[ke(Nt)]},st=>({starColor:st.yellow6,starSize:st.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:st.colorFillContent})),Xe=function(st,Nt){var Zt={};for(var Me in st)Object.prototype.hasOwnProperty.call(st,Me)&&Nt.indexOf(Me)<0&&(Zt[Me]=st[Me]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Me=Object.getOwnPropertySymbols(st);Ze<Me.length;Ze++)Nt.indexOf(Me[Ze])<0&&Object.prototype.propertyIsEnumerable.call(st,Me[Ze])&&(Zt[Me[Ze]]=st[Me[Ze]]);return Zt},kt=le.forwardRef((st,Nt)=>{const{prefixCls:Zt,className:Me,rootClassName:Ze,style:Et,tooltips:Gt,character:pt=le.createElement($e,null)}=st,Kt=Xe(st,["prefixCls","className","rootClassName","style","tooltips","character"]),Le=(se,Oe)=>{let{index:gt}=Oe;return Gt?le.createElement(we.Z,{title:Gt[gt]},se):se},{getPrefixCls:Qt,direction:Pn,rate:St}=le.useContext(pe.E_),dt=Qt("rate",Zt),[Je,Re]=qe(dt),ve=Object.assign(Object.assign({},St==null?void 0:St.style),Et);return Je(le.createElement(xe,Object.assign({ref:Nt,character:pt,characterRender:Le},Kt,{className:ze()(Me,Ze,Re,St==null?void 0:St.className),style:ve,prefixCls:dt,direction:Pn})))})},61621:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return Re}});var ee=te(92310),le=te.n(ee),Be=te(59301),Ge=te(36355),Ce=te(2738),re=ve=>{const{prefixCls:se,className:Oe,style:gt,size:Se,shape:he}=ve,Ye=le()({[`${se}-lg`]:Se==="large",[`${se}-sm`]:Se==="small"}),Ne=le()({[`${se}-circle`]:he==="circle",[`${se}-square`]:he==="square",[`${se}-round`]:he==="round"}),Ee=Be.useMemo(()=>typeof Se=="number"?{width:Se,height:Se,lineHeight:`${Se}px`}:{},[Se]);return Be.createElement("span",{className:le()(se,Ye,Ne,Oe),style:Object.assign(Object.assign({},Ee),gt)})},$e=te(93083),Ue=te(83116),ze=te(37613);const _e=new $e.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),vt=ve=>({height:ve,lineHeight:`${ve}px`}),Te=ve=>Object.assign({width:ve},vt(ve)),oe=ve=>({background:ve.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:_e,animationDuration:ve.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ve=>Object.assign({width:ve*5,minWidth:ve*5},vt(ve)),a=ve=>{const{skeletonAvatarCls:se,gradientFromColor:Oe,controlHeight:gt,controlHeightLG:Se,controlHeightSM:he}=ve;return{[`${se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Oe},Te(gt)),[`${se}${se}-circle`]:{borderRadius:"50%"},[`${se}${se}-lg`]:Object.assign({},Te(Se)),[`${se}${se}-sm`]:Object.assign({},Te(he))}},b=ve=>{const{controlHeight:se,borderRadiusSM:Oe,skeletonInputCls:gt,controlHeightLG:Se,controlHeightSM:he,gradientFromColor:Ye}=ve;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye,borderRadius:Oe},y(se)),[`${gt}-lg`]:Object.assign({},y(Se)),[`${gt}-sm`]:Object.assign({},y(he))}},E=ve=>Object.assign({width:ve},vt(ve)),x=ve=>{const{skeletonImageCls:se,imageSizeBase:Oe,gradientFromColor:gt,borderRadiusSM:Se}=ve;return{[`${se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:Se},E(Oe*2)),{[`${se}-path`]:{fill:"#bfbfbf"},[`${se}-svg`]:Object.assign(Object.assign({},E(Oe)),{maxWidth:Oe*4,maxHeight:Oe*4}),[`${se}-svg${se}-svg-circle`]:{borderRadius:"50%"}}),[`${se}${se}-circle`]:{borderRadius:"50%"}}},z=(ve,se,Oe)=>{const{skeletonButtonCls:gt}=ve;return{[`${Oe}${gt}-circle`]:{width:se,minWidth:se,borderRadius:"50%"},[`${Oe}${gt}-round`]:{borderRadius:se}}},ne=ve=>Object.assign({width:ve*2,minWidth:ve*2},vt(ve)),ae=ve=>{const{borderRadiusSM:se,skeletonButtonCls:Oe,controlHeight:gt,controlHeightLG:Se,controlHeightSM:he,gradientFromColor:Ye}=ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye,borderRadius:se,width:gt*2,minWidth:gt*2},ne(gt))},z(ve,gt,Oe)),{[`${Oe}-lg`]:Object.assign({},ne(Se))}),z(ve,Se,`${Oe}-lg`)),{[`${Oe}-sm`]:Object.assign({},ne(he))}),z(ve,he,`${Oe}-sm`))},ie=ve=>{const{componentCls:se,skeletonAvatarCls:Oe,skeletonTitleCls:gt,skeletonParagraphCls:Se,skeletonButtonCls:he,skeletonInputCls:Ye,skeletonImageCls:Ne,controlHeight:Ee,controlHeightLG:tt,controlHeightSM:_t,gradientFromColor:ft,padding:zt,marginSM:Ot,borderRadius:Vt,titleHeight:be,blockRadius:lt,paragraphLiHeight:ht,controlHeightXS:mt,paragraphMarginTop:Rt}=ve;return{[`${se}`]:{display:"table",width:"100%",[`${se}-header`]:{display:"table-cell",paddingInlineEnd:zt,verticalAlign:"top",[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ft},Te(Ee)),[`${Oe}-circle`]:{borderRadius:"50%"},[`${Oe}-lg`]:Object.assign({},Te(tt)),[`${Oe}-sm`]:Object.assign({},Te(_t))},[`${se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:be,background:ft,borderRadius:lt,[`+ ${Se}`]:{marginBlockStart:_t}},[`${Se}`]:{padding:0,"> li":{width:"100%",height:ht,listStyle:"none",background:ft,borderRadius:lt,"+ li":{marginBlockStart:mt}}},[`${Se}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${se}-content`]:{[`${gt}, ${Se} > li`]:{borderRadius:Vt}}},[`${se}-with-avatar ${se}-content`]:{[`${gt}`]:{marginBlockStart:Ot,[`+ ${Se}`]:{marginBlockStart:Rt}}},[`${se}${se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ae(ve)),a(ve)),b(ve)),x(ve)),[`${se}${se}-block`]:{width:"100%",[`${he}`]:{width:"100%"},[`${Ye}`]:{width:"100%"}},[`${se}${se}-active`]:{[`
|
|
${gt},
|
|
${Se} > li,
|
|
${Oe},
|
|
${he},
|
|
${Ye},
|
|
${Ne}
|
|
`]:Object.assign({},oe(ve))}}};var de=(0,Ue.Z)("Skeleton",ve=>{const{componentCls:se}=ve,Oe=(0,ze.TS)(ve,{skeletonAvatarCls:`${se}-avatar`,skeletonTitleCls:`${se}-title`,skeletonParagraphCls:`${se}-paragraph`,skeletonButtonCls:`${se}-button`,skeletonInputCls:`${se}-input`,skeletonImageCls:`${se}-image`,imageSizeBase:ve.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ve.gradientFromColor} 25%, ${ve.gradientToColor} 37%, ${ve.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(Oe)]},ve=>{const{colorFillContent:se,colorFill:Oe}=ve,gt=se,Se=Oe;return{color:gt,colorGradientEnd:Se,gradientFromColor:gt,gradientToColor:Se,titleHeight:ve.controlHeight/2,blockRadius:ve.borderRadiusSM,paragraphMarginTop:ve.marginLG+ve.marginXXS,paragraphLiHeight:ve.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),xe=ve=>{const{prefixCls:se,className:Oe,rootClassName:gt,active:Se,shape:he="circle",size:Ye="default"}=ve,{getPrefixCls:Ne}=Be.useContext(Ge.E_),Ee=Ne("skeleton",se),[tt,_t]=de(Ee),ft=(0,Ce.Z)(ve,["prefixCls","className"]),zt=le()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se},Oe,gt,_t);return tt(Be.createElement("div",{className:zt},Be.createElement(re,Object.assign({prefixCls:`${Ee}-avatar`,shape:he,size:Ye},ft))))},we=ve=>{const{prefixCls:se,className:Oe,rootClassName:gt,active:Se,block:he=!1,size:Ye="default"}=ve,{getPrefixCls:Ne}=Be.useContext(Ge.E_),Ee=Ne("skeleton",se),[tt,_t]=de(Ee),ft=(0,Ce.Z)(ve,["prefixCls"]),zt=le()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se,[`${Ee}-block`]:he},Oe,gt,_t);return tt(Be.createElement("div",{className:zt},Be.createElement(re,Object.assign({prefixCls:`${Ee}-button`,size:Ye},ft))))};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=ve=>{const{prefixCls:se,className:Oe,rootClassName:gt,style:Se,active:he}=ve,{getPrefixCls:Ye}=Be.useContext(Ge.E_),Ne=Ye("skeleton",se),[Ee,tt]=de(Ne),_t=le()(Ne,`${Ne}-element`,{[`${Ne}-active`]:he},Oe,gt,tt);return Ee(Be.createElement("div",{className:_t},Be.createElement("div",{className:le()(`${Ne}-image`,Oe),style:Se},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ne}-image-svg`},Be.createElement("path",{d:ue,className:`${Ne}-image-path`})))))},ye=ve=>{const{prefixCls:se,className:Oe,rootClassName:gt,active:Se,block:he,size:Ye="default"}=ve,{getPrefixCls:Ne}=Be.useContext(Ge.E_),Ee=Ne("skeleton",se),[tt,_t]=de(Ee),ft=(0,Ce.Z)(ve,["prefixCls"]),zt=le()(Ee,`${Ee}-element`,{[`${Ee}-active`]:Se,[`${Ee}-block`]:he},Oe,gt,_t);return tt(Be.createElement("div",{className:zt},Be.createElement(re,Object.assign({prefixCls:`${Ee}-input`,size:Ye},ft))))},ke=te(14809),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,Oe){return Be.createElement(Ve.Z,(0,ke.Z)({},se,{ref:Oe,icon:Xe}))},st=Be.forwardRef(kt),Nt=st,Me=ve=>{const{prefixCls:se,className:Oe,rootClassName:gt,style:Se,active:he,children:Ye}=ve,{getPrefixCls:Ne}=Be.useContext(Ge.E_),Ee=Ne("skeleton",se),[tt,_t]=de(Ee),ft=le()(Ee,`${Ee}-element`,{[`${Ee}-active`]:he},_t,Oe,gt),zt=Ye!=null?Ye:Be.createElement(Nt,null);return tt(Be.createElement("div",{className:ft},Be.createElement("div",{className:le()(`${Ee}-image`,Oe),style:Se},zt)))},Ze=te(95190),Gt=ve=>{const se=Ne=>{const{width:Ee,rows:tt=2}=ve;if(Array.isArray(Ee))return Ee[Ne];if(tt-1===Ne)return Ee},{prefixCls:Oe,className:gt,style:Se,rows:he}=ve,Ye=(0,Ze.Z)(Array(he)).map((Ne,Ee)=>Be.createElement("li",{key:Ee,style:{width:se(Ee)}}));return Be.createElement("ul",{className:le()(Oe,gt),style:Se},Ye)},Kt=ve=>{let{prefixCls:se,className:Oe,width:gt,style:Se}=ve;return Be.createElement("h3",{className:le()(se,Oe),style:Object.assign({width:gt},Se)})};function Le(ve){return ve&&typeof ve=="object"?ve:{}}function Qt(ve,se){return ve&&!se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Pn(ve,se){return!ve&&se?{width:"38%"}:ve&&se?{width:"50%"}:{}}function St(ve,se){const Oe={};return(!ve||!se)&&(Oe.width="61%"),!ve&&se?Oe.rows=3:Oe.rows=2,Oe}const dt=ve=>{const{prefixCls:se,loading:Oe,className:gt,rootClassName:Se,style:he,children:Ye,avatar:Ne=!1,title:Ee=!0,paragraph:tt=!0,active:_t,round:ft}=ve,{getPrefixCls:zt,direction:Ot,skeleton:Vt}=Be.useContext(Ge.E_),be=zt("skeleton",se),[lt,ht]=de(be);if(Oe||!("loading"in ve)){const mt=!!Ne,Rt=!!Ee,Jt=!!tt;let on;if(mt){const Dn=Object.assign(Object.assign({prefixCls:`${be}-avatar`},Qt(Rt,Jt)),Le(Ne));on=Be.createElement("div",{className:`${be}-header`},Be.createElement(re,Object.assign({},Dn)))}let $t;if(Rt||Jt){let Dn;if(Rt){const xt=Object.assign(Object.assign({prefixCls:`${be}-title`},Pn(mt,Jt)),Le(Ee));Dn=Be.createElement(Kt,Object.assign({},xt))}let At;if(Jt){const xt=Object.assign(Object.assign({prefixCls:`${be}-paragraph`},St(mt,Rt)),Le(tt));At=Be.createElement(Gt,Object.assign({},xt))}$t=Be.createElement("div",{className:`${be}-content`},Dn,At)}const yn=le()(be,{[`${be}-with-avatar`]:mt,[`${be}-active`]:_t,[`${be}-rtl`]:Ot==="rtl",[`${be}-round`]:ft},Vt==null?void 0:Vt.className,gt,Se,ht);return lt(Be.createElement("div",{className:yn,style:Object.assign(Object.assign({},Vt==null?void 0:Vt.style),he)},on,$t))}return typeof Ye!="undefined"?Ye:null};dt.Button=we,dt.Avatar=xe,dt.Input=ye,dt.Image=De,dt.Node=Me;var Je=dt,Re=Je},31797:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return de}});var ee=te(59301),le=te(56762),Be=te(92343),Ge=te(92310),Ce=te.n(Ge),Fe=te(36355),re=te(61621),Ue=ge=>{const{value:xe,formatter:pe,precision:we,decimalSeparator:ue,groupSeparator:nt="",prefixCls:De}=ge;let Qe;if(typeof pe=="function")Qe=pe(xe);else{const ye=String(xe),ke=ye.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||ye==="-")Qe=ye;else{const qe=ke[1];let Xe=ke[2]||"0",Ve=ke[4]||"";Xe=Xe.replace(/\B(?=(\d{3})+(?!\d))/g,nt),typeof we=="number"&&(Ve=Ve.padEnd(we,"0").slice(0,we>0?we:0)),Ve&&(Ve=`${ue}${Ve}`),Qe=[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`},Qe)},ze=te(17313),_e=te(83116),vt=te(37613);const Te=ge=>{const{componentCls:xe,marginXXS:pe,padding:we,colorTextDescription:ue,titleFontSize:nt,colorTextHeading:De,contentFontSize:Qe,fontFamily:ye}=ge;return{[`${xe}`]:Object.assign(Object.assign({},(0,ze.Wf)(ge)),{[`${xe}-title`]:{marginBottom:pe,color:ue,fontSize:nt},[`${xe}-skeleton`]:{paddingTop:we},[`${xe}-content`]:{color:De,fontSize:Qe,fontFamily:ye,[`${xe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${xe}-content-prefix, ${xe}-content-suffix`]:{display:"inline-block"},[`${xe}-content-prefix`]:{marginInlineEnd:pe},[`${xe}-content-suffix`]:{marginInlineStart:pe}}})}};var oe=(0,_e.Z)("Statistic",ge=>{const xe=(0,vt.TS)(ge,{});return[Te(xe)]},ge=>{const{fontSizeHeading3:xe,fontSize:pe}=ge;return{titleFontSize:pe,contentFontSize:xe}}),a=ge=>{const{prefixCls:xe,className:pe,rootClassName:we,style:ue,valueStyle:nt,value:De=0,title:Qe,valueRender:ye,prefix:ke,suffix:qe,loading:Xe=!1,onMouseEnter:Ve,onMouseLeave:kt,decimalSeparator:st=".",groupSeparator:Nt=","}=ge,{getPrefixCls:Zt,direction:Me,statistic:Ze}=ee.useContext(Fe.E_),Et=Zt("statistic",xe),[Gt,pt]=oe(Et),Kt=ee.createElement(Ue,Object.assign({decimalSeparator:st,groupSeparator:Nt,prefixCls:Et},ge,{value:De})),Le=Ce()(Et,{[`${Et}-rtl`]:Me==="rtl"},Ze==null?void 0:Ze.className,pe,we,pt);return Gt(ee.createElement("div",{className:Le,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ue),onMouseEnter:Ve,onMouseLeave:kt},Qe&&ee.createElement("div",{className:`${Et}-title`},Qe),ee.createElement(re.Z,{paragraph:!1,loading:Xe,className:`${Et}-skeleton`},ee.createElement("div",{style:nt,className:`${Et}-content`},ke&&ee.createElement("span",{className:`${Et}-content-prefix`},ke),ye?ye(Kt):Kt,qe&&ee.createElement("span",{className:`${Et}-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,xe){let pe=ge;const we=/\[[^\]]*]/g,ue=(xe.match(we)||[]).map(ye=>ye.slice(1,-1)),nt=xe.replace(we,"[]"),De=b.reduce((ye,ke)=>{let[qe,Xe]=ke;if(ye.includes(qe)){const Ve=Math.floor(pe/Xe);return pe-=Ve*Xe,ye.replace(new RegExp(`${qe}+`,"g"),kt=>{const st=kt.length;return Ve.toString().padStart(st,"0")})}return ye},nt);let Qe=0;return De.replace(we,()=>{const ye=ue[Qe];return Qe+=1,ye})}function x(ge,xe){const{format:pe=""}=xe,we=new Date(ge).getTime(),ue=Date.now(),nt=Math.max(we-ue,0);return E(nt,pe)}const z=1e3/30;function ne(ge){return new Date(ge).getTime()}const ae=ge=>{const{value:xe,format:pe="HH:mm:ss",onChange:we,onFinish:ue}=ge,nt=(0,le.Z)(),De=ee.useRef(null),Qe=()=>{ue==null||ue(),De.current&&(clearInterval(De.current),De.current=null)},ye=()=>{const Xe=ne(xe);Xe>=Date.now()&&(De.current=setInterval(()=>{nt(),we==null||we(Xe-Date.now()),Xe<Date.now()&&Qe()},z))};ee.useEffect(()=>(ye(),()=>{De.current&&(clearInterval(De.current),De.current=null)}),[xe]);const ke=(Xe,Ve)=>x(Xe,Object.assign(Object.assign({},Ve),{format:pe})),qe=Xe=>(0,Be.Tm)(Xe,{title:void 0});return ee.createElement(a,Object.assign({},ge,{valueRender:qe,formatter:ke}))};var ie=ee.memo(ae);a.Countdown=ie;var de=a},15969:function(Bt,Tt,te){"use strict";te.d(Tt,{N:function(){return ee}});const ee=le=>({color:le.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${le.motionDurationSlow}`,"&:focus, &:hover":{color:le.colorLinkHover},"&:active":{color:le.colorLinkActive}})},1710:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return Al}});var ee={},le="rc-table-internal-hook",Be=te(50298),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(at){var rt=at.value,wt=at.children,Lt=re.useRef(rt);Lt.current=rt;var Ct=re.useState(function(){return{getValue:function(){return Lt.current},listeners:new Set}}),Yt=(0,Be.Z)(Ct,1),gn=Yt[0];return(0,Ce.Z)(function(){(0,$e.unstable_batchedUpdates)(function(){gn.listeners.forEach(function(nn){nn(rt)})})},[rt]),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(nn){if(me===void 0)return nn;if(!Array.isArray(me))return nn[me];var Bn={};return me.forEach(function(bn){Bn[bn]=nn[bn]}),Bn}),He=re.useContext(ce==null?void 0:ce.Context),at=He||{},rt=at.listeners,wt=at.getValue,Lt=re.useRef();Lt.current=Ae(He?wt():ce==null?void 0:ce.defaultValue);var Ct=re.useState({}),Yt=(0,Be.Z)(Ct,2),gn=Yt[1];return(0,Ce.Z)(function(){if(!He)return;function nn(Bn){var bn=Ae(Bn);(0,Fe.Z)(Lt.current,bn,!0)||gn({})}return rt.add(nn),function(){rt.delete(nn)}},[He]),Lt.current}var _e=te(14809),vt=te(8654);function Te(){var ce=re.createContext(null);function me(){return re.useContext(ce)}function Ae(at,rt){var wt=(0,vt.Yr)(at),Lt=function(Yt,gn){var nn=wt?{ref:gn}:{},Bn=re.useRef(0),bn=re.useRef(Yt),Fn=me();return Fn!==null?re.createElement(at,(0,_e.Z)({},Yt,nn)):((!rt||rt(bn.current,Yt))&&(Bn.current+=1),bn.current=Yt,re.createElement(ce.Provider,{value:Bn.current},re.createElement(at,(0,_e.Z)({},Yt,nn))))};return wt?re.forwardRef(Lt):Lt}function He(at,rt){var wt=(0,vt.Yr)(at),Lt=function(Yt,gn){var nn=wt?{ref:gn}:{};return me(),re.createElement(at,(0,_e.Z)({},Yt,nn))};return wt?re.memo(re.forwardRef(Lt),rt):re.memo(Lt,rt)}return{makeImmutable:Ae,responseImmutable:He,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(),ie=ae;function de(ce,me){var Ae=re.useRef(0);Ae.current+=1;var He=re.useRef(ce),at=[];Object.keys(ce||{}).map(function(wt){var Lt;(ce==null?void 0:ce[wt])!==((Lt=He.current)===null||Lt===void 0?void 0:Lt[wt])&&at.push(wt)}),He.current=ce;var rt=re.useRef([]);return at.length&&(rt.current=at),re.useDebugValue(Ae.current),re.useDebugValue(rt.current.join(", ")),me&&console.log("".concat(me,":"),Ae.current,rt.current),Ae.current}var ge=null,xe=re.memo(function(){var ce=de();return re.createElement("h1",null,"Render Times: ",ce)});xe.displayName="RenderBlock";var pe=te(93664),we=te(20439),ue=te(4635),nt=te(92310),De=te.n(nt),Qe=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 st(ce){var me=[],Ae={};return ce.forEach(function(He){for(var at=He||{},rt=at.key,wt=at.dataIndex,Lt=rt||kt(wt).join("-")||Ve;Ae[Lt];)Lt="".concat(Lt,"_next");Ae[Lt]=!0,me.push(Lt)}),me}function Nt(ce){return ce!=null}function Zt(ce){return ce&&(0,pe.Z)(ce)==="object"&&!Array.isArray(ce)&&!re.isValidElement(ce)}function Me(ce,me,Ae,He,at,rt){var wt=re.useContext(Xe),Lt=ne(),Ct=(0,Qe.Z)(function(){if(Nt(He))return[He];var Yt=me==null||me===""?[]:Array.isArray(me)?me:[me],gn=(0,ye.Z)(ce,Yt),nn=gn,Bn=void 0;if(at){var bn=at(gn,ce,Ae);Zt(bn)?(nn=bn.children,Bn=bn.props,wt.renderWithProps=!0):nn=bn}return[nn,Bn]},[Lt,ce,He,me,at,Ae],function(Yt,gn){if(rt){var nn=(0,Be.Z)(Yt,2),Bn=nn[1],bn=(0,Be.Z)(gn,2),Fn=bn[1];return rt(Fn,Bn)}return wt.renderWithProps?!0:!(0,Fe.Z)(Yt,gn,!0)});return Ct}function Ze(ce,me,Ae,He){var at=ce+me-1;return ce<=He&&at>=Ae}function Et(ce,me){return ze(ie,function(Ae){var He=Ze(ce,me||1,Ae.hoverStartRow,Ae.hoverEndRow);return[He,Ae.onHover]})}var Gt=function(me){var Ae=me.ellipsis,He=me.rowType,at=me.children,rt,wt=Ae===!0?{showTitle:!0}:Ae;return wt&&(wt.showTitle||He==="header")&&(typeof at=="string"||typeof at=="number"?rt=at.toString():re.isValidElement(at)&&typeof at.props.children=="string"&&(rt=at.props.children)),rt};function pt(ce){var me,Ae,He,at,rt,wt,Lt,Ct,Yt=ce.component,gn=ce.children,nn=ce.ellipsis,Bn=ce.scope,bn=ce.prefixCls,Fn=ce.className,Wn=ce.align,Zn=ce.record,Un=ce.render,zn=ce.dataIndex,Yn=ce.renderIndex,pa=ce.shouldCellUpdate,Sa=ce.index,sa=ce.rowType,La=ce.colSpan,Ta=ce.rowSpan,$n=ce.fixLeft,da=ce.fixRight,_n=ce.firstFixLeft,Jn=ce.lastFixLeft,oa=ce.firstFixRight,wa=ce.lastFixRight,ja=ce.appendNode,Ra=ce.additionalProps,Ca=Ra===void 0?{}:Ra,Ka=ce.isSticky,Ua="".concat(bn,"-cell"),vo=ze(ie,["supportSticky","allColumnsFixedLeft"]),ao=vo.supportSticky,Ao=vo.allColumnsFixedLeft,wo=Me(Zn,zn,Yn,gn,Un,pa),ka=(0,Be.Z)(wo,2),Lo=ka[0],ro=ka[1],Eo={},yo=typeof $n=="number"&&ao,Qo=typeof da=="number"&&ao;yo&&(Eo.position="sticky",Eo.left=$n),Qo&&(Eo.position="sticky",Eo.right=da);var Ba=(me=(Ae=(He=ro==null?void 0:ro.colSpan)!==null&&He!==void 0?He:Ca.colSpan)!==null&&Ae!==void 0?Ae:La)!==null&&me!==void 0?me:1,xa=(at=(rt=(wt=ro==null?void 0:ro.rowSpan)!==null&&wt!==void 0?wt:Ca.rowSpan)!==null&&rt!==void 0?rt:Ta)!==null&&at!==void 0?at:1,ba=Et(Sa,xa),ma=(0,Be.Z)(ba,2),io=ma[0],fa=ma[1],Na=function(No){var Xo;Zn&&fa(Sa,Sa+xa-1),Ca==null||(Xo=Ca.onMouseEnter)===null||Xo===void 0||Xo.call(Ca,No)},qa=function(No){var Xo;Zn&&fa(-1,-1),Ca==null||(Xo=Ca.onMouseLeave)===null||Xo===void 0||Xo.call(Ca,No)};if(Ba===0||xa===0)return null;var Ya=(Lt=Ca.title)!==null&&Lt!==void 0?Lt:Gt({rowType:sa,ellipsis:nn,children:Lo}),Go=De()(Ua,Fn,(Ct={},(0,ue.Z)(Ct,"".concat(Ua,"-fix-left"),yo&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-fix-left-first"),_n&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-fix-left-last"),Jn&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-fix-left-all"),Jn&&Ao&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-fix-right"),Qo&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-fix-right-first"),oa&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-fix-right-last"),wa&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-ellipsis"),nn),(0,ue.Z)(Ct,"".concat(Ua,"-with-append"),ja),(0,ue.Z)(Ct,"".concat(Ua,"-fix-sticky"),(yo||Qo)&&Ka&&ao),(0,ue.Z)(Ct,"".concat(Ua,"-row-hover"),!ro&&io),Ct),Ca.className,ro==null?void 0:ro.className),Zo={};Wn&&(Zo.textAlign=Wn);var lr=(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},Eo),Ca.style),Zo),ro==null?void 0:ro.style),Do=Lo;return(0,pe.Z)(Do)==="object"&&!Array.isArray(Do)&&!re.isValidElement(Do)&&(Do=null),nn&&(Jn||oa)&&(Do=re.createElement("span",{className:"".concat(Ua,"-content")},Do)),re.createElement(Yt,(0,_e.Z)({},ro,Ca,{className:Go,style:lr,title:Ya,scope:Bn,onMouseEnter:Na,onMouseLeave:qa,colSpan:Ba!==1?Ba:null,rowSpan:xa!==1?xa:null}),ja,Do)}var Kt=re.memo(pt);function Le(ce,me,Ae,He,at,rt){var wt=Ae[ce]||{},Lt=Ae[me]||{},Ct,Yt;wt.fixed==="left"?Ct=He.left[at==="rtl"?me:ce]:Lt.fixed==="right"&&(Yt=He.right[at==="rtl"?ce:me]);var gn=!1,nn=!1,Bn=!1,bn=!1,Fn=Ae[me+1],Wn=Ae[ce-1],Zn=!(rt!=null&&rt.children);if(at==="rtl"){if(Ct!==void 0){var Un=Wn&&Wn.fixed==="left";bn=!Un&&Zn}else if(Yt!==void 0){var zn=Fn&&Fn.fixed==="right";Bn=!zn&&Zn}}else if(Ct!==void 0){var Yn=Fn&&Fn.fixed==="left";gn=!Yn&&Zn}else if(Yt!==void 0){var pa=Wn&&Wn.fixed==="right";nn=!pa&&Zn}return{fixLeft:Ct,fixRight:Yt,lastFixLeft:gn,firstFixRight:nn,lastFixRight:Bn,firstFixLeft:bn,isSticky:He.isSticky}}var Qt=re.createContext({}),Pn=Qt;function St(ce){var me=ce.className,Ae=ce.index,He=ce.children,at=ce.colSpan,rt=at===void 0?1:at,wt=ce.rowSpan,Lt=ce.align,Ct=ze(ie,["prefixCls","direction"]),Yt=Ct.prefixCls,gn=Ct.direction,nn=re.useContext(Pn),Bn=nn.scrollColumnIndex,bn=nn.stickyOffsets,Fn=nn.flattenColumns,Wn=nn.columns,Zn=Ae+rt-1,Un=Zn+1===Bn?rt+1:rt,zn=Le(Ae,Ae+Un-1,Fn,bn,gn,Wn==null?void 0:Wn[Ae]);return re.createElement(Kt,(0,_e.Z)({className:me,index:Ae,component:"td",prefixCls:Yt,record:null,dataIndex:null,align:Lt,colSpan:Un,rowSpan:wt,render:function(){return He}},zn))}var dt=te(62646),Je=["children"];function Re(ce){var me=ce.children,Ae=(0,dt.Z)(ce,Je);return re.createElement("tr",Ae,me)}function ve(ce){var me=ce.children;return me}ve.Row=Re,ve.Cell=St;var se=ve;function Oe(ce){var me=ce.children,Ae=ce.stickyOffsets,He=ce.flattenColumns,at=ce.columns,rt=ze(ie,"prefixCls"),wt=He.length-1,Lt=He[wt],Ct=re.useMemo(function(){return{stickyOffsets:Ae,flattenColumns:He,scrollColumnIndex:Lt!=null&&Lt.scrollbar?wt:null,columns:at}},[Lt,He,wt,Ae,at]);return re.createElement(Pn.Provider,{value:Ct},re.createElement("tfoot",{className:"".concat(rt,"-summary")},me))}var gt=z(Oe),Se=se,he=te(70425),Ye=te(29301),Ne=te(29194),Ee=te(24514),tt=te(75152),_t=te(26112);function ft(ce,me,Ae,He,at,rt,wt){ce.push({record:me,indent:Ae,index:wt});var Lt=rt(me),Ct=at==null?void 0:at.has(Lt);if(me&&Array.isArray(me[He])&&Ct)for(var Yt=0;Yt<me[He].length;Yt+=1)ft(ce,me[He][Yt],Ae+1,He,at,rt,Yt)}function zt(ce,me,Ae,He){var at=re.useMemo(function(){if(Ae!=null&&Ae.size){for(var rt=[],wt=0;wt<(ce==null?void 0:ce.length);wt+=1){var Lt=ce[wt];ft(rt,Lt,0,me,Ae,He,wt)}return rt}return ce==null?void 0:ce.map(function(Ct,Yt){return{record:Ct,indent:0,index:Yt}})},[ce,me,Ae,He]);return at}function Ot(ce){var me=ce.prefixCls,Ae=ce.children,He=ce.component,at=ce.cellComponent,rt=ce.className,wt=ce.expanded,Lt=ce.colSpan,Ct=ce.isEmpty,Yt=ze(ie,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),gn=Yt.scrollbarSize,nn=Yt.fixHeader,Bn=Yt.fixColumn,bn=Yt.componentWidth,Fn=Yt.horizonScroll,Wn=Ae;return(Ct?Fn&&bn:Bn)&&(Wn=re.createElement("div",{style:{width:bn-(nn?gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(me,"-expanded-row-fixed")},Wn)),re.createElement(He,{className:rt,style:{display:wt?null:"none"}},re.createElement(Kt,{component:at,prefixCls:me,colSpan:Lt},Wn))}var Vt=Ot;function be(ce,me,Ae,He){var at=ze(ie,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),rt=at.flattenColumns,wt=at.expandableType,Lt=at.expandedKeys,Ct=at.childrenColumnName,Yt=at.onTriggerExpand,gn=at.rowExpandable,nn=at.onRow,Bn=at.expandRowByClick,bn=at.rowClassName,Fn=wt==="nest",Wn=wt==="row"&&(!gn||gn(ce)),Zn=Wn||Fn,Un=Lt&&Lt.has(me),zn=Ct&&ce&&ce[Ct],Yn=(0,he.useEvent)(Yt),pa=nn==null?void 0:nn(ce,Ae),Sa=pa==null?void 0:pa.onClick,sa=function(da){Bn&&Zn&&Yt(ce,da);for(var _n=arguments.length,Jn=new Array(_n>1?_n-1:0),oa=1;oa<_n;oa++)Jn[oa-1]=arguments[oa];Sa==null||Sa.apply(void 0,[da].concat(Jn))},La;typeof bn=="string"?La=bn:typeof bn=="function"&&(La=bn(ce,Ae,He));var Ta=st(rt);return(0,we.Z)((0,we.Z)({},at),{},{columnsKey:Ta,nestExpandable:Fn,expanded:Un,hasNestChildren:zn,record:ce,onTriggerExpand:Yn,rowSupportExpand:Wn,expandable:Zn,rowProps:(0,we.Z)((0,we.Z)({},pa),{},{className:De()(La,pa==null?void 0:pa.className),onClick:sa})})}function lt(ce,me,Ae,He,at){var rt=ce.record,wt=ce.prefixCls,Lt=ce.columnsKey,Ct=ce.fixedInfoList,Yt=ce.expandIconColumnIndex,gn=ce.nestExpandable,nn=ce.indentSize,Bn=ce.expandIcon,bn=ce.expanded,Fn=ce.hasNestChildren,Wn=ce.onTriggerExpand,Zn=Lt[Ae],Un=Ct[Ae],zn;Ae===(Yt||0)&&gn&&(zn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(nn*He,"px")},className:"".concat(wt,"-row-indent indent-level-").concat(He)}),Bn({prefixCls:wt,expanded:bn,expandable:Fn,record:rt,onExpand:Wn})));var Yn;return me.onCell&&(Yn=me.onCell(rt,at)),{key:Zn,fixedInfo:Un,appendCellNode:zn,additionalCellProps:Yn||{}}}function ht(ce){var me=ce.className,Ae=ce.style,He=ce.record,at=ce.index,rt=ce.renderIndex,wt=ce.rowKey,Lt=ce.indent,Ct=Lt===void 0?0:Lt,Yt=ce.rowComponent,gn=ce.cellComponent,nn=ce.scopeCellComponent,Bn=be(He,wt,at,Ct),bn=Bn.prefixCls,Fn=Bn.flattenColumns,Wn=Bn.expandedRowClassName,Zn=Bn.expandedRowRender,Un=Bn.rowProps,zn=Bn.expanded,Yn=Bn.rowSupportExpand,pa=re.useState(!1),Sa=(0,Be.Z)(pa,2),sa=Sa[0],La=Sa[1];re.useEffect(function(){zn&&La(!0)},[zn]);var Ta=re.createElement(Yt,(0,_e.Z)({},Un,{"data-row-key":wt,className:De()(me,"".concat(bn,"-row"),"".concat(bn,"-row-level-").concat(Ct),Un==null?void 0:Un.className),style:(0,we.Z)((0,we.Z)({},Ae),Un==null?void 0:Un.style)}),Fn.map(function(Jn,oa){var wa=Jn.render,ja=Jn.dataIndex,Ra=Jn.className,Ca=lt(Bn,Jn,oa,Ct,at),Ka=Ca.key,Ua=Ca.fixedInfo,vo=Ca.appendCellNode,ao=Ca.additionalCellProps;return re.createElement(Kt,(0,_e.Z)({className:Ra,ellipsis:Jn.ellipsis,align:Jn.align,scope:Jn.rowScope,component:Jn.rowScope?nn:gn,prefixCls:bn,key:Ka,record:He,index:at,renderIndex:rt,dataIndex:ja,render:wa,shouldCellUpdate:Jn.shouldCellUpdate},Ua,{appendNode:vo,additionalProps:ao}))})),$n;if(Yn&&(sa||zn)){var da=Zn(He,at,Ct+1,zn),_n=Wn&&Wn(He,at,Ct);$n=re.createElement(Vt,{expanded:zn,className:De()("".concat(bn,"-expanded-row"),"".concat(bn,"-expanded-row-level-").concat(Ct+1),_n),prefixCls:bn,component:Yt,cellComponent:gn,colSpan:Fn.length,isEmpty:!1},da)}return re.createElement(re.Fragment,null,Ta,$n)}ht.displayName="BodyRow";var mt=z(ht);function Rt(ce){var me=ce.columnKey,Ae=ce.onColumnResize,He=re.useRef();return re.useEffect(function(){He.current&&Ae(me,He.current.offsetWidth)},[]),re.createElement(Ye.Z,{data:me},re.createElement("td",{ref:He,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Jt(ce){var me=ce.prefixCls,Ae=ce.columnsKey,He=ce.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(me,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(Ye.Z.Collection,{onBatchResize:function(rt){rt.forEach(function(wt){var Lt=wt.data,Ct=wt.size;He(Lt,Ct.offsetWidth)})}},Ae.map(function(at){return re.createElement(Rt,{key:at,columnKey:at,onColumnResize:He})})))}function on(ce){var me=ce.data,Ae=ce.measureColumnWidth,He=ze(ie,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),at=He.prefixCls,rt=He.getComponent,wt=He.onColumnResize,Lt=He.flattenColumns,Ct=He.getRowKey,Yt=He.expandedKeys,gn=He.childrenColumnName,nn=He.emptyNode,Bn=zt(me,gn,Yt,Ct),bn=re.useRef({renderWithProps:!1}),Fn=rt(["body","wrapper"],"tbody"),Wn=rt(["body","row"],"tr"),Zn=rt(["body","cell"],"td"),Un=rt(["body","cell"],"th"),zn;me.length?zn=Bn.map(function(pa,Sa){var sa=pa.record,La=pa.indent,Ta=pa.index,$n=Ct(sa,Sa);return re.createElement(mt,{key:$n,rowKey:$n,record:sa,index:Sa,renderIndex:Ta,rowComponent:Wn,cellComponent:Zn,scopeCellComponent:Un,getRowKey:Ct,indent:La})}):zn=re.createElement(Vt,{expanded:!0,className:"".concat(at,"-placeholder"),prefixCls:at,component:Wn,cellComponent:Zn,colSpan:Lt.length,isEmpty:!0},nn);var Yn=st(Lt);return re.createElement(Xe.Provider,{value:bn.current},re.createElement(Fn,{className:"".concat(at,"-tbody")},Ae&&re.createElement(Jt,{prefixCls:at,columnsKey:Yn,onColumnResize:wt}),zn))}on.displayName="Body";var $t=z(on),yn=["expandable"],Dn="RC_TABLE_INTERNAL_COL_DEFINE";function At(ce){var me=ce.expandable,Ae=(0,dt.Z)(ce,yn),He;return"expandable"in ce?He=(0,we.Z)((0,we.Z)({},Ae),me):He=Ae,He.showExpandColumn===!1&&(He.expandIconColumnIndex=-1),He}var xt=["columnType"];function Wt(ce){for(var me=ce.colWidths,Ae=ce.columns,He=ce.columCount,at=[],rt=He||Ae.length,wt=!1,Lt=rt-1;Lt>=0;Lt-=1){var Ct=me[Lt],Yt=Ae&&Ae[Lt],gn=Yt&&Yt[Dn];if(Ct||gn||wt){var nn=gn||{},Bn=nn.columnType,bn=(0,dt.Z)(nn,xt);at.unshift(re.createElement("col",(0,_e.Z)({key:Lt,style:{width:Ct}},bn))),wt=!0}}return re.createElement("colgroup",null,at)}var fn=Wt,sn=te(95190),Rn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ot(ce,me){return(0,re.useMemo)(function(){for(var Ae=[],He=0;He<me;He+=1){var at=ce[He];if(at!==void 0)Ae[He]=at;else return null}return Ae},[ce.join("_"),me])}var Pt=re.forwardRef(function(ce,me){var Ae=ce.className,He=ce.noData,at=ce.columns,rt=ce.flattenColumns,wt=ce.colWidths,Lt=ce.columCount,Ct=ce.stickyOffsets,Yt=ce.direction,gn=ce.fixHeader,nn=ce.stickyTopOffset,Bn=ce.stickyBottomOffset,bn=ce.stickyClassName,Fn=ce.onScroll,Wn=ce.maxContentScroll,Zn=ce.children,Un=(0,dt.Z)(ce,Rn),zn=ze(ie,["prefixCls","scrollbarSize","isSticky"]),Yn=zn.prefixCls,pa=zn.scrollbarSize,Sa=zn.isSticky,sa=Sa&&!gn?0:pa,La=re.useRef(null),Ta=re.useCallback(function(Ra){(0,vt.mH)(me,Ra),(0,vt.mH)(La,Ra)},[]);re.useEffect(function(){var Ra;function Ca(Ka){var Ua=Ka,vo=Ua.currentTarget,ao=Ua.deltaX;ao&&(Fn({currentTarget:vo,scrollLeft:vo.scrollLeft+ao}),Ka.preventDefault())}return(Ra=La.current)===null||Ra===void 0||Ra.addEventListener("wheel",Ca),function(){var Ka;(Ka=La.current)===null||Ka===void 0||Ka.removeEventListener("wheel",Ca)}},[]);var $n=re.useMemo(function(){return rt.every(function(Ra){return Ra.width})},[rt]),da=rt[rt.length-1],_n={fixed:da?da.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Yn,"-cell-scrollbar")}}},Jn=(0,re.useMemo)(function(){return sa?[].concat((0,sn.Z)(at),[_n]):at},[sa,at]),oa=(0,re.useMemo)(function(){return sa?[].concat((0,sn.Z)(rt),[_n]):rt},[sa,rt]),wa=(0,re.useMemo)(function(){var Ra=Ct.right,Ca=Ct.left;return(0,we.Z)((0,we.Z)({},Ct),{},{left:Yt==="rtl"?[].concat((0,sn.Z)(Ca.map(function(Ka){return Ka+sa})),[0]):Ca,right:Yt==="rtl"?Ra:[].concat((0,sn.Z)(Ra.map(function(Ka){return Ka+sa})),[0]),isSticky:Sa})},[sa,Ct,Sa]),ja=ot(wt,Lt);return re.createElement("div",{style:(0,we.Z)({overflow:"hidden"},Sa?{top:nn,bottom:Bn}:{}),ref:Ta,className:De()(Ae,(0,ue.Z)({},bn,!!bn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:He||ja?null:"hidden"}},(!He||!Wn||$n)&&re.createElement(fn,{colWidths:ja?[].concat((0,sn.Z)(ja),[sa]):[],columCount:Lt+1,columns:oa}),Zn((0,we.Z)((0,we.Z)({},Un),{},{stickyOffsets:wa,columns:Jn,flattenColumns:oa}))))});Pt.displayName="FixedHolder";var an=re.memo(Pt);function vn(ce){var me=ce.cells,Ae=ce.stickyOffsets,He=ce.flattenColumns,at=ce.rowComponent,rt=ce.cellComponent,wt=ce.tdCellComponent,Lt=ce.onHeaderRow,Ct=ce.index,Yt=ze(ie,["prefixCls","direction"]),gn=Yt.prefixCls,nn=Yt.direction,Bn;Lt&&(Bn=Lt(me.map(function(Fn){return Fn.column}),Ct));var bn=st(me.map(function(Fn){return Fn.column}));return re.createElement(at,Bn,me.map(function(Fn,Wn){var Zn=Fn.column,Un=Le(Fn.colStart,Fn.colEnd,He,Ae,nn,Zn),zn;return Zn&&Zn.onHeaderCell&&(zn=Fn.column.onHeaderCell(Zn)),re.createElement(Kt,(0,_e.Z)({},Fn,{scope:Zn.title?Fn.colSpan>1?"colgroup":"col":null,ellipsis:Zn.ellipsis,align:Zn.align,component:Zn.title?rt:wt,prefixCls:gn,key:bn[Wn]},Un,{additionalProps:zn,rowType:"header"}))}))}vn.displayName="HeaderRow";var Pe=vn;function We(ce){var me=[];function Ae(wt,Lt){var Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;me[Ct]=me[Ct]||[];var Yt=Lt,gn=wt.filter(Boolean).map(function(nn){var Bn={key:nn.key,className:nn.className||"",children:nn.title,column:nn,colStart:Yt},bn=1,Fn=nn.children;return Fn&&Fn.length>0&&(bn=Ae(Fn,Yt,Ct+1).reduce(function(Wn,Zn){return Wn+Zn},0),Bn.hasSubColumns=!0),"colSpan"in nn&&(bn=nn.colSpan),"rowSpan"in nn&&(Bn.rowSpan=nn.rowSpan),Bn.colSpan=bn,Bn.colEnd=Bn.colStart+bn-1,me[Ct].push(Bn),Yt+=bn,bn});return gn}Ae(ce,0);for(var He=me.length,at=function(Lt){me[Lt].forEach(function(Ct){!("rowSpan"in Ct)&&!Ct.hasSubColumns&&(Ct.rowSpan=He-Lt)})},rt=0;rt<He;rt+=1)at(rt);return me}function it(ce){var me=ce.stickyOffsets,Ae=ce.columns,He=ce.flattenColumns,at=ce.onHeaderRow,rt=ze(ie,["prefixCls","getComponent"]),wt=rt.prefixCls,Lt=rt.getComponent,Ct=re.useMemo(function(){return We(Ae)},[Ae]),Yt=Lt(["header","wrapper"],"thead"),gn=Lt(["header","row"],"tr"),nn=Lt(["header","cell"],"th"),Bn=Lt(["header","cell"],"td");return re.createElement(Yt,{className:"".concat(wt,"-thead")},Ct.map(function(bn,Fn){var Wn=re.createElement(Pe,{key:Fn,flattenColumns:He,cells:bn,stickyOffsets:me,rowComponent:gn,cellComponent:nn,tdCellComponent:Bn,onHeaderRow:at,index:Fn});return Wn}))}var ct=z(it),Ft=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 bt(ce,me){return re.useMemo(function(){if(me&&me>0){var Ae=0,He=0;ce.forEach(function(Yt){var gn=Xt(me,Yt.width);gn?Ae+=gn:He+=1});var at=me-Ae,rt=He,wt=at/He,Lt=0,Ct=ce.map(function(Yt){var gn=(0,we.Z)({},Yt),nn=Xt(me,gn.width);if(nn)gn.width=nn;else{var Bn=Math.floor(wt);gn.width=rt===1?at:Bn,at-=Bn,rt-=1}return Lt+=gn.width,gn});return[Ct,Lt]}return[ce,me]},[ce,me])}var je=["children"],Ke=["fixed"];function Ie(ce){return(0,Ft.Z)(ce).filter(function(me){return re.isValidElement(me)}).map(function(me){var Ae=me.key,He=me.props,at=He.children,rt=(0,dt.Z)(He,je),wt=(0,we.Z)({key:Ae},rt);return at&&(wt.children=Ie(at)),wt})}function ut(ce){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(Ae){return Ae&&(0,pe.Z)(Ae)==="object"}).reduce(function(Ae,He,at){var rt=He.fixed,wt=rt===!0?"left":rt,Lt="".concat(me,"-").concat(at),Ct=He.children;return Ct&&Ct.length>0?[].concat((0,sn.Z)(Ae),(0,sn.Z)(ut(Ct,Lt).map(function(Yt){return(0,we.Z)({fixed:wt},Yt)}))):[].concat((0,sn.Z)(Ae),[(0,we.Z)((0,we.Z)({key:Lt},He),{},{fixed:wt})])},[])}function Ht(ce){for(var me=!0,Ae=0;Ae<ce.length;Ae+=1){var He=ce[Ae];if(me&&He.fixed!=="left")me=!1;else if(!me&&He.fixed==="left"){warning(!1,"Index ".concat(Ae-1," of `columns` missing `fixed='left'` prop."));break}}for(var at=!0,rt=ce.length-1;rt>=0;rt-=1){var wt=ce[rt];if(at&&wt.fixed!=="right")at=!1;else if(!at&&wt.fixed==="right"){warning(!1,"Index ".concat(rt+1," of `columns` missing `fixed='right'` prop."));break}}}function Dt(ce){return ce.map(function(me){var Ae=me.fixed,He=(0,dt.Z)(me,Ke),at=Ae;return Ae==="left"?at="right":Ae==="right"&&(at="left"),(0,we.Z)({fixed:at},He)})}function pn(ce,me){var Ae=ce.prefixCls,He=ce.columns,at=ce.children,rt=ce.expandable,wt=ce.expandedKeys,Lt=ce.columnTitle,Ct=ce.getRowKey,Yt=ce.onTriggerExpand,gn=ce.expandIcon,nn=ce.rowExpandable,Bn=ce.expandIconColumnIndex,bn=ce.direction,Fn=ce.expandRowByClick,Wn=ce.columnWidth,Zn=ce.fixed,Un=ce.scrollWidth,zn=re.useMemo(function(){return He||Ie(at)},[He,at]),Yn=re.useMemo(function(){if(rt){var da,_n=zn.slice();if(!_n.includes(ee)){var Jn=Bn||0;Jn>=0&&_n.splice(Jn,0,ee)}var oa=_n.indexOf(ee);_n=_n.filter(function(Ca,Ka){return Ca!==ee||Ka===oa});var wa=zn[oa],ja;(Zn==="left"||Zn)&&!Bn?ja="left":(Zn==="right"||Zn)&&Bn===zn.length?ja="right":ja=wa?wa.fixed:null;var Ra=(da={},(0,ue.Z)(da,Dn,{className:"".concat(Ae,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ue.Z)(da,"title",Lt),(0,ue.Z)(da,"fixed",ja),(0,ue.Z)(da,"className","".concat(Ae,"-row-expand-icon-cell")),(0,ue.Z)(da,"width",Wn),(0,ue.Z)(da,"render",function(Ka,Ua,vo){var ao=Ct(Ua,vo),Ao=wt.has(ao),wo=nn?nn(Ua):!0,ka=gn({prefixCls:Ae,expanded:Ao,expandable:wo,record:Ua,onExpand:Yt});return Fn?re.createElement("span",{onClick:function(ro){return ro.stopPropagation()}},ka):ka}),da);return _n.map(function(Ca){return Ca===ee?Ra:Ca})}return zn.filter(function(Ca){return Ca!==ee})},[rt,zn,Ct,wt,gn,bn]),pa=re.useMemo(function(){var da=Yn;return me&&(da=me(da)),da.length||(da=[{render:function(){return null}}]),da},[me,Yn,bn]),Sa=re.useMemo(function(){return bn==="rtl"?Dt(ut(pa)):ut(pa)},[pa,bn,Un]),sa=bt(Sa,Un),La=(0,Be.Z)(sa,2),Ta=La[0],$n=La[1];return[pa,Ta,$n]}var mn=pn;function tn(ce){var me,Ae=ce.prefixCls,He=ce.record,at=ce.onExpand,rt=ce.expanded,wt=ce.expandable,Lt="".concat(Ae,"-row-expand-icon");if(!wt)return re.createElement("span",{className:De()(Lt,"".concat(Ae,"-row-spaced"))});var Ct=function(gn){at(He,gn),gn.stopPropagation()};return re.createElement("span",{className:De()(Lt,(me={},(0,ue.Z)(me,"".concat(Ae,"-row-expanded"),rt),(0,ue.Z)(me,"".concat(Ae,"-row-collapsed"),!rt),me)),onClick:Ct})}function Cn(ce,me,Ae){var He=[];function at(rt){(rt||[]).forEach(function(wt,Lt){He.push(me(wt,Lt)),at(wt[Ae])})}return at(ce),He}function Qn(ce,me,Ae){var He=At(ce),at=He.expandIcon,rt=He.expandedRowKeys,wt=He.defaultExpandedRowKeys,Lt=He.defaultExpandAllRows,Ct=He.expandedRowRender,Yt=He.onExpand,gn=He.onExpandedRowsChange,nn=He.childrenColumnName,Bn=at||tn,bn=nn||"children",Fn=re.useMemo(function(){return Ct?"row":ce.expandable&&ce.internalHooks===le&&ce.expandable.__PARENT_RENDER_ICON__||me.some(function(Sa){return Sa&&(0,pe.Z)(Sa)==="object"&&Sa[bn]})?"nest":!1},[!!Ct,me]),Wn=re.useState(function(){return wt||(Lt?Cn(me,Ae,bn):[])}),Zn=(0,Be.Z)(Wn,2),Un=Zn[0],zn=Zn[1],Yn=re.useMemo(function(){return new Set(rt||Un||[])},[rt,Un]),pa=re.useCallback(function(Sa){var sa=Ae(Sa,me.indexOf(Sa)),La,Ta=Yn.has(sa);Ta?(Yn.delete(sa),La=(0,sn.Z)(Yn)):La=[].concat((0,sn.Z)(Yn),[sa]),zn(La),Yt&&Yt(!Ta,Sa),gn&&gn(La)},[Ae,Yn,me,Yt,gn]);return[He,Fn,Yn,Bn,bn,pa]}function ln(ce,me,Ae,He){var at=ce.map(function(rt,wt){return Le(wt,wt,ce,me,Ae,He==null?void 0:He[wt])});return(0,Qe.Z)(function(){return at},[at],function(rt,wt){return!(0,Fe.Z)(rt,wt)})}function Hn(ce){var me=(0,re.useRef)(ce),Ae=(0,re.useState)({}),He=(0,Be.Z)(Ae,2),at=He[1],rt=(0,re.useRef)(null),wt=(0,re.useRef)([]);function Lt(Ct){wt.current.push(Ct);var Yt=Promise.resolve();rt.current=Yt,Yt.then(function(){if(rt.current===Yt){var gn=wt.current,nn=me.current;wt.current=[],gn.forEach(function(Bn){me.current=Bn(me.current)}),rt.current=null,nn!==me.current&&at({})}})}return(0,re.useEffect)(function(){return function(){rt.current=null}},[]),[me.current,Lt]}function qn(ce){var me=(0,re.useRef)(ce||null),Ae=(0,re.useRef)();function He(){window.clearTimeout(Ae.current)}function at(wt){me.current=wt,He(),Ae.current=window.setTimeout(function(){me.current=null,Ae.current=void 0},100)}function rt(){return me.current}return(0,re.useEffect)(function(){return He},[]),[at,rt]}function ua(){var ce=re.useState(-1),me=(0,Be.Z)(ce,2),Ae=me[0],He=me[1],at=re.useState(-1),rt=(0,Be.Z)(at,2),wt=rt[0],Lt=rt[1],Ct=re.useCallback(function(Yt,gn){He(Yt),Lt(gn)},[]);return[Ae,wt,Ct]}var ta=te(47273),et=(0,ta.Z)()?window:null;function jt(ce,me){var Ae=(0,pe.Z)(ce)==="object"?ce:{},He=Ae.offsetHeader,at=He===void 0?0:He,rt=Ae.offsetSummary,wt=rt===void 0?0:rt,Lt=Ae.offsetScroll,Ct=Lt===void 0?0:Lt,Yt=Ae.getContainer,gn=Yt===void 0?function(){return et}:Yt,nn=gn()||et;return re.useMemo(function(){var Bn=!!ce;return{isSticky:Bn,stickyClassName:Bn?"".concat(me,"-sticky-holder"):"",offsetHeader:at,offsetSummary:wt,offsetScroll:Ct,container:nn}},[Ct,at,wt,me,nn])}function yt(ce,me,Ae){var He=(0,re.useMemo)(function(){for(var at=[],rt=[],wt=0,Lt=0,Ct=0;Ct<me;Ct+=1)if(Ae==="rtl"){rt[Ct]=Lt,Lt+=ce[Ct]||0;var Yt=me-Ct-1;at[Yt]=wt,wt+=ce[Yt]||0}else{at[Ct]=wt,wt+=ce[Ct]||0;var gn=me-Ct-1;rt[gn]=Lt,Lt+=ce[gn]||0}return{left:at,right:rt}},[ce,me,Ae]);return He}var qt=yt;function dn(ce){var me=ce.className,Ae=ce.children;return re.createElement("div",{className:me},Ae)}var hn=dn,un=te(8224),cn=te(55468),Gn=function(me,Ae){var He,at,rt=me.scrollBodyRef,wt=me.onScroll,Lt=me.offsetScroll,Ct=me.container,Yt=ze(ie,"prefixCls"),gn=((He=rt.current)===null||He===void 0?void 0:He.scrollWidth)||0,nn=((at=rt.current)===null||at===void 0?void 0:at.clientWidth)||0,Bn=gn&&nn*(nn/gn),bn=re.useRef(),Fn=Hn({scrollLeft:0,isHiddenScrollBar:!1}),Wn=(0,Be.Z)(Fn,2),Zn=Wn[0],Un=Wn[1],zn=re.useRef({delta:0,x:0}),Yn=re.useState(!1),pa=(0,Be.Z)(Yn,2),Sa=pa[0],sa=pa[1],La=function(){sa(!1)},Ta=function(oa){oa.persist(),zn.current.delta=oa.pageX-Zn.scrollLeft,zn.current.x=0,sa(!0),oa.preventDefault()},$n=function(oa){var wa,ja=oa||((wa=window)===null||wa===void 0?void 0:wa.event),Ra=ja.buttons;if(!Sa||Ra===0){Sa&&sa(!1);return}var Ca=zn.current.x+oa.pageX-zn.current.x-zn.current.delta;Ca<=0&&(Ca=0),Ca+Bn>=nn&&(Ca=nn-Bn),wt({scrollLeft:Ca/nn*(gn+2)}),zn.current.x=oa.pageX},da=function(){if(rt.current){var oa=(0,cn.os)(rt.current).top,wa=oa+rt.current.offsetHeight,ja=Ct===window?document.documentElement.scrollTop+window.innerHeight:(0,cn.os)(Ct).top+Ct.clientHeight;wa-(0,tt.Z)()<=ja||oa>=ja-Lt?Un(function(Ra){return(0,we.Z)((0,we.Z)({},Ra),{},{isHiddenScrollBar:!0})}):Un(function(Ra){return(0,we.Z)((0,we.Z)({},Ra),{},{isHiddenScrollBar:!1})})}},_n=function(oa){Un(function(wa){return(0,we.Z)((0,we.Z)({},wa),{},{scrollLeft:oa/gn*nn||0})})};return re.useImperativeHandle(Ae,function(){return{setScrollLeft:_n}}),re.useEffect(function(){var Jn=(0,un.Z)(document.body,"mouseup",La,!1),oa=(0,un.Z)(document.body,"mousemove",$n,!1);return da(),function(){Jn.remove(),oa.remove()}},[Bn,Sa]),re.useEffect(function(){var Jn=(0,un.Z)(Ct,"scroll",da,!1),oa=(0,un.Z)(window,"resize",da,!1);return function(){Jn.remove(),oa.remove()}},[Ct]),re.useEffect(function(){Zn.isHiddenScrollBar||Un(function(Jn){var oa=rt.current;return oa?(0,we.Z)((0,we.Z)({},Jn),{},{scrollLeft:oa.scrollLeft/oa.scrollWidth*oa.clientWidth}):Jn})},[Zn.isHiddenScrollBar]),gn<=nn||!Bn||Zn.isHiddenScrollBar?null:re.createElement("div",{style:{height:(0,tt.Z)(),width:nn,bottom:Lt},className:"".concat(Yt,"-sticky-scroll")},re.createElement("div",{onMouseDown:Ta,ref:bn,className:De()("".concat(Yt,"-sticky-scroll-bar"),(0,ue.Z)({},"".concat(Yt,"-sticky-scroll-bar-active"),Sa)),style:{width:"".concat(Bn,"px"),transform:"translate3d(".concat(Zn.scrollLeft,"px, 0, 0)")}}))},Xn=re.forwardRef(Gn);function Ut(ce){return null}var ra=Ut;function ha(ce){return null}var Fa=ha,va="rc-table",xn=[],Tn={};function jn(){return"No Data"}function wn(ce){var me,Ae=(0,we.Z)({rowKey:"key",prefixCls:va,emptyText:jn},ce),He=Ae.prefixCls,at=Ae.className,rt=Ae.rowClassName,wt=Ae.style,Lt=Ae.data,Ct=Ae.rowKey,Yt=Ae.scroll,gn=Ae.tableLayout,nn=Ae.direction,Bn=Ae.title,bn=Ae.footer,Fn=Ae.summary,Wn=Ae.caption,Zn=Ae.id,Un=Ae.showHeader,zn=Ae.components,Yn=Ae.emptyText,pa=Ae.onRow,Sa=Ae.onHeaderRow,sa=Ae.internalHooks,La=Ae.transformColumns,Ta=Ae.internalRefs,$n=Ae.tailor,da=Ae.sticky,_n=Lt||xn,Jn=!!_n.length,oa=sa===le,wa=re.useCallback(function(co,Co){return(0,ye.Z)(zn,co)||Co},[zn]),ja=re.useMemo(function(){return typeof Ct=="function"?Ct:function(co){var Co=co&&co[Ct];return Co}},[Ct]),Ra=wa(["body"]),Ca=ua(),Ka=(0,Be.Z)(Ca,3),Ua=Ka[0],vo=Ka[1],ao=Ka[2],Ao=Qn(Ae,_n,ja),wo=(0,Be.Z)(Ao,6),ka=wo[0],Lo=wo[1],ro=wo[2],Eo=wo[3],yo=wo[4],Qo=wo[5],Ba=Yt==null?void 0:Yt.x,xa=re.useState(0),ba=(0,Be.Z)(xa,2),ma=ba[0],io=ba[1],fa=mn((0,we.Z)((0,we.Z)((0,we.Z)({},Ae),ka),{},{expandable:!!ka.expandedRowRender,columnTitle:ka.columnTitle,expandedKeys:ro,getRowKey:ja,onTriggerExpand:Qo,expandIcon:Eo,expandIconColumnIndex:ka.expandIconColumnIndex,direction:nn,scrollWidth:oa&&$n&&typeof Ba=="number"?Ba:null}),oa?La:null),Na=(0,Be.Z)(fa,3),qa=Na[0],Ya=Na[1],Go=Na[2],Zo=Go!=null?Go:Ba,lr=re.useMemo(function(){return{columns:qa,flattenColumns:Ya}},[qa,Ya]),Do=re.useRef(),ar=re.useRef(),No=re.useRef(),Xo=re.useRef(),br=re.useRef(),so=re.useState(!1),uo=(0,Be.Z)(so,2),bo=uo[0],Io=uo[1],Ro=re.useState(!1),Va=(0,Be.Z)(Ro,2),Uo=Va[0],Ko=Va[1],er=Hn(new Map),gr=(0,Be.Z)(er,2),sr=gr[0],Lr=gr[1],hr=st(Ya),or=hr.map(function(co){return sr.get(co)}),Yo=re.useMemo(function(){return or},[or.join("_")]),Vo=qt(Yo,Ya.length,nn),To=Yt&&Nt(Yt.y),xo=Yt&&Nt(Zo)||!!ka.fixed,mr=xo&&Ya.some(function(co){var Co=co.fixed;return Co}),xr=re.useRef(),yr=jt(da,He),fr=yr.isSticky,Ir=yr.offsetHeader,Ur=yr.offsetSummary,eo=yr.offsetScroll,ho=yr.stickyClassName,Ho=yr.container,Fo=re.useMemo(function(){return Fn==null?void 0:Fn(_n)},[Fn,_n]),Wo=(To||fr)&&re.isValidElement(Fo)&&Fo.type===se&&Fo.props.fixed,$o,_o,Sr;To&&(_o={overflowY:"scroll",maxHeight:Yt.y}),xo&&($o={overflowX:"auto"},To||(_o={overflowY:"hidden"}),Sr={width:Zo===!0?"auto":Zo,minWidth:"100%"});var vi=re.useCallback(function(co,Co){(0,Ne.Z)(Do.current)&&Lr(function(rr){if(rr.get(co)!==Co){var Er=new Map(rr);return Er.set(co,Co),Er}return rr})},[]),wl=qn(null),hi=(0,Be.Z)(wl,2),Ll=hi[0],Si=hi[1];function Rr(co,Co){Co&&(typeof Co=="function"?Co(co):Co.scrollLeft!==co&&(Co.scrollLeft=co,Co.scrollLeft!==co&&setTimeout(function(){Co.scrollLeft=co},0)))}var Ar=(0,Ge.Z)(function(co){var Co=co.currentTarget,rr=co.scrollLeft,Er=nn==="rtl",Cr=typeof rr=="number"?rr:Co.scrollLeft,Ii=Co||Tn;if(!Si()||Si()===Ii){var Yr;Ll(Ii),Rr(Cr,ar.current),Rr(Cr,No.current),Rr(Cr,br.current),Rr(Cr,(Yr=xr.current)===null||Yr===void 0?void 0:Yr.setScrollLeft)}var $r=Co||ar.current;if($r){var _r=$r.scrollWidth,qr=$r.clientWidth;if(_r===qr){Io(!1),Ko(!1);return}Er?(Io(-Cr<_r-qr),Ko(-Cr>0)):(Io(Cr>0),Ko(Cr<_r-qr))}}),Pi=function(){xo&&No.current?Ar({currentTarget:No.current}):(Io(!1),Ko(!1))},Dl=function(Co){var rr=Co.width;rr!==ma&&(Pi(),io(Do.current?Do.current.offsetWidth:rr))},yi=re.useRef(!1);re.useEffect(function(){yi.current&&Pi()},[xo,Lt,qa.length]),re.useEffect(function(){yi.current=!0},[]);var Nl=re.useState(0),Ei=(0,Be.Z)(Nl,2),Tr=Ei[0],Ci=Ei[1],Ol=re.useState(!0),bi=(0,Be.Z)(Ol,2),xi=bi[0],Il=bi[1];re.useEffect(function(){(!$n||!oa)&&(No.current instanceof Element?Ci((0,tt.o)(No.current).width):Ci((0,tt.o)(Xo.current).width)),Il((0,Ee.G)("position","sticky"))},[]),re.useEffect(function(){oa&&Ta&&(Ta.body.current=No.current)});var Rl=re.useCallback(function(co){return re.createElement(re.Fragment,null,re.createElement(ct,co),Wo==="top"&&re.createElement(gt,co,Fo))},[Wo,Fo]),Tl=re.useCallback(function(co){return re.createElement(gt,co,Fo)},[Fo]),Fi=wa(["table"],"table"),kr=re.useMemo(function(){return gn||(mr?Zo==="max-content"?"auto":"fixed":To||fr||Ya.some(function(co){var Co=co.ellipsis;return Co})?"fixed":"auto")},[To,mr,Ya,gn,fr]),Vr,Jr={colWidths:Yo,columCount:Ya.length,stickyOffsets:Vo,onHeaderRow:Sa,fixHeader:To,scroll:Yt},Bi=re.useMemo(function(){return Jn?null:typeof Yn=="function"?Yn():Yn},[Jn,Yn]),Ai=re.createElement($t,{data:_n,measureColumnWidth:To||xo||fr}),wi=re.createElement(fn,{colWidths:Ya.map(function(co){var Co=co.width;return Co}),columns:Ya}),Li=Wn!=null?re.createElement("caption",{className:"".concat(He,"-caption")},Wn):void 0,kl=(0,_t.Z)(Ae,{data:!0}),Di=(0,_t.Z)(Ae,{aria:!0});if(To||fr){var Qr;typeof Ra=="function"?(Qr=Ra(_n,{scrollbarSize:Tr,ref:No,onScroll:Ar}),Jr.colWidths=Ya.map(function(co,Co){var rr=co.width,Er=Co===Ya.length-1?rr-Tr:rr;return typeof Er=="number"&&!Number.isNaN(Er)?Er:0})):Qr=re.createElement("div",{style:(0,we.Z)((0,we.Z)({},$o),_o),onScroll:Ar,ref:No,className:De()("".concat(He,"-body"))},re.createElement(Fi,(0,_e.Z)({style:(0,we.Z)((0,we.Z)({},Sr),{},{tableLayout:kr})},Di),Li,wi,Ai,!Wo&&Fo&&re.createElement(gt,{stickyOffsets:Vo,flattenColumns:Ya,columns:qa},Fo)));var Ni=(0,we.Z)((0,we.Z)((0,we.Z)({noData:!_n.length,maxContentScroll:xo&&Zo==="max-content"},Jr),lr),{},{direction:nn,stickyClassName:ho,onScroll:Ar});Vr=re.createElement(re.Fragment,null,Un!==!1&&re.createElement(an,(0,_e.Z)({},Ni,{stickyTopOffset:Ir,className:"".concat(He,"-header"),ref:ar}),Rl),Qr,Wo&&Wo!=="top"&&re.createElement(an,(0,_e.Z)({},Ni,{stickyBottomOffset:Ur,className:"".concat(He,"-summary"),ref:br}),Tl),fr&&re.createElement(Xn,{ref:xr,offsetScroll:eo,scrollBodyRef:No,onScroll:Ar,container:Ho}))}else Vr=re.createElement("div",{style:(0,we.Z)((0,we.Z)({},$o),_o),className:De()("".concat(He,"-content")),onScroll:Ar,ref:No},re.createElement(Fi,(0,_e.Z)({style:(0,we.Z)((0,we.Z)({},Sr),{},{tableLayout:kr})},Di),Li,wi,Un!==!1&&re.createElement(ct,(0,_e.Z)({},Jr,lr)),Ai,Fo&&re.createElement(gt,{stickyOffsets:Vo,flattenColumns:Ya,columns:qa},Fo)));var Xr=re.createElement("div",(0,_e.Z)({className:De()(He,at,(me={},(0,ue.Z)(me,"".concat(He,"-rtl"),nn==="rtl"),(0,ue.Z)(me,"".concat(He,"-ping-left"),bo),(0,ue.Z)(me,"".concat(He,"-ping-right"),Uo),(0,ue.Z)(me,"".concat(He,"-layout-fixed"),gn==="fixed"),(0,ue.Z)(me,"".concat(He,"-fixed-header"),To),(0,ue.Z)(me,"".concat(He,"-fixed-column"),mr),(0,ue.Z)(me,"".concat(He,"-scroll-horizontal"),xo),(0,ue.Z)(me,"".concat(He,"-has-fix-left"),Ya[0]&&Ya[0].fixed),(0,ue.Z)(me,"".concat(He,"-has-fix-right"),Ya[Ya.length-1]&&Ya[Ya.length-1].fixed==="right"),me)),style:wt,id:Zn,ref:Do},kl),Bn&&re.createElement(hn,{className:"".concat(He,"-title")},Bn(_n)),re.createElement("div",{ref:Xo,className:"".concat(He,"-container")},Vr),bn&&re.createElement(hn,{className:"".concat(He,"-footer")},bn(_n)));xo&&(Xr=re.createElement(Ye.Z,{onResize:Dl},Xr));var Oi=ln(Ya,Vo,nn,qa),Ml=re.useMemo(function(){return{scrollX:Zo,prefixCls:He,getComponent:wa,scrollbarSize:Tr,direction:nn,fixedInfoList:Oi,isSticky:fr,supportSticky:xi,componentWidth:ma,fixHeader:To,fixColumn:mr,horizonScroll:xo,tableLayout:kr,rowClassName:rt,expandedRowClassName:ka.expandedRowClassName,expandIcon:Eo,expandableType:Lo,expandRowByClick:ka.expandRowByClick,expandedRowRender:ka.expandedRowRender,onTriggerExpand:Qo,expandIconColumnIndex:ka.expandIconColumnIndex,indentSize:ka.indentSize,allColumnsFixedLeft:Ya.every(function(co){return co.fixed==="left"}),emptyNode:Bi,columns:qa,flattenColumns:Ya,onColumnResize:vi,hoverStartRow:Ua,hoverEndRow:vo,onHover:ao,rowExpandable:ka.rowExpandable,onRow:pa,getRowKey:ja,expandedKeys:ro,childrenColumnName:yo}},[Zo,He,wa,Tr,nn,Oi,fr,xi,ma,To,mr,xo,kr,rt,ka.expandedRowClassName,Eo,Lo,ka.expandRowByClick,ka.expandedRowRender,Qo,ka.expandIconColumnIndex,ka.indentSize,Bi,qa,Ya,vi,Ua,vo,ao,ka.rowExpandable,pa,ja,ro,yo]);return re.createElement(ie.Provider,{value:Ml},Xr)}function la(ce){return x(wn,ce)}var Pa=la();Pa.EXPAND_COLUMN=ee,Pa.INTERNAL_HOOKS=le,Pa.Column=ra,Pa.ColumnGroup=Fa,Pa.Summary=Se;var ca=Pa,ea=te(6790),ya=Ue(null),to=Ue(null);function $a(ce,me,Ae){var He=me||1;return Ae[ce+He]-(Ae[ce]||0)}function fo(ce){var me=ce.rowInfo,Ae=ce.column,He=ce.colIndex,at=ce.indent,rt=ce.index,wt=ce.renderIndex,Lt=ce.record,Ct=ce.style,Yt=ce.className,gn=ce.inverse,nn=ce.getHeight,Bn=Ae.render,bn=Ae.dataIndex,Fn=Ae.className,Wn=Ae.width,Zn=ze(to,["columnsOffset"]),Un=Zn.columnsOffset,zn=lt(me,Ae,He,at,rt),Yn=zn.key,pa=zn.fixedInfo,Sa=zn.appendCellNode,sa=zn.additionalCellProps,La=sa.style,Ta=sa.colSpan,$n=Ta===void 0?1:Ta,da=sa.rowSpan,_n=da===void 0?1:da,Jn=He-1,oa=$a(Jn,$n,Un),wa=$n>1?Wn-oa:0,ja=(0,we.Z)((0,we.Z)((0,we.Z)({},La),Ct),{},{flex:"0 0 ".concat(oa,"px"),width:"".concat(oa,"px"),marginRight:wa,pointerEvents:"auto"}),Ra=re.useMemo(function(){return gn?_n<=1:$n===0||_n===0||_n>1},[_n,$n,gn]);Ra?ja.visibility="hidden":gn&&(ja.height=nn==null?void 0:nn(_n));var Ca=Ra?function(){return null}:Bn,Ka={};return(_n===0||$n===0)&&(Ka.rowSpan=1,Ka.colSpan=1),re.createElement(Kt,(0,_e.Z)({className:De()(Fn,Yt),ellipsis:Ae.ellipsis,align:Ae.align,scope:Ae.rowScope,component:"div",prefixCls:me.prefixCls,key:Yn,record:Lt,index:rt,renderIndex:wt,dataIndex:bn,render:Ca,shouldCellUpdate:Ae.shouldCellUpdate},pa,{appendNode:Sa,additionalProps:(0,we.Z)((0,we.Z)({},sa),{},{style:ja},Ka)}))}var Ma=fo,Oa=["data","index","className","rowKey","style","extra","getHeight"],Ga=re.forwardRef(function(ce,me){var Ae=ce.data,He=ce.index,at=ce.className,rt=ce.rowKey,wt=ce.style,Lt=ce.extra,Ct=ce.getHeight,Yt=(0,dt.Z)(ce,Oa),gn=Ae.record,nn=Ae.indent,Bn=Ae.index,bn=ze(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Fn=bn.scrollX,Wn=bn.flattenColumns,Zn=bn.prefixCls,Un=bn.fixColumn,zn=bn.componentWidth,Yn=be(gn,rt,He,nn),pa=Yn.rowSupportExpand,Sa=Yn.expanded,sa=Yn.rowProps,La=Yn.expandedRowRender,Ta=Yn.expandedRowClassName,$n;if(pa&&Sa){var da=La(gn,He,nn+1,Sa),_n=Ta==null?void 0:Ta(gn,He,nn),Jn={};Un&&(Jn={style:(0,ue.Z)({},"--virtual-width","".concat(zn,"px"))});var oa="".concat(Zn,"-expanded-row-cell");$n=re.createElement("div",{className:De()("".concat(Zn,"-expanded-row"),"".concat(Zn,"-expanded-row-level-").concat(nn+1),_n)},re.createElement(Kt,{component:"div",prefixCls:Zn,className:De()(oa,(0,ue.Z)({},"".concat(oa,"-fixed"),Un)),additionalProps:Jn},da))}var wa=(0,we.Z)((0,we.Z)({},wt),{},{width:Fn});Lt&&(wa.position="absolute",wa.pointerEvents="none");var ja=re.createElement("div",(0,_e.Z)({},sa,Yt,{ref:pa?null:me,className:De()(at,"".concat(Zn,"-row"),sa==null?void 0:sa.className,(0,ue.Z)({},"".concat(Zn,"-row-extra"),Lt)),style:(0,we.Z)((0,we.Z)({},wa),sa==null?void 0:sa.style)}),Wn.map(function(Ra,Ca){return re.createElement(Ma,{key:Ca,rowInfo:Yn,column:Ra,colIndex:Ca,indent:nn,index:He,renderIndex:Bn,record:gn,inverse:Lt,getHeight:Ct})}));return pa?re.createElement("div",{ref:me},ja,$n):ja}),za=z(Ga),Ha=za,na=re.forwardRef(function(ce,me){var Ae=ce.data,He=ce.onScroll,at=ze(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),rt=at.flattenColumns,wt=at.onColumnResize,Lt=at.getRowKey,Ct=at.expandedKeys,Yt=at.prefixCls,gn=at.childrenColumnName,nn=at.emptyNode,Bn=at.scrollX,bn=ze(ya),Fn=bn.scrollY,Wn=bn.listItemHeight,Zn=re.useRef(),Un=zt(Ae,gn,Ct,Lt),zn=re.useMemo(function(){var $n=0;return rt.map(function(da){var _n=da.width,Jn=da.key;return $n+=_n,[Jn,_n,$n]})},[rt]),Yn=re.useMemo(function(){return zn.map(function($n){return $n[2]})},[zn]);re.useEffect(function(){zn.forEach(function($n){var da=(0,Be.Z)($n,2),_n=da[0],Jn=da[1];wt(_n,Jn)})},[zn]),re.useImperativeHandle(me,function(){var $n={};return Object.defineProperty($n,"scrollLeft",{get:function(){var _n;return((_n=Zn.current)===null||_n===void 0?void 0:_n.getScrollInfo().x)||0},set:function(_n){var Jn;(Jn=Zn.current)===null||Jn===void 0||Jn.scrollTo({left:_n})}}),$n});var pa=function(da,_n){var Jn,oa=(Jn=Un[_n])===null||Jn===void 0?void 0:Jn.record,wa=da.onCell;if(wa){var ja,Ra=wa(oa,_n);return(ja=Ra==null?void 0:Ra.rowSpan)!==null&&ja!==void 0?ja:1}return 1},Sa=function(da){var _n=da.start,Jn=da.end,oa=da.getSize,wa=da.offsetY;if(Jn<0)return null;for(var ja=rt.filter(function(Ba){return pa(Ba,_n)===0}),Ra=_n,Ca=function(xa){if(ja=ja.filter(function(ba){return pa(ba,xa)===0}),!ja.length)return Ra=xa,"break"},Ka=_n;Ka>=0;Ka-=1){var Ua=Ca(Ka);if(Ua==="break")break}for(var vo=rt.filter(function(Ba){return pa(Ba,Jn)!==1}),ao=Jn,Ao=function(xa){if(vo=vo.filter(function(ba){return pa(ba,xa)!==1}),!vo.length)return ao=Math.max(xa-1,Jn),"break"},wo=Jn;wo<Un.length;wo+=1){var ka=Ao(wo);if(ka==="break")break}for(var Lo=[],ro=function(xa){var ba=Un[xa];if(!ba)return"continue";rt.some(function(ma){return pa(ma,xa)>1})&&Lo.push(xa)},Eo=Ra;Eo<=ao;Eo+=1)var yo=ro(Eo);var Qo=Lo.map(function(Ba){var xa=Un[Ba],ba=Lt(xa.record,Ba),ma=function(Na){var qa=Ba+Na-1,Ya=Lt(Un[qa].record,qa),Go=oa(ba,Ya);return Go.bottom-Go.top},io=oa(ba);return re.createElement(Ha,{key:Ba,data:xa,rowKey:ba,index:Ba,style:{top:-wa+io.top},extra:!0,getHeight:ma})});return Qo},sa=re.useMemo(function(){return{columnsOffset:Yn}},[Yn]),La="".concat(Yt,"-tbody"),Ta;return Un.length?Ta=re.createElement(ea.Z,{fullHeight:!1,ref:Zn,className:De()(La,"".concat(La,"-virtual")),height:Fn,itemHeight:Wn||24,data:Un,itemKey:function(da){return Lt(da.record)},scrollWidth:Bn,onVirtualScroll:function(da){var _n=da.x;He({scrollLeft:_n})},extraRender:Sa},function($n,da,_n){var Jn=Lt($n.record,da);return re.createElement(Ha,(0,_e.Z)({data:$n,rowKey:Jn,index:da},_n))}):Ta=re.createElement("div",{className:De()("".concat(Yt,"-placeholder"))},re.createElement(Kt,{component:"div",prefixCls:Yt},nn)),re.createElement(to.Provider,{value:sa},Ta)}),Ea=z(na),Ja=Ea,Qa=function(me,Ae){var He=Ae.ref,at=Ae.onScroll;return re.createElement(Ja,{ref:He,data:me,onScroll:at})},Za=100;function no(ce){var me=ce.columns,Ae=ce.scroll,He=ce.prefixCls,at=He===void 0?va:He,rt=ce.className,wt=ce.listItemHeight,Lt=Ae||{},Ct=Lt.x,Yt=Lt.y;typeof Ct!="number"&&(Ct=((me||[]).length+1)*Za),typeof Yt!="number"&&(Yt=500);var gn=re.useMemo(function(){return{scrollY:Yt,listItemHeight:wt}},[Yt,wt]);return re.createElement(ya.Provider,{value:gn},re.createElement(ca,(0,_e.Z)({},ce,{className:De()(rt,"".concat(at,"-virtual")),scroll:(0,we.Z)((0,we.Z)({},Ae),{},{x:Ct}),components:{body:Qa},columns:me,internalHooks:le,tailor:!0})))}function lo(ce){return x(no,ce)}var ga=lo(),Wa=null;function Ia(ce){return null}var oo=Ia;function So(ce){return null}var Oo=So,Jo=te(2738),zo=te(68031),mo=te(36355),po=te(93891),Bo=te(19716),tr=te(8628),jo=te(31724),qo=te(58421),ia=te(71418),kn=te(88088);function In(ce){return function(Ae){let{prefixCls:He,onExpand:at,record:rt,expanded:wt,expandable:Lt}=Ae;const Ct=`${He}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:Yt=>{at(rt,Yt),Yt.stopPropagation()},className:De()(Ct,{[`${Ct}-spaced`]:!Lt,[`${Ct}-expanded`]:Lt&&wt,[`${Ct}-collapsed`]:Lt&&!wt}),"aria-label":wt?ce.collapse:ce.expand,"aria-expanded":wt})}}var Kn=In;function Aa(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 fe(ce,me){return me?`${me}-${ce}`:`${ce}`}function Mt(ce,me){return typeof ce=="function"?ce(me):ce}function en(ce,me){const Ae=Mt(ce,me);return Object.prototype.toString.call(Ae)==="[object Object]"?"":Ae}var En={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"},It=En,Ln=te(7657),An=function(me,Ae){return re.createElement(Ln.Z,(0,_e.Z)({},me,{ref:Ae,icon:It}))},rn=re.forwardRef(An),Sn=rn,Vn=te(56762);function Nn(ce){const me=re.useRef(ce),Ae=(0,Vn.Z)();return[()=>me.current,He=>{me.current=He,Ae()}]}var On=te(3113),Mn=te(24905),aa=te(38854),Da=te(64165),Xa=te(20834),_a=te(40875),Po=te(5112),ko=te(17574),Mo=te(47472),dr=te(92832);function ur(ce){let{value:me,onChange:Ae,filterSearch:He,tablePrefixCls:at,locale:rt}=ce;return He?re.createElement("div",{className:`${at}-filter-dropdown-search`},re.createElement(dr.default,{prefix:re.createElement(Mo.Z,null),placeholder:rt.filterSearchPlaceholder,onChange:Ae,value:me,htmlSize:1,className:`${at}-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:He,children:at}=Ae;me.push(He),at&&(me=[].concat((0,sn.Z)(me),(0,sn.Z)(Br(at))))}),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:He,filterMultiple:at,searchValue:rt,filterSearch:wt}=ce;return me.map((Lt,Ct)=>{const Yt=String(Lt.value);if(Lt.children)return{key:Yt||Ct,label:Lt.text,popupClassName:`${Ae}-dropdown-submenu`,children:ti({filters:Lt.children,prefixCls:Ae,filteredKeys:He,filterMultiple:at,searchValue:rt,filterSearch:wt})};const gn=at?Mn.default:Po.ZP,nn={key:Lt.value!==void 0?Yt:Ct,label:re.createElement(re.Fragment,null,re.createElement(gn,{checked:He.includes(Yt)}),re.createElement("span",null,Lt.text))};return rt.trim()?typeof wt=="function"?wt(rt,Lt)?nn:null:ei(rt,Lt.text)?nn:null:nn})}function Ti(ce){var me,Ae;const{tablePrefixCls:He,prefixCls:at,column:rt,dropdownPrefixCls:wt,columnKey:Lt,filterMultiple:Ct,filterMode:Yt="menu",filterSearch:gn=!1,filterState:nn,triggerFilter:Bn,locale:bn,children:Fn,getPopupContainer:Wn}=ce,{filterDropdownOpen:Zn,onFilterDropdownOpenChange:Un,filterResetToDefaultFilteredValue:zn,defaultFilteredValue:Yn,filterDropdownVisible:pa,onFilterDropdownVisibleChange:Sa}=rt,[sa,La]=re.useState(!1),Ta=!!(nn&&(!((me=nn.filteredKeys)===null||me===void 0)&&me.length||nn.forceFiltered)),$n=fa=>{La(fa),Un==null||Un(fa),Sa==null||Sa(fa)},da=(Ae=Zn!=null?Zn:pa)!==null&&Ae!==void 0?Ae:sa,_n=nn==null?void 0:nn.filteredKeys,[Jn,oa]=Nn(_n||[]),wa=fa=>{let{selectedKeys:Na}=fa;oa(Na)},ja=(fa,Na)=>{let{node:qa,checked:Ya}=Na;wa(Ct?{selectedKeys:fa}:{selectedKeys:Ya&&qa.key?[qa.key]:[]})};re.useEffect(()=>{sa&&wa({selectedKeys:_n||[]})},[_n]);const[Ra,Ca]=re.useState([]),Ka=fa=>{Ca(fa)},[Ua,vo]=re.useState(""),ao=fa=>{const{value:Na}=fa.target;vo(Na)};re.useEffect(()=>{sa||vo("")},[sa]);const Ao=fa=>{const Na=fa&&fa.length?fa:null;if(Na===null&&(!nn||!nn.filteredKeys)||(0,Fe.Z)(Na,nn==null?void 0:nn.filteredKeys,!0))return null;Bn({column:rt,key:Lt,filteredKeys:Na})},wo=()=>{$n(!1),Ao(Jn())},ka=function(){let{confirm:fa,closeDropdown:Na}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};fa&&Ao([]),Na&&$n(!1),vo(""),oa(zn?(Yn||[]).map(qa=>String(qa)):[])},Lo=function(){let{closeDropdown:fa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};fa&&$n(!1),Ao(Jn())},ro=fa=>{fa&&_n!==void 0&&oa(_n||[]),$n(fa),!fa&&!rt.filterDropdown&&wo()},Eo=De()({[`${wt}-menu-without-submenu`]:!Ri(rt.filters||[])}),yo=fa=>{if(fa.target.checked){const Na=Br(rt==null?void 0:rt.filters).map(qa=>String(qa));oa(Na)}else oa([])},Qo=fa=>{let{filters:Na}=fa;return(Na||[]).map((qa,Ya)=>{const Go=String(qa.value),Zo={title:qa.text,key:qa.value!==void 0?Go:Ya};return qa.children&&(Zo.children=Qo({filters:qa.children})),Zo})},Ba=fa=>{var Na;return Object.assign(Object.assign({},fa),{text:fa.title,value:fa.key,children:((Na=fa.children)===null||Na===void 0?void 0:Na.map(qa=>Ba(qa)))||[]})};let xa;if(typeof rt.filterDropdown=="function")xa=rt.filterDropdown({prefixCls:`${wt}-custom`,setSelectedKeys:fa=>wa({selectedKeys:fa}),selectedKeys:Jn(),confirm:Lo,clearFilters:ka,filters:rt.filters,visible:da,close:()=>{$n(!1)}});else if(rt.filterDropdown)xa=rt.filterDropdown;else{const fa=Jn()||[],Na=()=>(rt.filters||[]).length===0?re.createElement(Da.Z,{image:Da.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:Ua,onChange:ao,tablePrefixCls:He,locale:bn}),re.createElement("div",{className:`${He}-filter-dropdown-tree`},Ct?re.createElement(Mn.default,{checked:fa.length===Br(rt.filters).length,indeterminate:fa.length>0&&fa.length<Br(rt.filters).length,className:`${He}-filter-dropdown-checkall`,onChange:yo},bn.filterCheckall):null,re.createElement(ko.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ct,checkStrictly:!Ct,className:`${wt}-menu`,onCheck:ja,checkedKeys:fa,selectedKeys:fa,showIcon:!1,treeData:Qo({filters:rt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ua.trim()?Ya=>typeof gn=="function"?gn(Ua,Ba(Ya)):ei(Ua,Ya.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(nr,{filterSearch:gn,value:Ua,onChange:ao,tablePrefixCls:He,locale:bn}),re.createElement(Xa.default,{selectable:!0,multiple:Ct,prefixCls:`${wt}-menu`,className:Eo,onSelect:wa,onDeselect:wa,selectedKeys:fa,getPopupContainer:Wn,openKeys:Ra,onOpenChange:Ka,items:ti({filters:rt.filters||[],filterSearch:gn,prefixCls:at,filteredKeys:Jn(),filterMultiple:Ct,searchValue:Ua})})),qa=()=>zn?(0,Fe.Z)((Yn||[]).map(Ya=>String(Ya)),fa,!0):fa.length===0;xa=re.createElement(re.Fragment,null,Na(),re.createElement("div",{className:`${at}-dropdown-btns`},re.createElement(On.ZP,{type:"link",size:"small",disabled:qa(),onClick:()=>ka()},bn.filterReset),re.createElement(On.ZP,{type:"primary",size:"small",onClick:wo},bn.filterConfirm)))}rt.filterDropdown&&(xa=re.createElement(_a.J,{selectable:void 0},xa));const ba=()=>re.createElement(cr,{className:`${at}-dropdown`},xa);let ma;typeof rt.filterIcon=="function"?ma=rt.filterIcon(Ta):rt.filterIcon?ma=rt.filterIcon:ma=re.createElement(Sn,null);const{direction:io}=re.useContext(mo.E_);return re.createElement("div",{className:`${at}-column`},re.createElement("span",{className:`${He}-column-title`},Fn),re.createElement(aa.Z,{dropdownRender:ba,trigger:["click"],open:da,onOpenChange:ro,getPopupContainer:Wn,placement:io==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:De()(`${at}-trigger`,{active:Ta}),onClick:fa=>{fa.stopPropagation()}},ma)))}var ki=Ti;function Mr(ce,me,Ae){let He=[];return(ce||[]).forEach((at,rt)=>{var wt;const Lt=fe(rt,Ae);if(at.filters||"filterDropdown"in at||"onFilter"in at)if("filteredValue"in at){let Ct=at.filteredValue;"filterDropdown"in at||(Ct=(wt=Ct==null?void 0:Ct.map(String))!==null&&wt!==void 0?wt:Ct),He.push({column:at,key:Aa(at,Lt),filteredKeys:Ct,forceFiltered:at.filtered})}else He.push({column:at,key:Aa(at,Lt),filteredKeys:me&&at.defaultFilteredValue?at.defaultFilteredValue:void 0,forceFiltered:at.filtered});"children"in at&&(He=[].concat((0,sn.Z)(He),(0,sn.Z)(Mr(at.children,me,Lt))))}),He}function ni(ce,me,Ae,He,at,rt,wt,Lt){return Ae.map((Ct,Yt)=>{const gn=fe(Yt,Lt),{filterMultiple:nn=!0,filterMode:Bn,filterSearch:bn}=Ct;let Fn=Ct;if(Fn.filters||Fn.filterDropdown){const Wn=Aa(Fn,gn),Zn=He.find(Un=>{let{key:zn}=Un;return Wn===zn});Fn=Object.assign(Object.assign({},Fn),{title:Un=>re.createElement(ki,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:me,column:Fn,columnKey:Wn,filterState:Zn,filterMultiple:nn,filterMode:Bn,filterSearch:bn,triggerFilter:rt,locale:at,getPopupContainer:wt},Mt(Ct.title,Un))})}return"children"in Fn&&(Fn=Object.assign(Object.assign({},Fn),{children:ni(ce,me,Fn.children,He,at,rt,wt,gn)})),Fn})}function ai(ce){const me={};return ce.forEach(Ae=>{let{key:He,filteredKeys:at,column:rt}=Ae;const{filters:wt,filterDropdown:Lt}=rt;if(Lt)me[He]=at||null;else if(Array.isArray(at)){const Ct=Br(wt);me[He]=Ct.filter(Yt=>at.includes(String(Yt)))}else me[He]=null}),me}function oi(ce,me){return me.reduce((Ae,He)=>{const{column:{onFilter:at,filters:rt},filteredKeys:wt}=He;return at&&wt&&wt.length?Ae.filter(Lt=>wt.some(Ct=>{const Yt=Br(rt),gn=Yt.findIndex(Bn=>String(Bn)===String(Ct)),nn=gn!==-1?Yt[gn]:Ct;return at(nn,Lt)})):Ae},ce)}const ri=ce=>ce.flatMap(me=>"children"in me?[me].concat((0,sn.Z)(ri(me.children||[]))):[me]);function Mi(ce){let{prefixCls:me,dropdownPrefixCls:Ae,mergedColumns:He,onFilterChange:at,getPopupContainer:rt,locale:wt}=ce;const Lt=re.useMemo(()=>ri(He||[]),[He]),[Ct,Yt]=re.useState(()=>Mr(Lt,!0)),gn=re.useMemo(()=>{const Fn=Mr(Lt,!1);if(Fn.length===0)return Fn;let Wn=!0,Zn=!0;if(Fn.forEach(Un=>{let{filteredKeys:zn}=Un;zn!==void 0?Wn=!1:Zn=!1}),Wn){const Un=(Lt||[]).map((zn,Yn)=>Aa(zn,fe(Yn)));return Ct.filter(zn=>{let{key:Yn}=zn;return Un.includes(Yn)}).map(zn=>{const Yn=Lt[Un.findIndex(pa=>pa===zn.key)];return Object.assign(Object.assign({},zn),{column:Object.assign(Object.assign({},zn.column),Yn),forceFiltered:Yn.filtered})})}return Fn},[Lt,Ct]),nn=re.useMemo(()=>ai(gn),[gn]),Bn=Fn=>{const Wn=gn.filter(Zn=>{let{key:Un}=Zn;return Un!==Fn.key});Wn.push(Fn),Yt(Wn),at(ai(Wn),Wn)};return[Fn=>ni(me,Ae,Fn,gn,wt,Bn,rt),gn,nn]}var Zi=Mi;function zi(ce,me,Ae){const He=re.useRef({});function at(rt){if(!He.current||He.current.data!==ce||He.current.childrenColumnName!==me||He.current.getRowKey!==Ae){let Lt=function(Ct){Ct.forEach((Yt,gn)=>{const nn=Ae(Yt,gn);wt.set(nn,Yt),Yt&&typeof Yt=="object"&&me in Yt&&Lt(Yt[me]||[])})};const wt=new Map;Lt(ce),He.current={data:ce,childrenColumnName:me,kvMap:wt,getRowKey:Ae}}return He.current.kvMap.get(rt)}return[at]}var Hi=te(50371),ji=function(ce,me){var Ae={};for(var He in ce)Object.prototype.hasOwnProperty.call(ce,He)&&me.indexOf(He)<0&&(Ae[He]=ce[He]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,He=Object.getOwnPropertySymbols(ce);at<He.length;at++)me.indexOf(He[at])<0&&Object.prototype.propertyIsEnumerable.call(ce,He[at])&&(Ae[He[at]]=ce[He[at]]);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(at=>{const rt=ce[at];typeof rt!="function"&&(Ae[at]=rt)}),Ae}function Ki(ce,me,Ae){const He=Ae&&typeof Ae=="object"?Ae:{},{total:at=0}=He,rt=ji(He,["total"]),[wt,Lt]=(0,re.useState)(()=>({current:"defaultCurrent"in rt?rt.defaultCurrent:1,pageSize:"defaultPageSize"in rt?rt.defaultPageSize:ii})),Ct=(0,Hi.Z)(wt,rt,{total:at>0?at:ce}),Yt=Math.ceil((at||ce)/Ct.pageSize);Ct.current>Yt&&(Ct.current=Yt||1);const gn=(Bn,bn)=>{Lt({current:Bn!=null?Bn:1,pageSize:bn||Ct.pageSize})},nn=(Bn,bn)=>{var Fn;Ae&&((Fn=Ae.onChange)===null||Fn===void 0||Fn.call(Ae,Bn,bn)),gn(Bn,bn),me(Bn,bn||(Ct==null?void 0:Ct.pageSize))};return Ae===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ct),{onChange:nn}),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(He=>{Ae.push(He),He&&typeof He=="object"&&ce in He&&(Ae=[].concat((0,sn.Z)(Ae),(0,sn.Z)(di(ce,He[ce]))))}),Ae};var Qi=(ce,me)=>{const{preserveSelectedRowKeys:Ae,selectedRowKeys:He,defaultSelectedRowKeys:at,getCheckboxProps:rt,onChange:wt,onSelect:Lt,onSelectAll:Ct,onSelectInvert:Yt,onSelectNone:gn,onSelectMultiple:nn,columnWidth:Bn,type:bn,selections:Fn,fixed:Wn,renderCell:Zn,hideSelectAll:Un,checkStrictly:zn=!0}=me||{},{prefixCls:Yn,data:pa,pageData:Sa,getRecordByKey:sa,getRowKey:La,expandType:Ta,childrenColumnName:$n,locale:da,getPopupContainer:_n}=ce,[Jn,oa]=(0,Ji.Z)(He||at||si,{value:He}),wa=re.useRef(new Map),ja=(0,re.useCallback)(Ba=>{if(Ae){const xa=new Map;Ba.forEach(ba=>{let ma=sa(ba);!ma&&wa.current.has(ba)&&(ma=wa.current.get(ba)),xa.set(ba,ma)}),wa.current=xa}},[sa,Ae]);re.useEffect(()=>{ja(Jn)},[Jn]);const{keyEntities:Ra}=(0,re.useMemo)(()=>{if(zn)return{keyEntities:null};let Ba=pa;if(Ae){const xa=new Set(pa.map((ma,io)=>La(ma,io))),ba=Array.from(wa.current).reduce((ma,io)=>{let[fa,Na]=io;return xa.has(fa)?ma:ma.concat(Na)},[]);Ba=[].concat((0,sn.Z)(Ba),(0,sn.Z)(ba))}return(0,Vi.I8)(Ba,{externalGetKey:La,childrenPropName:$n})},[pa,La,zn,$n,Ae]),Ca=(0,re.useMemo)(()=>di($n,Sa),[$n,Sa]),Ka=(0,re.useMemo)(()=>{const Ba=new Map;return Ca.forEach((xa,ba)=>{const ma=La(xa,ba),io=(rt?rt(xa):null)||{};Ba.set(ma,io)}),Ba},[Ca,La,rt]),Ua=(0,re.useCallback)(Ba=>{var xa;return!!(!((xa=Ka.get(La(Ba)))===null||xa===void 0)&&xa.disabled)},[Ka,La]),[vo,ao]=(0,re.useMemo)(()=>{if(zn)return[Jn||[],[]];const{checkedKeys:Ba,halfCheckedKeys:xa}=(0,Zr.S)(Jn,!0,Ra,Ua);return[Ba||[],xa]},[Jn,zn,Ra,Ua]),Ao=(0,re.useMemo)(()=>{const Ba=bn==="radio"?vo.slice(0,1):vo;return new Set(Ba)},[vo,bn]),wo=(0,re.useMemo)(()=>bn==="radio"?new Set:new Set(ao),[ao,bn]),[ka,Lo]=(0,re.useState)(null);re.useEffect(()=>{me||oa(si)},[!!me]);const ro=(0,re.useCallback)((Ba,xa)=>{let ba,ma;ja(Ba),Ae?(ba=Ba,ma=Ba.map(io=>wa.current.get(io))):(ba=[],ma=[],Ba.forEach(io=>{const fa=sa(io);fa!==void 0&&(ba.push(io),ma.push(fa))})),oa(ba),wt==null||wt(ba,ma,{type:xa})},[oa,sa,wt,Ae]),Eo=(0,re.useCallback)((Ba,xa,ba,ma)=>{if(Lt){const io=ba.map(fa=>sa(fa));Lt(sa(Ba),xa,io,ma)}ro(ba,"single")},[Lt,sa,ro]),yo=(0,re.useMemo)(()=>!Fn||Un?null:(Fn===!0?[zr,Hr,jr]:Fn).map(xa=>xa===zr?{key:"all",text:da.selectionAll,onSelect(){ro(pa.map((ba,ma)=>La(ba,ma)).filter(ba=>{const ma=Ka.get(ba);return!(ma!=null&&ma.disabled)||Ao.has(ba)}),"all")}}:xa===Hr?{key:"invert",text:da.selectInvert,onSelect(){const ba=new Set(Ao);Sa.forEach((io,fa)=>{const Na=La(io,fa),qa=Ka.get(Na);qa!=null&&qa.disabled||(ba.has(Na)?ba.delete(Na):ba.add(Na))});const ma=Array.from(ba);Yt&&Yt(ma),ro(ma,"invert")}}:xa===jr?{key:"none",text:da.selectNone,onSelect(){gn==null||gn(),ro(Array.from(Ao).filter(ba=>{const ma=Ka.get(ba);return ma==null?void 0:ma.disabled}),"none")}}:xa).map(xa=>Object.assign(Object.assign({},xa),{onSelect:function(){for(var ba,ma,io=arguments.length,fa=new Array(io),Na=0;Na<io;Na++)fa[Na]=arguments[Na];(ma=xa.onSelect)===null||ma===void 0||(ba=ma).call.apply(ba,[xa].concat(fa)),Lo(null)}})),[Fn,Ao,Sa,La,Yt,ro]);return[(0,re.useCallback)(Ba=>{var xa;if(!me)return Ba.filter(so=>so!==Pr);let ba=(0,sn.Z)(Ba);const ma=new Set(Ao),io=Ca.map(La).filter(so=>!Ka.get(so).disabled),fa=io.every(so=>ma.has(so)),Na=io.some(so=>ma.has(so)),qa=()=>{const so=[];fa?io.forEach(bo=>{ma.delete(bo),so.push(bo)}):io.forEach(bo=>{ma.has(bo)||(ma.add(bo),so.push(bo))});const uo=Array.from(ma);Ct==null||Ct(!fa,uo.map(bo=>sa(bo)),so.map(bo=>sa(bo))),ro(uo,"all"),Lo(null)};let Ya;if(bn!=="radio"){let so;if(yo){const Va={getPopupContainer:_n,items:yo.map((Uo,Ko)=>{const{key:er,text:gr,onSelect:sr}=Uo;return{key:er!=null?er:Ko,onClick:()=>{sr==null||sr(io)},label:gr}})};so=re.createElement("div",{className:`${Yn}-selection-extra`},re.createElement(aa.Z,{menu:Va,getPopupContainer:_n},re.createElement("span",null,re.createElement(Ui.Z,null))))}const uo=Ca.map((Va,Uo)=>{const Ko=La(Va,Uo),er=Ka.get(Ko)||{};return Object.assign({checked:ma.has(Ko)},er)}).filter(Va=>{let{disabled:Uo}=Va;return Uo}),bo=!!uo.length&&uo.length===Ca.length,Io=bo&&uo.every(Va=>{let{checked:Uo}=Va;return Uo}),Ro=bo&&uo.some(Va=>{let{checked:Uo}=Va;return Uo});Ya=!Un&&re.createElement("div",{className:`${Yn}-selection`},re.createElement(Mn.default,{checked:bo?Io:!!Ca.length&&fa,indeterminate:bo?!Io&&Ro:!fa&&Na,onChange:qa,disabled:Ca.length===0||bo,"aria-label":so?"Custom selection":"Select all",skipGroup:!0}),so)}let Go;bn==="radio"?Go=(so,uo,bo)=>{const Io=La(uo,bo),Ro=ma.has(Io);return{node:re.createElement(Po.ZP,Object.assign({},Ka.get(Io),{checked:Ro,onClick:Va=>Va.stopPropagation(),onChange:Va=>{ma.has(Io)||Eo(Io,!0,[Io],Va.nativeEvent)}})),checked:Ro}}:Go=(so,uo,bo)=>{var Io;const Ro=La(uo,bo),Va=ma.has(Ro),Uo=wo.has(Ro),Ko=Ka.get(Ro);let er;return Ta==="nest"?er=Uo:er=(Io=Ko==null?void 0:Ko.indeterminate)!==null&&Io!==void 0?Io:Uo,{node:re.createElement(Mn.default,Object.assign({},Ko,{indeterminate:er,checked:Va,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([ka,Ro]);io.some((Vo,To)=>{if(Yo.has(Vo))if(hr===-1)hr=To;else return or=To,!0;return!1})}if(or!==-1&&hr!==or&&zn){const Yo=io.slice(hr,or+1),Vo=[];Va?Yo.forEach(xo=>{ma.has(xo)&&(Vo.push(xo),ma.delete(xo))}):Yo.forEach(xo=>{ma.has(xo)||(Vo.push(xo),ma.add(xo))});const To=Array.from(ma);nn==null||nn(!Va,To.map(xo=>sa(xo)),Vo.map(xo=>sa(xo))),ro(To,"multiple")}else{const Yo=vo;if(zn){const Vo=Va?(0,li._5)(Yo,Ro):(0,li.L0)(Yo,Ro);Eo(Ro,!Va,Vo,sr)}else{const Vo=(0,Zr.S)([].concat((0,sn.Z)(Yo),[Ro]),!0,Ra,Ua),{checkedKeys:To,halfCheckedKeys:xo}=Vo;let mr=To;if(Va){const xr=new Set(To);xr.delete(Ro),mr=(0,Zr.S)(Array.from(xr),{checked:!1,halfCheckedKeys:xo},Ra,Ua).checkedKeys}Eo(Ro,!Va,mr,sr)}}Lo(Va?null:Ro)}})),checked:Va}};const Zo=(so,uo,bo)=>{const{node:Io,checked:Ro}=Go(so,uo,bo);return Zn?Zn(Ro,uo,bo,Io):Io};if(!ba.includes(Pr))if(ba.findIndex(so=>{var uo;return((uo=so[Dn])===null||uo===void 0?void 0:uo.columnType)==="EXPAND_COLUMN"})===0){const[so,...uo]=ba;ba=[so,Pr].concat((0,sn.Z)(uo))}else ba=[Pr].concat((0,sn.Z)(ba));const lr=ba.indexOf(Pr);ba=ba.filter((so,uo)=>so!==Pr||uo===lr);const Do=ba[lr-1],ar=ba[lr+1];let No=Wn;No===void 0&&((ar==null?void 0:ar.fixed)!==void 0?No=ar.fixed:(Do==null?void 0:Do.fixed)!==void 0&&(No=Do.fixed)),No&&Do&&((xa=Do[Dn])===null||xa===void 0?void 0:xa.columnType)==="EXPAND_COLUMN"&&Do.fixed===void 0&&(Do.fixed=No);const Xo=De()(`${Yn}-selection-col`,{[`${Yn}-selection-col-with-dropdown`]:Fn&&bn==="checkbox"}),br={fixed:No,width:Bn,className:`${Yn}-selection-column`,title:me.columnTitle||Ya,render:Zo,onCell:me.onCell,[Dn]:{className:Xo}};return ba.map(so=>so===Pr?br:so)},[La,Ca,me,vo,Ao,wo,Bn,yo,Ta,ka,Ka,nn,Eo,Ua]),Ao]},Xi=te(89489),Yi=te(59477),$i=te(6848);const Dr="ascend",Gr="descend";function Nr(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 He=[];function at(rt,wt){He.push({column:rt,key:Aa(rt,wt),multiplePriority:Nr(rt),sortOrder:rt.sortOrder})}return(ce||[]).forEach((rt,wt)=>{const Lt=fe(wt,Ae);rt.children?("sortOrder"in rt&&at(rt,Lt),He=[].concat((0,sn.Z)(He),(0,sn.Z)(Kr(rt.children,me,Lt)))):rt.sorter&&("sortOrder"in rt?at(rt,Lt):me&&rt.defaultSortOrder&&He.push({column:rt,key:Aa(rt,Lt),multiplePriority:Nr(rt),sortOrder:rt.defaultSortOrder}))}),He}function ci(ce,me,Ae,He,at,rt,wt,Lt){return(me||[]).map((Ct,Yt)=>{const gn=fe(Yt,Lt);let nn=Ct;if(nn.sorter){const Bn=nn.sortDirections||at,bn=nn.showSorterTooltip===void 0?wt:nn.showSorterTooltip,Fn=Aa(nn,gn),Wn=Ae.find(Ta=>{let{key:$n}=Ta;return $n===Fn}),Zn=Wn?Wn.sortOrder:null,Un=_i(Bn,Zn);let zn;if(Ct.sortIcon)zn=Ct.sortIcon({sortOrder:Zn});else{const Ta=Bn.includes(Dr)&&re.createElement(Yi.Z,{className:De()(`${ce}-column-sorter-up`,{active:Zn===Dr})}),$n=Bn.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`]:!!(Ta&&$n)})},re.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Ta,$n))}const{cancelSort:Yn,triggerAsc:pa,triggerDesc:Sa}=rt||{};let sa=Yn;Un===Gr?sa=Sa:Un===Dr&&(sa=pa);const La=typeof bn=="object"?bn:{title:sa};nn=Object.assign(Object.assign({},nn),{className:De()(nn.className,{[`${ce}-column-sort`]:Zn}),title:Ta=>{const $n=re.createElement("div",{className:`${ce}-column-sorters`},re.createElement("span",{className:`${ce}-column-title`},Mt(Ct.title,Ta)),zn);return bn?re.createElement($i.Z,Object.assign({},La),$n):$n},onHeaderCell:Ta=>{const $n=Ct.onHeaderCell&&Ct.onHeaderCell(Ta)||{},da=$n.onClick,_n=$n.onKeyDown;$n.onClick=wa=>{He({column:Ct,key:Fn,sortOrder:Un,multiplePriority:Nr(Ct)}),da==null||da(wa)},$n.onKeyDown=wa=>{wa.keyCode===pr.Z.ENTER&&(He({column:Ct,key:Fn,sortOrder:Un,multiplePriority:Nr(Ct)}),_n==null||_n(wa))};const Jn=en(Ct.title,{}),oa=Jn==null?void 0:Jn.toString();return Zn?$n["aria-sort"]=Zn==="ascend"?"ascending":"descending":$n["aria-label"]=oa||"",$n.className=De()($n.className,`${ce}-column-has-sorters`),$n.tabIndex=0,Ct.ellipsis&&($n.title=(Jn!=null?Jn:"").toString()),$n}})}return"children"in nn&&(nn=Object.assign(Object.assign({},nn),{children:ci(ce,nn.children,Ae,He,at,rt,wt,gn)})),nn})}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:He}=Ae;return He}).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 He=me.slice().sort((wt,Lt)=>Lt.multiplePriority-wt.multiplePriority),at=ce.slice(),rt=He.filter(wt=>{let{column:{sorter:Lt},sortOrder:Ct}=wt;return ui(Lt)&&Ct});return rt.length?at.sort((wt,Lt)=>{for(let Ct=0;Ct<rt.length;Ct+=1){const Yt=rt[Ct],{column:{sorter:gn},sortOrder:nn}=Yt,Bn=ui(gn);if(Bn&&nn){const bn=Bn(wt,Lt,nn);if(bn!==0)return nn===Dr?bn:-bn}}return 0}).map(wt=>{const Lt=wt[Ae];return Lt?Object.assign(Object.assign({},wt),{[Ae]:Wr(Lt,me,Ae)}):wt}):at}function qi(ce){let{prefixCls:me,mergedColumns:Ae,onSorterChange:He,sortDirections:at,tableLocale:rt,showSorterTooltip:wt}=ce;const[Lt,Ct]=re.useState(Kr(Ae,!0)),Yt=re.useMemo(()=>{let Fn=!0;const Wn=Kr(Ae,!1);if(!Wn.length)return Lt;const Zn=[];function Un(Yn){Fn?Zn.push(Yn):Zn.push(Object.assign(Object.assign({},Yn),{sortOrder:null}))}let zn=null;return Wn.forEach(Yn=>{zn===null?(Un(Yn),Yn.sortOrder&&(Yn.multiplePriority===!1?Fn=!1:zn=!0)):(zn&&Yn.multiplePriority!==!1||(Fn=!1),Un(Yn))}),Zn},[Ae,Lt]),gn=re.useMemo(()=>{const Fn=Yt.map(Wn=>{let{column:Zn,sortOrder:Un}=Wn;return{column:Zn,order:Un}});return{sortColumns:Fn,sortColumn:Fn[0]&&Fn[0].column,sortOrder:Fn[0]&&Fn[0].order}},[Yt]);function nn(Fn){let Wn;Fn.multiplePriority===!1||!Yt.length||Yt[0].multiplePriority===!1?Wn=[Fn]:Wn=[].concat((0,sn.Z)(Yt.filter(Zn=>{let{key:Un}=Zn;return Un!==Fn.key})),[Fn]),Ct(Wn),He(mi(Wn),Wn)}return[Fn=>ci(me,Fn,Yt,nn,at,rt,wt),Yt,gn,()=>mi(Yt)]}function fi(ce,me){return ce.map(Ae=>{const He=Object.assign({},Ae);return He.title=Mt(Ae.title,me),"children"in He&&(He.children=fi(He.children,me)),He})}function el(ce){return[re.useCallback(Ae=>fi(Ae,ce),[ce])]}var tl=la((ce,me)=>{const{_renderTimes:Ae}=ce,{_renderTimes:He}=me;return Ae!==He}),nl=lo((ce,me)=>{const{_renderTimes:Ae}=ce,{_renderTimes:He}=me;return Ae!==He}),wr=te(64993),Or=te(17313),al=te(83116),ol=te(37613),rl=ce=>{const{componentCls:me}=ce,Ae=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,He=(at,rt,wt)=>({[`&${me}-${at}`]:{[`> ${me}-container`]:{[`> ${me}-content, > ${me}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${me}-expanded-row-fixed`]:{margin:`-${rt}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}}}}}},He("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),He("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({},Or.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:He,motionDurationSlow:at,lineWidth:rt,paddingXS:wt,lineType:Lt,tableBorderColor:Ct,tableExpandIconBg:Yt,tableExpandColumnWidth:gn,borderRadius:nn,fontSize:Bn,fontSizeSM:bn,lineHeight:Fn,tablePaddingVertical:Wn,tablePaddingHorizontal:Zn,tableExpandedRowBg:Un,paddingXXS:zn}=ce,Yn=He/2-rt,pa=Yn*2+rt*3,Sa=`${rt}px ${Lt} ${Ct}`,sa=zn-rt;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:pa,height:pa,padding:0,color:"inherit",lineHeight:`${pa}px`,background:Yt,border:Sa,borderRadius:nn,transform:`scale(${He/pa})`,transition:`all ${at}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${at} ease-out`,content:'""'},"&::before":{top:Yn,insetInlineEnd:sa,insetInlineStart:sa,height:rt},"&::after":{top:sa,bottom:sa,insetInlineStart:Yn,width:rt,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:(Bn*Fn-rt*3)/2-Math.ceil((bn*1.4-rt*3)/2),marginInlineEnd:wt},[`tr${me}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Un}},[`${Ae}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${me}-expanded-row-fixed`]:{position:"relative",margin:`-${Wn}px -${Zn}px`,padding:`${Wn}px ${Zn}px`}}}},ul=ce=>{const{componentCls:me,antCls:Ae,iconCls:He,tableFilterDropdownWidth:at,tableFilterDropdownSearchWidth:rt,paddingXXS:wt,paddingXS:Lt,colorText:Ct,lineWidth:Yt,lineType:gn,tableBorderColor:nn,tableHeaderIconColor:Bn,fontSizeSM:bn,tablePaddingHorizontal:Fn,borderRadius:Wn,motionDurationSlow:Zn,colorTextDescription:Un,colorPrimary:zn,tableHeaderFilterActiveBg:Yn,colorTextDisabled:pa,tableFilterDropdownBg:Sa,tableFilterDropdownHeight:sa,controlItemBgHover:La,controlItemBgActive:Ta,boxShadowSecondary:$n,filterDropdownMenuBg:da}=ce,_n=`${Ae}-dropdown`,Jn=`${me}-filter-dropdown`,oa=`${Ae}-tree`,wa=`${Yt}px ${gn} ${nn}`;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 ${-Fn/2}px`,padding:`0 ${wt}px`,color:Bn,fontSize:bn,borderRadius:Wn,cursor:"pointer",transition:`all ${Zn}`,"&:hover":{color:Un,background:Yn},"&.active":{color:zn}}}},{[`${Ae}-dropdown`]:{[Jn]:Object.assign(Object.assign({},(0,Or.Wf)(ce)),{minWidth:at,backgroundColor:Sa,borderRadius:Wn,boxShadow:$n,overflow:"hidden",[`${_n}-menu`]:{maxHeight:sa,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:da,"&:empty::after":{display:"block",padding:`${Lt}px 0`,color:pa,fontSize:bn,textAlign:"center",content:'"Not Found"'}},[`${Jn}-tree`]:{paddingBlock:`${Lt}px 0`,paddingInline:Lt,[oa]:{padding:0},[`${oa}-treenode ${oa}-node-content-wrapper:hover`]:{backgroundColor:La},[`${oa}-treenode-checkbox-checked ${oa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ta}}},[`${Jn}-search`]:{padding:Lt,borderBottom:wa,"&-input":{input:{minWidth:rt},[He]:{color:pa}}},[`${Jn}-checkall`]:{width:"100%",marginBottom:wt,marginInlineStart:wt},[`${Jn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Lt-Yt}px ${Lt}px`,overflow:"hidden",borderTop:wa}})}},{[`${Ae}-dropdown ${Jn}, ${Jn}-submenu`]:{[`${Ae}-checkbox-wrapper + span`]:{paddingInlineStart:Lt,color:Ct},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},cl=ce=>{const{componentCls:me,lineWidth:Ae,colorSplit:He,motionDurationSlow:at,zIndexTableFixed:rt,tableBg:wt,zIndexTableSticky:Lt}=ce,Ct=He;return{[`${me}-wrapper`]:{[`
|
|
${me}-cell-fix-left,
|
|
${me}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:rt,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 ${at}`,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 ${at}`,content:'""',pointerEvents:"none"},[`${me}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Lt+1,width:30,transition:`box-shadow ${at}`,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 ${Ct}`}},[`
|
|
${me}-cell-fix-left-first::after,
|
|
${me}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Ct}`},[`${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 ${Ct}`}},[`
|
|
${me}-cell-fix-right-first::after,
|
|
${me}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Ct}`}}}}},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:He,fontSizeIcon:at,padding:rt,paddingXS:wt,tableHeaderIconColor:Lt,tableHeaderIconColorHover:Ct,tableSelectionColumnWidth:Yt}=ce;return{[`${me}-wrapper`]:{[`${me}-selection-col`]:{width:Yt,[`&${me}-selection-col-with-dropdown`]:{width:Yt+at+rt/4}},[`${me}-bordered ${me}-selection-col`]:{width:Yt+wt*2,[`&${me}-selection-col-with-dropdown`]:{width:Yt+at+rt/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`,[He]:{color:Lt,fontSize:at,verticalAlign:"baseline","&:hover":{color:Ct}}}}}},vl=ce=>{const{componentCls:me}=ce,Ae=(He,at,rt,wt)=>({[`${me}${me}-${He}`]:{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:`${at}px ${rt}px`},[`${me}-filter-trigger`]:{marginInlineEnd:`-${rt/2}px`},[`${me}-expanded-row-fixed`]:{margin:`-${at}px -${rt}px`},[`${me}-tbody`]:{[`${me}-wrapper:only-child ${me}`]:{marginBlock:`-${at}px`,marginInline:`${ce.tableExpandColumnWidth-rt}px -${rt}px`}},[`${me}-selection-column`]:{paddingInlineStart:`${rt/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:He,tableHeaderIconColor:at,tableHeaderIconColorHover:rt}=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:at,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:He,"&.active":{color:ce.colorPrimary}},[`${me}-column-sorter-up + ${me}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${me}-column-sorters:hover ${me}-column-sorter`]:{color:rt}}}},Sl=ce=>{const{componentCls:me,opacityLoading:Ae,tableScrollThumbBg:He,tableScrollThumbBgHover:at,tableScrollThumbSize:rt,tableScrollBg:wt,zIndexTableSticky:Lt,stickyScrollBarBorderRadius:Ct}=ce,Yt=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${me}-wrapper`]:{[`${me}-sticky`]:{"&-holder":{position:"sticky",zIndex:Lt,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${rt}px !important`,zIndex:Lt,display:"flex",alignItems:"center",background:wt,borderTop:Yt,opacity:Ae,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:rt,backgroundColor:He,borderRadius:Ct,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:at}}}}}}},pi=ce=>{const{componentCls:me,lineWidth:Ae,tableBorderColor:He}=ce,at=`${Ae}px ${ce.lineType} ${He}`;return{[`${me}-wrapper`]:{[`${me}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:at}}},[`div${me}-summary`]:{boxShadow:`0 -${Ae}px 0 ${He}`}}}},Pl=ce=>{const{componentCls:me}=ce,Ae=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,He=`${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`]:{[`${He}${He}-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:He,tablePaddingHorizontal:at,lineWidth:rt,lineType:wt,tableBorderColor:Lt,tableFontSize:Ct,tableBg:Yt,tableRadius:gn,tableHeaderTextColor:nn,motionDurationMid:Bn,tableHeaderBg:bn,tableHeaderCellSplitColor:Fn,tableRowHoverBg:Wn,tableSelectedRowBg:Zn,tableSelectedRowHoverBg:Un,tableFooterTextColor:zn,tableFooterBg:Yn,paddingContentVerticalLG:pa}=ce,Sa=`${rt}px ${wt} ${Lt}`;return{[`${me}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Or.dF)()),{[me]:Object.assign(Object.assign({},(0,Or.Wf)(ce)),{fontSize:Ct,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:`${pa}px ${at}px`,overflowWrap:"break-word"},[`${me}-title`]:{padding:`${He}px ${at}px`},[`${me}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:nn,fontWeight:Ae,textAlign:"start",background:bn,borderBottom:Sa,transition:`background ${Bn} 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:Fn,transform:"translateY(-50%)",transition:`background-color ${Bn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${me}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Bn}, border-color ${Bn}`,borderBottom:Sa,[`
|
|
> ${me}-wrapper:only-child,
|
|
> ${me}-expanded-row-fixed > ${me}-wrapper:only-child
|
|
`]:{[me]:{marginBlock:`-${He}px`,marginInline:`${ce.tableExpandColumnWidth-at}px -${at}px`,[`${me}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:nn,fontWeight:Ae,textAlign:"start",background:bn,borderBottom:Sa,transition:`background ${Bn} ease`},[`
|
|
&${me}-row:hover > th,
|
|
&${me}-row:hover > td,
|
|
> th${me}-cell-row-hover,
|
|
> td${me}-cell-row-hover
|
|
`]:{background:Wn},[`&${me}-row-selected`]:{"> th, > td":{background:Zn},"&:hover > th, &:hover > td":{background:Un}}}},[`${me}-footer`]:{padding:`${He}px ${at}px`,color:zn,background:Yn}})}};var El=(0,al.Z)("Table",ce=>{const{colorTextHeading:me,colorSplit:Ae,colorIcon:He,colorIconHover:at,opacityLoading:rt,colorBgContainer:wt,controlInteractiveSize:Lt,headerBg:Ct,headerColor:Yt,headerSortActiveBg:gn,headerSortHoverBg:nn,bodySortBg:Bn,rowHoverBg:bn,rowSelectedBg:Fn,rowSelectedHoverBg:Wn,rowExpandedBg:Zn,cellPaddingBlock:Un,cellPaddingInline:zn,cellPaddingBlockMD:Yn,cellPaddingInlineMD:pa,cellPaddingBlockSM:Sa,cellPaddingInlineSM:sa,borderColor:La,footerBg:Ta,footerColor:$n,headerBorderRadius:da,cellFontSize:_n,cellFontSizeMD:Jn,cellFontSizeSM:oa,headerSplitColor:wa,fixedHeaderSortActiveBg:ja,headerFilterHoverBg:Ra,filterDropdownBg:Ca,expandIconBg:Ka,selectionColumnWidth:Ua,stickyScrollBarBg:vo}=ce,ao=new wr.C(He),Ao=new wr.C(at),wo=2,ka=(0,ol.TS)(ce,{tableFontSize:_n,tableBg:wt,tableRadius:da,tablePaddingVertical:Un,tablePaddingHorizontal:zn,tablePaddingVerticalMiddle:Yn,tablePaddingHorizontalMiddle:pa,tablePaddingVerticalSmall:Sa,tablePaddingHorizontalSmall:sa,tableBorderColor:La,tableHeaderTextColor:Yt,tableHeaderBg:Ct,tableFooterTextColor:$n,tableFooterBg:Ta,tableHeaderCellSplitColor:wa,tableHeaderSortBg:gn,tableHeaderSortHoverBg:nn,tableHeaderIconColor:ao.clone().setAlpha(ao.getAlpha()*rt).toRgbString(),tableHeaderIconColorHover:Ao.clone().setAlpha(Ao.getAlpha()*rt).toRgbString(),tableBodySortBg:Bn,tableFixedHeaderSortActiveBg:ja,tableHeaderFilterActiveBg:Ra,tableFilterDropdownBg:Ca,tableRowHoverBg:bn,tableSelectedRowBg:Fn,tableSelectedRowHoverBg:Wn,zIndexTableFixed:wo,zIndexTableSticky:wo+1,tableFontSizeMiddle:Jn,tableFontSizeSmall:oa,tableSelectionColumnWidth:Ua,tableExpandIconBg:Ka,tableExpandColumnWidth:Lt+2*ce.padding,tableExpandedRowBg:Zn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:vo,tableScrollThumbBgHover:me,tableScrollBg:Ae});return[yl(ka),gl(ka),pi(ka),hl(ka),ul(ka),rl(ka),ml(ka),dl(ka),pi(ka),ll(ka),pl(ka),cl(ka),Sl(ka),il(ka),vl(ka),fl(ka),Pl(ka)]},ce=>{const{colorFillAlter:me,colorBgContainer:Ae,colorTextHeading:He,colorFillSecondary:at,colorFillContent:rt,controlItemBgActive:wt,controlItemBgActiveHover:Lt,padding:Ct,paddingSM:Yt,paddingXS:gn,colorBorderSecondary:nn,borderRadiusLG:Bn,fontSize:bn,controlHeight:Fn,colorTextPlaceholder:Wn}=ce,Zn=new wr.C(at).onBackground(Ae).toHexShortString(),Un=new wr.C(rt).onBackground(Ae).toHexShortString(),zn=new wr.C(me).onBackground(Ae).toHexShortString();return{headerBg:zn,headerColor:He,headerSortActiveBg:Zn,headerSortHoverBg:Un,bodySortBg:zn,rowHoverBg:zn,rowSelectedBg:wt,rowSelectedHoverBg:Lt,rowExpandedBg:me,cellPaddingBlock:Ct,cellPaddingInline:Ct,cellPaddingBlockMD:Yt,cellPaddingInlineMD:gn,cellPaddingBlockSM:gn,cellPaddingInlineSM:gn,borderColor:nn,headerBorderRadius:Bn,footerBg:zn,footerColor:He,cellFontSize:bn,cellFontSizeMD:bn,cellFontSizeSM:bn,headerSplitColor:nn,fixedHeaderSortActiveBg:Zn,headerFilterHoverBg:rt,filterDropdownMenuBg:Ae,filterDropdownBg:Ae,expandIconBg:Ae,selectionColumnWidth:Fn,stickyScrollBarBg:Wn,stickyScrollBarBorderRadius:100}});const Cl=[],bl=(ce,me)=>{const{prefixCls:Ae,className:He,rootClassName:at,style:rt,size:wt,bordered:Lt,dropdownPrefixCls:Ct,dataSource:Yt,pagination:gn,rowSelection:nn,rowKey:Bn="key",rowClassName:bn,columns:Fn,children:Wn,childrenColumnName:Zn,onChange:Un,getPopupContainer:zn,loading:Yn,expandIcon:pa,expandable:Sa,expandedRowRender:sa,expandIconColumnIndex:La,indentSize:Ta,scroll:$n,sortDirections:da,locale:_n,showSorterTooltip:Jn=!0,virtual:oa}=ce,wa=re.useMemo(()=>Fn||Ie(Wn),[Fn,Wn]),ja=re.useMemo(()=>wa.some(eo=>eo.responsive),[wa]),Ra=(0,tr.Z)(ja),Ca=re.useMemo(()=>{const eo=new Set(Object.keys(Ra).filter(ho=>Ra[ho]));return wa.filter(ho=>!ho.responsive||ho.responsive.some(Ho=>eo.has(Ho)))},[wa,Ra]),Ka=(0,Jo.Z)(ce,["className","style","columns"]),{locale:Ua=jo.Z,direction:vo,table:ao,renderEmpty:Ao,getPrefixCls:wo,getPopupContainer:ka}=re.useContext(mo.E_),Lo=(0,Bo.Z)(wt),ro=Object.assign(Object.assign({},Ua.Table),_n),Eo=Yt||Cl,yo=wo("table",Ae),Qo=wo("dropdown",Ct),Ba=Object.assign({childrenColumnName:Zn,expandIconColumnIndex:La},Sa),{childrenColumnName:xa="children"}=Ba,ba=re.useMemo(()=>Eo.some(eo=>eo==null?void 0:eo[xa])?"nest":sa||Sa&&Sa.expandedRowRender?"row":null,[Eo]),ma={body:re.useRef()},io=re.useMemo(()=>typeof Bn=="function"?Bn:eo=>eo==null?void 0:eo[Bn],[Bn]),[fa]=zi(Eo,xa,io),Na={},qa=function(eo,ho){let Ho=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Fo,Wo,$o;const _o=Object.assign(Object.assign({},Na),eo);Ho&&((Fo=Na.resetPagination)===null||Fo===void 0||Fo.call(Na),!((Wo=_o.pagination)===null||Wo===void 0)&&Wo.current&&(_o.pagination.current=1),gn&&gn.onChange&&gn.onChange(1,($o=_o.pagination)===null||$o===void 0?void 0:$o.pageSize)),$n&&$n.scrollToFirstRowOnChange!==!1&&ma.body.current&&(0,zo.Z)(0,{getContainer:()=>ma.body.current}),Un==null||Un(_o.pagination,_o.filters,_o.sorter,{currentDataSource:oi(Wr(Eo,_o.sorterStates,xa),_o.filterStates),action:ho})},Ya=(eo,ho)=>{qa({sorter:eo,sorterStates:ho},"sort",!1)},[Go,Zo,lr,Do]=qi({prefixCls:yo,mergedColumns:Ca,onSorterChange:Ya,sortDirections:da||["ascend","descend"],tableLocale:ro,showSorterTooltip:Jn}),ar=re.useMemo(()=>Wr(Eo,Zo,xa),[Eo,Zo]);Na.sorter=Do(),Na.sorterStates=Zo;const No=(eo,ho)=>{qa({filters:eo,filterStates:ho},"filter",!0)},[Xo,br,so]=Zi({prefixCls:yo,locale:ro,dropdownPrefixCls:Qo,mergedColumns:Ca,onFilterChange:No,getPopupContainer:zn||ka}),uo=oi(ar,br);Na.filters=so,Na.filterStates=br;const bo=re.useMemo(()=>{const eo={};return Object.keys(so).forEach(ho=>{so[ho]!==null&&(eo[ho]=so[ho])}),Object.assign(Object.assign({},lr),{filters:eo})},[lr,so]),[Io]=el(bo),Ro=(eo,ho)=>{qa({pagination:Object.assign(Object.assign({},Na.pagination),{current:eo,pageSize:ho})},"paginate")},[Va,Uo]=Wi(uo.length,Ro,gn);Na.pagination=gn===!1?{}:Gi(Va,gn),Na.resetPagination=Uo;const Ko=re.useMemo(()=>{if(gn===!1||!Va.pageSize)return uo;const{current:eo=1,total:ho,pageSize:Ho=ii}=Va;return uo.length<ho?uo.length>Ho?uo.slice((eo-1)*Ho,eo*Ho):uo:uo.slice((eo-1)*Ho,eo*Ho)},[!!gn,uo,Va&&Va.current,Va&&Va.pageSize,Va&&Va.total]),[er,gr]=Qi({prefixCls:yo,data:uo,pageData:Ko,getRowKey:io,getRecordByKey:fa,expandType:ba,childrenColumnName:xa,locale:ro,getPopupContainer:zn||ka},nn),sr=(eo,ho,Ho)=>{let Fo;return typeof bn=="function"?Fo=De()(bn(eo,ho,Ho)):Fo=De()(bn),De()({[`${yo}-row-selected`]:gr.has(io(eo,ho))},Fo)};Ba.__PARENT_RENDER_ICON__=Ba.expandIcon,Ba.expandIcon=Ba.expandIcon||pa||Kn(ro),ba==="nest"&&Ba.expandIconColumnIndex===void 0?Ba.expandIconColumnIndex=nn?1:0:Ba.expandIconColumnIndex>0&&nn&&(Ba.expandIconColumnIndex-=1),typeof Ba.indentSize!="number"&&(Ba.indentSize=typeof Ta=="number"?Ta:15);const Lr=re.useCallback(eo=>Io(er(Xo(Go(eo)))),[Go,Xo,er]);let hr,or;if(gn!==!1&&(Va!=null&&Va.total)){let eo;Va.size?eo=Va.size:eo=Lo==="small"||Lo==="middle"?"small":void 0;const ho=Wo=>re.createElement(qo.Z,Object.assign({},Va,{className:De()(`${yo}-pagination ${yo}-pagination-${Wo}`,Va.className),size:eo})),Ho=vo==="rtl"?"left":"right",{position:Fo}=Va;if(Fo!==null&&Array.isArray(Fo)){const Wo=Fo.find(Sr=>Sr.includes("top")),$o=Fo.find(Sr=>Sr.includes("bottom")),_o=Fo.every(Sr=>`${Sr}`=="none");!Wo&&!$o&&!_o&&(or=ho(Ho)),Wo&&(hr=ho(Wo.toLowerCase().replace("top",""))),$o&&(or=ho($o.toLowerCase().replace("bottom","")))}else or=ho(Ho)}let Yo;typeof Yn=="boolean"?Yo={spinning:Yn}:typeof Yn=="object"&&(Yo=Object.assign({spinning:!0},Yn));const[Vo,To]=El(yo),[,xo]=(0,kn.Z)(),mr=De()(`${yo}-wrapper`,ao==null?void 0:ao.className,{[`${yo}-wrapper-rtl`]:vo==="rtl"},He,at,To),xr=Object.assign(Object.assign({},ao==null?void 0:ao.style),rt),yr=_n&&_n.emptyText||(Ao==null?void 0:Ao("Table"))||re.createElement(po.Z,{componentName:"Table"}),fr=oa?nl:tl,Ir={},Ur=re.useMemo(()=>{const{fontSize:eo,lineHeight:ho,padding:Ho,paddingXS:Fo,paddingSM:Wo}=xo,$o=Math.floor(eo*ho);switch(Lo){case"large":return Ho*2+$o;case"small":return Fo*2+$o;default:return Wo*2+$o}},[xo,Lo]);return oa&&(Ir.listItemHeight=Ur),Vo(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,Ka,{columns:Ca,direction:vo,expandable:Ba,prefixCls:yo,className:De()({[`${yo}-middle`]:Lo==="middle",[`${yo}-small`]:Lo==="small",[`${yo}-bordered`]:Lt,[`${yo}-empty`]:Eo.length===0}),data:Ko,rowKey:io,rowClassName:sr,emptyText:yr,internalHooks:le,internalRefs:ma,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=oo,vr.ColumnGroup=Oo,vr.Summary=Se;var Bl=vr,Al=Bl},12563:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return we}});var ee=te(59301),le=te(99267),Be=te(92310),Ge=te.n(Be),Ce=te(36785),Fe=te(47729),re=te(14088),$e=te(36355),Ue=te(17313),ze=te(37613),_e=te(83116);const vt=ue=>{const{paddingXXS:nt,lineWidth:De,tagPaddingHorizontal:Qe,componentCls:ye}=ue,ke=Qe-De,qe=nt-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:nt,fontSizeIcon:De}=ue,Qe=ue.fontSizeSM,ye=`${ue.lineHeightSM*Qe}px`;return(0,ze.TS)(ue,{tagFontSize:Qe,tagLineHeight:ye,tagIconSize:De-2*nt,tagPaddingHorizontal:8,tagBorderlessBg:ue.colorFillTertiary})},oe=ue=>({defaultBg:ue.colorFillQuaternary,defaultColor:ue.colorText});var y=(0,_e.Z)("Tag",ue=>{const nt=Te(ue);return vt(nt)},oe),a=function(ue,nt){var De={};for(var Qe in ue)Object.prototype.hasOwnProperty.call(ue,Qe)&&nt.indexOf(Qe)<0&&(De[Qe]=ue[Qe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Qe=Object.getOwnPropertySymbols(ue);ye<Qe.length;ye++)nt.indexOf(Qe[ye])<0&&Object.prototype.propertyIsEnumerable.call(ue,Qe[ye])&&(De[Qe[ye]]=ue[Qe[ye]]);return De},E=ue=>{const{prefixCls:nt,style:De,className:Qe,checked:ye,onChange:ke,onClick:qe}=ue,Xe=a(ue,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ve,tag:kt}=ee.useContext($e.E_),st=Et=>{ke==null||ke(!ye),qe==null||qe(Et)},Nt=Ve("tag",nt),[Zt,Me]=y(Nt),Ze=Ge()(Nt,`${Nt}-checkable`,{[`${Nt}-checkable-checked`]:ye},kt==null?void 0:kt.className,Qe,Me);return Zt(ee.createElement("span",Object.assign({},Xe,{style:Object.assign(Object.assign({},De),kt==null?void 0:kt.style),className:Ze,onClick:st})))},x=te(45157);const z=ue=>(0,x.Z)(ue,(nt,De)=>{let{textColor:Qe,lightBorderColor:ye,lightColor:ke,darkColor:qe}=De;return{[`${ue.componentCls}-${nt}`]:{color:Qe,background:ke,borderColor:ye,"&-inverse":{color:ue.colorTextLightSolid,background:qe,borderColor:qe},[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ne=(0,_e.b)(["Tag","preset"],ue=>{const nt=Te(ue);return z(nt)},oe);function ae(ue){return typeof ue!="string"?ue:ue.charAt(0).toUpperCase()+ue.slice(1)}const ie=(ue,nt,De)=>{const Qe=ae(De);return{[`${ue.componentCls}-${nt}`]:{color:ue[`color${De}`],background:ue[`color${Qe}Bg`],borderColor:ue[`color${Qe}Border`],[`&${ue.componentCls}-borderless`]:{borderColor:"transparent"}}}};var de=(0,_e.b)(["Tag","status"],ue=>{const nt=Te(ue);return[ie(nt,"success","Success"),ie(nt,"processing","Info"),ie(nt,"error","Error"),ie(nt,"warning","Warning")]},oe),ge=function(ue,nt){var De={};for(var Qe in ue)Object.prototype.hasOwnProperty.call(ue,Qe)&&nt.indexOf(Qe)<0&&(De[Qe]=ue[Qe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Qe=Object.getOwnPropertySymbols(ue);ye<Qe.length;ye++)nt.indexOf(Qe[ye])<0&&Object.prototype.propertyIsEnumerable.call(ue,Qe[ye])&&(De[Qe[ye]]=ue[Qe[ye]]);return De};const xe=(ue,nt)=>{const{prefixCls:De,className:Qe,rootClassName:ye,style:ke,children:qe,icon:Xe,color:Ve,onClose:kt,closeIcon:st,closable:Nt,bordered:Zt=!0}=ue,Me=ge(ue,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:Ze,direction:Et,tag:Gt}=ee.useContext($e.E_),[pt,Kt]=ee.useState(!0);ee.useEffect(()=>{"visible"in Me&&Kt(Me.visible)},[Me.visible]);const Le=(0,Ce.o2)(Ve),Qt=(0,Ce.yT)(Ve),Pn=Le||Qt,St=Object.assign(Object.assign({backgroundColor:Ve&&!Pn?Ve:void 0},Gt==null?void 0:Gt.style),ke),dt=Ze("tag",De),[Je,Re]=y(dt),ve=Ge()(dt,Gt==null?void 0:Gt.className,{[`${dt}-${Ve}`]:Pn,[`${dt}-has-color`]:Ve&&!Pn,[`${dt}-hidden`]:!pt,[`${dt}-rtl`]:Et==="rtl",[`${dt}-borderless`]:!Zt},Qe,ye,Re),se=Ne=>{Ne.stopPropagation(),kt==null||kt(Ne),!Ne.defaultPrevented&&Kt(!1)},[,Oe]=(0,Fe.Z)(Nt,st,Ne=>Ne===null?ee.createElement(le.Z,{className:`${dt}-close-icon`,onClick:se}):ee.createElement("span",{className:`${dt}-close-icon`,onClick:se},Ne),null,!1),gt=typeof Me.onClick=="function"||qe&&qe.type==="a",Se=Xe||null,he=Se?ee.createElement(ee.Fragment,null,Se,qe&&ee.createElement("span",null,qe)):qe,Ye=ee.createElement("span",Object.assign({},Me,{ref:nt,className:ve,style:St}),he,Oe,Le&&ee.createElement(ne,{key:"preset",prefixCls:dt}),Qt&&ee.createElement(de,{key:"status",prefixCls:dt}));return Je(gt?ee.createElement(re.Z,{component:"Tag"},Ye):Ye)},pe=ee.forwardRef(xe);pe.CheckableTag=E;var we=pe},98228:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return Rn}});var ee=te(92310),le=te.n(ee),Be=te(14809),Ge=te(95190),Ce=te(20439),Fe=te(50298),re=te(62646),$e=te(93664),Ue=te(77861),ze=te(17115),_e=te(90782),vt=te(18929),Te=te(48736),oe=te(59301),y=function(ot){var Pt=oe.useRef({valueLabels:new Map});return oe.useMemo(function(){var an=Pt.current.valueLabels,vn=new Map,Pe=ot.map(function(We){var it,ct=We.value,Ft=(it=We.label)!==null&&it!==void 0?it:an.get(ct);return vn.set(ct,Ft),(0,Ce.Z)((0,Ce.Z)({},We),{},{label:Ft})});return Pt.current.valueLabels=vn,[Pe]},[ot])},a=function(ot,Pt,an,vn){return oe.useMemo(function(){var Pe=ot.map(function(Ft){var Xt=Ft.value;return Xt}),We=Pt.map(function(Ft){var Xt=Ft.value;return Xt}),it=Pe.filter(function(Ft){return!vn[Ft]});if(an){var ct=(0,_e.S)(Pe,!0,vn);Pe=ct.checkedKeys,We=ct.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ge.Z)(it),(0,Ge.Z)(Pe)))),We]},[ot,Pt,an,vn])},b=te(71430),E=function(ot,Pt){return oe.useMemo(function(){var an=(0,b.I8)(ot,{fieldNames:Pt,initWrapper:function(Pe){return(0,Ce.Z)((0,Ce.Z)({},Pe),{},{valueEntities:new Map})},processEntity:function(Pe,We){var it=Pe.node[Pt.value];if(0)var ct;We.valueEntities.set(it,Pe)}});return an},[ot,Pt])},x=te(4635),z=te(11592),ne=function(){return null},ae=ne,ie=["children","value"];function de(ot){return(0,z.Z)(ot).map(function(Pt){if(!oe.isValidElement(Pt)||!Pt.type)return null;var an=Pt,vn=an.key,Pe=an.props,We=Pe.children,it=Pe.value,ct=(0,re.Z)(Pe,ie),Ft=(0,Ce.Z)({key:vn,value:it},ct),Xt=de(We);return Xt.length&&(Ft.children=Xt),Ft}).filter(function(Pt){return Pt})}function ge(ot){if(!ot)return ot;var Pt=(0,Ce.Z)({},ot);return"props"in Pt||Object.defineProperty(Pt,"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."),Pt}}),Pt}function xe(ot,Pt,an,vn,Pe,We){var it=null,ct=null;function Ft(){function Xt(bt){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return bt.map(function(Ie,ut){var Ht="".concat(je,"-").concat(ut),Dt=Ie[We.value],pn=an.includes(Dt),mn=Xt(Ie[We.children]||[],Ht,pn),tn=oe.createElement(ae,Ie,mn.map(function(Qn){return Qn.node}));if(Pt===Dt&&(it=tn),pn){var Cn={pos:Ht,node:tn,children:mn};return Ke||ct.push(Cn),Cn}return null}).filter(function(Ie){return Ie})}ct||(ct=[],Xt(vn),ct.sort(function(bt,je){var Ke=bt.node.props.value,Ie=je.node.props.value,ut=an.indexOf(Ke),Ht=an.indexOf(Ie);return ut-Ht}))}Object.defineProperty(ot,"triggerNode",{get:function(){return(0,Te.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Ft(),it}}),Object.defineProperty(ot,"allCheckedNodes",{get:function(){return(0,Te.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Ft(),Pe?ct:ct.map(function(bt){var je=bt.node;return je})}})}var pe=function(ot,Pt,an){var vn=an.treeNodeFilterProp,Pe=an.filterTreeNode,We=an.fieldNames,it=We.children;return oe.useMemo(function(){if(!Pt||Pe===!1)return ot;var ct;if(typeof Pe=="function")ct=Pe;else{var Ft=Pt.toUpperCase();ct=function(je,Ke){var Ie=Ke[vn];return String(Ie).toUpperCase().includes(Ft)}}function Xt(bt){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return bt.reduce(function(Ke,Ie){var ut=Ie[it],Ht=je||ct(Pt,ge(Ie)),Dt=Xt(ut||[],Ht);return(Ht||Dt.length)&&Ke.push((0,Ce.Z)((0,Ce.Z)({},Ie),{},(0,x.Z)({isLeaf:void 0},it,Dt))),Ke},[])}return Xt(ot)},[ot,Pt,it,vn,Pe])};function we(ot){var Pt=oe.useRef();Pt.current=ot;var an=oe.useCallback(function(){return Pt.current.apply(Pt,arguments)},[]);return an}function ue(ot,Pt){var an=Pt.id,vn=Pt.pId,Pe=Pt.rootPId,We={},it=[],ct=ot.map(function(Ft){var Xt=(0,Ce.Z)({},Ft),bt=Xt[an];return We[bt]=Xt,Xt.key=Xt.key||bt,Xt});return ct.forEach(function(Ft){var Xt=Ft[vn],bt=We[Xt];bt&&(bt.children=bt.children||[],bt.children.push(Ft)),(Xt===Pe||!bt&&Pe===null)&&it.push(Ft)}),it}function nt(ot,Pt,an){return oe.useMemo(function(){return ot?an?ue(ot,(0,Ce.Z)({id:"id",pId:"pId",rootPId:null},an!==!0?an:{})):ot:de(Pt)},[Pt,an,ot])}var De=oe.createContext(null),Qe=De,ye=te(10228),ke=te(80547),qe=te(79556),Xe=oe.createContext(null),Ve=Xe;function kt(ot){return Array.isArray(ot)?ot:ot!==void 0?[ot]:[]}function st(ot){var Pt=ot||{},an=Pt.label,vn=Pt.value,Pe=Pt.children,We=vn||"value";return{_title:an?[an]:["title","label"],value:We,key:We,children:Pe||"children"}}function Nt(ot){return!ot||ot.disabled||ot.disableCheckbox||ot.checkable===!1}function Zt(ot,Pt){var an=[];function vn(Pe){Pe.forEach(function(We){var it=We[Pt.children];it&&(an.push(We[Pt.value]),vn(it))})}return vn(ot),an}function Me(ot){return ot==null}var Ze={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Et=function(Pt,an){var vn=(0,Ue.lk)(),Pe=vn.prefixCls,We=vn.multiple,it=vn.searchValue,ct=vn.toggleOpen,Ft=vn.open,Xt=vn.notFoundContent,bt=oe.useContext(Ve),je=bt.virtual,Ke=bt.listHeight,Ie=bt.listItemHeight,ut=bt.treeData,Ht=bt.fieldNames,Dt=bt.onSelect,pn=bt.dropdownMatchSelectWidth,mn=bt.treeExpandAction,tn=oe.useContext(Qe),Cn=tn.checkable,Qn=tn.checkedKeys,ln=tn.halfCheckedKeys,Hn=tn.treeExpandedKeys,qn=tn.treeDefaultExpandAll,ua=tn.treeDefaultExpandedKeys,ta=tn.onTreeExpand,et=tn.treeIcon,jt=tn.showTreeIcon,yt=tn.switcherIcon,qt=tn.treeLine,dn=tn.treeNodeFilterProp,hn=tn.loadData,un=tn.treeLoadedKeys,cn=tn.treeMotion,Gn=tn.onTreeLoad,Xn=tn.keyEntities,Ut=oe.useRef(),ra=(0,ke.Z)(function(){return ut},[Ft,ut],function(Ea,Ja){return Ja[0]&&Ea[1]!==Ja[1]}),ha=oe.useState(null),Fa=(0,Fe.Z)(ha,2),va=Fa[0],xn=Fa[1],Tn=Xn[va],jn=oe.useMemo(function(){return Cn?{checked:Qn,halfChecked:ln}:null},[Cn,Qn,ln]);oe.useEffect(function(){if(Ft&&!We&&Qn.length){var Ea;(Ea=Ut.current)===null||Ea===void 0||Ea.scrollTo({key:Qn[0]}),xn(Qn[0])}},[Ft]);var wn=String(it).toLowerCase(),la=function(Ja){return wn?String(Ja[dn]).toLowerCase().includes(wn):!1},Pa=oe.useState(ua),ca=(0,Fe.Z)(Pa,2),ea=ca[0],ya=ca[1],to=oe.useState(null),$a=(0,Fe.Z)(to,2),fo=$a[0],Ma=$a[1],Oa=oe.useMemo(function(){return Hn?(0,Ge.Z)(Hn):it?fo:ea},[ea,fo,Hn,it]);oe.useEffect(function(){it&&Ma(Zt(ut,Ht))},[it]);var Ga=function(Ja){ya(Ja),Ma(Ja),ta&&ta(Ja)},za=function(Ja){Ja.preventDefault()},Ha=function(Ja,Qa){var Za=Qa.node;Cn&&Nt(Za)||(Dt(Za.key,{selected:!Qn.includes(Za.key)}),We||ct(!1))};if(oe.useImperativeHandle(an,function(){var Ea;return{scrollTo:(Ea=Ut.current)===null||Ea===void 0?void 0:Ea.scrollTo,onKeyDown:function(Qa){var Za,no=Qa.which;switch(no){case ye.Z.UP:case ye.Z.DOWN:case ye.Z.LEFT:case ye.Z.RIGHT:(Za=Ut.current)===null||Za===void 0||Za.onKeyDown(Qa);break;case ye.Z.ENTER:{if(Tn){var lo=(Tn==null?void 0:Tn.node)||{},ga=lo.selectable,Wa=lo.value;ga!==!1&&Ha(null,{node:{key:va},selected:!Qn.includes(Wa)})}break}case ye.Z.ESC:ct(!1)}},onKeyUp:function(){}}}),ra.length===0)return oe.createElement("div",{role:"listbox",className:"".concat(Pe,"-empty"),onMouseDown:za},Xt);var na={fieldNames:Ht};return un&&(na.loadedKeys=un),Oa&&(na.expandedKeys=Oa),oe.createElement("div",{onMouseDown:za},Tn&&Ft&&oe.createElement("span",{style:Ze,"aria-live":"assertive"},Tn.node.value),oe.createElement(qe.Z,(0,Be.Z)({ref:Ut,focusable:!1,prefixCls:"".concat(Pe,"-tree"),treeData:ra,height:Ke,itemHeight:Ie,virtual:je!==!1&&pn!==!1,multiple:We,icon:et,showIcon:jt,switcherIcon:yt,showLine:qt,loadData:it?null:hn,motion:cn,activeKey:va,checkable:Cn,checkStrictly:!0,checkedKeys:jn,selectedKeys:Cn?[]:Qn,defaultExpandAll:qn},na,{onActiveChange:xn,onSelect:Ha,onCheck:Ha,onExpand:Ga,onLoad:Gn,filterTreeNode:la,expandAction:mn})))},Gt=oe.forwardRef(Et);Gt.displayName="OptionList";var pt=Gt,Kt="SHOW_ALL",Le="SHOW_PARENT",Qt="SHOW_CHILD";function Pn(ot,Pt,an,vn){var Pe=new Set(ot);return Pt===Qt?ot.filter(function(We){var it=an[We];return!(it&&it.children&&it.children.some(function(ct){var Ft=ct.node;return Pe.has(Ft[vn.value])})&&it.children.every(function(ct){var Ft=ct.node;return Nt(Ft)||Pe.has(Ft[vn.value])}))}):Pt===Le?ot.filter(function(We){var it=an[We],ct=it?it.parent:null;return!(ct&&!Nt(ct.node)&&Pe.has(ct.key))}):ot}function St(ot){var Pt=ot.searchPlaceholder,an=ot.treeCheckStrictly,vn=ot.treeCheckable,Pe=ot.labelInValue,We=ot.value,it=ot.multiple;warning(!Pt,"`searchPlaceholder` has been removed."),an&&Pe===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Pe||an)&&warning(toArray(We).every(function(ct){return ct&&_typeof(ct)==="object"&&"value"in ct}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),an||it||vn?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 dt=null,Je=["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(ot){return!ot||(0,$e.Z)(ot)!=="object"}var ve=oe.forwardRef(function(ot,Pt){var an=ot.id,vn=ot.prefixCls,Pe=vn===void 0?"rc-tree-select":vn,We=ot.value,it=ot.defaultValue,ct=ot.onChange,Ft=ot.onSelect,Xt=ot.onDeselect,bt=ot.searchValue,je=ot.inputValue,Ke=ot.onSearch,Ie=ot.autoClearSearchValue,ut=Ie===void 0?!0:Ie,Ht=ot.filterTreeNode,Dt=ot.treeNodeFilterProp,pn=Dt===void 0?"value":Dt,mn=ot.showCheckedStrategy,tn=ot.treeNodeLabelProp,Cn=ot.multiple,Qn=ot.treeCheckable,ln=ot.treeCheckStrictly,Hn=ot.labelInValue,qn=ot.fieldNames,ua=ot.treeDataSimpleMode,ta=ot.treeData,et=ot.children,jt=ot.loadData,yt=ot.treeLoadedKeys,qt=ot.onTreeLoad,dn=ot.treeDefaultExpandAll,hn=ot.treeExpandedKeys,un=ot.treeDefaultExpandedKeys,cn=ot.onTreeExpand,Gn=ot.treeExpandAction,Xn=ot.virtual,Ut=ot.listHeight,ra=Ut===void 0?200:Ut,ha=ot.listItemHeight,Fa=ha===void 0?20:ha,va=ot.onDropdownVisibleChange,xn=ot.dropdownMatchSelectWidth,Tn=xn===void 0?!0:xn,jn=ot.treeLine,wn=ot.treeIcon,la=ot.showTreeIcon,Pa=ot.switcherIcon,ca=ot.treeMotion,ea=(0,re.Z)(ot,Je),ya=(0,ze.ZP)(an),to=Qn&&!ln,$a=Qn||ln,fo=ln||Hn,Ma=$a||Cn,Oa=(0,vt.Z)(it,{value:We}),Ga=(0,Fe.Z)(Oa,2),za=Ga[0],Ha=Ga[1],na=oe.useMemo(function(){return Qn?mn||Qt:Kt},[mn,Qn]),Ea=oe.useMemo(function(){return st(qn)},[JSON.stringify(qn)]),Ja=(0,vt.Z)("",{value:bt!==void 0?bt:je,postState:function(On){return On||""}}),Qa=(0,Fe.Z)(Ja,2),Za=Qa[0],no=Qa[1],lo=function(On){no(On),Ke==null||Ke(On)},ga=nt(ta,et,ua),Wa=E(ga,Ea),Ia=Wa.keyEntities,oo=Wa.valueEntities,So=oe.useCallback(function(Nn){var On=[],Mn=[];return Nn.forEach(function(aa){oo.has(aa)?Mn.push(aa):On.push(aa)}),{missingRawValues:On,existRawValues:Mn}},[oo]),Oo=pe(ga,Za,{fieldNames:Ea,treeNodeFilterProp:pn,filterTreeNode:Ht}),Jo=oe.useCallback(function(Nn){if(Nn){if(tn)return Nn[tn];for(var On=Ea._title,Mn=0;Mn<On.length;Mn+=1){var aa=Nn[On[Mn]];if(aa!==void 0)return aa}}},[Ea,tn]),zo=oe.useCallback(function(Nn){var On=kt(Nn);return On.map(function(Mn){return Re(Mn)?{value:Mn}:Mn})},[]),mo=oe.useCallback(function(Nn){var On=zo(Nn);return On.map(function(Mn){var aa=Mn.label,Da=Mn.value,Xa=Mn.halfChecked,_a,Po=oo.get(Da);if(Po){var ko;aa=(ko=aa)!==null&&ko!==void 0?ko:Jo(Po.node),_a=Po.node.disabled}else if(aa===void 0){var Mo=zo(za).find(function(dr){return dr.value===Da});aa=Mo.label}return{label:aa,value:Da,halfChecked:Xa,disabled:_a}})},[oo,Jo,zo,za]),po=oe.useMemo(function(){return zo(za)},[zo,za]),Bo=oe.useMemo(function(){var Nn=[],On=[];return po.forEach(function(Mn){Mn.halfChecked?On.push(Mn):Nn.push(Mn)}),[Nn,On]},[po]),tr=(0,Fe.Z)(Bo,2),jo=tr[0],qo=tr[1],ia=oe.useMemo(function(){return jo.map(function(Nn){return Nn.value})},[jo]),kn=a(jo,qo,to,Ia),In=(0,Fe.Z)(kn,2),Kn=In[0],Aa=In[1],fe=oe.useMemo(function(){var Nn=Pn(Kn,na,Ia,Ea),On=Nn.map(function(Xa){var _a,Po,ko;return(_a=(Po=Ia[Xa])===null||Po===void 0||(ko=Po.node)===null||ko===void 0?void 0:ko[Ea.value])!==null&&_a!==void 0?_a:Xa}),Mn=On.map(function(Xa){var _a=jo.find(function(Po){return Po.value===Xa});return{value:Xa,label:_a==null?void 0:_a.label}}),aa=mo(Mn),Da=aa[0];return!Ma&&Da&&Me(Da.value)&&Me(Da.label)?[]:aa.map(function(Xa){var _a;return(0,Ce.Z)((0,Ce.Z)({},Xa),{},{label:(_a=Xa.label)!==null&&_a!==void 0?_a:Xa.value})})},[Ea,Ma,Kn,jo,mo,na,Ia]),Mt=y(fe),en=(0,Fe.Z)(Mt,1),En=en[0],It=we(function(Nn,On,Mn){var aa=mo(Nn);if(Ha(aa),ut&&no(""),ct){var Da=Nn;if(to){var Xa=Pn(Nn,na,Ia,Ea);Da=Xa.map(function(ir){var cr=oo.get(ir);return cr?cr.node[Ea.value]:ir})}var _a=On||{triggerValue:void 0,selected:void 0},Po=_a.triggerValue,ko=_a.selected,Mo=Da;if(ln){var dr=qo.filter(function(ir){return!Da.includes(ir.value)});Mo=[].concat((0,Ge.Z)(Mo),(0,Ge.Z)(dr))}var ur=mo(Mo),nr={preValue:jo,triggerValue:Po},pr=!0;(ln||Mn==="selection"&&!ko)&&(pr=!1),xe(nr,Po,Nn,ga,pr,Ea),$a?nr.checked=ko:nr.selected=ko;var Fr=fo?ur:ur.map(function(ir){return ir.value});ct(Ma?Fr:Fr[0],fo?null:ur.map(function(ir){return ir.label}),nr)}}),Ln=oe.useCallback(function(Nn,On){var Mn,aa=On.selected,Da=On.source,Xa=Ia[Nn],_a=Xa==null?void 0:Xa.node,Po=(Mn=_a==null?void 0:_a[Ea.value])!==null&&Mn!==void 0?Mn:Nn;if(!Ma)It([Po],{selected:!0,triggerValue:Po},"option");else{var ko=aa?[].concat((0,Ge.Z)(ia),[Po]):Kn.filter(function(cr){return cr!==Po});if(to){var Mo=So(ko),dr=Mo.missingRawValues,ur=Mo.existRawValues,nr=ur.map(function(cr){return oo.get(cr).key}),pr;if(aa){var Fr=(0,_e.S)(nr,!0,Ia);pr=Fr.checkedKeys}else{var ir=(0,_e.S)(nr,{checked:!1,halfCheckedKeys:Aa},Ia);pr=ir.checkedKeys}ko=[].concat((0,Ge.Z)(dr),(0,Ge.Z)(pr.map(function(cr){return Ia[cr].node[Ea.value]})))}It(ko,{selected:aa,triggerValue:Po},Da||"option")}aa||!Ma?Ft==null||Ft(Po,ge(_a)):Xt==null||Xt(Po,ge(_a))},[So,oo,Ia,Ea,Ma,ia,It,to,Ft,Xt,Kn,Aa]),An=oe.useCallback(function(Nn){if(va){var On={};Object.defineProperty(On,"documentClickClose",{get:function(){return(0,Te.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),va(Nn,On)}},[va]),rn=we(function(Nn,On){var Mn=Nn.map(function(aa){return aa.value});if(On.type==="clear"){It(Mn,{},"selection");return}On.values.length&&Ln(On.values[0].value,{selected:!1,source:"selection"})}),Sn=oe.useMemo(function(){return{virtual:Xn,dropdownMatchSelectWidth:Tn,listHeight:ra,listItemHeight:Fa,treeData:Oo,fieldNames:Ea,onSelect:Ln,treeExpandAction:Gn}},[Xn,Tn,ra,Fa,Oo,Ea,Ln,Gn]),Vn=oe.useMemo(function(){return{checkable:$a,loadData:jt,treeLoadedKeys:yt,onTreeLoad:qt,checkedKeys:Kn,halfCheckedKeys:Aa,treeDefaultExpandAll:dn,treeExpandedKeys:hn,treeDefaultExpandedKeys:un,onTreeExpand:cn,treeIcon:wn,treeMotion:ca,showTreeIcon:la,switcherIcon:Pa,treeLine:jn,treeNodeFilterProp:pn,keyEntities:Ia}},[$a,jt,yt,qt,Kn,Aa,dn,hn,un,cn,wn,ca,la,Pa,jn,pn,Ia]);return oe.createElement(Ve.Provider,{value:Sn},oe.createElement(Qe.Provider,{value:Vn},oe.createElement(Ue.Ac,(0,Be.Z)({ref:Pt},ea,{id:ya,prefixCls:Pe,mode:Ma?"multiple":void 0,displayValues:En,onDisplayValuesChange:rn,searchValue:Za,onSearch:lo,OptionList:pt,emptyOptions:!ga.length,onDropdownVisibleChange:An,dropdownMatchSelectWidth:Tn}))))}),se=ve;se.TreeNode=ae,se.SHOW_ALL=Kt,se.SHOW_PARENT=Le,se.SHOW_CHILD=Qt;var Oe=se,gt=Oe,Se=te(2738),he=te(53487),Ye=te(62892),Ne=te(19080),Ee=te(36355),tt=te(1684),_t=te(93891),ft=te(19716),zt=te(32441),Ot=te(14154),Vt=te(58582),be=te(84443),lt=te(66339),ht=te(33234),mt=te(71997),Rt=te(98447),Jt=te(37613),on=te(83116),$t=te(20648);const yn=ot=>{const{componentCls:Pt,treePrefixCls:an,colorBgElevated:vn}=ot,Pe=`.${an}`;return[{[`${Pt}-dropdown`]:[{padding:`${ot.paddingXS}px ${ot.paddingXS/2}px`},(0,$t.Yk)(an,(0,Jt.TS)(ot,{colorBgContainer:vn})),{[Pe]:{borderRadius:0,[`${Pe}-list-holder-inner`]:{alignItems:"stretch",[`${Pe}-treenode`]:{[`${Pe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Rt.C2)(`${an}-checkbox`,ot),{"&-rtl":{direction:"rtl",[`${Pe}-switcher${Pe}-switcher_close`]:{[`${Pe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Dn(ot,Pt){return(0,on.Z)("TreeSelect",an=>{const vn=(0,Jt.TS)(an,{treePrefixCls:Pt});return[yn(vn)]},$t.TM)(ot)}var At=function(ot,Pt){var an={};for(var vn in ot)Object.prototype.hasOwnProperty.call(ot,vn)&&Pt.indexOf(vn)<0&&(an[vn]=ot[vn]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,vn=Object.getOwnPropertySymbols(ot);Pe<vn.length;Pe++)Pt.indexOf(vn[Pe])<0&&Object.prototype.propertyIsEnumerable.call(ot,vn[Pe])&&(an[vn[Pe]]=ot[vn[Pe]]);return an};const xt=(ot,Pt)=>{var an,{prefixCls:vn,size:Pe,disabled:We,bordered:it=!0,className:ct,rootClassName:Ft,treeCheckable:Xt,multiple:bt,listHeight:je=256,listItemHeight:Ke=26,placement:Ie,notFoundContent:ut,switcherIcon:Ht,treeLine:Dt,getPopupContainer:pn,popupClassName:mn,dropdownClassName:tn,treeIcon:Cn=!1,transitionName:Qn,choiceTransitionName:ln="",status:Hn,treeExpandAction:qn,builtinPlacements:ua,dropdownMatchSelectWidth:ta,popupMatchSelectWidth:et,allowClear:jt}=ot,yt=At(ot,["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:qt,getPrefixCls:dn,renderEmpty:hn,direction:un,virtual:cn,popupMatchSelectWidth:Gn,popupOverflow:Xn}=oe.useContext(Ee.E_),Ut=dn(),ra=dn("select",vn),ha=dn("select-tree",vn),Fa=dn("tree-select",vn),{compactSize:va,compactItemClassnames:xn}=(0,ht.ri)(ra,un),[Tn,jn]=(0,Ot.Z)(ra),[wn]=Dn(Fa,ha),la=le()(mn||tn,`${Fa}-dropdown`,{[`${Fa}-dropdown-rtl`]:un==="rtl"},Ft,jn),Pa=!!(Xt||bt),ca=(0,be.Z)(yt.suffixIcon,yt.showArrow),ea=(an=et!=null?et:ta)!==null&&an!==void 0?an:Gn,{status:ya,hasFeedback:to,isFormItemInput:$a,feedbackIcon:fo}=oe.useContext(zt.aM),Ma=(0,Ne.F)(ya,Hn),{suffixIcon:Oa,removeIcon:Ga,clearIcon:za}=(0,lt.Z)(Object.assign(Object.assign({},yt),{multiple:Pa,showSuffixIcon:ca,hasFeedback:to,feedbackIcon:fo,prefixCls:ra,componentName:"TreeSelect"})),Ha=jt===!0?{clearIcon:za}:jt;let na;ut!==void 0?na=ut:na=(hn==null?void 0:hn("Select"))||oe.createElement(_t.Z,{componentName:"Select"});const Ea=(0,Se.Z)(yt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Ja=oe.useMemo(()=>Ie!==void 0?Ie:un==="rtl"?"bottomRight":"bottomLeft",[Ie,un]),Qa=(0,Vt.Z)(ua,Xn),Za=(0,ft.Z)(oo=>{var So;return(So=Pe!=null?Pe:va)!==null&&So!==void 0?So:oo}),no=oe.useContext(tt.Z),lo=We!=null?We:no,ga=le()(!vn&&Fa,{[`${ra}-lg`]:Za==="large",[`${ra}-sm`]:Za==="small",[`${ra}-rtl`]:un==="rtl",[`${ra}-borderless`]:!it,[`${ra}-in-form-item`]:$a},(0,Ne.Z)(ra,Ma,to),xn,ct,Ft,jn),Wa=oo=>oe.createElement(mt.Z,{prefixCls:ha,switcherIcon:Ht,treeNodeProps:oo,showLine:Dt}),Ia=oe.createElement(gt,Object.assign({virtual:cn,disabled:lo},Ea,{dropdownMatchSelectWidth:ea,builtinPlacements:Qa,ref:Pt,prefixCls:ra,className:ga,listHeight:je,listItemHeight:Ke,treeCheckable:Xt&&oe.createElement("span",{className:`${ra}-tree-checkbox-inner`}),treeLine:!!Dt,suffixIcon:Oa,multiple:Pa,placement:Ja,removeIcon:Ga,allowClear:Ha,switcherIcon:Wa,showTreeIcon:Cn,notFoundContent:na,getPopupContainer:pn||qt,treeMotion:null,dropdownClassName:la,choiceTransitionName:(0,Ye.m)(Ut,"",ln),transitionName:(0,Ye.m)(Ut,"slide-up",Qn),treeExpandAction:qn}));return Tn(wn(Ia))},fn=oe.forwardRef(xt),sn=(0,he.Z)(fn);fn.TreeNode=ae,fn.SHOW_ALL=Kt,fn.SHOW_PARENT=Le,fn.SHOW_CHILD=Qt,fn._InternalPanelDoNotUseOrYouWillBeFired=sn;var Rn=fn},17574:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return Ve}});var ee=te(79556),le=te(95190),Be=te(52671),Ge=te(8657),Ce=te(14809),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(st,Nt){return Fe.createElement(Ue.Z,(0,Ce.Z)({},st,{ref:Nt,icon:$e}))},_e=Fe.forwardRef(ze),vt=_e,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:st,dropLevelOffset:Nt,prefixCls:Zt,indent:Me,direction:Ze="ltr"}=kt,Et=Ze==="ltr"?"left":"right",Gt=Ze==="ltr"?"right":"left",pt={[Et]:-Nt*Me+ne,[Gt]:0};switch(st){case-1:pt.top=-3;break;case 1:pt.bottom=-3;break;default:pt.bottom=-3,pt[Et]=Me+ne;break}return Fe.createElement("div",{style:pt,className:`${Zt}-drop-indicator`})}var ie=te(71997),ge=Fe.forwardRef((kt,st)=>{const{getPrefixCls:Nt,direction:Zt,virtual:Me,tree:Ze}=Fe.useContext(b.E_),{prefixCls:Et,className:Gt,showIcon:pt=!1,showLine:Kt,switcherIcon:Le,blockNode:Qt=!1,children:Pn,checkable:St=!1,selectable:dt=!0,draggable:Je,motion:Re,style:ve}=kt,se=Nt("tree",Et),Oe=Nt(),gt=Re!=null?Re:Object.assign(Object.assign({},(0,x.Z)(Oe)),{motionAppear:!1}),Se=Object.assign(Object.assign({},kt),{checkable:St,selectable:dt,showIcon:pt,motion:gt,blockNode:Qt,showLine:!!Kt,dropIndicatorRender:ae}),[he,Ye]=(0,z.ZP)(se),Ne=Fe.useMemo(()=>{if(!Je)return!1;let tt={};switch(typeof Je){case"function":tt.nodeDraggable=Je;break;case"object":tt=Object.assign({},Je);break;default:break}return tt.icon!==!1&&(tt.icon=tt.icon||Fe.createElement(E.Z,null)),tt},[Je]),Ee=tt=>Fe.createElement(ie.Z,{prefixCls:se,switcherIcon:Le,treeNodeProps:tt,showLine:Kt});return he(Fe.createElement(ee.Z,Object.assign({itemHeight:20,ref:st,virtual:Me},Se,{style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ve),prefixCls:se,className:oe()({[`${se}-icon-hide`]:!pt,[`${se}-block-node`]:Qt,[`${se}-unselectable`]:!dt,[`${se}-rtl`]:Zt==="rtl"},Ze==null?void 0:Ze.className,Gt,Ye),direction:Zt,checkable:St&&Fe.createElement("span",{className:`${se}-checkbox-inner`}),selectable:dt,switcherIcon:Ee,draggable:Ne}),Pn))}),xe;(function(kt){kt[kt.None=0]="None",kt[kt.Start=1]="Start",kt[kt.End=2]="End"})(xe||(xe={}));function pe(kt,st){function Nt(Zt){const{key:Me,children:Ze}=Zt;st(Me,Zt)!==!1&&pe(Ze||[],st)}kt.forEach(Nt)}function we(kt){let{treeData:st,expandedKeys:Nt,startKey:Zt,endKey:Me}=kt;const Ze=[];let Et=xe.None;if(Zt&&Zt===Me)return[Zt];if(!Zt||!Me)return[];function Gt(pt){return pt===Zt||pt===Me}return pe(st,pt=>{if(Et===xe.End)return!1;if(Gt(pt)){if(Ze.push(pt),Et===xe.None)Et=xe.Start;else if(Et===xe.Start)return Et=xe.End,!1}else Et===xe.Start&&Ze.push(pt);return Nt.includes(pt)}),Ze}function ue(kt,st){const Nt=(0,le.Z)(st),Zt=[];return pe(kt,(Me,Ze)=>{const Et=Nt.indexOf(Me);return Et!==-1&&(Zt.push(Ze),Nt.splice(Et,1)),!!Nt.length}),Zt}var nt=function(kt,st){var Nt={};for(var Zt in kt)Object.prototype.hasOwnProperty.call(kt,Zt)&&st.indexOf(Zt)<0&&(Nt[Zt]=kt[Zt]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Zt=Object.getOwnPropertySymbols(kt);Me<Zt.length;Me++)st.indexOf(Zt[Me])<0&&Object.prototype.propertyIsEnumerable.call(kt,Zt[Me])&&(Nt[Zt[Me]]=kt[Zt[Me]]);return Nt};function De(kt){const{isLeaf:st,expanded:Nt}=kt;return st?Fe.createElement(Be.Z,null):Nt?Fe.createElement(Ge.Z,null):Fe.createElement(vt,null)}function Qe(kt){let{treeData:st,children:Nt}=kt;return st||(0,a.zn)(Nt)}const ye=(kt,st)=>{var{defaultExpandAll:Nt,defaultExpandParent:Zt,defaultExpandedKeys:Me}=kt,Ze=nt(kt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Et=Fe.useRef(),Gt=Fe.useRef(),pt=()=>{const{keyEntities:Ne}=(0,a.I8)(Qe(Ze));let Ee;return Nt?Ee=Object.keys(Ne):Zt?Ee=(0,y.r7)(Ze.expandedKeys||Me||[],Ne):Ee=Ze.expandedKeys||Me,Ee},[Kt,Le]=Fe.useState(Ze.selectedKeys||Ze.defaultSelectedKeys||[]),[Qt,Pn]=Fe.useState(()=>pt());Fe.useEffect(()=>{"selectedKeys"in Ze&&Le(Ze.selectedKeys)},[Ze.selectedKeys]),Fe.useEffect(()=>{"expandedKeys"in Ze&&Pn(Ze.expandedKeys)},[Ze.expandedKeys]);const St=(Ne,Ee)=>{var tt;return"expandedKeys"in Ze||Pn(Ne),(tt=Ze.onExpand)===null||tt===void 0?void 0:tt.call(Ze,Ne,Ee)},dt=(Ne,Ee)=>{var tt;const{multiple:_t}=Ze,{node:ft,nativeEvent:zt}=Ee,{key:Ot=""}=ft,Vt=Qe(Ze),be=Object.assign(Object.assign({},Ee),{selected:!0}),lt=(zt==null?void 0:zt.ctrlKey)||(zt==null?void 0:zt.metaKey),ht=zt==null?void 0:zt.shiftKey;let mt;_t&<?(mt=Ne,Et.current=Ot,Gt.current=mt,be.selectedNodes=ue(Vt,mt)):_t&&ht?(mt=Array.from(new Set([].concat((0,le.Z)(Gt.current||[]),(0,le.Z)(we({treeData:Vt,expandedKeys:Qt,startKey:Ot,endKey:Et.current}))))),be.selectedNodes=ue(Vt,mt)):(mt=[Ot],Et.current=Ot,Gt.current=mt,be.selectedNodes=ue(Vt,mt)),(tt=Ze.onSelect)===null||tt===void 0||tt.call(Ze,mt,be),"selectedKeys"in Ze||Le(mt)},{getPrefixCls:Je,direction:Re}=Fe.useContext(b.E_),{prefixCls:ve,className:se,showIcon:Oe=!0,expandAction:gt="click"}=Ze,Se=nt(Ze,["prefixCls","className","showIcon","expandAction"]),he=Je("tree",ve),Ye=oe()(`${he}-directory`,{[`${he}-directory-rtl`]:Re==="rtl"},se);return Fe.createElement(ge,Object.assign({icon:De,ref:st,blockNode:!0},Se,{showIcon:Oe,expandAction:gt,prefixCls:he,className:Ye,expandedKeys:Qt,selectedKeys:Kt,onSelect:dt,onExpand:St}))};var qe=Fe.forwardRef(ye);const Xe=ge;Xe.DirectoryTree=qe,Xe.TreeNode=ee.O;var Ve=Xe},20648:function(Bt,Tt,te){"use strict";te.d(Tt,{TM:function(){return Te},Yk:function(){return vt}});var ee=te(93083),le=te(98447),Be=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,Be.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,Be.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,Be.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`}}}}})}},_e=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"}}}}}},vt=(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),_e(x)]},Te=oe=>{const{controlHeightSM:y}=oe;return{titleHeight:y,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};Tt.ZP=(0,Fe.Z)("Tree",(oe,y)=>{let{prefixCls:a}=y;return[{[oe.componentCls]:(0,le.C2)(`${a}-checkbox`,oe)},vt(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(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return b}});var ee=te(14809),le=te(59301),Be={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=Be,Ce=te(7657),Fe=function(x,z){return le.createElement(Ce.Z,(0,ee.Z)({},x,{ref:z,icon:Ge}))},re=le.forwardRef(Fe),$e=re,Ue=te(52671),ze=te(58617),_e=te(15075),vt=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:ie,expanded:de,loading:ge}=ne;if(ge)return le.createElement(ze.Z,{className:`${x}-switcher-loading-icon`});let xe;if(ae&&typeof ae=="object"&&(xe=ae.showLeafIcon),ie){if(!ae)return null;if(typeof xe!="boolean"&&xe){const ue=typeof xe=="function"?xe(ne):xe,nt=`${x}-switcher-line-custom-icon`;return(0,y.l$)(ue)?(0,y.Tm)(ue,{className:oe()(ue.props.className||"",nt)}):ue}return xe?le.createElement(Ue.Z,{className:`${x}-switcher-line-icon`}):le.createElement("span",{className:`${x}-switcher-leaf-line`})}const pe=`${x}-switcher-icon`,we=typeof z=="function"?z(ne):z;return(0,y.l$)(we)?(0,y.Tm)(we,{className:oe()(we.props.className||"",pe)}):we!==void 0?we:ae?de?le.createElement(_e.Z,{className:`${x}-switcher-line-icon`}):le.createElement(vt.Z,{className:`${x}-switcher-line-icon`}):le.createElement($e,{className:pe})}},54580:function(Bt,Tt,te){"use strict";te.d(Tt,{default:function(){return ta}});var ee=te(59301),le=te(95190),Be=te(92310),Ge=te.n(Be),Ce=te(14809),Fe=te(99153),re=te(84851),$e=te(19257),Ue=te(93046),ze=te(4635),_e=te(62646),vt=te(70539),Te=te(93664),oe=te(95764),y=te(26112);function a(et,jt){var yt="cannot ".concat(et.method," ").concat(et.action," ").concat(jt.status,"'"),qt=new Error(yt);return qt.status=jt.status,qt.method=et.method,qt.url=et.action,qt}function b(et){var jt=et.responseText||et.response;if(!jt)return jt;try{return JSON.parse(jt)}catch(yt){return jt}}function E(et){var jt=new XMLHttpRequest;et.onProgress&&jt.upload&&(jt.upload.onprogress=function(hn){hn.total>0&&(hn.percent=hn.loaded/hn.total*100),et.onProgress(hn)});var yt=new FormData;et.data&&Object.keys(et.data).forEach(function(dn){var hn=et.data[dn];if(Array.isArray(hn)){hn.forEach(function(un){yt.append("".concat(dn,"[]"),un)});return}yt.append(dn,hn)}),et.file instanceof Blob?yt.append(et.filename,et.file,et.file.name):yt.append(et.filename,et.file),jt.onerror=function(hn){et.onError(hn)},jt.onload=function(){return jt.status<200||jt.status>=300?et.onError(a(et,jt),b(jt)):et.onSuccess(b(jt),jt)},jt.open(et.method,et.action,!0),et.withCredentials&&"withCredentials"in jt&&(jt.withCredentials=!0);var qt=et.headers||{};return qt["X-Requested-With"]!==null&&jt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(qt).forEach(function(dn){qt[dn]!==null&&jt.setRequestHeader(dn,qt[dn])}),jt.send(yt),{abort:function(){jt.abort()}}}var x=+new Date,z=0;function ne(){return"rc-upload-".concat(x,"-").concat(++z)}var ae=te(48736),ie=function(et,jt){if(et&&jt){var yt=Array.isArray(jt)?jt:jt.split(","),qt=et.name||"",dn=et.type||"",hn=dn.replace(/\/.*$/,"");return yt.some(function(un){var cn=un.trim();if(/^\*(\/\*)?$/.test(un))return!0;if(cn.charAt(0)==="."){var Gn=qt.toLowerCase(),Xn=cn.toLowerCase(),Ut=[Xn];return(Xn===".jpg"||Xn===".jpeg")&&(Ut=[".jpg",".jpeg"]),Ut.some(function(ra){return Gn.endsWith(ra)})}return/\/\*$/.test(cn)?hn===cn.replace(/\/.*$/,""):dn===cn?!0:/^\w+$/.test(cn)?((0,ae.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(cn,"'.Skip for check.")),!0):!1})}return!0};function de(et,jt){var yt=et.createReader(),qt=[];function dn(){yt.readEntries(function(hn){var un=Array.prototype.slice.apply(hn);qt=qt.concat(un);var cn=!un.length;cn?jt(qt):dn()})}dn()}var ge=function(jt,yt,qt){var dn=function hn(un,cn){un&&(un.path=cn||"",un.isFile?un.file(function(Gn){qt(Gn)&&(un.fullPath&&!Gn.webkitRelativePath&&(Object.defineProperties(Gn,{webkitRelativePath:{writable:!0}}),Gn.webkitRelativePath=un.fullPath.replace(/^\//,""),Object.defineProperties(Gn,{webkitRelativePath:{writable:!1}})),yt([Gn]))}):un.isDirectory&&de(un,function(Gn){Gn.forEach(function(Xn){hn(Xn,"".concat(cn).concat(un.name,"/"))})}))};jt.forEach(function(hn){dn(hn.webkitGetAsEntry())})},xe=ge,pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],we=function(et){(0,$e.Z)(yt,et);var jt=(0,Ue.Z)(yt);function yt(){var qt;(0,Fe.Z)(this,yt);for(var dn=arguments.length,hn=new Array(dn),un=0;un<dn;un++)hn[un]=arguments[un];return qt=jt.call.apply(jt,[this].concat(hn)),qt.state={uid:ne()},qt.reqs={},qt.fileInput=void 0,qt._isMounted=void 0,qt.onChange=function(cn){var Gn=qt.props,Xn=Gn.accept,Ut=Gn.directory,ra=cn.target.files,ha=(0,le.Z)(ra).filter(function(Fa){return!Ut||ie(Fa,Xn)});qt.uploadFiles(ha),qt.reset()},qt.onClick=function(cn){var Gn=qt.fileInput;if(Gn){var Xn=cn.target,Ut=qt.props.onClick;if(Xn&&Xn.tagName==="BUTTON"){var ra=Gn.parentNode;ra.focus(),Xn.blur()}Gn.click(),Ut&&Ut(cn)}},qt.onKeyDown=function(cn){cn.key==="Enter"&&qt.onClick(cn)},qt.onFileDrop=function(cn){var Gn=qt.props.multiple;if(cn.preventDefault(),cn.type!=="dragover")if(qt.props.directory)xe(Array.prototype.slice.call(cn.dataTransfer.items),qt.uploadFiles,function(Ut){return ie(Ut,qt.props.accept)});else{var Xn=(0,le.Z)(cn.dataTransfer.files).filter(function(Ut){return ie(Ut,qt.props.accept)});Gn===!1&&(Xn=Xn.slice(0,1)),qt.uploadFiles(Xn)}},qt.uploadFiles=function(cn){var Gn=(0,le.Z)(cn),Xn=Gn.map(function(Ut){return Ut.uid=ne(),qt.processFile(Ut,Gn)});Promise.all(Xn).then(function(Ut){var ra=qt.props.onBatchStart;ra==null||ra(Ut.map(function(ha){var Fa=ha.origin,va=ha.parsedFile;return{file:Fa,parsedFile:va}})),Ut.filter(function(ha){return ha.parsedFile!==null}).forEach(function(ha){qt.post(ha)})})},qt.processFile=function(){var cn=(0,oe.Z)((0,vt.Z)().mark(function Gn(Xn,Ut){var ra,ha,Fa,va,xn,Tn,jn,wn,la;return(0,vt.Z)().wrap(function(ca){for(;;)switch(ca.prev=ca.next){case 0:if(ra=qt.props.beforeUpload,ha=Xn,!ra){ca.next=14;break}return ca.prev=3,ca.next=6,ra(Xn,Ut);case 6:ha=ca.sent,ca.next=12;break;case 9:ca.prev=9,ca.t0=ca.catch(3),ha=!1;case 12:if(ha!==!1){ca.next=14;break}return ca.abrupt("return",{origin:Xn,parsedFile:null,action:null,data:null});case 14:if(Fa=qt.props.action,typeof Fa!="function"){ca.next=21;break}return ca.next=18,Fa(Xn);case 18:va=ca.sent,ca.next=22;break;case 21:va=Fa;case 22:if(xn=qt.props.data,typeof xn!="function"){ca.next=29;break}return ca.next=26,xn(Xn);case 26:Tn=ca.sent,ca.next=30;break;case 29:Tn=xn;case 30:return jn=((0,Te.Z)(ha)==="object"||typeof ha=="string")&&ha?ha:Xn,jn instanceof File?wn=jn:wn=new File([jn],Xn.name,{type:Xn.type}),la=wn,la.uid=Xn.uid,ca.abrupt("return",{origin:Xn,data:Tn,parsedFile:la,action:va});case 35:case"end":return ca.stop()}},Gn,null,[[3,9]])}));return function(Gn,Xn){return cn.apply(this,arguments)}}(),qt.saveFileInput=function(cn){qt.fileInput=cn},qt}return(0,re.Z)(yt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(dn){var hn=this,un=dn.data,cn=dn.origin,Gn=dn.action,Xn=dn.parsedFile;if(this._isMounted){var Ut=this.props,ra=Ut.onStart,ha=Ut.customRequest,Fa=Ut.name,va=Ut.headers,xn=Ut.withCredentials,Tn=Ut.method,jn=cn.uid,wn=ha||E,la={action:Gn,filename:Fa,data:un,file:Xn,headers:va,withCredentials:xn,method:Tn||"post",onProgress:function(ca){var ea=hn.props.onProgress;ea==null||ea(ca,Xn)},onSuccess:function(ca,ea){var ya=hn.props.onSuccess;ya==null||ya(ca,Xn,ea),delete hn.reqs[jn]},onError:function(ca,ea){var ya=hn.props.onError;ya==null||ya(ca,ea,Xn),delete hn.reqs[jn]}};ra(cn),this.reqs[jn]=wn(la)}}},{key:"reset",value:function(){this.setState({uid:ne()})}},{key:"abort",value:function(dn){var hn=this.reqs;if(dn){var un=dn.uid?dn.uid:dn;hn[un]&&hn[un].abort&&hn[un].abort(),delete hn[un]}else Object.keys(hn).forEach(function(cn){hn[cn]&&hn[cn].abort&&hn[cn].abort(),delete hn[cn]})}},{key:"render",value:function(){var dn=this.props,hn=dn.component,un=dn.prefixCls,cn=dn.className,Gn=dn.disabled,Xn=dn.id,Ut=dn.style,ra=dn.multiple,ha=dn.accept,Fa=dn.capture,va=dn.children,xn=dn.directory,Tn=dn.openFileDialogOnClick,jn=dn.onMouseEnter,wn=dn.onMouseLeave,la=(0,_e.Z)(dn,pe),Pa=Ge()((0,ze.Z)((0,ze.Z)((0,ze.Z)({},un,!0),"".concat(un,"-disabled"),Gn),cn,cn)),ca=xn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ea=Gn?{}:{onClick:Tn?this.onClick:function(){},onKeyDown:Tn?this.onKeyDown:function(){},onMouseEnter:jn,onMouseLeave:wn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ee.createElement(hn,(0,Ce.Z)({},ea,{className:Pa,role:"button",style:Ut}),ee.createElement("input",(0,Ce.Z)({},(0,y.Z)(la,{aria:!0,data:!0}),{id:Xn,disabled:Gn,type:"file",ref:this.saveFileInput,onClick:function(to){return to.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ha},ca,{multiple:ra,onChange:this.onChange},Fa!=null?{capture:Fa}:{})),va)}}]),yt}(ee.Component),ue=we;function nt(){}var De=function(et){(0,$e.Z)(yt,et);var jt=(0,Ue.Z)(yt);function yt(){var qt;(0,Fe.Z)(this,yt);for(var dn=arguments.length,hn=new Array(dn),un=0;un<dn;un++)hn[un]=arguments[un];return qt=jt.call.apply(jt,[this].concat(hn)),qt.uploader=void 0,qt.saveUploader=function(cn){qt.uploader=cn},qt}return(0,re.Z)(yt,[{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}))}}]),yt}(ee.Component);De.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:nt,onError:nt,onSuccess:nt,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Qe=De,ye=Qe,ke=te(18929),qe=te(4676),Xe=te(36355),Ve=te(1684),kt=te(9763),st=te(31724),Nt={icon:function(jt,yt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:yt}},{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:jt}}]}},name:"file",theme:"twotone"},Zt=Nt,Me=te(7657),Ze=function(jt,yt){return ee.createElement(Me.Z,(0,Ce.Z)({},jt,{ref:yt,icon:Zt}))},Et=ee.forwardRef(Ze),Gt=Et,pt=te(58617),Kt={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"},Le=Kt,Qt=function(jt,yt){return ee.createElement(Me.Z,(0,Ce.Z)({},jt,{ref:yt,icon:Le}))},Pn=ee.forwardRef(Qt),St=Pn,dt={icon:function(jt,yt){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:jt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:yt}},{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:yt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:yt}},{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:jt}}]}},name:"picture",theme:"twotone"},Je=dt,Re=function(jt,yt){return ee.createElement(Me.Z,(0,Ce.Z)({},jt,{ref:yt,icon:Je}))},ve=ee.forwardRef(Re),se=ve,Oe=te(77900),gt=te(56762),Se=te(62892),he=te(92343),Ye=te(3113);function Ne(et){return Object.assign(Object.assign({},et),{lastModified:et.lastModified,lastModifiedDate:et.lastModifiedDate,name:et.name,size:et.size,type:et.type,uid:et.uid,percent:0,originFileObj:et})}function Ee(et,jt){const yt=(0,le.Z)(jt),qt=yt.findIndex(dn=>{let{uid:hn}=dn;return hn===et.uid});return qt===-1?yt.push(et):yt[qt]=et,yt}function tt(et,jt){const yt=et.uid!==void 0?"uid":"name";return jt.filter(qt=>qt[yt]===et[yt])[0]}function _t(et,jt){const yt=et.uid!==void 0?"uid":"name",qt=jt.filter(dn=>dn[yt]!==et[yt]);return qt.length===jt.length?null:qt}const ft=function(){const jt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),qt=jt[jt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(qt)||[""])[0]},zt=et=>et.indexOf("image/")===0,Ot=et=>{if(et.type&&!et.thumbUrl)return zt(et.type);const jt=et.thumbUrl||et.url||"",yt=ft(jt);return/^data:image\//.test(jt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(yt)?!0:!(/^data:/.test(jt)||yt)},Vt=200;function be(et){return new Promise(jt=>{if(!et.type||!zt(et.type)){jt("");return}const yt=document.createElement("canvas");yt.width=Vt,yt.height=Vt,yt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Vt}px; height: ${Vt}px; z-index: 9999; display: none;`,document.body.appendChild(yt);const qt=yt.getContext("2d"),dn=new Image;if(dn.onload=()=>{const{width:hn,height:un}=dn;let cn=Vt,Gn=Vt,Xn=0,Ut=0;hn>un?(Gn=un*(Vt/hn),Ut=-(Gn-cn)/2):(cn=hn*(Vt/un),Xn=-(cn-Gn)/2),qt.drawImage(dn,Xn,Ut,cn,Gn);const ra=yt.toDataURL();document.body.removeChild(yt),window.URL.revokeObjectURL(dn.src),jt(ra)},dn.crossOrigin="anonymous",et.type.startsWith("image/svg+xml")){const hn=new FileReader;hn.onload=()=>{hn.result&&(dn.src=hn.result)},hn.readAsDataURL(et)}else if(et.type.startsWith("image/gif")){const hn=new FileReader;hn.onload=()=>{hn.result&&jt(hn.result)},hn.readAsDataURL(et)}else dn.src=window.URL.createObjectURL(et)})}var lt=te(26227),ht=te(41464),mt=te(15277),Rt=te(93948),Jt=te(6848),$t=ee.forwardRef((et,jt)=>{let{prefixCls:yt,className:qt,style:dn,locale:hn,listType:un,file:cn,items:Gn,progress:Xn,iconRender:Ut,actionIconRender:ra,itemRender:ha,isImgUrl:Fa,showPreviewIcon:va,showRemoveIcon:xn,showDownloadIcon:Tn,previewIcon:jn,removeIcon:wn,downloadIcon:la,onPreview:Pa,onDownload:ca,onClose:ea}=et;var ya,to;const{status:$a}=cn,[fo,Ma]=ee.useState($a);ee.useEffect(()=>{$a!=="removed"&&Ma($a)},[$a]);const[Oa,Ga]=ee.useState(!1);ee.useEffect(()=>{const mo=setTimeout(()=>{Ga(!0)},300);return()=>{clearTimeout(mo)}},[]);const za=Ut(cn);let Ha=ee.createElement("div",{className:`${yt}-icon`},za);if(un==="picture"||un==="picture-card"||un==="picture-circle")if(fo==="uploading"||!cn.thumbUrl&&!cn.url){const mo=Ge()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:fo!=="uploading"});Ha=ee.createElement("div",{className:mo},za)}else{const mo=Fa!=null&&Fa(cn)?ee.createElement("img",{src:cn.thumbUrl||cn.url,alt:cn.name,className:`${yt}-list-item-image`,crossOrigin:cn.crossOrigin}):za,po=Ge()(`${yt}-list-item-thumbnail`,{[`${yt}-list-item-file`]:Fa&&!Fa(cn)});Ha=ee.createElement("a",{className:po,onClick:Bo=>Pa(cn,Bo),href:cn.url||cn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},mo)}const na=Ge()(`${yt}-list-item`,`${yt}-list-item-${fo}`),Ea=typeof cn.linkProps=="string"?JSON.parse(cn.linkProps):cn.linkProps,Ja=xn?ra((typeof wn=="function"?wn(cn):wn)||ee.createElement(lt.Z,null),()=>ea(cn),yt,hn.removeFile):null,Qa=Tn&&fo==="done"?ra((typeof la=="function"?la(cn):la)||ee.createElement(ht.Z,null),()=>ca(cn),yt,hn.downloadFile):null,Za=un!=="picture-card"&&un!=="picture-circle"&&ee.createElement("span",{key:"download-delete",className:Ge()(`${yt}-list-item-actions`,{picture:un==="picture"})},Qa,Ja),no=Ge()(`${yt}-list-item-name`),lo=cn.url?[ee.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:no,title:cn.name},Ea,{href:cn.url,onClick:mo=>Pa(cn,mo)}),cn.name),Za]:[ee.createElement("span",{key:"view",className:no,onClick:mo=>Pa(cn,mo),title:cn.name},cn.name),Za],ga={pointerEvents:"none",opacity:.5},Wa=va?ee.createElement("a",{href:cn.url||cn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:cn.url||cn.thumbUrl?void 0:ga,onClick:mo=>Pa(cn,mo),title:hn.previewFile},typeof jn=="function"?jn(cn):jn||ee.createElement(mt.Z,null)):null,Ia=(un==="picture-card"||un==="picture-circle")&&fo!=="uploading"&&ee.createElement("span",{className:`${yt}-list-item-actions`},Wa,fo==="done"&&Qa,Ja),{getPrefixCls:oo}=ee.useContext(Xe.E_),So=oo(),Oo=ee.createElement("div",{className:na},Ha,lo,Ia,Oa&&ee.createElement(Oe.default,{motionName:`${So}-fade`,visible:fo==="uploading",motionDeadline:2e3},mo=>{let{className:po}=mo;const Bo="percent"in cn?ee.createElement(Rt.Z,Object.assign({},Xn,{type:"line",percent:cn.percent,"aria-label":cn["aria-label"],"aria-labelledby":cn["aria-labelledby"]})):null;return ee.createElement("div",{className:Ge()(`${yt}-list-item-progress`,po)},Bo)})),Jo=cn.response&&typeof cn.response=="string"?cn.response:((ya=cn.error)===null||ya===void 0?void 0:ya.statusText)||((to=cn.error)===null||to===void 0?void 0:to.message)||hn.uploadError,zo=fo==="error"?ee.createElement(Jt.Z,{title:Jo,getPopupContainer:mo=>mo.parentNode},Oo):Oo;return ee.createElement("div",{className:Ge()(`${yt}-list-item-container`,qt),style:dn,ref:jt},ha?ha(zo,cn,Gn,{download:ca.bind(null,cn),preview:Pa.bind(null,cn),remove:ea.bind(null,cn)}):zo)});const yn=(et,jt)=>{const{listType:yt="text",previewFile:qt=be,onPreview:dn,onDownload:hn,onRemove:un,locale:cn,iconRender:Gn,isImageUrl:Xn=Ot,prefixCls:Ut,items:ra=[],showPreviewIcon:ha=!0,showRemoveIcon:Fa=!0,showDownloadIcon:va=!1,removeIcon:xn,previewIcon:Tn,downloadIcon:jn,progress:wn={size:[-1,2],showInfo:!1},appendAction:la,appendActionVisible:Pa=!0,itemRender:ca,disabled:ea}=et,ya=(0,gt.Z)(),[to,$a]=ee.useState(!1);ee.useEffect(()=>{yt!=="picture"&&yt!=="picture-card"&&yt!=="picture-circle"||(ra||[]).forEach(ga=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ga.originFileObj instanceof File||ga.originFileObj instanceof Blob)||ga.thumbUrl!==void 0||(ga.thumbUrl="",qt&&qt(ga.originFileObj).then(Wa=>{ga.thumbUrl=Wa||"",ya()}))})},[yt,ra,qt]),ee.useEffect(()=>{$a(!0)},[]);const fo=(ga,Wa)=>{if(dn)return Wa==null||Wa.preventDefault(),dn(ga)},Ma=ga=>{typeof hn=="function"?hn(ga):ga.url&&window.open(ga.url)},Oa=ga=>{un==null||un(ga)},Ga=ga=>{if(Gn)return Gn(ga,yt);const Wa=ga.status==="uploading",Ia=Xn&&Xn(ga)?ee.createElement(se,null):ee.createElement(Gt,null);let oo=Wa?ee.createElement(pt.Z,null):ee.createElement(St,null);return yt==="picture"?oo=Wa?ee.createElement(pt.Z,null):Ia:(yt==="picture-card"||yt==="picture-circle")&&(oo=Wa?cn.uploading:Ia),oo},za=(ga,Wa,Ia,oo)=>{const So={type:"text",size:"small",title:oo,onClick:Oo=>{Wa(),(0,he.l$)(ga)&&ga.props.onClick&&ga.props.onClick(Oo)},className:`${Ia}-list-item-action`,disabled:ea};if((0,he.l$)(ga)){const Oo=(0,he.Tm)(ga,Object.assign(Object.assign({},ga.props),{onClick:()=>{}}));return ee.createElement(Ye.ZP,Object.assign({},So,{icon:Oo}))}return ee.createElement(Ye.ZP,Object.assign({},So),ee.createElement("span",null,ga))};ee.useImperativeHandle(jt,()=>({handlePreview:fo,handleDownload:Ma}));const{getPrefixCls:Ha}=ee.useContext(Xe.E_),na=Ha("upload",Ut),Ea=Ha(),Ja=Ge()(`${na}-list`,`${na}-list-${yt}`),Qa=(0,le.Z)(ra.map(ga=>({key:ga.uid,file:ga})));let no={motionDeadline:2e3,motionName:`${na}-${yt==="picture-card"||yt==="picture-circle"?"animate-inline":"animate"}`,keys:Qa,motionAppear:to};const lo=ee.useMemo(()=>{const ga=Object.assign({},(0,Se.Z)(Ea));return delete ga.onAppearEnd,delete ga.onEnterEnd,delete ga.onLeaveEnd,ga},[Ea]);return yt!=="picture-card"&&yt!=="picture-circle"&&(no=Object.assign(Object.assign({},lo),no)),ee.createElement("div",{className:Ja},ee.createElement(Oe.CSSMotionList,Object.assign({},no,{component:!1}),ga=>{let{key:Wa,file:Ia,className:oo,style:So}=ga;return ee.createElement($t,{key:Wa,locale:cn,prefixCls:na,className:oo,style:So,file:Ia,items:ra,progress:wn,listType:yt,isImgUrl:Xn,showPreviewIcon:ha,showRemoveIcon:Fa,showDownloadIcon:va,removeIcon:xn,previewIcon:Tn,downloadIcon:jn,iconRender:Ga,actionIconRender:za,itemRender:ca,onPreview:fo,onDownload:Ma,onClose:Oa})}),la&&ee.createElement(Oe.default,Object.assign({},no,{visible:Pa,forceRender:!0}),ga=>{let{className:Wa,style:Ia}=ga;return(0,he.Tm)(la,oo=>({className:Ge()(oo.className,Wa),style:Object.assign(Object.assign(Object.assign({},Ia),{pointerEvents:Wa?"none":void 0}),oo.style)}))}))};var At=ee.forwardRef(yn),xt=te(17313),Wt=te(8378),fn=te(83116),sn=te(37613),ot=et=>{const{componentCls:jt,iconCls:yt}=et;return{[`${jt}-wrapper`]:{[`${jt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:et.colorFillAlter,border:`${et.lineWidth}px dashed ${et.colorBorder}`,borderRadius:et.borderRadiusLG,cursor:"pointer",transition:`border-color ${et.motionDurationSlow}`,[jt]:{padding:`${et.padding}px 0`},[`${jt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${jt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${jt}-disabled):hover`]:{borderColor:et.colorPrimaryHover},[`p${jt}-drag-icon`]:{marginBottom:et.margin,[yt]:{color:et.colorPrimary,fontSize:et.uploadThumbnailSize}},[`p${jt}-text`]:{margin:`0 0 ${et.marginXXS}px`,color:et.colorTextHeading,fontSize:et.fontSizeLG},[`p${jt}-hint`]:{color:et.colorTextDescription,fontSize:et.fontSize},[`&${jt}-disabled`]:{cursor:"not-allowed",[`p${jt}-drag-icon ${yt},
|
|
p${jt}-text,
|
|
p${jt}-hint
|
|
`]:{color:et.colorTextDisabled}}}}}},an=et=>{const{componentCls:jt,antCls:yt,iconCls:qt,fontSize:dn,lineHeight:hn}=et,un=`${jt}-list-item`,cn=`${un}-actions`,Gn=`${un}-action`,Xn=Math.round(dn*hn);return{[`${jt}-wrapper`]:{[`${jt}-list`]:Object.assign(Object.assign({},(0,xt.dF)()),{lineHeight:et.lineHeight,[un]:{position:"relative",height:et.lineHeight*dn,marginTop:et.marginXS,fontSize:dn,display:"flex",alignItems:"center",transition:`background-color ${et.motionDurationSlow}`,"&:hover":{backgroundColor:et.controlItemBgHover},[`${un}-name`]:Object.assign(Object.assign({},xt.vS),{padding:`0 ${et.paddingXS}px`,lineHeight:hn,flex:"auto",transition:`all ${et.motionDurationSlow}`}),[cn]:{[Gn]:{opacity:0},[`${Gn}${yt}-btn-sm`]:{height:Xn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${Gn}:focus-visible,
|
|
&.picture ${Gn}
|
|
`]:{opacity:1},[qt]:{color:et.actionsColor,transition:`all ${et.motionDurationSlow}`},[`&:hover ${qt}`]:{color:et.colorText}},[`${jt}-icon ${qt}`]:{color:et.colorTextDescription,fontSize:dn},[`${un}-progress`]:{position:"absolute",bottom:-et.uploadProgressOffset,width:"100%",paddingInlineStart:dn+et.paddingXS,fontSize:dn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${un}:hover ${Gn}`]:{opacity:1,color:et.colorText},[`${un}-error`]:{color:et.colorError,[`${un}-name, ${jt}-icon ${qt}`]:{color:et.colorError},[cn]:{[`${qt}, ${qt}:hover`]:{color:et.colorError},[Gn]:{opacity:1}}},[`${jt}-list-item-container`]:{transition:`opacity ${et.motionDurationSlow}, height ${et.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},vn=te(93083),Pe=te(1950);const We=new vn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),it=new vn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ft=et=>{const{componentCls:jt}=et,yt=`${jt}-animate-inline`;return[{[`${jt}-wrapper`]:{[`${yt}-appear, ${yt}-enter, ${yt}-leave`]:{animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseInOutCirc,animationFillMode:"forwards"},[`${yt}-appear, ${yt}-enter`]:{animationName:We},[`${yt}-leave`]:{animationName:it}}},{[`${jt}-wrapper`]:(0,Pe.J$)(et)},We,it]},Xt=te(30071),bt=te(64993);const je=et=>{const{componentCls:jt,iconCls:yt,uploadThumbnailSize:qt,uploadProgressOffset:dn}=et,hn=`${jt}-list`,un=`${hn}-item`;return{[`${jt}-wrapper`]:{[`
|
|
${hn}${hn}-picture,
|
|
${hn}${hn}-picture-card,
|
|
${hn}${hn}-picture-circle
|
|
`]:{[un]:{position:"relative",height:qt+et.lineWidth*2+et.paddingXS*2,padding:et.paddingXS,border:`${et.lineWidth}px ${et.lineType} ${et.colorBorder}`,borderRadius:et.borderRadiusLG,"&:hover":{background:"transparent"},[`${un}-thumbnail`]:Object.assign(Object.assign({},xt.vS),{width:qt,height:qt,lineHeight:`${qt+et.paddingSM}px`,textAlign:"center",flex:"none",[yt]:{fontSize:et.fontSizeHeading2,color:et.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${un}-progress`]:{bottom:dn,width:`calc(100% - ${et.paddingSM*2}px)`,marginTop:0,paddingInlineStart:qt+et.paddingXS}},[`${un}-error`]:{borderColor:et.colorError,[`${un}-thumbnail ${yt}`]:{[`svg path[fill='${Xt.blue[0]}']`]:{fill:et.colorErrorBg},[`svg path[fill='${Xt.blue.primary}']`]:{fill:et.colorError}}},[`${un}-uploading`]:{borderStyle:"dashed",[`${un}-name`]:{marginBottom:dn}}},[`${hn}${hn}-picture-circle ${un}`]:{[`&, &::before, ${un}-thumbnail`]:{borderRadius:"50%"}}}}},Ke=et=>{const{componentCls:jt,iconCls:yt,fontSizeLG:qt,colorTextLightSolid:dn}=et,hn=`${jt}-list`,un=`${hn}-item`,cn=et.uploadPicCardSize;return{[`
|
|
${jt}-wrapper${jt}-picture-card-wrapper,
|
|
${jt}-wrapper${jt}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,xt.dF)()),{display:"inline-block",width:"100%",[`${jt}${jt}-select`]:{width:cn,height:cn,marginInlineEnd:et.marginXS,marginBottom:et.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:et.colorFillAlter,border:`${et.lineWidth}px dashed ${et.colorBorder}`,borderRadius:et.borderRadiusLG,cursor:"pointer",transition:`border-color ${et.motionDurationSlow}`,[`> ${jt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${jt}-disabled):hover`]:{borderColor:et.colorPrimary}},[`${hn}${hn}-picture-card, ${hn}${hn}-picture-circle`]:{[`${hn}-item-container`]:{display:"inline-block",width:cn,height:cn,marginBlock:`0 ${et.marginXS}px`,marginInline:`0 ${et.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[un]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${et.paddingXS*2}px)`,height:`calc(100% - ${et.paddingXS*2}px)`,backgroundColor:et.colorBgMask,opacity:0,transition:`all ${et.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 ${et.motionDurationSlow}`,[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{zIndex:10,width:qt,margin:`0 ${et.marginXXS}px`,fontSize:qt,cursor:"pointer",transition:`all ${et.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${un}-actions, ${un}-actions:hover`]:{[`${yt}-eye, ${yt}-download, ${yt}-delete`]:{color:new bt.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:et.margin,display:"block",width:`calc(100% - ${et.paddingXS*2}px)`},[`${un}-uploading`]:{[`&${un}`]:{backgroundColor:et.colorFillAlter},[`&::before, ${yt}-eye, ${yt}-download, ${yt}-delete`]:{display:"none"}},[`${un}-progress`]:{bottom:et.marginXL,width:`calc(100% - ${et.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${jt}-wrapper${jt}-picture-circle-wrapper`]:{[`${jt}${jt}-select`]:{borderRadius:"50%"}}}};var ut=et=>{const{componentCls:jt}=et;return{[`${jt}-rtl`]:{direction:"rtl"}}};const Ht=et=>{const{componentCls:jt,colorTextDisabled:yt}=et;return{[`${jt}-wrapper`]:Object.assign(Object.assign({},(0,xt.Wf)(et)),{[jt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${jt}-select`]:{display:"inline-block"},[`${jt}-disabled`]:{color:yt,cursor:"not-allowed"}})}};var Dt=(0,fn.Z)("Upload",et=>{const{fontSizeHeading3:jt,fontSize:yt,lineHeight:qt,lineWidth:dn,controlHeightLG:hn}=et,un=Math.round(yt*qt),cn=(0,sn.TS)(et,{uploadThumbnailSize:jt*2,uploadProgressOffset:un/2+dn,uploadPicCardSize:hn*2.55});return[Ht(cn),ot(cn),je(cn),Ke(cn),an(cn),Ft(cn),ut(cn),(0,Wt.Z)(cn)]},et=>({actionsColor:et.colorTextDescription})),pn=function(et,jt,yt,qt){function dn(hn){return hn instanceof yt?hn:new yt(function(un){un(hn)})}return new(yt||(yt=Promise))(function(hn,un){function cn(Ut){try{Xn(qt.next(Ut))}catch(ra){un(ra)}}function Gn(Ut){try{Xn(qt.throw(Ut))}catch(ra){un(ra)}}function Xn(Ut){Ut.done?hn(Ut.value):dn(Ut.value).then(cn,Gn)}Xn((qt=qt.apply(et,jt||[])).next())})};const mn=`__LIST_IGNORE_${Date.now()}__`,tn=(et,jt)=>{const{fileList:yt,defaultFileList:qt,onRemove:dn,showUploadList:hn=!0,listType:un="text",onPreview:cn,onDownload:Gn,onChange:Xn,onDrop:Ut,previewFile:ra,disabled:ha,locale:Fa,iconRender:va,isImageUrl:xn,progress:Tn,prefixCls:jn,className:wn,type:la="select",children:Pa,style:ca,itemRender:ea,maxCount:ya,data:to={},multiple:$a=!1,action:fo="",accept:Ma="",supportServerRender:Oa=!0,rootClassName:Ga}=et,za=ee.useContext(Ve.Z),Ha=ha!=null?ha:za,[na,Ea]=(0,ke.Z)(qt||[],{value:yt,postState:rn=>rn!=null?rn:[]}),[Ja,Qa]=ee.useState("drop"),Za=ee.useRef(null);ee.useMemo(()=>{const rn=Date.now();(yt||[]).forEach((Sn,Vn)=>{!Sn.uid&&!Object.isFrozen(Sn)&&(Sn.uid=`__AUTO__${rn}_${Vn}__`)})},[yt]);const no=(rn,Sn,Vn)=>{let Nn=(0,le.Z)(Sn),On=!1;ya===1?Nn=Nn.slice(-1):ya&&(On=Nn.length>ya,Nn=Nn.slice(0,ya)),(0,qe.flushSync)(()=>{Ea(Nn)});const Mn={file:rn,fileList:Nn};Vn&&(Mn.event=Vn),(!On||Nn.some(aa=>aa.uid===rn.uid))&&(0,qe.flushSync)(()=>{Xn==null||Xn(Mn)})},lo=(rn,Sn)=>pn(void 0,void 0,void 0,function*(){const{beforeUpload:Vn,transformFile:Nn}=et;let On=rn;if(Vn){const Mn=yield Vn(rn,Sn);if(Mn===!1)return!1;if(delete rn[mn],Mn===mn)return Object.defineProperty(rn,mn,{value:!0,configurable:!0}),!1;typeof Mn=="object"&&Mn&&(On=Mn)}return Nn&&(On=yield Nn(On)),On}),ga=rn=>{const Sn=rn.filter(On=>!On.file[mn]);if(!Sn.length)return;const Vn=Sn.map(On=>Ne(On.file));let Nn=(0,le.Z)(na);Vn.forEach(On=>{Nn=Ee(On,Nn)}),Vn.forEach((On,Mn)=>{let aa=On;if(Sn[Mn].parsedFile)On.status="uploading";else{const{originFileObj:Da}=On;let Xa;try{Xa=new File([Da],Da.name,{type:Da.type})}catch(_a){Xa=new Blob([Da],{type:Da.type}),Xa.name=Da.name,Xa.lastModifiedDate=new Date,Xa.lastModified=new Date().getTime()}Xa.uid=On.uid,aa=Xa}no(aa,Nn)})},Wa=(rn,Sn,Vn)=>{try{typeof rn=="string"&&(rn=JSON.parse(rn))}catch(Mn){}if(!tt(Sn,na))return;const Nn=Ne(Sn);Nn.status="done",Nn.percent=100,Nn.response=rn,Nn.xhr=Vn;const On=Ee(Nn,na);no(Nn,On)},Ia=(rn,Sn)=>{if(!tt(Sn,na))return;const Vn=Ne(Sn);Vn.status="uploading",Vn.percent=rn.percent;const Nn=Ee(Vn,na);no(Vn,Nn,rn)},oo=(rn,Sn,Vn)=>{if(!tt(Vn,na))return;const Nn=Ne(Vn);Nn.error=rn,Nn.response=Sn,Nn.status="error";const On=Ee(Nn,na);no(Nn,On)},So=rn=>{let Sn;Promise.resolve(typeof dn=="function"?dn(rn):dn).then(Vn=>{var Nn;if(Vn===!1)return;const On=_t(rn,na);On&&(Sn=Object.assign(Object.assign({},rn),{status:"removed"}),na==null||na.forEach(Mn=>{const aa=Sn.uid!==void 0?"uid":"name";Mn[aa]===Sn[aa]&&!Object.isFrozen(Mn)&&(Mn.status="removed")}),(Nn=Za.current)===null||Nn===void 0||Nn.abort(Sn),no(Sn,On))})},Oo=rn=>{Qa(rn.type),rn.type==="drop"&&(Ut==null||Ut(rn))};ee.useImperativeHandle(jt,()=>({onBatchStart:ga,onSuccess:Wa,onProgress:Ia,onError:oo,fileList:na,upload:Za.current}));const{getPrefixCls:Jo,direction:zo,upload:mo}=ee.useContext(Xe.E_),po=Jo("upload",jn),Bo=Object.assign(Object.assign({onBatchStart:ga,onError:oo,onProgress:Ia,onSuccess:Wa},et),{data:to,multiple:$a,action:fo,accept:Ma,supportServerRender:Oa,prefixCls:po,disabled:Ha,beforeUpload:lo,onChange:void 0});delete Bo.className,delete Bo.style,(!Pa||Ha)&&delete Bo.id;const[tr,jo]=Dt(po),[qo]=(0,kt.Z)("Upload",st.Z.Upload),{showRemoveIcon:ia,showPreviewIcon:kn,showDownloadIcon:In,removeIcon:Kn,previewIcon:Aa,downloadIcon:fe}=typeof hn=="boolean"?{}:hn,Mt=(rn,Sn)=>hn?ee.createElement(At,{prefixCls:po,listType:un,items:na,previewFile:ra,onPreview:cn,onDownload:Gn,onRemove:So,showRemoveIcon:!Ha&&ia,showPreviewIcon:kn,showDownloadIcon:In,removeIcon:Kn,previewIcon:Aa,downloadIcon:fe,iconRender:va,locale:Object.assign(Object.assign({},qo),Fa),isImageUrl:xn,progress:Tn,appendAction:rn,appendActionVisible:Sn,itemRender:ea,disabled:Ha}):rn,en=Ge()(`${po}-wrapper`,wn,Ga,jo,mo==null?void 0:mo.className,{[`${po}-rtl`]:zo==="rtl",[`${po}-picture-card-wrapper`]:un==="picture-card",[`${po}-picture-circle-wrapper`]:un==="picture-circle"}),En=Object.assign(Object.assign({},mo==null?void 0:mo.style),ca);if(la==="drag"){const rn=Ge()(jo,po,`${po}-drag`,{[`${po}-drag-uploading`]:na.some(Sn=>Sn.status==="uploading"),[`${po}-drag-hover`]:Ja==="dragover",[`${po}-disabled`]:Ha,[`${po}-rtl`]:zo==="rtl"});return tr(ee.createElement("span",{className:en},ee.createElement("div",{className:rn,style:En,onDrop:Oo,onDragOver:Oo,onDragLeave:Oo},ee.createElement(ye,Object.assign({},Bo,{ref:Za,className:`${po}-btn`}),ee.createElement("div",{className:`${po}-drag-container`},Pa))),Mt()))}const It=Ge()(po,`${po}-select`,{[`${po}-disabled`]:Ha}),An=(rn=>ee.createElement("div",{className:It,style:rn},ee.createElement(ye,Object.assign({},Bo,{ref:Za}))))(Pa?void 0:{display:"none"});return tr(un==="picture-card"||un==="picture-circle"?ee.createElement("span",{className:en},Mt(An,!!Pa)):ee.createElement("span",{className:en},An,Mt()))};var Qn=ee.forwardRef(tn),ln=function(et,jt){var yt={};for(var qt in et)Object.prototype.hasOwnProperty.call(et,qt)&&jt.indexOf(qt)<0&&(yt[qt]=et[qt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,qt=Object.getOwnPropertySymbols(et);dn<qt.length;dn++)jt.indexOf(qt[dn])<0&&Object.prototype.propertyIsEnumerable.call(et,qt[dn])&&(yt[qt[dn]]=et[qt[dn]]);return yt},qn=ee.forwardRef((et,jt)=>{var{style:yt,height:qt}=et,dn=ln(et,["style","height"]);return ee.createElement(Qn,Object.assign({ref:jt},dn,{type:"drag",style:Object.assign(Object.assign({},yt),{height:qt})}))});const ua=Qn;ua.Dragger=qn,ua.LIST_IGNORE=mn;var ta=ua},24334:function(Bt,Tt,te){var ee,le;(function(Be,Ge){Bt.exports=Ge(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Be){"use strict";Be=Be||{};var Ge=Be.Base64,Ce="2.6.4",Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(De){for(var Qe={},ye=0,ke=De.length;ye<ke;ye++)Qe[De.charAt(ye)]=ye;return Qe}(Fe),$e=String.fromCharCode,Ue=function(De){if(De.length<2){var Qe=De.charCodeAt(0);return Qe<128?De:Qe<2048?$e(192|Qe>>>6)+$e(128|Qe&63):$e(224|Qe>>>12&15)+$e(128|Qe>>>6&63)+$e(128|Qe&63)}else{var Qe=65536+(De.charCodeAt(0)-55296)*1024+(De.charCodeAt(1)-56320);return $e(240|Qe>>>18&7)+$e(128|Qe>>>12&63)+$e(128|Qe>>>6&63)+$e(128|Qe&63)}},ze=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_e=function(De){return De.replace(ze,Ue)},vt=function(De){var Qe=[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),Qe>=2?"=":Fe.charAt(ye>>>6&63),Qe>=1?"=":Fe.charAt(ye&63)];return ke.join("")},Te=Be.btoa&&typeof Be.btoa=="function"?function(De){return Be.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,vt)},oe=function(De){return Te(_e(String(De)))},y=function(De){return De.replace(/[+\/]/g,function(Qe){return Qe=="+"?"-":"_"}).replace(/=/g,"")},a=function(De,Qe){return Qe?y(oe(De)):oe(De)},b=function(De){return a(De,!0)},E;Be.Uint8Array&&(E=function(De,Qe){for(var ye="",ke=0,qe=De.length;ke<qe;ke+=3){var Xe=De[ke],Ve=De[ke+1],kt=De[ke+2],st=Xe<<16|Ve<<8|kt;ye+=Fe.charAt(st>>>18)+Fe.charAt(st>>>12&63)+(typeof Ve!="undefined"?Fe.charAt(st>>>6&63):"=")+(typeof kt!="undefined"?Fe.charAt(st&63):"=")}return Qe?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 Qe=(7&De.charCodeAt(0))<<18|(63&De.charCodeAt(1))<<12|(63&De.charCodeAt(2))<<6|63&De.charCodeAt(3),ye=Qe-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 Qe=De.length,ye=Qe%4,ke=(Qe>0?re[De.charAt(0)]<<18:0)|(Qe>1?re[De.charAt(1)]<<12:0)|(Qe>2?re[De.charAt(2)]<<6:0)|(Qe>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("")},ie=Be.atob&&typeof Be.atob=="function"?function(De){return Be.atob(De)}:function(De){return De.replace(/\S{1,4}/g,ae)},de=function(De){return ie(String(De).replace(/[^A-Za-z0-9\+\/]/g,""))},ge=function(De){return ne(ie(De))},xe=function(De){return String(De).replace(/[-_]/g,function(Qe){return Qe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},pe=function(De){return ge(xe(De))},we;Be.Uint8Array&&(we=function(De){return Uint8Array.from(de(xe(De)),function(Qe){return Qe.charCodeAt(0)})});var ue=function(){var De=Be.Base64;return Be.Base64=Ge,De};if(Be.Base64={VERSION:Ce,atob:de,btoa:Te,fromBase64:pe,toBase64:a,utob:_e,encode:a,encodeURI:b,btou:ne,decode:pe,noConflict:ue,fromUint8Array:E,toUint8Array:we},typeof Object.defineProperty=="function"){var nt=function(De){return{value:De,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",nt(function(){return pe(this)})),Object.defineProperty(String.prototype,"toBase64",nt(function(De){return a(this,De)})),Object.defineProperty(String.prototype,"toBase64URI",nt(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Bt.exports?Bt.exports.Base64=Be.Base64:(ee=[],le=function(){return Be.Base64}.apply(Tt,ee),le!==void 0&&(Bt.exports=le)),{Base64:Be.Base64}})},39417:function(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return ge}});var ee=te(14809),le=te(4635),Be=te(62646),Ge=te(20439),Ce=te(99153),Fe=te(84851),re=te(13028),$e=te(19257),Ue=te(93046),ze=te(92310),_e=te.n(ze),vt=te(26112),Te=te(59301),oe=te(39378),y=function(pe){for(var we=pe.prefixCls,ue=pe.level,nt=pe.isStart,De=pe.isEnd,Qe="".concat(we,"-indent-unit"),ye=[],ke=0;ke<ue;ke+=1){var qe;ye.push(Te.createElement("span",{key:ke,className:_e()(Qe,(qe={},(0,le.Z)(qe,"".concat(Qe,"-start"),nt[ke]),(0,le.Z)(qe,"".concat(Qe,"-end"),De[ke]),qe))}))}return Te.createElement("span",{"aria-hidden":"true",className:"".concat(we,"-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="---",ie=function(xe){(0,$e.Z)(we,xe);var pe=(0,Ue.Z)(we);function we(){var ue;(0,Ce.Z)(this,we);for(var nt=arguments.length,De=new Array(nt),Qe=0;Qe<nt;Qe++)De[Qe]=arguments[Qe];return ue=pe.call.apply(pe,[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,st=Ve.onNodeLoad;qe||kt&&ke&&!ue.isLeaf()&&!ue.hasChildren()&&!Xe&&st((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:_e()("".concat(ke,"-switcher"),"".concat(ke,"-switcher-noop"))},qe):null}var Xe=_e()("".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(),st=ue.isCheckable();if(!st)return null;var Nt=typeof st!="boolean"?st:null;return Te.createElement("span",{className:_e()("".concat(Ve,"-checkbox"),ke&&"".concat(Ve,"-checkbox-checked"),!ke&&qe&&"".concat(Ve,"-checkbox-indeterminate"),(kt||Xe)&&"".concat(Ve,"-checkbox-disabled")),onClick:ue.onCheck},Nt)},ue.renderIcon=function(){var ye=ue.props.loading,ke=ue.props.context.prefixCls;return Te.createElement("span",{className:_e()("".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,st=ke.loading,Nt=ke.data,Zt=ue.props.context,Me=Zt.prefixCls,Ze=Zt.showIcon,Et=Zt.icon,Gt=Zt.loadData,pt=Zt.titleRender,Kt=ue.isDisabled(),Le="".concat(Me,"-node-content-wrapper"),Qt;if(Ze){var Pn=kt||Et;Qt=Pn?Te.createElement("span",{className:_e()("".concat(Me,"-iconEle"),"".concat(Me,"-icon__customize"))},typeof Pn=="function"?Pn(ue.props):Pn):ue.renderIcon()}else Gt&&st&&(Qt=ue.renderIcon());var St;typeof Xe=="function"?St=Xe(Nt):pt?St=pt(Nt):St=Xe;var dt=Te.createElement("span",{className:"".concat(Me,"-title")},St);return Te.createElement("span",{ref:ue.setSelectHandle,title:typeof Xe=="string"?Xe:"",className:_e()("".concat(Le),"".concat(Le,"-").concat(ue.getNodeState()||"normal"),!Kt&&(Ve||ye)&&"".concat(Me,"-node-selected")),onMouseEnter:ue.onMouseEnter,onMouseLeave:ue.onMouseLeave,onContextMenu:ue.onContextMenu,onClick:ue.onSelectorClick,onDoubleClick:ue.onSelectorDoubleClick},Qt,dt,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,st=Xe.dropPosition,Nt=Xe.prefixCls,Zt=Xe.indent,Me=Xe.dropIndicatorRender,Ze=Xe.dragOverNodeKey,Et=Xe.direction,Gt=!!Ve,pt=!ke&&Gt&&Ze===qe,Kt=Zt!=null?Zt:ue.cacheIndent;return ue.cacheIndent=Zt,pt?Me({dropPosition:st,dropLevelOffset:kt,indent:Kt,prefixCls:Nt,direction:Et}):null},ue}return(0,Fe.Z)(we,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var nt=this.props.selectable,De=this.props.context.selectable;return typeof nt=="boolean"?nt:De}},{key:"render",value:function(){var nt,De=this.props,Qe=De.eventKey,ye=De.className,ke=De.style,qe=De.dragOver,Xe=De.dragOverGapTop,Ve=De.dragOverGapBottom,kt=De.isLeaf,st=De.isStart,Nt=De.isEnd,Zt=De.expanded,Me=De.selected,Ze=De.checked,Et=De.halfChecked,Gt=De.loading,pt=De.domRef,Kt=De.active,Le=De.data,Qt=De.onMouseMove,Pn=De.selectable,St=(0,Be.Z)(De,x),dt=this.props.context,Je=dt.prefixCls,Re=dt.filterTreeNode,ve=dt.keyEntities,se=dt.dropContainerKey,Oe=dt.dropTargetKey,gt=dt.draggingNodeKey,Se=this.isDisabled(),he=(0,vt.Z)(St,{aria:!0,data:!0}),Ye=(0,b.Z)(ve,Qe)||{},Ne=Ye.level,Ee=Nt[Nt.length-1],tt=this.isDraggable(),_t=!Se&&tt,ft=gt===Qe,zt=Pn!==void 0?{"aria-selected":!!Pn}:void 0;return Te.createElement("div",(0,ee.Z)({ref:pt,className:_e()(ye,"".concat(Je,"-treenode"),(nt={},(0,le.Z)(nt,"".concat(Je,"-treenode-disabled"),Se),(0,le.Z)(nt,"".concat(Je,"-treenode-switcher-").concat(Zt?"open":"close"),!kt),(0,le.Z)(nt,"".concat(Je,"-treenode-checkbox-checked"),Ze),(0,le.Z)(nt,"".concat(Je,"-treenode-checkbox-indeterminate"),Et),(0,le.Z)(nt,"".concat(Je,"-treenode-selected"),Me),(0,le.Z)(nt,"".concat(Je,"-treenode-loading"),Gt),(0,le.Z)(nt,"".concat(Je,"-treenode-active"),Kt),(0,le.Z)(nt,"".concat(Je,"-treenode-leaf-last"),Ee),(0,le.Z)(nt,"".concat(Je,"-treenode-draggable"),tt),(0,le.Z)(nt,"dragging",ft),(0,le.Z)(nt,"drop-target",Oe===Qe),(0,le.Z)(nt,"drop-container",se===Qe),(0,le.Z)(nt,"drag-over",!Se&&qe),(0,le.Z)(nt,"drag-over-gap-top",!Se&&Xe),(0,le.Z)(nt,"drag-over-gap-bottom",!Se&&Ve),(0,le.Z)(nt,"filter-node",Re&&Re((0,E.F)(this.props))),nt)),style:ke,draggable:_t,"aria-grabbed":ft,onDragStart:_t?this.onDragStart:void 0,onDragEnter:tt?this.onDragEnter:void 0,onDragOver:tt?this.onDragOver:void 0,onDragLeave:tt?this.onDragLeave:void 0,onDrop:tt?this.onDrop:void 0,onDragEnd:tt?this.onDragEnd:void 0,onMouseMove:Qt},zt,he),Te.createElement(a,{prefixCls:Je,level:Ne,isStart:st,isEnd:Nt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),we}(Te.Component),de=function(pe){return Te.createElement(oe.k.Consumer,null,function(we){return Te.createElement(ie,(0,ee.Z)({},pe,{context:we}))})};de.displayName="TreeNode",de.isTreeNode=1;var ge=de},39378:function(Bt,Tt,te){"use strict";te.d(Tt,{k:function(){return le}});var ee=te(59301),le=ee.createContext(null)},79556:function(Bt,Tt,te){"use strict";te.d(Tt,{O:function(){return ge.Z},Z:function(){return dt}});var ee=te(14809),le=te(4635),Be=te(93664),Ge=te(20439),Ce=te(95190),Fe=te(99153),re=te(84851),$e=te(13028),Ue=te(19257),ze=te(93046),_e=te(92310),vt=te.n(_e),Te=te(10228),oe=te(26112),y=te(48736),a=te(59301),b=te(39378);function E(Je){var Re=Je.dropPosition,ve=Je.dropLevelOffset,se=Je.indent,Oe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Re){case-1:Oe.top=0,Oe.left=-ve*se;break;case 1:Oe.bottom=0,Oe.left=-ve*se;break;case 0:Oe.bottom=0,Oe.left=se;break}return a.createElement("div",{style:Oe})}function x(Je){if(Je==null)throw new TypeError("Cannot destructure "+Je)}var z=te(50298),ne=te(62646),ae=te(34280),ie=te(6790),de=te(77900),ge=te(39417);function xe(Je,Re){var ve=a.useState(!1),se=(0,z.Z)(ve,2),Oe=se[0],gt=se[1];a.useLayoutEffect(function(){if(Oe)return Je(),function(){Re()}},[Oe]),a.useLayoutEffect(function(){return gt(!0),function(){gt(!1)}},[])}var pe=te(71430),we=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ue=function(Re,ve){var se=Re.className,Oe=Re.style,gt=Re.motion,Se=Re.motionNodes,he=Re.motionType,Ye=Re.onMotionStart,Ne=Re.onMotionEnd,Ee=Re.active,tt=Re.treeNodeRequiredProps,_t=(0,ne.Z)(Re,we),ft=a.useState(!0),zt=(0,z.Z)(ft,2),Ot=zt[0],Vt=zt[1],be=a.useContext(b.k),lt=be.prefixCls,ht=Se&&he!=="hide";(0,ae.Z)(function(){Se&&ht!==Ot&&Vt(ht)},[Se]);var mt=function(){Se&&Ye()},Rt=a.useRef(!1),Jt=function(){Se&&!Rt.current&&(Rt.current=!0,Ne())};xe(mt,Jt);var on=function(yn){ht===yn&&Jt()};return Se?a.createElement(de.default,(0,ee.Z)({ref:ve,visible:Ot},gt,{motionAppear:he==="show",onVisibleChanged:on}),function($t,yn){var Dn=$t.className,At=$t.style;return a.createElement("div",{ref:yn,className:vt()("".concat(lt,"-treenode-motion"),Dn),style:At},Se.map(function(xt){var Wt=(0,ee.Z)({},(x(xt.data),xt.data)),fn=xt.title,sn=xt.key,Rn=xt.isStart,ot=xt.isEnd;delete Wt.children;var Pt=(0,pe.H8)(sn,tt);return a.createElement(ge.Z,(0,ee.Z)({},Wt,Pt,{title:fn,active:Ee,data:xt.data,key:sn,isStart:Rn,isEnd:ot}))}))}):a.createElement(ge.Z,(0,ee.Z)({domRef:ve,className:se,style:Oe},_t,{active:Ee}))};ue.displayName="MotionTreeNode";var nt=a.forwardRef(ue),De=nt;function Qe(){var Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=Je.length,se=Re.length;if(Math.abs(ve-se)!==1)return{add:!1,key:null};function Oe(gt,Se){var he=new Map;gt.forEach(function(Ne){he.set(Ne,!0)});var Ye=Se.filter(function(Ne){return!he.has(Ne)});return Ye.length===1?Ye[0]:null}return ve<se?{add:!0,key:Oe(Je,Re)}:{add:!1,key:Oe(Re,Je)}}function ye(Je,Re,ve){var se=Je.findIndex(function(he){return he.key===ve}),Oe=Je[se+1],gt=Re.findIndex(function(he){return he.key===ve});if(Oe){var Se=Re.findIndex(function(he){return he.key===Oe.key});return Re.slice(gt+1,Se)}return Re.slice(gt+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},st={key:Ve,level:0,index:0,pos:"0",node:kt,nodes:[kt]},Nt={parent:null,children:[],pos:st.pos,data:kt,title:null,key:Ve,isStart:[],isEnd:[]};function Zt(Je,Re,ve,se){return Re===!1||!ve?Je:Je.slice(0,Math.ceil(ve/se)+1)}function Me(Je){var Re=Je.key,ve=Je.pos;return(0,pe.km)(Re,ve)}function Ze(Je){for(var Re=String(Je.data.key),ve=Je;ve.parent;)ve=ve.parent,Re="".concat(ve.data.key," > ").concat(Re);return Re}var Et=a.forwardRef(function(Je,Re){var ve=Je.prefixCls,se=Je.data,Oe=Je.selectable,gt=Je.checkable,Se=Je.expandedKeys,he=Je.selectedKeys,Ye=Je.checkedKeys,Ne=Je.loadedKeys,Ee=Je.loadingKeys,tt=Je.halfCheckedKeys,_t=Je.keyEntities,ft=Je.disabled,zt=Je.dragging,Ot=Je.dragOverNodeKey,Vt=Je.dropPosition,be=Je.motion,lt=Je.height,ht=Je.itemHeight,mt=Je.virtual,Rt=Je.focusable,Jt=Je.activeItem,on=Je.focused,$t=Je.tabIndex,yn=Je.onKeyDown,Dn=Je.onFocus,At=Je.onBlur,xt=Je.onActiveChange,Wt=Je.onListChangeStart,fn=Je.onListChangeEnd,sn=(0,ne.Z)(Je,ke),Rn=a.useRef(null),ot=a.useRef(null);a.useImperativeHandle(Re,function(){return{scrollTo:function(ta){Rn.current.scrollTo(ta)},getIndentWidth:function(){return ot.current.offsetWidth}}});var Pt=a.useState(Se),an=(0,z.Z)(Pt,2),vn=an[0],Pe=an[1],We=a.useState(se),it=(0,z.Z)(We,2),ct=it[0],Ft=it[1],Xt=a.useState(se),bt=(0,z.Z)(Xt,2),je=bt[0],Ke=bt[1],Ie=a.useState([]),ut=(0,z.Z)(Ie,2),Ht=ut[0],Dt=ut[1],pn=a.useState(null),mn=(0,z.Z)(pn,2),tn=mn[0],Cn=mn[1],Qn=a.useRef(se);Qn.current=se;function ln(){var ua=Qn.current;Ft(ua),Ke(ua),Dt([]),Cn(null),fn()}(0,ae.Z)(function(){Pe(Se);var ua=Qe(vn,Se);if(ua.key!==null)if(ua.add){var ta=ct.findIndex(function(hn){var un=hn.key;return un===ua.key}),et=Zt(ye(ct,se,ua.key),mt,lt,ht),jt=ct.slice();jt.splice(ta+1,0,Nt),Ke(jt),Dt(et),Cn("show")}else{var yt=se.findIndex(function(hn){var un=hn.key;return un===ua.key}),qt=Zt(ye(se,ct,ua.key),mt,lt,ht),dn=se.slice();dn.splice(yt+1,0,Nt),Ke(dn),Dt(qt),Cn("hide")}else ct!==se&&(Ft(se),Ke(se))},[Se,se]),a.useEffect(function(){zt||ln()},[zt]);var Hn=be?je:se,qn={expandedKeys:Se,selectedKeys:he,loadedKeys:Ne,loadingKeys:Ee,checkedKeys:Ye,halfCheckedKeys:tt,dragOverNodeKey:Ot,dropPosition:Vt,keyEntities:_t};return a.createElement(a.Fragment,null,on&&Jt&&a.createElement("span",{style:qe,"aria-live":"assertive"},Ze(Jt)),a.createElement("div",null,a.createElement("input",{style:qe,disabled:Rt===!1||ft,tabIndex:Rt!==!1?$t:null,onKeyDown:yn,onFocus:Dn,onBlur:At,value:"",onChange:Xe,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(ve,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(ve,"-indent")},a.createElement("div",{ref:ot,className:"".concat(ve,"-indent-unit")}))),a.createElement(ie.Z,(0,ee.Z)({},sn,{data:Hn,itemKey:Me,height:lt,fullHeight:!1,virtual:mt,itemHeight:ht,prefixCls:"".concat(ve,"-list"),ref:Rn,onVisibleChange:function(ta,et){var jt=new Set(ta),yt=et.filter(function(qt){return!jt.has(qt)});yt.some(function(qt){return Me(qt)===Ve})&&ln()}}),function(ua){var ta=ua.pos,et=(0,ee.Z)({},(x(ua.data),ua.data)),jt=ua.title,yt=ua.key,qt=ua.isStart,dn=ua.isEnd,hn=(0,pe.km)(yt,ta);delete et.key,delete et.children;var un=(0,pe.H8)(hn,qn);return a.createElement(De,(0,ee.Z)({},et,un,{title:jt,active:!!Jt&&yt===Jt.key,pos:ta,data:ua.data,isStart:qt,isEnd:dn,motion:be,motionNodes:yt===Ve?Ht:null,motionType:tn,onMotionStart:Wt,onMotionEnd:ln,treeNodeRequiredProps:qn,onMouseMove:function(){xt(null)}}))}))});Et.displayName="NodeList";var Gt=Et,pt=te(35654),Kt=te(90782),Le=te(67841),Qt=10,Pn=function(Je){(0,Ue.Z)(ve,Je);var Re=(0,ze.Z)(ve);function ve(){var se;(0,Fe.Z)(this,ve);for(var Oe=arguments.length,gt=new Array(Oe),Se=0;Se<Oe;Se++)gt[Se]=arguments[Se];return se=Re.call.apply(Re,[this].concat(gt)),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,pe.w$)()},se.dragStartMousePosition=null,se.dragNode=void 0,se.currentMouseOverDroppableNodeKey=null,se.listRef=a.createRef(),se.onNodeDragStart=function(he,Ye){var Ne=se.state,Ee=Ne.expandedKeys,tt=Ne.keyEntities,_t=se.props.onDragStart,ft=Ye.props.eventKey;se.dragNode=Ye,se.dragStartMousePosition={x:he.clientX,y:he.clientY};var zt=(0,pt._5)(Ee,ft);se.setState({draggingNodeKey:ft,dragChildrenKeys:(0,pt.wA)(ft,tt),indent:se.listRef.current.getIndentWidth()}),se.setExpandedKeys(zt),window.addEventListener("dragend",se.onWindowDragEnd),_t==null||_t({event:he,node:(0,pe.F)(Ye.props)})},se.onNodeDragEnter=function(he,Ye){var Ne=se.state,Ee=Ne.expandedKeys,tt=Ne.keyEntities,_t=Ne.dragChildrenKeys,ft=Ne.flattenNodes,zt=Ne.indent,Ot=se.props,Vt=Ot.onDragEnter,be=Ot.onExpand,lt=Ot.allowDrop,ht=Ot.direction,mt=Ye.props,Rt=mt.pos,Jt=mt.eventKey,on=(0,$e.Z)(se),$t=on.dragNode;if(se.currentMouseOverDroppableNodeKey!==Jt&&(se.currentMouseOverDroppableNodeKey=Jt),!$t){se.resetDragState();return}var yn=(0,pt.OM)(he,$t,Ye,zt,se.dragStartMousePosition,lt,ft,tt,Ee,ht),Dn=yn.dropPosition,At=yn.dropLevelOffset,xt=yn.dropTargetKey,Wt=yn.dropContainerKey,fn=yn.dropTargetPos,sn=yn.dropAllowed,Rn=yn.dragOverNodeKey;if(_t.indexOf(xt)!==-1||!sn){se.resetDragState();return}if(se.delayedDragEnterLogic||(se.delayedDragEnterLogic={}),Object.keys(se.delayedDragEnterLogic).forEach(function(ot){clearTimeout(se.delayedDragEnterLogic[ot])}),$t.props.eventKey!==Ye.props.eventKey&&(he.persist(),se.delayedDragEnterLogic[Rt]=window.setTimeout(function(){if(se.state.draggingNodeKey!==null){var ot=(0,Ce.Z)(Ee),Pt=(0,Le.Z)(tt,Ye.props.eventKey);Pt&&(Pt.children||[]).length&&(ot=(0,pt.L0)(Ee,Ye.props.eventKey)),"expandedKeys"in se.props||se.setExpandedKeys(ot),be==null||be(ot,{node:(0,pe.F)(Ye.props),expanded:!0,nativeEvent:he.nativeEvent})}},800)),$t.props.eventKey===xt&&At===0){se.resetDragState();return}se.setState({dragOverNodeKey:Rn,dropPosition:Dn,dropLevelOffset:At,dropTargetKey:xt,dropContainerKey:Wt,dropTargetPos:fn,dropAllowed:sn}),Vt==null||Vt({event:he,node:(0,pe.F)(Ye.props),expandedKeys:Ee})},se.onNodeDragOver=function(he,Ye){var Ne=se.state,Ee=Ne.dragChildrenKeys,tt=Ne.flattenNodes,_t=Ne.keyEntities,ft=Ne.expandedKeys,zt=Ne.indent,Ot=se.props,Vt=Ot.onDragOver,be=Ot.allowDrop,lt=Ot.direction,ht=(0,$e.Z)(se),mt=ht.dragNode;if(mt){var Rt=(0,pt.OM)(he,mt,Ye,zt,se.dragStartMousePosition,be,tt,_t,ft,lt),Jt=Rt.dropPosition,on=Rt.dropLevelOffset,$t=Rt.dropTargetKey,yn=Rt.dropContainerKey,Dn=Rt.dropAllowed,At=Rt.dropTargetPos,xt=Rt.dragOverNodeKey;Ee.indexOf($t)!==-1||!Dn||(mt.props.eventKey===$t&&on===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():Jt===se.state.dropPosition&&on===se.state.dropLevelOffset&&$t===se.state.dropTargetKey&&yn===se.state.dropContainerKey&&At===se.state.dropTargetPos&&Dn===se.state.dropAllowed&&xt===se.state.dragOverNodeKey||se.setState({dropPosition:Jt,dropLevelOffset:on,dropTargetKey:$t,dropContainerKey:yn,dropTargetPos:At,dropAllowed:Dn,dragOverNodeKey:xt}),Vt==null||Vt({event:he,node:(0,pe.F)(Ye.props)}))}},se.onNodeDragLeave=function(he,Ye){se.currentMouseOverDroppableNodeKey===Ye.props.eventKey&&!he.currentTarget.contains(he.relatedTarget)&&(se.resetDragState(),se.currentMouseOverDroppableNodeKey=null);var Ne=se.props.onDragLeave;Ne==null||Ne({event:he,node:(0,pe.F)(Ye.props)})},se.onWindowDragEnd=function(he){se.onNodeDragEnd(he,null,!0),window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDragEnd=function(he,Ye){var Ne=se.props.onDragEnd;se.setState({dragOverNodeKey:null}),se.cleanDragState(),Ne==null||Ne({event:he,node:(0,pe.F)(Ye.props)}),se.dragNode=null,window.removeEventListener("dragend",se.onWindowDragEnd)},se.onNodeDrop=function(he,Ye){var Ne,Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,tt=se.state,_t=tt.dragChildrenKeys,ft=tt.dropPosition,zt=tt.dropTargetKey,Ot=tt.dropTargetPos,Vt=tt.dropAllowed;if(Vt){var be=se.props.onDrop;if(se.setState({dragOverNodeKey:null}),se.cleanDragState(),zt!==null){var lt=(0,Ge.Z)((0,Ge.Z)({},(0,pe.H8)(zt,se.getTreeNodeRequiredProps())),{},{active:((Ne=se.getActiveItem())===null||Ne===void 0?void 0:Ne.key)===zt,data:(0,Le.Z)(se.state.keyEntities,zt).node}),ht=_t.indexOf(zt)!==-1;(0,y.ZP)(!ht,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var mt=(0,pt.yx)(Ot),Rt={event:he,node:(0,pe.F)(lt),dragNode:se.dragNode?(0,pe.F)(se.dragNode.props):null,dragNodesKeys:[se.dragNode.props.eventKey].concat(_t),dropToGap:ft!==0,dropPosition:ft+Number(mt[mt.length-1])};Ee||be==null||be(Rt),se.dragNode=null}}},se.cleanDragState=function(){var he=se.state.draggingNodeKey;he!==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(he,Ye){var Ne=se.state,Ee=Ne.expandedKeys,tt=Ne.flattenNodes,_t=Ye.expanded,ft=Ye.key,zt=Ye.isLeaf;if(!(zt||he.shiftKey||he.metaKey||he.ctrlKey)){var Ot=tt.filter(function(be){return be.key===ft})[0],Vt=(0,pe.F)((0,Ge.Z)((0,Ge.Z)({},(0,pe.H8)(ft,se.getTreeNodeRequiredProps())),{},{data:Ot.data}));se.setExpandedKeys(_t?(0,pt._5)(Ee,ft):(0,pt.L0)(Ee,ft)),se.onNodeExpand(he,Vt)}},se.onNodeClick=function(he,Ye){var Ne=se.props,Ee=Ne.onClick,tt=Ne.expandAction;tt==="click"&&se.triggerExpandActionExpand(he,Ye),Ee==null||Ee(he,Ye)},se.onNodeDoubleClick=function(he,Ye){var Ne=se.props,Ee=Ne.onDoubleClick,tt=Ne.expandAction;tt==="doubleClick"&&se.triggerExpandActionExpand(he,Ye),Ee==null||Ee(he,Ye)},se.onNodeSelect=function(he,Ye){var Ne=se.state.selectedKeys,Ee=se.state,tt=Ee.keyEntities,_t=Ee.fieldNames,ft=se.props,zt=ft.onSelect,Ot=ft.multiple,Vt=Ye.selected,be=Ye[_t.key],lt=!Vt;lt?Ot?Ne=(0,pt.L0)(Ne,be):Ne=[be]:Ne=(0,pt._5)(Ne,be);var ht=Ne.map(function(mt){var Rt=(0,Le.Z)(tt,mt);return Rt?Rt.node:null}).filter(function(mt){return mt});se.setUncontrolledState({selectedKeys:Ne}),zt==null||zt(Ne,{event:"select",selected:lt,node:Ye,selectedNodes:ht,nativeEvent:he.nativeEvent})},se.onNodeCheck=function(he,Ye,Ne){var Ee=se.state,tt=Ee.keyEntities,_t=Ee.checkedKeys,ft=Ee.halfCheckedKeys,zt=se.props,Ot=zt.checkStrictly,Vt=zt.onCheck,be=Ye.key,lt,ht={event:"check",node:Ye,checked:Ne,nativeEvent:he.nativeEvent};if(Ot){var mt=Ne?(0,pt.L0)(_t,be):(0,pt._5)(_t,be),Rt=(0,pt._5)(ft,be);lt={checked:mt,halfChecked:Rt},ht.checkedNodes=mt.map(function(At){return(0,Le.Z)(tt,At)}).filter(function(At){return At}).map(function(At){return At.node}),se.setUncontrolledState({checkedKeys:mt})}else{var Jt=(0,Kt.S)([].concat((0,Ce.Z)(_t),[be]),!0,tt),on=Jt.checkedKeys,$t=Jt.halfCheckedKeys;if(!Ne){var yn=new Set(on);yn.delete(be);var Dn=(0,Kt.S)(Array.from(yn),{checked:!1,halfCheckedKeys:$t},tt);on=Dn.checkedKeys,$t=Dn.halfCheckedKeys}lt=on,ht.checkedNodes=[],ht.checkedNodesPositions=[],ht.halfCheckedKeys=$t,on.forEach(function(At){var xt=(0,Le.Z)(tt,At);if(xt){var Wt=xt.node,fn=xt.pos;ht.checkedNodes.push(Wt),ht.checkedNodesPositions.push({node:Wt,pos:fn})}}),se.setUncontrolledState({checkedKeys:on},!1,{halfCheckedKeys:$t})}Vt==null||Vt(lt,ht)},se.onNodeLoad=function(he){var Ye=he.key,Ne=new Promise(function(Ee,tt){se.setState(function(_t){var ft=_t.loadedKeys,zt=ft===void 0?[]:ft,Ot=_t.loadingKeys,Vt=Ot===void 0?[]:Ot,be=se.props,lt=be.loadData,ht=be.onLoad;if(!lt||zt.indexOf(Ye)!==-1||Vt.indexOf(Ye)!==-1)return null;var mt=lt(he);return mt.then(function(){var Rt=se.state.loadedKeys,Jt=(0,pt.L0)(Rt,Ye);ht==null||ht(Jt,{event:"load",node:he}),se.setUncontrolledState({loadedKeys:Jt}),se.setState(function(on){return{loadingKeys:(0,pt._5)(on.loadingKeys,Ye)}}),Ee()}).catch(function(Rt){if(se.setState(function(on){return{loadingKeys:(0,pt._5)(on.loadingKeys,Ye)}}),se.loadingRetryTimes[Ye]=(se.loadingRetryTimes[Ye]||0)+1,se.loadingRetryTimes[Ye]>=Qt){var Jt=se.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),se.setUncontrolledState({loadedKeys:(0,pt.L0)(Jt,Ye)}),Ee()}tt(Rt)}),{loadingKeys:(0,pt.L0)(Vt,Ye)}})});return Ne.catch(function(){}),Ne},se.onNodeMouseEnter=function(he,Ye){var Ne=se.props.onMouseEnter;Ne==null||Ne({event:he,node:Ye})},se.onNodeMouseLeave=function(he,Ye){var Ne=se.props.onMouseLeave;Ne==null||Ne({event:he,node:Ye})},se.onNodeContextMenu=function(he,Ye){var Ne=se.props.onRightClick;Ne&&(he.preventDefault(),Ne({event:he,node:Ye}))},se.onFocus=function(){var he=se.props.onFocus;se.setState({focused:!0});for(var Ye=arguments.length,Ne=new Array(Ye),Ee=0;Ee<Ye;Ee++)Ne[Ee]=arguments[Ee];he==null||he.apply(void 0,Ne)},se.onBlur=function(){var he=se.props.onBlur;se.setState({focused:!1}),se.onActiveChange(null);for(var Ye=arguments.length,Ne=new Array(Ye),Ee=0;Ee<Ye;Ee++)Ne[Ee]=arguments[Ee];he==null||he.apply(void 0,Ne)},se.getTreeNodeRequiredProps=function(){var he=se.state,Ye=he.expandedKeys,Ne=he.selectedKeys,Ee=he.loadedKeys,tt=he.loadingKeys,_t=he.checkedKeys,ft=he.halfCheckedKeys,zt=he.dragOverNodeKey,Ot=he.dropPosition,Vt=he.keyEntities;return{expandedKeys:Ye||[],selectedKeys:Ne||[],loadedKeys:Ee||[],loadingKeys:tt||[],checkedKeys:_t||[],halfCheckedKeys:ft||[],dragOverNodeKey:zt,dropPosition:Ot,keyEntities:Vt}},se.setExpandedKeys=function(he){var Ye=se.state,Ne=Ye.treeData,Ee=Ye.fieldNames,tt=(0,pe.oH)(Ne,he,Ee);se.setUncontrolledState({expandedKeys:he,flattenNodes:tt},!0)},se.onNodeExpand=function(he,Ye){var Ne=se.state.expandedKeys,Ee=se.state,tt=Ee.listChanging,_t=Ee.fieldNames,ft=se.props,zt=ft.onExpand,Ot=ft.loadData,Vt=Ye.expanded,be=Ye[_t.key];if(!tt){var lt=Ne.indexOf(be),ht=!Vt;if((0,y.ZP)(Vt&<!==-1||!Vt&<===-1,"Expand state not sync with index check"),ht?Ne=(0,pt.L0)(Ne,be):Ne=(0,pt._5)(Ne,be),se.setExpandedKeys(Ne),zt==null||zt(Ne,{node:Ye,expanded:ht,nativeEvent:he.nativeEvent}),ht&&Ot){var mt=se.onNodeLoad(Ye);mt&&mt.then(function(){var Rt=(0,pe.oH)(se.state.treeData,Ne,_t);se.setUncontrolledState({flattenNodes:Rt})}).catch(function(){var Rt=se.state.expandedKeys,Jt=(0,pt._5)(Rt,be);se.setExpandedKeys(Jt)})}}},se.onListChangeStart=function(){se.setUncontrolledState({listChanging:!0})},se.onListChangeEnd=function(){setTimeout(function(){se.setUncontrolledState({listChanging:!1})})},se.onActiveChange=function(he){var Ye=se.state.activeKey,Ne=se.props.onActiveChange;Ye!==he&&(se.setState({activeKey:he}),he!==null&&se.scrollTo({key:he}),Ne==null||Ne(he))},se.getActiveItem=function(){var he=se.state,Ye=he.activeKey,Ne=he.flattenNodes;return Ye===null?null:Ne.find(function(Ee){var tt=Ee.key;return tt===Ye})||null},se.offsetActiveKey=function(he){var Ye=se.state,Ne=Ye.flattenNodes,Ee=Ye.activeKey,tt=Ne.findIndex(function(zt){var Ot=zt.key;return Ot===Ee});tt===-1&&he<0&&(tt=Ne.length),tt=(tt+he+Ne.length)%Ne.length;var _t=Ne[tt];if(_t){var ft=_t.key;se.onActiveChange(ft)}else se.onActiveChange(null)},se.onKeyDown=function(he){var Ye=se.state,Ne=Ye.activeKey,Ee=Ye.expandedKeys,tt=Ye.checkedKeys,_t=Ye.fieldNames,ft=se.props,zt=ft.onKeyDown,Ot=ft.checkable,Vt=ft.selectable;switch(he.which){case Te.Z.UP:{se.offsetActiveKey(-1),he.preventDefault();break}case Te.Z.DOWN:{se.offsetActiveKey(1),he.preventDefault();break}}var be=se.getActiveItem();if(be&&be.data){var lt=se.getTreeNodeRequiredProps(),ht=be.data.isLeaf===!1||!!(be.data[_t.children]||[]).length,mt=(0,pe.F)((0,Ge.Z)((0,Ge.Z)({},(0,pe.H8)(Ne,lt)),{},{data:be.data,active:!0}));switch(he.which){case Te.Z.LEFT:{ht&&Ee.includes(Ne)?se.onNodeExpand({},mt):be.parent&&se.onActiveChange(be.parent.key),he.preventDefault();break}case Te.Z.RIGHT:{ht&&!Ee.includes(Ne)?se.onNodeExpand({},mt):be.children&&be.children.length&&se.onActiveChange(be.children[0].key),he.preventDefault();break}case Te.Z.ENTER:case Te.Z.SPACE:{Ot&&!mt.disabled&&mt.checkable!==!1&&!mt.disableCheckbox?se.onNodeCheck({},mt,!tt.includes(Ne)):!Ot&&Vt&&!mt.disabled&&mt.selectable!==!1&&se.onNodeSelect({},mt);break}}}zt==null||zt(he)},se.setUncontrolledState=function(he){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!se.destroyed){var Ee=!1,tt=!0,_t={};Object.keys(he).forEach(function(ft){if(ft in se.props){tt=!1;return}Ee=!0,_t[ft]=he[ft]}),Ee&&(!Ye||tt)&&se.setState((0,Ge.Z)((0,Ge.Z)({},_t),Ne))}},se.scrollTo=function(he){se.listRef.current.scrollTo(he)},se}return(0,re.Z)(ve,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Oe=this.props.activeKey;Oe!==void 0&&Oe!==this.state.activeKey&&(this.setState({activeKey:Oe}),Oe!==null&&this.scrollTo({key:Oe}))}},{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 Oe,gt=this.state,Se=gt.focused,he=gt.flattenNodes,Ye=gt.keyEntities,Ne=gt.draggingNodeKey,Ee=gt.activeKey,tt=gt.dropLevelOffset,_t=gt.dropContainerKey,ft=gt.dropTargetKey,zt=gt.dropPosition,Ot=gt.dragOverNodeKey,Vt=gt.indent,be=this.props,lt=be.prefixCls,ht=be.className,mt=be.style,Rt=be.showLine,Jt=be.focusable,on=be.tabIndex,$t=on===void 0?0:on,yn=be.selectable,Dn=be.showIcon,At=be.icon,xt=be.switcherIcon,Wt=be.draggable,fn=be.checkable,sn=be.checkStrictly,Rn=be.disabled,ot=be.motion,Pt=be.loadData,an=be.filterTreeNode,vn=be.height,Pe=be.itemHeight,We=be.virtual,it=be.titleRender,ct=be.dropIndicatorRender,Ft=be.onContextMenu,Xt=be.onScroll,bt=be.direction,je=be.rootClassName,Ke=be.rootStyle,Ie=(0,oe.Z)(this.props,{aria:!0,data:!0}),ut;return Wt&&((0,Be.Z)(Wt)==="object"?ut=Wt:typeof Wt=="function"?ut={nodeDraggable:Wt}:ut={}),a.createElement(b.k.Provider,{value:{prefixCls:lt,selectable:yn,showIcon:Dn,icon:At,switcherIcon:xt,draggable:ut,draggingNodeKey:Ne,checkable:fn,checkStrictly:sn,disabled:Rn,keyEntities:Ye,dropLevelOffset:tt,dropContainerKey:_t,dropTargetKey:ft,dropPosition:zt,dragOverNodeKey:Ot,indent:Vt,direction:bt,dropIndicatorRender:ct,loadData:Pt,filterTreeNode:an,titleRender:it,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:vt()(lt,ht,je,(Oe={},(0,le.Z)(Oe,"".concat(lt,"-show-line"),Rt),(0,le.Z)(Oe,"".concat(lt,"-focused"),Se),(0,le.Z)(Oe,"".concat(lt,"-active-focused"),Ee!==null),Oe)),style:Ke},a.createElement(Gt,(0,ee.Z)({ref:this.listRef,prefixCls:lt,style:mt,data:he,disabled:Rn,selectable:yn,checkable:!!fn,motion:ot,dragging:Ne!==null,height:vn,itemHeight:Pe,virtual:We,focusable:Jt,focused:Se,tabIndex:$t,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Ft,onScroll:Xt},this.getTreeNodeRequiredProps(),Ie))))}}],[{key:"getDerivedStateFromProps",value:function(Oe,gt){var Se=gt.prevProps,he={prevProps:Oe};function Ye(Jt){return!Se&&Jt in Oe||Se&&Se[Jt]!==Oe[Jt]}var Ne,Ee=gt.fieldNames;if(Ye("fieldNames")&&(Ee=(0,pe.w$)(Oe.fieldNames),he.fieldNames=Ee),Ye("treeData")?Ne=Oe.treeData:Ye("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ne=(0,pe.zn)(Oe.children)),Ne){he.treeData=Ne;var tt=(0,pe.I8)(Ne,{fieldNames:Ee});he.keyEntities=(0,Ge.Z)((0,le.Z)({},Ve,st),tt.keyEntities)}var _t=he.keyEntities||gt.keyEntities;if(Ye("expandedKeys")||Se&&Ye("autoExpandParent"))he.expandedKeys=Oe.autoExpandParent||!Se&&Oe.defaultExpandParent?(0,pt.r7)(Oe.expandedKeys,_t):Oe.expandedKeys;else if(!Se&&Oe.defaultExpandAll){var ft=(0,Ge.Z)({},_t);delete ft[Ve],he.expandedKeys=Object.keys(ft).map(function(Jt){return ft[Jt].key})}else!Se&&Oe.defaultExpandedKeys&&(he.expandedKeys=Oe.autoExpandParent||Oe.defaultExpandParent?(0,pt.r7)(Oe.defaultExpandedKeys,_t):Oe.defaultExpandedKeys);if(he.expandedKeys||delete he.expandedKeys,Ne||he.expandedKeys){var zt=(0,pe.oH)(Ne||gt.treeData,he.expandedKeys||gt.expandedKeys,Ee);he.flattenNodes=zt}if(Oe.selectable&&(Ye("selectedKeys")?he.selectedKeys=(0,pt.BT)(Oe.selectedKeys,Oe):!Se&&Oe.defaultSelectedKeys&&(he.selectedKeys=(0,pt.BT)(Oe.defaultSelectedKeys,Oe))),Oe.checkable){var Ot;if(Ye("checkedKeys")?Ot=(0,pt.E6)(Oe.checkedKeys)||{}:!Se&&Oe.defaultCheckedKeys?Ot=(0,pt.E6)(Oe.defaultCheckedKeys)||{}:Ne&&(Ot=(0,pt.E6)(Oe.checkedKeys)||{checkedKeys:gt.checkedKeys,halfCheckedKeys:gt.halfCheckedKeys}),Ot){var Vt=Ot,be=Vt.checkedKeys,lt=be===void 0?[]:be,ht=Vt.halfCheckedKeys,mt=ht===void 0?[]:ht;if(!Oe.checkStrictly){var Rt=(0,Kt.S)(lt,!0,_t);lt=Rt.checkedKeys,mt=Rt.halfCheckedKeys}he.checkedKeys=lt,he.halfCheckedKeys=mt}}return Ye("loadedKeys")&&(he.loadedKeys=Oe.loadedKeys),he}}]),ve}(a.Component);Pn.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},Pn.TreeNode=ge.Z;var St=Pn,dt=St},35654:function(Bt,Tt,te){"use strict";te.d(Tt,{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 vt},yx:function(){return _e}});var ee=te(95190),le=te(93664),Be=te(48736),Ge=te(59301),Ce=te(39417),Fe=te(67841),re=te(71430),$e=null;function Ue(ne,ae){if(!ne)return[];var ie=ne.slice(),de=ie.indexOf(ae);return de>=0&&ie.splice(de,1),ie}function ze(ne,ae){var ie=(ne||[]).slice();return ie.indexOf(ae)===-1&&ie.push(ae),ie}function _e(ne){return ne.split("-")}function vt(ne,ae){var ie=[],de=(0,Fe.Z)(ae,ne);function ge(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];xe.forEach(function(pe){var we=pe.key,ue=pe.children;ie.push(we),ge(ue)})}return ge(de.children),ie}function Te(ne){if(ne.parent){var ae=_e(ne.pos);return Number(ae[ae.length-1])===ne.parent.children.length-1}return!1}function oe(ne){var ae=_e(ne.pos);return Number(ae[ae.length-1])===0}function y(ne,ae,ie,de,ge,xe,pe,we,ue,nt){var De,Qe=ne.clientX,ye=ne.clientY,ke=ne.target.getBoundingClientRect(),qe=ke.top,Xe=ke.height,Ve=(nt==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-Qe),kt=(Ve-12)/de,st=(0,Fe.Z)(we,ie.props.eventKey);if(ye<qe+Xe/2){var Nt=pe.findIndex(function(dt){return dt.key===st.key}),Zt=Nt<=0?0:Nt-1,Me=pe[Zt].key;st=(0,Fe.Z)(we,Me)}var Ze=st.key,Et=st,Gt=st.key,pt=0,Kt=0;if(!ue.includes(Ze))for(var Le=0;Le<kt&&Te(st);Le+=1)st=st.parent,Kt+=1;var Qt=ae.props.data,Pn=st.node,St=!0;return oe(st)&&st.level===0&&ye<qe+Xe/2&&xe({dragNode:Qt,dropNode:Pn,dropPosition:-1})&&st.key===ie.props.eventKey?pt=-1:(Et.children||[]).length&&ue.includes(Gt)?xe({dragNode:Qt,dropNode:Pn,dropPosition:0})?pt=0:St=!1:Kt===0?kt>-1.5?xe({dragNode:Qt,dropNode:Pn,dropPosition:1})?pt=1:St=!1:xe({dragNode:Qt,dropNode:Pn,dropPosition:0})?pt=0:xe({dragNode:Qt,dropNode:Pn,dropPosition:1})?pt=1:St=!1:xe({dragNode:Qt,dropNode:Pn,dropPosition:1})?pt=1:St=!1,{dropPosition:pt,dropLevelOffset:Kt,dropTargetKey:st.key,dropTargetPos:st.pos,dragOverNodeKey:Gt,dropContainerKey:pt===0?null:((De=st.parent)===null||De===void 0?void 0:De.key)||null,dropAllowed:St}}function a(ne,ae){if(ne){var ie=ae.multiple;return ie?ne.slice():ne.length?[ne[0]]:ne}}var b=function(ae){return ae};function E(ne,ae){if(!ne)return[];var ie=ae||{},de=ie.processProps,ge=de===void 0?b:de,xe=Array.isArray(ne)?ne:[ne];return xe.map(function(pe){var we=pe.children,ue=_objectWithoutProperties(pe,$e),nt=E(we,ae);return React.createElement(TreeNode,_extends({key:ue.key},ge(ue)),nt)})}function x(ne){if(!ne)return null;var ae;if(Array.isArray(ne))ae={checkedKeys:ne,halfCheckedKeys:void 0};else if((0,le.Z)(ne)==="object")ae={checkedKeys:ne.checked||void 0,halfCheckedKeys:ne.halfChecked||void 0};else return(0,Be.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ae}function z(ne,ae){var ie=new Set;function de(ge){if(!ie.has(ge)){var xe=(0,Fe.Z)(ae,ge);if(xe){ie.add(ge);var pe=xe.parent,we=xe.node;we.disabled||pe&&de(pe.key)}}}return(ne||[]).forEach(function(ge){de(ge)}),(0,ee.Z)(ie)}},90782:function(Bt,Tt,te){"use strict";te.d(Tt,{S:function(){return re}});var ee=te(48736),le=te(67841);function Be($e,Ue){var ze=new Set;return $e.forEach(function(_e){Ue.has(_e)||ze.add(_e)}),ze}function Ge($e){var Ue=$e||{},ze=Ue.disabled,_e=Ue.disableCheckbox,vt=Ue.checkable;return!!(ze||_e)||vt===!1}function Ce($e,Ue,ze,_e){for(var vt=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,ie=ae===void 0?[]:ae;vt.has(z)&&!_e(ne)&&ie.filter(function(de){return!_e(de.node)}).forEach(function(de){vt.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(!(_e(ne)||!x.parent||a.has(x.parent.key))){if(_e(x.parent.node)){a.add(z.key);return}var ae=!0,ie=!1;(z.children||[]).filter(function(de){return!_e(de.node)}).forEach(function(de){var ge=de.key,xe=vt.has(ge);ae&&!xe&&(ae=!1),!ie&&(xe||Te.has(ge))&&(ie=!0)}),ae&&vt.add(z.key),ie&&Te.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from(vt),halfCheckedKeys:Array.from(Be(Te,vt))}}function Fe($e,Ue,ze,_e,vt){for(var Te=new Set($e),oe=new Set(Ue),y=0;y<=_e;y+=1){var a=ze.get(y)||new Set;a.forEach(function(z){var ne=z.key,ae=z.node,ie=z.children,de=ie===void 0?[]:ie;!Te.has(ne)&&!oe.has(ne)&&!vt(ae)&&de.filter(function(ge){return!vt(ge.node)}).forEach(function(ge){Te.delete(ge.key)})})}oe=new Set;for(var b=new Set,E=_e;E>=0;E-=1){var x=ze.get(E)||new Set;x.forEach(function(z){var ne=z.parent,ae=z.node;if(!(vt(ae)||!z.parent||b.has(z.parent.key))){if(vt(z.parent.node)){b.add(ne.key);return}var ie=!0,de=!1;(ne.children||[]).filter(function(ge){return!vt(ge.node)}).forEach(function(ge){var xe=ge.key,pe=Te.has(xe);ie&&!pe&&(ie=!1),!de&&(pe||oe.has(xe))&&(de=!0)}),ie||Te.delete(ne.key),de&&oe.add(ne.key),b.add(ne.key)}})}return{checkedKeys:Array.from(Te),halfCheckedKeys:Array.from(Be(oe,Te))}}function re($e,Ue,ze,_e){var vt=[],Te;_e?Te=_e:Te=Ge;var oe=new Set($e.filter(function(E){var x=!!(0,le.Z)(ze,E);return x||vt.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)(!vt.length,"Tree missing follow keys: ".concat(vt.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(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return ee}});function ee(le,Be){return le[Be]}},71430:function(Bt,Tt,te){"use strict";te.d(Tt,{F:function(){return z},H8:function(){return x},I8:function(){return E},km:function(){return vt},oH:function(){return a},w$:function(){return Te},zn:function(){return y}});var ee=te(93664),le=te(95190),Be=te(20439),Ge=te(62646),Ce=te(11592),Fe=te(2738),re=te(48736),$e=te(67841),Ue=["children"];function ze(ne,ae){return"".concat(ne,"-").concat(ae)}function _e(ne){return ne&&ne.type&&ne.type.isTreeNode}function vt(ne,ae){return ne!=null?ne:ae}function Te(ne){var ae=ne||{},ie=ae.title,de=ae._title,ge=ae.key,xe=ae.children,pe=ie||"title";return{title:pe,_title:de||[pe],key:ge||"key",children:xe||"children"}}function oe(ne,ae){var ie=new Map;function de(ge){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ge||[]).forEach(function(pe){var we=pe[ae.key],ue=pe[ae.children];warning(we!=null,"Tree node must have a certain key: [".concat(xe).concat(we,"]"));var nt=String(we);warning(!ie.has(nt)||we===null||we===void 0,"Same 'key' exist in the Tree: ".concat(nt)),ie.set(nt,!0),de(ue,"".concat(xe).concat(nt," > "))})}de(ne)}function y(ne){function ae(ie){var de=(0,Ce.Z)(ie);return de.map(function(ge){if(!_e(ge))return(0,re.ZP)(!ge,"Tree/TreeNode can only accept TreeNode as children."),null;var xe=ge.key,pe=ge.props,we=pe.children,ue=(0,Ge.Z)(pe,Ue),nt=(0,Be.Z)({key:xe},ue),De=ae(we);return De.length&&(nt.children=De),nt}).filter(function(ge){return ge})}return ae(ne)}function a(ne,ae,ie){var de=Te(ie),ge=de._title,xe=de.key,pe=de.children,we=new Set(ae===!0?[]:ae),ue=[];function nt(De){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return De.map(function(ye,ke){for(var qe=ze(Qe?Qe.pos:"0",ke),Xe=vt(ye[xe],qe),Ve,kt=0;kt<ge.length;kt+=1){var st=ge[kt];if(ye[st]!==void 0){Ve=ye[st];break}}var Nt=(0,Be.Z)((0,Be.Z)({},(0,Fe.Z)(ye,[].concat((0,le.Z)(ge),[xe,pe]))),{},{title:Ve,key:Xe,parent:Qe,pos:qe,children:null,data:ye,isStart:[].concat((0,le.Z)(Qe?Qe.isStart:[]),[ke===0]),isEnd:[].concat((0,le.Z)(Qe?Qe.isEnd:[]),[ke===De.length-1])});return ue.push(Nt),ae===!0||we.has(Xe)?Nt.children=nt(ye[pe]||[],Nt):Nt.children=[],Nt})}return nt(ne),ue}function b(ne,ae,ie){var de={};(0,ee.Z)(ie)==="object"?de=ie:de={externalGetKey:ie},de=de||{};var ge=de,xe=ge.childrenPropName,pe=ge.externalGetKey,we=ge.fieldNames,ue=Te(we),nt=ue.key,De=ue.children,Qe=xe||De,ye;pe?typeof pe=="string"?ye=function(Xe){return Xe[pe]}:typeof pe=="function"&&(ye=function(Xe){return pe(Xe)}):ye=function(Xe,Ve){return vt(Xe[nt],Ve)};function ke(qe,Xe,Ve,kt){var st=qe?qe[Qe]:ne,Nt=qe?ze(Ve.pos,Xe):"0",Zt=qe?[].concat((0,le.Z)(kt),[qe]):[];if(qe){var Me=ye(qe,Nt),Ze={node:qe,index:Xe,pos:Nt,key:Me,parentPos:Ve.node?Ve.pos:null,level:Ve.level+1,nodes:Zt};ae(Ze)}st&&st.forEach(function(Et,Gt){ke(Et,Gt,{node:qe,pos:Nt,level:Ve?Ve.level+1:-1},Zt)})}ke(null)}function E(ne){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=ae.initWrapper,de=ae.processEntity,ge=ae.onProcessFinished,xe=ae.externalGetKey,pe=ae.childrenPropName,we=ae.fieldNames,ue=arguments.length>2?arguments[2]:void 0,nt=xe||ue,De={},Qe={},ye={posEntities:De,keyEntities:Qe};return ie&&(ye=ie(ye)||ye),b(ne,function(ke){var qe=ke.node,Xe=ke.index,Ve=ke.pos,kt=ke.key,st=ke.parentPos,Nt=ke.level,Zt=ke.nodes,Me={node:qe,nodes:Zt,index:Xe,key:kt,pos:Ve,level:Nt},Ze=vt(kt,Ve);De[Ve]=Me,Qe[Ze]=Me,Me.parent=De[st],Me.parent&&(Me.parent.children=Me.parent.children||[],Me.parent.children.push(Me)),de&&de(Me,ye)},{externalGetKey:nt,childrenPropName:pe,fieldNames:we}),ge&&ge(ye),ye}function x(ne,ae){var ie=ae.expandedKeys,de=ae.selectedKeys,ge=ae.loadedKeys,xe=ae.loadingKeys,pe=ae.checkedKeys,we=ae.halfCheckedKeys,ue=ae.dragOverNodeKey,nt=ae.dropPosition,De=ae.keyEntities,Qe=(0,$e.Z)(De,ne),ye={eventKey:ne,expanded:ie.indexOf(ne)!==-1,selected:de.indexOf(ne)!==-1,loaded:ge.indexOf(ne)!==-1,loading:xe.indexOf(ne)!==-1,checked:pe.indexOf(ne)!==-1,halfChecked:we.indexOf(ne)!==-1,pos:String(Qe?Qe.pos:""),dragOver:ue===ne&&nt===0,dragOverGapTop:ue===ne&&nt===-1,dragOverGapBottom:ue===ne&&nt===1};return ye}function z(ne){var ae=ne.data,ie=ne.expanded,de=ne.selected,ge=ne.checked,xe=ne.loaded,pe=ne.loading,we=ne.halfChecked,ue=ne.dragOver,nt=ne.dragOverGapTop,De=ne.dragOverGapBottom,Qe=ne.pos,ye=ne.active,ke=ne.eventKey,qe=(0,Be.Z)((0,Be.Z)({},ae),{},{expanded:ie,selected:de,checked:ge,loaded:xe,loading:pe,halfChecked:we,dragOver:ue,dragOverGapTop:nt,dragOverGapBottom:De,pos:Qe,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(Bt,Tt,te){"use strict";te.d(Tt,{Z:function(){return le}});var ee=te(4676);function le(Be,Ge,Ce,Fe){var re=ee.unstable_batchedUpdates?function(Ue){ee.unstable_batchedUpdates(Ce,Ue)}:Ce;return Be!=null&&Be.addEventListener&&Be.addEventListener(Ge,re,Fe),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Ge,re,Fe)}}}},55468:function(Bt,Tt,te){"use strict";te.d(Tt,{g1:function(){return _e},os:function(){return Te}});var ee=/margin|padding|width|height|max|min|offset/,le={left:!0,top:!0},Be={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 le||(le[y]=ee.test(y)),le[y]?parseFloat(a)||0:a}function Fe(oe,y){var a=arguments.length,b=Ge(oe);return y=Be[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=Be[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 _e(){var oe=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:oe,height:y}}function vt(){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(Bt,Tt,te){"use strict";te.d(Tt,{G:function(){return Ge}});var ee=te(47273),le=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},Be=function(Fe,re){if(!le(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?Be(Ce,Fe):le(Ce)}},73631:function(Bt){"use strict";Bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(Bt){"use strict";Bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII="},96908:function(Bt){"use strict";Bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhE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